Silence ielm compilation
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-30 Glenn Morris <rgm@gnu.org>
2
3 * ielm.el (ielm-map, ielm-complete-symbol):
4 Use completion-at-point rather than obsolete functions.
5 (inferior-emacs-lisp-mode): Doc fix.
6 Set completion-at-point-functions, rather than
7 comint-dynamic-complete-functions.
8
9 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12
13 * image.el (image-animated-p): Tweak definition.
14
15 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16 (rlogin-process-connection-type): Tweak default. Add set-after.
17 (rlogin-host): Doc fix.
18 (rlogin): Tweak prompt.
19 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
20
21 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22 * progmodes/tcl.el (inferior-tcl-mode-map):
23 Use completion-at-point rather than obsolete alias.
24
25 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
26
27 * minibuffer.el (read-file-name-completion-ignore-case):
28 Move before completion--in-region, for eager macro expansion.
29
30 2013-05-29 Juri Linkov <juri@jurta.org>
31
32 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
33 for total count of matching lines. Add `global-matches' for total
34 count of matches. Rename `matches' to `lines' for count of
35 matching lines. Add `matches' for count of matches.
36 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
37 to `prev-line' for line number of prev match endpt.
38 Increment `matches' for every match. Print the number of
39 matching lines in the header.
40 (occur-context-lines): Rename `lines' to `curr-line'.
41 Rename `prev-lines' to `prev-line'. (Bug#14017)
42
43 2013-05-29 Juri Linkov <juri@jurta.org>
44
45 * replace.el (perform-replace): Add `skip-read-only-count',
46 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
47 Increment them for corresponding conditions and report the number
48 of skipped occurrences in the final message. (Bug#11746)
49 (query-replace, query-replace-regexp, query-replace-regexp-eval)
50 (replace-string, replace-regexp): Doc fix.
51
52 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * emacs-lisp/trace.el (trace--read-args): Provide a default.
55
56 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
57 prog-mode-map.
58
59 2013-05-29 Leo Liu <sdl.web@gmail.com>
60
61 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
62 (octave-help): Small simplification.
63
64 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
65 off the highlight first.
66
67 2013-05-29 Glenn Morris <rgm@gnu.org>
68
69 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
70 Handle idlwave-last-system-routine-info-cons-cell being nil.
71
72 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
73 (idlwave-write-paths): Simplify via with-temp-buffer.
74
75 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
76 * emulation/cua-rect.el: Also load cua-base at run time.
77
78 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
79 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
80 (cperl-imenu-on-info): Require imenu.
81
82 2013-05-28 Alan Mackenzie <acm@muc.de>
83
84 Handle "capitalised keywords" correctly.
85 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
86
87 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
88
89 * eshell/em-unix.el: Added -r option to cp
90
91 2013-05-28 Glenn Morris <rgm@gnu.org>
92
93 * vc/vc-arch.el (vc-exec-after): Declare.
94 (vc-switches): Autoload.
95 * vc/vc-bzr.el: No need to require vc when compiling.
96 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
97 (vc-resynch-buffer, vc-dir-refresh): Declare.
98 (vc-setup-buffer, vc-switches): Autoload.
99 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
100 (vc-resynch-buffer): Declare.
101 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
102 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
103 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
104 (grep-read-regexp, grep-read-files, grep-expand-template)
105 (vc-dir-refresh): Declare.
106 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
107 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
108 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
109 * vc/vc-mtn.el (vc-exec-after): Declare.
110 (vc-switches): Autoload.
111 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
112 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
113 (vc-file-tree-walk): Declare.
114 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
115 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
116 (vc-tag-precondition, vc-rename-master): Autoload.
117 * vc/vc-svn.el (vc-exec-after): Declare.
118 (vc-switches, vc-setup-buffer): Autoload.
119 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
120 Autoload.
121 (vc-resynch-buffer): Declare.
122
123 * obsolete/fast-lock.el (byte-compile-warnings):
124 Don't warn about obsolete features in this obsolete file.
125
126 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
127 Move definition before use.
128
129 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
130 (dun-unix-verbs): Remove dun-zippy.
131 (dun-zippy): Remove function.
132
133 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
134
135 2013-05-27 Juri Linkov <juri@jurta.org>
136
137 * replace.el (replace-search): New function with code moved out
138 from `perform-replace'.
139 (replace-highlight, replace-dehighlight): Move function definitions
140 up closer to `replace-search'. (Bug#11746)
141
142 2013-05-27 Juri Linkov <juri@jurta.org>
143
144 * replace.el (perform-replace): Ignore invisible matches.
145 In addition to checking `query-replace-skip-read-only', also
146 filter out matches by calling `run-hook-with-args-until-failure'
147 on `isearch-filter-predicates', and also check `search-invisible'
148 for t or call `isearch-range-invisible'.
149 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
150
151 2013-05-27 Juri Linkov <juri@jurta.org>
152
153 * isearch.el (isearch-filter-predicates): Rename from
154 `isearch-filter-predicate'. Doc fix. (Bug#11378)
155 (isearch-message-prefix): Display text from the property
156 `isearch-message-prefix' of the currently active filters.
157 (isearch-search): Don't compare `isearch-filter-predicate' with
158 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
159 on `isearch-filter-predicates'. Also check `search-invisible' for t
160 or call `isearch-range-invisible'.
161 (isearch-filter-visible): Make obsolete.
162 (isearch-lazy-highlight-search):
163 Call `run-hook-with-args-until-failure' on
164 `isearch-filter-predicates' and use `isearch-range-invisible'.
165
166 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
167 `isearch-filter-predicates' instead of `funcall'ing
168 `isearch-filter-predicate'.
169 (Info-mode): Set `Info-isearch-filter' to
170 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
171
172 * dired-aux.el (dired-isearch-filter-predicate-orig):
173 Remove variable.
174 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
175 (dired-isearch-filenames-end): Add and remove
176 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
177 instead of changing the value of `isearch-filter-predicate'.
178 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
179 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
180 Put property `isearch-message-prefix' to "filename " on
181 `dired-isearch-filter-filenames'.
182
183 * wdired.el (wdired-change-to-wdired-mode):
184 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
185 locally instead of changing `isearch-filter-predicate'.
186 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
187
188 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
189
190 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
191 return the commit hash (Bug#14459). Also set the
192 `vc-git-detached' property.
193 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
194 (vc-git-mode-line-string): Use the same help-echo format whether
195 in detached mode or not, because we know the actual revision now.
196 When in detached mode, shorten the revision to 7 chars.
197
198 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * emacs-lisp/easy-mmode.el (define-minor-mode):
201 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
202 mode hook and provide a docstring.
203
204 2013-05-27 Alan Mackenzie <acm@muc.de>
205
206 Remove spurious syntax-table text properties inserted by C-y.
207 * progmodes/cc-mode.el (c-after-change): Also clear hard
208 syntax-table property with value nil.
209
210 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
211
212 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
213 when reading the events; the buffer layout shall not be changed.
214
215 2013-05-27 Leo Liu <sdl.web@gmail.com>
216
217 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
218 New variable.
219 (inferior-octave-directory-tracker): Automatically re-sync
220 default-directory.
221 (octave-help): Improve handling of 'See also'.
222
223 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * doc-view.el: Minor naming convention tweaks.
226 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
227
228 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
229 even if there's no `display' property yet (bug#14435).
230
231 2013-05-25 Eli Zaretskii <eliz@gnu.org>
232
233 * subr.el (unmsys--file-name): Rename from reveal-filename.
234
235 * Makefile.in (custom-deps, finder-data, autoloads)
236 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
237 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
238 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
239
240 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
243 error-completion on the first 2 args of condition-case (bug#14446).
244 Don't burp at EOB.
245
246 2013-05-25 Leo Liu <sdl.web@gmail.com>
247
248 * comint.el (comint-previous-matching-input): Do not flood the
249 *Messages* buffer with trivial messages.
250
251 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * progmodes/flymake.el (flymake-nop): Don't return a string.
254 (flymake-set-at): Fix typo.
255
256 * simple.el (read--expression): New function, extracted from
257 eval-expression. Set completion-at-point-functions (bug#14465).
258 (eval-expression, eval-minibuffer): Use it.
259
260 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
261
262 * progmodes/flymake.el (flymake-save-buffer-in-file)
263 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
264 (flymake-selected-frame, flymake-log, flymake-ins-after)
265 (flymake-set-at, flymake-get-buildfile-from-cache)
266 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
267 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
268 Refine the doc string.
269 (flymake-get-file-name-mode-and-masks): Reformat.
270 (flymake-get-real-file-name-function): Fix a minor bug.
271
272 2013-05-24 Juri Linkov <juri@jurta.org>
273
274 * progmodes/grep.el (grep-mode-font-lock-keywords):
275 Support =linenumber= format used by git-grep for lines with
276 function names. (Bug#13549)
277
278 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * progmodes/octave.el (octave-smie-rules): Return nil rather than
281 0 after a semi-colon; it works better for smie-auto-fill.
282 (octave--indent-new-comment-line): New function.
283 (octave-indent-new-comment-line): Use it (indirectly).
284 (octave-mode): Don't disable smie-auto-fill. Use add-function to
285 modify comment-line-break-function.
286
287 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
288 (smie-setup): Use add-function to set it.
289
290 2013-05-24 Sam Steingold <sds@gnu.org>
291
292 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
293 argument (before the `interactive' argument).
294
295 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * image-mode.el (image-mode-winprops): Add winprops to
298 image-mode-winprops-alist before running
299 image-mode-new-window-functions.
300 * doc-view.el (doc-view-new-window-function): Don't delay
301 doc-view-goto-page via timers (bug#14435).
302
303 2013-05-24 Tassilo Horn <tsdh@gnu.org>
304
305 * doc-view.el: Integrate with desktop.el. (Bug#14435)
306 (doc-view-desktop-save-buffer): New function.
307 (doc-view-restore-desktop-buffer): New function.
308 (desktop-buffer-mode-handlers):
309 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
310 handler.
311 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
312 `desktop-save-buffer' function.
313
314 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
315
316 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
317 (tramp-gvfs-file-name-handler): Raise a user error when
318 `tramp-gvfs-enabled' is nil.
319 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
320 Do not raise a user error when loading package. (Bug#14447)
321
322 * net/xesam.el: Move to obsolete/.
323
324 2013-05-24 Glenn Morris <rgm@gnu.org>
325
326 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
327
328 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
329
330 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
331 (Info-find-node, Man-getpage-in-background): Declare.
332
333 * mail/unrmail.el (unrmail):
334 Replace obsolete detect-coding-with-priority.
335
336 * net/socks.el (socks-split-string): Use this rather than split-string.
337 (socks-nslookup-host): Update for above change.
338 (dynamic-choice, s5-dynamic-choice-match)
339 (s5-dynamic-choice-match-inline, s5-widget-value-create):
340 Comment out unused code.
341
342 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
343 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
344 (gud-tooltip-echo-area): Make obsolete.
345 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
346
347 * progmodes/js.el (js--optimize-arglist): Declare.
348
349 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
350
351 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
352 (ediff-window-C): Declare.
353
354 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
355 Tweak requires to silence compiler.
356
357 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
358 (he-search-string, he-tried-table, he-expand-list)
359 (he-init-string, he-string-member, he-substitute-string)
360 (he-reset-string): Declare.
361
362 * obsolete/options.el (list-options): Use custom-variable-p,
363 rather than obsolete alias.
364
365 2013-05-23 Sam Steingold <sds@gnu.org>
366
367 * simple.el (shell-command-on-region): Pass the `replace' argument
368 down to `call-process-region' to comply with the doc as reported on
369 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
370
371 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * emacs-lisp/smie.el (smie-indent-forward-token)
374 (smie-indent-backward-token): Handle string tokens (bug#14381).
375
376 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
377
378 * ielm.el (ielm-menu): New menu.
379 (inferior-emacs-lisp-mode): Set comment-start.
380
381 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
382
383 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
384 Fix deactivate action.
385
386 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
387 Add cleveref macros.
388
389 * lisp/textmodes/reftex-parse.el
390 (reftex-locate-bibliography-files): Accept options for
391 bibliography commands.
392 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
393 Add addbibresource. Basic Biblatex support.
394
395 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
396
397 * net/tramp-gvfs.el (top):
398 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
399 when loading package. (Bug#14447)
400
401 2013-05-23 Glenn Morris <rgm@gnu.org>
402
403 * progmodes/js.el: No need to load comint when compiling.
404 (ring-insert, comint-send-string, comint-send-input)
405 (comint-last-input-end, ido-chop): Declare.
406
407 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
408 * vc/ediff-mult.el: Adjust requires.
409 (ediff-directories-internal, ediff-directory-revisions-internal)
410 (ediff-patch-file-internal): Declare.
411 * vc/ediff-ptch.el: Adjust requires.
412 (ediff-use-last-dir, ediff-buffers-internal): Declare.
413 (ediff-find-file): Autoload.
414 * vc/ediff-util.el: No need to load ediff when compiling.
415 (ediff-regions-internal): Declare.
416 * vc/ediff-wind.el: Adjust requires.
417 (ediff-compute-toolbar-width): Define when compiling.
418 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
419 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
420 (dired-get-filename, dired-get-marked-files)
421 (ediff-last-dir-patch, ediff-patch-default-directory)
422 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
423 (ediff-patch-buffer-internal): Declare.
424
425 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
426 (ispell-process, ispell-buffer-local-words, lm-summary)
427 (lm-section-start, lm-section-end): Declare.
428 (checkdoc-ispell-init): Simplify.
429
430 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
431 (he-string-member, he-reset-string, he-substitute-string): Declare.
432
433 * eshell/em-ls.el: Adjust requires.
434 (eshell-glob-regexp): Declare.
435 * eshell/em-tramp.el: Adjust requires.
436 (eshell-parse-command): Autoload.
437 * eshell/em-xtra.el: Adjust requires.
438 (eshell-parse-command): Autoload.
439 * eshell/esh-ext.el: Adjust requires.
440 (eshell-parse-command, eshell-close-handles): Autoload.
441 * eshell/esh-io.el: Adjust requires.
442 (eshell-output-filter): Autoload.
443 * eshell/esh-util.el: No need to load tramp when compiling.
444 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
445 Declare.
446 (eshell-parse-ange-ls): Require ange-ftp and tramp.
447 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
448 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
449 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
450 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
451 * eshell/esh-opt.el, eshell/esh-proc.el:
452 * eshell/esh-var.el: Adjust requires.
453 * eshell/eshell.el: Do not require esh-util twice.
454 (eshell-add-input-to-history): Declare.
455 (eshell-command): Check history module is active before using it.
456
457 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
458
459 2013-05-22 Leo Liu <sdl.web@gmail.com>
460
461 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
462
463 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
464
465 * autorevert.el (auto-revert-notify-add-watch)
466 (auto-revert-notify-handler): Add `attrib' for the inotify case,
467 it indicates changes in file modification time.
468
469 2013-05-22 Glenn Morris <rgm@gnu.org>
470
471 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
472 Always delete the autoloaded function from the noruntime and
473 unresolved functions lists.
474
475 * allout.el: No need to load epa, epg, overlay when compiling.
476 (epg-context-set-passphrase-callback, epg-list-keys)
477 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
478 (epg-key-user-id-list): Declare.
479
480 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
481 (viper-set-parsing-style-toggling-macro)
482 (viper-set-emacs-state-searchstyle-macros):
483 Use called-interactively-p on Emacs.
484 (viper-looking-back): Make it an obsolete alias. Update callers.
485 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
486 Use looking-back rather than viper-looking-back.
487 (viper-tmp-insert-at-eob, viper-enlarge-region)
488 (viper-read-string-with-history, viper-register-to-point)
489 (viper-append-to-register, viper-change-state-to-vi)
490 (viper-backward-char-carefully, viper-forward-char-carefully)
491 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
492 (viper-change-state-to-emacs): Declare.
493 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
494 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
495 * emulation/viper-mous.el: Do not load viper-cmd.
496 (viper-backward-char-carefully, viper-forward-char-carefully)
497 (viper-forward-word, viper-adjust-window): Declare.
498
499 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
500
501 * progmodes/idlw-help.el (idlwave-help-fontify):
502 Use called-interactively-p.
503
504 * term/w32console.el (w32-get-console-codepage)
505 (w32-get-console-output-codepage): Declare.
506
507 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
508 Remove unnecessary declarations.
509 (dframe-message): Doc fix.
510
511 * info.el (dframe-select-attached-frame, dframe-current-frame):
512 Declare.
513
514 * speedbar.el (speedbar-message): Make it an obsolete alias.
515 Update all callers.
516 (speedbar-with-attached-buffer)
517 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
518 (speedbar-with-writable): Use backquote.
519 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
520 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
521 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
522 rather than speedbar- aliases.
523 * mail/rmail.el: Load dframe rather than speedbar when compiling.
524 (speedbar-make-specialized-keymap, speedbar-insert-button)
525 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
526 (speedbar-do-function-pointer): Declare.
527 (rmail-speedbar-button, rmail-speedbar-find-file)
528 (rmail-speedbar-move-message):
529 Use dframe-with-attached-buffer rather than speedbar- alias.
530 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
531 (dframe-message, speedbar-make-specialized-keymap)
532 (speedbar-add-expansion-list, speedbar-mode-functions-list)
533 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
534 (speedbar-insert-button, dframe-select-attached-frame)
535 (dframe-maybee-jump-to-attached-frame)
536 (speedbar-change-initial-expansion-list)
537 (speedbar-previously-used-expansion-list-name): Declare.
538 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
539 Use dframe-message, dframe-with-attached-buffer rather than
540 speedbar- aliases.
541 (gud-sentinel): Silence compiler.
542 * progmodes/vhdl-mode.el (speedbar-refresh)
543 (speedbar-do-function-pointer, speedbar-add-supported-extension)
544 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
545 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
546 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
547 (speedbar-file-lists, speedbar-make-tag-line)
548 (speedbar-line-directory, speedbar-goto-this-file)
549 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
550 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
551 (speedbar-make-button, speedbar-reset-scanners)
552 (speedbar-files-item-info, speedbar-line-text)
553 (speedbar-find-file-in-frame, speedbar-set-timer)
554 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
555 (speedbar-with-writable): Do not (re)define it.
556 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
557 rather than speedbar- alias.
558
559 2013-05-21 Leo Liu <sdl.web@gmail.com>
560
561 * progmodes/octave.el (octave-mode-menu): Update and re-organize
562 menu items.
563 (octave-mode): Tweak fill-nobreak-predicate.
564 (inferior-octave-startup): Check process to avoid infinite loop.
565 (inferior-octave): Pop to buffer first to show abornmal process
566 exit information.
567
568 2013-05-21 Glenn Morris <rgm@gnu.org>
569
570 * printing.el (pr-menu-bar): Define when compiling.
571
572 2013-05-21 Leo Liu <sdl.web@gmail.com>
573
574 * progmodes/octave.el (octave-auto-fill): Remove.
575 (octave-indent-new-comment-line): Improve.
576 (octave-mode): Use auto fill mode through
577 comment-line-break-function and fill-nobreak-predicate
578 (octave-goto-function-definition): Support DEFUN_DLD.
579 (octave-beginning-of-defun): Small Tweak
580 (octave-help): Show parent directory.
581
582 2013-05-21 Glenn Morris <rgm@gnu.org>
583
584 * files.el (dired-unmark):
585 * progmodes/gud.el (gdb-input): Update declarations.
586
587 * calculator.el (electric, ehelp): No need to load when compiling.
588 (Electric-command-loop, electric-describe-mode): Declare.
589
590 * doc-view.el (doc-view-current-converter-processes): Move before use.
591
592 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
593 Move MODE-set-explicitly definition before use.
594
595 * international/mule-diag.el (mule-diag):
596 Don't use obsolete window-system-version.
597
598 * mail/feedmail.el (smtpmail): No need to load when compiling.
599 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
600
601 * mail/mail-utils.el (rfc822): No need to load when compiling.
602 (rfc822-addresses): Autoload it.
603 (mail-strip-quoted-names): Trivial simplification.
604
605 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
606 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
607
608 * net/snmp-mode.el (tempo): Don't duplicate requires.
609
610 * progmodes/prolog.el (info): No need to load when compiling.
611 (comint): Require before shell requires it.
612 (Info-goto-node): Autoload it.
613 (Info-follow-nearest-node): Declare.
614 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
615
616 * textmodes/artist.el (picture-mode-exit): Declare.
617
618 * textmodes/reftex-parse.el (reftex-parse-from-file):
619 Trivial rewrite so the compiler can parse it better.
620
621 2013-05-20 Leo Liu <sdl.web@gmail.com>
622
623 * progmodes/octave.el (octave-help-mode-map)
624 (octave-help-mode-finish-hook): New variables.
625 (octave-help-mode, octave-help-mode-finish): New functions.
626 (octave-help): Use octave-help-mode.
627
628 2013-05-20 Glenn Morris <rgm@gnu.org>
629
630 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
631
632 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
633
634 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
635 start at point, so that expansion starting right after opening
636 slash in a regexp is recognized.
637 (ruby-syntax-before-regexp-re): New defvar, extracted from
638 ruby-syntax-propertize-function. Since the value of this regexp
639 is looked up at runtime now, we should be able to turn
640 `ruby-syntax-methods-before-regexp' into a defcustom later.
641 (ruby-syntax-propertize-function): Split regexp matching into two
642 parts, for opening and closing slashes. That allows us to skip
643 over string interpolations and support multiline regexps.
644 Don't call `ruby-syntax-propertize-expansions', instead use another rule
645 for them, which calls `ruby-syntax-propertize-expansion'.
646 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
647 call to `ruby-syntax-propertize-function'.
648 (ruby-syntax-propertize-expansion): Extracted from
649 `ruby-syntax-propertize-expansions'. Handles one expansion.
650 (ruby-syntax-propertize-percent-literal): Leave point right after
651 the percent symbol, so that the expression expansion rule can
652 propertize the contents.
653 (ruby-syntax-propertize-heredoc): Leave point at bol following the
654 heredoc openers.
655 (ruby-syntax-propertize-expansions): Remove.
656
657 2013-05-18 Juri Linkov <juri@jurta.org>
658
659 * man.el (Man-default-man-entry): Remove `-' from the end
660 of the default value. (Bug#14400)
661
662 2013-05-18 Glenn Morris <rgm@gnu.org>
663
664 * comint.el (comint-password-prompt-regexp):
665 Allow "password for XXX" where XXX contains colons (eg https://...).
666
667 2013-05-18 Leo Liu <sdl.web@gmail.com>
668
669 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
670 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
671 (octave-source-directories): Don't check process.
672 (octave-source-directories, octave-find-definition): Doc fix.
673
674 2013-05-18 Glenn Morris <rgm@gnu.org>
675
676 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
677 Remove backspace/delete bindings. (Bug#14392)
678
679 * cus-dep.el (custom-make-dependencies): Sort the output.
680 (custom-versions-load-alist): Convert comment to doc.
681
682 2013-05-17 Leo Liu <sdl.web@gmail.com>
683
684 * newcomment.el (comment-search-backward): Stricter in finding
685 comment start. (Bug#14303)
686
687 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
688 (octave-comment-start-skip): Properly anchored.
689
690 2013-05-17 Leo Liu <sdl.web@gmail.com>
691
692 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
693 Clean up when turned off. (Bug#14395)
694 (smie--highlight-matching-block-overlay): No longer buffer-local.
695 (smie-highlight-matching-block): Adjust.
696
697 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
698
699 Doc string fix for "nanoseconds" (Bug#14406).
700 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
701 Fix doc string typo that had "nanoseconds" instead of "microseconds".
702
703 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
704
705 * calc/calc-units.el (math-extract-units): Preserve powers
706 of units.
707
708 2013-05-17 Leo Liu <sdl.web@gmail.com>
709
710 * subr.el (delete-consecutive-dups): New function.
711 * ido.el (ido-set-matches-1): Use it.
712 * progmodes/octave.el (inferior-octave-completion-table): Use it.
713 * ido.el (ido-remove-consecutive-dups): Remove.
714
715 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
718 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
719 regexp-opt's `words'.
720
721 2013-05-16 Leo Liu <sdl.web@gmail.com>
722
723 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
724 (smie--highlight-matching-block-overlay)
725 (smie--highlight-matching-block-lastpos)
726 (smie--highlight-matching-block-timer): New variables.
727 (smie-highlight-matching-block): New function.
728 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
729 (smie-setup): Conditionally enable smie-blink-matching-open.
730
731 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
732
733 Sync with upstream verilog-mode r840.
734 * progmodes/verilog-mode.el (verilog-mode-version)
735 (verilog-mode-release-date): Update.
736 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
737 (verilog-sig-tieoff): Fix string error on
738 AUTORESET with colon define, bug594. Reported by Andrew Hou.
739 (verilog-read-decls): Fix parameters confusing
740 AUTOINST interfaces, bug565. Reported by Leith Johnson.
741
742 2013-05-16 Eli Zaretskii <eliz@gnu.org>
743
744 * subr.el (reveal-filename): New function.
745
746 * loadup.el: Compute Emacs executable versions on MS-Windows,
747 where executables have the .exe extension. Add a hard link
748 emacs-XX.YY.ZZ.exe on MS-Windows.
749
750 * Makefile.in (XARGS_LIMIT): New variable.
751 (custom-deps, finder-data, autoloads)
752 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
753 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
754 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
755 (compile-main): Limit xargs according to $(XARGS_LIMIT).
756
757 2013-05-16 Leo Liu <sdl.web@gmail.com>
758
759 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
760 (octave-mode-menu, octave-mode-map): Remove its uses.
761
762 2013-05-16 Reto Zimmermann <reto@gnu.org>
763
764 Sync with upstream vhdl mode v3.34.2.
765 * progmodes/vhdl-mode.el: Use `push' throughout.
766 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
767 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
768 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
769 (vhdl-actual-generic-name): New option to derive actual generic name.
770 (vhdl-port-paste-signals): Replace formal by actual generics.
771 (vhdl-beautify): New name for old group vhdl-align. Update users.
772 (vhdl-beautify-options): New option.
773 (vhdl-last-input-event): New compat alias. Use throughout.
774 (vhdl-goto-line): Replace user level function `goto-line'.
775 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
776 vhdl-fix-statement-buffer.
777 (vhdl-create-mode-menu): Add some entries.
778 (vhdl-align-region-groups): Respect vhdl-beautify-options.
779 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
780 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
781 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
782 to force statements on one line.
783 (vhdl-remove-trailing-spaces-region):
784 New, split from vhdl-remove-trailing-spaces.
785 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
786 Respect vhdl-beautify-options.
787 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
788 (vhdl-update-sensitivity-list): Not add with index if exists without.
789 Not include array index with signal. Ignore keywords in comments.
790 (vhdl-get-visible-signals): Regexp tweaks.
791 (vhdl-template-component-inst): Handle empty library.
792 (vhdl-template-type): Add template for 'enum' type.
793 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
794 Use vhdl-replace-string.
795 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
796 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
797 (vhdl-speedbar-initialize): Update for above name change.
798 (vhdl-compose-wire-components): Fix in handling of constants.
799 (vhdl-error-regexp-emacs-alist): New variable.
800 (vhdl-error-regexp-add-emacs): New function;
801 adds support for new compile.el (Emacs 22+)
802 (vhdl-generate-makefile-1): Change target order for single lib. units.
803 Allow use of absolute file names.
804
805 2013-05-16 Leo Liu <sdl.web@gmail.com>
806
807 * simple.el (prog-indent-sexp): Indent enclosing defun.
808
809 2013-05-15 Glenn Morris <rgm@gnu.org>
810
811 * cus-start.el (show-trailing-whitespace): Move to editing basics.
812 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
813 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
814 (whitespace-highlight): Move to whitespace group.
815
816 * comint.el (comint-source):
817 * pcmpl-linux.el (pcmpl-linux):
818 * shell.el (shell-faces):
819 * eshell/esh-opt.el (eshell-opt):
820 * international/ccl.el (ccl): Remove empty custom groups.
821
822 * completion.el (dynamic-completion-mode):
823 * jit-lock.el (jit-lock-debug-mode):
824 * minibuffer.el (completion-in-region-mode):
825 * type-break.el (type-break-mode-line-message-mode)
826 (type-break-query-mode):
827 * emulation/tpu-edt.el (tpu-edt-mode):
828 * progmodes/subword.el (global-subword-mode, global-superword-mode):
829 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
830 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
831
832 * term/xterm.el (xterm): Change parent group to terminals.
833
834 * master.el (master): Remove empty custom group.
835 (master-mode): Remove unused :group argument.
836 * textmodes/refill.el (refill): Remove empty custom group.
837 (refill-mode): Remove unused :group argument.
838
839 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
840
841 * cus-dep.el: Provide a feature.
842 (custom-make-dependencies): Ignore dotfiles (dir-locals).
843 Don't mistakenly ignore files whose basenames match a basename
844 from preloaded-file-list (eg cedet/ede/simple.el).
845 Add a fallback method for getting :group.
846
847 2013-05-15 Juri Linkov <juri@jurta.org>
848
849 * isearch.el (isearch-char-by-name): Rename from
850 `isearch-insert-char-by-name'. Doc fix.
851 (isearch-forward): Mention `isearch-char-by-name' in
852 the docstring. (Bug#13348)
853
854 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
855 `exit-minibuffer' instead of
856 `isearch-nonincremental-exit-minibuffer'.
857 (isearch-edit-string): Remove mention of
858 `isearch-nonincremental-exit-minibuffer' from docstring.
859 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
860 (isearch-forward-exit-minibuffer)
861 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
862
863 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * loadup.el: Just use unversioned DOC.
866
867 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
868 literals as extending to EOB.
869 (nxml-last-fontify-end): Remove unused variable.
870 (nxml-after-change1): Use with-silent-modifications.
871 (nxml-extend-after-change-region): Simplify.
872 (nxml-extend-after-change-region1): Remove function.
873 (nxml-after-change1): Don't adjust for dependent regions.
874 (nxml-fontify-matcher): Simplify.
875 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
876 (xmltok-add-dependent): Remove function.
877 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
878 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
879 (xmltok-scan-prolog-after-processing-instruction-open): Treat
880 unclosed <[[, <?, comment, and other literals as extending to EOB.
881 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
882 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
883 Remove functions.
884 (rng-do-some-validation-1): Don't mark dependent regions.
885 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
886 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
887 (nxml-clear-dependent-regions): Remove functions.
888 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
889 (nxml-ensure-scan-up-to-date):
890 Don't clear&mark dependent regions.
891
892 2013-05-15 Leo Liu <sdl.web@gmail.com>
893
894 * progmodes/octave.el (octave-goto-function-definition):
895 Improve and fix callers.
896
897 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
900 the setter (bug#14387).
901
902 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
903 surrounding group (bug#14402).
904
905 2013-05-14 Juri Linkov <juri@jurta.org>
906
907 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
908 (Bug#14390)
909
910 2013-05-14 Glenn Morris <rgm@gnu.org>
911
912 * progmodes/f90.el (f90-imenu-generic-expression):
913 Fix typo in 2013-05-08 change. (Bug#14402)
914
915 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
916
917 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
918 Remove signals for which replies are never received.
919
920 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
921
922 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
923 (gdb-handler-alist, gdb-handler-number): Remove variables.
924 (gdb-handler-list): New variable.
925 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
926 (gdb-pending-handler-p, gdb-handle-reply)
927 (gdb-remove-all-pending-triggers): New functions.
928 (gdb-discard-unordered-replies): New defcustom.
929 (gdb-handler): New defstruct.
930 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
931 instead of gdb-pending-triggers. Update docstring.
932 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
933 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
934 (gdb-var-update-handler, def-gdb-auto-update-trigger)
935 (def-gdb-auto-update-handler, gdb-get-changed-registers)
936 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
937 (gdb-frame-handler): Pending triggers are now automatically managed.
938 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
939 Remove argument.
940 (gdb-input): Automatically handles pending triggers. Update docstring.
941 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
942 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
943 Update comments.
944 (gdb-done-or-error): Now use gdb-handle-reply.
945
946 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
947
948 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
949 gdb-debug-log.
950
951 2013-05-14 Glenn Morris <rgm@gnu.org>
952
953 * subr.el (user-emacs-directory-warning): New option.
954 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
955
956 2013-05-14 Leo Liu <sdl.web@gmail.com>
957
958 * progmodes/octave.el (octave-font-lock-keywords): Fix error
959 during redisplay.
960 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
961 (octave-font-lock-texinfo-comment): Fix invalid search bound
962 error: wrong side of point.
963
964 2013-05-14 Glenn Morris <rgm@gnu.org>
965
966 * progmodes/flymake.el (flymake-xml-program): New option.
967 (flymake-xml-init): Use it.
968
969 * term/xterm.el: Provide a feature.
970
971 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
972
973 2013-05-13 Glenn Morris <rgm@gnu.org>
974
975 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
976 Add compat aliases as a hack workaround. (Bug#14384)
977
978 2013-05-13 Leo Liu <sdl.web@gmail.com>
979
980 * progmodes/octave.el (octave-indent-comment): Fix indentation for
981 ###, and %!.
982 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
983 C-M-q.
984 (octave-comment-start-skip): Include %!.
985 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
986
987 2013-05-12 Leo Liu <sdl.web@gmail.com>
988
989 * progmodes/octave.el (inferior-octave-startup): Store the value
990 of __octave_srcdir__ for octave-source-directories.
991 (inferior-octave-check-process): New function refactored out of
992 inferior-octave-send-list-and-digest.
993 (octave-source-directories)
994 (octave-find-definition-filename-function): New variables.
995 (octave-source-directories)
996 (octave-find-definition-default-filename): New functions.
997 (octave-find-definition): Improve to find functions implemented in C++.
998
999 2013-05-12 Glenn Morris <rgm@gnu.org>
1000
1001 * calendar/diary-lib.el (diary-outlook-format-1):
1002 Don't include dayname in the output. (Bug#14349)
1003
1004 2013-05-11 Glenn Morris <rgm@gnu.org>
1005
1006 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1007
1008 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1009 Treat cc-provide like provide.
1010
1011 2013-05-11 Kevin Ryde <user42@zip.com.au>
1012
1013 * cus-dep.el (custom-make-dependencies):
1014 Use generated-autoload-load-name for the sake of files such
1015 such cedet/semantic/bovine/c.el, where the base file name
1016 is not in load-path. (Bug#5277)
1017
1018 2013-05-11 Glenn Morris <rgm@gnu.org>
1019
1020 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1021 Provide features.
1022
1023 2013-05-11 Leo Liu <sdl.web@gmail.com>
1024
1025 * progmodes/octave.el (octave-indent-comment): Improve.
1026 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1027 (octave-eldoc-function-signatures, octave-eldoc-function):
1028 New functions.
1029 (octave-mode, inferior-octave-mode): Add eldoc support.
1030
1031 2013-05-11 Richard Stallman <rms@gnu.org>
1032
1033 * epa.el (epa-decrypt-file): Take output file name as argument
1034 and read it using `interactive'.
1035
1036 2013-05-11 Leo Liu <sdl.web@gmail.com>
1037
1038 * progmodes/octave.el (octave-beginning-of-line)
1039 (octave-end-of-line): Check before using up-list because it jumps
1040 out of more syntactic contructs since moving to smie.
1041 (octave-indent-comment): New function.
1042 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1043 (octave-begin-keywords, octave-end-keywords)
1044 (octave-reserved-words, octave-smie-bnf-table)
1045 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1046
1047 2013-05-11 Glenn Morris <rgm@gnu.org>
1048
1049 * faces.el (internal-face-x-get-resource):
1050 * frame.el (ns-display-monitor-attributes-list):
1051 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1052
1053 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1054
1055 * calc/calc-menu.el: Make it loadable in isolation.
1056
1057 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1058 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1059 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1060 (eudc-bbdb-query-internal): Require 'bbdb.
1061
1062 * lpr.el (lpr-headers-switches):
1063 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1064
1065 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1066
1067 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1068
1069 * term.el (term-set-escape-char): Make it idempotent.
1070
1071 2013-05-10 Leo Liu <sdl.web@gmail.com>
1072
1073 * progmodes/octave.el (inferior-octave-completion-table):
1074 No longer a function and all uses changed. Use cache to speed up
1075 completion due to bug#11906.
1076 (octave-beginning-of-defun): Re-write to be more general.
1077
1078 2013-05-10 Glenn Morris <rgm@gnu.org>
1079
1080 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1081
1082 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * comint.el (comint-redirect-send-command-to-process): Use :around
1085 rather than :override for comint-redirect-filter.
1086 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1087 Call it instead of comint-redirect-original-filter-function (which
1088 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1089
1090 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1091
1092 * frame.el (display-monitor-attributes-list): Add NS case.
1093 (ns-display-monitor-attributes-list): Declare.
1094
1095 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1096
1097 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1098
1099 2013-05-09 Glenn Morris <rgm@gnu.org>
1100
1101 * international/fontset.el (vertical-centering-font-regexp):
1102 Set standard-value.
1103
1104 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1105
1106 * bookmark.el (bookmark-search-delay):
1107 * cus-start.el (vertical-centering-font-regexp):
1108 * ps-mule.el (ps-mule-font-info-database-default):
1109 * ps-print.el (ps-default-fg, ps-default-bg):
1110 * type-break.el (type-break-good-break-interval):
1111 * whitespace.el (whitespace-indentation-regexp)
1112 (whitespace-space-after-tab-regexp):
1113 * emacs-lisp/testcover.el (testcover-1value-functions)
1114 (testcover-noreturn-functions, testcover-progn-functions)
1115 (testcover-prog1-functions):
1116 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1117 * eshell/em-glob.el (eshell-glob-translate-alist):
1118 * play/tetris.el (tetris-tty-colors):
1119 * progmodes/cpp.el (cpp-face-default-list):
1120 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1121 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1122 (idlwave-help-browser-generic-args):
1123 * progmodes/make-mode.el (makefile-special-targets-list):
1124 * progmodes/python.el (python-shell-virtualenv-path):
1125 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1126 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1127 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1128 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1129 * textmodes/reftex-vars.el (reftex-format-label-function):
1130 * textmodes/remember.el (remember-diary-file): Fix custom types.
1131
1132 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1133 Add :version.
1134
1135 2013-05-09 Leo Liu <sdl.web@gmail.com>
1136
1137 * progmodes/octave.el (inferior-octave-completion-at-point):
1138 Restore file completion. (Bug#14300)
1139 (inferior-octave-startup): Fix incorrect highlighting for the
1140 first prompt.
1141
1142 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * progmodes/ruby-mode.el: First cut at SMIE support.
1145 (ruby-use-smie): New var.
1146 (ruby-smie-grammar): New constant.
1147 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1148 (ruby-smie--forward-token, ruby-smie--backward-token)
1149 (ruby-smie-rules): New functions.
1150 (ruby-mode-variables): Setup SMIE if applicable.
1151
1152 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1153
1154 * simple.el (line-move-visual): Signal beginning/end of buffer
1155 only if vertical-motion moved less than it was requested. Avoids
1156 silly incorrect error messages when there are display strings with
1157 multiple newlines at EOL.
1158
1159 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1162 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1163 (prolog-char-quote-workaround):
1164 * progmodes/cperl-mode.el (cperl-under-as-char):
1165 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1166 Mark as obsolete.
1167 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1168 their declaration.
1169 (vhdl-mode-syntax-table-init): Remove.
1170
1171 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1172 last change.
1173
1174 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1175 syntax for "_".
1176 (ld-script-font-lock-keywords):
1177 Change regexps to use things like \_< and \_>.
1178
1179 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1180 Change all regexps to use things like \_< and \_>.
1181
1182 * progmodes/autoconf.el (autoconf-definition-regexp)
1183 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1184 Handle a _ with symbol syntax.
1185 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1186
1187 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1188 Consolidate declaration.
1189 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1190 the declaration.
1191 (ada-create-syntax-table): Remove.
1192 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1193 already has the right syntax nowadays.
1194 (ada-goto-next-word): Don't change the syntax of "_".
1195
1196 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1197 with-wrapper-hook.
1198
1199 2013-05-08 Sam Steingold <sds@gnu.org>
1200
1201 * thingatpt.el (thing-at-point): Accept optional second argument
1202 NO-PROPERTIES to strip the text properties from the return value.
1203 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1204 to `thing-at-point' instead of stripping the properties ourselves.
1205 Also, when `thing-at-point' fails to find a url, prepend "http://"
1206 to the filename at point on the assumption that the user is
1207 pointing at something like gnu.org/gnu.
1208
1209 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1210
1211 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1212 * faces.el (crm-separator):
1213 Silence byte-compiler.
1214
1215 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1216 (tool-bar-map): Remove unneeded defvars.
1217
1218 2013-05-08 Leo Liu <sdl.web@gmail.com>
1219
1220 Re-work a fix for bug#10994 based on Le Wang's patch.
1221 * ido.el (ido-remove-consecutive-dups): New helper.
1222 (ido-completing-read): Use it.
1223 (ido-chop): Revert fix for bug#10994.
1224
1225 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1226
1227 * cus-edit.el (custom-save-variables):
1228 Pretty-print long values. (Bug#14187)
1229
1230 2013-05-08 Glenn Morris <rgm@gnu.org>
1231
1232 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1233 (m4-mode-syntax-table): Init in the defvar.
1234 (m4-mode-abbrev-table): Let define-derived-mode define it.
1235
1236 2013-05-08 Tom Tromey <tromey@redhat.com>
1237
1238 * progmodes/m4-mode.el (m4-mode-syntax-table):
1239 Do not treat "_" as word constituent. (Bug#14167)
1240
1241 2013-05-07 Glenn Morris <rgm@gnu.org>
1242
1243 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1244 Remove explicit eshell-isearch-cancel-map.
1245
1246 * progmodes/f90.el (f90-smart-end-names): New option.
1247 (f90-smart-end): Doc fix.
1248 (f90-end-block-optional-name): New constant.
1249 (f90-block-match): Respect f90-smart-end-names.
1250
1251 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1254 about implicit semi-colons (bug#14218).
1255
1256 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1257
1258 * frame.el (display-monitor-attributes-list)
1259 (frame-monitor-attributes): New functions.
1260
1261 2013-05-06 Leo Liu <sdl.web@gmail.com>
1262
1263 * progmodes/octave.el (octave-syntax-propertize-function): Change
1264 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1265 (octave-font-lock-keywords): Use octave-operator-regexp.
1266 (octave-completion-at-point): Rename from
1267 octave-completion-at-point-function.
1268 (inferior-octave-directory-tracker): Robustify.
1269 (octave-text-functions): Remove and fix its uses. No such things
1270 any more.
1271
1272 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/trace.el (trace--display-buffer): New function.
1275 (trace-make-advice): Use it.
1276
1277 2013-05-06 Juri Linkov <juri@jurta.org>
1278
1279 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1280 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1281 Doc fix.
1282 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1283 in the help string. (Bug#12985)
1284
1285 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1286
1287 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1288
1289 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * progmodes/perl-mode.el: Add support for here documents.
1292 (perl-syntax-propertize-function): Match here-doc markers.
1293 (perl-syntax-propertize-special-constructs): Find their end.
1294 (perl-imenu-generic-expression): Use [:alnum:].
1295
1296 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1297 (advice--add-function): Refresh the advice if already present
1298 (bug#14317).
1299
1300 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1301
1302 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1303
1304 2013-05-06 Glenn Morris <rgm@gnu.org>
1305
1306 * w32-fns.el (w32-charset-info-alist): Declare.
1307
1308 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1309 of its defcustom properties.
1310 (eshell-cmpl-initialize): No need to load pcomplete.
1311
1312 * generic-x.el: No need to require comint when compiling.
1313
1314 * net/eudc-export.el: Make it loadable without bbdb.
1315 (top-level): Use require rather than load-library.
1316 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1317 (eudc-batch-export-records-to-bbdb)
1318 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1319 Require bbdb.
1320
1321 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1324 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1325 some tweaks, instead.
1326
1327 2013-05-05 Leo Liu <sdl.web@gmail.com>
1328
1329 * progmodes/octave.el (octave-font-lock-keywords)
1330 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1331 (inferior-octave-send-list-and-digest): Improve error message.
1332 (octave-mode, inferior-octave-mode): Use setq-local.
1333 (octave-help): Set info-lookup-mode.
1334
1335 2013-05-05 Richard Stallman <rms@gnu.org>
1336
1337 * vc/compare-w.el (compare-windows-whitespace):
1338 Treat no-break space as whitespace.
1339
1340 * mail/rmailsum.el (rmail-summary-rmail-update):
1341 Detect empty summary and don't change selected message.
1342 (rmail-summary-goto-msg): Likewise.
1343
1344 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1345 Doc fixes, rename args.
1346
1347 2013-05-05 Alan Mackenzie <acm@muc.de>
1348
1349 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1350
1351 2013-05-05 Juri Linkov <juri@jurta.org>
1352
1353 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1354 to not add the length of the summary segment to the return value.
1355 (Bug#14125)
1356
1357 2013-05-05 Leo Liu <sdl.web@gmail.com>
1358
1359 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1360 (inferior-octave-output-filter): Remove.
1361 (octave-send-region, inferior-octave-startup): Fix callers.
1362 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1363 (octave-binary-file-extensions): New user variable.
1364 (octave-find-definition): Confirm if opening binary files.
1365 (octave-help-file): Use octave-find-definition to get the binary
1366 confirmation.
1367 (octave-help): Adjust for octave-help-file change.
1368
1369 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1372 Merge the two entries that handle function definitions.
1373 (pascal--syntax-propertize): New const.
1374 (pascal-mode): Use it. Use setq-local.
1375
1376 2013-05-04 Glenn Morris <rgm@gnu.org>
1377
1378 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1379 (diary-from-outlook): Respect diary-from-outlook-function.
1380
1381 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1384 Move the declaration from C.
1385 (read-minibuffer, eval-minibuffer): Move from C.
1386 (completion-setup-function): Avoid minibuffer-completion-contents.
1387
1388 2013-05-03 Leo Liu <sdl.web@gmail.com>
1389
1390 * progmodes/octave.el (octave-font-lock-keywords): Do not
1391 dehighlight 'end' in comments or strings.
1392 (octave-completing-read, octave-goto-function-definition):
1393 New helpers.
1394 (octave-help-buffer): New user variable.
1395 (octave-help-file, octave-help-function): New button types.
1396 (octave-help): New command and bind it to C-h ;.
1397 (octave-find-definition): New command and bind it to M-.
1398 (user-error): Alias to error if not defined.
1399
1400 2013-05-02 Leo Liu <sdl.web@gmail.com>
1401
1402 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1403 for \. (bug#14332)
1404 (octave-font-lock-keywords): Include [ and {.
1405
1406 2013-05-02 Leo Liu <sdl.web@gmail.com>
1407
1408 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1409 (inferior-octave): Remove calling comint-mode and return the buffer.
1410 (inferior-octave-startup): Cosmetic changes.
1411
1412 2013-05-02 Leo Liu <sdl.web@gmail.com>
1413
1414 * progmodes/octave.el (octave-syntax-propertize-function):
1415 Include the case when ' is at line beginning. (Bug#14336)
1416
1417 2013-05-02 Glenn Morris <rgm@gnu.org>
1418
1419 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1420 * desktop.el (vc-dir-mode): Just autoload it here.
1421
1422 2013-05-02 Alan Mackenzie <acm@muc.de>
1423
1424 Eliminate variable c-standard-font-lock-fontify-region-function.
1425 * progmodes/cc-mode.el
1426 (c-standard-font-lock-fontify-region-function): Remove.
1427 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1428
1429 2013-05-01 Leo Liu <sdl.web@gmail.com>
1430
1431 * progmodes/octave.el: Compatible with older emacs-24 releases.
1432 (inferior-octave-has-built-in-variables): Remove. Built-in
1433 variables were removed from Octave in 2007.
1434 (inferior-octave-startup): Fix uses.
1435 (comint-line-beginning-position): Remove compatibility code for
1436 emacs 21.
1437
1438 2013-05-01 Juri Linkov <juri@jurta.org>
1439
1440 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1441
1442 2013-05-01 Juri Linkov <juri@jurta.org>
1443
1444 * comint.el (comint-previous-matching-input): Don't print message
1445 "History item: %d" when `isearch-mode' is active.
1446 (comint-history-isearch-message): Print message "History item: %d"
1447 when `comint-input-ring-index' is not empty and this function is
1448 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1449
1450 2013-05-01 Leo Liu <sdl.web@gmail.com>
1451
1452 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1453 definitions. Use completion-at-point to insert keywords.
1454 (octave-abbrev-start): Remove.
1455 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1456
1457 2013-04-30 Leo Liu <sdl.web@gmail.com>
1458
1459 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1460 change.
1461
1462 2013-04-30 Alan Mackenzie <acm@muc.de>
1463
1464 Handle arbitrarily long C++ member initialisation lists.
1465 * progmodes/cc-engine.el (c-back-over-member-initializers):
1466 new function.
1467 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1468 (most) member init lists.
1469
1470 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1471
1472 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1473 variable.
1474
1475 2013-04-30 Leo Liu <sdl.web@gmail.com>
1476
1477 * progmodes/octave.el (octave-variables): Remove. No builtin
1478 variables any more. All converted to functions.
1479 (octave-font-lock-keywords, octave-completion-at-point-function):
1480 Fix uses.
1481 (octave-font-lock-texinfo-comment): New user variable.
1482 (octave-texinfo-font-lock-keywords): New variable for texinfo
1483 comment block.
1484 (octave-function-comment-block): New face.
1485 (octave-font-lock-texinfo-comment): New function.
1486 (octave-mode): Font lock texinfo comment block.
1487
1488 2013-04-29 Leo Liu <sdl.web@gmail.com>
1489
1490 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1491 indexing expression.
1492 (octave-continuation-string): Do not use \.
1493 (inferior-octave-complete-impossible): Remove.
1494 (inferior-octave-completion-table)
1495 (inferior-octave-completion-at-point): Remove its uses.
1496 (inferior-octave-startup): completion_matches was introduced to
1497 Octave in 1996 so safe to assume it.
1498 (octave-function-file-comment): Improve to follow how Octave does it.
1499 (octave-update-function-file-comment): Tweak.
1500
1501 2013-04-29 Leo Liu <sdl.web@gmail.com>
1502
1503 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1504 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1505 (octave-function-file-comment): Fix typo.
1506 (octave-sync-function-file-names): Use read-char-choice.
1507
1508 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1509
1510 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1511 to t for the less important warnings.
1512
1513 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1514
1515 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1516
1517 2013-04-27 Glenn Morris <rgm@gnu.org>
1518
1519 * vc/log-view.el (log-view-current-entry):
1520 Treat "---" separator lines as part of the following rev. (Bug#14169)
1521
1522 2013-04-27 Juri Linkov <juri@jurta.org>
1523
1524 * subr.el (read-number): Doc fix about using it by interactive
1525 code letter `n'. (Bug#14254)
1526
1527 2013-04-27 Juri Linkov <juri@jurta.org>
1528
1529 * desktop.el (desktop-auto-save-timeout): New option.
1530 (desktop-file-checksum): New variable.
1531 (desktop-save): Add optional arg `auto-save' and don't auto-save
1532 if nothing changed.
1533 (desktop-auto-save-timer): New variable.
1534 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1535 (after-init-hook): Call `desktop-auto-save-set-timer'.
1536 Suggested by Reuben Thomas <rrt@sc3d.org> in
1537 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1538
1539 2013-04-27 Leo Liu <sdl.web@gmail.com>
1540
1541 * progmodes/octave.el (octave-function-file-p)
1542 (octave-skip-comment-forward, octave-function-file-comment)
1543 (octave-update-function-file-comment): New functions.
1544 (octave-mode-map): Bind C-c ; to
1545 octave-update-function-file-comment.
1546 (octave-mode-menu): Add octave-update-function-file-comment.
1547 (octave-mode, inferior-octave-mode): Fix doc-string.
1548 (octave-insert-defun): Conform to Octave's coding convention.
1549 (Bug#14285)
1550
1551 * files.el (basic-save-buffer): Don't let errors in
1552 before-save-hook prevent saving buffer.
1553
1554 2013-04-20 Roland Winkler <winkler@gnu.org>
1555
1556 * faces.el (read-face-name): Use completing-read if arg multiple
1557 is nil.
1558
1559 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1560
1561 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1562 displayed, move point to after the totals line.
1563 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1564 for the details.
1565
1566 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1569 Add current dir to the load-path.
1570 (package-generate-autoloads): Don't rely on
1571 autoload-ensure-default-file.
1572
1573 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1574
1575 * textmodes/remember.el (remember-store-in-files): Document that
1576 the file name format is passed to `format-time-string'.
1577
1578 2013-04-26 Leo Liu <sdl.web@gmail.com>
1579
1580 * progmodes/octave.el (octave-sync-function-file-names): New function.
1581 (octave-mode): Use it in before-save-hook.
1582
1583 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1584
1585 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1586 (bug#14274).
1587
1588 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1589 \n and comment, even if it's not an implicit ; (bug#14218).
1590
1591 2013-04-26 Glenn Morris <rgm@gnu.org>
1592
1593 * subr.el (read-number): Once more use `read' rather than
1594 `string-to-number', to trap non-numeric input. (Bug#14254)
1595
1596 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1597
1598 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1599 Use `syntax-multiline' text property consistently instead of
1600 `font-lock-multiline'. (bug#14237).
1601
1602 2013-04-26 Glenn Morris <rgm@gnu.org>
1603
1604 * emacs-lisp/shadow.el (list-load-path-shadows):
1605 No longer necessary to check for duplicate simple.el, since
1606 2012-07-07 change to init_lread to not include installation lisp
1607 directories in load-path when running uninstalled. (Bug#14270)
1608
1609 2013-04-26 Leo Liu <sdl.web@gmail.com>
1610
1611 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1612 (octave-mode, inferior-octave-mode): Use setq-local.
1613 (octave-not-in-string-or-comment-p): Rename to
1614 octave-in-string-or-comment-p.
1615 (octave-in-comment-p, octave-in-string-p)
1616 (octave-in-string-or-comment-p): Replace defsubst with defun.
1617
1618 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1619
1620 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1621
1622 2013-04-25 Bastien Guerry <bzg@gnu.org>
1623
1624 * textmodes/remember.el (remember-data-directory)
1625 (remember-directory-file-name-format): Fix custom types.
1626
1627 2013-04-25 Leo Liu <sdl.web@gmail.com>
1628
1629 * progmodes/octave.el (octave-completion-at-point-function):
1630 Make use of inferior octave process.
1631 (octave-initialize-completions): Remove.
1632 (inferior-octave-completion-table): New function.
1633 (inferior-octave-completion-at-point): Use it.
1634 (octave-completion-alist): Remove.
1635
1636 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1639 (opascal-mode-syntax-table): New var.
1640 (opascal-literal-kind, opascal-is-literal-end)
1641 (opascal-literal-token-at): Rewrite.
1642 (opascal--literal-start-re, opascal-font-lock-keywords)
1643 (opascal--syntax-propertize): New constants.
1644 (opascal-font-lock-defaults): Adjust.
1645 (opascal-mode): Use them. Set comment-<foo> variables as well.
1646 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1647 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1648 (delphi-other-face, opascal-other-face): Remove face variables.
1649 (opascal-save-state): Remove macro.
1650 (opascal-fontifying-progress-step): Remove constant.
1651 (opascal--ignore-changes): Remove var.
1652 (opascal-set-token-property, opascal-parse-next-literal)
1653 (opascal-is-stable-literal, opascal-complete-literal)
1654 (opascal-is-literal-start, opascal-face-of)
1655 (opascal-parse-region, opascal-parse-region-until-stable)
1656 (opascal-fontify-region, opascal-after-change)
1657 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1658 (opascal-debug-parse-region, opascal-debug-parse-window)
1659 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1660 (opascal-debug-fontify-buffer): Remove.
1661 (opascal-debug-mode-map): Adjust accordingly.
1662
1663 2013-04-25 Leo Liu <sdl.web@gmail.com>
1664
1665 Merge octave-mod.el and octave-inf.el into octave.el with some
1666 cleanups.
1667 * progmodes/octave.el: New file renamed from octave-mod.el.
1668 * progmodes/octave-inf.el: Merged into octave.el.
1669 * progmodes/octave-mod.el: Renamed to octave.el.
1670
1671 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1672
1673 * textmodes/reftex-vars.el
1674 (reftex-label-ignored-macros-and-environments): New defcustom.
1675
1676 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1677
1678 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1681 (smie-indent-keyword): Improve the check to ensure that the next
1682 comment is really on the same line.
1683 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1684
1685 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1686 semi-colons if the line is not otherwise empty (bug#14218).
1687
1688 2013-04-25 Glenn Morris <rgm@gnu.org>
1689
1690 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1691
1692 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * progmodes/opascal.el (opascal-set-token-property): Rename from
1695 opascal-set-text-properties and only set `token' (bug#14134).
1696 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1697 (opascal-literal-text-properties): Remove.
1698 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1699 Adjust callers.
1700
1701 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1702
1703 * textmodes/remember.el (remember-handler-functions): Add an
1704 option for a new handler `remember-store-in-files'.
1705 (remember-data-directory, remember-directory-file-name-format):
1706 New options.
1707 (remember-store-in-files): New function to store remember notes
1708 as separate files within a directory.
1709
1710 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1711
1712 * progmodes/compile.el (compilation-next-error-function):
1713 Pass "formats" to compilation-find-file (bug#11777).
1714
1715 2013-04-24 Glenn Morris <rgm@gnu.org>
1716
1717 * vc/vc-bzr.el (vc-bzr-print-log):
1718 * vc/vc-hg.el (vc-hg-print-log):
1719 * vc/vc-svn.el (vc-svn-print-log):
1720 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1721
1722 * vc/vc-bzr.el (vc-bzr-print-log):
1723 * vc/vc-cvs.el (vc-cvs-print-log):
1724 * vc/vc-git.el (vc-git-print-log):
1725 * vc/vc-hg.el (vc-hg-print-log):
1726 * vc/vc-mtn.el (vc-mtn-print-log):
1727 * vc/vc-rcs.el (vc-rcs-print-log):
1728 * vc/vc-sccs.el (vc-sccs-print-log):
1729 * vc/vc-svn.el (vc-svn-print-log):
1730 * vc/vc.el (vc-print-log-internal): Doc fixes.
1731
1732 2013-04-23 Glenn Morris <rgm@gnu.org>
1733
1734 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1735 Remove venerable code attempting to avoid substitute-command-keys.
1736
1737 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1738
1739 * textmodes/reftex-vars.el (reftex-label-regexps):
1740 Call `reftex-compile-variables' after changes to this variable.
1741
1742 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1745 Use lexical-binding.
1746 (jit-lock-force-redisplay): Use markers, check buffer's continued
1747 existence and beware narrowed buffers.
1748 (jit-lock-fontify-now): Adjust call accordingly.
1749
1750 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1753 to avoid misleading the user.
1754
1755 2013-04-22 Leo Liu <sdl.web@gmail.com>
1756
1757 * info-look.el: Prefer latex2e.info. (Bug#14240)
1758
1759 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1760
1761 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1762
1763 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1764 * net/tramp.el (tramp-call-process): ... here
1765 (tramp-set-completion-function, tramp-parse-putty):
1766 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1767 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1768 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1769 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1770 (tramp-call-local-coding-command): Use `tramp-call-process'
1771 instead of `tramp-compat-call-process'.
1772
1773 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1774 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1775 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1776 (tramp-find-inline-compress): Improve traces.
1777 (tramp-maybe-send-script): Check for Perl binary.
1778 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1779
1780 2013-04-22 Daiki Ueno <ueno@gnu.org>
1781
1782 * epg.el (epg-context-pinentry-mode): New function.
1783 (epg-context-set-pinentry-mode): New function.
1784 (epg--start): Pass --pinentry-mode option to gpg command.
1785
1786 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1787
1788 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
1789 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1790 `completion-at-point'. (Bug#13774)
1791
1792 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1793 default key binding for `describe-distribution' has been moved to
1794 `C-h C-o'. (Bug#13970)
1795
1796 2013-04-21 Glenn Morris <rgm@gnu.org>
1797
1798 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1799 Add doc strings.
1800 (vc-print-log): Clarify interactive prompt.
1801
1802 2013-04-20 Glenn Morris <rgm@gnu.org>
1803
1804 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1805 No longer include timestamp etc information.
1806
1807 2013-04-20 Roland Winkler <winkler@gnu.org>
1808
1809 * faces.el (read-face-name): Bug fix, return just one face if arg
1810 multiple is nil. (Bug#14209)
1811
1812 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1815 (remove-function): Autoload.
1816
1817 * comint.el (comint-redirect-original-filter-function): Remove.
1818 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1819 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1820 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1821 * progmodes/prolog.el (prolog-consult-compile):
1822 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1823 Use add/remove-function instead.
1824 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1825 (gud-tooltip-process-output, gud-tooltip-tips):
1826 Use add/remove-function instead.
1827 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1828 (scheme-interaction-mode, exit-scheme-interaction-mode):
1829 Use add/remove-function instead.
1830
1831 * vc/vc-dispatcher.el: Use lexical-binding.
1832 (vc--process-sentinel): Rename from vc-process-sentinel.
1833 Change last arg to be the code to run. Don't use vc-previous-sentinel
1834 and vc-sentinel-commands any more.
1835 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1836 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1837
1838 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1839
1840 * progmodes/sh-script.el (sh-imenu-generic-expression):
1841 Handle function names with a single character. (Bug#14111)
1842
1843 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1844
1845 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1846 for subroutines defined in an eval (bug#14182).
1847
1848 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1849
1850 * bookmark.el (bookmark-completing-read): Improve handling of empty
1851 string (bug#14176).
1852
1853 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1856
1857 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1858
1859 New faster Imenu implementation (bug#14058).
1860 * progmodes/python.el:
1861 (python-imenu-prev-index-position):
1862 (python-imenu-format-item-label-function)
1863 (python-imenu-format-parent-item-label-function)
1864 (python-imenu-format-parent-item-jump-label-function):
1865 New vars.
1866 (python-imenu-format-item-label)
1867 (python-imenu-format-parent-item-label)
1868 (python-imenu-format-parent-item-jump-label)
1869 (python-imenu--put-parent, python-imenu--build-tree)
1870 (python-imenu-create-index, python-imenu-create-flat-index)
1871 (python-util-popn): New functions.
1872 (python-mode): Set imenu-create-index-function to
1873 python-imenu-create-index.
1874
1875 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * winner.el (winner-active-region): Use region-active-p, activate-mark
1878 and deactivate-mark (bug#14225).
1879
1880 * simple.el (deactivate-mark): Don't inline it.
1881
1882 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1883
1884 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1885
1886 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1887
1888 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1889 file extensions from the archive-mode entry in order to prefer
1890 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1891
1892 2013-04-18 Leo Liu <sdl.web@gmail.com>
1893
1894 * bindings.el (help-event-list): Add ?\?.
1895
1896 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * subr.el (with-wrapper-hook): Declare obsolete.
1899 * simple.el (filter-buffer-substring-function): New hook.
1900 (filter-buffer-substring): Use it.
1901 (filter-buffer-substring-functions): Mark obsolete.
1902 * minibuffer.el (completion-in-region-function): New hook.
1903 (completion-in-region): Use it.
1904 (completion-in-region-functions): Mark obsolete.
1905 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1906 * abbrev.el (abbrev-expand-function): New hook.
1907 (expand-abbrev): Use it.
1908 (abbrev-expand-functions): Mark obsolete.
1909 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1910 and :filter-return.
1911
1912 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1913
1914 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1915 and do not care about match data.
1916
1917 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1920 completion tables when completing error conditions and
1921 `declare' arguments.
1922 (lisp-complete-symbol, field-complete): Mark as obsolete.
1923 (check-parens): Unmatched parens are user errors.
1924 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1925
1926 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1927
1928 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1929 command changed buffer (ie. `flyspell-pre-buffer' is not current
1930 buffer), which prevents making decisions based on invalid value of
1931 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1932 cause an error when `flyspell-pre-point' was nil after switching
1933 buffers.
1934 (flyspell-post-command-hook): No longer needs to change buffers when
1935 checking pre-word. While at it remove unnecessary progn.
1936
1937 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1938
1939 * textmodes/ispell.el (ispell-add-per-file-word-list):
1940 Fix `flyspell-correct-word-before-point' error when accepting
1941 words and `coment-padding' is an integer by using
1942 `comment-normalize-vars' (Bug #14214).
1943
1944 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1945
1946 New defun movement commands.
1947 * progmodes/python.el (python-nav--syntactically)
1948 (python-nav--forward-defun, python-nav-backward-defun)
1949 (python-nav-forward-defun): New functions.
1950
1951 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1952
1953 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1954 (python-syntax-context): Use named compiler-macro for backwards
1955 compatibility with Emacs 24.x.
1956
1957 2013-04-17 Leo Liu <sdl.web@gmail.com>
1958
1959 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1960 octave-hide-process-buffer.
1961
1962 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1965 (bug#14216).
1966
1967 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1968
1969 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1970 Fix adjustment of offset when receiving incomplete responses from GDB
1971 (bug#14129).
1972
1973 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1976 python-mode-abbrev-table.
1977 (python-skeleton-define): Adjust accordingly.
1978 (python-mode-abbrev-table): New table that inherits from it so that
1979 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1980
1981 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1982 (abbrev-symbol): Use it.
1983 (abbrev--before-point): Use it since we already handle inheritance.
1984
1985 2013-04-16 Leo Liu <sdl.web@gmail.com>
1986
1987 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1988 binding to info-lookup-symbol.
1989
1990 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1991
1992 * minibuffer.el (completion--twq-all):
1993 * term/ns-win.el (ns-initialize-window-system):
1994 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1995
1996 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1999 global bindings.
2000
2001 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2002
2003 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2006 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2007 to nil.
2008 (ruby-end-of-defun): Remove the unused arg, change the docstring
2009 to reflect that this function is only used as the value of
2010 `end-of-defun-function'.
2011 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2012 to reflect an earlier change that beginning/end-of-defun functions
2013 jump between methods in a class definition, as well as top-level
2014 functions.
2015
2016 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * minibuffer.el (minibuffer-complete): Don't just scroll
2019 a *Completions* that's been iconified.
2020 (minibuffer-force-complete): Make sure repetitions do cycle when going
2021 through completion-in-region -> minibuffer-complete.
2022
2023 2013-04-15 Alan Mackenzie <acm@muc.de>
2024
2025 Correct the placement of c-cpp-delimiters when there're #s not at
2026 col 0.
2027
2028 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2029 place a submatch around the #.
2030 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2031 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2032 on the #, not BOL.
2033
2034 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2037 (advice--member-p): New arg `name'.
2038 (advice--add-function, advice-member-p): Use it (bug#14202).
2039
2040 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2041
2042 Reformulate java imenu-generic-expression.
2043 The old expression contained ill formed regexps.
2044
2045 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2046 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2047 (cc-imenu-java-method-arg-regexp): New defconsts.
2048 (cc-imenu-java-build-type-args-regex): New defun.
2049 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2050 handling of spaces in the regexp.
2051
2052 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2053
2054 * textmodes/ispell.el (ispell-command-loop): Remove
2055 flyspell highlight of a word when ispell accepts it (bug #14178).
2056
2057 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2058
2059 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2060 uses code from the previous `ange-ftp-run-real-handler'.
2061 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2062 only in case that function exist. This is needed for proper
2063 unloading of Tramp.
2064
2065 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2066
2067 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2068
2069 * textmodes/reftex.el (reftex-compile-variables): Use it.
2070
2071 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * files.el (normal-mode): Only use default major-mode if no other mode
2074 was specified.
2075
2076 * emacs-lisp/trace.el (trace-values): New function.
2077
2078 * files.el: Allow : in local variables (bug#14089).
2079 (hack-local-variable-regexp): New var.
2080 (hack-local-variables-prop-line, hack-local-variables): Use it.
2081
2082 2013-04-13 Roland Winkler <winkler@gnu.org>
2083
2084 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2085 data before it gets modified by bibtex-beginning-of-entry.
2086
2087 2013-04-13 Roland Winkler <winkler@gnu.org>
2088
2089 * textmodes/bibtex.el (bibtex-url): Doc fix.
2090
2091 2013-04-13 Roland Winkler <winkler@gnu.org>
2092
2093 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2094 does not visit a BibTeX file, exclude it from the list of buffers
2095 returned by bibtex-initialize.
2096
2097 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2098
2099 * window.el (split-window): Remove interactive form, since as a
2100 command this function is a special case of split-window-below.
2101 Correct doc string.
2102
2103 2013-04-12 Roland Winkler <winkler@gnu.org>
2104
2105 * faces.el (read-face-name): Do not override value of arg default.
2106 Allow single faces and strings as default values. Remove those
2107 elements from return value that are not faces.
2108 (describe-face): Simplify.
2109 (face-at-point): New optional args thing and multiple so that this
2110 function can provide the same functionality previously provided by
2111 read-face-name.
2112 (make-face-bold, make-face-unbold, make-face-italic)
2113 (make-face-unitalic, make-face-bold-italic, invert-face)
2114 (modify-face, read-face-and-attribute): Use face-at-point.
2115
2116 * cus-edit.el (customize-face, customize-face-other-window)
2117 * cus-theme.el (custom-theme-add-face)
2118 * face-remap.el (buffer-face-set)
2119 * facemenu.el (facemenu-set-face): Use face-at-point.
2120
2121 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2122
2123 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2124
2125 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2126
2127 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2128 off leading { and trailing } from field values.
2129
2130 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * emacs-lisp/timer.el (timer--check): New function.
2133 (timer--time, timer-set-function, timer-event-handler): Use it.
2134 (timer-set-idle-time): Simplify.
2135 (timer--activate): CSE.
2136 (timer-event-handler): Give more info in error message.
2137 (internal-timer-start-idle): New function, moved from C.
2138
2139 * mpc.el (mpc-proc): Add `restart' argument.
2140 (mpc-proc-cmd): Use it.
2141 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2142 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2143 less often.
2144
2145 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2146
2147 * progmodes/sh-script.el: Implement `sh-mode' own
2148 `add-log-current-defun-function' (bug#14112).
2149 (sh-current-defun-name): New function.
2150 (sh-mode): Use the function.
2151
2152 2013-04-09 Bastien Guerry <bzg@gnu.org>
2153
2154 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2155
2156 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2159
2160 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2161 timer (bug#14156).
2162
2163 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2164
2165 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2166 declaration.
2167
2168 2013-04-07 Leo Liu <sdl.web@gmail.com>
2169
2170 * pcmpl-x.el: New file.
2171
2172 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2173
2174 Do not set x-display-name until X connection is established.
2175 This is needed to prevent from weird situation described at
2176 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2177 * frame.el (make-frame): Set x-display-name after call to
2178 window system initialization function, not before.
2179 * term/x-win.el (x-initialize-window-system): Add optional
2180 display argument and use it.
2181 * term/w32-win.el (w32-initialize-window-system):
2182 * term/ns-win.el (ns-initialize-window-system):
2183 * term/pc-win.el (msdos-initialize-window-system):
2184 Add compatible optional display argument.
2185
2186 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2187
2188 * files.el (normal-backup-enable-predicate): On MS-Windows and
2189 MS-DOS compare truenames of temporary-file-directory and of the
2190 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2191 don't fail comparison by compare-strings. Also, compare file
2192 names case-insensitively on MS-Windows and MS-DOS.
2193
2194 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2195
2196 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2197 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2198
2199 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2200
2201 * whitespace.el (whitespace-color-on, whitespace-color-off):
2202 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2203
2204 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2205
2206 * ispell.el (ispell-set-spellchecker-params):
2207 Really set `ispell-args' for all equivs.
2208
2209 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * ido.el (ido-completions): Use extra elements of ido-decorations
2212 (bug#14143).
2213 (ido-decorations): Update docstring.
2214
2215 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2216
2217 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2218 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2219 nil during initialization, in order not to miss changes since the
2220 file was opened. (Bug#14140)
2221
2222 2013-04-05 Leo Liu <sdl.web@gmail.com>
2223
2224 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2225
2226 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2227
2228 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2229
2230 2013-04-04 Glenn Morris <rgm@gnu.org>
2231
2232 * electric.el (electric-pair-inhibit-predicate): Add :version.
2233
2234 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2237 when a package is required several times (bug#14082).
2238
2239 2013-04-04 Roland Winkler <winkler@gnu.org>
2240
2241 * faces.el (read-face-name): Behave as promised by the docstring.
2242 Assume that arg default is a list of faces.
2243 (describe-face): Call read-face-name with list of default faces.
2244
2245 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2246
2247 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2248 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2249 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2250 the header.
2251 (bookmark-exit-hook-internal): Save even if list is empty.
2252
2253 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2254
2255 * emacs-lisp/package.el (package-pinned-packages): New var.
2256 (package--add-to-archive-contents): Obey it (bug#14118).
2257
2258 2013-04-03 Alan Mackenzie <acm@muc.de>
2259
2260 Handle `parse-partial-sexp' landing inside a comment opener
2261 (Bug#13244). Also adapt to the new values of element 7 of a parse
2262 state.
2263
2264 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2265 parameter `not-in-delimiter'. Handle being inside comment opener.
2266 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2267 character in case we're typing a '*' after a '/'.
2268 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2269 instead by passing the parameter to c-state-pp-to-literal.
2270
2271 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2272 for elt. 7 of a parse state.
2273
2274 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2275
2276 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2277 * international/latin1-disp.el, international/mule-util.el:
2278 * language/cyril-util.el, language/european.el, language/ind-util.el:
2279 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2280 * language/tibetan.el, language/viet-util.el:
2281 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2282
2283 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2286 (electric-pair-post-self-insert-function): Use it.
2287 (electric-pair-default-inhibit): New function, extracted from
2288 electric-pair-post-self-insert-function.
2289
2290 2013-03-31 Roland Winkler <winkler@gnu.org>
2291
2292 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2293
2294 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2297
2298 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2299
2300 Un-indent after "pass" and "return" statements (Bug#13888)
2301 * progmodes/python.el (python-indent-block-enders): New var.
2302 (python-indent-calculate-indentation): Use it.
2303
2304 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2307 defun. Defining it as defalias could introduce too eager
2308 byte-compiler optimization. (Bug#14030)
2309
2310 2013-03-30 Chong Yidong <cyd@gnu.org>
2311
2312 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2313
2314 2013-03-30 Leo Liu <sdl.web@gmail.com>
2315
2316 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2317 (kmacro-execute-from-register): Pass the keyboard macro to
2318 kmacro-call-macro or repeating won't work correctly.
2319
2320 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2321
2322 * progmodes/subword.el: Back to using `forward-symbol'.
2323
2324 * subr.el (forward-whitespace, forward-symbol)
2325 (forward-same-syntax): Move from thingatpt.el.
2326
2327 2013-03-29 Leo Liu <sdl.web@gmail.com>
2328
2329 * kmacro.el (kmacro-to-register): New command.
2330 (kmacro-execute-from-register): New function.
2331 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2332
2333 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * mpc.el: Use defvar-local and setq-local.
2336 (mpc--proc-connect): Connection failures are not bugs.
2337 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2338 (mpc-volume-map): Bind to the up-events.
2339
2340 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2341
2342 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2343 instead of `forward-symbol'.
2344
2345 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2348 (edebug--recursive-edit): Use it.
2349 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2350 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2351
2352 2013-03-28 Leo Liu <sdl.web@gmail.com>
2353
2354 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2355
2356 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2357
2358 * facemenu.el (list-colors-callback): New defvar.
2359 (list-colors-redisplay): New function.
2360 (list-colors-display): Install list-colors-redisplay as the
2361 revert-buffer-function. (Bug#14063)
2362
2363 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2366 and suffixes don't overlap (bug#14061).
2367
2368 * case-table.el: Use lexical-binding.
2369 (case-table-get-table): New function.
2370 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2371
2372 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2373
2374 * progmodes/subword.el: Add `superword-mode' to do word motion
2375 over symbol_words (parallels and leverages `subword-mode' which
2376 does word motion inside MixedCaseWords).
2377
2378 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2379
2380 * eshell/em-unix.el: Move su and sudo to...
2381 * eshell/em-tramp.el: ...Eshell tramp module.
2382
2383 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2386 Change return value to be a sexp. Delay `get-buffer' to after
2387 restoring the desktop (bug#13951).
2388
2389 2013-03-26 Leo Liu <sdl.web@gmail.com>
2390
2391 * register.el: Move semantic tag handling back to
2392 cedet/semantic/senator.el. (Bug#14052)
2393
2394 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2397 into the prompt either (bug#13963).
2398
2399 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2402 part of "(error-foo)".
2403
2404 2013-03-24 Juri Linkov <juri@jurta.org>
2405
2406 * replace.el (list-matching-lines-prefix-face): New defcustom.
2407 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2408 `occur-engine' if `face-differs-from-default-p' returns t.
2409 (occur-engine): Add `,' inside backquote construct to evaluate
2410 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2411 Pass `prefix-face' to the functions `occur-context-lines' and
2412 `occur-engine-add-prefix'.
2413 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2414 `prefix-face' and propertize the prefix with `prefix-face'.
2415 (Bug#14017)
2416
2417 2013-03-24 Leo Liu <sdl.web@gmail.com>
2418
2419 * nxml/rng-valid.el (rng-validate-while-idle)
2420 (rng-validate-quick-while-idle): Guard against deleted buffer.
2421 (Bug#13999)
2422
2423 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2424 is the last entry in kill-buffer-hook.
2425
2426 * files.el (kill-buffer-hook): Doc fix.
2427
2428 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2429
2430 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2431 Make it safe-local.
2432
2433 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2434
2435 2013-03-23 Leo Liu <sdl.web@gmail.com>
2436
2437 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2438 Remove.
2439
2440 * nxml/rng-valid.el (rng-validate-mode)
2441 (rng-after-change-function, rng-do-some-validation):
2442 * nxml/rng-maint.el (rng-validate-buffer):
2443 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2444 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2445 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2446 (nxml-extend-after-change-region): Use with-silent-modifications.
2447
2448 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2449 timer-idle-list.
2450
2451 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2452 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2453 timer-idle-list. (Bug#13999)
2454
2455 2013-03-23 Juri Linkov <juri@jurta.org>
2456
2457 * info.el (info-index-match): New face.
2458 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2459 main pattern and add text properties with the new face to matches
2460 in index entries relative to the beginning of the index entry.
2461 (Bug#14015)
2462
2463 2013-03-21 Eric Ludlam <zappo@gnu.org>
2464
2465 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2466 Inhibit read only while inserting objects.
2467
2468 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2469
2470 * progmodes/cfengine.el: Update docs to mention
2471 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2472 symbol motion. Remove "_" from the word syntax.
2473
2474 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2475
2476 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2477 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2478
2479 2013-03-20 Juri Linkov <juri@jurta.org>
2480
2481 * info.el (Info-next-reference-or-link)
2482 (Info-prev-reference-or-link): New functions.
2483 (Info-next-reference, Info-prev-reference): Use them.
2484 (Info-try-follow-nearest-node): Handle footnote navigation.
2485 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2486
2487 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2490 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2491
2492 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2493
2494 Suppress unnecessary non-ASCII chatter during build process.
2495 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2496 (batch-skkdic-convert): Suppress most of the chatter.
2497 It's not needed so much now that machines are faster,
2498 and its non-ASCII component was confusing; see Dmitry Gutov in
2499 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2500
2501 2013-03-20 Leo Liu <sdl.web@gmail.com>
2502
2503 * ido.el (ido-chop): Fix bug#10994.
2504
2505 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2506
2507 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2508 Remove vars.
2509 (whitespace-color-on, whitespace-color-off):
2510 Use `font-lock-fontify-buffer' (Bug#13817).
2511
2512 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2515 remapping in mode-line.
2516 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2517
2518 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2519
2520 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2521 value for `whitespace-line' face (Bug#13875).
2522 (whitespace-font-lock-keywords): Change description.
2523 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2524 the constructed keywords instead.
2525 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2526
2527 2013-03-19 Leo Liu <sdl.web@gmail.com>
2528
2529 * progmodes/compile.el (compilation-display-error): New command.
2530 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2531 C-o. (Bug#13992)
2532
2533 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2534
2535 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2536
2537 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2538
2539 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2540
2541 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2544
2545 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2546 * net/tramp-gvfs.el (top):
2547 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2548 (tramp-handle-shell-command): Use it.
2549 (tramp-dissect-file-name): Raise an error when hostname is a
2550 method name, and neither method nor user is specified.
2551
2552 * net/trampver.el: Update release number.
2553
2554 2013-03-18 Leo Liu <sdl.web@gmail.com>
2555
2556 Make sure eldoc can be turned off properly.
2557 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2558 eldoc-mode.
2559 (eldoc-display-message-p): Revert last change.
2560 (eldoc-display-message-no-interference-p)
2561 (eldoc-print-current-symbol-info): Tweak.
2562
2563 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2564
2565 * doc-view.el (doc-view-new-window-function): Check the new window
2566 overlay's display property instead the char property of the
2567 buffer's first char. Use `with-selected-window' instead of
2568 `save-window-excursion' with `select-window'.
2569 (doc-view-document->bitmap): Check the current doc-view overlay's
2570 display property instead the char property of the buffer's first char.
2571
2572 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2573
2574 Automate the build of ja-dic.el (Bug#13984).
2575 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2576 from the input, rather than assume that it's been done for us by the
2577 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2578 the current date into a ja-dic.el comment, as that complicates
2579 regression testing.
2580
2581 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * whitespace.el: Fix double evaluation.
2584 (whitespace-space, whitespace-hspace, whitespace-tab)
2585 (whitespace-newline, whitespace-trailing, whitespace-line)
2586 (whitespace-space-before-tab, whitespace-indentation)
2587 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2588 obsolete defvars.
2589 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2590 (whitespace-color-on): Use a single font-lock-add-keywords call.
2591 Fix double-evaluation of face variables.
2592
2593 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2594
2595 * net/tramp-adb.el (tramp-adb-parse-device-names):
2596 Use `start-process' instead of `call-process'. Otherwise, the
2597 function might be blocked under MS Windows. (Bug#13299)
2598
2599 2013-03-17 Leo Liu <sdl.web@gmail.com>
2600
2601 Extend eldoc to display info in the mode-line. (Bug#13978)
2602 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2603 (eldoc-mode-line-string): New variable.
2604 (eldoc-minibuffer-message): New function.
2605 (eldoc-message-function): New variable.
2606 (eldoc-message): Use it.
2607 (eldoc-display-message-p)
2608 (eldoc-display-message-no-interference-p):
2609 Support eldoc-post-insert-mode.
2610
2611 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2612 (eval-expression): Run it.
2613
2614 2013-03-17 Roland Winkler <winkler@gnu.org>
2615
2616 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2617 strings in the list of return values.
2618
2619 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2620
2621 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2622 radix before checking for HMS forms.
2623
2624 2013-03-16 Leo Liu <sdl.web@gmail.com>
2625
2626 * progmodes/scheme.el: Add indentation and font-locking for λ.
2627 (Bug#13975)
2628
2629 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2632 token before point (bug#13942).
2633
2634 2013-03-16 Leo Liu <sdl.web@gmail.com>
2635
2636 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2637
2638 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2639
2640 * startup.el (command-line-normalize-file-name): Fix handling of
2641 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2642 <xfq.free@gmail.com> in
2643 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2644
2645 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2646
2647 Sync with Tramp 2.2.7.
2648
2649 * net/trampver.el: Update release number.
2650
2651 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2652
2653 * doc-view.el Fix bug#13887.
2654 (doc-view-insert-image): Don't modify overlay associated to
2655 non-live windows, and implement horizontal centering of image in
2656 case it's smaller than the window.
2657 (doc-view-new-window-function): Force redisplay of new windows on
2658 doc-view buffers.
2659
2660 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2661
2662 * saveplace.el (save-place-alist-to-file): Don't sort
2663 `save-place-alist', just pretty-print it (bug#13882).
2664
2665 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2666
2667 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2668 whether `default-file-name-coding-system' is bound. It isn't in
2669 XEmacs.
2670
2671 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2674 backquotes for `obsolete' (bug#13929).
2675
2676 * international/mule.el (find-auto-coding): Include file name in
2677 obsolescence warning (bug#13922).
2678
2679 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2680
2681 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2682 for CFEngine 3-specific indentation.
2683 (cfengine3-indent-line): Use it. Fix up category regex.
2684 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2685
2686 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * type-break.el (type-break-file-name):
2689 * textmodes/remember.el (remember-data-file):
2690 * strokes.el (strokes-file):
2691 * shadowfile.el (shadow-initialize):
2692 * saveplace.el (save-place-file):
2693 * ps-bdf.el (bdf-cache-file):
2694 * progmodes/idlwave.el (idlwave-config-directory):
2695 * net/quickurl.el (quickurl-url-file):
2696 * international/kkc.el (kkc-init-file-name):
2697 * ido.el (ido-save-directory-list-file):
2698 * emulation/viper.el (viper-custom-file-name):
2699 * emulation/vip.el (vip-startup-file):
2700 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2701 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2702
2703 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2704
2705 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2706 * language/thai-word.el: Switch to UTF-8.
2707
2708 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2711
2712 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2713
2714 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2715 Use with-current-buffer and don't move point.
2716 (net-utils-run-simple): Remove useless code.
2717 (net-utils-remove-ctl-m): Remove unused custom.
2718
2719 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2720
2721 * international/characters.el (glyphless-set-char-table-range): New fun.
2722 (update-glyphless-char-display): Use it (bug#13744).
2723
2724 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2725
2726 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2727 namespaces in the syntax, indent closer for hanging brace
2728 correctly, allow single-quote delimited 'strings', and make
2729 `cfengine3-mode' the default.
2730
2731 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2732
2733 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2734 Use lexical-binding. Fix up docstring according to conventions.
2735 (gdbmi-debug-mode): New var.
2736 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2737 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2738 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2739 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2740 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2741 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2742 (gdbmi-bnf-incomplete-record-result): New functions.
2743 (gdb-car<): Remove function.
2744 (gdbmi-record-list): Remove variable.
2745 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2746 (gdbmi-bnf-result-state-configs): New const.
2747 (gud-gdbmi-marker-filter): Rewrite.
2748 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2749 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2750 Add `token' argument.
2751 (gdb-done, gdb-error): New functions.
2752 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2753
2754 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * term/xterm.el (xterm--report-background-handler): Don't burp
2757 upon timeout.
2758 (xterm--version-handler): Extract from terminal-init-xterm.
2759 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2760 Allow multiple handlers.
2761 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2762
2763 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2764 (xterm--report-background-handler, xterm--query): New functions.
2765 (terminal-init-xterm): Use them.
2766
2767 2013-03-11 Michael R. Mauger <michael@mauger.com>
2768
2769 * progmodes/sql.el Version 3.2
2770 Please note that my address changed to <michael@mauger.com>;
2771 the <mmaug@yahoo.com> address remains active.
2772 (sql-connection-alist): Updates documentation to fix bug#13715.
2773 (sql-connect): Handle missing `sql-connection-alist' correctly.
2774 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2775 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2776 property.
2777 (sql-default-value): New function.
2778 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2779 values were not used.
2780 (sql-rename-buffer): Make sure alternate buffer name has no text
2781 properties.
2782 (sql-input-sender, sql-execute-feature): Fetch variable with
2783 `buffer-local-value' rather than `with-current-buffer'.
2784 (sql-*): Use #' function syntax consistently.
2785 (sql-*): Use message/error/user-error consistently.
2786
2787 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * xt-mouse.el (xterm-mouse-event-read): Remove.
2790 (xterm-mouse--read-event-sequence-1000)
2791 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2792
2793 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * term/xterm.el (xterm-function-map): Support format used with
2796 formatOtherKeys=1 (bug#13839).
2797
2798 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2799 (with-no-warnings): Use `declare'.
2800
2801 * whitespace.el (whitespace-enable-predicate): New variable.
2802 (whitespace-enable-predicate): Use it.
2803
2804 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2805 (comint-output-filter, comint-update-fence):
2806 Use with-silent-modifications.
2807
2808 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2809
2810 * replace.el (occur-read-regexp-defaults-function): New var.
2811 (occur-read-regexp-defaults): New defun.
2812 (occur-read-primary-args): Propagate above change (bug#13892).
2813
2814 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2817
2818 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2819
2820 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2821
2822 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2823 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2824 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2825 New defconst.
2826 (tramp-gvfs-file-name-handler-alist) [directory-files]
2827 [directory-files-and-attributes, file-exists-p, file-modes]:
2828 Use Tramp default handler.
2829 [file-acl, file-selinux-context, process-file, set-file-acl]:
2830 [set-file-modes, set-file-selinux-context, shell-command]:
2831 [start-file-process]: Remove handler.
2832 [verify-visited-file-modtime]: New handler.
2833 (tramp-gvfs-dbus-string-to-byte-array)
2834 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2835 calls of `dbus-string-to-byte-array' and
2836 `tramp-gvfs-dbus-byte-array-to-string'.
2837 (tramp-gvfs-handle-copy-file)
2838 (tramp-gvfs-handle-delete-directory)
2839 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2840 (tramp-gvfs-handle-file-directory-p)
2841 (tramp-gvfs-handle-file-executable-p)
2842 (tramp-gvfs-handle-file-name-all-completions)
2843 (tramp-gvfs-handle-file-readable-p)
2844 (tramp-gvfs-handle-file-writable-p)
2845 (tramp-gvfs-handle-insert-directory)
2846 (tramp-gvfs-handle-insert-file-contents)
2847 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2848 (tramp-gvfs-handle-set-visited-file-modtime)
2849 (tramp-gvfs-handle-write-region): Rewrite.
2850 (tramp-gvfs-handle-file-acl)
2851 (tramp-gvfs-handle-file-selinux-context)
2852 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2853 (tramp-gvfs-handle-set-file-modes)
2854 (tramp-gvfs-handle-set-file-selinux-context)
2855 (tramp-gvfs-handle-shell-command)
2856 (tramp-gvfs-handle-start-file-process)
2857 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2858 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2859 over the symlinks. Fix user handling.
2860 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2861 of the D-Bus signals.
2862 (tramp-gvfs-connection-mounted-p): Handle different names of the
2863 D-Bus methods.
2864 (tramp-gvfs-mount-spec-entry): New defun.
2865 (tramp-gvfs-mount-spec): Use it.
2866 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2867 there is a share name. Handle different names of the D-Bus
2868 signals and methods. Set connection properties needed for
2869 `tramp-check-cached-permissions'.
2870 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2871 Return t or nil.
2872
2873 * net/tramp.el (tramp-backtrace): Move up.
2874 (tramp-error): Dump a backtrace into the debug buffer when
2875 `tramp-verbose > 9.
2876 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2877 (tramp-file-mode-permissions, tramp-get-local-uid)
2878 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2879 tramp-sh.el.
2880
2881 * net/tramp-sh.el (tramp-file-mode-type-map)
2882 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2883 (tramp-file-mode-permissions, tramp-get-local-uid)
2884 (tramp-get-local-gid): Move to tramp.el.
2885
2886 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 Separate mouse-1-click-follows-link from mouse-drag-region.
2889 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2890 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2891 (mouse-drag-line, mouse-drag-track):
2892 Remove mouse-1-click-follows-link code.
2893 (mouse--remap-link-click-p): Remove.
2894
2895 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2896
2897 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2898 (hi-lock-read-regexp-defaults): New defun.
2899 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2900 (hi-lock-face-phrase-buffer): Propagate above change.
2901 Update docstring (bug#13892).
2902
2903 * subr.el (find-tag-default-as-regexp): New defun.
2904 * replace.el (read-regexp): Propagate above change.
2905
2906 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2907
2908 * calc/calc-units.el (calc-convert-units): Fix the way that default
2909 new units are stored.
2910
2911 2013-03-07 Matthias Meulien <orontee@gmail.com>
2912
2913 * bookmark.el: Define a face to highlight bookmark names in
2914 bookmark menu buffers, where the default is a bold face similarly
2915 to buffer names in buffer menu buffers.
2916 (bookmark-menu-bookmark): New face to highlight bookmark names.
2917 (bookmark-insert-location): Remove duplicated text property to
2918 conform to buffer list (see `list-buffers').
2919 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2920 `bookmark-menu-bookmark' to bookmark names.
2921
2922 2013-03-07 Matthias Meulien <orontee@gmail.com>
2923 Karl Fogel <kfogel@red-bean.com>
2924
2925 * bookmark.el: Display the bookmark list header similarly to the
2926 buffer list header (see `list-buffers'), where the default is now
2927 an immovable/immutable header line.
2928 (bookmark-bmenu-use-header-line): New variable.
2929 (bookmark-bmenu-inline-header-height): New name for
2930 `bookmark-bmenu-header-height', to avoid confusion with the code
2931 for the new immovable header. All references changed.
2932 (bookmark-bmenu-set-header): New function.
2933 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2934 Conditionalize header construction accordingly.
2935 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2936 the inline header height.
2937 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2938 Conditionalize the skipping of the inline header height.
2939
2940 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2941
2942 * progmodes/js.el (js--multi-line-declaration-indentation):
2943 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2944
2945 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2946
2947 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2948 Only propertize regexp when not inside a string (Bug#13885).
2949
2950 2013-03-06 Alan Mackenzie <acm@muc.de>
2951
2952 Correct the position of point in some line-up functions.
2953 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2954 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2955 point at column 0 rather than at a random place in the line.
2956
2957 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2958
2959 * net/tramp-compat.el (tramp-compat-delete-directory):
2960 Implement TRASH argument.
2961
2962 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2963
2964 Keep pre-existing highlighting in completion candidates (Bug#13250).
2965 * minibuffer.el (completions-first-difference): State that the
2966 face is "added" in the docstring.
2967 (completions-common-part): Same. And don't inherit from default.
2968 (completion-hilit-commonality): Prepend 'completions-common-part
2969 and 'completion-first-difference faces to the 'face property,
2970 instead of replacing the value(s).
2971 (completion--insert-strings): Same with 'completions-annotations face.
2972 (completion-hilit-commonality): Use 'face instead of
2973 'font-lock-face, because it gets priority if the completion
2974 strings already have 'face set.
2975
2976 2013-03-04 Alan Mackenzie <acm@muc.de>
2977
2978 Replace `last-command-event' by `last-command-char' in XEmacs.
2979 * progmodes/cc-defs.el (c-last-command-char): New macro.
2980 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2981 (c-semi&comma-no-newlines-before-nonblanks)
2982 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2983 in place of `last-command-event'.
2984 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2985 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2986 (c-electric-paren, c-electric-continued-statement): Use the new
2987 macro in place of `last-command-event'.
2988
2989 2013-03-04 Glenn Morris <rgm@gnu.org>
2990
2991 * files.el (inhibit-local-variables-regexps):
2992 Add .diff and .patch. (Bug#13862)
2993
2994 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2997 whether the "su" command is available on the device.
2998
2999 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3000
3001 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3002 (tramp-adb-handle-process-file): Remove superfluous setting.
3003 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3004 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3005 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3006
3007 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3010 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3011 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3012 Use dict-key rather than dict-name for the error message.
3013
3014 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3015
3016 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3017 when reverting (bug#13831).
3018
3019 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3020
3021 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3022 Always expand affix-file before storing to protect against changed
3023 `default-directory'.
3024 (ispell-print-if-debug): Make sure message is printed at the end
3025 of the debug buffer.
3026
3027 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3028
3029 * net/tramp.el (tramp-obsolete-methods): New defconst.
3030 (tramp-warned-obsolete-methods): New defvar.
3031 (tramp-find-method): Check for obsolete methods. Map them to a
3032 replacement method if appropriate.
3033
3034 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3035 Remove methods.
3036 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3037 "ssh2" and "plink1".
3038
3039 2013-02-28 Dale Sedivec <dale@codefu.org>
3040
3041 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3042 Return valid syntax-table property value when converting
3043 quotes within text from string syntax to punctuation syntax (bug#13844).
3044
3045 2013-02-28 Juri Linkov <juri@jurta.org>
3046
3047 * dired-aux.el (dired-diff): If file at point is a backup file,
3048 use its original as the default value, and reverse the order
3049 of arguments to the `diff' call. Doc fix. (Bug#13772)
3050
3051 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3054 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3055
3056 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3057
3058 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3059
3060 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3061 Ask hunspell about available and default dictionaries.
3062 (ispell-parse-hunspell-affix-file): Extract relevant info from
3063 hunspell affix file.
3064 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3065 `ispell-dictionary-alist' entry for given dictionary after info
3066 provided by `ispell-parse-hunspell-affix-file'.
3067 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3068 of parsed hunspell dicts and associated affix files.
3069 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3070 of parsed hunspell dicts and associated parameters.
3071 (ispell-set-spellchecker-params):
3072 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3073 previously done.
3074 (ispell-start-process):
3075 Call `ispell-hunspell-fill-dictionary-entry' for current
3076 dictionary if it is not initialized.
3077
3078 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * imenu.el: Comment nitpicks.
3081
3082 2013-02-28 Sam Steingold <sds@gnu.org>
3083
3084 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3085 See <http://stackoverflow.com/questions/14720205>.
3086
3087 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3088
3089 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3090 (net-utils-mode): Use it.
3091 (net-utils--revert-cmd): New var.
3092 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3093 (traceroute): Use net-utils-run-simple.
3094
3095 2013-02-28 Glenn Morris <rgm@gnu.org>
3096
3097 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3098
3099 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3102 (doc-view-fallback-mode): Remove overlays here.
3103 (doc-view-toggle-display): Instead of here. Don't throw away
3104 image-mode-winprops-alist.
3105 (doc-view-goto-page): Don't mess with hscroll.
3106
3107 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3108
3109 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3110 &optional (bug#13819).
3111
3112 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3113
3114 * net/tramp-adb.el (tramp-adb-parse-device-names)
3115 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3116
3117 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3118
3119 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3120 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3121 defined. POSIX environments fall back to the "C" locale then and
3122 emit a warning, which shall be suppressed.
3123
3124 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3127 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3128
3129 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3132
3133 2013-02-25 Juri Linkov <juri@jurta.org>
3134
3135 * replace.el (read-regexp): Let-bind `default' to the first
3136 element of `defaults' if it's a list, otherwise it should be
3137 a string or nil. Let-bind `suggestions' to `defaults' if it's
3138 a list, otherwise make a list with the string value. Doc fix.
3139 (Bug#13805)
3140
3141 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3142
3143 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3144 that match "\`\.#", to avoid compiling lock files, even if they
3145 are readable (as they are on MS-Windows).
3146
3147 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * files.el (basic-save-buffer): Remove redundant directory-creation.
3150
3151 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3152
3153 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3154 Add option to force `pi' to remain symbolic.
3155 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3156 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3157 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3158 derivatives, when necessary.
3159
3160 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3161
3162 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3163 (ps-mode-octal-region): Use string-make-unibyte.
3164
3165 2013-02-23 Glenn Morris <rgm@gnu.org>
3166
3167 * emulation/viper-cmd.el (viper-submit-report):
3168 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3169 * progmodes/vera-mode.el (vera-mode-help-address):
3170 * textmodes/artist.el (artist-maintainer-address):
3171 * textmodes/reftex.el (reftex-report-bug):
3172 * vc/ediff-util.el (ediff-submit-report):
3173 Add bug-gnu-emacs to bug report address.
3174
3175 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3176 Remove bug report entries.
3177 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3178
3179 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3180 (byte-compile-file, byte-compile-from-buffer):
3181 Use separate input/output buffers for each level of recursive
3182 byte-compile-file calls. (Bug#13787)
3183
3184 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3185
3186 * net/tramp.el (tramp-methods): Fix docstring.
3187 (tramp-ssh-controlmaster-options): Rename it from
3188 `tramp-ssh-controlmaster-template'. Return a string.
3189 (tramp-default-method): Adapt check for
3190 `tramp-ssh-controlmaster-options'.
3191
3192 * net/tramp-sh.el (tramp-methods):
3193 Replace `tramp-ssh-controlmaster-template' by "%c".
3194 (tramp-do-copy-or-rename-file-out-of-band)
3195 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3196 that it is applied for the first hop only.
3197
3198 2013-02-22 Juri Linkov <juri@jurta.org>
3199
3200 * isearch.el (isearch-lazy-highlight-new-loop):
3201 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3202 to `isearch-other-end' if it is not nil. (Bug#13402)
3203
3204 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3205 to `match-beg'.
3206
3207 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3208 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3209 and `isearch-error' to nil.
3210
3211 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3212
3213 * progmodes/python.el (python-info-current-defun):
3214 Enhance match-data cluttering prevention.
3215
3216 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3219
3220 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3221 Handle multibyte file names.
3222
3223 2013-02-22 Glenn Morris <rgm@gnu.org>
3224
3225 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3226 (sgml-transformation-function): Give it a :set function.
3227 (sgml-tag): Doc fix.
3228
3229 * cmuscheme.el (scheme-buffer):
3230 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3231 * progmodes/tcl.el (inferior-tcl-buffer):
3232 * textmodes/tex-mode.el (tex-command): Doc fixes.
3233
3234 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3235
3236 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3237
3238 2013-02-21 Bastien Guerry <bzg@gnu.org>
3239
3240 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3241
3242 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3243
3244 * progmodes/python.el (python-info-current-defun):
3245 Enhance match-data cluttering prevention.
3246
3247 2013-02-21 Glenn Morris <rgm@gnu.org>
3248
3249 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3250 loaded while outline-regexp is let bound. (Bug#9584)
3251
3252 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3253
3254 * progmodes/python.el (python-info-current-defun): Fix failed
3255 defun name retrieval because of unwanted match-data cluttering.
3256
3257 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3260 defconst. Apply independent check for ControlPersist.
3261
3262 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3263 temporarily, via "env".
3264
3265 2013-02-21 Glenn Morris <rgm@gnu.org>
3266
3267 * info.el (Info-enable-edit): Remove.
3268 (Info-edit): Disable it rather than using Info-enable.
3269 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3270 (Info-cease-edit): Make editing of Info files obsolete.
3271
3272 * informat.el (Info-tagify):
3273 Handle buffers not visiting files. (Bug#13763)
3274
3275 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3276
3277 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3278
3279 2013-02-21 Glenn Morris <rgm@gnu.org>
3280
3281 * files.el (basic-save-buffer): Move check for existing parent
3282 directory after hooks. (Bug#13773)
3283
3284 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * simple.el (command-execute): Move from C. Add obsolete check.
3287 (extended-command-history): Move from C.
3288
3289 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3290
3291 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3292 (jka-compr-mode-alist-additions): Handle .txz suffix for
3293 XZ-compressed tar archives (bug#13770).
3294
3295 2013-02-20 Bastien Guerry <bzg@gnu.org>
3296
3297 * outline.el (outline-regexp, outline-heading-end-regexp):
3298 Make variables, not options (bug#13731).
3299
3300 2013-02-20 Glenn Morris <rgm@gnu.org>
3301
3302 * image.el (image-current-frame): Change from variable to function.
3303 (image-show-frame): Rename from image-nth-frame. Update callers.
3304 * image-mode.el (image-multi-frame): New variable.
3305 (image-mode-map, image-mode, image-goto-frame):
3306 Use image-multi-frame rather than image-current-frame.
3307 (image-mode, image-goto-frame): Use image-current-frame as
3308 function rather than as variable.
3309
3310 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3311 * emacs-lisp/cl-macs.el (cl--make-type-test)
3312 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3313
3314 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3317 (tramp-get-file-property, tramp-set-file-property)
3318 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3319 (tramp-flush-file-property, tramp-flush-directory-property):
3320 Rename argument to KEY.
3321 (tramp-flush-connection-property): Simplify a little bit.
3322 (tramp-connection-property-p): New defun.
3323 (top): Reapply saved values only if there isn't a corresponding
3324 entry in `tramp-connection-properties'.
3325
3326 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3327
3328 * progmodes/python.el (python-indent-context):
3329 Fix python-info-line-ends-backslash-p call.
3330 (python-info-line-ends-backslash-p)
3331 (python-info-beginning-of-backslash): Respect line-number argument.
3332 (python-info-current-line-comment-p):
3333 Fix behavior when not at beginning-of-line.
3334 (python-util-position): Remove function.
3335 (python-util-goto-line): New function.
3336
3337 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3338
3339 * eshell/em-unix.el (eshell/su): Require tramp.
3340 (eshell/sudo): Require tramp. Remove now unnecessary check.
3341
3342 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3343 `tramp-current-connection' in order to avoid an error when several
3344 commands are invoked in a short time in eshell and friends.
3345
3346 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 Cleanup some of EIEIO's namespace.
3349 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3350 Use it to define all the class-* and object-* field accessors (renamed
3351 to eieio--class-* and eieio--object-*). Update all uses.
3352 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3353 class-num-slots and object-num-slots.
3354 (eieio--check-type): New macro.
3355 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3356 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3357 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3358 (object-assoc-list-safe): Use it.
3359 (eieio-defclass): Tighten regexp.
3360 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3361 Remove unreachable code.
3362 (object-class-fast): Declare obsolete.
3363 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3364 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3365 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3366 Rename from class-name, object-name, object-set-name-string,
3367 object-class, object-class-name, class-parents, class-children,
3368 class-precedence-list, class-parent; with obsolete alias.
3369 (class-of, class-direct-superclasses, class-direct-subclasses):
3370 Declare obsolete.
3371 (eieio-defmethod): Use `memq'; remove unreachable code.
3372 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3373 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3374 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3375
3376 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3377
3378 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3379 commentary.
3380
3381 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3382
3383 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3384 Use font-lock-keyword-face for macros and special forms (bug#8345).
3385
3386 2013-02-17 Didier Verna <didier@didierverna.net>
3387
3388 * net/network-stream.el (network-stream-open-starttls):
3389 Check that response to the starttls-command is non-nil. (Bug#13706)
3390
3391 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3394 Don't assume all identifier chars have syntax word.
3395 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3396 Remove bar-not-symbol. Adjust callers.
3397 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3398
3399 2013-02-17 Leo Liu <sdl.web@gmail.com>
3400
3401 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3402
3403 2013-02-17 Glenn Morris <rgm@gnu.org>
3404
3405 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3406
3407 * image-mode.el (image-mode-map): Add image-dired menu entry.
3408
3409 * image-dired.el (tumme): Make this alias obsolete.
3410
3411 2013-02-16 Glenn Morris <rgm@gnu.org>
3412
3413 * image.el (image-animated-types): Remove.
3414 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3415 (image-animated-p): Make obsolete alias.
3416 (image-animate, image-nth-frame, image-animate-timeout):
3417 Use image-multi-frame-p.
3418 (image-animate-timeout): If no delay, use image-default-frame-delay.
3419 * image-mode.el (image-mode, image-toggle-animation):
3420 Use image-multi-frame-p. (Bug#763, bug#10739)
3421 (image-mode): Adjust startup message for a multi-frame image.
3422
3423 * image-mode.el (image-mode-map): Give it a menu.
3424
3425 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * net/tramp-cache.el (tramp-connection-properties): New customer
3428 option.
3429 (tramp-get-connection-property): Use it.
3430
3431 * net/tramp-compat.el (top): Require 'trampver.
3432
3433 * net/tramp-sh.el (tramp-remote-process-environment):
3434 Set tramp-autoload cookie.
3435
3436 2013-02-16 Kevin Ryde <user42@zip.com.au>
3437
3438 * info-look.el (info-lookup-select-mode): If major-mode has no
3439 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3440
3441 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3442
3443 * replace.el (read-regexp): Tighten the regexp that matches tag.
3444 When tag is retrieved with `find-tag-default', use regexp that
3445 matches tag at point. Also update docstring (Bug#13687).
3446
3447 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3448
3449 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3450 add watch for the file, not its parent directory, since w32notify
3451 sets up the watch for the directory internally. (Bug#13725)
3452
3453 2013-02-16 Glenn Morris <rgm@gnu.org>
3454
3455 * image.el (image-default-frame-delay): New variable.
3456 (image-animated-p): Use image-default-frame-delay.
3457 (image-minimum-frame-delay): New constant.
3458 (image-animate-timeout): Use image-minimum-frame-delay.
3459
3460 * image.el (image-nth-frame): New, split from image-animate-timeout.
3461 (image-animate-timeout): Use image-nth-frame.
3462 * image-mode.el (image-goto-frame, image-next-frame)
3463 (image-previous-frame): New commands.
3464 (image-mode-map): Add new frame commands.
3465
3466 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3467
3468 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3469 If col-desc already has help-echo, use it. (Bug#13563)
3470
3471 2013-02-16 Glenn Morris <rgm@gnu.org>
3472
3473 * image.el (image-current-frame): New variable.
3474 (image-animate-timeout): Set image-current-frame.
3475 * image-mode.el (image-mode): For animated images,
3476 display a frame counter via mode-line-process.
3477
3478 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3479
3480 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3483
3484 2013-02-15 Alan Mackenzie <acm@muc.de>
3485
3486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3487 global minor mode has been enabled, call the minor mode function
3488 for a new buffer once only, after the major mode hook, whilst
3489 allowing that hook explicitly to disable the minor mode.
3490 (MODE-disable-in-buffer): New (generated) function.
3491 (disable-MODE): New (generated) buffer local variable.
3492
3493 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3494
3495 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3496 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3497 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3498 `ido-next-match' and `ido-prev-match' resply.
3499 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3500 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3501 `icomplete-backward-completions' (Bug#13708).
3502
3503 2013-02-15 Glenn Morris <rgm@gnu.org>
3504
3505 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3506
3507 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3510 (goto-address-fontify-region): Use them instead of narrowing, so
3511 syntax-ppss has access to the whole buffer.
3512
3513 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3514
3515 * progmodes/python.el: Explain how to restore "cc-mode"-like
3516 forward-sexp movement in header documentation (Bug#13642).
3517 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3518 comments and strings (GH bug 114).
3519
3520 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3521
3522 * progmodes/python.el (python-info-current-defun): Fix current
3523 defun detection (Bug#13618).
3524
3525 2013-02-15 Chong Yidong <cyd@gnu.org>
3526
3527 * xml.el (xml-parse-string): Fix typo in handling of bad character
3528 references.
3529
3530 2013-02-15 Glenn Morris <rgm@gnu.org>
3531
3532 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3533
3534 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3535
3536 * net/tramp.el (tramp-debug-message):
3537 Add `tramp-condition-case-unless-debug'.
3538 (tramp-debug-on-error): New defvar.
3539 (tramp-condition-case-unless-debug): New defun.
3540 (tramp-file-name-handler): Use it.
3541
3542 2013-02-14 Juri Linkov <juri@jurta.org>
3543
3544 * info.el (Info-isearch-filter): Treat non-nil values of
3545 `search-invisible' including its default value `open'
3546 like the value `t' to match hidden text. (Bug#13402)
3547
3548 2013-02-14 Glenn Morris <rgm@gnu.org>
3549
3550 * help-fns.el (find-lisp-object-file-name): Give special treatment
3551 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3552
3553 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3554
3555 * net/quickurl.el (quickurl-save-urls):
3556 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3557
3558 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3559
3560 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3561 depth for unfinished percent literal. Not using it in the caller.
3562 (ruby-move-to-block): Jump over multiline literals of all types,
3563 ignoring code-looking contents inside them.
3564 (ruby-add-log-current-method): Improve performance at the expense
3565 of accuracy. `ruby-block-contains-point' is relatively slow, so
3566 only use it for method and singleton class blocks.
3567
3568 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3569
3570 Use ControlMaster where applicable. (Bug#13677)
3571
3572 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3573 replacing `tramp-detect-ssh-controlmaster'.
3574 (tramp-default-method): Use it.
3575
3576 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3577 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3578 arguments.
3579 [scpc, rsyncc]: Remove methods.
3580 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3581 and "ssh2_old".
3582 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3583 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3584
3585 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/package.el (package--initialized): Move before first use.
3588
3589 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3590
3591 * icomplete.el (icomplete-hide-common-prefix): New user option.
3592 (icomplete-first-match): New face.
3593 (icomplete-completions): Correct handling of "complete but not
3594 unique" (Bug#12638).
3595
3596 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3597
3598 * descr-text.el (describe-char): Display the script (bug#13698).
3599
3600 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * tmm.el: Use lexical-binding and current-active-maps.
3603 (tmm-menubar): Use map-keymap and pcase.
3604 (tmm--completion-table): New function.
3605 (tmm-prompt): Use it to fix the menu order.
3606 (tmm-get-keybind): Use current-active-maps.
3607
3608 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3609
3610 Add dired-hide-details-mode. (Bug#6799)
3611
3612 * locate.el (locate-mode): Set parent mode property to dired-mode.
3613
3614 * find-dired.el (find-dired): Call dired-insert-set-properties on
3615 initial information line. Set process mark on end of buffer.
3616 (find-dired-sentinel):
3617 Call dired-insert-set-properties on summary.
3618
3619 * dired.el (dired-hide-details-hide-symlink-targets)
3620 (dired-hide-details-hide-information-lines): New options.
3621 (dired-insert-directory):
3622 Set properties after final treatment of output.
3623 (dired-insert-set-properties):
3624 Set dired-hide-details-* properties.
3625 (dired-mode-map): Bind dired-hide-details-mode.
3626 (dired-mode): Set buffer-invisibility-spec to a list.
3627 (dired-next-line): Skip hidden lines.
3628 (dired-previous-line): Use dired-next-line.
3629 (dired-hide-details-mode): New minor mode.
3630 (dired-hide-details-update-invisibility-spec): New function.
3631
3632 2013-02-13 Glenn Morris <rgm@gnu.org>
3633
3634 * play/yow.el: Move to obsolete/. (Bug#9384)
3635
3636 2013-02-13 Juri Linkov <juri@jurta.org>
3637
3638 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3639 to select `ediff-control-frame' and set input focus correctly on Xfce.
3640 (Bug#12218)
3641
3642 2013-02-13 Juri Linkov <juri@jurta.org>
3643
3644 * image-mode.el (image-mode-map):
3645 * doc-view.el (doc-view-mode-map):
3646 * vc/ediff-util.el (ediff-setup-keymap):
3647 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3648
3649 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3650
3651 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3652 performance. Instead of recalculating indentation fully for each
3653 line, sum up indentation depth based only on visited lines.
3654 (ruby-parse-partial): Increase the depth after "do" even when END
3655 is right after it.
3656 (ruby-parse-partial): When END is in the middle of a percent
3657 literal, increase the depth if the delimiter chars belong to the
3658 paren syntax class.
3659
3660 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3661
3662 * play/fortune.el (fortune-compile): Also make the compiled file
3663 if it does not exist at all, not just if it is old. (Bug#5338)
3664
3665 2013-02-13 Glenn Morris <rgm@gnu.org>
3666
3667 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3668
3669 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3670
3671 * lisp/emacs-lisp/package.el (package-menu-execute):
3672 Add optional noquery argument. (Bug#13625)
3673
3674 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3675
3676 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3677 if DIR exists and PARENTS is non-nil.
3678
3679 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3680
3681 * progmodes/js.el (js--multi-line-declaration-indentation):
3682 Silence byte-compiler warning.
3683
3684 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3687
3688 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3689 only if it doesn't exist.
3690
3691 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3692 Set process marker.
3693
3694 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3695
3696 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3697 UserInstallation when calling soffice to work around LibreOffice
3698 bug 37531.
3699
3700 2013-02-12 Glenn Morris <rgm@gnu.org>
3701
3702 * files.el (basic-save-buffer):
3703 Offer to create a non-existing directory. (Bug#3016)
3704
3705 * calc/calc-graph.el (calc-graph-show-dumb):
3706 * calendar/calendar.el (calendar-mode-map):
3707 * cus-edit.el (custom-mode-map):
3708 * ehelp.el (electric-help-map):
3709 * emulation/vip.el (vip-mode-map):
3710 * epa.el (epa-key-list-mode-map):
3711 * info.el (Info-mode-map):
3712 * mail/rmail.el (rmail-mode-map):
3713 * mail/rmailsum.el (rmail-summary-mode-map):
3714 * man.el (Man-mode-map):
3715 * net/newst-plainview.el (newsticker-mode-map):
3716 * progmodes/cpp.el (cpp-edit-mode-map):
3717 * progmodes/grep.el (grep-mode-map):
3718 * progmodes/idlw-help.el (idlwave-help-mode-map):
3719 * simple.el (special-mode-map):
3720 * startup.el (splash-screen-keymap):
3721 * view.el (view-mode-map):
3722 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3723
3724 2013-02-11 Elias Pipping <pipping@lavabit.com>
3725
3726 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3727 (bug#13679).
3728
3729 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3732
3733 2013-02-11 Glenn Morris <rgm@gnu.org>
3734
3735 * vc/diff.el (diff-use-labels): New variable.
3736 (diff-no-select): Use --label rather than -L, and first
3737 check that it is supported. (Bug#11067)
3738
3739 * files.el (enable-dir-local-variables): New variable.
3740 (hack-dir-local-variables): Respect enable-dir-local-variables.
3741 * tutorial.el (help-with-tutorial):
3742 Ignore directory-local variables. (Bug#11127)
3743
3744 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3745 (vc-svn-global-switches): ... to here. (Bug#13513)
3746
3747 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3748
3749 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3750 Handle "foo (bar, default: xxx): " prompts.
3751
3752 2013-02-10 Chong Yidong <cyd@gnu.org>
3753
3754 * files.el (basic-save-buffer-1): Do not set
3755 buffer-file-coding-system-explicit (Bug#4533).
3756
3757 * mail/emacsbug.el (report-emacs-bug): Change binding of
3758 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3759
3760 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3761
3762 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3763 * calc/calc-units.el (calc-convert-units): Use new variable.
3764
3765 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3766
3767 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3768
3769 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3770 buffer-file-type.
3771
3772 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3773 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3774 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3775 coding-system-for-write instead.
3776
3777 * jka-compr.el (jka-compr-write-region): Don't bind
3778 buffer-file-type.
3779
3780 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3781 buffer-file-type.
3782
3783 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3784 (insert-file-contents-literally): Remove reference to
3785 file-name-buffer-file-type-alist.
3786
3787 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3788 make-obsolete.
3789 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3790 (find-buffer-file-type-coding-system): Remove references to
3791 find-buffer-file-type-match, find-buffer-file-type, and
3792 buffer-file-type.
3793 Don't put find-buffer-file-type-coding-system into
3794 file-coding-system-alist.
3795 (find-file-binary, find-file-text): Bind coding-system-for-read
3796 instead of file-name-buffer-file-type-alist.
3797
3798 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3799
3800 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3801 converter (Bug#13622).
3802 (doc-view-unoconv-program): Make obsolete alias.
3803 (doc-view-odf->pdf-converter-program): New variable.
3804 (doc-view-odf->pdf-converter-function): New variable.
3805 (doc-view-mode-p): Use it.
3806 (doc-view-odf->pdf-converter-unoconv):
3807 Rename from `doc-view-odf->pdf-converter-unoconv'.
3808 (doc-view-odf->pdf-converter-soffice): New function.
3809 (doc-view-convert-current-doc):
3810 Use `doc-view-odf->pdf-converter-function'.
3811
3812 2013-02-09 Chong Yidong <cyd@gnu.org>
3813
3814 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3815 view-echo-area-messages (Bug#13340).
3816
3817 * help.el (view-echo-area-messages): Use display-buffer.
3818
3819 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3820 (Bug#13561).
3821
3822 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3825 Eval body right away, now that we do eager macroexpansion (bug#13605).
3826
3827 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3828 (fundamental-mode): Use run-mode-hooks.
3829
3830 * eshell/esh-proc.el (eshell/kill): Fix last change.
3831 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3832
3833 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3834
3835 * eshell/esh-proc.el (eshell/kill): Rewrite.
3836
3837 * eshell/em-ls.el (show-almost-all): Declare.
3838 (eshell-do-ls): Add support for -A argument.
3839
3840 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3841
3842 * icomplete.el (icomplete-forward-completions)
3843 (icomplete-backward-completions): Handle corner case (bug#13602).
3844
3845 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3846
3847 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3848 be nil. Handle this. (Bug#13636)
3849
3850 2013-02-07 Richard Stallman <rms@gnu.org>
3851
3852 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3853 `save-buffer-coding-system'.
3854
3855 2013-02-07 Alan Mackenzie <acm@muc.de>
3856
3857 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3858 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3859 (c-parse-state-get-strategy): Don't return 'BOD any more.
3860 (c-append-lower-brace-pair-to-state-cache):
3861 Extra parameter HERE instead of narrowing.
3862 Widen to top of buffer before searching backwards for a brace pair.
3863 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3864 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3865 Narrow to parameter HERE, in place of being called narrowed.
3866 (c-remove-stale-state-cache): Extra parameter HERE in place of
3867 narrowing. Check there's an open brace in the cache before
3868 searching for its match.
3869 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3870 (c-parse-state-1): Don't narrow here for 'forward strategy,
3871 instead passing extra parameter HERE to several functions.
3872 Remove 'BOD strategy.
3873
3874 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3875
3876 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3877 used to install the package.
3878
3879 2013-02-06 Glenn Morris <rgm@gnu.org>
3880
3881 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3882 if we can't get user input. (Bug#6567)
3883
3884 * startup.el (command-line): If simple.el is missing,
3885 test and warn about for some possible causes.
3886
3887 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3888
3889 * cus-start.el (all): Add ns-use-native-fullscreen.
3890
3891 2013-02-05 Glenn Morris <rgm@gnu.org>
3892
3893 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3894
3895 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3896 Fix directory creation in fallback case.
3897
3898 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3899
3900 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3901 (vc-update-change-log): Use dolist.
3902
3903 2013-02-04 Chong Yidong <cyd@gnu.org>
3904
3905 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3906 code from ffap.el.
3907 (thing-at-point-beginning-of-url-regexp): New var.
3908 (thing-at-point-uri-schemes): Update list of URI schemes.
3909 (thing-at-point-url-regexp): Variable deleted.
3910 (thing-at-point-markedup-url-regexp): Disallow newlines.
3911 (thing-at-point-newsgroup-regexp)
3912 (thing-at-point-newsgroup-heads)
3913 (thing-at-point-default-mail-uri-scheme): New variables.
3914 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3915 method to find the possible bounds of the URI at point.
3916 New optional argument to find ill-formed URIs.
3917 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3918 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3919 the scheme-adding heuristics from ffap-url-at-point.
3920 (thing-at-point--bounds-of-well-formed-url): New function.
3921 Do parens matching to decide whether to include parens in the URI
3922 (Bug#9153).
3923
3924 * ffap.el: Require thingatpt.
3925 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3926 All URI-valid characters are now recognized (Bug#5673).
3927 (ffap-string-at-point): Use use-region-p.
3928 (ffap-url-regexp): Extra character is handled by thing-at-point.
3929 (ffap-string-at-point-mode-alist): Allow parentheses.
3930 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3931 Convert to aliases; code moved to thingatpt.el.
3932 (ffap-gnus-hook): Use setq-local.
3933
3934 2013-02-04 Glenn Morris <rgm@gnu.org>
3935
3936 * emacs-lisp/ert.el (ert--explain-format-atom):
3937 Don't try to print non-characters as characters. (Bug#13543)
3938
3939 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3940
3941 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3942 (tramp-backtrace): New defun.
3943 (tramp-handle-insert-file-contents): Use `visit' when inserting
3944 the local copy.
3945
3946 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3947 Use `remote-file-name-inhibit-cache'.
3948
3949 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3952 (bug#13614).
3953
3954 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3955 current-load-list (bug#13366).
3956
3957 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3958
3959 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3960 Identify g++ template instantiation trace. (Bug#12287)
3961 (compilation-mode-hook, compilation-start-hook)
3962 (compilation-window-height): Simplify docstrings. (Bug#13379)
3963
3964 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * mouse.el (mouse-drag-track): Always deactivate the mark before
3967 running the final event's command since that command is in charge of
3968 activating the mark if needed (bug#13523).
3969
3970 2013-02-02 Juri Linkov <juri@jurta.org>
3971
3972 * replace.el (perform-replace): Move let-bindings of isearch-*
3973 variables deeper to the loop that searches for the next match.
3974 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3975 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3976 (Bug#13579)
3977
3978 * isearch.el (isearch-search-fun-default): Check for null
3979 first element of isearch-cmds as a precaution when it's used
3980 with inactive isearch.
3981
3982 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3983
3984 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3985 error when buffer in question is narrowed so position 1 is out of
3986 visible part.
3987
3988 2013-02-02 Glenn Morris <rgm@gnu.org>
3989
3990 * textmodes/remember.el (remember-clipboard): Doc fix.
3991
3992 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3995 properties (bug#13179).
3996
3997 2013-02-02 Juri Linkov <juri@jurta.org>
3998
3999 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4000 instead of hard-coded default face `match'. (Bug#9438)
4001
4002 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4003
4004 * vc/vc-arch.el (vc-arch-registered):
4005 * vc/vc-bzr.el (vc-bzr-registered):
4006 * vc/vc-cvs.el (vc-cvs-registered):
4007 * vc/vc-git.el (vc-git-registered):
4008 * vc/vc-hg.el (vc-hg-registered):
4009 * vc/vc-mtn.el (vc-mtn-registered):
4010 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4011 (Bug#13139)
4012
4013 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4014 prefix argument. (Bug#11656)
4015
4016 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4019
4020 2013-02-01 Glenn Morris <rgm@gnu.org>
4021
4022 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4023 if the backend is known not to support it.
4024
4025 * imenu.el (imenu-default-create-index-function):
4026 Tweak infinite loop test to check for forward motion as well as none.
4027
4028 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4029
4030 * net/soap-client.el (soap-invoke): Encode the string for
4031 `url-request-data' as UTF-8.
4032 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4033
4034 2013-02-01 Glenn Morris <rgm@gnu.org>
4035
4036 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4037
4038 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4039
4040 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * net/tramp.el (tramp-tramp-file-p): Comment check for
4043 `string-as-unibyte'. The function does not exist on XEmacs, and
4044 likely we need another approach.
4045
4046 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4047 `tramp-gw-*' variables are bound.
4048
4049 2013-01-31 Glenn Morris <rgm@gnu.org>
4050
4051 * files.el (basic-save-buffer-2): Choose coding system for
4052 writing the file before backing it up, to reduce delay between
4053 backing up and writing the new version. (Bug#13522)
4054
4055 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4056
4057 * simple.el (cycle-spacing): New command.
4058 (just-one-space): Use it.
4059
4060 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4063 (opascal-newline-always-indents): Remove custom.
4064 (opascal-tab, opascal-newline): Remove commands.
4065 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4066 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4067 (opascal-save-match-data): Remove, use save-match-data instead.
4068 (opascal-save-state): Use with-silent-modifications.
4069
4070 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4071 (bug#13585).
4072
4073 2013-01-30 Juri Linkov <juri@jurta.org>
4074
4075 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4076 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4077 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4078
4079 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4082 column if we're just deleting the backslashes.
4083 (makefile-fill-paragraph): Use eolp.
4084
4085 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * autorevert.el (auto-revert-use-notify): Fix docstring.
4088
4089 2013-01-30 Leo Liu <sdl.web@gmail.com>
4090
4091 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4092
4093 2013-01-30 Glenn Morris <rgm@gnu.org>
4094
4095 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4096 unread-command-events twice in some cases. This tries to implement
4097 the 2012-07-26 changes in a different way. (Bug#13560)
4098
4099 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4100
4101 * progmodes/python.el
4102 (python-pdbtrack-comint-output-filter-function): Enhancements on
4103 stacktrace detection. (thanks @gnovak)
4104
4105 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4108 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4109 Use defvar-local.
4110 (jit-lock-register): Use setq-local.
4111
4112 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4113
4114 * calc-units.el (math-default-units-table): Remove initial value.
4115 (calc-convert-units): Treat expressions where all the units cancel as
4116 if they didn't have units.
4117
4118 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4119
4120 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4121 (tramp-completion-reread-directory-timeout): Fix type.
4122 (tramp-connection-min-time-diff): New defcustom.
4123
4124 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4125
4126 2013-01-30 Glenn Morris <rgm@gnu.org>
4127
4128 * imenu.el (imenu-default-create-index-function):
4129 Put back a version of the infinite loop test removed 2013-01-23.
4130
4131 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4132
4133 * progmodes/python.el (python-shell-parse-command):
4134 Find python-shell-interpreter with modified environment.
4135
4136 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4139
4140 2013-01-29 Alan Mackenzie <acm@muc.de>
4141
4142 Amend to fontify /regexp/s in actions correctly.
4143 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4144 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4145 are no longer included.
4146 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4147 What used to be these variables without "-line" in the name.
4148 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4149 (c-awk-non-arith-op-bra-re): Now also matches {.
4150 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4151 "return", and "case".
4152 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4153 by /.
4154 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4155 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4156
4157 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4158
4159 * autorevert.el (auto-revert-use-notify):
4160 Use `custom-initialize-default' for initialization. (Bug#13583)
4161
4162 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4163
4164 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4165 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4166 in `tramp-file-name-handler'.
4167 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4168 compatibility.
4169 (tramp-compute-multi-hops): Check, whether
4170 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4171
4172 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4175 (bug#13297).
4176
4177 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4178
4179 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4180 checks made superfluous by the \_< operator.
4181 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4182 temporarily) broken indentation.
4183 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4184 Highlight nested constants, too. \_< broke that.
4185
4186 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4187
4188 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4189 instead of "\\b".
4190
4191 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4192
4193 * autorevert.el (auto-revert-handler): Notifications which result
4194 from a saved file shall not be taken into account. (Bug#13557)
4195
4196 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4199 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4200 (lisp-mode): Pass t for it. (Bug#13556)
4201
4202 2013-01-25 Alan Mackenzie <acm@muc.de>
4203
4204 AWK Mode: Fix indentation bug at top level. Bug #12274.
4205
4206 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4207 just before CASE 5D.
4208
4209 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4210
4211 * net/socks.el (socks-nslookup-host): Use string-to-number.
4212
4213 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4214
4215 * autorevert.el (auto-revert-remote-files)
4216 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4217 (auto-revert-notify-enabled, auto-revert-use-notify)
4218 (auto-revert-notify-watch-descriptor-hash-list)
4219 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4220 (auto-revert-notify-event-descriptor)
4221 (auto-revert-notify-event-action)
4222 (auto-revert-notify-event-file-name): Doc fix.
4223 (global-auto-revert-mode): Reorder checks.
4224 (auto-revert-notify-rm-watch): Respect changed values of
4225 `auto-revert-notify-watch-descriptor-hash-list'.
4226 (auto-revert-notify-add-watch): Check for
4227 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4228 `inotify-add-watch'. Watch `default-directory' instead of
4229 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4230 has a changed meaning now. (Bug#13540)
4231 (auto-revert-notify-handler): Change implementation wrt events
4232 returning from a directory.
4233 (auto-revert-handler): Reorder implementation for checks of remote
4234 files.
4235 (auto-revert-buffers): Fix parentheses error.
4236
4237 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4238
4239 * progmodes/python.el: Enhancements to header documentation about
4240 skeletons. (Bug#5716)
4241
4242 * imenu.el (imenu-default-create-index-function): Remove useless
4243 infinite loop check. (Bug#13438)
4244
4245 2013-01-25 Alan Mackenzie <acm@muc.de>
4246
4247 Fix a bug in the state cache mechanism. Refactor this a bit.
4248
4249 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4250 `cache-pos' element from the return value.
4251 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4252 buffer to enable proper searching from beyond HERE. Amend the
4253 test for detecting the sought brace pair. Amend the value written
4254 to the "brace desert cache" when the brace isn't found.
4255 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4256 and several other variables analogously.
4257 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4258 parameter to a locally calculated variable.
4259 (c-parse-state-1): Change the calling conventions to the two
4260 defuns involving `cache-pos'.
4261
4262 2013-01-25 Chong Yidong <cyd@gnu.org>
4263
4264 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4265
4266 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4267
4268 * paren.el (show-paren-function): Make sure to set 'priority and
4269 'face only if the overlay does exist.
4270
4271 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4274
4275 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4276 basic attributes.
4277 (tramp-sh-handle-set-file-acl): Improve error checking.
4278
4279 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4280
4281 * doc-view.el (doc-view-display): Force mode line update until all
4282 document is converted. Suggested by Stefan Monnier (Bug#13164).
4283
4284 2013-01-23 Bastien Guerry <bzg@gnu.org>
4285
4286 * paren.el (show-paren-function): Make sure an overlay exists
4287 before trying to delete it. Also use `pos' as a position only
4288 when it is an integer.
4289
4290 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4291
4292 * play/gametree.el (gametree-break-line-here): Use point-marker.
4293
4294 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4297 Mark descriptive parts with `display' property.
4298
4299 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4300
4301 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4302 New variable to map standard dict names to hunspell ones.
4303 (ispell-set-spellchecker-params): Make sure specific dict names
4304 are used for standard dicts with hunspell.
4305
4306 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4307
4308 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4309 chars for note (%N) and url (%U).
4310 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4311
4312 2013-01-21 Juri Linkov <juri@jurta.org>
4313
4314 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4315 in addition to existing separate binding `meta f10' in `global-map'.
4316 (Bug#13484)
4317
4318 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4319
4320 Improve XEmacs compatibility.
4321
4322 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4323
4324 * net/tramp-adb.el (top): Require `time-date'.
4325 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4326 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4327 Use `tramp-file-name-handler'.
4328 (tramp-adb-maybe-open-connection):
4329 Use `tramp-compat-set-process-query-on-exit-flag'.
4330
4331 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4332 Use `tramp-compat-funcall'.
4333
4334 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4335 `tramp-compat-funcall'.
4336
4337 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4338
4339 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4340 reimplementation using "adb shell command ..." instead of running
4341 remote shell interactively.
4342
4343 2013-01-20 Glenn Morris <rgm@gnu.org>
4344
4345 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4346 Add native profiler menu entries.
4347
4348 * profiler.el (profiler-running-p): New function.
4349 (profiler-cpu-profile): Use profiler-running-p.
4350 (profiler-report-mode-map): Add some more menu entries.
4351
4352 2013-01-19 Glenn Morris <rgm@gnu.org>
4353
4354 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4355 fixes 2012-12-07 change. (Bug#13499)
4356
4357 2013-01-19 Leo Liu <sdl.web@gmail.com>
4358
4359 * dired.el (dired-get-marked-files): Prune erroneous values due to
4360 last change. (Bug#13152)
4361
4362 2013-01-19 Glenn Morris <rgm@gnu.org>
4363
4364 * progmodes/etags.el (tags-table-check-computed-list):
4365 Preserve point in tags buffer. (Bug#13412)
4366
4367 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4368
4369 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4370 Chong Yidong <cyd@gnu.org>
4371
4372 * image-mode.el (image-next-file, image-previous-file):
4373 New commands (Bug#8453).
4374 (image-mode-map): Bind them to n and p.
4375 (image-mode--images-in-directory): New helper function.
4376
4377 2013-01-19 Chong Yidong <cyd@gnu.org>
4378
4379 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4380 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4381 save and restore the old window configuration.
4382
4383 2013-01-18 Leo Liu <sdl.web@gmail.com>
4384
4385 * progmodes/js.el: Tweak autoload cookie for alias.
4386
4387 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4388
4389 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4390 buffer local, again. This was lost with the fix on 2013-01-12.
4391
4392 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4393
4394 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4395 order to support several eshell buffers in parallel.
4396
4397 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4398
4399 * autorevert.el (auto-revert-use-notify): In the :set function, do
4400 not modify `kill-buffer-hook'.
4401 (auto-revert-notify-rm-watch):
4402 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4403 (auto-revert-notify-add-watch): Do not call
4404 `auto-revert-notify-rm-watch', but add it to a buffer local
4405 `kill-buffer-hook'.
4406
4407 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4410 call to `eval' rather than a backquoted lambda.
4411
4412 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4415 to return an explicit nil.
4416 (advice--remove-function): Change accordingly.
4417
4418 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4419 the use of nadvice.el.
4420
4421 * progmodes/which-func.el (which-function): Silence imenu errors
4422 (bug#13433).
4423
4424 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4425
4426 * progmodes/sql.el (sql-imenu-generic-expression):
4427 (sql-mode-font-lock-object-name): Match schema qualified names.
4428 (sql-connect): Use string keys.
4429 (sql-product-interactive): Wait for interpreter prompt.
4430 (sql-comint-oracle): Set process coding based on NLS_LANG.
4431
4432 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4433
4434 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4435 (sql-interactive-remove-continuation-prompt):
4436 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4437
4438 2013-01-14 Leo Liu <sdl.web@gmail.com>
4439
4440 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4441 (Bug#13420)
4442
4443 2013-01-14 Glenn Morris <rgm@gnu.org>
4444
4445 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4446 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4447
4448 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4449
4450 * progmodes/python.el (python-nav-end-of-statement):
4451 Fix cornercase when handling multiline strings.
4452
4453 2013-01-13 Richard Stallman <rms@gnu.org>
4454
4455 * mail/sendmail.el (mail-position-on-field): Add doc string.
4456
4457 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4458 Get current message boundaries and pass them to
4459 message-forward-make-body-mime. Minor style changes.
4460
4461 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4462
4463 * cus-start.el (all): Avoid warnings about
4464 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4465
4466 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4467
4468 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4469
4470 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4473 (jit-lock--debug-fontifying): New var.
4474 (jit-lock--debug-fontify): New function.
4475 * subr.el (condition-case-unless-debug): Don't prevent catching the
4476 error, just let the debbugger run.
4477 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4478 timer code and don't drop errors silently.
4479
4480 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4481
4482 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4483 `permanent-local' property.
4484 (auto-revert-notify-handler): Use `file-equal-p'.
4485
4486 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4487
4488 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4489 file notification by ACTION. For filtering by file name, compare
4490 only the non-directory part of the file name.
4491
4492 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * autorevert.el: Use cl-lib instead of cl.
4495
4496 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4497 (vc-bzr-checkin): Use it.
4498 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4499 will preserve match-data.
4500
4501 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4502
4503 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4504 (js--declaration-keyword-re): New var.
4505 (js--multi-line-declaration-indentation): New function.
4506 (js--proper-indentation): Use it.
4507
4508 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4509
4510 * calc/calc.el (calc-highlight-selections-with-faces)
4511 (calc-dispatch):
4512 * comint.el (comint-history-isearch-message):
4513 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4514 * ffap.el (ffap-string-at-point-region, ffap-next)
4515 (ffap-string-at-point, ffap-string-around)
4516 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4517 (ffap-literally):
4518 * font-lock.el (font-lock-keywords-alist)
4519 (font-lock-removed-keywords-alist):
4520 * help-mode.el (help-xref-symbol-regexp):
4521 * info.el (Info-find-emacs-command-nodes):
4522 * international/mule.el (add-to-coding-system-list):
4523 * isearch.el (isearch-message-function, isearch-fail-pos):
4524 * misearch.el (multi-isearch-next-buffer-function):
4525 * newcomment.el (comment-box):
4526 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4527 (pr-setting-database):
4528 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4529 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4530 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4531 (pike-font-lock-keywords-3):
4532 * progmodes/compile.el (compile):
4533 * progmodes/etags.el (tags-table-files)
4534 (tags-table-files-function, tags-included-tables-function):
4535 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4536 (gdb-restore-windows):
4537 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4538 (ps-n-up-filling-database):
4539 * server.el (server-buffer, server-log):
4540 * simple.el (newline, delete-backward-char, delete-forward-char)
4541 (minibuffer-history-isearch-message, kill-line, track-eol)
4542 (temporary-goal-column):
4543 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4544 (flyspell-default-deplacement-commands):
4545 * textmodes/ispell.el (ispell-accept-output):
4546 * textmodes/sgml-mode.el (html-tag-help):
4547 * vc/compare-w.el (compare-ignore-whitespace)
4548 (compare-ignore-case, compare-windows-dehighlight):
4549 * vc/diff.el (diff):
4550 * whitespace.el (whitespace-point)
4551 (whitespace-font-lock-refontify, whitespace-bob-marker)
4552 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4553
4554 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4555
4556 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4557 (auto-revert-notify-rm-watch): Ignore errors.
4558 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4559 inotify, and '(size last-write-time) for w32notify.
4560 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4561 watch fails - this is a fallback to the file modification check.
4562 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4563 (auto-revert-notify-event-action)
4564 (auto-revert-notify-event-file-name): New defuns.
4565 (auto-revert-notify-handler): Use them. Implement first
4566 plausibility checks.
4567 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4568
4569 2013-01-11 Julien Danjou <julien@danjou.info>
4570
4571 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4572 max are almost equal. Also return the correct value for V which is
4573 already between 0 and 1.
4574
4575 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4576
4577 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4578
4579 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4580
4581 * autorevert.el (auto-revert-notify-rm-watch)
4582 (auto-revert-notify-add-watch): Fix typos in w32notify function
4583 names.
4584
4585 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * autorevert.el (auto-revert-notify-enabled): Move up.
4588 (auto-revert-use-notify): New defcustom.
4589 (auto-revert-mode, global-auto-revert-mode)
4590 (auto-revert-notify-add-watch, auto-revert-handler)
4591 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4592 `auto-revert-notify-enabled'.
4593
4594 2013-01-10 Elias Pipping <pipping@exherbo.org>
4595
4596 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4597 * doc-view.el (doc-view-document->bitmap):
4598 Use doc-view-single-page-converter-function instead of
4599 single-page-converter arg; adjust callers.
4600
4601 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4602
4603 * progmodes/which-func.el (which-function): Understand Semantic's use
4604 of overlays in imenu--index-alist.
4605
4606 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4607
4608 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4609 (Man-man-k-use-anchor): New var.
4610 (Man-parse-man-k): New function.
4611 (Man-completion-table): Use it.
4612 (man): Flush the completion cache between uses.
4613
4614 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4615
4616 * autorevert.el: Add file watch support.
4617 (auto-revert-notify-enabled): New defconst.
4618 (auto-revert-notify-watch-descriptor-hash-list)
4619 (auto-revert-notify-watch-descriptor)
4620 (auto-revert-notify-modified-p): New defvars.
4621 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4622 (auto-revert-notify-handler): New defuns.
4623 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4624 when mode is disabled.
4625 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4626 (auto-revert-buffers): Add file watches for active buffers.
4627
4628 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4629
4630 * cus-start.el (toplevel): Only allow float values for
4631 scroll-up-aggressively and scroll-down-aggressively.
4632 Allow any number for line-spacing.
4633
4634 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4637 (doc-view-pdf->png-converter-function): Use mupdf if available.
4638 (doc-view-djvu->png-converter-function)
4639 (doc-view-ps->png-converter-function): Remove.
4640 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4641 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4642 (doc-view-already-converted-p): Adjust accordingly.
4643 (doc-view-mode-p): Simplify.
4644 (doc-view-enlarge): Use setq-local.
4645 (doc-view-pdf->png-converter-ghostscript)
4646 (doc-view-djvu->png-converter-ddjvu)
4647 (doc-view-pdf->png-converter-mupdf): Rework to call
4648 doc-view-start-process directly.
4649 (doc-view-pdf/ps->png): Simplify accordingly.
4650 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4651 (doc-view-document->bitmap): Rename from doc-view-document->png.
4652 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4653 (doc-view-set-slice-from-bounding-box): Fix completion table.
4654 (doc-view-mode): Use add-hook for after-revert-hook.
4655
4656 2013-01-10 Glenn Morris <rgm@gnu.org>
4657
4658 * emacs-lisp/authors.el (authors-ignored-files)
4659 (authors-valid-file-names, authors-renamed-files-alist):
4660 Add some more entries.
4661
4662 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4665 `t' pseudo-window entry.
4666
4667 2013-01-10 Alan Mackenzie <acm@muc.de>
4668
4669 Fix bugs in the c-parse-state mechanism. Reuse some markers
4670 instead of continually generating new ones.
4671
4672 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4673 (c-state-old-cpp-end-marker): New variables.
4674 (c-append-lower-brace-pair-to-state-cache): Start a backward
4675 search for "}" definitively outside CPP constructs.
4676 (c-remove-stale-state-cache): Inform the caller of a need to
4677 search back for a brace pair in certain circumstances.
4678 (c-state-maybe-marker): New macro.
4679 (c-parse-state): Reuse markers when appropriate.
4680
4681 2013-01-10 Glenn Morris <rgm@gnu.org>
4682
4683 * simple.el (execute-extended-command): Doc fix.
4684 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4685
4686 2013-01-10 Chong Yidong <cyd@gnu.org>
4687
4688 * faces.el (read-face-name): Doc fix.
4689
4690 2013-01-10 Roland Winkler <winkler@gnu.org>
4691
4692 * emacs-lisp/crm.el: Allow any regexp for separators.
4693 (crm-default-separator): All spaces around the default comma separator.
4694 (crm--completion-command): New macro.
4695 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4696 (crm-complete-and-exit): Handle non-single-char separators.
4697
4698 2013-01-09 Elias Pipping <pipping@lavabit.com>
4699
4700 * doc-view.el: Add support for DjVu (bug#13164).
4701 (doc-view-djvu->png-converter-function): New config var.
4702 (doc-view-single-page-converter-function, doc-view--image-type)
4703 (doc-view--image-file-extension): New vars.
4704 (doc-view-mode): Initialize them.
4705 (doc-view-goto-page): Use them.
4706 (doc-view-mode-p): Add support for ddjvu.
4707 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4708 (doc-view-set-up-single-converter): New funs.
4709 (doc-view-pdf/ps->png): Extend for djvu.
4710 (doc-view-document->png): Rename from doc-view-pdf->png.
4711 (doc-view-convert-current-doc): Handle djvu.
4712 (doc-view-insert-image, doc-view-display)
4713 (doc-view-already-converted-p): Don't hardcode png.
4714 (doc-view-set-doc-type): Recognize djvu docs.
4715
4716 2013-01-09 Elias Pipping <pipping@lavabit.com>
4717
4718 * doc-view.el: Add support for mupdf converter (bug#13164).
4719 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4720 (doc-view-ps->png-converter-function): New config vars.
4721 (doc-view-pdf->png-converter-ghostscript)
4722 (doc-view-ps->png-converter-ghostscript)
4723 (doc-view-pdf->png-converter-mupdf): New functions.
4724 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4725
4726 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4727
4728 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4729 first in session cache: When `tramp-own-remote-path' is in
4730 `tramp-remote-path', the remote path is only set in the session
4731 cache.
4732
4733 2013-01-09 Glenn Morris <rgm@gnu.org>
4734
4735 * emacs-lisp/trace.el (trace-function-foreground)
4736 (trace-function-background): Doc fix.
4737
4738 2013-01-09 Juri Linkov <juri@jurta.org>
4739
4740 * international/mule-cmds.el (read-char-by-name): Move let-binding
4741 of completion-ignore-case around completing-read to fix regression
4742 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4743 `string-match-p' using the nil value of `case-fold-search' and
4744 `completion-ignore-case' in `completion-pcm--all-completions'.
4745 (Bug#12615).
4746
4747 2013-01-09 Glenn Morris <rgm@gnu.org>
4748
4749 * progmodes/compile.el (compilation-parse-errors):
4750 Fix typo. (Bug#13369)
4751
4752 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4753
4754 * comint.el (comint-send-input): Check size of buffer before
4755 waiting for process output, in case already accepted. (Bug#13290)
4756
4757 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4758
4759 Spelling fixes.
4760 * net/tramp-adb.el (tramp-adb-get-toolbox):
4761 Fix misspelling of 'unknown'.
4762
4763 2013-01-08 Juri Linkov <juri@jurta.org>
4764
4765 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4766 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4767 Use underline style wave on terminals that support it. (Bug#13000)
4768
4769 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4772 the predicate returns nil.
4773
4774 * simple.el: Use lexical-binding.
4775 (primitive-undo): Use pcase.
4776 (minibuffer-history-isearch-push-state): Use a closure.
4777
4778 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4779
4780 * simple.el (primitive-undo): Move from undo.c.
4781
4782 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4785 (cvs-mode-remove-handled): Use it (bug#13380).
4786
4787 * emacs-lisp/nadvice.el (advice--tweak): New function.
4788 (advice--remove-function, advice--subst-main): Use it.
4789
4790 * emacs-lisp/advice.el: Update commentary.
4791
4792 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4793
4794 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4795 Remove spurious entry.
4796
4797 2013-01-08 Glenn Morris <rgm@gnu.org>
4798
4799 * net/tramp.el (tramp-default-host-alist): Add :version.
4800
4801 2013-01-08 Juri Linkov <juri@jurta.org>
4802
4803 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4804 single completion. (Bug#12456)
4805 (info--manual-names): Expand node completions into an explicit list
4806 before appending it to another list. Filter out internal buffers
4807 with the leading space in the buffer name. (Bug#10771)
4808
4809 2013-01-08 Juri Linkov <juri@jurta.org>
4810
4811 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4812 that defaults to the Top node.
4813 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4814 the short format (FILENAME) goes to the Top node.
4815 (Info-build-node-completions): Rename arg `file' to `filename'.
4816 (Bug#13365)
4817
4818 2013-01-07 Bastien Guerry <bzg@gnu.org>
4819
4820 * menu-bar.el (menu-bar-search-documentation-menu):
4821 Use `apropos-user-option' and fix the help message.
4822
4823 2013-01-07 Bastien Guerry <bzg@gnu.org>
4824
4825 * apropos.el (apropos-do-all): Update docstring.
4826 (apropos-user-option-button): New face.
4827 (apropos-user-option): Rename from `apropos-variable' and update
4828 docstring.
4829 (apropos-variable): Rewrite, now show all variables by default.
4830 (apropos-print): Mention "User option" instead of "Variable" when
4831 printing doc for user options. (Bug#13276)
4832
4833 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4834
4835 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4836 Handle filename correctly, when parsing "source -> target" symlink
4837 output.
4838 (tramp-adb-handle-set-file-times): New defun.
4839
4840 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4843 advice list when the interactive-spec of ad-Advice-* changes.
4844
4845 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4846
4847 * wid-edit.el (widget-default-get): Work for inlined elements.
4848 (Bug#12670)
4849
4850 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * net/tramp.el (tramp-default-host-alist): New defcustom.
4853 (tramp-find-host): Use it.
4854 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4855 `eshell-directory-change-hook'.
4856
4857 * net/tramp-adb.el (top): Add adb specific entry in
4858 `tramp-default-host-alist'.
4859 (tramp-adb-file-name-host): Remove function.
4860 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4861 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4862
4863 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4864
4865 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4866
4867 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4868
4869 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4870
4871 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4872 consist of more than one digit.
4873 (tramp-adb-file-name-handler-alist):
4874 Use `tramp-handle-file-exists-p' consistently.
4875 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4876 (tramp-adb-handle-file-exists-p): Remove function.
4877 (tramp-adb-file-name-host): New defun.
4878 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4879 Use it.
4880 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4881
4882 2013-01-06 Chong Yidong <cyd@gnu.org>
4883
4884 * vc/vc.el (vc-next-action): Detect buffer modifications
4885 conflicting with locking VCS operation (Bug#11490).
4886
4887 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4888
4889 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4890
4891 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4892 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4893
4894 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4895
4896 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4897 parsing of ls output using regular expression (handle filenames
4898 with spaces). Use virtual device number.
4899 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4900 cleanup).
4901
4902 2013-01-04 Daiki Ueno <ueno@gnu.org>
4903
4904 * epg.el: Silence byte-compiler warnings.
4905 (epg--start): Use delete-char instead of delete-backward-char.
4906 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4907
4908 2013-01-04 Daiki Ueno <ueno@gnu.org>
4909
4910 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4911 Suggested by Eli Zaretskii <eliz@gnu.org>.
4912
4913 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4916 non-negative integers. Otherwise, the default values are used.
4917 (tramp-convert-file-attributes): Convert uid and gid to integers.
4918
4919 2013-01-04 Glenn Morris <rgm@gnu.org>
4920
4921 * term.el (term-handle-colors-array): Ensure face attributes
4922 are fully specified, not nil. (Bug#13337)
4923
4924 * term.el (term-default-fg-color, term-default-bg-color):
4925 Fix custom type.
4926
4927 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4928 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4929 rather than 'jka-compr being loaded. (Bug#13338)
4930
4931 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4932
4933 * icomplete.el (icomplete-completions):
4934 Honor icomplete-prospects-height once more following
4935 2012-11-29 changes. (Bug#13224)
4936
4937 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4940 of called-interactively-p as well (bug#13237).
4941
4942 * view.el (view--enable, view--disable): Rename from view-mode-enable
4943 and view-mode-disable and assume it's called from view-mode.
4944 (view-mode-enable, view-mode-disable): Redefine as obsolete
4945 compatibility layer above view-mode.
4946 (view-mode-enter): Call `view-mode'.
4947
4948 * files.el (after-find-file): Call `view-mode'.
4949
4950 * doc-view.el (doc-view-scale-internally): New var.
4951 (doc-view-enlarge, doc-view-insert-image): Obey it.
4952
4953 2013-01-03 Daiki Ueno <ueno@gnu.org>
4954
4955 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4956 exist. (Bug#13344)
4957
4958 2013-01-03 Glenn Morris <rgm@gnu.org>
4959
4960 * mail/rmail.el (rmail-set-header-1): Ignore case.
4961 Handle multi-line headers. (Bug#13330)
4962
4963 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4964 Handle paragraph starting at beginning of buffer.
4965
4966 * subr.el (eval-after-load): Don't purecopy the form, so that it
4967 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4968
4969 * emacs-lisp/byte-run.el (defun): Place cl declarations
4970 after any interactive spec. (Bug#13265)
4971
4972 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4973
4974 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4975 defun. Don't check for DECL if DOCSTRING isn't a string.
4976 (defun): Likewise.
4977
4978 2013-01-02 Glenn Morris <rgm@gnu.org>
4979
4980 * eshell/em-cmpl.el (eshell-pcomplete):
4981 More thoroughly imitate pcomplete. (Bug#13293)
4982
4983 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4984 Return nil for empty path elements. (Bug#13296)
4985
4986 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4987
4988 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4989 order to improve efficiency (Based on Daniel Colascione's
4990 <dancol@dancol.org> patch). (Bug#13182)
4991
4992 2013-01-02 Glenn Morris <rgm@gnu.org>
4993
4994 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4995
4996 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4997
4998 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4999 neither DOCSTRING nor DECL was given. (Bug#13316)
5000
5001 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5002
5003 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5004 `error' call.
5005 (tramp-do-copy-or-rename-file): Ignore errors when calling
5006 `set-file-extended-attributes'.
5007
5008 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5009 Add handler for `file-acl'.
5010 (tramp-smb-handle-file-acl): New defun.
5011
5012 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5013
5014 * calc/README: Mention ISO 8601 week-numbering dates.
5015
5016 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5017
5018 * view.el (view-mode-enable): New argument run-view-mode-hook.
5019 Run view-mode-hook only when it's non-nil (Bug#13315).
5020 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5021 argument t.
5022
5023 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5024
5025 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5026 (No device connected, invalid device name). (Bug #13299)
5027
5028 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5029
5030 * window.el (window-resizable--p): Rename to window-resizable-p.
5031 (window-resize-no-error): New function.
5032
5033 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5034 broken in fix from 2012-12-28.
5035
5036 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * subr.el (special-form-p): Don't signal errors on undef aliases.
5039
5040 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5041
5042 * calc/calc-forms.el (math-parse-date): Try using
5043 `math-parse-iso-date' when it looks like it might be needed.
5044 Allow times of 24:00.
5045 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5046 of 24:00.
5047
5048 2012-12-30 Glenn Morris <rgm@gnu.org>
5049
5050 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5051 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5052 (rmail-summary-displayed, rmail-summary): Declare.
5053 (mairix-rmail-display): Just require rmail.
5054
5055 2012-12-30 Chong Yidong <cyd@gnu.org>
5056
5057 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5058 check for the tarball contents.
5059
5060 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5061
5062 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5063 tarfile content listings (Bug#13136).
5064
5065 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5066
5067 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5068 Insert the undecoded text of the message being forwarded. (Bug#9521)
5069
5070 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5073 integers, if they are real numbers. (Bug#13282)
5074
5075 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5076 Return `t' on success.
5077
5078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5079 Add handler for `set-file-selinux-context'.
5080
5081 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5082
5083 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5084 (tramp-sh-handle-set-file-acl): Return `t' on success.
5085
5086 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5087
5088 * files.el (backup-buffer-copy, basic-save-buffer-2):
5089 If set-file-extended-attributes fails, fall back on set-file-modes
5090 instead of signaling an error. (Bug#13298)
5091 (basic-save-buffer): Likewise.
5092
5093 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5094
5095 * progmodes/python.el: Support other commands triggering
5096 python-indent-line so indentation cycling continues to work.
5097 (python-indent-trigger-commands): New defcustom.
5098 (python-indent-line): Use it.
5099
5100 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5101
5102 * progmodes/python.el (python-shell-send-region): Add blank lines
5103 for non sent code so backtraces remain correct.
5104
5105 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5106
5107 * progmodes/python.el: Remove cl dependency.
5108 (python-syntax-count-quotes): Replace incf call.
5109 (python-fill-string): Replace setf call.
5110
5111 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5112
5113 * info.el (info-other-window): New arg, for consistency with info.
5114
5115 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5116
5117 * mail/rmail.el (rmail-maybe-display-summary):
5118 Rewrite (Bug#13066).
5119
5120 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5121
5122 * epg.el (epg--start): Modify process-environment locally.
5123
5124 2012-12-28 Daiki Ueno <ueno@gnu.org>
5125
5126 * epg.el: Support pinentry-curses.
5127 Suggested by Werner Koch in
5128 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5129 (epg-agent-file, epg-agent-mtime): New variable.
5130 (epg--start): Record the modified time of gpg-agent socket file,
5131 to restore Emacs frame after pinentry-curses termination.
5132 (epg-wait-for-completion): Restore Emacs frame here.
5133
5134 2012-12-27 Juri Linkov <juri@jurta.org>
5135
5136 * info.el (Info-file-completions): New variable.
5137 (Info-read-node-name-1): Complete node names in the Info file
5138 when a file name is given. Call `Info-build-node-completions'
5139 with a file name.
5140 (Info-build-node-completions): Add new arg `file'. When it is
5141 non-nil, visit it in a temporary buffer and cache its completions in
5142 `Info-current-file-completions'. Move most of the function body to
5143 `Info-build-node-completions-1'.
5144 (Info-build-node-completions-1): New function with the body from
5145 `Info-build-node-completions'. (Bug#12456)
5146
5147 2012-12-27 Juri Linkov <juri@jurta.org>
5148
5149 * frame.el (frame-maximization-style): Remove user option.
5150 (cycle-frame-maximized): Remove function.
5151 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5152 (toggle-frame-fullscreen): New command bound to <f11> instead of
5153 `toggle-frame-maximized'.
5154 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5155
5156 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5157
5158 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5159
5160 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5161 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5162 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5163 for `file-accessible-directory-p'. (Bug#13275)
5164
5165 2012-12-27 Sam Steingold <sds@gnu.org>
5166
5167 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5168 continuations, see <http://stackoverflow.com/questions/3582436>.
5169
5170 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5171
5172 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5173 "module" and "def" to have indentation before them.
5174 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5175
5176 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5177
5178 2012-12-27 Alan Mackenzie <acm@muc.de>
5179
5180 Speed up fontification where there's large brace blocks.
5181 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5182 to a call of c-beginning-of-decl-1.
5183
5184 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5185
5186 * comint.el (comint-adjust-window-point): New function.
5187 (comint-postoutput-scroll-to-bottom):
5188 Call comint-adjust-window-point (Bug#13248).
5189
5190 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5191
5192 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5193 Rakefile regexp.
5194 (auto-mode-alist): Associate .gemspec files with ruby-mode
5195 (https://bugs.ruby-lang.org/issues/5453).
5196
5197 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5198
5199 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5200 Suppress coloring, if possible (required for BusyBox based systems like
5201 CyanogenMod).
5202 (tramp-adb-handle-file-attributes)
5203 (tramp-adb-handle-insert-directory)
5204 (tramp-adb-handle-file-name-all-completions): Use it.
5205 (tramp-adb-get-toolbox): New defun. Check for remote shell
5206 implementation (BusyBox or Toolbox).
5207
5208 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5209
5210 * startup.el (initial-buffer-choice): Allow function as value
5211 (Bug#13251).
5212 (command-line-1): Handle case where initial-buffer-choice
5213 specifies a function.
5214 * server.el (server-execute): Handle case where
5215 initial-buffer-choice specifies a function.
5216
5217 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5218
5219 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5220 its own function.
5221 (smtpmail-try-auth-methods): Forget the user name/password if the
5222 login is unsuccessful (bug#12424).
5223
5224 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * notifications.el (notifications-notify): Protect body with
5227 `with-demoted-errors'.
5228
5229 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5230 Check properties of remote device. Restart connection, if there is a
5231 change.
5232
5233 2012-12-21 Chong Yidong <cyd@gnu.org>
5234
5235 * sort.el (sort-subr): Doc fix (Bug#13056).
5236
5237 2012-12-21 Bastien Guerry <bzg@gnu.org>
5238
5239 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5240
5241 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5242
5243 * simple.el (process-file): Overwrite stderr file, if exists.
5244
5245 2012-12-21 Daiki Ueno <ueno@gnu.org>
5246
5247 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5248 (epg-error): Set `error-message' property.
5249
5250 2012-12-21 Chong Yidong <cyd@gnu.org>
5251
5252 * international/mule-cmds.el (read-char-by-name): Signal an error
5253 if the user does not supply a valid character (Bug#13177).
5254
5255 * simple.el (transpose-subr-1): Preserve marker positions by
5256 changing the insertion sequence (Bug#13122).
5257
5258 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5259
5260 * simple.el (kill-region): Deactivate mark even for empty regions
5261 (Bug#13169).
5262
5263 2012-12-21 Chong Yidong <cyd@gnu.org>
5264
5265 * help-fns.el (describe-variable): Make sure we get the right
5266 buffer name (Bug#13105). Suggested by Kelly Dean.
5267
5268 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5269
5270 * comint.el (comint-redirect-previous-input-string): New variable.
5271 (comint-redirect-setup, comint-redirect-cleanup)
5272 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5273 (comint-redirect-preoutput-filter): Fix verbose message.
5274
5275 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5276
5277 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5278 is too long for Tramp. See discussion in
5279 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5280
5281 * progmodes/compile.el (compilation-start): Remove line escape
5282 template.
5283
5284 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5285
5286 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5287 Adjust comment.
5288
5289 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5290
5291 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5292 following non-comment text (bug#13207).
5293 (lm-header-multiline): Continuation lines need to be indented more than
5294 the first line.
5295 (lm-homepage): New function.
5296 (lm-with-file): Don't be confused if narrowing is in effect.
5297
5298 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5301 very beginning of a hunk (e.g. killing the first line).
5302
5303 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5306 and text properties from returned ACL string.
5307 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5308 for "setfacl" command.
5309
5310 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5311
5312 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5313 `tramp-cleanup-this-connection', when the process has died.
5314 (Bug#13151)
5315
5316 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5319
5320 2012-12-17 Kevin Ryde <user42@zip.com.au>
5321
5322 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5323
5324 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5325
5326 Add support for preserving ACL entries of files.
5327
5328 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5329 `set-file-acl' handlers.
5330
5331 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5332 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5333
5334 * net/tramp-compat.el (tramp-compat-copy-file):
5335 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5336
5337 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5338 Add `file-acl' and `set-file-acl' handlers.
5339 (tramp-gvfs-handle-copy-file):
5340 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5341 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5342 New defuns.
5343
5344 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5345 Add `file-acl' and `set-file-acl' handlers.
5346 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5347 (tramp-sh-handle-set-file-acl): New defuns.
5348 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5349 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5350
5351 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5352 Add `file-acl' and `set-file-acl' handlers.
5353 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5354
5355 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5356
5357 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5358 use pop-to-buffer with NORECORD argument t. As buffer name, use
5359 *Metahelp* with a leading space (Bug#13190).
5360
5361 2012-12-16 Romain Francoise <romain@orebokech.com>
5362
5363 * files.el (file-extended-attributes)
5364 (set-file-extended-attributes): New functions.
5365 (backup-buffer): Use them to handle both SELinux context and ACL
5366 entries.
5367 (backup-buffer-copy): Work with an alist of extended attributes,
5368 rather than an SELinux context.
5369 (basic-save-buffer-2): Ditto.
5370
5371 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5372
5373 * battery.el (battery-bsd-apm): New function.
5374
5375 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5376
5377 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5378 standard date formats.
5379
5380 2012-12-15 Juri Linkov <juri@jurta.org>
5381
5382 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5383 `isearch-insert-char-by-name'.
5384 (with-isearch-suspended): New defmacro with body mostly from
5385 `isearch-edit-string' except the part that sets
5386 `isearch-new-string' and `isearch-new-message'.
5387 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5388 body that sets `isearch-new-string' and `isearch-new-message'.
5389 (isearch-insert-char-by-name): New command.
5390 * international/mule-cmds.el (read-char-by-name): Let-bind
5391 `enable-recursive-minibuffers' to t.
5392 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5393
5394 2012-12-15 Juri Linkov <juri@jurta.org>
5395
5396 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5397 (Bug#13175)
5398
5399 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5400
5401 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5402 the prompt. (Bug#13045)
5403
5404 2012-12-14 Glenn Morris <rgm@gnu.org>
5405
5406 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5407 Try to include filename in non-bytecomp warning. (Bug#13132)
5408
5409 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5410
5411 Fix permissions bugs with setgid directories etc. (Bug#13125)
5412 * files.el (backup-buffer): Don't rely on 9th output of
5413 file-attributes, as it's now a placeholder. Instead, use the new
5414 optional arg of file-ownership-preserved-p.
5415 (file-ownership-preserved-p): New optional arg GROUP.
5416 Fix mishandling of setuid directories that would cause this
5417 function to return t when it should have returned nil.
5418 Document what happens if the file does not exist, and when
5419 it's not known whether the ownership will be preserved.
5420 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5421 Likewise.
5422 (tramp-get-local-gid): Use group-gid for integer, as that's
5423 faster and more reliable.
5424
5425 2012-12-14 Julien Danjou <julien@danjou.info>
5426
5427 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5428 Update keywords list, data type and PL/pgSQL.
5429
5430 2012-12-14 Dave Abrahams <dave@boostpro.com>
5431
5432 * vc/ediff-util.el (ediff-buffer-type): New function.
5433 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5434 rather than taking it as as argument.
5435 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5436
5437 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5438
5439 * json.el: Add pretty-print option (bug#12634).
5440 (json-encoding-separator, json-encoding-default-indentation)
5441 (json--encoding-current-indentation, json-encoding-pretty-print)
5442 (json-encoding-lisp-style-closings): New vars.
5443 (json--with-indentation): New macro.
5444 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5445 (json-encode-array): Use it to obey json-encoding-pretty-print.
5446 (json-pretty-print-buffer, json-pretty-print): New commands.
5447
5448 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5449
5450 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5451 Extract `ruby-syntax-propertize-expansions'.
5452 (ruby-syntax-propertize-expansions): Only change syntax on
5453 certain string delimiters, to punctuation. This way the common
5454 functions like forward-word and thing-at-point still work.
5455 (ruby-match-expression-expansion): Improve readability.
5456 (ruby-block-contains-point): New function.
5457 (ruby-add-log-current-method): Handle several edge cases.
5458
5459 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5460
5461 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5462 unload-feature finishes even when aborting an ongoing edebug session.
5463 Also, do not worry about edebug-mode, unload-feature takes care of it.
5464
5465 2012-12-13 Andreas Schwab <schwab@suse.de>
5466
5467 * net/tls.el (tls-program): Update customize type.
5468
5469 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5470
5471 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5472 (edebug-setup-hook, cl-read-load-hooks): Use it.
5473 (edebug-unload-function): New function. (Bug#13163)
5474
5475 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5478 Otherwise, there could be errors in autoloading. (Bug#13151)
5479
5480 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5481
5482 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5483 sequences.
5484
5485 2012-12-13 Alan Mackenzie <acm@muc.de>
5486
5487 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5488 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5489 around `forward-comment' not recognizing ^M as whitespace.
5490
5491 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5492
5493 * progmodes/python.el (python-skeleton-class)
5494 (python-skeleton-def): Do not add space after defun name.
5495
5496 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5499 (cl--symbol-function): Remove (now that funbound is like nil).
5500
5501 2012-12-12 Glenn Morris <rgm@gnu.org>
5502
5503 * button.el (button--area-button-p): Fix typo.
5504
5505 2012-12-12 Sam Steingold <sds@gnu.org>
5506
5507 * frame.el (frame-maximization-style): New user option.
5508 (toggle-frame-maximized): Toggle frame maximization according to
5509 `frame-maximization-style', bound to <f11>.
5510 (cycle-frame-maximized): Cycle between all maximization styles and
5511 non-maximized frame, bound to shift-<f11>.
5512
5513 2012-12-12 David Cadé <codename68@gmail.com>
5514
5515 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5516
5517 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5518
5519 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5520 (eieio-override-prin1): Don't quote kewords and booleans.
5521 (object-write) <eieio-default-superclass>: Don't put closing parens
5522 on new line, avoid needless empty lines, align values that are objects
5523 with the slot keyword (instead of beginning on the same line).
5524 (eieio-list-prin1): Align value with slot keyword; increase
5525 eieio-print-depth before printing members of the list.
5526
5527 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5530 a display text-property.
5531 (report-emacs-bug-hook): Don't bother deleting it any more.
5532
5533 * hilit-chg.el (highlight-save-buffer-state): Delete.
5534 Use with-silent-modifications instead.
5535 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5536
5537 * button.el: Handle buttons in display text-properties.
5538 (button--area-button-p, button--area-button-string):
5539 Use (STRING . STRING-POS) representation instead of just STRING.
5540
5541 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5542
5543 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5544 subdirectory be skipped.
5545
5546 2012-12-11 Glenn Morris <rgm@gnu.org>
5547
5548 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5549
5550 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5551 Treat preprocessor lines embedded in continuations like comments.
5552 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5553
5554 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5555
5556 * calc/calc.el (calc-standard-date-formats): Add more date
5557 formats.
5558 * calc/calc-forms.el (math-parse-iso-date): New function.
5559 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5560 (math-parse-iso-date-validate): Add extra error checking.
5561 (calc-date-notation): Add ability to access new date formats.
5562
5563 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5566 font-lock as well as when there's no text-property.
5567
5568 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5569
5570 * hi-lock.el: Refine the choice of default face.
5571 (hi-lock-keyword->face): New function. Use it wherever we used
5572 cadadadr instead.
5573 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5574 (hi-lock--last-face): Remove var.
5575 (hi-lock--unused-faces): New var to replace it.
5576 (hi-lock-read-face-name): Use/maintain it.
5577 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5578 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5579 if it has another face.
5580
5581 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5582
5583 * subr.el (w32notify-handle-event): New function.
5584 (inotify-handle-event): Doc fix.
5585
5586 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5587
5588 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5589
5590 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5591
5592 * simple.el (just-one-space): Doc fix.
5593
5594 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5595
5596 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5597
5598 2012-12-10 Le Wang <l26wang@gmail.com>
5599
5600 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5601 narrowed buffer (bug#12361).
5602
5603 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5604
5605 * vc/vc-hooks.el (vc-state): Doc fix.
5606
5607 2012-12-10 Glenn Morris <rgm@gnu.org>
5608
5609 * mail/rmail.el (rmail-maybe-display-summary):
5610 Preserve buffer, in case select-window changes it. (Bug#13066)
5611
5612 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5615 cl-load-hook where they belong.
5616
5617 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5620
5621 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5622
5623 Parallelize byte compilation on MS-Windows.
5624 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5625 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5626 (WINS_BASIC): Define as concatenation of the above.
5627 (compile): Subdivide into 4 separate and independent jobs that can
5628 be run in parallel.
5629 (compile0-CMD, compile0-SH): New targets for compiling
5630 COMPILE_FIRST files, which are prerequisites for the rest of the
5631 byte-compilation.
5632 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5633 New targets for parallel compilation with cmd.exe.
5634 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5635 compiling under a Unixy shell.
5636
5637 2012-12-09 Chong Yidong <cyd@gnu.org>
5638
5639 * simple.el (set-mark-default-inactive): Delete this
5640 accidentally-introduced option.
5641 (set-mark-command, exchange-point-and-mark): Remove calls.
5642
5643 2012-12-09 Glenn Morris <rgm@gnu.org>
5644
5645 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5646 Respect a defcustom's :set function, if appropriate. (Bug#109)
5647 (eval-defun): Doc fix.
5648
5649 2012-12-08 Juri Linkov <juri@jurta.org>
5650
5651 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5652 (Info-fontify-node, Info-bookmark-make-record): Remove the
5653 file extension from Info-current-file (Bug#13016).
5654
5655 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5658 point, still provide some default.
5659 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5660 names, since we don't use it right now. Actually return the list.
5661 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5662
5663 2012-12-07 Chong Yidong <cyd@gnu.org>
5664
5665 * novice.el (disabled-command-function): Remove a spurious help
5666 xref (Bug#13043). Suggested by Kelly Dean.
5667
5668 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5669 syntax is specified (Bug#13025).
5670
5671 * info.el (Info-set-mode-line): Remove the file extension from
5672 Info-current-file if there is one (Bug#13016).
5673
5674 2012-12-07 Glenn Morris <rgm@gnu.org>
5675
5676 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5677 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5678 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5679 and rmail-mime-decoded. (Bug#9841)
5680
5681 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5682 (batch-unrmail, unrmail): Doc fixes.
5683 (unrmail): Respect unrmail-mbox-format.
5684 * mail/rmail.el (rmail-mbox-format): New option.
5685 (rmail-show-message-1): Respect rmail-mbox-format.
5686
5687 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5690
5691 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5694 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5695 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5696 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5697 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5698 (cl-progv): Don't rely on dynamic scoping to find the body.
5699 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5700 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5701 (cl-declaim): Use backquotes.
5702 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5703 Use "cl--" prefix for the object's tag.
5704
5705 * ses.el: Use advice-add/remove.
5706 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5707 (copy-region-as-kill, yank): Use advice-add.
5708 (ses-unload-function): Use advice-remove.
5709
5710 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5711
5712 * button.el: Make them work in header-lines (bug#12817).
5713 (button-map): Add bindings for header-line and mode-line use.
5714 (button-get, button-put, button-label): `button' may now be a string.
5715 (button-activate): Don't make it a defsubst.
5716 (button--area-button-p, button--area-button-string): New functions.
5717 (make-text-button): Fix the return value when `beg' was a string.
5718 (push-button): Handle the mode-line case.
5719
5720 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5723 (sql-signum): Remove. Use `cl-signum' instead.
5724 (sql-read-passwd): Remove; use read-passwd instread.
5725 (sql-get-login-ext): Use read-string.
5726 (sql-get-login): Use dolist and pcase.
5727 (sql--completion-table): Rename from sql-try-completion.
5728 Use complete-with-action.
5729 (sql-mode): Don't change abbrev-all-caps globally.
5730 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5731 (sql-postgres-completion-object): Initialize vars in their `let'.
5732 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5733 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5734 (sql-comint-interbase): Use a single append, without setq.
5735 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5736
5737 * hi-lock.el: Rework the default face and the serialize regexp code.
5738 (hi-lock--auto-select-face-defaults): Remove.
5739 (hi-lock-string-serialize-serial): Remove.
5740 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5741 make weak.
5742 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5743 equal string.
5744 (hi-lock-set-pattern): Adjust accordingly.
5745 (hi-lock--regexps-at-point): Simplify accordingly.
5746 (hi-lock--auto-select-face-defaults): Remove.
5747 (hi-lock--last-face): New var to replace it.
5748 (hi-lock-read-face-name): Rewrite (bug#11095).
5749 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5750
5751 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/tramp.el (tramp-replace-environment-variables):
5754 Hide compiler warning.
5755 (tramp-file-name-for-operation): Remove `executable-find',
5756 `start-process', `call-process' and `call-process-region'.
5757
5758 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5759
5760 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5761 compatibility.
5762
5763 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5764
5765 2012-12-06 Chong Yidong <cyd@gnu.org>
5766
5767 * ffap.el (ffap-replace-file-component): Fix typo.
5768
5769 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5772 fix open-paren-like token test (bug#12785).
5773
5774 2012-12-06 Glenn Morris <rgm@gnu.org>
5775
5776 * mail/rmailsum.el (rmail-new-summary): Tweak for
5777 rmail-maybe-display-summary changing buffer. (Bug#13066)
5778
5779 2012-12-06 Juri Linkov <juri@jurta.org>
5780
5781 * info.el (Info-fontify-node): Don't hide the last newline.
5782 (Bug#12272)
5783
5784 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5785
5786 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5787 so as to enable message-read-from-minibuffer to expand mail aliases.
5788
5789 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5792 the `intangible' property.
5793 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5794
5795 2012-12-05 Deniz Dogan <deniz@dogan.se>
5796
5797 * net/rcirc.el (rcirc-urls): Update documentation.
5798 (rcirc-condition-filter): New function.
5799 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5800 and exclude consecutive duplicate URLs (Bug#6082).
5801
5802 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5803
5804 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5805 Check return code of copy command.
5806
5807 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5808 Use group `tramp'. Add version.
5809
5810 2012-12-05 Chong Yidong <cyd@gnu.org>
5811
5812 * ffap.el (ffap-url-regexp): Don't require matching at front of
5813 string (Bug#4952).
5814 (ffap-url-p): If only a substring matches, return that.
5815 (ffap-url-at-point): Use the return value of ffap-url-p.
5816 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5817 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5818 (ffap-guess-file-name-at-point): Likewise.
5819 (ffap-replace-file-component): Fix typo.
5820
5821 * info.el (info-display-manual): Add existing Info buffers, whose
5822 files may not be in Info-directory-list, to the completion.
5823 (info--manual-names): New helper function.
5824
5825 2012-12-05 Glenn Morris <rgm@gnu.org>
5826
5827 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5828 New functions, for detecting and resolving conflicts. (Bug#10709)
5829
5830 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5831
5832 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5833 (hi-lock-auto-select-face-defaults): New buffer local variable.
5834 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5835 (hi-lock-unface-buffer): Prompt user with useful defaults.
5836 With prefix arg, unhighlight all hi-lock patterns in buffer.
5837
5838 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5841
5842 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * Makefile.in (TRAMP_SRC):
5845 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5846
5847 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5848
5849 * net/tramp-adb.el: New package.
5850
5851 2012-12-04 Chong Yidong <cyd@gnu.org>
5852
5853 * terminal.el: Move to obsolete/.
5854
5855 * longlines.el: Move to obsolete/.
5856
5857 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5858 Remove code referring to longlines mode.
5859
5860 2012-12-03 Juri Linkov <juri@jurta.org>
5861
5862 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5863
5864 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5865
5866 * textmodes/ispell.el (ispell-init-process)
5867 (ispell-start-process, ispell-internal-change-dictionary):
5868 Make sure personal dictionary name is expanded after initial
5869 `default-directory' value. Use expanded strings for
5870 keep/restart checks and for value (Bug#13019).
5871
5872 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5873
5874 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5875
5876 2012-12-03 Leo Liu <sdl.web@gmail.com>
5877
5878 * files.el (dir-locals-read-from-file): Check file non-empty
5879 before reading. (Bug#13038)
5880
5881 2012-12-03 Glenn Morris <rgm@gnu.org>
5882
5883 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5884 Remove any version extension before checking filename. (Bug#13006)
5885 (jka-compr-compression-info-list): Belated :version bump.
5886
5887 2012-12-03 Chong Yidong <cyd@gnu.org>
5888
5889 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5890
5891 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5892 (buffer-menu): Doc fix (Bug#12294).
5893
5894 2012-12-03 Roland Winkler <winkler@gnu.org>
5895
5896 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5897 of diary-show-all-entries in the diary buffer (Bug#12994).
5898
5899 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5900
5901 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5902 "<STDIN>". This is binary safe.
5903
5904 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5905
5906 * calc/calc-forms.el (math-absolute-from-iso-dt)
5907 (math-date-to-iso-dt, math-parse-iso-date-validate)
5908 (math-iso-dt-to-date): New functions.
5909 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5910 (math-fd-isoweekday): New variables.
5911 (calc-date-notation, math-parse-standard-date, math-format-date)
5912 (math-format-date-part): Add support for more formatting codes.
5913
5914 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5915
5916 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5917 current buffer's file name when called interactively (Bug#12488).
5918
5919 2012-12-02 Juri Linkov <juri@jurta.org>
5920
5921 * info.el (info-display-manual): Don't clobber an existing Info
5922 buffer (Bug#10770). Add completion (Bug#10771).
5923
5924 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5925
5926 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5927 before using it for comparison (Bug#5297).
5928
5929 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5930
5931 * textmodes/css-mode.el (css-current-defun-name): New function.
5932 (css-mode): Use it.
5933
5934 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5935 (html-mode): Use it.
5936
5937 2012-12-01 Chong Yidong <cyd@gnu.org>
5938
5939 Modularize add-log-current-defun (Bug#2224).
5940 Suggested by Jari Aalto.
5941
5942 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5943 (add-log-current-defun): Move mode-specific code to other files.
5944 (add-log-lisp-like-modes, add-log-c-like-modes)
5945 (add-log-tex-like-modes): Variables deleted.
5946
5947 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5948 (lisp-mode-variables): Use it.
5949
5950 * progmodes/cc-mode.el (c-common-init):
5951 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5952 add-log-current-defun-function.
5953
5954 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5955 (m4-mode): Use it.
5956
5957 * progmodes/perl-mode.el (perl-current-defun-name): New.
5958 (perl-mode): Use it.
5959
5960 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5961 Use lisp-current-defun-name.
5962
5963 * textmodes/tex-mode.el (tex-current-defun-name): New.
5964 (tex-common-initialization): Use it.
5965
5966 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5967 (texinfo-mode): Use it.
5968
5969 2012-12-01 Chong Yidong <cyd@gnu.org>
5970
5971 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5972 * progmodes/autoconf.el (autoconf-mode):
5973 * progmodes/js.el (js-mode):
5974 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5975 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5976 * progmodes/perl-mode.el (perl-mode):
5977 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5978 * textmodes/css-mode.el (css-mode):
5979 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5980 (sgml-tags-invisible, sgml-guess-indent):
5981 * textmodes/tex-mode.el (tex-common-initialization)
5982 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5983 (doctex-mode, plain-tex-mode, latex-mode):
5984 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5985
5986 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5987
5988 * vc/vc-hg.el (vc-hg-next-revision):
5989 Ensure use of default "tip" output format. (Bug#6968)
5990
5991 2012-12-01 Kim F. Storm <storm@cua.dk>
5992
5993 * startup.el (fancy-startup-tail): Add a clickable link
5994 (Bug#2176).
5995
5996 2012-12-01 Chong Yidong <cyd@gnu.org>
5997
5998 * startup.el (fancy-startup-tail): Improve the message about
5999 auto-save files (Bug#2176).
6000
6001 * files.el (recover-session): Improve the descriptive message, and
6002 use substitute-command-keys.
6003
6004 2012-12-01 Glenn Morris <rgm@gnu.org>
6005
6006 * ido.el (ido-file-internal):
6007 Handle other-window, other-frame for dired. (Bug#13036)
6008
6009 2012-11-30 Glenn Morris <rgm@gnu.org>
6010
6011 * icomplete.el (icomplete-separator): Fix :version.
6012
6013 2012-11-30 Chong Yidong <cyd@gnu.org>
6014
6015 * shell.el (shell): For C-u M-x shell, use an inactive shell
6016 buffer as the default (Bug#1975).
6017 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6018 (shell-mode): Use them to reapply ansi colorization if Shell mode
6019 is re-enabled.
6020
6021 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6022
6023 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6024
6025 2012-11-30 Samuel Bronson <naesten@gmail.com>
6026
6027 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6028 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6029
6030 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6031
6032 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6033 by move-to-column (Bug#3234).
6034
6035 2012-11-30 Chong Yidong <cyd@gnu.org>
6036
6037 * longlines.el (longlines-wrap-line, longlines-encode-region):
6038 Preserve text properties (Bug#1425).
6039
6040 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6041
6042 * vc/vc.el (vc-register): Allow registering a file which is
6043 already registered with a different backend (Bug#10589).
6044
6045 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6046 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * icomplete.el: Change separator; add ido-style commands.
6049 (icomplete-show-key-bindings): Remove custom var.
6050 (icomplete-get-keys): Remove function.
6051 (icomplete-forward-completions, icomplete-backward-completions):
6052 New commands.
6053 (icomplete-minibuffer-map): New var.
6054 (icomplete-minibuffer-setup): Use it.
6055 (icomplete-exhibit): Don't delay if the list of completions is known.
6056 (icomplete-separator): New custom.
6057 (icomplete-completions): Use it.
6058 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6059 (minibuffer-force-complete-and-exit): New command.
6060 (minibuffer--complete-and-exit): New function extracted from
6061 minibuffer-complete-and-exit.
6062 (minibuffer-complete-and-exit): Use it.
6063
6064 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6065 error message when the file doesn't exist (bug#12974).
6066
6067 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6068
6069 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6070
6071 2012-11-29 Glenn Morris <rgm@gnu.org>
6072
6073 * files.el (hack-dir-local-variables): Warn if try to set
6074 coding via dir-locals, since it doesn't work. (Bug#7169)
6075
6076 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6077 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6078 Set buffer-local value of desktop-save-buffer.
6079 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6080 New functions.
6081 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6082 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6083
6084 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6085 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6086 Doc fix.
6087 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6088 Doc fixes.
6089
6090 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6091
6092 * calc/calc-forms.el (calc-date-notation): Fix regexp
6093 used to find time codes. Fix symbol for seconds.
6094
6095 2012-11-27 Glenn Morris <rgm@gnu.org>
6096
6097 * emacs-lisp/derived.el (derived-mode-make-docstring):
6098 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6099
6100 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6103 lexically scoped variables (bug#13005).
6104
6105 2012-11-27 Glenn Morris <rgm@gnu.org>
6106
6107 * vc/vc-hooks.el (vc-mistrust-permissions):
6108 Default to t, to avoid data-loss. (Bug#11490)
6109
6110 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6111
6112 * progmodes/python.el (python-indent-guess-indent-offset):
6113 If indentation is guessed make python-indent-offset buffer-local.
6114
6115 Fix Imenu regression.
6116 * progmodes/python.el (python-nav-beginning-of-defun):
6117 Fix forward movement when statement(s) separates point from defun.
6118 (python-imenu-prev-index-position): New function.
6119
6120 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6121
6122 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6123
6124 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6125 Don't set buffer-file-type. Return nil. (Bug#12989)
6126
6127 2012-11-27 Glenn Morris <rgm@gnu.org>
6128
6129 * hippie-exp.el (hippie-expand-try-functions-list):
6130 Re-autoload it. (Bug#12982)
6131
6132 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6133
6134 * descr-text.el (describe-char-padded-string):
6135 Call internal-char-font only on GUI frames. (Bug#11964)
6136
6137 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6138
6139 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6140 and obsoletion message.
6141
6142 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6145 the constructs to keep outside of the `cl-block' (bug#12977).
6146
6147 2012-11-27 Chong Yidong <cyd@gnu.org>
6148
6149 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6150 keep reading until we get the up-event anyway, in order to process
6151 the up-event for mouse-1-click-follows-link (Bug#12971).
6152
6153 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6156 base function is not yet defined (bug#12965).
6157 (ad-activate-advised-definition): Use ad-compile-function.
6158 (ad-activate): Use cond.
6159
6160 2012-11-25 Leo Liu <sdl.web@gmail.com>
6161
6162 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6163 (Bug#12979)
6164
6165 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6166
6167 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6168 reftex-section-info-function in order to be compatible with
6169 Texinfo integration.
6170
6171 * textmodes/reftex.el (reftex-section-pre-regexp)
6172 (reftex-section-post-regexp, reftex-section-info-function):
6173 New variable.
6174 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6175 reftex-section-post-regexp, and reftex-section-info-function in order
6176 to be compatible with Texinfo integration.
6177
6178 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6179 use reftex-section-pre-regexp variable in order to be compatible with
6180 Texinfo integration.
6181
6182 2012-11-25 Chong Yidong <cyd@gnu.org>
6183
6184 * faces.el: Make face-spec-set more analogous to setq.
6185 (face-spec-set): Change the third arg to specify whether this
6186 function is being called via defface, customize, or a third party.
6187 Set the appropriate symbol properties. Clear the override spec if
6188 setting via Custom. Initialize face if necessary. (Bug#4988)
6189 (face-spec-recalc): Allow theme faces to completely replace the
6190 defface spec, in the same way as custom faces (Bug#8454).
6191
6192 * cus-face.el (custom-declare-face): Move face initialization to
6193 face-spec-set.
6194 (custom-theme-set-faces): Don't initialize the face name here, as
6195 that is now done in face-spec-set.
6196
6197 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6198 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6199 Simplify by using the new arg to face-spec-set.
6200
6201 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6202 reset face-override-spec too, and use custom-declare-face.
6203
6204 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6205
6206 * term/ns-win.el (ns-initialize-window-system): Move creation of
6207 fontsets here (Bug#11964).
6208
6209 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6210
6211 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6212 cell renaming.
6213
6214 2012-11-24 Chong Yidong <cyd@gnu.org>
6215
6216 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6217 obsolete.
6218
6219 * custom.el (custom-theme-set-variables): Use a topological sort
6220 for ordering by custom dependencies (Bug#12952).
6221 (custom--sort-vars, custom--sort-vars-1): New functions.
6222
6223 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6226 lexical-binding (bug#12938).
6227
6228 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6229
6230 * image-mode.el (image-transform-check-size): Use assertions only
6231 for images of type imagemagick.
6232
6233 Otherwise no error, image-transform-fit-to-{width,height} is
6234 silently ignored, as before. Doc fix.
6235
6236 2012-11-24 Chong Yidong <cyd@gnu.org>
6237
6238 * faces.el (color-defined-p): Doc fix (Bug#12853).
6239
6240 2012-11-24 Juri Linkov <juri@jurta.org>
6241
6242 * dired.el (dired-mark): Add optional arg `interactive'.
6243 Check for `use-region-p' if `interactive' is non-nil.
6244 (dired-unmark, dired-flag-file-deletion): Add optional arg
6245 `interactive'. Call `dired-mark' with the arg `interactive'.
6246 (Bug#10624)
6247
6248 * wdired.el: Revert 2012-10-17 change partly and replace it with
6249 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6250 (wdired-finish-edit): Add marks for new file names to
6251 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6252 after `revert-buffer'.
6253 (wdired-do-renames): Remove calls to `dired-remove-file',
6254 `dired-add-file', `dired-add-entry'. (Bug#11795)
6255
6256 2012-11-24 Alan Mackenzie <acm@muc.de>
6257
6258 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6259
6260 Fix bugs in the state cache. Enhance a debugging mechanism.
6261 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6262 "brace at column zero" strategy for C++.
6263 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6264 (c-parse-state-point): New variable.
6265 (c-record-parse-state-state): Record old parse state with
6266 `copy-tree'. Record previous value of point.
6267 (c-debug-parse-state-double-cons): New debugging function.
6268 (c-debug-parse-state): Call the above new function.
6269 (c-toggle-parse-state-debug): Output a confirmatory message.
6270
6271 * progmodes/cc-mode.el (c-before-change, c-after-change):
6272 Call c-invalidate-state-cache from `c-before-change' instead of
6273 `c-after-change'.
6274
6275 2012-11-23 Chong Yidong <cyd@gnu.org>
6276
6277 * find-cmd.el (find-constituents): Add executable, ipath,
6278 readable, samefile, writable, daystart, regextype (Bug#12856).
6279
6280 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6283
6284 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6285
6286 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6287 definition. This fixes a bootstrap failure.
6288 (calc-gregorian-switch): In menu, put dates before regions.
6289 This is easier to follow, lines up better in the menu, and lets us
6290 coalesce regions that switch at the same time. Give country
6291 names, not "Vatican", as that's better for non-expert users.
6292 Use names that are stable between the date of switch and now, e.g.,
6293 Bohemia and Moravia (which existed then and now) and not
6294 Czechoslovakia (which didn't exist then and doesn't exist now).
6295 What is now the U.S. mostly did not switch at the same time as
6296 Britain, so omit the U.S. Correct spelling of "Britain".
6297 Catholic Switzerland was too much of a mess, so omit it.
6298
6299 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6300
6301 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6302 after the variable is changed.
6303
6304 2012-11-21 Daniel Colascione <dancol@dancol.org>
6305
6306 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6307 in SQL declarations for font-lock.
6308 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6309
6310 2012-11-21 Glenn Morris <rgm@gnu.org>
6311
6312 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6313 (face-italic-p): Add optional argument "inherit".
6314
6315 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6316 Remove -p suffix from names, for consistency with other set-face-*.
6317 (set-face-inverse-video): Fix interactive spec.
6318 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6319 * textmodes/table.el (table--update-cell-face):
6320 Use set-face-inverse-video rather than now obsolete alias.
6321
6322 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6323
6324 * simple.el (line-move): Don't call line-move-partial if
6325 scroll-conservatively is in effect. (Bug#12927)
6326
6327 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6330 Fallback on completion-at-point rather than
6331 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6332 (eshell-cmpl-initialize): Setup completion-at-point.
6333
6334 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6335
6336 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6337
6338 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6339
6340 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6341 are remote, check out-of-band property for both.
6342
6343 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6346 code rewrite.
6347
6348 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6349
6350 More minor time fixes.
6351 * calendar/time-date.el: Commentary fix.
6352 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6353 too much other code depends on (0 0) time stamps.
6354 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6355 Add a couple of FIXME comments.
6356
6357 Minor cleanup for times as lists of four integers.
6358 * files.el (dir-locals-directory-cache):
6359 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6360 Doc fixes.
6361 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6362 * ps-bdf.el (bdf-file-newer-than-time):
6363 Process four-integers time stamps, not two. Doc fixes.
6364
6365 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * uniquify.el (uniquify-managed): Use defvar-local.
6368 (rename-buffer, create-file-buffer): Advise with advice-add.
6369 (uniquify-unload-function): Unadvise accordingly.
6370
6371 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6372 (trace-buffer): Don't purecopy.
6373 (trace-entry-message, trace-exit-message): Add `context' arg.
6374 (trace--timer): New var.
6375 (trace-make-advice): Adjust for use in nadvice.
6376 Add `context' argument. Delay `display-buffer' via a timer.
6377 (trace-function-internal): Use advice-add.
6378 (trace--read-args): New function.
6379 (trace-function-foreground, trace-function-background): Use it.
6380 (trace-function): Rename to trace-function-foreground and redefine as
6381 an alias to that new name.
6382 (untrace-function, untrace-all): Adjust to the use of nadvice.
6383
6384 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6385
6386 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6387
6388 * subr.el (called-interactively-p-functions): New var.
6389 (internal--called-interactively-p--get-frame): New macro.
6390 (called-interactively-p, interactive-p): Rewrite in Lisp.
6391 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6392 (called-interactively-p-functions): Use it.
6393 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6394 (called-interactively-p-functions): Use it.
6395 * allout.el (allout-called-interactively-p): Don't assume
6396 called-interactively-p is a subr.
6397
6398 2012-11-20 Glenn Morris <rgm@gnu.org>
6399
6400 * profiler.el (profiler-report-mode-map): Add a menu.
6401 No need to bind `q' because we derive from special-mode.
6402 (profiler-report-find-entry): Handle calls from the menu-bar.
6403
6404 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * emacs-lisp/byte-run.el (defun-declarations-alist):
6407 Allow a compiler-macro to be a lambda expression.
6408
6409 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6410 eval-when-compile.
6411 (python-syntax-context): Add compiler-macro.
6412 (python-font-lock-keywords): Simplify with De Morgan.
6413
6414 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6415
6416 * files.el (load-file): Require match in minibuffer selection, as was
6417 the case in Emacs-20 before we changed the spec to allow .elc files
6418 (bug#12935).
6419
6420 * json.el: Don't require cl since we don't use it.
6421 * color.el: Don't require cl.
6422 (color-complement): `caddr' -> `nth 2'.
6423
6424 * calendar/time-date.el (time-to-seconds): De-obsolete.
6425
6426 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6427
6428 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6429 year numbers.
6430 (math-date-to-julian-dt): Adjust the initial approximation for the
6431 year to deal with the new definition of the DATE.
6432
6433 2012-11-19 Daniel Colascione <dancol@dancol.org>
6434
6435 * term/w32-win.el (cygwin-convert-path-from-windows):
6436 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6437
6438 2012-11-18 Chong Yidong <cyd@gnu.org>
6439
6440 * filecache.el (file-cache--read-list): New function.
6441 (file-cache-add-directory-list, file-cache-add-file-list)
6442 (file-cache-delete-file-list, file-cache-delete-directory-list):
6443 Use it to read a list of files or directories (Bug#12846).
6444 (file-cache-add-file, file-cache-add-directory)
6445 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6446 (file-cache-delete-directory): Print an message.
6447
6448 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6449
6450 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6451 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6452
6453 2012-11-18 Glenn Morris <rgm@gnu.org>
6454
6455 * image.el (insert-image, insert-sliced-image): Doc fix.
6456
6457 2012-11-18 Chong Yidong <cyd@gnu.org>
6458
6459 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6460 (Bug#12810).
6461
6462 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6463
6464 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6465 response when the target file is in a subdirectory (Bug#12757).
6466
6467 2012-11-18 Chong Yidong <cyd@gnu.org>
6468
6469 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6470
6471 2012-11-18 Glenn Morris <rgm@gnu.org>
6472
6473 * emacs-lisp/cl-lib.el (face-underline-p):
6474 Use set-face-underline rather than the alias set-face-underline-p.
6475
6476 * window.el (with-temp-buffer-window): Doc fix.
6477 * subr.el (with-output-to-temp-buffer):
6478 Add doc xref to with-temp-buffer-window.
6479
6480 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6481
6482 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6483 * calc/calc.el (math-format-date-cache): Declare.
6484
6485 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6486
6487 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6488 It also uses January 1, 1 AD as its day number 1.
6489 * calc/calc-forms.el (math-julian-date-beginning)
6490 (math-julian-date-beginning-int): Implement this.
6491
6492 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * descr-text.el (quail-find-key):
6495 * dired.el (desktop-file-name):
6496 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6497 * generic-x.el (comint-mode, comint-exec):
6498 * image-dired.el (widget-forward):
6499 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6500 (speedbar-change-expand-button-char)
6501 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6502 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6503 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6504 (widget-field-action, widget-value-set):
6505 * speedbar.el (imenu--make-index-alist):
6506 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6507 (ring-length, ring-insert):
6508 * vcursor.el (compare-windows-skip-whitespace):
6509 * woman.el (dired-get-filename):
6510 Declare functions.
6511
6512 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6513
6514 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6515
6516 * calc/calc.el (calc-gregorian-switch): New variable.
6517
6518 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6519 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6520 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6521 (math-leap-year-p): Add option to distinguish between Julian
6522 and Gregorian calendars.
6523 (math-day-number): Use `math-day-in-year' to do the computations.
6524 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6525 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6526 to do the computations.
6527 (math-date-to-dt): Use `math-date-to-julian-dt' and
6528 `math-date-to-gregorian-dt' to do the computations.
6529 (calcFunc-weekday, math-format-date-part): Use the new version of
6530 the DATE to determine the weekday.
6531 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6532 when necessary.
6533
6534 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6535
6536 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6537 Cygwin; otherwise use 'file:'. (Bug#12914)
6538 (cygwin-convert-path-from-windows): Declare, to avoid
6539 byte-compiler warnings.
6540
6541 2012-11-17 Andreas Politz <politza@fh-trier.de>
6542
6543 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6544 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6545 prefix and negative numeric prefix args (Bug#12795).
6546
6547 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6548
6549 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6550 Don't signal an error with a score that is too low to add to the
6551 list of top scores. (Bug#12779)
6552
6553 2012-11-17 Chong Yidong <cyd@gnu.org>
6554
6555 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6556
6557 * filecache.el (file-cache-add-file): Handle relative file name in
6558 the argument (Bug#12694).
6559
6560 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6561
6562 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6563
6564 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6567
6568 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6569
6570 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (enlarge-window, shrink-window): Don't mention return
6573 value in doc-string (Bug#12896).
6574 (window--display-buffer): Don't resize frames - it won't work
6575 with all window managers and defeat pop-up-frame-alist.
6576 (display-buffer-alist): In doc-string explain that CONDITION can
6577 be a function and which arguments are passed to it (Bug#12854).
6578 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6579 expressions (Bug#12854).
6580 (display-buffer): Pass ACTION argument to
6581 display-buffer-assq-regexp.
6582
6583 2012-11-16 Glenn Morris <rgm@gnu.org>
6584
6585 * window.el (fit-frame-to-buffer-bottom-margin)
6586 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6587
6588 * faces.el (face-underline-p): Use face-attribute-specified-or.
6589
6590 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6591
6592 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6593
6594 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6597
6598 2012-11-16 Glenn Morris <rgm@gnu.org>
6599
6600 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6601 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6602
6603 * faces.el (face-underline-p): Doc fix. Handle :underline being
6604 things other than `t' (a string, a list).
6605 (face-inverse-video-p): Doc fix.
6606 (set-face-underline): Rename it back from set-face-underline-p.
6607 Doc fix. Allow interactive input of values other than t.
6608 (read-face-attribute): Apply formatting to :underline,
6609 since like :box and :stipple it can take list values.
6610
6611 * term.el (ansi-term): Don't let C-x escape-char binding
6612 clobber the more standard C-c binding. (Bug#12842)
6613
6614 * subr.el (set-temporary-overlay-map): Doc fix.
6615
6616 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6617
6618 * window.el (record-window-buffer)
6619 (display-buffer-record-window): When copying the markers to
6620 window-point preserve window-point-insertion-type. (Bug#12588)
6621
6622 2012-11-16 Glenn Morris <rgm@gnu.org>
6623
6624 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6625 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6626 Use new names for hooks rather than obsolete aliases.
6627
6628 2012-11-15 Daniel Colascione <dancol@dancol.org>
6629
6630 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6631 prefix instead of "file:" so that when FILE-NAME begins with "//",
6632 as it does when the target file is on a network share, url-handler
6633 isn't confused.
6634
6635 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6638 a preactivated advice from an old advice.el; they're not compatible!
6639
6640 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6641
6642 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6643 Fix string-spec case.
6644
6645 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6646
6647 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6650 (advice--buffer-local-function-sample): New var.
6651 (advice--set-buffer-local, advice--buffer-local): New functions.
6652 (add-function, remove-function): Use them.
6653
6654 2012-11-15 Drew Adams <drew.adams@oracle.com>
6655
6656 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6657
6658 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6661 potential binding of print-gensym to t, and prettify (back)quotes in
6662 case they appear in args's default values (bug#12884).
6663
6664 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6667 (advice-eval-interactive-spec): New function.
6668 (advice--make-interactive-form): Support around advice (bug#12844).
6669
6670 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6671
6672 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6673 more strict. Add docstring.
6674 (ruby-expression-expansion-re): Extract from
6675 `ruby-match-expression-expansion'.
6676 (ruby-syntax-propertize-function): After everything else, search
6677 for expansions in string literals, mark their insides as
6678 whitespace syntax and save match data for font-lock.
6679 (ruby-font-lock-keywords): Use the 2nd group from expression
6680 expansion matches.
6681 (ruby-match-expression-expansion): Use the match data saved to the
6682 text property in ruby-syntax-propertize-function.
6683
6684 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6687 (bug#12879).
6688
6689 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6690
6691 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6692 start/end keyword a bit harder. Works with different values of N.
6693 Add more comments.
6694 (ruby-end-of-block): Update accordingly.
6695
6696 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * woman.el (woman-file-name): Don't mess with unread-command-events
6699 (bug#12861).
6700
6701 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6702 Remove out of date self-require hack.
6703 (ad-do-advised-functions): Use simple `dolist'.
6704 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6705 (ad-advice-definition): Redefine as functions.
6706 (ad-advice-classes): Move before first use.
6707 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6708 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6709 (ad--defalias-fset): Remove functions.
6710 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6711 (ad-get-orig-definition): Rewrite.
6712 (ad-make-advised-definition-docstring): Change base docstring.
6713 (ad-real-orig-definition): Rewrite.
6714 (ad-map-arglists): Change name of called function.
6715 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6716 (ad-make-advised-definition): Simplify.
6717 (ad-assemble-advised-definition): Tweak for new calling context.
6718 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6719 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6720 function and call ad-activate if needed.
6721 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6722 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6723 (ad-compile-function): Compile ad-Advice-*.
6724 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6725 (ad-start-advice, ad-stop-advice): Remove.
6726
6727 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6728
6729 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6730 period before class method names, not after. Remove handling of
6731 one impossible case. Add comments.
6732
6733 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * emacs-lisp/advice.el: Remove support for freezing.
6736 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6737 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6738 Remove support for `freeze'.
6739
6740 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6741 override the default.
6742 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6743 cl--dotimes/dolist.
6744 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6745 `cl' is loaded.
6746
6747 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6748 from add-advice.
6749 (advice--strip-macro): New function.
6750 (advice--defalias-fset): Use them to handle macros.
6751 (advice-add): Use them.
6752 (advice-member-p): Correctly handle macros.
6753
6754 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6755
6756 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6757 Never font-lock the beginning of singleton class as heredoc.
6758
6759 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6762
6763 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6764
6765 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6766 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6767 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6768
6769 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6770
6771 Fix end-of-defun misbehavior.
6772 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6773 python-beginning-of-defun-function. Handle nested defuns
6774 correctly.
6775 (python-nav-end-of-defun): Rename from
6776 python-end-of-defun-function. Ensure forward movement.
6777 (python-info-current-defun): Reimplement to work as intended
6778 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6779 parent defuns as soon as possible.
6780
6781 2012-11-13 Glenn Morris <rgm@gnu.org>
6782
6783 * progmodes/flymake.el (flymake-error-bitmap)
6784 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6785 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6786
6787 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6788
6789 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6790 backward, always stop at indentation. Reverts the change from
6791 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6792
6793 2012-11-13 Glenn Morris <rgm@gnu.org>
6794
6795 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6796 Add ibuffer-filter-by-derived-mode.
6797
6798 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6799 the same name shadowing each other.
6800
6801 * window.el (with-temp-buffer-window): Doc tweak.
6802
6803 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6804
6805 * help.el (temp-buffer-max-height):
6806 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6807 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6808
6809 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * emacs-lisp/nadvice.el: New package.
6812 * subr.el (special-form-p): New function.
6813 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6814 (elp-all-instrumented-list): Remove var.
6815 (elp-not-profilable): Remove elp-wrapper.
6816 (elp-profilable-p): Use autoloadp and special-form-p.
6817 (elp--advice-name): New const.
6818 (elp-instrument-function): Use advice-add.
6819 (elp--instrumented-p): New predicate.
6820 (elp-restore-function): Use advice-remove.
6821 (elp-restore-all, elp-reset-all): Use mapatoms.
6822 (elp-set-master): Use elp--instrumented-p.
6823 (elp--make-wrapper): Rename from elp-wrapper, return a function
6824 suitable for advice-add. Use cl-inf.
6825 (elp-results): Use mapatoms+elp--instrumented-p.
6826 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6827 (debug-function-list): Remove var.
6828 (debug): Rename arg, and then let-bind it explicitly inside.
6829 (debugger-setup-buffer): Rename arg.
6830 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6831 (debugger-frame-number): Adjust to new debug-on-entry setup.
6832 (debug--implement-debug-on-entry): Rename from
6833 implement-debug-on-entry, add argument.
6834 (debugger-special-form-p): Remove, use special-form-p instead.
6835 (debug-on-entry): Use advice-add.
6836 (debug--function-list): New function.
6837 (cancel-debug-on-entry): Use it, along with advice-remove.
6838 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6839 (debugger-list-functions): Use debug--function-list instead of
6840 debug-function-list.
6841 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6842 (ad-special-form-p): Remove, use special-form-p instead.
6843 (ad-set-advice-info): Use add-function and remove-function.
6844 (ad--defalias-fset): Adjust accordingly.
6845
6846 2012-11-10 Glenn Morris <rgm@gnu.org>
6847
6848 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6849 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6850 (report-emacs-bug-create-existing-bugs-buffer)
6851 (report-emacs-bug-parse-query-results)
6852 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6853
6854 * term.el (term-default-fg-color, term-default-bg-color):
6855 Make obsolete, rather than just saying "deprecated" in the doc.
6856
6857 * term.el (term): Rename from `term-face'.
6858 (term-current-face, ansi-term-color-vector)
6859 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6860 Update all users.
6861
6862 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6863
6864 * server.el (server-create-window-system-frame): Handle Nextstep
6865 specially (Bug#12780).
6866
6867 2012-11-10 Glenn Morris <rgm@gnu.org>
6868
6869 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6870 Unautoload, and make obsolete. (Bug#7449)
6871
6872 2012-11-10 Chong Yidong <cyd@gnu.org>
6873
6874 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6875 rename from diff-remove-trailing-whitespace (Bug#12831).
6876
6877 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6880 miscompilation of trace.el.
6881
6882 2012-11-10 Glenn Morris <rgm@gnu.org>
6883
6884 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6885
6886 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6889 (bug#12812).
6890
6891 2012-11-10 Chong Yidong <cyd@gnu.org>
6892
6893 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6894 a defcustom with an appropriate :set function.
6895 (minibuffer-default--in-prompt-regexps): New function.
6896
6897 2012-11-10 Glenn Morris <rgm@gnu.org>
6898
6899 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6900 (define-modify-macro): Doc fixes.
6901
6902 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6903 (gv-define-simple-setter): Update doc of `fix-return'.
6904
6905 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6908 twice when `fix-return' is set (bug#12813).
6909
6910 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6911 gv-define-simple-setter (bug#12812).
6912
6913 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6914 (bug#12756).
6915
6916 2012-11-10 Glenn Morris <rgm@gnu.org>
6917
6918 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6919
6920 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6921 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6922 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6923 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6924
6925 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6926
6927 2012-11-10 Leo Liu <sdl.web@gmail.com>
6928
6929 * ido.el (ido-set-matches-1): Improve flex matching performance by
6930 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6931
6932 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6935 (ad--defalias-fset): New function.
6936 (ad-safe-fset): Remove.
6937 (ad-make-freeze-definition): Use cl-letf*.
6938
6939 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * subr.el (dolist): Don't bind VAR in RESULT.
6942
6943 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6944 (fset, documentation): Don't save real def since we don't advise.
6945 (ad-do-advised-functions): Remove problematic `result-form'.
6946 (ad-safe-fset): `ad-real-fset' => `fset'.
6947 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6948 uses CL's dolist internally.
6949 (ad-arglist): Remove unused arg `name'.
6950 (ad-docstring, ad-make-advised-docstring):
6951 `ad-real-documentation' => `documentation'.
6952 (warning-suppress-types): Declare.
6953 (ad-set-arguments): Simple CSE.
6954 (ad-recover-normality): Sanity check.
6955
6956 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6957 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6958
6959 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6960
6961 * ses.el: symbol to coordinate mapping is made by symbol property
6962 `ses-cell'. This means that the same mapping is done for all SES
6963 sheets. That is good enough for cells with standard A1 names, but
6964 not for named cell. So a hash map is added for the latter.
6965 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6966 (ses-sym-rowcol): Use hashmap for named cell.
6967 (ses-is-cell-sym-p): New defun.
6968 (ses-decode-cell-symbol): New defun.
6969 (ses-create-cell-variable): Add cell to hashmap when name is not
6970 A1-like.
6971 (ses-rename-cell): Check that cell new name is not already in
6972 spreadsheet with the use of ses-is-cell-sym-p
6973 (ses-rename-cell): Use hash map for named cells, but accept also
6974 renaming back to A1-like.
6975
6976 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * emacs-lisp/advice.el: Use new dynamic docstrings.
6979 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6980 Use dynamic-docstring-function instead of ad-advice-info.
6981 (ad--make-advised-docstring): New function extracted from
6982 ad-make-advised-docstring.
6983 (ad-make-advised-docstring): Use it.
6984 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6985 from sql-help.
6986 (sql-help): Use it with dynamic-docstring-function.
6987
6988 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6989
6990 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * files.el (hack-one-local-variable--obsolete): New function.
6993 (hack-one-local-variable): Use it for obsolete settings.
6994
6995 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6996 the new name.
6997
6998 * progmodes/js.el (js--filling-paragraph): New var.
6999 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7000 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7001 less sneaky.
7002
7003 2012-11-08 Julien Danjou <julien@danjou.info>
7004
7005 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7006 `auto-mode-alist' (Bug#12835).
7007
7008 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7011 (perl--prettify-symbols-alist): New const.
7012 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7013 New functions.
7014 (perl-font-lock-keywords-2): Use them.
7015 (perl-electric-noindent-p): New function.
7016 (perl-mode): Use it to set up electric-indent-mode.
7017 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7018 (perl-mode-map): Remove bindings for them.
7019 (perl-imenu-generic-expression, perl-outline-level):
7020 Match functions&packages in column>0.
7021
7022 * env.el (env--substitute-vars-regexp): New const.
7023 (substitute-env-vars): Use it. Add `only-defined' arg.
7024 * net/tramp.el (tramp-replace-environment-variables): Use it.
7025
7026 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7027 Byte-compile *before* eval in eval-and-compile.
7028 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7029 (byte-compile-file-form-autoload): Don't hide actual definition.
7030 (byte-compile-maybe-guarded): Accept `functionp' as well.
7031
7032 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7033
7034 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7035
7036 * notifications.el (notifications-get-server-information-method):
7037 New defconst.
7038 (notifications-get-capabilities): Fix docstring.
7039 (notifications-get-server-information): New defun.
7040
7041 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7042
7043 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7044 readability.
7045
7046 * textmodes/ispell.el: Experimental support for support debugging.
7047 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7048 buffer for ispell.
7049 (ispell-print-if-debug): New function to print stuff to
7050 `ispell-debug-buffer' if debugging is enabled.
7051 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7052 show some debugging info.
7053 (ispell-buffer-with-debug): New function that creates a debugging
7054 buffer and calls `ispell-buffer' with debugging enabled.
7055
7056 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7057 comment in autoconf mode. (Bug#12768)
7058
7059 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7060
7061 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7062 frame-first-window, frame-root-window, frame-selected-window,
7063 minibuffer-selected-window, minibuffer-window,
7064 window-absolute-pixel-edges, window-at, window-body-height,
7065 window-body-width, window-display-table, window-combination-limit,
7066 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7067 window-inside-edges, window-inside-pixel-edges, window-left-child,
7068 window-left-column, window-margins, window-next-buffers,
7069 window-next-sibling, window-new-normal, window-new-total,
7070 window-normal-size, window-parameter, window-parameters, window-parent,
7071 window-pixel-edges, window-point, window-prev-buffers,
7072 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7073 window-start, window-text-height, window-top-child, window-top-line,
7074 window-total-height, window-total-width and window-use-time to the list
7075 of functions without side-effects.
7076 (toplevel): Add window-valid-p to the list of error-free functions
7077 without side-effects.
7078
7079 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7080
7081 * textmodes/ispell.el (ispell-program-name):
7082 Update spellchecker parameters when customized.
7083
7084 2012-11-04 Glenn Morris <rgm@gnu.org>
7085
7086 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7087
7088 2012-11-04 Chong Yidong <cyd@gnu.org>
7089
7090 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7091 same-window-* variables.
7092
7093 2012-11-04 Juri Linkov <juri@jurta.org>
7094
7095 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7096 (isearch-describe-key, isearch-describe-mode): Use a display
7097 action instead of binding same-window-* variables (Bug#10040).
7098
7099 2012-11-03 Glenn Morris <rgm@gnu.org>
7100
7101 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7102 Rename handler properties back from cl-- to cl-. (Bug#12788)
7103
7104 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7105
7106 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7107
7108 * term/pc-win.el: Don't load term/internal from here.
7109
7110 * loadup.el: Load term/internal from here.
7111
7112 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7113
7114 * progmodes/python.el (inferior-python-mode): Fix hang in
7115 jit-lock (Bug#12645).
7116
7117 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7118
7119 * window.el (switch-to-visible-buffer)
7120 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7121
7122 2012-11-03 Glenn Morris <rgm@gnu.org>
7123
7124 * emacs-lisp/cl-lib.el (cl--random-time):
7125 Rename from cl-random-time. (Bug#12773)
7126 (cl--gensym-counter, cl--random-state): Update callers.
7127 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7128
7129 2012-11-03 Chong Yidong <cyd@gnu.org>
7130
7131 * cus-start.el: Make cursor-type customizable (Bug#11633).
7132
7133 2012-11-02 Glenn Morris <rgm@gnu.org>
7134
7135 * filecache.el: No need to load find-lisp when compiling.
7136 (find-lisp-find-files): Autoload it.
7137 (file-cache-add-directory-recursively): Don't require find-lisp.
7138
7139 * image.el (image-type-from-file-name): Trivial simplification.
7140
7141 * emacs-lisp/bytecomp.el (byte-compile-eval):
7142 Decouple "noruntime" and "cl-functions" warnings.
7143
7144 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7145
7146 * play/gomoku.el (gomoku-display-statistics): Update mode line
7147 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7148
7149 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7150
7151 * window.el (quit-restore-window): If the window has been
7152 created on an existing frame and ended up as the sole window on
7153 that frame, do not delete it (Bug#12764).
7154
7155 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7158 Rename from sh--inside-arithmetic-expression, handle more cases
7159 (bug#11263).
7160
7161 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7162 (sh-font-lock-open-heredoc): Use it (bug#12770).
7163
7164 2012-10-30 Glenn Morris <rgm@gnu.org>
7165
7166 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7167
7168 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7169
7170 2012-10-29 Chong Yidong <cyd@gnu.org>
7171
7172 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7173 function key is stored in a keyboard macro (Bug#4894).
7174
7175 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7176
7177 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7180 header comments".
7181 (diff-unified->context, diff-context->unified)
7182 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7183
7184 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7185
7186 * files.el (find-alternate-file): Only ask one question (bug#12487).
7187
7188 2012-10-29 Chong Yidong <cyd@gnu.org>
7189
7190 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7191 Suggested by Dan Nicolaescu (Bug#6326).
7192
7193 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7194
7195 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7196
7197 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7198
7199 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7200
7201 * face-remap.el (face-remap-add-relative): Handle the case where a
7202 face-remapping-alist entry is a cons cell (Bug#12762).
7203
7204 2012-10-29 Kevin Ryde <user42@zip.com.au>
7205
7206 * woman.el (woman-parse-numeric-value): Handle picas correctly
7207 (Bug#12639).
7208
7209 2012-10-29 Glenn Morris <rgm@gnu.org>
7210
7211 * emacs-lisp/cl.el (defsetf): Doc fix.
7212
7213 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7216 syntax to the matching opener, if any (bug#12547).
7217 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7218 matching open as a "case-(".
7219 (sh-smie-rc-grammar): Add a corresponding rule for it.
7220
7221 2012-10-28 Daniel Hackney <dan@haxney.org>
7222
7223 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7224 "PKGNAME-autoloads.el" in case we created it.
7225
7226 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7229 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7230 (completion--twq-all): Disable too-strict assertions.
7231
7232 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7233
7234 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7235
7236 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7237 text to match the real keybindings.
7238
7239 2012-10-27 Juri Linkov <juri@jurta.org>
7240
7241 * wdired.el (wdired-keep-marker-rename): New defcustom.
7242 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7243 (Bug#11795)
7244
7245 * dired.el (dired-keep-marker-rename): Add reference to
7246 `wdired-keep-marker-rename' in the docstring.
7247 Add default character value ?R to display initially in
7248 Customization UI instead of ?@.
7249
7250 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7251
7252 * window.el (display-buffer): In doc-string describe
7253 window-height and window-width alist entries.
7254
7255 * time.el (display-time-world): Restore fit-window-to-buffer
7256 behavior.
7257
7258 2012-10-27 Chong Yidong <cyd@gnu.org>
7259
7260 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7261
7262 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7263
7264 * minibuffer.el (completion-category-overrides): New completion
7265 category `bookmark' (bug#11131).
7266
7267 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7270 Silence bogus compiler warnings for ad-do-it.
7271
7272 * bookmark.el (bookmark-completing-read): Set the completion category
7273 to `bookmark' (bug#11131).
7274
7275 2012-10-26 Bastien <bzg@altern.org>
7276 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * face-remap.el: Use lexical-binding.
7279 (text-scale-adjust): Improve docstring. Use itself for the temporary
7280 overlay-map bindings, so as to repeat the "Use..." message each time.
7281
7282 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * emacs-lisp/macroexp.el (macroexp--expand-all):
7285 Obey byte-compile-warning-enabled-p (bug#12486).
7286
7287 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7288 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7289
7290 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7291
7292 * mouse.el (mouse-drag-line): Move last form into preceding when
7293 clause (Bug#12731).
7294
7295 * help.el (resize-temp-buffer-window): Fix doc-string.
7296
7297 2012-10-25 David Engster <deng@randomsample.de>
7298
7299 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7300 Remove. This feature is already integrated in imenu.
7301
7302 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7303 always loaded. Require `speedbar' unconditionally.
7304
7305 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7306
7307 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7308
7309 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7310
7311 * net/ldap.el (ldap-search-internal): The official ldif format starts
7312 with a "version: 1" header (bug#12724).
7313
7314 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7315 (bug#12721).
7316
7317 2012-10-25 Glenn Morris <rgm@gnu.org>
7318
7319 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7320
7321 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * minibuffer.el (minibuffer-force-complete): Use one more marker
7324 for the temporary-overlay-map command (bug#12619).
7325
7326 2012-10-24 Chong Yidong <cyd@gnu.org>
7327
7328 * time.el (display-time-world-mode): Derive from special-mode.
7329 (display-time-world): Use display-buffer (Bug#12708).
7330 (display-time-world-mode-map): Variable deleted.
7331 (display-time-world-display): Wrap the final delete-char inside
7332 inhibit-read-only.
7333
7334 2012-10-24 Chong Yidong <cyd@gnu.org>
7335
7336 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7337 Doc fix.
7338
7339 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7340
7341 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * minibuffer.el (completion--all-sorted-completions-location): New var.
7344 (completion--cache-all-sorted-completions)
7345 (completion--flush-all-sorted-completions): Use it.
7346 (completion-in-region, completion-in-region--postch)
7347 (completion-at-point, completion-help-at-point): Use markers in
7348 completion-in-region--data (bug#12619).
7349
7350 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * progmodes/compile.el (compilation-start): Try to handle common
7353 quoting of `cd' argument (bug#12640).
7354
7355 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7356 (bug#12671).
7357
7358 2012-10-23 Glenn Morris <rgm@gnu.org>
7359
7360 * progmodes/gud.el (gud-menu-map):
7361 Check gdb-active-process is bound. (Bug#12358)
7362
7363 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * repeat.el (repeat): Set real-this-command (bug#12232).
7366
7367 * htmlfontify.el (hfy-post-html-hook):
7368 * filesets.el (filesets-cache-fill-content-hook):
7369 * arc-mode.el (archive-extract-hook):
7370 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7371 * net/rcirc.el (rcirc-sentinel-functions)
7372 (rcirc-receive-message-functions, rcirc-activity-functions)
7373 (rcirc-print-functions):
7374 * net/dbus.el (dbus-event-error-functions):
7375 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7376 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7377 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7378 * term/sun.el (sun-raw-prefix-hooks):
7379 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7380
7381 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7382
7383 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7384 Set `tramp-chunksize' to 1. This improves the performance.
7385 (tramp-smb-wait-for-output): Add timeout to
7386 `tramp-accept-process-output' calls.
7387
7388 2012-10-23 Chong Yidong <cyd@gnu.org>
7389
7390 * faces.el (font-list-limit): Define as an obsolete variable.
7391
7392 * startup.el (command-line):
7393 * cus-start.el: Don't refer to font-list-limit.
7394
7395 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7396
7397 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * subr.el (internal-temp-output-buffer-show): Rename from
7400 temp-output-buffer-show, since previously compiled files expect this name.
7401
7402 2012-10-23 Glenn Morris <rgm@gnu.org>
7403
7404 * image.el (image-type-from-file-name): If multiple types match,
7405 return the first one that is supported. (Bug#9045)
7406
7407 2012-10-22 Glenn Morris <rgm@gnu.org>
7408
7409 * image.el (imagemagick-enabled-types): Doc fix.
7410
7411 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7412
7413 * progmodes/which-func.el (which-func-current): The hash-table may have
7414 an explicit nil (bug#12338).
7415
7416 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * electric.el (electric-pair-delete-selection-self-insert-function):
7419 Rename to electric-pair-will-use-region, return a boolean.
7420 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7421
7422 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7423 (delete-selection-pre-hook): Use use-region-p.
7424 (delete-selection-self-insert-function): Remove.
7425 (self-insert-command): Obey self-insert-uses-region-functions.
7426 (self-insert-iso): Revert to previous setting, since we don't actually
7427 know what that command does.
7428 (delete-selection-self-insert-hooks): Remove.
7429
7430 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7431
7432 * delsel.el (delete-selection-helper): New function, extracted from
7433 delete-selection-pre-hook.
7434 (delete-selection-pre-hook): Use it.
7435 (delete-selection-self-insert-function): New function.
7436 (delete-selection-self-insert-hooks): New hook.
7437 (self-insert-command, self-insert-iso): Use it.
7438 * electric.el (electric-pair-syntax): New function, extracted from
7439 electric-pair-post-self-insert-function.
7440 (electric-pair-post-self-insert-function): Use it.
7441 (electric-pair-delete-selection-self-insert-function): New function.
7442 (electric-pair-mode): Require delsel and setup
7443 delete-selection-self-insert-hooks (bug#11520).
7444
7445 2012-10-20 Chong Yidong <cyd@gnu.org>
7446
7447 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7448 no changes to show (Bug#12586).
7449
7450 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7451 list explicitly (Bug#12571).
7452
7453 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7454
7455 * progmodes/flymake.el (flymake-create-temp-inplace):
7456 Use file-truename.
7457
7458 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7459
7460 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7461
7462 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7463
7464 * calc/calc-units.el (math-extract-units): Properly extract powers
7465 of units.
7466
7467 2012-10-20 Daniel Colascione <dancol@dancol.org>
7468
7469 * frame.el (make-frame): Set x-display-name as we used to in order
7470 to unbreak creating an X11 frame from an Emacs daemon started
7471 without a display.
7472
7473 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7474
7475 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7476 the same completion-field (bug#12221).
7477
7478 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7479
7480 * emacs-lisp/debug.el (debug): Record height of debugger window
7481 also when debugger will be back (Bug#8789).
7482
7483 2012-10-18 Chong Yidong <cyd@gnu.org>
7484
7485 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7486 Convert to defcustom.
7487 (gdb-get-source-file): Don't bind pop-up-windows.
7488
7489 * progmodes/gud.el (gud-display-line): Don't specially re-use
7490 other frames for the gdb-mi case (Bug#12648).
7491
7492 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * emacs-lisp/advice.el: Clean up commentary a bit.
7495 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7496 (byte-code-function-p): Never redefine.
7497
7498 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7499
7500 2012-10-18 Glenn Morris <rgm@gnu.org>
7501
7502 * dired.el (dired-sort-toggle): Some ls implementations only allow
7503 a single option string. (Bug#12666)
7504
7505 * minibuffer.el (completion-cycle-threshold): Doc fix.
7506
7507 2012-10-17 Kenichi Handa <handa@gnu.org>
7508
7509 * international/mule.el (set-keyboard-coding-system):
7510 Recover input meta mode when the new coding system doesn not use 8-bit.
7511 Supply TERMINAL arg to set-input-meta-mode.
7512
7513 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7514
7515 * wdired.el (wdired-old-marks): New variable.
7516 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7517 (wdired-do-renames): Move point with renamed file and don't lose
7518 mark status (Bug#11795).
7519
7520 2012-10-16 Juri Linkov <juri@jurta.org>
7521
7522 * replace.el (query-replace-help): Mention multi-buffer replacement
7523 keys in the Help message. (Bug#12655)
7524
7525 2012-10-15 Chong Yidong <cyd@gnu.org>
7526
7527 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7528
7529 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7530
7531 * window.el (display-buffer): Doc fix.
7532
7533 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7534 Adjust the msft regexp to the output of Studio 2010, and move msft
7535 before edg-1. See the discussion on emacs-devel,
7536 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7537 for the details.
7538
7539 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7542 (oset): Move uses of object-class-fast macro after its definition.
7543
7544 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7545
7546 2012-10-13 Chong Yidong <cyd@gnu.org>
7547
7548 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7549 enabled, re-enable it (Bug#11963).
7550
7551 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7552
7553 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7554 non-nil, restore window configuration (Bug#12623).
7555
7556 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * help-fns.el (describe-variable, describe-function-1):
7559 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7560
7561 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7562
7563 2012-10-12 Glenn Morris <rgm@gnu.org>
7564
7565 * mail/rmailsum.el (rmail-header-summary):
7566 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7567
7568 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7569
7570 * progmodes/python.el (python-mode-map):
7571 Replace subtitute-key-definition with proper command remapping.
7572 (python-nav--up-list): Fix behavior for blocks on the same level.
7573
7574 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7577
7578 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7579 changes to the format of load-history.
7580
7581 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7582 completion-ignore-case in case that var is buffer-local (bug#12615).
7583
7584 2012-10-11 Kenichi Handa <handa@gnu.org>
7585
7586 * international/eucjp-ms.el: Re-generated.
7587
7588 2012-10-10 Kenichi Handa <handa@gnu.org>
7589
7590 * select.el (xselect--encode-string): If a coding is specified for
7591 selection, and that is compatible with COMPOUND_TEXT, use it.
7592
7593 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7594
7595 * window.el (switch-to-buffer-preserve-window-point): New option.
7596 (switch-to-buffer):
7597 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7598
7599 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7602 Don't document nil as a useful value (bug#12583).
7603
7604 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7605
7606 * net/tramp.el (tramp-debug-message):
7607 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7608 (with-tramp-progress-reporter): Rename from
7609 `tramp-with-progress-reporter'.
7610 (with-tramp-file-property, with-tramp-connection-property):
7611 Move from tramp-cache.el, rename from `with-file-property' and
7612 `with-connection-property', respectively.
7613
7614 * net/tramp-cache.el: Remove `with-file-property' and
7615 `with-connection-property'.
7616
7617 * net/tramp.el:
7618 * net/tramp-gvfs.el:
7619 * net/tramp-sh.el:
7620 * net/tramp-smb.el: Adapt callees.
7621
7622 * net/trampver.el: Update release number.
7623
7624 2012-10-09 Glenn Morris <rgm@gnu.org>
7625
7626 * w32-fns.el (set-message-beep):
7627 * term/w32-win.el (set-message-beep): Update declarations.
7628
7629 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7632 (mode-line-widen, mode-line-input-method-map)
7633 (mode-line-coding-system-map, mode-line-remote)
7634 (mode-line-unbury-buffer, mode-line-bury-buffer)
7635 (mode-line-next-buffer, mode-line-previous-buffer):
7636 Replace save-selected-window+select-window => with-selected-window.
7637
7638 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7639 * progmodes/cc-vars.el (bq-process): Remove, unused.
7640
7641 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7642
7643 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7644
7645 Implemented `backward-up-list'-like navigation.
7646 * progmodes/python.el (python-nav-up-list)
7647 (python-nav-backward-up-list): New functions.
7648 (python-mode-map): Define substitute key for backward-up-list to
7649 python-nav-backward-up-list.
7650
7651 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7652
7653 * progmodes/python.el (python-fill-paragraph): Rename from
7654 python-fill-paragraph-function. Fixed fill-paragraph for
7655 decorators (Bug#12605).
7656
7657 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7658
7659 * progmodes/python.el (python-shell-output-filter): Handle extra
7660 carriage return in OSX (Bug#12409).
7661
7662 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7663
7664 Fix shell handling of unbalanced quotes and parens in output.
7665 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7666 (python-syntax-propertize-function): Use it.
7667 (python-shell-output-syntax-table): New var.
7668 (inferior-python-mode): Prevent unbalanced parens/quotes from
7669 previous output mess with current input context.
7670
7671 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7674 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7675
7676 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7677
7678 * ffap.el (ffap-replace-file-component): Support Tramp file name
7679 syntax, not only ange-ftp's one.
7680
7681 2012-10-08 Glenn Morris <rgm@gnu.org>
7682
7683 * cus-start.el (message-log-max): Set :version.
7684
7685 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7686
7687 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7688
7689 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7690 the minibuffer window (Bug#10851).
7691
7692 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7693
7694 Enhancements on forward-sexp movement.
7695 * progmodes/python.el (python-nav-beginning-of-statement)
7696 (python-nav-end-of-statement): Return point-marker.
7697 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7698 (python-info-current-symbol)
7699 (python-info-statement-starts-block-p): Rename from
7700 python-info-beginning-of-block-p.
7701 (python-info-statement-ends-block-p): Rename from
7702 python-info-end-of-block-p.
7703 (python-info-beginning-of-statement-p)
7704 (python-info-end-of-statement-p)
7705 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7706 New functions.
7707
7708 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7711 frame-selected-windows.
7712
7713 2012-10-08 Daniel Colascione <dancol@dancol.org>
7714
7715 * battery.el (battery-status-function): Check for
7716 w32-battery-status itself, not system-time windows-nt.
7717
7718 * frame.el: Require cl-lib.
7719 (display-format-alist): New variable mapping frame types to
7720 functions that initialize them.
7721 (window-system-for-display): New function: interprets
7722 display-format-alist.
7723 (make-frame-on-display): Remove existing display-selection logic
7724 and just forward to make-frame, which will now DTRT.
7725 (make-frame): Restructure to use window-system-for-display to
7726 figure out how to create a frame on a given display.
7727 (display-mouse-p): Look for frame-type w32, not a particular
7728 system-type.
7729
7730 * loadup.el: Load w32 lisp code when we have the w32 feature.
7731
7732 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7733 system-type windows-nt.
7734
7735 * server.el (server-create-window-system-frame): Look for window
7736 type.
7737 (server-proces-filter): Only force a window system when windows-nt
7738 _and_ w32. Explain why.
7739
7740 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7741 of window systems we configure for the mode.
7742
7743 * startup.el (command-line): Mark window system is initialized
7744 after we've done it.
7745
7746 * common-win.el (x-select-text): Look for w32, not windows-nt.
7747
7748 * ns-win.el: Require cl-lib. Add ourselves to
7749 display-format-alist.
7750 (ns-initialize-window-system): Assert we're not initialized twice.
7751
7752 * w32-win.el: Enable lexical binding; require cl-lib; add
7753 ourselves to display-format-alist.
7754 (w32-handle-dropped-file): Convert incoming dropped files from
7755 Windows paths to Cygwin ones before passing them on to the rest of
7756 Emacs.
7757 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7758 (w32-initialize-window-system): Assert we're not initialized twice.
7759
7760 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7761 (x-initialize-window-system): Assert we're not initialized twice.
7762
7763 * w32-common-fns.el: New File.
7764 (w32-version, w32-using-nt, w32-get-clipboard-data)
7765 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7766 (w32-charset-info-alist, x-last-selected, text)
7767 (x-get-selection-value, x-selection-value): Move here.
7768
7769 * w32-fns.el: Require w32-common-fns.
7770 (w32-version, w32-using-nt, w32-get-clipboard-data)
7771 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7772 (w32-charset-info-alist, x-last-selected, text)
7773 (x-get-selection-value, x-selection-value): Move to
7774 w32-common-fns.
7775
7776 * w32-vars.el:
7777 (w32-allow-system-shell, w32-system-shells): Define only in
7778 non-cygwin case.
7779
7780 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7783 (read-passwd): Remove a few more potential sources of leaks.
7784
7785 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7786
7787 * progmodes/python.el (inferior-python-mode)
7788 (python-shell-make-comint): Fix initialization of local
7789 variables copied from parent buffer.
7790
7791 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7792
7793 * term/ns-win.el (ns-read-file-name): Update declaration to match
7794 nsfns.m.
7795 (ns-respond-to-change-font): Change fontsize separately so we are sure
7796 it is set when font is acted upon.
7797
7798 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7799
7800 Enhancements to indentation.
7801 * progmodes/python.el (python-indent-context): Give priority to
7802 inside-string context. Make comments indentation markers.
7803 (python-indent-region): Do not mess with strings, unless it's the
7804 enclosing set of quotes.
7805
7806 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * window.el (internal--before-save-selected-window)
7809 (internal--after-save-selected-window): New functions extracted from
7810 save-selected-window. Make sure we return the `alist' we construct.
7811 (save-selected-window): Use them.
7812
7813 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7814 Use with-selected-window.
7815
7816 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7817 forms that define macros (bug#12593).
7818
7819 2012-10-07 Kenichi Handa <handa@gnu.org>
7820
7821 * international/mule-conf.el (compound-text-with-extensions):
7822 Add :mime-charset property as x-ctext.
7823
7824 2012-10-07 Stefan Merten <smerten@oekonux.de>
7825
7826 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7827 (rst-indent-literal-normal, rst-indent-literal-minimized)
7828 (rst-indent-comment): Correct :version tag.
7829 (rst-official-cvs-rev): Correct version string.
7830
7831 2012-10-07 Glenn Morris <rgm@gnu.org>
7832
7833 * mail/rmailmm.el (rmail-mime-process-multipart):
7834 Do not confuse a multipart message with an epilogue
7835 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7836
7837 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7838
7839 Fix shell output retrieval and comint-prompt-regexp init.
7840 * progmodes/python.el (inferior-python-mode):
7841 (python-shell-make-comint): Fix initialization of
7842 comint-prompt-regexp from copied file local variables.
7843 (python-shell-fetched-lines): Remove var.
7844 (python-shell-output-filter-in-progress): Rename from
7845 python-shell-fetch-lines-in-progress.
7846 (python-shell-output-filter-buffer): Rename from
7847 python-shell-fetch-lines-string.
7848 (python-shell-fetch-lines-filter): Delete function.
7849 (python-shell-output-filter): New function.
7850 (python-shell-send-string-no-output): Use them.
7851
7852 2012-10-07 Glenn Morris <rgm@gnu.org>
7853
7854 * hi-lock.el (hi-lock-process-phrase):
7855 Try to make it less fragile. (Bug#7161)
7856
7857 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7858
7859 2012-10-06 Glenn Morris <rgm@gnu.org>
7860
7861 * ehelp.el (electric-help-mode): Use help-mode rather than
7862 non-existent mode `help'.
7863 (electric-help-map): Use button-buffer-map. (Bug#10917)
7864
7865 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7866 (reftex-create-bibtex-footer): Fix custom types.
7867
7868 * progmodes/sh-script.el (sh-indent-after-continuation):
7869 Add explicit :group.
7870
7871 * textmodes/rst.el (rst-preferred-decorations)
7872 (rst-shift-basic-offset): Clarify obsolescence versions.
7873
7874 * profiler.el (profiler): Add missing group :version tag.
7875 * avoid.el (mouse-avoidance-banish-position):
7876 * proced.el (proced-renice-command):
7877 * calc/calc.el (calc-ensure-consistent-units):
7878 * calendar/icalendar.el (icalendar-import-format-uid):
7879 * net/tramp.el (tramp-save-ad-hoc-proxies):
7880 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7881 * progmodes/flymake.el (flymake-error-bitmap)
7882 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7883 * progmodes/sh-script.el (sh-indent-after-continuation):
7884 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7885 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7886 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7887 (vhdl-array-index-record-field-in-sensitivity-list)
7888 (vhdl-indent-comment-like-next-code-line):
7889 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7890 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7891 (reftex-cite-key-separator, reftex-create-bibtex-header)
7892 (reftex-create-bibtex-footer):
7893 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7894 (rst-indent-literal-normal, rst-indent-literal-minimized)
7895 (rst-indent-comment): Add missing custom :version tags.
7896
7897 * calendar/timeclock.el (timeclock-modeline-display):
7898 Add missing obsolete alias for renamed user option.
7899
7900 * strokes.el (strokes-modeline-string):
7901 * emulation/crisp.el (crisp-mode-modeline-string):
7902 * eshell/esh-mode.el (eshell-status-in-modeline):
7903 Aliases to defcustoms must come before the defcustom.
7904
7905 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7906 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7907 (cal-tex-cursor-week-monday): Doc fixes.
7908 (cal-tex-cursor-week2-summary): Doc fix.
7909 Rename from cal-tex-cursor-week-at-a-glance.
7910
7911 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7912 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7913
7914 * calendar/calendar.el (calendar-mode-map):
7915 Add cal-tex-cursor-week2-summary.
7916
7917 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7920
7921 * subr.el (read-passwd-map): New var.
7922 (read-passwd): Use `read-string' again.
7923 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7924
7925 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7926
7927 * register.el (append-to-register, prepend-to-register):
7928 Deactivate mark, as does `copy-to-register' (bug#12389).
7929
7930 2012-10-06 Chong Yidong <cyd@gnu.org>
7931
7932 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7933
7934 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7935
7936 * international/characters.el: Fix simple mistake ((car chars) ->
7937 elt), delete duplicated code.
7938
7939 2012-10-06 Glenn Morris <rgm@gnu.org>
7940
7941 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7942
7943 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7944
7945 * color.el (color-hsl-to-rgb): Fix incorrect results for
7946 small and large hue values. (Bug#12559)
7947
7948 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7949
7950 Enhancements to docstring formatting when filling paragraphs.
7951 * progmodes/python.el (python-fill-docstring-style): Rename from
7952 python-fill-string-style. Added new style.
7953 (python-fill-string): Use new style. Better checks for
7954 docstrings.
7955
7956 2012-10-05 Glenn Morris <rgm@gnu.org>
7957
7958 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7959
7960 * color.el (color-name-to-rgb, color-rgb-to-hex)
7961 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7962 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7963 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7964 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7965
7966 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7967
7968 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7971 to get the correct size across symlinks.
7972
7973 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7974
7975 2012-10-04 Juri Linkov <juri@jurta.org>
7976
7977 * replace.el (query-replace-interactive): Declare obsolete.
7978 (query-replace-read-from): Add the last incremental search string
7979 to the list of default values accessible via M-n.
7980 (map-query-replace-regexp): Use `read-regexp'.
7981 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7982 (map-query-replace-regexp, replace-string, replace-regexp):
7983 Fix docstrings to replace mentions of `query-replace-interactive'
7984 with alternatives. (Bug#12526)
7985
7986 2012-10-04 Juri Linkov <juri@jurta.org>
7987
7988 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7989 (dired-pop-to-buffer): Declare obsolete.
7990 (dired-mark-pop-up): Doc fix.
7991
7992 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7993
7994 Allow user to set docstring style for fill-paragraph.
7995 * progmodes/python.el
7996 (python-fill-comment-function, python-fill-string-function)
7997 (python-fill-decorator-function, python-fill-paren-function):
7998 Remove :safe for defcustoms.
7999 (python-fill-string-style): New defcustom
8000 (python-fill-paragraph-function): Enhance context detection.
8001 (python-fill-string): Honor python-fill-string-style settings.
8002
8003 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8004
8005 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8006 after setting its buffer (Bug#10805).
8007
8008 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8009
8010 Fix cornercase for string syntax.
8011 * progmodes/python.el (python-syntax-propertize-function):
8012 Simplify and enhance the regexp for unescaped quotes. Now it also
8013 matches quotes in weird situations like the single quote in
8014 "something\"'".
8015 (python-syntax-stringify): Simplify num-quotes detecting code.
8016
8017 2012-10-03 Glenn Morris <rgm@gnu.org>
8018
8019 * help-macro.el (three-step-help):
8020 Revert 2012-09-29 change. (Bug#12567)
8021
8022 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8023
8024 * menu-bar.el (kill-this-buffer): Don't do anything when
8025 `menu-frame' is not alive or visible (Bug#8184).
8026
8027 * emacs-lisp/debug.el (debug): When quitting the debugger window
8028 restore current buffer (Bug#12502).
8029
8030 2012-10-02 Chong Yidong <cyd@gnu.org>
8031
8032 * progmodes/hideif.el (hif-lookup, hif-defined):
8033 Handle semantic-c-takeover-hideif.
8034
8035 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8036
8037 Change sampling interval units from ms to ns.
8038 * profiler.el (profiler-sampling-interval): Change units
8039 from ms to ns, multiplying the default by 1000000 so that
8040 it remains 1 ms.
8041 (profiler-report-cpu-line-format): Give enough room for
8042 the maximum counters on 64-bit hosts.
8043 (profiler-report-render-calltree-1): Call them "CPU samples",
8044 not "Time (ms)", since they are not milliseconds now (and
8045 never really were).
8046
8047 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8048
8049 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8050 Fix querying BBDB for entries without a last name (Bug#11580).
8051
8052 2012-10-02 Chong Yidong <cyd@gnu.org>
8053
8054 * emacs-lisp/eieio.el: Restore Version header.
8055
8056 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * vc/diff-mode.el (diff--auto-refine-data): New var.
8059 (diff-hunk): Use it to delay refinement.
8060 (diff-mode): Remove overlays when we turn off font-lock.
8061
8062 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8063 (table-initialize-table-fixed-width-mode)
8064 (table-set-table-fixed-width-mode): Remove functions.
8065 (table-command-list): Move initialization into declaration.
8066 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8067 (table-with-cache-buffer): Use `declare'.
8068 (table-span-cell): Simplify via CSE.
8069 (table-fixed-width-mode): Use define-minor-mode.
8070 (table-call-interactively, table-funcall, table-apply): Remove.
8071 (table-function): New function, to replace them.
8072
8073 * bookmark.el (bookmark-search-pattern): Remove var.
8074 (bookmark-read-search-input): Remove function.
8075 (bookmark-bmenu-search): Reimplement using a minibuffer.
8076
8077 * faces.el (modeline): Remove obsolete face name.
8078
8079 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8080 and give a non-nil default value.
8081 (add-change-log-entry): Simplify accordingly.
8082
8083 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8084
8085 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8086 (vc-git-log-edit-toggle-amend): New function.
8087 (vc-git-log-edit-toggle-signoff): New function.
8088 (vc-git-log-edit-mode): New major mode.
8089 (vc-git-log-edit-mode-map): Keymap for it.
8090 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8091
8092 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8093 header names.
8094 (log-edit-toggle-header): New function.
8095 (log-edit-extract-headers): Accept function values in HEADERS alist.
8096
8097 2012-10-01 David Engster <deng@randomsample.de>
8098
8099 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8100 from symbol property and change message to be more consistent with
8101 Emacs proper.
8102 (eieio-describe-generic): Add filename for each implementation.
8103 Fix indices for generic and normal methods.
8104 (eieio-method-def, eieio-class-def): New buttons.
8105 (eieio-help-find-method-definition)
8106 (eieio-help-find-class-definition): New functions.
8107 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8108 class, constructor and method definitions.
8109
8110 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8111 information in symbol property.
8112 (scoped-class): Remove.
8113 (eieio-slot-name-index, call-next-method): Check if it is bound.
8114
8115 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8116
8117 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8118 (eieio-custom-mode): New major mode.
8119 (eieio-customize-object): Use it.
8120
8121 2012-10-01 Eric Ludlam <zappo@gnu.org>
8122
8123 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8124 specifying the expected class, and whether subclassing is allowed.
8125 (eieio-persistent-convert-list-to-object):
8126 (eieio-persistent-validate/fix-slot-value)
8127 (eieio-persistent-slot-type-is-class-p): New functions.
8128 (eieio-named::slot-missing): Doc fix.
8129
8130 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8131 Stop using unused publd variable.
8132
8133 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8134 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8135 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8136 (eieio-speedbar-handle-click): Do not specify a class for the
8137 method. Fixes method invocation order problems with EDE.
8138
8139 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8142 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8143
8144 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8145
8146 * bookmark.el (bookmark-version-control): Give tags in the
8147 :type choices (Bug#12309), and improve doc string.
8148 (bookmark-write-file): Bind `print-circle' to `t' to allow
8149 circular custom bookmark types. (Bug#12503)
8150
8151 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8152
8153 Revert the FOLLOW-SYMLINKS change for file-attributes.
8154 * files.el (remote-file-name-inhibit-cache, after-find-file):
8155 * time.el (display-time-file-nonempty-p): Undo last change.
8156
8157 * profiler.el (profiler-sampling-interval): Change default back to 1.
8158 See Stefan Monnier in
8159 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8160
8161 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8162
8163 Shell output catching a la gud-gdb.
8164 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8165 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8166 New Vars.
8167 (python-shell-fetch-lines-filter): New function.
8168 (python-shell-send-string-no-output): Use them.
8169
8170 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8171
8172 * profiler.el (profiler-sampling-interval): Rename from
8173 profiler-sample-interval.
8174 (profiler-sampling-interval): Default to 10.
8175 (profiler-find-profile): New command (was profiler-find-log).
8176 (profiler-find-profile-other-window): New command.
8177 (profiler-find-profile-other-frame): New command.
8178 (profiler-profile): Introduce API-level data structure.
8179
8180 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8181
8182 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8183 * files.el (remote-file-name-inhibit-cache):
8184 * time.el (display-time-file-nonempty-p): Use it.
8185 * files.el (after-find-file): Don't chase links before calling
8186 file-exists-p, as file-exists-p already does the right thing.
8187
8188 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8189
8190 Merge from standalone RefTeX repository.
8191
8192 The following ChangeLog entries are shortened versions of the
8193 original ones with file paths adapted. A not so strongly edited
8194 version of the original ChangeLog can be found in the commit log.
8195
8196 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8197 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8198 Correctly handle new value type returned by `reftex-citation'.
8199
8200 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8201 that entries with whitespace at various places are found.
8202 Doc fix. Include entries that are cross-referenced from cited entries.
8203 Include @String definitions in the resulting bib file. Add header
8204 and footer defined in `reftex-create-bibtex-header' and
8205 `reftex-create-bibtex-footer'.
8206 (reftex-do-citation): Make it possible again to insert
8207 non-existent entries. Save match data when asking for optional
8208 arguments. Return all keys, not just the first one.
8209 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8210 all citations in the same line.
8211 (reftex-parse-bibtex-entry): Accept additional optional argument
8212 `raw' and keep quotes or braces if it is non-nil. Match fields
8213 containing hyphens besides word constituents.
8214 (reftex-get-string-refs): New function.
8215 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8216 and ask if it should be reread in case it did.
8217 (reftex-pop-to-bibtex-entry)
8218 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8219 entries with spaces or tabs in front of arguments.
8220 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8221 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8222 Match entries containing numbers and symbol constituents.
8223 (reftex-do-citation, reftex-figure-out-cite-format):
8224 Use `reftex-cite-key-separator'.
8225
8226 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8227 (reftex-mouse-view-crossref): Explain why point is set.
8228
8229 * textmodes/reftex-global.el: Whitespace changes.
8230
8231 * textmodes/reftex-index.el: Move provide statement to end of
8232 file.
8233 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8234 (reftex-index-visit-phrases-buffer): Set marker when visiting
8235 buffer. This allows for returning from the phrases file to the
8236 file one was just editing instead of the file where the last
8237 phrases was added from.
8238 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8239 punctuation syntax as it usually is not used as string quote in
8240 TeX-related modes and may occur unmatched. The change also
8241 prevents fontification of quoted content.
8242 (reftex-index-phrases-mode): Use it.
8243
8244 * textmodes/reftex-parse.el (reftex-parse-from-file):
8245 Move backward one char if a `\' was matched after a section macro.
8246 (reftex-parse-from-file): Use beginning of match instead of end as
8247 bound.
8248
8249 * textmodes/reftex-ref.el: Adapt creation of
8250 `reftex-<package>-<macro>' functions to new structure of
8251 `reftex-ref-style-alist'.
8252 (reftex-reference): Use `reftex-ref-style-list' function.
8253 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8254 reference macro if `reftex-ref-macro-prompt' is non-nil.
8255 (reftex-reference): Pass refstyle to `reftex-format-special'.
8256 Determine reference macro by looking at
8257 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8258 Use only one special format function.
8259 (reftex-varioref-vref, reftex-fancyref-fref)
8260 (reftex-fancyref-Fref): Remove definitions. The functions are now
8261 generated from `reftex-ref-style-alist'.
8262 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8263 Remove.
8264 (reftex-format-special): New function.
8265
8266 * textmodes/reftex-sel.el
8267 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8268 of `reftex-ref-style-alist'. Remove code for testing macro type.
8269 (reftex-select-toggle-varioref)
8270 (reftex-select-toggle-fancyref): Remove.
8271 (reftex-select-cycle-ref-style-internal)
8272 (reftex-select-cycle-ref-style-forward)
8273 (reftex-select-cycle-ref-style-backward): New functions.
8274 (reftex-select-label-map): Use `v' and `V' for general cycling
8275 through reference styles. Add `p' for switching between number
8276 and page reference types.
8277
8278 * textmodes/reftex-toc.el (reftex-re-enlarge):
8279 Call `enlarge-window' only if there is something to do because in Emacs
8280 the horizontal version throws an error even if the parameter is 0.
8281
8282 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8283 (reftex-plug-into-AUCTeX): Doc fix.
8284 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8285 string. Adapt to new name.
8286 (reftex-ref-style-alist): Change structure so that it is not
8287 possible to use multiple different package names within a style.
8288 Remove the symbols for symbols for macro type distinction.
8289 Add characters for macro selection.
8290 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8291 (reftex-create-bibtex-footer): New variables.
8292 (reftex-format-ref-function): Mention third argument of special
8293 format function.
8294 (reftex-ref-style-alist, reftex-ref-style-default-list):
8295 New variables.
8296 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8297 to new implementation. Mark as obsolete. Add compatibility code
8298 for honoring the variable values in case they are set.
8299 (reftex-cite-format-builtin, reftex-bibliography-commands):
8300 Add support for ConTeXt.
8301 (reftex-format-ref-function, reftex-format-cite-function):
8302 Fix custom type.
8303 (reftex-cite-key-separator): New variable.
8304
8305 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8306 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8307 `reftex-syntax-table' because parens have to retain their paren
8308 syntax in order for parsing of BibTeX entries like @book(...) to
8309 work.
8310 (reftex-in-comment): Do not error out if `comment-start-skip' is
8311 not set. Deal correctly with escaped comment characters.
8312 (reftex-tie-multifile-symbols): Add doc string.
8313 Initialize `reftex-ref-style-list'.
8314 (reftex-untie-multifile-symbols): Add doc string.
8315 (reftex-add-index-macros): Doc fix.
8316 (reftex-ref-style-activate, reftex-ref-style-toggle)
8317 (reftex-ref-style-list): New functions.
8318 (reftex-mode-menu): Use them. Adapt to new structure of
8319 `reftex-ref-style-alist'.
8320 (reftex-select-with-char): Kill the RefTeX Select buffer when
8321 done.
8322 (reftex-remove-if): New function.
8323 (reftex-erase-all-selection-and-index-buffers)
8324 (reftex-mode-menu): Reference styles are now computed from
8325 `reftex-ref-style-alist'. Fix typo.
8326 (reftex-report-bug): New function.
8327 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8328 algorithms with O(n log n). Introduce optional argument SORT (not
8329 yet used).
8330
8331 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8332
8333 Enhancements for triple-quote string syntax.
8334 * progmodes/python.el (python-syntax-propertize-function):
8335 Match both quote cases in one regexp.
8336 (python-syntax-stringify): Handle matches properly.
8337
8338 2012-09-30 Juri Linkov <juri@jurta.org>
8339
8340 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8341 to nil around the call to `insert' to prevent
8342 directory time modification by lock_file. (Bug#2295)
8343 * tar-mode.el (tar-summarize-buffer): Idem.
8344
8345 2012-09-30 Juri Linkov <juri@jurta.org>
8346
8347 * facemenu.el (list-colors-sort): Add option "Luminance".
8348 (list-colors-sort-key): Implement it.
8349
8350 * vc/diff-mode.el (diff-refine-removed):
8351 * vc/ediff-init.el (ediff-fine-diff-A):
8352 * vc/smerge-mode.el (smerge-refined-removed):
8353 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8354
8355 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8356
8357 * term/ns-win.el (x-file-dialog): New function.
8358
8359 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8360
8361 * ido.el (ido-max-directory-size): Default to nil; the current
8362 default is small for POSIX systems, and impractical on Windows 7
8363 now that lstat returns directory sizes for NTFS.
8364
8365 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8366
8367 In buffer display functions handle window-height/window-width
8368 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8369 * window.el (window--display-buffer): New argument ALIST.
8370 Obey window-height and window-width alist entries.
8371 (window--try-to-split-window): New argument ALIST.
8372 Bind window-combination-limit to t when the window's size shall be
8373 changed and window-combination-limit equals `window-size'.
8374 (display-buffer-in-atom-window)
8375 (display-buffer-in-major-side-window)
8376 (display-buffer-in-side-window, display-buffer-same-window)
8377 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8378 (display-buffer-pop-up-window, display-buffer-below-selected)
8379 (display-buffer-at-bottom, display-buffer-in-previous-window)
8380 (display-buffer-use-some-window): Adjust all callers of
8381 window--display-buffer and window--try-to-split-window.
8382 (fit-frame-to-buffer): New option.
8383 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8384 is non-nil.
8385 (display-buffer-in-major-side-window): Evaluate window-height /
8386 window-width alist entries.
8387
8388 * help.el (temp-buffer-resize-frames)
8389 (temp-buffer-resize-regexps): Remove options.
8390 (temp-buffer-resize-mode): Adjust doc-string.
8391 (resize-temp-buffer-window): Don't consult
8392 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8393 temp-buffer-resize-frames.
8394
8395 * dired.el (dired-mark-pop-up):
8396 Call display-buffer-below-selected with a fit-window-to-buffer alist
8397 entry.
8398
8399 2012-09-30 Chong Yidong <cyd@gnu.org>
8400
8401 * server.el (server-host): Document the security implications.
8402 (server-auth-key): Doc fix.
8403
8404 * startup.el (initial-buffer-choice): Doc fix.
8405
8406 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8407
8408 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8409 restriction change.
8410
8411 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8412
8413 * help-fns.el (help-fns--obsolete): Fix last change.
8414
8415 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8418 (minor-mode-map-alist): Remove redundant code.
8419
8420 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8421 visited in a buffer.
8422 (cvs-insert-visited-file): New function.
8423 (find-file-hook): Use it.
8424
8425 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8426
8427 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8428 chose face.
8429 (log-edit-empty-buffer-p): Don't require a space after a header.
8430
8431 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8432
8433 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8434
8435 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8436 a proper minor-mode.
8437
8438 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8439
8440 2012-09-29 Glenn Morris <rgm@gnu.org>
8441
8442 * winner.el (winner-mode): Remove variable (let define-minor-mode
8443 handle it).
8444 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8445 Doc fixes.
8446 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8447 (winner-mode): Use define-minor-mode.
8448
8449 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8450 the full definition in loaddefs, rather than duplicating it.
8451
8452 * help-macro.el (three-step-help): No need to autoload defcustom.
8453
8454 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8455 (inferior-lisp-program, inferior-lisp-load-command)
8456 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8457 No need to autoload defcustoms.
8458
8459 * hippie-exp.el (hippie-expand-try-functions-list)
8460 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8461 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8462 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8463 (hippie-expand-only-buffers): No need to autoload defcustoms.
8464 * progmodes/vhdl-mode.el (vhdl-line-expand):
8465 Explicitly load hippie-exp, so it does not get autoloaded
8466 while hippie-expand-try-functions-list is let-bound.
8467
8468 2012-09-28 Glenn Morris <rgm@gnu.org>
8469
8470 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8471
8472 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8473 Only "cl.el" counts as cl these days.
8474
8475 2012-09-28 Juri Linkov <juri@jurta.org>
8476
8477 Display archive errors in the echo area instead of inserting
8478 to the file buffer.
8479
8480 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8481 to STDERR-TEST that can be a regexp matching a successful output.
8482 Create a temporary file and redirect stderr to it. Search for
8483 STDERR-TEST in the stderr output and display it in the echo area
8484 if no match is found.
8485 (archive-extract-by-file): New function like
8486 `archive-extract-by-stdout' but extracting archives to files
8487 and looking for successful matches in stdout. Function body is
8488 mostly copied from `archive-rar-extract'.
8489 (archive-rar-extract): Use `archive-extract-by-file'.
8490 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8491
8492 2012-09-28 Leo Liu <sdl.web@gmail.com>
8493
8494 * pcomplete.el (pcomplete-show-completions):
8495 Use minibuffer-message to make pcomplete usable in minibuffer.
8496
8497 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8498
8499 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * type-break.el: Use lexical-binding.
8502 (type-break-mode): Use define-minor-mode.
8503
8504 * emacs-lisp/pcase.el (pcase--mark-used): New.
8505 (pcase--u1): Use it (bug#12512).
8506
8507 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8508 in load-history with the right file name.
8509
8510 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8511
8512 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8513 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8514 (doc-view-get-bounding-box): Make bounding box slicing work for
8515 ODF and DVI documents.
8516
8517 2012-09-28 Glenn Morris <rgm@gnu.org>
8518
8519 * type-break.el (type-break-mode, type-break-interval)
8520 (type-break-good-rest-interval, type-break-keystroke-threshold):
8521 No need to autoload.
8522 (type-break-good-rest-interval, type-break-keystroke-threshold):
8523 Add :set-after.
8524
8525 2012-09-28 Chong Yidong <cyd@gnu.org>
8526
8527 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8528 Add :version tag.
8529
8530 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8533
8534 2012-09-27 Glenn Morris <rgm@gnu.org>
8535
8536 * faces.el (x-display-name): Declare (for without-x builds).
8537
8538 * linum.el (linum-format): Don't autoload it. Improve :type.
8539
8540 * progmodes/tcl.el: Don't require outline when compiling.
8541 (outline-regexp, outline-level): Declare.
8542 * textmodes/sgml-mode.el: Don't require outline when compiling.
8543 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8544
8545 * term.el (term-ansi-reset):
8546 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8547
8548 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8549 files for RCS and SCCS. (Bug#9781)
8550
8551 2012-09-27 Chong Yidong <cyd@gnu.org>
8552
8553 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8554 change; value should be t.
8555
8556 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * image-mode.el: Use lexical-binding.
8559 (image-mode-winprops): Use t to stand for the window of
8560 a buffer that's not displayed.
8561 * doc-view.el (doc-view-new-window-function): Handle the new
8562 t in winprops.
8563 (doc-view-enlarge): Make it a real nop if the size is not changed.
8564 (doc-view-display): Handle the case where the buffer is not (yet?)
8565 displayed in any window.
8566 (doc-view-saved-settings): New var.
8567 (doc-view-mode): Use it.
8568 (doc-view-fallback-mode): Set it.
8569
8570 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8571 Set lexical-binding.
8572 (minibuffer-eldef-shorten-default): New var.
8573 (minibuffer-default-in-prompt-regexps): Use it for new default.
8574 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8575
8576 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8577
8578 * international/uni-bidi.el:
8579 * international/uni-category.el:
8580 * international/uni-name.el:
8581 * international/uni-numeric.el: Regenerate.
8582
8583 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8584 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * profiler.el: New file.
8587
8588 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8591 (testcover-reinstrument): Simplify with CSE.
8592
8593 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8596
8597 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8598
8599 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8600 (verilog-auto-input, verilog-auto-insert-lisp)
8601 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8602 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8603 (verilog-auto-unused, verilog-auto-wire)
8604 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8605 newline. Reported by Andrew Jones.
8606 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8607 Reported by Brad Dobbie.
8608 (verilog-batch-delete-trailing-whitespace):
8609 Create verilog-batch-delete-trailing-whitespace.
8610 Reported by Brad Dobbie.
8611 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8612 parameters from another module. Reported by Dan Katz.
8613 (verilog-auto, verilog-auto-assign-modport)
8614 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8615 AUTOINOUTMODPORT for UVM interface module shell generation.
8616 Reported by Brad Dobbie.
8617 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8618 standard behavior.
8619 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8620 Reported by Matt Martin.
8621
8622 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8623
8624 * window.el (window--resize-child-windows): When resizing child
8625 windows proportionally, process them in reverse order to
8626 preserve the "when splitting a window the new one gets the odd
8627 line" behavior.
8628 (window--resize-root-window-vertically): When resizing the
8629 minibuffer window try to affect only windows at the bottom of the
8630 frame. (Bug#12419)
8631
8632 2012-09-25 Chong Yidong <cyd@gnu.org>
8633
8634 * subr.el (declare): Doc fix.
8635
8636 * help-fns.el (help-fns--obsolete): Handle macros properly.
8637
8638 2012-09-25 Chong Yidong <cyd@gnu.org>
8639
8640 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8641 this function obsolete.
8642
8643 * calendar/cal-x.el (calendar-two-frame-setup)
8644 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8645 * calendar/calendar.el (american-calendar, european-calendar)
8646 (calendar-for-loop):
8647 * comint.el (comint-dynamic-simple-complete)
8648 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8649 * desktop.el (desktop-load-default):
8650 * dired-x.el (dired-omit-here-always)
8651 (dired-hack-local-variables, dired-default-directory):
8652 * emacs-lisp/derived.el (derived-mode-class):
8653 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8654 * emacs-lock.el (toggle-emacs-lock):
8655 * epa.el (epa-display-verify-result):
8656 * epg.el (epg-sign-keys, epg-start-sign-keys)
8657 (epg-passphrase-callback-function):
8658 * eshell/esh-util.el (eshell-for):
8659 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8660 (eshell-add-to-window-buffer-names):
8661 * files.el (locate-file-completion):
8662 * imenu.el (imenu-example--create-c-index)
8663 (imenu-example--create-lisp-index)
8664 (imenu-example--lisp-extract-index-name)
8665 (imenu-example--name-and-position):
8666 * international/mule-cmds.el (princ-list):
8667 * international/mule-diag.el (decode-codepage-char):
8668 * international/mule-util.el (detect-coding-with-priority):
8669 * iswitchb.el (iswitchb-read-buffer):
8670 * mail/mailalias.el (mail-complete):
8671 * mail/sendmail.el (mail-sent-via):
8672 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8673 (mouse-major-mode-menu):
8674 * password-cache.el (password-read-and-add):
8675 * pcomplete.el (pcomplete-parse-comint-arguments):
8676 * progmodes/sh-script.el (sh-maybe-here-document):
8677 * replace.el (query-replace-regexp-eval):
8678 * savehist.el (savehist-load):
8679 * simple.el (choose-completion-delete-max-match):
8680 * term.el (term-dynamic-simple-complete):
8681 * vc/ediff-init.el (ediff-check-version):
8682 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8683 * vc/vc.el (vc-diff-switches-list):
8684 * view.el (view-return-to-alist-update): Likewise.
8685
8686 * subr.el (eval-next-after-load, makehash, insert-string)
8687 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8688 mark obsolete.
8689 (mode-line-inverse-video): Variable deleted.
8690
8691 * international/mule-util.el (string-to-sequence): Remove.
8692
8693 * calendar/calendar.el (calendar-version):
8694 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8695 (icalendar-convert-diary-to-ical):
8696 * cus-edit.el (custom-mode):
8697 * ansi-color.el (ansi-color-unfontify-region):
8698 * international/latin1-disp.el (latin1-char-displayable-p):
8699 * progmodes/cwarn.el (turn-on-cwarn-mode):
8700 * progmodes/which-func.el (which-func-update-1):
8701 Use define-obsolete-function-alias.
8702
8703 * net/newst-backend.el (newsticker-cache-filename):
8704 * net/newst-treeview.el (newsticker-groups-filename):
8705 Fix incorrect obsolescence declaration.
8706
8707 * allout.el (allout-passphrase-hint-string): Likewise.
8708 (allout-init): Use a declare form to mark obsolete.
8709
8710 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8711 this applies to functions.
8712
8713 * iswitchb.el (iswitchb-read-buffer): Move code of
8714 iswitchb-define-mode-map here, and delete that obsolete function.
8715
8716 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8717 font-lock-reference-face.
8718
8719 2012-09-25 Glenn Morris <rgm@gnu.org>
8720
8721 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8722 Doc fixes.
8723
8724 * eshell/em-term.el (eshell-term-name):
8725 Default to term-term-name. (Bug#12485)
8726
8727 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8728
8729 * progmodes/python.el (python-shell-send-buffer): Better handling
8730 of "if __name__ == '__main__':" conditionals when sending the buffer.
8731
8732 2012-09-24 Glenn Morris <rgm@gnu.org>
8733
8734 * eshell/esh-cmd.el (eshell-find-alias-function):
8735 Tighten up file-name regexp. (Bug#12499)
8736
8737 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8738
8739 Enhancements for triple-quote string syntax.
8740 * progmodes/python.el (python-quote-syntax): Remove.
8741 (python-syntax-propertize-function): New value.
8742 (python-syntax-count-quotes, python-syntax-stringify):
8743 New functions.
8744
8745 2012-09-24 Chong Yidong <cyd@gnu.org>
8746
8747 * mail/supercite.el (sc-version): Remove obsolete function.
8748 (sc-describe): Don't mark as obsolete, since it is bound.
8749 (sc-submit-bug-report): Remove.
8750
8751 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8752 (cvs-commit-buffer-require-final-newline): Remove.
8753 (log-edit-require-final-newline)
8754 (log-edit-changelog-full-paragraphs): Default to t.
8755
8756 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8757 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8758 * vc/vc.el (vc-checkout-carefully): Likewise.
8759
8760 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8761 (emerge-version): Remove.
8762
8763 * progmodes/compile.el (compile-internal): Remove.
8764 (compilation-parse-errors-function): Fix typo.
8765
8766 * international/mule.el (set-char-table-default): Remove.
8767 (set-coding-priority, make-coding-system, generic-char-p)
8768 (charset-list, charset-bytes, charset-id): Use declare to mark
8769 functions as obsolete.
8770
8771 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8772 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8773 * vc/vc-hooks.el (vc-default-registered): Don't use
8774 vc-master-templates.
8775
8776 * font-lock.el (font-lock-reference-face):
8777 Use define-obsolete-variable-alias.
8778
8779 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8780 * calendar/calendar.el (calendar-font-lock-keywords):
8781 * calendar/diary-lib.el (diary-font-lock-keywords)
8782 (diary-fancy-font-lock-keywords):
8783 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8784 * textmodes/reftex-index.el (reftex-insert-index):
8785 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8786 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8787 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8788 * progmodes/prolog.el (prolog-font-lock-keywords):
8789 * progmodes/idlwave.el (idlwave-idl-keywords):
8790 * progmodes/ada-mode.el (ada-font-lock-keywords):
8791 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8792
8793 2012-09-24 Glenn Morris <rgm@gnu.org>
8794
8795 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8796
8797 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8798
8799 * progmodes/python.el (python-indent-line): More consistent cursor
8800 movement behavior.
8801
8802 2012-09-23 Stefan Merten <smerten@oekonux.de>
8803
8804 * textmodes/rst.el: Fix compiler warning.
8805
8806 2012-09-23 Roland Winkler <winkler@gnu.org>
8807
8808 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8809 Transcribe also LaTeX hyphenation.
8810 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8811 bibtex-reformat-previous-options.
8812
8813 2012-09-23 Roland Winkler <winkler@gnu.org>
8814
8815 * proced.el (proced-renice-command): New variable.
8816 (proced-marked-processes): New function.
8817 (proced-with-processes-buffer): New macro.
8818 (proced-send-signal): Use them.
8819 (proced-renice): New command bound to r.
8820
8821 2012-09-23 Roland Winkler <winkler@gnu.org>
8822
8823 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8824 ibuffer-saved-filter-groups has one element, shortcut the call of
8825 completing-read. (Bug#12331)
8826
8827 2012-09-23 Chong Yidong <cyd@gnu.org>
8828
8829 * bindings.el (mode-line-toggle-read-only):
8830 * bs.el (bs-toggle-readonly):
8831 * buff-menu.el (Buffer-menu-toggle-read-only):
8832 * dired.el (dired-toggle-read-only):
8833 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8834
8835 2012-09-23 Chong Yidong <cyd@gnu.org>
8836
8837 * image.el (image-type-available-p): Adapt to init-image-library
8838 argument changes.
8839
8840 2012-09-22 Juri Linkov <juri@jurta.org>
8841
8842 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8843 `dired-toggle-read-only'. (Bug#12462)
8844
8845 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8846
8847 * subr.el (temp-output-buffer-show): New function.
8848 (with-output-to-temp-buffer): Call temp-output-buffer-show
8849 instead of internal-temp-output-buffer-show.
8850
8851 2012-09-22 Chong Yidong <cyd@gnu.org>
8852
8853 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8854 (Bug#12462).
8855
8856 * repeat.el (repeat): Doc fix (Bug#12348).
8857
8858 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8859 (Bug#10909).
8860
8861 * simple.el (shell-command-on-region): Doc fix.
8862 (read-only-mode): Doc fix.
8863
8864 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8865
8866 * emacs-lisp/timer.el (run-with-idle-timer)
8867 (timer-activate-when-idle): Warn against reinvoking an idle timer
8868 from within its own timer action. (Bug#12447)
8869
8870 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8871
8872 * cus-start.el (window-combination-limit): Add new optional
8873 values.
8874 * window.el (temp-buffer-window-show)
8875 (window--try-to-split-window): Handle new values of
8876 window-combination-limit (Bug#1806).
8877 (split-window): Test window-combination-limit for t instead of
8878 non-nil.
8879 (display-buffer-at-bottom): New buffer display action function.
8880 * help.el (temp-buffer-resize-regexps): New option.
8881 (temp-buffer-resize-mode): Rewrite doc-string.
8882 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8883 Don't resize reused window. Suggested by Glenn Morris.
8884
8885 2012-09-22 Stefan Merten <smerten@oekonux.de>
8886
8887 * textmodes/rst.el: Revamp section title faces.
8888 (rst-official-version)
8889 (rst-package-emacs-version-alist): Sync with official version
8890 V1.4.0.
8891 (rst-faces-defaults, rst-set-level-default)
8892 (rst-level-face-max, rst-level-face-base-color)
8893 (rst-level-face-base-light, rst-level-face-format-light)
8894 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8895 (rst-adornment-faces-alist): Match new setup.
8896 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8897 (rst-level-5, rst-level-6): New faces.
8898
8899 2012-09-22 Chong Yidong <cyd@gnu.org>
8900
8901 * simple.el (undo): Handle indirect buffers (Bug#8207).
8902
8903 2012-09-21 Leo Liu <sdl.web@gmail.com>
8904
8905 IDO: Disable match re-ordering for buffer switching.
8906 * ido.el (ido-buffer-disable-smart-matches): New variable.
8907 (ido-set-matches-1): Use it. (Bug#2042)
8908
8909 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8910
8911 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8912 Fix 2011-05-17 change. (Bug#12418)
8913
8914 2012-09-21 Leo Liu <sdl.web@gmail.com>
8915
8916 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8917
8918 2012-09-21 Glenn Morris <rgm@gnu.org>
8919
8920 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8921 Be more robust about locating simple.el.
8922
8923 2012-09-21 Glenn Morris <rgm@gnu.org>
8924
8925 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8926
8927 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8928
8929 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8930
8931 2012-09-20 Juri Linkov <juri@jurta.org>
8932
8933 * replace.el (query-replace-read-from): Use `read-regexp' instead
8934 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8935 (occur-read-primary-args): Use `read-regexp' instead of
8936 `read-string'.
8937 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8938 `read-from-minibuffer'.
8939 * isearch.el (isearch-occur): Use `read-regexp' instead of
8940 `read-string'.
8941 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8942 `read-from-minibuffer'.
8943 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8944 of `read-string'. (Bug#7567)
8945
8946 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8947 and allow accepting a list of strings prepended to a list of
8948 standard default values. Doc fix. (Bug#12321)
8949
8950 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8951
8952 * replace.el (read-regexp): Don't add ": " when PROMPT already
8953 ends with a colon and space. (Bug#12321)
8954
8955 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8956
8957 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8958 error.
8959
8960 2012-09-20 Stefan Merten <smerten@oekonux.de>
8961
8962 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8963 Fixes feature request bug#11711.
8964 (rst-mode): Create `imenu-create-index-function'.
8965 (rst-get-stripped-line): Delete after refactoring.
8966 (rst-section-tree, rst-section-tree-rec)
8967 (rst-section-tree-point): Refactor and document properly.
8968 (rst-imenu-find-adornments-for-position)
8969 (rst-imenu-convert-cell, rst-imenu-create-index):
8970 New function.
8971
8972 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8975 (macroexp--expand-all): Use it.
8976 (macroexp--funcall-and-return): Remove by folding it into its sole
8977 caller (macroexp--warn-and-return).
8978 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8979 Use macroexp--obsolete-warning.
8980
8981 * calc/calc.el: Fix last change by removing the whole chunk, since it
8982 was only needed back when Calc was not bundled.
8983
8984 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8985
8986 * emacs-lisp/debug.el (debug): Restore assignment to
8987 debugger-old-buffer removed on 2012-09-08.
8988
8989 2012-09-20 Juri Linkov <juri@jurta.org>
8990
8991 * dired-aux.el (dired-diff): Remove (require 'diff) since
8992 `diff-latest-backup-file' is now autoloaded.
8993
8994 2012-09-20 Chong Yidong <cyd@gnu.org>
8995
8996 * vc/diff.el (diff-latest-backup-file): Autoload.
8997
8998 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * calc/calc.el: Remove redundant autoload shape check.
9001 (sel-mode): Don't defvar.
9002 (calc-get-stack-element): Add `sel-mode' arg instead.
9003 (calc-top, calc-top-list): Pass it this additional argument.
9004 * calc/calc-store.el (calc-store-map):
9005 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9006 (calc-map-equation, calc-outer-product, calc-inner-product):
9007 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9008
9009 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9010
9011 2012-09-19 Juri Linkov <juri@jurta.org>
9012
9013 * dired-aux.el (dired-diff): Add (require 'diff) because
9014 `diff-latest-backup-file' is not autoloaded.
9015 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9016 of `dired-get-filename' to t to not report error when there is
9017 no default file on the current line.
9018
9019 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9022 macroexp--eval-if-compile.
9023 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9024 (macroexp--expand-all): Use them (bug#12371).
9025
9026 * doc-view.el (doc-view-guess-paper-size)
9027 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9028
9029 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9030
9031 New feature: set optimal slice from BoundingBox information.
9032 * doc-view.el (doc-view-mode-map): Add keybinding.
9033 (doc-view-menu): Add menu entry.
9034 (doc-view-set-slice): Adapt docstring.
9035 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9036 (doc-view-scale-bounding-box)
9037 (doc-view-set-slice-from-bounding-box): New functions.
9038 (doc-view-paper-sizes): New defvar.
9039
9040 2012-09-19 Glenn Morris <rgm@gnu.org>
9041
9042 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9043 (byte-compile-log-warning): Autoload. (Bug#12371)
9044
9045 * calendar/calendar.el (calendar-american-month-header)
9046 (calendar-european-month-header, calendar-iso-month-header)
9047 (calendar-month-header): New options.
9048 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9049 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9050
9051 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9052
9053 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9054
9055 2012-09-18 Juri Linkov <juri@jurta.org>
9056
9057 * dired-aux.el (dired-diff): Restore original functionality of
9058 getting the default value, but keep new feature of using the
9059 latest existing backup file (`diff-latest-backup-file').
9060
9061 2012-09-18 Juri Linkov <juri@jurta.org>
9062
9063 * dired.el (dired-mark): If the region is active in Transient Mark
9064 mode, mark all files in the active region. Doc fix.
9065 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9066 Doc fix. (Bug#10624)
9067
9068 2012-09-18 Juri Linkov <juri@jurta.org>
9069
9070 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9071 attributes for M-n are pulled from the file at point.
9072 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9073 Suggested by Drew Adams. (Bug#10624)
9074
9075 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9076
9077 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9078 whitespace after "end".
9079 (ruby-do-end-to-brace): Collapse block to one line if it fits
9080 within fill-column.
9081
9082 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9083
9084 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9085 value.
9086 (debug): Don't remove debugger window when debugger is expected
9087 to be back.
9088
9089 2012-09-18 Chong Yidong <cyd@gnu.org>
9090
9091 * custom.el (defface): Doc fix.
9092
9093 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9094
9095 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9096
9097 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9098 to initialize query-on-exit; then test that instead (bug#12288).
9099
9100 2012-09-17 Stefan Merten <smerten@oekonux.de>
9101
9102 * textmodes/rst.el: Add support for `testcover'.
9103 (rst-defcustom-testcover, rst-testcover-add-compose)
9104 (rst-testcover-add-1value): New functions.
9105 (rst-portable-mark-active-p): Replace by `use-region-p'.
9106 (rst-update-section, rst-classify-adornment)
9107 (rst-find-title-line): Mark `1value' forms.
9108 (rst-classify-adornment): Remove superfluous form.
9109 (rst-update-section, rst-get-adornments-around)
9110 (rst-adornment-complete-p, rst-get-next-adornment)
9111 (rst-adjust, rst-promote-region)
9112 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9113 (rst-find-pfx-in-region, rst-section-tree-rec)
9114 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9115 (rst-toc-node, rst-toc, rst-forward-section)
9116 (rst-iterate-leftmost-paragraphs)
9117 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9118 (rst-bullet-list-region)
9119 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9120 (rst-compile-find-conf, rst-compile)
9121 (rst-repeat-last-character): Fix style.
9122
9123 2012-09-17 Chong Yidong <cyd@gnu.org>
9124
9125 * comint.el (comint--complete-file-name-data): Don't add a space
9126 if the status is `sole'; that adds a gratuitous space in the
9127 completion-cycling case (Bug#12092).
9128
9129 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9130
9131 2012-09-17 Richard Stallman <rms@gnu.org>
9132
9133 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9134 only in the mime-shown mode, not in raw mode.
9135 (rmail-mime): Toggle off mime by displaying the message without
9136 mime processing. (Bug#12305)
9137
9138 * mail/rmail.el (rmail-retry-failure):
9139 Turn off mime processing first. (Bug#12037)
9140
9141 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9142
9143 2012-09-17 Chong Yidong <cyd@gnu.org>
9144
9145 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9146 (shell-dynamic-complete-functions): Convert to defcustom.
9147 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9148
9149 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9150 * comint.el (comint-prompt-read-only):
9151 * custom.el (defcustom):
9152 * hi-lock.el (hi-lock-mode):
9153 * ibuffer.el (ibuffer-formats):
9154 * ielm.el (ielm-prompt-read-only):
9155 * novice.el (disable-command):
9156 * saveplace.el (toggle-save-place):
9157 * speedbar.el (speedbar-supported-extension-expressions):
9158 * startup.el (auto-save-list-file-prefix, init-file-user)
9159 (after-init-hook, inhibit-startup-echo-area-message):
9160 * strokes.el (strokes-help):
9161 * time-stamp.el (time-stamp):
9162 * calendar/calendar.el (calendar, diary-file):
9163 * calendar/diary-lib.el (diary-mail-entries, diary)
9164 (diary-list-entries-hook):
9165 * calendar/holidays.el (holidays, calendar-holidays):
9166 * calendar/lunar.el (lunar-phases):
9167 * calendar/solar.el (sunrise-sunset):
9168 * emulation/edt.el (edt-load-keys):
9169 * emulation/viper.el (viper-mode):
9170 * eshell/em-alias.el (eshell-command-aliases-list):
9171 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9172 * international/ogonek.el (ogonek-information):
9173 * net/tramp-cmds.el (tramp-bug):
9174 * net/quickurl.el (quickurl-reread-hook-postfix):
9175 * play/decipher.el (decipher-font-lock-keywords):
9176 * progmodes/cc-styles.el (c-set-style):
9177 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9178 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9179 * progmodes/octave-mod.el (octave-mode):
9180 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9181 * progmodes/verilog-mode.el (verilog-read-defines):
9182 * textmodes/two-column.el (2C-mode): Likewise.
9183
9184 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9185
9186 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9187 that holds many addresses.
9188
9189 2012-09-16 Chong Yidong <cyd@gnu.org>
9190
9191 * align.el (align-areas): Call the indication function with
9192 positions instead of markers for arguments (Bug#12343).
9193
9194 * files.el (parse-colon-path): Use split-string (Bug#12351).
9195
9196 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9197 (display-buffer-function): Mark as obsolete.
9198
9199 * progmodes/compile.el (compilation-parse-errors): Accept list
9200 values similar to font-lock-keywords (Bug#12136).
9201 Suggested by Oleksandr Manzyuk.
9202 (compilation-error-regexp-alist): Doc fix.
9203
9204 2012-09-15 Glenn Morris <rgm@gnu.org>
9205
9206 * version.el (emacs-bzr-version-bzr): New function.
9207 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9208
9209 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9210 checkouts, check the parent dirstate matches the branch.
9211 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9212 empty string.
9213
9214 * version.el (emacs-bzr-version): Doc fix.
9215 (emacs-bzr-version-dirstate): New function.
9216 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9217 is local try and check that it matches the branch. If not, just
9218 use dirstate information. (Bug#12441)
9219
9220 2012-09-14 Juri Linkov <juri@jurta.org>
9221
9222 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9223 (Bug#12399)
9224
9225 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9228
9229 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9230 Remove obsolete byte-compiler hack that tried to silence some warnings.
9231 (edebug-submit-bug-report): Remove.
9232 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9233 Remove aliases, use the un-prefixed name instead.
9234 (edebug-pop-to-buffer): Consider other frames.
9235 (edebug-original-read):: Make it more obvious that it's always defined.
9236 (edebug--make-form-data-entry, edebug--form-data-name)
9237 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9238 single-dashed name, and implement with cl-defstruct.
9239 (edebug-set-form-data-entry): Use the standard accessors.
9240 (edebug-make-top-form-data-entry): Use push.
9241 (edebug-no-match): Drop useless `funcall'.
9242 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9243 to functions.
9244 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9245 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9246 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9247 (easy-menu-define, with-custom-print): Remove redundant specs.
9248 (edebug-outside-overriding-local-map)
9249 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9250 (edebug--display): Bind unread-command-events directly to nil rather
9251 than binding it to unread-command-events and later setting it to nil.
9252 (edebug--display): Kill edebug-eval-buffer here...
9253 (edebug--recursive-edit): ...rather than here.
9254 Bind standard-output and standard-input.
9255 (edebug-eval): Check cl-macroexpand-all is fboundp.
9256 (edebug-temp-display-freq-count): Fix last change.
9257
9258 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9259 * subr.el (noreturn, 1value): Add `debug' spec.
9260 * emacs-lisp/advice.el: Require cl-lib.
9261 (ad-copy-tree): Remove, use copy-tree instead.
9262 (ad-dolist): Remove use dolist or cl-dolist instead.
9263 (ad-do-return): Remove, use cl-return instead.
9264 (defadvice): Add `debug' spec.
9265
9266 2012-09-13 Juri Linkov <juri@jurta.org>
9267
9268 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9269 (Bug#12399)
9270
9271 2012-09-13 Glenn Morris <rgm@gnu.org>
9272
9273 * calc/calc.el (math-compose-expr):
9274 * calc/calc-ext.el (math-compose-expr):
9275 * progmodes/cc-defs.el (cl-macroexpand-all):
9276 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9277 (cl-macroexpand-all): Update declarations.
9278
9279 * vc/vc.el: No need to require ediff.
9280 (ediff-load-version-control): Declare.
9281 (ediff-vc-internal): Fix declaration.
9282 (vc-version-ediff): Require ediff.
9283
9284 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9285
9286 Use a more backwards-compatible timer format (Bug#12430).
9287 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9288 being right after USECS, as that better supports old code that
9289 inadvisedly looked directly at the timer vector.
9290
9291 2012-09-13 Kenichi Handa <handa@gnu.org>
9292
9293 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9294 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9295 `coding-priority' property of these language environment.
9296
9297 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9298
9299 Fix glitches caused by addition of psec to timers (Bug#12430).
9300 * image.el (image-animate-timer):
9301 * time.el (display-time-world-timer):
9302 Use timer--function and timer--args rather than raw access to
9303 timer vector.
9304
9305 2012-09-13 Glenn Morris <rgm@gnu.org>
9306
9307 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9308 If not compiling a file, try using load-file-name.
9309
9310 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9313 Fix last change.
9314 (edebug-update-eval-list): Use `push'.
9315
9316 * emacs-lisp/edebug.el: Use lexical-binding.
9317 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9318 Mark unused args with underscore.
9319 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9320 (edebug-form-data): Use defvar-local.
9321 (edebug-make-before-and-after-form, edebug-make-after-form):
9322 Use backquote.
9323 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9324 Not dynamically scoped any more.
9325 (edebug--enter-trace): Add arguments `function' and `args'.
9326 Rename from edebug-enter-trace.
9327 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9328 (edebug--update-coverage): Add `after-index' and `value' args.
9329 Rename from edebug-update-coverage.
9330 (edebug-slow-after): Call it accordingly.
9331 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9332 edebug-recursive-edit.
9333 (edebug--display): Call it accordingly. Add args `value',
9334 `offset-index', and `arg-mode'. Rename from edebug-display.
9335 (edebug-debugger, edebug): Call it accordingly.
9336 (edebug-eval-display-list): Use dolist.
9337
9338 2012-09-12 Juri Linkov <juri@jurta.org>
9339
9340 * info.el (Info-search): Don't check for isearch-mode and
9341 isearch-regexp before let-binding search-spaces-regexp to
9342 Info-search-whitespace-regexp.
9343 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9344 search-whitespace-regexp if isearch-lax-whitespace or
9345 isearch-regexp-lax-whitespace is non-nil.
9346 (Info-mode): Don't set local variable search-whitespace-regexp.
9347 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9348
9349 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9352 (debugger-env-macro): Remove support for unread-command-char.
9353
9354 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9355 the temporary map re-appearing on emulation-mode-map-alists.
9356
9357 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9358 since 22.1.
9359
9360 * ehelp.el (with-electric-help): Accept functions in
9361 electric-help-form-to-execute.
9362 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9363 And replace unread-command-char -> unread-command-events.
9364
9365 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9366
9367 Sync with Tramp 2.2.6.
9368
9369 * net/tramp.el (tramp-accept-process-output): Don't use
9370 JUST-THIS-ONE in the XEmacs case.
9371
9372 * net/trampver.el: Update release number.
9373
9374 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9375
9376 * emacs-lisp/debug.el (debugger-previous-window-height):
9377 New variable.
9378 (debug): When debugger-jumping-flag is non-nil try to restore
9379 height of debugger window. (Bug#8789)
9380
9381 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9384 overriding-local-map and pre/post-command-hook here.
9385 (edebug-recursive-edit): Do it here instead (bug#12345).
9386 (edebug-outside-unread-command-char): Remove all uses of
9387 unread-command-char.
9388
9389 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9390 inhibit-debugger is bound instead.
9391
9392 2012-09-11 Bastien Guerry <bzg@gnu.org>
9393
9394 * subr.el (set-temporary-overlay-map): Add a docstring.
9395 (Bug#12346)
9396
9397 2012-09-11 Bastien Guerry <bzg@gnu.org>
9398
9399 * minibuffer.el (completion-table-subvert): Fix docstring.
9400 (Bug#12347)
9401
9402 2012-09-11 Bastien Guerry <bzg@gnu.org>
9403
9404 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9405
9406 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9407
9408 * progmodes/sql.el: Version 3.1
9409 (sql-db2-escape-newlines): New variable.
9410 (sql-escape-newlines-filter): Use it.
9411
9412 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9413
9414 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9415
9416 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9417
9418 * vc/diff-mode.el (diff-mode-menu):
9419 Bind diff-remove-trailing-whitespace.
9420
9421 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9424 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9425 (emacs-lisp-byte-code-mode): New functions.
9426 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9427 (eval-defun-2): Remove bogus interactive spec.
9428 (lisp-indent-line): Remove redundant whole-exp code, now done in
9429 indent-according-to-mode.
9430 (save-match-data): Remove redundant indent data.
9431
9432 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9433 Use `declare'.
9434
9435 2012-09-09 Juri Linkov <juri@jurta.org>
9436
9437 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9438 (replace-lax-whitespace, query-replace-regexp)
9439 (query-replace-regexp-eval, replace-regexp): Doc fix.
9440 (perform-replace, replace-highlight): Let-bind
9441 isearch-lax-whitespace to replace-lax-whitespace and
9442 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9443
9444 * isearch.el (isearch-query-replace): Let-bind
9445 replace-lax-whitespace to isearch-lax-whitespace and
9446 replace-regexp-lax-whitespace to
9447 isearch-regexp-lax-whitespace. (Bug#10885)
9448
9449 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9452
9453 2012-09-09 Alan Mackenzie <acm@muc.de>
9454
9455 * progmodes/cc-engine.el (c-state-cache-init):
9456 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9457 (c-record-parse-state-state):
9458 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9459
9460 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9461
9462 * register.el (register-separator): Rename from
9463 separator-register. All uses changed. Doc fix.
9464 (register): Fix version.
9465
9466 2012-09-09 Chong Yidong <cyd@gnu.org>
9467
9468 * replace.el (query-replace-map): Bind four new symbols for
9469 requesting window scrolling.
9470
9471 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9472 query-replace-map (Bug#8948).
9473
9474 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9475
9476 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9477 since they are now in query-replace-map.
9478
9479 * window.el (scroll-other-window-down): Make the arg optional.
9480
9481 2012-09-09 Chong Yidong <cyd@gnu.org>
9482
9483 * files.el (hack-local-variables-confirm): Use quit-window to kill
9484 the *Local Variables* buffer.
9485
9486 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9487
9488 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9489 not just expect to be at its beginning. Adjust callees.
9490 Succeed when do-end block has no space before the pipe character.
9491 (ruby-brace-to-do-end): When the original block is one-liner,
9492 convert to multiline. Reindent the result.
9493
9494 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9495
9496 * register.el (register): New group.
9497 (separator-register): New user option.
9498 (increment-register): Route it to `append-to-register', if
9499 register contains text. Implication is that `C-x r +' can now be
9500 used for appending to a text register (bug#12217).
9501 (append-to-register, prepend-to-register): Add separator based on
9502 `separator-register'.
9503
9504 2012-09-08 Alan Mackenzie <acm@muc.de>
9505
9506 AWK Mode: make auto-newline work when there's "==" in the pattern.
9507 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9508 correctly.
9509 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9510 Test more rigorously for "=" token.
9511
9512 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9513
9514 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9515 Only fail when reached LIMIT.
9516
9517 2012-09-08 Chong Yidong <cyd@gnu.org>
9518
9519 * dired.el (dired-mode-map): Don't bind M-=.
9520
9521 * dired-aux.el (dired-diff): Use backup file as default.
9522
9523 2012-09-08 Drew Adams <drew.adams@oracle.com>
9524
9525 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9526
9527 2012-09-08 Chong Yidong <cyd@gnu.org>
9528
9529 * subr.el (syntax-after, syntax-class): Doc fix.
9530
9531 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9532
9533 * window.el (display-buffer-in-previous-window): New buffer
9534 display action function.
9535
9536 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9537 (debugger-previous-window): New variable.
9538 (debug): Rewrite using display-buffer-in-previous-window,
9539 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9540
9541 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9544
9545 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9546
9547 * progmodes/python.el (python-shell-send-string):
9548 When default-directory is remote, create temp file on remote
9549 filesystem.
9550 (python-shell-send-file): When file is remote, pass local view of
9551 file paths to remote Python interpreter. (Bug#12340)
9552
9553 2012-09-07 Chong Yidong <cyd@gnu.org>
9554
9555 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9556
9557 * files.el (after-find-file): Don't fail on a read-only buffer if
9558 require-final-newline is `visit' or `visit-save' (Bug#11156).
9559
9560 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9561
9562 * userlock.el (ask-user-about-supersession-threat):
9563 Use read-char-choice (Bug#12093).
9564
9565 2012-09-07 Chong Yidong <cyd@gnu.org>
9566
9567 * subr.el (buffer-narrowed-p): New function.
9568
9569 * ses.el (ses-widen):
9570 * simple.el (count-words--buffer-message):
9571 * net/browse-url.el (browse-url-of-buffer): Use it.
9572
9573 * simple.el (count-words-region): Don't signal an error if there
9574 is a non-nil prefix arg and the mark is not set.
9575
9576 * help.el (describe-key-briefly): Allow the message to be seen
9577 when invoked from the minibuffer (Bug#7014).
9578
9579 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9580
9581 * progmodes/ruby-mode.el (ruby-end-of-defun)
9582 (ruby-beginning-of-defun): Simplify, allow indentation before
9583 block beginning and end keywords.
9584 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9585 (ruby-end-of-defun): Expect that the point is at the beginning of
9586 the defun.
9587
9588 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9591 (bug#12367).
9592 (cl--make-usage-args): Strip _ from argument names.
9593
9594 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9595
9596 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9597 obsolete alias speedbar-key-map.
9598 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9599 (vhdl-index-menu-init): Don't use obsolete variable
9600 font-lock-maximum-size.
9601
9602 2012-09-06 Chong Yidong <cyd@gnu.org>
9603
9604 * frame.el (window-system-version): Mark as obsolete.
9605
9606 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9607 of obsolete variable speedbar-key-map.
9608
9609 2012-09-06 Juri Linkov <juri@jurta.org>
9610
9611 * replace.el (replace-lax-whitespace): New defcustom.
9612 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9613 (replace-string, replace-regexp): Mention it in docstrings.
9614 (perform-replace, replace-highlight): Let-bind
9615 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9616 to the values of replace-lax-whitespace and regexp-flag.
9617 Don't let-bind search-whitespace-regexp. (Bug#10885)
9618
9619 * isearch.el (isearch-query-replace): Let-bind
9620 replace-lax-whitespace instead of let-binding
9621 replace-search-function and replace-re-search-function.
9622 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9623 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9624 (isearch-toggle-symbol): Set isearch-regexp to nil
9625 in isearch-word mode (like in isearch-toggle-word).
9626
9627 2012-09-06 Juri Linkov <juri@jurta.org>
9628
9629 * replace.el (replace-search-function)
9630 (replace-re-search-function): Set default values to nil.
9631 (perform-replace): Let-bind isearch-related variables based on
9632 replace-related values, call `isearch-search-fun' and let-bind
9633 the result to `search-function'. Remove code that sets
9634 `search-function' and `search-string' separately for
9635 `delimited-flag'.
9636 (replace-highlight): Add new argument `delimited-flag' and
9637 rename other arguments to the names used in `perform-replace'.
9638 Let-bind `isearch-word' to the argument `delimited-flag'.
9639 (Bug#10885, bug#10887)
9640
9641 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9642
9643 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9644 ruby-beginning-of-indent, simplify, allow all keywords to have
9645 indentation before them.
9646 (ruby-beginning-of-indent): Adjust for above. Search until the
9647 found point is not inside a string or comment.
9648 (ruby-font-lock-keywords): Allow symbols to start with "@"
9649 character, give them higher priority than variables.
9650 (ruby-syntax-propertize-function)
9651 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9652 matchers. Expression expansions are not comments when inside a
9653 string, and there comment syntax status is irrelevant.
9654 (ruby-match-expression-expansion): New function. Check that
9655 expression expansion is inside a string, and it's not escaped.
9656 (ruby-font-lock-keywords): Use it.
9657
9658 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9659
9660 * help.el (temp-buffer-max-height): New default value.
9661 (temp-buffer-resize-frames): New option.
9662 (resize-temp-buffer-window): Optionally resize frame.
9663
9664 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9665 (fit-frame-to-buffer): New function.
9666
9667 2012-09-05 Glenn Morris <rgm@gnu.org>
9668
9669 * emulation/cua-rect.el (cua--init-rectangles):
9670 * textmodes/picture.el (picture-mode-map):
9671 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9672 like forward-char and backward-char. (Bug#12317)
9673
9674 2012-09-05 Leo Liu <sdl.web@gmail.com>
9675
9676 * progmodes/flymake.el (flymake-warning-re): New variable.
9677 (flymake-parse-line): Use it.
9678
9679 2012-09-05 Glenn Morris <rgm@gnu.org>
9680
9681 * calendar/holidays.el (holiday-christian-holidays):
9682 Rename an entry. (Bug#12289)
9683
9684 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9687 (bug#12222).
9688
9689 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * loadup.el: Load macroexp. Remove hack.
9692 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9693 (macroexp--expand-all): Use it to get better warnings.
9694 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9695 (internal-macroexpand-for-load): New functions.
9696 (macroexp--pending-eager-loads): New var.
9697 (emacs-startup-hook): New hack to replace one in loadup.el.
9698 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9699 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9700 (cl-psetf): Simplify.
9701 (cl-defstruct): Add indent rule.
9702
9703 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9704
9705 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9706 over `user-mail-address' for the SMTP MAIL FROM envelope.
9707 (smtpmail-via-smtp): Ditto.
9708
9709 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9710
9711 * progmodes/ruby-mode.el: Clean up keybindings.
9712 (ruby-mode-map): Don't bind ruby-electric-brace,
9713 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9714 backward-kill-word, reindent-then-newline-and-indent.
9715 (ruby-mark-defun): Remove.
9716 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9717 (ruby-mode): Set local beginning-of-defun-function and
9718 end-of-defun-function values.
9719
9720 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9721
9722 * window.el (temp-buffer-window-setup-hook)
9723 (temp-buffer-window-show-hook): New hooks.
9724 (temp-buffer-window-setup, temp-buffer-window-show)
9725 (with-temp-buffer-window): New functions.
9726 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9727 (special-display-popup-frame): Make sure the window used shows BUFFER.
9728
9729 * help.el (temp-buffer-resize-mode): Fix doc-string.
9730 (resize-temp-buffer-window): New optional argument WINDOW.
9731
9732 * files.el (recover-file, save-buffers-kill-emacs):
9733 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9734
9735 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9736
9737 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9738 remote definition of `default-directory', ensure we can connect.
9739
9740 2012-09-02 Juri Linkov <juri@jurta.org>
9741
9742 Toggle whitespace matching mode with M-s SPC.
9743 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9744
9745 * isearch.el (search-whitespace-regexp): Doc fix.
9746 Remove cons cell customization.
9747 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9748 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9749 New variables.
9750 (isearch-forward, isearch-forward-regexp): Doc fix.
9751 (isearch-toggle-lax-whitespace): New command.
9752 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9753 (re-search-forward-lax-whitespace)
9754 (re-search-backward-lax-whitespace): New functions.
9755 (isearch-whitespace-regexp): Remove function.
9756 (isearch-query-replace): Let-bind replace-search-function and
9757 replace-re-search-function.
9758 (isearch-occur): Let-bind search-spaces-regexp according to the
9759 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9760 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9761 condition for C-q SPC.
9762 (isearch-search-fun-default): Use new functions mentioned above.
9763 (isearch-search-forward, isearch-search-backward): Remove functions.
9764 (isearch-search): Don't let-bind search-spaces-regexp.
9765 (isearch-lazy-highlight-space-regexp): Remove variable.
9766 (isearch-lazy-highlight-lax-whitespace)
9767 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9768 (isearch-lazy-highlight-new-loop): Use them.
9769 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9770
9771 2012-09-02 Chong Yidong <cyd@gnu.org>
9772
9773 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9774
9775 2012-09-02 Glenn Morris <rgm@gnu.org>
9776
9777 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9778
9779 2012-09-01 Glenn Morris <rgm@gnu.org>
9780
9781 * term.el: Tidy up menu definitions.
9782 (term-mode-map): Use easymenu for In/Out, Complete menus.
9783 (term-pager-break-map): Initialize in the defvar.
9784 (term-terminal-menu, term-signals-menu): Define with easymenu.
9785 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9786 (term-pager-menu): New, extracted from term-process-pager.
9787 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9788 (term-update-mode-line): Propertize line/char and page items.
9789 (term-process-pager): Move keymap initialization elsewhere.
9790
9791 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9792
9793 * window.el (switch-to-prev-buffer): Handle additional values of
9794 BURY-OR-KILL argument. Don't switch in minibuffer window.
9795 (switch-to-next-buffer): Don't switch in minibuffer window.
9796 (quit-restore-window): New function based on quit-window.
9797 Handle additional values of former KILL argument.
9798 (quit-window): Call quit-restore-window with appropriate
9799 interpretation of KILL argument.
9800 (display-buffer-below-selected): New buffer display action
9801 function.
9802
9803 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * minibuffer.el (completion-at-point-functions): Complete docstring
9806 (bug#12254).
9807
9808 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9809
9810 Better seed support for (random).
9811 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9812 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9813 * play/mpuz.el, play/tetris.el, play/zone.el:
9814 * calc/calc-comb.el (math-init-random-base):
9815 * play/blackbox.el (bb-init-board):
9816 * play/life.el (life):
9817 * server.el (server-use-tcp):
9818 * type-break.el (type-break):
9819 Remove unnecessary call to (random t).
9820 * net/sasl.el (sasl-unique-id-function):
9821 Change (random t) to (random), now that the latter is more random.
9822 * play/life.el (life-initialized): Remove no-longer-needed var.
9823
9824 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9825
9826 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9827 Consider frame's buffer predicate when choosing the buffer.
9828 (Bug#12081)
9829
9830 2012-08-30 Richard Stallman <rms@gnu.org>
9831
9832 * simple.el (special-mode-map): Delete binding for `z'.
9833
9834 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9835
9836 * progmodes/compile.el (compilation-always-kill): Doc fix.
9837
9838 2012-08-30 Chong Yidong <cyd@gnu.org>
9839
9840 * window.el (display-buffer-reuse-frames): Make the obsolescence
9841 message more informative.
9842
9843 2012-08-30 Glenn Morris <rgm@gnu.org>
9844
9845 * paren.el (show-paren-delay):
9846 Add a :set function. Doc fix. (Bug#12297)
9847
9848 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9849
9850 * progmodes/compile.el (compilation-always-kill): New var.
9851 (compilation-start): Use it.
9852
9853 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9856 * files.el (read-only-mode): Move to simple.el.
9857
9858 * files.el (read-only-mode): New minor mode.
9859 (toggle-read-only): Use it and mark obsolete.
9860 (find-file--read-only):
9861 * vc/vc.el (vc-next-action, vc-checkout):
9862 * vc/vc-cvs.el (vc-cvs-checkout):
9863 * obsolete/vc-mcvs.el (vc-mcvs-update):
9864 * ffap.el (ffap--toggle-read-only): Update callers.
9865
9866 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * eshell/esh-ext.el (eshell-external-command): Do not examine
9869 remote shell scripts.
9870 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9871
9872 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9873 "/usr/local/sbin".
9874
9875 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9878
9879 2012-08-28 Leo Liu <sdl.web@gmail.com>
9880
9881 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9882 completion-at-point. (Bug#12220)
9883
9884 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9885
9886 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9887
9888 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9889
9890 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9891 be buffer-local; add delete-trailing-whitespace (bug#12259).
9892
9893 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9894
9895 * progmodes/hideif.el (hif-compress-define-list):
9896 Fix typo. (Bug#11951)
9897
9898 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9899
9900 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9901 buffer local setting.
9902
9903 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9904 rcirc-encode-coding-system.
9905
9906 2012-08-28 Leo Liu <sdl.web@gmail.com>
9907
9908 * net/rcirc.el (rcirc-split-message): New function.
9909 (rcirc-send-message): Use it. (Bug#12051)
9910
9911 2012-08-28 Juri Linkov <juri@jurta.org>
9912
9913 * info.el (Info-fontify-node): Hide empty lines at the end of
9914 the node. (Bug#12272)
9915
9916 2012-08-27 Drew Adams <drew.adams@oracle.com>
9917
9918 * dired.el (dired-pop-to-buffer): Make window start at beginning
9919 of buffer (Bug#12281).
9920
9921 2012-08-26 Chong Yidong <cyd@gnu.org>
9922
9923 * window.el (special-display-regexps, special-display-frame-alist)
9924 (special-display-buffer-names, special-display-function)
9925 (display-buffer-reuse-frames): Mark as obsolete.
9926
9927 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9928
9929 * help.el (help-print-return-message): Don't treat
9930 display-buffer-reuse-frames specially.
9931
9932 2012-08-26 Chong Yidong <cyd@gnu.org>
9933
9934 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9935 New variable, replacing gdb-frame-parameters.
9936 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9937 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9938 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9939 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9940 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9941 the functions directly with gdb-display-buffer-other-frame-action.
9942 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9943 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9944 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9945 (gdb-display-registers-buffer): Define directly.
9946 (def-gdb-display-buffer): Macro deleted.
9947 (gdb-display-buffer): Remove second and third args, callers don't
9948 use them. Defer to the default display-buffer behavior, apart
9949 from making windows dedicated.
9950 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9951
9952 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9953
9954 * window.el (display-buffer-pop-up-frame): Handle a
9955 pop-up-frame-parameters alist entry.
9956 (display-buffer): Document it.
9957
9958 2012-08-26 Chong Yidong <cyd@gnu.org>
9959
9960 * isearch.el (search-whitespace-regexp): Make string and nil
9961 values apply to both ordinary and regexp search. Allow a cons
9962 cell value to distinguish between the two.
9963 (isearch-whitespace-regexp, isearch-search-forward)
9964 (isearch-search-backward): New functions.
9965 (isearch-occur, isearch-search-fun-default, isearch-search)
9966 (isearch-lazy-highlight-new-loop): Use them.
9967 (isearch-forward, isearch-forward-regexp): Doc fix.
9968
9969 2012-08-26 Chong Yidong <cyd@gnu.org>
9970
9971 * faces.el (help-argument-name): Always inherit from italic
9972 (Bug#12213).
9973
9974 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9975
9976 * window.el (window--even-window-heights): Even heights when
9977 WINDOW and the selected window form a vertical combination.
9978 (display-buffer-use-some-window): Provide that window used gets
9979 sized back by quit-window. (Bug#11880) and (Bug#12091)
9980
9981 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9982
9983 Fix file time stamp problem with bzr and CVS (Bug#12001).
9984 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9985 in the file's time stamp, since the version control system loses
9986 that information.
9987
9988 2012-08-22 Juri Linkov <juri@jurta.org>
9989
9990 * info.el (Info-fontify-node): Hide the suffix of the
9991 Info file name in the header line. (Bug#12187)
9992
9993 2012-08-22 Glenn Morris <rgm@gnu.org>
9994
9995 * calendar/cal-tex.el (cal-tex-weekly-common):
9996 Restore leading blank page.
9997
9998 2012-08-22 Le Wang <l26wang@gmail.com>
9999
10000 * misc.el (forward-to-word, backward-to-word): Activate or extend
10001 the region under `shift-select-mode'. (Bug#12231)
10002
10003 2012-08-22 Bastien Guerry <bzg@gnu.org>
10004
10005 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10006 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10007 gives details on why the space is never needed.
10008
10009 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10010
10011 * window.el (walk-window-tree, window-with-parameter):
10012 New optional argument MINIBUF to control whether these functions
10013 should run on the minibuffer window.
10014 (window-at-side-list): Don't operate on minibuffer window.
10015 (window-in-direction): Simplify and rewrite doc-string.
10016 (window--size-ignore): Rename to window--size-ignore-p.
10017 Update callers.
10018 (display-buffer-in-atom-window, window--major-non-side-window)
10019 (window--major-side-window, display-buffer-in-major-side-window)
10020 (delete-side-window, display-buffer-in-side-window):
10021 New functions.
10022 (window--side-check, window-deletable-p, delete-window)
10023 (delete-other-windows, split-window): Handle side windows and
10024 atomic windows appropriately.
10025 (window--display-buffer): Call display-buffer-record-window also
10026 when the window buffer did not change.
10027
10028 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10029
10030 * help-fns.el (help-fns--key-bindings):
10031 Abbreviate non-symbol remap targets. (Bug#12174)
10032
10033 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10034
10035 * dired.el (dired-mark-remembered): Don't clobber point.
10036 (Bug#11795)
10037
10038 2012-08-22 Glenn Morris <rgm@gnu.org>
10039
10040 * progmodes/bug-reference.el (bug-reference): New custom group.
10041 (bug-reference-bug-regexp): Make it a defcustom.
10042
10043 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10044
10045 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10046 (js-paren-indent-offset, js-square-indent-offset)
10047 (js-curly-indent-offset): Add :safe (Bug#12257).
10048
10049 2012-08-22 Edward O'Connor <hober0@gmail.com>
10050
10051 * json.el (json-key-format): Add error properties.
10052 (json-encode-key): New function.
10053 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10054 Use json-encode-key.
10055
10056 2012-08-22 Glenn Morris <rgm@gnu.org>
10057
10058 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10059 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10060 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10061 Update for above change.
10062
10063 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10064
10065 * cus-face.el (custom-face-attributes): Fix customize type for the
10066 :underline attribute. (Bug#11805)
10067
10068 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10069
10070 * window.el (window-point-1, set-window-point-1): Remove.
10071 (window-in-direction, record-window-buffer)
10072 (set-window-buffer-start-and-point, split-window-below)
10073 (window--state-get-1, display-buffer-record-window):
10074 Replace calls to window-point-1 and set-window-point-1 by calls to
10075 window-point and set-window-point respectively.
10076
10077 2012-08-21 Glenn Morris <rgm@gnu.org>
10078
10079 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10080 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10081 Use it.
10082
10083 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10084 (cal-tex-shortday): New function.
10085 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10086 (cal-tex-cursor-filofax-daily): Use the above.
10087
10088 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10089 New functions.
10090 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10091 (cal-tex-cursor-filofax-week): Use them.
10092
10093 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10094 New constants.
10095 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10096 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10097
10098 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10099 (cal-tex-end-document): Don't rely on buffer name.
10100
10101 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10102 Use cal-tex-vspace.
10103 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10104 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10105 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10106 Use cal-tex-arg.
10107
10108 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10109 (cal-tex-cursor-week, cal-tex-cursor-week2)
10110 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10111 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10112 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10113 (cal-tex-insert-preamble, cal-tex-b-document)
10114 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10115 Improve cal-tex-cmd usage.
10116
10117 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10118 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10119 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10120 (cal-tex-weekly-paper): New function.
10121 (cal-tex-cursor-week, cal-tex-cursor-week2)
10122 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10123 (cal-tex-cursor-day): Use it.
10124
10125 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10126 (cal-tex-cursor-filofax-week): Remove leading blank page.
10127
10128 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10129 Add autoload cookie. For now at least, don't use color, since
10130 no other cal-tex function does.
10131
10132 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10133 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10134 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10135
10136 2012-08-21 Juri Linkov <juri@jurta.org>
10137
10138 * info.el (Info-file-attributes): New variable.
10139 (info-insert-file-contents): Add file attributes to
10140 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10141 `Info-toc-nodes' when previous modtime of the Info file is less
10142 than new modtime.
10143 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10144 of info.el. (Bug#12230)
10145
10146 2012-08-20 Glenn Morris <rgm@gnu.org>
10147
10148 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10149 * calendar/holidays.el (calendar-holiday-list):
10150 Report errors with display-warning rather than beep'n'sleep.
10151
10152 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp.el (tramp-accept-process-output): Accept only output
10155 from PROC. Otherwise, process filters and sentinels might be
10156 confused. (Bug#12145)
10157
10158 2012-08-20 Chong Yidong <cyd@gnu.org>
10159
10160 * descr-text.el (describe-text-properties-1): Use overlays-in to
10161 report on empty overlays (Bug#3322).
10162
10163 2012-08-20 Glenn Morris <rgm@gnu.org>
10164
10165 * mail/rmailout.el (rmail-output-read-file-name):
10166 Trap and report errors in rmail-output-file-alist elements.
10167
10168 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10169 since most non-font-lock faces are not also variables).
10170
10171 2012-08-20 Edward Reingold <reingold@iit.edu>
10172
10173 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10174 New function. (Bug12160)
10175
10176 2012-08-19 Glenn Morris <rgm@gnu.org>
10177
10178 * mail/rmailout.el (rmail-output-read-file-name):
10179 Fix previous change (when the alist is nil or does not match).
10180
10181 2012-08-19 Chong Yidong <cyd@gnu.org>
10182
10183 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10184 (Bug#12228).
10185
10186 2012-08-18 Chong Yidong <cyd@gnu.org>
10187
10188 * simple.el (yank-handled-properties): New defcustom.
10189 (yank-excluded-properties): Add font-lock-face and category.
10190 (yank): Doc fix.
10191
10192 * subr.el (remove-yank-excluded-properties):
10193 Obey yank-handled-properties. The special handling of font-lock-face
10194 and category is now done this way, instead of being hard-coded.
10195 (insert-for-yank-1): Remove font-lock-face handling.
10196 (yank-handle-font-lock-face-property)
10197 (yank-handle-category-property): New function.
10198
10199 2012-08-17 Glenn Morris <rgm@gnu.org>
10200
10201 * mail/rmailout.el (rmail-output-read-file-name):
10202 Check rmail-output-file-alist against the full message body
10203 in the correct rmail buffer. (Bug#12214)
10204
10205 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10206
10207 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10208 Eliminate superfluous prompt. (Bug#12203)
10209
10210 2012-08-17 Chong Yidong <cyd@gnu.org>
10211
10212 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10213 font spec, set the font directly (Bug#3228).
10214
10215 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10216
10217 * window.el (delete-window): Fix last fix.
10218
10219 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10220
10221 * window.el (window-valid-p): Move to window.c.
10222 (window-child, window-child-count, window-last-child)
10223 (window-normalize-window, window-combined-p)
10224 (window-combinations, window-atom-root, window-min-size)
10225 (window-sizable, window-sizable-p, window-size-fixed-p)
10226 (window-min-delta, window-max-delta, window--resizable)
10227 (window--resizable-p, window-resizable, window-total-size)
10228 (window-full-height-p, window-full-width-p, window-body-size)
10229 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10230 (minimize-window, window-deletable-p, delete-window)
10231 (delete-other-windows, set-window-buffer-start-and-point)
10232 (next-buffer, previous-buffer, split-window, balance-windows-2)
10233 (set-window-text-height, window-buffer-height)
10234 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10235 (truncated-partial-width-window-p): Minor code adjustments.
10236 In doc-strings state whether the argument window has to denote a
10237 live, valid or any window.
10238
10239 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10240
10241 * progmodes/subword.el (subword-forward-function)
10242 (subword-backward-function, subword-forward-regexp)
10243 (subword-backward-regexp): New variables.
10244 (subword-forward, subword-forward-internal, subword-backward-internal):
10245 Use new variables, eg so that different "word" definitions
10246 can be easily used. (Bug#11411)
10247
10248 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10251 for composite selectors.
10252 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10253 operation just because we can't find a previous revision.
10254
10255 2012-08-15 Chong Yidong <cyd@gnu.org>
10256
10257 * frame.el (set-frame-font): Accept font objects.
10258
10259 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10262
10263 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10264
10265 * man.el (Man-overstrike-face, Man-underline-face)
10266 (Man-reverse-face): Remove variables.
10267 (Man-overstrike, Man-underline, Man-reverse): New faces.
10268 (Man-fontify-manpage): Use them instead of the variables.
10269 (Man-cleanup-manpage): Comment change.
10270 (Man-ansi-color-map): New variable.
10271 (Man-fontify-manpage): Use it.
10272 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10273
10274 Implement ANSI SGR parameters 22-27 (bug#12146).
10275 * ansi-color.el (ansi-colors): Doc fix.
10276 (ansi-color-context, ansi-color-context-region): Doc fix.
10277 (ansi-color--find-face): New function.
10278 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10279 Rename the local variable `face' to `codes' since it is now a list of
10280 ansi codes. Doc fix.
10281 (ansi-color-get-face): Remove.
10282 (ansi-color-parse-sequence): New function, derived from
10283 ansi-color-get-face.
10284 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10285 codes 22-27.
10286
10287 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * subr.el (read-passwd): Allow use from a minibuffer.
10290
10291 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10292
10293 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10294 inside comments and strings as identifiers.
10295
10296 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10297 expression to evaluate. This allows to evaluate expressions with
10298 embedded whitespace.
10299 (gud-tooltip-tips): Add a blank before the newline in the
10300 message-box text, for the benefit of message-box emulation on
10301 MS-Windows.
10302
10303 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10304 messages from GDB, pop them up in a tooltip to give feedback to
10305 user.
10306 (gdb-tooltip-print-1): Quote the expression to evaluate.
10307 This allows to evaluate expressions with embedded whitespace.
10308 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10309 if the TTY name is nil or empty (which happens when communicating
10310 with the inferior via pipes, e.g. on MS-Windows).
10311 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10312 don't send that to the GUD buffer.
10313
10314 2012-08-14 Glenn Morris <rgm@gnu.org>
10315
10316 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10317 Optimize away setq-default with no args, as for setq. (Bug#12195)
10318
10319 2012-08-14 Chong Yidong <cyd@gnu.org>
10320
10321 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10322
10323 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10324 (Bug#12085).
10325
10326 2012-08-14 Glenn Morris <rgm@gnu.org>
10327
10328 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10329
10330 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10331
10332 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10333 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10334 Use cached shell name.
10335
10336 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10337
10338 * progmodes/python.el (python-shell-send-string):
10339 (python-shell-send-setup-code): Do not use `format' with `message'.
10340
10341 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10342
10343 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10344 (ruby-percent-literal-beg-re): New constant.
10345 (ruby-syntax-general-delimiters-goto-beg): Rename to
10346 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10347 (ruby-syntax-propertize-general-delimiters): Rename to
10348 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10349 popular term. Adjust comments everywhere.
10350 (ruby-syntax-propertize-percent-literal): Only propertize when not
10351 inside a simple string or comment. When the literal is unclosed,
10352 leave the text after it unpropertized.
10353 (ruby-syntax-methods-before-regexp): New constant.
10354 (ruby-syntax-propertize-function): Use it to recognize regexps.
10355 Don't look at the text after regexp, just use the whitelist.
10356
10357 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10360 non-nil always load the compiled file if it exists. (Bug#12197)
10361
10362 2012-08-14 Chong Yidong <cyd@gnu.org>
10363
10364 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10365 (hi-lock-set-pattern): When deciding whether to use font lock or
10366 overlays, look at font-lock-mode instead of font-lock-fontified
10367 (Bug#12168).
10368 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10369 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10370
10371 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10372
10373 * subr.el (internal--after-with-selected-window): Fix typo
10374 (Bug#12193).
10375
10376 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10377
10378 Use `completion-table-dynamic' for completion functions.
10379 * progmodes/python.el
10380 (python-shell-completion--do-completion-at-point)
10381 (python-shell-completion--get-completions):
10382 Remove functions.
10383 (python-shell-completion-complete-at-point): New function.
10384 (python-completion-complete-at-point): Use it.
10385
10386 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10387
10388 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10389 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10390
10391 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * subr.el (function-get): Refine `autoload' arg so it can also
10394 autoload functions for gv.el (bug#12191).
10395 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10396 autoloads macros.
10397
10398 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10399 Prefer pcase-let over destructuring-bind.
10400 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10401 Also, remove whitespace as we go, rather than after accumulating the
10402 various places.
10403
10404 * subr.el (internal--before-with-selected-window)
10405 (internal--after-with-selected-window): Fix typo seleted->selected.
10406 (with-selected-window): Adjust callers.
10407 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10408
10409 2012-08-13 Bastien Guerry <bzg@gnu.org>
10410
10411 * window.el (special-display-popup-frame): Minor docstring
10412 enhancement. (Bug#12172)
10413
10414 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10415
10416 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10417 type 1-6.
10418 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10419 extended headers.
10420
10421 * files.el (hack-local-variables-filter): Remove useless eval.
10422
10423 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10424
10425 * subr.el (with-selected-window): Fix last change.
10426
10427 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * subr.el (internal--before-with-seleted-window)
10430 (internal--after-with-seleted-window): New functions.
10431 (with-selected-window): Use them, to replace dependency on
10432 tty-top-frame.
10433
10434 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10435
10436 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10437 binding for `newline'.
10438 (ruby-move-to-block): When moving backward, stop at block opening,
10439 not indentation.
10440 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10441 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10442 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10443 `ruby-toggle-block'.
10444
10445 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * ibuffer.el (ibuffer-do-toggle-read-only):
10448 * dired.el (dired-toggle-read-only):
10449 * buff-menu.el (Buffer-menu-toggle-read-only):
10450 * bindings.el (mode-line-toggle-read-only):
10451 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10452
10453 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10454
10455 * descr-text.el (describe-char): Put the overlays over the
10456 "displayed as" character.
10457
10458 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10459
10460 * calc/calc-units.el (math-default-units-table): Give an
10461 initial value.
10462 (math-put-default-units): Add options to put composite units and
10463 unit systems in the default units table.
10464 (calc-convert-units): Send composite units to
10465 `math-put-default-units' when appropriate.
10466
10467 2012-08-11 Glenn Morris <rgm@gnu.org>
10468
10469 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10470
10471 * tutorial.el (help-with-tutorial):
10472 * emacs-lisp/copyright.el (copyright-update-directory):
10473 * emacs-lisp/autoload.el (autoload-find-generated-file)
10474 (autoload-find-file): Disable local eval: (for insurance).
10475
10476 * files.el (hack-local-variables-filter): If an eval: form is not
10477 known to be safe, and enable-local-variables is :safe, then ignore
10478 the form totally, as is done for non-eval forms. (Bug#12155)
10479 This is CVE-2012-3479.
10480
10481 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10484 (rx-form): Simplify.
10485
10486 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10487
10488 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10489 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10490 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10491 (ruby-syntax-propertize-function): Adjust for changes in
10492 `ruby-syntax-propertize-heredoc'.
10493
10494 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10495
10496 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10497 binding (use `M-;' instead).
10498 (ruby-singleton-class-p): New function.
10499 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10500
10501 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10504
10505 2012-08-10 Chong Yidong <cyd@gnu.org>
10506
10507 * progmodes/python.el (python-shell-get-process-name): Don't mess
10508 with same-window-buffer-names.
10509
10510 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10511 (eshell-remove-from-window-buffer-names): Make obsolete.
10512 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10513 (eshell): Just use pop-to-buffer-same-window instead.
10514
10515 2012-08-10 Chong Yidong <cyd@gnu.org>
10516
10517 * bindings.el: Bind M-= back to count-words-region.
10518
10519 * simple.el (count-words-region): Accept a prefix arg for acting
10520 on the entire buffer.
10521 (count-words--buffer-message): New helper function.
10522
10523 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10526 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10527 (event-start, event-end): Use posn-at-point to return a more
10528 informative posn.
10529 (posnp): New function.
10530 * mouse.el (popup-menu-normalize-position): Use it.
10531
10532 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10533
10534 * mouse.el (popup-menu-normalize-position): New function.
10535 (popup-menu): Use `popup-menu-normalize-position' to normalize
10536 the form for POSITION argument.
10537
10538 * term/x-win.el (x-menu-bar-open):
10539 Use the value returend from (posn-at-point) as position
10540 passed to `popup-menu'.
10541
10542 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10543
10544 * calc/calccomp.el (math-compose-expr): Add extra argument
10545 indicating that parentheses should be put around products in
10546 denominators. Give multiplication precedence over division during
10547 composition.
10548
10549 2012-08-09 Chong Yidong <cyd@gnu.org>
10550
10551 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10552 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10553 (Man-untabify-command, manual-program): Convert to defcustom
10554 (Bug#10429).
10555
10556 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10557
10558 * descr-text.el (describe-char): Don't insert extra newlines
10559 (Bug#10127).
10560
10561 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10562 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10563
10564 * align.el (align-region): Delete temporary markers (Bug#10047).
10565 Plus some code cleanups.
10566
10567 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10568
10569 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10570 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10571 (python-shell-internal-last-output): Use make-local-variable
10572 instead of make-variable-buffer-local.
10573
10574 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10575
10576 * progmodes/python.el: Enhancements to forward-sexp.
10577 (python-nav-forward-sexp): Rename from
10578 python-nav-forward-sexp-function.
10579 (python-nav--forward-sexp, python-nav--backward-sexp):
10580 New functions.
10581
10582 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10583
10584 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10585 modes and simplification modes.
10586
10587 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10588
10589 * delsel.el (delete-selection-pre-hook): Don't propagate the
10590 file-supersession signals (bug#12161).
10591
10592 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10595 (cl-map-extents): Add compatibility aliases (bug#12135).
10596
10597 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10598
10599 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10600 tests by `ignore-error'.
10601 (tramp-find-shell): Open also a new shell, when cache is already
10602 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10603
10604 2012-08-08 Juri Linkov <juri@jurta.org>
10605
10606 * bookmark.el: Add `defaults' property to the bookmark record.
10607 (bookmark-current-buffer): Doc fix.
10608 (bookmark-make-record): Add `defaults' property with default values
10609 to the bookmark record.
10610 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10611 with `bookmark-insert-current-bookmark'.
10612 (bookmark-set): Get `defaults' property from the bookmark record
10613 and use it in `read-from-minibuffer'.
10614 (bookmark-insert-current-bookmark): Remove function.
10615
10616 * info.el (Info-bookmark-make-record): Add `defaults' property
10617 with values of canonical Info node name, the current Info file
10618 name and the current Info node name. (Bug#12107)
10619
10620 2012-08-08 Juri Linkov <juri@jurta.org>
10621
10622 * files.el (basic-save-buffer): Use `buffer-name' as the default
10623 of `read-file-name' when buffer is not visiting a file (bug#12128).
10624
10625 2012-08-08 Juri Linkov <juri@jurta.org>
10626
10627 * info.el (Info-isearch-search): Doc fix.
10628 (Info-search): Change search-failed message from "initial node" to
10629 "end of node" (bug#12078).
10630 (Info-isearch-search): Change `isearch-string-state' to
10631 `isearch--state-string'.
10632
10633 2012-08-08 Glenn Morris <rgm@gnu.org>
10634
10635 * language/persian.el: Remove file.
10636 * language/misc-lang.el: Move unique part of persian.el here.
10637 * loadup.el: Remove language/persian.
10638
10639 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10640
10641 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10642
10643 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10644
10645 * progmodes/python.el: Fix defsubst warning.
10646 (python-syntax-context) Rename from python-info-ppss-context.
10647 (python-syntax-context-type): Rename from
10648 python-info-ppss-context-type.
10649 (python-syntax-comment-or-string-p): Rename from
10650 python-info-ppss-comment-or-string-p.
10651
10652 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10653
10654 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10655
10656 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10657
10658 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10659 a defcustom that is quoted with backquote.
10660
10661 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10662 Fix handling of interactive spec when the body uses return.
10663 (math-do-arg-check, math-define-function-body): Use backquote forms.
10664 * calc/calc-ext.el (math-defcache): Likewise.
10665 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10666 * allout.el (allout-new-exposure): Likewise.
10667 * calc/calcalg2.el (math-tracing-integral): Likewise.
10668 * info.el (Info-last-menu-item): Likewise.
10669 * emulation/vip.el (vip-loop): Likewise.
10670 * textmodes/artist.el (artist-funcall): Likewise.
10671 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10672 Construct menu-item directly.
10673
10674 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10675 Don't declare.
10676
10677 2012-08-07 Chong Yidong <cyd@gnu.org>
10678
10679 * simple.el (deactivate-mark): Preserve text properties when
10680 saving the primary selection (Bug#8384).
10681
10682 2012-08-07 Kevin Ryde <user42@zip.com.au>
10683
10684 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10685 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10686 and continue processing (Bug#12110).
10687
10688 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10691 syntax-propertize-function (bug#10095).
10692
10693 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10696 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10697 describe-function-1.
10698 (describe-function-1): Use them. Move compiler macro after sig.
10699 (help-fns--compiler-macro): Use function-get. Assume we're already in
10700 standard-output. Adjust layout to new call order.
10701
10702 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10703 re-binding a symbol that has a symbol-macro (bug#12119).
10704
10705 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10706
10707 * language/persian.el: New file. (Bug#11812)
10708 * loadup.el: Add language/persian.el.
10709
10710 2012-08-06 Chong Yidong <cyd@gnu.org>
10711
10712 * window.el (window--maybe-raise-frame): New function.
10713 (window--display-buffer): Split off from here.
10714 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10715 (display-buffer-pop-up-window, display-buffer-use-some-window):
10716 Obey an inhibit-switch-frame action alist entry.
10717 (display-buffer): Update doc.
10718
10719 * replace.el (occur-after-change-function): Avoid losing focus by
10720 using the inhibit-switch-frame display parameter (Bug#12139).
10721
10722 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10723
10724 Make internal shell process buffer names start with space.
10725 * progmodes/python.el (python-shell-make-comint): Add optional
10726 argument INTERNAL.
10727 (run-python-internal): Use it.
10728 (python-shell-internal-get-or-create-process): Check for new
10729 internal buffer names.
10730
10731 2012-08-06 Glenn Morris <rgm@gnu.org>
10732
10733 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10734 Do less getting and setting of environment variables.
10735
10736 2012-08-05 Chong Yidong <cyd@gnu.org>
10737
10738 * proced.el (proced): Add substitution string to docstring to
10739 trigger autoloading of the proced library on C-h f (Bug#1768).
10740
10741 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10742 Don't show defvars which have no second argument (Bug#8638).
10743
10744 * imenu.el (imenu-generic-expression): Move documentation here
10745 from imenu--generic-function.
10746 (imenu--generic-function): Refer to imenu-generic-expression.
10747
10748 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10749
10750 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10751 indentation declaration.
10752 (viper-loop): Add indentation declaration (Bug#7025).
10753
10754 2012-08-05 Chong Yidong <cyd@gnu.org>
10755
10756 * help-fns.el (describe-variable): Add hyperlink for
10757 directory-local variables files. Improve buffer-local and
10758 permanent-local reporting; suggested by MON KEY (Bug#6644).
10759
10760 * help-mode.el (help-dir-local-var-def): New button type.
10761
10762 * files.el (kill-buffer-hook): Provide a defvar.
10763
10764 2012-08-05 Glenn Morris <rgm@gnu.org>
10765
10766 * eshell/esh-ext.el (eshell/addpath):
10767 Also update eshell-path-env. (Bug#12013)
10768
10769 2012-08-05 Chong Yidong <cyd@gnu.org>
10770
10771 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10772
10773 * fringe.el (fringe-styles): Add docstring.
10774 (fringe--check-mode): New function.
10775 (set-fringe-mode, set-fringe-style): Use it.
10776 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10777
10778 * files.el (set-auto-mode): Fix invalid setq call.
10779
10780 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * isearch.el: Misc simplification; use defstruct.
10783 (isearch-mode-map): Dense maps now work like sparse ones.
10784 (isearch--state): New defstruct.
10785 (isearch-string-state, isearch-message-state, isearch-point-state)
10786 (isearch-success-state, isearch-forward-state)
10787 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10788 (isearch-wrapped-state, isearch-barrier-state)
10789 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10790 replaced by defstruct's accessors.
10791 (isearch--set-state): Rename from isearch-top-state and change
10792 calling convention.
10793 (isearch-push-state): Use new isearch--get-state.
10794 (isearch-toggle-word): Disable regexp when enabling word.
10795 (isearch-message-prefix): Remove unused arg _c-q-hack.
10796 (isearch-message-suffix): Remove unused arg _ellipsis.
10797
10798 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10799
10800 * simple.el (list-processes--refresh): For a server use :host or
10801 :local as the address.
10802 (list-processes): Doc fix.
10803
10804 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10805
10806 * lisp/mpc.el: Support password in host argument.
10807 (mpc--proc-connect): Parse and use new password element.
10808 Set mpc-proc variable instead of returning process.
10809 (mpc-proc): Adjust accordingly.
10810
10811 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10812
10813 * whitespace.el (whitespace-display-mappings): Use Unicode
10814 codepoints, instead of emacs-mule codepoints. See
10815 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10816 for the details.
10817
10818 * files.el (file-truename): Don't skip symlink-chasing part on
10819 windows-nt. Incorporate the resolution of 8+3 short aliases on
10820 Windows into the loop that recursively chases symlinks.
10821 Compare directory and its parent case-insensitively on MS-Windows and
10822 MS-DOS.
10823
10824 2012-08-03 Chong Yidong <cyd@gnu.org>
10825
10826 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10827
10828 * sort.el (sort-regexp-fields): Doc fix.
10829
10830 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10831
10832 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10833 labels regex position point at the expected place.
10834
10835 2012-08-03 MON KEY <monkey@sandpframing.com>
10836
10837 * net/imap.el (imap-interactive-login, imap-authenticate)
10838 (imap-mailbox-lsub, imap-mailbox-list)
10839 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10840 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10841 (imap-parse-response): Doc fix.
10842
10843 2012-08-03 João Távora <joaotavora@gmail.com>
10844
10845 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10846 if sexp scanning does not move point (Bug#5734).
10847
10848 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10849
10850 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10851 Add listings, minted, and ctable packages.
10852 (reftex-label-alist-builtin): Move listings, minted, and ctable
10853 entries before LaTeX.
10854 (reftex-label-alist): Docfix.
10855
10856 2012-08-02 Bastien Guerry <bzg@gnu.org>
10857
10858 * replace.el (occur): Fix docstring (bug#12122).
10859
10860 2012-08-02 Glenn Morris <rgm@gnu.org>
10861
10862 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10863
10864 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10865
10866 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10867 * international/mule-cmds.el: Create
10868 inactivate-current-input-method-function as an obsolete alias for
10869 deactivate-current-input-method-function. See Katsumi Yamaoka in
10870 <http://bugs.gnu.org/10150#46>.
10871
10872 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10873
10874 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10875 of nested `if's.
10876
10877 2012-08-01 Glenn Morris <rgm@gnu.org>
10878
10879 * progmodes/autoconf.el (autoconf-definition-regexp):
10880 Add AH_TEMPLATE, adjust submatch numbering.
10881 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10882 (autoconf-current-defun-function): Update for above change.
10883 (autoconf-current-defun-function): First skip to end of current word.
10884
10885 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10886
10887 * calendar/cal-html.el (cal-html-insert-agenda-days):
10888 Fix typo. (Bug#12018)
10889
10890 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10891
10892 Shell processes: enhancements to startup and CEDET compatibility.
10893 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10894 (python-shell-make-comint): accept-process-output at startup.
10895 (run-python-internal): Set inferior-python-mode-hook to nil.
10896 (python-shell-internal-get-or-create-process): call sit-for.
10897 (python-preoutput-result): Add obsolete alias.
10898 (python-shell-internal-send-string): Use it.
10899 (python-shell-send-setup-code): Remove call to
10900 accept-process-output.
10901
10902 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10903
10904 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10905 (Bug#12108)
10906
10907 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10908
10909 * calc-mode.el (calc-basic-simplification-mode): Rename from
10910 `calc-limited-simplification-mode'.
10911 (calc-alg-simplification-mode): New function.
10912 (calc-set-simplify-mode): Adjust message.
10913
10914 * calc.el (calc-set-mode-line): Adjust mode line display for
10915 basic simplification mode.
10916
10917 * calc-help.el (calc-m-prefix-help): Update help message.
10918
10919 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10920 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10921
10922 2012-07-31 Bastien Guerry <bzg@gnu.org>
10923
10924 * man.el (man): Fix comment. (bug#12101)
10925
10926 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10927
10928 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10929 Don't return a non-nil value when no suitable buffer was found.
10930
10931 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10932
10933 * progmodes/python.el (run-python-internal): Disable font lock for
10934 internal shells.
10935
10936 2012-07-30 Stefan Merten <smerten@oekonux.de>
10937
10938 * textmodes/rst.el: Silence `checkdoc-ispell'.
10939 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10940 (rst-official-version, rst-official-cvs-rev)
10941 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10942 (rst-mode-map): New key binding.
10943
10944 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10945
10946 Update .PHONY listings in makefiles.
10947 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10948 autoloads, update-subdirs, updates, bzr-update, update-authors,
10949 compile-onefile, compile-calc, backup-compiled-files,
10950 compile-after-backup, compile-one-process, mh-autoloads,
10951 bootstrap-clean, distclean, maintainer-clean.
10952
10953 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10954
10955 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10956 (calc-set-mode-line): Don't display "AlgSimp ".
10957
10958 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10959 (calc-lim-simplify-mode): New function.
10960 (calc-set-simplify-mode): Default to 'alg.
10961 (calc-default-simplify-mode): Make algebraic simplifications
10962 the default.
10963
10964 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10965 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10966
10967 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10968 indicate new simplification modes.
10969
10970 * calc/README: Mention new default simplification mode.
10971
10972 * calc/calc.el (math-normalize-error): New variable.
10973 (math-normalize): Set `math-normalize-error' to t
10974 when there's an error.
10975
10976 * calc/calc-alg.el (math-simplify): Don't simplify when
10977 `math-normalize' returns an error.
10978
10979 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10980
10981 * international/mule-cmds.el (set-locale-environment): Revert last
10982 change, since display-graphic-p returns nil when this function is
10983 called during startup. Instead...
10984
10985 * term/w32console.el (terminal-init-w32console): ...setup the
10986 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10987
10988 2012-07-29 Juri Linkov <juri@jurta.org>
10989
10990 * simple.el (goto-line): Don't display default line number in the
10991 prompt because it should be displayed by `read-number' (bug#9952).
10992 Add the current line number to the defaults of `goto-line' to
10993 allow its easier modification by users with `M-n' (bug#9201).
10994
10995 * subr.el (read-number): Support multiple default values like in
10996 other minibuffer reading functions. Replace `read' with
10997 `string-to-number' for consistency with `number-to-string'.
10998
10999 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11000
11001 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11002 * emulation/viper-init.el (viper-deactivate-input-method-action):
11003 Rename from viper-inactivate-input-method-action.
11004 (viper-deactivate-input-method):
11005 Rename from viper-inactivate-input-method.
11006 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11007 * international/mule-cmds.el (deactivate-input-method):
11008 Rename from inactivate-input-method.
11009 Also run input-method-deactivate-hook.
11010 (deactivate-current-input-method-function):
11011 Rename from inactivate-current-input-method-function.
11012 (input-method-deactivate-hook): New hook.
11013 (input-method-inactivate-hook): Mark obsolete.
11014 (inactivate-input-method): Mark obsolete.
11015
11016 * international/quail.el (quail-activate):
11017 Also run quail-deactivate-hook.
11018 (quail-deactivate): Rename from quail-inactivate.
11019 * international/robin.el (robin-activate):
11020 Also run robin-deactivate-hook.
11021 (robin-deactivate): Rename from robin-inactivate.
11022
11023 2012-07-29 Chong Yidong <cyd@gnu.org>
11024
11025 * simple.el (indicate-copied-region): New function.
11026 (kill-ring-save): Split off from here.
11027
11028 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11029 (kill-rectangle): Set deactivate-mark to t on read-only error.
11030
11031 * register.el (copy-to-register, copy-rectangle-to-register):
11032 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11033 (append-to-register, prepend-to-register): Call indicate-copied-region.
11034
11035 2012-07-29 Juri Linkov <juri@jurta.org>
11036
11037 * simple.el (async-shell-command-buffer): New defcustom.
11038 (shell-command): Use it. (Bug#4719)
11039
11040 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11041
11042 * international/mule-cmds.el (set-locale-environment): In a
11043 console session on MS-Windows, set up keyboard and terminal
11044 encoding from the OEM codepage, not the ANSI codepage.
11045 (Bug#12055)
11046
11047 2012-07-28 Chong Yidong <cyd@gnu.org>
11048
11049 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11050 gdb-get-location.
11051
11052 2012-07-28 Leo Liu <sdl.web@gmail.com>
11053
11054 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11055 the alist (bug#12029).
11056
11057 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11058
11059 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11060 (compile-always, compile-first)
11061 ($(lisp)/calendar/cal-loaddefs.el)
11062 ($(lisp)/calendar/diary-loaddefs.el)
11063 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11064 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11065 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11066 instead of on update-subdirs.
11067 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11068
11069 2012-07-28 Chong Yidong <cyd@gnu.org>
11070
11071 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11072 directory if vc-deduce-backend returns nil (Bug#7350).
11073
11074 * simple.el (delete-trailing-lines): New option.
11075 (delete-trailing-whitespace): Obey it (Bug#11879).
11076
11077 2012-07-28 David Engster <deng@randomsample.de>
11078
11079 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11080 Explanation of new 'symbol-qnames feature in doc-strings.
11081 (xml-maybe-do-ns): Return expanded names as plain symbols if
11082 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11083 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11084
11085 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11086
11087 Consistent completion in inferior python with emacs -nw.
11088 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11089 binding in inferior-python-mode-map with "\t".
11090 (python-shell-completion-complete-at-point)
11091 (python-completion-complete-at-point): Remove interactive spec.
11092
11093 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11094
11095 * calc/calccomp.el (math-compose-expr): Undo previous change.
11096
11097 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11098
11099 * progmodes/python.el (python-mode-map): Add keybinding for
11100 run-python.
11101 (python-shell-make-comint): Fix pop-to-buffer call.
11102 (run-python): Autoload. New arg SHOW.
11103 (python-shell-get-or-create-process): Do not pop python process
11104 buffer.
11105
11106 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11107
11108 * notifications.el (notifications-on-action-signal)
11109 (notifications-on-closed-signal): Use also the bus address for the map.
11110 (notifications-notify, notifications-close-notification)
11111 (notifications-get-capabilities): Add optional argument BUS.
11112
11113 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11114
11115 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11116 Add support for the lstlisting and minted environments, and for the
11117 ctable macro.
11118 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11119 labels written in keyvals syntax.
11120
11121 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11122
11123 * calc/calccomp.el (math-compose-expr): Use parentheses when
11124 there is a product in the denominator of a fraction.
11125
11126 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11127
11128 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11129 ($(lisp)/calendar/diary-loaddefs.el)
11130 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11131 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11132 Fixes failures in parallel bootstrap because subdirs.el is being
11133 rewritten while the autoload files are built at the same time,
11134 which needs to load subdirs.el.
11135
11136 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11137
11138 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11139 (mouse-drag-line): Don't exit tracking when a switch-frame or
11140 switch-window event occurs (Bug#12006).
11141
11142 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * mouse.el (popup-menu): Fix last change.
11145
11146 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 Autoload from Lisp with more care. Follow aliases when looking for
11149 function properties.
11150 * subr.el (autoloadp): New function.
11151 (symbol-file): Use it.
11152 (function-get): New function.
11153 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11154 autoload-do-load.
11155 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11156 (lisp-indent-function):
11157 * emacs-lisp/gv.el (gv-get):
11158 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11159 * emacs-lisp/byte-opt.el (byte-optimize-form):
11160 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11161 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11162 Use function-get.
11163 * emacs-lisp/cl.el: Don't propagate function properties any more.
11164
11165 * speedbar.el (speedbar-add-localized-speedbar-support):
11166 * emacs-lisp/disass.el (disassemble-internal):
11167 * desktop.el (desktop-load-file):
11168 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11169 (describe-function-1):
11170 * emacs-lisp/find-func.el (find-function-noselect):
11171 * emacs-lisp/elp.el (elp-instrument-function):
11172 * emacs-lisp/advice.el (ad-has-proper-definition):
11173 * apropos.el (apropos-safe-documentation, apropos-macrop):
11174 * emacs-lisp/debug.el (debug-on-entry):
11175 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11176 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11177 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11178
11179 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11180
11181 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11182 function, not an obsolete variable (Bug#12046).
11183
11184 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11185
11186 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11187
11188 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11189
11190 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11191 window only if it is still live (Bug#12034).
11192
11193 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11194
11195 * subr.el (redirect-frame-focus): Add advertised calling
11196 convention (Bug#12030).
11197
11198 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11199
11200 Prefer typical American spelling for "acknowledgment".
11201 * vc/add-log.el (change-log-acknowledgment): Rename from
11202 change-log-acknowledgement, with an alias for the old name.
11203
11204 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11205
11206 * calc-alg.el (math-simplify-divide): Don't cross multiply
11207 in an equation when the lhs is a variable.
11208
11209 2012-07-24 Julien Danjou <julien@danjou.info>
11210
11211 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11212 Remove, unused.
11213
11214 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11215
11216 * startup.el (command-line): Don't display an empty user name in
11217 the error message about non-existent home directory, when
11218 init-file-user was set to an empty string. See
11219 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11220 for the details and context.
11221
11222 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11223
11224 * ses.el (ses-cell-formula-aset): New macro.
11225 (ses-cell-references-aset): New macro.
11226 (ses-cell-p): New function.
11227 (ses-rename-cell): Do no longer rely on complex operations like
11228 ses-cell-set-formula or ses-set-cell to change the cell and handle
11229 the undo at the same time, but rather use lower level new macros
11230 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11231 the undo directly. Refresh the mode line.
11232
11233 2012-07-21 Leo Liu <sdl.web@gmail.com>
11234
11235 * progmodes/cc-cmds.el (c-defun-name):
11236 Use match-string-no-properties instead for consistency.
11237
11238 2012-07-20 Leo Liu <sdl.web@gmail.com>
11239
11240 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11241 (Bug#7879)
11242
11243 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11244
11245 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11248 * progmodes/bug-reference.el, misearch.el: Provide themselves
11249 (bug#11915).
11250
11251 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11252 of narrowed buffer (bug#11966).
11253
11254 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11255
11256 * ses.el (ses-rename-cell): Set new name also in reference list of
11257 cells of which the renamed cell depends.
11258
11259 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11260
11261 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11262 to check whether menu-bar is shown or not. If not shown,
11263 show the menu-bar as a popup menu instead of using tmm.
11264 * mouse.el (popup-menu): Accept `point' as `position' argument.
11265
11266 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11267
11268 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11269 up inside string symbol literal (bug#11923).
11270
11271 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11272
11273 * startup.el (fancy-startup-text): Read the whole tutorial, not
11274 just its first 256 bytes. Prevents gibberish in display of the
11275 tutorial title.
11276
11277 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11278
11279 Drop idle buffer compaction due to an absence of the
11280 proved efficiency.
11281 * compact.el: Remove.
11282
11283 2012-07-19 Sam Steingold <sds@gnu.org>
11284
11285 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11286 vc-bzr-pull & vc-bzr-merge-branch.
11287 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11288 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11289 for consistency with compilation-error-regexp-alist.
11290 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11291 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11292 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11293 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11294
11295 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * emacs-lisp/chart.el: Use lexical-binding.
11298 (chart-emacs-storage): Don't hardcode the list of entries.
11299
11300 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11301
11302 Next round of tweaks caused by Fgarbage_collect changes.
11303 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11304
11305 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11306
11307 Compact buffers when idle.
11308 * compact.el: New file.
11309
11310 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11311
11312 * subr.el (eventp): Presume that if it looks vaguely like an event,
11313 it's an event (bug#10190).
11314
11315 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11316
11317 Enhancements to ppss related code (thanks Stefan).
11318 * progmodes/python.el (python-indent-context)
11319 (python-indent-calculate-indentation, python-indent-dedent-line)
11320 (python-indent-electric-colon, python-nav-forward-block)
11321 (python-mode-abbrev-table)
11322 (python-info-assignment-continuation-line-p): Simplify checks
11323 for ppss context.
11324 (python-info-continuation-line-p): Cleanup.
11325 (python-info-ppss-context): Do not catch 'quote.
11326 (python-info-ppss-context-type)
11327 (python-info-ppss-comment-or-string-p): Simplify.
11328
11329 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11330
11331 * progmodes/python.el: Enhancements to eldoc support.
11332 (python-info-current-symbol): New function.
11333 (python-eldoc-at-point): Use python-info-current-symbol.
11334 (python-info-current-defun): Fix cornercase on first defun scan.
11335 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11336 and signal error when no inferior python process is available.
11337
11338 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11339
11340 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11341 assume it's always t.
11342 (vc-git-registered): Remove caching, the function is only called
11343 once.
11344 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11345
11346 2012-07-18 Chong Yidong <cyd@gnu.org>
11347
11348 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11349
11350 * simple.el (count-words): Report on narrowing (Bug#9959).
11351
11352 * bindings.el: Bind M-= to count-words.
11353
11354 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11355
11356 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11357
11358 * progmodes/sh-script.el (sh-imenu-generic-expression):
11359 Capture a function with `function' keyword and without parentheses
11360 like "function FOO" (bug#11856).
11361
11362 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11363
11364 * window.el (split-window-sensibly): Make WINDOW argument
11365 optional.
11366
11367 2012-07-18 Chong Yidong <cyd@gnu.org>
11368
11369 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11370
11371 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11372 and make C-x 8 RET exit isearch (Bug#11439).
11373
11374 * international/iso-transl.el: Move isearch-mode-map key
11375 definitions to isearch.el.
11376
11377 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11380 (eieio-defclass): Use gv-define-setter when possible.
11381
11382 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11383
11384 Reflect recent changes in Fgarbage_collect.
11385 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11386 reflect new format of data returned by Fgarbage_collect.
11387
11388 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11389
11390 New utility functions + python-info-ppss-context fix (Bug#11910).
11391 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11392 (python-info-ppss-comment-or-string-p): New functions.
11393 (python-info-ppss-context): Small fix for string check.
11394
11395 2012-07-17 Juri Linkov <juri@jurta.org>
11396
11397 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11398 (dired-do-async-shell-command): Don't add `*' at the end of the
11399 command (Bug#11815).
11400 (dired-do-shell-command): Doc fix.
11401 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11402 Join the individual commands using either "&" or ";" as the
11403 separator depending on the values of these trailing characters.
11404 At the end re-add the trailing "&". (Bug#10598)
11405
11406 * simple.el (async-shell-command): Sync the interactive spec with
11407 `shell-command'. Doc fix.
11408 (shell-command): Doc fix.
11409
11410 2012-07-17 Juri Linkov <juri@jurta.org>
11411
11412 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11413
11414 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11415
11416 Final renames and doc fixes for movement commands (bug#11899).
11417 * progmodes/python.el (python-nav-beginning-of-statement):
11418 Rename from python-nav-statement-start.
11419 (python-nav-end-of-statement): Rename from
11420 python-nav-statement-end.
11421 (python-nav-beginning-of-block): Rename from
11422 python-nav-block-start.
11423 (python-nav-end-of-block): Rename from python-nav-block-end.
11424
11425 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11426
11427 * progmodes/python.el (python-shell-send-string-no-output):
11428 Allow accept-process-output to quit, keeping shell process ready for
11429 future interactions (Bug#11868).
11430
11431 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11432
11433 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11434
11435 * emacs-lisp/elint.el (elint-find-args-in-code):
11436 Use help-function-arglist, so as to handle lexical byte-code.
11437
11438 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11439 change (bug#11826).
11440
11441 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11442
11443 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11444 Avoid spuriously marking the buffer as modified because of c-is-sws.
11445
11446 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11447 as not-a-comment (bug#11946).
11448
11449 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11450 for uninterned vars.
11451
11452 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11453 Use read-event since we don't really want to read chars but bytes.
11454
11455 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11456 $$..$$ but also $..$ using regexps (bug#11953).
11457 Use tex-verbatim for \url and \path.
11458 (tex-font-lock-keywords): Define as defconst like the others.
11459 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11460
11461 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11462
11463 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11464 alias for insert-char.
11465
11466 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11467
11468 * progmodes/python.el: Simplified imenu implementation.
11469 (python-nav-jump-to-defun): Remove command.
11470 (python-mode-map): Use `imenu' instead.
11471 (python-nav-list-defun-positions-cache)
11472 (python-imenu-include-defun-type, python-imenu-make-tree)
11473 (python-imenu-subtree-root-label, python-imenu-index-alist):
11474 Remove vars.
11475 (python-nav-list-defun-positions, python-nav-read-defun)
11476 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11477 (python-imenu-make-tree, python-imenu-create-index):
11478 Remove functions.
11479 (python-mode): Update to interact with imenu by setting
11480 `imenu-extract-index-name-function' only.
11481
11482 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11483
11484 * progmodes/python.el: Enhancements to navigation commands.
11485 (python-nav-backward-sentence)
11486 (python-nav-forward-sentence): Remove.
11487 (python-nav-backward-statement, python-nav-forward-statement)
11488 (python-nav-statement-start, python-nav-statement-end)
11489 (python-nav-backward-block, python-nav-forward-block)
11490 (python-nav-block-start, python-nav-block-end)
11491 (python-nav-forward-sexp-function)
11492 (python-info-current-line-comment-p)
11493 (python-info-current-line-empty-p): New functions.
11494 (python-indent-context): Use `python-nav-statement-start'.
11495
11496 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11497
11498 * eshell/em-ls.el (eshell/ls): Use `apply'.
11499
11500 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11501 multi-hops, instead of Tramp internals.
11502
11503 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11504
11505 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11506 when F1 and F2 are located on different hosts.
11507
11508 2012-07-14 Chong Yidong <cyd@gnu.org>
11509
11510 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11511 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11512 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11513 (xterm-mouse--read-event-sequence-1000)
11514 (xterm-mouse--read-event-sequence-1006): New functions. For old
11515 mouse protocol, handle M-mouse-X events correctly.
11516 (xterm-mouse-event): New arg specifying mouse protocol.
11517 (turn-on-xterm-mouse-tracking-on-terminal)
11518 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11519 sequence to toggle extended coordinates on newer XTerms.
11520 This appears to be harmless on terminals which do not support this.
11521
11522 2012-07-14 Leo Liu <sdl.web@gmail.com>
11523
11524 Add fringe bitmap indicators for flymake. (Bug#11253)
11525 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11526 (flymake-make-overlay): New arg BITMAP.
11527 (flymake-error-bitmap, flymake-warning-bitmap)
11528 (flymake-fringe-indicator-position): New user variables.
11529
11530 * fringe.el: New bitmap exclamation-mark.
11531
11532 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11533
11534 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11535 also (Bug#7879).
11536
11537 2012-07-14 Chong Yidong <cyd@gnu.org>
11538
11539 * electric.el (electric-pair-post-self-insert-function): Fix pair
11540 insertion in empty-region case (Bug#11520).
11541
11542 2012-07-14 Chong Yidong <cyd@gnu.org>
11543
11544 * bindings.el: Consolidate ctl-x-r-map bindings.
11545 Bind copy-rectangle-as-kill to C-x r w.
11546
11547 * rect.el, register.el: Move bindings to bindings.el.
11548
11549 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11550
11551 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11552
11553 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11554
11555 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11556
11557 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11558
11559 * bindings.el (top): Use `mapc' instead of `mapcar'.
11560
11561 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11562
11563 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * progmodes/sql.el (sql-comint): Suppress the check for program on
11566 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11567 (Bug#11908)
11568
11569 2012-07-13 Chong Yidong <cyd@gnu.org>
11570
11571 * bindings.el: Assign a non-nil permanent-local property to
11572 per-buffer variables which lack a default value (Bug#11930).
11573
11574 * help-fns.el (describe-variable): In the "automatically becomes
11575 local" notice, take note of permanent-local variables.
11576
11577 2012-07-13 Chong Yidong <cyd@gnu.org>
11578
11579 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11580 to allow printing the message when called from Lisp.
11581
11582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11583 Remove toggle-read-only.
11584
11585 * bs.el (bs-toggle-readonly):
11586 * buff-menu.el (Buffer-menu-toggle-read-only):
11587 Remove with-no-warnings around toggle-read-only.
11588
11589 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11590 Remove with-no-warnings around toggle-read-only.
11591 (ffap-read-only, ffap-read-only-other-window)
11592 (ffap-read-only-other-frame): Callers changed.
11593
11594 * help-mode.el: Don't require view package.
11595 (help-mode-finish): Set buffer-read-only instead of calling
11596 toggle-read-only.
11597
11598 * bindings.el (mode-line-toggle-read-only):
11599 * dired.el (dired-toggle-read-only):
11600 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11601 with non-nil second arg.
11602
11603 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11604 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11605 directly.
11606
11607 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11608
11609 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11610 not incf.
11611
11612 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 More CL cleanups and reduction of use of cl.el.
11615 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11616 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11617 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11618 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11619 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11620 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11621 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11622 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11623 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11624 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11625 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11626 * eshell/em-cmpl.el, eshell/em-banner.el:
11627 * calendar/parse-time.el: Use cl-lib.
11628 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11629 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11630 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11631 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11632 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11633 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11634 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11635 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11636 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11637 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11638 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11639 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11640 `lambda' rather than with `quote'.
11641 (eshell-do-opt): Adjust accordingly.
11642 (eshell-process-option): Simplify.
11643 * eshell/esh-var.el:
11644 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11645 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11646 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11647 to `pcase--dontcare'.
11648 * emacs-lisp/cl.el (labels): Mark obsolete.
11649 (cl--letf, letf): Move to cl-lib.
11650 (cl--letf*, letf*): Remove.
11651 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11652 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11653 (cl-progv): Rewrite.
11654 (cl--letf, cl-letf): Move from cl.el.
11655 (cl-letf*): New macro.
11656 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11657
11658 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11659
11660 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11661
11662 2012-07-11 Chong Yidong <cyd@gnu.org>
11663
11664 * vc/log-edit.el (log-edit-vc-backend): New variable.
11665 (log-edit): Doc fix.
11666
11667 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11668 argument of log-edit to set up all local variables.
11669 (vc-start-logentry): New optional arg specifying VC backend.
11670
11671 * vc/vc.el (vc-checkin): Use it.
11672 (vc-deduce-fileset): Handle Log Edit buffers.
11673 (vc-diff): Make first argument optional too.
11674
11675 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11676
11677 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11678
11679 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11680 command, just in case. The function is not needed anymore.
11681 (eshell-external-command): Do not call `eshell-remote-command'.
11682
11683 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 Reduce use of (require 'cl).
11686 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11687 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11688 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11689 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11690 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11691 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11692 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11693 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11694 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11695 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11696 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11697 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11698 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11699 (byte-compile-unfold-bcf, byte-compile-check-variable):
11700 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11701 (byte-compile-nilconstp):
11702 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11703 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11704
11705 * emacs-lisp/gv.el (cond): Make it a valid place.
11706 (if): Simplify slightly.
11707
11708 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11709 (pcase--self-quoting-p): New function.
11710 (pcase--u1): Use it.
11711
11712 2012-07-10 Glenn Morris <rgm@gnu.org>
11713
11714 * emacs-lisp/authors.el (authors-fixed-entries):
11715 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11716
11717 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11718
11719 Rename configure.in to configure.ac (Bug#11603).
11720 * emacs-lisp/authors.el (authors-canonical-file-name):
11721 * progmodes/autoconf.el (autoconf-mode):
11722 Prefer configure.ac to configure.in.
11723
11724 2012-07-08 Chong Yidong <cyd@gnu.org>
11725
11726 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11727 Implement the mouse-1-click-follows-link handling properly.
11728
11729 * info.el (Info-link-keymap): Use follow-link mechanism for
11730 header-line links (Bug#374).
11731
11732 * simple.el (deactivate-mark): Do not set the primary selection
11733 if another program has acquired it (Bug#11772).
11734
11735 2012-07-07 Kevin Ryde <user42@zip.com.au>
11736
11737 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11738 (woman-decode-region): Replace escaped-escapes without destroying
11739 bold or underline (Bug#11552).
11740 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11741
11742 2012-07-07 Chong Yidong <cyd@gnu.org>
11743
11744 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11745 (interprogram-cut-function, interprogram-paste-function):
11746 Mention that we typically mean the clipboard.
11747
11748 2012-07-06 Glenn Morris <rgm@gnu.org>
11749
11750 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11751
11752 * files.el (toggle-read-only): Restrict message to interactive use.
11753
11754 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11755
11756 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11757
11758 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11759
11760 2012-07-06 Glenn Morris <rgm@gnu.org>
11761
11762 * Makefile.in (compile-one-process): Rename from "recompile".
11763
11764 * Makefile.in (bzr-update): "compile" is the same as "recompile
11765 autoloads", but parallelizable, so use that instead.
11766
11767 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11768
11769 * window.el (quit-window): Always restore window height when
11770 it's saved in quit-restore parameter (Bug#11810).
11771
11772 2012-07-06 Glenn Morris <rgm@gnu.org>
11773
11774 * simple.el (kill-whole-line): Doc tweak.
11775
11776 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11777
11778 * files.el (file-relative-name): Compare file names
11779 case-insensitively if on MS-Windows or MS-DOS, or if
11780 read-file-name-completion-ignore-case is non-nil. Don't use
11781 case-fold-search for this purpose. (Bug#11827)
11782
11783 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11784
11785 * calendar/cal-dst.el (calendar-current-time-zone):
11786 Return calendar-current-time-zone-cache if non-nil.
11787
11788 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11789 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11790
11791 * calendar/cal-dst.el (calendar-current-time-zone):
11792 Return calendar-current-time-zone-cache if non-nil.
11793
11794 2012-07-06 Glenn Morris <rgm@gnu.org>
11795
11796 * Makefile.in (cvs-update): Remove old alias.
11797
11798 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11799
11800 Sync with Tramp 2.2.6-pre.
11801
11802 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11803 compatible declaration.
11804
11805 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11806 Protect `list-load-path-shadows' call.
11807
11808 * net/tramp-compat.el (top): Require packages, which aren't
11809 autoloaded anymore for XEmacs. Protect call of
11810 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11811 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11812 it hurts at least for SXEmacs.
11813 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11814 standard-value for `temporary-file-directory'.
11815
11816 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11817 Redirect stderr to /dev/null.
11818 (tramp-sh-handle-write-region): uid and gid can be floats.
11819 Reported by Russell Sim <russell.sim@gmail.com>.
11820 (tramp-sh-handle-vc-registered): Hide errors.
11821 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11822 and `start-file-process'.
11823 (tramp-maybe-open-connection): Check also whether `non-essential'
11824 is bound.
11825
11826 2012-07-04 Chong Yidong <cyd@gnu.org>
11827
11828 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11829 (xml-parse-tag): Likewise, and avoid changing entity tables.
11830 (xml-syntax-table): Define from scratch, making sure not to give
11831 x2000 and other Unicode spaces whitespace syntax, since those are
11832 not spaces in XML.
11833 (xml-parse-fragment): Delete unused function.
11834 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11835 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11836 (xml-entity-ref, xml-pe-reference-re)
11837 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11838 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11839 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11840 (xml-entity-value-re): Use syntax references in regexps where
11841 possible; no need to define inside a let-binding.
11842 (xml-parse-dtd): Use xml-pe-reference-re.
11843 (xml-entity-or-char-ref-re): New defconst.
11844 (xml-parse-string, xml-substitute-special): Use it.
11845
11846 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11849 (find-file--read-only): New function.
11850 (find-file-read-only, find-file-read-only-other-window)
11851 (find-file-read-only-other-frame): Use it.
11852 (insert-file-contents-literally): Don't `fset'.
11853 (get-free-disk-space): Use locate-dominating-file.
11854
11855 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11856 function is already compiled.
11857
11858 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11859
11860 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11861
11862 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11863 files on the same host.
11864
11865 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11866
11867 * help-fns.el (describe-function-1): Only call
11868 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11869
11870 2012-07-03 Chong Yidong <cyd@gnu.org>
11871
11872 * xml.el: Protect parser against XML bombs.
11873 (xml-entity-expansion-limit): New variable.
11874 (xml-parse-string, xml-substitute-special): Use it.
11875 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11876
11877 2012-07-03 Glenn Morris <rgm@gnu.org>
11878
11879 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11880 Allow linking to specific messages in debbugs reports (eg 123#5).
11881
11882 2012-07-02 Chong Yidong <cyd@gnu.org>
11883
11884 * xml.el: Fix entity and character reference expansion, allowing
11885 them to expand into markup as per XML spec.
11886 (xml-default-ns): New variable.
11887 (xml-entity-alist): Use XML spec definitions for lt and amp.
11888 (xml-parse-region): Make first two arguments optional.
11889 Discard text properties.
11890 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11891 All callers changed.
11892 (xml-parse-tag): Call xml-parse-tag-1. For backward
11893 compatibility, this function should not modify buffer contents.
11894 (xml-parse-tag-1): Fix opening-tag regexp.
11895 (xml-parse-string): Rewrite, handling entity and character
11896 references properly.
11897 (xml--entity-replacement-text): Signal an error if a parameter
11898 entity is undefined.
11899
11900 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * comint.el (comint-output-filter): Filter out repeated prompts.
11903
11904 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11905 and file-name-absolute-p.
11906 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11907 internal calls.
11908
11909 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11910
11911 Spelling fixes.
11912 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11913 Rename from byte-compile--refiy-function. All uses changed.
11914
11915 2012-07-01 Chong Yidong <cyd@gnu.org>
11916
11917 * xml.el (xml--parse-buffer): New function. Move most of
11918 xml-parse-region here.
11919 (xml-parse-region): Copy region into a temporary buffer, since
11920 parameter entity substitution requires changing buffer contents.
11921 Use xml--parse-buffer.
11922 (xml-parse-file): Use xml--parse-buffer.
11923 (xml-parse-dtd): Make parameter entity substitution work right.
11924 Use proper regexps for ELEMENT declarations (Bug#7172).
11925
11926 2012-06-30 Glenn Morris <rgm@gnu.org>
11927
11928 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11929
11930 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11931 Remove outdated and unnecessary dbus declarations.
11932
11933 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11934
11935 * emacs-lisp/timer.el (timer-until): Subtract results of
11936 float-time, instead of taking float-time of the result of
11937 time-subtract, since float-time signals an error for negative time
11938 arguments.
11939
11940 2012-06-30 Chong Yidong <cyd@gnu.org>
11941
11942 * xml.el (xml-*-re): Convert defvars into defconsts, and
11943 eval-and-compile them so eval-and-compile works on derivatives.
11944 (xml--entity-replacement-text): Use eval-and-comple.
11945
11946 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11947
11948 * vc/vc-git.el (vc-git-registered): Use cache property
11949 `git-registered'.
11950 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11951 `vc-git-working-revision' in order to benefit from the cache.
11952 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11953
11954 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11955
11956 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11957 removed (likely outside Emacs). (Bug#11757)
11958
11959 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * emacs-lisp/cl-lib.el: Require macroexp.
11962
11963 2012-06-30 Chong Yidong <cyd@gnu.org>
11964
11965 * xml.el: Implement XML parameter entities.
11966 (xml-parameter-entity-alist): New variable.
11967 (xml-parse-region, xml-parse-fragment): Preserve previous values
11968 of xml-entity-alist and xml-parameter-entity-alist, so that
11969 repeated calls on different documents do not change them.
11970 (xml-parse-tag): Fix doctype regexp.
11971 (xml--entity-replacement-text): New function.
11972 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11973 properly requires url retrieval which is unimplemented.
11974 (xml-escape-string): Doc fix.
11975
11976 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11979
11980 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11981
11982 * fringe.el (fringe-mode): Doc fix.
11983
11984 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11985
11986 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11987 is non-nil.
11988 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11989 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11990
11991 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11992
11993 * calendar/cal-dst.el (calendar-current-time-zone):
11994 Return calendar-current-time-zone-cache if non-nil.
11995
11996 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11997
11998 * progmodes/which-func.el (which-func-format):
11999 Add mouse-face. (Bug#11698)
12000
12001 2012-06-29 Leo Liu <sdl.web@gmail.com>
12002
12003 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12004
12005 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * minibuffer.el (minibuffer-confirm-exit-commands):
12008 Add completion-at-point (bug#11725).
12009
12010 2012-06-29 Glenn Morris <rgm@gnu.org>
12011
12012 * progmodes/f90.el (f90-font-lock-keywords-2):
12013 Add some preprocessor elements. (Bug#10499)
12014
12015 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12018 Use syntax-propertize (bug#11739).
12019
12020 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12023
12024 2012-06-28 Julien Danjou <julien@danjou.info>
12025
12026 * term.el (term-handle-colors-array): Use a set of new faces to
12027 color the terminal. Also uses :inverse-video property.
12028 (term-default-fg-color): Set to nil by default, deprecate in favor
12029 of `term-face'.
12030 (term-default-bg-color): Set to nil by default, deprecate in favor
12031 of `term-face'.
12032 (term-current-face): Use `term-face' by default.
12033 (term-bold-attribute): Variable deleted.
12034
12035 2012-06-28 Glenn Morris <rgm@gnu.org>
12036
12037 * simple.el (completion-list-mode-finish):
12038 Don't use toggle-read-only. (Since completion-list-mode has
12039 a special mode-class, it wasn't doing anything extra anyway.)
12040
12041 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 Make inlining of other-mode interpreted functions work (bug#11799).
12044 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12045 (byte-compile): Use it to fix compilation of lexical-binding closures.
12046 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12047 function, if needed.
12048
12049 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * help-mode.el (help-make-xrefs): Don't just withstand
12052 cyclic-variable-indirection but any error in documentation-property.
12053
12054 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12055 memory use.
12056 * bindings.el (bindings--define-key): New function.
12057 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12058 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12059 * bindings.el: Use it to purecopy define-key bindings.
12060
12061 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12062
12063 * emacs-lisp/cl.el (flet): Mark obsolete.
12064 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12065 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12066 * progmodes/js.el (js-c-fill-paragraph):
12067 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12068 (ebrowse-switch-member-buffer-to-derived-class):
12069 * play/5x5.el (5x5-solver): Use cl-flet.
12070
12071 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12072 (cl--symbol-function): New macro.
12073 (cl--letf, cl--letf*): Use it.
12074
12075 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12076 Strip "toggle-" if any.
12077
12078 2012-06-27 Glenn Morris <rgm@gnu.org>
12079
12080 * info.el (Info-default-directory-list): Move here from paths.el.
12081 * paths.el: Remove file, which is now empty.
12082 * loadup.el: No longer load "paths".
12083
12084 * custom.el (custom-initialize-delay): Doc fix.
12085
12086 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12087 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12088 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12089 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12090 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12091 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12092 * eshell/eshell.el (eshell-defgroup): Remove alias.
12093
12094 2012-06-27 Chong Yidong <cyd@gnu.org>
12095
12096 * help.el (help-enable-auto-load): New variable.
12097
12098 * help-fns.el (help-fns--autoloaded-p): New function.
12099 (describe-function-1): Refer to a function as "autoloaded" if it
12100 was autoloaded at any time in the past. Perform autoloading if
12101 help-enable-auto-load is non-nil.
12102
12103 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12104
12105 * makefile.w32-in (compile, compile-always): Depend on
12106 update-subdirs, not on subdirs.el. Otherwise, several different
12107 sub-targets of 'bootstrap' running in parallel could
12108 simultaneously write to subdirs.el, producing a garbled file.
12109
12110 2012-06-26 Sam Steingold <sds@gnu.org>
12111
12112 * files.el (file-name-base): New convenience function.
12113 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12114 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12115 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12116 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12117 * textmodes/ispell.el, textmodes/reftex-ref.el:
12118 * textmodes/tex-mode.el: Use it.
12119 Did not touch cedet and org because they are maintained elsewhere.
12120
12121 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12122
12123 * calendar/calendar.el (calendar-exit): Don't try to delete or
12124 iconify last frame. See:
12125 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12126
12127 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12128
12129 * server.el (server-process-filter): Remember dir in the
12130 process's `server-client-directory' properties.
12131
12132 2012-06-24 Chong Yidong <cyd@gnu.org>
12133
12134 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12135 non-tag text.
12136
12137 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12138
12139 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12140
12141 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * help-fns.el (describe-variable): Don't croak when doc is not found.
12144 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12145 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12146 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12147 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12148 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12149 ((lambda ..) ..).
12150 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12151
12152 2012-06-23 Chong Yidong <cyd@gnu.org>
12153
12154 * info.el (Info-mouse-follow-link): Accept symbol values of
12155 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12156 (Info-fontify-node): Use Info-link-keymap for all navigation
12157 buttons, with link-args property to perform the desired action.
12158 (Info-link-keymap): Doc fix.
12159 (Info-next-link-keymap, Info-prev-link-keymap)
12160 (Info-up-link-keymap): Delete now-unused keymaps.
12161
12162 2012-06-23 Chong Yidong <cyd@gnu.org>
12163
12164 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12165
12166 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12167 system abbrevs.
12168
12169 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12170
12171 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12174 (bug#11719).
12175
12176 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12177 the requote function doesn't work properly (bug#11714).
12178
12179 2012-06-23 Glenn Morris <rgm@gnu.org>
12180
12181 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12182
12183 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 Further GV/CL cleanups.
12186 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12187 gv-expander.
12188 (gv--defun-declaration): New function.
12189 (defun-declarations-alist): Use it.
12190 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12191 (gv-place): Autoload.
12192 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12193 original definition of dotimes and dolist.
12194 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12195 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12196 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12197 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12198 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12199 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12200 to the function's definition.
12201 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12202 * window.el:
12203 * files.el:
12204 * faces.el:
12205 * env.el: Don't use CL.
12206
12207 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12208
12209 Support higher-resolution time stamps (Bug#9000).
12210
12211 * calendar/time-date.el (with-decoded-time-value): New arg
12212 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12213 (encode-time-value): New optional arg PICO. New type 3.
12214 (time-to-seconds) [!float-time]: Support the new picoseconds
12215 component if it's used.
12216 (seconds-to-time, time-subtract, time-add):
12217 Support ps-resolution time stamps as well.
12218
12219 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12220 (timerp): Timer vectors now have length 9, not 8.
12221 (timer--time): Support new-style (4-part) time stamps.
12222 (timer-next-integral-multiple-of-time): Time stamps now have
12223 picosecond resolution, so take a bit more care about rounding.
12224 (timer-relative-time, timer-inc-time): New optional arg psecs.
12225 (timer-set-time-with-usecs): Set psecs to 0.
12226 (timer--activate): Check psecs component, too.
12227
12228 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12229
12230 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12233 Move the non-essential binding to the post/pre-command-hook where it is
12234 more obviously correct.
12235
12236 * subr.el (read-passwd): Don't use a history at all.
12237 * savehist.el (savehist-save): Remove password saved accidentally
12238 because of the above bug.
12239
12240 2012-06-22 Bastien Guerry <bzg@gnu.org>
12241
12242 * files.el (toggle-read-only): Display a message telling whether
12243 the buffer is read-only or not (bug#11726).
12244
12245 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12246
12247 * emacs-lisp/gv.el: New file.
12248 * subr.el (push, pop): Extend to generalized variables.
12249 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12250 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12251 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12252 gv-define-simple-setter, and gv-define-expander.
12253 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12254 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12255 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12256 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12257 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12258 gv-letplace.
12259 (cl-defstruct): Don't define setf-method any more.
12260 * emacs-lisp/cl.el (flet): Don't autoload.
12261 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12262 (define-setf-expander, defsetf, define-modify-macro)
12263 (cl-struct-setf-expander): Move from cl-lib.el.
12264 * emacs-lisp/syntax.el:
12265 * emacs-lisp/ewoc.el:
12266 * emacs-lisp/smie.el:
12267 * emacs-lisp/cconv.el:
12268 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12269 (timer--time): Use gv-define-simple-setter.
12270 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12271 to avoid coding-system problems in subr.el. Adjust all users.
12272 (macroexp--maxsize, macroexp-small-p): New functions.
12273 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12274 * scroll-bar.el (scroll-bar-mode):
12275 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12276 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12277 * winner.el (winner-configuration, winner-make-point-alist)
12278 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12279 * files.el (locate-file-completion-table): Avoid list*.
12280
12281 2012-06-22 Chong Yidong <cyd@gnu.org>
12282
12283 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12284 (dired-create-files): Doc fix (Bug#11329).
12285 (dired-do-copy): Doc fix (Bug#11334).
12286 (dired-mark-read-string): Doc fix (Bug#11553).
12287
12288 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12289 Doc fix (Bug#11326).
12290 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12291 (dired-dwim-target): Doc fix.
12292
12293 * wdired.el (wdired-mode): Doc fix.
12294
12295 2012-06-22 Glenn Morris <rgm@gnu.org>
12296
12297 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12298 (pcmpl-rpm-cache-stamp-file): New constant.
12299 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12300 (pcmpl-rpm-packages): Optionally cache list of packages.
12301
12302 * pcmpl-rpm.el (pcmpl-rpm): New group.
12303 (pcmpl-rpm-query-options): New option.
12304 (pcmpl-rpm-packages): No need to inline it.
12305 Use pcmpl-rpm-query-options.
12306
12307 * calendar/calendar.el (calendar-in-read-only-buffer):
12308 Avoid some needless mode changes.
12309
12310 2012-06-21 Chong Yidong <cyd@gnu.org>
12311
12312 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12313 (desktop-path): Remove . from the default value (Bug#10977).
12314 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12315
12316 2012-06-20 Chong Yidong <cyd@gnu.org>
12317
12318 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12319
12320 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12321
12322 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12323 (bug#11201).
12324
12325 2012-06-20 Chong Yidong <cyd@gnu.org>
12326
12327 * term.el (term-window-width): Handle the case of a missing right
12328 fringe (Bug#8837).
12329 (term-check-size): Use window-text-height (Bug#5445).
12330 (term-mode): Use define-derived-mode. Minor cleanups.
12331 Set font-lock-defaults (Bug#7692).
12332 (term-move-columns, term-insert-char, term-emulate-terminal)
12333 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12334
12335 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12336
12337 * net/ange-ftp.el (ange-ftp-get-passwd):
12338 Bind `enable-recursive-minibuffers'.
12339 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12340
12341 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12342
12343 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12344
12345 2012-06-19 Glenn Morris <rgm@gnu.org>
12346
12347 * progmodes/python.el (python-mode): Derive from prog-mode.
12348
12349 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12350
12351 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12352 (edt-user-menu-bar-update-buffers): New functions.
12353 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12354
12355 2012-06-19 Chong Yidong <cyd@gnu.org>
12356
12357 * subr.el (with-selected-window): Preserve the selected window's
12358 terminal's top-frame (Bug#4702).
12359
12360 * window.el (save-selected-window): Likewise.
12361
12362 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12363
12364 * progmodes/python.el (python-rx-constituents): Move backquote.
12365 (python-skeleton-define, python-define-auxiliary-skeleton):
12366 Use `declare'.
12367
12368 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12369
12370 * minibuffer.el (read-file-name-default): Revert the patch from
12371 2012-06-17.
12372
12373 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12374
12375 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12376 (pcase--u1, pcase--q1): Don't use apply-partially.
12377
12378 2012-06-18 Glenn Morris <rgm@gnu.org>
12379
12380 * progmodes/python.el (python-proc, python-buffer)
12381 (python-send-receive, python-send-string): Fix obsolete versions.
12382
12383 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12384
12385 * window.el (special-display-p): Completely remove stringp
12386 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12387
12388 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12389
12390 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12391
12392 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12393
12394 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12395 * net/tramp-sh.el (tramp-maybe-open-connection):
12396 Throw if `non-essential' is non-nil.
12397
12398 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12399
12400 * window.el (special-display-p): Signal an error if BUFFER-NAME
12401 is not a string (Bug#11713).
12402
12403 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12404
12405 * progmodes/python.el (python-info-beginning-of-backslash):
12406 Rename from python-info-beginning-of-backlash, as a spelling fix.
12407
12408 2012-06-17 Chong Yidong <cyd@gnu.org>
12409
12410 * term.el (term-emulate-terminal): If term-check-size is called,
12411 move point to the process mark without resetting point (Bug#4635).
12412
12413 2012-06-17 Glenn Morris <rgm@gnu.org>
12414
12415 * international/mule-cmds.el (mule-menu-keymap)
12416 (set-language-environment, set-locale-environment): Doc tweaks.
12417
12418 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12419
12420 * cus-face.el (custom-face-attributes): Add wave-style underline
12421 attribute.
12422 * faces.el (set-face-attribute): Update docstring to describe
12423 wave-style underline attribute.
12424
12425 2012-06-16 Chong Yidong <cyd@gnu.org>
12426
12427 * term/xterm.el (terminal-init-xterm): Discard input before
12428 querying background mode (Bug#10959).
12429
12430 2012-06-16 Stefan Merten <smerten@oekonux.de>
12431
12432 * textmodes/rst.el: Added and corrected some comments.
12433 (rst-re-alist-def): Improve symbol syntax.
12434 (rst-mode-syntax-table): Correct syntax entries.
12435 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12436 (rst-official-version, rst-official-cvs-rev): Update version
12437 information.
12438
12439 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12440
12441 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12442 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12443
12444 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12445
12446 * progmodes/python.el: New python.el merge.
12447 (python-guess-indent): Obsolete var.
12448 (python-indent-guess-indent-offset): New defcustom.
12449 (python-indent): Obsolete var.
12450 (python-indent-offset): New defcustom.
12451 (python-python-command, python-jython-command): Delete var.
12452 (python-shell-interpreter): New defcustom.
12453 (python-pdbtrack-do-tracking-p): Delete var.
12454 (python-pdbtrack-activate): New defcustom.
12455 (python-use-skeletons): Obsolete var.
12456 (python-skeleton-autoinsert): New defcustom.
12457 (inferior-python-filter-regexp, python-continuation-offset)
12458 (python-honour-comment-indentation, python-indent-string-contents)
12459 (python-jython-packages, python-mode-hook)
12460 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12461 (python-shell-prompt-alist)
12462 (python-source-modes): Delete defcustoms.
12463 (python-check-buffer-name, python-eldoc-setup-code)
12464 (python-eldoc-string-code, python-ffap-setup-code)
12465 (python-ffap-string-code, python-fill-comment-function)
12466 (python-fill-decorator-function, python-fill-paren-function)
12467 (python-fill-string-function, python-imenu-include-defun-type)
12468 (python-imenu-make-tree, python-imenu-subtree-root-label)
12469 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12470 (python-shell-compilation-regexp-alist)
12471 (python-shell-completion-module-string-code)
12472 (python-shell-completion-pdb-string-code)
12473 (python-shell-completion-setup-code)
12474 (python-shell-completion-string-code)
12475 (python-shell-enable-font-lock, python-shell-exec-path)
12476 (python-shell-extra-pythonpaths)
12477 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12478 (python-shell-process-environment)
12479 (python-shell-prompt-block-regexp)
12480 (python-shell-prompt-output-regexp)
12481 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12482 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12483 (python-shell-virtualenv-path): New defcustoms.
12484 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12485 (inferior-python-mode-syntax-table, python--prompt-regexp)
12486 (python-buffer, python-command python-python-command)
12487 (python-default-template, python-imports, python-indent-index)
12488 (python-indent-list, python-indent-list-length)
12489 (python-mode-running, python-pdbtrack-is-tracking-p)
12490 (python-preoutput-continuation, python-preoutput-leftover)
12491 (python-preoutput-result, python-preoutput-skip-next-prompt)
12492 (python-prev-dir/file, python-recursing)
12493 (python-saved-check-command, python-version-checked)
12494 (python-which-func-length-limit)
12495 (view-return-to-alist): Delete vars.
12496 (python-check-custom-command, python-dotty-syntax-table)
12497 (python-imenu-index-alist, python-indent-current-level)
12498 (python-indent-dedenters, python-indent-levels)
12499 (python-nav-beginning-of-defun-regexp)
12500 (python-nav-list-defun-positions-cache)
12501 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12502 (python-shell-internal-buffer)
12503 (python-skeleton-available): New vars.
12504 (def-python-skeleton): Delete macro.
12505 (python-skeleton-define): New macro.
12506 (python-define-auxiliary-skeleton, python-rx): New macros.
12507 (python-insert-class): Delete command.
12508 (python-skeleton-class): New command.
12509 (python-insert-def): Delete command.
12510 (python-skeleton-def): New command.
12511 (python-insert-for): Delete command.
12512 (python-skeleton-for): New command.
12513 (python-insert-if): Delete command.
12514 (python-skeleton-if): New command.
12515 (python-insert-try/except, python-insert-try/finally): Delete commands.
12516 (python-skeleton-try): New command.
12517 (python-insert-while): Delete command.
12518 (python-skeleton-while): New command.
12519 (python-backspace): Delete command.
12520 (python-indent-dedent-line-backspace): New command.
12521 (python-electric-colon): Delete command.
12522 (python-indent-electric-colon): New command.
12523 (python-guess-indent): Delete command.
12524 (python-indent-guess-indent-offset): New command.
12525 (python-shift-left): Delete command.
12526 (python-indent-shift-left): New command.
12527 (python-shift-right): Delete command.
12528 (python-indent-shift-right): New command.
12529 (python-find-function): Delete command.
12530 (python-nav-jump-to-defun): New command.
12531 (python-next-statement): Delete command.
12532 (python-nav-forward-sentence): New command.
12533 (python-previous-statement): Delete command.
12534 (python-nav-backward-sentence): New command.
12535 (python-fill-paragraph): Delete command.
12536 (python-fill-paragraph-function): New command.
12537 (python-send-buffer): Delete command.
12538 (python-shell-send-buffer): New command.
12539 (python-send-defun): Delete command.
12540 (python-shell-send-defun): New command.
12541 (python-send-region, python-send-region-and-go): Delete commands.
12542 (python-shell-send-region)
12543 (python-shell-switch-to-shell): New commands.
12544 (python-send-string): Delete command.
12545 (python-shell-send-string): New command.
12546 (python-switch-to-python): Delete command.
12547 (python-shell-switch-to-shell): New command.
12548 (python-describe-symbol): Delete command.
12549 (python-eldoc-at-point): New command.
12550 (python--set-prompt-regexp, python-args-to-list)
12551 (python-after-info-look, python-check-version)
12552 (python-check-comint-prompt, python-find-imports)
12553 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12554 (python-unload-function, python-expand-template)
12555 (python-maybe-jython, python-preoutput-filter)
12556 (python-pdbtrack-get-source-buffer)
12557 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12558 (python-pdbtrack-toggle-stack-tracking)
12559 (python-pdbtrack-track-stack-file, python-initial-text)
12560 (python-first-word, python-comment-line-p, python-send-command)
12561 (python-setup-brm, python-sentinel, python-set-proc)
12562 (python-skip-out, python-input-filter, python-outdent-p)
12563 (python-outline-level, python-backslash-continuation-line-p)
12564 (python-end-of-block, python-end-of-statement, python-mark-block)
12565 (python-beginning-of-block, python-beginning-of-statement)
12566 (python-blank-line-p, python-beginning-of-string)
12567 (python-open-block-statement-p): Delete functions.
12568 (python-indent-line, python-indent-line-1): Delete functions.
12569 (python-indent-line): New function.
12570 (python-indentation-levels): Delete function.
12571 (python-indent-calculate-levels): New function.
12572 (python-proc): Delete function.
12573 (python-shell-get-process): New function.
12574 (python-send-receive): Delete function.
12575 (python-shell-send-string-no-output): New function.
12576 (python-module-path): Delete function.
12577 (python-ffap-module-path): New function.
12578 (python-completion-at-point)
12579 (python-symbol-completions): Delete functions.
12580 (python-completion-complete-at-point): New function.
12581 (python-load-file): Delete function.
12582 (python-shell-send-file): New function.
12583 (python-calculate-indentation): Delete function.
12584 (python-indent-calculate-indentation): New function.
12585 (python-skip-comments/blanks): Delete function.
12586 (python-util-forward-comment): New function.
12587 (python-continuation-line-p): Delete function.
12588 (python-info-continuation-line-p): New function.
12589 (python-which-func, python-current-defun): Delete function.
12590 (python-info-current-defun): New function.
12591 (python-beginning-of-defun): Delete function.
12592 (python-nav-beginning-of-defun): New function.
12593 (python-close-block-statement-p)
12594 (python-block-end-p): Delete function.
12595 (python-info-closing-block): New function.
12596 (python-comint-output-filter-function)
12597 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12598 (python-fill-comment, python-fill-decorator, python-fill-paren)
12599 (python-fill-string, python-imenu-make-element-tree)
12600 (python-imenu-make-tree, python-imenu-tree-assoc)
12601 (python-indent-context, python-indent-dedent-line)
12602 (python-indent-line-function)
12603 (python-indent-post-self-insert-function)
12604 (python-indent-toggle-levels)
12605 (python-info-assignment-continuation-line-p)
12606 (python-info-beginning-of-backlash)
12607 (python-info-block-continuation-line-p)
12608 (python-info-closing-block-message)
12609 (python-info-line-ends-backslash-p)
12610 (python-info-looking-at-beginning-of-defun)
12611 (python-info-ppss-context, python-info-ppss-context-type)
12612 (python-nav-list-defun-positions, python-nav-read-defun)
12613 (python-nav-sentence-end, python-nav-sentence-start)
12614 (python-pdbtrack-comint-output-filter-function)
12615 (python-pdbtrack-set-tracked-buffer)
12616 (python-shell-calculate-exec-path)
12617 (python-shell-calculate-process-environment)
12618 (python-shell-completion--do-completion-at-point)
12619 (python-shell-completion--get-completions)
12620 (python-shell-completion-complete-at-point)
12621 (python-shell-completion-complete-or-indent)
12622 (python-shell-get-or-create-process)
12623 (python-shell-get-process-name)
12624 (python-shell-internal-get-or-create-process)
12625 (python-shell-internal-get-process-name)
12626 (python-shell-internal-send-string, python-shell-make-comint)
12627 (python-shell-parse-command, python-shell-send-setup-code)
12628 (python-skeleton-add-menu-items)
12629 (python-util-clone-local-variables, python-util-position)
12630 (run-python-internal, python-indentation-levels)
12631 (python-nav-beginning-of-defun)
12632 (python-completion-complete-at-point): New functions.
12633 (run-python): Change arguments. New API requirements.
12634
12635 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12638 (bug#11649).
12639
12640 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12641 (macroexp--expand-all): Use it.
12642
12643 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12644 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12645 Use `cl-function' instead.
12646
12647 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12648
12649 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12650 Suggested by Stefan Monnier while discussing bug#11657.
12651
12652 2012-06-14 Sam Steingold <sds@gnu.org>
12653
12654 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12655
12656 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12657
12658 * play/doctor.el (doctor-doc): Remove parameter and use
12659 doctor-sent instead of sent.
12660 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12661
12662 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * files.el: Require cl-lib.
12665 (file-name-non-special): Replace case -> cl-case.
12666
12667 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12668
12669 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12670 mapping from #' to function*.
12671
12672 2012-06-13 Chong Yidong <cyd@gnu.org>
12673
12674 * mouse.el (mouse-drag-track): Do not set the mark if the user
12675 releases the mouse without selecting anything (Bug#11588).
12676
12677 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12680 as well (bug#11646).
12681
12682 * loadup.el: Count byte-code functions as well.
12683
12684 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12685 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12686
12687 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12688 (bug#11649). Add cl-defun and cl-defmacro.
12689
12690 2012-06-13 Drew Adams <drew.adams@oracle.com>
12691
12692 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12693 Fix last change.
12694
12695 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12696
12697 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12698 Otherwise, it blocks in batch mode.
12699
12700 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * help-mode.el (bookmark-make-record-default): Declare.
12703
12704 2012-06-13 Chong Yidong <cyd@gnu.org>
12705
12706 * emacs-lisp/package.el (list-packages): Compute a list of
12707 packages that are newly-available since the last list-packages
12708 invocation.
12709 (package-menu--new-package-list): New var.
12710 (package-menu--generate, package-menu--print-info)
12711 (package-menu--status-predicate, package-menu-mark-install):
12712 Handle new status label "new".
12713
12714 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12717 conversion to backquotes.
12718
12719 2012-06-12 Chong Yidong <cyd@gnu.org>
12720
12721 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12722 Rename from gud-inhibit-global-bindings.
12723
12724 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12725
12726 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12727 hook from nxml-glyph-set-hook.
12728
12729 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12730 declaration.
12731
12732 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12733
12734 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12735 Convert to defcustom.
12736
12737 2012-06-12 Drew Adams <drew.adams@oracle.com>
12738
12739 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12740 New functions.
12741 (help-mode): Use them.
12742
12743 2012-06-11 Glenn Morris <rgm@gnu.org>
12744
12745 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12746 Use preprocessor face for directives.
12747 (fortran-directive-re): Doc fix.
12748
12749 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12750
12751 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12752 conversion to backquotes (bug#11652).
12753
12754 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12755 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12756 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12757 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12758 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12759 (cl-ninth, cl-tenth): Mark them as inlinable.
12760 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12761 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12762 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12763 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12764 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12765 (cl-list*, cl-adjoin): Don't put an autoload manually.
12766 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12767 (cl--compiler-macro-list*): Add autoload cookie.
12768 (cl--compiler-macro-cXXr): New function.
12769
12770 * help-fns.el (help-fns--compiler-macro): New function extracted from
12771 describe-function-1; follow aliases and use `compiler-macro' property.
12772 (describe-function-1): Use it.
12773
12774 2012-06-11 Chong Yidong <cyd@gnu.org>
12775
12776 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12777 is uninstalled, if imagemagick is installed.
12778
12779 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12780
12781 * emacs-lisp/cl-lib.el: Use lexical-binding.
12782 (cl-map-extents, cl-maclisp-member): Remove.
12783 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12784 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12785 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12786 * emacs-lisp/cl-extra.el: Use lexical-binding.
12787 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12788 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12789 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12790 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12791 * emacs-lisp/cl-seq.el: Use lexical-binding.
12792 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12793 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12794 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12795 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12796 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12797 CL's internals.
12798
12799 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12800
12801 Sync with Tramp 2.2.6-pre.
12802
12803 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12804 `print-length' and `print-level' to nil, in order to avoid
12805 truncation. Reported by Christopher Schmidt
12806 <christopher@ristopher.com>.
12807
12808 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12809
12810 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12811 New defmacro.
12812 (tramp-compat-copy-directory): Add optional argument
12813 COPY-CONTENTS. It is not handled yet.
12814
12815 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12816 (tramp-ftp-file-name-p): Simplify.
12817
12818 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12819 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12820 connection vector.
12821
12822 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12823 (tramp-methods): Do not use `tramp-password-end-of-line'.
12824 (tramp-completion-function-alist-putty): Handle UNIX case.
12825 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12826 (tramp-do-file-attributes-with-stat)
12827 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12828 gid as real numbers. They could run out of integer range on cygwin.
12829 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12830 (tramp-sh-handle-expand-file-name): Handle hops.
12831 (tramp-open-connection-setup-interactive-shell):
12832 Use `tramp-cleanup'. Move check for busyboxes ...
12833 (tramp-find-shell): ... here. Simplify implementation.
12834 Set "remote-shell" property also for alternative shells.
12835 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12836 If failing, a regular file would be written otherwise.
12837 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12838 (tramp-find-inline-encoding): Cache the coding commands in the
12839 process cache. Apply test command on the remote side, if defined.
12840 (tramp-find-inline-compress): Cache the compress commands in the
12841 process cache.
12842 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12843 when requested. Handle hops.
12844 (tramp-current-connection): New defvar.
12845 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12846 Throw `suppress', if there was a failed connection shortly before.
12847 Handle user interrupt. (Bug#10187)
12848 (tramp-get-inline-compress, tramp-get-inline-coding):
12849 Read connection properties from the process cache.
12850
12851 * net/tramp-smb.el (tramp-smb-server-version)
12852 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12853 New defconsts.
12854 (tramp-smb-prompt): Extend for powershell prompt.
12855 (tramp-smb-file-name-handler-alist): Add handlers for
12856 `process-file', `shell-command' and `start-file-process'.
12857 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12858 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12859 (tramp-smb-file-name-p): Simplify.
12860 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12861 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12862 (tramp-smb-shell-quote-argument): New defuns.
12863 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12864 Implement using "tar". By this, time-stamps are preserved.
12865 (tramp-smb-handle-copy-file): Handle also the case of directories.
12866 (tramp-smb-do-file-attributes-with-stat)
12867 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12868 Use `tramp-get-connection-buffer').
12869 (tramp-smb-handle-rename-file): Use "rename", when source and
12870 target are on the same share.
12871 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12872 Use `tramp-smb-server-version'.
12873 (tramp-smb-wait-for-output): Remove prompt.
12874
12875 * net/tramp.el (top): Require 'cl.
12876 (tramp-methods, tramp-rsh-end-of-line):
12877 Remove `tramp-password-end-of-line' from docstring.
12878 (tramp-save-ad-hoc-proxies): New defcustom.
12879 (tramp-completion-function-alist): Adapt docstring.
12880 (tramp-default-password-end-of-line): Remove defcustom.
12881 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12882 (tramp-user-regexp, tramp-file-name-regexp-unified)
12883 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12884 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12885 (tramp-remote-file-name-spec-regexp): New defconst.
12886 (tramp-file-name-structure): Extend structure for hops.
12887 (tramp-get-method-parameter): Move up.
12888 (tramp-file-name-p, tramp-dissect-file-name)
12889 (with-parsed-tramp-file-name): Handle hops.
12890 (tramp-file-name-hop): New defun.
12891 (tramp-make-tramp-file-name): New optional arg HOP.
12892 (tramp-message-show-progress-reporter-message): New defvar.
12893 (tramp-with-progress-reporter): Use it. We cannot use
12894 `tramp-message-show-message' here, because this suppresses also
12895 error buffers.
12896 (tramp-error-with-buffer): Suppress buffer view, if
12897 `tramp-message-show-message' is nil.
12898 Use `tramp-get-connection-buffer'.
12899 (tramp-cleanup): New defun.
12900 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12901 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12902 an error unchanged.
12903 (tramp-completion-handle-file-name-all-completions): Handle hops.
12904 Fix an error when called from ido.
12905 (tramp-completion-dissect-file-name): Use better local variable
12906 name. Add hop to the vector.
12907 (tramp-handle-insert-file-contents): Use progress-reporter for the
12908 whole scenario.
12909 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12910 to `t'.
12911 (tramp-check-for-regexp): Simplify search.
12912 (tramp-enter-password): Remove it. Move implementation ...
12913 (tramp-action-password): ... here.
12914 (tramp-mode-string-to-int, tramp-local-host-p)
12915 (tramp-make-tramp-temp-file, tramp-read-passwd)
12916 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12917 Set tramp-autoload cookie.
12918
12919 * net/trampver.el: Update release number.
12920
12921 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12922 Michael Albinus <michael.albinus@gmx.de>
12923
12924 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12925 (tramp-parse-group, tramp-parse-file)
12926 (tramp-parse-shostkeys-sknownhosts): New defuns.
12927 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12928 (tramp-parse-shosts-group, tramp-parse-sconfig)
12929 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12930 (tramp-parse-sknownhosts, tramp-parse-hosts)
12931 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12932 Use them.
12933 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12934 (tramp-parse-putty-group): Don't narrow.
12935 (tramp-parse-putty): Make a loop.
12936 (tramp-file-name-handler): Catch the `suppress' signal.
12937
12938 2012-06-11 Chong Yidong <cyd@gnu.org>
12939
12940 * image.el (imagemagick-register-types): Put the ImageMagick entry
12941 at the end of image-type-file-name-regexps.
12942
12943 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12944
12945 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12946 (pcase, pcase-let*, pcase-dolist): Use them.
12947
12948 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * emacs-lisp/pcase.el (pcase--let*): New function.
12951 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12952 (pcase--expand): Use macroexp-let².
12953
12954 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12955
12956 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12957 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12958 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12959 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12960 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12961 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12962
12963 2012-06-10 Glenn Morris <rgm@gnu.org>
12964
12965 * mail/rmail.el (rmail-yank-current-message): Leave point at
12966 correct position. (Bug#11660)
12967
12968 2012-06-10 Chong Yidong <cyd@gnu.org>
12969
12970 * allout-widgets.el: Fix code header.
12971
12972 2012-06-10 Chong Yidong <cyd@gnu.org>
12973
12974 * cus-edit.el (customize-changed-options-previous-release):
12975 Bump to 24.1.
12976
12977 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12978
12979 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12980
12981 2012-06-09 Chong Yidong <cyd@gnu.org>
12982
12983 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12984
12985 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12986
12987 * window.el (special-display-popup-frame): Don't use
12988 window--display-buffer (Bug#11651).
12989
12990 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12991
12992 Fix parallel builds: make sure loaddefs.el is not being written
12993 while Lisp files are compiled.
12994 (compile): Don't depend on 'mh-autoloads'.
12995 (compile-CMD, compile-SH): Depend on 'autoloads'.
12996 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12997
12998 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12999
13000 2012-06-09 Chong Yidong <cyd@gnu.org>
13001
13002 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13003 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13004 Doc fixes (Bug#11225).
13005
13006 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13009 a function if there's a clear indication that it has a compiler-macro.
13010 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13011 (macro-declarations-alist): Add arglist to declaration functions.
13012 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13013 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13014 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13015 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13016 Also add autoload to find the compiler macro.
13017 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13018 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13019 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13020 (cl--compiler-macro-get): New functions, replacing calls to
13021 cl-define-compiler-macro.
13022 (cl-typep) [compiler-macro]: Use macroexp-let².
13023
13024 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13025
13026 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13027 string properly, fixes Bug#11473.
13028
13029 2012-06-08 Chong Yidong <cyd@gnu.org>
13030
13031 * faces.el (set-face-attribute): Doc fix.
13032 (modify-face): Don't use :bold and :italic.
13033 (error, warning, success): Tweak definitions.
13034
13035 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13036 (custom-modified, custom-set, custom-changed, custom-themed)
13037 (custom-saved, custom-button, custom-button-mouse)
13038 (custom-button-pressed, custom-state, custom-comment-tag)
13039 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13040 (custom-group-subtitle): Use new-style face specs.
13041 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13042 (custom-set-face, custom-changed-face, custom-saved-face)
13043 (custom-button-face, custom-button-pressed-face)
13044 (custom-documentation-face, custom-state-face)
13045 (custom-comment-face, custom-comment-tag-face)
13046 (custom-variable-tag-face, custom-variable-button-face)
13047 (custom-face-tag-face, custom-group-tag-face-1)
13048 (custom-group-tag-face): Remove obsolete face alias.
13049
13050 * epa.el (epa-validity-high, epa-validity-medium)
13051 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13052 (epa-field-name, epa-field-body):
13053 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13054 (font-lock-keyword-face, font-lock-builtin-face)
13055 (font-lock-function-name-face, font-lock-variable-name-face)
13056 (font-lock-type-face, font-lock-constant-face):
13057 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13058 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13059 * speedbar.el (speedbar-button-face, speedbar-file-face)
13060 (speedbar-directory-face, speedbar-tag-face)
13061 (speedbar-selected-face, speedbar-highlight-face)
13062 (speedbar-separator-face):
13063 * whitespace.el (whitespace-newline, whitespace-space)
13064 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13065 (whitespace-line, whitespace-space-before-tab)
13066 (whitespace-space-after-tab, whitespace-indentation)
13067 (whitespace-empty):
13068 * emulation/cua-base.el (cua-global-mark):
13069 * eshell/em-prompt.el (eshell-prompt):
13070 * net/newst-plainview.el (newsticker-new-item-face)
13071 (newsticker-old-item-face, newsticker-immortal-item-face)
13072 (newsticker-obsolete-item-face, newsticker-date-face)
13073 (newsticker-statistics-face, newsticker-default-face):
13074 * net/newst-reader.el (newsticker-feed-face)
13075 (newsticker-extra-face, newsticker-enclosure-face):
13076 * net/newst-treeview.el (newsticker-treeview-face)
13077 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13078 (newsticker-treeview-immortal-face)
13079 (newsticker-treeview-obsolete-face)
13080 (newsticker-treeview-selection-face):
13081 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13082 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13083 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13084 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13085 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13086 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13087 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13088 (mpuz-text):
13089 * progmodes/vera-mode.el (vera-font-lock-number)
13090 (vera-font-lock-function, vera-font-lock-interface):
13091 * textmodes/table.el (table-cell): Use new-style face specs, and
13092 don't use the old :bold and :italic attributes.
13093
13094 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13095 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13096 (ebrowse-member-class, ebrowse-progress): Likewise.
13097 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13098 (ebrowse-file-name-face, ebrowse-default-face)
13099 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13100 (ebrowse-progress-face): Remove obsolete faces.
13101
13102 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13103 Inherit from error and warning faces respectively.
13104
13105 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13106 Likewise.
13107 (flyspell-incorrect-face, flyspell-duplicate-face):
13108 Remove obsolete aliases.
13109
13110 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13113 Avoid infloop.
13114
13115 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * startup.el (argv, argi): Make lexically scoped.
13118 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13119 * emacs-lisp/cl-macs.el: Use lexical-binding.
13120 Rename cl-bind-* to cl--bind-*.
13121 * files.el: Don't require `cl' since it doesn't use it.
13122 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13123
13124 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13125
13126 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13127 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13128 instead of calling external sort utility.
13129 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13130
13131 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13132
13133 * descr-text.el (describe-char): Mention how to insert the
13134 character, if the current input method doesn't support it.
13135 See the discussion in this thread for the details:
13136 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13137
13138 2012-06-08 Sam Steingold <sds@gnu.org>
13139
13140 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13141 XF86Back to previous-buffer.
13142 (minibuffer-local-map): Bind them to next-history-element and
13143 previous-history-element respectively.
13144 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13145 help-go-back respectively.
13146 * info.el (Info-mode-map): Bind them to Info-history-forward and
13147 Info-history-back respectively.
13148 These are the keys next to Up on the ThinkPad keyboard.
13149
13150 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13153 * emacs-lisp/cl-macs.el: Provide itself.
13154 (cl--labels-convert-cache): New var.
13155 (cl--labels-convert): New function.
13156 (cl-flet, cl-labels): New implementation with new semantics, relying on
13157 lexical-binding.
13158 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13159 (cl-closure-vars, cl--function-convert-cache)
13160 (cl--function-convert): Move from cl-macs.el.
13161 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13162 rename by removing the "cl-" prefix.
13163 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13164
13165 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13166
13167 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13168 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13169 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13170 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13171 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13172 (cl-hash-table-count): Add old compatibility aliases.
13173
13174 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13175 Use macroexpand-all-environment instead.
13176 (cl--old-macroexpand): New var.
13177 (cl--sm-macroexpand): New function.
13178 (cl-symbol-macrolet): Use it during macro expansion.
13179 (cl--function-convert-cache): New var.
13180 (cl--function-convert): New function, extracted from
13181 cl-macroexpand-all.
13182 (cl-lexical-let): Use it.
13183
13184 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13185 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13186 (cl-member): Remove old alias.
13187
13188 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13189 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13190 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13191 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13192 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13193 (cl-macroexpand-cmacs): Remove var.
13194 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13195 Use macroexpand-all instead.
13196
13197 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13198
13199 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13200 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13201 (macroexp-copyable-p): New functions and macros.
13202 * emacs-lisp/edebug.el (edebug-unwrap):
13203 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13204 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13205 (pcase--let*): Remove.
13206 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13207 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13208 macroexp-const-p instead.
13209 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13210
13211 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13212 instead of "cl-" for internal definitions. Use macroexp-const-p.
13213 (cl-old-bc-file-form): Remove var.
13214 (cl-const-exprs-p): Remove fun.
13215 (cl-labels, cl-macrolet): Use backquote.
13216 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13217 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13218 (cl-define-setf-expander): Rename from cl-define-setf-method.
13219 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13220
13221 * international/mule-cmds.el: Don't require CL.
13222 (view-hello-file): Don't use `letf'.
13223
13224 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * tmm.el (tmm-prompt): Use string-prefix-p.
13227 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13228 (tmm-add-prompt): Use minibuffer-completion-help.
13229 (tmm-delete-map): Remove.
13230
13231 * subr.el (kbd): Make it its own function.
13232
13233 2012-06-07 Stefan Merten <smerten@oekonux.de>
13234
13235 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13236 Silence compiler warnings. Fix versions.
13237 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13238 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13239 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13240 (rst-package-emacs-version-alist): Correct Emacs version to
13241 represent major merge with upstream.
13242 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13243
13244 2012-06-06 Glenn Morris <rgm@gnu.org>
13245
13246 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13247 Only print environment variables if set.
13248
13249 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13250
13251 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13252 (macroexp--cons): Rename from maybe-cons.
13253 (macroexp--accumulate): Rename from macroexp-accumulate.
13254 (macroexp--all-forms): Rename from macroexpand-all-forms.
13255 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13256 (macroexp--expand-all): Rename from macroexpand-all-1.
13257
13258 2012-06-06 Sam Steingold <sds@gnu.org>
13259
13260 * calendar/calendar.el (calendar-in-read-only-buffer):
13261 Call `special-mode' to enable the standard read-only keybindings.
13262
13263 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13266 with "loading" messages (bug#11635).
13267
13268 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13269
13270 * files.el (enable-remote-dir-locals): New option.
13271 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13272
13273 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13274 Ensure, that the temp directory is local.
13275
13276 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13277 `temporary-file-directory'.
13278
13279 * progmodes/python.el (python-send-region): Ensure, that the
13280 temporary file is created also in the remote case.
13281
13282 2012-06-06 Glenn Morris <rgm@gnu.org>
13283
13284 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13285 (vc-rcs-update-changelog): Use it.
13286
13287 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13288
13289 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13290 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13291 (vc-sccs-diff): Replace use of the external vcdiff script.
13292
13293 2012-06-05 Glenn Morris <rgm@gnu.org>
13294
13295 * ledit.el: Move to obsolete/.
13296
13297 2012-06-05 Sam Steingold <sds@gnu.org>
13298
13299 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13300 patch (Bug#11140).
13301
13302 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13303
13304 * emacs-lisp/cust-print.el: Move to obsolete.
13305
13306 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13307 compiler-macro expansion.
13308
13309 Add native compiler-macro support.
13310 * emacs-lisp/macroexp.el (macroexpand-all-1):
13311 Support compiler-macros directly. Properly follow aliases and apply
13312 the compiler macros more thoroughly.
13313 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13314 macroexpand now properly follows aliases.
13315 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13316 (cl-compiler-macroexpand): Use new prop.
13317 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13318
13319 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13320
13321 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13322
13323 * window.el (get-lru-window, get-mru-window, get-largest-window):
13324 New argument NOT-SELECTED to avoid picking the selected window.
13325 (window--display-buffer-1, window--display-buffer-2): Replace by
13326 new function window--display-buffer
13327 (display-buffer-same-window, display-buffer-reuse-window)
13328 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13329 Use window--display-buffer.
13330 (display-buffer-use-some-window): Remove temporary dedication
13331 hack by calling get-lru-window and get-largest-window with
13332 NOT-SELECTED argument non-nil. Call window--display-buffer.
13333
13334 2012-06-05 Glenn Morris <rgm@gnu.org>
13335
13336 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13337 Replace external vcdiff script.
13338
13339 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13342
13343 2012-06-04 Chong Yidong <cyd@gnu.org>
13344
13345 * image.el (imagemagick-types-inhibit): Revert last change.
13346 Add INFO and M.
13347 (imagemagick-enabled-types): Remove CIN and EPS*.
13348
13349 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13350
13351 * emacs-lisp/cl-lib.el: Rename from cl.el.
13352 * emacs-lisp/cl.el: New compatibility file.
13353 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13354 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13355 to obey the "cl-" prefix.
13356 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13357
13358 2012-06-03 Glenn Morris <rgm@gnu.org>
13359
13360 * emacs-lisp/authors.el (authors-aliases): Addition.
13361
13362 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13363 Fix :version.
13364
13365 2012-06-03 Stefan Merten <smerten@oekonux.de>
13366
13367 * textmodes/rst.el: Add comments.
13368 (rst-transition, rst-adornment): New faces.
13369 (rst-adornment-faces-alist): Make default safe to reevaluate.
13370 Fixes
13371 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13372 Improve customization tags.
13373 (rst-define-level-faces): Clarify meaning.
13374
13375 2012-06-03 Chong Yidong <cyd@gnu.org>
13376
13377 * progmodes/compile.el (compilation-mode-line-fail)
13378 (compilation-mode-line-run, compilation-mode-line-exit):
13379 New faces.
13380 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13381
13382 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13383
13384 * progmodes/which-func.el (which-func-update-ediff-windows):
13385 New function. Use it in ediff-select-hook (Bug#11478).
13386
13387 2012-06-03 Chong Yidong <cyd@gnu.org>
13388
13389 * bindings.el: Remove explicit help text from format-mode-line.
13390 It is now supplied by mode-line-default-help-echo.
13391 (mode-line-front-space, mode-line-end-spaces)
13392 (mode-line-misc-info): New variables.
13393 (mode-line-modes, mode-line-position): Move the default value to
13394 the variable definition.
13395 (mode-line-default-help-echo): New defcustom.
13396 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13397 (mode-line-modified-help-echo): New functions.
13398 (mode-line-mule-info, mode-line-modified): Use them.
13399 (mode-line-eol-desc, propertized-buffer-identification):
13400 Consistency fixes for help text.
13401 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13402 set-buffer-file-coding-system (Bug#289).
13403 (mode-line-mule-info-help-echo): Update help text.
13404
13405 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * simple.el (execute-extended-command): Set real-this-command
13408 (bug#11506).
13409
13410 2012-06-02 Chong Yidong <cyd@gnu.org>
13411
13412 Remove incorrect uses of "modeline" in comments, docstrings, and
13413 function/variable names (Bug#10329).
13414
13415 * cus-edit.el (mode-line):
13416 * dframe.el (dframe-mouse-hscroll):
13417 * emacs-lisp/re-builder.el:
13418 * emacs-lisp/easy-mmode.el (define-minor-mode):
13419 * frame.el (set-frame-name):
13420 * help.el (lookup-minor-mode-from-indicator):
13421 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13422 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13423 (c-toggle-hungry-state):
13424 * progmodes/antlr-mode.el (antlr-language-alist):
13425 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13426 * progmodes/vhdl-mode.el (vhdl-mode):
13427 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13428 * term/ns-win.el (ns-face-at-pos):
13429 * term/sup-mouse.el (sup-mouse-report):
13430 * textmodes/flyspell.el (flyspell-mode-line-string):
13431 * textmodes/ispell.el (ispell-highlight-face):
13432 * textmodes/reftex-global.el:
13433 * vc/vc-arch.el (vc-arch-mode-line-string):
13434 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13435 * vc/vc-git.el (vc-git-mode-line-string):
13436 * vc/vc-hooks.el (vc-display-status)
13437 (vc-default-mode-line-string):
13438 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13439
13440 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13441
13442 * dired.el (dired-sort-set-mode-line): Rename from
13443 dired-sort-set-modeline. All callers changed.
13444
13445 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13446 eshell-status-in-modeline.
13447
13448 * foldout.el (foldout-mode-line-string): Rename from
13449 foldout-modeline-string. All callers changed.
13450 (foldout-update-mode-line): Rename from foldout-update-modeline.
13451
13452 * subr.el (redraw-modeline): Make into obsolete alias.
13453
13454 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13455 timeclock-modeline-display. Make old name an alias.
13456 (timeclock-update-mode-line): Likewise. All callers changed.
13457 (timeclock-mode-line-display): No need to check before using
13458 add-hook.
13459 (timeclock-relative, timeclock-day-over-hook)
13460 (timeclock-use-elapsed, timeclock-mode-string)
13461 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13462
13463 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13464 crisp-mode-modeline-string.
13465
13466 * play/solitaire.el (solitaire-build-mode-line): Rename from
13467 solitaire-build-modeline. All callers changed.
13468
13469 * play/zone.el (zone-hiding-mode-line): Rename from
13470 zone-hiding-modeline. All callers changed.
13471 (zone): Remove unusued `modeline-hidden-level' property.
13472
13473 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13474 xscheme-modeline-initialize. All callers changed.
13475
13476 * strokes.el (strokes-lighter): Rename from
13477 strokes-modeline-string.
13478
13479 * textmodes/sgml-mode.el (html-face-tag-alist)
13480 (html-tag-face-alist): Use mode-line face instead of obsolete
13481 alias modeline.
13482
13483 2012-06-02 Stefan Merten <smerten@oekonux.de>
13484
13485 * textmodes/rst.el: Always require `cl'.
13486 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13487
13488 2012-06-02 Chong Yidong <cyd@gnu.org>
13489
13490 * image.el (imagemagick-enabled-types): Rename from
13491 imagemagick-types-enable. Add many more types.
13492 (imagemagick-types-inhibit): Change default to nil.
13493 (imagemagick-filter-types): Caller changed.
13494
13495 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13496
13497 * emacs-lisp/cl-macs.el: Use backquotes.
13498 (cl-transform-function-property): Use eval-and-compile rather than
13499 abusing `require'.
13500 (defstruct): Use declare-function instead of with-no-warnings.
13501
13502 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13503 (byte-compile-output-docform): Re-add the print-circle bindings.
13504 (byte-compile-fix-header): Use #$ just because it's shorter.
13505 (byte-compile-output-file-form): Remove defun/defmacro.
13506
13507 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13508
13509 * simple.el (choose-completion): Remove now obsolete binding for
13510 owindow.
13511
13512 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13513
13514 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13515 in order to avoid "Stack overflow in regexp matcher".
13516
13517 2012-05-31 Glenn Morris <rgm@gnu.org>
13518
13519 * image.el: For clarity, call imagemagick-register-types at
13520 top-level, rather than relying on a custom :initialize.
13521 (imagemagick-types-enable): New option. (Bug#11557)
13522 (imagemagick-filter-types): New function. (Bug#7406)
13523 (imagemagick-register-types): Use imagemagick-filter-types.
13524 If disabling support, remove elements altogether rather
13525 than using an impossible regexp.
13526 (imagemagick-types-inhibit): Give it the default init function.
13527
13528 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13531 Handle arbitrary file name lengths (Bug#11585).
13532
13533 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13534
13535 * desktop.el (desktop-read): Clear previous and next buffers for
13536 all windows and bury *Messages* buffer (bug#11556).
13537
13538 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13539
13540 Add `declare' for `defun'. Align `defmacro's with it.
13541 * emacs-lisp/easy-mmode.el (define-minor-mode)
13542 (define-globalized-minor-mode): Don't autoload the var definitions.
13543 * emacs-lisp/byte-run.el: Use lexical-binding.
13544 (defun-declarations-alist, macro-declarations-alist): New vars.
13545 (defmacro, defun): Use them.
13546 (make-obsolete, define-obsolete-function-alias)
13547 (make-obsolete-variable, define-obsolete-variable-alias):
13548 Use `declare'.
13549 (macro-declaration-function): Mark obsolete.
13550 * emacs-lisp/autoload.el: Use lexical-binding.
13551 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13552
13553 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13554
13555 * textmodes/ispell.el (ispell-with-no-warnings):
13556 Define as a macro.
13557 (ispell-kill-ispell, ispell-change-dictionary):
13558 Use `called-interactively-p' for Emacs instead of obsolete
13559 `interactive-p'.
13560
13561 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13564 (macro-declaration-function): Move var from C code.
13565 (macro-declaration-function): Define function with defalias.
13566 * emacs-lisp/macroexp.el (macroexpand-all-1):
13567 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13569 defun/defmacro any more.
13570 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13571 Provide fallback for unknown arglist.
13572 (byte-compile-arglist-warn): Change calling convention.
13573 (byte-compile-output-file-form): Move print-vars binding.
13574 (byte-compile-output-docform): Simplify accordingly.
13575 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13576 (byte-compile-defmacro-declaration): Remove.
13577 (byte-compile-file-form-defmumble): Generalize to defalias.
13578 (byte-compile-output-as-comment): Return byte-positions.
13579 Simplify callers accordingly.
13580 (byte-compile-lambda): Use `assert'.
13581 (byte-compile-defun, byte-compile-defmacro): Remove.
13582 (byte-compile-file-form-defalias):
13583 Use byte-compile-file-form-defmumble.
13584 (byte-compile-defalias-warn): Remove.
13585
13586 2012-05-29 Stefan Merten <smerten@oekonux.de>
13587
13588 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13589 possible. Fix authors. Improve comments. Improve loading of `cl'.
13590
13591 (rst-mode-abbrev-table): Merge definition.
13592 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13593 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13594
13595 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13596
13597 * calendar/icalendar.el
13598 (icalendar-export-region): Export UID properly.
13599
13600 2012-05-29 Leo Liu <sdl.web@gmail.com>
13601 * calendar/icalendar.el (icalendar-import-format):
13602 Add `icalendar-import-format-uid' (Bug#11525).
13603 (icalendar-import-format-uid): New.
13604 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13605 Export UID.
13606
13607 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13610 different alternative patterns.
13611 (pcase-codegen): Be more careful to preserve identity.
13612 (pcase--u1): Don't forget to mark vars as used.
13613
13614 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13615 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13616 (byte-compile-from-buffer): ...rather than here.
13617
13618 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13619 functions from byte-compile-function-environment.
13620
13621 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13622
13623 * window.el (window-deletable-p): Avoid deleting the root window
13624 of a frame with an active minibuffer.
13625
13626 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13627
13628 * simple.el (choose-completion): Use quit-window (Bug#11567).
13629
13630 2012-05-29 Chong Yidong <cyd@gnu.org>
13631
13632 * whitespace.el (whitespace-cleanup): Fix usage of
13633 whitespace-empty-at-bob-regexp (Bug#11492).
13634
13635 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13636
13637 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13638 revert (Bug#11488).
13639
13640 2012-05-29 Juri Linkov <juri@jurta.org>
13641
13642 * isearch.el (isearch-mode-map): Bind `M-s _' to
13643 `isearch-toggle-symbol'. Bind `M-s c' to
13644 `isearch-toggle-case-fold'.
13645 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13646 (isearch-forward): Add `M-s _' to the docstring.
13647 (isearch-forward-symbol, isearch-toggle-case-fold)
13648 (isearch-symbol-regexp): New functions. (Bug#11381)
13649
13650 2012-05-29 Juri Linkov <juri@jurta.org>
13651
13652 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13653 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13654 a function, call it to get the regexp.
13655 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13656 property `isearch-message-prefix' instead of the string "word ".
13657 (isearch-search-fun-default): For the case of `isearch-word',
13658 return a lambda that calls re-search-forward/re-search-backward
13659 with a regexp returned by `word-search-regexp' or by the function
13660 in `isearch-word'.
13661
13662 2012-05-29 Juri Linkov <juri@jurta.org>
13663
13664 * isearch.el (isearch-search-fun-default): New function.
13665 (isearch-search-fun): Move default part to the new function
13666 `isearch-search-fun-default'.
13667 (isearch-search-fun-function): Set the default value to
13668 `isearch-search-fun-default'. (Bug#11381)
13669
13670 * comint.el (comint-history-isearch-end):
13671 Use `isearch-search-fun-default'.
13672 (comint-history-isearch-search): Use `isearch-search-fun-default'
13673 and remove spacial case for `isearch-word'.
13674 (comint-history-isearch-wrap): Remove spacial case for
13675 `isearch-word'.
13676
13677 * hexl.el (hexl-isearch-search-function):
13678 Use `isearch-search-fun-default'.
13679
13680 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13681 Use `word-search-regexp' for `isearch-word'.
13682
13683 * misearch.el (multi-isearch-search-fun):
13684 Use `isearch-search-fun-default'.
13685
13686 * simple.el (minibuffer-history-isearch-search):
13687 Use `isearch-search-fun-default' and remove spacial case for
13688 `isearch-word'.
13689 (minibuffer-history-isearch-wrap): Remove spacial case for
13690 `isearch-word'.
13691
13692 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13693 Remove spacial case for `isearch-word'.
13694 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13695
13696 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13697
13698 Decrease XEmacs incompatibilities.
13699 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13700 Use `string-match'.
13701 (flyspell-delete-region-overlays): Use alternative definition for
13702 XEmacs.
13703 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13704 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13705 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13706 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13707 `define-obsolete-face-alias' under XEmacs, but old method.
13708
13709 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13710 `with-no-warnings' definition or Emacs alias.
13711 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13712 (ispell-word): Do not use `region-p' if XEmacs.
13713
13714 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13715
13716 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13717 Check for `ispell-dictionary-base-alist' instead of full
13718 `ispell-dictionary-alist'.
13719 (ispell-init-process): Show spellchecker when starting new Ispell
13720 process.
13721
13722 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13725 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13726
13727 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13728
13729 * version.el (motif-version-string, gtk-version-string)
13730 (ns-version-string): Declare.
13731
13732 2012-05-27 Juri Linkov <juri@jurta.org>
13733
13734 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13735 after the `eval-defun-1' specialcaseing
13736 like in `edebug-eval-defun' (bug#10181).
13737
13738 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13739 like in `eval-defun-1'.
13740
13741 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13742
13743 * mail/sendmail.el (mail-yank-region):
13744 Recognize rmail-yank-current-message in addition to insert-buffer.
13745 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13746 a *mail* buffer created through rmail-start-mail with sendmail as
13747 mail-user-agent.
13748
13749 2012-05-27 Chong Yidong <cyd@gnu.org>
13750
13751 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13752 Default to 256 (Bug#11267).
13753
13754 * help.el (describe-mode): Doc fix.
13755
13756 2012-05-26 Glenn Morris <rgm@gnu.org>
13757
13758 * w32-fns.el (w32-init-info): Remove.
13759 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13760
13761 * info.el (info-initialize): For self-contained NS builds, put the
13762 included info/ directory at the front. (Bug#2791)
13763
13764 * paths.el (Info-default-directory-list): Make it a defcustom,
13765 mainly so that we can use custom-initialize-delay.
13766
13767 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * subr.el (buffer-has-markers-at): Mark obsolete.
13770
13771 * subr.el (lambda): Use declare.
13772
13773 * emacs-lisp/lisp-mode.el (lambda):
13774 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13775
13776 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13777
13778 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13779
13780 2012-05-26 Glenn Morris <rgm@gnu.org>
13781
13782 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13783
13784 2012-05-25 Glenn Morris <rgm@gnu.org>
13785
13786 * paths.el: Remove no-byte-compile.
13787 * loadup.el: No need to load paths.el uncompiled.
13788
13789 * image.el (imagemagick-types-inhibit): Doc fix.
13790
13791 * version.el: Remove no-byte-compile and associated formatting.
13792 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13793 is ancient code from when there was an "inc-vers.el".
13794
13795 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * progmodes/gdb-mi.el: Minor style changes.
13798 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13799 Turn into minor modes.
13800 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13801 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13802 (gdb-shell): Remove unneeded let-binding.
13803 (gdb-get-many-fields): Eliminate O(n²) behavior.
13804
13805 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13806
13807 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13808 platforms that don't link in fontset.c.
13809
13810 2012-05-25 Juri Linkov <juri@jurta.org>
13811
13812 Use the same diff color scheme as in modern VCSes (bug#10181).
13813
13814 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13815 to avoid confusion with `diff-added' that now uses green colors.
13816 (diff-removed): Use shades of red.
13817 (diff-added): Use shades of green.
13818 (diff-changed): Leave just the yellow color.
13819 (diff-use-changed-face): New variable.
13820 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13821 how to highlight context diff changes.
13822 (diff-refine-change): Use shades of yellow.
13823 (diff-refine-removed): New face that uses shades of red.
13824 (diff-refine-added): New face that uses shades of green.
13825 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13826 `diff-refine-removed' in the call to `smerge-refine-subst'
13827 depending on the value of `diff-use-changed-face'.
13828
13829 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13830 (smerge-other): Use shades of green.
13831 (smerge-base): Use shades of yellow.
13832 (smerge-refined-change): Empty face.
13833 (smerge-refined-removed): New face that uses shades of red.
13834 (smerge-refined-added): New face that uses shades of green.
13835 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13836 args `props-r' and `props-a', and use them. Doc fix.
13837 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13838 on its value use different faces `smerge-refined-change',
13839 `smerge-refined-removed', `smerge-refined-added' in the call to
13840 `smerge-refine-subst'.
13841
13842 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13843 Add face condition `min-colors 88' with shades of red.
13844 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13845 `min-colors 88' with shades of green.
13846 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13847 `min-colors 88' with shades of yellow.
13848
13849 2012-05-24 Glenn Morris <rgm@gnu.org>
13850
13851 * paths.el (prune-directory-list, remote-shell-program): Move to...
13852 * files.el (prune-directory-list, remote-shell-program): ...here.
13853 For the latter, delay initialization, prefer ssh, just search PATH.
13854
13855 * paths.el (term-file-prefix): Move to faces.el (the only user).
13856 * faces.el (term-file-prefix): Move here, make it a defcustom.
13857
13858 * paths.el (news-directory, news-path, news-inews-program):
13859 Move to gnus/nnspool.el.
13860
13861 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13862
13863 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13864 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13865 Make the latter a defcustom, with a delayed initialization.
13866
13867 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13868 These were deleted from Gnus itself late 2010.
13869
13870 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13871
13872 * progmodes/which-func.el (which-func-ff-hook):
13873 Check against user-error, not error.
13874
13875 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13876 cl-specs.el, which no longer exists.
13877
13878 2012-05-22 Glenn Morris <rgm@gnu.org>
13879
13880 * info.el (info-emacs-bug): New command.
13881 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13882 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13883
13884 2012-05-21 Glenn Morris <rgm@gnu.org>
13885
13886 * makefile.w32-in (update-subdirs-SH):
13887 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13888
13889 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13890
13891 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13892
13893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13894 Simplify Maven regexp, and make sure the file can't start with a space
13895 (bug#11517).
13896
13897 2012-05-21 Glenn Morris <rgm@gnu.org>
13898
13899 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13900 Scrap superfluous subshells.
13901
13902 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13905 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13906
13907 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13908
13909 * calc/calc.el (calc-ensure-consistent-units): New variable.
13910
13911 * calc/calc-units.el (math-consistent-units-p)
13912 (math-check-unit-consistency): New functions.
13913 (calc-quick-units, calc-convert-units):
13914 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13915 is non-nil.
13916 (calc-extract-units): Fix typo.
13917
13918 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13921
13922 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13923 (flyspell-default-deplacement-commands): Don't spell check after
13924 repeated window/frame switches (e.g. triggered by mouse-movement).
13925 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13926 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13927 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13928 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13929 Remove unused vars.
13930 (flyspell-get-casechars, flyspell-get-not-casechars):
13931 Simplify; Don't bother removing a ] just to add it back.
13932 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13933
13934 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13935
13936 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13937 New functions.
13938 (math-function-table): Add support for more C functions.
13939
13940 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13941
13942 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13943 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13944 Protect delay handling for otherchars against empty otherchars.
13945
13946 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13949 their respective macro declarations.
13950 * skeleton.el (define-skeleton):
13951 * progmodes/compile.el (define-compilation-mode):
13952 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13953 (define-ibuffer-filter):
13954 * emacs-lisp/generic.el (define-generic-mode):
13955 * emacs-lisp/easy-mmode.el (define-minor-mode)
13956 (define-globalized-minor-mode):
13957 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13958 * emacs-lisp/byte-run.el (defsubst):
13959 * custom.el (deftheme): Add doc-string metadata.
13960
13961 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13962
13963 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13964
13965 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13968
13969 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13970 * emacs-lisp/cl-macs.el: Idem.
13971 * emacs-lisp/cl-specs.el: Remove.
13972
13973 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 Minor renaming of internal CL functions and variables.
13976 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13977 (cl--position): Rename from cl-position.
13978 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13979 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13980 (cl--random-state): Rename from *random-state*.
13981
13982 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13983
13984 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13985 parens around the arg list (bug#11499).
13986
13987 2012-05-17 Juri Linkov <juri@jurta.org>
13988
13989 * isearch.el (word-search-regexp, word-search-backward)
13990 (word-search-forward, word-search-backward-lax)
13991 (word-search-forward-lax): Move functions from search.c
13992 (bug#10145, bug#11381).
13993
13994 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13995
13996 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13997 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13998 Delay for otherchars as for normal word components.
13999
14000 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14001
14002 * minibuffer.el (completion--sifn-requote): Fix last change.
14003 (minibuffer-local-must-match-filename-map):
14004 Move define-obsolete-variable-alias before its var.
14005
14006 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14007
14008 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14009
14010 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14011 behavior.
14012 (completion--string-equal-p): New function.
14013 (completion--twq-all): Use it to get better assertion failure data.
14014
14015 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14016 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14017 (shell--requote-argument): New functions.
14018 (shell-completion-vars): Use them.
14019 (shell--parse-pcomplete-arguments): Rename from
14020 shell-parse-pcomplete-arguments.
14021 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14022 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14023 Obey comint-file-name-quote-list.
14024
14025 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14026 (smie-indent-keyword): Use it.
14027
14028 2012-05-14 Stefan Merten <smerten@oekonux.de>
14029
14030 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14031
14032 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * net/rlogin.el (rlogin-mode-map): Fix last change.
14035
14036 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14037
14038 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14039 the following \r\n using a single `process-send-string', since the
14040 Lotus SMTP server refuses to accept any commands if they are sent
14041 with two `process-send-string's (Bug#11444).
14042
14043 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14044
14045 * shell.el (shell-parse-pcomplete-arguments):
14046 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14047
14048 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14049
14050 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14051 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14052 (image-transform-width, image-transform-fit-width): New functions.
14053 (image-transform-properties): Use them.
14054 (image-transform-check-size): New function.
14055 (image-toggle-display-image): Use it (for testing).
14056 (image-transform-set-rotation): Reduce angle mod 360.
14057 Delete obsolete comment.
14058
14059 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14060
14061 * image-mode.el: Fix scaling (bug#11399).
14062 (image-transform-resize): Doc fix.
14063 (image-transform-properties): Default scale is 1 and height should
14064 be an integer.
14065
14066 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14067
14068 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14069 than hard-coding `car', to fix misbehavior when moving forward.
14070
14071 2012-05-13 Chong Yidong <cyd@gnu.org>
14072
14073 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14074 (tabulated-list-entries, tabulated-list-padding)
14075 (tabulated-list-sort-key): Make permanent-local.
14076
14077 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14078 (electric-buffer-list): Put electric buffer menu
14079 command descriptions in this docstring, instead of the docstring
14080 of electric-buffer-menu-mode. Code cleanups.
14081 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14082 Electric-buffer-menu-mode.
14083 (electric-buffer-update-highlight): Minor code cleanup.
14084
14085 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14086
14087 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14088 (Bug#11447)
14089
14090 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 Move define-obsolete-variable-alias before the var's definition.
14093 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14094 * tooltip.el (tooltip-hook):
14095 * textmodes/reftex-toc.el (reftex-toc-map):
14096 * textmodes/reftex-sel.el (reftex-select-label-map)
14097 (reftex-select-bib-map):
14098 * textmodes/reftex-index.el (reftex-index-map)
14099 (reftex-index-phrases-map):
14100 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14101 * progmodes/meta-mode.el (meta-mode-map):
14102 * novice.el (disabled-command-hook):
14103 * loadhist.el (unload-hook-features-list):
14104 * frame.el (blink-cursor):
14105 * files.el (find-file-not-found-hooks, write-file-hooks)
14106 (write-contents-hooks):
14107 * emulation/tpu-edt.el (GOLD-map):
14108 * emacs-lock.el (emacs-lock-from-exiting):
14109 * emacs-lisp/generic.el (generic-font-lock-defaults):
14110 * emacs-lisp/chart.el (chart-map):
14111 * dos-fns.el (register-name-alist):
14112 * dired-x.el (dired-omit-files-p):
14113 * desktop.el (desktop-enable):
14114 * cus-edit.el (custom-mode-hook):
14115 * buff-menu.el (buffer-menu-mode-hook):
14116 * bookmark.el (bookmark-read-annotation-text-func)
14117 (bookmark-exit-hooks):
14118 * allout.el (allout-mode-deactivate-hook)
14119 (allout-exposure-change-hook, allout-structure-added-hook)
14120 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14121 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14122 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14123 comes before the corresponding variable's definition.
14124
14125 2012-05-12 Chong Yidong <cyd@gnu.org>
14126
14127 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14128 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14129 (Buffer-menu-mode-map): Bind it.
14130 (Buffer-menu--pretty-name): Add a mouse-face property.
14131
14132 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14135 (prolog-upper-case-string, prolog-lower-case-string)
14136 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14137 (prolog-use-smie, prolog-smie-grammar): New vars.
14138 (prolog-smie-forward-token, prolog-smie-backward-token)
14139 (prolog-smie-rules): New funs.
14140 (prolog-comment-indent): Remove.
14141 (prolog-mode-variables): Use default comment indentation instead.
14142 Setup SMIE.
14143 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14144 (prolog-mode): Don't call them any more.
14145 (prolog-electric-colon, prolog-electric-dash)
14146 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14147
14148 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14149
14150 * minibuffer.el (completion--twq-all): Again, allow case differences.
14151
14152 * term.el: Move keymap initialization code to be more idiomatic.
14153 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14154 (term-terminal-menu): Move initialization into declaration.
14155 (term-escape-char): Let the user set it in her .emacs.
14156
14157 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14158 Provide SMIE-based indentation (not enabled by default yet).
14159 (sh-mode-map): Don't bind electric keys.
14160 Use electric-pair-mode instead of skeleton-pair.
14161 (sh-assignment-regexp): Fit within 80 columns.
14162 (sh-indent-supported): Specify actual shell name instead of boolean.
14163 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14164 (sh-maybe-here-document): Use it. Make obsolete.
14165 (sh-electric-here-document-mode) New minor mode.
14166 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14167 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14168 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14169 (sh-smie-rc-grammar, sh-use-smie): New vars.
14170 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14171 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14172 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14173 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14174 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14175 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14176 (sh-set-shell): Use smie-setup if requested.
14177
14178 * term.el (term-set-escape-char): Properly set term-escape-char.
14179 See http://stackoverflow.com/questions/10524656.
14180
14181 2012-05-10 Chong Yidong <cyd@gnu.org>
14182
14183 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14184 Use url-generic-parse-url, and handle host names and Windows
14185 filenames properly.
14186 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14187 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14188 URL schemes to work on.
14189 (ffap--toggle-read-only): New function.
14190 (ffap-read-only, ffap-read-only-other-window)
14191 (ffap-read-only-other-frame): Use it.
14192 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14193 necessary for ffap-url-unwrap-remote.
14194
14195 2012-05-10 Dave Abrahams <dave@boostpro.com>
14196
14197 * cus-start.el (create-lockfiles): Add it.
14198
14199 2012-05-09 Chong Yidong <cyd@gnu.org>
14200
14201 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14202 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14203
14204 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14205
14206 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14207
14208 2012-05-09 Chong Yidong <cyd@gnu.org>
14209
14210 * ansi-color.el (ansi-color-process-output): Check for validity of
14211 comint-last-output-start before using it. This avoids a bad
14212 interaction with gdb-mi's input/output buffer.
14213
14214 2012-05-09 Glenn Morris <rgm@gnu.org>
14215
14216 * files.el (dir-locals-read-from-file):
14217 Mention dir-locals in any error message.
14218
14219 2012-05-09 Chong Yidong <cyd@gnu.org>
14220
14221 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14222 package (Bug#11410).
14223
14224 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14225 variables into description.
14226
14227 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14230 shell-delimiter-argument-list (bug#11348).
14231 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14232
14233 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14234
14235 * textmodes/rst.el: Silence byte-compiler warnings.
14236 (rst-re-alist, rst-reset-section-caches): Move around.
14237 (rst-re): Use `characterp', not `char-valid-p'.
14238 (font-lock-beg, font-lock-end): Declare.
14239
14240 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14241 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14242
14243 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14244
14245 2012-05-08 Glenn Morris <rgm@gnu.org>
14246
14247 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14248
14249 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14250
14251 * vc/log-edit.el: Add GNU coding standards highlighting.
14252 (log-edit-font-lock-gnu-style)
14253 (log-edit-font-lock-gnu-keywords): New vars.
14254 (log-edit-font-lock-keywords): New fun.
14255 (log-edit-mode): Don't fold case in font-lock.
14256 (log-edit-font-lock-keywords): Do not assume case-folding.
14257
14258 * imenu.el: Misc cleanup. Make docstrings out of comments.
14259 Use lexical-binding.
14260 (imenu--index-alist, imenu--last-menubar-index-alist)
14261 (imenu-menubar-modified-tick): Use defvar-local.
14262 (imenu--split-menu): Remove unused var.
14263 (imenu--cleanup-seen): Declare as global.
14264 (imenu--cleanup): Use dolist.
14265
14266 * subr.el (defvar-local): Add debug spec and doc-string position.
14267
14268 2012-05-08 Glenn Morris <rgm@gnu.org>
14269
14270 * language/burmese.el, language/cham.el, language/czech.el:
14271 * language/english.el, language/georgian.el, language/greek.el:
14272 * language/japanese.el, language/khmer.el, language/korean.el:
14273 * language/lao.el, language/misc-lang.el, language/romanian.el:
14274 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14275 * language/thai.el, language/utf-8-lang.el:
14276 Remove no-byte-compile setting.
14277
14278 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14279
14280 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14281
14282 * progmodes/make-mode.el (makefile-browse):
14283 Remove unnecessary interactive. (Bug#11324)
14284
14285 2012-05-07 Glenn Morris <rgm@gnu.org>
14286
14287 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14288
14289 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14290
14291 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * loadup.el: Preload newcomment.el.
14294 * newcomment.el: Move autoload-only code to toplevel.
14295
14296 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14297 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14298 Handle new :right-align column property.
14299 (tabulated-list-print-col): Idem, plus use `display' text-property to
14300 try and preserve alignment for variable pitch fonts.
14301
14302 2012-05-07 Chong Yidong <cyd@gnu.org>
14303
14304 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14305 (tabulated-list-use-header-line): New var.
14306 (tabulated-list-init-header): Use it.
14307 (tabulated-list-print-fake-header): New function.
14308 (tabulated-list-print): Use it.
14309 (tabulated-list-sort-button-map): Add non-header-line commands.
14310 (tabulated-list-init-header): Add column name property to basic
14311 labels as well.
14312 (tabulated-list-col-sort): Handle non-header-line button case.
14313 (tabulated-list--sort-by-column-name): Fix a corner case.
14314
14315 * buff-menu.el (list-buffers--refresh):
14316 Handle Buffer-menu-use-header-line.
14317
14318 2012-05-06 Chong Yidong <cyd@gnu.org>
14319
14320 * buff-menu.el: Convert to Tabulated List mode.
14321 (Buffer-menu-buffer+size-width): Make obsolete.
14322 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14323 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14324 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14325 documentation into docstring of buffer-menu.
14326 (Buffer-menu-toggle-files-only): Add an informative message.
14327 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14328 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14329 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14330 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14331 (Buffer-menu-execute, Buffer-menu-select)
14332 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14333 (Buffer-menu-bury): Use Tabulated List machinery.
14334 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14335 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14336 Delete.
14337 (list-buffers--refresh): New function.
14338 (list-buffers-noselect): Use it.
14339 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14340 (Buffer-menu--pretty-file-name): New helper functions.
14341
14342 * loadup.el: Preload tabulated-list.
14343
14344 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14345 tabulated-list-sort-column.
14346 (tabulated-list-init-header): Add the initial aligning space even
14347 if tabulated-list-padding is zero.
14348
14349 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14350
14351 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14352 whose cdr is not a cons cell correctly (bug#11038).
14353
14354 2012-05-06 Chong Yidong <cyd@gnu.org>
14355
14356 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14357 Accept additional plist in column descriptors.
14358 (tabulated-list-init-header): Obey it.
14359 (tabulated-list-get-entry): New function.
14360 (tabulated-list-put-tag): Use it. Use string-width instead of
14361 length.
14362 (tabulated-list--column-number): New function.
14363 (tabulated-list-print): Use it.
14364 (tabulated-list-print-col): New function.
14365 Set `tabulated-list-column-name' property on each column's text.
14366 (tabulated-list-print-entry): Use it.
14367 (tabulated-list-delete-entry, tabulated-list-set-col):
14368 New functions.
14369 (tabulated-list-sort-column): New command (Bug#11337).
14370
14371 * buff-menu.el (list-buffers): Move C-x C-b binding from
14372 buff-menu.el to bindings.el.
14373
14374 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14375 :advertised-binding feature.
14376
14377 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14378
14379 * progmodes/compile.el (compilation-internal-error-properties):
14380 Calculate start position correctly when end-col is set but
14381 end-line is not (Bug#11382).
14382
14383 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14384
14385 * man.el (Man-unindent): Use text-property-default-nonsticky to
14386 prevent untabify from inheriting face properties (Bug#11408).
14387
14388 2012-05-05 Stefan Merten <smerten@oekonux.de>
14389
14390 * textmodes/rst.el: Major merge with upstream development up to
14391 Docutils SVN r7399 / rst.el V1.2.1.
14392
14393 Clarify maintainership and authors.
14394
14395 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14396 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14397 (rst-official-version, rst-official-cvs-rev, rst-version)
14398 (rst-package-emacs-version-alist): New functions and variables
14399 for version information.
14400
14401 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14402 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14403 (rst-mode-syntax-table, rst-mode): New and corrected functions
14404 and variables representing reStructuredText features.
14405
14406 (rst-re): New function for reStructuredText regexes. Use in
14407 many places.
14408
14409 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14410 (rst-mode-map): Rebind keys.
14411
14412 (rst-mode-lazy, rst-font-lock-keywords)
14413 (rst-font-lock-extend-region)
14414 (rst-font-lock-extend-region-internal)
14415 (rst-font-lock-extend-region-extend)
14416 (rst-font-lock-find-unindented-line-limit)
14417 (rst-font-lock-find-unindented-line-match)
14418 (rst-adornment-level, rst-font-lock-adornment-level)
14419 (rst-font-lock-adornment-match)
14420 (rst-font-lock-handle-adornment-pre-match-form)
14421 (rst-font-lock-handle-adornment-matcher): Major revision of
14422 font-locking. Integrate with other code. Use `jit-lock-mode'.
14423
14424 (rst-preferred-adornments, rst-adjust-hook)
14425 (rst-new-adornment-down, rst-preferred-bullets)
14426 (rst-preferred-bullets, rst-indent, rst-indent-width)
14427 (rst-indent-field, rst-indent-literal-normal)
14428 (rst-indent-literal-minimized, rst-indent-comment): Change,
14429 extend and improve customization.
14430
14431 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14432 (rst-normalize-cursor-position, rst-get-decoration)
14433 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14434 (rst-rstrip, rst-toc-insert-find-delete-contents)
14435 (rst-shift-fill-region, rst-compute-bullet-tabs)
14436 (rst-debug-print-tabs, rst-debug-mark-found)
14437 (rst-shift-region-guts, rst-shift-region-right)
14438 (rst-shift-region-left, rst-use-char-classes)
14439 (rst-font-lock-keywords-function)
14440 (rst-font-lock-indentation-point)
14441 (rst-font-lock-find-unindented-line-begin)
14442 (rst-font-lock-find-unindented-line-end)
14443 (rst-font-lock-find-unindented-line)
14444 (rst-font-lock-adornment-point, rst-font-lock-level)
14445 (rst-adornment-level-alist): Remove functions and variables.
14446
14447 (rst-compare-adornments, rst-get-adornment-match)
14448 (rst-suggest-new-adornment, rst-get-adornments-around)
14449 (rst-adornment-complete-p, rst-get-next-adornment)
14450 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14451 (rst-straighten-adornments): Standardize function names to
14452 use "adornment" instead of "decoration". Correct callers.
14453 Similar standardizing in many places.
14454
14455 (rst-update-section, rst-adjust, rst-promote-region)
14456 (rst-enumerate-region, rst-bullet-list-region)
14457 (rst-repeat-last-character): Correct use of `interactive'.
14458
14459 (rst-classify-adornment, rst-find-all-adornments)
14460 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14461 (rst-find-leftmost-column, rst-repeat-last-character):
14462 Refactor functions.
14463
14464 (rst-find-title-line, rst-reset-section-caches)
14465 (rst-get-adornments-around, rst-adjust-adornment-work)
14466 (rst-arabic-to-roman, rst-roman-to-arabic)
14467 (rst-insert-list-pos, rst-insert-list-new-item)
14468 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14469 New functions.
14470
14471 (rst-all-sections, rst-section-hierarchy)
14472 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14473 New variables.
14474
14475 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14476 configuration instead of only buffer. Change where necessary.
14477
14478 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14479 (rst-shift-region, rst-adaptive-fill): New functions for
14480 indentation and filling.
14481
14482 (rst-comment-line-break, rst-comment-indent)
14483 (rst-comment-insert-comment, rst-comment-region)
14484 (rst-uncomment-region): New functions for handling comments.
14485
14486 (rst-compile): Quote shell arguments.
14487
14488 (rst-compile-pdf-preview, rst-compile-slides-preview):
14489 Delete temporary files after use.
14490
14491 2012-05-05 Glenn Morris <rgm@gnu.org>
14492
14493 * calendar/cal-html.el: Optionally include holidays in the output.
14494 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14495 (cal-html-holidays): New option.
14496 (cal-html-css-default): Add holiday entry.
14497 (holiday-in-range): Autoload it.
14498 (cal-html-htmlify-entry): Add optional class argument.
14499 (cal-html-htmlify-list): Add optional holidays argument.
14500 (cal-html-insert-agenda-days): Include holidays in the output.
14501 (cal-html-one-month): Maybe include holidays.
14502
14503 * calendar/holidays.el (holiday-in-range):
14504 Move here from cal-tex-list-holidays.
14505 * calendar/cal-tex.el (cal-tex-list-holidays):
14506 Make it an obsolete alias for holiday-in-range. Update all callers.
14507
14508 2012-05-05 Chong Yidong <cyd@gnu.org>
14509
14510 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14511 Nextstep.
14512
14513 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14514
14515 * files.el (file-auto-mode-skip): New var.
14516 (set-auto-mode-1): Use it.
14517
14518 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14519
14520 * repeat.el: Use lexical-binding.
14521 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14522 (repeat-undo-count): Remove.
14523 (repeat):
14524 * progmodes/octave-mod.el (octave-abbrev-start):
14525 * progmodes/f90.el (f90-abbrev-start):
14526 * face-remap.el (text-scale-adjust):
14527 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14528
14529 * emacs-lisp/pcase.el (pcase--let*): New function.
14530 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14531 a bit more.
14532 (pcase--split-pred): Be more clever about ruling out overlap between
14533 a predicate and some constant pattern.
14534 (pcase--q1): Use `null' instead of (eq foo nil).
14535
14536 * subr.el (setq-local, defvar-local): New macros.
14537 (kbd): Redefine as an alias.
14538 (with-selected-window): Leave unrelated frames alone.
14539 (set-temporary-overlay-map): New function.
14540
14541 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14542
14543 * subr.el (user-error): New function.
14544 * window.el (switch-to-buffer):
14545 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14546 (smerge-match-conflict):
14547 * simple.el (previous-matching-history-element)
14548 (next-matching-history-element, goto-history-element, undo-more)
14549 (undo-start):
14550 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14551 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14552 (next-file, tags-loop-scan, list-tags, complete-tag):
14553 * progmodes/compile.el (compilation-loop):
14554 * mouse.el (mouse-minibuffer-check):
14555 * man.el (Man-bgproc-sentinel, Man-goto-page):
14556 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14557 (Info-history-forward, Info-follow-reference, Info-menu)
14558 (Info-extract-menu-item, Info-extract-menu-counting)
14559 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14560 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14561 (Info-next-reference, Info-prev-reference, Info-index)
14562 (Info-index-next, Info-follow-nearest-node)
14563 (Info-copy-current-node-name):
14564 * imenu.el (imenu--make-index-alist)
14565 (imenu-default-create-index-function, imenu-add-to-menubar):
14566 * files.el (basic-save-buffer, recover-file):
14567 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14568 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14569 (checkdoc-message-text, checkdoc-defun):
14570 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14571 * cus-edit.el (customize-changed-options, customize-rogue)
14572 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14573 (custom-variable-mark-to-reset-standard)
14574 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14575 (custom-file):
14576 * completion.el (check-completion-length):
14577 * comint.el (comint-search-arg)
14578 (comint-previous-matching-input-string-position)
14579 (comint-previous-matching-input)
14580 (comint-replace-by-expanded-history-before-point, comint-send-input)
14581 (comint-copy-old-input, comint-backward-matching-input)
14582 (comint-goto-process-mark, comint-set-process-mark):
14583 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14584 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14585
14586 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14587
14588 * dabbrev.el (dabbrev--ignore-case-p): New function.
14589 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14590 Use it.
14591
14592 * files.el (automount-dir-prefix): Mark as obsolete.
14593
14594 2012-05-04 Glenn Morris <rgm@gnu.org>
14595
14596 * patcomp.el, play/bruce.el: Move to obsolete/.
14597
14598 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14599
14600 Fix minor Y10k bugs.
14601 * arc-mode.el (archive-unixdate):
14602 * autoinsert.el (auto-insert-alist):
14603 * calc/calc-forms.el (math-this-year):
14604 * emacs-lisp/copyright.el (copyright-current-year)
14605 (copyright-update-year, copyright):
14606 * tar-mode.el (tar-clip-time-string):
14607 * time.el (display-time-update):
14608 Don't assume years have 4 digits.
14609
14610 2012-05-04 Chong Yidong <cyd@gnu.org>
14611
14612 * dos-w32.el (file-name-buffer-file-type-alist)
14613 (direct-print-region-use-command-dot-com):
14614 * ffap.el (ffap-menu-regexp):
14615 * find-file.el (ff-special-constructs):
14616 * follow.el (follow-debug):
14617 * forms.el (forms--debug):
14618 * iswitchb.el (iswitchb-all-frames):
14619 * ido.el (ido-all-frames):
14620 * emacs-lisp/timer.el (timer-max-repeats):
14621 * mail/feedmail.el (feedmail-mail-send-hook)
14622 (feedmail-mail-send-hook-queued):
14623 * mail/footnote.el (footnote-signature-separator):
14624 * mail/mailabbrev.el (mail-alias-separator-string)
14625 (mail-abbrev-mode-regexp):
14626 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14627 * progmodes/idlwave.el (idlwave-libinfo-file)
14628 (idlwave-default-completion-case-is-down)
14629 (idlwave-library-routines): Convert defvars to defcustoms.
14630
14631 * mail/rmail.el (rmail-decode-mime-charset):
14632 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14633 (idlwave-shell-fix-inserted-breaks)
14634 (idlwave-shell-activate-alt-keybindings)
14635 (idlwave-shell-use-breakpoint-glyph):
14636 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14637
14638 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14639
14640 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14641
14642 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14643
14644 * progmodes/verilog-mode.el (font-lock-keywords):
14645 Fix mis-highligting auto. Reported by Craig Barner.
14646 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14647 defines from global name space. Reported by Dan Dever.
14648 (verilog-auto-reset, verilog-auto-reset-widths)
14649 (verilog-auto-tieoff): Support using unbased numbers for
14650 AUTORESET and AUTOTIEOFF.
14651 (verilog-submit-bug-report): Update variable list.
14652 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14653 parenthesis from not matching. Reported by Michael Rytting.
14654 (verilog-auto-template-lint): Fix hash error when linting modules
14655 with no used templates.
14656 (verilog-warn, verilog-warn-error)
14657 (verilog-warn-fatal): When non-interactive report multiple
14658 warnings before exiting. Suggested by Brad Dobbie.
14659 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14660 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14661 to report unused template errors. Reported by Brad Dobbie.
14662 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14663 nets, bug438. Reported by Vns Blore.
14664 (verilog-auto-inout-module, verilog-auto-reg)
14665 (verilog-read-decls, verilog-read-sub-decls-sig)
14666 (verilog-signals-edit-wire-reg, verilog-signals-with):
14667 Fix passing of Verilog data types in ANSI input/output ports
14668 such as "output logic" into the AUTOs. Special case "wire" and
14669 "reg" for backwards compatibility presuming Verilog 2001.
14670 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14671 (verilog-preprocess): Fix replication of preprocess output.
14672 Reported by Brad Dobbie.
14673 (verilog-auto-inst-interfaced-ports):
14674 Create verilog-auto-inst-interfaced-ports, bug429.
14675 Reported by Julian Gorfajn.
14676 (verilog-after-save-font-hook)
14677 (verilog-before-save-font-hook): New variable.
14678 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14679 (verilog-save-font-mods): Wrap disabling fontification, reported
14680 by David Rogoff.
14681 (verilog-do-indent, verilog-pretty-declarations-auto)
14682 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14683 Reported by Pierre-David Pfister.
14684 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14685 of class declarations, bug292. Reported by Kevin Heilman.
14686 (verilog-read-decls): Fix 'parameter type' not appearing in
14687 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14688 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14689 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14690 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14691 Reported by David Kravitz.
14692
14693 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14694
14695 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14696 assignment with tests in ifs and for loops.
14697 (verilog-extended-complete-re, verilog-complete-reg): Change so
14698 that DPI inport functions don't look like fuction declarations.
14699 (verilog-pretty-expr): Don't line up assignment
14700 operations to the test and increment in if and for loops
14701 (verilog-extended-complete-re, verilog-complete-reg): Change so
14702 that DPI inport functions don't look like fuction declarations.
14703
14704 2012-05-03 Kenichi Handa <handa@m17n.org>
14705
14706 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14707 decoding, and show a warning message without signaling an error
14708 (Bug#11282).
14709
14710 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14711
14712 * emacs-lisp/bytecomp.el
14713 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14714 since cconv.el might have introduced :fun-body, internal-make-closure,
14715 and friends for bytecomp to handle (bug#11391).
14716 * custom.el (defcustom): Avoid ((λ ..) ..).
14717
14718 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14721
14722 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14723
14724 * notifications.el (dbus-debug):
14725 * term/linux.el (gpm-mouse-enable):
14726 * term/screen.el (xterm-register-default-colors): Declare.
14727
14728 2012-05-02 Chong Yidong <cyd@gnu.org>
14729
14730 * cus-start.el (gc-cons-percentage, exec-suffixes)
14731 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14732 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14733 (make-cursor-line-fully-visible, void-text-area-pointer)
14734 (font-list-limit): Add customization data.
14735
14736 * allout.el (allout-exposure-change-functions)
14737 (allout-structure-added-functions)
14738 (allout-structure-deleted-functions)
14739 (allout-structure-shifted-functions): Rename abnormal hooks from
14740 *-hook, and convert to defcustoms.
14741 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14742 Convert to defcustoms.
14743 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14744
14745 * allout-widgets.el: Hook callers changed.
14746
14747 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14748
14749 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14750 the yanked message in preference to the default value of
14751 buffer-file-coding-system.
14752
14753 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14754
14755 * window.el (display-buffer--action-function-custom-type):
14756 Fix entry.
14757
14758 2012-05-02 Alan Mackenzie <acm@muc.de>
14759
14760 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14761
14762 2012-05-01 Glenn Morris <rgm@gnu.org>
14763
14764 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14765
14766 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14767
14768 * cus-edit.el (custom-variable-documentation): Simplify with format.
14769
14770 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14771 Stefan Monnier <monnier@iro.umontreal.ca>
14772
14773 * simple.el (suggest-key-bindings, execute-extended-command):
14774 Move from keyboard.c.
14775
14776 2012-05-01 Chong Yidong <cyd@gnu.org>
14777
14778 * follow.el: Eliminate advice.
14779 (set-process-filter, process-filter, sit-for): Advice deleted.
14780 (follow-mode-off-hook): Obsolete hook removed.
14781 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14782 Vars deleted.
14783 (follow-auto): Use a :set function.
14784 (follow-mode): Rewritten. Don't advise process filters.
14785 (follow-switch-to-current-buffer-all, follow-scroll-up)
14786 (follow-scroll-down): Assume follow-mode is bound.
14787 (follow-comint-scroll-to-bottom)
14788 (follow-align-compilation-windows): New functions.
14789 (follow--window-sorter): New function.
14790 (follow-all-followers): Use it to explicitly sort windows by their
14791 positions; don't make assumptions about next-window order.
14792 (follow-windows-start-end, follow-delete-other-windows-and-split)
14793 (follow-calc-win-start): Doc fix.
14794 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14795 vertical-motion unnecessarily.
14796 (follow-adjust-window): New function.
14797 (follow-post-command-hook): Use it.
14798 (follow-call-set-process-filter, follow-call-process-filter)
14799 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14800 (follow-stop-intercept-process-output, follow-generic-filter):
14801 Functions deleted.
14802 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14803 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14804 New functions, replacing advice on scroll-bar-* commands.
14805 (follow-mwheel-scroll): New function (Bug#4112).
14806
14807 * comint.el (comint-adjust-point): New function.
14808 (comint-postoutput-scroll-to-bottom): Use it.
14809 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14810
14811 2012-05-01 Glenn Morris <rgm@gnu.org>
14812
14813 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14814 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14815 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14816 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14817 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14818 Remove no-byte-compile setting.
14819
14820 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14821
14822 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14823 all-completions code to not return a number in the last cdr.
14824
14825 2012-04-30 Leo Liu <sdl.web@gmail.com>
14826
14827 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14828 read-only error.
14829
14830 2012-04-29 Chong Yidong <cyd@gnu.org>
14831
14832 * follow.el (follow-calc-win-end): Rewrite to handle partial
14833 screen lines correctly (Bug#8390).
14834 (follow-avoid-tail-recenter): Minor cleanup.
14835
14836 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 Avoid the obsolete `assoc' package.
14839 * speedbar.el (speedbar-refresh): Avoid adelete.
14840 (speedbar-file-lists): Simplify and avoid aput.
14841 * man.el (Man--sections, Man--refpages): New vars, replacing
14842 Man-sections-alist and Man-refpages-alist.
14843 (Man-build-section-alist, Man-build-references-alist):
14844 Use them; avoid aput.
14845 (Man--last-section, Man--last-refpage): New vars.
14846 (Man-follow-manual-reference): Use them.
14847 Use the `default' arg of completing-read.
14848 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14849
14850 2012-04-27 Chong Yidong <cyd@gnu.org>
14851
14852 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14853
14854 * startup.el (x-apply-session-resources): New function.
14855
14856 * term/ns-win.el (ns-initialize-window-system):
14857 * term/w32-win.el (w32-initialize-window-system):
14858 * term/x-win.el (x-initialize-window-system): Use it to properly
14859 set menu-bar-mode and other vars from X resources, even if the
14860 initial frame is not a window-system frame (Bug#2299).
14861
14862 * subr.el (read-key): Avoid running filter function when setting
14863 up temporary tool bar entries (Bug#9922).
14864
14865 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14866
14867 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14868 (Bug#11344)
14869
14870 2012-04-27 Chong Yidong <cyd@gnu.org>
14871
14872 * select.el (xselect--encode-string): New function, split from
14873 xselect-convert-to-string.
14874 (xselect-convert-to-string): Use it.
14875 (xselect-convert-to-filename, xselect-convert-to-os)
14876 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14877 returned strings are properly encoded (Bug#11315).
14878
14879 2012-04-27 Chong Yidong <cyd@gnu.org>
14880
14881 * simple.el (delete-active-region): Move to killing custom group.
14882
14883 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * progmodes/which-func.el (which-func-current): Quote %
14886 characters for mode-line processing.
14887
14888 2012-04-27 Chong Yidong <cyd@gnu.org>
14889
14890 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14891 reaching eob (Bug#11286).
14892
14893 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14894
14895 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14896 (gdb): Make it buffer-local and init to zero.
14897 (gdb-control-commands-regexp): New variable.
14898 (gdb-send): Don't wrap in "-interpreter-exec console" if
14899 gdb-control-level is positive. Increment gdb-control-level
14900 whenever the command matches gdb-control-commands-regexp, and
14901 decrement it each time the command is "end". (Bug#11279)
14902
14903 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14904
14905 * window.el (adjust-window-trailing-edge, enlarge-window)
14906 (shrink-window, window-resize):
14907 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14908 windows (Bug#11276).
14909
14910 2012-04-27 Chong Yidong <cyd@gnu.org>
14911
14912 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14913 fix "missing prefix" warning. All callers changed.
14914
14915 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14916
14917 * emacs-lisp/assoc.el: Move to obsolete/.
14918
14919 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14922
14923 * term/ns-win.el (ns-define-service):
14924 * progmodes/pascal.el (pascal-goto-defun):
14925 * progmodes/js.el (js--read-tab):
14926 * progmodes/etags.el (tags-lazy-completion-table):
14927 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14928 * emacs-lisp/ewoc.el (ewoc--wrap):
14929 * emacs-lisp/assoc.el (aput, adelete, amake):
14930 * doc-view.el (doc-view-convert-current-doc):
14931 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14932
14933 2012-04-26 Chong Yidong <cyd@gnu.org>
14934
14935 * image.el (image-type-from-buffer): Only return supported image
14936 type (Bug#9045).
14937
14938 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14939 value, for symmetry with diff-end-of-hunk.
14940 (diff-split-hunk, diff-find-source-location)
14941 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14942 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14943 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14944 compute the relevant hunk or file properly (Bug#6005).
14945 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14946
14947 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * vc/vc-mtn.el:
14950 * vc/vc-hg.el:
14951 * vc/vc-git.el:
14952 * vc/vc-dir.el:
14953 * vc/vc-cvs.el:
14954 * vc/vc-bzr.el:
14955 * vc/vc-arch.el:
14956 * vc/vc.el: Replace lexical-let by lexical-binding.
14957 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14958 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14959 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14960
14961 2012-04-26 Chong Yidong <cyd@gnu.org>
14962
14963 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14964 (diff-mode-shared-map): Bind it to / and [remap undo].
14965
14966 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14967 (ediff-window-setup-function): Use it as the default, to set up
14968 windows based on whether the current frame is graphical (Bug#2138).
14969 (ediff-choose-window-setup-function-automatically): Make obsolete.
14970
14971 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14972
14973 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14974
14975 * ffap.el: Remove old code for obsolete package.
14976 (ffap-complete-as-file-p): Remove.
14977
14978 Use completion-table-with-quoting for comint and pcomplete.
14979 * comint.el (comint--unquote&requote-argument)
14980 (comint--unquote-argument, comint--requote-argument): New functions.
14981 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14982 (comint-quote-filename): Use regexp-opt-charset.
14983 (comint--common-suffix, comint--common-quoted-suffix)
14984 (comint--table-subvert): Remove.
14985 (comint-unquote-function, comint-requote-function): New vars.
14986 (comint--complete-file-name-data): Use them with
14987 completion-table-with-quoting.
14988 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14989 * pcomplete.el (pcomplete-arg-quote-list)
14990 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14991 (pcomplete-unquote-argument-function): Default to non-nil.
14992 (pcomplete-unquote-argument): Simplify.
14993 (pcomplete--common-quoted-suffix): Remove.
14994 (pcomplete-requote-argument-function): New var.
14995 (pcomplete--common-suffix): New function.
14996 (pcomplete-completions-at-point): Use completion-table-with-quoting
14997 and completion-table-subvert.
14998
14999 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15000 (minibuffer--double-dollars): Preserve properties.
15001 (completion--sifn-requote): New function.
15002 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15003
15004 * minibuffer.el: Add support for completion of quoted/escaped data.
15005 (completion-table-with-quoting, completion-table-subvert): New funs.
15006 (completion--twq-try, completion--twq-all): New functions.
15007 (completion--nth-completion): New function.
15008 (completion-try-completion, completion-all-completions): Use it.
15009
15010 2012-04-25 Leo Liu <sdl.web@gmail.com>
15011
15012 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15013 Use compilation-message if available to find real filename.
15014
15015 2012-04-25 Chong Yidong <cyd@gnu.org>
15016
15017 * vc/diff-mode.el (diff-setup-whitespace): New function.
15018 (diff-mode): Use it.
15019
15020 * vc/diff.el (diff-sentinel):
15021 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15022 Whitespace mode variables based on diff style (Bug#8612).
15023
15024 2012-04-25 Leo Liu <sdl.web@gmail.com>
15025
15026 * progmodes/python.el (python-send-region): Add suffix .py to the
15027 temp file.
15028
15029 * files.el (auto-mode-alist): Use javascript-mode instead.
15030
15031 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15032
15033 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15034
15035 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15036 (soap-resolve-references-for-array-type): Hack to prevent self
15037 references, see Bug#9.
15038 (soap-parse-envelope): Report the contents of the 'detail' node
15039 when receiving a fault reply.
15040 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15041
15042 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15043 (soap-inspect-simple-type): New function.
15044
15045 * net/soap-client.el (soap-simple-type): New struct.
15046 (soap-default-xsd-types, soap-default-soapenc-types)
15047 (soap-decode-basic-type, soap-encode-basic-type):
15048 support unsignedInt and double basic types.
15049 (soap-resolve-references-for-simple-type)
15050 (soap-parse-simple-type, soap-encode-simple-type): New function.
15051 (soap-parse-schema): Parse xsd:simpleType declarations.
15052
15053 * net/soap-client.el (soap-default-xsd-types)
15054 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15055 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15056 the local name of "soapenc:Array".
15057 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15058 decoding integer, byte and anyURI xsd types.
15059
15060 2012-04-25 Chong Yidong <cyd@gnu.org>
15061
15062 * cus-edit.el (custom-buffer-create-internal): Update header text.
15063
15064 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15065
15066 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15067 settings on 'system-type', not on 'window-system'. On MS-Windows,
15068 set interactive-mode on in GDB.
15069
15070 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15071
15072 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15073 (ruby-syntax-propertize-regexp): Remove.
15074 (ruby-syntax-propertize-function): Split regexp into chunks.
15075 Match following code directly.
15076
15077 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15078
15079 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15080 (ruby-syntax-propertize-regexp): New function.
15081 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15082 by a special keyword.
15083
15084 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15085 (ruby-syntax-general-delimiters-goto-beg)
15086 (ruby-syntax-propertize-general-delimiters): New functions.
15087 (ruby-syntax-propertize-function): Use them to handle GDL.
15088 (ruby-font-lock-keywords): Move old handling of GDL...
15089 (ruby-font-lock-syntactic-keywords): .. to here.
15090 (ruby-calculate-indent): Adjust indentation for GDL.
15091
15092 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15093
15094 * notifications.el (top): Remove unneeded declarations.
15095 (notifications-specification-version): Change to "1.2".
15096 (notifications-interface, notifications-notify-method)
15097 (notifications-close-notification-method): Fix docstring.
15098 (notifications-get-capabilities-method): New defconst.
15099 (notifications-notify): Add :action-items, :resident and
15100 :transient hints. Change "image_data" to "image-data" and
15101 "image_path" to "image-path".
15102 (notifications-get-capabilities): New defun.
15103
15104 2012-04-24 Leo Liu <sdl.web@gmail.com>
15105
15106 * progmodes/python.el: Move hideshow setup to the end.
15107
15108 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15109
15110 * window.el (handle-select-window): Clear echo area since this is
15111 no more done by read_char (Bug#11304).
15112
15113 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15114
15115 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15116 and `/ M' to filter-derived-mode.
15117 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15118 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15119 (ibuffer-mark-by-mode): Use default rather than initial-input.
15120 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15121
15122 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15123
15124 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15125 (ibuffer-filter-by-derived-mode): New filter.
15126 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15127
15128 2012-04-23 Andreas Politz <politza@fh-trier.de>
15129
15130 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15131
15132 2012-04-23 Chong Yidong <cyd@gnu.org>
15133
15134 * cus-edit.el (customize-apropos, customize-apropos-options):
15135 Disable matching of non-option variables (Bug#11176).
15136 (customize-option, customize-option-other-window)
15137 (customize-changed-options): Doc fix.
15138 (customize-apropos-options, customize-apropos-faces)
15139 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15140
15141 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15142 Fix word list splitting (Bug#11132).
15143 (apropos-symbol, apropos-keybinding, apropos-label)
15144 (apropos-property, apropos-function-button)
15145 (apropos-variable-button, apropos-misc-button): New faces.
15146 (apropos-symbol-face, apropos-keybinding-face)
15147 (apropos-label-face, apropos-property-face, apropos-match-face):
15148 Variables removed (Bug#8396).
15149 (apropos-library-button, apropos-format-plist, apropos-print)
15150 (apropos-print-doc, apropos-describe-plist): Callers changed.
15151
15152 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15153
15154 * net/xesam.el (xesam-mode-map): Use let-bound map in
15155 initialization. (Bug#11292)
15156
15157 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15158
15159 Preserve ispell session localwords when switching back to
15160 original buffer.
15161
15162 * textmodes/ispell.el (ispell-buffer-session-localwords):
15163 New buffer-local variable to hold buffer session localwords.
15164 (ispell-kill-ispell): Add option 'clear to delete session
15165 localwords.
15166 (ispell-command-loop, ispell-change-dictionary)
15167 (ispell-buffer-local-words): Preserve session localwords when
15168 needed.
15169
15170 * textmodes/flyspell.el (flyspell-process-localwords)
15171 (flyspell-do-correct): Preserve session localwords when needed.
15172
15173 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15174
15175 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15176 using obsolete `translation-table-for-input'.
15177 (ispell-word, ispell-process-line, ispell-complete-word):
15178 Use plain `insert' instead of removed `ispell-insert-word'.
15179
15180 2012-04-22 Chong Yidong <cyd@gnu.org>
15181
15182 * cus-edit.el (custom-variable-menu)
15183 (custom-variable-reset-saved, custom-face-menu)
15184 (custom-face-reset-saved): If there is no saved value, make the
15185 "reset-saved" operation bring back the default (Bug#9509).
15186 (custom-face-state): Properly detect themed faces.
15187
15188 * faces.el (face-spec-set): Stop supporting deprecated form of
15189 third arg.
15190
15191 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15192
15193 Move functions from C to Lisp. Make non-blocking method calls
15194 the default. Implement further D-Bus standard interfaces.
15195
15196 * net/dbus.el (dbus-message-internal): Declare function.
15197 Remove unneeded function declarations.
15198 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15199 (dbus-message-type-method-return, dbus-message-type-error)
15200 (dbus-message-type-signal): Declare variables. Remove local
15201 definitions.
15202 (dbus-interface-dbus, dbus-interface-peer)
15203 (dbus-interface-introspectable, dbus-interface-properties)
15204 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15205 Adapt docstring.
15206 (dbus-interface-objectmanager): New defconst.
15207 (dbus-call-method, dbus-call-method-asynchronously)
15208 (dbus-send-signal, dbus-method-return-internal)
15209 (dbus-method-error-internal, dbus-register-service)
15210 (dbus-register-signal, dbus-register-method): New defuns, moved
15211 from dbusbind.c
15212 (dbus-call-method-handler, dbus-setenv)
15213 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15214 New defuns.
15215 (dbus-call-method-non-blocking): Make it an obsolete function.
15216 (dbus-unregister-object, dbus-unregister-service)
15217 (dbus-handle-event, dbus-register-property)
15218 (dbus-property-handler): Obey the new structure of
15219 `bus-registered-objects'.
15220 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15221 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15222 Use `dbus-call-method'.
15223
15224 2012-04-22 Chong Yidong <cyd@gnu.org>
15225
15226 * cus-edit.el (custom-commands, custom-reset-menu)
15227 (Custom-reset-standard): Tweak labels.
15228 (custom-reset-button-menu): Change default to t.
15229 (custom-buffer-create-internal): For the custom-reset-button-menu
15230 case, put the revert button first.
15231 (custom-group-subtitle): New face.
15232 (custom-group-value-create): Align docstring to a specific column.
15233
15234 * wid-edit.el (widget-documentation-link-add): Don't handle
15235 indentation in this function.
15236 (widget-documentation-string-indent-to): New function.
15237 (widget-documentation-string-value-create): Use it.
15238
15239 * autorevert.el (auto-revert):
15240 * epg-config.el (epg):
15241 * ibuffer.el (ibuffer):
15242 * mpc.el (mpc):
15243 * ses.el (ses):
15244 * eshell/eshell.el (eshell):
15245 * net/ange-ftp.el (ange-ftp):
15246 * progmodes/ebnf2ps.el (postscript):
15247 * progmodes/flymake.el (flymake):
15248 * progmodes/prolog.el (prolog):
15249 * progmodes/verilog-mode.el (verilog-mode):
15250 * progmodes/which-func.el (which-func):
15251 * term/xterm.el (xterm):
15252 * textmodes/picture.el (picture):
15253 * textmodes/tildify.el (tildify):
15254 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15255 customization buffers.
15256
15257 2012-04-22 Alan Mackenzie <acm@muc.de>
15258
15259 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15260 Adding a ) can hide the resulting (..) from searches. Fix it.
15261 Bound the backward search to the position of the existing (.
15262
15263 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15264
15265 * progmodes/verilog-mode.el (verilog-mode): Check whether
15266 which-func-modes is t before adding verilog-mode.
15267 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15268
15269 2012-04-21 Leo Liu <sdl.web@gmail.com>
15270
15271 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15272
15273 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15274
15275 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15276 filling of the last column of a table (Bug#5635).
15277 (woman-find-next-control-line): New arg, specifying an additional
15278 regexp component for the control line.
15279 (woman2-roff-buffer): Use it.
15280 (woman-break-table): New function.
15281 (woman2-TS): Use it.
15282
15283 2012-04-21 Chong Yidong <cyd@gnu.org>
15284
15285 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15286 (woman-horizontal-escapes, woman-negative-vertical-space)
15287 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15288 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15289
15290 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15291
15292 * minibuffer.el (completion-file-name-table): Complete user names.
15293
15294 2012-04-20 Leo Liu <sdl.web@gmail.com>
15295
15296 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15297 and pcase-let*.
15298
15299 2012-04-20 Chong Yidong <cyd@gnu.org>
15300
15301 * server.el (server-execute): Respect initial-buffer-choice if it
15302 is a string and there are no files to open (Bug#2825).
15303 (server-create-window-system-frame, server-create-tty-frame):
15304 Don't switch buffers here.
15305 (server-process-filter): Only try to open a window system frame if
15306 compiled with graphical support (Bug#8314).
15307
15308 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15309
15310 * battery.el (battery-echo-area-format): Display remaining time
15311 for sysfs backend too (Bug#11269).
15312 (battery-linux-sysfs): Fix conditional for the charge.
15313
15314 2012-04-20 Chong Yidong <cyd@gnu.org>
15315
15316 * progmodes/gdb-mi.el (gdb): Revert previous change.
15317 (gdb-inferior-io--init-proc): New function.
15318 (gdb-init-1): Use it.
15319 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15320 responsible for allocating a new pty and hooking it to gdb when
15321 the old pty gets an EIO due to process exit.
15322 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15323 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15324 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15325
15326 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15327
15328 * window.el (window-min-size, window-sizable, window-min-delta)
15329 (window-max-delta, window--resizable, window-resizable)
15330 (window-total-size, window-full-height-p, window-full-width-p)
15331 (window-in-direction, window--resize-mini-window, window-resize)
15332 (window--resize-child-windows-normal)
15333 (window--resize-child-windows, window--resize-siblings)
15334 (window--resize-this-window, adjust-window-trailing-edge)
15335 (enlarge-window, shrink-window): Doc fixes.
15336
15337 2012-04-20 Chong Yidong <cyd@gnu.org>
15338
15339 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15340 New function to call delete-process on the gdb-inferior buffer's pty.
15341 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15342 pty process (Bug#11273).
15343 (gdb-update): New arg to suppress talking to the gdb process.
15344 (gdb-done-or-error): Use it.
15345 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15346 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15347 sentinel not being called.
15348
15349 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15350
15351 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15352
15353 2012-04-20 Glenn Morris <rgm@gnu.org>
15354
15355 * net/network-stream.el (open-network-stream): Doc fix.
15356
15357 2012-04-20 Chong Yidong <cyd@gnu.org>
15358
15359 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15360
15361 2012-04-20 Alan Mackenzie <acm@muc.de>
15362
15363 Ensure searching for keywords is case sensitive.
15364
15365 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15366 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15367 (c-defun-name, c-mark-function, c-cpp-define-name)
15368 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15369 (c-context-line-break): Bind case-fold-search to nil.
15370
15371 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15372 Bind case-fold-search to nil.
15373
15374 2012-04-20 Chong Yidong <cyd@gnu.org>
15375
15376 * mail/sendmail.el (mail-bury): Call return action with the right
15377 Rmail buffer (Bug#11242).
15378
15379 * server.el (server-process-filter): Handle corner case where both
15380 tty and nowait options are present (Bug#11102).
15381
15382 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15383
15384 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15385 (top level): Put into the executable the ident-style '$Id:' tag on
15386 windows-nt as well.
15387
15388 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15389
15390 * electric.el (electric-indent-post-self-insert-function): Check that
15391 electric-indent-mode is enabled in current buffer.
15392
15393 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15394
15395 * imenu.el (imenu-progress-message): Restore; it is "used" in
15396 erc/erc-imenu.el and net/snmp-mode.el.
15397
15398 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15399
15400 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15401 (mouse-avoidance-nudge-mouse): Remove unused binding.
15402
15403 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15404
15405 * descr-text.el (describe-char):
15406 * progmodes/python.el (python-describe-symbol):
15407 Don't call `toggle-read-only', set `buffer-read-only'.
15408
15409 * imenu.el (imenu-default-goto-function): Mark unused args.
15410 (imenu-progress-message): Remove obsolete macro; all callers changed.
15411
15412 * subr.el (keymap-canonicalize): Remove unused binding.
15413 (read-passwd): Mark unused arg.
15414
15415 * tutorial.el (tutorial--display-changes): Remove unused binding.
15416 (tutorial--save-tutorial-to): Remove unused variable.
15417
15418 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15419 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15420 (package-generate-autoloads, package-menu--generate)
15421 (package-menu--find-upgrades): Remove unused bindings.
15422
15423 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15424 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15425 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15426 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15427 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15428 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15429 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15430 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15431 (cua-delete-char-rectangle): Mark unused args.
15432 (cua-align-rectangle): Remove unused binding.
15433
15434 * mail/rmail.el (compilation--message->loc)
15435 (epa--find-coding-system-for-mime-charset): Declare.
15436
15437 * net/dbus.el (dbus-register-service): Declare.
15438 (dbus-name-owner-changed-handler): Remove unused binding.
15439
15440 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15441 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15442 (nxml-scan-backward-within): Mark unused arg.
15443 (nxml-dynamic-markup-word): Remove unused binding.
15444
15445 * mouse.el (mouse-menu-major-mode-map):
15446 * emacs-lisp/authors.el (authors-scan-change-log)
15447 (authors-add-to-author-list):
15448 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15449 * emacs-lisp/smie.el (smie-auto-fill):
15450 * mail/sendmail.el (mail-bury):
15451 * mail/unrmail.el (unrmail):
15452 * net/tls.el (open-tls-stream):
15453 * textmodes/picture.el (picture-mouse-set-point):
15454 Remove unused bindings.
15455
15456 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15457
15458 * net/tramp.el (tramp-action-password): Let-bind
15459 `enable-recursive-minibuffers' to t.
15460
15461 2012-04-18 Sam Steingold <sds@gnu.org>
15462
15463 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15464 instead of 'string to accommodate values like [f11].
15465 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15466 * progmodes/gdb-mi.el: Likewise.
15467
15468 2012-04-18 Leo Liu <sdl.web@gmail.com>
15469
15470 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15471 current buffer.
15472 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15473 LOCAL is nil.
15474
15475 2012-04-18 Chong Yidong <cyd@gnu.org>
15476
15477 * simple.el (line-move): Use forward-line if in batch mode
15478 (Bug#11053).
15479
15480 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15481
15482 * files.el (after-find-file): Do not try to add a final newline if
15483 the buffer is read-only (Bug#11156).
15484
15485 2012-04-17 Richard Stallman <rms@gnu.org>
15486
15487 * mail/rmail.el (rmail-start-mail):
15488 Pass (rmail-mail-return...) for the return-action.
15489 Pass (rmail-yank-current-message...) for the yank-action.
15490 (rmail-yank-current-message): New function.
15491 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15492 (rmail-reply): Likewise.
15493 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15494
15495 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15496 buffer, not the last. Reject temp buffers. Use the rmail-mode
15497 buffer, not newbuf.
15498
15499 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15500
15501 * server.el (server-ensure-safe-dir): Simplify.
15502
15503 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * emacs-lisp/smie.el: Provide smarter auto-filling.
15506 (smie-auto-fill): New function.
15507 (smie-setup): Use it.
15508
15509 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15510
15511 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15512
15513 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15514 (comment-indent): Use it.
15515
15516 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15517
15518 * ses.el: The overall change is to add cell renaming, that is
15519 setting fancy names for cell symbols other than name matching
15520 "\\`[A-Z]+[0-9]+\\'" regexp .
15521 (ses-localvars): Add ses--renamed-cell-symb-list.
15522 (ses-create-cell-variable): New defun.
15523 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15524 (ses-relocate-formula): Relocate formulas only for cells the
15525 symbols of which are not renamed, i.e. symbols whose names do not
15526 match regexp "\\`[A-Z]+[0-9]+\\'".
15527 (ses-relocate-all): Relocate values only for cells the symbols of
15528 which are not renamed.
15529 (ses-load): Create cells variables as the (ses-cell ...) are read,
15530 in order to check row col consistency with cell symbol name only
15531 for cells that are not renamed.
15532 (ses-replace-name-in-formula): New defun.
15533 (ses-rename-cell): New defun.
15534
15535 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15536
15537 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15538 New option (bug#11118).
15539 (perl-calculate-indent): Respect it.
15540
15541 2012-04-17 Glenn Morris <rgm@gnu.org>
15542
15543 * dired-aux.el (dired-mark-read-string): Doc fix.
15544
15545 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15546
15547 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15548 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15549
15550 2012-04-17 Glenn Morris <rgm@gnu.org>
15551
15552 * mouse.el (mouse-drag-track):
15553 * speedbar.el (speedbar-frame-mode):
15554 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15555
15556 2012-04-16 Leo Liu <sdl.web@gmail.com>
15557
15558 * progmodes/python.el: Trivial cleanup.
15559
15560 2012-04-16 Glenn Morris <rgm@gnu.org>
15561
15562 * vc/vc.el (vc-string-prefix-p):
15563 * vc/pcvs-util.el (cvs-string-prefix-p):
15564 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15565 * mpc.el (mpc-string-prefix-p):
15566 Make all of these into obsolete aliases for string-prefix-p.
15567 Update callers.
15568 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15569
15570 * textmodes/two-column.el: Move custom options to the start.
15571 (frame-width): Remove compat definition.
15572 (2C-associate-buffer, 2C-dissociate):
15573 Use with-current-buffer rather than save-excursion.
15574 (2C-dissociate): Force a mode-line update.
15575 (2C-autoscroll): Use ignore-errors.
15576
15577 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15578 Autoload trivia.
15579
15580 * emacs-lisp/cl-extra.el (*random-state*):
15581 Remove unnecessary declaration.
15582
15583 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15584
15585 * play/cookie1.el (cookie-snarf):
15586 Give an explicit error if input file cannot be read.
15587
15588 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15589
15590 * progmodes/perl-mode.el (c-macro-expand):
15591 Remove unnecessary autoload (it is in loaddefs.el).
15592
15593 * textmodes/picture.el (picture-desired-column)
15594 (picture-update-desired-column): Convert comments to doc-strings.
15595 (picture-substitute): Remove function.
15596 (picture-mode-map): Initialize in the defvar.
15597
15598 * woman.el: Remove eval-after-load for tar-mode.
15599 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15600 (woman-tar-extract-file): Autoload it.
15601
15602 * frame.el (automatic-hscrolling): Make this alias obsolete.
15603
15604 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15605
15606 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15607 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15608 (ispell-dictionary-base-alist): Revert to original XEmacs
15609 friendly version for default. [:alpha:] will be added in
15610 `ispell-set-spellchecker-params' if needed.
15611
15612 2012-04-16 Chong Yidong <cyd@gnu.org>
15613
15614 * image.el (imagemagick--file-regexp): New variable.
15615 (imagemagick-register-types): Use it.
15616 (imagemagick-types-inhibit): Add :set function. Allow new value
15617 of t to inhibit all types.
15618
15619 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15620 so we can preload it.
15621
15622 * loadup.el (fboundp): Preload regexp-opt, needed by
15623 imagemagick-register-types.
15624
15625 2012-04-15 Chong Yidong <cyd@gnu.org>
15626
15627 * frame.el (scrolling): Remove nearly unused customization group.
15628
15629 * scroll-all.el (scroll-all-mode): Move to windows group.
15630
15631 2012-04-15 Chong Yidong <cyd@gnu.org>
15632
15633 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15634
15635 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15636
15637 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15638 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15639
15640 2012-04-15 Glenn Morris <rgm@gnu.org>
15641
15642 * simple.el (process-file-side-effects): Doc fix.
15643
15644 2012-04-15 Glenn Morris <rgm@gnu.org>
15645
15646 * international/mule-cmds.el (set-language-environment): Doc fix.
15647
15648 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15649
15650 * server.el (server-auth-key, server-generate-key): Doc fixes.
15651 (server-get-auth-key): Doc fix. Use `string-match-p'.
15652 (server-start): Reflow docstring.
15653
15654 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15655
15656 * server.el (server-generate-key): `called-interactively-p'
15657 requires a parameter.
15658
15659 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15660
15661 * server.el (server-auth-key): New variable.
15662 (server-generate-key, server-get-auth-key): New function.
15663 (server-start): Use the new variable and functions to allow
15664 setting a permanent server key (bug#9423).
15665
15666 2012-04-14 Leo Liu <sdl.web@gmail.com>
15667
15668 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15669
15670 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15671
15672 Spelling fixes.
15673 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15674 Emacs uses American spelling.
15675
15676 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15677
15678 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15679 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15680 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15681 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15682
15683 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15684
15685 * progmodes/which-func.el (which-func-modes): Change default.
15686
15687 2012-04-14 Kim F. Storm <storm@cua.dk>
15688
15689 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15690 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15691
15692 2012-04-14 Chong Yidong <cyd@gnu.org>
15693
15694 * custom.el (custom-theme-set-variables): Doc fix.
15695
15696 2012-04-14 Glenn Morris <rgm@gnu.org>
15697
15698 * international/mule.el (set-auto-coding-for-load): Doc fix.
15699
15700 2012-04-14 Alan Mackenzie <acm@muc.de>
15701
15702 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15703 imenu work again for Objective C Mode. Correct the *-index values,
15704 these having been disturbed by a previous change in 2011-08.
15705
15706 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15707 Correct two search limits.
15708
15709 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15710
15711 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15712
15713 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15714
15715 * international/characters.el: Fix sorting.
15716
15717 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15718
15719 * international/characters.el: Add more missing Latin case pairs.
15720
15721 2012-04-14 Glenn Morris <rgm@gnu.org>
15722
15723 * files.el (dir-locals-set-class-variables): Doc fix.
15724
15725 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15726
15727 * international/characters.el: Add set-case-syntax-pair call for
15728 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15729 counterpart. (Bug#11209)
15730
15731 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15732
15733 2012-04-14 Glenn Morris <rgm@gnu.org>
15734
15735 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15736
15737 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15738
15739 * textmodes/ispell.el (ispell-dictionary-base-alist):
15740 Add data for Hebrew.
15741
15742 2012-04-14 Chong Yidong <cyd@gnu.org>
15743
15744 * net/rcirc.el (rcirc-cmd-quit):
15745 Revert 2012-03-18 change (Bug#11192).
15746
15747 2012-04-14 Glenn Morris <rgm@gnu.org>
15748
15749 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15750
15751 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15752
15753 * minibuffer.el (completion-in-region-mode-map):
15754 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15755
15756 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15757
15758 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15759
15760 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15761
15762 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15763 to allow `C-M-f' and `C-M-b' to move to the nearest path
15764 separator (bug#9511).
15765
15766 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15767
15768 * avoid.el: Require cl when compiling. And also move the
15769 `provide' to the end.
15770
15771 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15772
15773 * avoid.el (mouse-avoidance-banish-position): New variable.
15774 (mouse-avoidance-banish-destination): Use it (bug#10165).
15775
15776 2012-04-13 Leo Liu <sdl.web@gmail.com>
15777
15778 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15779
15780 2012-04-13 Ken Brown <kbrown@cornell.edu>
15781
15782 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15783 this is no longer needed now that cygstart understands file:// URLs.
15784 (browse-url-filename-alist): For the same reason, don't modify
15785 file:// URLs on Cygwin.
15786
15787 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15790 the region on shift if the binding is already shifted (bug#11221).
15791
15792 2012-04-12 Glenn Morris <rgm@gnu.org>
15793
15794 * mail/mailpost.el: Move to obsolete/.
15795
15796 2012-04-12 Drew Adams <drew.adams@oracle.com>
15797
15798 * imenu.el (imenu--generic-function): Ignore invisible definitions
15799 (bug#10123).
15800
15801 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15802
15803 * hexl.el (hexl-bits): New variable.
15804 (hexl-options): Mention the variable in the doc string.
15805 (hexl-rulerise, hexl-line-displen): New functions.
15806 (hexl-mode): Mention the new variable.
15807 (hexl-mode, hexl-current-address, hexl-current-address):
15808 Use the displen.
15809 (hexl-ascii-start-column): New function.
15810 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15811 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15812
15813 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15814
15815 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15816 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15817 the encoding, as expected by hunspell.
15818
15819 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15820
15821 * battery.el (battery--linux-sysfs-regexp): New const.
15822 (battery-status-function): Use it. Remove yeeloong special case.
15823 (battery-yeeloong-sysfs): Remove.
15824 (battery-echo-area-format): Remove yeeloong special case.
15825
15826 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15827
15828 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15829 Reported by Noah Friedman.
15830
15831 * subr.el (read-passwd): Use read-string.
15832
15833 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15834
15835 * vcursor.el (vcursor-move): Increase the priority of the overlay
15836 (bug#9663).
15837
15838 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15839
15840 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15841 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15842
15843 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15844
15845 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15846 define-minor-mode (bug#10760).
15847
15848 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15849
15850 * progmodes/grep.el (rgrep): Tweak the find command line so
15851 that directories matching `grep-find-ignored-files' won't be
15852 pruned (bug#10351).
15853
15854 2012-04-11 Chong Yidong <cyd@gnu.org>
15855
15856 * startup.el (command-line): Remove support for long-obsolete
15857 variable font-lock-face-attributes.
15858
15859 2012-04-11 Glenn Morris <rgm@gnu.org>
15860
15861 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15862
15863 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * window.el (window--state-get-1): Obey window-point-insertion-type.
15866
15867 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15868
15869 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15870 to previous function when point is on the first character of a
15871 function. Take care of that in `narrow-to-defun' (bug#6157).
15872
15873 2012-04-11 Glenn Morris <rgm@gnu.org>
15874
15875 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15876 not just file-errors.
15877
15878 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15879 (vc-bzr-sha1): Use internal sha1.
15880
15881 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15882
15883 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15884
15885 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15886
15887 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15888 that start in the middle of the line (bug#10496).
15889
15890 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15891
15892 * battery.el (battery-linux-proc-acpi): Only one battery is
15893 discharged at a time, but that seems to confuse battery.el when
15894 computing `rate-type' for the battery not being discharged
15895 (bug#10332).
15896
15897 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15898
15899 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15900
15901 * international/quail.el: Use dolist and simplify.
15902 (quail-define-package, quail-update-keyboard-layout)
15903 (quail-define-rules): Use dolist.
15904 (quail-insert-kbd-layout, quail-get-translation): CSE.
15905
15906 * tmm.el: Use dolist, remove left over hook.
15907 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15908 Use dolist.
15909 (calendar-load-hook): Don't mess with it.
15910
15911 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15912 Use derived-mode-p. Run the diff asynchronously.
15913
15914 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15915
15916 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15917
15918 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15919
15920 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15921 (list-dynamic-libraries--loaded): New function.
15922 (list-dynamic-libraries--refresh): Use it.
15923
15924 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15925
15926 * progmodes/python.el (python-fill-paragraph):
15927 Make python-fill-region in a multiline string work when font-lock is
15928 disabled (bug#7018).
15929
15930 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15931
15932 * language/european.el (cp775): Add oem/legacy (en)coding on
15933 DOS/MS Windows for the Baltic languages. There are still plenty
15934 of texts written in this encoding/codepage (bug#6519).
15935
15936 2012-04-10 Glenn Morris <rgm@gnu.org>
15937
15938 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15939 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15940
15941 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15942
15943 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15944 next-line "n" and previous-line "p" in order to make recentf more
15945 consistent with ibuffer, dired or org-mode (bug#9387).
15946
15947 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15948
15949 * image.el (put-image): Return the overlay created instead of the
15950 optional input string (bug#7834). Note that this may break code
15951 that is (for some reason or other) depending on `put-image'
15952 returning the string.
15953
15954 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15955
15956 * simple.el (zap-to-char): Allow zapping using input methods
15957 (bug#1580).
15958
15959 * textmodes/fill.el (fill-region): Leave point and mark where they
15960 were before filling (bug#5399).
15961
15962 2012-04-09 Glenn Morris <rgm@gnu.org>
15963
15964 * version.el (emacs-bzr-get-version):
15965 Handle lightweight checkouts of local branches.
15966
15967 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15968
15969 * international/characters.el: Recover lost case pairs. (Bug#11209)
15970
15971 2012-04-09 Chong Yidong <cyd@gnu.org>
15972
15973 * custom.el (custom-variable-p): Return nil for non-symbol
15974 arguments instead of signaling an error.
15975 (user-variable-p): Obsolete alias for custom-variable-p.
15976
15977 * apropos.el (apropos-variable):
15978 * files-x.el (read-file-local-variable):
15979 * simple.el (set-variable):
15980 * woman.el (woman-mini-help):
15981 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15982
15983 2012-04-09 Glenn Morris <rgm@gnu.org>
15984
15985 * startup.el (normal-top-level): Don't look for leim-list.el
15986 in places where it will not be found. (Bug#910)
15987
15988 * international/mule-cmds.el (set-default-coding-systems):
15989 * files.el (normal-mode):
15990 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15991 This function was removed with ucs-tables.el in 2008.
15992
15993 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15994
15995 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15996 ispell-encoding8-command to "-i", without a trailing space.
15997 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15998 separate command-line arguments, to specify the encoding, since
15999 that's how hunspell expects it.
16000
16001 2012-04-08 Glenn Morris <rgm@gnu.org>
16002
16003 * loadup.el: Load bindings before cus-start.
16004 This reduces somewhat the number of "rogue" settings in emacs -Q.
16005
16006 2012-04-07 Glenn Morris <rgm@gnu.org>
16007
16008 * version.el (emacs-bzr-get-version): New function.
16009 (emacs-bzr-version): New variable.
16010 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16011 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16012
16013 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16014
16015 * international/uni-bidi.el, international/uni-category.el:
16016 * international/uni-combining.el, international/uni-decimal.el:
16017 * international/uni-decomposition.el, international/uni-digit.el:
16018 * international/uni-lowercase.el, international/uni-mirrored.el:
16019 * international/uni-name.el, international/uni-numeric.el:
16020 * international/uni-titlecase.el, international/uni-uppercase.el:
16021 Update for Unicode 6.1.
16022
16023 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16024
16025 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16026
16027 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16028
16029 * window.el (shrink-window): Mention the `window-min-height'
16030 variable in the doc string.
16031
16032 2012-04-05 Bastien Guerry <bzg@altern.org>
16033
16034 * color.el (color-lighten-name): Fix typo.
16035
16036 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * server.el (server--on-display-p): New function.
16039 (server--on-display-p): Use it.
16040
16041 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16042
16043 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16044 (bug#11145).
16045
16046 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * comint.el (comint--common-quoted-suffix): Check string boundary
16049 before comparing (bug#11158).
16050 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16051
16052 2012-04-04 Chong Yidong <cyd@gnu.org>
16053
16054 * minibuffer.el (completion-extra-properties): Doc fix.
16055
16056 * subr.el (delayed-warnings-hook): Doc fix.
16057
16058 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16059
16060 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16061 selection (Bug#11159).
16062 (epa-insert-keys): Inform that the default public key will be
16063 exported if no key is selected.
16064
16065 2012-04-04 Richard Stallman <rms@gnu.org>
16066
16067 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16068
16069 2012-04-03 Chong Yidong <cyd@gnu.org>
16070
16071 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16072 mail-insert-file, not its obsolete alias mail-attach-file.
16073
16074 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16075
16076 * notifications.el (notifications-notify): Fix docstring.
16077
16078 2012-04-02 Glenn Morris <rgm@gnu.org>
16079
16080 * emacs-lisp/authors.el (authors-aliases): Another addition.
16081
16082 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16083
16084 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16085 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16086 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16087
16088 2012-04-01 Chong Yidong <cyd@gnu.org>
16089
16090 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16091 Handle root directory properly.
16092 (copy-directory): Caller changed.
16093
16094 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16095 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16096
16097 2012-03-31 Glenn Morris <rgm@gnu.org>
16098
16099 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16100
16101 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16102
16103 * calendar/calendar.el (calendar-window-list)
16104 (calendar-hide-window): Restore. (Bug#11140)
16105 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16106
16107 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16108
16109 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16110
16111 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16112 Check if file is a symlink (Bug#10489).
16113
16114 * files.el (copy-directory): Likewise.
16115
16116 2012-03-30 Chong Yidong <cyd@gnu.org>
16117
16118 * image.el (imagemagick-types-inhibit)
16119 (imagemagick-register-types): Doc fix.
16120
16121 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16122
16123 * textmodes/ispell.el (ispell-get-extended-character-mode):
16124 Disable extended-char-mode for hunspell. hunspell does not support it
16125 and treats ~word as ordinary words in pipe mode.
16126
16127 2012-03-30 Glenn Morris <rgm@gnu.org>
16128
16129 * tutorial.el (help-with-tutorial): Ensure local variables don't
16130 happen to make the buffer read-only. (Bug#11127)
16131
16132 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16133
16134 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16135 (perl-calculate-indent): Return `noindent' in strings.
16136
16137 2012-03-28 Sam Steingold <sds@gnu.org>
16138
16139 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16140 instead of the broken adhockery which does not prevent calendar
16141 buffers from being displayed at random after exit.
16142 (calendar-window-list, calendar-hide-window): Remove the broken
16143 adhockery.
16144
16145 2012-03-28 Glenn Morris <rgm@gnu.org>
16146
16147 * replace.el (query-replace-map): Doc fix.
16148
16149 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16150
16151 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16152 contents. (Bug#11109)
16153
16154 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16155
16156 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16157 (bug#11077).
16158 (avl-tree--check, avl-tree--check-node): New funs.
16159
16160 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16161
16162 * window.el (switch-to-visible-buffer): New option.
16163 (switch-to-prev-buffer, switch-to-next-buffer):
16164 Observe switch-to-visible-buffer. Make sure that checking for a window
16165 showing a buffer already is done on the same frame.
16166
16167 2012-03-27 Glenn Morris <rgm@gnu.org>
16168
16169 * startup.el (mail-host-address): Doc fix.
16170
16171 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16172
16173 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16174 than 197 variables.
16175
16176 2012-03-26 Ami Fischman <ami@fischman.org>
16177
16178 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16179
16180 2012-03-26 Glenn Morris <rgm@gnu.org>
16181
16182 * files.el (save-buffers-kill-emacs): Doc fix.
16183
16184 * startup.el (normal-top-level, command-line, command-line-1):
16185 Give them doc strings.
16186
16187 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16188
16189 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16190 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16191
16192 2012-03-25 Chong Yidong <cyd@gnu.org>
16193
16194 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16195 theme if it was previously enabled before (Bug#11031).
16196
16197 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16198 spec with custom-face-get-current-spec if its :shown-value is not
16199 determined yet (Bug#9337).
16200 (customize-create-theme, custom-theme-revert): Doc fixes.
16201
16202 * button.el (button-at): Minor addition to docstring.
16203
16204 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16205
16206 * vc/vc.el (vc-merge): Fix a prompt.
16207
16208 2012-03-24 Chong Yidong <cyd@gnu.org>
16209
16210 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16211 point (Bug#9623).
16212
16213 * button.el (button-at): Minor addition to docstring.
16214
16215 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16216
16217 * newcomment.el (comment-choose-indent): No space after BOL.
16218
16219 2012-03-22 Sam Steingold <sds@gnu.org>
16220
16221 * window.el (switch-to-prev-buffer): Revert last patch because the
16222 bug turned out to be an advertised feature (Elisp manual 28.14).
16223
16224 2012-03-22 Glenn Morris <rgm@gnu.org>
16225
16226 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16227 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16228
16229 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16230
16231 * net/network-stream.el (network-stream-open-starttls): Make error
16232 message under Windows be less misleading.
16233
16234 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16235
16236 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16237 understands (bug#9942).
16238
16239 2012-03-22 Chong Yidong <cyd@gnu.org>
16240
16241 * simple.el (end-of-visible-line): Handle return value of
16242 next-single-property-change properly (Bug#9371).
16243
16244 2012-03-22 Kenichi Handa <handa@m17n.org>
16245
16246 * international/quail.el (quail-insert-kbd-layout): Fix previous
16247 change. To avoid unwanted bidi reordering, use
16248 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16249
16250 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16251
16252 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16253 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16254 (ruby-beginning-of-indent): Be more careful with the difference
16255 between word-boundary and symbol boundary.
16256 (ruby-mode-syntax-table): Make : a symbol constituent.
16257
16258 2012-03-21 Andreas Politz <politza@fh-trier.de>
16259
16260 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16261
16262 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16263
16264 * progmodes/etags.el (tags-completion-at-point-function):
16265 Improve last fix.
16266
16267 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16268
16269 2012-03-21 Sam Steingold <sds@gnu.org>
16270
16271 * progmodes/etags.el (tags-completion-at-point-function):
16272 Avoid the error when point is inside the pattern.
16273
16274 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16275
16276 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16277 line (Bug#10855).
16278
16279 2012-03-21 Drew Adams <drew.adams@oracle.com>
16280
16281 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16282
16283 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16284
16285 * ido.el (ido-set-current-directory, ido-read-internal)
16286 (ido-choose-completion-string, ido-completion-help): Handle nil
16287 value of ido-completion-buffer (Bug#11008).
16288
16289 2012-03-21 Sam Steingold <sds@gnu.org>
16290
16291 * window.el (switch-to-prev-buffer): Do not switch to a visible
16292 window previous buffer, just like with the frame previous buffers.
16293
16294 2012-03-21 Chong Yidong <cyd@gnu.org>
16295
16296 * faces.el (make-face, make-empty-face, copy-face):
16297 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16298 Doc fixes.
16299
16300 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16301
16302 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16303 (widget-complete): Remove broken use of it.
16304
16305 2012-03-20 Chong Yidong <cyd@gnu.org>
16306
16307 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16308 Use string-width and truncate-string-width to handle arbitrary
16309 characters.
16310
16311 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16312
16313 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16314 to draw rectangles, not squares. (Regression introduced by revno
16315 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16316
16317 2012-03-18 Chong Yidong <cyd@gnu.org>
16318
16319 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16320 it is not yet defined (for temacs).
16321
16322 2012-03-18 Leo Liu <sdl.web@gmail.com>
16323
16324 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16325 prefix.
16326
16327 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16328
16329 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16330 (ispell-choices-win-default-height, ispell-silently-savep)
16331 (ispell-dictionary-alist, ispell-encoding8-command)
16332 (ispell-check-version, ispell-aspell-find-dictionary)
16333 (ispell-valid-dictionary-list, ispell-words-keyword)
16334 (ispell-get-word, ispell-internal-change-dictionary)
16335 (ispell-region, ispell-skip-region-list)
16336 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16337 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16338 (ispell-message-text-end, ispell-message)
16339 (ispell-buffer-local-parsing): Doc fix.
16340
16341 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16342
16343 * htmlfontify.el: Add support for code block fontification for ODT
16344 export (Bug #9914).
16345 (hfy-optimisations): Define new option
16346 `body-text-only'
16347 (hfy-fontify-buffer): Honor above setting.
16348 (hfy-begin-span, hfy-end-span): New routines factored out form
16349 `hfy-fontify-buffer'.
16350 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16351 that permit insertion of custom tags.
16352 (hfy-fontify-buffer): Use above handlers.
16353 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16354 (hfy-face-to-css): Re-defined to be a variable.
16355 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16356 over multiple runs. This is made possible by having the caller let
16357 bind a special variable `hfy-user-sheet-assoc'.
16358 (htmlfontify-string): New defun.
16359 (hfy-compile-face-map): Make sure that the last char in the
16360 buffer is correctly fontified.
16361 (hfy-face-resolve-face): Whitespace only change.
16362
16363 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16364
16365 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16366 message more clear.
16367
16368 2012-03-16 Leo Liu <sdl.web@gmail.com>
16369
16370 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16371
16372 2012-03-16 Alan Mackenzie <acm@muc.de>
16373
16374 Further optimize the handling of large macros.
16375
16376 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16377 limit to a call of `c-literal-limits'.
16378 (c-determine-+ve-limit): New function.
16379 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16380 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16381 In CASE 5B, restrict a search limit to 500.
16382 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16383
16384 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16385 Restrict macro bounds to +-500 from after-change's BEG END.
16386
16387 2012-03-16 Leo Liu <sdl.web@gmail.com>
16388
16389 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16390
16391 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16392
16393 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16394 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16395
16396 2012-03-16 Glenn Morris <rgm@gnu.org>
16397
16398 * view.el (view-buffer, view-buffer-other-window)
16399 (view-buffer-other-frame): Doc fixes re special mode-class.
16400
16401 * subr.el (eval-after-load): If named feature is provided not from
16402 a file, run after-load forms. (Bug#10946)
16403
16404 * calendar/calendar.el (calendar-insert-at-column):
16405 Handle non-unit-width characters a bit better. (Bug#10978)
16406
16407 2012-03-15 Chong Yidong <cyd@gnu.org>
16408
16409 * emacs-lisp/ring.el (ring-extend): New function.
16410 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16411
16412 * comint.el (comint-read-input-ring)
16413 (comint-add-to-input-history): Grow comint-input-ring lazily.
16414
16415 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16416
16417 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16418 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16419
16420 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16421 (imenu-add-to-menubar): Don't add a redundant index.
16422 (imenu-update-menubar): Handle a dynamically composed keymap.
16423
16424 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16425
16426 * mail/sendmail.el (mail-encode-header):
16427 Bind rfc2047-encode-encoded-words to nil.
16428
16429 2012-03-13 Glenn Morris <rgm@gnu.org>
16430
16431 * calendar/calendar.el (calendar-string-spread):
16432 Handle non-unit-width characters a bit better. (Bug#10978)
16433
16434 2012-03-13 Leo Liu <sdl.web@gmail.com>
16435
16436 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16437 directory and file as argument (Bug#10822).
16438
16439 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16440
16441 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16442 For dynamically generated code, follow $PC.
16443 (gdb-disassembly-handler-custom): Handle no function name case.
16444
16445 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16446
16447 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16448 * emulation/ws-mode.el (ws-query-replace):
16449 * sort.el (sort-regexp-fields):
16450 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16451
16452 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16453
16454 * dabbrev.el: Fix cycle completion order (bug#10963).
16455 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16456 (dabbrev-completion): Don't use an obarray; provide
16457 a cycle-sort-function.
16458
16459 2012-03-12 Leo Liu <sdl.web@gmail.com>
16460
16461 * simple.el (kill-new): Use equal-including-properties for comparison.
16462 (kill-do-not-save-duplicates): Doc fix.
16463
16464 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * dabbrev.el: Fix cycle completion (bug#10963).
16467 Use lexical binding and wrap to 80 columns.
16468 (dabbrev-completion): Delay computing the list of completions.
16469
16470 2012-03-12 Kenichi Handa <handa@m17n.org>
16471
16472 * international/quail.el (quail-insert-kbd-layout): Surround each
16473 row by LRO and PDF instead of inserting many LRMs. Pad the left
16474 and right of each non-spacing marks. Insert invisible space
16475 between lower and upper characters to prevent composition.
16476
16477 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16478
16479 * minibuffer.el (minibuffer-complete): Don't get confused when the
16480 function is run twice via different commands (bug#10958).
16481 (complete-with-action): Fix docstring.
16482
16483 2012-03-12 Chong Yidong <cyd@gnu.org>
16484
16485 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16486 (nxml-completion-at-point-function): New function.
16487 (nxml-mode): Use it.
16488 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16489
16490 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16491 Load generated autoloads file before byte compiling (Bug#10970).
16492 (package--make-autoloads-and-compile): New helper fun.
16493
16494 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16495
16496 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16497
16498 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16499
16500 * autorevert.el (auto-revert-handler): Ensure, that
16501 file-readable-p is applied only for local files or in
16502 auto-revert-tail-mode.
16503
16504 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16505
16506 * server.el (server-eval-at): Handle non-tcp connections.
16507 Decode result string.
16508
16509 * server.el (server-msg-size): New constant.
16510 (server-reply-print): New function.
16511 (server-eval-and-print): Use it.
16512 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16513 Handle -print-nonl.
16514
16515 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16516
16517 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16518 (Bug#10987).
16519
16520 2012-03-11 Chong Yidong <cyd@gnu.org>
16521
16522 * simple.el (goto-line): Doc fix (Bug#9938).
16523
16524 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16525
16526 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16527 when finished (Bug#10963).
16528
16529 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16530
16531 * window.el (split-window-below): Fix bug in case where
16532 split-window-keep-point is nil (Bug#10971).
16533
16534 2012-03-11 Juri Linkov <juri@jurta.org>
16535
16536 * replace.el (replace-highlight): Set isearch-word to nil
16537 unconditionally. (Bug#10887)
16538
16539 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16540
16541 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16542 mairix-replace-illegal-chars; all callers changed. Don't remove
16543 ^, ~, and = characters: they are meaningful in mairix search specs.
16544 (mairix-widget-create-query): Add usage information about mairix
16545 search forms: negating words, searching for substrings, etc.
16546
16547 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16548
16549 * international/fontset.el (font-encoding-alist): Add an entry for
16550 ksx1001 (Bug#5667).
16551
16552 2012-03-10 Richard Stallman <rms@gnu.org>
16553
16554 * mail/sendmail.el (mail-encode-header):
16555 Set rfc2047-encode-encoded-words.
16556
16557 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16558
16559 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16560 view buffer means not swapped.
16561 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16562 (rmail-write-region-annotate): Error if real text has disappeared.
16563
16564 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16565
16566 2012-03-10 Chong Yidong <cyd@gnu.org>
16567
16568 * emulation/cua-rect.el (cua--init-rectangles):
16569 * emulation/cua-base.el (cua--init-keymaps):
16570 Add delete-forward-char to remappings (Bug#9666).
16571
16572 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16573
16574 * speedbar.el (speedbar-unhighlight-one-tag-line):
16575 Avoid unhighlighting due to frame switching (Bug#10275).
16576
16577 2012-03-10 Chong Yidong <cyd@gnu.org>
16578
16579 * minibuffer.el (completion-in-region, completion-help-at-point):
16580 Give the completion field overlay a high priority (Bug#6830).
16581
16582 * dired.el (dired-goto-file): Recognize absolute file name
16583 listings (Bug#7126).
16584 (dired-goto-file-1): New helper function.
16585 (dired-toggle-read-only): Inhibit warnings.
16586
16587 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16588
16589 * net/dbus.el (dbus-property-handler): Return empty array if
16590 there are no properties.
16591
16592 2012-03-09 Leo Liu <sdl.web@gmail.com>
16593
16594 * savehist.el (savehist-printable): Stricter check for string
16595 value (Bug#10937).
16596
16597 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16598
16599 * mail/smtpmail.el (smtpmail-send-it):
16600 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16601 valid mbox format.
16602
16603 2012-03-09 Glenn Morris <rgm@gnu.org>
16604
16605 * files.el (dir-locals-find-file):
16606 Don't check result is regular, readable.
16607 (dir-locals-read-from-file): Demote errors.
16608
16609 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16610
16611 * international/quail.el (quail-insert-kbd-layout):
16612 Insert invisible LRM characters before each character in a keyboard
16613 layout cell, to prevent their reordering by bidi display engine.
16614 For details, see the discussion in
16615 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16616
16617 2012-03-08 Alan Mackenzie <acm@muc.de>
16618
16619 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16620 the starting position; make it extend the marked region when
16621 invoked repeatedly - all under appropriate circumstances.
16622 Fixes bugs #5525, #10906.
16623
16624 2012-03-08 Glenn Morris <rgm@gnu.org>
16625
16626 * files.el (locate-dominating-file, dir-locals-find-file):
16627 Undo 2012-03-06 change.
16628
16629 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16630
16631 * international/quail.el (quail-help):
16632 Force bidi-paragraph-direction be left-to-right. See discussion in
16633 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16634 for the reason.
16635
16636 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16637
16638 Avoid superfluous registering of signals. (Bug#10807)
16639
16640 * notifications.el (notifications-on-action-object)
16641 (notifications-on-close-object): New defvars.
16642 (notifications-on-action-signal, notifications-on-closed-signal):
16643 Unregister the signal if not needed any longer.
16644 (notifications-notify): Register `notifications-action-signal' or
16645 `notifications-closed-signal', if :on-action or :on-close has been
16646 passed as argument.
16647
16648 2012-03-07 Chong Yidong <cyd@gnu.org>
16649
16650 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16651 non-X platforms.
16652
16653 2012-03-06 Glenn Morris <rgm@gnu.org>
16654
16655 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16656 (x-disown-selection-internal, x-get-selection-internal):
16657 Doc fix (add arglist signatures). (Bug#10783)
16658
16659 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16660
16661 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16662 Handle breakpoints with no "type".
16663
16664 2012-03-06 Glenn Morris <rgm@gnu.org>
16665
16666 * files.el (locate-dominating-file): Add optional predicate argument.
16667 (dir-locals-find-file): Make use of above change.
16668
16669 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16670
16671 * info.el (Info-insert-dir): Also try "dir.gz".
16672
16673 2012-03-06 Glenn Morris <rgm@gnu.org>
16674
16675 * files.el (dir-locals-find-file):
16676 Ignore non-readable or non-regular files. (Bug#10928)
16677
16678 * files.el (locate-dominating-file): Doc fix.
16679
16680 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16681
16682 * calendar/calendar.el (calendar-set-mode-line):
16683 `getenv' returns a string. (Bug#10951)
16684
16685 2012-03-05 Leo Liu <sdl.web@gmail.com>
16686
16687 * simple.el (backward-delete-char-untabify): Constrain point to
16688 field (Bug#10939).
16689
16690 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16691
16692 2012-03-05 Chong Yidong <cyd@gnu.org>
16693
16694 * simple.el (count-words): If called from Lisp, return the word
16695 count, for symmetry with `count-lines'. Arglist changed.
16696 (count-words--message): Args changed. Consolidate counting code
16697 from count-words and count-words-region.
16698 (count-words-region): Caller changed.
16699 (count-lines-region): Make it an obsolete alias.
16700
16701 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16702
16703 * saveplace.el (save-place-to-alist)
16704 (save-place-ignore-files-regexp): Allow value nil to disable this
16705 feature.
16706
16707 2012-03-04 Chong Yidong <cyd@gnu.org>
16708
16709 * faces.el (face-spec-reset-face): For the default face, reset the
16710 attributes to default values (Bug#10748).
16711
16712 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16713
16714 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16715 previous patch: Check `message-send-mail-function', and not the
16716 default function (bug#10897).
16717
16718 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16719
16720 * notifications.el (notifications-on-action-signal)
16721 (notifications-on-closed-signal): Check for unique service name of
16722 incoming event. Fix error in removing entry.
16723 (top): Register for signals with wildcard service name.
16724 (notifications-notify): Use daemon unique service name for map entries.
16725
16726 2012-03-04 Chong Yidong <cyd@gnu.org>
16727
16728 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16729
16730 2012-03-04 Glenn Morris <rgm@gnu.org>
16731
16732 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16733 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16734 (expand-abbrev, define-abbrev-table): Doc fixes.
16735
16736 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16737
16738 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16739 `message-default-send-mail-function' and not `send-mail-function'
16740 when doing the prompting for `sendmail-query-once' before sending
16741 in Message buffers (bug#10897).
16742
16743 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16744 This is inconsistent with all the other stream functions, which leave
16745 the setting up to the higher levels (if so wanted) (bug#10931).
16746
16747 2012-03-02 Alan Mackenzie <acm@muc.de>
16748
16749 Depessimize the handling of very large macros.
16750
16751 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16752 (c-macro-cache-syntactic): New variables to implement a one
16753 element macro cache.
16754 (c-invalidate-macro-cache): New function.
16755 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16756 Adapt to use the new cache.
16757 (c-state-safe-place): Use better the cache of safe positions.
16758 (c-state-semi-nonlit-pos-cache)
16759 (c-state-semi-nonlit-pos-cache-limit):
16760 New variables for...
16761 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16762 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16763 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16764 Use c-state-semi-safe-place.
16765
16766 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16767 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16768
16769 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16770
16771 * jka-compr.el (jka-compr-call-process):
16772 Apply `file-accessible-directory-p' only when the default directory is
16773 not remote.
16774
16775 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16776
16777 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16778 access of FILE2, if FILE1 does not exist.
16779
16780 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16781 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16782
16783 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16784 Add "PAGER=" to `process-environment'.
16785
16786 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16787
16788 * progmodes/sql.el: Bug fix
16789 (sql-get-login-ext): Save login values in globals.
16790 (sql-get-login): Use new version of `sql-get-login-ext'.
16791 (sql-interactive-mode): Set global `sql-connection' to nil.
16792 (sql-connect): Set global values for connection.
16793 (sql-product-interactive): Save global values as buffer local.
16794
16795 2012-02-29 Leo Liu <sdl.web@gmail.com>
16796
16797 * abbrev.el (define-abbrevs): Reset sys to nil.
16798
16799 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16800
16801 * files.el (file-equal-p): Rename from `files-equal-p'.
16802 Return nil when one or both files don't exist.
16803 (file-subdir-of-p): Now only top directory must exists,
16804 return nil if it doesn't.
16805 (copy-directory): No need to test with `file-subdir-of-p' after
16806 creating dir.
16807 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16808 to `file-equal-p'.
16809
16810 2012-02-28 Glenn Morris <rgm@gnu.org>
16811
16812 * shell.el (shell-mode):
16813 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16814 * play/landmark.el (landmark-font-lock-face-O):
16815 * play/handwrite.el (handwrite):
16816 * play/gomoku.el (gomoku-O):
16817 * net/browse-url.el (browse-url-browser-display):
16818 * international/mule.el (define-charset):
16819 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16820 * filesets.el (filesets-find-file-delay):
16821 * eshell/em-xtra.el (eshell-xtra):
16822 * eshell/em-unix.el (eshell-grep):
16823 * emulation/viper.el (viper-mode):
16824 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16825 * emacs-lisp/easymenu.el (easy-menu-define):
16826 * calendar/timeclock.el (timeclock-use-display-time):
16827 * bs.el (bs-mode):
16828 * bookmark.el (bookmark-save-flag):
16829 Doc fix (standardize possessive apostrophe usage).
16830
16831 2012-02-27 Chong Yidong <cyd@gnu.org>
16832
16833 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16834 Fix key-binding lookup for ESC key (Bug#9146).
16835
16836 * font-lock.el (font-lock-specified-p): Rename from
16837 font-lock-spec-present. Callers changed.
16838
16839 2012-02-27 Daniel Hackney <dan@haxney.org>
16840
16841 * emacs-lisp/package.el (package-compute-transaction):
16842 Handle holding a package version to t in package-load-list.
16843
16844 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16845
16846 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16847 (tramp-get-inode, tramp-get-device): Use cached values.
16848
16849 2012-02-26 Alan Mackenzie <acm@muc.de>
16850
16851 Check there is a font-lock specification before doing initial
16852 fontification.
16853
16854 * font-core.el (font-lock-mode): Move the conditional from
16855 :after-hook to font-lock-initial-fontify.
16856 (font-lock-default-function): Move the check for a specification
16857 to font-lock-spec-present.
16858
16859 * font-lock.el (font-lock-initial-fontify): Call ...
16860 (font-lock-spec-present): New function.
16861
16862 2012-02-26 Jim Blandy <jimb@red-bean.com>
16863
16864 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16865 (gdb-send): Apply it to the operand of the '-interpreter-exec
16866 console' command, so that we can pass arguments with (say) quotes
16867 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16868
16869 2012-02-26 Chong Yidong <cyd@gnu.org>
16870
16871 * help-fns.el (describe-function-1): Clarify description of
16872 remapping (Bug#10844).
16873
16874 * files.el (files-equal-p): Doc fix.
16875 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16876 and quit the loop once a mismatch is found.
16877
16878 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16879
16880 * bs.el (bs--show-with-configuration): Don't throw an error
16881 if the window cannot be split; otherwise, subsequent calls to
16882 bs-show fail, restoring a stale window config. (Bug#10882)
16883
16884 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16885
16886 * term/ns-win.el (global-map): Bind ns-drag-file to
16887 ns-find-file (Bug#5855, Bug#10050).
16888
16889 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16890
16891 * calendar/parse-time.el (parse-time-string): Allow extractor to
16892 return nil.
16893
16894 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16895
16896 * net/tramp.el (tramp-file-name-for-operation):
16897 Add `files-equal-p' and `file-subdir-of-p'.
16898
16899 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16900 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16901 Add COPY-CONTENTS argument.
16902
16903 2012-02-25 Chong Yidong <cyd@gnu.org>
16904
16905 Add custom groups for VC backends, for consistency with vc-bzr.
16906
16907 * vc/vc-arch.el (vc-arch):
16908 * vc/vc-cvs.el (vc-cvs):
16909 * vc/vc-git.el (vc-git):
16910 * vc/vc-hg.el (vc-hg):
16911 * vc/vc-mtn.el (vc-mtn):
16912 * vc/vc-rcs.el (vc-rcs):
16913 * vc/vc-sccs.el (vc-sccs):
16914 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16915 All relevant defcustoms reassigned.
16916
16917 2012-02-25 Chong Yidong <cyd@gnu.org>
16918
16919 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16920
16921 * term/x-win.el (x-initialize-window-system): Reduce default for
16922 x-selection-timeout to 5 seconds (Bug#8869).
16923
16924 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16925
16926 * files.el (files-equal-p, file-subdir-of-p): New functions.
16927 (copy-directory): Error when trying to copy a directory on itself.
16928 Add missing copy-contents arg to tramp handler.
16929 * dired-aux.el (dired-copy-file-recursive): Same.
16930 (dired-create-files): Modify destination when source is equal to
16931 dest when copying files.
16932 Return also when dest is a subdir of source. (Bug#10489)
16933
16934 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16935
16936 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16937 (Bug#10874)
16938
16939 2012-02-23 Alan Mackenzie <acm@muc.de>
16940
16941 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16942 parameter "after-hook:" to allow the expansion to run code after
16943 the execution of the mode hooks.
16944
16945 * font-lock.el (font-lock-initial-fontify): New function extracted
16946 from font-lock-mode-internal.
16947
16948 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16949 :after-hook.
16950
16951 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16952
16953 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16954 (completion--cache-all-sorted-completions): New function.
16955 (completion-all-sorted-completions): Use it.
16956 (completion--do-completion, minibuffer-force-complete):
16957 Use it to re-instate the flush hook.
16958
16959 * icomplete.el (icomplete-completions): Replace last fix with a better
16960 one (bug#10850).
16961
16962 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16963
16964 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16965 when it might call us back infinitely (bug#10797).
16966
16967 2012-02-23 Glenn Morris <rgm@gnu.org>
16968
16969 * minibuffer.el (completion-category-overrides): Doc fix.
16970
16971 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16972
16973 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16974 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16975
16976 2012-02-23 Glenn Morris <rgm@gnu.org>
16977
16978 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16979 (authors-obsolete-files-regexps, authors-ignored-files)
16980 (authors-ambiguous-files, authors-renamed-files-alist):
16981 Add more entries.
16982
16983 2012-02-23 Juri Linkov <juri@jurta.org>
16984
16985 * isearch.el (isearch-occur): Sync interactive spec with occur's
16986 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16987
16988 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16989
16990 2012-02-22 Juri Linkov <juri@jurta.org>
16991
16992 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16993 (ucs-insert): Doc fix. Check for hex digits in the string.
16994 Don't display `nil' in the error message. (Bug#10857)
16995
16996 2012-02-22 Alan Mackenzie <acm@muc.de>
16997
16998 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16999
17000 2012-02-22 Glenn Morris <rgm@gnu.org>
17001
17002 * ffap.el (ffap-c-path):
17003 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17004
17005 2012-02-22 Chong Yidong <cyd@gnu.org>
17006
17007 * custom.el (load-theme): Doc fix.
17008
17009 2012-02-22 Glenn Morris <rgm@gnu.org>
17010
17011 * dired-x.el (dired-guess-shell-alist-default):
17012 Remove escape sequences from nroff output. (Bug#172)
17013
17014 2012-02-21 Glenn Morris <rgm@gnu.org>
17015
17016 * vc/emerge.el (emerge-defvar-local):
17017 Set `permanent-local' property rather than unused `preserved'.
17018
17019 * textmodes/picture.el (picture-delete-char): New alias.
17020 (picture-mode-map): Use it. (Bug#10860)
17021 (picture-mode): Doc fix.
17022
17023 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17024
17025 * newcomment.el (uncomment-region-default): Remove unused binding.
17026
17027 2012-02-21 Glenn Morris <rgm@gnu.org>
17028
17029 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17030 (picture-self-insert, picture-tab-chars): Doc fix.
17031 (picture-mode-map): Fix C-a, C-e.
17032
17033 2012-02-20 Glenn Morris <rgm@gnu.org>
17034
17035 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17036
17037 2012-02-20 Leo Liu <sdl.web@gmail.com>
17038
17039 * icomplete.el (icomplete-completions): Check FROM arg before
17040 passing to substring (Bug#10850).
17041
17042 2012-02-19 Chong Yidong <cyd@gnu.org>
17043
17044 * comint.el: Require ansi-color.
17045 (comint-output-filter-functions): Add ansi-color-process-output.
17046
17047 * ansi-color.el: Don't set comint-output-filter-functions; it is
17048 now in the initial value defined in comint.el.
17049 (ansi-color-apply-face-function): New variable.
17050 (ansi-color-apply-on-region): Use it.
17051 (ansi-color-apply-overlay-face): New function.
17052
17053 * shell.el (shell): No need to require ansi-color.
17054 (shell-mode): Use ansi-color-apply-face-function to highlight
17055 color escapes using font-lock-face property (Bug#10835).
17056
17057 2012-02-19 Chong Yidong <cyd@gnu.org>
17058
17059 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17060 mode-line formats (Bug#10839).
17061
17062 2012-02-18 Glenn Morris <rgm@gnu.org>
17063
17064 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17065
17066 * mail/undigest.el (unforward-rmail-message): Doc fix.
17067
17068 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17069
17070 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17071
17072 * international/characters.el (script-list): Sync with the latest
17073 Unicode Character Database.
17074
17075 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17076
17077 * international/titdic-cnv.el: Remove duplicate coding tag.
17078 * language/cham.el: Likewise.
17079 * language/tai-viet.el: Likewise.
17080
17081 2012-02-18 Glenn Morris <rgm@gnu.org>
17082
17083 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17084 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17085 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17086 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17087 * calendar/holidays.el (holiday-bahai-holidays)
17088 (calendar-holidays, list-holidays):
17089 Use utf-8 Bahá'í in doc-strings, menus, etc.
17090
17091 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17092
17093 * saveplace.el (save-place-ignore-files-regexp): New variable
17094 allowing for excluding files from saving their location of point.
17095 The default value matches the temporary commit message editing
17096 files from Git, SVN, Bazaar, and Mercurial.
17097 (save-place-to-alist): Use it.
17098
17099 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17100 Stefan Monnier <monnier@iro.umontreal.ca>
17101
17102 * newcomment.el (uncomment-region-default): Don't leave extra space
17103 when an arg is provided (bug#8150).
17104
17105 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17106
17107 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17108
17109 2012-02-17 Glenn Morris <rgm@gnu.org>
17110
17111 * net/socks.el: Require network-stream. (Bug#10599)
17112
17113 2012-02-17 Kenichi Handa <handa@m17n.org>
17114
17115 * international/charprop.el:
17116 * international/uni-name.el:
17117 * international/uni-old-name.el:
17118 * international/uni-comment.el: Regenerate.
17119
17120 2012-02-16 Glenn Morris <rgm@gnu.org>
17121
17122 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17123 Interactively in calendar buffer, give an error if not on a date.
17124
17125 2012-02-15 Glenn Morris <rgm@gnu.org>
17126
17127 * shell.el (shell-delimiter-argument-list):
17128 Revert 2011-02-17 change. (Bug#8027)
17129
17130 2012-02-15 Chong Yidong <cyd@gnu.org>
17131
17132 * minibuffer.el (completion-at-point-functions): Doc fix.
17133
17134 * custom.el (defcustom): Doc fix; note use of defvar.
17135
17136 2012-02-15 Glenn Morris <rgm@gnu.org>
17137
17138 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17139 Doc fixes.
17140
17141 2012-02-14 Glenn Morris <rgm@gnu.org>
17142
17143 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17144
17145 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17146
17147 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17148 way the ports list is computed.
17149 (smtpmail-query-smtp-server): Prompt the user for a port number if
17150 we can't connect to any of the standard ports (bug#10810).
17151
17152 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17153
17154 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17155
17156 2012-02-13 Glenn Morris <rgm@gnu.org>
17157
17158 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17159
17160 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17161
17162 * net/gnutls.el (gnutls-trustfiles): New variable.
17163 (gnutls-negotiate): Use it.
17164
17165 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17166
17167 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17168 does its stuff if Gnus is running.
17169
17170 2012-02-13 Alan Mackenzie <acm@muc.de>
17171
17172 Fix a loop in c-set-fl-decl-start.
17173
17174 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17175 c-backward-syntactic-ws actually moves backwards.
17176
17177 2012-02-13 Leo Liu <sdl.web@gmail.com>
17178
17179 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17180 beginning so that all \C-o chars are removed.
17181
17182 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17183
17184 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17185
17186 2012-02-12 Alan Mackenzie <acm@muc.de>
17187
17188 Fix infinite loop with long macros.
17189 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17190
17191 2012-02-12 Chong Yidong <cyd@gnu.org>
17192
17193 * window.el (display-buffer): Doc fix (Bug#10785).
17194
17195 2012-02-12 Glenn Morris <rgm@gnu.org>
17196
17197 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17198 (x-disown-selection-internal, x-get-selection-internal):
17199 Sync docs with the xselect.c versions.
17200
17201 * allout-widgets.el: Add missing license notice.
17202
17203 2012-02-11 Glenn Morris <rgm@gnu.org>
17204
17205 * select.el (x-get-selection-internal, x-own-selection-internal)
17206 (x-disown-selection-internal):
17207 * x-dnd.el (x-get-selection-internal): Update declarations.
17208
17209 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17210
17211 * window.el (window-sides-slots):
17212 * tool-bar.el (tool-bar-position):
17213 * term/xterm.el (xterm-extra-capabilities):
17214 * ses.el (ses-self-reference-early-detection):
17215 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17216 (verilog-auto-wire-type)
17217 (verilog-auto-delete-trailing-whitespace)
17218 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17219 (verilog-auto-tieoff-declaration):
17220 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17221 (sql-oracle-statement-starters, sql-oracle-scan-on):
17222 * progmodes/prolog.el (prolog-align-comments-flag)
17223 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17224 (prolog-left-indent-regexp, prolog-paren-indent-p)
17225 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17226 (prolog-types, prolog-mode-specificators)
17227 (prolog-determinism-specificators, prolog-directives)
17228 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17229 (prolog-electric-dot-flag)
17230 (prolog-electric-dot-full-predicate-template)
17231 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17232 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17233 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17234 (prolog-program-switches, prolog-prompt-regexp)
17235 (prolog-debug-on-string, prolog-debug-off-string)
17236 (prolog-trace-on-string, prolog-trace-off-string)
17237 (prolog-zip-on-string, prolog-zip-off-string)
17238 (prolog-use-standard-consult-compile-method-flag)
17239 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17240 (prolog-imenu-max-lines, prolog-info-predicate-index)
17241 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17242 (prolog-char-quote-workaround):
17243 * progmodes/cc-vars.el (c-defun-tactic):
17244 * net/tramp.el (tramp-encoding-command-interactive)
17245 (tramp-local-end-of-line):
17246 * net/soap-client.el (soap-client):
17247 * net/netrc.el (netrc-file):
17248 * net/gnutls.el (gnutls):
17249 * minibuffer.el (completion-category-overrides)
17250 (completion-cycle-threshold)
17251 (completion-pcm-complete-word-inserts-delimiters):
17252 * man.el (Man-name-local-regexp):
17253 * mail/feedmail.el (feedmail-display-full-frame):
17254 * international/characters.el (glyphless-char-display-control):
17255 * eshell/em-ls.el (eshell-ls-date-format):
17256 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17257 (lisp-lambda-list-keyword-parameter-indentation)
17258 (lisp-lambda-list-keyword-parameter-alignment):
17259 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17260 * dired-x.el (dired-omit-verbose):
17261 * cus-theme.el (custom-theme-allow-multiple-selections):
17262 * calc/calc.el (calc-highlight-selections-with-faces)
17263 (calc-lu-field-reference, calc-lu-power-reference)
17264 (calc-note-threshold):
17265 * battery.el (battery-mode-line-limit):
17266 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17267 (archive-7z-update):
17268 * allout.el (allout-prefixed-keybindings)
17269 (allout-unprefixed-keybindings)
17270 (allout-inhibit-auto-fill-on-headline)
17271 (allout-flattened-numbering-abbreviation):
17272 * allout-widgets.el (allout-widgets-auto-activation)
17273 (allout-widgets-icons-dark-subdir)
17274 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17275 (allout-widgets-theme-dark-background)
17276 (allout-widgets-theme-light-background)
17277 (allout-widgets-item-image-properties-emacs)
17278 (allout-widgets-item-image-properties-xemacs)
17279 (allout-widgets-run-unit-tests-on-load)
17280 (allout-widgets-time-decoration-activity)
17281 (allout-widgets-hook-error-post-time)
17282 (allout-widgets-track-decoration):
17283 Add missing :version tags to new defcustoms and defgroups.
17284
17285 * progmodes/sql.el (sql-ansi-statement-starters)
17286 (sql-oracle-statement-starters): Add custom type.
17287
17288 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17289 (prolog-system-version): Give it a type.
17290
17291 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17292
17293 * term/pc-win.el (x-select-text, x-selection-owner-p)
17294 (x-own-selection-internal, x-disown-selection-internal)
17295 (x-get-selection-internal): Sync doc strings and argument lists
17296 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17297
17298 2012-02-11 Leo Liu <sdl.web@gmail.com>
17299
17300 * progmodes/python.el (python-end-of-statement): Fix infinite
17301 loop. (Bug#10788)
17302
17303 2012-02-10 Glenn Morris <rgm@gnu.org>
17304
17305 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17306 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17307
17308 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17309
17310 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17311 about SMTP before checking the From header.
17312
17313 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17314 into own function for reuse by emacsbug.el.
17315
17316 2012-02-10 Leo Liu <sdl.web@gmail.com>
17317
17318 * subr.el (condition-case-unless-debug): Rename from
17319 condition-case-no-debug. All callers changed.
17320 (with-demoted-errors): Fix caller.
17321
17322 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17323 * nxml/rng-valid.el (rng-do-some-validation):
17324 * emacs-lisp/package.el (package-refresh-contents)
17325 (package-menu-execute):
17326 * desktop.el (desktop-create-buffer):
17327 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17328
17329 2012-02-10 Glenn Morris <rgm@gnu.org>
17330
17331 * textmodes/bibtex.el:
17332 Add missing :version tags for new/changed defcustoms.
17333
17334 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17335
17336 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17337
17338 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17339 (smtpmail-via-smtp): Use it, or fall back on the From address.
17340 (smtpmail-send-it): Ditto.
17341
17342 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17343
17344 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17345 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17346 (byte-compile-tmp-var): New const.
17347 (byte-compile-defvar): Use it to minimize .elc size.
17348 Just use `defvar' rather than simulate it (bug#10761).
17349
17350 2012-02-09 Glenn Morris <rgm@gnu.org>
17351
17352 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17353
17354 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17355 Add :version tags.
17356
17357 * progmodes/compile.el (compilation-error-screen-columns)
17358 (compilation-first-column, compilation-filter-start): Doc fixes.
17359
17360 * vc/log-view.el (log-view-toggle-entry-display):
17361 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17362
17363 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17364 (report-emacs-bug-can-use-xdg-email):
17365 (report-emacs-bug-insert-to-mailer): Doc fixes.
17366 (report-emacs-bug): Message fix.
17367
17368 * net/browse-url.el (browse-url-can-use-xdg-open)
17369 (browse-url-xdg-open): Doc fixes.
17370
17371 * electric.el (electric-indent-mode, electric-pair-mode)
17372 (electric-layout-rules, electric-layout-mode): Doc fixes.
17373 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17374
17375 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17376
17377 * server.el (server-unselect-display): Don't inadvertently kill
17378 the current buffer. (Bug#10729)
17379
17380 2012-02-08 Glenn Morris <rgm@gnu.org>
17381
17382 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17383 (sql-list-table): Doc fixes.
17384
17385 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17386 Comment out (does nothing).
17387
17388 * completion.el (dynamic-completion-mode):
17389 * dirtrack.el (dirtrack-debug-mode):
17390 * electric.el (electric-layout-mode):
17391 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17392 * face-remap.el (text-scale-mode, buffer-face-mode):
17393 * iimage.el (iimage-mode):
17394 * image-mode.el (image-transform-mode):
17395 * minibuffer.el (completion-in-region-mode):
17396 * scroll-lock.el (scroll-lock-mode):
17397 * simple.el (next-error-follow-minor-mode):
17398 * tar-mode.el (tar-subfile-mode):
17399 * tooltip.el (tooltip-mode):
17400 * vcursor.el (vcursor-use-vcursor-map):
17401 * wid-browse.el (widget-minor-mode):
17402 * emulation/tpu-edt.el (tpu-edt-mode):
17403 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17404 * international/iso-ascii.el (iso-ascii-mode):
17405 * language/thai-util.el (thai-word-mode):
17406 * mail/supercite.el (sc-minor-mode):
17407 * net/goto-addr.el (goto-address-mode):
17408 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17409 * progmodes/cwarn.el (cwarn-mode):
17410 * progmodes/flymake.el (flymake-mode):
17411 * progmodes/glasses.el (glasses-mode):
17412 * progmodes/hideshow.el (hs-minor-mode):
17413 * progmodes/pascal.el (pascal-outline-mode):
17414 * textmodes/enriched.el (enriched-mode):
17415 * vc/smerge-mode.el (smerge-mode):
17416 Doc fixes (minor mode argument).
17417
17418 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17419
17420 * ls-lisp.el (ls-lisp-sanitize): New function.
17421 (ls-lisp-insert-directory): Use it to fix or remove any elements
17422 in file-alist with missing attributes. (Bug#4673)
17423
17424 2012-02-07 Alan Mackenzie <acm@muc.de>
17425
17426 Fix spurious recognition of c-in-knr-argdecl.
17427
17428 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17429 putative K&R region.
17430
17431 2012-02-07 Alan Mackenzie <acm@muc.de>
17432
17433 * progmodes/cc-engine.el (c-forward-objc-directive):
17434 Prevent looping in "#pragma mark @implementation".
17435
17436 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17437
17438 * notifications.el (notifications-on-closed-signal): Make `reason'
17439 optional. (Bug#10744)
17440
17441 2012-02-07 Glenn Morris <rgm@gnu.org>
17442
17443 * emacs-lisp/easy-mmode.el (define-minor-mode):
17444 Doc fixes for the macro and the mode it defines.
17445
17446 * image.el (imagemagick-types-inhibit): Doc fix.
17447
17448 * cus-start.el (imagemagick-render-type): Add it.
17449
17450 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17451
17452 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17453 Set the default at load time, too, so that `font-lock-fontify-buffer'
17454 can be called without setting up the entire mode first. This fixes
17455 a bug in `mm-inline-text' with C MIME parts.
17456
17457 2012-02-06 Chong Yidong <cyd@gnu.org>
17458
17459 * simple.el (list-processes--refresh): Delete exited processes
17460 (Bug#8094).
17461
17462 * comint.el (comint-next-prompt): next-single-char-property-change
17463 and prev-single-char-property-change never return nil (Bug#8657).
17464
17465 * custom.el (defcustom): Doc fix (Bug#9711).
17466
17467 2012-02-05 Chong Yidong <cyd@gnu.org>
17468
17469 * cus-edit.el (custom-variable-reset-backup): Quote the value
17470 before storing it in the customized-value property (Bug#6712).
17471 (custom-display): Add a customization type tag.
17472 (custom-buffer-create-internal): Improve tooltip message.
17473
17474 * wid-edit.el (widget-field-value-get): New optional arg to
17475 suppress trailing whitespace truncation.
17476 (character): Use it (Bug#2689).
17477
17478 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17479
17480 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17481 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17482
17483 2012-02-05 Chong Yidong <cyd@gnu.org>
17484
17485 * cus-edit.el (custom-variable-value-create): For mismatched
17486 types, show the current value (Bug#7600).
17487
17488 * custom.el (defcustom): Doc fix.
17489
17490 2012-02-05 Glenn Morris <rgm@gnu.org>
17491
17492 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17493
17494 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17495
17496 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17497 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17498 (pp-last-sexp): Use `looking-at-p'.
17499
17500 2012-02-04 Glenn Morris <rgm@gnu.org>
17501
17502 * files.el (revert-buffer):
17503 Doc fix (mention revert-buffer-in-progress-p).
17504
17505 * emacs-lisp/ert-x.el (ert-simulate-command):
17506 Check deferred-action-list (which is obsolete) is bound.
17507
17508 * subr.el (with-wrapper-hook): Doc fixes.
17509
17510 * simple.el (filter-buffer-substring-functions)
17511 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17512
17513 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17514
17515 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17516 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17517
17518 2012-02-04 Leo Liu <sdl.web@gmail.com>
17519
17520 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17521
17522 2012-02-04 Glenn Morris <rgm@gnu.org>
17523
17524 * image.el (image-extension-data): Add obsolete alias.
17525
17526 * isearch.el (isearch-update): Doc fix.
17527
17528 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17529
17530 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17531
17532 2012-02-03 Glenn Morris <rgm@gnu.org>
17533
17534 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17535 (image-animate-timeout): Doc fix.
17536
17537 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17538
17539 2012-02-02 Glenn Morris <rgm@gnu.org>
17540
17541 * server.el (server-auth-dir): Doc fix.
17542 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17543
17544 * subr.el (run-mode-hooks): Doc fix.
17545
17546 2012-02-02 Juri Linkov <juri@jurta.org>
17547
17548 * image-mode.el (image-toggle-display-image): Remove tautological
17549 `major-mode' from the `derived-mode-p' test.
17550
17551 2012-02-02 Kenichi Handa <handa@m17n.org>
17552
17553 * composite.el (compose-region): Cancel previous change.
17554
17555 2012-02-02 Kenichi Handa <handa@m17n.org>
17556
17557 * composite.el (compose-region, compose-string): Signal error for
17558 a null string component (Bug#6988).
17559
17560 2012-02-01 Chong Yidong <cyd@gnu.org>
17561
17562 * view.el (view-buffer-other-window, view-buffer-other-frame):
17563 Handle special modes like view-buffer (Bug#10650).
17564 (view-buffer): Simplify.
17565
17566 * frame.el (set-frame-font): Tweak meaning of third argument.
17567
17568 * dynamic-setting.el (font-setting-change-default-font):
17569 Use set-frame-font (Bug#9982).
17570
17571 2012-02-01 Glenn Morris <rgm@gnu.org>
17572
17573 * progmodes/compile.el (compilation-internal-error-properties):
17574 Respect compilation-first-column in the "*compilation*" buffer.
17575
17576 * emacs-lisp/easy-mmode.el (define-minor-mode):
17577 Relax :variable's test for a named function.
17578
17579 2012-01-31 Alan Mackenzie <acm@muc.de>
17580
17581 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17582 off by one error.
17583
17584 2012-01-31 Chong Yidong <cyd@gnu.org>
17585
17586 * frame.el (set-frame-font): New arg ALL-FRAMES.
17587
17588 * menu-bar.el (menu-set-font): Use set-frame-font.
17589
17590 * faces.el (face-spec-reset-face): Don't apply unspecified
17591 attribute values to the default face.
17592
17593 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17594
17595 * progmodes/cwarn.el (cwarn): Remove dead link.
17596 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17597 Remove * from defcustom docstrings.
17598 (turn-on-cwarn-mode): Make obsolete.
17599 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17600 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17601
17602 2012-01-31 Glenn Morris <rgm@gnu.org>
17603
17604 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17605 Fix :variable handling of mode a symbol not equal to modefun.
17606 Allow named functions to be used as the cdr of :variable.
17607
17608 2012-01-30 Glenn Morris <rgm@gnu.org>
17609
17610 * emacs-lisp/authors.el (authors-fixed-entries):
17611 Remove reference to deleted file rnewspost.el.
17612
17613 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17614
17615 * window.el (window-with-parameter): Remove unused variable `windows'.
17616 (window--side-check): Remove unused variable `code'.
17617 (window--resize-siblings): Remove unused variable `first'.
17618 (adjust-window-trailing-edge): Remove unused variable `failed'.
17619 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17620 Use `let', not `let*'.
17621 (balance-windows-2): Remove unused variable `found'.
17622 (window--state-put-2): Remove unused variable `splits'.
17623 (window-state-put): Remove unused variable `selected'.
17624 (same-window-p): Use `string-match-p'.
17625 (display-buffer-assq-regexp): Remove unused variable `value'.
17626 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17627 Mark argument ALIST as ignored.
17628 (pop-to-buffer): Remove unused variable `old-window'.
17629
17630 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17631
17632 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17633 and .lzma compressed files.
17634
17635 2012-01-29 Chong Yidong <cyd@gnu.org>
17636
17637 * frame.el (window-system-default-frame-alist): Doc fix.
17638
17639 * dynamic-setting.el (font-setting-change-default-font): Don't
17640 change the default face if SET-FONT argument is non-nil (Bug#9982).
17641
17642 2012-01-29 Samuel Bronson <naesten@gmail.com>
17643
17644 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17645
17646 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17647
17648 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17649 breakpoints in files outside current directory (Bug#6098).
17650
17651 2012-01-29 Chong Yidong <cyd@gnu.org>
17652
17653 * progmodes/python.el: Require ansi-color at top-level.
17654
17655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17656 Define and use in Emacs Lisp mode (Bug#9360).
17657 (lisp-mode-abbrev-table): Add doc.
17658 (lisp-mode-variables): Don't set local-abbrev-table.
17659 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17660
17661 2012-01-28 Roland Winkler <winkler@gnu.org>
17662
17663 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17664
17665 2012-01-28 Roland Winkler <winkler@gnu.org>
17666
17667 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17668 (bibtex-set-dialect): Use it. Either set global values of
17669 dialect-dependent variables or bind these variables buffer-locally
17670 (Bug#10254).
17671 (bibtex-mode): Call bibtex-set-dialect via
17672 hack-local-variables-hook.
17673 (bibtex-dialect): Update docstring.
17674 Add safe-local-variable predicate.
17675 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17676 bibtex-set-dialect.
17677 (bibtex-mode-map): Define menu for each dialect.
17678 (bibtex-entry): Fix docstring.
17679
17680 2012-01-28 Chong Yidong <cyd@gnu.org>
17681
17682 * eshell/esh-arg.el (eshell-quote-argument): New function.
17683
17684 * eshell/esh-ext.el (eshell-invoke-batch-file):
17685 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17686 first arg to eshell-parse-command (Bug#10523).
17687
17688 2012-01-28 Drew Adams <drew.adams@oracle.com>
17689
17690 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17691 `default-directory' is non-nil.
17692
17693 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17694
17695 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17696 line that displays system-configuration-options. (Bug#9924)
17697
17698 2012-01-28 Drew Adams <drew.adams@oracle.com>
17699
17700 * descr-text.el (describe-char): Show information about POS, in
17701 addition to information about the character at POS. Improve and
17702 update the doc string. Change "code point" to "code point in
17703 charset", to avoid confusion with the character's Unicode code
17704 point shown above that. (Bug#10129)
17705
17706 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17707
17708 * descr-text.el (describe-char): Show the raw character, not only
17709 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17710 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17711 for the reasons.
17712
17713 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17714
17715 * emacs-lisp/package.el (package-install):
17716 Run package-refresh-contents if there is no archive yet (Bug#9798).
17717
17718 2012-01-28 Chong Yidong <cyd@gnu.org>
17719
17720 * emacs-lisp/package.el (package-maybe-load-descriptor):
17721 New function, split from package-maybe-load-descriptor.
17722 (package-maybe-load-descriptor): Use it.
17723 (package-download-transaction): Fully load required packages
17724 inside the loop, so that `require' calls work (Bug#10593).
17725 (package-install): No need to call package-initialize now.
17726
17727 2012-01-28 Chong Yidong <cyd@gnu.org>
17728
17729 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17730
17731 * tooltip.el (tooltip-mode): Doc fix.
17732 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17733
17734 * frame.el (set-cursor-color): Doc fix (Bug#352).
17735
17736 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17737 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17738
17739 * cus-edit.el (custom-buffer-create-internal): Fix search button
17740 action (Bug#10542).
17741 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17742
17743 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17744
17745 * dired.el (dired-mark-files-regexp):
17746 Include any subdirectory components. (Bug#10445)
17747
17748 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17749
17750 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17751 Handle [host]:port syntax. (Bug#10533)
17752
17753 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17754
17755 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17756
17757 2012-01-26 Glenn Morris <rgm@gnu.org>
17758
17759 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17760 * term.el (term-raw-escape-map): Use Control-X-prefix.
17761 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17762
17763 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17764
17765 * window.el (window-state-get, window--state-get-1): Don't deal
17766 with fixed-sizeness of windows. Simplify code.
17767
17768 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17769
17770 * window.el (window--state-get-1, window--state-put-2):
17771 Don't save and restore the mark.
17772
17773 2012-01-25 Chong Yidong <cyd@gnu.org>
17774
17775 * custom.el (custom-variable-p): Doc fix.
17776
17777 2012-01-25 Glenn Morris <rgm@gnu.org>
17778
17779 * dired.el (dired-goto-file): Handle some of the more common
17780 characters that `ls -b' escapes. (Bug#10596)
17781
17782 * progmodes/compile.el (compilation-next-error-function):
17783 Respect compilation-first-column in the "*compilation*" buffer.
17784 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17785
17786 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17787
17788 2012-01-24 Glenn Morris <rgm@gnu.org>
17789
17790 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17791
17792 2012-01-24 Julien Danjou <julien@danjou.info>
17793
17794 * color.el (color-rgb-to-hsl): Fix value computing.
17795 (color-hue-to-rgb): New function.
17796 (color-hsl-to-rgb): New function.
17797 (color-clamp, color-saturate-hsl, color-saturate-name)
17798 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17799 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17800
17801 2012-01-24 Glenn Morris <rgm@gnu.org>
17802
17803 * vc/vc-rcs.el (vc-rcs-create-tag):
17804 * vc/vc-sccs.el (vc-sccs-create-tag):
17805 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17806
17807 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17808
17809 * eshell/esh-util.el (eshell-read-hosts-file):
17810 Skip comment lines. (Bug#10549)
17811
17812 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17813
17814 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17815
17816 * subr.el (display-delayed-warnings): Doc fix.
17817 (collapse-delayed-warnings): New function to collapse identical
17818 adjacent warnings.
17819 (delayed-warnings-hook): Add it.
17820
17821 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17822
17823 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17824
17825 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17826 (tramp-default-user-alist): Don't add "pscp".
17827 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17828 property "login-as", if set. (Bug#10530)
17829
17830 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17831
17832 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17833 "plink1" and "psftp". (Bug#10530)
17834
17835 2012-01-21 Kenichi Handa <handa@m17n.org>
17836
17837 * international/mule-cmds.el (prefer-coding-system): Show a
17838 warning message if the default value of file-name-coding-system
17839 was not changed.
17840
17841 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17842
17843 * windmove.el (windmove-reference-loc):
17844 Fix windmove-reference-loc miscalculation.
17845
17846 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17847
17848 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17849 default unit.
17850
17851 2012-01-21 Glenn Morris <rgm@gnu.org>
17852
17853 * international/mule.el (auto-coding-alist): Add .tbz.
17854
17855 * files.el (local-enable-local-variables): Doc fix.
17856 (inhibit-local-variables-regexps): Rename from
17857 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17858 Doc fix. Add some extensions from auto-coding-alist.
17859 (inhibit-local-variables-suffixes):
17860 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17861 (inhibit-local-variables-p):
17862 New function, extracted from set-auto-mode-1.
17863 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17864 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17865 (hack-local-variables): Doc fix. Make the mode-only case
17866 respect enable-local-variables and friends.
17867 Respect inhibit-local-variables-regexps for file-locals, but
17868 not for directory-locals.
17869 (set-visited-file-name):
17870 Take account of inhibit-local-variables-regexps.
17871 Whether it applies may change as the file name is changed.
17872 * jka-cmpr-hook.el (jka-compr-install):
17873 * jka-compr.el (jka-compr-uninstall):
17874 Update for inhibit-first-line-modes-suffixes name change.
17875
17876 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17877
17878 * help-macro.el (make-help-screen): Temporarily restore original
17879 binding for minor-mode-map-alist (Bug#10454).
17880
17881 2012-01-19 Julien Danjou <julien@danjou.info>
17882
17883 * color.el (color-name-to-rgb): Use the white color to find the max
17884 color component value and return correctly computed values.
17885 (color-name-to-rgb): Add missing float conversion for max value.
17886
17887 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17888
17889 * window.el (window--state-get-1, window-state-get): Do not use
17890 special state value for window-persistent-parameters.
17891 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17892 (window--state-put-2): Reset all window parameters to nil before
17893 assigning values of persistent parameters.
17894
17895 2012-01-18 Alan Mackenzie <acm@muc.de>
17896
17897 Eliminate sluggishness and hangs in fontification of "semicolon
17898 deserts".
17899
17900 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17901 Change value 10000 -> 3000.
17902 (c-state-safe-place): Reformulate so it doesn't stack up an
17903 infinite number of wrong entries in c-state-nonlit-pos-cache.
17904 (c-determine-limit-get-base, c-determine-limit): New functions to
17905 determine backward search limits disregarding literals.
17906 (c-find-decl-spots): Amend commenting.
17907 (c-cheap-inside-bracelist-p): New function which detects "={".
17908
17909 * progmodes/cc-fonts.el
17910 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17911 backward search.
17912 (c-font-lock-declarations): Fix an occurrence of point being
17913 undefined. Check additionally for point being in a bracelist or
17914 near a macro invocation without a semicolon so as to avoid a
17915 fruitless time consuming search for a declarator. Give a more
17916 precise search limit for declarators using the new
17917 c-determine-limit.
17918
17919 2012-01-18 Glenn Morris <rgm@gnu.org>
17920
17921 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17922 (set-auto-mode): Doc fixes.
17923
17924 2012-01-17 Glenn Morris <rgm@gnu.org>
17925
17926 * isearch.el (search-nonincremental-instead): Fix doc typo.
17927
17928 * dired.el (dired-insert-directory): Handle newlines in directory name.
17929 (dired-build-subdir-alist): Unescape newlines in directory name.
17930
17931 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17932
17933 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17934 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17935 (tramp-action-terminal): Use it. (Bug#10530)
17936
17937 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17938
17939 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17940
17941 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17942
17943 * window.el (window-state-ignored-parameters): Remove variable.
17944 (window--state-get-1): Rename argument MARKERS to IGNORE.
17945 Handle persistent window parameters. Make copy of clone-of
17946 parameter only if requested. (Bug#10348)
17947 (window--state-put-2): Install a window parameter only if it has
17948 a non-nil value or an existing parameter shall be overwritten.
17949
17950 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17951
17952 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17953
17954 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17955
17956 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17957 don't pass the (nil) value of `upnode' to string-match.
17958
17959 2012-01-14 Chong Yidong <cyd@gnu.org>
17960
17961 * startup.el (command-line): Fix X resource class for cursorColor.
17962 Fix values recognized by the cursorBlink resource.
17963
17964 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17965
17966 * epg.el (epg--make-temp-file): Avoid permission race condition
17967 when running on old Emacs versions (bug#10403).
17968
17969 2012-01-14 Glenn Morris <rgm@gnu.org>
17970
17971 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17972
17973 2012-01-13 Alan Mackenzie <acm@muc.de>
17974
17975 Fix filling for when filladapt mode is enabled.
17976
17977 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17978 c-mask-paragraph, pass in `fill-paragraph' rather than
17979 `fill-region-as-paragraph'. (This is a reversion of a previous
17980 change.)
17981 * progmodes/cc-mode.el (c-basic-common-init):
17982 Make fill-paragraph-handle-comment buffer local and set it to nil.
17983
17984 2012-01-13 Glenn Morris <rgm@gnu.org>
17985
17986 * dired.el (dired-switches-escape-p): New function.
17987 (dired-insert-directory): Use dired-switches-escape-p.
17988 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17989
17990 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17991
17992 2012-01-12 Glenn Morris <rgm@gnu.org>
17993
17994 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17995 changes in adaptive-fill-regexp. (Bug#10276)
17996
17997 2012-01-11 Alan Mackenzie <acm@muc.de>
17998
17999 Fix Emacs bug #10463 - put `widen's around the critical spots.
18000
18001 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18002 widen around each invocation of c-state-pp-to-literal. Remove an
18003 unused let variable.
18004
18005 2012-01-11 Glenn Morris <rgm@gnu.org>
18006
18007 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18008 Doc fix.
18009
18010 2012-01-10 Chong Yidong <cyd@gnu.org>
18011
18012 * net/network-stream.el (network-stream-open-starttls):
18013 Avoid emitting a confusing error message when the server gives a bad
18014 response to the capability command.
18015
18016 2012-01-10 Glenn Morris <rgm@gnu.org>
18017
18018 * mail/unrmail.el (unrmail): Tweak previous change.
18019
18020 2012-01-09 Chong Yidong <cyd@gnu.org>
18021
18022 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18023
18024 2012-01-08 Alan Mackenzie <acm@muc.de>
18025
18026 Optimize font locking in long enum definitions.
18027
18028 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18029 arm to a cond form to handle enums.
18030 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18031 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18032
18033 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18034
18035 * files.el (move-file-to-trash): Preserve default file modes on error.
18036 (Bug#10401)
18037
18038 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18039
18040 * faces.el (set-face-attribute): Clarify the meaning of the nil
18041 frame (bug#10294).
18042
18043 * subr.el (with-selected-frame): Mention that the selected frame
18044 is restored (bug#9980).
18045
18046 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18047 (bug#9759).
18048
18049 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18050 (password-read): Don't autoload unused function.
18051
18052 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18053
18054 * progmodes/which-func.el (which-func-mode): Turn into a
18055 non-interactive function and mark as obsolete (bug#10428).
18056
18057 2012-01-06 Chong Yidong <cyd@gnu.org>
18058
18059 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18060 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18061 functions, along with 1 and -1.
18062
18063 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18064
18065 * time.el (display-time-load-average)
18066 (display-time-default-load-average): Doc fixes. See the thread
18067 starting at
18068 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18069 for the details.
18070
18071 2012-01-06 Glenn Morris <rgm@gnu.org>
18072
18073 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18074 has no messages. (Bug#10377)
18075
18076 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18077 than Info-edit. (Bug#10385)
18078
18079 * time.el (display-time-load-average, display-time-next-load-average):
18080 Doc fixes.
18081
18082 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18083 local setting of buffer-read-only to the input buffer. (Bug#10419)
18084
18085 * calendar/calendar.el (calendar-mode):
18086 Locally set scroll-margin to 0. (Bug#10379)
18087
18088 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18089
18090 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18091
18092 2012-01-05 Glenn Morris <rgm@gnu.org>
18093
18094 * eshell/em-unix.el (diff-no-select): Autoload it.
18095 (eshell/diff): Use diff-no-select. (Bug#10420)
18096
18097 2012-01-05 Chong Yidong <cyd@gnu.org>
18098
18099 * shell.el (shell-dynamic-complete-functions): Revert last change.
18100 (shell-command-completion-function): New function.
18101 (shell-completion-vars): Use it to implement
18102 shell-completion-execonly (Bug#10417).
18103
18104 * custom.el (enable-theme): Don't set custom-safe-themes.
18105
18106 * cus-theme.el (custom-theme-merge-theme):
18107 Ignore custom-enabled-themes and custom-safe-themes.
18108
18109 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18110
18111 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18112 first prompt in `sql-interacive-mode'.
18113 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18114 keywords.
18115 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18116 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18117 context of original buffer. Invoke `sql-login-hook'.
18118
18119 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18120
18121 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18122 letters in cite-prefix.
18123
18124 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18125
18126 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18127
18128 2012-01-03 Chong Yidong <cyd@gnu.org>
18129
18130 * shell.el (shell-dynamic-complete-functions):
18131 Put pcomplete-completions-at-point, so as to try
18132 comint-filename-completion first (Bug#10417).
18133
18134 2012-01-02 Richard Stallman <rms@gnu.org>
18135
18136 * battery.el (battery-status-function):
18137 Detect when to use battery-yeeloong-sysfs.
18138 (battery-echo-area-format): Add string for Yeeloong.
18139 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18140 (battery-yeeloong-sysfs): New function.
18141
18142 2012-01-02 Chong Yidong <cyd@gnu.org>
18143
18144 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18145 (dirtrack): Merge code for handling relative filenames in prompt
18146 from shell-dir-cookie-watcher.
18147 (dirtrack-debug-message): New arg to avoid excess format calls.
18148
18149 * shell.el (shell-dir-cookie-re): Variable deleted.
18150 (shell-dir-cookie-watcher): Function deleted.
18151 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18152 with dirtrack-mode.
18153
18154 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18155
18156 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18157 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18158 libgnutls-26.dll.
18159
18160 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18161
18162 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18163
18164 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18165
18166 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18167 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18168
18169 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18170
18171 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18172 also for alternative shells.
18173 (tramp-open-connection-setup-interactive-shell): Check, whether
18174 the shell is a busybox.
18175 (tramp-send-command): Don't suppress multiple prompts for
18176 busyboxes, it hurts.
18177
18178 2011-12-28 Chong Yidong <cyd@gnu.org>
18179
18180 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18181 (gdb-get-source-file): Move mode line update to
18182 gdb-get-source-file (Bug#10087).
18183
18184 2011-12-25 Chong Yidong <cyd@gnu.org>
18185
18186 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18187 gud-gdb-marker-filter without taking it as an argument.
18188 (gud-gdb-run-command-fetch-lines): Caller changed.
18189 (gud-gdb-completion-function): New variable.
18190 (gud-gdb-completion-at-point): Use it.
18191 (gud-gdb-completions-1): Split from gud-gdb-completions.
18192
18193 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18194 function as separate arguments.
18195 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18196 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18197 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18198 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18199 (gdb-stopped, def-gdb-auto-update-trigger)
18200 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18201 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18202 Callers changed.
18203 (gud-gdbmi-completions): New function.
18204 (gdb): Use it for generating the completion table.
18205
18206 2011-12-24 Alan Mackenzie <acm@muc.de>
18207
18208 Introduce a mechanism to widen the region used in context font
18209 locking. Use this to protect declarations from losing their contexts.
18210
18211 * progmodes/cc-langs.el (c-before-font-lock-functions):
18212 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18213 (c-before-context-fontification-functions): New defvar, a list of
18214 functions to be run just before context (etc.) font locking.
18215
18216 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18217 New, functionality extracted from
18218 c-neutralize-syntax-in-and-mark-CPP.
18219 (c-in-after-change-fontification): New variable.
18220 (c-after-change): Set c-in-after-change-fontification.
18221 (c-set-fl-decl-start): Rejig its interface, so it can be called
18222 from both after-change and context fontifying.
18223 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18224 New functions.
18225 (c-standard-font-lock-fontify-region-function): New variable.
18226 (c-font-lock-fontify-region): New function.
18227
18228 2011-12-24 Juri Linkov <juri@jurta.org>
18229
18230 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18231 (Bug#10348)
18232
18233 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18234
18235 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18236 existence of source file. (Bug#10325)
18237
18238 2011-12-23 Alan Mackenzie <acm@muc.de>
18239
18240 Fix unstable fontification inside templates.
18241
18242 * progmodes/cc-langs.el (c-before-font-lock-functions):
18243 Newly created from the singular version. The (c c++ objc) entry now
18244 additionally has c-set-fl-decl-start. The other languages (apart
18245 from AWK) have that as a single entry.
18246
18247 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18248 The functionality for "local" declarations has been extracted to
18249 c-set-fl-decl-start.
18250
18251 * progmodes/cc-mode.el (c-common-init, c-after-change):
18252 Changes due to pluralisation of c-before-font-lock-functions.
18253 (c-set-fl-decl-start): New function, extracted from
18254 c-font-lock-enclosing-decls and enhanced.
18255
18256 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18257
18258 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18259
18260 2011-12-22 Juri Linkov <juri@jurta.org>
18261
18262 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18263
18264 2011-12-22 Chong Yidong <cyd@gnu.org>
18265
18266 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18267
18268 2011-12-21 Drew Adams <drew.adams@oracle.com>
18269
18270 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18271
18272 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18273
18274 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18275
18276 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18277
18278 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18279 highlighting and support. Fix up comments for capitalization.
18280 (cfengine-mode-debug): New var.
18281 (cfengine3-mode): Change the modeline indicator to "CFE3".
18282 (cfengine3-font-lock-keywords): Improve defun highlighting.
18283 (cfengine2-actions): Rename from `cfengine-actions'.
18284 (cfengine2-font-lock-keywords): Rename from
18285 `cfengine-font-lock-keywords'.
18286 (cfengine2-imenu-expression): Rename from
18287 `cfengine-imenu-expression'.
18288 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18289 (cfengine2-beginning-of-defun): Rename from
18290 `cfengine-beginning-of-defun'.
18291 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18292 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18293 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18294 modeline indicator to "CFE2".
18295 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18296 (cfengine-mode-abbrevs): Mark obsolete.
18297
18298 2011-12-21 Chong Yidong <cyd@gnu.org>
18299
18300 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18301 filename argument.
18302
18303 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18304
18305 * window.el (window-normalize-buffer-to-display): Remove.
18306 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18307
18308 2011-12-19 Chong Yidong <cyd@gnu.org>
18309
18310 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18311 Don't signal an error in a predicate function; return non-nil.
18312 (vc-dir-mark-file): Move the error here.
18313 (vc-dir-mark-unmark): If acting on the region, keep going if one
18314 of the entries cannot be marked/unmarked.
18315 (vc-dir-mark-all-files): If current entry is a directory, mark
18316 only child files, as documented.
18317
18318 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18319
18320 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18321 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18322 addition.
18323
18324 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18325
18326 * term/ns-win.el (ns-get-selection-internal)
18327 (ns-store-selection-internal): Declare.
18328 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18329 Declare as obsolete.
18330 (ns-get-pasteboard, ns-paste-secondary):
18331 Use ns-get-selection-internal.
18332 (ns-set-pasteboard, ns-copy-including-secondary):
18333 Use ns-store-selection-internal.
18334
18335 2011-12-17 Chong Yidong <cyd@gnu.org>
18336
18337 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18338 (vc-deduce-fileset): Doc fix.
18339
18340 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18341
18342 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18343
18344 2011-12-13 Sam Steingold <sds@gnu.org>
18345
18346 * man.el (Man-getpage-in-background): When running under a
18347 window-system, ignore $MANWIDTH and $COLUMNS.
18348
18349 2011-12-15 Kenichi Handa <handa@m17n.org>
18350
18351 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18352 (setup-ethiopic-environment-internal): Comment out key-binding for
18353 ethio-toggle-punctuation.
18354
18355 2011-12-13 Alan Mackenzie <acm@muc.de>
18356
18357 Add the switch statement to AWK Mode.
18358
18359 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18360 "default" to the keywords regexp.
18361
18362 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18363 expression as the rest.
18364 (c-nonlabel-token-key): Allow string literals for AWK.
18365 Refactor for the other modes.
18366
18367 Large brace-block initialisation makes CC Mode slow: Fix.
18368 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18369 routines. Limit backward searching in c-font-lock-enclosing.decl.
18370
18371 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18372 pp-state and literal type in addition to the limits.
18373 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18374 (c-state-literal-at): Use the above new defun.
18375 (c-slow-in-literal, c-fast-in-literal): Remove.
18376 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18377
18378 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18379 being in a literal. Add a limit for backward searching.
18380
18381 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18382 c-slow-in-literal.
18383
18384 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18385
18386 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18387
18388 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18389
18390 * window.el (delete-other-windows): Use correct frame in call to
18391 window-with-parameter.
18392
18393 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18394
18395 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18396 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18397 (makefile-gmake-statements, makefile-makepp-statements):
18398 Use it and add new makepp keywords.
18399 (makefile-makepp-font-lock-keywords): Add new patterns.
18400 (makefile-match-function-end): Match new [...] and [[...]].
18401
18402 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18403
18404 * ses.el (ses-call-printer-return, ses-cell-property-get)
18405 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18406 (ses-create-cell-variable, ses-reset-header-string)
18407 (ses-cell-set-formula, ses-repair-cell-reference-all)
18408 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18409 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18410 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18411 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18412 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18413 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18414 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18415 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18416 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18417 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18418 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18419 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18420
18421 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18422
18423 * ses.el: The overall change is to add cell renaming, that is
18424 setting fancy names for cell symbols other than name matching
18425 "\\`[A-Z]+[0-9]+\\'" regexp .
18426 (ses-create-cell-variable): New defun.
18427 (ses-relocate-formula): Relocate formulas only for cells the
18428 symbols of which are not renamed, i.e. symbols whose names do not
18429 match regexp "\\`[A-Z]+[0-9]+\\'".
18430 (ses-relocate-all): Relocate values only for cells the symbols of
18431 which are not renamed.
18432 (ses-load): Create cells variables as the (ses-cell ...) are read,
18433 in order to check row col consistency with cell symbol name only
18434 for cells that are not renamed.
18435 (ses-replace-name-in-formula): New defun.
18436 (ses-rename-cell): New defun.
18437
18438 2011-12-11 Chong Yidong <cyd@gnu.org>
18439
18440 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18441 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18442
18443 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18444
18445 * window.el (other-window): Fix docstring.
18446
18447 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18448
18449 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18450 `from' or `to' address before taking its substring.
18451 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18452 encoded name is chopped in the middle of the encoded string, and
18453 thus displayed encoded.
18454
18455 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18456
18457 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18458
18459 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18460
18461 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18462 to use texinfo-update-node and commands that call it if the
18463 Texinfo file uses @node lines without next/prev/up pointers.
18464 Correct outdated description about texinfo-master-menu.
18465 (texinfo-all-menus-update, texinfo-master-menu)
18466 (texinfo-update-node, texinfo-every-node-update)
18467 (texinfo-multiple-files-update): Doc fix. Warn against updating
18468 all the @node lines.
18469 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18470 argument is numeric. Explain better in the doc string what the
18471 function really does.
18472 (texinfo-insert-master-menu-list): Improve the error message
18473 displayed if there's no menu in the Top node.
18474 (Bug#2975) See also this thread:
18475 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18476
18477 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18478
18479 * speedbar.el (speedbar-supported-extension-expressions):
18480 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18481
18482 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18483
18484 * printing.el (pr-mode-alist):
18485 * simple.el (filter-buffer-substring-functions)
18486 (completion-list-insert-choice-function):
18487 * window.el (window-with-parameter, window-atom-root)
18488 (window-sides-slots, window-size-fixed, window-min-delta)
18489 (window-max-delta, window--resize-mini-window)
18490 (window--resize-child-windows-normal, window-tree)
18491 (delete-other-windows, quit-window, split-window)
18492 (display-buffer-record-window, special-display-buffer-names)
18493 (special-display-regexps, special-display-popup-frame)
18494 (same-window-p, split-window-sensibly)
18495 (display-buffer-overriding-action, display-buffer-alist)
18496 (display-buffer-base-action, display-buffer, switch-to-buffer)
18497 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18498 (fit-window-to-buffer, recenter-positions)
18499 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18500 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18501 and remove unneeded backslashes in docstrings.
18502
18503 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18504
18505 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18506
18507 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18508 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18509 end in ".mk".
18510 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18511 when reading the makefile (bug#10116).
18512
18513 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18514
18515 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18516 (bug#10116).
18517
18518 2011-12-06 Glenn Morris <rgm@gnu.org>
18519
18520 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18521
18522 2011-12-06 Chong Yidong <cyd@gnu.org>
18523
18524 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18525
18526 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18527
18528 * textmodes/table.el (table-shorten-cell): Fix typo.
18529
18530 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18531
18532 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18533
18534 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18535
18536 * descr-text.el (describe-char): Fix display of strong
18537 right-to-left characters and directional embeddings and overrides.
18538
18539 * simple.el (what-cursor-position): Fix display of codepoints of
18540 strong right-to-left characters.
18541
18542 2011-12-05 Chong Yidong <cyd@gnu.org>
18543
18544 * faces.el (read-color): Doc fix.
18545
18546 2011-12-05 Glenn Morris <rgm@gnu.org>
18547
18548 * align.el (align--set-marker): Add doc-string.
18549 Don't try to move something that is not a marker. (Bug#10216)
18550
18551 2011-12-04 Glenn Morris <rgm@gnu.org>
18552
18553 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18554 overly zealous deletion of trailing whitespace.
18555
18556 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18557
18558 * server.el (server-delete-client): On Windows, do not try to delete
18559 the only terminal.
18560 (server-process-filter): On Windows, treat requests for a tty frame as
18561 if they were for a GUI frame if the running server is in GUI mode.
18562
18563 2011-12-03 Glenn Morris <rgm@gnu.org>
18564
18565 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18566
18567 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18568
18569 * electric.el: Streamline electric-indent's hook.
18570 (electric-indent-chars): Revert to simple list.
18571 (electric-indent-functions): New var.
18572 (electric-indent-post-self-insert-function): Use it.
18573
18574 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18575 there's no inferior buffer (bug#10196).
18576 (prolog-consult-compile): Don't use toggle-read-only.
18577
18578 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18579
18580 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18581 interrupt. (Bug#10187)
18582
18583 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18584
18585 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18586 (bug#9160).
18587
18588 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18589 (bug#10191).
18590
18591 2011-12-02 Juri Linkov <juri@jurta.org>
18592
18593 * info.el (Info-search): Display "end of manual" when Isearch
18594 reaches the end of single-file Info manual. (Bug#9918)
18595
18596 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18597
18598 * isearch.el (isearch-message-prefix): Run the input method part
18599 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18600
18601 2011-12-02 Juri Linkov <juri@jurta.org>
18602
18603 * isearch.el (isearch-occur): Use `word-search-regexp' for
18604 `isearch-word'.
18605 (isearch-search-and-update): Add condition for `isearch-word' and
18606 call `word-search-regexp'. (Bug#10145)
18607
18608 2011-12-01 Glenn Morris <rgm@gnu.org>
18609
18610 * eshell/em-hist.el (eshell-hist-initialize):
18611 Handle eshell-history-size nil and HISTSIZE set or unset.
18612 (eshell-history-file-name, eshell-history-size): Fix custom type.
18613
18614 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18615
18616 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18617
18618 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18619
18620 * progmodes/verilog-mode.el (verilog-pretty-expr):
18621 Rework verilog-pretty-expr to handle new assignment operators in system
18622 verilog, such as += *= and the like.
18623 (verilog-assignment-operator-re): Regular expression to find the
18624 assigment operator in a verilog assignment.
18625 (verilog-assignment-operation-re): Regular expression to find an
18626 assignment statement for pretty-expr.
18627 (verilog-in-attribute-p): Query returns true if point is in an
18628 attribute context; used to skip these for expression line up from
18629 pretty-expr.
18630 (verilog-in-parameter-p): Query returns true if point is in an
18631 parameter definition context; used to skip these for expression
18632 line up from pretty-expr.
18633 (verilog-in-parenthesis-p): Query returns true if point is in a
18634 parenthetical expression, specifically ( ) but not [ ] or { };
18635 used by pretty-expr.
18636 (verilog-just-one-space): If there is no space, don't add one.
18637 (verilog-get-lineup-indent-2): Specifically skip just attribute
18638 contexts for expression lineup, rather than skipping all
18639 parenthetical expressions.
18640 (verilog-calculate-indent): Fix comment, and fix indent.
18641 (verilog-do-indent): Indent declarations in lists (suggested by
18642 Joachim Lechner).
18643 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18644 skeleton items.
18645 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18646 by Alain Mellan).
18647
18648 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18649
18650 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18651 parameters with embedded comments. Reported by Ray Stevens.
18652 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18653 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18654 Reported by Tim Holt.
18655 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18656 instantiated by upper module causing wrong expansion until AUTOed a
18657 second time. Reported by K C Buckenmaier.
18658 (verilog-diff-auto): Fix showing .* as a difference when
18659 `verilog-auto-star-save' off. Reported by Dan Dever.
18660 (verilog-auto-reset, verilog-read-always-signals)
18661 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18662 temporary signals in reset list if
18663 verilog-auto-reset-blocking-in-non is nil, and match assignment
18664 style to each signal's assignment type, bug381.
18665 Reported by Thomas Esposito.
18666 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18667 (verilog-uvm-statement-re): Support UVM indentation and
18668 highlighting, with old OVM keywords only.
18669 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18670 Support AUTOTIEOFF creating non-wire data types.
18671 Suggested by Jonathan Greenlaw.
18672 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18673 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18674 (verilog-inject-sense, verilog-read-inst-pins)
18675 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18676 Fix mismatching parenthesis inside commented out code when deleting
18677 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18678 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18679 non-numeric vector width. Reported by Alex Reed.
18680 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18681 detecting signals with parameter widths. Reported by Alex Reed.
18682 (verilog-auto-delete-trailing-whitespace):
18683 With `verilog-auto-delete-trailing-whitespace' remove trailing
18684 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18685 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18686 Fix verilog-scan-cache corruption when running user AUTO expansion
18687 hooks that call indentation routines.
18688 (verilog-simplify-range-expression): Fix typo ignoring lower case
18689 identifiers.
18690 (verilog-delete-auto): Fix delete-autos to also remove user created
18691 automatics, as long as they start with AUTO.
18692 (verilog-batch-diff-auto, verilog-diff-auto)
18693 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18694 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18695 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18696 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18697 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18698 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18699 is disabled and its cache will get corrupt, causing AUTOS not to
18700 expand. Instead use only -quick functions.
18701 (verilog-scan-region): Fix scanning over escaped quotes.
18702 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18703 (verilog-re-search-backward-quick)
18704 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18705 related functions now ignore strings, to fix misparsing of strings
18706 with magic comments embedded in them.
18707 (verilog-read-auto-template):
18708 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18709 Reported by Brad Dobbie.
18710 (verilog-read-auto-template):
18711 Fix 'verilog-auto-inst-template-numbers' with comments.
18712 Reported by Brad Dobbie.
18713 (verilog-auto-inst, verilog-auto-inst-param)
18714 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18715 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18716 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18717 debugging templates without merge conflicts, bug357.
18718 Reported by Brad Dobbie.
18719 (verilog-read-auto-template):
18720 Fix verilog-auto-inst-template-numbers with multiple templates.
18721 Reported by Brad Dobbie.
18722 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18723 abbrevs so user won't be asked to save.
18724 (verilog-read-auto-lisp-present): Fix to start at beginning of
18725 buffer in case called outside of verilog-auto.
18726 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18727 to "X-2". Reported by Matthew Myers.
18728 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18729 all inputs from module templates. Reported by Leith Johnson.
18730 (verilog-module-inside-filename-p): Fix locating programs as with
18731 modules.
18732 (verilog-auto-inst-port): Fix vl-width expressions when using
18733 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18734 (verilog-decls-get-regs, verilog-decls-get-signals,
18735 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18736 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18737 verilog-read-decls): Combine reg and wire structures into one var
18738 structure to represent SystemVerilog concepts.
18739 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18740 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18741 (verilog-auto-wire-type, verilog-insert-definition):
18742 Add verilog-auto-wire-type and AUTOLOGIC to support using
18743 SystemVerilog "logic" keyword instead of "wire"/"reg".
18744 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18745 to declares outputs that also have assignments (presumably in an
18746 ifdef or generate if so there's not a driver conflict).
18747 Reported by Matthew Myers.
18748 (verilog-auto-declare-nettype, verilog-insert-definition):
18749 Add verilog-auto-declare-nettype to fix declarations using
18750 `default_nettype none. Reported by Julian Gorfajn.
18751 (verilog-read-always-signals-recurse, verilog-read-decls)
18752 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18753 malformed end statement, bug325. Reported by Joshua Wise and
18754 Andrew Drake.
18755 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18756 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18757 when expanding .* in interfaces, bug320.
18758 Reported by Pierre-David Pfister.
18759 (verilog-read-module-name): Fix import statements between module
18760 name and open parenthesis, bug317.
18761 Reported by Pierre-David Pfister.
18762 (verilog-simplify-range-expression): Fix simplification of
18763 multiplications inside AUTOWIRE connections, bug303.
18764 (verilog-auto-inst-port): Support parameter expansion in
18765 multidimensional arrays.
18766 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18767 after "assert property". Reported by Julian Gorfajn.
18768 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18769 with multiplication, bug303.
18770 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18771 Reported by Jan Frode Lonnum.
18772
18773 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18774
18775 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18776 (hfy-shell-file-name, hfy-shell):
18777 * international/fontset.el (x-decompose-font-name): Fix typos.
18778
18779 2011-11-29 Ken Brown <kbrown@cornell.edu>
18780
18781 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18782 (gdb-version): Remove defvar.
18783 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18784 (gdb-gud-context-command, gdb-non-stop-handler)
18785 (gdb-current-context-command, gdb-stopped): Use it.
18786 (gdb-init-1): Enable pretty printing here.
18787 (gdb-non-stop-handler): Don't enable pretty-printing here.
18788 Check to see if the target supports non-stop mode; if not, turn off
18789 non-stop mode. Use the following.
18790 (gdb-check-target-async): New defun.
18791 (gud-watch, gdb-stopped): Fix whitespace.
18792 (gdb-get-source-file): Don't try to display the source file if
18793 `gdb-main-file' is nil.
18794
18795 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18796
18797 * align.el: Try to generate fewer markers (bug#10047).
18798 (align--set-marker): New macro.
18799 (align-region): Use it.
18800
18801 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18802
18803 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18804
18805 2011-11-29 Chong Yidong <cyd@gnu.org>
18806
18807 * indent.el (indent-for-tab-command, indent-according-to-mode):
18808 Doc fix.
18809 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18810
18811 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18812
18813 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18814 aware of remote file names. (Bug#10124)
18815
18816 2011-11-29 Chong Yidong <cyd@gnu.org>
18817
18818 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18819
18820 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18821
18822 * files.el (find-file): Don't use force-same-window (bug#10144).
18823 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18824 use pop-to-buffer if the selected window can't be used.
18825 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18826
18827 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18828
18829 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18830 special-mode-map.
18831
18832 2011-11-28 Chong Yidong <cyd@gnu.org>
18833
18834 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18835
18836 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18837
18838 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18839 gdb-get-source-file-list on gdb-create-source-file-list.
18840
18841 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18842
18843 * whitespace.el (whitespace-newline): Use a different foreground
18844 color for 16-color light-background displays.
18845
18846 2011-11-24 Chong Yidong <cyd@gnu.org>
18847
18848 * window.el (display-buffer--special-action): Doc fix.
18849
18850 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18851
18852 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18853 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18854 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18855 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18856 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18857 (avl-tree-stack-first):
18858 * emacs-lisp/cconv.el (cconv--analyse-use):
18859 * net/gnutls.el (gnutls-negotiate): Fix typos.
18860
18861 2011-11-24 Glenn Morris <rgm@gnu.org>
18862
18863 * lpr.el (lpr-windows-system, lpr-lp-system):
18864 * mail/binhex.el (binhex-begin-line):
18865 * progmodes/grep.el (grep-history, grep-find-history):
18866 * textmodes/flyspell.el:
18867 * vc/pcvs-defs.el (cvs-global-menu):
18868 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18869 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18870 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18871
18872 * net/tls.el: Fix case of "GnuTLS".
18873
18874 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18875
18876 * version.el (emacs-build-system): Give it a doc-string.
18877
18878 2011-11-24 Juri Linkov <juri@jurta.org>
18879
18880 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18881
18882 2011-11-24 Glenn Morris <rgm@gnu.org>
18883
18884 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18885 if called on a non-mime message just toggle the headers. (Bug#8006)
18886
18887 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18888
18889 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18890 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18891 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18892 (allout-rebullet-heading, allout-open-sibtopic)
18893 (allout-toggle-current-subtree-encryption)
18894 (allout-toggle-subtree-encryption, allout-encrypt-string)
18895 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18896 (allout-distinctive-bullets-string, allout-auto-activation):
18897 * window.el (window-normalize-buffer-to-display):
18898 * progmodes/verilog-mode.el (verilog-batch-indent):
18899 * textmodes/bibtex.el (bibtex-field-braces-opt)
18900 (bibtex-field-strings-opt):
18901 * vc/cvs-status.el (cvs-tree-merge):
18902 Fix typos.
18903
18904 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18905
18906 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18907 `non-essential' to t, in order to avoid remote connections.
18908
18909 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18910
18911 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18912 On MS-DOS and MS-Windows, compare with loaddefs.el
18913 case-insensitively.
18914
18915 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18916
18917 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18918
18919 2011-11-23 Glenn Morris <rgm@gnu.org>
18920
18921 * paths.el (rmail-file-name): Reformat the doc-string so that it
18922 is picked up.
18923
18924 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18925 (rmail-auto-file): Ignore case in the "special" field names,
18926 as mail-fetch-field does for all others.
18927
18928 * mail/rmail.el (rmail-forward):
18929 * mail/rmailkwd.el (rmail-set-label):
18930 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18931 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18932
18933 * mail/rmail.el (rmail-current-message): Doc fix.
18934
18935 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18936
18937 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18938
18939 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18940
18941 2011-11-22 Glenn Morris <rgm@gnu.org>
18942
18943 * mail/rmailmm.el (test-rmail-mime-handler)
18944 (test-rmail-mime-bulk-handler)
18945 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18946
18947 2011-11-21 Juri Linkov <juri@jurta.org>
18948
18949 * calc/calc.el (calc-read-key-sequence):
18950 Let-bind `input-method-function' to nil. (Bug#10018)
18951
18952 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18953
18954 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18955 Tell the caller that the next line needs recomputation, even
18956 though it doesn't start a sexp (bug#10094).
18957
18958 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18959
18960 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18961
18962 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18965 Use force-same-window.
18966
18967 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18968
18969 * descr-text.el (describe-char-unicode-data):
18970 * json.el (json-string-escape):
18971 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18972 (Footnote-unicode, Footnote-style-p):
18973 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18974
18975 2011-11-20 Chong Yidong <cyd@gnu.org>
18976
18977 * window.el (replace-buffer-in-windows): Restore interactive spec.
18978
18979 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18980
18981 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18982
18983 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18984 (byte-compile-global-not-obsolete-vars): New var.
18985 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18986 Use it.
18987 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18988
18989 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18990
18991 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18992 * progmodes/pascal.el (electric-pascal-equal):
18993 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18994 * xml.el (xml-substitute-special): Fix typos.
18995
18996 2011-11-20 Glenn Morris <rgm@gnu.org>
18997
18998 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18999 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19000 Doc fixes.
19001 (rmail-decode-mime-charset): Mark as obsolete.
19002
19003 * mail/rmailsum.el (rmail-message-regexp-p-1):
19004 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19005 Before using mime functions, check they are set. (Bug#10077)
19006
19007 2011-11-19 Juri Linkov <juri@jurta.org>
19008
19009 * info.el (Info-finder-find-node): Use `package--builtins' instead
19010 of `package-alist'. Use node names formed by the pattern "Keyword "
19011 and the keyword name.
19012
19013 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19014
19015 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19016
19017 2011-11-19 Juri Linkov <juri@jurta.org>
19018
19019 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19020 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19021 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19022 `old-history', `old-history-forward'. Add let-binding
19023 `window-selected'. Remove calls to `kill-buffer',
19024 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19025 before calling `Info-find-node', so `Info-find-node-2' will reread
19026 the Info file. Restore window positions only when `window-selected'
19027 is non-nil.
19028
19029 2011-11-19 Juri Linkov <juri@jurta.org>
19030
19031 * isearch.el (isearch-lazy-highlight-new-loop):
19032 Remove condition `(not isearch-error)'. (Bug#9918)
19033
19034 * misearch.el (multi-isearch-search-fun): Add condition
19035 `(not bound)' to ignore lazy-highlighting search.
19036 Add the search-failed message "end of multi" when the end of
19037 multi-sequence is reached. Uncapitalize the search-failed
19038 message "Repeat for next buffer".
19039
19040 * info.el (Info-search): Add the search-failed message
19041 "end of the manual" when the end of the manual is reached
19042 in Isearch mode.
19043
19044 2011-11-19 Juri Linkov <juri@jurta.org>
19045
19046 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19047 Use non-destructive `remove' instead of `delete' because
19048 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19049 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19050
19051 2011-11-19 Juri Linkov <juri@jurta.org>
19052
19053 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19054 to nil instead of binding `search-ring' and `regexp-search-ring'.
19055 (Bug#9185)
19056
19057 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19058
19059 * simple.el (line-move): Force movement by logical lines for any
19060 hscrolled window, not only when auto-hscroll-mode is on.
19061 (line-move-visual): Update doc string to that effect. (Bug#10076)
19062
19063 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19064
19065 * language/european.el (macintosh): Define as alias for mac-roman.
19066
19067 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19068
19069 * mail/rmailmm.el (rmail-mime-display-header)
19070 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19071 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19072 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19073 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19074 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19075 of a raw aref.
19076 (rmail-mime-entity-segment): To get past the tagline, move forward
19077 2 more lines, to account for the 2 empty lines that precede and
19078 follow the line with the buttons.
19079 (rmail-mime-update-tagline): Move one more line, to get past the
19080 empty line that follows the buttons in the tagline. (Bug#9520)
19081
19082 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19083
19084 * window.el (window-max-delta-1, window-min-delta-1)
19085 (window-min-size-1, window-state-get-1, window-state-put-1)
19086 (window-state-put-2): Use "window--" prefix.
19087
19088 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19089
19090 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19091 (smie-warning-count): New var.
19092 (smie-set-prec2tab): Use it.
19093 (smie-bnf->prec2): Improve warnings. Add docstring.
19094 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19095 (smie-bnf--set-class): New function.
19096 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19097 corner case.
19098
19099 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19100 (compilation-error-properties, compilation-move-to-column):
19101 Handle compilation-first-column while in the target buffer.
19102
19103 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19104 Don't hardcode point-min==1.
19105
19106 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19107 (eshell-rewrite-for-command): Remove workaround.
19108 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19109 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19110 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19111
19112 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19113
19114 2011-11-17 Glenn Morris <rgm@gnu.org>
19115
19116 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19117 Ignore buffer-local generated-autoload-file if it is the same
19118 as the global value. (Bug#10049)
19119
19120 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19121
19122 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19123 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19124 (reftex-toc-previous-heading, reftex-toc-max-level)
19125 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19126 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19127 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19128 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19129 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19130 (reftex-toc-rename-label, reftex-toc-visit-location)
19131 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19132 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19133 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19134 leaving "*toc*" only for references to the buffer.
19135
19136 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19137
19138 * window.el (window-resize, delete-window, split-window):
19139 Replace window-splits by window-combination-resize.
19140 * cus-start.el (window-splits): Replace by window-combination-resize.
19141
19142 2011-11-17 Glenn Morris <rgm@gnu.org>
19143
19144 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19145 Make bash entry derive from sh entry, not shell entry.
19146
19147 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19148
19149 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19150 local file name.
19151
19152 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19153
19154 * menu-bar.el (menu-bar-file-menu):
19155 * printing.el (pr-ps-utility):
19156 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19157 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19158 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19159 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19160 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19161 (icalendar--convert-cyclic-to-ical)
19162 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19163 (icalendar--convert-ical-to-diary)
19164 (icalendar--convert-recurring-to-diary)
19165 (icalendar--convert-non-recurring-all-day-to-diary)
19166 (icalendar-import-format-sample):
19167 * progmodes/idlw-shell.el (idlwave-shell-mode):
19168 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19169 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19170 (vhdl-ps-print-init): Fix typos.
19171
19172 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19173
19174 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19175 FSF and collapse date sequence, obscure author/maintainer email address
19176 better, remove extra version line, track relocation of author's webpage.
19177
19178 * progmodes/python.el (python-pdbtrack-input-prompt)
19179 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19180 regular python pdb prompts. Adjustments shamelessly taken exactly as
19181 suggested in EmacsWiki page (tiny change):
19182 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19183
19184 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19185
19186 * expand.el (expand-pos, expand-index, expand-point):
19187 Remove redundant info from docstring.
19188 (expand-add-abbrevs): Doc fix.
19189 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19190 (expand-sample-perl-mode-expand-list): Fix typos.
19191
19192 * net/dbus.el (dbus-event-member-name):
19193 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19194 * term/pc-win.el (msdos-create-frame-with-faces):
19195 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19196
19197 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19198
19199 * window.el (split-window, window-state-get-1)
19200 (window-state-put-1, window-state-put-2): Rename occurrences of
19201 window-nest to window-combination-limit.
19202 * cus-start.el (window-nest): Rename to window-combination-limit.
19203
19204 2011-11-16 Chong Yidong <cyd@gnu.org>
19205
19206 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19207 regexp (Bug#10033).
19208
19209 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19212 `completing-read' will remove *Completions* and will preserve
19213 current-buffer for us.
19214 (tmm-add-prompt): Users of *Completions* will always (re)set its
19215 major mode.
19216 (tmm-old-comp-map): Remove.
19217
19218 2011-11-16 Glenn Morris <rgm@gnu.org>
19219
19220 * mail/rmailedit.el: Require rmailmm when compiling.
19221 (rmail-old-mime-state): New declaration.
19222 (rmail-edit-current-message): If editing a mime message,
19223 edit the "raw" message from the mbox buffer.
19224 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19225
19226 2011-11-15 Glenn Morris <rgm@gnu.org>
19227
19228 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19229 which wasn't being used. Add optional arg to force given state.
19230 (rmail-mime): Add optional arg to force given state.
19231
19232 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19233
19234 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19235 * frame.el (display-mm-dimensions-alist):
19236 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19237 (outline-move-subtree-down):
19238 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19239 (newsticker--treeview-do-get-node):
19240 * net/quickurl.el (quickurl-list-buffer-name):
19241 * progmodes/dcl-mode.el (dcl-mode):
19242 * progmodes/gdb-mi.el (gdb-mapcar*):
19243 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19244
19245 2011-11-15 Glenn Morris <rgm@gnu.org>
19246
19247 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19248 in a boolean sense, so just make it a boolean, and fix the doc.
19249 (rmail-show-mime-function, rmail-mime-feature)
19250 (rmail-require-mime-maybe): Doc fixes.
19251 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19252
19253 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19254
19255 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19256
19257 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19258 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19259 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19260 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19261
19262 2011-11-15 Glenn Morris <rgm@gnu.org>
19263
19264 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19265 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19266 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19267 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19268 (rmail-mime, rmail-show-mime): Doc fixes.
19269
19270 * term/ns-win.el (mode-line-frame-identification):
19271 Leave it alone. (Bug#10051)
19272
19273 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19274
19275 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19276 Handle empty buffers. (Bug#9978)
19277
19278 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19279
19280 * international/mule.el (define-charset):
19281 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19282 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19283 * progmodes/verilog-mode.el (verilog-backward-token):
19284 * textmodes/ispell.el (lookup-words):
19285 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19286
19287 2011-11-14 Glenn Morris <rgm@gnu.org>
19288
19289 * progmodes/executable.el
19290 (executable-make-buffer-file-executable-if-script-p):
19291 Handle file-modes returning nil.
19292
19293 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19294 message - not necessary, and causes problems. (Bug#9831)
19295
19296 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19297
19298 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19299
19300 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19301 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19302 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19303
19304 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19305
19306 * window.el (window-resize, delete-window): Use window-splits
19307 variable instead of function.
19308 (window-state-get-1, window-state-put-2, window-state-put):
19309 Don't deal with windows' splits status.
19310
19311 2011-11-12 Glenn Morris <rgm@gnu.org>
19312
19313 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19314 (apropos-documentation): Doc fixes.
19315
19316 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19317
19318 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19319 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19320
19321 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19322
19323 * electric.el (electric-indent-post-self-insert-function): Make it
19324 possible for a char to only indent in some circumstances.
19325 (electric-indent-mode): Simplify.
19326
19327 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19328
19329 * window.el (windows-with-parameter): Remove unused function.
19330 (windows-at-side): Rename to window-at-side-list.
19331 (window-check, window-atom-check, window-atom-check-1)
19332 (window-side-check, window-size-ignore, window-size-fixed-1)
19333 (window-in-direction-2): Prefix with "window--".
19334 (window-tree-1): Rename to window--subtree, fix doc-string.
19335
19336 2011-11-11 Glenn Morris <rgm@gnu.org>
19337
19338 * subr.el (eval-after-load): If FILE is already loaded,
19339 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19340
19341 2011-11-10 Glenn Morris <rgm@gnu.org>
19342
19343 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19344 Call svn via vc-svn-command rather than vc-do-command.
19345 (vc-svn-command): Add --non-interactive. (Bug#9993)
19346 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19347
19348 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19349 Add toggle-read-only. (Bug#7292)
19350 * files.el (toggle-read-only): Mention that it should only
19351 be used interactively. (Bug#10006)
19352
19353 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19354
19355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19356 Adjust regexp for OCaml warnings.
19357
19358 * electric.el (electric-pair-post-self-insert-function): Let user
19359 turn it off buffer-locally (bug#9932).
19360
19361 * progmodes/python.el (python-beginning-of-statement):
19362 Rewrite (bug#2703).
19363
19364 * progmodes/compile.el: Better handle TABs (bug#9749).
19365 (compilation-internal-error-properties)
19366 (compilation-next-error-function): Obey the target buffer's
19367 compilation-error-screen-columns.
19368
19369 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19370
19371 * progmodes/meta-mode.el: Remove obsolete comments.
19372 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19373 Fix typos in docstrings.
19374
19375 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19376
19377 * window.el (window-size-fixed-p): Rewrite doc-string.
19378 (window-resizable-p): Rename to window--resizable-p. Update callers.
19379 (window--resizable): New function. Make all callers of
19380 window-resizable call window--resizable instead.
19381 (window-resizable): Rewrite in terms of window--resizable.
19382
19383 2011-11-08 Glenn Morris <rgm@gnu.org>
19384
19385 * progmodes/delphi.el (delphi-mode-syntax-table):
19386 Let define-derived-mode define a proper syntax table. (Bug#9994)
19387
19388 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19389
19390 * window.el: Stay away from defsubst.
19391 (window-list-no-nils): Remove.
19392 (window-state-get-1, window-state-get): Use backquote instead.
19393
19394 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19395
19396 * emacs-lisp/find-func.el (find-function-read):
19397 Fix incorrect use of default argument in `completing-read'.
19398
19399 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19400
19401 * window.el (display-buffer-function, special-display-function):
19402 Mention display-buffer-record-window but do not mention
19403 help-setup parameter in doc-strings.
19404 (window-min-delta): Fix doc-string typo.
19405
19406 2011-11-08 Chong Yidong <cyd@gnu.org>
19407
19408 * window.el (window-total-height, window-total-width): Doc fix.
19409 (window-body-size): Move from C.
19410 (window-body-height, window-body-width): Move to C.
19411
19412 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19413
19414 * window.el: Make special-display like display-buffer-alist (bug#9532).
19415 (display-buffer--special-action): New function, morphed
19416 from display-buffer--special.
19417 (display-buffer): Use it to handle special-display-buffers at higher
19418 priority (just after display-buffer-alist).
19419 (display-buffer-fallback-action, display-buffer--other-frame-action)
19420 (pop-to-buffer-same-window): Remove display-buffer--special.
19421
19422 2011-11-07 Glenn Morris <rgm@gnu.org>
19423
19424 * calendar/cal-menu.el (cal-menu-set-date-title):
19425 Do nothing if not in a calendar. (Bug#9976)
19426
19427 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * files.el (find-file): Always use selected-window.
19430
19431 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19432
19433 * window.el (window-combinations): Make WINDOW argument
19434 mandatory. Rewrite doc-string.
19435 (walk-window-subtree, window-atom-check, window-min-delta)
19436 (window-max-delta, window--resize-this-window)
19437 (window--resize-root-window-vertically, window-tree)
19438 (balance-windows, window-state-put): Rewrite doc-strings as to
19439 not mention the term "subwindow".
19440 (window--resize-subwindows-skip-p): Rename to
19441 window--resize-child-windows-skip-p.
19442 (window--resize-subwindows-normal): Rename to
19443 window--resize-child-windows-normal.
19444 (window--resize-subwindows): Rename to
19445 window--resize-child-windows.
19446 (window-or-subwindow-p): Rename to window--in-subtree-p.
19447
19448 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19449
19450 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19451 Ensure that mbox format messages end in two newlines (Bug#9974).
19452
19453 2011-11-06 Chong Yidong <cyd@gnu.org>
19454
19455 * window.el (window-combination-p): Function deleted; its
19456 side-effect is not used in any existing code.
19457 (window-combinations, window-combined-p): Call window-*-child
19458 directly.
19459
19460 2011-11-05 Chong Yidong <cyd@gnu.org>
19461
19462 * window.el (window-valid-p): Rename from window-any-p.
19463 (window-size-ignore, window-state-get): Callers changed.
19464 (window-normalize-window): Rename from window-normalize-any-window.
19465 New arg LIVE-ONLY, replacing window-normalize-live-window.
19466 (window-normalize-live-window): Delete.
19467 (window-combination-p, window-combined-p, window-combinations)
19468 (walk-window-subtree, window-atom-root, window-min-size)
19469 (window-sizable, window-sizable-p, window-size-fixed-p)
19470 (window-min-delta, window-max-delta, window-resizable)
19471 (window-resizable-p, window-full-height-p, window-full-width-p)
19472 (window-current-scroll-bars, window-point-1, set-window-point-1)
19473 (window-at-side-p, window-in-direction, window-resize)
19474 (adjust-window-trailing-edge, maximize-window, minimize-window)
19475 (window-deletable-p, delete-window, delete-other-windows)
19476 (record-window-buffer, unrecord-window-buffer)
19477 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19478 (quit-window, split-window, window-state-put)
19479 (set-window-text-height, fit-window-to-buffer)
19480 (shrink-window-if-larger-than-buffer): Callers changed.
19481
19482 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19483
19484 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19485 rfc2047-decode-string.
19486 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19487 warnings.
19488
19489 * window.el (window-body-height, window-body-width): Mention in
19490 the doc string that the return values are in frame's canonical
19491 units. (Bug#9949)
19492
19493 2011-11-03 Alan Mackenzie <acm@muc.de>
19494
19495 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19496 change in cc-engine.el.
19497
19498 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19499
19500 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19501
19502 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19503
19504 * window.el (quit-window): Call unrecord-window-buffer after
19505 showing another buffer in the window. (Bug#9937)
19506 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19507
19508 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19509
19510 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19511 Accept status with more than 9 shelves. (Bug#9935)
19512 Reported by Colin D Bennett <colin@gibibit.com>.
19513
19514 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19515
19516 * help.el (with-help-window): Don't reference
19517 temp-buffer-show-specifiers in doc-string.
19518
19519 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19520
19521 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19522 menu-item.
19523
19524 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19525
19526 * whitespace.el: New version 13.2.2.
19527 (whitespace-newline-mode): Disable properly. Reported by Sarah
19528 <EmacsWiki>.
19529
19530 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19531
19532 * net/newst-treeview.el: Remove "Time-stamp".
19533 (newsticker--group-manage-orphan-feeds): Do not call
19534 newsticker--treeview-tree-update.
19535 (newsticker-treeview-update, newsticker-treeview):
19536 Call newsticker--treeview-tree-update if necessary.
19537
19538 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19539
19540 * window.el (window-iso-combination-p, window-iso-combined-p)
19541 (window-iso-combinations): Remove "iso-" infix.
19542 Suggested by Chong Yidong.
19543 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19544 (window-max-delta-1, window-resize, window--resize-siblings)
19545 (window--resize-this-window, adjust-window-trailing-edge)
19546 (split-window, balance-windows-1)
19547 (shrink-window-if-larger-than-buffer):
19548 * calendar/calendar.el (calendar-generate-window):
19549 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19550
19551 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19552
19553 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19554 in place (bug#9907).
19555 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19556 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19557 (eshell-structure-basic-command, eshell-rewrite-while-command)
19558 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19559 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19560 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19561 (eshell-do-pipelines-synchronously, eshell-eval-command):
19562 Use backquotes and prefer setq to set.
19563 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19564 (eshell-macrop): Use functionp.
19565 (eshell-do-eval): Handle multiple expressions in `while' body.
19566
19567 2011-10-30 Chong Yidong <cyd@gnu.org>
19568
19569 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19570 instead of set-mark (Bug#9810).
19571
19572 2011-10-30 Chong Yidong <cyd@gnu.org>
19573
19574 * window.el (split-window-below, split-window-right): Rename from
19575 split-window-above-each-other and split-window-side-by-side
19576 respectively. All callers changed.
19577 (split-window-sensibly, split-window-sensibly): Use them.
19578 (split-window-keep-point): Doc fix.
19579
19580 * isearch.el: Add isearch-scroll property to split-window-below
19581 and split-window-right.
19582
19583 * follow.el (follow-mode):
19584 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19585 * progmodes/ada-xref.el (ada-gdb-application):
19586 * emulation/vip.el (vip-buffer-in-two-windows):
19587 * image-dired.el (image-dired-dired-with-window-configuration):
19588 * dired-x.el (dired-do-find-marked-files):
19589 * dired.el (dired-pop-to-buffer):
19590 * bs.el (bs--show-with-configuration):
19591 * vc/emerge.el (emerge-setup-windows):
19592 * textmodes/two-column.el (2C-two-columns):
19593 * textmodes/reftex-toc.el (reftex-toc):
19594 * progmodes/gdb-mi.el (gdb-setup-windows):
19595 * progmodes/fortran.el (fortran-window-create):
19596 * net/newst-treeview.el (newsticker--treeview-window-init):
19597 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19598 * emulation/tpu-edt.el (tpu-gold-map):
19599 * emulation/crisp.el (crisp-mode-map):
19600 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19601
19602 2011-10-29 Chong Yidong <cyd@gnu.org>
19603
19604 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19605
19606 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19607
19608 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19609 forged Ispell output (Bug#7904).
19610
19611 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19612
19613 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19614
19615 * doc-view.el: Avoid ugly errors about not finding nil.
19616 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19617 (doc-view-dvipdf-program, doc-view-unoconv-program)
19618 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19619 Avoid nil or absolute file name as default value.
19620 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19621
19622 2011-10-28 Alan Mackenzie <acm@muc.de>
19623
19624 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19625
19626 2011-10-28 Alan Mackenzie <acm@muc.de>
19627
19628 Amend the handling of c-beginning/end-of-defun in nested declaration
19629 scopes.
19630
19631 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19632 cc-langs.el. Change it to a defcustom.
19633
19634 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19635 cc-vars.el.
19636
19637 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19638 Prevent "class foo : bar" being spuriously recognized as a label.
19639
19640 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19641 Add parameter `inclusive' (to include enclosing braces in the region).
19642 (c-widen-to-enclosing-decl-scope): New function.
19643 (c-while-widening-to-decl-block): New macro.
19644 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19645 outward for defun boundaries, and correspondingly change symbol
19646 `respect-enclosure' to `go-outward'.
19647 (c-declaration-limits): Change algorithm to report only the "innermost"
19648 defun's boundaries.
19649
19650 2011-10-28 Deniz Dogan <deniz@dogan.se>
19651
19652 * net/rcirc.el (rcirc-mode): Use hard newlines.
19653
19654 2011-10-28 Alan Mackenzie <acm@muc.de>
19655
19656 Amend to indent and fontify macros "which include their own semicolon"
19657 correctly, using the "virtual semicolon" mechanism.
19658
19659 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19660
19661 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19662 Recode to scan one line at a time rather than having \n and \r
19663 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19664 (c-forward-label): Amend for virtual semicolons.
19665 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19666
19667 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19668 of the new C macros.
19669
19670 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19671 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19672 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19673 (c-opt-cpp-macro-define): Make into a full language variable.
19674 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19675 AWK Mode (including \n, \r) removed, no longer needed.
19676
19677 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19678 Invoke c-make-macro-with-semi-re.
19679
19680 * progmodes/cc-vars.el (c-macro-with-semi-re):
19681 (c-macro-names-with-semicolon): New variables.
19682 (c-make-macro-with-semi-re): New function.
19683
19684 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19685
19686 * vc/log-edit.el: Fill empty field rather than adding new one.
19687 (log-edit-add-field): New function.
19688 (log-edit-insert-changelog): Use it.
19689
19690 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19691
19692 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19693
19694 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19695
19696 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19697 (gdb--check-interpreter): New function.
19698 (gdb): Use it.
19699
19700 2011-10-27 Glenn Morris <rgm@gnu.org>
19701
19702 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19703 (least-positive-float, least-negative-float)
19704 (least-positive-normalized-float, least-negative-normalized-float)
19705 (float-epsilon, float-negative-epsilon):
19706 Remove unnecessary declarations.
19707
19708 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19709 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19710 (least-positive-float, least-negative-float)
19711 (least-positive-normalized-float, least-negative-normalized-float)
19712 (float-epsilon, float-negative-epsilon): Add doc-strings,
19713 based on those in cl.texi.
19714
19715 * files.el (set-visited-file-name): If the major-mode changed,
19716 reload the local variables. (Bug#9796)
19717
19718 2011-10-27 Chong Yidong <cyd@gnu.org>
19719
19720 * subr.el (change-major-mode-after-body-hook): New hook.
19721 (run-mode-hooks): Run it.
19722
19723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19724 Use change-major-mode-before-body-hook.
19725
19726 * simple.el (fundamental-mode):
19727 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19728 change introducing fundamental-mode-hook.
19729
19730 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19731
19732 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19733
19734 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19735
19736 * ido.el (ido-file-name-all-completions-1): Do not require
19737 tramp.el explicitly. (Bug#7583)
19738
19739 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19740
19741 * progmodes/octave-mod.el:
19742 * progmodes/octave-inf.el: Update maintainer.
19743
19744 2011-10-26 Chong Yidong <cyd@gnu.org>
19745
19746 * subr.el (with-wrapper-hook): Rewrite doc.
19747
19748 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19749
19750 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19751 filenames "/method:foo:". (Bug#9793)
19752
19753 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19754
19755 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19756 (bug#9865).
19757
19758 2011-10-24 Glenn Morris <rgm@gnu.org>
19759
19760 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19761
19762 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19763
19764 * notifications.el: Add the requirement of a running D-Bus session
19765 bus to the Commentary.
19766
19767 2011-10-24 Juri Linkov <juri@jurta.org>
19768
19769 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19770 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19771 (Bug#9364)
19772
19773 2011-10-24 Juri Linkov <juri@jurta.org>
19774
19775 * info.el (Info-following-node-name-re): Add newline to the list
19776 of allowed characters for leading space. (Bug#9824)
19777
19778 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19779
19780 * progmodes/octave-inf.el (inferior-octave-mode-map):
19781 Fix C-c C-h binding.
19782 * progmodes/octave-mod.el (octave-help): Remove.
19783
19784 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19785
19786 Sync with Tramp 2.2.3.
19787
19788 * net/tramp-cache.el (top): Pacify byte-compiler using
19789 `init-file-user' and `site-run-file'.
19790
19791 * net/trampver.el: Update release number.
19792
19793 2011-10-23 Chong Yidong <cyd@gnu.org>
19794
19795 * files.el (toggle-read-only): Remove obsolete comment about
19796 version control.
19797
19798 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19799 for toggle-read-only. Note that this hasn't called vc-next-action
19800 since 2008-05-02, though it wasn't documented at the time.
19801
19802 * vc/ediff-init.el (ediff-toggle-read-only-function):
19803 Use toggle-read-only.
19804
19805 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19806
19807 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19808 of c-parse-state.
19809
19810 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19811 correct faulty logical expression.
19812 (c-parse-state-state, c-record-parse-state-state):
19813 (c-replay-parse-state-state): New defvar/defuns.
19814 (c-debug-parse-state): Use new functions.
19815
19816 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19817
19818 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19819 last fix. Use window-in-direction correctly.
19820
19821 2011-10-21 Chong Yidong <cyd@gnu.org>
19822
19823 * progmodes/idlwave.el (idlwave-mode):
19824 * progmodes/vera-mode.el (vera-mode): No need to set
19825 require-final-newline; that's done in prog-mode.
19826 Suggested by Stefan Monnier.
19827
19828 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19829
19830 * mouse.el (mouse-drag-window-above)
19831 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19832 (mouse-drag-mode-line-1, mouse-drag-header-line)
19833 (mouse-drag-vertical-line-rightward-window): Remove.
19834 (mouse-drag-line): New function.
19835 (mouse-drag-mode-line, mouse-drag-header-line)
19836 (mouse-drag-vertical-line): Call mouse-drag-line.
19837 * window.el (window-at-side-p, windows-at-side): New functions.
19838
19839 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19840
19841 * tar-mode.el (tar-grind-file-mode):
19842 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19843
19844 2011-10-21 Chong Yidong <cyd@gnu.org>
19845
19846 * progmodes/idlwave.el (idlwave-mode):
19847 * progmodes/vera-mode.el (vera-mode):
19848 Use mode-require-final-newline.
19849
19850 2011-10-20 Glenn Morris <rgm@gnu.org>
19851
19852 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19853
19854 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19855
19856 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19857
19858 2011-10-20 Chong Yidong <cyd@gnu.org>
19859
19860 * emulation/cua-base.el (cua-mode):
19861 * mail/footnote.el (footnote-mode):
19862 * mail/mailabbrev.el (mail-abbrevs-mode):
19863 * net/xesam.el (xesam-minor-mode):
19864 * progmodes/bug-reference.el (bug-reference-mode):
19865 * progmodes/cap-words.el (capitalized-words-mode):
19866 * progmodes/compile.el (compilation-minor-mode)
19867 (compilation-shell-minor-mode):
19868 * progmodes/gud.el (gud-tooltip-mode):
19869 * progmodes/hideif.el (hide-ifdef-mode):
19870 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19871 * progmodes/subword.el (subword-mode):
19872 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19873 * progmodes/which-func.el (which-function-mode):
19874 * term/tvi970.el (tvi970-set-keypad-mode):
19875 * term/vt100.el (vt100-wide-mode):
19876 * textmodes/flyspell.el (flyspell-mode):
19877 * textmodes/ispell.el (ispell-minor-mode):
19878 * textmodes/nroff-mode.el (nroff-electric-mode):
19879 * textmodes/paragraphs.el (use-hard-newlines):
19880 * textmodes/refill.el (refill-mode):
19881 * textmodes/reftex.el (reftex-mode):
19882 * textmodes/rst.el (rst-minor-mode):
19883 * textmodes/sgml-mode.el (html-autoview-mode)
19884 (sgml-electric-tag-pair-mode):
19885 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19886 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19887 * emulation/crisp.el (crisp-mode):
19888 * emacs-lisp/eldoc.el (eldoc-mode):
19889 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19890 minor mode behavior.
19891
19892 2011-10-19 Juri Linkov <juri@jurta.org>
19893
19894 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19895 the list of hard-coded chars with escape-glyph face.
19896
19897 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19898
19899 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19900
19901 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19902
19903 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19904 running process.
19905
19906 2011-10-19 Glenn Morris <rgm@gnu.org>
19907
19908 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19909 Ignore ignored files. (Bug#9726)
19910
19911 2011-10-19 Chong Yidong <cyd@gnu.org>
19912
19913 Doc fix for minor modes, stating that an omitted argument enables
19914 the mode unconditionally when called from Lisp.
19915
19916 * abbrev.el (abbrev-mode):
19917 * allout.el (allout-mode):
19918 * autoinsert.el (auto-insert-mode):
19919 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19920 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19921 (global-auto-revert-mode):
19922 * battery.el (display-battery-mode):
19923 * composite.el (global-auto-composition-mode)
19924 (auto-composition-mode):
19925 * delsel.el (delete-selection-mode):
19926 * desktop.el (desktop-save-mode):
19927 * dired-x.el (dired-omit-mode):
19928 * dirtrack.el (dirtrack-mode):
19929 * doc-view.el (doc-view-minor-mode):
19930 * double.el (double-mode):
19931 * electric.el (electric-indent-mode, electric-pair-mode):
19932 * emacs-lock.el (emacs-lock-mode):
19933 * epa-hook.el (auto-encryption-mode):
19934 * follow.el (follow-mode):
19935 * font-core.el (font-lock-mode):
19936 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19937 * help.el (temp-buffer-resize-mode):
19938 * hilit-chg.el (highlight-changes-mode)
19939 (highlight-changes-visible-mode):
19940 * hi-lock.el (hi-lock-mode):
19941 * hl-line.el (hl-line-mode, global-hl-line-mode):
19942 * icomplete.el (icomplete-mode):
19943 * ido.el (ido-everywhere):
19944 * image-file.el (auto-image-file-mode):
19945 * image-mode.el (image-minor-mode):
19946 * iswitchb.el (iswitchb-mode):
19947 * jka-cmpr-hook.el (auto-compression-mode):
19948 * linum.el (linum-mode):
19949 * longlines.el (longlines-mode):
19950 * master.el (master-mode):
19951 * mb-depth.el (minibuffer-depth-indicate-mode):
19952 * menu-bar.el (menu-bar-mode):
19953 * minibuf-eldef.el (minibuffer-electric-default-mode):
19954 * mouse-sel.el (mouse-sel-mode):
19955 * msb.el (msb-mode):
19956 * mwheel.el (mouse-wheel-mode):
19957 * outline.el (outline-minor-mode):
19958 * paren.el (show-paren-mode):
19959 * recentf.el (recentf-mode):
19960 * reveal.el (reveal-mode, global-reveal-mode):
19961 * rfn-eshadow.el (file-name-shadow-mode):
19962 * ruler-mode.el (ruler-mode):
19963 * savehist.el (savehist-mode):
19964 * scroll-all.el (scroll-all-mode):
19965 * scroll-bar.el (scroll-bar-mode):
19966 * server.el (server-mode):
19967 * shell.el (shell-dirtrack-mode):
19968 * simple.el (auto-fill-mode, transient-mark-mode)
19969 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19970 (line-number-mode, column-number-mode, size-indication-mode)
19971 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19972 * strokes.el (strokes-mode):
19973 * time.el (display-time-mode):
19974 * t-mouse.el (gpm-mouse-mode):
19975 * tool-bar.el (tool-bar-mode):
19976 * tooltip.el (tooltip-mode):
19977 * type-break.el (type-break-mode-line-message-mode)
19978 (type-break-query-mode):
19979 * view.el (view-mode):
19980 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19981 (global-whitespace-mode, global-whitespace-newline-mode):
19982 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19983
19984 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19985 Fix autogenerated docstring.
19986
19987 2011-10-19 Juri Linkov <juri@jurta.org>
19988
19989 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19990 by checking environment variables "DESKTOP_SESSION" and
19991 "XDG_CURRENT_DESKTOP". (Bug#9779)
19992
19993 2011-10-19 Juri Linkov <juri@jurta.org>
19994
19995 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19996 (browse-url-chromium-program, browse-url-chromium-arguments):
19997 New defcustoms.
19998 (browse-url-default-browser): Check for `browse-url-chromium' and
19999 call `browse-url-chromium-program'.
20000 (browse-url-chromium): New command. (Bug#9779)
20001
20002 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20003
20004 * facemenu.el (list-colors-duplicates): On Windows, detect more
20005 duplicates by assuming that only colors matching "^System" are
20006 special "system colors". (Bug#9722)
20007
20008 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20009
20010 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20011 to distinguish the author from the committer.
20012
20013 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20014
20015 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20016
20017 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20018
20019 * international/mule.el (sgml-html-meta-auto-coding-function):
20020 Add support for detecting encoding in HTML5 specified only as
20021 <meta charset="UTF-8">. Implementation just makes http-equiv and
20022 content-type parts from HTML4 encoding string optional. (Bug#9716)
20023
20024 2011-10-18 Glenn Morris <rgm@gnu.org>
20025
20026 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20027
20028 2011-10-18 Chong Yidong <cyd@gnu.org>
20029
20030 * faces.el (cursor): Doc fix.
20031
20032 2011-10-17 Chong Yidong <cyd@gnu.org>
20033
20034 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20035
20036 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20037
20038 * dirtrack.el (dirtrack): Support shell buffers with path
20039 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20040
20041 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20042
20043 * json.el: Bump version to 1.3 and note change in History.
20044 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20045
20046 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20047
20048 * comint.el (comint-insert-input, comint-send-input)
20049 (comint-get-old-input-default, comint-backward-matching-input)
20050 (comint-next-prompt): Use nil instead of `input' for field property of
20051 past user input (bug#114).
20052
20053 * minibuffer.el (completion--replace): Inherit surrounding properties
20054 (bug#114).
20055 (minibuffer-complete-and-exit): Use it.
20056
20057 * comint.el (comint--table-subvert): Quote the all-completions output
20058 (bug#9160).
20059
20060 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20061
20062 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20063
20064 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20065 window on right of selected. (Bug#9350) Reword other window
20066 entries and separate them from frame entries.
20067
20068 2011-10-15 Glenn Morris <rgm@gnu.org>
20069
20070 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20071 Doc fixes.
20072
20073 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20074
20075 * net/network-stream.el (network-stream-open-starttls):
20076 Improve detection of failure due to lack of TLS support.
20077
20078 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20079 putting the input text in front and in bold.
20080
20081 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20082
20083 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20084
20085 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20086 empty buffer.
20087
20088 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20089 unread-command-events rather than pushing yet-another event.
20090
20091 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20092
20093 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20094 the explanation of the possible choices. Make the options passed
20095 to completing-read shorter.
20096
20097 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20098
20099 * textmodes/flyspell.el (flyspell-large-region): Make sure
20100 extended character mode is used if defined (Bug#1339).
20101
20102 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20103
20104 * simple.el (what-cursor-position): Fix the display of the
20105 character info for LRE, LRO, RLE, and RLO characters by appending
20106 an invisible PDF.
20107
20108 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20109
20110 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20111 even in case of error; add debug spec; simplify data flow.
20112 (with-timeout-handler): Remove.
20113
20114 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20115
20116 Fix Bug#6019, Bug#9315.
20117
20118 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20119 complete `buffer-file-name', the local file name part could look
20120 remotely (for example on VMS).
20121
20122 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20123 `tramp-run-real-handler'.
20124 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20125 already quoted by '"'.
20126
20127 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20128 Let `file-name-handler-alist' be nil, the local file name part
20129 could look remotely (for example on VMS).
20130
20131 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20132
20133 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20134 from here...
20135 (flyspell-post-command-hook): ...to here.
20136
20137 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20138
20139 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20140 if not needed.
20141 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20142 using completion. Protect against "slow" callers.
20143 Remove the "message hack".
20144
20145 2011-10-11 Juri Linkov <juri@jurta.org>
20146
20147 * isearch.el (isearch-lazy-highlight-word): New variable.
20148 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20149 Use it. (Bug#9727)
20150
20151 2011-10-11 Glenn Morris <rgm@gnu.org>
20152
20153 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20154 like f90-previous-statement does.
20155
20156 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20157
20158 * eshell/eshell.el (eshell-command): History should be saved
20159 only in interactive use, to avoid error.
20160
20161 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20162
20163 * minibuffer.el (completion-file-name-table): Fix last change,
20164 i.e. ignore normal errors but not the other ones.
20165
20166 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20167
20168 * window.el (special-display-buffer-names)
20169 (special-display-regexps): Remove some remnants of earlier
20170 changes from doc-strings.
20171 (quit-windows-on): New function.
20172
20173 * vc/vc.el (vc-revert, vc-rollback):
20174 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20175 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20176 (Bug#6183) (Bug#7074) (Bug#7447)
20177
20178 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20179
20180 * window.el (frame-auto-hide-function): Add version tag.
20181 (Bug#9699)
20182
20183 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20184
20185 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20186 condition.
20187
20188 2011-10-09 Leo Liu <sdl.web@gmail.com>
20189
20190 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20191 (Bug#9701)
20192
20193 2011-10-08 Glenn Morris <rgm@gnu.org>
20194
20195 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20196 before the first code statement zero indent. (Bug#9690)
20197
20198 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20199
20200 * simple.el (count-words-region): Always count in the region.
20201 Report the number of lines and characters too.
20202 (count-words): New command, which counts in the buffer if the
20203 region is inactive, as count-words-region used to.
20204 (count-words--message): New function. Handle plurals.
20205 (count-lines-region): Make it an alias for count-words-region.
20206
20207 * bindings.el (esc-map): Replace count-lines-region with
20208 count-words-region.
20209
20210 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20211
20212 * window.el (window--delete): Delete dedicated frame
20213 unconditionally when argument KILL is non-nil. (Bug#9699)
20214 (switch-to-buffer): Fix doc-string typo.
20215
20216 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20217
20218 * eshell/eshell.el (eshell-command): Avoid using hooks.
20219
20220 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20221
20222 * bindings.el ([M-left],[M-right]): Bind to left-word and
20223 right-word respectively.
20224
20225 2011-10-07 Glenn Morris <rgm@gnu.org>
20226
20227 * cus-start.el (debug-on-quit): Fix custom type.
20228
20229 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20230
20231 * subr.el (define-key-after): Clarify that the function is not
20232 useful for non-menu keymaps.
20233
20234 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20235
20236 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20237
20238 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20239 in current minibuffer (Fix bug with recursive minibuffers).
20240
20241 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20242
20243 * progmodes/gdb-mi.el (gdb): Doc fix.
20244
20245 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20246
20247 * window.el (frame-auto-hide-function): New option replacing
20248 frame-auto-delete. Suggested by Stefan Monnier.
20249 (window--delete): Call frame-auto-hide-function instead of
20250 investigating frame-auto-delete.
20251 (window-point-1, set-window-point-1): New functions.
20252 (window-in-direction, record-window-buffer, window-state-get-1)
20253 (display-buffer-record-window): Use window-point-1 instead of
20254 window-point.
20255 (set-window-buffer-start-and-point): Use set-window-point-1.
20256
20257 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20258
20259 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20260
20261 2011-10-05 Glenn Morris <rgm@gnu.org>
20262
20263 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20264 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20265
20266 2011-10-05 Leo Liu <sdl.web@gmail.com>
20267
20268 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20269 works with buffer object.
20270
20271 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20272
20273 * mpc.el (mpc-tool-bar-map): Add labels.
20274
20275 2011-10-04 Glenn Morris <rgm@gnu.org>
20276
20277 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20278
20279 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20280
20281 * window.el (window--delete): New function.
20282 (frame-auto-delete): Resuscitate option.
20283 (bury-buffer, replace-buffer-in-windows)
20284 (quit-window): Rewrite using window--delete.
20285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20286 Pass display-buffer-mark-dedicated to window--display-buffer-2
20287 (Bug#9639).
20288
20289 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20290
20291 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20292 returns a list (bug#9554). Add remote file name completion.
20293 * comint.el (comint--table-subvert): Curry and get quote&unquote
20294 functions as arguments.
20295 (comint--complete-file-name-data): Adjust call accordingly.
20296 * pcomplete.el (pcomplete--table-subvert): Remove.
20297 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20298
20299 * minibuffer.el (completion-table-case-fold): Use currying.
20300 (completion--styles-type, completion--cycling-threshold-type):
20301 New constants.
20302 (completion-styles, completion-category-overrides)
20303 (completion-cycle-threshold): Use them.
20304 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20305 completion-table-case-fold.
20306
20307 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20308
20309 * minibuffer.el (completion-category-overrides): Fix type of styles
20310 and add more user friendly tags (bug#9660).
20311
20312 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20313
20314 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20315 (mule-input-method-string): New widget.
20316 (default-input-method, language-info-custom-alist): Use it.
20317
20318 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20319
20320 * pcomplete.el: Require comint.
20321 (pcomplete--common-suffix): Remove.
20322 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20323 (pcomplete--table-subvert): Sync with comint--table-subvert.
20324 (pcomplete--entries): Use comint-completion-file-name-table.
20325 * comint.el (comint-unquote-filename): Simplify.
20326 (comint-completion-file-name-table): New function (bug#9616).
20327 (comint--complete-file-name-data): Use it.
20328
20329 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20330 (pcmpl-gnu-tar-buffer): Remove.
20331 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20332 around. Make sure pcomplete-suffix-list is only changed temporarily.
20333 Don't look inside the tar's file if it's too large.
20334
20335 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20336
20337 * cus-edit.el (custom-mode-map):
20338 * epa.el (epa-key-list-mode-map):
20339 * man.el (Man-mode-map):
20340 * startup.el (splash-screen-keymap):
20341 * simple.el (special-mode-map): Use scroll-up-command and
20342 scroll-down-command.
20343
20344 * progmodes/idlw-help.el (idlwave-help-mode-map):
20345 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20346 * net/newst-plainview.el (newsticker-mode-map):
20347 * emulation/ws-mode.el (wordstar-mode-map):
20348 * emulation/vi.el (vi-com-map):
20349 * calc/calc-graph.el (calc-graph-show-dumb):
20350 * term/sun.el (terminal-init-sun):
20351 * term/ns-win.el (global-map):
20352 * progmodes/grep.el (grep-mode-map):
20353 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20354 * mail/rmail.el (rmail-mode-map):
20355 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20356
20357 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20358 custom-safe-themes as special.
20359
20360 2011-10-01 Julien Danjou <julien@danjou.info>
20361
20362 * notifications.el (notifications-notify): Fix docstring.
20363
20364 2011-10-01 Per Starbäck <per@starback.se>
20365
20366 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20367
20368 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20369
20370 * startup.el (command-line-1): Fix last fix by inserting
20371 initial-scratch-message into *scratch* before displaying it.
20372 (Bug#9605) and (Bug#9636)
20373
20374 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20375
20376 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20377 window is hscrolled, move by logical lines. (Bug#9607)
20378 (line-move-visual): Update the doc string to the above effect.
20379
20380 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20381
20382 * window.el (display-buffer-record-window): When WINDOW is the
20383 selected window use `point' instead of `window-point'. (Bug#9626)
20384
20385 * startup.el (command-line-1): Use insert-before-markers when
20386 inserting initial-scratch-message. (Bug#9605)
20387
20388 * help.el (help-window): Remove variable.
20389
20390 2011-09-29 Glenn Morris <rgm@gnu.org>
20391
20392 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20393
20394 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20395
20396 * descr-text.el (describe-char-categories): Accept category
20397 descriptions more than one line long.
20398
20399 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20400
20401 * simple.el (delete-trailing-whitespace): Fix last change.
20402
20403 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20404 Don't confuse "y => 3" as the beginning of a `y' operation.
20405
20406 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20407 object has more than 4 slots (bug#9613).
20408
20409 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20410
20411 * subr.el (with-output-to-temp-buffer):
20412 * net/quickurl.el (quickurl, quickurl-browse-url):
20413 Fix typos in docstrings.
20414
20415 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20416
20417 * minibuffer.el (completion-styles)
20418 (completion-category-overrides): Cross reference each other in doc
20419 strings.
20420
20421 2011-09-27 Glenn Morris <rgm@gnu.org>
20422
20423 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20424 to split-string. (Bug#9606)
20425
20426 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20427
20428 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20429 (bug#9615).
20430
20431 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20432
20433 * emacs-lisp/package.el (list-packages): Fix echo area message.
20434
20435 2011-09-27 Leo Liu <sdl.web@gmail.com>
20436
20437 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20438
20439 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20440
20441 * net/dbus.el (dbus-unregister-object): Don't release services for
20442 registered signals. (Bug#9581)
20443
20444 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20445
20446 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20447 function that picks between cfengine 2 and 3 support
20448 automatically. Update docs accordingly.
20449
20450 2011-09-22 Kenichi Handa <handa@m17n.org>
20451
20452 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20453 ZERO.
20454 (indian-itrans-v5-table-for-tamil): New variable.
20455 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20456
20457 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20458
20459 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20460 that's true if the current command involved collapsing of text.
20461 It's reset to false at the beginning of the next command.
20462 (allout-post-command-business): Move the cursor to the beginning
20463 of entry if the cursor is hidden and collapsing activity just
20464 happened.
20465
20466 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20467
20468 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20469 tracking (Bug#9541).
20470
20471 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20472
20473 * net/newst-reader.el (newsticker-html-renderer)
20474 (newsticker-show-news): Automatically load html rendering package
20475 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20476 because w3m-fill-column is let-bound" and the error "Symbol's value
20477 as variable is void: w3m-fill-column".
20478
20479 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20480
20481 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20482 Release services only if they are defined. (Bug#9581)
20483
20484 2011-09-23 Richard Stallman <rms@gnu.org>
20485
20486 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20487 distinguish start of paragraph from start of its text.
20488
20489 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20490
20491 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20492 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20493 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20494
20495 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20496
20497 * international/mule-diag.el (mule-diag): Insert a newline after
20498 each fontset description.
20499
20500 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20501
20502 * simple.el (delete-trailing-whitespace):
20503 Document last change; simplify.
20504
20505 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20506
20507 * simple.el (delete-trailing-whitespace): Also delete
20508 extra newlines at the end of the buffer.
20509
20510 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20511 (picture-newline): Use forward-line so as to ignore fields.
20512
20513 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20514
20515 * subr.el (with-wrapper-hook): Fix edebug spec.
20516
20517 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20518
20519 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20520 (bug#4538).
20521
20522 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20523
20524 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20525 Fix nasty bug using wrong cached values.
20526
20527 2011-09-23 Alan Mackenzie <acm@muc.de>
20528
20529 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20530
20531 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20532
20533 * window.el (pop-to-buffer): Ensure right window is selected if we
20534 chose another frame.
20535
20536 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20537
20538 * simple.el (what-cursor-position): Use get-char-property-change
20539 and next-single-char-property-change, to be able to show display
20540 properties that come from overlays as well as text properties.
20541
20542 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20543
20544 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20545
20546 * cmuscheme.el (run-scheme, switch-to-scheme):
20547 * cus-edit.el (customize-group, custom-buffer-create)
20548 (customize-browse):
20549 * info.el (info):
20550 * shell.el (shell):
20551 * mail/sendmail.el (mail):
20552 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20553
20554 2011-09-22 Richard Stallman <rms@gnu.org>
20555
20556 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20557 move back only to line beg, don't move back over blank lines.
20558
20559 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20560
20561 * files.el (copy-directory): Set directory attributes only in case
20562 they could be retrieved from the source directory. (Bug#9565)
20563
20564 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20565
20566 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20567 (hs-find-block-beginning, hs-hide-level-recursive):
20568 Ignore strings as well as comments. (Bug#9502)
20569
20570 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20571
20572 * progmodes/sql.el (sql-comint-postgres):
20573 Convert port number to a string. (Bug#9566)
20574
20575 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20576
20577 * window.el (quit-window): Undedicate window when switching to
20578 previous buffer. Reported by Thierry Volpiatto
20579 <thierry.volpiatto@gmail.com>.
20580 (special-display-popup-frame): When popping up a new frame reset
20581 its previous buffers to nil. Simplify code.
20582
20583 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20584
20585 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20586 and process filter, as done also in `shell-command'.
20587
20588 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20589
20590 * window.el (set-window-buffer-start-and-point):
20591 Call set-window-start with NOFORCE argument t.
20592 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20593 (quit-window): Reword doc-string. Handle new format of
20594 quit-restore parameter. Don't delete window if it has a
20595 previous buffer we can show instead of the present one.
20596 (display-buffer-record-window): Rewrite using a new format for
20597 the quit-restore window parameter
20598 (special-display-popup-frame, display-buffer-same-window)
20599 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20600 (display-buffer-pop-up-window, display-buffer-use-some-window):
20601 Adapt symbol passed to display-buffer-record-window.
20602 * help.el (help-window-setup): Handle new format of quit-restore
20603 parameter.
20604
20605 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20606
20607 * faces.el (face-list): Fix docstring (bug#9564).
20608
20609 * window.el (display-buffer--action-function-custom-type):
20610 Don't include internal functions in the Custom interface.
20611
20612 2011-09-20 Juri Linkov <juri@jurta.org>
20613
20614 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20615 (Info-forward-node, Info-backward-node, Info-next-preorder)
20616 (Info-last-preorder): Use it. (Bug#9528)
20617
20618 2011-09-20 Juri Linkov <juri@jurta.org>
20619
20620 * info.el (Info-last-preorder): Visit last menu item only when
20621 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20622
20623 2011-09-20 Julien Danjou <julien@danjou.info>
20624
20625 * password-cache.el (password-cache-remove): Remove entries even if the
20626 value is nil, so that password with a nil value (negative caching) is
20627 possible to invalidate.
20628
20629 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20630
20631 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20632 all whitespace around breakpoint. (Bug#9553)
20633 (f90-find-breakpoint): Only break at whitespace inside a comment.
20634
20635 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20636
20637 * minibuffer.el (completion-file-name-table): Keep track of errors.
20638 (completion-table-with-predicate): Handle the case where pred1 is nil.
20639 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20640
20641 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20642
20643 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20644 (debugger-return-value): Signal an error if the debugging context does
20645 not await any return value.
20646
20647 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20648 * image-mode.el (image-toggle-display-text)
20649 (image-toggle-display-image): Stay away from evil `intangible'.
20650
20651 2011-09-19 Leo Liu <sdl.web@gmail.com>
20652
20653 * replace.el (occur-revert-arguments): Make it permanent-local.
20654 (occur-mode): Don't call font-lock-defontify.
20655
20656 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20657
20658 * net/ldap.el (ldap-search-internal): Don't push empty search
20659 result (Bug#9508).
20660
20661 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20662
20663 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20664
20665 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20666
20667 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20668 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20669
20670 2011-09-18 Juri Linkov <juri@jurta.org>
20671
20672 * buff-menu.el (Buffer-menu-mode-map):
20673 * dired.el (dired-mode-map):
20674 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20675 (lisp-interaction-mode-map):
20676 * emacs-lisp/package.el (package-menu-mode-map):
20677 * epa.el (epa-key-list-mode-map):
20678 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20679 (menu-bar-options-menu):
20680 * outline.el (outline-mode-menu-bar-map):
20681 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20682 * vc/vc-dir.el (vc-dir-menu-map):
20683 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20684 Capitalize non-function content words in menu item strings.
20685
20686 * dired.el (dired-mode-map): Add menu item for
20687 `image-dired-dired-toggle-marked-thumbs'.
20688
20689 2011-09-18 Juri Linkov <juri@jurta.org>
20690
20691 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20692 to `isearch-case-fold-search' and restore its original value
20693 after the `isearch-mode' call.
20694
20695 2011-09-18 Juri Linkov <juri@jurta.org>
20696
20697 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20698 because `zgrep' returns 1 for successful matches (bug#9226).
20699
20700 2011-09-18 Juri Linkov <juri@jurta.org>
20701
20702 * info.el (Info-extract-menu-node-name): Check the second match
20703 for empty string (second test-case of bug#9528).
20704 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20705 intermediate nodes to the history (first test-case of bug#9528).
20706
20707 2011-09-18 Juri Linkov <juri@jurta.org>
20708
20709 * info.el (Info-mode-syntax-table): New variable.
20710 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20711
20712 2011-09-18 Juri Linkov <juri@jurta.org>
20713
20714 * info.el (Info-file-supports-index-cookies):
20715 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20716 outputs one more line for long file names (bug#4142).
20717
20718 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20719
20720 * newcomment.el (comment-normalize-vars): If prompting for
20721 comment-start, set comment-start-skip too (Bug#8424).
20722
20723 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20724
20725 * icomplete.el: Fix previous fix of Bug#5849.
20726 (icomplete-mode): Don't set completion-show-inline-help.
20727 (icomplete-minibuffer-setup): Set completion-show-inline-help
20728 locally during icompletion.
20729
20730 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20731
20732 * woman.el (woman2-process-escapes): Don't delete unrecognized
20733 escapes (Bug#7843).
20734
20735 * files.el (inhibit-first-line-modes-regexps): Add image files.
20736 (hack-local-variables-prop-line): Return nil for malformed
20737 prop-lines (Bug#9044).
20738
20739 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20740
20741 * net/tramp.el (top): Don't require 'shell.
20742 (tramp-methods): Fix docstring.
20743 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20744 Return complete remote file name. Handle "smb" case.
20745 Use `tramp-tmpdir', if defined for the respective method.
20746 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20747
20748 * net/tramp-compat.el (top): Require 'shell.
20749
20750 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20751 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20752 `tramp-current-host'.
20753 (tramp-get-remote-tmpdir): Remove.
20754
20755 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20756 `tramp-tmpdir' entries.
20757 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20758 (tramp-smb-handle-file-attributes): Ignore errors.
20759 (tramp-smb-wait-for-output): Check also for process end.
20760
20761 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20762
20763 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20764 when sending QUIT (bug#9312).
20765
20766 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20767
20768 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20769 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20770 occur-mode-display-occurrence.
20771 (occur-edit-mode): Add usage message.
20772 (occur-cease-edit): New command.
20773 (occur-after-change-function): Use text properties to find the
20774 position of the prefix text.
20775 (occur-engine): Set stickiness of prefix text properties.
20776
20777 2011-09-17 Glenn Morris <rgm@gnu.org>
20778
20779 * progmodes/etags.el (complete-tag):
20780 Fix call to completion-in-region. (Bug#9526)
20781
20782 2011-09-17 Juri Linkov <juri@jurta.org>
20783
20784 * textmodes/ispell.el (ispell-word): Add to the error message
20785 the word, ispell program name and current dictionary (bug#9121).
20786 (ispell-tex-arg-end): Capitalize "error" in the error message.
20787
20788 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20789
20790 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20791 check. (Bug#4251)
20792
20793 2011-09-17 Juri Linkov <juri@jurta.org>
20794
20795 * window.el (window-safe-min-height, window-safe-min-width):
20796 Fix typos (followup to bug#9522).
20797
20798 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20799
20800 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20801
20802 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20803
20804 * simple.el (line-move): If goal-column is set, move by logical
20805 lines, not by display lines. (Bug#971)
20806 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20807 to reflect the above change.
20808
20809 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20810
20811 * image.el (imagemagick-register-types): Use regexp-opt.
20812
20813 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20814
20815 * window.el (display-buffer-base-action): Rename from
20816 display-buffer-default-action. Make default value empty.
20817 (display-buffer-overriding-action): Convert to defvar.
20818 (display-buffer-fallback-action): New var.
20819
20820 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20821
20822 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20823 declaration.
20824 (package--add-to-archive-contents): If there is a duplicate entry
20825 with an older version, remove it.
20826 (package-menu-mark-delete, package-menu-mark-install)
20827 (package-menu-mark-unmark): Make unused args optional.
20828 (package-menu-mark-obsolete-for-deletion):
20829 Use package-menu-get-status instead of a regexp search.
20830 (package-menu-get-status): Use tabulated-list-entry.
20831 (package-menu-mark-upgrades): New command.
20832 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20833 (package-menu-execute): Do installation before deletion.
20834 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20835 instead of checking major-mode.
20836 (package-menu--find-upgrades): New function.
20837
20838 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20839
20840 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20841 passwords in the log buffer.
20842 (smtpmail-process-filter): Update the process marker so that the
20843 "broken by peer" status message is inserted in the right place.
20844
20845 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20846
20847 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20848 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20849 bibtex-completion-at-point-function.
20850 (bibtex-completion-at-point-function): Use them.
20851
20852 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20853
20854 * mpc.el (mpc-constraints-tag-lookup): New function.
20855 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20856 also to browser "album|playlist".
20857
20858 2011-09-14 Juri Linkov <juri@jurta.org>
20859
20860 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20861 (isearch-edit-string): Use length of `isearch-string' when
20862 `isearch-fail-pos' returns nil.
20863 (isearch-message): Remove duplicate code and call
20864 `isearch-fail-pos' with arg `t'.
20865
20866 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20867
20868 * replace.el (occur-mode-goto-occurrence): Don't force using other
20869 window (Bug#9499).
20870
20871 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20872
20873 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20874
20875 * window.el (display-buffer-window): Remove.
20876 (display-buffer-record-window): Use help-setup window parameter
20877 instead of variable display-buffer-window.
20878 (display-buffer-function, special-display-buffer-names)
20879 (special-display-function): Mention help-setup parameter instead
20880 of display-buffer-window in doc-string.
20881 * help.el (help-window-setup): New argument help-window.
20882 Use help-window-setup parameter instead of display-buffer-window.
20883 Reword some messages.
20884 (with-help-window): Pass window used for displaying the buffer
20885 to help-window-setup. Don't set display-buffer-window.
20886
20887 2011-09-13 Glenn Morris <rgm@gnu.org>
20888
20889 * emacs-lisp/debug.el (debugger-make-xrefs):
20890 Preserve point. (Bug#9462)
20891
20892 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20893
20894 * window.el (window-deletable-p): Use next-frame.
20895
20896 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20897
20898 * window.el (window-auto-delete): Remove.
20899 (window-deletable-p): Remove argument FORCE. Don't deal with
20900 dedication and previous buffers.
20901 (switch-to-prev-buffer): Don't delete window.
20902 (delete-windows-on): Delete a window's frame if and only if the
20903 window is dedicated.
20904 (replace-buffer-in-windows): Delete buffer's window or frame if
20905 and only if window is dedicated.
20906 (quit-window): Handle quit-restore as before last change.
20907 (bury-buffer): Delete window only if window-deletable-p returns t.
20908
20909 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20910
20911 * window.el (window-deletable-p): Never delete the last frame on a
20912 given terminal.
20913
20914 2011-09-13 Glenn Morris <rgm@gnu.org>
20915
20916 * help.el (describe-key-briefly): Copy previous standard-output change.
20917
20918 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20919
20920 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20921
20922 2011-09-13 Glenn Morris <rgm@gnu.org>
20923
20924 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20925 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20926
20927 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20928
20929 * dired-aux.el (dired-mark-read-string): Don't return default
20930 value on empty input (Bug#9361).
20931 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20932 Omit initial minibuffer contents.
20933 (dired-do-chmod): Signal an error on empty input.
20934 (dired-mark-read-string): Don't return default on empty input.
20935
20936 * files.el (file-modes-symbolic-to-number): Doc fix.
20937
20938 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20939
20940 * international/mule-cmds.el (ucs-completions): Remove.
20941 (read-char-by-name): Use complete-with-action instead; add metadata.
20942
20943 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20944
20945 * window.el (display-buffer--action-function-custom-type)
20946 (display-buffer--action-custom-type): New vars.
20947 (display-buffer-alist, display-buffer-default-action)
20948 (display-buffer-overriding-action): Add defcustom types.
20949
20950 * frame.el (delete-other-frames): Doc fix (Bug#276).
20951
20952 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20953
20954 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20955
20956 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20957
20958 Change modes that used same-window-* vars to use switch-to-buffer.
20959
20960 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20961 Use switch-to-buffer.
20962
20963 * cus-edit.el (customize-group, custom-buffer-create)
20964 (customize-browse, custom-buffer-create-other-window):
20965 Use switch-to-buffer or switch-to-buffer-other-window.
20966
20967 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20968 (Info-prev, Info-up, Info-speedbar-goto-node)
20969 (info-display-manual): Use switch-to-buffer.
20970 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20971
20972 * mail/sendmail.el (mail): Use switch-to-buffer.
20973 (mail-recover): Use switch-to-buffer-other-window.
20974
20975 * cmuscheme.el (run-scheme, switch-to-scheme):
20976 * ielm.el (ielm):
20977 * shell.el (shell):
20978 * net/rlogin.el (rlogin):
20979 * net/telnet.el (telnet, rsh):
20980 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20981
20982 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20983
20984 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20985
20986 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20987
20988 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20989 so don't mention it (bug#9301).
20990 (dired-sort-toggle-or-edit): Clarify string further.
20991
20992 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20993 match `x', `w32' and `ns', like the manual says (bug#9029).
20994
20995 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20996 (process-kill-buffer-query-function): Mention the buffer name in
20997 the query.
20998
20999 * image-mode.el (image-next-line): The line parameter is mandatory
21000 (bug#9258).
21001
21002 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21003 which can be useful (bug#9301).
21004
21005 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21006
21007 * subr.el (match-string): Mention that the current buffer should
21008 be the same as the search was done in (bug#9282).
21009
21010 * facemenu.el: Disable the remove-* commands if the mark isn't
21011 active (bug#9162).
21012
21013 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21014
21015 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21016 of display-buffer.
21017 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21018
21019 * replace.el (occur-mode-goto-occurrence)
21020 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21021 and display-buffer.
21022
21023 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21024 display-buffer.
21025
21026 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21027 special-display and same-window variables.
21028 (mail-other-window): Use switch-to-buffer-other-window.
21029 (mail-other-frame): USe switch-to-buffer-other-frame.
21030
21031 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21032 Use display-buffer-other-frame.
21033 (gdb-display-gdb-buffer): Use pop-to-buffer.
21034
21035 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21036
21037 * progmodes/python.el: Don't set same-window-buffer-names.
21038
21039 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21040
21041 * window.el (display-buffer-alist): Add *Python*.
21042
21043 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21044
21045 * window.el (display-buffer-alist): Add entry for buffers
21046 previously handled same-window-*.
21047 (display-buffer-alist, display-buffer-default-action)
21048 (display-buffer-overriding-action): Mark as risky.
21049 (display-buffer-alist): Document action function changes.
21050 (display-buffer--same-window-action)
21051 (display-buffer--other-frame-action): New variables.
21052 (switch-to-buffer, display-buffer-other-frame): Use them.
21053 (display-buffer): Rename reuse-frame entry to reusable-frames.
21054 (display-buffer-reuse-selected-window): Function deleted.
21055 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21056 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21057 (display-buffer-special): New function.
21058 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21059 display-buffer-reuse-or-pop-window. Split off special-display
21060 part into display-buffer-special.
21061 (display-buffer-use-some-window): Don't perform any special
21062 pop-up-frames handling.
21063 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21064 (display-buffer--maybe-same-window): Rename from
21065 display-buffer-maybe-same-window.
21066
21067 * info.el: Don't set same-window-regexps.
21068 (info-setup): New function.
21069 (info-other-window, info): Call it.
21070
21071 * cus-edit.el: Don't set same-window-regexps.
21072 (customize-group): New argument.
21073 (customize-group-other-window): Use it.
21074 (customize-face, customize-face-other-window): Likewise.
21075 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21076
21077 * net/rlogin.el:
21078 * net/telnet.el:
21079 * progmodes/gud.el: Don't set same-window-regexps.
21080
21081 * cmuscheme.el:
21082 * ielm.el:
21083 * shell.el:
21084 * mail/sendmail.el:
21085 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21086
21087 2011-09-10 Juri Linkov <juri@jurta.org>
21088
21089 * isearch.el (isearch-edit-string): Remove obsolete mention of
21090 `C-w' (`isearch-yank-word-or-char') from docstring.
21091 (isearch-query-replace): Fix typo in docstring (bug#9466).
21092
21093 2011-09-10 Juri Linkov <juri@jurta.org>
21094
21095 * paren.el (show-paren-function): Don't show escaped parens.
21096 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21097
21098 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21099
21100 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21101 (mm-default-file-encoding): Remove autoload forms, they are
21102 replaced with autoload cookies in mml.el and mm-encode.el.
21103 (mail-add-attachment): New command.
21104 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21105 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21106 the doc string.
21107 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21108
21109 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21110
21111 * simple.el (count-words-region): Use buffer if there's no region
21112 (bug#9429).
21113
21114 2011-09-09 Juri Linkov <juri@jurta.org>
21115
21116 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21117 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21118 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21119
21120 2011-09-09 Alan Mackenzie <acm@muc.de>
21121
21122 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21123 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21124
21125 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21126
21127 Fix for Savannah bug#9392.
21128 * simple.el (mail-encode-mml): New defvar.
21129
21130 * mail/rmail.el (mail-encode-mml): Add a defvar.
21131 (rmail-enable-mime-composing): Default to t.
21132 (rmail-forward): Use MIME method of forwarding only if both
21133 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21134 Set mail-encode-mml non-nil if the MIME method was used.
21135
21136 * mail/sendmail.el (mml-to-mime): Add autoload form.
21137 (mail-encode-mml): Add a defvar.
21138 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21139 to nil.
21140 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21141 message through mml-to-mime, and reset mail-encode-mml to nil.
21142
21143 2011-09-09 Glenn Morris <rgm@gnu.org>
21144
21145 * woman.el (woman-if-body): When processing an .el block,
21146 do not delete the next .el block as well. (Bug#9447)
21147 (woman-special-characters): Add oq, cq, and hy characters.
21148
21149 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21150
21151 * window.el (window-deletable-p): Make sure window is live before
21152 invoking window-prev-buffers.
21153
21154 2011-09-08 Leo Liu <sdl.web@gmail.com>
21155
21156 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21157
21158 2011-09-08 Juri Linkov <juri@jurta.org>
21159
21160 * progmodes/compile.el (compilation-environment): Make it
21161 a defcustom (bug#8340).
21162
21163 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21164
21165 * window.el (frame-auto-delete): Rename to window-auto-delete.
21166 Make it control auto-deletion of windows and/or frames.
21167 (window-deletable-p): New argument FORCE. Rewrite conditions
21168 for deleting window/frame. (Bug#9419)
21169 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21170 Rewrite handling of case when window/frame can be deleted.
21171 (delete-windows-on): Call window-deletable-p with new FORCE
21172 argument t. (Bug#9456)
21173
21174 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21175
21176 * help-mode.el (help-mode): Restore autoload.
21177
21178 2011-09-07 Juri Linkov <juri@jurta.org>
21179
21180 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21181 `compilation-environment'. Set buffer-local
21182 `compilation-environment' to `thisenv' later after (funcall mode).
21183 (Bug#8340)
21184
21185 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21186 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21187 instead of replacing its value. (Bug#8340)
21188
21189 2011-09-07 Juri Linkov <juri@jurta.org>
21190
21191 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21192 based on text properties put by `grep-filter' instead of matching
21193 escape sequences.
21194 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21195 to the value of `grep-error-screen-columns' (bug#9438).
21196
21197 2011-09-07 Juri Linkov <juri@jurta.org>
21198
21199 * simple.el (next-error-highlight, next-error-highlight-no-select):
21200 Doc fix (bug#9432).
21201
21202 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21203
21204 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21205 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21206
21207 2011-09-07 Leo Liu <sdl.web@gmail.com>
21208
21209 * net/rcirc.el (rcirc-mode): Conditionally initialize
21210 rcirc-input-ring.
21211
21212 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21213
21214 * emacs-lisp/find-func.el (find-function-C-source): Only set
21215 find-function-C-source-directory after checking that we found a source
21216 file there (bug#9440).
21217
21218 2011-09-06 Alan Mackenzie <acm@muc.de>
21219
21220 * isearch.el (isearch-other-meta-char): Wherever a key list is
21221 unread, "unread" the prefix arg, too. This fixes bug #8901.
21222
21223 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21224
21225 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21226
21227 2011-09-05 Juri Linkov <juri@jurta.org>
21228
21229 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21230
21231 2011-09-05 Juri Linkov <juri@jurta.org>
21232
21233 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21234 keeping point where processing of grep matches begins, and
21235 continue to delete remaining escape sequences from the same point.
21236 (grep-filter): Make leading zero optional in "0?1;31m" because
21237 git-grep emits "\033[1;31m" escape sequences unlike expected
21238 "\033[01;31m" as GNU Grep does (bug#9408).
21239 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21240
21241 2011-09-05 Juri Linkov <juri@jurta.org>
21242
21243 * subr.el (y-or-n-p): Capitalize "yes".
21244
21245 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21246
21247 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21248 `tramp-cache-unload-hook' where appropriate.
21249 (tramp-methods): Rename `tramp-remote-sh' to
21250 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21251 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21252
21253 * net/tramp-sh.el (top): Don't require 'shell.
21254 (tramp-methods): Add `tramp-remote-shell' and
21255 `tramp-remote-shell-args' entries.
21256 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21257 (tramp-sh-handle-shell-command): Remove.
21258 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21259 Use `tramp-remote-shell'.
21260
21261 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21262
21263 * mail/sendmail.el (sendmail-query-once-function): Delete.
21264 (sendmail-query-once): Save directly to send-mail-function.
21265 Update message-send-mail-function too.
21266
21267 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21268
21269 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21270
21271 * progmodes/python.el (python-mode-map): Use correct function to
21272 start python interpreter from menu-bar (as reported by Geert
21273 Kloosterman).
21274 (inferior-python-mode-map): Fix typo.
21275 (python-shell-map): Remove.
21276
21277 2011-09-03 Deniz Dogan <deniz@dogan.se>
21278
21279 * net/rcirc.el (rcirc-print): Simplify code for
21280 rcirc-scroll-show-maximum-output. There is no need to walk
21281 through all windows to find the right one.
21282
21283 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21284
21285 * help.el (help-return-method): Doc fix.
21286
21287 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21288
21289 * window.el (window-deletable-p): Don't return a non-nil value
21290 when there's a buffer that was shown in the window before.
21291 (Bug#9419)
21292 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21293 Set window's previous buffers to nil.
21294
21295 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21296
21297 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21298 newline before and after the tag line, so it doesn't interfere
21299 with determining the paragraph direction of bidirectional text.
21300
21301 2011-09-03 Leo Liu <sdl.web@gmail.com>
21302
21303 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21304
21305 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21306
21307 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21308 (pop-to-buffer): Change interactive spec. Pass second argument
21309 directly to display-buffer.
21310 (display-buffer): Fix interactive spec. Use functionp to
21311 distinguish between a function and a list of functions.
21312
21313 * abbrev.el (edit-abbrevs):
21314 * arc-mode.el (archive-extract):
21315 * autoinsert.el (auto-insert):
21316 * bookmark.el (bookmark-bmenu-list):
21317 * files.el (find-file):
21318 * view.el (view-buffer):
21319 * progmodes/compile.el (compilation-goto-locus):
21320 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21321
21322 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21323
21324 * window.el (display-buffer-alist): Doc fix.
21325 (display-buffer): Add docstring. Don't treat
21326 display-buffer-default specially.
21327 (display-buffer-reuse-selected-window)
21328 (display-buffer-same-window, display-buffer-maybe-same-window)
21329 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21330 (display-buffer-pop-up-window)
21331 (display-buffer-reuse-or-pop-window)
21332 (display-buffer-use-some-window): New functions.
21333 (display-buffer-default-action): Use them.
21334 (display-buffer-default): Delete.
21335 (pop-to-buffer-1): Fix choice of actions.
21336
21337 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21338
21339 * minibuffer.el (completion--insert-strings): Don't get confused by
21340 completion entries that end with an LF char.
21341
21342 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21343
21344 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21345
21346 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21347
21348 * window.el (display-buffer): Restore interactive spec.
21349 (display-buffer-same-window, display-buffer-other-window):
21350 New functions.
21351 (pop-to-buffer-1): New function. Use the above.
21352 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21353 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21354
21355 * view.el (view-buffer-other-window, view-buffer-other-frame):
21356 Just use pop-to-buffer.
21357
21358 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21359
21360 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21361
21362 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21363
21364 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21365
21366 2011-08-31 Richard Stallman <rms@gnu.org>
21367
21368 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21369 of the separation of rmail-view-buffer from rmail-buffer.
21370 If you say no to "replace original", the decrypt is in the
21371 view buffer. If you say yes, the decrypt goes into the
21372 rmail buffer also.
21373
21374 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21375
21376 * window.el (display-buffer-window): Rewrite doc-string.
21377 (display-buffer-record-window): New function.
21378 (display-buffer-macro-specifiers)
21379 (display-buffer-even-window-sizes, display-buffer-set-height)
21380 (display-buffer-set-width, display-buffer-in-window)
21381 (display-buffer-reuse-window, display-buffer-split-specifiers)
21382 (display-buffer-side-specifiers, display-buffer-split-window-1)
21383 (display-buffer-split-window, display-buffer-split-atom-window)
21384 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21385 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21386 (display-buffer-other-window-means-other-frame)
21387 (display-buffer-normalize-special)
21388 (display-buffer-normalize-default)
21389 (display-buffer-normalize-argument)
21390 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21391 (display-buffer-normalize-specifiers, display-buffer-frame)
21392 (display-buffer-same-window, display-buffer-same-frame)
21393 (display-buffer-other-window)
21394 (display-buffer-same-frame-other-window)
21395 (display-buffer-other-frame, pop-to-buffer-same-window)
21396 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21397 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21398 (switch-to-buffer-same-frame)
21399 (switch-to-buffer-other-window-same-frame)
21400 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21401 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21402 (display-buffer-alist-set): Remove.
21403 (display-buffer-function, special-display-buffer-names)
21404 (special-display-regexps, special-display-function):
21405 In doc-string refer to display-buffer-window and quit-restore
21406 parameter.
21407 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21408 (special-display-frame-alist, special-display-popup-frame)
21409 (same-window-buffer-names, same-window-regexps, same-window-p)
21410 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21411 (split-window-preferred-function, split-height-threshold)
21412 (split-width-threshold, window-splittable-p)
21413 (split-window-sensibly, window--try-to-split-window)
21414 (window--frame-usable-p, even-window-heights)
21415 (window--even-window-heights, window--display-buffer-1)
21416 (window--display-buffer-2, display-buffer-other-frame):
21417 Restore old Emacs 23 code, order and doc-strings where applicable.
21418 (display-buffer-default, display-buffer-assq-regexp): New functions.
21419 (display-buffer-alist): Rewrite doc-string.
21420 (display-buffer-default-action)
21421 (display-buffer-overriding-action): New variables.
21422 (display-buffer, switch-to-buffer): Rewrite.
21423 (pop-to-buffer): Restore Emacs 23 behavior but use
21424 window-normalize-buffer-to-display.
21425 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21426 Restore Emacs 23 behavior but use
21427 window-normalize-buffer-to-switch-to.
21428 (pop-to-buffer-same-window): Rewrite.
21429 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21430 Rewrite using Emacs 23 options.
21431
21432 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21433
21434 * net/tramp.el (tramp-root-regexp): Remove.
21435 (tramp-completion-file-name-regexp-unified)
21436 (tramp-completion-file-name-regexp-separate)
21437 (tramp-completion-file-name-regexp-url): Don't use leading volume
21438 letter on w32 systems. (Bug#5303, Bug#9311)
21439 (tramp-drop-volume-letter): Simplify definition.
21440 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21441
21442 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21443
21444 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21445 (bug#9356).
21446
21447 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21448
21449 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21450
21451 2011-08-29 Juri Linkov <juri@jurta.org>
21452
21453 * isearch.el (isearch-done): Don't display message "Mark saved"
21454 when arg `edit' is non-nil to prevent its flicker in the echo area.
21455
21456 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21457
21458 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21459 obsolete packages for deletion.
21460
21461 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21462
21463 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21464 (help-mode): Derive help-mode from special-mode. Don't invoke
21465 view-mode from help-mode.
21466 (help-xref-override-view-map): Remove.
21467 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21468 view-mode is not used anymore.
21469
21470 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21471
21472 * server.el (server-port): Doc fix.
21473
21474 * cus-theme.el (custom-theme-choose-mode): Inherit from
21475 special-mode (Bug#9124).
21476 (custom-theme-choose-mode-map): Add special-mode to parent.
21477
21478 2011-08-28 Alan Mackenzie <acm@muc.de>
21479
21480 * progmodes/cc-fonts.el
21481 (c-make-font-lock-BO-decl-search-function): New function.
21482 (c-basic-matchers-after - "Fontify the clauses after various
21483 keywords"): Extract the three keyword lists for the 3 erroneous
21484 constructs from the list of four, and use the new function above
21485 in place of an old one.
21486
21487 2011-08-28 Deniz Dogan <deniz@dogan.se>
21488
21489 * net/rcirc.el (rcirc-insert-prev-input)
21490 (rcirc-insert-next-input): Remove unused argument.
21491
21492 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21493
21494 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21495
21496 2011-08-27 Alan Mackenzie <acm@muc.de>
21497
21498 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21499 handle function pointer parameters properly.
21500
21501 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21502
21503 * window.el (display-buffer-reuse-window): Fix case where
21504 selected window was reused with non-nil OTHER-WINDOW argument.
21505 (Bug#9381)
21506
21507 2011-08-27 Deniz Dogan <deniz@dogan.se>
21508
21509 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21510 oftc's NickServ messages.
21511
21512 2011-08-27 Glenn Morris <rgm@gnu.org>
21513
21514 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21515
21516 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21517
21518 * emacs-lisp/package.el (package-install): Call package-initialize
21519 if called interactively.
21520
21521 2011-08-26 Leo Liu <sdl.web@gmail.com>
21522
21523 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21524
21525 2011-08-25 Juri Linkov <juri@jurta.org>
21526
21527 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21528 `search-whitespace-regexp' (bug#9364).
21529
21530 2011-08-25 Juri Linkov <juri@jurta.org>
21531
21532 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21533 `regexp-search-ring' to their global values to protect from
21534 updating by `read-from-minibuffer' (bug#9185).
21535
21536 2011-08-25 Juri Linkov <juri@jurta.org>
21537
21538 * textmodes/ispell.el (ispell-command-loop): Add newline
21539 at the end of the "Use option `i'..." line.
21540
21541 2011-08-25 Juri Linkov <juri@jurta.org>
21542
21543 * battery.el (display-battery-mode): If `battery-status-function'
21544 or `battery-mode-line-format' is nil, display the message and set
21545 `display-battery-mode' to nil (bug#9363).
21546
21547 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21548
21549 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21550 bidi-string-mark-left-to-right; they are unnecessary now.
21551
21552 2011-08-25 Deniz Dogan <deniz@dogan.se>
21553
21554 * net/quickurl.el: Documentation typo fixes.
21555
21556 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21557
21558 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21559
21560 2011-08-25 Glenn Morris <rgm@gnu.org>
21561
21562 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21563
21564 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21565 (smtpmail-via-smtp): Handle nil response from smtp.
21566
21567 2011-08-24 Juri Linkov <juri@jurta.org>
21568
21569 * proced.el (proced-marked): Inherit from `error' instead of
21570 `font-lock-warning-face'.
21571
21572 * ibuffer.el (ibuffer-marked-face): Change default face from
21573 `font-lock-warning-face' to `warning'.
21574 (ibuffer-deletion-face): Change default face from
21575 `font-lock-type-face' to `error'.
21576
21577 * battery.el (battery-update): Use the face `error' instead of
21578 `font-lock-warning-face' (bug#6117).
21579
21580 2011-08-24 Juri Linkov <juri@jurta.org>
21581
21582 * faces.el (success): Change face color from "Green3" to
21583 "ForestGreen" on light background (bug#9353).
21584
21585 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21586
21587 * window.el (quit-window): Rename from quit-restore-window.
21588 Use same arglist as old quit-window.
21589 (frame-auto-delete): Doc fix.
21590
21591 * view.el (view-mode-exit): Use quit-window.
21592
21593 2011-08-24 Juri Linkov <juri@jurta.org>
21594
21595 * isearch.el (isearch-ring-adjust1): Start visiting previous
21596 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21597 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21598 for empty search string (when the last search string is reused
21599 automatically) to adjust the isearch ring to the last element and
21600 prepare the correct index for further M-p commands (bug#9185).
21601
21602 2011-08-24 Kenichi Handa <handa@m17n.org>
21603
21604 * international/ucs-normalize.el: If decomposition property of
21605 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21606 nil.
21607 (nfd, nfkd): Likewise.
21608
21609 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21610
21611 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21612 from process filters aren't reliably transmitted to the surrounding
21613 accept-process-output.
21614 (mpc-proc-check): New function.
21615 (mpc-proc-sync): Use it (bug#8293)
21616
21617 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21618
21619 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21620 Add compatibility functions (bug#9313).
21621
21622 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21623
21624 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21625
21626 * international/uni-bidi.el: Regenerate.
21627
21628 2011-08-23 Kenichi Handa <handa@m17n.org>
21629
21630 * international/charprop.el:
21631 * international/uni-bidi.el:
21632 * international/uni-category.el:
21633 * international/uni-combining.el:
21634 * international/uni-comment.el:
21635 * international/uni-decimal.el:
21636 * international/uni-decomposition.el:
21637 * international/uni-digit.el:
21638 * international/uni-lowercase.el:
21639 * international/uni-mirrored.el:
21640 * international/uni-name.el:
21641 * international/uni-numeric.el:
21642 * international/uni-old-name.el:
21643 * international/uni-titlecase.el:
21644 * international/uni-uppercase.el: Regenerate.
21645
21646 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21647
21648 * help.el (help-window-setup): Fix message displayed when other
21649 window is reused. (Bug#9341)
21650
21651 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21652
21653 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21654 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21655
21656 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21657 Mark obsolete.
21658 * shell.el (shell-parse-pcomplete-arguments): New function.
21659 (shell-completion-vars): Use it instead (bug#9160).
21660
21661 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21662
21663 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21664 strings and comments (bug#9333).
21665
21666 * emacs-lisp/debug.el (debug-arglist): New function.
21667 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21668 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21669
21670 2011-08-22 Juri Linkov <juri@jurta.org>
21671
21672 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21673 Revert regexp that highlights output switches to its old
21674 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21675
21676 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21677 to check for empty output (bug#9226).
21678
21679 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21680
21681 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21682 symbol-constituent as the default, as that stops font-lock from
21683 working properly (Bug#8843).
21684
21685 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21686
21687 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21688 `coding-system-for-*' around the process open call to avoid
21689 auth-source side effects.
21690 (smtpmail-try-auth-methods): Expand the secret password.
21691 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21692 probe hangs.
21693
21694 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21695
21696 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21697
21698 * emacs-lisp/find-func.el (find-function-noselect): New arg
21699 lisp-only.
21700
21701 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21702 signal an error for built-in functions (Bug#6664).
21703
21704 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21705
21706 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21707 (smtpmail-try-auth-methods): Use it.
21708
21709 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21710
21711 * font-lock.el (font-lock-fontify-region)
21712 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21713 (font-lock-default-unfontify-buffer)
21714 (font-lock-default-fontify-region)
21715 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21716
21717 * progmodes/compile.el (compilation-error-properties):
21718 Fix confusion between file struct and message struct (Bug#9319).
21719 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21720 `ant' regexp.
21721
21722 * net/browse-url.el (browse-url-firefox): Don't call
21723 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21724
21725 2011-08-20 Glenn Morris <rgm@gnu.org>
21726
21727 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21728
21729 * tutorial.el (tutorial--default-keys): Update some default bindings.
21730
21731 * files.el (hack-local-variables): Fully ignore case for "mode:".
21732
21733 2011-08-20 Alan Mackenzie <acm@muc.de>
21734
21735 Resolve invalid use of a regexp in regexp-opt.
21736
21737 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21738 detection for a java annotation.
21739
21740 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21741 detection for a java annotation.
21742
21743 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21744 handling for java.
21745 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21746
21747 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21748
21749 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21750 (Bug#9274).
21751
21752 2011-08-20 Alan Mackenzie <acm@muc.de>
21753
21754 Fontify CPP expressions correctly when starting in the middle of
21755 such a construct. Mainly for when jit-lock etc. starts a chunk
21756 here.
21757
21758 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21759 variable.
21760 (c-make-font-lock-search-form): New function, extracted from
21761 c-make-font-lock-search-function.
21762 (c-make-font-lock-search-function): Use the above function.
21763 (c-make-font-lock-context-search-function): New function.
21764 (c-cpp-matchers): Enhance the preprocessor expression case with
21765 the above function
21766 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21767 which takes an expression.
21768
21769 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21770
21771 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21772
21773 * window.el (display-buffer-reuse-window)
21774 (display-buffer-pop-up-window): Don't reuse or split a side
21775 window.
21776
21777 2011-08-19 Glenn Morris <rgm@gnu.org>
21778
21779 * files.el (hack-local-variables-prop-line, hack-local-variables):
21780 Downcase "Mode:". (Bug#9331)
21781
21782 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21783
21784 * international/characters.el: Add L and R categories.
21785
21786 * subr.el (bidi-string-mark-left-to-right): Rename from
21787 string-mark-left-to-right. Use category search.
21788
21789 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21790
21791 2011-08-18 Juri Linkov <juri@jurta.org>
21792
21793 * faces.el (error, warning, success): New faces with definitions
21794 copied from old default values of `font-lock-warning-face',
21795 `compilation-warning', `compilation-info' (bug#6117).
21796
21797 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21798
21799 * progmodes/compile.el (compilation-error): Inherit from `error'.
21800 (compilation-warning): Inherit from `warning'.
21801 (compilation-info): Inherit from `success'.
21802
21803 * dired.el (dired-marked): Inherit from `warning'.
21804 (dired-flagged): Inherit from `error'.
21805
21806 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21807
21808 * mail/smtpmail.el (auth-source): Require to avoid problems with
21809 binding variables (bug#9298). Also clean up some unused
21810 autoloads.
21811
21812 * net/network-stream.el (network-stream-open-starttls):
21813 Support using starttls.el without using gnutls-cli.
21814
21815 2011-08-17 Juri Linkov <juri@jurta.org>
21816
21817 * progmodes/grep.el (rgrep): Handle the case when
21818 `grep-find-command' is a cons cell (bug#9278).
21819
21820 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21821
21822 * window.el (display-buffer-pop-up-frame): Run frame creation
21823 function with BUFFER current (as special-display-popup-frame
21824 does). Reported by Drew Adams.
21825
21826 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21827
21828 * epa-mail.el: Simplify GnuPG group expansion using
21829 epg-expand-group.
21830 (epa-mail-group-alist, epa-mail-group-modtime)
21831 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21832 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21833 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21834 Remove.
21835
21836 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21837
21838 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21839
21840 2011-08-16 Alan Mackenzie <acm@muc.de>
21841
21842 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21843 Correct, to avoid the inside of macros.
21844
21845 2011-08-16 Richard Stallman <rms@gnu.org>
21846
21847 * epa-mail.el: Handle GnuPG group definitions.
21848 (epa-mail-group-alist, epa-mail-group-modtime)
21849 (epa-mail-gnupg-conf-file): New variables.
21850 (epa-mail-parse-groups, epa-mail-sync-groups)
21851 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21852 (epa-mail-expand-recipients): New functions.
21853 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21854
21855 * mail/rmail.el (rmail-epa-decrypt): New command.
21856
21857 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21858 Don't bind buffer-read-only, just inhibit-read-only.
21859 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21860 (epa-decrypt-armor-in-region): Make error message clearer.
21861
21862 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21863
21864 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21865 and "a2b" to "ab" for `prefix'.
21866
21867 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21868
21869 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21870 filter groups.
21871 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21872 Fourquet (Bug#8804).
21873
21874 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21875
21876 * startup.el (argi): Declare as global variable (bug#9275).
21877
21878 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21879
21880 * subr.el (string-mark-left-to-right): Search the entire string
21881 for RTL script, not just the terminating character. Doc fix.
21882
21883 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21884
21885 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21886 New function.
21887 (js--regexp-literal, js-syntax-propertize-function): Remove.
21888 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21889 (js-mode-map): Don't rebind electric keys.
21890 (js-insert-and-indent): Remove.
21891 (js-mode): Setup electric-layout and electric-indent instead.
21892
21893 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21894
21895 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21896
21897 * epa.el (epa-progress-callback-function): Fix the logic of
21898 displaying progress.
21899 * epa-file.el (epa-file-insert-file-contents): Make progress
21900 display more user-friendly.
21901 (epa-file-write-region): Ditto.
21902
21903 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21904
21905 * subr.el (string-mark-left-to-right): New function.
21906
21907 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21908 Use string-mark-left-to-right.
21909 (list-buffers-noselect): Caller changed.
21910
21911 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21912 Use string-mark-left-to-right.
21913 (tabulated-list-print): Recenter after moving point.
21914
21915 2011-08-10 Juri Linkov <juri@jurta.org>
21916
21917 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21918 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21919 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21920
21921 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21922
21923 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21924 (Bug#7554).
21925
21926 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21927
21928 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21929 character. (Bug#6594)
21930
21931 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21932
21933 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21934 (image-dired--with-db-file): New macro.
21935 (image-dired-write-tags, image-dired-remove-tag)
21936 (image-dired-create-gallery-lists, image-dired-write-comments)
21937 (image-dired-get-comment, image-dired-mark-tagged-files)
21938 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21939 (image-dired-gallery-generate): Use insert-file-contents.
21940
21941 * time.el (display-time-world-list, display-time-world-display):
21942 * time-stamp.el (time-stamp-string):
21943 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21944 set-time-zone-rule (Bug#7337).
21945
21946 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21947
21948 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21949 (epg-error-to-string, epg-errors-to-string): New function.
21950 (epg-wait-for-completion): Reverse errors list.
21951 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21952 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21953 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21954 (epg-sign-keys, epg-generate-key-from-file)
21955 (epg-generate-key-from-string): Format errors by using
21956 epg-errors-to-string (bug#9255).
21957 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21958
21959 2011-08-07 Juri Linkov <juri@jurta.org>
21960
21961 * faces.el (list-faces-display): Remove extra angle bracket
21962 from `help-mode-map'.
21963
21964 * info.el (Info-history-toc-nodes): Doc fix.
21965
21966 * longlines.el (longlines-mode): Doc fix.
21967
21968 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21969
21970 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21971 of statements and in a few more cases (bug#9183).
21972
21973 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21974 New functions.
21975 (cl-transform-lambda): Use them (bug#9239).
21976
21977 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21978
21979 * window.el (display-buffer-same-window)
21980 (display-buffer-same-frame, display-buffer-other-window)
21981 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21982 (pop-to-buffer-other-window)
21983 (pop-to-buffer-same-frame-other-window)
21984 (pop-to-buffer-other-frame): Make them defuns.
21985 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21986
21987 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21988
21989 * subr.el (make-composed-keymap): Move from C. Change calling
21990 convention, and improve docstring to bring attention to a subtle point.
21991 * minibuffer.el (completing-read-default): Adjust accordingly.
21992
21993 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21994
21995 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21996 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21997
21998 * net/trampver.el: Update release number.
21999
22000 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22001
22002 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22003 "in" (bug#9190).
22004
22005 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22006
22007 * mail/sendmail.el (sendmail-query-once): Restore the current
22008 buffer after querying (bug#9074).
22009
22010 * dired.el (dired-flagged): Use different faces for marked and
22011 flagged files (bug#6117).
22012
22013 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22014 (bug#4433).
22015
22016 * ido.el (ido-mode): Switch off the message if called
22017 non-interactively.
22018
22019 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22020 before 587, since it appears that that's more likely to work for
22021 more people.
22022
22023 * cus-edit.el (custom-file): When running under emacs -q, always
22024 refuse to save the customizations, even if the .emacs file doesn't
22025 exist.
22026
22027 * info.el: Remove the `Info-beginning-of-buffer' function
22028 (bug#8325).
22029
22030 * net/network-stream.el (network-stream-open-starttls):
22031 Use `starttls-available-p' to see whether starttls.el can be used.
22032
22033 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22034
22035 * window.el (display-buffer-in-window): Don't set dedicated status
22036 of window here (Bug#9215).
22037 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22038 (display-buffer-pop-up-side-window)
22039 (display-buffer-in-side-window): Set dedicated status of window here.
22040
22041 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22042
22043 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22044 before binding generated-autoload-file.
22045
22046 2011-08-01 Deniz Dogan <deniz@dogan.se>
22047
22048 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22049
22050 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22051
22052 Sync with Tramp 2.2.2.
22053
22054 * net/trampver.el: Update release number.
22055
22056 2011-07-30 Juri Linkov <juri@jurta.org>
22057
22058 * dired-aux.el (dired-touch-initial): Remove function.
22059 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22060 current time, and `default' to the last modification time of the
22061 current marked file (bug#6887).
22062
22063 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22064
22065 * simple.el (goto-line): Use string-to-number to provide a
22066 numeric argument to read-number (bug#9163).
22067
22068 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22069
22070 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22071 connection process, it could be nil.
22072
22073 2011-07-27 Leo Liu <sdl.web@gmail.com>
22074
22075 Simplify url handling in rcirc-mode.
22076
22077 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22078 (rcirc-browse-url-at-mouse): Remove.
22079 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22080
22081 2011-07-26 Alan Mackenzie <acm@muc.de>
22082
22083 Fontify bitfield declarations properly.
22084
22085 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22086 (c-symbol-chars): Now exported as a lang variable.
22087 (c-not-primitive-type-keywords): New lang variable.
22088
22089 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22090 QT keyword "more" to prevent "more slots: ...." being spuriously
22091 parsed as a bitfield declaration.
22092
22093 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22094 Refactor and enhance to handle bitfield declarations.
22095 (c-punctuation-in): New function.
22096 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22097 declarations properly.
22098
22099 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22100
22101 * calendar/icalendar.el (icalendar--all-events): Take care of
22102 multiple vcalendars in a single file.
22103 (icalendar--convert-float-to-ical): Checkdoc fixes.
22104
22105 2011-07-25 Deniz Dogan <deniz@dogan.se>
22106
22107 * image.el (insert-image): Clarifying docstring.
22108
22109 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22110
22111 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22112 `tramp-send-command-and-check' if there is no error.
22113 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22114
22115 2011-07-22 Alan Mackenzie <acm@muc.de>
22116
22117 Prevent cc-langs.elc being loaded at run time.
22118
22119 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22120 cc-langs.
22121
22122 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22123 "(require 'cc-langs)". Quote a form so it will evaluate at
22124 (cc-mode's) compilation time.
22125
22126 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22127
22128 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22129 loading. (Bug#9114)
22130
22131 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22132
22133 * window.el (display-buffer-pop-up-window)
22134 (display-buffer-pop-up-side-window)
22135 (display-buffer-in-side-window): Call display-buffer-set-height
22136 and display-buffer-set-width after setting the new window's
22137 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22138
22139 2011-07-20 Sam Steingold <sds@gnu.org>
22140
22141 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22142 (etags-tags-included-tables): Call `convert-standard-filename' on
22143 the file names contained in TAGS so that windows Emacs can handle
22144 TAGS files created by cygwin ctags.
22145
22146 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22147
22148 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22149 which apparently didn't work.
22150
22151 2011-07-19 Roland Winkler <winkler@gnu.org>
22152
22153 * proced.el (proced-send-signal): For *Marked Processes* buffer
22154 put point at beginning of buffer.
22155
22156 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22157
22158 * proced.el (proced-format): Make header lines align with the text
22159 (bug#1779).
22160
22161 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22162
22163 * view.el (view-buffer): Allow running in `special' modes if we're
22164 visiting a file (bug#8615).
22165
22166 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22167
22168 * window.el (display-buffer-alist-of-strings-p)
22169 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22170 New functions.
22171 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22172 more accurately.
22173
22174 2011-07-18 Alan Mackenzie <acm@muc.de>
22175
22176 Fontify declarators properly when, e.g., a jit-lock chunk begins
22177 inside a declaration.
22178
22179 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22180
22181 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22182 New function.
22183 (c-complex-decl-matchers): Insert reference to
22184 c-font-lock-enclosing-decls.
22185
22186 * progmodes/cc-engine.el (c-backward-single-comment):
22187 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22188 to nil around calls to (forward-comment -1).
22189
22190 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22191
22192 * image.el (put-image): Doc typo fix.
22193
22194 * progmodes/etags.el (tags-search): Doc typo fix.
22195
22196 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22197 password if we get errors 550 to 554.
22198
22199 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22200
22201 * net/gnutls.el (gnutls-log-level): Remove.
22202
22203 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22204 indentation character (bug#6380).
22205
22206 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22207
22208 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22209 to clarify what the problem is (bug#4291).
22210
22211 * simple.el (current-kill): Clarify what
22212 `interprogram-paste-function' does (bug#7500).
22213 (auto-fill-mode): Document `auto-fill-function' in relation to
22214 `auto-fill-mode' (bug#2470).
22215
22216 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22217
22218 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22219 method if slot is read-only (bug#9035).
22220
22221 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22222
22223 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22224 * window.el (pop-to-buffer): Select window used even if it was
22225 selected before, see discussion of (Bug#8615), (Bug#6954).
22226 Pass argument NORECORD on to select-frame-set-input-focus.
22227
22228 2011-07-15 Glenn Morris <rgm@gnu.org>
22229
22230 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22231 Respect help-form.
22232
22233 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22234
22235 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22236 (gnutls-negotiate): Use it.
22237
22238 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22239
22240 * net/gnutls.el (gnutls-negotiate):
22241 Upcase `gnutls-algorithm-priority'.
22242
22243 2011-07-15 Glenn Morris <rgm@gnu.org>
22244
22245 * jka-compr.el (jka-compr-verbose): Move from here...
22246 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22247 Add missing :version tag.
22248 * info.el: No need to require jka-compr when compiling.
22249
22250 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22251
22252 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22253 (gnutls-negotiate): Use it.
22254
22255 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22256
22257 * info.el (Info-beginning-of-buffer): New command.
22258 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22259 announcing `b' as the key (bug#8325).
22260 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22261
22262 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22263
22264 * international/mule-cmds.el
22265 (describe-specified-language-support): Make the error message
22266 clearer (bug#8905).
22267
22268 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22269
22270 * isearch.el (isearch-barrier): Add a doc string, since it's
22271 mentioned in a function doc string (bug#8678).
22272
22273 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22274
22275 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22276 buffer argument (Bug#9083) and self-identifying label argument.
22277
22278 2011-07-15 Glenn Morris <rgm@gnu.org>
22279
22280 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22281
22282 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22283
22284 * man.el (Man-fontify-manpage): Fix message when formatting the
22285 man page (bug#7929).
22286
22287 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22288
22289 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22290 argument LRM; if non-nil, append an invisible LRM character to the
22291 buffer name.
22292 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22293 last argument non-nil, when formatting buffer names.
22294 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22295 paragraph direction.
22296
22297 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22298
22299 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22300 the man page name (bug#7929).
22301
22302 * image.el (put-image): Mention the `put-image' overlay property
22303 (bug#7834).
22304
22305 * scroll-bar.el (set-scroll-bar-mode): Mention that
22306 `scroll-bar-mode' lists the values (bug#7772).
22307
22308 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22309 command (bug#7729).
22310
22311 * rect.el (apply-on-rectangle): Return the point after the last
22312 operation.
22313 (string-rectangle): Go to the point after the last operation
22314 (bug#7522).
22315
22316 * printing.el (pr-toggle-region): Clarify the documentation
22317 slightly (bug#7493).
22318
22319 * time.el (display-time-update):
22320 Allow `display-time-mail-function' to return nil (bug#7158).
22321 Fix suggested by Detlev Zundel.
22322
22323 * vc/diff.el (diff): Clarify the order the file names are read
22324 (bug#7111).
22325
22326 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22327 the doc string (bug#7015).
22328
22329 * font-lock.el (font-lock-maximum-decoration): Mention what
22330 numeric levels mean (bug#6935).
22331
22332 * startup.el (initial-buffer-choice): Don't mention the `none'
22333 selection, which is against policy.
22334
22335 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22336
22337 * window.el (display-buffer-normalize-special):
22338 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22339
22340 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22341
22342 * subr.el (version<, version<=, version=): Mention "-CVS" and
22343 "-12345" alpha version numbers.
22344
22345 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22346
22347 * bindings.el: Add advertised binding for set-mark-command
22348 (Bug#5772).
22349
22350 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22351
22352 * bindings.el (mode-line-other-buffer):
22353 * bookmark.el (bookmark-bmenu-2-window):
22354 * bs.el (bs-cycle-next, bs-cycle-previous):
22355 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22356 switch-to-buffer.
22357
22358 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22359 Delete.
22360
22361 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22362
22363 * follow.el (follow-debug-message, follow-redisplay):
22364 * jka-cmpr-hook.el (with-auto-compression-mode):
22365 Fix typos in docstrings.
22366
22367 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368
22369 * subr.el (with-silent-modifications): Clarify somewhat what the
22370 macro inhibits (bug#6525).
22371
22372 * simple.el (eval-expression): Note what it does if called
22373 interactively (bug#6495).
22374
22375 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22376
22377 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22378 Use pop-to-buffer buffer-or-name if it is nil.
22379
22380 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22381 Remove switch-to-buffer.
22382
22383 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22384
22385 * files.el (make-directory): Clarify that an error will be raised
22386 if there's an error (bug#6397).
22387
22388 * startup.el (initial-buffer-choice): Add `none' as a choice
22389 (bug#6234).
22390
22391 * subr.el (add-hook): Clarify section about buffer-local hooks
22392 (bug#6218).
22393
22394 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22395
22396 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22397
22398 * tabify.el (untabify): Preserve the current column so that point
22399 doesn't move (bug#6032).
22400
22401 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22402
22403 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22404 Rewrite to avoid awkward possessive "s" (bug#5986).
22405
22406 2011-07-13 Glenn Morris <rgm@gnu.org>
22407
22408 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22409 (dired-insert-directory): Give a message the first time
22410 if ls is found not to support --dired.
22411
22412 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22413
22414 * simple.el (toggle-truncate-lines): Clarify what is toggled
22415 (bug#5580). Text by Drew Adams.
22416
22417 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22418
22419 * simple.el (blink-matching-open): Make the error message from the
22420 last change less verbose.
22421
22422 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22423
22424 * font-lock.el (font-lock-comment-face): Use the high contrast
22425 "yellow" color for font-lock-comment-face on low color terminals
22426 using a dark background color (bug#4221).
22427
22428 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22429
22430 * dired.el (dired-insert-set-properties): Make the doc string
22431 reflect what it does now (bug#5325).
22432
22433 * simple.el (blink-matching-open): Say that we were unable to find
22434 the match within the limit, if we're limited (bug#5122).
22435
22436 * international/mule-cmds.el (prefer-coding-system): Add an
22437 example (bug#4869).
22438
22439 * progmodes/etags.el (tags-search): Document `file-list-form'
22440 (bug#4731).
22441
22442 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22443
22444 * net/browse-url.el (browse-url-default-browser)
22445 (browse-url-browser-function): Make the default browser choice a
22446 bit more logical (bug#4300). Also clean up the doc string.
22447
22448 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22449
22450 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22451 binary endings (bug#4440).
22452
22453 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22454
22455 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22456 which can be pretty annoying (bug#8971).
22457
22458 * jka-compr.el (jka-compr-verbose): New variable, and use
22459 throughout (bug#8971).
22460
22461 * info.el (Info-find-file): Fall back on the installation
22462 directory if we can't find the info node anywhere else.
22463
22464 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22465
22466 * vc/vc.el (vc-revert-file):
22467 Don't set file time-stamp in the past. (Bug#5181)
22468
22469 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22470
22471 * files.el (after-find-file): Give a better error message when
22472 trying to find a symlink that points to a file that doesn't exist
22473 (bug#4398).
22474
22475 * progmodes/cc-vars.el: Remove (probably) misleading comment
22476 (bug#4396).
22477
22478 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22479
22480 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22481
22482 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22483
22484 * mouse-sel.el: Hack restoring functionality, while keeping
22485 compatibility with 2010-07-03 changes to mouse selection.
22486 (mouse-sel-primary-overlay): New var.
22487 (mouse-sel-selection-alist): Use it.
22488 (mouse-sel-mode): Doc fix; remove points that are default features
22489 of mouse.el.
22490
22491 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22492
22493 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22494 Fix previous fix (bug#2490).
22495
22496 2011-07-12 Roland Winkler <winkler@gnu.org>
22497
22498 * textmodes/bibtex.el (bibtex-initialize):
22499 Use pop-to-buffer-same-window.
22500 (bibtex-search-entries): Fix interactive call.
22501
22502 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22503
22504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22505 Fontise bytecomp Error lines more correctly (bug#2490).
22506 Fix suggested by Johan Bockgård.
22507
22508 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22509
22510 * dired-x.el (dired-guess-default): Use `delete-dups'.
22511
22512 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22513
22514 * dired.el (dired-mark-prompt):
22515 * dired-aux.el (dired-read-shell-command): Doc fix.
22516
22517 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22518
22519 * mail/sendmail.el (sendmail-query-once):
22520 Use `customize-save-variable' unconditionally, now that it works under
22521 emacs -Q.
22522
22523 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22524
22525 * cus-edit.el (custom-file): Take an optional no-error variable.
22526 (customize-save-variable): Set the variable, and give a warning if
22527 running under "emacs -q".
22528
22529 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22530
22531 * loadhist.el (unload-feature-special-hooks):
22532 Add `auto-coding-functions', `fill-nobreak-predicate' and
22533 `find-directory-functions' (bug#5327).
22534
22535 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22536
22537 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22538
22539 * cus-edit.el (custom-guess-name-alist): -alist variables should
22540 use the `alist' type (bug#3120). Suggested by Drew Adams.
22541
22542 * printing.el: Add documentation to all the `pr-toggle-' commands.
22543
22544 2011-07-11 Leo Liu <sdl.web@gmail.com>
22545
22546 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22547 backends where it makes sense (bug#2623).
22548
22549 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22550
22551 * dired-x.el (dired-guess-default): Remove duplicate shell command
22552 entries (bug#2028).
22553 (dired-guess-default): Fix grammar in doc string (bug#2028).
22554 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22555
22556 * subr.el (remove-duplicates): New conveniency function.
22557
22558 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22559
22560 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22561 (bug#1526).
22562
22563 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22564
22565 * window.el (display-buffer-normalize-default): Don't invert
22566 meaning of even-window-heights. Reported by Eli Zaretskii
22567 <eliz@gnu.org>.
22568
22569 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22570
22571 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22572
22573 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22574
22575 * window.el (display-buffer): Fix arguments to
22576 display-buffer-reuse-window in last change.
22577
22578 * faces.el (link): Use a less saturated blue on light backgrounds.
22579
22580 * startup.el (fancy-startup-text, fancy-about-text)
22581 (fancy-startup-tail): Use font-lock faces, for background safety.
22582
22583 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22584
22585 * emulation/viper-cmd.el (viper-change-state-to-vi):
22586 Limit triggering of abbrev expansion (Bug#9038).
22587
22588 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22589
22590 * window.el (display-buffer-default-specifiers): Remove.
22591 (display-buffer-macro-specifiers): Remove default specifiers.
22592 (display-buffer-alist): Default to nil.
22593 (display-buffer-reuse-window): New optional argument other-window.
22594 (display-buffer-pop-up-window): Allow splitting internal
22595 windows. Check whether a live window was created.
22596 (display-buffer-other-window-means-other-frame)
22597 (display-buffer-normalize-arguments): Rename to
22598 display-buffer-normalize-argument and rewrite. Set the
22599 other-window specifier.
22600 (display-buffer-normalize-special): New function.
22601 (display-buffer-normalize-options): Rename to
22602 display-buffer-normalize-default and rewrite.
22603 (display-buffer-normalize-options-inhibit): Remove.
22604 (display-buffer-normalize-specifiers): Rewrite.
22605 (display-buffer): Process other-window specifier and call
22606 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22607 more faithfully.
22608 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22609 (display-buffer-alist-set): Don't handle 'unset default values.
22610 (display-buffer-in-window, display-buffer-alist-set):
22611 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22612 <tassilo@member.fsf.org>.
22613
22614 2011-07-09 Leo Liu <sdl.web@gmail.com>
22615
22616 * register.el (insert-register): Restore accidental change on
22617 2011-06-26. (Bug#9028)
22618
22619 2011-07-09 Glenn Morris <rgm@gnu.org>
22620
22621 * subr.el (remq): Handle the empty list. (Bug#9024)
22622
22623 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22624
22625 * mail/sendmail.el (send-mail-function): No longer delay custom
22626 initialization.
22627 * custom.el (custom-initialize-delay): Doc fix.
22628
22629 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22630
22631 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22632
22633 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22634
22635 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22636 human-friendly prompt.
22637
22638 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22639
22640 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22641 provided by a particular plugin.
22642
22643 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22644
22645 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22646 save customizations (with "emacs -Q"), just set the variable
22647 instead of erroring out.
22648
22649 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22650
22651 2011-07-08 Juri Linkov <juri@jurta.org>
22652
22653 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22654 (archive-zip-update-case): Use 7z if found by `executable-find'.
22655 The order of searching the available programs is the same as in
22656 `archive-zip-extract' (bug#8968).
22657
22658 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22659
22660 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22661 (menu-bar-options-menu): Tweak descriptions.
22662
22663 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22664
22665 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22666 menu items into verb phrases (bug#1421). Also refill to fit under
22667 80 columns.
22668
22669 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22670
22671 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22672 (Info-read-node-name): Doc fix (Bug#1084).
22673
22674 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22675 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22676 (end-of-sexp, beginning-of-sexp)
22677 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22678 (forward-symbol, forward-same-syntax, word-at-point)
22679 (sentence-at-point): Doc fix (Bug#1144).
22680
22681 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22682
22683 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22684 should cover it (bug#1281).
22685
22686 * cus-edit.el (custom-show): Mark as obsolete.
22687
22688 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22689 negotiation fails, then possibly try again with a non-encrypted
22690 connection (bug#9017).
22691
22692 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22693 be used.
22694
22695 2011-07-07 Richard Stallman <rms@gnu.org>
22696
22697 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22698 property, and handle its changed format.
22699 Look for the correct line number.
22700 Use file's line contents (but not past first =) to find
22701 correct line in message.
22702
22703 2011-07-07 Kenichi Handa <handa@m17n.org>
22704
22705 * international/characters.el (build-unicode-category-table):
22706 Delete it.
22707 (unicode-category-table): Set it by unicode-property-table-internal.
22708
22709 * international/mule-cmds.el (char-code-property-alist): Move to
22710 to src/chartab.c.
22711 (get-char-code-property): Call unicode-property-table-internal to
22712 load a file. Call get-unicode-property-internal where necessary.
22713 (put-char-code-property): Call unicode-property-table-internal to
22714 load a file. Call put-unicode-property-internal where necessary.
22715 put-unicode-property-internal where necessary.
22716 (char-code-property-description):
22717 Call unicode-property-table-internal to load a file.
22718
22719 * international/charprop.el:
22720 * international/uni-bidi.el:
22721 * international/uni-category.el:
22722 * international/uni-combining.el:
22723 * international/uni-comment.el:
22724 * international/uni-decimal.el:
22725 * international/uni-decomposition.el:
22726 * international/uni-digit.el:
22727 * international/uni-lowercase.el:
22728 * international/uni-mirrored.el:
22729 * international/uni-name.el:
22730 * international/uni-numeric.el:
22731 * international/uni-old-name.el:
22732 * international/uni-titlecase.el:
22733 * international/uni-uppercase.el: Regenerate.
22734
22735 * loadup.el: Load international/charprop.el before
22736 international/characters.
22737
22738 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22739
22740 * window.el (next-buffer, previous-buffer): Signal an error if
22741 called from a minibuffer window.
22742
22743 * bindings.el: Revert 2011-07-04 change.
22744
22745 2011-07-06 Richard Stallman <rms@gnu.org>
22746
22747 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22748 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22749 Treat markers like ints.
22750 (rmail-mime-entity): Doc fix.
22751
22752 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22753
22754 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22755 defcustom again for backwards compatibility.
22756
22757 * simple.el (shell-command-on-region): Fill.
22758
22759 * dired-aux.el (dired-kill-line): Add a doc string.
22760
22761 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22762 to "\\sw\\|\\s_" (bug#358).
22763
22764 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22765 (dired-unmark-backward): Ditto.
22766 (dired-flag-backup-files): Ditto.
22767
22768 * dired-x.el (dired-mark-sexp): Ditto.
22769
22770 2011-07-06 Richard Stallman <rms@gnu.org>
22771
22772 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22773 (rmail-mime-entity): New arg TRUNCATED.
22774 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22775 New functions.
22776 (rmail-mime-save): Warn if entity is truncated.
22777 (rmail-mime-toggle-hidden): Likewise, for showing.
22778 (rmail-mime-process-multipart): Record when an entity is truncated.
22779
22780 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22781 if ENTITY is a string.
22782
22783 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22784
22785 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22786 of faces when `M-C-x'-ing their definitions (bug#8378).
22787 Also clean up the code slightly.
22788
22789 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22790 because that makes the colors go away.
22791
22792 * mail/sendmail.el (send-mail-function): Change the default to
22793 `sendmail-query-once'.
22794 (sendmail-query-once): Add an autoload cookie.
22795
22796 * net/network-stream.el (network-stream-open-starttls): Try using
22797 a plain connection even if the server offered STARTTLS, and we
22798 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22799 capability. This should make smtpmail.el work in slightly more
22800 configurations.
22801
22802 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22803
22804 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22805 New defun.
22806 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22807
22808 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22809
22810 * progmodes/sql.el: Version 3.0
22811 (sql-product-alist): Add product :completion-object,
22812 :completion-column, and :statement attributes.
22813 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22814 (sql-mode-syntax-table): Mark all punctuation.
22815 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22816 ansi keywords.
22817 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22818 (sql-mode-oracle-font-lock-keywords): Improve.
22819 (sql-oracle-show-reserved-words): New function for development.
22820 (sql-product-font-lock): Simplify for source code buffers.
22821 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22822 New functions.
22823 (sql-highlight-product): Set product specific syntax table.
22824 (sql-mode-map): Add statement movement functions.
22825 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22826 New variable.
22827 (sql-statement-regexp, sql-beginning-of-statement)
22828 (sql-end-of-statement, sql-signum): New functions.
22829 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22830 (sql-show-sqli-buffer): Bug fix.
22831 (sql-interactive-mode): Store connection data as buffer local.
22832 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22833 with sql-interactive-mode.
22834 (sql-save-connection): Save buffer local settings.
22835 (sql-connection-menu-filter): Change menu entry name.
22836 (sql-product-interactive): Bug fix.
22837 (sql-preoutput-hold): New variable.
22838 (sql-interactive-remove-continuation-prompt): Bug fixes.
22839 (sql-debug-redirect): New variable.
22840 (sql-str-literal): New function.
22841 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22842 Redesign.
22843 (sql-oracle-save-settings, sql-oracle-restore-settings)
22844 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22845 (sql-completion-object, sql-completion-column)
22846 (sql-completion-sqlbuf): New variables.
22847 (sql-build-completions-1, sql-build-completions)
22848 (sql-try-completion): New functions.
22849 (sql-read-table-name): Use them.
22850 (sql-contains-names): New buffer local variable.
22851 (sql-list-all, sql-list-table): Use it.
22852 (sql-oracle-completion-types): New variable.
22853 (sql-oracle-completion-object, sql-sqlite-completion-object)
22854 (sql-postgres-completion-object): New functions.
22855
22856 2011-07-06 Glenn Morris <rgm@gnu.org>
22857
22858 * window.el (pop-to-buffer): Doc fix.
22859
22860 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22861
22862 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22863
22864 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22865
22866 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22867
22868 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22869
22870 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22871
22872 * button.el (button): Inherit from link face. Suggested by Dan
22873 Nicolaescu.
22874
22875 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22876
22877 * progmodes/gdb-mi.el: Fit in 80 columns.
22878 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22879 switch-to-buffer.
22880
22881 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22882 if imenu is simply not configured (bug#8941).
22883
22884 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22885
22886 * allout.el (allout-post-undo-hook): New allout outline-change
22887 event hook to signal undo activity.
22888 (allout-post-command-business): Run allout-post-undo-hook if an
22889 undo just occurred.
22890 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22891 * allout-widgets.el (allout-widgets-after-undo-function):
22892 Ensure the integrity of the current item's decoration after it has been
22893 in the vicinity of an undo.
22894 (allout-widgets-mode): Include allout-widgets-after-undo-function
22895 on the new allout-post-undo-hook.
22896
22897 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22898
22899 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22900 Let define-derived-mode define it.
22901 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22902 cycles of abbrev-table inheritance (bug#8998).
22903
22904 2011-07-05 Roland Winkler <winkler@gnu.org>
22905
22906 * textmodes/bibtex.el: Add support for biblatex.
22907 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22908 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22909 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22910 (bibtex-entry-alist, bibtex-field-alist): New variables.
22911 (bibtex-entry-field-alist): Obsolete alias for
22912 bibtex-BibTeX-entry-alist.
22913 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22914 (bibtex-set-dialect): New command.
22915 (bibtex-entry-type, bibtex-entry-head)
22916 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22917 Bind via bibtex-set-dialect.
22918 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22919 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22920 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22921 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22922 Define via bibtex-set-dialect.
22923 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22924 Obey bibtex-no-opt-remove-re.
22925 (bibtex-vec-push, bibtex-vec-incr): New functions.
22926 (bibtex-format-entry, bibtex-field-list)
22927 (bibtex-print-help-message, bibtex-validate)
22928 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22929
22930 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22931
22932 * progmodes/compile.el (compilation-goto-locus):
22933 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22934 * bs.el (bs-cycle-next, bs-cycle-previous):
22935 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22936 * bindings.el (mode-line-other-buffer):
22937 * autoinsert.el (auto-insert):
22938 * arc-mode.el (archive-extract):
22939 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22940
22941 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22942
22943 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22944 Fix check of `emacs-lock-unlockable-modes'.
22945 Coerce true values of `emacs-lock--try-unlocking' to t.
22946
22947 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22948
22949 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22950 * emacs-lock.el: New file.
22951
22952 2011-07-05 Julien Danjou <julien@danjou.info>
22953
22954 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22955 than `boundp' to check if face is set.
22956
22957 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22958
22959 * register.el (registerv-make):
22960 * window.el (window-min-height): Fix typos in docstrings.
22961
22962 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22963
22964 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22965 Update doc string.
22966
22967 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22968
22969 * server.el (server-execute): Catch quit and call
22970 `server-return-error' to pass the error back to emacsclient and
22971 close the connection (bug#8942).
22972
22973 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22974
22975 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22976 insecure exception for current topic. Also note that auto-saves
22977 are handled differently.
22978
22979 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22980 State variables for tracking auto-save inhibition situation.
22981
22982 (allout-write-contents-hook-handler): Rename from
22983 'allout-write-file-hook-handler', and describe how it depends on
22984 write-contents-functions sensitivity to non-nil value to prevent
22985 file write.
22986
22987 (allout-auto-save-hook-handler): Remove. auto-save does not check
22988 this in individual buffers, only in the starting buffer, so this
22989 is not the right way for us to inhibit auto-save in a buffer
22990 according to its condition.
22991
22992 (allout-mode): Use new allout-write-contents-hook-handler, and
22993 only with write-contents-functions. Remove auto-save provisions -
22994 they're implemented elsewhere.
22995
22996 (allout-before-change-handler): If undo is in progress, note that
22997 for attention of allout-post-command-business.
22998
22999 (allout-post-command-business): If the command we're following was
23000 an undo, check for change in the status of encrypted items and
23001 adjust auto-save inhibitions accordingly.
23002
23003 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23004 according to whether there are or aren't any plain-text topics
23005 pending encryption.
23006
23007 (allout-inhibit-auto-save-info-for-decryption):
23008 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23009 if there are plain-text topics pending encryption.
23010
23011 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23012 buffer-saved-size and some allout state to not inhibit auto-saves
23013 if there are no longer any plain-text topics pending encryption.
23014
23015 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23016 No longer provide for exemption of the current topic.
23017
23018 2011-07-04 Juri Linkov <juri@jurta.org>
23019
23020 Add 7z operations to delete and save changed members (bug#8968).
23021 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23022 New defcustoms.
23023 (archive-7z-write-file-member): New function.
23024 (archive-7z-summarize): Fix the number of dashes in the
23025 listing output.
23026
23027 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23028
23029 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23030 (bug#8958).
23031
23032 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23033
23034 * bindings.el: Ignore next-buffer and previous-buffer in
23035 minibuffer-local-map.
23036
23037 * font-lock.el (font-lock-builtin-face): Change light background
23038 color to dark slate blue (Bug#6693).
23039
23040 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23041
23042 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23043
23044 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23045
23046 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23047 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23048 Add switch-to-buffer.
23049
23050 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23051
23052 * isearch.el (isearch-search-fun-function): Clarify further the
23053 meaning of the function returned.
23054
23055 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23056
23057 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23058
23059 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23060 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23061 Use it.
23062 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23063 `tramp-default-remote-path' does not exist.
23064 (tramp-send-command-and-read): New optional argument NOERROR.
23065 (tramp-open-connection-setup-interactive-shell)
23066 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23067 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23068 (tramp-process-sentinel): Flush also process' connection property.
23069 (tramp-sh-handle-start-file-process): Do not set process
23070 sentinel. It is done now ...
23071 (tramp-maybe-open-connection): ... here. (Bug#8929)
23072
23073 2011-07-04 MON KEY <monkey@sandpframing.com>
23074
23075 * play/animate.el (animate-string): Doc fixes and allow changing
23076 the buffer name (bug#5417).
23077
23078 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23079
23080 * play/animate.el (animation-buffer-name): Rename from *animate*.
23081
23082 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23083
23084 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23085 This is simpler and helps future-proof the code.
23086 (timer-until): Use time-subtract and float-time.
23087 (timer--time-less-p): Use time-less-p.
23088
23089 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23090
23091 * type-break.el (timep): Use the value of `float-time' to avoid a
23092 byte-compiler warning.
23093
23094 * server.el (server-eval-and-print): Return any result, even nil.
23095
23096 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23097
23098 * type-break.el: Accept time formats that the builtins accept.
23099 (timep, type-break-time-difference): Accept any format that
23100 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23101 This is simpler and helps future-proof the code.
23102 (type-break-time-difference): Round rather than ignoring
23103 subseconds components.
23104
23105 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23106
23107 * info.el (Info-apropos-matches): Make non-interactive, since it
23108 doesn't seem to do anything useful as a command (bug#8829).
23109
23110 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23111
23112 * frame.el (frame-background-mode, frame-set-background-mode):
23113 Move from faces.el.
23114 (frame-default-terminal-background): New function.
23115
23116 * custom.el (custom-push-theme): Don't record faces in `changed'
23117 theme; this doesn't work correctly for per-frame face settings.
23118 (disable-theme): Use face-set-after-frame-default to reset faces.
23119 (custom--frame-color-default): New function.
23120
23121 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23122
23123 * dired.el (dired-flagging-regexp): Remove unused variable
23124 (bug#8769).
23125
23126 2011-03-29 Kevin Ryde <user42@zip.com.au>
23127
23128 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23129 `perl-Test2' extend to match possible "fail #N" rep count
23130 (bug#8377).
23131
23132 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23133
23134 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23135 `smtpmail-via-smtp' now returns the error instead of nil.
23136
23137 * isearch.el (isearch-search-fun-function): Clarify the doc string
23138 (bug#8101).
23139
23140 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23141
23142 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23143 unnecessary spaces (bug#8987).
23144
23145 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23146
23147 * net/network-stream.el (open-network-stream): Use the
23148 :end-of-capability command thoughout.
23149
23150 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23151
23152 * net/network-stream.el (open-network-stream): Add the
23153 :end-of-capability command parameter, used by pop3.el.
23154
23155 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23156
23157 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23158
23159 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23160 for list)" (bug#6475).
23161
23162 * files.el (file-expand-wildcards): Ignore non-readable
23163 sub-directories while trying to find matches instead of signaling
23164 an error (bug#6297).
23165
23166 * man.el (Man-reference-regexp): Allow matching possible
23167 word-wrapped references (bug#6289).
23168
23169 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23170 for consistency with the other vc buffers (bug#6197).
23171 (vc-checkin): Ditto.
23172
23173 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23174
23175 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23176
23177 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23178
23179 * custom.el (defcustom): Clarify that :set is only used in the
23180 Customize user interface (bug#6089).
23181
23182 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23183 associated with a file, refuse to run instead of erroring out
23184 (bug#6084).
23185
23186 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23187 the doc string, since it appears that using `fill-column' always
23188 controls the width (bug#7845).
23189
23190 * simple.el (shell-command-on-region): Say where the error output
23191 went if `shell-command-default-error-buffer' is set (bug#6857).
23192
23193 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23194
23195 * allout.el (allout-yank-processing): Adjust cursor position for
23196 backwards-deleted space.
23197
23198 (allout-rebullet-heading): Register changes with
23199 allout-exposure-changed-hook, so the modified topic is properly
23200 decorated.
23201
23202 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23203
23204 * minibuffer.el (completion-in-region): Document PREDICATE
23205 (bug#7136).
23206
23207 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23208 of keyword/argument pairs (bug#6904).
23209
23210 * replace.el (multi-occur):
23211 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23212
23213 2011-07-02 Drew Adams <drew.adams@oracle.com>
23214
23215 * dired.el (dired-mark-if): Make the message about whether it's
23216 marking or unmarking clearer (bug#8523).
23217
23218 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23219
23220 * disp-table.el (display-table-print-array): New function.
23221 (describe-display-table): Use it to print the vectors more pretty
23222 (Bug#8859).
23223
23224 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23225
23226 * window.el (window-state-get-1): Don't assign clone numbers.
23227 Add clone-of item to list of window parameters.
23228 (window-state-put-2): Don't process clone numbers.
23229 (display-buffer-alist): Fix doc-string.
23230
23231 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23232
23233 * subr.el (remq): Don't allocate if it's not needed.
23234 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23235 (keymap--merge-bindings): New functions.
23236 (keymap-canonicalize): Use them to refine the canonicalization.
23237 * minibuffer.el (minibuffer-local-completion-map)
23238 (minibuffer-local-must-match-map): Move initialization from C.
23239 (minibuffer-local-filename-completion-map): Move initialization from C;
23240 don't inherit from anything here.
23241 (minibuffer-local-filename-must-match-map): Make obsolete.
23242 (completing-read-default): Use make-composed-keymap to combine
23243 minibuffer-local-filename-completion-map with either
23244 minibuffer-local-must-match-map or
23245 minibuffer-local-filename-completion-map.
23246
23247 2011-07-01 Glenn Morris <rgm@gnu.org>
23248
23249 * type-break.el (type-break-time-sum): Use dolist.
23250
23251 * textmodes/flyspell.el (flyspell-word-search-backward):
23252 Replace CL function.
23253
23254 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23255
23256 * mouse.el (mouse--strip-first-event): New function.
23257 (function-key-map): Use it to map fringe clicks to normal clicks
23258 by default.
23259
23260 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23261 (vc-bzr-revision-completion-table): Add support for annotate and date.
23262
23263 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23264 inherit from parent.
23265
23266 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23267
23268 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23269 (dired-show-file-type): Doc fixup (bug#8818).
23270
23271 * dired.el (dired-mode): Fix up the doc string as suggested by
23272 Drew Adams (bug#8817).
23273
23274 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23275 cookie, since the manual says that it should be possible to add
23276 this function to `find-file-hook' (bug#8709).
23277
23278 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23279
23280 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23281 here. Noted Ted Zlatanov as the maintainer.
23282 (cfengine-common-settings, cfengine-common-syntax): New functions
23283 to set up common things between `cfengine-mode' and
23284 `cfengine3-mode'.
23285 (cfengine3-mode): New mode.
23286 (cfengine3-defuns cfengine3-defuns-regex
23287 (cfengine3-class-selector-regex cfengine3-category-regex)
23288 (cfengine3-vartypes cfengine3-font-lock-keywords)
23289 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23290 (cfengine3-indent-line): Add from cfengine3.el.
23291
23292 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23293
23294 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23295
23296 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23297
23298 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23299
23300 * window.el (same-window-buffer-names, same-window-regexps)
23301 (same-window-p, special-display-frame-alist)
23302 (special-display-popup-frame, special-display-function)
23303 (special-display-buffer-names, special-display-regexps)
23304 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23305 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23306 (split-window-preferred-function, split-height-threshold)
23307 (split-width-threshold, even-window-heights)
23308 (display-buffer-mark-dedicated, window-splittable-p)
23309 (split-window-sensibly, window-safely-shrinkable-p):
23310 Un-obsolete.
23311 (display-buffer): Don't spread args with function specifier
23312 because special-display-popup-frame won't like it.
23313
23314 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23315
23316 Time-stamp simplifications and fixes.
23317 These improve accuracy slightly, and future-proof the code
23318 against some potential changes to current-time format.
23319
23320 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23321 by using time-since and float-time.
23322
23323 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23324 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23325 + NNN microseconds".
23326
23327 * type-break.el (type-break-time-sum): Rewrite using time-add.
23328
23329 * play/hanoi.el (hanoi-current-time-float): Remove.
23330 All uses replaced by float-time.
23331
23332 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23333 This yields a more-accurate answer.
23334 (rng-time-to-float): Remove; no longer needed.
23335
23336 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23337
23338 * calendar/timeclock.el (timeclock-seconds-to-time):
23339 Defalias to seconds-to-time, since they're the same thing.
23340
23341 * emacs-lisp/elp.el (elp-elapsed-time):
23342 * emacs-lisp/benchmark.el (benchmark-elapse):
23343 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23344
23345 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23346
23347 * window.el (bury-buffer): Don't iconify the only frame.
23348 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23349 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23350
23351 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23352
23353 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23354 Add mouse-yank-primary.
23355
23356 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23357
23358 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23359
23360 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23361
23362 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23363 (find-library-name): Use it to find relative load names when provided
23364 absolute file name (bug#8803).
23365
23366 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23367
23368 * textmodes/flyspell.el (flyspell-word): Consider words that
23369 differ only in case as potential doublons (bug#5687).
23370
23371 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23372 Remove two rather uninteresting debugging-like messages to make
23373 debbugs.el more silent.
23374
23375 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23376 a password-like phrase.
23377
23378 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23379
23380 * progmodes/cc-guess.el: New file.
23381
23382 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23383
23384 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23385 derived from `c-basic-common-init'.
23386
23387 * progmodes/cc-mode.el (top-level): Require cc-guess.
23388 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23389
23390 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23391
23392 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23393
23394 2011-06-30 Alan Mackenzie <acm@muc.de>
23395
23396 * progmodes/cc-engine.el (c-guess-continued-construct):
23397 Correct the handling of template-args-cont, particularly for when font
23398 lock is disabled. Name this case as "CASE G".
23399
23400 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23401
23402 * allout.el (allout-yank-processing): Fix injection of extra space
23403 between bullet and non-whitespace character in first topic when
23404 pasting, ensuring that the actual spacing in the pasted topic
23405 following the bullet char is preserved. This extra space was
23406 causing pasted encrypted topics to get a decrypted status even
23407 when the content was actually still encrypted. Now the decryption
23408 status from before the paste is preserved.
23409
23410 (allout-flag-region): Set all allout overlays so they evaporate
23411 when reduced to zero length (evanescent), to prevent overlay
23412 leakage.
23413
23414 2011-06-30 Glenn Morris <rgm@gnu.org>
23415
23416 * w32-fns.el (w32-charset-info-alist): Declare.
23417
23418 * find-dired.el (find-grep-options): Simplify.
23419
23420 * term/ns-win.el (ns-set-resource): Declare.
23421
23422 * ses.el (row, col): Declare dynamic variables honestly.
23423
23424 * textmodes/reftex-parse.el (index-tags): Declare.
23425
23426 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23427
23428 * cus-edit.el (customize-push-and-save): New function.
23429
23430 * files.el (hack-local-variables-confirm): Use it.
23431
23432 * custom.el (load-theme): New arg NO-CONFIRM.
23433 Use customize-push-and-save (Bug#8720).
23434 (custom-enabled-themes): Doc fix.
23435
23436 * cus-theme.el (customize-create-theme)
23437 (custom-theme-merge-theme): Callers to load-theme changed.
23438
23439 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23440
23441 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23442 short URLs have at least one dot in them (bug #7614).
23443
23444 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23445 nil, because using a pty is apparently too slow (bug #895).
23446
23447 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23448
23449 * mail/sendmail.el (sendmail-query-once): New function.
23450 (sendmail-query-once-function): New variable.
23451
23452 2011-06-29 Glenn Morris <rgm@gnu.org>
23453
23454 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23455
23456 * ses.el (top-level): Require cl when compiling.
23457 (ses-set-localvars): Fix error statement.
23458 Call it at compile time to silence a storm of warnings.
23459
23460 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23461
23462 * window.el (normalize-live-buffer): Rename to
23463 window-normalize-buffer.
23464 (normalize-live-frame): Rename to window-normalize-frame.
23465 (normalize-any-window): Rename to window-normalize-any-window.
23466 (normalize-live-window): Rename to window-normalize-live-window.
23467 (make-window-atom): Rename to window-make-atom.
23468 (window-resize-reset): Rename to window--resize-reset.
23469 (window-resize-reset-1): Rename to window--resize-reset-1.
23470 (resize-mini-window): Rename to window--resize-mini-window.
23471 (resize-subwindows-skip-p): Rename to
23472 window--resize-subwindows-skip-p.
23473 (resize-subwindows-normal): Rename to
23474 window--resize-subwindows-normal.
23475 (resize-subwindows): Rename to window--resize-subwindows.
23476 (resize-other-windows): Rename to window--resize-siblings.
23477 (resize-this-window): Rename to window--resize-this-window.
23478 (resize-root-window): Rename to window--resize-root-window.
23479 (resize-root-window-vertically): Rename to
23480 window--resize-root-window-vertically.
23481 (normalize-buffer-to-display): Rename to
23482 window-normalize-buffer-to-display.
23483 (normalize-buffer-to-switch-to): Rename to
23484 window-normalize-buffer-to-switch-to.
23485 Correspondingly update all callers of the functions listed
23486 above.
23487 (display-buffer-alist, display-buffer-normalize-arguments)
23488 (display-buffer-normalize-options, display-buffer)
23489 (display-buffer-alist-set): Use "function" instead of
23490 "fun-with-args".
23491
23492 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23493
23494 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23495 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23496 debbugs.gnu.org. Mention acknowledgment email.
23497
23498 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23499
23500 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23501 buffer multibyteness, since it shouldn't matter.
23502
23503 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23504
23505 * window.el (display-buffer-in-side-window): Handle dedicated
23506 windows as in display-buffer-reuse-window.
23507 (display-buffer-normalize-alist): Use value of override
23508 specifier.
23509 (display-buffer-normalize-specifiers): Use value of
23510 other-window-means-other-frame specifier.
23511 (display-buffer-alist): Rewrite some texts in widgets.
23512 (display-buffer): Spread arguments when calling function
23513 specified by fun-with-args.
23514
23515 2011-06-28 Deniz Dogan <deniz@dogan.se>
23516
23517 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23518 Unnest `let'.
23519
23520 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23521 selectors (Bug#5732).
23522 (css-proprietary-nmstart-re): Use `regexp-opt'.
23523
23524 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23525
23526 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23527 (eshell-ls-date-format): New defcustom.
23528 (eshell-ls-file): Use it.
23529
23530 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23531
23532 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23533
23534 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23535
23536 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23537 (ange-ftp-make-tmp-name): New arg.
23538 (ange-ftp-file-local-copy): Use it.
23539
23540 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23541
23542 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23543 no-conversion (Bug#8870).
23544
23545 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23546
23547 * window.el (window-right, window-left, window-child)
23548 (window-child-count, window-last-child)
23549 (window-iso-combination-p, walk-window-tree-1)
23550 (window-atom-check-1, window-tree-1, delete-window)
23551 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23552 new naming conventions - window-vchild, window-hchild,
23553 window-next and window-prev are now called window-top-child,
23554 window-left-child, window-next-sibling and window-prev-sibling
23555 respectively.
23556 (resize-window-reset): Rename to window-resize-reset.
23557 (resize-window-reset-1): Rename to window-resize-reset-1.
23558 (resize-window): Rename to window-resize.
23559 (window-min-height, window-min-width)
23560 (resize-mini-window, resize-this-window, resize-root-window)
23561 (resize-root-window-vertically, adjust-window-trailing-edge)
23562 (enlarge-window, shrink-window, maximize-window)
23563 (minimize-window, delete-window, quit-restore-window)
23564 (split-window, balance-windows, balance-windows-area-adjust)
23565 (balance-windows-area, window-state-put-2)
23566 (display-buffer-even-window-sizes, display-buffer-set-height)
23567 (display-buffer-set-width, set-window-text-height)
23568 (fit-window-to-buffer): Rename all "resize-window" prefixed
23569 calls to use the "window-resize" prefix convention.
23570 (display-buffer-alist): Fix symbol for label specifier.
23571 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23572 corresponding specifier.
23573 Reported by Juanma Barranquero <lekktu@gmail.com>.
23574
23575 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23576
23577 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23578 convention.
23579 (ses-call-printer): Does not pass an empty string to formatter when the
23580 cell is empty to keep from barking printer Calc math-format-value.
23581
23582 2011-06-27 Richard Stallman <rms@gnu.org>
23583
23584 * battery.el (battery-mode-line-limit): New variable.
23585 (battery-update): Handle it.
23586
23587 * mail/rmailmm.el (rmail-mime-process-multipart):
23588 Handle truncated messages.
23589
23590 2011-06-27 Glenn Morris <rgm@gnu.org>
23591
23592 * progmodes/flymake.el (flymake-err-line-patterns):
23593 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23594
23595 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23596
23597 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23598 (ses--clean-!, ses--clean-_): New functions.
23599 (ses-range): Add configurability of readout order, and conversion
23600 to Calc vector.
23601
23602 * ses.el (ses-repair-cell-reference-all): New function.
23603 (ses-cell-symbol): Set macro as safe, so that it can be used in
23604 formulas.
23605
23606 * ses.el: Update cycle detection algorithm.
23607 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23608 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23609 (ses-set-localvars): New function.
23610 (ses-make-cell): Add property-list as a cell element.
23611 (ses-cell-property-get-fun, ses-cell-property-get)
23612 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23613 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23614 New functions.
23615 (ses-cell-property-set, ses-cell-property-pop)
23616 (ses-cell-property-get-handle): New macro.
23617 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23618 New aliases, used for code readability.
23619 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23620 cycle detection.
23621 (ses-self-reference-early-detection): New defcustom.
23622 (ses-formula-references): Robustify against self-referring cells.
23623 (ses-mode): Use ses-set-localvars.
23624 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23625 before lauching the update processing.
23626 (ses-initialize-Dijkstra-attempt): New function.
23627 (ses-recalculate-cell): Update for cycle detection based on
23628 Dijkstra algorithm.
23629
23630 * ses.el: Fix commenting and indenting convention.
23631
23632 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23633
23634 * bs.el (bs-cycle-next): Complete last change.
23635
23636 2011-06-27 Drew Adams <drew.adams@oracle.com>
23637
23638 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23639
23640 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23641
23642 * net/network-stream.el (network-stream-open-starttls):
23643 Don't re-get capabilities unless we've reestablished connection.
23644 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23645
23646 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23647 to binary to possibly avoid line encoding issues on Windows (among
23648 other things).
23649
23650 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23651
23652 * net/network-stream.el (open-network-stream): Return an :error
23653 saying what the problem was, if possible.
23654
23655 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23656 server.
23657
23658 * net/network-stream.el (network-stream-open-starttls): If we
23659 wanted to use STARTTLS, and the server offered it, but we weren't
23660 able to because we had no STARTTLS support, then close the connection.
23661 (open-network-stream): Return an :error element, if present.
23662
23663 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23664
23665 * hl-line.el (hl-line-sticky-flag): Doc fix.
23666 (global-hl-line-sticky-flag): New option (Bug#8323).
23667 (global-hl-line-highlight): Obey it.
23668
23669 * vc/vc.el (vc-revert-show-diff): Default to t.
23670
23671 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23672
23673 * allout-widgets.el (allout-widgets-post-command-business):
23674 Stop decorating intermediate isearch matches. They're not being
23675 undecorated when an isearch is continued past, and isearch
23676 automatically collapses them. This leads to "widget leaks", where
23677 decorated items accumulate in collapsed areas. Lines with lots of
23678 hidden widgets can slow down cursor travel, substantially.
23679 Too much complicated machinery would be needed to ensure undecoration,
23680 so we're doing without this nicety.
23681
23682 (allout-widgets-tally-string): Don't try to do a hash-table-count
23683 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23684 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23685 *Messages* when allout-widgets-maintain-tally is t.
23686
23687 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23688
23689 * window.el (display-buffer-normalize-argument): Rename to
23690 display-buffer-normalize-arguments. Handle special meaning of
23691 LABEL argument. Respect special-display-function when popping up
23692 a new frame. Fix code searching for a window showing the buffer
23693 on another frame.
23694 (display-buffer-normalize-specifiers):
23695 Call display-buffer-normalize-arguments.
23696 (display-buffer-in-window): Don't undedicate the window if its
23697 buffer remains the same.
23698 Reported by Drew Adams <drew.adams@oracle.com>.
23699 (display-buffer-alist): Add choice for same-window macro
23700 specfier.
23701 (display-buffer): Mention special meaning of LABEL argument in
23702 doc-string. Fix quoting. Don't pop up a new frame even as
23703 fallback.
23704
23705 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23706
23707 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23708 avoid deleting the current window in some cases (bug#8911).
23709
23710 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23711
23712 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23713 (Bug#8934)
23714
23715 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23716
23717 * net/network-stream.el (network-stream-open-starttls):
23718 Use built-in TLS support if `gnutls-available-p' is true.
23719 (network-stream-open-tls): Ditto.
23720
23721 2011-06-26 Leo Liu <sdl.web@gmail.com>
23722
23723 * register.el (registerv): New struct.
23724 (registerv-make): New function.
23725 (jump-to-register, describe-register-1, insert-register):
23726 Support the jump-func, print-func and insert-func slot of a registerv
23727 struct. (Bug#8415)
23728
23729 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23730
23731 * vc/vc.el (vc-revert-show-diff): New defcustom.
23732 (vc-diff-internal): New arg specifying diff buffer.
23733 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23734 reuse an existing *vc-diff* buffer (Bug#8927).
23735
23736 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23737
23738 2011-06-26 Glenn Morris <rgm@gnu.org>
23739
23740 * progmodes/f90.el (f90-critical-indent): New option.
23741 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23742 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23743 (f90-mode): Doc fix.
23744 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23745 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23746 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23747 (f90-match-end): Handle block, critical.
23748
23749 2011-06-25 Glenn Morris <rgm@gnu.org>
23750
23751 * calendar/diary-lib.el (diary-included-files): Doc fix.
23752 (diary-include-files): New function, extracted from
23753 diary-include-other-diary-files and diary-mark-included-diary-files.
23754 (diary-include-other-diary-files, diary-mark-included-diary-files):
23755 Just call diary-include-files.
23756 (diary-mark-entries): Reset diary-included-files on first call.
23757
23758 * calendar/diary-lib.el (diary-mark-entries)
23759 (diary-mark-included-diary-files):
23760 Visit included diary-files in temp buffers.
23761
23762 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23763 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23764 (f90-start-block-re, f90-imenu-generic-expression)
23765 (f90-looking-at-program-block-start, f90-no-block-limit):
23766 Add support for submodules.
23767
23768 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23769 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23770
23771 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23772
23773 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23774 buffer-file-type before setting its value, to avoid disastrous
23775 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23776
23777 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23778
23779 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23780
23781 * ses.el (ses-unload-function):
23782 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23783
23784 * proced.el (proced-unload-function):
23785 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23786
23787 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23788
23789 * server.el (server-create-window-system-frame): Add parameters arg.
23790 (server-process-filter): Doc fix. Handle frame-parameters.
23791
23792 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23793
23794 Fix bug#8730, bug#8781.
23795
23796 * loadhist.el (unload--set-major-mode): New function.
23797 (unload-feature): Use it.
23798
23799 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23800 (python-unload-function): New function.
23801
23802 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23803
23804 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23805
23806 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23807
23808 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23809 the candidates list.
23810
23811 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23812
23813 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23814
23815 2011-06-23 Richard Stallman <rms@gnu.org>
23816
23817 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23818 (rmail-variables): Set next-error-move-function.
23819 (rmail-what-message): Take argument POS.
23820 (rmail-next-error-move): New function.
23821
23822 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23823
23824 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23825 messages for adjacent non-terminals.
23826
23827 2011-06-23 Richard Stallman <rms@gnu.org>
23828
23829 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23830 (rmail-show-message-1): Preserve buffer modified flag.
23831 (rmail-start-mail): Don't specify use of rmail-mail-return;
23832 that's done by mail-bury now.
23833 (rmail-mail-return): Handle arg NEWBUF.
23834
23835 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23836
23837 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23838 SIZE is a number.
23839
23840 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23841
23842 * window.el (get-lru-window, get-mru-window)
23843 (get-largest-window): Never return a minibuffer window.
23844 (display-buffer-pop-up-window): Fix a bug that could lead to
23845 reusing the minibuffer window.
23846 (display-buffer): Pass original specifier argument to
23847 display-buffer-function instead of the normalized one.
23848 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23849
23850 2011-06-22 Leo Liu <sdl.web@gmail.com>
23851
23852 * minibuffer.el (completing-read-function)
23853 (completing-read-default): Move from minibuf.c.
23854
23855 2011-06-22 Richard Stallman <rms@gnu.org>
23856
23857 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23858 to Rmail even if not started by a special Rmail command.
23859
23860 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23861 Copy the buffer currently showing just one message.
23862
23863 2011-06-22 Roland Winkler <winkler@gnu.org>
23864
23865 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23866 (bibtex-clean-entry): First delete the old key so that a
23867 customized algorithm for generating the new key does not get
23868 confused by the old key.
23869 (bibtex-url): Obey regexp of first step.
23870 (bibtex-search-entries): Do not use add-to-list with local
23871 list-var.
23872
23873 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23874
23875 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23876 stored a user name, then query for the password first, instead of
23877 waiting for SMTP to give an error message and the trying again.
23878
23879 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23880
23881 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23882 BUFFER in call-process.
23883
23884 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23885
23886 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23887 QUIT twice.
23888 (smtpmail-try-auth-methods): Require user name and password from
23889 auth-source.
23890
23891 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23892
23893 * window.el (display-buffer-default-specifiers)
23894 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23895 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23896 (split-window): Normalize SIDE argument (Bug#8916).
23897
23898 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23899 (special-display-frame-alist, special-display-popup-frame):
23900 Remove duplicate declarations. These are now in window.el.
23901
23902 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23903
23904 * mail/smtpmail.el (smtpmail-via-smtp):
23905 Set :use-starttls-if-possible so that we always use STARTTLS if the
23906 server supports it. SMTP servers that support STARTTLS commonly
23907 require it.
23908
23909 * net/network-stream.el (network-stream-open-starttls): Support
23910 upgrading to STARTTLS always, even if we don't have built-in support.
23911 (open-network-stream): Add the :always-query-capabilities keyword.
23912
23913 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23914 upgrades with `open-network-stream', and rely solely on
23915 auth-source for all credentials. Big changes throughout the file,
23916 but in particular:
23917 (smtpmail-auth-credentials): Remove.
23918 (smtpmail-starttls-credentials): Remove.
23919 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23920 MAIL FROM, too.
23921
23922 * net/network-stream.el (network-stream-open-starttls):
23923 Provide support for client certificates both for external and built-in
23924 STARTTLS.
23925 (auth-source): Require.
23926 (open-network-stream): Document the :client-certificate keyword.
23927 (network-stream-certificate): Change cert-cert to cert and
23928 cert-key to key.
23929
23930 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23931
23932 * net/tramp-cache.el (top): Don't load the persistency file when
23933 "emacs -Q" has been called.
23934
23935 2011-06-21 Tim Harper <timcharper@gmail.com>
23936
23937 * term/ns-win.el (ns-initialize-window-system):
23938 Set application-specific `ApplePressAndHoldEnabled' system
23939 resource to NO as it is not yet supported by the NS port.
23940
23941 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23942
23943 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23944 (list-dynamic-libraries): ...not here.
23945
23946 2011-06-21 Leo Liu <sdl.web@gmail.com>
23947
23948 * subr.el (sha1): Implement sha1 using secure-hash.
23949
23950 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23951
23952 * window.el (display-buffer-alist): In default value do not
23953 enforce searching a window on any but the selected frame.
23954 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23955 (display-buffer-select-window): Remove function.
23956 (display-buffer-in-window): When a window on another frame gets
23957 reused, do not select it any more but just raise its frame if
23958 necessary (Bug#8851) and (Bug#8856).
23959 (display-buffer-normalize-options): Handle pop-up-frames related
23960 options more faithfully.
23961 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23962 window if it is on another frame.
23963 (display-buffer-alist, display-buffer-default-specifiers):
23964 Don't make new frame unsplittable by default.
23965 (display-buffer-normalize-argument): Fix doc-string typo and use
23966 'same-frame-other-window instead of 'other-window when associating
23967 with display-buffer-macro-specifiers.
23968
23969 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23970
23971 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23972 New functions.
23973 (5x5-mode-map, 5x5-mode-menu): Bind them.
23974 (5x5-draw-grid): Tweak the solver's rendering.
23975
23976 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23977
23978 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23979 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23980
23981 2011-06-21 Drew Adams <drew.adams@oracle.com>
23982
23983 * menu-bar.el: Use function variable instead of switch-to-buffer.
23984 (menu-bar-select-buffer-function): New variable.
23985 (menu-bar-update-buffers): Use it (bug#8876).
23986
23987 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23988
23989 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23990 variable's status.
23991
23992 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23993
23994 * x-dnd.el (x-dnd-version-from-flags)
23995 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23996 and long as number (Bug#8899).
23997 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23998
23999 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24000
24001 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24002 (completion-try-completion, completion-all-completions): Compute the
24003 metadata argument if it's missing; make it optional (bug#8795).
24004
24005 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24006 (widget-complete): Use new :completion-function property.
24007 (widget-completions-at-point): New function.
24008 (default): Use :completion-function instead of :complete.
24009 (widget-default-completions): Rename from widget-default-complete;
24010 Rewrite.
24011 (widget-string-complete, widget-file-complete, widget-color-complete):
24012 Remove functions.
24013 (file, symbol, function, variable, coding-system, color):
24014 * international/mule-cmds.el (default-input-method, charset)
24015 (language-info-custom-alist):
24016 * cus-edit.el (face): Use new property :completions.
24017
24018 * progmodes/pascal.el (pascal-completions-at-point): New function.
24019 (pascal-mode): Use it.
24020 (pascal-mode-map): Use completion-at-point.
24021 (pascal-toggle-completions): Make obsolete.
24022 (pascal-complete-word, pascal-show-completions):
24023 * progmodes/octave-mod.el (octave-complete-symbol):
24024 Redefine as obsolete alias.
24025 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24026 Signal absence of completion info for old Octave,
24027 (inferior-octave-complete): Redefine as obsolete alias.
24028 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24029 (meta-completions-at-point): Rename from meta-complete-symbol and
24030 adapt it for use on completion-at-point-functions.
24031 (meta-common-mode): Use it.
24032 (meta-looking-at-backward, meta-match-buffer): Remove.
24033 (meta-complete-symbol): Redefine as obsolete alias.
24034 (meta-common-mode-map): Use completion-at-point.
24035 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24036 (makefile-mode-map): Use completion-at-point.
24037 (makefile-completions-at-point): Rename from makefile-complete and
24038 adapt it for use on completion-at-point-functions.
24039 (makefile-mode): Use it.
24040 (makefile-complete): Redefine as obsolete alias.
24041
24042 2011-06-20 Deniz Dogan <deniz@dogan.se>
24043
24044 * net/rcirc.el: Delete trailing whitespaces once and for all.
24045
24046 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24047
24048 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24049
24050 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24051
24052 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24053
24054 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24055
24056 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24057
24058 * window.el (display-buffer-other-window-means-other-frame):
24059 Call display-buffer-normalize-alist.
24060 (display-buffer-normalize-specifiers-1): Rename to
24061 display-buffer-normalize-argument. New argument other-frame.
24062 Rewrite.
24063 (display-buffer-normalize-specifiers-2): Rename to
24064 display-buffer-normalize-options.
24065 (display-buffer-normalize-alist-1): New function.
24066 (display-buffer-normalize-specifiers-3): Rename to
24067 display-buffer-normalize-alist.
24068 Call display-buffer-normalize-alist-1.
24069 (display-buffer-normalize-options-inhibit): New variable.
24070 (display-buffer-normalize-specifiers): Rewrite calling
24071 display-buffer-normalize-alist,
24072 display-buffer-normalize-argument, and
24073 display-buffer-normalize-options. Don't call the latter if
24074 display-buffer-normalize-options-inhibit is non-nil.
24075 (frame-auto-delete): New option.
24076 (window-deletable-p): Use frame-auto-delete.
24077 (window-list-no-nils, window-state-ignored-parameters)
24078 (window-state-get-1, window-state-get, window-state-put-list)
24079 (window-state-put-1, window-state-put-2, window-state-put):
24080 New functions.
24081 (display-buffer-normalize-options): Move special-display-p group
24082 after pop-up-frame group (Bug#8851) and (Bug#8856).
24083
24084 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24085
24086 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24087 groups (Bug#8776).
24088 (rx-submatch-n): New function.
24089 (rx): Document it.
24090
24091 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24092 (Bug#8768).
24093
24094 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24095
24096 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24097
24098 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24099 anytime existing face settings are present (Bug#8889).
24100
24101 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24102 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24103 Remove unused argument.
24104
24105 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24106
24107 * window.el (display-buffer-default-specifiers):
24108 Remove pop-up-frame. Add pop-up-window-min-height,
24109 pop-up-window-min-width, and another reuse-window specifier
24110 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24111 (display-buffer-normalize-specifiers-2):
24112 Handle split-height-threshold and split-width-threshold also when
24113 pop-up-windows is unset. Add a reuse-window specifier for the
24114 case popping up a new window fails.
24115 (special-display-popup-frame): Remove double quoting.
24116 (display-buffer-normalize-specifiers-1): Fix thinko.
24117
24118 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24119
24120 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24121 according to comint-completion-addsuffix.
24122
24123 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24124 (pcomplete-suffix-list): Mark as obsolete.
24125 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24126 pcomplete-seen in the closure.
24127 (pcomplete-comint-setup): Setup completion-at-point as well.
24128 (pcomplete--entries): New function.
24129 (pcomplete--env-regexp): New var.
24130 (pcomplete-entries): Rewrite to work with partial-completion and
24131 without relying on pcomplete-suffix-list.
24132 (pcomplete-pare-list): Remove, unused.
24133
24134 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24135
24136 * window.el (display-buffer-alist): Set pop-up-window-min-height
24137 and pop-up-window-min-width in default value. Reported by
24138 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24139 other-window-means-other-frame.
24140 (display-buffer-macro-specifiers): Comment out entry for
24141 other-window specifier.
24142 (display-buffer-other-window-means-other-frame): New function.
24143 (display-buffer-normalize-specifiers-1): New arguments
24144 buffer-name and label. Treat other-window case specially.
24145 (display-buffer-normalize-specifiers-2): Treat other-window case
24146 specially.
24147 (display-buffer-normalize-specifiers-3): New function.
24148 (display-buffer-normalize-specifiers):
24149 Call display-buffer-normalize-specifiers-3.
24150
24151 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24152
24153 * window.el (same-window-p): Fix two typos introduced when
24154 adding with-no-warnings.
24155 (display-buffer-normalize-specifiers-1): Don't check
24156 pop-up-frames for 'unset initialization.
24157 (display-buffer-normalize-specifiers-2): Major rewrite using
24158 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24159 (pop-up-frames, display-buffer-reuse-frames)
24160 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24161 Suggested by David Engster <deng@randomsample.de>.
24162 (even-window-heights): Initialize to 'unset.
24163 (display-buffer-alist-set): Handle new 'unset initializations.
24164 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24165 other window case.
24166
24167 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24168
24169 * window.el (display-buffer-normalize-specifiers-1):
24170 Respect current value of pop-up-frames for most reasonable values of
24171 second argument of display-buffer (Bug#8865).
24172 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24173 (switch-to-buffer-other-window-same-frame)
24174 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24175 Adams (Bug#8875).
24176 (display-buffer): Don't check noninteractive when calling
24177 display-buffer-pop-up-frame.
24178 (display-buffer-pop-up-frame): Never pop up a frame in
24179 noninteractive mode (Bug#8857).
24180 (enlarge-window, shrink-window): Don't report an error when the
24181 window can't be resized as requested (Bug#8862).
24182
24183 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24184
24185 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24186
24187 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24188
24189 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24190
24191 2011-06-15 Alan Mackenzie <acm@muc.de>
24192
24193 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24194 for declarators, disable knr checking to speed up for normal files.
24195 2: Refactor, replacing a sequence of nested if forms by a cond form.
24196
24197 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24198
24199 * net/network-stream.el (open-network-stream): Add the keyword
24200 :always-query-capabilities for the case where you want to force a
24201 `plain' network connection, but the protocol still requires the
24202 capabilitiy command (i.e., SMTP and EHLO).
24203
24204 * subr.el (process-live-p): Rename from `process-alive-p' for
24205 consistency with other `-live-p' functions.
24206
24207 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24208
24209 * window.el (same-window-buffer-names, same-window-regexps)
24210 (special-display-frame-alist, special-display-popup-frame)
24211 (special-display-function, special-display-buffer-names)
24212 (special-display-regexps, pop-up-frame-alist)
24213 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24214 (pop-up-windows, split-window-preferred-function)
24215 (split-height-threshold, split-width-threshold, even-window-heights)
24216 (display-buffer-mark-dedicated): Don't encourage the use of
24217 display-buffer-alist from Elisp code.
24218
24219 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24220
24221 * progmodes/python.el (python-mode): Derive from prog-mode.
24222 * progmodes/ps-mode.el (ps-mode):
24223 * progmodes/mixal-mode.el (mixal-mode):
24224 * progmodes/cfengine.el (cfengine-mode):
24225 * progmodes/ld-script.el (ld-script-mode): Likewise.
24226
24227 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24228
24229 * window.el (display-buffer-alist): Trim default value to avoid
24230 popping up a new frame (Bug#8857) or reusing an arbitrary window
24231 on another frame.
24232 (display-buffer): Do not fall back on popping up a new frame in
24233 batch mode (Bug#8857).
24234
24235 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24236
24237 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24238 (custom-theme-summary): New function.
24239 (customize-themes): Use it.
24240
24241 2011-06-13 Glenn Morris <rgm@gnu.org>
24242
24243 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24244
24245 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24246
24247 * help.el (help-window): Remove variable.
24248 (help-window-point-marker, temp-buffer-max-height)
24249 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24250 (help-print-return-message): Don't set help-window.
24251 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24252 (help-window-setup-finish): Remove.
24253 (help-window-display-message, help-window-setup)
24254 (with-help-window): Major rewrite based on new
24255 display-buffer-window variable.
24256
24257 * help-mode.el (help-mode-finish): Remove help-window related
24258 code.
24259
24260 * view.el (view-exits-all-viewing-windows): Remove reference to
24261 view-return-to-alist in doc-string.
24262 (view-return-to-alist): Make obsolete.
24263 (view-buffer): Call pop-to-buffer-same-window and remove
24264 undo-window code.
24265 (view-buffer-other-window): Call pop-to-buffer-other-window and
24266 simplify code. Ignore second argument.
24267 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24268 simplify code. Ignore second argument.
24269 (view-return-to-alist-update): Make obsolete.
24270 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24271 Rewrite using quit-restore window parameters.
24272 (view-mode-exit): Rename second argument to EXIT-ONLY.
24273 Rewrite using quit-restore-window.
24274 (View-exit, View-exit-and-edit, View-leave, View-quit)
24275 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24276 appropriate arguments.
24277 (view-end-message): Use quit-restore window parameter.
24278
24279 * window.el (display-buffer-function): Rewrite doc-string.
24280 (display-buffer-window, display-buffer-alist): New variables.
24281 (display-buffer-split-specifiers)
24282 (display-buffer-side-specifiers)
24283 (display-buffer-macro-specifiers): New constants.
24284 (display-buffer-even-window-sizes, display-buffer-set-height)
24285 (display-buffer-set-width, display-buffer-select-window)
24286 (display-buffer-in-window, display-buffer-reuse-window)
24287 (display-buffer-split-window-1, display-buffer-split-window)
24288 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24289 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24290 (display-buffer-in-side-window, normalize-buffer-to-display)
24291 (display-buffer-normalize-specifiers-1)
24292 (display-buffer-normalize-specifiers-2)
24293 (display-buffer-normalize-specifiers, display-buffer-frame):
24294 New functions.
24295 (display-buffer): Major rewrite.
24296 (display-buffer-other-window, display-buffer-other-frame)
24297 (pop-to-buffer, switch-to-buffer-other-window)
24298 (switch-to-buffer-other-frame): Rewrite.
24299 (display-buffer-same-window, display-buffer-same-frame)
24300 (display-buffer-same-frame-other-window)
24301 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24302 (pop-to-buffer-other-window)
24303 (pop-to-buffer-same-frame-other-window)
24304 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24305 (switch-to-buffer-other-window-same-frame): New functions.
24306 (same-window-p, special-display-p): Rewrite disabling warnings.
24307 Make obsolete.
24308 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24309 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24310 Make obsolete
24311 (same-window-buffer-names, same-window-regexps)
24312 (special-display-frame-alist, special-display-popup-frame)
24313 (special-display-function, special-display-buffer-names)
24314 (special-display-regexps, pop-up-frame-alist)
24315 (pop-up-frame-function, split-window-preferred-function)
24316 (split-height-threshold, split-width-threshold)
24317 (even-window-heights): Make obsolete.
24318
24319 2011-06-12 Glenn Morris <rgm@gnu.org>
24320
24321 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24322 Misc simplifications.
24323
24324 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24325
24326 * window.el (window-safely-shrinkable-p): Restore function which
24327 was inadvertently removed in change from 2011-06-11. Declare as
24328 obsolete.
24329
24330 * calendar/calendar.el (calendar-generate-window):
24331 Use window-iso-combined-p instead of combination of one-window-p and
24332 window-safely-shrinkable-p.
24333
24334 2011-06-12 Glenn Morris <rgm@gnu.org>
24335
24336 * progmodes/fortran.el (fortran-mode-syntax-table):
24337 * progmodes/f90.el (f90-mode-syntax-table):
24338 Set % to punctuation. (Bug#8820)
24339 (f90-find-tag-default): Remove, no longer needed.
24340
24341 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24342
24343 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24344
24345 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24346
24347 * image.el (image-animated-p): Return animation delay in seconds.
24348 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24349 (image-animate-timeout): Remove DELAY argument. Don't assume
24350 every subimage has the same delay; get it from image-animated-p.
24351 (image-animate): Caller changed.
24352
24353 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24354
24355 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24356 to ignored backtrace functions.
24357
24358 2011-06-11 Glenn Morris <rgm@gnu.org>
24359
24360 * calendar/appt.el (appt-disp-window-function): Doc fix.
24361 (appt-check): Handle overlapping appointments. (Bug#8337)
24362
24363 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24364
24365 * window.el (window-tree-1, window-tree): New functions, moving
24366 the latter to window.el.
24367 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24368 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24369 (bw-refresh-edges): Remove.
24370 (balance-windows-1, balance-windows-2): New functions.
24371 (balance-windows): Rewrite in terms of window tree functions,
24372 balance-windows-1 and balance-windows-2.
24373 (bw-adjust-window): Remove.
24374 (balance-windows-area-adjust): New function with functionality of
24375 bw-adjust-window but using resize-window.
24376 (set-window-text-height): Rewrite doc-string.
24377 Use normalize-live-window and resize-window.
24378 (enlarge-window-horizontally, shrink-window-horizontally):
24379 Rename argument to DELTA.
24380 (window-buffer-height): New function.
24381 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24382 Rewrite using new window resize routines.
24383 (kill-buffer-and-window, mouse-autoselect-window-select):
24384 Use ignore-errors instead of condition-case.
24385 (quit-window): Call delete-frame instead of delete-windows-on
24386 for the only buffer on frame.
24387
24388 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24389
24390 * loadup.el (top-level): Load window before files for the sake
24391 of replace-buffer-in-windows.
24392
24393 * files.el (read-buffer-to-switch)
24394 (switch-to-buffer-other-window)
24395 (switch-to-buffer-other-frame, display-buffer-other-frame):
24396 Move to window.el.
24397
24398 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24399 (previous-buffer): Move to window.el.
24400
24401 * bindings.el (unbury-buffer): Move to window.el.
24402
24403 * window.el (delete-other-windows-vertically): Move after
24404 definition of delete-other-windows.
24405 (other-window, delete-windows-on, replace-buffer-in-windows):
24406 Move here from window.c.
24407 (record-window-buffer, unrecord-window-buffer)
24408 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24409 (switch-to-next-buffer): New functions.
24410 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24411 from simple.el. Call switch-to-next-buffer.
24412 (previous-buffer): Move here from simple.el.
24413 Call switch-to-prev-buffer.
24414 (bury-buffer): Move here from buffer.c. Switch to previous
24415 buffer when window cannot be deleted.
24416 (unbury-buffer): Move here from bindings.el.
24417 (ctl-x-map): Move binding for other-window from window.c to
24418 here.
24419 (read-buffer-to-switch, switch-to-buffer-other-window)
24420 (switch-to-buffer-other-frame): Move here from files.el.
24421 (normalize-buffer-to-switch-to): New functions.
24422 (switch-to-buffer): Move here from buffer.c.
24423 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24424
24425 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24426
24427 * window.el (window-min-height, window-min-width): Move here
24428 from window.c. Add defcustoms and rewrite doc-strings.
24429 (resize-mini-window, resize-window): New functions.
24430 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24431 Move here from window.c.
24432 (maximize-window, minimize-window): New functions.
24433 (delete-window, delete-other-windows, split-window): Move here
24434 from window.c.
24435 (window-split-min-size): New function.
24436 (split-window-keep-point): Mention split-window-above-each-other
24437 instead of split-window-vertically.
24438 (split-window-above-each-other, split-window-vertically):
24439 Rename split-window-vertically to split-window-above-each-other
24440 and provide defalias for old definition.
24441 (split-window-side-by-side, split-window-horizontally):
24442 Rename split-window-horizontally to split-window-side-by-side
24443 and provide defalias for the old definition.
24444 (ctl-x-map): Move bindings for delete-window,
24445 delete-other-windows and enlarge-window here from window.c.
24446 Replace bindings for split-window-vertically and
24447 split-window-horizontally by bindings for
24448 split-window-above-each-other and split-window-side-by-side.
24449
24450 * cus-start.el (all): Remove entries for window-min-height and
24451 window-min-width. Add entries for window-splits and
24452 window-nest.
24453
24454 2011-06-09 Glenn Morris <rgm@gnu.org>
24455
24456 * calendar/appt.el (appt-mode-line): New function.
24457 (appt-check, appt-disp-window): Use it.
24458
24459 * files.el (hack-one-local-variable-eval-safep):
24460 Allow minor-modes with explicit +/-1 arguments.
24461
24462 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24463
24464 * term/xterm.el (xterm): Add defgroup.
24465 (xterm-extra-capabilities): Add defcustom to supply known xterm
24466 capabilities, skip querying them, or query them (default).
24467 (terminal-init-xterm): Use it.
24468 (terminal-init-xterm-modify-other-keys): New function to set up
24469 modifyOtherKeys support to simplify `terminal-init-xterm'.
24470
24471 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24472
24473 * window.el (resize-window-reset, resize-window-reset-1)
24474 (resize-subwindows-skip-p, resize-subwindows-normal)
24475 (resize-subwindows, resize-other-windows, resize-this-window)
24476 (resize-root-window, resize-root-window-vertically)
24477 (window-deletable-p, window-or-subwindow-p)
24478 (frame-root-window-p): New functions.
24479
24480 2011-06-09 Glenn Morris <rgm@gnu.org>
24481
24482 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24483 (ange-ftp-get-files): Use it.
24484
24485 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24486
24487 * mail/sendmail.el (mail-recover-1, mail-recover):
24488 * files.el (recover-file, recover-session):
24489 Handle dired-listing-switches not being just a single short option.
24490
24491 2011-06-09 Glenn Morris <rgm@gnu.org>
24492
24493 * calendar/appt.el (appt-display-message, appt-disp-window):
24494 Handle lists of appointments.
24495
24496 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24497
24498 * window.el (one-window-p): Move down in code.
24499 Rewrite doc-string.
24500 (window-current-scroll-bars): Rewrite doc-string.
24501 Normalize live window argument.
24502 (walk-windows, get-window-with-predicate, count-windows):
24503 Rewrite doc-string. Use window-list-1.
24504 (window-in-direction-2, window-in-direction, get-mru-window):
24505 New functions.
24506
24507 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24508
24509 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24510 Doc fix (Bug#8713).
24511
24512 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24513
24514 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24515
24516 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24517
24518 * loadhist.el (unload-feature-special-hooks):
24519 Add `comint-output-filter-functions'.
24520
24521 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24522
24523 * calendar/appt.el (appt-check): Move some initializations into the let.
24524
24525 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24526
24527 * window.el (window-height): Defalias to window-total-height.
24528 (window-width): Defalias to window-body-width.
24529
24530 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24531
24532 * image-mode.el (image-toggle-animation): New command.
24533 (image-mode-map): Bind it to RET.
24534 (image-mode): Update message.
24535 (image-toggle-display-image): Avoid a spurious cache flush.
24536 (image-transform-rotation): Doc fix.
24537 (image-transform-properties): Return quickly in the normal case.
24538 (image-animate-loop): Rename from image-animate-max-time.
24539
24540 * image.el (image-animate-max-time): Move to image-mode.el.
24541 (create-animated-image): Remove unnecessary function.
24542 (image-animate): Rename from image-animate-start. New arg.
24543 (image-animate-stop): Remove; just use image-animate-timer.
24544 (image-animate-timer): Use car-safe.
24545 (image-animate-timeout): Rename argument.
24546
24547 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24548
24549 * window.el (get-lru-window, get-largest-window): Move here from
24550 window.c. Rename first argument to ALL-FRAMES.
24551 Rephrase doc-strings.
24552 (get-buffer-window-list): Rewrite using window-list-1.
24553 Rephrase doc-string.
24554 (window-safe-min-height, window-safe-min-width): New constants.
24555 (window-size-ignore, window-min-size, window-min-size-1)
24556 (window-sizable, window-sizable-p, window-size-fixed-1)
24557 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24558 (window-max-delta-1, window-max-delta, window-resizable)
24559 (window-resizable-p, window-total-height, window-total-width)
24560 (window-body-width): New functions.
24561 (window-full-height-p, window-full-width-p): Rewrite using
24562 window-total-size.
24563 (window-body-height): Rewrite using window-body-size.
24564
24565 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24566
24567 * window.el (window-right, window-left, window-child)
24568 (window-child-count, window-last-child, window-any-p)
24569 (normalize-live-buffer, normalize-live-frame)
24570 (normalize-any-window, normalize-live-window)
24571 (window-iso-combination-p, window-iso-combined-p)
24572 (window-iso-combinations)
24573 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24574 (windows-with-parameter, window-with-parameter)
24575 (window-atom-root, make-window-atom, window-atom-check-1)
24576 (window-atom-check, window-side-check, window-check):
24577 New functions.
24578 (ignore-window-parameters, window-sides, window-sides-vertical)
24579 (window-sides-slots): New variables.
24580 (window-size-fixed): Move down in code. Minor doc-string fix.
24581
24582 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24583
24584 * comint.el (comint-dynamic-complete-as-filename)
24585 (comint-dynamic-complete-filename): Correctly call
24586 completion-in-region.
24587
24588 2011-06-05 Deniz Dogan <deniz@dogan.se>
24589
24590 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24591 in last change.
24592
24593 2011-06-05 Deniz Dogan <deniz@dogan.se>
24594
24595 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24596 (rcirc): Use it to prompt for encryption.
24597
24598 2011-06-05 Roland Winkler <winkler@gnu.org>
24599
24600 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24601 (bibtex-search-entries): New command bound to C-c C-a.
24602 (bibtex-display-entries): New function.
24603
24604 2011-06-05 Roland Winkler <winkler@gnu.org>
24605
24606 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24607 (bibtex-insert-kill): After yanking insert newline if necessary.
24608 (bibtex-initialize): Call bibtex-string-files-init only once.
24609 (bibtex-mode): Do not call easy-menu-add.
24610 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24611 (bibtex-yank): Set arg properly if nil.
24612
24613 2011-06-05 Roland Winkler <winkler@gnu.org>
24614
24615 * textmodes/bibtex.el (bibtex-search-entry-globally):
24616 New variable.
24617 (bibtex-search-entry): Use it.
24618
24619 2011-06-05 Roland Winkler <winkler@gnu.org>
24620
24621 * textmodes/bibtex.el (bibtex-entry-format): New option
24622 sort-fields.
24623 (bibtex-format-entry, bibtex-reformat): Honor this option.
24624 (bibtex-parse-entry): Return fields in proper order.
24625
24626 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24627
24628 * doc-view.el (doc-view-remove-if): Move computation of result out
24629 of `dolist' to silence misleading lexical-binding warning.
24630
24631 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24632
24633 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24634 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24635
24636 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24637
24638 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24639 "SunOS 5.10".
24640
24641 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24642
24643 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24644 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24645 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24646 (tramp-parse-putty):
24647 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24648 (tramp-completion-function-alist-ssh)
24649 (tramp-completion-function-alist-telnet)
24650 (tramp-completion-function-alist-su)
24651 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24652 cookie.
24653
24654 * net/tramp-ftp.el:
24655 * net/tramp-sh.el:
24656 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24657 load "tramp.el" `tramp-set-completion-function'.
24658
24659 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24660
24661 * shell.el: Require and use pcomplete.
24662 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24663 (shell-completion-vars): Set pcomplete-default-completion-function.
24664
24665 2011-06-04 Deniz Dogan <deniz@dogan.se>
24666
24667 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24668 `memq' (Bug#8799).
24669
24670 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24671
24672 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24673
24674 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24675
24676 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24677 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24678 * vc/log-view.el (log-view-beginning-of-defun):
24679 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24680 (smerge-refine-forward, smerge-refine-chopup-region):
24681 Silence warning for unused `dotimes' counter variables.
24682
24683 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24684
24685 * net/tramp.el (tramp-with-progress-reporter): Rename from
24686 with-progress-reporter. Use `declare'.
24687 * net/tramp-smb.el:
24688 * net/tramp-sh.el:
24689 * net/tramp-gvfs.el: Update all uses.
24690
24691 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24692
24693 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24694 buffer isn't killed before making it current.
24695
24696 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24697
24698 Silence various byte-compiler warnings.
24699 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24700 `access-type' and new obsolescence format.
24701 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24702 new format.
24703 (byte-compile-check-variable): New `access-type' argument.
24704 Only warn if the access-type is obsolete.
24705 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24706 (byte-compile-variable-set): Adjust callers.
24707 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24708 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24709 setting it as obsolete.
24710 * simple.el (minibuffer-completing-symbol):
24711 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24712 access as obsolete.
24713 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24714 obsolete yet.
24715 * international/quail.el (quail-mouse-choose-completion): Remove unused
24716 code referring to obsolete var.
24717 (quail-choose-completion-string): Remove.
24718 * server.el (server-clients-with, server-kill-buffer-query-function)
24719 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24720 * proced.el (proced-send-signal):
24721 * emacs-lisp/lisp.el (lisp-complete-symbol):
24722 Replace completion-annotate-function with completion-extra-properties.
24723
24724 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24725
24726 * simple.el (goto-line): Use read-number.
24727 (overriding-map-is-bound): Remove.
24728 (saved-overriding-map): Change default.
24729 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24730 Take the map as argument.
24731 (universal-argument, negative-argument, digit-argument): Use it.
24732 (restore-overriding-map): Adjust.
24733 (do-auto-fill): Use fill-forward-paragraph.
24734 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24735
24736 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24737 (minibuffer-inactive-mode): New major mode.
24738 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24739 the *Messages* buffer" hack.
24740 (mouse-popup-menubar): Don't burp if the event is a normal key.
24741
24742 Miscellaneous tweaks.
24743 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24744 lexical scoping as in subr.el's dolist and dotimes.
24745 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24746 Silence compiler warning.
24747 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24748 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24749 * international/ccl.el (ccl-compile): Trivial simplification.
24750 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24751 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24752 `printflag' argument.
24753 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24754 Purecopy the whole obsolescence data.
24755
24756 2011-06-01 Leo Liu <sdl.web@gmail.com>
24757
24758 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24759 improve doc-string as suggested by Marco Pessotto
24760 <melmothx@gmail.com>.
24761 (rcirc-print): Fix last change.
24762
24763 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24764
24765 * minibuffer.el (complete-with-action): Return nil for the metadata and
24766 boundaries of non-functional tables.
24767 (completion-table-dynamic): Return nil for the metadata.
24768 (completion-table-with-terminator): Add default case, using
24769 complete-with-action.
24770 (completion--metadata): New function.
24771 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24772 to try and avoid pathological performance problems.
24773 (completion--embedded-envvar-table): Return `category' metadata.
24774
24775 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24776
24777 * subr.el (process-alive-p): New tiny convenience function.
24778
24779 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24780
24781 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24782 content but also its previous major mode.
24783
24784 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24785
24786 * emacs-lisp/debug.el (debug): Restore the previous content of the
24787 *Backtrace* buffer when we exit with C-M-c.
24788
24789 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24790
24791 * minibuffer.el: Add metadata method to completion tables.
24792 (completion-category-overrides): New defcustom.
24793 (completion-metadata, completion--field-metadata)
24794 (completion-metadata-get, completion--styles)
24795 (completion--cycle-threshold): New functions.
24796 (completion-try-completion, completion-all-completions):
24797 Add `metadata' argument to choose completion-styles.
24798 (completion--do-completion): Use metadata to choose cycling.
24799 (completion-all-sorted-completions): Use metadata for sorting.
24800 Remove :completion-cycle-penalty which is not needed any more.
24801 (completion--try-word-completion): Add `metadata' argument.
24802 (minibuffer-completion-help): Check metadata for annotation function
24803 and sorting.
24804 (completion-file-name-table): Return `category' metadata.
24805 (minibuffer-completing-file-name): Make obsolete.
24806 * simple.el (minibuffer-completing-symbol): Make obsolete.
24807 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24808 completion-try-completion.
24809
24810 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24811
24812 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24813
24814 2011-05-30 Leo Liu <sdl.web@gmail.com>
24815
24816 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24817 (rcirc-print): Decode all incoming messages (bug#8744).
24818 (rcirc-decode-coding-system): Allow value nil for automatic coding
24819 system detection.
24820
24821 2011-06-01 Glenn Morris <rgm@gnu.org>
24822
24823 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24824
24825 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24826
24827 * image.el (image-animate-max-time): Allow nil and t values.
24828 Default to nil.
24829 (create-animated-image): Doc fix.
24830 (image-animate-start): Remove second arg; just use
24831 image-animate-max-time.
24832 (image-animate-timeout): Doc fix. Args changed.
24833
24834 * image-mode.el (image-toggle-display-image): Ensure that the
24835 image spec passed to the animate timer is the same object as in
24836 the buffer's display property (Bug#6981).
24837 (image-transform-properties): Doc fix.
24838
24839 * image.el (image-animate-max-time): Default to nil.
24840
24841 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24842
24843 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24844 entire buffer list (Bug#8184).
24845
24846 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24847
24848 * image.el (imagemagick-types-inhibit)
24849 (imagemagick-register-types): Doc fix.
24850
24851 2011-05-29 Deniz Dogan <deniz@dogan.se>
24852
24853 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24854 default.
24855
24856 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24857
24858 * select.el: Don't perform clipboard-manager saving in hooks;
24859 leave the hooks empty.
24860
24861 2011-05-28 Leo Liu <sdl.web@gmail.com>
24862
24863 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24864 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24865 (occur-edit-mode): New major mode (Bug#8463).
24866 (occur-after-change-function): New function.
24867 (occur-engine): Give Occur tags a read-only property.
24868
24869 2011-05-28 Kevin Ryde <user42@zip.com.au>
24870
24871 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24872
24873 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24874
24875 * bindings.el (help-echo): Make the initial non-indicator dash
24876 empty on graphical terminals (Bug#7295).
24877
24878 * files.el (auto-mode-alist): Move config rule after the
24879 in-stripping one (Bug#8547).
24880
24881 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24882
24883 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24884 setting (Bug#8740).
24885
24886 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24887
24888 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24889 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24890 (Bug#8539).
24891
24892 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24893
24894 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24895
24896 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24897
24898 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24899 (hs-hide-block-at-point, hs-find-block-beginning)
24900 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24901 (Bug#8279).
24902
24903 2011-05-28 Glenn Morris <rgm@gnu.org>
24904
24905 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24906
24907 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24908
24909 * help-fns.el (describe-function-1): If the function is a derived
24910 major mode, print the parent mode.
24911
24912 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24913 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24914
24915 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24916
24917 * minibuffer.el (completion--capf-wrapper): Check applicability before
24918 returning non-nil for non-exclusive completion data.
24919 * progmodes/etags.el (tags-completion-at-point-function):
24920 * info-look.el (info-lookup-completions-at-point): Mark as
24921 non-exclusive.
24922 (info-complete): Adjust accordingly.
24923
24924 * info-look.el: Convert to lexical-binding and completion-at-point.
24925 (info-lookup-completions-at-point): New function.
24926 (info-complete): Use it and completion-in-region.
24927
24928 2011-05-28 Drew Adams <drew.adams@oracle.com>
24929
24930 * isearch.el: Let M-e start with point at the first mismatched char.
24931 (isearch-fail-pos): New function.
24932 (isearch-edit-string): Use it.
24933
24934 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24935
24936 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24937
24938 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24939
24940 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24941 traversal functions for avl-trees.
24942 (avl-tree--stack): New struct.
24943 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24944 (avl-tree-enter): Add optional `updatefun' arg.
24945 (avl-tree--do-enter): Add optional `updatefun' arg.
24946 Change return value.
24947 (avl-tree-delete): Add optional `test' and `nilflag' args.
24948 (avl-tree--do-delete): Add `test' and `nilflag' args.
24949 Change return value.
24950 (avl-tree-member): Add optional `nilflag'
24951 (avl-tree-member-p): New function.
24952 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24953 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24954 (avl-tree-stack-empty-p): New functions.
24955
24956 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24957 avl-tree--del-balance1 and make it work both ways.
24958 (avl-tree--del-balance2): Remove.
24959 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24960 make it work both ways.
24961 (avl-tree--enter-balance2): Remove.
24962 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24963 New macros.
24964 (avl-tree--mapc, avl-tree-map): Add direction argument.
24965
24966 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24967
24968 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24969
24970 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24971
24972 * select.el: Support clipboard managers with built-in function
24973 x-clipboard-manager-save, via delete-frame-functions and
24974 kill-emacs-hook.
24975 (xselect-convert-to-targets): Add MULTIPLE target to list.
24976 (xselect-convert-to-save-targets): New function.
24977
24978 2011-05-27 Kenichi Handa <handa@m17n.org>
24979
24980 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24981 let-binding rfc2047-encode-encoded-words to nil.
24982
24983 2011-05-27 Glenn Morris <rgm@gnu.org>
24984
24985 * mail/emacsbug.el: Don't require url-util.
24986
24987 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24988
24989 * files.el (set-auto-mode):
24990 Also respect mode: entries at the end of the file. (Bug#8586)
24991
24992 2011-05-26 Glenn Morris <rgm@gnu.org>
24993
24994 * files.el (hack-local-variables-prop-line, hack-local-variables):
24995 Downcase mode names, as seems to be traditional.
24996 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24997
24998 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24999 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25000
25001 2011-05-25 Julien Danjou <julien@danjou.info>
25002
25003 * textmodes/rst.el (rst-define-level-faces): Do not define face
25004 symbol if it is already defined.
25005
25006 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25007
25008 * play/5x5.el (5x5-new-game, 5x5-randomize):
25009 Reset 5x5-solver-output to nil when a new grid is cast.
25010 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25011 these debugging traces, as defmacro breaks the compiled code.
25012
25013 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25014
25015 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25016
25017 2011-05-24 Leo Liu <sdl.web@gmail.com>
25018
25019 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25020 (vc-bzr-sha1): Adapt.
25021
25022 * sha1.el: Remove. Function `sha1' is now builtin.
25023
25024 * bindings.el: Provide sha1 feature.
25025
25026 2011-05-24 Kenichi Handa <handa@m17n.org>
25027
25028 * mail/sendmail.el: Require `rfc2047'.
25029 (mail-insert-from-field): Do not perform RFC2047 encoding.
25030 (mail-encode-header): New function.
25031 (sendmail-send-it): Set buffer-file-coding-system of the work
25032 buffer to the return value of select-message-coding-system.
25033 Call mail-encode-header.
25034
25035 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25036
25037 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25038
25039 * mail/supercite.el (sc-default-cite-frame):
25040 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25041
25042 2011-05-24 Glenn Morris <rgm@gnu.org>
25043
25044 * progmodes/python.el (brm-menu): Declare.
25045
25046 * emulation/viper.el (viper-set-hooks): Declare.
25047
25048 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25049 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25050 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25051 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25052 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25053 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25054
25055 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25056
25057 Add an :exit-function for completion-at-point.
25058
25059 * minibuffer.el (completion--done): New fun.
25060 (completion--do-completion): Use it. New arg `expect-exact'.
25061 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25062 since completion--do-completion does it for us now.
25063 (minibuffer-force-complete): Use completion--done and
25064 completion--replace. Handle sole-completion case with more care.
25065 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25066 (completion-extra-properties): New var.
25067 (completion-annotate-function): Make obsolete.
25068 (minibuffer-completion-help): Adjust accordingly.
25069 Use completion-list-insert-choice-function.
25070 (completion-at-point, completion-help-at-point):
25071 Bind completion-extra-properties.
25072 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25073 * simple.el (completion-list-insert-choice-function): New var.
25074 (completion-setup-function): Preserve it.
25075 (choose-completion): Pay attention to it, shuffle the code a bit.
25076 (choose-completion-string): New arg `insert-function'.
25077
25078 * textmodes/bibtex.el: Convert to lexical binding.
25079 (bibtex-mode-map): Use completion-at-point.
25080 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25081 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25082 (bibtex-complete): Define as obsolete alias.
25083 (bibtex-complete-internal): Remove.
25084 (bibtex-format-entry): Remove unused sub-group in regexp.
25085 * shell.el (shell--command-completion-data)
25086 (shell-environment-variable-completion):
25087 * pcomplete.el (pcomplete-completions-at-point):
25088 * comint.el (comint--complete-file-name-data): Use :exit-function
25089 instead of completion-table-with-terminator so it also works for
25090 choose-completion.
25091
25092 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25093
25094 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25095
25096 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25097 (bug#8710).
25098
25099 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25100
25101 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25102
25103 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25104 customization variable and implement: If non-nil, auto-fill will
25105 be inhibited while on topic's header line.
25106
25107 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25108
25109 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25110 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25111 always have a solution in grid size = 5 cases.
25112 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25113 (5x5-solver-output, 5x5-log-buffer): New vars.
25114 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25115 Make these variables buffer local to achieve 5x5 multi-session-ness.
25116 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25117 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25118 (5x5-solve-suggest): New funs.
25119 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25120 randomize a grid so that we ensure that there is always a solution.
25121 (5x5-make-random-grid): Allow other movement than flipping.
25122
25123 2011-05-23 Kevin Ryde <user42@zip.com.au>
25124
25125 * emacs-lisp/advice.el (ad-read-advised-function):
25126 Use `function-called-at-point' as the default, if it has
25127 advice and passes PREDICATE.
25128
25129 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25130
25131 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25132 byte-compile-lambda if it's actually a lambda.
25133
25134 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25135 Fix function quoting. Use backquote better.
25136
25137 2011-05-22 Yuanle Song <sylecn@gmail.com>
25138
25139 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25140 matching (Bug#8516).
25141
25142 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25143
25144 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25145 different face (Bug#8178).
25146
25147 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25148
25149 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25150 defface (Bug#8144).
25151
25152 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25153
25154 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25155 funcall as well (bug#8712). Warn when performing those conversions.
25156 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25157
25158 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25159
25160 2011-05-22 Glenn Morris <rgm@gnu.org>
25161
25162 * files.el (hack-local-variables-prop-line): Small simplifications.
25163 (hack-local-variables, hack-local-variables-prop-line):
25164 If MODE-ONLY, return the mode, rather than just `t'.
25165
25166 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25167
25168 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25169
25170 2011-05-21 Glenn Morris <rgm@gnu.org>
25171
25172 * files.el (hack-local-variables-prop-line, hack-local-variables):
25173 If only interested in the mode, don't bother doing the other stuff.
25174
25175 * image-mode.el (image-after-revert-hook):
25176 Redraw all frames on which the image is visible. (Bug#8567)
25177
25178 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25179
25180 * wid-edit.el (widget-checklist-match-inline):
25181 Fix 2011-04-19 change. (Bug#8649)
25182
25183 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25184
25185 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25186 Also allow singlespace after single-letter capitals followed by a dot.
25187
25188 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25189 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25190
25191 2011-05-20 Nix <nix@esperi.org.uk>
25192
25193 * files.el (basic-save-buffer-2):
25194 Fix handling of break-hardlink-on-save with non-existent files.
25195
25196 2011-05-19 Deniz Dogan <deniz@dogan.se>
25197
25198 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25199 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25200
25201 2011-05-19 Glenn Morris <rgm@gnu.org>
25202
25203 * progmodes/f90.el (f90-type-def-re):
25204 Handle "type, bind(c)". (Bug#8691)
25205
25206 * emacs-lisp/autoload.el (batch-update-autoloads):
25207 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25208
25209 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25210
25211 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25212 property for the correct connection in case of multihops.
25213
25214 2011-05-18 Glenn Morris <rgm@gnu.org>
25215
25216 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25217 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25218
25219 Rationalize calendar handling of day and month abbrev-arrays.
25220 * calendar/calendar.el (calendar-customized-p): New function.
25221 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25222 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25223 Add :set function.
25224 (calendar-abbrev-length, calendar-day-abbrev-array)
25225 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25226 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25227 Elements may no longer be nil.
25228 (calendar-day-name, calendar-month-name):
25229 Update for changed nature of abbrev arrays.
25230 * calendar/diary-lib.el (diary-name-pattern):
25231 Update for changed nature of abbrev arrays.
25232 (diary-mark-entries-1): Update calendar-make-alist calls.
25233 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25234 * calendar/cal-html.el (cal-html-day-abbrev-array):
25235 Simply inherit from calendar-day-abbrev-array.
25236
25237 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25238
25239 * progmodes/grep.el (grep-mode): Disable default
25240 compilation-directory-matcher setting (bug#8684).
25241
25242 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25243
25244 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25245 instead of "head" and "tail". There were problems with SunOS 5.9,
25246 and it performs better.
25247
25248 2011-05-17 Glenn Morris <rgm@gnu.org>
25249
25250 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25251
25252 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25253 Replace obsolete function.
25254
25255 * shell.el (pcomplete-parse-arguments-function): Declare.
25256
25257 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25258 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25259 (appt-check): Doc fixes.
25260 (appt-disp-window-function, appt-delete-window-function):
25261 Remove needless special case in custom :type.
25262 (appt-display-count): Default to 0, not nil.
25263 (appt-check): Reset appt-display-count to 0, not nil.
25264
25265 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25266
25267 * progmodes/python.el (python-font-lock-keywords):
25268 Add the Python 3.X keyword "nonlocal" (bug#8639).
25269
25270 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25271
25272 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25273
25274 2011-05-16 Kevin Ryde <user42@zip.com.au>
25275
25276 * info-look.el (makefile-automake-mode): New setups, looking in
25277 automake manual, then makefile-mode.
25278 (makefile-mode): Remove automake manual, have it just in
25279 makefile-automake-mode since there's various things different or
25280 not relevant to plain make.
25281 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25282 believe a hypothetical automake-mode would go to makefile-mode,
25283 not the other way around.
25284
25285 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25286
25287 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25288 hunk-end tags (Bug#8672).
25289
25290 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25291 vc-annotate-show-diff-revision-at-line (Bug#8671).
25292
25293 2011-05-14 Glenn Morris <rgm@gnu.org>
25294
25295 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25296 in the middle of an existing one with multiple authors. (Bug#8645)
25297 (change-log-font-lock-keywords): Also handle multiple author lines
25298 with leading tabs. (Bug#8644)
25299
25300 * calendar/appt.el (appt-check): Rename some local variables.
25301 Some simplification/reordering.
25302
25303 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25304 (feedmail-sendmail-f-doesnt-sell-me-out)
25305 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25306 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25307 (feedmail-queue-runner-message-sender): Set :version.
25308 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25309 (bbdb-dwim-net-address, vm-mail): Declare.
25310 (feedmail-binmail-gnulinuxish-template):
25311 Rename from feedmail-binmail-linuxish-template.
25312 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25313 Use insert-buffer-substring.
25314
25315 2011-05-14 Bill Carpenter <bill@carpenter.org>
25316
25317 * mail/feedmail.el (feedmail-patch-level): Increase.
25318 (feedmail-debug): New custom group.
25319 (feedmail-confirm-outgoing-timeout)
25320 (feedmail-sendmail-f-doesnt-sell-me-out)
25321 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25322 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25323 (feedmail-sender-line, feedmail-from-line)
25324 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25325 (feedmail-spray-this-address)
25326 (feedmail-spray-address-fiddle-plex-list)
25327 (feedmail-queue-use-send-time-for-date)
25328 (feedmail-queue-use-send-time-for-message-id)
25329 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25330 (feedmail-buffer-eating-function):
25331 Doc fixes.
25332 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25333 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25334 (feedmail-message-action-scroll-down): New functions.
25335 (feedmail-queue-directory, feedmail-queue-draft-directory):
25336 Use expand-file-name.
25337 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25338 Remove C-v help entry.
25339 (feedmail-queue-buffer-file-name): New variable.
25340 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25341 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25342 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25343 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25344 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25345 (feedmail-message-action-toggle-spray)
25346 (feedmail-run-the-queue-no-prompts)
25347 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25348 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25349 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25350 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25351 (feedmail-envelope-deducer, feedmail-fiddle-from)
25352 (feedmail-fiddle-sender, feedmail-default-date-generator)
25353 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25354 (feedmail-fiddle-spray-address)
25355 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25356 (feedmail-fiddle-list-of-fiddle-plexes)
25357 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25358 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25359 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25360 Change default. Doc fix.
25361 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25362 (feedmail-binmail-linuxish-template): New constant.
25363 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25364 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25365 (feedmail-send-it): Add debug call.
25366 Use feedmail-queue-buffer-file-name, and
25367 feedmail-send-it-immediately-wrapper.
25368 (feedmail-message-action-send): Add debug call.
25369 Use feedmail-send-it-immediately-wrapper.
25370 (feedmail-queue-express-to-queue): Add debug call.
25371 Run feedmail-queue-express-hook.
25372 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25373 (feedmail-message-action-help-blat):
25374 Rename from feedmail-queue-send-edit-prompt-help-first.
25375 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25376 Check line-endings. Handle errors better.
25377 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25378 Doc fix. Add debug call.
25379 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25380 Use feedmail-queue-send-edit-prompt-inner.
25381 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25382 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25383 from feedmail-queue-send-edit-prompt.
25384 (feedmail-queue-send-edit-prompt-help)
25385 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25386 (feedmail-tidy-up-slug): Add debug call.
25387 Respect feedmail-queue-slug-suspect-regexp.
25388 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25389 (feedmail-dump-message-to-queue): Add debug call.
25390 Expand queue-directory.
25391 (feedmail-dump-message-to-queue): Change message slightly.
25392 Use feedmail-say-chatter.
25393 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25394 (feedmail-send-it-immediately-wrapper): New function.
25395 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25396 Insert empty string rather than newline. Handle full-frame case.
25397 Use catch/throw. Use feedmail-say-chatter.
25398 (feedmail-fiddle-from): Try mail-host-address.
25399 (feedmail-default-message-id-generator): Doc fix.
25400 Bind system-time-locale. Handle missing end.
25401 (feedmail-fiddle-x-mailer): Add debug call.
25402 Handle feedmail-x-mailer-line being nil.
25403 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25404 Add debug call. Use buffer-substring-no-properties.
25405 (feedmail-say-debug, feedmail-say-chatter): New functions.
25406 (feedmail-find-eoh): Give an explicit error.
25407
25408 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25409
25410 * net/newst-treeview.el (newsticker-treeview-face): Change default
25411 family from helvetica to sans.
25412 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25413 etc/images/newsticker.
25414
25415 * net/newst-reader.el (newsticker-feed-face): Change default
25416 family from helvetica to sans.
25417
25418 * net/newst-plainview.el (newsticker-new-item-face)
25419 (newsticker-old-item-face, newsticker-immortal-item-face)
25420 (newsticker-obsolete-item-face, newsticker-date-face)
25421 (newsticker-statistics-face): Change default family from
25422 helvetica to sans.
25423 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25424 etc/images/newsticker.
25425
25426 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25427 (newsticker--process-auto-mark-filter-match): Tell user about
25428 auto-marking.
25429
25430 2011-05-13 Didier Verna <didier@xemacs.org>
25431
25432 Common Lisp indentation improvements on defmethod and lambda-lists.
25433 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25434 TODO entries.
25435 (lisp-lambda-list-keyword-parameter-indentation)
25436 (lisp-lambda-list-keyword-parameter-alignment)
25437 (lisp-lambda-list-keyword-alignment): New customizable user options.
25438 (lisp-indent-defun-method): Improve docstring.
25439 (extended-loop-p): Fix comment.
25440 (lisp-indent-lambda-list-keywords-regexp): New variable.
25441 (lisp-indent-lambda-list): New function.
25442 (lisp-indent-259): Use it.
25443 (lisp-indent-defmethod): Support for more than one
25444 method qualifier and properly indent methods lambda-lists.
25445 (defgeneric): Provide a missing common-lisp-indent-function property.
25446
25447 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25448
25449 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25450 bounds for the empty string (bug#8667).
25451
25452 2011-05-13 Glenn Morris <rgm@gnu.org>
25453
25454 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25455
25456 * mail/sendmail.el (sendmail-program): Try executable-find first.
25457 (sendmail-send-it): `sendmail-program' cannot be unbound.
25458
25459 * calendar/appt.el (appt-make-list): Simplify.
25460 (appt-time-msg-list): Doc fix.
25461 (appt-check): Change mode-line message at the time of the appointment.
25462
25463 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25464
25465 * progmodes/ld-script.el (ld-script-keywords)
25466 (ld-script-builtins): Update keywords list.
25467
25468 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25469
25470 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25471
25472 * shell.el (shell-completion-vars): New function.
25473 (shell-mode):
25474 * simple.el (read-shell-command): Use it.
25475 (blink-matching-open): No need for " [...]" in minibuffer-message.
25476
25477 2011-05-12 Glenn Morris <rgm@gnu.org>
25478
25479 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25480 (appt-check): Simplify.
25481
25482 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25483
25484 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25485 literal "/dev/null".
25486
25487 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25488
25489 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25490 Fix typo.
25491
25492 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25493
25494 * progmodes/which-func.el (which-function):
25495 Use add-log-current-defun instead of add-log-current-defun-function,
25496 which might not be defined (Bug#8260).
25497
25498 2011-05-12 Glenn Morris <rgm@gnu.org>
25499
25500 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25501 Let byte-compile-initial-macro-environment always take precedence.
25502
25503 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25504
25505 * net/rcirc.el: Add support for SSL/TLS connections.
25506 (rcirc-server-alist): New field `encryption'.
25507 (rcirc): Check `encryption' settings.
25508 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25509 Merge make-local-variable into `set'.
25510 (rcirc--connection-open-p): New function.
25511 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25512 the process is not a network process (e.g. running gnutls-cli).
25513 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25514 Make rcirc-(en|de)code-coding-system local here.
25515 (rcirc-mode): Merge make-local-variable into `set'.
25516 (rcirc-parent-buffer): Make permanent buffer-local.
25517 (rcirc-multiline-minor-mode): Don't do it here.
25518 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25519 there's no server buffer.
25520
25521 2011-05-11 Glenn Morris <rgm@gnu.org>
25522
25523 * newcomment.el (comment-kill): Prefix "unused" local.
25524
25525 * term/w32console.el (get-screen-color): Declare.
25526
25527 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25528 Handle symbol elements of byte-compile-initial-macro-environment.
25529
25530 2011-05-10 Leo Liu <sdl.web@gmail.com>
25531
25532 * bookmark.el (bookmark-bmenu-mode-map):
25533 Bind bookmark-bmenu-search to `/'.
25534
25535 * mail/footnote.el: Convert to utf-8 encoding.
25536 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25537 (Footnote-unicode): New function.
25538 (footnote-style-alist): Add unicode style to the list.
25539 (footnote-style): Doc fix.
25540
25541 2011-05-10 Jim Meyering <meyering@redhat.com>
25542
25543 Fix doubled-word typos.
25544 * international/quail.el (quail-insert-kbd-layout): and and -> and
25545 * kermit.el: and and -> and
25546 * net/ldap.el (ldap-search-internal): to to -> to
25547 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25548 * progmodes/js.el (js-mode): and and -> and
25549 * textmodes/artist.el (artist-move-to-xy): at at -> at
25550 (artist-draw-region-trim-line-endings): if if -> if
25551 And Safetyc -> Safety.
25552 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25553
25554 2011-05-10 Glenn Morris <rgm@gnu.org>
25555 Stefan Monnier <monnier@iro.umontreal.ca>
25556
25557 * files.el (hack-one-local-variable-eval-safep):
25558 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25559
25560 2011-05-10 Glenn Morris <rgm@gnu.org>
25561
25562 * calendar/diary-lib.el (diary-list-entries-hook)
25563 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25564 (diary-nongregorian-marking-hook, diary-list-entries)
25565 (diary-include-other-diary-files, diary-mark-entries)
25566 (diary-mark-included-diary-files): Doc fixes.
25567
25568 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25569
25570 * misc.el: Require tabulated-list.el during compilation.
25571
25572 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25573
25574 * progmodes/compile.el (compilation-start):
25575 Run compilation-filter-hook for the async case too.
25576 (compilation-filter-hook): Doc fix.
25577
25578 2011-05-09 Deniz Dogan <deniz@dogan.se>
25579
25580 * wdired.el: Remove outdated installation comment. Fix usage
25581 comment.
25582
25583 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25584
25585 * misc.el: Implement new command `list-dynamic-libraries'.
25586 (list-dynamic-libraries--loaded-only-p): New variable.
25587 (list-dynamic-libraries--refresh): New function.
25588 (list-dynamic-libraries): New command.
25589
25590 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25591
25592 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25593 Fix the ant regexp to handle end-line and end-column info from jikes.
25594 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25595 higher priority to avoid clobbering by gnu.
25596
25597 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25598
25599 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25600 if the face has existing theme settings (Bug#8454).
25601
25602 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25603
25604 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25605 Only match variables declared via `my' or `our' (Bug#8261).
25606
25607 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25608 special file names `.' and `..' (Bug#8259).
25609
25610 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25611
25612 * progmodes/grep.el (grep-mode-font-lock-keywords):
25613 Remove buffer-changing entries.
25614 (grep-filter): New function.
25615 (grep-mode): Add it to compilation-filter-hook.
25616
25617 * progmodes/compile.el (compilation-filter-hook)
25618 (compilation-filter-start): New defvars.
25619 (compilation-filter): Call compilation-filter-hook prior to
25620 updating the process mark.
25621
25622 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25623
25624 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25625
25626 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25627
25628 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25629 mailclient-send-it even if window-system is nil. (Bug#8595)
25630
25631 * term/w32console.el (terminal-init-w32console):
25632 Call get-screen-color and use its output to set the frame
25633 background-mode. (Bug#8597)
25634
25635 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25636
25637 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25638 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25639 New functions.
25640 (defgeneric, eieio--defmethod): Use them.
25641 (eieio-defgeneric): Remove.
25642 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25643
25644 2011-05-07 Glenn Morris <rgm@gnu.org>
25645
25646 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25647 Use let rather than let*.
25648 (timeclock-find-discrep): Remove unused local.
25649
25650 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25651
25652 * calendar/appt.el (appt-time-msg-list): Doc fix.
25653
25654 2011-05-06 Noah Friedman <friedman@splode.com>
25655
25656 * apropos.el (apropos-print-doc): Only use
25657 emacs-lisp-docstring-fill-column when it is bound to an integer,
25658 per that variable's documentation.
25659
25660 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25661
25662 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25663 and warnings are not silently discarded (e.g. use -d instead of -P).
25664
25665 2011-05-06 Glenn Morris <rgm@gnu.org>
25666
25667 * calendar/appt.el (appt-message-warning-time): Doc fix.
25668 (appt-warning-time-regexp): New option.
25669 (appt-make-list): Respect appt-message-warning-time.
25670
25671 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25672 New options.
25673 (diary-add-to-list): Strip comments from the displayed string.
25674 (diary-mode): Set comment-start and comment-end.
25675
25676 * vc/diff-mode.el (smerge-refine-subst): Declare.
25677 (diff-refine-hunk): Don't require smerge-mode when compiling.
25678
25679 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25680
25681 * simple.el (list-processes): Return nil as the docstring says.
25682
25683 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25684
25685 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25686 to "".
25687 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25688 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25689 determining of binary transfer. (Bug#7383)
25690
25691 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25692
25693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25694 Fix port computation bug. (Bug#8618)
25695
25696 2011-05-05 Glenn Morris <rgm@gnu.org>
25697
25698 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25699
25700 * simple.el (shell-dynamic-complete-functions)
25701 (comint-dynamic-complete-functions): Declare.
25702
25703 * net/network-stream.el (gnutls-negotiate):
25704 * simple.el (tabulated-list-print): Fix declarations.
25705
25706 * progmodes/gud.el (syntax-symbol, syntax-point):
25707 Remove unnecessary and incorrect declarations.
25708
25709 * emacs-lisp/check-declare.el (check-declare-scan):
25710 Handle byte-compile-initial-macro-environment in bytecomp.el.
25711
25712 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25713
25714 Fix earlier half-done eieio-defmethod change (bug#8338).
25715 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25716 Streamline and change calling convention.
25717 (defmethod): Adjust accordingly and simplify.
25718 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25719 new eieio--defmethod.
25720 (slot-boundp): Minor CSE simplification.
25721
25722 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25723
25724 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25725 (glasses-make-readable): Use glasses-separate-capital-groups.
25726
25727 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25728
25729 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25730 (warning-series): Doc fix.
25731 (display-warning): Don't try to create the buffer if we just found it.
25732
25733 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25734
25735 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25736 (autoload-find-generated-file): New function.
25737 (generate-file-autoloads): Bind generated-autoload-file to
25738 buffer-file-name.
25739 (update-file-autoloads, update-directory-autoloads):
25740 Use autoload-find-generated-file. If called interactively, prompt for
25741 output file (Bug#7989).
25742 (batch-update-autoloads): Doc fix.
25743
25744 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25745
25746 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25747
25748 2011-05-04 Glenn Morris <rgm@gnu.org>
25749
25750 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25751 function, so it follows changes in calendar-date-style.
25752 (diary-fancy-date-matcher): New function.
25753 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25754 (diary-fancy-font-lock-fontify-region-function):
25755 Use diary-fancy-date-pattern as a function.
25756
25757 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25758 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25759
25760 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25761
25762 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25763 instead of positional arguments. Allow :keylist and :crlfiles
25764 arguments.
25765 (open-gnutls-stream): Call it.
25766
25767 * net/network-stream.el (network-stream-open-starttls): Adjust to
25768 call `gnutls-negotiate' with :process and :hostname arguments.
25769
25770 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25771
25772 * minibuffer.el (completion--message): New function.
25773 (completion--do-completion, minibuffer-complete)
25774 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25775 (completion--do-completion): Don't ignore completion-auto-help when in
25776 icomplete-mode.
25777
25778 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25779 internal encoding (e.g. tibetan zero is not whitespace).
25780 (global-whitespace-mode): Prefer save-current-buffer.
25781 (whitespace-trailing-regexp): Remove useless save-match-data.
25782 (whitespace-empty-at-bob-regexp): Minor simplification.
25783
25784 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25785
25786 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25787
25788 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25789
25790 * textmodes/ispell.el (ispell-add-per-file-word-list):
25791 Use `concat' to create string for insertion.
25792
25793 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25794
25795 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25796 Avoid open-line which runs post-self-insert-hook.
25797 (bibtex-fill-entry): Remove unused `end' var.
25798
25799 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25800
25801 * textmodes/ispell.el (ispell-add-per-file-word-list):
25802 Protect against `nil' value of `comment-start' (Bug#8579).
25803
25804 2011-05-03 Leo Liu <sdl.web@gmail.com>
25805
25806 * isearch.el (isearch-yank-pop): New command.
25807 (isearch-mode-map): Bind it to `M-y'.
25808 (isearch-forward): Mention it.
25809
25810 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25811
25812 * simple.el (minibuffer-complete-shell-command): Remove.
25813 (minibuffer-local-shell-command-map): Use completion-at-point.
25814 (read-shell-command): Setup completion vars here instead.
25815 (read-expression-map): Bind TAB to symbol completion.
25816
25817 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25818 error directly rather via storing it into `results'.
25819
25820 2011-05-02 Leo Liu <sdl.web@gmail.com>
25821
25822 * vc/diff.el: Fix description.
25823
25824 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25825
25826 * server.el (server-eval-at): New function.
25827
25828 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25829
25830 * net/network-stream.el (open-network-stream): Take a :nowait
25831 parameter and pass it on to `make-network-process'.
25832 (network-stream-open-plain): Ditto.
25833
25834 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25835
25836 * faces.el (face-spec-set-match-display): Don't match toolkit
25837 options on terminal frames.
25838
25839 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25840
25841 * progmodes/pascal.el: Use lexical binding.
25842 (pascal-mode-map): Remove author preferences.
25843
25844 * pcomplete.el (pcomplete-std-complete): Don't abuse
25845 completion-at-point.
25846
25847 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25848
25849 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25850 removing code that has been dead since 1991 or so.
25851
25852 * startup.el (command-line): When warning about "_emacs", use a
25853 delayed warning to allow the user to filter it out.
25854
25855 2011-04-28 Deniz Dogan <deniz@dogan.se>
25856
25857 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25858 user has not joined.
25859
25860 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25861
25862 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25863 aren't any completions at point.
25864
25865 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25866
25867 * subr.el (display-delayed-warnings): New function.
25868 (delayed-warnings-hook): New variable.
25869
25870 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25871
25872 * minibuffer.el (completion-at-point, completion-help-at-point):
25873 Don't presume that a given completion-at-point-function will always
25874 use the same calling convention.
25875
25876 * pcomplete.el (pcomplete-completions-at-point):
25877 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25878 pcomplete-seen is non-nil.
25879 (pcomplete-comint-setup): Also recognize the new comint/shell
25880 completion functions.
25881 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25882 pcomplete-seen is non-nil.
25883
25884 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25885
25886 * calendar/icalendar.el (diary-lib): Add require statement.
25887 (icalendar--create-uid): Read out a uid from a text-property on
25888 the first character in the entry. This allows for code to add its
25889 own uid to the entry.
25890 (icalendar--convert-float-to-ical): Add export of
25891 `diary-float'-entries save for those with the optional DAY
25892 argument.
25893
25894 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25895
25896 * subr.el (shell-quote-argument): Use alternate escaping strategy
25897 when we spot a variable reference in a string.
25898
25899 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25900
25901 * cus-start.el (all): Define customization for debug-on-event.
25902
25903 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25904
25905 * subr.el (shell-quote-argument): Escape correctly under Windows.
25906
25907 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25908
25909 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25910
25911 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25912
25913 * net/tramp.el (tramp-process-actions): Add POS argument.
25914 Delete region between POS and (pos).
25915
25916 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25917 Use `nil' position in `tramp-process-actions' call.
25918 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25919
25920 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25921 position in `tramp-process-actions' call.
25922
25923 * net/trampver.el: Update release number.
25924
25925 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25926
25927 * custom.el (defcustom): Obey lexical-binding.
25928
25929 Fix octave-inf completion problems reported by Alexander Klimov.
25930 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25931 Inherit from octave-mode-syntax-table.
25932 (inferior-octave-mode): Set info-lookup-mode.
25933 (inferior-octave-completion-at-point): New function.
25934 (inferior-octave-complete): Use it and completion-in-region.
25935 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25936 comint-filename-completion.
25937 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25938 symbol elements which shouldn't be word elements.
25939 (octave-font-lock-keywords, octave-beginning-of-defun)
25940 (octave-function-header-regexp): Adjust regexps accordingly.
25941 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25942
25943 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25944
25945 * net/gnutls.el (gnutls-errorp): Declare before first use.
25946
25947 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25948
25949 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25950 verify-error, and verify-hostname-error parameters. Check whether
25951 default trustfile exists before going to use it. Add missing
25952 argument to gnutls-message-maybe call. Return value.
25953 Reported by Claudio Bley <claudio.bley@gmail.com>.
25954 (open-gnutls-stream): Add usage example.
25955
25956 * net/network-stream.el (network-stream-open-starttls): Give host
25957 parameter to `gnutls-negotiate'.
25958 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25959 * subr.el (shell-quote-argument): Escape correctly under Windows.
25960
25961 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25962
25963 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25964 Use correct match group (bug#8438).
25965
25966 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25967
25968 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25969 (package-menu--generate): New arg specifying packages to show.
25970 (package-menu-refresh, package-menu-execute, list-packages):
25971 Callers changed.
25972 (package-show-package-list): New function, replacing deleted
25973 package--list-packages (renamed because it is non-internal).
25974
25975 * finder.el (finder-list-matches): Use package-show-package-list
25976 instead of deleted package--list-packages.
25977
25978 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25979 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25980 (vc-annotate-mode-map): Bind it to RET.
25981
25982 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25983
25984 * progmodes/etags.el (next-file): Don't use set-buffer to change
25985 buffers (Bug#8478).
25986
25987 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25988
25989 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25990
25991 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25992 (apropos-accumulator): Doc fix.
25993 (apropos-function, apropos-macro, apropos-command)
25994 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25995 (apropos-plist): Add face property.
25996 (apropos-symbols-internal): Fix indentation.
25997 (apropos-print): Simplify help, and recognize apropos-multi-type.
25998 (apropos-print-doc): Use button-type-get to extract the button's
25999 face property. Fill docstring (Bug#8352).
26000
26001 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26002
26003 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26004
26005 * play/mpuz.el (mpuz-silent): Doc fix.
26006 (mpuz-mode-map): Use mapc.
26007 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26008 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26009 Fix typos in docstrings.
26010
26011 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26012 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26013
26014 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26015
26016 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26017
26018 * minibuffer.el (completion--do-completion): Avoid the "Next char
26019 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26020
26021 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26022 mouse-2 into unread-command-events, it is interpreted correctly.
26023
26024 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26025 (image-toggle-display): Doc fix.
26026
26027 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26028
26029 * textmodes/page.el (what-page): Use line-number-at-pos to
26030 calculate line number (Bug#6825).
26031
26032 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26033
26034 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26035 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26036 Pass argument NO-DEFAULT to `find-tag-interactive'.
26037
26038 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26039
26040 Lexical-binding cleanup.
26041
26042 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26043 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26044 * progmodes/ada-prj.el (ada-prj-initialize-values)
26045 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26046 (ada-prj-show-value):
26047 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26048 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26049 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26050 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26051 * progmodes/bug-reference.el (bug-reference-push-button):
26052 * progmodes/fortran.el (fortran-line-length):
26053 * progmodes/glasses.el (glasses-change):
26054 * progmodes/octave-mod.el (octave-fill-paragraph):
26055 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26056 (python-pdbtrack-grub-for-buffer, python-sentinel):
26057 * progmodes/sql.el (sql-save-connection):
26058 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26059 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26060 Mark unused parameters.
26061
26062 * progmodes/compile.el (compilation--flush-directory-cache)
26063 (compilation--flush-parse, compile-internal): Mark unused parameters.
26064 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26065 (compilation-next-error-function): Remove unused variable `timestamp'.
26066
26067 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26068 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26069
26070 * progmodes/dcl-mode.el (dcl-end-of-command):
26071 Remove unused variable `start'.
26072 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26073 (dcl-option-value-basic, dcl-option-value-offset)
26074 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26075 Mark unused parameters.
26076 (dcl-save-local-variable): Remove unused variable `val'.
26077 (mode): Declare.
26078
26079 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26080 Mark unused parameters.
26081 (delphi-ignore-changes): Move before first use.
26082 (delphi-charset-token-at): Remove unused variable `start'.
26083 (delphi-else-start): Remove unused variable `if-count'.
26084 (delphi-comment-block-start, delphi-comment-block-end):
26085 Remove unused variable `kind'.
26086 (delphi-indent-line): Remove unused variable `new-point'.
26087
26088 * progmodes/ebrowse.el (ebrowse-files-list)
26089 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26090 Mark unused parameters. Don't quote `lambda'.
26091 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26092 Don't quote `lambda'.
26093 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26094 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26095 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26096 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26097 Use `ignore-errors'.
26098 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26099 (ebrowse-view/find-file-and-search-pattern)
26100 (ebrowse-view/find-member-declaration/definition):
26101 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26102 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26103 Rename parameter PREFIX-ARG to PREFIX.
26104 (ebrowse-tags-read-name): Remove unused variables `start' and
26105 `member-info'.
26106 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26107 to `tags-file'.
26108
26109 * progmodes/etags.el (local-find-tag-hook): Declare.
26110 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26111 Mark unused parameters.
26112
26113 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26114 (executable-interpret): Mark unused parameter.
26115
26116 * progmodes/flymake.el (flymake-process-sentinel)
26117 (flymake-after-change-function)
26118 (flymake-create-temp-with-folder-structure)
26119 (flymake-get-include-dirs-dot): Mark unused parameters.
26120 (flymake-safe-delete-directory): Remove unused variable `err'.
26121
26122 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26123 (speedbar-timer-fn, speedbar-line-text)
26124 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26125 (speedbar-center-buffer-smartly): Declare functions.
26126 (gdb-find-watch-expression): Remove unused variable `array'.
26127 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26128 (gdb-starting): Mark unused parameters.
26129 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26130 (gdb-table-string): Remove unused variable `res'.
26131 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26132 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26133 (gdb-display-buffer): Remove unused variable `cur-size'.
26134
26135 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26136 allow lexical-binding compilation.
26137 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26138 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26139 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26140 Mark unused parameters.
26141 (gud-gdb-marker-filter): Remove unused variable `match'.
26142 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26143 lambda expressions and funcall them, instead of using `fset'.
26144
26145 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26146 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26147
26148 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26149 variable `header-beg'; use `let'.
26150
26151 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26152 `restart', `last-sexp' and `at-do'.
26153
26154 * progmodes/js.el (js--debug): Mark unused parameter.
26155 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26156 (js--splice-into-items): Remove unused variable `item'.
26157 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26158
26159 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26160 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26161 (makefile-complete): Remove unused variable `try'.
26162 (makefile-fill-paragraph, makefile-match-function-end):
26163 Mark unused parameters.
26164
26165 * progmodes/octave-inf.el (inferior-octave-complete):
26166 Remove unused variable `proc'.
26167 (inferior-octave-output-digest): Mark unused parameter.
26168
26169 * progmodes/perl-mode.el (perl-calculate-indent):
26170 Remove unused variable `err'.
26171
26172 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26173 (prolog-indent-line): Mark unused parameters.
26174 (prolog-indent-line): Remove unused variable `beg'.
26175
26176 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26177 (reporter-dont-compact-list): Declare.
26178
26179 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26180 Remove unused variable `char'.
26181 (sh-debug): Mark unused parameter.
26182 (sh-get-indent-info): Remove unused variable `start'.
26183 (sh-calculate-indent): Remove unused variable `var'.
26184
26185 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26186 (simula-electric-keyword): Remove unused variable `null'.
26187 (simula-search-backward, simula-search-forward): Remove unused
26188 variables `begin' and `end'.
26189
26190 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26191 Remove unused variable `pos'.
26192 (vera-electric-tab, vera-comment-uncomment-region):
26193 Mark unused parameters.
26194 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26195
26196 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26197
26198 * emacs-lisp/package.el (package--builtins, package-alist)
26199 (package-load-descriptor, package-built-in-p, package-activate)
26200 (define-package, package-installed-p)
26201 (package-compute-transaction, package-buffer-info)
26202 (package--push): Doc fix. Distinguish more clearly between
26203 version strings and version lists.
26204
26205 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26206
26207 Lexical-binding cleanup.
26208
26209 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26210 (5x5-make-mutate-best):
26211 * play/fortune.el (fortune-in-buffer):
26212 * play/gomoku.el (gomoku-init-display):
26213 * play/solitaire.el (solitaire, solitaire-do-check):
26214 * play/tetris.el (tetris-default-update-speed-function):
26215 Mark unused parameters.
26216
26217 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26218 (bubbles--shift): Remove unused variable `char-org'.
26219 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26220 (bubbles--show-images): Remove unused variable `char'.
26221
26222 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26223 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26224 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26225 (decipher-analyze-buffer): Use ?\s.
26226 (decipher-make-checkpoint): Remove unused variable `mapping'.
26227
26228 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26229
26230 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26231 Remove unused variable `result'; use `let'.
26232
26233 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26234 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26235 (gametree-children-shown-p, gametree-compute-reduced-score):
26236 Use `ignore-errors'.
26237
26238 * play/handwrite.el (ps-lpr-switches): Declare.
26239 (handwrite): Remove unused variables `pmin' and `lastp'.
26240
26241 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26242
26243 * play/landmark.el (landmark-init-display)
26244 (landmark-update-naught-weights): Mark unused parameters.
26245 (landmark-y): Remove unused variable `noise'. Simplify.
26246 (landmark-human-plays): Remove unused variable `score'.
26247
26248 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26249 (mpuz-try-proposal): Remove unused variable `game'.
26250
26251 * play/zone.el (life-patterns): Declare.
26252
26253 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26254
26255 * vc/vc.el (ediff-vc-internal): Declare function.
26256
26257 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26258
26259 * shell.el: Use lexical-binding and std completion UI.
26260 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26261 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26262 comint-preoutput-filter-functions rather than on
26263 comint-output-filter-functions.
26264 (shell-command-completion, shell--command-completion-data)
26265 (shell-filename-completion, shell-environment-variable-completion)
26266 (shell-c-a-p-replace-by-expanded-directory): New functions.
26267 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26268 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26269 (shell-dynamic-complete-environment-variable): Use them.
26270 (shell-dynamic-complete-as-environment-variable)
26271 (shell-dynamic-complete-as-command): Remove.
26272 (shell-match-partial-variable): Match past point.
26273 * comint.el: Clean up use of completion-at-point-functions.
26274 (comint-completion-at-point): New function.
26275 (comint-mode): Use it completion-at-point-functions.
26276 (comint-dynamic-complete): Make it obsolete.
26277 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26278 (comint-c-a-p-replace-by-expanded-history): New function.
26279 (comint-dynamic-complete-functions)
26280 (comint-replace-by-expanded-history): Use it.
26281 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26282 termination strings. Try harder to avoid second try-completion.
26283 (completion-in-region-mode-map): Disable bindings that don't work yet.
26284
26285 * comint.el: Use lexical-binding. Require CL.
26286 (comint-dynamic-complete-functions): Use comint-filename-completion.
26287 (comint-completion-addsuffix): Tweak custom type.
26288 (comint-filename-completion, comint--common-suffix)
26289 (comint--common-quoted-suffix, comint--table-subvert)
26290 (comint--complete-file-name-data): New functions.
26291 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26292 (comint-dynamic-list-filename-completions): Use them.
26293 (comint-dynamic-simple-complete): Make obsolete.
26294
26295 * minibuffer.el (completion-in-region-mode):
26296 Keep completion-in-region-mode--predicate global.
26297 (completion-in-region--postch):
26298 Assume completion-in-region-mode--predicate is not null.
26299
26300 * progmodes/flymake.el (flymake-start-syntax-check-process):
26301 Obey `dir'. Simplify.
26302
26303 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26304 we're in VC after all.
26305
26306 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26307
26308 * vc/vc.el (vc-diff-build-argument-list-internal)
26309 (vc-version-ediff, vc-ediff): New commands.
26310 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26311
26312 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26313
26314 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26315 add sanity check.
26316
26317 * obsolete/erc-hecomplete.el: Make obsolete.
26318 * obsolete/: Standardize obsolescence info in the header.
26319
26320 2011-04-20 Glenn Morris <rgm@gnu.org>
26321
26322 * calendar/solar.el (solar-horizontal-coordinates):
26323 Use the longitude argument rather than `calendar-longitude'.
26324 (solar-date-next-longitude): Remove unused locals.
26325
26326 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26327
26328 * whitespace.el: New version 13.2.1.
26329
26330 2011-04-20 felix <EmacsWiki> (tiny change)
26331
26332 * whitespace.el (global-whitespace-mode): Keep highlight when
26333 switching between major modes on a file.
26334
26335 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26336
26337 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26338 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26339 multi-line comments as well.
26340
26341 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26342
26343 Lexical-binding cleanup.
26344
26345 * arc-mode.el (archive-mode-revert):
26346 * cmuscheme.el (scheme-interactively-start-process):
26347 * custom.el (custom-initialize-delay):
26348 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26349 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26350 * emacs-lock.el (emacs-lock-clear-sentinel):
26351 * ezimage.el (defezimage):
26352 * follow.el (follow-avoid-tail-recenter):
26353 * fringe.el (set-fringe-mode-1):
26354 * generic-x.el (bat-generic-mode-compile):
26355 * help-mode.el (help-info-variable, help-do-xref)
26356 (help-mode-revert-buffer):
26357 * help.el (view-emacs-todo):
26358 * iswitchb.el (iswitchb-completion-help):
26359 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26360 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26361 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26362 * locate.el (locate-update):
26363 * longlines.el (longlines-encode-region)
26364 (longlines-after-change-function):
26365 * outline.el (outline-isearch-open-invisible):
26366 * ps-def.el (declare-function, charset-dimension, char-width)
26367 (encode-char):
26368 * ps-mule.el (ps-mule-plot-string):
26369 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26370 (recentf-edit-list-select, recentf-edit-list-validate)
26371 (recentf-open-files-action):
26372 * rect.el (delete-whitespace-rectangle-line)
26373 (rectangle-number-line-callback):
26374 * register.el (window-configuration-to-register)
26375 (frame-configuration-to-register):
26376 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26377 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26378 (xselect-convert-to-targets, xselect-convert-to-delete)
26379 (xselect-convert-to-filename, xselect-convert-to-charpos)
26380 (xselect-convert-to-lineno, xselect-convert-to-colno)
26381 (xselect-convert-to-os, xselect-convert-to-host)
26382 (xselect-convert-to-user, xselect-convert-to-class)
26383 (xselect-convert-to-name, xselect-convert-to-integer)
26384 (xselect-convert-to-atom, xselect-convert-to-identity):
26385 * subr.el (declare, ignore, process-kill-without-query)
26386 (text-clone-maintain):
26387 * terminal.el (te-get-char, te-tic-sentinel):
26388 * tool-bar.el (tool-bar-make-keymap):
26389 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26390 * type-break.el (type-break-mode, type-break-noninteractive-query):
26391 * view.el (View-back-to-mark):
26392 * wid-browse.el (widget-browse-action, widget-browse-widget)
26393 (widget-browse-widgets, widget-browse-sexp):
26394 * widget.el (define-widget-keywords):
26395 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26396 Mark unused parameters.
26397
26398 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26399 (align-areas): Remove unused variable `look'.
26400 (align-region): Remove unused variables `real-end' and `pos-list'.
26401
26402 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26403
26404 * bindings.el (mode-line-modified, mode-line-remote):
26405 Mark unused parameters.
26406 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26407
26408 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26409 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26410
26411 * comint.el (comint-history-isearch-pop-state)
26412 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26413 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26414 (comint-substitute-in-file-name): Doc fix.
26415
26416 * completion.el (cmpl-statistics-block): Mark unused parameter.
26417 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26418 (save-completions-to-file, load-completions-from-file):
26419 Remove unused local variable `e'.
26420
26421 * composite.el (compose-chars): Remove unused variable `len'.
26422 (lgstring-insert-glyph): Remove unused variable `g'.
26423 (compose-glyph-string): Remove unused variables `ascent',
26424 `descent', `lbearing' and `rbearing'.
26425 (compose-glyph-string-relative): Remove unused variables
26426 `lbearing', `rbearing' and `wadjust'.
26427 (compose-gstring-for-graphic): Remove unused variables `header',
26428 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26429 (compose-gstring-for-terminal): Remove unused variables `header'
26430 and `nchars'. Use `let', not `let*'.
26431
26432 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26433 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26434 (Custom-buffer-done, custom-buffer-create-internal)
26435 (custom-browse-visibility-action, custom-browse-group-tag-action)
26436 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26437 (widget-magic-mouse-down-action, custom-toggle-parent)
26438 (custom-add-parent-links, custom-toggle-hide-variable)
26439 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26440 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26441 (custom-face-menu-create, custom-variable-menu-create, get)
26442 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26443 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26444 (customize-apropos): Remove unused variable `tests'.
26445 (custom-group-value-create): Remove unused variable `hidden-p'.
26446 (sort-fold-case): Declare.
26447
26448 * cus-theme.el (custom-reset-standard-faces-list)
26449 (custom-reset-standard-variables-list): Declare.
26450 (customize-create-theme, custom-theme-revert, custom-theme-write)
26451 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26452 Mark unused parameters.
26453
26454 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26455
26456 * delim-col.el (delimit-columns-max): Move defvar before first use.
26457
26458 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26459 (describe-char): Don't quote `lambda'. Mark unused parameter.
26460
26461 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26462 (auto-insert): Declare.
26463 (desktop-restore-file-buffer): Rename desktop-* parameters;
26464 mark unused ones.
26465 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26466 (desktop-buffer): Rename desktop-* parameters.
26467
26468 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26469 (dframe-reposition-frame-xemacs, dframe-help-echo)
26470 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26471 Mark unused parameters.
26472
26473 * dired-aux.el (backup-extract-version-start, overwrite-query)
26474 (overwrite-backup-query, rename-regexp-query)
26475 (rename-non-directory-query): Declare.
26476 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26477 (dired-add-entry): Remove unused variable `orig-file-name'.
26478 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26479 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26480 `dired-copy-preserve-time' directly.
26481 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26482 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26483
26484 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26485 (dired-virtual-revert, dired-make-relative-symlink):
26486 Mark unused parameters.
26487 (manual-program): Declare.
26488 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26489 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26490 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26491
26492 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26493
26494 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26495
26496 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26497 Declare.
26498
26499 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26500
26501 * electric.el (Electric-command-loop): Rename parameter
26502 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26503
26504 * expand.el (expand-in-literal): Remove unused variable `here'.
26505
26506 * facemenu.el (facemenu-add-new-color):
26507 Remove unused variable `docstring'.
26508
26509 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26510 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26511 (face-attr-construct): Mark unused parameter. Doc fix.
26512 (read-color): Remove unused variable `hex-string'.
26513
26514 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26515 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26516 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26517 (display-buffer-other-frame): Remove unused variable `old-window'.
26518 (kill-buffer-hook): Declare.
26519 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26520 Mark unused parameters.
26521 (after-find-file): Pass 1 to `auto-save-mode', not t.
26522
26523 * files-x.el (auto-insert): Declare.
26524 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26525
26526 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26527 variable `buf'. Mark unused parameter.
26528 (find-lisp-insert-directory): Mark unused parameter.
26529
26530 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26531 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26532 (format-common-tail): Remove, unused.
26533 (format-deannotate-region): Remove unused variable `loc'.
26534 (format-annotate-region): Remove unused variable `p'.
26535 (format-annotate-single-property-change): Remove unused variables
26536 `default' and `tail'.
26537
26538 * forms.el (read-file-filter): Declare.
26539 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26540
26541 * frame.el (frame-creation-function-alist): Mark unused parameter.
26542 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26543
26544 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26545 Remove unused parameters.
26546 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26547 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26548
26549 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26550 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26551 (hfy-prepare-tag-map): Mark unused parameters.
26552 (htmlfontify-buffer): Use `called-interactively-p'.
26553
26554 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26555 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26556 (ibuffer-do-occur): Mark unused parameters.
26557 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26558 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26559
26560 * ibuffer.el: Don't quote `lambda'.
26561 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26562 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26563 Mark unused parameters.
26564
26565 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26566 (ido-completing-read): Mark unused parameters.
26567 (ido-copy-current-word): Mark unused parameters;
26568 remove unused variable `name'.
26569 (ido-sort-merged-list): Remove unused parameter `dirs'.
26570
26571 * ielm.el (ielm-input-sender): Mark unused parameter.
26572 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26573 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26574 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26575 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26576 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26577
26578 * image-dired.el (image-dired-display-thumbs): Remove unused
26579 variables `curr-file' and `count'.
26580 (image-dired-remove-tag): Remove unused variable `start'.
26581 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26582 variable `curr-file'
26583 (image-dired-rotate-original): Remove unused variable `temp-file'.
26584 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26585 Remove unused variable `file'.
26586 (image-dired-gallery-generate): Remove unused variable `curr'.
26587 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26588
26589 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26590
26591 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26592
26593 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26594
26595 * isearch.el (minibuffer-history-symbol): Declare.
26596 (isearch-edit-string): Remove unused variable `err'.
26597 (isearch-message-prefix, isearch-message-suffix):
26598 Mark unused parameters.
26599
26600 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26601
26602 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26603
26604 * makesum.el (double-column): Remove unused variable `cnt'.
26605
26606 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26607 (ido-ignore-item-temp-list): Declare.
26608
26609 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26610 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26611 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26612 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26613 `mouse-col-delta'.
26614
26615 * mouse-sel.el (mouse-extend-internal):
26616 Remove unused variable `orig-window-frame'.
26617
26618 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26619 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26620 Move declarations before first use.
26621 (pcomplete-opt): Mark unused parameters; doc fix.
26622
26623 * proced.el (proced-revert): Mark unused parameter.
26624 (proced-send-signal): Remove unused variable `err'.
26625
26626 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26627 Rename parameter PREFIX-ARG to ARG.
26628 (ps-basic-plot-string, ps-basic-plot-whitespace):
26629 Mark unused parameters.
26630
26631 * replace.el (replace-count): Define.
26632 (occur-revert-function): Mark unused parameters.
26633 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26634 (isearch-case-fold-search, isearch-string): Declare.
26635 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26636 bind `case-fold-search'. Remove unused variables `beg' and `end',
26637 and simplify.
26638 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26639 COUNT and bind `replace-count'.
26640 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26641 to COUNT.
26642
26643 * savehist.el (print-readably, print-string-length): Declare.
26644
26645 * shadowfile.el (shadow-expand-cluster-in-file-name):
26646 Remove unused variable `cluster'.
26647 (shadow-copy-file): Remove unused variable `i'.
26648 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26649 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26650 (shadow-define-literal-group, shadow-define-regexp-group)
26651 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26652
26653 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26654 (shell): Use `called-interactively-p'.
26655 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26656
26657 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26658 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26659 (delete-backward-char): Remove unused variable `ocol'.
26660 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26661 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26662 (event-apply-hyper-modifier, event-apply-shift-modifier)
26663 (event-apply-control-modifier, event-apply-meta-modifier):
26664 Mark unused parameters.
26665 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26666 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26667
26668 * speedbar.el (speedbar-ignored-directory-expressions)
26669 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26670 (speedbar-find-file, speedbar-dir-follow)
26671 (speedbar-directory-buttons-follow, speedbar-tag-find)
26672 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26673 (speedbar-buffers-line-directory, speedbar-buffer-click):
26674 Mark unused parameters.
26675 (speedbar-tag-file): Remove unused variable `mode'.
26676 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26677
26678 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26679
26680 * talk.el (talk): Remove unused variable `display'.
26681
26682 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26683 (tar-write-region-annotate): Mark unused parameter.
26684
26685 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26686 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26687 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26688 warning by another.
26689
26690 * time-stamp.el (time-stamp-string-preprocess):
26691 Remove unused variable `require-padding'.
26692
26693 * tree-widget.el (widget-glyph-enable): Declare.
26694 (tree-widget-action): Mark unused parameter.
26695
26696 * w32-fns.el (x-get-selection): Mark unused parameter.
26697 (autoload-make-program, generated-autoload-file): Declare.
26698
26699 * wdired.el (wdired-revert): Mark unused parameters.
26700 (wdired-xcase-word): Remove unused variable `err'.
26701
26702 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26703 (whitespace-help-scroll): Remove unused variable `data-help'.
26704
26705 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26706 (widget-image-insert, widget-after-change, default)
26707 (widget-default-format-handler, widget-default-notify)
26708 (widget-default-prompt-value, widget-info-link-action)
26709 (widget-url-link-action, widget-function-link-action)
26710 (widget-variable-link-action, widget-file-link-action)
26711 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26712 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26713 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26714 (widget-insert-button-action, widget-delete-button-action, visibility)
26715 (widget-documentation-link-action, widget-documentation-string-action)
26716 (widget-const-prompt-value, widget-regexp-match, symbol)
26717 (widget-coding-system-prompt-value)
26718 (widget-key-sequence-value-to-external, sexp)
26719 (widget-sexp-value-to-internal, character, vector, cons)
26720 (widget-choice-prompt-value, widget-boolean-prompt-value)
26721 (widget-color--choose-action): Mark unused parameters.
26722 (widget-item-match-inline, widget-choice-match-inline)
26723 (widget-checklist-match, widget-checklist-match-inline)
26724 (widget-group-match): Rename parameter VALUES to VALS.
26725 (widget-field-value-set): Remove unused variable `size'.
26726 (widget-color-action): Remove unused variables `value' and `start'.
26727
26728 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26729 variable `dir'. Doc fix.
26730 (windmove-find-other-window): Don't pass it.
26731
26732 * window.el (count-windows): Mark unused parameter.
26733 (bw-adjust-window): Remove unused variable `err'.
26734
26735 * woman.el (woman-file-name): Remove unused variable `default'.
26736 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26737 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26738 (global-font-lock-mode): Declare.
26739 (woman-decode-region): Mark unused parameter.
26740 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26741
26742 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26743 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26744 (x-dnd-handle-moz-url): Remove unused variable `title'.
26745 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26746
26747 * xml.el (xml-parse-tag, xml-parse-attlist):
26748 Remove unused variable `pos'.
26749
26750 2011-04-19 Glenn Morris <rgm@gnu.org>
26751
26752 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26753 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26754 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26755 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26756 * calendar/cal-html.el (cal-html-insert-minical):
26757 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26758 (calendar-mark-date-pattern):
26759 Prefix "unused" locals.
26760
26761 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26762 optional argument `style'.
26763
26764 * calendar/appt.el (appt-make-list):
26765 * calendar/cal-china.el (calendar-chinese-date-string):
26766 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26767 (diary-hebrew-yahrzeit):
26768 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26769 * calendar/calendar.el (calendar-generate-window):
26770 * calendar/time-date.el (time-to-days):
26771 Remove unused local variables.
26772
26773 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26774
26775 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26776 glyphless-char-display table.
26777 (tabulated-list-glyphless-char-display): New var.
26778
26779 2011-04-18 Sam Steingold <sds@gnu.org>
26780
26781 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26782 to acknowledgments.
26783
26784 2011-04-17 Glenn Morris <rgm@gnu.org>
26785
26786 * calendar/diary-lib.el (diary-sexp-entry):
26787 * calendar/holidays.el (holiday-sexp):
26788 Set debug-on-error rather than the removed stack-trace-on-error.
26789
26790 2011-04-16 Glenn Morris <rgm@gnu.org>
26791
26792 * progmodes/f90.el: Use lexical-binding.
26793 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26794
26795 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26796
26797 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26798 (mail-mode): Setup mailalias completion here instead.
26799 * mail/mailalias.el: Use lexical-binding.
26800 (pattern, mailalias-done): Declare dynamic.
26801 (mail-completion-at-point-function): New function, from mail-complete.
26802 (mail-complete): Use it.
26803 (mail-completion-expand): New function.
26804 (mail-get-names): Use it.
26805 (mail-directory, mail-directory-process, mail-directory-stream):
26806 Don't use `pattern' for lexically bound arg.
26807
26808 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26809
26810 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26811 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26812 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26813
26814 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26815 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26816 (byte-interactive-p): Define them again, for use when inlining
26817 old code.
26818
26819 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26820
26821 * loadup.el: Use `string-to-number', not `string-to-int'.
26822
26823 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26824
26825 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26826 gud-gdb-complete-command.
26827 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26828 (gud-gdb-completion-at-point): New function.
26829 (gud-gdb-completions): Remove.
26830
26831 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26832
26833 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26834 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26835 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26836 whether `executable-find' is bound.
26837
26838 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26839
26840 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26841
26842 * minibuffer.el (completion-in-region-mode-predicate)
26843 (completion-in-region-mode--predicate): New vars.
26844 (completion-in-region, completion-in-region--postch)
26845 (completion-in-region-mode): Use them.
26846 (completion--capf-wrapper): Also return the hook function.
26847 (completion-at-point, completion-help-at-point):
26848 Adjust and provide a predicate.
26849
26850 Preserve arg names for advice of subr and lexical functions (bug#8457).
26851 * help-fns.el (help-function-arglist): Consolidate the subr and
26852 new-byte-code cases. Add argument `preserve-names' to extract names
26853 from the docstring when needed.
26854 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26855 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26856 (ad-arglist): Use help-function-arglist's new arg.
26857 (ad-definition-type): Use cond.
26858
26859 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26860
26861 * autorevert.el (auto-revert-handler):
26862 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26863 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26864 Don't quote lambda.
26865
26866 * image-mode.el (image-transform-set-scale):
26867 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26868
26869 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26870
26871 * net/network-stream.el (network-stream-open-starttls): Only do
26872 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26873 Upgrades via gnutls-cli are too slow to be done opportunistically.
26874
26875 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26876
26877 * dframe.el (dframe-current-frame): Remove spurious quote.
26878
26879 2011-04-12 Glenn Morris <rgm@gnu.org>
26880
26881 * calendar/cal-tex.el (cal-tex-end-document):
26882 Try to automatically use latin1 input if needed.
26883
26884 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26885 Don't try to cons a mark onto an empty element.
26886
26887 2011-04-11 Leo Liu <sdl.web@gmail.com>
26888
26889 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26890 buffers.
26891 (ido-kill-buffer-at-head): Support killing virtual buffers.
26892
26893 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26894
26895 * minibuffer.el (completion-show-inline-help): New var.
26896 (completion--do-completion, minibuffer-complete)
26897 (minibuffer-force-complete, minibuffer-complete-word):
26898 Inhibit minibuffer messages if completion-show-inline-help is nil.
26899
26900 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26901 to avoid interference from inline help (Bug#5849).
26902
26903 2011-04-10 Leo Liu <sdl.web@gmail.com>
26904
26905 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26906 Fix typo.
26907
26908 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26909
26910 * image-mode.el (image-toggle-display-image): Signal an error if
26911 not in Image mode.
26912 (image-transform-mode, image-transform-resize)
26913 (image-transform-set-rotation): Doc fix.
26914 (image-transform-set-resize): Delete.
26915 (image-transform-set-scale, image-transform-fit-to-height)
26916 (image-transform-fit-to-width): Handle image-toggle-display-image
26917 and image-transform-resize directly.
26918
26919 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26920
26921 * doc-view.el (doc-view-fit-width-to-window)
26922 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26923 New functions for fitting the shown image to the Emacs window size.
26924 (doc-view-mode-map): Add bindings for the new functions.
26925
26926 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26927
26928 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26929 Fix typo in docstring.
26930
26931 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26932
26933 * files.el (file-size-human-readable): Produce one digit after
26934 decimal, like "ls -lh" does.
26935
26936 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26937 the file size representation.
26938
26939 * simple.el (list-processes): If async subprocesses are not
26940 available, error out with a clear error message.
26941
26942 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26943
26944 * help.el (help-form-show): New function, to be called from C.
26945 Put help-form output in a buffer named differently than *Help*.
26946
26947 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26948
26949 * files.el (file-size-human-readable): New function.
26950
26951 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26952 computing the representation inline. Don't require `cl'.
26953
26954 2011-04-08 Glenn Morris <rgm@gnu.org>
26955
26956 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26957
26958 * net/browse-url.el (browse-url-firefox):
26959 Test system-type, not system-configuration.
26960
26961 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26962 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26963 Use log-edit-empty-buffer-p. (Bug#7598)
26964
26965 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26966 (rlogin-mode-map): Initialize in the defvar.
26967 (rlogin): Use ignore-errors.
26968
26969 * replace.el (occur-mode-map): Some fixes for menu items.
26970
26971 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26972
26973 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26974
26975 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26976
26977 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26978 issuing unused warnings.
26979
26980 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26981 macro directly.
26982
26983 * simple.el: Lisp reimplement of list-processes. Based on an
26984 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26985 (process-menu-mode): New major mode.
26986 (list-processes--refresh, list-processes):
26987 (process-menu-visit-buffer): New functions.
26988
26989 * files.el (save-buffers-kill-emacs): Don't assume any return
26990 value of list-processes, which is undocumented anyway.
26991
26992 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26993
26994 * emacs-lisp/tabulated-list.el: New file.
26995
26996 * emacs-lisp/package.el: Use Tabulated List mode.
26997 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26998 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26999 table format using Tabulated List mode variables.
27000 (package--push): New macro, replacing package-list-maybe-add.
27001 (package-menu--generate): Use package--push. Renamed from
27002 package--generate-package-list.
27003 (package-menu-refresh, list-packages): Use it.
27004 (package-menu--print-info): Rename from package-print-package.
27005 Return insertion data instead of inserting it directly.
27006 (package-menu-describe-package, package-menu-execute):
27007 Use tabulated-list-get-id.
27008 (package-menu-mark-delete, package-menu-mark-install)
27009 (package-menu-mark-unmark, package-menu-backup-unmark)
27010 (package-menu-mark-obsolete-for-deletion):
27011 Use tabulated-list-put-tag.
27012 (package--list-packages, package-menu-revert)
27013 (package-menu-get-package, package-menu-get-version)
27014 (package-menu-sort-by-column): Functions deleted.
27015 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27016 (package-menu--status-predicate, package-menu--version-predicate)
27017 (package-menu--name-predicate)
27018 (package-menu--description-predicate): Handle arguments in the
27019 Tabulated List format.
27020 (package-list-packages-no-fetch): Call list-packages.
27021
27022 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27023
27024 * files.el (after-find-file-from-revert-buffer): Remove variable.
27025 (after-find-file): Don't bind it.
27026 (revert-buffer-in-progress-p): New variable.
27027 (revert-buffer): Bind it.
27028 Pass nil for `after-find-file-from-revert-buffer'.
27029
27030 * saveplace.el (save-place-find-file-hook): Use new variable
27031 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27032
27033 2011-04-06 Glenn Morris <rgm@gnu.org>
27034
27035 * Makefile.in (AUTOGEN_VCS): New variable.
27036 (autoloads): Use $AUTOGEN_VCS.
27037
27038 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27039 * calendar/calendar.el (calendar-mode-map):
27040 Check for toolkit scroll bars. (Bug#8305)
27041
27042 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27043
27044 * minibuffer.el (completion-in-region--postch)
27045 (completion-in-region-mode): Remove unnecessary messages.
27046
27047 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27048
27049 * font-lock.el (font-lock-refresh-defaults):
27050 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27051 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27052
27053 * info.el (Info-directory-list, Info-read-node-name-2)
27054 (Info-split-parameter-string): Doc fixes.
27055 (Info-virtual-nodes): Reflow docstring.
27056 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27057 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27058 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27059 Fix typos in docstrings.
27060 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27061 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27062 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27063 (Info-restore-desktop-buffer): Mark unused parameters.
27064 (Info-directory-find-file, Info-directory-find-node)
27065 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27066 (Info-virtual-index-find-node, Info-apropos-find-file)
27067 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27068 Mark unused parameters; fix typos in docstrings.
27069 (Info-virtual-index): Remove unused local variable `nodename'.
27070
27071 2011-04-05 Deniz Dogan <deniz@dogan.se>
27072
27073 * net/rcirc.el: Update my e-mail address.
27074 (rcirc-mode-map): Remove M-o binding.
27075
27076 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27077
27078 * startup.el (command-line): Save the cursor's theme-face
27079 directly, instead of using face-override-spec.
27080
27081 * custom.el (load-theme): Minor optimization in assigning faces.
27082
27083 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27084
27085 * help-fns.el (describe-variable): Complete all variables having
27086 documentation, including keywords.
27087 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27088
27089 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27090
27091 Convert to lexical-binding.
27092
27093 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27094 (bs--get-marked-string, bs--get-modified-string)
27095 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27096 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27097 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27098
27099 * ehelp.el (electric-help-execute-extended)
27100 (electric-help-ctrl-x-prefix):
27101 * hexl.el (hexl-revert-buffer-function):
27102 * linum.el (linum-after-change, linum-after-scroll):
27103 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27104
27105 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27106
27107 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27108
27109 * epa-dired.el:
27110 * epa-mail.el:
27111 * epa-hook.el:
27112 * epa-file.el:
27113 * epa.el:
27114 * epg.el: Use lexical binding.
27115
27116 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27117
27118 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27119
27120 * textmodes/flyspell.el (flyspell-word): Recognize default
27121 dictionary case for flyspell-mark-duplications-exceptions.
27122 Use regexp matching for languages.
27123 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27124 default dictionary (Bug#7926).
27125
27126 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27127
27128 * emacs-lisp/package.el (package--with-work-buffer):
27129 Recognize https URLs.
27130
27131 * net/network-stream.el: Move from gnus/proto-stream.el.
27132 Change prefix to network-stream throughout.
27133 (open-protocol-stream): Merge into open-network-stream, leaving
27134 open-protocol-stream as an alias. Handle nil BUFFER args.
27135
27136 * subr.el (open-network-stream): Move to net/network-stream.el.
27137
27138 2011-04-02 Glenn Morris <rgm@gnu.org>
27139
27140 * find-dired.el (find-exec-terminator): New option.
27141 (find-ls-option): Test for -ls support.
27142 (find-ls-subdir-switches): Test for -b in find-ls-option.
27143 (find-dired, find-grep-dired): Doc fixes.
27144 (find-dired): Use find-exec-terminator.
27145
27146 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27147 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27148 (find-name-arg): Remove purecopy.
27149
27150 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27151 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27152 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27153 accordingly. Don't add the null-device if not needed.
27154
27155 * files.el (save-some-buffers): Doc fix.
27156
27157 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27158
27159 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27160
27161 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27162
27163 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27164 Use `dolist' rather than `mapcar'.
27165
27166 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27167
27168 Add lexical binding.
27169
27170 * subr.el (apply-partially): Use new closures rather than CL.
27171 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27172 (dolist, dotimes): Use slightly different expansion for lexical code.
27173 (functionp): Move to C.
27174 (letrec): New macro.
27175 (with-wrapper-hook): Use it and apply-partially instead of CL.
27176 (eval-after-load): Preserve lexical-binding.
27177 (save-window-excursion, with-output-to-temp-buffer): Turn them
27178 into macros.
27179
27180 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27181
27182 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27183 than the arglist.
27184 (help-add-fundoc-usage): Don't add `Not documented'.
27185 (help-function-arglist): Handle closures, subroutines, and new
27186 byte-code-functions.
27187 (help-make-usage): Remove leading underscores.
27188 (describe-function-1): Handle closures.
27189 (describe-variable): Use special-variable-p for completion.
27190
27191 * files.el (lexical-binding): Declare safe.
27192
27193 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27194 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27195 (pcase): Add `let' pattern.
27196 Change memoization so it actually works.
27197 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27198 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27199 <let>: New case.
27200
27201 * emacs-lisp/macroexp.el: Use lexical binding.
27202 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27203 Don't convert ' to #' without checking that it's indeed quoting
27204 a lambda.
27205
27206 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27207 Use eval-sexp-add-defvars.
27208 (eval-sexp-add-defvars): New fun.
27209
27210 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27211
27212 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27213 Don't autoload.
27214 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27215 than the internal `byte-compile-lambda'.
27216 (defmethod): Don't hide code under quotes.
27217 (eieio-defmethod): New `code' argument.
27218
27219 * emacs-lisp/eieio-comp.el: Remove.
27220
27221 * emacs-lisp/edebug.el (edebug-eval-defun)
27222 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27223 (edebug-toggle): Avoid `eval'.
27224
27225 * emacs-lisp/disass.el (disassemble-internal): Handle new
27226 `closure' objects.
27227 (disassemble-1): Handle new byte codes.
27228
27229 * emacs-lisp/cl.el (pushnew): Silence warning.
27230
27231 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27232 (cl-byte-compile-throw): Remove.
27233 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27234
27235 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27236 closures.
27237
27238 * emacs-lisp/cconv.el: New file.
27239
27240 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27241 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27242 (byte-compile-initial-macro-environment):
27243 Handle declare-function here.
27244 (byte-compile--lexical-environment): New var.
27245 (byte-stack-ref, byte-stack-set, byte-discardN)
27246 (byte-discardN-preserve-tos): New lap codes.
27247 (byte-interactive-p): Don't use any more.
27248 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27249 New macros.
27250 (byte-compile-lapcode): Use them and handle new lap codes.
27251 (byte-compile-obsolete): Remove.
27252 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27253 (byte-compile-arglist-warn): Check late def of inlinable funs.
27254 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27255 since they should have been expanded by now.
27256 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27257 (byte-compile-from-buffer): Remove unused second arg.
27258 (byte-compile-preprocess): New function.
27259 (byte-compile-toplevel-file-form): New function to distinguish
27260 file-form calls from outside from file-form calls from hunk-handlers.
27261 (byte-compile-file-form): Simplify.
27262 (byte-compile-file-form-defsubst): Remove.
27263 (byte-compile-file-form-defmumble): Simplify now that
27264 byte-compile-lambda always returns a byte-code-function.
27265 (byte-compile): Preprocess.
27266 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27267 Remove, not used any more.
27268 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27269 (byte-compile-make-args-desc): New funs.
27270 (byte-compile-lambda): Handle lexical functions. Always return
27271 a byte-code-function.
27272 (byte-compile-reserved-constants): New var, to make up room for
27273 closed-over variables.
27274 (byte-compile-constants-vector): Obey it.
27275 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27276 (byte-compile-macroexpand-declare-function): New function.
27277 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27278 byte-code-functions.
27279 (byte-compile-form): Check obsolescence here.
27280 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27281 (byte-compile-variable-ref): Remove.
27282 (byte-compile-dynamic-variable-op): New fun.
27283 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27284 (byte-compile-variable-set): New funs.
27285 (byte-compile-discard): Add 2 args.
27286 (byte-compile-stack-ref, byte-compile-stack-set)
27287 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27288 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27289 macroexpand-all instead.
27290 (byte-compile-quote-form): Remove.
27291 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27292 (byte-compile-bind, byte-compile-unbind): New funs.
27293 (byte-compile-let): Handle let* and lexical binding.
27294 (byte-compile-let*): Remove.
27295 (byte-compile-catch, byte-compile-unwind-protect)
27296 (byte-compile-track-mouse, byte-compile-condition-case):
27297 Handle a new :fun-body form, used for lexical scoping.
27298 (byte-compile-save-window-excursion)
27299 (byte-compile-with-output-to-temp-buffer): Remove.
27300 (byte-compile-defun): Simplify.
27301 (byte-compile-stack-adjustment): New fun.
27302 (byte-compile-out): Use it.
27303 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27304
27305 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27306 handler any more.
27307
27308 * emacs-lisp/byte-opt.el: Use lexical binding.
27309 (byte-inline-lapcode): Remove (to bytecomp).
27310 (byte-compile-inline-expand): Pay attention to inlining to/from
27311 lexically bound code.
27312 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27313 any more.
27314 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27315 any more and don't call compiler-macros.
27316 (byte-compile-splice-in-already-compiled-code): Remove.
27317 (byte-code): Don't inline any more.
27318 (disassemble-offset): Receive `bytes' as argument rather than via
27319 dynamic scoping.
27320 (byte-compile-tag-number): Declare before first use.
27321 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27322 `return' even if make-spliceable.
27323 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27324 obsolete interactive-p.
27325 (byte-optimize-lapcode): Optimize new lap-codes.
27326 Don't trip up on new form of `byte-constant' lap code.
27327
27328 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27329
27330 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27331
27332 * custom.el (custom-initialize-default, custom-declare-variable):
27333 Use `defvar'.
27334
27335 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27336 New variables.
27337 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27338 (COMPILE_FIRST): Add macroexp and cconv.
27339 * makefile.w32-in: Mirror changes in Makefile.in.
27340
27341 * vc/cvs-status.el:
27342 * vc/diff-mode.el:
27343 * vc/log-edit.el:
27344 * vc/log-view.el:
27345 * vc/smerge-mode.el:
27346 * textmodes/bibtex-style.el:
27347 * textmodes/css-mode.el:
27348 * startup.el:
27349 * uniquify.el:
27350 * minibuffer.el:
27351 * newcomment.el:
27352 * reveal.el:
27353 * server.el:
27354 * mpc.el:
27355 * emacs-lisp/smie.el:
27356 * doc-view.el:
27357 * dired.el:
27358 * abbrev.el: Use lexical binding.
27359
27360 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27361
27362 * info.el (info-display-manual): New function.
27363
27364 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27365
27366 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27367
27368 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27369
27370 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27371 an entry for that server in rcirc-authinfo. (Bug#8385)
27372
27373 2011-03-31 Glenn Morris <rgm@gnu.org>
27374
27375 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27376
27377 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27378
27379 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27380
27381 * progmodes/python.el (python-default-interpreter)
27382 (python-python-command-args, python-jython-command-args)
27383 (python-which-shell, python-which-args, python-which-bufname)
27384 (python-file-queue, python-comint-output-filter-function)
27385 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27386 variables and functions.
27387
27388 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27389
27390 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27391 (completion-in-region-mode): New minor mode.
27392 (completion-in-region): Use it.
27393 (completion-in-region--data, completion-in-region-mode-map): New vars.
27394 (completion-in-region--postch): New function.
27395 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27396 New vars.
27397 (completion--capf-wrapper): New function.
27398 (completion-at-point): Use it to track well-behavedness of
27399 hook functions.
27400 (completion-help-at-point): New command.
27401
27402 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27403
27404 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27405 syntax class to search for whitespace on a single line
27406 (Message-ID: <4D938140.4030905@redhat.com>).
27407
27408 2011-03-30 Leo Liu <sdl.web@gmail.com>
27409
27410 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27411 New commands.
27412 (edit-abbrevs-map): Bind them here.
27413 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27414
27415 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27416
27417 * allout.el (allout-hide-by-annotation, allout-flag-region):
27418 Reduce possibility of overlay leakage by making them volatile.
27419
27420 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27421 hash is not shared between buffers. Mode initialization is
27422 responsible for giving it a useful starting value.
27423 (allout-item-span): Reduce possibility of overlay leakage by
27424 making them volatile.
27425 (allout-widgets-count-buttons-in-region): Add diagnostic function
27426 for tracking down button overlay leaks.
27427
27428 2011-03-29 Leo Liu <sdl.web@gmail.com>
27429
27430 * ido.el (ido-read-internal): Use the default history var
27431 minibuffer-history if no HISTORY is specified.
27432
27433 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27434
27435 * net/imap.el (imap-shell-open, imap-process-connection-type):
27436 Use imap-process-connection-type for 'shell' streams as well as
27437 Kerberos, SSL, other subprocesses.
27438
27439 2011-03-28 Leo Liu <sdl.web@gmail.com>
27440
27441 * abbrev.el (abbrev-table-empty-p): New function.
27442 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27443 nonempty ones. (Bug#5937)
27444
27445 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27446
27447 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27448
27449 2011-03-27 Leo Liu <sdl.web@gmail.com>
27450
27451 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27452 for foreground and background colors.
27453 (ansi-color-make-color-map): Adapt.
27454
27455 2011-03-25 Leo Liu <sdl.web@gmail.com>
27456
27457 * midnight.el (midnight-time-float): Remove. Note it calculates
27458 the microsecond component incorrectly and seconds-to-time does the
27459 same job.
27460 Remove redundant (require 'timer).
27461
27462 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27463 (ido-completions): Remove unused arguments. (Bug#8329)
27464
27465 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27466
27467 * minibuffer.el (completion--flush-all-sorted-completions):
27468 Remove itself from hook.
27469 (completion-at-point): Let the functions perform the completion
27470 immediately and return nil or t.
27471 * comint.el (comint-dynamic-complete-functions): Now identical to
27472 completion-at-point-functions.
27473 (comint-dynamic-list-input-ring): Remove unused var `index'.
27474 (comint--match-partial-filename, comint--unquote&expand-filename):
27475 New funs, split from comint-match-partial-filename.
27476 (comint-dynamic-complete): Use completion-at-point.
27477 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27478
27479 2011-03-24 Drew Adams <drew.adams@oracle.com>
27480
27481 * thingatpt.el: Support `defun'.
27482
27483 2011-03-23 Leo Liu <sdl.web@gmail.com>
27484
27485 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27486
27487 * help-mode.el (help-mode-finish): Tweak regexp.
27488
27489 2011-03-23 Glenn Morris <rgm@gnu.org>
27490
27491 * eshell/esh-opt.el (eshell-eval-using-options):
27492 Do not bind unused local variable `eshell-option-stub'.
27493
27494 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27495
27496 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27497
27498 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27499 keymap variable in `with-no-warnings' to avoid a warning when the
27500 keymap has been already `defconst'ed.
27501
27502 2011-03-22 Leo Liu <sdl.web@gmail.com>
27503
27504 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27505 encode all chars in abbrevs; otherwise use emacs-mule or
27506 utf-8-emacs. (Bug#8308)
27507
27508 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27509
27510 * simple.el (backward-delete-char-untabify):
27511 Avoid warning about using `delete-backward-char'.
27512
27513 * image.el (image-type-file-name-regexps): Make it variable.
27514 `imagemagick-register-types' modifies it, and the user may want
27515 to add new extensions for known image types.
27516 (imagemagick-register-types): Throw error if not using ImageMagick.
27517
27518 2011-03-22 Leo Liu <sdl.web@gmail.com>
27519
27520 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27521 located before rcirc-prompt-end-marker.
27522 (rcirc-complete): Error if point is not after rcirc prompt.
27523 Handle the case when table is nil.
27524 (rcirc-user-authenticated): Define to fix compiler warning.
27525
27526 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27527
27528 * custom.el (custom--inhibit-theme-enable): Make it affect only
27529 custom-theme-set-variables and custom-theme-set-faces.
27530 (provide-theme): Ignore custom--inhibit-theme-enable.
27531 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27532 (custom-enabling-themes): Delete variable.
27533 (enable-theme): Accept only loaded themes as arguments.
27534 Ignore the special custom-enabled-themes variable.
27535 (custom-enabled-themes): Forbid themes from setting this.
27536 Eliminate use of custom-enabling-themes.
27537 (custom-push-theme): Quote "changed" custom var entry.
27538
27539 2011-03-21 Leo Liu <sdl.web@gmail.com>
27540
27541 * ido.el (ido-read-internal): Add ido-selected to history instead
27542 of user input.
27543
27544 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27545
27546 * subr.el (deferred-action-list, deferred-action-function):
27547 Mark obsolete.
27548
27549 2011-03-21 Leo Liu <sdl.web@gmail.com>
27550
27551 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27552 change on 2011-02-13 (bug#8309).
27553
27554 * minibuffer.el (read-file-name-function): Change default value.
27555 (read-file-name--defaults): Rename from read-file-name-defaults.
27556 (read-file-name-default): Rename from read-file-name.
27557 (read-file-name): Call read-file-name-function.
27558
27559 2011-03-21 Glenn Morris <rgm@gnu.org>
27560
27561 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27562 Doc fixes.
27563
27564 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27565
27566 * cus-theme.el: Add missing provide statement.
27567 (customize-create-theme): Extract theme value correctly.
27568 (custom-theme-visit-theme): Autoload.
27569 (customize-create-theme): Prompt before inserting default faces.
27570
27571 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27572
27573 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27574 units and musical notes.
27575
27576 2011-03-20 Leo Liu <sdl.web@gmail.com>
27577
27578 * ido.el (ido-read-internal): Use completing-read-default.
27579 (ido-completing-read): Fix compatibility with completing-read.
27580
27581 2011-03-20 Christian Ohler <ohler@gnu.org>
27582
27583 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27584 (ert-delete-all-tests): Use `called-interactively-p' rather than
27585 `interactive-p'.
27586 (ert--make-xrefs-region): Respect END.
27587
27588 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27589
27590 * dired-aux.el (dired-create-directory): Signal an error if the
27591 directory already exists (Bug#8246).
27592
27593 * facemenu.el (list-colors-display): Call list-faces-display
27594 inside with-help-window.
27595 (list-colors-print): Use display property to align the final
27596 column, instead of checking window-width.
27597
27598 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27599
27600 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27601 windows-nt systems.
27602 (emerge-protect-metachars): Quote correctly for ms-dos and
27603 windows-nt systems.
27604
27605 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27606
27607 * info.el (info-initialize): Replace all uses of `:' with
27608 path-separator for compatibility with non-Unix systems.
27609 Cache quoting of path-separator. (Bug#8258)
27610
27611 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27612
27613 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27614 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27615 (mouse-avoidance-mode): Fix typos in docstrings.
27616
27617 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27618
27619 * startup.el (package-subdirectory-regexp): Move from package.el.
27620 Omit \\` and \\', and let callers add them.
27621
27622 * emacs-lisp/package.el (package-strip-version)
27623 (package-load-all-descriptors): Add \\` and \\' to
27624 package-subdirectory-regexp before using it.
27625 (package-untar-buffer): New arg DIR; ensure that file untars only
27626 into this expected directory. Remove superfluous delete-region.
27627 (package-unpack): Caller changed.
27628 (package-tar-file-info): Use package-subdirectory-regexp.
27629
27630 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27631
27632 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27633 diff-mode-shared-map (bug#8284).
27634 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27635
27636 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27637
27638 * calendar/time-date.el (format-seconds): Use assoc instead of
27639 assoc-string, since assoc-string doesn't exist in XEmacs.
27640
27641 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27642
27643 * custom.el (custom-known-themes): Reflow docstring.
27644 (custom-theme-load-path): Fix typo in docstring.
27645 (load-theme): Fix typo in error message.
27646 (custom-available-themes, custom-variable-theme-value):
27647 Use `let', not `let*'.
27648
27649 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27650
27651 * calc/README: Mention inclusion of musical notes.
27652
27653 * calc/calc-units.el (calc-lu-quant): Rename from
27654 `calc-logunits-quantity'.
27655 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27656 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27657 (calc-db): Rename from `calc-dblevel'.
27658 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27659 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27660 (calc-np): Rename from `calc-nplevel'.
27661 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27662 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27663 (calc-lu-plus): Rename from `calc-logunits-add'.
27664 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27665 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27666 (calc-lu-minus): Rename from `calc-logunits-sub'.
27667 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27668 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27669 (calc-lu-times): Rename from `calc-logunits-mul'.
27670 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27671 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27672 (calc-lu-divide): Rename from `calc-logunits-div'.
27673 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27674 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27675
27676 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27677 functions being autoloaded.
27678
27679 * calc/calc.el (calc-lu-power-reference): Rename from
27680 `calc-logunits-power-reference'.
27681 (calc-lu-field-reference): Rename from
27682 `calc-logunits-field-reference'.
27683
27684 * calc/calc-help.el (calc-l-prefix-help):
27685 Mention musical note functions.
27686
27687 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27688
27689 * minibuffer.el (completion-all-sorted-completions):
27690 Use :completion-cycle-penalty text property if present.
27691
27692 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27693
27694 * allout.el (allout-yank-processing): Adjust for new rebulleting
27695 regime so bullet being yanked is used without prompting the user
27696 for a choice.
27697
27698 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27699
27700 * startup.el (command-line): Warn the user that _emacs is deprecated.
27701
27702 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27703
27704 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27705 (delphi-verbose, delphi-comment-face, delphi-string-face)
27706 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27707 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27708 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27709 (delphi-new-comment-line, delphi-font-lock-defaults)
27710 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27711 Fix typos in docstrings.
27712
27713 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27714
27715 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27716 Invert the roles of character and string values for INSTEAD, so a
27717 string is used for the more common case of a defaulting prompt.
27718
27719 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27720
27721 * progmodes/ruby-mode.el (ruby-backward-sexp):
27722 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27723 * play/gamegrid.el (gamegrid-make-face):
27724 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27725 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27726 * notifications.el (notifications-notify):
27727 * net/xesam.el (xesam-search-engines):
27728 * net/quickurl.el (quickurl-list-insert):
27729 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27730
27731 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27732
27733 * startup.el (command-line): Update package subdirectory regexp.
27734
27735 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27736
27737 * allout.el (allout-abbreviate-flattened-numbering)
27738 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27739
27740 * subr.el (read-char-choice): Only show the cursor after the prompt,
27741 not after the answer.
27742
27743 2011-03-15 Kevin Ryde <user42@zip.com.au>
27744
27745 * help-fns.el (variable-at-point): Skip leading quotes, if any
27746 (bug#8253).
27747
27748 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27749
27750 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27751 warning message.
27752
27753 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27754
27755 * shell.el (shell): When called interactively, offer to change the
27756 shell file name on remote hosts.
27757
27758 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27759
27760 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27761 integration for LDAP parameters. The host, base, user or binddn,
27762 and secret tokens can be specified in a netrc file, for instance.
27763 This is optional because an `auth-source' parameter must be
27764 specified in the search attributes.
27765
27766 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27767
27768 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27769
27770 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27771
27772 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27773 into declaration. Remove redundant and harmful binding.
27774
27775 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27776
27777 * files.el (file-ownership-preserved-p): Pass `integer' as an
27778 explicit 2nd argument to `file-attributes'. If the file's owner
27779 is the Administrators group on Windows, and the current user is
27780 Administrator, consider that a match.
27781
27782 * server.el (server-ensure-safe-dir): Consider server directory
27783 safe on MS-Windows if its owner is the Administrators group while
27784 the current Emacs user is Administrator. Use `=' to compare
27785 numerical UIDs, since they could be integers or floats.
27786
27787 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27788
27789 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27790
27791 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27792
27793 Sync with Tramp 2.2.1.
27794
27795 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27796
27797 * net/trampver.el: Update release number.
27798
27799 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27800
27801 * progmodes/compile.el (compilation--previous-directory): Fix up
27802 various nil/dead-marker mismatches (bug#8014).
27803 (compilation-directory-properties, compilation-error-properties):
27804 Don't call it at a position past the one we're about to change.
27805
27806 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27807 Disable obsolescence warnings in the file that declares it.
27808
27809 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27810
27811 * allout-widgets.el (allout-widgets-tally):
27812 Initialize allout-widgets-tally as a hash table rather than nil to
27813 prevent mode-line redisplay warnings. Also, clarify the module
27814 description and fix a comment typo.
27815
27816 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27817
27818 * help-fns.el (describe-variable): Don't complete keywords.
27819 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27820
27821 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27822
27823 * emacs-lisp/package.el (package-version-join): Impose a standard
27824 string representation for pre/alpha/beta version lists.
27825 (package-unpack-single): Standardize the directory name by passing
27826 it through package-version-join.
27827 (package-strip-rcs-id): Accept any version string that does not
27828 signal an error in version-to-list.
27829
27830 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27831
27832 * simple.el (delete-trailing-whitespace): Return nil for the
27833 benefit of `write-file-functions'.
27834
27835 2011-03-10 Glenn Morris <rgm@gnu.org>
27836
27837 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27838
27839 * vc/vc-git.el (vc-git-program): New option.
27840 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27841 (vc-git--call): Use it.
27842
27843 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27844
27845 * cus-edit.el (Custom-newline): If no button at point, look
27846 for a subgroup button at start-of-line. (Bug#2298)
27847
27848 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27849
27850 2011-03-10 Julien Danjou <julien@danjou.info>
27851
27852 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27853 `cursor-type' is nil.
27854
27855 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27856
27857 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27858
27859 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27860
27861 * allout.el: Change so yank of distinctive-bullet items
27862 preserves the existing header prefix, rebulleting it if necessary,
27863 rather than replacing it. This is necessary for proper operation
27864 of cooperative addons like allout-widgets.
27865 (allout-make-topic-prefix, allout-rebullet-heading):
27866 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27867 value as alternate bullet to be used, instead of prompting the user
27868 for a bullet character.
27869
27870 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27871
27872 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27873 Do not use `tramp-file-name-port', because this returns also
27874 `tramp-default-port'.
27875
27876 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27877
27878 * net/rcirc.el (rcirc-handler-001): Remove useless
27879 with-rcirc-process-buffer.
27880 (rcirc-check-auth-status): Swap arguments to string-match.
27881
27882 2011-03-09 Glenn Morris <rgm@gnu.org>
27883
27884 * shell.el (shell-mode):
27885 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27886
27887 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27888 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27889
27890 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27891
27892 * emacs-lisp/package.el (package-refresh-contents)
27893 (package-menu-execute): Use condition-case-no-debug.
27894
27895 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27896
27897 * simple.el (shell-command-to-string): Use `process-file'.
27898
27899 * emacs-lisp/package.el (package-tar-file-info): Handle also
27900 remote files.
27901
27902 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27903 Use `equal' for upload base check.
27904
27905 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27906
27907 * textmodes/texinfo.el (texinfo-environments):
27908 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27909
27910 2011-03-08 Glenn Morris <rgm@gnu.org>
27911
27912 * cus-start.el (cursor-in-non-selected-windows):
27913 Fix :set quoting oddness. (Bug#8192)
27914
27915 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27916 in some setf expressions. (Bug#2159)
27917
27918 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27919
27920 * custom.el (custom-available-themes): Return themes in
27921 alphabetical order.
27922
27923 See ChangeLog.15 for earlier changes.
27924
27925 ;; Local Variables:
27926 ;; coding: utf-8
27927 ;; End:
27928
27929 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27930
27931 This file is part of GNU Emacs.
27932
27933 GNU Emacs is free software: you can redistribute it and/or modify
27934 it under the terms of the GNU General Public License as published by
27935 the Free Software Foundation, either version 3 of the License, or
27936 (at your option) any later version.
27937
27938 GNU Emacs is distributed in the hope that it will be useful,
27939 but WITHOUT ANY WARRANTY; without even the implied warranty of
27940 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27941 GNU General Public License for more details.
27942
27943 You should have received a copy of the GNU General Public License
27944 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.