* progmodes/octave.el (octave-submit-bug-report): Obsolete.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-26 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4 (octave-mode, inferior-octave-mode): Use setq-local.
5 (octave-not-in-string-or-comment-p): Renamed to
6 octave-in-string-or-comment-p.
7 (octave-in-comment-p, octave-in-string-p)
8 (octave-in-string-or-comment-p): Replace defsubst with defun.
9
10 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11
12 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13
14 2013-04-25 Bastien Guerry <bzg@gnu.org>
15
16 * textmodes/remember.el (remember-data-directory)
17 (remember-directory-file-name-format): Fix custom types.
18
19 2013-04-25 Leo Liu <sdl.web@gmail.com>
20
21 * progmodes/octave.el (octave-completion-at-point-function): Make
22 use of inferior octave process.
23 (octave-initialize-completions): Remove.
24 (inferior-octave-completion-table): New function.
25 (inferior-octave-completion-at-point): Use it.
26 (octave-completion-alist): Remove.
27
28 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * progmodes/opascal.el: Use font-lock and syntax-propertize.
31 (opascal-mode-syntax-table): New var.
32 (opascal-literal-kind, opascal-is-literal-end)
33 (opascal-literal-token-at): Rewrite.
34 (opascal--literal-start-re, opascal-font-lock-keywords)
35 (opascal--syntax-propertize): New constants.
36 (opascal-font-lock-defaults): Adjust.
37 (opascal-mode): Use them. Set comment-<foo> variables as well.
38 (delphi-comment-face, opascal-comment-face, delphi-string-face)
39 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
40 (delphi-other-face, opascal-other-face): Remove face variables.
41 (opascal-save-state): Remove macro.
42 (opascal-fontifying-progress-step): Remove constant.
43 (opascal--ignore-changes): Remove var.
44 (opascal-set-token-property, opascal-parse-next-literal)
45 (opascal-is-stable-literal, opascal-complete-literal)
46 (opascal-is-literal-start, opascal-face-of)
47 (opascal-parse-region, opascal-parse-region-until-stable)
48 (opascal-fontify-region, opascal-after-change)
49 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
50 (opascal-debug-parse-region, opascal-debug-parse-window)
51 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
52 (opascal-debug-fontify-buffer): Remove.
53 (opascal-debug-mode-map): Adjust accordingly.
54
55 2013-04-25 Leo Liu <sdl.web@gmail.com>
56
57 Merge octave-mod.el and octave-inf.el into octave.el with some
58 cleanups.
59 * progmodes/octave.el: New file renamed from octave-mod.el.
60 * progmodes/octave-inf.el: Merged into octave.el.
61 * progmodes/octave-mod.el: Renamed to octave.el.
62
63 2013-04-25 Tassilo Horn <tsdh@gnu.org>
64
65 * textmodes/reftex-vars.el
66 (reftex-label-ignored-macros-and-environments): New defcustom.
67
68 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
69
70 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
71
72 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
73 (smie-indent-keyword): Improve the check to ensure that the next
74 comment is really on the same line.
75 (smie-indent-comment): Don't align with a subsequent closer (or eob).
76
77 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
78 semi-colons if the line is not otherwise empty (bug#14218).
79
80 2013-04-25 Glenn Morris <rgm@gnu.org>
81
82 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
83
84 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * progmodes/opascal.el (opascal-set-token-property): Rename from
87 opascal-set-text-properties and only set `token' (bug#14134).
88 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
89 (opascal-literal-text-properties): Remove.
90 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
91 Adjust callers.
92
93 2013-04-24 Reuben Thomas <rrt@sc3d.org>
94
95 * textmodes/remember.el (remember-handler-functions): Add an
96 option for a new handler `remember-store-in-files'.
97 (remember-data-directory, remember-directory-file-name-format):
98 New options.
99 (remember-store-in-files): New function to store remember notes
100 as separate files within a directory.
101
102 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
103
104 * progmodes/compile.el (compilation-next-error-function):
105 Pass "formats" to compilation-find-file (bug#11777).
106
107 2013-04-24 Glenn Morris <rgm@gnu.org>
108
109 * vc/vc-bzr.el (vc-bzr-print-log):
110 * vc/vc-hg.el (vc-hg-print-log):
111 * vc/vc-svn.el (vc-svn-print-log):
112 Fix START-REVISION with LIMIT != 1. (Bug#14168)
113
114 * vc/vc-bzr.el (vc-bzr-print-log):
115 * vc/vc-cvs.el (vc-cvs-print-log):
116 * vc/vc-git.el (vc-git-print-log):
117 * vc/vc-hg.el (vc-hg-print-log):
118 * vc/vc-mtn.el (vc-mtn-print-log):
119 * vc/vc-rcs.el (vc-rcs-print-log):
120 * vc/vc-sccs.el (vc-sccs-print-log):
121 * vc/vc-svn.el (vc-svn-print-log):
122 * vc/vc.el (vc-print-log-internal): Doc fixes.
123
124 2013-04-23 Glenn Morris <rgm@gnu.org>
125
126 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
127 Remove venerable code attempting to avoid substitute-command-keys.
128
129 2013-04-23 Tassilo Horn <tsdh@gnu.org>
130
131 * textmodes/reftex-vars.el (reftex-label-regexps):
132 Call `reftex-compile-variables' after changes to this variable.
133
134 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
137 Use lexical-binding.
138 (jit-lock-force-redisplay): Use markers, check buffer's continued
139 existence and beware narrowed buffers.
140 (jit-lock-fontify-now): Adjust call accordingly.
141
142 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
145 to avoid misleading the user.
146
147 2013-04-22 Leo Liu <sdl.web@gmail.com>
148
149 * info-look.el: Prefer latex2e.info. (Bug#14240)
150
151 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
152
153 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
154
155 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
156 * net/tramp.el (tramp-call-process): ... here
157 (tramp-set-completion-function, tramp-parse-putty):
158 * net/tramp-adb.el (tramp-adb-execute-adb-command):
159 * net/tramp-gvfs.el (tramp-gvfs-send-command):
160 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
161 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
162 (tramp-call-local-coding-command): Use `tramp-call-process'
163 instead of `tramp-compat-call-process'.
164
165 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
166 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
167 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
168 (tramp-find-inline-compress):Improve traces.
169 (tramp-maybe-send-script): Check for Perl binary.
170 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
171
172 2013-04-22 Daiki Ueno <ueno@gnu.org>
173
174 * epg.el (epg-context-pinentry-mode): New function.
175 (epg-context-set-pinentry-mode): New function.
176 (epg--start): Pass --pinentry-mode option to gpg command.
177
178 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
179
180 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
181 `comint-dynamic-complete' is obsolete since 24.1, replaced by
182 `completion-at-point'. (Bug#13774)
183
184 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
185 default key binding for `describe-distribution' has been moved to
186 `C-h C-o'. (Bug#13970)
187
188 2013-04-21 Glenn Morris <rgm@gnu.org>
189
190 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
191 Add doc strings.
192 (vc-print-log): Clarify interactive prompt.
193
194 2013-04-20 Glenn Morris <rgm@gnu.org>
195
196 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
197 No longer include timestamp etc information.
198
199 2013-04-20 Roland Winkler <winkler@gnu.org>
200
201 * faces.el (read-face-name): Bug fix, return just one face if arg
202 multiple is nil. (Bug#14209)
203
204 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
207 (remove-function): Autoload.
208
209 * comint.el (comint-redirect-original-filter-function): Remove.
210 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
211 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
212 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
213 * progmodes/prolog.el (prolog-consult-compile):
214 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
215 Use add/remove-function instead.
216 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
217 (gud-tooltip-process-output, gud-tooltip-tips):
218 Use add/remove-function instead.
219 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
220 (scheme-interaction-mode, exit-scheme-interaction-mode):
221 Use add/remove-function instead.
222
223 * vc/vc-dispatcher.el: Use lexical-binding.
224 (vc--process-sentinel): Rename from vc-process-sentinel.
225 Change last arg to be the code to run. Don't use vc-previous-sentinel
226 and vc-sentinel-commands any more.
227 (vc-exec-after): Allow code to be a function. Use add/remove-function.
228 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
229
230 2013-04-19 Masatake YAMATO <yamato@redhat.com>
231
232 * progmodes/sh-script.el (sh-imenu-generic-expression):
233 Handle function names with a single character. (Bug#14111)
234
235 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
236
237 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
238 for subroutines defined in an eval (bug#14182).
239
240 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
241
242 * bookmark.el (bookmark-completing-read): Improve handling of empty
243 string (bug#14176).
244
245 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
248
249 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
250
251 New faster Imenu implementation (bug#14058).
252 * progmodes/python.el:
253 (python-imenu-prev-index-position):
254 (python-imenu-format-item-label-function)
255 (python-imenu-format-parent-item-label-function)
256 (python-imenu-format-parent-item-jump-label-function):
257 New vars.
258 (python-imenu-format-item-label)
259 (python-imenu-format-parent-item-label)
260 (python-imenu-format-parent-item-jump-label)
261 (python-imenu--put-parent, python-imenu--build-tree)
262 (python-imenu-create-index, python-imenu-create-flat-index)
263 (python-util-popn): New functions.
264 (python-mode): Set imenu-create-index-function to
265 python-imenu-create-index.
266
267 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * winner.el (winner-active-region): Use region-active-p, activate-mark
270 and deactivate-mark (bug#14225).
271
272 * simple.el (deactivate-mark): Don't inline it.
273
274 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
277
278 2013-04-18 Tassilo Horn <tsdh@gnu.org>
279
280 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
281 file extensions from the archive-mode entry in order to prefer
282 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
283
284 2013-04-18 Leo Liu <sdl.web@gmail.com>
285
286 * bindings.el (help-event-list): Add ?\?.
287
288 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * subr.el (with-wrapper-hook): Declare obsolete.
291 * simple.el (filter-buffer-substring-function): New hook.
292 (filter-buffer-substring): Use it.
293 (filter-buffer-substring-functions): Mark obsolete.
294 * minibuffer.el (completion-in-region-function): New hook.
295 (completion-in-region): Use it.
296 (completion-in-region-functions): Mark obsolete.
297 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
298 * abbrev.el (abbrev-expand-function): New hook.
299 (expand-abbrev): Use it.
300 (abbrev-expand-functions): Mark obsolete.
301 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
302 and :filter-return.
303
304 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
305
306 * progmodes/python.el (python-nav--syntactically): Fix cornercases
307 and do not care about match data.
308
309 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
312 completion tables when completing error conditions and
313 `declare' arguments.
314 (lisp-complete-symbol, field-complete): Mark as obsolete.
315 (check-parens): Unmatched parens are user errors.
316 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
317
318 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
319
320 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
321 command changed buffer (ie. `flyspell-pre-buffer' is not current
322 buffer), which prevents making decisions based on invalid value of
323 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
324 cause an error when `flyspell-pre-point' was nil after switching
325 buffers.
326 (flyspell-post-command-hook): No longer needs to change buffers when
327 checking pre-word. While at it remove unnecessary progn.
328
329 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
330
331 * textmodes/ispell.el (ispell-add-per-file-word-list):
332 Fix `flyspell-correct-word-before-point' error when accepting
333 words and `coment-padding' is an integer by using
334 `comment-normalize-vars' (Bug #14214).
335
336 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
337
338 New defun movement commands.
339 * progmodes/python.el (python-nav--syntactically)
340 (python-nav--forward-defun, python-nav-backward-defun)
341 (python-nav-forward-defun): New functions.
342
343 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
344
345 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
346 (python-syntax-context): Use named compiler-macro for backwards
347 compatibility with Emacs 24.x.
348
349 2013-04-17 Leo Liu <sdl.web@gmail.com>
350
351 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
352 octave-hide-process-buffer.
353
354 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
357 (bug#14216).
358
359 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
360
361 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
362 Fix adjustment of offset when receiving incomplete responses from GDB
363 (bug#14129).
364
365 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
368 python-mode-abbrev-table.
369 (python-skeleton-define): Adjust accordingly.
370 (python-mode-abbrev-table): New table that inherits from it so that
371 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
372
373 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
374 (abbrev-symbol): Use it.
375 (abbrev--before-point): Use it since we already handle inheritance.
376
377 2013-04-16 Leo Liu <sdl.web@gmail.com>
378
379 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
380 binding to info-lookup-symbol.
381
382 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
383
384 * minibuffer.el (completion--twq-all):
385 * term/ns-win.el (ns-initialize-window-system):
386 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
387
388 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
391 global bindings.
392
393 * doc-view.el (doc-view-start-process): Handle url-handler directories.
394
395 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
396
397 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
398 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
399 to nil.
400 (ruby-end-of-defun): Remove the unused arg, change the docstring
401 to reflect that this function is only used as the value of
402 `end-of-defun-function'.
403 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
404 to reflect an earlier change that beginning/end-of-defun functions
405 jump between methods in a class definition, as well as top-level
406 functions.
407
408 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * minibuffer.el (minibuffer-complete): Don't just scroll
411 a *Completions* that's been iconified.
412 (minibuffer-force-complete): Make sure repetitions do cycle when going
413 through completion-in-region -> minibuffer-complete.
414
415 2013-04-15 Alan Mackenzie <acm@muc.de>
416
417 Correct the placement of c-cpp-delimiters when there're #s not at
418 col 0.
419
420 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
421 place a submatch around the #.
422 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
423 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
424 on the #, not BOL.
425
426 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * emacs-lisp/nadvice.el: Properly test names when adding advice.
429 (advice--member-p): New arg `name'.
430 (advice--add-function, advice-member-p): Use it (bug#14202).
431
432 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
433
434 Reformulate java imenu-generic-expression.
435 The old expression contained ill formed regexps.
436
437 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
438 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
439 (cc-imenu-java-method-arg-regexp): New defconsts.
440 (cc-imenu-java-build-type-args-regex): New defun.
441 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
442 handling of spaces in the regexp.
443
444 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
445
446 * textmodes/ispell.el (ispell-command-loop): Remove
447 flyspell highlight of a word when ispell accepts it (bug #14178).
448
449 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
450
451 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
452 uses code from the previous `ange-ftp-run-real-handler'.
453 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
454 only in case that function exist. This is needed for proper
455 unloading of Tramp.
456
457 2013-04-15 Tassilo Horn <tsdh@gnu.org>
458
459 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
460
461 * textmodes/reftex.el (reftex-compile-variables): Use it.
462
463 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * files.el (normal-mode): Only use default major-mode if no other mode
466 was specified.
467
468 * emacs-lisp/trace.el (trace-values): New function.
469
470 * files.el: Allow : in local variables (bug#14089).
471 (hack-local-variable-regexp): New var.
472 (hack-local-variables-prop-line, hack-local-variables): Use it.
473
474 2013-04-13 Roland Winkler <winkler@gnu.org>
475
476 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
477 data before it gets modified by bibtex-beginning-of-entry.
478
479 2013-04-13 Roland Winkler <winkler@gnu.org>
480
481 * textmodes/bibtex.el (bibtex-url): Doc fix.
482
483 2013-04-13 Roland Winkler <winkler@gnu.org>
484
485 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
486 does not visit a BibTeX file, exclude it from the list of buffers
487 returned by bibtex-initialize.
488
489 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
490
491 * window.el (split-window): Remove interactive form, since as a
492 command this function is a special case of split-window-below.
493 Correct doc string.
494
495 2013-04-12 Roland Winkler <winkler@gnu.org>
496
497 * faces.el (read-face-name): Do not override value of arg default.
498 Allow single faces and strings as default values. Remove those
499 elements from return value that are not faces.
500 (describe-face): Simplify.
501 (face-at-point): New optional args thing and multiple so that this
502 function can provide the same functionality previously provided by
503 read-face-name.
504 (make-face-bold, make-face-unbold, make-face-italic)
505 (make-face-unitalic, make-face-bold-italic, invert-face)
506 (modify-face, read-face-and-attribute): Use face-at-point.
507
508 * cus-edit.el (customize-face, customize-face-other-window)
509 * cus-theme.el (custom-theme-add-face)
510 * face-remap.el (buffer-face-set)
511 * facemenu.el (facemenu-set-face): Use face-at-point.
512
513 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
514
515 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
516
517 2013-04-10 Tassilo Horn <tsdh@gnu.org>
518
519 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
520 off leading { and trailing } from field values.
521
522 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * emacs-lisp/timer.el (timer--check): New function.
525 (timer--time, timer-set-function, timer-event-handler): Use it.
526 (timer-set-idle-time): Simplify.
527 (timer--activate): CSE.
528 (timer-event-handler): Give more info in error message.
529 (internal-timer-start-idle): New function, moved from C.
530
531 * mpc.el (mpc-proc): Add `restart' argument.
532 (mpc-proc-cmd): Use it.
533 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
534 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
535 less often.
536
537 2013-04-10 Masatake YAMATO <yamato@redhat.com>
538
539 * progmodes/sh-script.el: Implement `sh-mode' own
540 `add-log-current-defun-function' (bug#14112).
541 (sh-current-defun-name): New function.
542 (sh-mode): Use the function.
543
544 2013-04-09 Bastien Guerry <bzg@gnu.org>
545
546 * simple.el (choose-completion-string): Fix docstring (bug#14163).
547
548 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
551
552 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
553 timer (bug#14156).
554
555 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
556
557 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
558 declaration.
559
560 2013-04-07 Leo Liu <sdl.web@gmail.com>
561
562 * pcmpl-x.el: New file.
563
564 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
565
566 Do not set x-display-name until X connection is established.
567 This is needed to prevent from weird situation described at
568 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
569 * frame.el (make-frame): Set x-display-name after call to
570 window system initialization function, not before.
571 * term/x-win.el (x-initialize-window-system): Add optional
572 display argument and use it.
573 * term/w32-win.el (w32-initialize-window-system):
574 * term/ns-win.el (ns-initialize-window-system):
575 * term/pc-win.el (msdos-initialize-window-system):
576 Add compatible optional display argument.
577
578 2013-04-06 Eli Zaretskii <eliz@gnu.org>
579
580 * files.el (normal-backup-enable-predicate): On MS-Windows and
581 MS-DOS compare truenames of temporary-file-directory and of the
582 file, so that 8+3 aliases (usually found in $TEMP on Windows)
583 don't fail comparison by compare-strings. Also, compare file
584 names case-insensitively on MS-Windows and MS-DOS.
585
586 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
589 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
590
591 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
592
593 * whitespace.el (whitespace-color-on, whitespace-color-off):
594 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
595
596 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
597
598 * ispell.el (ispell-set-spellchecker-params):
599 Really set `ispell-args' for all equivs.
600
601 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * ido.el (ido-completions): Use extra elements of ido-decorations
604 (bug#14143).
605 (ido-decorations): Update docstring.
606
607 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
608
609 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
610 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
611 nil during initialization, in order not to miss changes since the
612 file was opened. (Bug#14140)
613
614 2013-04-05 Leo Liu <sdl.web@gmail.com>
615
616 * kmacro.el (kmacro-call-macro): Fix bug#14135.
617
618 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
619
620 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
621
622 2013-04-04 Glenn Morris <rgm@gnu.org>
623
624 * electric.el (electric-pair-inhibit-predicate): Add :version.
625
626 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
627
628 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
629 when a package is required several times (bug#14082).
630
631 2013-04-04 Roland Winkler <winkler@gnu.org>
632
633 * faces.el (read-face-name): Behave as promised by the docstring.
634 Assume that arg default is a list of faces.
635 (describe-face): Call read-face-name with list of default faces.
636
637 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
638
639 * bookmark.el: Fix deletion of bookmarks (bug#13972).
640 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
641 (bookmark-bmenu-execute-deletions): Only skip first line if it's
642 the header.
643 (bookmark-exit-hook-internal): Save even if list is empty.
644
645 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
646
647 * emacs-lisp/package.el (package-pinned-packages): New var.
648 (package--add-to-archive-contents): Obey it (bug#14118).
649
650 2013-04-03 Alan Mackenzie <acm@muc.de>
651
652 Handle `parse-partial-sexp' landing inside a comment opener
653 (Bug#13244). Also adapt to the new values of element 7 of a parse
654 state.
655
656 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
657 parameter `not-in-delimiter'. Handle being inside comment opener.
658 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
659 character in case we're typing a '*' after a '/'.
660 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
661 instead by passing the parameter to c-state-pp-to-literal.
662
663 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
664 for elt. 7 of a parse state.
665
666 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
667
668 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
669 * international/latin1-disp.el, international/mule-util.el:
670 * language/cyril-util.el, language/european.el, language/ind-util.el:
671 * language/lao-util.el, language/thai.el, language/tibet-util.el:
672 * language/tibetan.el, language/viet-util.el:
673 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
674
675 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
678 (electric-pair-post-self-insert-function): Use it.
679 (electric-pair-default-inhibit): New function, extracted from
680 electric-pair-post-self-insert-function.
681
682 2013-03-31 Roland Winkler <winkler@gnu.org>
683
684 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
685
686 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
689
690 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
691
692 Un-indent after "pass" and "return" statements (Bug#13888)
693 * progmodes/python.el (python-indent-block-enders): New var.
694 (python-indent-calculate-indentation): Use it.
695
696 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
697
698 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
699 defun. Defining it as defalias could introduce too eager
700 byte-compiler optimization. (Bug#14030)
701
702 2013-03-30 Chong Yidong <cyd@gnu.org>
703
704 * iswitchb.el (iswitchb-read-buffer): Fix typo.
705
706 2013-03-30 Leo Liu <sdl.web@gmail.com>
707
708 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
709 (kmacro-execute-from-register): Pass the keyboard macro to
710 kmacro-call-macro or repeating won't work correctly.
711
712 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
713
714 * progmodes/subword.el: Back to using `forward-symbol'.
715
716 * subr.el (forward-whitespace, forward-symbol)
717 (forward-same-syntax): Move from thingatpt.el.
718
719 2013-03-29 Leo Liu <sdl.web@gmail.com>
720
721 * kmacro.el (kmacro-to-register): New command.
722 (kmacro-execute-from-register): New function.
723 (kmacro-keymap): Bind to 'x'. (Bug#14071)
724
725 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * mpc.el: Use defvar-local and setq-local.
728 (mpc--proc-connect): Connection failures are not bugs.
729 (mpc-mode-map): `follow-link' only applies to the buffer's content.
730 (mpc-volume-map): Bind to the up-events.
731
732 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
733
734 * progmodes/subword.el (superword-mode): Use `forward-sexp'
735 instead of `forward-symbol'.
736
737 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
740 (edebug--recursive-edit): Use it.
741 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
742 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
743
744 2013-03-28 Leo Liu <sdl.web@gmail.com>
745
746 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
747
748 2013-03-27 Eli Zaretskii <eliz@gnu.org>
749
750 * facemenu.el (list-colors-callback): New defvar.
751 (list-colors-redisplay): New function.
752 (list-colors-display): Install list-colors-redisplay as the
753 revert-buffer-function. (Bug#14063)
754
755 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
758 and suffixes don't overlap (bug#14061).
759
760 * case-table.el: Use lexical-binding.
761 (case-table-get-table): New function.
762 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
763
764 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
765
766 * progmodes/subword.el: Add `superword-mode' to do word motion
767 over symbol_words (parallels and leverages `subword-mode' which
768 does word motion inside MixedCaseWords).
769
770 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
771
772 * eshell/em-unix.el: Move su and sudo to...
773 * eshell/em-tramp.el: ...Eshell tramp module.
774
775 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
778 Change return value to be a sexp. Delay `get-buffer' to after
779 restoring the desktop (bug#13951).
780
781 2013-03-26 Leo Liu <sdl.web@gmail.com>
782
783 * register.el: Move semantic tag handling back to
784 cedet/semantic/senator.el. (Bug#14052)
785
786 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
789 into the prompt either (bug#13963).
790
791 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
794 part of "(error-foo)".
795
796 2013-03-24 Juri Linkov <juri@jurta.org>
797
798 * replace.el (list-matching-lines-prefix-face): New defcustom.
799 (occur-1): Pass `list-matching-lines-prefix-face' to the function
800 `occur-engine' if `face-differs-from-default-p' returns t.
801 (occur-engine): Add `,' inside backquote construct to evaluate
802 `prefix-face'. Propertize the prefix with the `prefix-face' face.
803 Pass `prefix-face' to the functions `occur-context-lines' and
804 `occur-engine-add-prefix'.
805 (occur-engine-add-prefix, occur-context-lines): Add optional arg
806 `prefix-face' and propertize the prefix with `prefix-face'.
807 (Bug#14017)
808
809 2013-03-24 Leo Liu <sdl.web@gmail.com>
810
811 * nxml/rng-valid.el (rng-validate-while-idle)
812 (rng-validate-quick-while-idle): Guard against deleted buffer.
813 (Bug#13999)
814
815 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
816 is the last entry in kill-buffer-hook.
817
818 * files.el (kill-buffer-hook): Doc fix.
819
820 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
821
822 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
823 Make it safe-local.
824
825 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
826
827 2013-03-23 Leo Liu <sdl.web@gmail.com>
828
829 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
830 Remove.
831
832 * nxml/rng-valid.el (rng-validate-mode)
833 (rng-after-change-function, rng-do-some-validation):
834 * nxml/rng-maint.el (rng-validate-buffer):
835 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
836 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
837 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
838 (nxml-extend-after-change-region): Use with-silent-modifications.
839
840 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
841 timer-idle-list.
842
843 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
844 (rng-next-error-1, rng-previous-error-1): Do not let-bind
845 timer-idle-list. (Bug#13999)
846
847 2013-03-23 Juri Linkov <juri@jurta.org>
848
849 * info.el (info-index-match): New face.
850 (Info-index, Info-apropos-matches): Add a nested subgroup to the
851 main pattern and add text properties with the new face to matches
852 in index entries relative to the beginning of the index entry.
853 (Bug#14015)
854
855 2013-03-21 Eric Ludlam <zappo@gnu.org>
856
857 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
858 Inhibit read only while inserting objects.
859
860 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
861
862 * progmodes/cfengine.el: Update docs to mention
863 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
864 symbol motion. Remove "_" from the word syntax.
865
866 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
867
868 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
869 syntax for both `cfengine2-mode' and `cfengine3-mode'.
870
871 2013-03-20 Juri Linkov <juri@jurta.org>
872
873 * info.el (Info-next-reference-or-link)
874 (Info-prev-reference-or-link): New functions.
875 (Info-next-reference, Info-prev-reference): Use them.
876 (Info-try-follow-nearest-node): Handle footnote navigation.
877 (Info-fontify-node): Fontify footnotes. (Bug#13989)
878
879 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
882 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
883
884 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
885
886 Suppress unnecessary non-ASCII chatter during build process.
887 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
888 (batch-skkdic-convert): Suppress most of the chatter.
889 It's not needed so much now that machines are faster,
890 and its non-ASCII component was confusing; see Dmitry Gutov in
891 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
892
893 2013-03-20 Leo Liu <sdl.web@gmail.com>
894
895 * ido.el (ido-chop): Fix bug#10994.
896
897 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
898
899 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
900 Remove vars.
901 (whitespace-color-on, whitespace-color-off):
902 Use `font-lock-fontify-buffer' (Bug#13817).
903
904 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
907 remapping in mode-line.
908 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
909
910 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
911
912 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
913 value for `whitespace-line' face (Bug#13875).
914 (whitespace-font-lock-keywords): Change description.
915 (whitespace-color-on): Don't save `font-lock-keywords' value, save
916 the constructed keywords instead.
917 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
918
919 2013-03-19 Leo Liu <sdl.web@gmail.com>
920
921 * progmodes/compile.el (compilation-display-error): New command.
922 (compilation-mode-map, compilation-minor-mode-map): Bind it to
923 C-o. (Bug#13992)
924
925 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
926
927 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
928
929 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
930
931 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
932
933 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
934
935 * net/tramp-compat.el (tramp-compat-user-error): New defun.
936
937 * net/tramp-adb.el (tramp-adb-handle-shell-command):
938 * net/tramp-gvfs.el (top):
939 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
940 (tramp-handle-shell-command): Use it.
941 (tramp-dissect-file-name): Raise an error when hostname is a
942 method name, and neither method nor user is specified.
943
944 * net/trampver.el: Update release number.
945
946 2013-03-18 Leo Liu <sdl.web@gmail.com>
947
948 Make sure eldoc can be turned off properly.
949 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
950 eldoc-mode.
951 (eldoc-display-message-p): Revert last change.
952 (eldoc-display-message-no-interference-p)
953 (eldoc-print-current-symbol-info): Tweak.
954
955 2013-03-18 Tassilo Horn <tsdh@gnu.org>
956
957 * doc-view.el (doc-view-new-window-function): Check the new window
958 overlay's display property instead the char property of the
959 buffer's first char. Use `with-selected-window' instead of
960 `save-window-excursion' with `select-window'.
961 (doc-view-document->bitmap): Check the current doc-view overlay's
962 display property instead the char property of the buffer's first char.
963
964 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
965
966 Automate the build of ja-dic.el (Bug#13984).
967 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
968 from the input, rather than assume that it's been done for us by the
969 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
970 the current date into a ja-dic.el comment, as that complicates
971 regression testing.
972
973 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
974
975 * whitespace.el: Fix double evaluation.
976 (whitespace-space, whitespace-hspace, whitespace-tab)
977 (whitespace-newline, whitespace-trailing, whitespace-line)
978 (whitespace-space-before-tab, whitespace-indentation)
979 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
980 obsolete defvars.
981 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
982 (whitespace-color-on): Use a single font-lock-add-keywords call.
983 Fix double-evaluation of face variables.
984
985 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/tramp-adb.el (tramp-adb-parse-device-names):
988 Use `start-process' instead of `call-process'. Otherwise, the
989 function might be blocked under MS Windows. (Bug#13299)
990
991 2013-03-17 Leo Liu <sdl.web@gmail.com>
992
993 Extend eldoc to display info in the mode-line. (Bug#13978)
994 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
995 (eldoc-mode-line-string): New variable.
996 (eldoc-minibuffer-message): New function.
997 (eldoc-message-function): New variable.
998 (eldoc-message): Use it.
999 (eldoc-display-message-p)
1000 (eldoc-display-message-no-interference-p):
1001 Support eldoc-post-insert-mode.
1002
1003 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1004 (eval-expression): Run it.
1005
1006 2013-03-17 Roland Winkler <winkler@gnu.org>
1007
1008 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1009 strings in the list of return values.
1010
1011 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1012
1013 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1014 radix before checking for HMS forms.
1015
1016 2013-03-16 Leo Liu <sdl.web@gmail.com>
1017
1018 * progmodes/scheme.el: Add indentation and font-locking for λ.
1019 (Bug#13975)
1020
1021 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1024 token before point (bug#13942).
1025
1026 2013-03-16 Leo Liu <sdl.web@gmail.com>
1027
1028 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1029
1030 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1031
1032 * startup.el (command-line-normalize-file-name): Fix handling of
1033 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1034 <xfq.free@gmail.com> in
1035 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1036
1037 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1038
1039 Sync with Tramp 2.2.7.
1040
1041 * net/trampver.el: Update release number.
1042
1043 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1044
1045 * doc-view.el Fix bug#13887.
1046 (doc-view-insert-image): Don't modify overlay associated to
1047 non-live windows, and implement horizontal centering of image in
1048 case it's smaller than the window.
1049 (doc-view-new-window-function): Force redisplay of new windows on
1050 doc-view buffers.
1051
1052 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1053
1054 * saveplace.el (save-place-alist-to-file): Don't sort
1055 `save-place-alist', just pretty-print it (bug#13882).
1056
1057 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1058
1059 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1060 whether `default-file-name-coding-system' is bound. It isn't in
1061 XEmacs.
1062
1063 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1066 backquotes for `obsolete' (bug#13929).
1067
1068 * international/mule.el (find-auto-coding): Include file name in
1069 obsolescence warning (bug#13922).
1070
1071 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1072
1073 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1074 for CFEngine 3-specific indentation.
1075 (cfengine3-indent-line): Use it. Fix up category regex.
1076 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1077
1078 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * type-break.el (type-break-file-name):
1081 * textmodes/remember.el (remember-data-file):
1082 * strokes.el (strokes-file):
1083 * shadowfile.el (shadow-initialize):
1084 * saveplace.el (save-place-file):
1085 * ps-bdf.el (bdf-cache-file):
1086 * progmodes/idlwave.el (idlwave-config-directory):
1087 * net/quickurl.el (quickurl-url-file):
1088 * international/kkc.el (kkc-init-file-name):
1089 * ido.el (ido-save-directory-list-file):
1090 * emulation/viper.el (viper-custom-file-name):
1091 * emulation/vip.el (vip-startup-file):
1092 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1093 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1094
1095 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1096
1097 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1098 * language/thai-word.el: Switch to UTF-8.
1099
1100 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1103
1104 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1105
1106 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1107 Use with-current-buffer and don't move point.
1108 (net-utils-run-simple): Remove useless code.
1109 (net-utils-remove-ctl-m): Remove unused custom.
1110
1111 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1112
1113 * international/characters.el (glyphless-set-char-table-range): New fun.
1114 (update-glyphless-char-display): Use it (bug#13744).
1115
1116 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1117
1118 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1119 namespaces in the syntax, indent closer for hanging brace
1120 correctly, allow single-quote delimited 'strings', and make
1121 `cfengine3-mode' the default.
1122
1123 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1124
1125 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1126 Use lexical-binding. Fix up docstring according to conventions.
1127 (gdbmi-debug-mode): New var.
1128 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1129 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1130 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1131 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1132 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1133 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1134 (gdbmi-bnf-incomplete-record-result): New functions.
1135 (gdb-car<): Remove function.
1136 (gdbmi-record-list): Remove variable.
1137 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1138 (gdbmi-bnf-result-state-configs): New const.
1139 (gud-gdbmi-marker-filter): Rewrite.
1140 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1141 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1142 Add `token' argument.
1143 (gdb-done, gdb-error): New functions.
1144 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1145
1146 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * term/xterm.el (xterm--report-background-handler): Don't burp
1149 upon timeout.
1150 (xterm--version-handler): Extract from terminal-init-xterm.
1151 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1152 Allow multiple handlers.
1153 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1154
1155 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1156 (xterm--report-background-handler, xterm--query): New functions.
1157 (terminal-init-xterm): Use them.
1158
1159 2013-03-11 Michael R. Mauger <michael@mauger.com>
1160
1161 * progmodes/sql.el Version 3.2
1162 Please note that my address changed to <michael@mauger.com>;
1163 the <mmaug@yahoo.com> address remains active.
1164 (sql-connection-alist): Updates documentation to fix bug#13715.
1165 (sql-connect): Handle missing `sql-connection-alist' correctly.
1166 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1167 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1168 property.
1169 (sql-default-value): New function.
1170 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1171 values were not used.
1172 (sql-rename-buffer): Make sure alternate buffer name has no text
1173 properties.
1174 (sql-input-sender, sql-execute-feature): Fetch variable with
1175 `buffer-local-value' rather than `with-current-buffer'.
1176 (sql-*): Use #' function syntax consistently.
1177 (sql-*): Use message/error/user-error consistently.
1178
1179 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * xt-mouse.el (xterm-mouse-event-read): Remove.
1182 (xterm-mouse--read-event-sequence-1000)
1183 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1184
1185 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * term/xterm.el (xterm-function-map): Support format used with
1188 formatOtherKeys=1 (bug#13839).
1189
1190 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1191 (with-no-warnings): Use `declare'.
1192
1193 * whitespace.el (whitespace-enable-predicate): New variable.
1194 (whitespace-enable-predicate): Use it.
1195
1196 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1197 (comint-output-filter, comint-update-fence):
1198 Use with-silent-modifications.
1199
1200 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1201
1202 * replace.el (occur-read-regexp-defaults-function): New var.
1203 (occur-read-regexp-defaults): New defun.
1204 (occur-read-primary-args): Propagate above change (bug#13892).
1205
1206 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1209
1210 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1211
1212 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1213
1214 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1215 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1216 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1217 New defconst.
1218 (tramp-gvfs-file-name-handler-alist) [directory-files]
1219 [directory-files-and-attributes, file-exists-p, file-modes]:
1220 Use Tramp default handler.
1221 [file-acl, file-selinux-context, process-file, set-file-acl]:
1222 [set-file-modes, set-file-selinux-context, shell-command]:
1223 [start-file-process]: Remove handler.
1224 [verify-visited-file-modtime]: New handler.
1225 (tramp-gvfs-dbus-string-to-byte-array)
1226 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1227 calls of `dbus-string-to-byte-array' and
1228 `tramp-gvfs-dbus-byte-array-to-string'.
1229 (tramp-gvfs-handle-copy-file)
1230 (tramp-gvfs-handle-delete-directory)
1231 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1232 (tramp-gvfs-handle-file-directory-p)
1233 (tramp-gvfs-handle-file-executable-p)
1234 (tramp-gvfs-handle-file-name-all-completions)
1235 (tramp-gvfs-handle-file-readable-p)
1236 (tramp-gvfs-handle-file-writable-p)
1237 (tramp-gvfs-handle-insert-directory)
1238 (tramp-gvfs-handle-insert-file-contents)
1239 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1240 (tramp-gvfs-handle-set-visited-file-modtime)
1241 (tramp-gvfs-handle-write-region): Rewrite.
1242 (tramp-gvfs-handle-file-acl)
1243 (tramp-gvfs-handle-file-selinux-context)
1244 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1245 (tramp-gvfs-handle-set-file-modes)
1246 (tramp-gvfs-handle-set-file-selinux-context)
1247 (tramp-gvfs-handle-shell-command)
1248 (tramp-gvfs-handle-start-file-process)
1249 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1250 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1251 over the symlinks. Fix user handling.
1252 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1253 of the D-Bus signals.
1254 (tramp-gvfs-connection-mounted-p): Handle different names of the
1255 D-Bus methods.
1256 (tramp-gvfs-mount-spec-entry): New defun.
1257 (tramp-gvfs-mount-spec): Use it.
1258 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1259 there is a share name. Handle different names of the D-Bus
1260 signals and methods. Set connection properties needed for
1261 `tramp-check-cached-permissions'.
1262 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1263 Return t or nil.
1264
1265 * net/tramp.el (tramp-backtrace): Move up.
1266 (tramp-error): Dump a backtrace into the debug buffer when
1267 `tramp-verbose > 9.
1268 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1269 (tramp-file-mode-permissions, tramp-get-local-uid)
1270 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1271 tramp-sh.el.
1272
1273 * net/tramp-sh.el (tramp-file-mode-type-map)
1274 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1275 (tramp-file-mode-permissions, tramp-get-local-uid)
1276 (tramp-get-local-gid): Move to tramp.el.
1277
1278 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 Separate mouse-1-click-follows-link from mouse-drag-region.
1281 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1282 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1283 (mouse-drag-line, mouse-drag-track):
1284 Remove mouse-1-click-follows-link code.
1285 (mouse--remap-link-click-p): Remove.
1286
1287 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1288
1289 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1290 (hi-lock-read-regexp-defaults): New defun.
1291 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1292 (hi-lock-face-phrase-buffer): Propagate above change.
1293 Update docstring (bug#13892).
1294
1295 * subr.el (find-tag-default-as-regexp): New defun.
1296 * replace.el (read-regexp): Propagate above change.
1297
1298 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1299
1300 * calc/calc-units.el (calc-convert-units): Fix the way that default
1301 new units are stored.
1302
1303 2013-03-07 Matthias Meulien <orontee@gmail.com>
1304
1305 * bookmark.el: Define a face to highlight bookmark names in
1306 bookmark menu buffers, where the default is a bold face similarly
1307 to buffer names in buffer menu buffers.
1308 (bookmark-menu-bookmark): New face to highlight bookmark names.
1309 (bookmark-insert-location): Remove duplicated text property to
1310 conform to buffer list (see `list-buffers').
1311 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1312 `bookmark-menu-bookmark' to bookmark names.
1313
1314 2013-03-07 Matthias Meulien <orontee@gmail.com>
1315 Karl Fogel <kfogel@red-bean.com>
1316
1317 * bookmark.el: Display the bookmark list header similarly to the
1318 buffer list header (see `list-buffers'), where the default is now
1319 an immovable/immutable header line.
1320 (bookmark-bmenu-use-header-line): New variable.
1321 (bookmark-bmenu-inline-header-height): New name for
1322 `bookmark-bmenu-header-height', to avoid confusion with the code
1323 for the new immovable header. All references changed.
1324 (bookmark-bmenu-set-header): New function.
1325 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1326 Conditionalize header construction accordingly.
1327 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1328 the inline header height.
1329 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1330 Conditionalize the skipping of the inline header height.
1331
1332 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1333
1334 * progmodes/js.el (js--multi-line-declaration-indentation):
1335 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1336
1337 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1338
1339 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1340 Only propertize regexp when not inside a string (Bug#13885).
1341
1342 2013-03-06 Alan Mackenzie <acm@muc.de>
1343
1344 Correct the position of point in some line-up functions.
1345 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1346 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1347 point at column 0 rather than at a random place in the line.
1348
1349 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1350
1351 * net/tramp-compat.el (tramp-compat-delete-directory):
1352 Implement TRASH argument.
1353
1354 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 Keep pre-existing highlighting in completion candidates (Bug#13250).
1357 * minibuffer.el (completions-first-difference): State that the
1358 face is "added" in the docstring.
1359 (completions-common-part): Same. And don't inherit from default.
1360 (completion-hilit-commonality): Prepend 'completions-common-part
1361 and 'completion-first-difference faces to the 'face property,
1362 instead of replacing the value(s).
1363 (completion--insert-strings): Same with 'completions-annotations face.
1364 (completion-hilit-commonality): Use 'face instead of
1365 'font-lock-face, because it gets priority if the completion
1366 strings already have 'face set.
1367
1368 2013-03-04 Alan Mackenzie <acm@muc.de>
1369
1370 Replace `last-command-event' by `last-command-char' in XEmacs.
1371 * progmodes/cc-defs.el (c-last-command-char): New macro.
1372 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1373 (c-semi&comma-no-newlines-before-nonblanks)
1374 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1375 in place of `last-command-event'.
1376 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1377 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1378 (c-electric-paren, c-electric-continued-statement): Use the new
1379 macro in place of `last-command-event'.
1380
1381 2013-03-04 Glenn Morris <rgm@gnu.org>
1382
1383 * files.el (inhibit-local-variables-regexps):
1384 Add .diff and .patch. (Bug#13862)
1385
1386 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1389 whether the "su" command is available on the device.
1390
1391 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1392
1393 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1394 (tramp-adb-handle-process-file): Remove superfluous setting.
1395 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1396 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1397 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1398
1399 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1402 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1403 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1404 Use dict-key rather than dict-name for the error message.
1405
1406 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1407
1408 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1409 when reverting (bug#13831).
1410
1411 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1412
1413 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1414 Always expand affix-file before storing to protect against changed
1415 `default-directory'.
1416 (ispell-print-if-debug): Make sure message is printed at the end
1417 of the debug buffer.
1418
1419 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1420
1421 * net/tramp.el (tramp-obsolete-methods): New defconst.
1422 (tramp-warned-obsolete-methods): New defvar.
1423 (tramp-find-method): Check for obsolete methods. Map them to a
1424 replacement method if appropriate.
1425
1426 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1427 Remove methods.
1428 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1429 "ssh2" and "plink1".
1430
1431 2013-02-28 Dale Sedivec <dale@codefu.org>
1432
1433 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1434 Return valid syntax-table property value when converting
1435 quotes within text from string syntax to punctuation syntax (bug#13844).
1436
1437 2013-02-28 Juri Linkov <juri@jurta.org>
1438
1439 * dired-aux.el (dired-diff): If file at point is a backup file,
1440 use its original as the default value, and reverse the order
1441 of arguments to the `diff' call. Doc fix. (Bug#13772)
1442
1443 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1444
1445 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1446 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1447
1448 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1449
1450 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1451
1452 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1453 Ask hunspell about available and default dictionaries.
1454 (ispell-parse-hunspell-affix-file): Extract relevant info from
1455 hunspell affix file.
1456 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1457 `ispell-dictionary-alist' entry for given dictionary after info
1458 provided by `ispell-parse-hunspell-affix-file'.
1459 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1460 of parsed hunspell dicts and associated affix files.
1461 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1462 of parsed hunspell dicts and associated parameters.
1463 (ispell-set-spellchecker-params):
1464 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1465 previously done.
1466 (ispell-start-process):
1467 Call `ispell-hunspell-fill-dictionary-entry' for current
1468 dictionary if it is not initialized.
1469
1470 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * imenu.el: Comment nitpicks.
1473
1474 2013-02-28 Sam Steingold <sds@gnu.org>
1475
1476 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1477 See <http://stackoverflow.com/questions/14720205>.
1478
1479 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1480
1481 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1482 (net-utils-mode): Use it.
1483 (net-utils--revert-cmd): New var.
1484 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1485 (traceroute): Use net-utils-run-simple.
1486
1487 2013-02-28 Glenn Morris <rgm@gnu.org>
1488
1489 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1490
1491 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1494 (doc-view-fallback-mode): Remove overlays here.
1495 (doc-view-toggle-display): Instead of here. Don't throw away
1496 image-mode-winprops-alist.
1497 (doc-view-goto-page): Don't mess with hscroll.
1498
1499 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1500
1501 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1502 &optional (bug#13819).
1503
1504 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1505
1506 * net/tramp-adb.el (tramp-adb-parse-device-names)
1507 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1508
1509 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1512 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1513 defined. POSIX environments fall back to the "C" locale then and
1514 emit a warning, which shall be suppressed.
1515
1516 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1519 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1520
1521 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1524
1525 2013-02-25 Juri Linkov <juri@jurta.org>
1526
1527 * replace.el (read-regexp): Let-bind `default' to the first
1528 element of `defaults' if it's a list, otherwise it should be
1529 a string or nil. Let-bind `suggestions' to `defaults' if it's
1530 a list, otherwise make a list with the string value. Doc fix.
1531 (Bug#13805)
1532
1533 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1534
1535 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1536 that match "\`\.#", to avoid compiling lock files, even if they
1537 are readable (as they are on MS-Windows).
1538
1539 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * files.el (basic-save-buffer): Remove redundant directory-creation.
1542
1543 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1544
1545 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1546 Add option to force `pi' to remain symbolic.
1547 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1548 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1549 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1550 derivatives, when necessary.
1551
1552 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1553
1554 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1555 (ps-mode-octal-region): Use string-make-unibyte.
1556
1557 2013-02-23 Glenn Morris <rgm@gnu.org>
1558
1559 * emulation/viper-cmd.el (viper-submit-report):
1560 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1561 * progmodes/vera-mode.el (vera-mode-help-address):
1562 * textmodes/artist.el (artist-maintainer-address):
1563 * textmodes/reftex.el (reftex-report-bug):
1564 * vc/ediff-util.el (ediff-submit-report):
1565 Add bug-gnu-emacs to bug report address.
1566
1567 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1568 Remove bug report entries.
1569 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1570
1571 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1572 (byte-compile-file, byte-compile-from-buffer):
1573 Use separate input/output buffers for each level of recursive
1574 byte-compile-file calls. (Bug#13787)
1575
1576 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1577
1578 * net/tramp.el (tramp-methods): Fix docstring.
1579 (tramp-ssh-controlmaster-options): Rename it from
1580 `tramp-ssh-controlmaster-template'. Return a string.
1581 (tramp-default-method): Adapt check for
1582 `tramp-ssh-controlmaster-options'.
1583
1584 * net/tramp-sh.el (tramp-methods):
1585 Replace `tramp-ssh-controlmaster-template' by "%c".
1586 (tramp-do-copy-or-rename-file-out-of-band)
1587 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1588 that it is applied for the first hop only.
1589
1590 2013-02-22 Juri Linkov <juri@jurta.org>
1591
1592 * isearch.el (isearch-lazy-highlight-new-loop):
1593 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1594 to `isearch-other-end' if it is not nil. (Bug#13402)
1595
1596 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1597 to `match-beg'.
1598
1599 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1600 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1601 and `isearch-error' to nil.
1602
1603 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1604
1605 * progmodes/python.el (python-info-current-defun):
1606 Enhance match-data cluttering prevention.
1607
1608 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1609
1610 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1611
1612 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1613 Handle multibyte file names.
1614
1615 2013-02-22 Glenn Morris <rgm@gnu.org>
1616
1617 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1618 (sgml-transformation-function): Give it a :set function.
1619 (sgml-tag): Doc fix.
1620
1621 * cmuscheme.el (scheme-buffer):
1622 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1623 * progmodes/tcl.el (inferior-tcl-buffer):
1624 * textmodes/tex-mode.el (tex-command): Doc fixes.
1625
1626 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1627
1628 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1629
1630 2013-02-21 Bastien Guerry <bzg@gnu.org>
1631
1632 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1633
1634 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1635
1636 * progmodes/python.el (python-info-current-defun):
1637 Enhance match-data cluttering prevention.
1638
1639 2013-02-21 Glenn Morris <rgm@gnu.org>
1640
1641 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1642 loaded while outline-regexp is let bound. (Bug#9584)
1643
1644 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1645
1646 * progmodes/python.el (python-info-current-defun): Fix failed
1647 defun name retrieval because of unwanted match-data cluttering.
1648
1649 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1650
1651 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1652 defconst. Apply independent check for ControlPersist.
1653
1654 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1655 temporarily, via "env".
1656
1657 2013-02-21 Glenn Morris <rgm@gnu.org>
1658
1659 * info.el (Info-enable-edit): Remove.
1660 (Info-edit): Disable it rather than using Info-enable.
1661 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1662 (Info-cease-edit): Make editing of Info files obsolete.
1663
1664 * informat.el (Info-tagify):
1665 Handle buffers not visiting files. (Bug#13763)
1666
1667 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1668
1669 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1670
1671 2013-02-21 Glenn Morris <rgm@gnu.org>
1672
1673 * files.el (basic-save-buffer): Move check for existing parent
1674 directory after hooks. (Bug#13773)
1675
1676 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * simple.el (command-execute): Move from C. Add obsolete check.
1679 (extended-command-history): Move from C.
1680
1681 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1682
1683 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1684 (jka-compr-mode-alist-additions): Handle .txz suffix for
1685 XZ-compressed tar archives (bug#13770).
1686
1687 2013-02-20 Bastien Guerry <bzg@gnu.org>
1688
1689 * outline.el (outline-regexp, outline-heading-end-regexp):
1690 Make variables, not options (bug#13731).
1691
1692 2013-02-20 Glenn Morris <rgm@gnu.org>
1693
1694 * image.el (image-current-frame): Change from variable to function.
1695 (image-show-frame): Rename from image-nth-frame. Update callers.
1696 * image-mode.el (image-multi-frame): New variable.
1697 (image-mode-map, image-mode, image-goto-frame):
1698 Use image-multi-frame rather than image-current-frame.
1699 (image-mode, image-goto-frame): Use image-current-frame as
1700 function rather than as variable.
1701
1702 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1703 * emacs-lisp/cl-macs.el (cl--make-type-test)
1704 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1705
1706 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1707
1708 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1709 (tramp-get-file-property, tramp-set-file-property)
1710 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1711 (tramp-flush-file-property, tramp-flush-directory-property):
1712 Rename argument to KEY.
1713 (tramp-flush-connection-property): Simplify a little bit.
1714 (tramp-connection-property-p): New defun.
1715 (top): Reapply saved values only if there isn't a corresponding
1716 entry in `tramp-connection-properties'.
1717
1718 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1719
1720 * progmodes/python.el (python-indent-context):
1721 Fix python-info-line-ends-backslash-p call.
1722 (python-info-line-ends-backslash-p)
1723 (python-info-beginning-of-backslash): Respect line-number argument.
1724 (python-info-current-line-comment-p):
1725 Fix behavior when not at beginning-of-line.
1726 (python-util-position): Remove function.
1727 (python-util-goto-line): New function.
1728
1729 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1730
1731 * eshell/em-unix.el (eshell/su): Require tramp.
1732 (eshell/sudo): Require tramp. Remove now unnecessary check.
1733
1734 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1735 `tramp-current-connection' in order to avoid an error when several
1736 commands are invoked in a short time in eshell and friends.
1737
1738 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 Cleanup some of EIEIO's namespace.
1741 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1742 Use it to define all the class-* and object-* field accessors (renamed
1743 to eieio--class-* and eieio--object-*). Update all uses.
1744 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1745 class-num-slots and object-num-slots.
1746 (eieio--check-type): New macro.
1747 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1748 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1749 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1750 (object-assoc-list-safe): Use it.
1751 (eieio-defclass): Tighten regexp.
1752 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1753 Remove unreachable code.
1754 (object-class-fast): Declare obsolete.
1755 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1756 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1757 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1758 Rename from class-name, object-name, object-set-name-string,
1759 object-class, object-class-name, class-parents, class-children,
1760 class-precedence-list, class-parent; with obsolete alias.
1761 (class-of, class-direct-superclasses, class-direct-subclasses):
1762 Declare obsolete.
1763 (eieio-defmethod): Use `memq'; remove unreachable code.
1764 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1765 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1766 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1767
1768 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1769
1770 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1771 commentary.
1772
1773 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1774
1775 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1776 Use font-lock-keyword-face for macros and special forms (bug#8345).
1777
1778 2013-02-17 Didier Verna <didier@didierverna.net>
1779
1780 * net/network-stream.el (network-stream-open-starttls):
1781 Check that response to the starttls-command is non-nil. (Bug#13706)
1782
1783 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1786 Don't assume all identifier chars have syntax word.
1787 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1788 Remove bar-not-symbol. Adjust callers.
1789 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1790
1791 2013-02-17 Leo Liu <sdl.web@gmail.com>
1792
1793 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1794
1795 2013-02-17 Glenn Morris <rgm@gnu.org>
1796
1797 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1798
1799 * image-mode.el (image-mode-map): Add image-dired menu entry.
1800
1801 * image-dired.el (tumme): Make this alias obsolete.
1802
1803 2013-02-16 Glenn Morris <rgm@gnu.org>
1804
1805 * image.el (image-animated-types): Remove.
1806 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1807 (image-animated-p): Make obsolete alias.
1808 (image-animate, image-nth-frame, image-animate-timeout):
1809 Use image-multi-frame-p.
1810 (image-animate-timeout): If no delay, use image-default-frame-delay.
1811 * image-mode.el (image-mode, image-toggle-animation):
1812 Use image-multi-frame-p. (Bug#763, bug#10739)
1813 (image-mode): Adjust startup message for a multi-frame image.
1814
1815 * image-mode.el (image-mode-map): Give it a menu.
1816
1817 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1818
1819 * net/tramp-cache.el (tramp-connection-properties): New customer
1820 option.
1821 (tramp-get-connection-property): Use it.
1822
1823 * net/tramp-compat.el (top): Require 'trampver.
1824
1825 * net/tramp-sh.el (tramp-remote-process-environment):
1826 Set tramp-autoload cookie.
1827
1828 2013-02-16 Kevin Ryde <user42@zip.com.au>
1829
1830 * info-look.el (info-lookup-select-mode): If major-mode has no
1831 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1832
1833 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1834
1835 * replace.el (read-regexp): Tighten the regexp that matches tag.
1836 When tag is retrieved with `find-tag-default', use regexp that
1837 matches tag at point. Also update docstring (Bug#13687).
1838
1839 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1840
1841 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1842 add watch for the file, not its parent directory, since w32notify
1843 sets up the watch for the directory internally. (Bug#13725)
1844
1845 2013-02-16 Glenn Morris <rgm@gnu.org>
1846
1847 * image.el (image-default-frame-delay): New variable.
1848 (image-animated-p): Use image-default-frame-delay.
1849 (image-minimum-frame-delay): New constant.
1850 (image-animate-timeout): Use image-minimum-frame-delay.
1851
1852 * image.el (image-nth-frame): New, split from image-animate-timeout.
1853 (image-animate-timeout): Use image-nth-frame.
1854 * image-mode.el (image-goto-frame, image-next-frame)
1855 (image-previous-frame): New commands.
1856 (image-mode-map): Add new frame commands.
1857
1858 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1859
1860 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1861 If col-desc already has help-echo, use it. (Bug#13563)
1862
1863 2013-02-16 Glenn Morris <rgm@gnu.org>
1864
1865 * image.el (image-current-frame): New variable.
1866 (image-animate-timeout): Set image-current-frame.
1867 * image-mode.el (image-mode): For animated images,
1868 display a frame counter via mode-line-process.
1869
1870 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1871
1872 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1875
1876 2013-02-15 Alan Mackenzie <acm@muc.de>
1877
1878 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1879 global minor mode has been enabled, call the minor mode function
1880 for a new buffer once only, after the major mode hook, whilst
1881 allowing that hook explicitly to disable the minor mode.
1882 (MODE-disable-in-buffer): New (generated) function.
1883 (disable-MODE): New (generated) buffer local variable.
1884
1885 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1886
1887 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1888 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1889 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1890 `ido-next-match' and `ido-prev-match' resply.
1891 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1892 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1893 `icomplete-backward-completions' (Bug#13708).
1894
1895 2013-02-15 Glenn Morris <rgm@gnu.org>
1896
1897 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1898
1899 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1902 (goto-address-fontify-region): Use them instead of narrowing, so
1903 syntax-ppss has access to the whole buffer.
1904
1905 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1906
1907 * progmodes/python.el: Explain how to restore "cc-mode"-like
1908 forward-sexp movement in header documentation (Bug#13642).
1909 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1910 comments and strings (GH bug 114).
1911
1912 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1913
1914 * progmodes/python.el (python-info-current-defun): Fix current
1915 defun detection (Bug#13618).
1916
1917 2013-02-15 Chong Yidong <cyd@gnu.org>
1918
1919 * xml.el (xml-parse-string): Fix typo in handling of bad character
1920 references.
1921
1922 2013-02-15 Glenn Morris <rgm@gnu.org>
1923
1924 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1925
1926 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1927
1928 * net/tramp.el (tramp-debug-message):
1929 Add `tramp-condition-case-unless-debug'.
1930 (tramp-debug-on-error): New defvar.
1931 (tramp-condition-case-unless-debug): New defun.
1932 (tramp-file-name-handler): Use it.
1933
1934 2013-02-14 Juri Linkov <juri@jurta.org>
1935
1936 * info.el (Info-isearch-filter): Treat non-nil values of
1937 `search-invisible' including its default value `open'
1938 like the value `t' to match hidden text. (Bug#13402)
1939
1940 2013-02-14 Glenn Morris <rgm@gnu.org>
1941
1942 * help-fns.el (find-lisp-object-file-name): Give special treatment
1943 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1944
1945 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1946
1947 * net/quickurl.el (quickurl-save-urls):
1948 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1949
1950 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1951
1952 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1953 depth for unfinished percent literal. Not using it in the caller.
1954 (ruby-move-to-block): Jump over multiline literals of all types,
1955 ignoring code-looking contents inside them.
1956 (ruby-add-log-current-method): Improve performance at the expense
1957 of accuracy. `ruby-block-contains-point' is relatively slow, so
1958 only use it for method and singleton class blocks.
1959
1960 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1961
1962 Use ControlMaster where applicable. (Bug#13677)
1963
1964 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1965 replacing `tramp-detect-ssh-controlmaster'.
1966 (tramp-default-method): Use it.
1967
1968 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1969 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1970 arguments.
1971 [scpc, rsyncc]: Remove methods.
1972 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1973 and "ssh2_old".
1974 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1975 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1976
1977 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emacs-lisp/package.el (package--initialized): Move before first use.
1980
1981 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1982
1983 * icomplete.el (icomplete-hide-common-prefix): New user option.
1984 (icomplete-first-match): New face.
1985 (icomplete-completions): Correct handling of "complete but not
1986 unique" (Bug#12638).
1987
1988 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1989
1990 * descr-text.el (describe-char): Display the script (bug#13698).
1991
1992 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * tmm.el: Use lexical-binding and current-active-maps.
1995 (tmm-menubar): Use map-keymap and pcase.
1996 (tmm--completion-table): New function.
1997 (tmm-prompt): Use it to fix the menu order.
1998 (tmm-get-keybind): Use current-active-maps.
1999
2000 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2001
2002 Add dired-hide-details-mode. (Bug#6799)
2003
2004 * locate.el (locate-mode): Set parent mode property to dired-mode.
2005
2006 * find-dired.el (find-dired): Call dired-insert-set-properties on
2007 initial information line. Set process mark on end of buffer.
2008 (find-dired-sentinel):
2009 Call dired-insert-set-properties on summary.
2010
2011 * dired.el (dired-hide-details-hide-symlink-targets)
2012 (dired-hide-details-hide-information-lines): New options.
2013 (dired-insert-directory):
2014 Set properties after final treatment of output.
2015 (dired-insert-set-properties):
2016 Set dired-hide-details-* properties.
2017 (dired-mode-map): Bind dired-hide-details-mode.
2018 (dired-mode): Set buffer-invisibility-spec to a list.
2019 (dired-next-line): Skip hidden lines.
2020 (dired-previous-line): Use dired-next-line.
2021 (dired-hide-details-mode): New minor mode.
2022 (dired-hide-details-update-invisibility-spec): New function.
2023
2024 2013-02-13 Glenn Morris <rgm@gnu.org>
2025
2026 * play/yow.el: Move to obsolete/. (Bug#9384)
2027
2028 2013-02-13 Juri Linkov <juri@jurta.org>
2029
2030 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2031 to select `ediff-control-frame' and set input focus correctly on Xfce.
2032 (Bug#12218)
2033
2034 2013-02-13 Juri Linkov <juri@jurta.org>
2035
2036 * image-mode.el (image-mode-map):
2037 * doc-view.el (doc-view-mode-map):
2038 * vc/ediff-util.el (ediff-setup-keymap):
2039 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2040
2041 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2042
2043 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2044 performance. Instead of recalculating indentation fully for each
2045 line, sum up indentation depth based only on visited lines.
2046 (ruby-parse-partial): Increase the depth after "do" even when END
2047 is right after it.
2048 (ruby-parse-partial): When END is in the middle of a percent
2049 literal, increase the depth if the delimiter chars belong to the
2050 paren syntax class.
2051
2052 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2053
2054 * play/fortune.el (fortune-compile): Also make the compiled file
2055 if it does not exist at all, not just if it is old. (Bug#5338)
2056
2057 2013-02-13 Glenn Morris <rgm@gnu.org>
2058
2059 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2060
2061 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2062
2063 * lisp/emacs-lisp/package.el (package-menu-execute):
2064 Add optional noquery argument. (Bug#13625)
2065
2066 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2067
2068 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2069 if DIR exists and PARENTS is non-nil.
2070
2071 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * progmodes/js.el (js--multi-line-declaration-indentation):
2074 Silence byte-compiler warning.
2075
2076 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2077
2078 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2079
2080 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2081 only if it doesn't exist.
2082
2083 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2084 Set process marker.
2085
2086 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2087
2088 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2089 UserInstallation when calling soffice to work around LibreOffice
2090 bug 37531.
2091
2092 2013-02-12 Glenn Morris <rgm@gnu.org>
2093
2094 * files.el (basic-save-buffer):
2095 Offer to create a non-existing directory. (Bug#3016)
2096
2097 * calc/calc-graph.el (calc-graph-show-dumb):
2098 * calendar/calendar.el (calendar-mode-map):
2099 * cus-edit.el (custom-mode-map):
2100 * ehelp.el (electric-help-map):
2101 * emulation/vip.el (vip-mode-map):
2102 * epa.el (epa-key-list-mode-map):
2103 * info.el (Info-mode-map):
2104 * mail/rmail.el (rmail-mode-map):
2105 * mail/rmailsum.el (rmail-summary-mode-map):
2106 * man.el (Man-mode-map):
2107 * net/newst-plainview.el (newsticker-mode-map):
2108 * progmodes/cpp.el (cpp-edit-mode-map):
2109 * progmodes/grep.el (grep-mode-map):
2110 * progmodes/idlw-help.el (idlwave-help-mode-map):
2111 * simple.el (special-mode-map):
2112 * startup.el (splash-screen-keymap):
2113 * view.el (view-mode-map):
2114 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2115
2116 2013-02-11 Elias Pipping <pipping@lavabit.com>
2117
2118 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2119 (bug#13679).
2120
2121 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2124
2125 2013-02-11 Glenn Morris <rgm@gnu.org>
2126
2127 * vc/diff.el (diff-use-labels): New variable.
2128 (diff-no-select): Use --label rather than -L, and first
2129 check that it is supported. (Bug#11067)
2130
2131 * files.el (enable-dir-local-variables): New variable.
2132 (hack-dir-local-variables): Respect enable-dir-local-variables.
2133 * tutorial.el (help-with-tutorial):
2134 Ignore directory-local variables. (Bug#11127)
2135
2136 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2137 (vc-svn-global-switches): ... to here. (Bug#13513)
2138
2139 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2140
2141 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2142 Handle "foo (bar, default: xxx): " prompts.
2143
2144 2013-02-10 Chong Yidong <cyd@gnu.org>
2145
2146 * files.el (basic-save-buffer-1): Do not set
2147 buffer-file-coding-system-explicit (Bug#4533).
2148
2149 * mail/emacsbug.el (report-emacs-bug): Change binding of
2150 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2151
2152 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2153
2154 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2155 * calc/calc-units.el (calc-convert-units): Use new variable.
2156
2157 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2158
2159 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2160
2161 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2162 buffer-file-type.
2163
2164 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2165 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2166 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2167 coding-system-for-write instead.
2168
2169 * jka-compr.el (jka-compr-write-region): Don't bind
2170 buffer-file-type.
2171
2172 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2173 buffer-file-type.
2174
2175 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2176 (insert-file-contents-literally): Remove reference to
2177 file-name-buffer-file-type-alist.
2178
2179 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2180 make-obsolete.
2181 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2182 (find-buffer-file-type-coding-system): Remove references to
2183 find-buffer-file-type-match, find-buffer-file-type, and
2184 buffer-file-type.
2185 Don't put find-buffer-file-type-coding-system into
2186 file-coding-system-alist.
2187 (find-file-binary, find-file-text): Bind coding-system-for-read
2188 instead of file-name-buffer-file-type-alist.
2189
2190 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2191
2192 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2193 converter (Bug#13622).
2194 (doc-view-unoconv-program): Make obsolete alias.
2195 (doc-view-odf->pdf-converter-program): New variable.
2196 (doc-view-odf->pdf-converter-function): New variable.
2197 (doc-view-mode-p): Use it.
2198 (doc-view-odf->pdf-converter-unoconv):
2199 Rename from `doc-view-odf->pdf-converter-unoconv'.
2200 (doc-view-odf->pdf-converter-soffice): New function.
2201 (doc-view-convert-current-doc):
2202 Use `doc-view-odf->pdf-converter-function'.
2203
2204 2013-02-09 Chong Yidong <cyd@gnu.org>
2205
2206 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2207 view-echo-area-messages (Bug#13340).
2208
2209 * help.el (view-echo-area-messages): Use display-buffer.
2210
2211 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2212 (Bug#13561).
2213
2214 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2217 Eval body right away, now that we do eager macroexpansion (bug#13605).
2218
2219 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2220 (fundamental-mode): Use run-mode-hooks.
2221
2222 * eshell/esh-proc.el (eshell/kill): Fix last change.
2223 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2224
2225 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2226
2227 * eshell/esh-proc.el (eshell/kill): Rewrite.
2228
2229 * eshell/em-ls.el (show-almost-all): Declare.
2230 (eshell-do-ls): Add support for -A argument.
2231
2232 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2233
2234 * icomplete.el (icomplete-forward-completions)
2235 (icomplete-backward-completions): Handle corner case (bug#13602).
2236
2237 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2238
2239 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2240 be nil. Handle this. (Bug#13636)
2241
2242 2013-02-07 Richard Stallman <rms@gnu.org>
2243
2244 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2245 `save-buffer-coding-system'.
2246
2247 2013-02-07 Alan Mackenzie <acm@muc.de>
2248
2249 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2250 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2251 (c-parse-state-get-strategy): Don't return 'BOD any more.
2252 (c-append-lower-brace-pair-to-state-cache):
2253 Extra parameter HERE instead of narrowing.
2254 Widen to top of buffer before searching backwards for a brace pair.
2255 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2256 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2257 Narrow to parameter HERE, in place of being called narrowed.
2258 (c-remove-stale-state-cache): Extra parameter HERE in place of
2259 narrowing. Check there's an open brace in the cache before
2260 searching for its match.
2261 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2262 (c-parse-state-1): Don't narrow here for 'forward strategy,
2263 instead passing extra parameter HERE to several functions.
2264 Remove 'BOD strategy.
2265
2266 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2267
2268 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2269 used to install the package.
2270
2271 2013-02-06 Glenn Morris <rgm@gnu.org>
2272
2273 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2274 if we can't get user input. (Bug#6567)
2275
2276 * startup.el (command-line): If simple.el is missing,
2277 test and warn about for some possible causes.
2278
2279 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2280
2281 * cus-start.el (all): Add ns-use-native-fullscreen.
2282
2283 2013-02-05 Glenn Morris <rgm@gnu.org>
2284
2285 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2286
2287 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2288 Fix directory creation in fallback case.
2289
2290 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2291
2292 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2293 (vc-update-change-log): Use dolist.
2294
2295 2013-02-04 Chong Yidong <cyd@gnu.org>
2296
2297 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2298 code from ffap.el.
2299 (thing-at-point-beginning-of-url-regexp): New var.
2300 (thing-at-point-uri-schemes): Update list of URI schemes.
2301 (thing-at-point-url-regexp): Variable deleted.
2302 (thing-at-point-markedup-url-regexp): Disallow newlines.
2303 (thing-at-point-newsgroup-regexp)
2304 (thing-at-point-newsgroup-heads)
2305 (thing-at-point-default-mail-uri-scheme): New variables.
2306 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2307 method to find the possible bounds of the URI at point.
2308 New optional argument to find ill-formed URIs.
2309 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2310 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2311 the scheme-adding heuristics from ffap-url-at-point.
2312 (thing-at-point--bounds-of-well-formed-url): New function.
2313 Do parens matching to decide whether to include parens in the URI
2314 (Bug#9153).
2315
2316 * ffap.el: Require thingatpt.
2317 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2318 All URI-valid characters are now recognized (Bug#5673).
2319 (ffap-string-at-point): Use use-region-p.
2320 (ffap-url-regexp): Extra character is handled by thing-at-point.
2321 (ffap-string-at-point-mode-alist): Allow parentheses.
2322 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2323 Convert to aliases; code moved to thingatpt.el.
2324 (ffap-gnus-hook): Use setq-local.
2325
2326 2013-02-04 Glenn Morris <rgm@gnu.org>
2327
2328 * emacs-lisp/ert.el (ert--explain-format-atom):
2329 Don't try to print non-characters as characters. (Bug#13543)
2330
2331 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2332
2333 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2334 (tramp-backtrace): New defun.
2335 (tramp-handle-insert-file-contents): Use `visit' when inserting
2336 the local copy.
2337
2338 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2339 Use `remote-file-name-inhibit-cache'.
2340
2341 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2344 (bug#13614).
2345
2346 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2347 current-load-list (bug#13366).
2348
2349 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2350
2351 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2352 Identify g++ template instantiation trace. (Bug#12287)
2353 (compilation-mode-hook, compilation-start-hook)
2354 (compilation-window-height): Simplify docstrings. (Bug#13379)
2355
2356 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * mouse.el (mouse-drag-track): Always deactivate the mark before
2359 running the final event's command since that command is in charge of
2360 activating the mark if needed (bug#13523).
2361
2362 2013-02-02 Juri Linkov <juri@jurta.org>
2363
2364 * replace.el (perform-replace): Move let-bindings of isearch-*
2365 variables deeper to the loop that searches for the next match.
2366 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2367 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2368 (Bug#13579)
2369
2370 * isearch.el (isearch-search-fun-default): Check for null
2371 first element of isearch-cmds as a precaution when it's used
2372 with inactive isearch.
2373
2374 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2375
2376 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2377 error when buffer in question is narrowed so position 1 is out of
2378 visible part.
2379
2380 2013-02-02 Glenn Morris <rgm@gnu.org>
2381
2382 * textmodes/remember.el (remember-clipboard): Doc fix.
2383
2384 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2387 properties (bug#13179).
2388
2389 2013-02-02 Juri Linkov <juri@jurta.org>
2390
2391 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2392 instead of hard-coded default face `match'. (Bug#9438)
2393
2394 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2395
2396 * vc/vc-arch.el (vc-arch-registered):
2397 * vc/vc-bzr.el (vc-bzr-registered):
2398 * vc/vc-cvs.el (vc-cvs-registered):
2399 * vc/vc-git.el (vc-git-registered):
2400 * vc/vc-hg.el (vc-hg-registered):
2401 * vc/vc-mtn.el (vc-mtn-registered):
2402 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2403 (Bug#13139)
2404
2405 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2406 prefix argument. (Bug#11656)
2407
2408 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2411
2412 2013-02-01 Glenn Morris <rgm@gnu.org>
2413
2414 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2415 if the backend is known not to support it.
2416
2417 * imenu.el (imenu-default-create-index-function):
2418 Tweak infinite loop test to check for forward motion as well as none.
2419
2420 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2421
2422 * net/soap-client.el (soap-invoke): Encode the string for
2423 `url-request-data' as UTF-8.
2424 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2425
2426 2013-02-01 Glenn Morris <rgm@gnu.org>
2427
2428 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2429
2430 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2431
2432 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2433
2434 * net/tramp.el (tramp-tramp-file-p): Comment check for
2435 `string-as-unibyte'. The function does not exist on XEmacs, and
2436 likely we need another approach.
2437
2438 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2439 `tramp-gw-*' variables are bound.
2440
2441 2013-01-31 Glenn Morris <rgm@gnu.org>
2442
2443 * files.el (basic-save-buffer-2): Choose coding system for
2444 writing the file before backing it up, to reduce delay between
2445 backing up and writing the new version. (Bug#13522)
2446
2447 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2448
2449 * simple.el (cycle-spacing): New command.
2450 (just-one-space): Use it.
2451
2452 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2455 (opascal-newline-always-indents): Remove custom.
2456 (opascal-tab, opascal-newline): Remove commands.
2457 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2458 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2459 (opascal-save-match-data): Remove, use save-match-data instead.
2460 (opascal-save-state): Use with-silent-modifications.
2461
2462 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2463 (bug#13585).
2464
2465 2013-01-30 Juri Linkov <juri@jurta.org>
2466
2467 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2468 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2469 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2470
2471 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2474 column if we're just deleting the backslashes.
2475 (makefile-fill-paragraph): Use eolp.
2476
2477 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2478
2479 * autorevert.el (auto-revert-use-notify): Fix docstring.
2480
2481 2013-01-30 Leo Liu <sdl.web@gmail.com>
2482
2483 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2484
2485 2013-01-30 Glenn Morris <rgm@gnu.org>
2486
2487 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2488 unread-command-events twice in some cases. This tries to implement
2489 the 2012-07-26 changes in a different way. (Bug#13560)
2490
2491 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2492
2493 * progmodes/python.el
2494 (python-pdbtrack-comint-output-filter-function): Enhancements on
2495 stacktrace detection. (thanks @gnovak)
2496
2497 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2500 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2501 Use defvar-local.
2502 (jit-lock-register): Use setq-local.
2503
2504 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2505
2506 * calc-units.el (math-default-units-table): Remove initial value.
2507 (calc-convert-units): Treat expressions where all the units cancel as
2508 if they didn't have units.
2509
2510 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2511
2512 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2513 (tramp-completion-reread-directory-timeout): Fix type.
2514 (tramp-connection-min-time-diff): New defcustom.
2515
2516 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2517
2518 2013-01-30 Glenn Morris <rgm@gnu.org>
2519
2520 * imenu.el (imenu-default-create-index-function):
2521 Put back a version of the infinite loop test removed 2013-01-23.
2522
2523 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2524
2525 * progmodes/python.el (python-shell-parse-command):
2526 Find python-shell-interpreter with modified environment.
2527
2528 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2531
2532 2013-01-29 Alan Mackenzie <acm@muc.de>
2533
2534 Amend to fontify /regexp/s in actions correctly.
2535 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2536 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2537 are no longer included.
2538 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2539 What used to be these variables without "-line" in the name.
2540 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2541 (c-awk-non-arith-op-bra-re): Now also matches {.
2542 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2543 "return", and "case".
2544 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2545 by /.
2546 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2547 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2548
2549 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * autorevert.el (auto-revert-use-notify):
2552 Use `custom-initialize-default' for initialization. (Bug#13583)
2553
2554 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2555
2556 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2557 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2558 in `tramp-file-name-handler'.
2559 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2560 compatibility.
2561 (tramp-compute-multi-hops): Check, whether
2562 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2563
2564 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2567 (bug#13297).
2568
2569 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2570
2571 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2572 checks made superfluous by the \_< operator.
2573 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2574 temporarily) broken indentation.
2575 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2576 Highlight nested constants, too. \_< broke that.
2577
2578 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2579
2580 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2581 instead of "\\b".
2582
2583 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2584
2585 * autorevert.el (auto-revert-handler): Notifications which result
2586 from a saved file shall not be taken into account. (Bug#13557)
2587
2588 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2589
2590 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2591 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2592 (lisp-mode): Pass t for it. (Bug#13556)
2593
2594 2013-01-25 Alan Mackenzie <acm@muc.de>
2595
2596 AWK Mode: Fix indentation bug at top level. Bug #12274.
2597
2598 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2599 just before CASE 5D.
2600
2601 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2602
2603 * net/socks.el (socks-nslookup-host): Use string-to-number.
2604
2605 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2606
2607 * autorevert.el (auto-revert-remote-files)
2608 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2609 (auto-revert-notify-enabled, auto-revert-use-notify)
2610 (auto-revert-notify-watch-descriptor-hash-list)
2611 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2612 (auto-revert-notify-event-descriptor)
2613 (auto-revert-notify-event-action)
2614 (auto-revert-notify-event-file-name): Doc fix.
2615 (global-auto-revert-mode): Reorder checks.
2616 (auto-revert-notify-rm-watch): Respect changed values of
2617 `auto-revert-notify-watch-descriptor-hash-list'.
2618 (auto-revert-notify-add-watch): Check for
2619 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2620 `inotify-add-watch'. Watch `default-directory' instead of
2621 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2622 has a changed meaning now. (Bug#13540)
2623 (auto-revert-notify-handler): Change implementation wrt events
2624 returning from a directory.
2625 (auto-revert-handler): Reorder implementation for checks of remote
2626 files.
2627 (auto-revert-buffers): Fix parentheses error.
2628
2629 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2630
2631 * progmodes/python.el: Enhancements to header documentation about
2632 skeletons. (Bug#5716)
2633
2634 * imenu.el (imenu-default-create-index-function): Remove useless
2635 infinite loop check. (Bug#13438)
2636
2637 2013-01-25 Alan Mackenzie <acm@muc.de>
2638
2639 Fix a bug in the state cache mechanism. Refactor this a bit.
2640
2641 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2642 `cache-pos' element from the return value.
2643 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2644 buffer to enable proper searching from beyond HERE. Amend the
2645 test for detecting the sought brace pair. Amend the value written
2646 to the "brace desert cache" when the brace isn't found.
2647 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2648 and several other variables analogously.
2649 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2650 parameter to a locally calculated variable.
2651 (c-parse-state-1): Change the calling conventions to the two
2652 defuns involving `cache-pos'.
2653
2654 2013-01-25 Chong Yidong <cyd@gnu.org>
2655
2656 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2657
2658 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2659
2660 * paren.el (show-paren-function): Make sure to set 'priority and
2661 'face only if the overlay does exist.
2662
2663 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2666
2667 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2668 basic attributes.
2669 (tramp-sh-handle-set-file-acl): Improve error checking.
2670
2671 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2672
2673 * doc-view.el (doc-view-display): Force mode line update until all
2674 document is converted. Suggested by Stefan Monnier (Bug#13164).
2675
2676 2013-01-23 Bastien Guerry <bzg@gnu.org>
2677
2678 * paren.el (show-paren-function): Make sure an overlay exists
2679 before trying to delete it. Also use `pos' as a position only
2680 when it is an integer.
2681
2682 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2683
2684 * play/gametree.el (gametree-break-line-here): Use point-marker.
2685
2686 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2689 Mark descriptive parts with `display' property.
2690
2691 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2692
2693 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2694 New variable to map standard dict names to hunspell ones.
2695 (ispell-set-spellchecker-params): Make sure specific dict names
2696 are used for standard dicts with hunspell.
2697
2698 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2699
2700 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2701 chars for note (%N) and url (%U).
2702 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2703
2704 2013-01-21 Juri Linkov <juri@jurta.org>
2705
2706 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2707 in addition to existing separate binding `meta f10' in `global-map'.
2708 (Bug#13484)
2709
2710 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2711
2712 Improve XEmacs compatibility.
2713
2714 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2715
2716 * net/tramp-adb.el (top): Require `time-date'.
2717 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2718 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2719 Use `tramp-file-name-handler'.
2720 (tramp-adb-maybe-open-connection):
2721 Use `tramp-compat-set-process-query-on-exit-flag'.
2722
2723 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2724 Use `tramp-compat-funcall'.
2725
2726 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2727 `tramp-compat-funcall'.
2728
2729 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2730
2731 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2732 reimplementation using "adb shell command ..." instead of running
2733 remote shell interactively.
2734
2735 2013-01-20 Glenn Morris <rgm@gnu.org>
2736
2737 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2738 Add native profiler menu entries.
2739
2740 * profiler.el (profiler-running-p): New function.
2741 (profiler-cpu-profile): Use profiler-running-p.
2742 (profiler-report-mode-map): Add some more menu entries.
2743
2744 2013-01-19 Glenn Morris <rgm@gnu.org>
2745
2746 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2747 fixes 2012-12-07 change. (Bug#13499)
2748
2749 2013-01-19 Leo Liu <sdl.web@gmail.com>
2750
2751 * dired.el (dired-get-marked-files): Prune erroneous values due to
2752 last change. (Bug#13152)
2753
2754 2013-01-19 Glenn Morris <rgm@gnu.org>
2755
2756 * progmodes/etags.el (tags-table-check-computed-list):
2757 Preserve point in tags buffer. (Bug#13412)
2758
2759 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2760
2761 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2762 Chong Yidong <cyd@gnu.org>
2763
2764 * image-mode.el (image-next-file, image-previous-file):
2765 New commands (Bug#8453).
2766 (image-mode-map): Bind them to n and p.
2767 (image-mode--images-in-directory): New helper function.
2768
2769 2013-01-19 Chong Yidong <cyd@gnu.org>
2770
2771 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2772 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2773 save and restore the old window configuration.
2774
2775 2013-01-18 Leo Liu <sdl.web@gmail.com>
2776
2777 * progmodes/js.el: Tweak autoload cookie for alias.
2778
2779 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2780
2781 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2782 buffer local, again. This was lost with the fix on 2013-01-12.
2783
2784 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2785
2786 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2787 order to support several eshell buffers in parallel.
2788
2789 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2790
2791 * autorevert.el (auto-revert-use-notify): In the :set function, do
2792 not modify `kill-buffer-hook'.
2793 (auto-revert-notify-rm-watch):
2794 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2795 (auto-revert-notify-add-watch): Do not call
2796 `auto-revert-notify-rm-watch', but add it to a buffer local
2797 `kill-buffer-hook'.
2798
2799 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2802 call to `eval' rather than a backquoted lambda.
2803
2804 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2807 to return an explicit nil.
2808 (advice--remove-function): Change accordingly.
2809
2810 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2811 the use of nadvice.el.
2812
2813 * progmodes/which-func.el (which-function): Silence imenu errors
2814 (bug#13433).
2815
2816 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2817
2818 * progmodes/sql.el (sql-imenu-generic-expression):
2819 (sql-mode-font-lock-object-name): Match schema qualified names.
2820 (sql-connect): Use string keys.
2821 (sql-product-interactive): Wait for interpreter prompt.
2822 (sql-comint-oracle): Set process coding based on NLS_LANG.
2823
2824 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2825
2826 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2827 (sql-interactive-remove-continuation-prompt):
2828 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2829
2830 2013-01-14 Leo Liu <sdl.web@gmail.com>
2831
2832 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2833 (Bug#13420)
2834
2835 2013-01-14 Glenn Morris <rgm@gnu.org>
2836
2837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2838 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2839
2840 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2841
2842 * progmodes/python.el (python-nav-end-of-statement):
2843 Fix cornercase when handling multiline strings.
2844
2845 2013-01-13 Richard Stallman <rms@gnu.org>
2846
2847 * mail/sendmail.el (mail-position-on-field): Add doc string.
2848
2849 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2850 Get current message boundaries and pass them to
2851 message-forward-make-body-mime. Minor style changes.
2852
2853 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2854
2855 * cus-start.el (all): Avoid warnings about
2856 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2857
2858 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2859
2860 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2861
2862 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2865 (jit-lock--debug-fontifying): New var.
2866 (jit-lock--debug-fontify): New function.
2867 * subr.el (condition-case-unless-debug): Don't prevent catching the
2868 error, just let the debbugger run.
2869 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2870 timer code and don't drop errors silently.
2871
2872 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2875 `permanent-local' property.
2876 (auto-revert-notify-handler): Use `file-equal-p'.
2877
2878 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2879
2880 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2881 file notification by ACTION. For filtering by file name, compare
2882 only the non-directory part of the file name.
2883
2884 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * autorevert.el: Use cl-lib instead of cl.
2887
2888 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2889 (vc-bzr-checkin): Use it.
2890 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2891 will preserve match-data.
2892
2893 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2894
2895 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2896 (js--declaration-keyword-re): New var.
2897 (js--multi-line-declaration-indentation): New function.
2898 (js--proper-indentation): Use it.
2899
2900 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2901
2902 * calc/calc.el (calc-highlight-selections-with-faces)
2903 (calc-dispatch):
2904 * comint.el (comint-history-isearch-message):
2905 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2906 * ffap.el (ffap-string-at-point-region, ffap-next)
2907 (ffap-string-at-point, ffap-string-around)
2908 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2909 (ffap-literally):
2910 * font-lock.el (font-lock-keywords-alist)
2911 (font-lock-removed-keywords-alist):
2912 * help-mode.el (help-xref-symbol-regexp):
2913 * info.el (Info-find-emacs-command-nodes):
2914 * international/mule.el (add-to-coding-system-list):
2915 * isearch.el (isearch-message-function, isearch-fail-pos):
2916 * misearch.el (multi-isearch-next-buffer-function):
2917 * newcomment.el (comment-box):
2918 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2919 (pr-setting-database):
2920 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2921 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2922 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2923 (pike-font-lock-keywords-3):
2924 * progmodes/compile.el (compile):
2925 * progmodes/etags.el (tags-table-files)
2926 (tags-table-files-function, tags-included-tables-function):
2927 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2928 (gdb-restore-windows):
2929 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2930 (ps-n-up-filling-database):
2931 * server.el (server-buffer, server-log):
2932 * simple.el (newline, delete-backward-char, delete-forward-char)
2933 (minibuffer-history-isearch-message, kill-line, track-eol)
2934 (temporary-goal-column):
2935 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2936 (flyspell-default-deplacement-commands):
2937 * textmodes/ispell.el (ispell-accept-output):
2938 * textmodes/sgml-mode.el (html-tag-help):
2939 * vc/compare-w.el (compare-ignore-whitespace)
2940 (compare-ignore-case, compare-windows-dehighlight):
2941 * vc/diff.el (diff):
2942 * whitespace.el (whitespace-point)
2943 (whitespace-font-lock-refontify, whitespace-bob-marker)
2944 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2945
2946 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2949 (auto-revert-notify-rm-watch): Ignore errors.
2950 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2951 inotify, and '(size last-write-time) for w32notify.
2952 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2953 watch fails - this is a fallback to the file modification check.
2954 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2955 (auto-revert-notify-event-action)
2956 (auto-revert-notify-event-file-name): New defuns.
2957 (auto-revert-notify-handler): Use them. Implement first
2958 plausibility checks.
2959 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2960
2961 2013-01-11 Julien Danjou <julien@danjou.info>
2962
2963 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2964 max are almost equal. Also return the correct value for V which is
2965 already between 0 and 1.
2966
2967 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2968
2969 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2970
2971 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2972
2973 * autorevert.el (auto-revert-notify-rm-watch)
2974 (auto-revert-notify-add-watch): Fix typos in w32notify function
2975 names.
2976
2977 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2978
2979 * autorevert.el (auto-revert-notify-enabled): Move up.
2980 (auto-revert-use-notify): New defcustom.
2981 (auto-revert-mode, global-auto-revert-mode)
2982 (auto-revert-notify-add-watch, auto-revert-handler)
2983 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2984 `auto-revert-notify-enabled'.
2985
2986 2013-01-10 Elias Pipping <pipping@exherbo.org>
2987
2988 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2989 * doc-view.el (doc-view-document->bitmap):
2990 Use doc-view-single-page-converter-function instead of
2991 single-page-converter arg; adjust callers.
2992
2993 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2994
2995 * progmodes/which-func.el (which-function): Understand Semantic's use
2996 of overlays in imenu--index-alist.
2997
2998 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2999
3000 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3001 (Man-man-k-use-anchor): New var.
3002 (Man-parse-man-k): New function.
3003 (Man-completion-table): Use it.
3004 (man): Flush the completion cache between uses.
3005
3006 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3007
3008 * autorevert.el: Add file watch support.
3009 (auto-revert-notify-enabled): New defconst.
3010 (auto-revert-notify-watch-descriptor-hash-list)
3011 (auto-revert-notify-watch-descriptor)
3012 (auto-revert-notify-modified-p): New defvars.
3013 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3014 (auto-revert-notify-handler): New defuns.
3015 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3016 when mode is disabled.
3017 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3018 (auto-revert-buffers): Add file watches for active buffers.
3019
3020 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3021
3022 * cus-start.el (toplevel): Only allow float values for
3023 scroll-up-aggressively and scroll-down-aggressively.
3024 Allow any number for line-spacing.
3025
3026 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3029 (doc-view-pdf->png-converter-function): Use mupdf if available.
3030 (doc-view-djvu->png-converter-function)
3031 (doc-view-ps->png-converter-function): Remove.
3032 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3033 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3034 (doc-view-already-converted-p): Adjust accordingly.
3035 (doc-view-mode-p): Simplify.
3036 (doc-view-enlarge): Use setq-local.
3037 (doc-view-pdf->png-converter-ghostscript)
3038 (doc-view-djvu->png-converter-ddjvu)
3039 (doc-view-pdf->png-converter-mupdf): Rework to call
3040 doc-view-start-process directly.
3041 (doc-view-pdf/ps->png): Simplify accordingly.
3042 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3043 (doc-view-document->bitmap): Rename from doc-view-document->png.
3044 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3045 (doc-view-set-slice-from-bounding-box): Fix completion table.
3046 (doc-view-mode): Use add-hook for after-revert-hook.
3047
3048 2013-01-10 Glenn Morris <rgm@gnu.org>
3049
3050 * emacs-lisp/authors.el (authors-ignored-files)
3051 (authors-valid-file-names, authors-renamed-files-alist):
3052 Add some more entries.
3053
3054 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3057 `t' pseudo-window entry.
3058
3059 2013-01-10 Alan Mackenzie <acm@muc.de>
3060
3061 Fix bugs in the c-parse-state mechanism. Reuse some markers
3062 instead of continually generating new ones.
3063
3064 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3065 (c-state-old-cpp-end-marker): New variables.
3066 (c-append-lower-brace-pair-to-state-cache): Start a backward
3067 search for "}" definitively outside CPP constructs.
3068 (c-remove-stale-state-cache): Inform the caller of a need to
3069 search back for a brace pair in certain circumstances.
3070 (c-state-maybe-marker): New macro.
3071 (c-parse-state): Reuse markers when appropriate.
3072
3073 2013-01-10 Glenn Morris <rgm@gnu.org>
3074
3075 * simple.el (execute-extended-command): Doc fix.
3076 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3077
3078 2013-01-10 Chong Yidong <cyd@gnu.org>
3079
3080 * faces.el (read-face-name): Doc fix.
3081
3082 2013-01-10 Roland Winkler <winkler@gnu.org>
3083
3084 * emacs-lisp/crm.el: Allow any regexp for separators.
3085 (crm-default-separator): All spaces around the default comma separator.
3086 (crm--completion-command): New macro.
3087 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3088 (crm-complete-and-exit): Handle non-single-char separators.
3089
3090 2013-01-09 Elias Pipping <pipping@lavabit.com>
3091
3092 * doc-view.el: Add support for DjVu (bug#13164).
3093 (doc-view-djvu->png-converter-function): New config var.
3094 (doc-view-single-page-converter-function, doc-view--image-type)
3095 (doc-view--image-file-extension): New vars.
3096 (doc-view-mode): Initialize them.
3097 (doc-view-goto-page): Use them.
3098 (doc-view-mode-p): Add support for ddjvu.
3099 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3100 (doc-view-set-up-single-converter): New funs.
3101 (doc-view-pdf/ps->png): Extend for djvu.
3102 (doc-view-document->png): Rename from doc-view-pdf->png.
3103 (doc-view-convert-current-doc): Handle djvu.
3104 (doc-view-insert-image, doc-view-display)
3105 (doc-view-already-converted-p): Don't hardcode png.
3106 (doc-view-set-doc-type): Recognize djvu docs.
3107
3108 2013-01-09 Elias Pipping <pipping@lavabit.com>
3109
3110 * doc-view.el: Add support for mupdf converter (bug#13164).
3111 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3112 (doc-view-ps->png-converter-function): New config vars.
3113 (doc-view-pdf->png-converter-ghostscript)
3114 (doc-view-ps->png-converter-ghostscript)
3115 (doc-view-pdf->png-converter-mupdf): New functions.
3116 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3117
3118 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3119
3120 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3121 first in session cache: When `tramp-own-remote-path' is in
3122 `tramp-remote-path', the remote path is only set in the session
3123 cache.
3124
3125 2013-01-09 Glenn Morris <rgm@gnu.org>
3126
3127 * emacs-lisp/trace.el (trace-function-foreground)
3128 (trace-function-background): Doc fix.
3129
3130 2013-01-09 Juri Linkov <juri@jurta.org>
3131
3132 * international/mule-cmds.el (read-char-by-name): Move let-binding
3133 of completion-ignore-case around completing-read to fix regression
3134 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3135 `string-match-p' using the nil value of `case-fold-search' and
3136 `completion-ignore-case' in `completion-pcm--all-completions'.
3137 (Bug#12615).
3138
3139 2013-01-09 Glenn Morris <rgm@gnu.org>
3140
3141 * progmodes/compile.el (compilation-parse-errors):
3142 Fix typo. (Bug#13369)
3143
3144 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3145
3146 * comint.el (comint-send-input): Check size of buffer before
3147 waiting for process output, in case already accepted. (Bug#13290)
3148
3149 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3150
3151 Spelling fixes.
3152 * net/tramp-adb.el (tramp-adb-get-toolbox):
3153 Fix misspelling of 'unknown'.
3154
3155 2013-01-08 Juri Linkov <juri@jurta.org>
3156
3157 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3158 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3159 Use underline style wave on terminals that support it. (Bug#13000)
3160
3161 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3164 the predicate returns nil.
3165
3166 * simple.el: Use lexical-binding.
3167 (primitive-undo): Use pcase.
3168 (minibuffer-history-isearch-push-state): Use a closure.
3169
3170 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3171
3172 * simple.el (primitive-undo): Move from undo.c.
3173
3174 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3177 (cvs-mode-remove-handled): Use it (bug#13380).
3178
3179 * emacs-lisp/nadvice.el (advice--tweak): New function.
3180 (advice--remove-function, advice--subst-main): Use it.
3181
3182 * emacs-lisp/advice.el: Update commentary.
3183
3184 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3185
3186 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3187 Remove spurious entry.
3188
3189 2013-01-08 Glenn Morris <rgm@gnu.org>
3190
3191 * net/tramp.el (tramp-default-host-alist): Add :version.
3192
3193 2013-01-08 Juri Linkov <juri@jurta.org>
3194
3195 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3196 single completion. (Bug#12456)
3197 (info--manual-names): Expand node completions into an explicit list
3198 before appending it to another list. Filter out internal buffers
3199 with the leading space in the buffer name. (Bug#10771)
3200
3201 2013-01-08 Juri Linkov <juri@jurta.org>
3202
3203 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3204 that defaults to the Top node.
3205 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3206 the short format (FILENAME) goes to the Top node.
3207 (Info-build-node-completions): Rename arg `file' to `filename'.
3208 (Bug#13365)
3209
3210 2013-01-07 Bastien Guerry <bzg@gnu.org>
3211
3212 * menu-bar.el (menu-bar-search-documentation-menu):
3213 Use `apropos-user-option' and fix the help message.
3214
3215 2013-01-07 Bastien Guerry <bzg@gnu.org>
3216
3217 * apropos.el (apropos-do-all): Update docstring.
3218 (apropos-user-option-button): New face.
3219 (apropos-user-option): Rename from `apropos-variable' and update
3220 docstring.
3221 (apropos-variable): Rewrite, now show all variables by default.
3222 (apropos-print): Mention "User option" instead of "Variable" when
3223 printing doc for user options. (Bug#13276)
3224
3225 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3226
3227 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3228 Handle filename correctly, when parsing "source -> target" symlink
3229 output.
3230 (tramp-adb-handle-set-file-times): New defun.
3231
3232 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3233
3234 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3235 advice list when the interactive-spec of ad-Advice-* changes.
3236
3237 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3238
3239 * wid-edit.el (widget-default-get): Work for inlined elements.
3240 (Bug#12670)
3241
3242 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3243
3244 * net/tramp.el (tramp-default-host-alist): New defcustom.
3245 (tramp-find-host): Use it.
3246 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3247 `eshell-directory-change-hook'.
3248
3249 * net/tramp-adb.el (top): Add adb specific entry in
3250 `tramp-default-host-alist'.
3251 (tramp-adb-file-name-host): Remove function.
3252 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3253 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3254
3255 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3256
3257 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3258
3259 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3260
3261 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3262
3263 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3264 consist of more than one digit.
3265 (tramp-adb-file-name-handler-alist):
3266 Use `tramp-handle-file-exists-p' consistently.
3267 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3268 (tramp-adb-handle-file-exists-p): Remove function.
3269 (tramp-adb-file-name-host): New defun.
3270 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3271 Use it.
3272 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3273
3274 2013-01-06 Chong Yidong <cyd@gnu.org>
3275
3276 * vc/vc.el (vc-next-action): Detect buffer modifications
3277 conflicting with locking VCS operation (Bug#11490).
3278
3279 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3280
3281 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3284 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3285
3286 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3287
3288 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3289 parsing of ls output using regular expression (handle filenames
3290 with spaces). Use virtual device number.
3291 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3292 cleanup).
3293
3294 2013-01-04 Daiki Ueno <ueno@gnu.org>
3295
3296 * epg.el: Silence byte-compiler warnings.
3297 (epg--start): Use delete-char instead of delete-backward-char.
3298 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3299
3300 2013-01-04 Daiki Ueno <ueno@gnu.org>
3301
3302 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3303 Suggested by Eli Zaretskii <eliz@gnu.org>.
3304
3305 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3308 non-negative integers. Otherwise, the default values are used.
3309 (tramp-convert-file-attributes): Convert uid and gid to integers.
3310
3311 2013-01-04 Glenn Morris <rgm@gnu.org>
3312
3313 * term.el (term-handle-colors-array): Ensure face attributes
3314 are fully specified, not nil. (Bug#13337)
3315
3316 * term.el (term-default-fg-color, term-default-bg-color):
3317 Fix custom type.
3318
3319 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3320 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3321 rather than 'jka-compr being loaded. (Bug#13338)
3322
3323 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3324
3325 * icomplete.el (icomplete-completions):
3326 Honor icomplete-prospects-height once more following
3327 2012-11-29 changes. (Bug#13224)
3328
3329 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3332 of called-interactively-p as well (bug#13237).
3333
3334 * view.el (view--enable, view--disable): Rename from view-mode-enable
3335 and view-mode-disable and assume it's called from view-mode.
3336 (view-mode-enable, view-mode-disable): Redefine as obsolete
3337 compatibility layer above view-mode.
3338 (view-mode-enter): Call `view-mode'.
3339
3340 * files.el (after-find-file): Call `view-mode'.
3341
3342 * doc-view.el (doc-view-scale-internally): New var.
3343 (doc-view-enlarge, doc-view-insert-image): Obey it.
3344
3345 2013-01-03 Daiki Ueno <ueno@gnu.org>
3346
3347 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3348 exist. (Bug#13344)
3349
3350 2013-01-03 Glenn Morris <rgm@gnu.org>
3351
3352 * mail/rmail.el (rmail-set-header-1): Ignore case.
3353 Handle multi-line headers. (Bug#13330)
3354
3355 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3356 Handle paragraph starting at beginning of buffer.
3357
3358 * subr.el (eval-after-load): Don't purecopy the form, so that it
3359 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3360
3361 * emacs-lisp/byte-run.el (defun): Place cl declarations
3362 after any interactive spec. (Bug#13265)
3363
3364 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3367 defun. Don't check for DECL if DOCSTRING isn't a string.
3368 (defun): Likewise.
3369
3370 2013-01-02 Glenn Morris <rgm@gnu.org>
3371
3372 * eshell/em-cmpl.el (eshell-pcomplete):
3373 More thoroughly imitate pcomplete. (Bug#13293)
3374
3375 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3376 Return nil for empty path elements. (Bug#13296)
3377
3378 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3379
3380 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3381 order to improve efficiency (Based on Daniel Colascione's
3382 <dancol@dancol.org> patch). (Bug#13182)
3383
3384 2013-01-02 Glenn Morris <rgm@gnu.org>
3385
3386 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3387
3388 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3389
3390 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3391 neither DOCSTRING nor DECL was given. (Bug#13316)
3392
3393 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3394
3395 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3396 `error' call.
3397 (tramp-do-copy-or-rename-file): Ignore errors when calling
3398 `set-file-extended-attributes'.
3399
3400 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3401 Add handler for `file-acl'.
3402 (tramp-smb-handle-file-acl): New defun.
3403
3404 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3405
3406 * calc/README: Mention ISO 8601 week-numbering dates.
3407
3408 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3409
3410 * view.el (view-mode-enable): New argument run-view-mode-hook.
3411 Run view-mode-hook only when it's non-nil (Bug#13315).
3412 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3413 argument t.
3414
3415 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3416
3417 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3418 (No device connected, invalid device name). (Bug #13299)
3419
3420 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3421
3422 * window.el (window-resizable--p): Rename to window-resizable-p.
3423 (window-resize-no-error): New function.
3424
3425 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3426 broken in fix from 2012-12-28.
3427
3428 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * subr.el (special-form-p): Don't signal errors on undef aliases.
3431
3432 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3433
3434 * calc/calc-forms.el (math-parse-date): Try using
3435 `math-parse-iso-date' when it looks like it might be needed.
3436 Allow times of 24:00.
3437 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3438 of 24:00.
3439
3440 2012-12-30 Glenn Morris <rgm@gnu.org>
3441
3442 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3443 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3444 (rmail-summary-displayed, rmail-summary): Declare.
3445 (mairix-rmail-display): Just require rmail.
3446
3447 2012-12-30 Chong Yidong <cyd@gnu.org>
3448
3449 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3450 check for the tarball contents.
3451
3452 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3453
3454 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3455 tarfile content listings (Bug#13136).
3456
3457 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3458
3459 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3460 Insert the undecoded text of the message being forwarded. (Bug#9521)
3461
3462 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3463
3464 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3465 integers, if they are real numbers. (Bug#13282)
3466
3467 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3468 Return `t' on success.
3469
3470 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3471 Add handler for `set-file-selinux-context'.
3472
3473 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3474
3475 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3476 (tramp-sh-handle-set-file-acl): Return `t' on success.
3477
3478 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3479
3480 * files.el (backup-buffer-copy, basic-save-buffer-2):
3481 If set-file-extended-attributes fails, fall back on set-file-modes
3482 instead of signaling an error. (Bug#13298)
3483 (basic-save-buffer): Likewise.
3484
3485 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3486
3487 * progmodes/python.el: Support other commands triggering
3488 python-indent-line so indentation cycling continues to work.
3489 (python-indent-trigger-commands): New defcustom.
3490 (python-indent-line): Use it.
3491
3492 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3493
3494 * progmodes/python.el (python-shell-send-region): Add blank lines
3495 for non sent code so backtraces remain correct.
3496
3497 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3498
3499 * progmodes/python.el: Remove cl dependency.
3500 (python-syntax-count-quotes): Replace incf call.
3501 (python-fill-string): Replace setf call.
3502
3503 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3504
3505 * info.el (info-other-window): New arg, for consistency with info.
3506
3507 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3508
3509 * mail/rmail.el (rmail-maybe-display-summary):
3510 Rewrite (Bug#13066).
3511
3512 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3513
3514 * epg.el (epg--start): Modify process-environment locally.
3515
3516 2012-12-28 Daiki Ueno <ueno@gnu.org>
3517
3518 * epg.el: Support pinentry-curses.
3519 Suggested by Werner Koch in
3520 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3521 (epg-agent-file, epg-agent-mtime): New variable.
3522 (epg--start): Record the modified time of gpg-agent socket file,
3523 to restore Emacs frame after pinentry-curses termination.
3524 (epg-wait-for-completion): Restore Emacs frame here.
3525
3526 2012-12-27 Juri Linkov <juri@jurta.org>
3527
3528 * info.el (Info-file-completions): New variable.
3529 (Info-read-node-name-1): Complete node names in the Info file
3530 when a file name is given. Call `Info-build-node-completions'
3531 with a file name.
3532 (Info-build-node-completions): Add new arg `file'. When it is
3533 non-nil, visit it in a temporary buffer and cache its completions in
3534 `Info-current-file-completions'. Move most of the function body to
3535 `Info-build-node-completions-1'.
3536 (Info-build-node-completions-1): New function with the body from
3537 `Info-build-node-completions'. (Bug#12456)
3538
3539 2012-12-27 Juri Linkov <juri@jurta.org>
3540
3541 * frame.el (frame-maximization-style): Remove user option.
3542 (cycle-frame-maximized): Remove function.
3543 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3544 (toggle-frame-fullscreen): New command bound to <f11> instead of
3545 `toggle-frame-maximized'.
3546 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3547
3548 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3549
3550 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3551
3552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3553 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3554 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3555 for `file-accessible-directory-p'. (Bug#13275)
3556
3557 2012-12-27 Sam Steingold <sds@gnu.org>
3558
3559 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3560 continuations, see <http://stackoverflow.com/questions/3582436>.
3561
3562 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3563
3564 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3565 "module" and "def" to have indentation before them.
3566 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3567
3568 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3569
3570 2012-12-27 Alan Mackenzie <acm@muc.de>
3571
3572 Speed up fontification where there's large brace blocks.
3573 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3574 to a call of c-beginning-of-decl-1.
3575
3576 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3577
3578 * comint.el (comint-adjust-window-point): New function.
3579 (comint-postoutput-scroll-to-bottom):
3580 Call comint-adjust-window-point (Bug#13248).
3581
3582 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3583
3584 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3585 Rakefile regexp.
3586 (auto-mode-alist): Associate .gemspec files with ruby-mode
3587 (https://bugs.ruby-lang.org/issues/5453).
3588
3589 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3590
3591 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3592 Suppress coloring, if possible (required for BusyBox based systems like
3593 CyanogenMod).
3594 (tramp-adb-handle-file-attributes)
3595 (tramp-adb-handle-insert-directory)
3596 (tramp-adb-handle-file-name-all-completions): Use it.
3597 (tramp-adb-get-toolbox): New defun. Check for remote shell
3598 implementation (BusyBox or Toolbox).
3599
3600 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3601
3602 * startup.el (initial-buffer-choice): Allow function as value
3603 (Bug#13251).
3604 (command-line-1): Handle case where initial-buffer-choice
3605 specifies a function.
3606 * server.el (server-execute): Handle case where
3607 initial-buffer-choice specifies a function.
3608
3609 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3610
3611 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3612 its own function.
3613 (smtpmail-try-auth-methods): Forget the user name/password if the
3614 login is unsuccessful (bug#12424).
3615
3616 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * notifications.el (notifications-notify): Protect body with
3619 `with-demoted-errors'.
3620
3621 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3622 Check properties of remote device. Restart connection, if there is a
3623 change.
3624
3625 2012-12-21 Chong Yidong <cyd@gnu.org>
3626
3627 * sort.el (sort-subr): Doc fix (Bug#13056).
3628
3629 2012-12-21 Bastien Guerry <bzg@gnu.org>
3630
3631 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3632
3633 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3634
3635 * simple.el (process-file): Overwrite stderr file, if exists.
3636
3637 2012-12-21 Daiki Ueno <ueno@gnu.org>
3638
3639 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3640 (epg-error): Set `error-message' property.
3641
3642 2012-12-21 Chong Yidong <cyd@gnu.org>
3643
3644 * international/mule-cmds.el (read-char-by-name): Signal an error
3645 if the user does not supply a valid character (Bug#13177).
3646
3647 * simple.el (transpose-subr-1): Preserve marker positions by
3648 changing the insertion sequence (Bug#13122).
3649
3650 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3651
3652 * simple.el (kill-region): Deactivate mark even for empty regions
3653 (Bug#13169).
3654
3655 2012-12-21 Chong Yidong <cyd@gnu.org>
3656
3657 * help-fns.el (describe-variable): Make sure we get the right
3658 buffer name (Bug#13105). Suggested by Kelly Dean.
3659
3660 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3661
3662 * comint.el (comint-redirect-previous-input-string): New variable.
3663 (comint-redirect-setup, comint-redirect-cleanup)
3664 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3665 (comint-redirect-preoutput-filter): Fix verbose message.
3666
3667 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3668
3669 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3670 is too long for Tramp. See discussion in
3671 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3672
3673 * progmodes/compile.el (compilation-start): Remove line escape
3674 template.
3675
3676 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3677
3678 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3679 Adjust comment.
3680
3681 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3682
3683 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3684 following non-comment text (bug#13207).
3685 (lm-header-multiline): Continuation lines need to be indented more than
3686 the first line.
3687 (lm-homepage): New function.
3688 (lm-with-file): Don't be confused if narrowing is in effect.
3689
3690 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3693 very beginning of a hunk (e.g. killing the first line).
3694
3695 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3698 and text properties from returned ACL string.
3699 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3700 for "setfacl" command.
3701
3702 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3705 `tramp-cleanup-this-connection', when the process has died.
3706 (Bug#13151)
3707
3708 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3711
3712 2012-12-17 Kevin Ryde <user42@zip.com.au>
3713
3714 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3715
3716 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3717
3718 Add support for preserving ACL entries of files.
3719
3720 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3721 `set-file-acl' handlers.
3722
3723 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3724 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3725
3726 * net/tramp-compat.el (tramp-compat-copy-file):
3727 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3728
3729 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3730 Add `file-acl' and `set-file-acl' handlers.
3731 (tramp-gvfs-handle-copy-file):
3732 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3733 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3734 New defuns.
3735
3736 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3737 Add `file-acl' and `set-file-acl' handlers.
3738 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3739 (tramp-sh-handle-set-file-acl): New defuns.
3740 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3741 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3742
3743 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3744 Add `file-acl' and `set-file-acl' handlers.
3745 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3746
3747 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3748
3749 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3750 use pop-to-buffer with NORECORD argument t. As buffer name, use
3751 *Metahelp* with a leading space (Bug#13190).
3752
3753 2012-12-16 Romain Francoise <romain@orebokech.com>
3754
3755 * files.el (file-extended-attributes)
3756 (set-file-extended-attributes): New functions.
3757 (backup-buffer): Use them to handle both SELinux context and ACL
3758 entries.
3759 (backup-buffer-copy): Work with an alist of extended attributes,
3760 rather than an SELinux context.
3761 (basic-save-buffer-2): Ditto.
3762
3763 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3764
3765 * battery.el (battery-bsd-apm): New function.
3766
3767 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3768
3769 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3770 standard date formats.
3771
3772 2012-12-15 Juri Linkov <juri@jurta.org>
3773
3774 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3775 `isearch-insert-char-by-name'.
3776 (with-isearch-suspended): New defmacro with body mostly from
3777 `isearch-edit-string' except the part that sets
3778 `isearch-new-string' and `isearch-new-message'.
3779 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3780 body that sets `isearch-new-string' and `isearch-new-message'.
3781 (isearch-insert-char-by-name): New command.
3782 * international/mule-cmds.el (read-char-by-name): Let-bind
3783 `enable-recursive-minibuffers' to t.
3784 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3785
3786 2012-12-15 Juri Linkov <juri@jurta.org>
3787
3788 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3789 (Bug#13175)
3790
3791 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3792
3793 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3794 the prompt. (Bug#13045)
3795
3796 2012-12-14 Glenn Morris <rgm@gnu.org>
3797
3798 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3799 Try to include filename in non-bytecomp warning. (Bug#13132)
3800
3801 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3802
3803 Fix permissions bugs with setgid directories etc. (Bug#13125)
3804 * files.el (backup-buffer): Don't rely on 9th output of
3805 file-attributes, as it's now a placeholder. Instead, use the new
3806 optional arg of file-ownership-preserved-p.
3807 (file-ownership-preserved-p): New optional arg GROUP.
3808 Fix mishandling of setuid directories that would cause this
3809 function to return t when it should have returned nil.
3810 Document what happens if the file does not exist, and when
3811 it's not known whether the ownership will be preserved.
3812 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3813 Likewise.
3814 (tramp-get-local-gid): Use group-gid for integer, as that's
3815 faster and more reliable.
3816
3817 2012-12-14 Julien Danjou <julien@danjou.info>
3818
3819 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3820 Update keywords list, data type and PL/pgSQL.
3821
3822 2012-12-14 Dave Abrahams <dave@boostpro.com>
3823
3824 * vc/ediff-util.el (ediff-buffer-type): New function.
3825 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3826 rather than taking it as as argument.
3827 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3828
3829 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3830
3831 * json.el: Add pretty-print option (bug#12634).
3832 (json-encoding-separator, json-encoding-default-indentation)
3833 (json--encoding-current-indentation, json-encoding-pretty-print)
3834 (json-encoding-lisp-style-closings): New vars.
3835 (json--with-indentation): New macro.
3836 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3837 (json-encode-array): Use it to obey json-encoding-pretty-print.
3838 (json-pretty-print-buffer, json-pretty-print): New commands.
3839
3840 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3841
3842 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3843 Extract `ruby-syntax-propertize-expansions'.
3844 (ruby-syntax-propertize-expansions): Only change syntax on
3845 certain string delimiters, to punctuation. This way the common
3846 functions like forward-word and thing-at-point still work.
3847 (ruby-match-expression-expansion): Improve readability.
3848 (ruby-block-contains-point): New function.
3849 (ruby-add-log-current-method): Handle several edge cases.
3850
3851 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3854 unload-feature finishes even when aborting an ongoing edebug session.
3855 Also, do not worry about edebug-mode, unload-feature takes care of it.
3856
3857 2012-12-13 Andreas Schwab <schwab@suse.de>
3858
3859 * net/tls.el (tls-program): Update customize type.
3860
3861 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3862
3863 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3864 (edebug-setup-hook, cl-read-load-hooks): Use it.
3865 (edebug-unload-function): New function. (Bug#13163)
3866
3867 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3868
3869 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3870 Otherwise, there could be errors in autoloading. (Bug#13151)
3871
3872 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3873
3874 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3875 sequences.
3876
3877 2012-12-13 Alan Mackenzie <acm@muc.de>
3878
3879 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3880 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3881 around `forward-comment' not recognizing ^M as whitespace.
3882
3883 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3884
3885 * progmodes/python.el (python-skeleton-class)
3886 (python-skeleton-def): Do not add space after defun name.
3887
3888 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3889
3890 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3891 (cl--symbol-function): Remove (now that funbound is like nil).
3892
3893 2012-12-12 Glenn Morris <rgm@gnu.org>
3894
3895 * button.el (button--area-button-p): Fix typo.
3896
3897 2012-12-12 Sam Steingold <sds@gnu.org>
3898
3899 * frame.el (frame-maximization-style): New user option.
3900 (toggle-frame-maximized): Toggle frame maximization according to
3901 `frame-maximization-style', bound to <f11>.
3902 (cycle-frame-maximized): Cycle between all maximization styles and
3903 non-maximized frame, bound to shift-<f11>.
3904
3905 2012-12-12 David Cadé <codename68@gmail.com>
3906
3907 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3908
3909 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3910
3911 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3912 (eieio-override-prin1): Don't quote kewords and booleans.
3913 (object-write) <eieio-default-superclass>: Don't put closing parens
3914 on new line, avoid needless empty lines, align values that are objects
3915 with the slot keyword (instead of beginning on the same line).
3916 (eieio-list-prin1): Align value with slot keyword; increase
3917 eieio-print-depth before printing members of the list.
3918
3919 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3922 a display text-property.
3923 (report-emacs-bug-hook): Don't bother deleting it any more.
3924
3925 * hilit-chg.el (highlight-save-buffer-state): Delete.
3926 Use with-silent-modifications instead.
3927 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3928
3929 * button.el: Handle buttons in display text-properties.
3930 (button--area-button-p, button--area-button-string):
3931 Use (STRING . STRING-POS) representation instead of just STRING.
3932
3933 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3934
3935 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3936 subdirectory be skipped.
3937
3938 2012-12-11 Glenn Morris <rgm@gnu.org>
3939
3940 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3941
3942 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3943 Treat preprocessor lines embedded in continuations like comments.
3944 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3945
3946 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3947
3948 * calc/calc.el (calc-standard-date-formats): Add more date
3949 formats.
3950 * calc/calc-forms.el (math-parse-iso-date): New function.
3951 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3952 (math-parse-iso-date-validate): Add extra error checking.
3953 (calc-date-notation): Add ability to access new date formats.
3954
3955 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3958 font-lock as well as when there's no text-property.
3959
3960 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3961
3962 * hi-lock.el: Refine the choice of default face.
3963 (hi-lock-keyword->face): New function. Use it wherever we used
3964 cadadadr instead.
3965 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3966 (hi-lock--last-face): Remove var.
3967 (hi-lock--unused-faces): New var to replace it.
3968 (hi-lock-read-face-name): Use/maintain it.
3969 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3970 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3971 if it has another face.
3972
3973 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3974
3975 * subr.el (w32notify-handle-event): New function.
3976 (inotify-handle-event): Doc fix.
3977
3978 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3979
3980 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3981
3982 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3983
3984 * simple.el (just-one-space): Doc fix.
3985
3986 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3987
3988 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3989
3990 2012-12-10 Le Wang <l26wang@gmail.com>
3991
3992 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3993 narrowed buffer (bug#12361).
3994
3995 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3996
3997 * vc/vc-hooks.el (vc-state): Doc fix.
3998
3999 2012-12-10 Glenn Morris <rgm@gnu.org>
4000
4001 * mail/rmail.el (rmail-maybe-display-summary):
4002 Preserve buffer, in case select-window changes it. (Bug#13066)
4003
4004 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4007 cl-load-hook where they belong.
4008
4009 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4012
4013 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4014
4015 Parallelize byte compilation on MS-Windows.
4016 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4017 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4018 (WINS_BASIC): Define as concatenation of the above.
4019 (compile): Subdivide into 4 separate and independent jobs that can
4020 be run in parallel.
4021 (compile0-CMD, compile0-SH): New targets for compiling
4022 COMPILE_FIRST files, which are prerequisites for the rest of the
4023 byte-compilation.
4024 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4025 New targets for parallel compilation with cmd.exe.
4026 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4027 compiling under a Unixy shell.
4028
4029 2012-12-09 Chong Yidong <cyd@gnu.org>
4030
4031 * simple.el (set-mark-default-inactive): Delete this
4032 accidentally-introduced option.
4033 (set-mark-command, exchange-point-and-mark): Remove calls.
4034
4035 2012-12-09 Glenn Morris <rgm@gnu.org>
4036
4037 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4038 Respect a defcustom's :set function, if appropriate. (Bug#109)
4039 (eval-defun): Doc fix.
4040
4041 2012-12-08 Juri Linkov <juri@jurta.org>
4042
4043 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4044 (Info-fontify-node, Info-bookmark-make-record): Remove the
4045 file extension from Info-current-file (Bug#13016).
4046
4047 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4050 point, still provide some default.
4051 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4052 names, since we don't use it right now. Actually return the list.
4053 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4054
4055 2012-12-07 Chong Yidong <cyd@gnu.org>
4056
4057 * novice.el (disabled-command-function): Remove a spurious help
4058 xref (Bug#13043). Suggested by Kelly Dean.
4059
4060 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4061 syntax is specified (Bug#13025).
4062
4063 * info.el (Info-set-mode-line): Remove the file extension from
4064 Info-current-file if there is one (Bug#13016).
4065
4066 2012-12-07 Glenn Morris <rgm@gnu.org>
4067
4068 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4069 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4070 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4071 and rmail-mime-decoded. (Bug#9841)
4072
4073 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4074 (batch-unrmail, unrmail): Doc fixes.
4075 (unrmail): Respect unrmail-mbox-format.
4076 * mail/rmail.el (rmail-mbox-format): New option.
4077 (rmail-show-message-1): Respect rmail-mbox-format.
4078
4079 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4082
4083 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4086 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4087 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4088 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4089 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4090 (cl-progv): Don't rely on dynamic scoping to find the body.
4091 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4092 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4093 (cl-declaim): Use backquotes.
4094 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4095 Use "cl--" prefix for the object's tag.
4096
4097 * ses.el: Use advice-add/remove.
4098 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4099 (copy-region-as-kill, yank): Use advice-add.
4100 (ses-unload-function): Use advice-remove.
4101
4102 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4103
4104 * button.el: Make them work in header-lines (bug#12817).
4105 (button-map): Add bindings for header-line and mode-line use.
4106 (button-get, button-put, button-label): `button' may now be a string.
4107 (button-activate): Don't make it a defsubst.
4108 (button--area-button-p, button--area-button-string): New functions.
4109 (make-text-button): Fix the return value when `beg' was a string.
4110 (push-button): Handle the mode-line case.
4111
4112 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4115 (sql-signum): Remove. Use `cl-signum' instead.
4116 (sql-read-passwd): Remove; use read-passwd instread.
4117 (sql-get-login-ext): Use read-string.
4118 (sql-get-login): Use dolist and pcase.
4119 (sql--completion-table): Rename from sql-try-completion.
4120 Use complete-with-action.
4121 (sql-mode): Don't change abbrev-all-caps globally.
4122 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4123 (sql-postgres-completion-object): Initialize vars in their `let'.
4124 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4125 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4126 (sql-comint-interbase): Use a single append, without setq.
4127 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4128
4129 * hi-lock.el: Rework the default face and the serialize regexp code.
4130 (hi-lock--auto-select-face-defaults): Remove.
4131 (hi-lock-string-serialize-serial): Remove.
4132 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4133 make weak.
4134 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4135 equal string.
4136 (hi-lock-set-pattern): Adjust accordingly.
4137 (hi-lock--regexps-at-point): Simplify accordingly.
4138 (hi-lock--auto-select-face-defaults): Remove.
4139 (hi-lock--last-face): New var to replace it.
4140 (hi-lock-read-face-name): Rewrite (bug#11095).
4141 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4142
4143 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4144
4145 * net/tramp.el (tramp-replace-environment-variables):
4146 Hide compiler warning.
4147 (tramp-file-name-for-operation): Remove `executable-find',
4148 `start-process', `call-process' and `call-process-region'.
4149
4150 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4151
4152 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4153 compatibility.
4154
4155 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4156
4157 2012-12-06 Chong Yidong <cyd@gnu.org>
4158
4159 * ffap.el (ffap-replace-file-component): Fix typo.
4160
4161 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4164 fix open-paren-like token test (bug#12785).
4165
4166 2012-12-06 Glenn Morris <rgm@gnu.org>
4167
4168 * mail/rmailsum.el (rmail-new-summary): Tweak for
4169 rmail-maybe-display-summary changing buffer. (Bug#13066)
4170
4171 2012-12-06 Juri Linkov <juri@jurta.org>
4172
4173 * info.el (Info-fontify-node): Don't hide the last newline.
4174 (Bug#12272)
4175
4176 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4177
4178 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4179 so as to enable message-read-from-minibuffer to expand mail aliases.
4180
4181 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4184 the `intangible' property.
4185 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4186
4187 2012-12-05 Deniz Dogan <deniz@dogan.se>
4188
4189 * net/rcirc.el (rcirc-urls): Update documentation.
4190 (rcirc-condition-filter): New function.
4191 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4192 and exclude consecutive duplicate URLs (Bug#6082).
4193
4194 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4195
4196 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4197 Check return code of copy command.
4198
4199 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4200 Use group `tramp'. Add version.
4201
4202 2012-12-05 Chong Yidong <cyd@gnu.org>
4203
4204 * ffap.el (ffap-url-regexp): Don't require matching at front of
4205 string (Bug#4952).
4206 (ffap-url-p): If only a substring matches, return that.
4207 (ffap-url-at-point): Use the return value of ffap-url-p.
4208 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4209 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4210 (ffap-guess-file-name-at-point): Likewise.
4211 (ffap-replace-file-component): Fix typo.
4212
4213 * info.el (info-display-manual): Add existing Info buffers, whose
4214 files may not be in Info-directory-list, to the completion.
4215 (info--manual-names): New helper function.
4216
4217 2012-12-05 Glenn Morris <rgm@gnu.org>
4218
4219 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4220 New functions, for detecting and resolving conflicts. (Bug#10709)
4221
4222 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4223
4224 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4225 (hi-lock-auto-select-face-defaults): New buffer local variable.
4226 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4227 (hi-lock-unface-buffer): Prompt user with useful defaults.
4228 With prefix arg, unhighlight all hi-lock patterns in buffer.
4229
4230 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4233
4234 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4235
4236 * Makefile.in (TRAMP_SRC):
4237 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4238
4239 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4240
4241 * net/tramp-adb.el: New package.
4242
4243 2012-12-04 Chong Yidong <cyd@gnu.org>
4244
4245 * terminal.el: Move to obsolete/.
4246
4247 * longlines.el: Move to obsolete/.
4248
4249 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4250 Remove code referring to longlines mode.
4251
4252 2012-12-03 Juri Linkov <juri@jurta.org>
4253
4254 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4255
4256 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4257
4258 * textmodes/ispell.el (ispell-init-process)
4259 (ispell-start-process, ispell-internal-change-dictionary):
4260 Make sure personal dictionary name is expanded after initial
4261 `default-directory' value. Use expanded strings for
4262 keep/restart checks and for value (Bug#13019).
4263
4264 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4265
4266 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4267
4268 2012-12-03 Leo Liu <sdl.web@gmail.com>
4269
4270 * files.el (dir-locals-read-from-file): Check file non-empty
4271 before reading. (Bug#13038)
4272
4273 2012-12-03 Glenn Morris <rgm@gnu.org>
4274
4275 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4276 Remove any version extension before checking filename. (Bug#13006)
4277 (jka-compr-compression-info-list): Belated :version bump.
4278
4279 2012-12-03 Chong Yidong <cyd@gnu.org>
4280
4281 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4282
4283 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4284 (buffer-menu): Doc fix (Bug#12294).
4285
4286 2012-12-03 Roland Winkler <winkler@gnu.org>
4287
4288 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4289 of diary-show-all-entries in the diary buffer (Bug#12994).
4290
4291 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4292
4293 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4294 "<STDIN>". This is binary safe.
4295
4296 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4297
4298 * calc/calc-forms.el (math-absolute-from-iso-dt)
4299 (math-date-to-iso-dt, math-parse-iso-date-validate)
4300 (math-iso-dt-to-date): New functions.
4301 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4302 (math-fd-isoweekday): New variables.
4303 (calc-date-notation, math-parse-standard-date, math-format-date)
4304 (math-format-date-part): Add support for more formatting codes.
4305
4306 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4307
4308 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4309 current buffer's file name when called interactively (Bug#12488).
4310
4311 2012-12-02 Juri Linkov <juri@jurta.org>
4312
4313 * info.el (info-display-manual): Don't clobber an existing Info
4314 buffer (Bug#10770). Add completion (Bug#10771).
4315
4316 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4317
4318 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4319 before using it for comparison (Bug#5297).
4320
4321 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4322
4323 * textmodes/css-mode.el (css-current-defun-name): New function.
4324 (css-mode): Use it.
4325
4326 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4327 (html-mode): Use it.
4328
4329 2012-12-01 Chong Yidong <cyd@gnu.org>
4330
4331 Modularize add-log-current-defun (Bug#2224).
4332 Suggested by Jari Aalto.
4333
4334 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4335 (add-log-current-defun): Move mode-specific code to other files.
4336 (add-log-lisp-like-modes, add-log-c-like-modes)
4337 (add-log-tex-like-modes): Variables deleted.
4338
4339 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4340 (lisp-mode-variables): Use it.
4341
4342 * progmodes/cc-mode.el (c-common-init):
4343 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4344 add-log-current-defun-function.
4345
4346 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4347 (m4-mode): Use it.
4348
4349 * progmodes/perl-mode.el (perl-current-defun-name): New.
4350 (perl-mode): Use it.
4351
4352 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4353 Use lisp-current-defun-name.
4354
4355 * textmodes/tex-mode.el (tex-current-defun-name): New.
4356 (tex-common-initialization): Use it.
4357
4358 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4359 (texinfo-mode): Use it.
4360
4361 2012-12-01 Chong Yidong <cyd@gnu.org>
4362
4363 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4364 * progmodes/autoconf.el (autoconf-mode):
4365 * progmodes/js.el (js-mode):
4366 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4367 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4368 * progmodes/perl-mode.el (perl-mode):
4369 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4370 * textmodes/css-mode.el (css-mode):
4371 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4372 (sgml-tags-invisible, sgml-guess-indent):
4373 * textmodes/tex-mode.el (tex-common-initialization)
4374 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4375 (doctex-mode, plain-tex-mode, latex-mode):
4376 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4377
4378 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4379
4380 * vc/vc-hg.el (vc-hg-next-revision):
4381 Ensure use of default "tip" output format. (Bug#6968)
4382
4383 2012-12-01 Kim F. Storm <storm@cua.dk>
4384
4385 * startup.el (fancy-startup-tail): Add a clickable link
4386 (Bug#2176).
4387
4388 2012-12-01 Chong Yidong <cyd@gnu.org>
4389
4390 * startup.el (fancy-startup-tail): Improve the message about
4391 auto-save files (Bug#2176).
4392
4393 * files.el (recover-session): Improve the descriptive message, and
4394 use substitute-command-keys.
4395
4396 2012-12-01 Glenn Morris <rgm@gnu.org>
4397
4398 * ido.el (ido-file-internal):
4399 Handle other-window, other-frame for dired. (Bug#13036)
4400
4401 2012-11-30 Glenn Morris <rgm@gnu.org>
4402
4403 * icomplete.el (icomplete-separator): Fix :version.
4404
4405 2012-11-30 Chong Yidong <cyd@gnu.org>
4406
4407 * shell.el (shell): For C-u M-x shell, use an inactive shell
4408 buffer as the default (Bug#1975).
4409 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4410 (shell-mode): Use them to reapply ansi colorization if Shell mode
4411 is re-enabled.
4412
4413 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4414
4415 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4416
4417 2012-11-30 Samuel Bronson <naesten@gmail.com>
4418
4419 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4420 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4421
4422 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4423
4424 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4425 by move-to-column (Bug#3234).
4426
4427 2012-11-30 Chong Yidong <cyd@gnu.org>
4428
4429 * longlines.el (longlines-wrap-line, longlines-encode-region):
4430 Preserve text properties (Bug#1425).
4431
4432 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4433
4434 * vc/vc.el (vc-register): Allow registering a file which is
4435 already registered with a different backend (Bug#10589).
4436
4437 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4438 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * icomplete.el: Change separator; add ido-style commands.
4441 (icomplete-show-key-bindings): Remove custom var.
4442 (icomplete-get-keys): Remove function.
4443 (icomplete-forward-completions, icomplete-backward-completions):
4444 New commands.
4445 (icomplete-minibuffer-map): New var.
4446 (icomplete-minibuffer-setup): Use it.
4447 (icomplete-exhibit): Don't delay if the list of completions is known.
4448 (icomplete-separator): New custom.
4449 (icomplete-completions): Use it.
4450 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4451 (minibuffer-force-complete-and-exit): New command.
4452 (minibuffer--complete-and-exit): New function extracted from
4453 minibuffer-complete-and-exit.
4454 (minibuffer-complete-and-exit): Use it.
4455
4456 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4457 error message when the file doesn't exist (bug#12974).
4458
4459 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4460
4461 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4462
4463 2012-11-29 Glenn Morris <rgm@gnu.org>
4464
4465 * files.el (hack-dir-local-variables): Warn if try to set
4466 coding via dir-locals, since it doesn't work. (Bug#7169)
4467
4468 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4469 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4470 Set buffer-local value of desktop-save-buffer.
4471 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4472 New functions.
4473 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4474 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4475
4476 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4477 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4478 Doc fix.
4479 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4480 Doc fixes.
4481
4482 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4483
4484 * calc/calc-forms.el (calc-date-notation): Fix regexp
4485 used to find time codes. Fix symbol for seconds.
4486
4487 2012-11-27 Glenn Morris <rgm@gnu.org>
4488
4489 * emacs-lisp/derived.el (derived-mode-make-docstring):
4490 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4491
4492 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4495 lexically scoped variables (bug#13005).
4496
4497 2012-11-27 Glenn Morris <rgm@gnu.org>
4498
4499 * vc/vc-hooks.el (vc-mistrust-permissions):
4500 Default to t, to avoid data-loss. (Bug#11490)
4501
4502 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4503
4504 * progmodes/python.el (python-indent-guess-indent-offset):
4505 If indentation is guessed make python-indent-offset buffer-local.
4506
4507 Fix Imenu regression.
4508 * progmodes/python.el (python-nav-beginning-of-defun):
4509 Fix forward movement when statement(s) separates point from defun.
4510 (python-imenu-prev-index-position): New function.
4511
4512 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4513
4514 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4515
4516 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4517 Don't set buffer-file-type. Return nil. (Bug#12989)
4518
4519 2012-11-27 Glenn Morris <rgm@gnu.org>
4520
4521 * hippie-exp.el (hippie-expand-try-functions-list):
4522 Re-autoload it. (Bug#12982)
4523
4524 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4525
4526 * descr-text.el (describe-char-padded-string):
4527 Call internal-char-font only on GUI frames. (Bug#11964)
4528
4529 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4530
4531 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4532 and obsoletion message.
4533
4534 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4537 the constructs to keep outside of the `cl-block' (bug#12977).
4538
4539 2012-11-27 Chong Yidong <cyd@gnu.org>
4540
4541 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4542 keep reading until we get the up-event anyway, in order to process
4543 the up-event for mouse-1-click-follows-link (Bug#12971).
4544
4545 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4548 base function is not yet defined (bug#12965).
4549 (ad-activate-advised-definition): Use ad-compile-function.
4550 (ad-activate): Use cond.
4551
4552 2012-11-25 Leo Liu <sdl.web@gmail.com>
4553
4554 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4555 (Bug#12979)
4556
4557 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4558
4559 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4560 reftex-section-info-function in order to be compatible with
4561 Texinfo integration.
4562
4563 * textmodes/reftex.el (reftex-section-pre-regexp)
4564 (reftex-section-post-regexp, reftex-section-info-function):
4565 New variable.
4566 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4567 reftex-section-post-regexp, and reftex-section-info-function in order
4568 to be compatible with Texinfo integration.
4569
4570 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4571 use reftex-section-pre-regexp variable in order to be compatible with
4572 Texinfo integration.
4573
4574 2012-11-25 Chong Yidong <cyd@gnu.org>
4575
4576 * faces.el: Make face-spec-set more analogous to setq.
4577 (face-spec-set): Change the third arg to specify whether this
4578 function is being called via defface, customize, or a third party.
4579 Set the appropriate symbol properties. Clear the override spec if
4580 setting via Custom. Initialize face if necessary. (Bug#4988)
4581 (face-spec-recalc): Allow theme faces to completely replace the
4582 defface spec, in the same way as custom faces (Bug#8454).
4583
4584 * cus-face.el (custom-declare-face): Move face initialization to
4585 face-spec-set.
4586 (custom-theme-set-faces): Don't initialize the face name here, as
4587 that is now done in face-spec-set.
4588
4589 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4590 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4591 Simplify by using the new arg to face-spec-set.
4592
4593 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4594 reset face-override-spec too, and use custom-declare-face.
4595
4596 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4597
4598 * term/ns-win.el (ns-initialize-window-system): Move creation of
4599 fontsets here (Bug#11964).
4600
4601 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4602
4603 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4604 cell renaming.
4605
4606 2012-11-24 Chong Yidong <cyd@gnu.org>
4607
4608 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4609 obsolete.
4610
4611 * custom.el (custom-theme-set-variables): Use a topological sort
4612 for ordering by custom dependencies (Bug#12952).
4613 (custom--sort-vars, custom--sort-vars-1): New functions.
4614
4615 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4618 lexical-binding (bug#12938).
4619
4620 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4621
4622 * image-mode.el (image-transform-check-size): Use assertions only
4623 for images of type imagemagick.
4624
4625 Otherwise no error, image-transform-fit-to-{width,height} is
4626 silently ignored, as before. Doc fix.
4627
4628 2012-11-24 Chong Yidong <cyd@gnu.org>
4629
4630 * faces.el (color-defined-p): Doc fix (Bug#12853).
4631
4632 2012-11-24 Juri Linkov <juri@jurta.org>
4633
4634 * dired.el (dired-mark): Add optional arg `interactive'.
4635 Check for `use-region-p' if `interactive' is non-nil.
4636 (dired-unmark, dired-flag-file-deletion): Add optional arg
4637 `interactive'. Call `dired-mark' with the arg `interactive'.
4638 (Bug#10624)
4639
4640 * wdired.el: Revert 2012-10-17 change partly and replace it with
4641 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4642 (wdired-finish-edit): Add marks for new file names to
4643 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4644 after `revert-buffer'.
4645 (wdired-do-renames): Remove calls to `dired-remove-file',
4646 `dired-add-file', `dired-add-entry'. (Bug#11795)
4647
4648 2012-11-24 Alan Mackenzie <acm@muc.de>
4649
4650 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4651
4652 Fix bugs in the state cache. Enhance a debugging mechanism.
4653 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4654 "brace at column zero" strategy for C++.
4655 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4656 (c-parse-state-point): New variable.
4657 (c-record-parse-state-state): Record old parse state with
4658 `copy-tree'. Record previous value of point.
4659 (c-debug-parse-state-double-cons): New debugging function.
4660 (c-debug-parse-state): Call the above new function.
4661 (c-toggle-parse-state-debug): Output a confirmatory message.
4662
4663 * progmodes/cc-mode.el (c-before-change, c-after-change):
4664 Call c-invalidate-state-cache from `c-before-change' instead of
4665 `c-after-change'.
4666
4667 2012-11-23 Chong Yidong <cyd@gnu.org>
4668
4669 * find-cmd.el (find-constituents): Add executable, ipath,
4670 readable, samefile, writable, daystart, regextype (Bug#12856).
4671
4672 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4675
4676 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4677
4678 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4679 definition. This fixes a bootstrap failure.
4680 (calc-gregorian-switch): In menu, put dates before regions.
4681 This is easier to follow, lines up better in the menu, and lets us
4682 coalesce regions that switch at the same time. Give country
4683 names, not "Vatican", as that's better for non-expert users.
4684 Use names that are stable between the date of switch and now, e.g.,
4685 Bohemia and Moravia (which existed then and now) and not
4686 Czechoslovakia (which didn't exist then and doesn't exist now).
4687 What is now the U.S. mostly did not switch at the same time as
4688 Britain, so omit the U.S. Correct spelling of "Britain".
4689 Catholic Switzerland was too much of a mess, so omit it.
4690
4691 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4692
4693 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4694 after the variable is changed.
4695
4696 2012-11-21 Daniel Colascione <dancol@dancol.org>
4697
4698 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4699 in SQL declarations for font-lock.
4700 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4701
4702 2012-11-21 Glenn Morris <rgm@gnu.org>
4703
4704 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4705 (face-italic-p): Add optional argument "inherit".
4706
4707 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4708 Remove -p suffix from names, for consistency with other set-face-*.
4709 (set-face-inverse-video): Fix interactive spec.
4710 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4711 * textmodes/table.el (table--update-cell-face):
4712 Use set-face-inverse-video rather than now obsolete alias.
4713
4714 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4715
4716 * simple.el (line-move): Don't call line-move-partial if
4717 scroll-conservatively is in effect. (Bug#12927)
4718
4719 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4722 Fallback on completion-at-point rather than
4723 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4724 (eshell-cmpl-initialize): Setup completion-at-point.
4725
4726 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4727
4728 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4729
4730 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4731
4732 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4733 are remote, check out-of-band property for both.
4734
4735 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4738 code rewrite.
4739
4740 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4741
4742 More minor time fixes.
4743 * calendar/time-date.el: Commentary fix.
4744 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4745 too much other code depends on (0 0) time stamps.
4746 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4747 Add a couple of FIXME comments.
4748
4749 Minor cleanup for times as lists of four integers.
4750 * files.el (dir-locals-directory-cache):
4751 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4752 Doc fixes.
4753 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4754 * ps-bdf.el (bdf-file-newer-than-time):
4755 Process four-integers time stamps, not two. Doc fixes.
4756
4757 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * uniquify.el (uniquify-managed): Use defvar-local.
4760 (rename-buffer, create-file-buffer): Advise with advice-add.
4761 (uniquify-unload-function): Unadvise accordingly.
4762
4763 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4764 (trace-buffer): Don't purecopy.
4765 (trace-entry-message, trace-exit-message): Add `context' arg.
4766 (trace--timer): New var.
4767 (trace-make-advice): Adjust for use in nadvice.
4768 Add `context' argument. Delay `display-buffer' via a timer.
4769 (trace-function-internal): Use advice-add.
4770 (trace--read-args): New function.
4771 (trace-function-foreground, trace-function-background): Use it.
4772 (trace-function): Rename to trace-function-foreground and redefine as
4773 an alias to that new name.
4774 (untrace-function, untrace-all): Adjust to the use of nadvice.
4775
4776 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4777
4778 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4779
4780 * subr.el (called-interactively-p-functions): New var.
4781 (internal--called-interactively-p--get-frame): New macro.
4782 (called-interactively-p, interactive-p): Rewrite in Lisp.
4783 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4784 (called-interactively-p-functions): Use it.
4785 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4786 (called-interactively-p-functions): Use it.
4787 * allout.el (allout-called-interactively-p): Don't assume
4788 called-interactively-p is a subr.
4789
4790 2012-11-20 Glenn Morris <rgm@gnu.org>
4791
4792 * profiler.el (profiler-report-mode-map): Add a menu.
4793 No need to bind `q' because we derive from special-mode.
4794 (profiler-report-find-entry): Handle calls from the menu-bar.
4795
4796 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * emacs-lisp/byte-run.el (defun-declarations-alist):
4799 Allow a compiler-macro to be a lambda expression.
4800
4801 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4802 eval-when-compile.
4803 (python-syntax-context): Add compiler-macro.
4804 (python-font-lock-keywords): Simplify with De Morgan.
4805
4806 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4807
4808 * files.el (load-file): Require match in minibuffer selection, as was
4809 the case in Emacs-20 before we changed the spec to allow .elc files
4810 (bug#12935).
4811
4812 * json.el: Don't require cl since we don't use it.
4813 * color.el: Don't require cl.
4814 (color-complement): `caddr' -> `nth 2'.
4815
4816 * calendar/time-date.el (time-to-seconds): De-obsolete.
4817
4818 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4819
4820 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4821 year numbers.
4822 (math-date-to-julian-dt): Adjust the initial approximation for the
4823 year to deal with the new definition of the DATE.
4824
4825 2012-11-19 Daniel Colascione <dancol@dancol.org>
4826
4827 * term/w32-win.el (cygwin-convert-path-from-windows):
4828 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4829
4830 2012-11-18 Chong Yidong <cyd@gnu.org>
4831
4832 * filecache.el (file-cache--read-list): New function.
4833 (file-cache-add-directory-list, file-cache-add-file-list)
4834 (file-cache-delete-file-list, file-cache-delete-directory-list):
4835 Use it to read a list of files or directories (Bug#12846).
4836 (file-cache-add-file, file-cache-add-directory)
4837 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4838 (file-cache-delete-directory): Print an message.
4839
4840 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4841
4842 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4843 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4844
4845 2012-11-18 Glenn Morris <rgm@gnu.org>
4846
4847 * image.el (insert-image, insert-sliced-image): Doc fix.
4848
4849 2012-11-18 Chong Yidong <cyd@gnu.org>
4850
4851 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4852 (Bug#12810).
4853
4854 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4855
4856 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4857 response when the target file is in a subdirectory (Bug#12757).
4858
4859 2012-11-18 Chong Yidong <cyd@gnu.org>
4860
4861 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4862
4863 2012-11-18 Glenn Morris <rgm@gnu.org>
4864
4865 * emacs-lisp/cl-lib.el (face-underline-p):
4866 Use set-face-underline rather than the alias set-face-underline-p.
4867
4868 * window.el (with-temp-buffer-window): Doc fix.
4869 * subr.el (with-output-to-temp-buffer):
4870 Add doc xref to with-temp-buffer-window.
4871
4872 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4873
4874 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4875 * calc/calc.el (math-format-date-cache): Declare.
4876
4877 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4878
4879 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4880 It also uses January 1, 1 AD as its day number 1.
4881 * calc/calc-forms.el (math-julian-date-beginning)
4882 (math-julian-date-beginning-int): Implement this.
4883
4884 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4885
4886 * descr-text.el (quail-find-key):
4887 * dired.el (desktop-file-name):
4888 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4889 * generic-x.el (comint-mode, comint-exec):
4890 * image-dired.el (widget-forward):
4891 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4892 (speedbar-change-expand-button-char)
4893 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4894 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4895 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4896 (widget-field-action, widget-value-set):
4897 * speedbar.el (imenu--make-index-alist):
4898 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4899 (ring-length, ring-insert):
4900 * vcursor.el (compare-windows-skip-whitespace):
4901 * woman.el (dired-get-filename):
4902 Declare functions.
4903
4904 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4905
4906 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4907
4908 * calc/calc.el (calc-gregorian-switch): New variable.
4909
4910 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4911 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4912 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4913 (math-leap-year-p): Add option to distinguish between Julian
4914 and Gregorian calendars.
4915 (math-day-number): Use `math-day-in-year' to do the computations.
4916 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4917 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4918 to do the computations.
4919 (math-date-to-dt): Use `math-date-to-julian-dt' and
4920 `math-date-to-gregorian-dt' to do the computations.
4921 (calcFunc-weekday, math-format-date-part): Use the new version of
4922 the DATE to determine the weekday.
4923 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4924 when necessary.
4925
4926 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4927
4928 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4929 Cygwin; otherwise use 'file:'. (Bug#12914)
4930 (cygwin-convert-path-from-windows): Declare, to avoid
4931 byte-compiler warnings.
4932
4933 2012-11-17 Andreas Politz <politza@fh-trier.de>
4934
4935 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4936 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4937 prefix and negative numeric prefix args (Bug#12795).
4938
4939 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4940
4941 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4942 Don't signal an error with a score that is too low to add to the
4943 list of top scores. (Bug#12779)
4944
4945 2012-11-17 Chong Yidong <cyd@gnu.org>
4946
4947 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4948
4949 * filecache.el (file-cache-add-file): Handle relative file name in
4950 the argument (Bug#12694).
4951
4952 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4953
4954 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4955
4956 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4959
4960 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4961
4962 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4963
4964 * window.el (enlarge-window, shrink-window): Don't mention return
4965 value in doc-string (Bug#12896).
4966 (window--display-buffer): Don't resize frames - it won't work
4967 with all window managers and defeat pop-up-frame-alist.
4968 (display-buffer-alist): In doc-string explain that CONDITION can
4969 be a function and which arguments are passed to it (Bug#12854).
4970 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4971 expressions (Bug#12854).
4972 (display-buffer): Pass ACTION argument to
4973 display-buffer-assq-regexp.
4974
4975 2012-11-16 Glenn Morris <rgm@gnu.org>
4976
4977 * window.el (fit-frame-to-buffer-bottom-margin)
4978 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4979
4980 * faces.el (face-underline-p): Use face-attribute-specified-or.
4981
4982 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4983
4984 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4985
4986 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4989
4990 2012-11-16 Glenn Morris <rgm@gnu.org>
4991
4992 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4993 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4994
4995 * faces.el (face-underline-p): Doc fix. Handle :underline being
4996 things other than `t' (a string, a list).
4997 (face-inverse-video-p): Doc fix.
4998 (set-face-underline): Rename it back from set-face-underline-p.
4999 Doc fix. Allow interactive input of values other than t.
5000 (read-face-attribute): Apply formatting to :underline,
5001 since like :box and :stipple it can take list values.
5002
5003 * term.el (ansi-term): Don't let C-x escape-char binding
5004 clobber the more standard C-c binding. (Bug#12842)
5005
5006 * subr.el (set-temporary-overlay-map): Doc fix.
5007
5008 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5009
5010 * window.el (record-window-buffer)
5011 (display-buffer-record-window): When copying the markers to
5012 window-point preserve window-point-insertion-type. (Bug#12588)
5013
5014 2012-11-16 Glenn Morris <rgm@gnu.org>
5015
5016 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5017 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5018 Use new names for hooks rather than obsolete aliases.
5019
5020 2012-11-15 Daniel Colascione <dancol@dancol.org>
5021
5022 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5023 prefix instead of "file:" so that when FILE-NAME begins with "//",
5024 as it does when the target file is on a network share, url-handler
5025 isn't confused.
5026
5027 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5030 a preactivated advice from an old advice.el; they're not compatible!
5031
5032 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5033
5034 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5035 Fix string-spec case.
5036
5037 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5038
5039 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5042 (advice--buffer-local-function-sample): New var.
5043 (advice--set-buffer-local, advice--buffer-local): New functions.
5044 (add-function, remove-function): Use them.
5045
5046 2012-11-15 Drew Adams <drew.adams@oracle.com>
5047
5048 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5049
5050 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5053 potential binding of print-gensym to t, and prettify (back)quotes in
5054 case they appear in args's default values (bug#12884).
5055
5056 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5059 (advice-eval-interactive-spec): New function.
5060 (advice--make-interactive-form): Support around advice (bug#12844).
5061
5062 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5063
5064 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5065 more strict. Add docstring.
5066 (ruby-expression-expansion-re): Extract from
5067 `ruby-match-expression-expansion'.
5068 (ruby-syntax-propertize-function): After everything else, search
5069 for expansions in string literals, mark their insides as
5070 whitespace syntax and save match data for font-lock.
5071 (ruby-font-lock-keywords): Use the 2nd group from expression
5072 expansion matches.
5073 (ruby-match-expression-expansion): Use the match data saved to the
5074 text property in ruby-syntax-propertize-function.
5075
5076 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5079 (bug#12879).
5080
5081 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5082
5083 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5084 start/end keyword a bit harder. Works with different values of N.
5085 Add more comments.
5086 (ruby-end-of-block): Update accordingly.
5087
5088 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * woman.el (woman-file-name): Don't mess with unread-command-events
5091 (bug#12861).
5092
5093 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5094 Remove out of date self-require hack.
5095 (ad-do-advised-functions): Use simple `dolist'.
5096 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5097 (ad-advice-definition): Redefine as functions.
5098 (ad-advice-classes): Move before first use.
5099 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5100 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5101 (ad--defalias-fset): Remove functions.
5102 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5103 (ad-get-orig-definition): Rewrite.
5104 (ad-make-advised-definition-docstring): Change base docstring.
5105 (ad-real-orig-definition): Rewrite.
5106 (ad-map-arglists): Change name of called function.
5107 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5108 (ad-make-advised-definition): Simplify.
5109 (ad-assemble-advised-definition): Tweak for new calling context.
5110 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5111 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5112 function and call ad-activate if needed.
5113 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5114 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5115 (ad-compile-function): Compile ad-Advice-*.
5116 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5117 (ad-start-advice, ad-stop-advice): Remove.
5118
5119 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5120
5121 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5122 period before class method names, not after. Remove handling of
5123 one impossible case. Add comments.
5124
5125 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/advice.el: Remove support for freezing.
5128 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5129 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5130 Remove support for `freeze'.
5131
5132 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5133 override the default.
5134 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5135 cl--dotimes/dolist.
5136 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5137 `cl' is loaded.
5138
5139 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5140 from add-advice.
5141 (advice--strip-macro): New function.
5142 (advice--defalias-fset): Use them to handle macros.
5143 (advice-add): Use them.
5144 (advice-member-p): Correctly handle macros.
5145
5146 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5147
5148 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5149 Never font-lock the beginning of singleton class as heredoc.
5150
5151 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5154
5155 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5156
5157 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5158 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5159 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5160
5161 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5162
5163 Fix end-of-defun misbehavior.
5164 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5165 python-beginning-of-defun-function. Handle nested defuns
5166 correctly.
5167 (python-nav-end-of-defun): Rename from
5168 python-end-of-defun-function. Ensure forward movement.
5169 (python-info-current-defun): Reimplement to work as intended
5170 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5171 parent defuns as soon as possible.
5172
5173 2012-11-13 Glenn Morris <rgm@gnu.org>
5174
5175 * progmodes/flymake.el (flymake-error-bitmap)
5176 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5177 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5178
5179 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5182 backward, always stop at indentation. Reverts the change from
5183 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5184
5185 2012-11-13 Glenn Morris <rgm@gnu.org>
5186
5187 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5188 Add ibuffer-filter-by-derived-mode.
5189
5190 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5191 the same name shadowing each other.
5192
5193 * window.el (with-temp-buffer-window): Doc tweak.
5194
5195 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5196
5197 * help.el (temp-buffer-max-height):
5198 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5199 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5200
5201 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * emacs-lisp/nadvice.el: New package.
5204 * subr.el (special-form-p): New function.
5205 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5206 (elp-all-instrumented-list): Remove var.
5207 (elp-not-profilable): Remove elp-wrapper.
5208 (elp-profilable-p): Use autoloadp and special-form-p.
5209 (elp--advice-name): New const.
5210 (elp-instrument-function): Use advice-add.
5211 (elp--instrumented-p): New predicate.
5212 (elp-restore-function): Use advice-remove.
5213 (elp-restore-all, elp-reset-all): Use mapatoms.
5214 (elp-set-master): Use elp--instrumented-p.
5215 (elp--make-wrapper): Rename from elp-wrapper, return a function
5216 suitable for advice-add. Use cl-inf.
5217 (elp-results): Use mapatoms+elp--instrumented-p.
5218 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5219 (debug-function-list): Remove var.
5220 (debug): Rename arg, and then let-bind it explicitly inside.
5221 (debugger-setup-buffer): Rename arg.
5222 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5223 (debugger-frame-number): Adjust to new debug-on-entry setup.
5224 (debug--implement-debug-on-entry): Rename from
5225 implement-debug-on-entry, add argument.
5226 (debugger-special-form-p): Remove, use special-form-p instead.
5227 (debug-on-entry): Use advice-add.
5228 (debug--function-list): New function.
5229 (cancel-debug-on-entry): Use it, along with advice-remove.
5230 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5231 (debugger-list-functions): Use debug--function-list instead of
5232 debug-function-list.
5233 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5234 (ad-special-form-p): Remove, use special-form-p instead.
5235 (ad-set-advice-info): Use add-function and remove-function.
5236 (ad--defalias-fset): Adjust accordingly.
5237
5238 2012-11-10 Glenn Morris <rgm@gnu.org>
5239
5240 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5241 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5242 (report-emacs-bug-create-existing-bugs-buffer)
5243 (report-emacs-bug-parse-query-results)
5244 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5245
5246 * term.el (term-default-fg-color, term-default-bg-color):
5247 Make obsolete, rather than just saying "deprecated" in the doc.
5248
5249 * term.el (term): Rename from `term-face'.
5250 (term-current-face, ansi-term-color-vector)
5251 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5252 Update all users.
5253
5254 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5255
5256 * server.el (server-create-window-system-frame): Handle Nextstep
5257 specially (Bug#12780).
5258
5259 2012-11-10 Glenn Morris <rgm@gnu.org>
5260
5261 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5262 Unautoload, and make obsolete. (Bug#7449)
5263
5264 2012-11-10 Chong Yidong <cyd@gnu.org>
5265
5266 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5267 rename from diff-remove-trailing-whitespace (Bug#12831).
5268
5269 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5272 miscompilation of trace.el.
5273
5274 2012-11-10 Glenn Morris <rgm@gnu.org>
5275
5276 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5277
5278 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5281 (bug#12812).
5282
5283 2012-11-10 Chong Yidong <cyd@gnu.org>
5284
5285 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5286 a defcustom with an appropriate :set function.
5287 (minibuffer-default--in-prompt-regexps): New function.
5288
5289 2012-11-10 Glenn Morris <rgm@gnu.org>
5290
5291 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5292 (define-modify-macro): Doc fixes.
5293
5294 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5295 (gv-define-simple-setter): Update doc of `fix-return'.
5296
5297 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5300 twice when `fix-return' is set (bug#12813).
5301
5302 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5303 gv-define-simple-setter (bug#12812).
5304
5305 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5306 (bug#12756).
5307
5308 2012-11-10 Glenn Morris <rgm@gnu.org>
5309
5310 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5311
5312 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5313 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5314 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5315 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5316
5317 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5318
5319 2012-11-10 Leo Liu <sdl.web@gmail.com>
5320
5321 * ido.el (ido-set-matches-1): Improve flex matching performance by
5322 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5323
5324 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5327 (ad--defalias-fset): New function.
5328 (ad-safe-fset): Remove.
5329 (ad-make-freeze-definition): Use cl-letf*.
5330
5331 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * subr.el (dolist): Don't bind VAR in RESULT.
5334
5335 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5336 (fset, documentation): Don't save real def since we don't advise.
5337 (ad-do-advised-functions): Remove problematic `result-form'.
5338 (ad-safe-fset): `ad-real-fset' => `fset'.
5339 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5340 uses CL's dolist internally.
5341 (ad-arglist): Remove unused arg `name'.
5342 (ad-docstring, ad-make-advised-docstring):
5343 `ad-real-documentation' => `documentation'.
5344 (warning-suppress-types): Declare.
5345 (ad-set-arguments): Simple CSE.
5346 (ad-recover-normality): Sanity check.
5347
5348 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5349 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5350
5351 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5352
5353 * ses.el: symbol to coordinate mapping is made by symbol property
5354 `ses-cell'. This means that the same mapping is done for all SES
5355 sheets. That is good enough for cells with standard A1 names, but
5356 not for named cell. So a hash map is added for the latter.
5357 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5358 (ses-sym-rowcol): Use hashmap for named cell.
5359 (ses-is-cell-sym-p): New defun.
5360 (ses-decode-cell-symbol): New defun.
5361 (ses-create-cell-variable): Add cell to hashmap when name is not
5362 A1-like.
5363 (ses-rename-cell): Check that cell new name is not already in
5364 spreadsheet with the use of ses-is-cell-sym-p
5365 (ses-rename-cell): Use hash map for named cells, but accept also
5366 renaming back to A1-like.
5367
5368 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * emacs-lisp/advice.el: Use new dynamic docstrings.
5371 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5372 Use dynamic-docstring-function instead of ad-advice-info.
5373 (ad--make-advised-docstring): New function extracted from
5374 ad-make-advised-docstring.
5375 (ad-make-advised-docstring): Use it.
5376 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5377 from sql-help.
5378 (sql-help): Use it with dynamic-docstring-function.
5379
5380 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5381
5382 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * files.el (hack-one-local-variable--obsolete): New function.
5385 (hack-one-local-variable): Use it for obsolete settings.
5386
5387 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5388 the new name.
5389
5390 * progmodes/js.el (js--filling-paragraph): New var.
5391 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5392 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5393 less sneaky.
5394
5395 2012-11-08 Julien Danjou <julien@danjou.info>
5396
5397 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5398 `auto-mode-alist' (Bug#12835).
5399
5400 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5403 (perl--prettify-symbols-alist): New const.
5404 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5405 New functions.
5406 (perl-font-lock-keywords-2): Use them.
5407 (perl-electric-noindent-p): New function.
5408 (perl-mode): Use it to set up electric-indent-mode.
5409 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5410 (perl-mode-map): Remove bindings for them.
5411 (perl-imenu-generic-expression, perl-outline-level):
5412 Match functions&packages in column>0.
5413
5414 * env.el (env--substitute-vars-regexp): New const.
5415 (substitute-env-vars): Use it. Add `only-defined' arg.
5416 * net/tramp.el (tramp-replace-environment-variables): Use it.
5417
5418 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5419 Byte-compile *before* eval in eval-and-compile.
5420 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5421 (byte-compile-file-form-autoload): Don't hide actual definition.
5422 (byte-compile-maybe-guarded): Accept `functionp' as well.
5423
5424 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5425
5426 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5427
5428 * notifications.el (notifications-get-server-information-method):
5429 New defconst.
5430 (notifications-get-capabilities): Fix docstring.
5431 (notifications-get-server-information): New defun.
5432
5433 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5434
5435 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5436 readability.
5437
5438 * textmodes/ispell.el: Experimental support for support debugging.
5439 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5440 buffer for ispell.
5441 (ispell-print-if-debug): New function to print stuff to
5442 `ispell-debug-buffer' if debugging is enabled.
5443 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5444 show some debugging info.
5445 (ispell-buffer-with-debug): New function that creates a debugging
5446 buffer and calls `ispell-buffer' with debugging enabled.
5447
5448 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5449 comment in autoconf mode. (Bug#12768)
5450
5451 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5452
5453 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5454 frame-first-window, frame-root-window, frame-selected-window,
5455 minibuffer-selected-window, minibuffer-window,
5456 window-absolute-pixel-edges, window-at, window-body-height,
5457 window-body-width, window-display-table, window-combination-limit,
5458 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5459 window-inside-edges, window-inside-pixel-edges, window-left-child,
5460 window-left-column, window-margins, window-next-buffers,
5461 window-next-sibling, window-new-normal, window-new-total,
5462 window-normal-size, window-parameter, window-parameters, window-parent,
5463 window-pixel-edges, window-point, window-prev-buffers,
5464 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5465 window-start, window-text-height, window-top-child, window-top-line,
5466 window-total-height, window-total-width and window-use-time to the list
5467 of functions without side-effects.
5468 (toplevel): Add window-valid-p to the list of error-free functions
5469 without side-effects.
5470
5471 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5472
5473 * textmodes/ispell.el (ispell-program-name):
5474 Update spellchecker parameters when customized.
5475
5476 2012-11-04 Glenn Morris <rgm@gnu.org>
5477
5478 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5479
5480 2012-11-04 Chong Yidong <cyd@gnu.org>
5481
5482 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5483 same-window-* variables.
5484
5485 2012-11-04 Juri Linkov <juri@jurta.org>
5486
5487 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5488 (isearch-describe-key, isearch-describe-mode): Use a display
5489 action instead of binding same-window-* variables (Bug#10040).
5490
5491 2012-11-03 Glenn Morris <rgm@gnu.org>
5492
5493 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5494 Rename handler properties back from cl-- to cl-. (Bug#12788)
5495
5496 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5497
5498 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5499
5500 * term/pc-win.el: Don't load term/internal from here.
5501
5502 * loadup.el: Load term/internal from here.
5503
5504 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5505
5506 * progmodes/python.el (inferior-python-mode): Fix hang in
5507 jit-lock (Bug#12645).
5508
5509 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5510
5511 * window.el (switch-to-visible-buffer)
5512 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5513
5514 2012-11-03 Glenn Morris <rgm@gnu.org>
5515
5516 * emacs-lisp/cl-lib.el (cl--random-time):
5517 Rename from cl-random-time. (Bug#12773)
5518 (cl--gensym-counter, cl--random-state): Update callers.
5519 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5520
5521 2012-11-03 Chong Yidong <cyd@gnu.org>
5522
5523 * cus-start.el: Make cursor-type customizable (Bug#11633).
5524
5525 2012-11-02 Glenn Morris <rgm@gnu.org>
5526
5527 * filecache.el: No need to load find-lisp when compiling.
5528 (find-lisp-find-files): Autoload it.
5529 (file-cache-add-directory-recursively): Don't require find-lisp.
5530
5531 * image.el (image-type-from-file-name): Trivial simplification.
5532
5533 * emacs-lisp/bytecomp.el (byte-compile-eval):
5534 Decouple "noruntime" and "cl-functions" warnings.
5535
5536 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5537
5538 * play/gomoku.el (gomoku-display-statistics): Update mode line
5539 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5540
5541 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5542
5543 * window.el (quit-restore-window): If the window has been
5544 created on an existing frame and ended up as the sole window on
5545 that frame, do not delete it (Bug#12764).
5546
5547 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5550 Rename from sh--inside-arithmetic-expression, handle more cases
5551 (bug#11263).
5552
5553 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5554 (sh-font-lock-open-heredoc): Use it (bug#12770).
5555
5556 2012-10-30 Glenn Morris <rgm@gnu.org>
5557
5558 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5559
5560 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5561
5562 2012-10-29 Chong Yidong <cyd@gnu.org>
5563
5564 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5565 function key is stored in a keyboard macro (Bug#4894).
5566
5567 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5568
5569 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5572 header comments".
5573 (diff-unified->context, diff-context->unified)
5574 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5575
5576 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5577
5578 * files.el (find-alternate-file): Only ask one question (bug#12487).
5579
5580 2012-10-29 Chong Yidong <cyd@gnu.org>
5581
5582 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5583 Suggested by Dan Nicolaescu (Bug#6326).
5584
5585 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5586
5587 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5588
5589 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5590
5591 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5592
5593 * face-remap.el (face-remap-add-relative): Handle the case where a
5594 face-remapping-alist entry is a cons cell (Bug#12762).
5595
5596 2012-10-29 Kevin Ryde <user42@zip.com.au>
5597
5598 * woman.el (woman-parse-numeric-value): Handle picas correctly
5599 (Bug#12639).
5600
5601 2012-10-29 Glenn Morris <rgm@gnu.org>
5602
5603 * emacs-lisp/cl.el (defsetf): Doc fix.
5604
5605 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5608 syntax to the matching opener, if any (bug#12547).
5609 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5610 matching open as a "case-(".
5611 (sh-smie-rc-grammar): Add a corresponding rule for it.
5612
5613 2012-10-28 Daniel Hackney <dan@haxney.org>
5614
5615 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5616 "PKGNAME-autoloads.el" in case we created it.
5617
5618 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5621 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5622 (completion--twq-all): Disable too-strict assertions.
5623
5624 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5625
5626 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5627
5628 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5629 text to match the real keybindings.
5630
5631 2012-10-27 Juri Linkov <juri@jurta.org>
5632
5633 * wdired.el (wdired-keep-marker-rename): New defcustom.
5634 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5635 (Bug#11795)
5636
5637 * dired.el (dired-keep-marker-rename): Add reference to
5638 `wdired-keep-marker-rename' in the docstring.
5639 Add default character value ?R to display initially in
5640 Customization UI instead of ?@.
5641
5642 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5643
5644 * window.el (display-buffer): In doc-string describe
5645 window-height and window-width alist entries.
5646
5647 * time.el (display-time-world): Restore fit-window-to-buffer
5648 behavior.
5649
5650 2012-10-27 Chong Yidong <cyd@gnu.org>
5651
5652 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5653
5654 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5655
5656 * minibuffer.el (completion-category-overrides): New completion
5657 category `bookmark' (bug#11131).
5658
5659 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5662 Silence bogus compiler warnings for ad-do-it.
5663
5664 * bookmark.el (bookmark-completing-read): Set the completion category
5665 to `bookmark' (bug#11131).
5666
5667 2012-10-26 Bastien <bzg@altern.org>
5668 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * face-remap.el: Use lexical-binding.
5671 (text-scale-adjust): Improve docstring. Use itself for the temporary
5672 overlay-map bindings, so as to repeat the "Use..." message each time.
5673
5674 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * emacs-lisp/macroexp.el (macroexp--expand-all):
5677 Obey byte-compile-warning-enabled-p (bug#12486).
5678
5679 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5680 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5681
5682 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5683
5684 * mouse.el (mouse-drag-line): Move last form into preceding when
5685 clause (Bug#12731).
5686
5687 * help.el (resize-temp-buffer-window): Fix doc-string.
5688
5689 2012-10-25 David Engster <deng@randomsample.de>
5690
5691 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5692 Remove. This feature is already integrated in imenu.
5693
5694 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5695 always loaded. Require `speedbar' unconditionally.
5696
5697 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5700
5701 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5702
5703 * net/ldap.el (ldap-search-internal): The official ldif format starts
5704 with a "version: 1" header (bug#12724).
5705
5706 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5707 (bug#12721).
5708
5709 2012-10-25 Glenn Morris <rgm@gnu.org>
5710
5711 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5712
5713 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * minibuffer.el (minibuffer-force-complete): Use one more marker
5716 for the temporary-overlay-map command (bug#12619).
5717
5718 2012-10-24 Chong Yidong <cyd@gnu.org>
5719
5720 * time.el (display-time-world-mode): Derive from special-mode.
5721 (display-time-world): Use display-buffer (Bug#12708).
5722 (display-time-world-mode-map): Variable deleted.
5723 (display-time-world-display): Wrap the final delete-char inside
5724 inhibit-read-only.
5725
5726 2012-10-24 Chong Yidong <cyd@gnu.org>
5727
5728 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5729 Doc fix.
5730
5731 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5732
5733 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * minibuffer.el (completion--all-sorted-completions-location): New var.
5736 (completion--cache-all-sorted-completions)
5737 (completion--flush-all-sorted-completions): Use it.
5738 (completion-in-region, completion-in-region--postch)
5739 (completion-at-point, completion-help-at-point): Use markers in
5740 completion-in-region--data (bug#12619).
5741
5742 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * progmodes/compile.el (compilation-start): Try to handle common
5745 quoting of `cd' argument (bug#12640).
5746
5747 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5748 (bug#12671).
5749
5750 2012-10-23 Glenn Morris <rgm@gnu.org>
5751
5752 * progmodes/gud.el (gud-menu-map):
5753 Check gdb-active-process is bound. (Bug#12358)
5754
5755 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * repeat.el (repeat): Set real-this-command (bug#12232).
5758
5759 * htmlfontify.el (hfy-post-html-hook):
5760 * filesets.el (filesets-cache-fill-content-hook):
5761 * arc-mode.el (archive-extract-hook):
5762 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5763 * net/rcirc.el (rcirc-sentinel-functions)
5764 (rcirc-receive-message-functions, rcirc-activity-functions)
5765 (rcirc-print-functions):
5766 * net/dbus.el (dbus-event-error-functions):
5767 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5768 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5769 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5770 * term/sun.el (sun-raw-prefix-hooks):
5771 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5772
5773 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5774
5775 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5776 Set `tramp-chunksize' to 1. This improves the performance.
5777 (tramp-smb-wait-for-output): Add timeout to
5778 `tramp-accept-process-output' calls.
5779
5780 2012-10-23 Chong Yidong <cyd@gnu.org>
5781
5782 * faces.el (font-list-limit): Define as an obsolete variable.
5783
5784 * startup.el (command-line):
5785 * cus-start.el: Don't refer to font-list-limit.
5786
5787 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5788
5789 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * subr.el (internal-temp-output-buffer-show): Rename from
5792 temp-output-buffer-show, since previously compiled files expect this name.
5793
5794 2012-10-23 Glenn Morris <rgm@gnu.org>
5795
5796 * image.el (image-type-from-file-name): If multiple types match,
5797 return the first one that is supported. (Bug#9045)
5798
5799 2012-10-22 Glenn Morris <rgm@gnu.org>
5800
5801 * image.el (imagemagick-enabled-types): Doc fix.
5802
5803 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5804
5805 * progmodes/which-func.el (which-func-current): The hash-table may have
5806 an explicit nil (bug#12338).
5807
5808 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * electric.el (electric-pair-delete-selection-self-insert-function):
5811 Rename to electric-pair-will-use-region, return a boolean.
5812 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5813
5814 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5815 (delete-selection-pre-hook): Use use-region-p.
5816 (delete-selection-self-insert-function): Remove.
5817 (self-insert-command): Obey self-insert-uses-region-functions.
5818 (self-insert-iso): Revert to previous setting, since we don't actually
5819 know what that command does.
5820 (delete-selection-self-insert-hooks): Remove.
5821
5822 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5823
5824 * delsel.el (delete-selection-helper): New function, extracted from
5825 delete-selection-pre-hook.
5826 (delete-selection-pre-hook): Use it.
5827 (delete-selection-self-insert-function): New function.
5828 (delete-selection-self-insert-hooks): New hook.
5829 (self-insert-command, self-insert-iso): Use it.
5830 * electric.el (electric-pair-syntax): New function, extracted from
5831 electric-pair-post-self-insert-function.
5832 (electric-pair-post-self-insert-function): Use it.
5833 (electric-pair-delete-selection-self-insert-function): New function.
5834 (electric-pair-mode): Require delsel and setup
5835 delete-selection-self-insert-hooks (bug#11520).
5836
5837 2012-10-20 Chong Yidong <cyd@gnu.org>
5838
5839 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5840 no changes to show (Bug#12586).
5841
5842 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5843 list explicitly (Bug#12571).
5844
5845 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5846
5847 * progmodes/flymake.el (flymake-create-temp-inplace):
5848 Use file-truename.
5849
5850 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5851
5852 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5853
5854 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5855
5856 * calc/calc-units.el (math-extract-units): Properly extract powers
5857 of units.
5858
5859 2012-10-20 Daniel Colascione <dancol@dancol.org>
5860
5861 * frame.el (make-frame): Set x-display-name as we used to in order
5862 to unbreak creating an X11 frame from an Emacs daemon started
5863 without a display.
5864
5865 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5868 the same completion-field (bug#12221).
5869
5870 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5871
5872 * emacs-lisp/debug.el (debug): Record height of debugger window
5873 also when debugger will be back (Bug#8789).
5874
5875 2012-10-18 Chong Yidong <cyd@gnu.org>
5876
5877 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5878 Convert to defcustom.
5879 (gdb-get-source-file): Don't bind pop-up-windows.
5880
5881 * progmodes/gud.el (gud-display-line): Don't specially re-use
5882 other frames for the gdb-mi case (Bug#12648).
5883
5884 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * emacs-lisp/advice.el: Clean up commentary a bit.
5887 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5888 (byte-code-function-p): Never redefine.
5889
5890 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5891
5892 2012-10-18 Glenn Morris <rgm@gnu.org>
5893
5894 * dired.el (dired-sort-toggle): Some ls implementations only allow
5895 a single option string. (Bug#12666)
5896
5897 * minibuffer.el (completion-cycle-threshold): Doc fix.
5898
5899 2012-10-17 Kenichi Handa <handa@gnu.org>
5900
5901 * international/mule.el (set-keyboard-coding-system):
5902 Recover input meta mode when the new coding system doesn not use 8-bit.
5903 Supply TERMINAL arg to set-input-meta-mode.
5904
5905 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5906
5907 * wdired.el (wdired-old-marks): New variable.
5908 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5909 (wdired-do-renames): Move point with renamed file and don't lose
5910 mark status (Bug#11795).
5911
5912 2012-10-16 Juri Linkov <juri@jurta.org>
5913
5914 * replace.el (query-replace-help): Mention multi-buffer replacement
5915 keys in the Help message. (Bug#12655)
5916
5917 2012-10-15 Chong Yidong <cyd@gnu.org>
5918
5919 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5920
5921 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5922
5923 * window.el (display-buffer): Doc fix.
5924
5925 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5926 Adjust the msft regexp to the output of Studio 2010, and move msft
5927 before edg-1. See the discussion on emacs-devel,
5928 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5929 for the details.
5930
5931 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5934 (oset): Move uses of object-class-fast macro after its definition.
5935
5936 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5937
5938 2012-10-13 Chong Yidong <cyd@gnu.org>
5939
5940 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5941 enabled, re-enable it (Bug#11963).
5942
5943 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5944
5945 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5946 non-nil, restore window configuration (Bug#12623).
5947
5948 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * help-fns.el (describe-variable, describe-function-1):
5951 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5952
5953 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5954
5955 2012-10-12 Glenn Morris <rgm@gnu.org>
5956
5957 * mail/rmailsum.el (rmail-header-summary):
5958 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5959
5960 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5961
5962 * progmodes/python.el (python-mode-map):
5963 Replace subtitute-key-definition with proper command remapping.
5964 (python-nav--up-list): Fix behavior for blocks on the same level.
5965
5966 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5969
5970 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5971 changes to the format of load-history.
5972
5973 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5974 completion-ignore-case in case that var is buffer-local (bug#12615).
5975
5976 2012-10-11 Kenichi Handa <handa@gnu.org>
5977
5978 * international/eucjp-ms.el: Re-generated.
5979
5980 2012-10-10 Kenichi Handa <handa@gnu.org>
5981
5982 * select.el (xselect--encode-string): If a coding is specified for
5983 selection, and that is compatible with COMPOUND_TEXT, use it.
5984
5985 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5986
5987 * window.el (switch-to-buffer-preserve-window-point): New option.
5988 (switch-to-buffer):
5989 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5990
5991 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5994 Don't document nil as a useful value (bug#12583).
5995
5996 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5997
5998 * net/tramp.el (tramp-debug-message):
5999 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6000 (with-tramp-progress-reporter): Rename from
6001 `tramp-with-progress-reporter'.
6002 (with-tramp-file-property, with-tramp-connection-property):
6003 Move from tramp-cache.el, rename from `with-file-property' and
6004 `with-connection-property', respectively.
6005
6006 * net/tramp-cache.el: Remove `with-file-property' and
6007 `with-connection-property'.
6008
6009 * net/tramp.el:
6010 * net/tramp-gvfs.el:
6011 * net/tramp-sh.el:
6012 * net/tramp-smb.el: Adapt callees.
6013
6014 * net/trampver.el: Update release number.
6015
6016 2012-10-09 Glenn Morris <rgm@gnu.org>
6017
6018 * w32-fns.el (set-message-beep):
6019 * term/w32-win.el (set-message-beep): Update declarations.
6020
6021 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6024 (mode-line-widen, mode-line-input-method-map)
6025 (mode-line-coding-system-map, mode-line-remote)
6026 (mode-line-unbury-buffer, mode-line-bury-buffer)
6027 (mode-line-next-buffer, mode-line-previous-buffer):
6028 Replace save-selected-window+select-window => with-selected-window.
6029
6030 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6031 * progmodes/cc-vars.el (bq-process): Remove, unused.
6032
6033 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6034
6035 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6036
6037 Implemented `backward-up-list'-like navigation.
6038 * progmodes/python.el (python-nav-up-list)
6039 (python-nav-backward-up-list): New functions.
6040 (python-mode-map): Define substitute key for backward-up-list to
6041 python-nav-backward-up-list.
6042
6043 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6044
6045 * progmodes/python.el (python-fill-paragraph): Rename from
6046 python-fill-paragraph-function. Fixed fill-paragraph for
6047 decorators (Bug#12605).
6048
6049 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6050
6051 * progmodes/python.el (python-shell-output-filter): Handle extra
6052 carriage return in OSX (Bug#12409).
6053
6054 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6055
6056 Fix shell handling of unbalanced quotes and parens in output.
6057 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6058 (python-syntax-propertize-function): Use it.
6059 (python-shell-output-syntax-table): New var.
6060 (inferior-python-mode): Prevent unbalanced parens/quotes from
6061 previous output mess with current input context.
6062
6063 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6066 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6067
6068 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6069
6070 * ffap.el (ffap-replace-file-component): Support Tramp file name
6071 syntax, not only ange-ftp's one.
6072
6073 2012-10-08 Glenn Morris <rgm@gnu.org>
6074
6075 * cus-start.el (message-log-max): Set :version.
6076
6077 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6078
6079 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6080
6081 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6082 the minibuffer window (Bug#10851).
6083
6084 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6085
6086 Enhancements on forward-sexp movement.
6087 * progmodes/python.el (python-nav-beginning-of-statement)
6088 (python-nav-end-of-statement): Return point-marker.
6089 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6090 (python-info-current-symbol)
6091 (python-info-statement-starts-block-p): Rename from
6092 python-info-beginning-of-block-p.
6093 (python-info-statement-ends-block-p): Rename from
6094 python-info-end-of-block-p.
6095 (python-info-beginning-of-statement-p)
6096 (python-info-end-of-statement-p)
6097 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6098 New functions.
6099
6100 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6103 frame-selected-windows.
6104
6105 2012-10-08 Daniel Colascione <dancol@dancol.org>
6106
6107 * battery.el (battery-status-function): Check for
6108 w32-battery-status itself, not system-time windows-nt.
6109
6110 * frame.el: Require cl-lib.
6111 (display-format-alist): New variable mapping frame types to
6112 functions that initialize them.
6113 (window-system-for-display): New function: interprets
6114 display-format-alist.
6115 (make-frame-on-display): Remove existing display-selection logic
6116 and just forward to make-frame, which will now DTRT.
6117 (make-frame): Restructure to use window-system-for-display to
6118 figure out how to create a frame on a given display.
6119 (display-mouse-p): Look for frame-type w32, not a particular
6120 system-type.
6121
6122 * loadup.el: Load w32 lisp code when we have the w32 feature.
6123
6124 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6125 system-type windows-nt.
6126
6127 * server.el (server-create-window-system-frame): Look for window
6128 type.
6129 (server-proces-filter): Only force a window system when windows-nt
6130 _and_ w32. Explain why.
6131
6132 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6133 of window systems we configure for the mode.
6134
6135 * startup.el (command-line): Mark window system is initialized
6136 after we've done it.
6137
6138 * common-win.el (x-select-text): Look for w32, not windows-nt.
6139
6140 * ns-win.el: Require cl-lib. Add ourselves to
6141 display-format-alist.
6142 (ns-initialize-window-system): Assert we're not initialized twice.
6143
6144 * w32-win.el: Enable lexical binding; require cl-lib; add
6145 ourselves to display-format-alist.
6146 (w32-handle-dropped-file): Convert incoming dropped files from
6147 Windows paths to Cygwin ones before passing them on to the rest of
6148 Emacs.
6149 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6150 (w32-initialize-window-system): Assert we're not initialized twice.
6151
6152 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6153 (x-initialize-window-system): Assert we're not initialized twice.
6154
6155 * w32-common-fns.el: New File.
6156 (w32-version, w32-using-nt, w32-get-clipboard-data)
6157 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6158 (w32-charset-info-alist, x-last-selected, text)
6159 (x-get-selection-value, x-selection-value): Move here.
6160
6161 * w32-fns.el: Require w32-common-fns.
6162 (w32-version, w32-using-nt, w32-get-clipboard-data)
6163 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6164 (w32-charset-info-alist, x-last-selected, text)
6165 (x-get-selection-value, x-selection-value): Move to
6166 w32-common-fns.
6167
6168 * w32-vars.el:
6169 (w32-allow-system-shell, w32-system-shells): Define only in
6170 non-cygwin case.
6171
6172 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6175 (read-passwd): Remove a few more potential sources of leaks.
6176
6177 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6178
6179 * progmodes/python.el (inferior-python-mode)
6180 (python-shell-make-comint): Fix initialization of local
6181 variables copied from parent buffer.
6182
6183 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6184
6185 * term/ns-win.el (ns-read-file-name): Update declaration to match
6186 nsfns.m.
6187 (ns-respond-to-change-font): Change fontsize separately so we are sure
6188 it is set when font is acted upon.
6189
6190 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6191
6192 Enhancements to indentation.
6193 * progmodes/python.el (python-indent-context): Give priority to
6194 inside-string context. Make comments indentation markers.
6195 (python-indent-region): Do not mess with strings, unless it's the
6196 enclosing set of quotes.
6197
6198 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * window.el (internal--before-save-selected-window)
6201 (internal--after-save-selected-window): New functions extracted from
6202 save-selected-window. Make sure we return the `alist' we construct.
6203 (save-selected-window): Use them.
6204
6205 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6206 Use with-selected-window.
6207
6208 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6209 forms that define macros (bug#12593).
6210
6211 2012-10-07 Kenichi Handa <handa@gnu.org>
6212
6213 * international/mule-conf.el (compound-text-with-extensions):
6214 Add :mime-charset property as x-ctext.
6215
6216 2012-10-07 Stefan Merten <smerten@oekonux.de>
6217
6218 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6219 (rst-indent-literal-normal, rst-indent-literal-minimized)
6220 (rst-indent-comment): Correct :version tag.
6221 (rst-official-cvs-rev): Correct version string.
6222
6223 2012-10-07 Glenn Morris <rgm@gnu.org>
6224
6225 * mail/rmailmm.el (rmail-mime-process-multipart):
6226 Do not confuse a multipart message with an epilogue
6227 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6228
6229 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6230
6231 Fix shell output retrieval and comint-prompt-regexp init.
6232 * progmodes/python.el (inferior-python-mode):
6233 (python-shell-make-comint): Fix initialization of
6234 comint-prompt-regexp from copied file local variables.
6235 (python-shell-fetched-lines): Remove var.
6236 (python-shell-output-filter-in-progress): Rename from
6237 python-shell-fetch-lines-in-progress.
6238 (python-shell-output-filter-buffer): Rename from
6239 python-shell-fetch-lines-string.
6240 (python-shell-fetch-lines-filter): Delete function.
6241 (python-shell-output-filter): New function.
6242 (python-shell-send-string-no-output): Use them.
6243
6244 2012-10-07 Glenn Morris <rgm@gnu.org>
6245
6246 * hi-lock.el (hi-lock-process-phrase):
6247 Try to make it less fragile. (Bug#7161)
6248
6249 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6250
6251 2012-10-06 Glenn Morris <rgm@gnu.org>
6252
6253 * ehelp.el (electric-help-mode): Use help-mode rather than
6254 non-existent mode `help'.
6255 (electric-help-map): Use button-buffer-map. (Bug#10917)
6256
6257 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6258 (reftex-create-bibtex-footer): Fix custom types.
6259
6260 * progmodes/sh-script.el (sh-indent-after-continuation):
6261 Add explicit :group.
6262
6263 * textmodes/rst.el (rst-preferred-decorations)
6264 (rst-shift-basic-offset): Clarify obsolescence versions.
6265
6266 * profiler.el (profiler): Add missing group :version tag.
6267 * avoid.el (mouse-avoidance-banish-position):
6268 * proced.el (proced-renice-command):
6269 * calc/calc.el (calc-ensure-consistent-units):
6270 * calendar/icalendar.el (icalendar-import-format-uid):
6271 * net/tramp.el (tramp-save-ad-hoc-proxies):
6272 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6273 * progmodes/flymake.el (flymake-error-bitmap)
6274 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6275 * progmodes/sh-script.el (sh-indent-after-continuation):
6276 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6277 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6278 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6279 (vhdl-array-index-record-field-in-sensitivity-list)
6280 (vhdl-indent-comment-like-next-code-line):
6281 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6282 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6283 (reftex-cite-key-separator, reftex-create-bibtex-header)
6284 (reftex-create-bibtex-footer):
6285 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6286 (rst-indent-literal-normal, rst-indent-literal-minimized)
6287 (rst-indent-comment): Add missing custom :version tags.
6288
6289 * calendar/timeclock.el (timeclock-modeline-display):
6290 Add missing obsolete alias for renamed user option.
6291
6292 * strokes.el (strokes-modeline-string):
6293 * emulation/crisp.el (crisp-mode-modeline-string):
6294 * eshell/esh-mode.el (eshell-status-in-modeline):
6295 Aliases to defcustoms must come before the defcustom.
6296
6297 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6298 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6299 (cal-tex-cursor-week-monday): Doc fixes.
6300 (cal-tex-cursor-week2-summary): Doc fix.
6301 Rename from cal-tex-cursor-week-at-a-glance.
6302
6303 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6304 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6305
6306 * calendar/calendar.el (calendar-mode-map):
6307 Add cal-tex-cursor-week2-summary.
6308
6309 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6312
6313 * subr.el (read-passwd-map): New var.
6314 (read-passwd): Use `read-string' again.
6315 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6316
6317 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6318
6319 * register.el (append-to-register, prepend-to-register):
6320 Deactivate mark, as does `copy-to-register' (bug#12389).
6321
6322 2012-10-06 Chong Yidong <cyd@gnu.org>
6323
6324 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6325
6326 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6327
6328 * international/characters.el: Fix simple mistake ((car chars) ->
6329 elt), delete duplicated code.
6330
6331 2012-10-06 Glenn Morris <rgm@gnu.org>
6332
6333 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6334
6335 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6336
6337 * color.el (color-hsl-to-rgb): Fix incorrect results for
6338 small and large hue values. (Bug#12559)
6339
6340 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6341
6342 Enhancements to docstring formatting when filling paragraphs.
6343 * progmodes/python.el (python-fill-docstring-style): Rename from
6344 python-fill-string-style. Added new style.
6345 (python-fill-string): Use new style. Better checks for
6346 docstrings.
6347
6348 2012-10-05 Glenn Morris <rgm@gnu.org>
6349
6350 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6351
6352 * color.el (color-name-to-rgb, color-rgb-to-hex)
6353 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6354 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6355 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6356 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6357
6358 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6359
6360 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6363 to get the correct size across symlinks.
6364
6365 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6366
6367 2012-10-04 Juri Linkov <juri@jurta.org>
6368
6369 * replace.el (query-replace-interactive): Declare obsolete.
6370 (query-replace-read-from): Add the last incremental search string
6371 to the list of default values accessible via M-n.
6372 (map-query-replace-regexp): Use `read-regexp'.
6373 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6374 (map-query-replace-regexp, replace-string, replace-regexp):
6375 Fix docstrings to replace mentions of `query-replace-interactive'
6376 with alternatives. (Bug#12526)
6377
6378 2012-10-04 Juri Linkov <juri@jurta.org>
6379
6380 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6381 (dired-pop-to-buffer): Declare obsolete.
6382 (dired-mark-pop-up): Doc fix.
6383
6384 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6385
6386 Allow user to set docstring style for fill-paragraph.
6387 * progmodes/python.el
6388 (python-fill-comment-function, python-fill-string-function)
6389 (python-fill-decorator-function, python-fill-paren-function):
6390 Remove :safe for defcustoms.
6391 (python-fill-string-style): New defcustom
6392 (python-fill-paragraph-function): Enhance context detection.
6393 (python-fill-string): Honor python-fill-string-style settings.
6394
6395 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6396
6397 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6398 after setting its buffer (Bug#10805).
6399
6400 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6401
6402 Fix cornercase for string syntax.
6403 * progmodes/python.el (python-syntax-propertize-function):
6404 Simplify and enhance the regexp for unescaped quotes. Now it also
6405 matches quotes in weird situations like the single quote in
6406 "something\"'".
6407 (python-syntax-stringify): Simplify num-quotes detecting code.
6408
6409 2012-10-03 Glenn Morris <rgm@gnu.org>
6410
6411 * help-macro.el (three-step-help):
6412 Revert 2012-09-29 change. (Bug#12567)
6413
6414 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6415
6416 * menu-bar.el (kill-this-buffer): Don't do anything when
6417 `menu-frame' is not alive or visible (Bug#8184).
6418
6419 * emacs-lisp/debug.el (debug): When quitting the debugger window
6420 restore current buffer (Bug#12502).
6421
6422 2012-10-02 Chong Yidong <cyd@gnu.org>
6423
6424 * progmodes/hideif.el (hif-lookup, hif-defined):
6425 Handle semantic-c-takeover-hideif.
6426
6427 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6428
6429 Change sampling interval units from ms to ns.
6430 * profiler.el (profiler-sampling-interval): Change units
6431 from ms to ns, multiplying the default by 1000000 so that
6432 it remains 1 ms.
6433 (profiler-report-cpu-line-format): Give enough room for
6434 the maximum counters on 64-bit hosts.
6435 (profiler-report-render-calltree-1): Call them "CPU samples",
6436 not "Time (ms)", since they are not milliseconds now (and
6437 never really were).
6438
6439 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6440
6441 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6442 Fix querying BBDB for entries without a last name (Bug#11580).
6443
6444 2012-10-02 Chong Yidong <cyd@gnu.org>
6445
6446 * emacs-lisp/eieio.el: Restore Version header.
6447
6448 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * vc/diff-mode.el (diff--auto-refine-data): New var.
6451 (diff-hunk): Use it to delay refinement.
6452 (diff-mode): Remove overlays when we turn off font-lock.
6453
6454 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6455 (table-initialize-table-fixed-width-mode)
6456 (table-set-table-fixed-width-mode): Remove functions.
6457 (table-command-list): Move initialization into declaration.
6458 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6459 (table-with-cache-buffer): Use `declare'.
6460 (table-span-cell): Simplify via CSE.
6461 (table-fixed-width-mode): Use define-minor-mode.
6462 (table-call-interactively, table-funcall, table-apply): Remove.
6463 (table-function): New function, to replace them.
6464
6465 * bookmark.el (bookmark-search-pattern): Remove var.
6466 (bookmark-read-search-input): Remove function.
6467 (bookmark-bmenu-search): Reimplement using a minibuffer.
6468
6469 * faces.el (modeline): Remove obsolete face name.
6470
6471 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6472 and give a non-nil default value.
6473 (add-change-log-entry): Simplify accordingly.
6474
6475 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6476
6477 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6478 (vc-git-log-edit-toggle-amend): New function.
6479 (vc-git-log-edit-toggle-signoff): New function.
6480 (vc-git-log-edit-mode): New major mode.
6481 (vc-git-log-edit-mode-map): Keymap for it.
6482 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6483
6484 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6485 header names.
6486 (log-edit-toggle-header): New function.
6487 (log-edit-extract-headers): Accept function values in HEADERS alist.
6488
6489 2012-10-01 David Engster <deng@randomsample.de>
6490
6491 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6492 from symbol property and change message to be more consistent with
6493 Emacs proper.
6494 (eieio-describe-generic): Add filename for each implementation.
6495 Fix indices for generic and normal methods.
6496 (eieio-method-def, eieio-class-def): New buttons.
6497 (eieio-help-find-method-definition)
6498 (eieio-help-find-class-definition): New functions.
6499 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6500 class, constructor and method definitions.
6501
6502 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6503 information in symbol property.
6504 (scoped-class): Remove.
6505 (eieio-slot-name-index, call-next-method): Check if it is bound.
6506
6507 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6508
6509 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6510 (eieio-custom-mode): New major mode.
6511 (eieio-customize-object): Use it.
6512
6513 2012-10-01 Eric Ludlam <zappo@gnu.org>
6514
6515 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6516 specifying the expected class, and whether subclassing is allowed.
6517 (eieio-persistent-convert-list-to-object):
6518 (eieio-persistent-validate/fix-slot-value)
6519 (eieio-persistent-slot-type-is-class-p): New functions.
6520 (eieio-named::slot-missing): Doc fix.
6521
6522 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6523 Stop using unused publd variable.
6524
6525 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6526 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6527 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6528 (eieio-speedbar-handle-click): Do not specify a class for the
6529 method. Fixes method invocation order problems with EDE.
6530
6531 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6534 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6535
6536 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6537
6538 * bookmark.el (bookmark-version-control): Give tags in the
6539 :type choices (Bug#12309), and improve doc string.
6540 (bookmark-write-file): Bind `print-circle' to `t' to allow
6541 circular custom bookmark types. (Bug#12503)
6542
6543 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6544
6545 Revert the FOLLOW-SYMLINKS change for file-attributes.
6546 * files.el (remote-file-name-inhibit-cache, after-find-file):
6547 * time.el (display-time-file-nonempty-p): Undo last change.
6548
6549 * profiler.el (profiler-sampling-interval): Change default back to 1.
6550 See Stefan Monnier in
6551 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6552
6553 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6554
6555 Shell output catching a la gud-gdb.
6556 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6557 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6558 New Vars.
6559 (python-shell-fetch-lines-filter): New function.
6560 (python-shell-send-string-no-output): Use them.
6561
6562 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6563
6564 * profiler.el (profiler-sampling-interval): Rename from
6565 profiler-sample-interval.
6566 (profiler-sampling-interval): Default to 10.
6567 (profiler-find-profile): New command (was profiler-find-log).
6568 (profiler-find-profile-other-window): New command.
6569 (profiler-find-profile-other-frame): New command.
6570 (profiler-profile): Introduce API-level data structure.
6571
6572 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6573
6574 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6575 * files.el (remote-file-name-inhibit-cache):
6576 * time.el (display-time-file-nonempty-p): Use it.
6577 * files.el (after-find-file): Don't chase links before calling
6578 file-exists-p, as file-exists-p already does the right thing.
6579
6580 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6581
6582 Merge from standalone RefTeX repository.
6583
6584 The following ChangeLog entries are shortened versions of the
6585 original ones with file paths adapted. A not so strongly edited
6586 version of the original ChangeLog can be found in the commit log.
6587
6588 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6589 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6590 Correctly handle new value type returned by `reftex-citation'.
6591
6592 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6593 that entries with whitespace at various places are found.
6594 Doc fix. Include entries that are cross-referenced from cited entries.
6595 Include @String definitions in the resulting bib file. Add header
6596 and footer defined in `reftex-create-bibtex-header' and
6597 `reftex-create-bibtex-footer'.
6598 (reftex-do-citation): Make it possible again to insert
6599 non-existent entries. Save match data when asking for optional
6600 arguments. Return all keys, not just the first one.
6601 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6602 all citations in the same line.
6603 (reftex-parse-bibtex-entry): Accept additional optional argument
6604 `raw' and keep quotes or braces if it is non-nil. Match fields
6605 containing hyphens besides word constituents.
6606 (reftex-get-string-refs): New function.
6607 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6608 and ask if it should be reread in case it did.
6609 (reftex-pop-to-bibtex-entry)
6610 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6611 entries with spaces or tabs in front of arguments.
6612 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6613 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6614 Match entries containing numbers and symbol constituents.
6615 (reftex-do-citation, reftex-figure-out-cite-format):
6616 Use `reftex-cite-key-separator'.
6617
6618 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6619 (reftex-mouse-view-crossref): Explain why point is set.
6620
6621 * textmodes/reftex-global.el: Whitespace changes.
6622
6623 * textmodes/reftex-index.el: Move provide statement to end of
6624 file.
6625 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6626 (reftex-index-visit-phrases-buffer): Set marker when visiting
6627 buffer. This allows for returning from the phrases file to the
6628 file one was just editing instead of the file where the last
6629 phrases was added from.
6630 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6631 punctuation syntax as it usually is not used as string quote in
6632 TeX-related modes and may occur unmatched. The change also
6633 prevents fontification of quoted content.
6634 (reftex-index-phrases-mode): Use it.
6635
6636 * textmodes/reftex-parse.el (reftex-parse-from-file):
6637 Move backward one char if a `\' was matched after a section macro.
6638 (reftex-parse-from-file): Use beginning of match instead of end as
6639 bound.
6640
6641 * textmodes/reftex-ref.el: Adapt creation of
6642 `reftex-<package>-<macro>' functions to new structure of
6643 `reftex-ref-style-alist'.
6644 (reftex-reference): Use `reftex-ref-style-list' function.
6645 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6646 reference macro if `reftex-ref-macro-prompt' is non-nil.
6647 (reftex-reference): Pass refstyle to `reftex-format-special'.
6648 Determine reference macro by looking at
6649 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6650 Use only one special format function.
6651 (reftex-varioref-vref, reftex-fancyref-fref)
6652 (reftex-fancyref-Fref): Remove definitions. The functions are now
6653 generated from `reftex-ref-style-alist'.
6654 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6655 Remove.
6656 (reftex-format-special): New function.
6657
6658 * textmodes/reftex-sel.el
6659 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6660 of `reftex-ref-style-alist'. Remove code for testing macro type.
6661 (reftex-select-toggle-varioref)
6662 (reftex-select-toggle-fancyref): Remove.
6663 (reftex-select-cycle-ref-style-internal)
6664 (reftex-select-cycle-ref-style-forward)
6665 (reftex-select-cycle-ref-style-backward): New functions.
6666 (reftex-select-label-map): Use `v' and `V' for general cycling
6667 through reference styles. Add `p' for switching between number
6668 and page reference types.
6669
6670 * textmodes/reftex-toc.el (reftex-re-enlarge):
6671 Call `enlarge-window' only if there is something to do because in Emacs
6672 the horizontal version throws an error even if the parameter is 0.
6673
6674 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6675 (reftex-plug-into-AUCTeX): Doc fix.
6676 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6677 string. Adapt to new name.
6678 (reftex-ref-style-alist): Change structure so that it is not
6679 possible to use multiple different package names within a style.
6680 Remove the symbols for symbols for macro type distinction.
6681 Add characters for macro selection.
6682 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6683 (reftex-create-bibtex-footer): New variables.
6684 (reftex-format-ref-function): Mention third argument of special
6685 format function.
6686 (reftex-ref-style-alist, reftex-ref-style-default-list):
6687 New variables.
6688 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6689 to new implementation. Mark as obsolete. Add compatibility code
6690 for honoring the variable values in case they are set.
6691 (reftex-cite-format-builtin, reftex-bibliography-commands):
6692 Add support for ConTeXt.
6693 (reftex-format-ref-function, reftex-format-cite-function):
6694 Fix custom type.
6695 (reftex-cite-key-separator): New variable.
6696
6697 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6698 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6699 `reftex-syntax-table' because parens have to retain their paren
6700 syntax in order for parsing of BibTeX entries like @book(...) to
6701 work.
6702 (reftex-in-comment): Do not error out if `comment-start-skip' is
6703 not set. Deal correctly with escaped comment characters.
6704 (reftex-tie-multifile-symbols): Add doc string.
6705 Initialize `reftex-ref-style-list'.
6706 (reftex-untie-multifile-symbols): Add doc string.
6707 (reftex-add-index-macros): Doc fix.
6708 (reftex-ref-style-activate, reftex-ref-style-toggle)
6709 (reftex-ref-style-list): New functions.
6710 (reftex-mode-menu): Use them. Adapt to new structure of
6711 `reftex-ref-style-alist'.
6712 (reftex-select-with-char): Kill the RefTeX Select buffer when
6713 done.
6714 (reftex-remove-if): New function.
6715 (reftex-erase-all-selection-and-index-buffers)
6716 (reftex-mode-menu): Reference styles are now computed from
6717 `reftex-ref-style-alist'. Fix typo.
6718 (reftex-report-bug): New function.
6719 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6720 algorithms with O(n log n). Introduce optional argument SORT (not
6721 yet used).
6722
6723 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6724
6725 Enhancements for triple-quote string syntax.
6726 * progmodes/python.el (python-syntax-propertize-function):
6727 Match both quote cases in one regexp.
6728 (python-syntax-stringify): Handle matches properly.
6729
6730 2012-09-30 Juri Linkov <juri@jurta.org>
6731
6732 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6733 to nil around the call to `insert' to prevent
6734 directory time modification by lock_file. (Bug#2295)
6735 * tar-mode.el (tar-summarize-buffer): Idem.
6736
6737 2012-09-30 Juri Linkov <juri@jurta.org>
6738
6739 * facemenu.el (list-colors-sort): Add option "Luminance".
6740 (list-colors-sort-key): Implement it.
6741
6742 * vc/diff-mode.el (diff-refine-removed):
6743 * vc/ediff-init.el (ediff-fine-diff-A):
6744 * vc/smerge-mode.el (smerge-refined-removed):
6745 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6746
6747 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6748
6749 * term/ns-win.el (x-file-dialog): New function.
6750
6751 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6752
6753 * ido.el (ido-max-directory-size): Default to nil; the current
6754 default is small for POSIX systems, and impractical on Windows 7
6755 now that lstat returns directory sizes for NTFS.
6756
6757 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6758
6759 In buffer display functions handle window-height/window-width
6760 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6761 * window.el (window--display-buffer): New argument ALIST.
6762 Obey window-height and window-width alist entries.
6763 (window--try-to-split-window): New argument ALIST.
6764 Bind window-combination-limit to t when the window's size shall be
6765 changed and window-combination-limit equals `window-size'.
6766 (display-buffer-in-atom-window)
6767 (display-buffer-in-major-side-window)
6768 (display-buffer-in-side-window, display-buffer-same-window)
6769 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6770 (display-buffer-pop-up-window, display-buffer-below-selected)
6771 (display-buffer-at-bottom, display-buffer-in-previous-window)
6772 (display-buffer-use-some-window): Adjust all callers of
6773 window--display-buffer and window--try-to-split-window.
6774 (fit-frame-to-buffer): New option.
6775 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6776 is non-nil.
6777 (display-buffer-in-major-side-window): Evaluate window-height /
6778 window-width alist entries.
6779
6780 * help.el (temp-buffer-resize-frames)
6781 (temp-buffer-resize-regexps): Remove options.
6782 (temp-buffer-resize-mode): Adjust doc-string.
6783 (resize-temp-buffer-window): Don't consult
6784 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6785 temp-buffer-resize-frames.
6786
6787 * dired.el (dired-mark-pop-up):
6788 Call display-buffer-below-selected with a fit-window-to-buffer alist
6789 entry.
6790
6791 2012-09-30 Chong Yidong <cyd@gnu.org>
6792
6793 * server.el (server-host): Document the security implications.
6794 (server-auth-key): Doc fix.
6795
6796 * startup.el (initial-buffer-choice): Doc fix.
6797
6798 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6799
6800 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6801 restriction change.
6802
6803 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6804
6805 * help-fns.el (help-fns--obsolete): Fix last change.
6806
6807 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6810 (minor-mode-map-alist): Remove redundant code.
6811
6812 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6813 visited in a buffer.
6814 (cvs-insert-visited-file): New function.
6815 (find-file-hook): Use it.
6816
6817 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6818
6819 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6820 chose face.
6821 (log-edit-empty-buffer-p): Don't require a space after a header.
6822
6823 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6824
6825 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6826
6827 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6828 a proper minor-mode.
6829
6830 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6831
6832 2012-09-29 Glenn Morris <rgm@gnu.org>
6833
6834 * winner.el (winner-mode): Remove variable (let define-minor-mode
6835 handle it).
6836 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6837 Doc fixes.
6838 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6839 (winner-mode): Use define-minor-mode.
6840
6841 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6842 the full definition in loaddefs, rather than duplicating it.
6843
6844 * help-macro.el (three-step-help): No need to autoload defcustom.
6845
6846 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6847 (inferior-lisp-program, inferior-lisp-load-command)
6848 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6849 No need to autoload defcustoms.
6850
6851 * hippie-exp.el (hippie-expand-try-functions-list)
6852 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6853 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6854 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6855 (hippie-expand-only-buffers): No need to autoload defcustoms.
6856 * progmodes/vhdl-mode.el (vhdl-line-expand):
6857 Explicitly load hippie-exp, so it does not get autoloaded
6858 while hippie-expand-try-functions-list is let-bound.
6859
6860 2012-09-28 Glenn Morris <rgm@gnu.org>
6861
6862 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6863
6864 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6865 Only "cl.el" counts as cl these days.
6866
6867 2012-09-28 Juri Linkov <juri@jurta.org>
6868
6869 Display archive errors in the echo area instead of inserting
6870 to the file buffer.
6871
6872 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6873 to STDERR-TEST that can be a regexp matching a successful output.
6874 Create a temporary file and redirect stderr to it. Search for
6875 STDERR-TEST in the stderr output and display it in the echo area
6876 if no match is found.
6877 (archive-extract-by-file): New function like
6878 `archive-extract-by-stdout' but extracting archives to files
6879 and looking for successful matches in stdout. Function body is
6880 mostly copied from `archive-rar-extract'.
6881 (archive-rar-extract): Use `archive-extract-by-file'.
6882 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6883
6884 2012-09-28 Leo Liu <sdl.web@gmail.com>
6885
6886 * pcomplete.el (pcomplete-show-completions):
6887 Use minibuffer-message to make pcomplete usable in minibuffer.
6888
6889 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6890
6891 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * type-break.el: Use lexical-binding.
6894 (type-break-mode): Use define-minor-mode.
6895
6896 * emacs-lisp/pcase.el (pcase--mark-used): New.
6897 (pcase--u1): Use it (bug#12512).
6898
6899 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6900 in load-history with the right file name.
6901
6902 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6903
6904 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6905 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6906 (doc-view-get-bounding-box): Make bounding box slicing work for
6907 ODF and DVI documents.
6908
6909 2012-09-28 Glenn Morris <rgm@gnu.org>
6910
6911 * type-break.el (type-break-mode, type-break-interval)
6912 (type-break-good-rest-interval, type-break-keystroke-threshold):
6913 No need to autoload.
6914 (type-break-good-rest-interval, type-break-keystroke-threshold):
6915 Add :set-after.
6916
6917 2012-09-28 Chong Yidong <cyd@gnu.org>
6918
6919 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6920 Add :version tag.
6921
6922 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6925
6926 2012-09-27 Glenn Morris <rgm@gnu.org>
6927
6928 * faces.el (x-display-name): Declare (for without-x builds).
6929
6930 * linum.el (linum-format): Don't autoload it. Improve :type.
6931
6932 * progmodes/tcl.el: Don't require outline when compiling.
6933 (outline-regexp, outline-level): Declare.
6934 * textmodes/sgml-mode.el: Don't require outline when compiling.
6935 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6936
6937 * term.el (term-ansi-reset):
6938 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6939
6940 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6941 files for RCS and SCCS. (Bug#9781)
6942
6943 2012-09-27 Chong Yidong <cyd@gnu.org>
6944
6945 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6946 change; value should be t.
6947
6948 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * image-mode.el: Use lexical-binding.
6951 (image-mode-winprops): Use t to stand for the window of
6952 a buffer that's not displayed.
6953 * doc-view.el (doc-view-new-window-function): Handle the new
6954 t in winprops.
6955 (doc-view-enlarge): Make it a real nop if the size is not changed.
6956 (doc-view-display): Handle the case where the buffer is not (yet?)
6957 displayed in any window.
6958 (doc-view-saved-settings): New var.
6959 (doc-view-mode): Use it.
6960 (doc-view-fallback-mode): Set it.
6961
6962 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6963 Set lexical-binding.
6964 (minibuffer-eldef-shorten-default): New var.
6965 (minibuffer-default-in-prompt-regexps): Use it for new default.
6966 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6967
6968 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * international/uni-bidi.el:
6971 * international/uni-category.el:
6972 * international/uni-name.el:
6973 * international/uni-numeric.el: Regenerate.
6974
6975 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6976 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * profiler.el: New file.
6979
6980 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6983 (testcover-reinstrument): Simplify with CSE.
6984
6985 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6986
6987 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6988
6989 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6990
6991 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6992 (verilog-auto-input, verilog-auto-insert-lisp)
6993 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6994 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6995 (verilog-auto-unused, verilog-auto-wire)
6996 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6997 newline. Reported by Andrew Jones.
6998 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6999 Reported by Brad Dobbie.
7000 (verilog-batch-delete-trailing-whitespace):
7001 Create verilog-batch-delete-trailing-whitespace.
7002 Reported by Brad Dobbie.
7003 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7004 parameters from another module. Reported by Dan Katz.
7005 (verilog-auto, verilog-auto-assign-modport)
7006 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7007 AUTOINOUTMODPORT for UVM interface module shell generation.
7008 Reported by Brad Dobbie.
7009 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7010 standard behavior.
7011 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7012 Reported by Matt Martin.
7013
7014 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7015
7016 * window.el (window--resize-child-windows): When resizing child
7017 windows proportionally, process them in reverse order to
7018 preserve the "when splitting a window the new one gets the odd
7019 line" behavior.
7020 (window--resize-root-window-vertically): When resizing the
7021 minibuffer window try to affect only windows at the bottom of the
7022 frame. (Bug#12419)
7023
7024 2012-09-25 Chong Yidong <cyd@gnu.org>
7025
7026 * subr.el (declare): Doc fix.
7027
7028 * help-fns.el (help-fns--obsolete): Handle macros properly.
7029
7030 2012-09-25 Chong Yidong <cyd@gnu.org>
7031
7032 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7033 this function obsolete.
7034
7035 * calendar/cal-x.el (calendar-two-frame-setup)
7036 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7037 * calendar/calendar.el (american-calendar, european-calendar)
7038 (calendar-for-loop):
7039 * comint.el (comint-dynamic-simple-complete)
7040 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7041 * desktop.el (desktop-load-default):
7042 * dired-x.el (dired-omit-here-always)
7043 (dired-hack-local-variables, dired-default-directory):
7044 * emacs-lisp/derived.el (derived-mode-class):
7045 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7046 * emacs-lock.el (toggle-emacs-lock):
7047 * epa.el (epa-display-verify-result):
7048 * epg.el (epg-sign-keys, epg-start-sign-keys)
7049 (epg-passphrase-callback-function):
7050 * eshell/esh-util.el (eshell-for):
7051 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7052 (eshell-add-to-window-buffer-names):
7053 * files.el (locate-file-completion):
7054 * imenu.el (imenu-example--create-c-index)
7055 (imenu-example--create-lisp-index)
7056 (imenu-example--lisp-extract-index-name)
7057 (imenu-example--name-and-position):
7058 * international/mule-cmds.el (princ-list):
7059 * international/mule-diag.el (decode-codepage-char):
7060 * international/mule-util.el (detect-coding-with-priority):
7061 * iswitchb.el (iswitchb-read-buffer):
7062 * mail/mailalias.el (mail-complete):
7063 * mail/sendmail.el (mail-sent-via):
7064 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7065 (mouse-major-mode-menu):
7066 * password-cache.el (password-read-and-add):
7067 * pcomplete.el (pcomplete-parse-comint-arguments):
7068 * progmodes/sh-script.el (sh-maybe-here-document):
7069 * replace.el (query-replace-regexp-eval):
7070 * savehist.el (savehist-load):
7071 * simple.el (choose-completion-delete-max-match):
7072 * term.el (term-dynamic-simple-complete):
7073 * vc/ediff-init.el (ediff-check-version):
7074 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7075 * vc/vc.el (vc-diff-switches-list):
7076 * view.el (view-return-to-alist-update): Likewise.
7077
7078 * subr.el (eval-next-after-load, makehash, insert-string)
7079 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7080 mark obsolete.
7081 (mode-line-inverse-video): Variable deleted.
7082
7083 * international/mule-util.el (string-to-sequence): Remove.
7084
7085 * calendar/calendar.el (calendar-version):
7086 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7087 (icalendar-convert-diary-to-ical):
7088 * cus-edit.el (custom-mode):
7089 * ansi-color.el (ansi-color-unfontify-region):
7090 * international/latin1-disp.el (latin1-char-displayable-p):
7091 * progmodes/cwarn.el (turn-on-cwarn-mode):
7092 * progmodes/which-func.el (which-func-update-1):
7093 Use define-obsolete-function-alias.
7094
7095 * net/newst-backend.el (newsticker-cache-filename):
7096 * net/newst-treeview.el (newsticker-groups-filename):
7097 Fix incorrect obsolescence declaration.
7098
7099 * allout.el (allout-passphrase-hint-string): Likewise.
7100 (allout-init): Use a declare form to mark obsolete.
7101
7102 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7103 this applies to functions.
7104
7105 * iswitchb.el (iswitchb-read-buffer): Move code of
7106 iswitchb-define-mode-map here, and delete that obsolete function.
7107
7108 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7109 font-lock-reference-face.
7110
7111 2012-09-25 Glenn Morris <rgm@gnu.org>
7112
7113 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7114 Doc fixes.
7115
7116 * eshell/em-term.el (eshell-term-name):
7117 Default to term-term-name. (Bug#12485)
7118
7119 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7120
7121 * progmodes/python.el (python-shell-send-buffer): Better handling
7122 of "if __name__ == '__main__':" conditionals when sending the buffer.
7123
7124 2012-09-24 Glenn Morris <rgm@gnu.org>
7125
7126 * eshell/esh-cmd.el (eshell-find-alias-function):
7127 Tighten up file-name regexp. (Bug#12499)
7128
7129 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7130
7131 Enhancements for triple-quote string syntax.
7132 * progmodes/python.el (python-quote-syntax): Remove.
7133 (python-syntax-propertize-function): New value.
7134 (python-syntax-count-quotes, python-syntax-stringify):
7135 New functions.
7136
7137 2012-09-24 Chong Yidong <cyd@gnu.org>
7138
7139 * mail/supercite.el (sc-version): Remove obsolete function.
7140 (sc-describe): Don't mark as obsolete, since it is bound.
7141 (sc-submit-bug-report): Remove.
7142
7143 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7144 (cvs-commit-buffer-require-final-newline): Remove.
7145 (log-edit-require-final-newline)
7146 (log-edit-changelog-full-paragraphs): Default to t.
7147
7148 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7149 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7150 * vc/vc.el (vc-checkout-carefully): Likewise.
7151
7152 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7153 (emerge-version): Remove.
7154
7155 * progmodes/compile.el (compile-internal): Remove.
7156 (compilation-parse-errors-function): Fix typo.
7157
7158 * international/mule.el (set-char-table-default): Remove.
7159 (set-coding-priority, make-coding-system, generic-char-p)
7160 (charset-list, charset-bytes, charset-id): Use declare to mark
7161 functions as obsolete.
7162
7163 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7164 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7165 * vc/vc-hooks.el (vc-default-registered): Don't use
7166 vc-master-templates.
7167
7168 * font-lock.el (font-lock-reference-face):
7169 Use define-obsolete-variable-alias.
7170
7171 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7172 * calendar/calendar.el (calendar-font-lock-keywords):
7173 * calendar/diary-lib.el (diary-font-lock-keywords)
7174 (diary-fancy-font-lock-keywords):
7175 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7176 * textmodes/reftex-index.el (reftex-insert-index):
7177 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7178 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7179 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7180 * progmodes/prolog.el (prolog-font-lock-keywords):
7181 * progmodes/idlwave.el (idlwave-idl-keywords):
7182 * progmodes/ada-mode.el (ada-font-lock-keywords):
7183 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7184
7185 2012-09-24 Glenn Morris <rgm@gnu.org>
7186
7187 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7188
7189 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7190
7191 * progmodes/python.el (python-indent-line): More consistent cursor
7192 movement behavior.
7193
7194 2012-09-23 Stefan Merten <smerten@oekonux.de>
7195
7196 * textmodes/rst.el: Fix compiler warning.
7197
7198 2012-09-23 Roland Winkler <winkler@gnu.org>
7199
7200 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7201 Transcribe also LaTeX hyphenation.
7202 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7203 bibtex-reformat-previous-options.
7204
7205 2012-09-23 Roland Winkler <winkler@gnu.org>
7206
7207 * proced.el (proced-renice-command): New variable.
7208 (proced-marked-processes): New function.
7209 (proced-with-processes-buffer): New macro.
7210 (proced-send-signal): Use them.
7211 (proced-renice): New command bound to r.
7212
7213 2012-09-23 Roland Winkler <winkler@gnu.org>
7214
7215 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7216 ibuffer-saved-filter-groups has one element, shortcut the call of
7217 completing-read. (Bug#12331)
7218
7219 2012-09-23 Chong Yidong <cyd@gnu.org>
7220
7221 * bindings.el (mode-line-toggle-read-only):
7222 * bs.el (bs-toggle-readonly):
7223 * buff-menu.el (Buffer-menu-toggle-read-only):
7224 * dired.el (dired-toggle-read-only):
7225 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7226
7227 2012-09-23 Chong Yidong <cyd@gnu.org>
7228
7229 * image.el (image-type-available-p): Adapt to init-image-library
7230 argument changes.
7231
7232 2012-09-22 Juri Linkov <juri@jurta.org>
7233
7234 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7235 `dired-toggle-read-only'. (Bug#12462)
7236
7237 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7238
7239 * subr.el (temp-output-buffer-show): New function.
7240 (with-output-to-temp-buffer): Call temp-output-buffer-show
7241 instead of internal-temp-output-buffer-show.
7242
7243 2012-09-22 Chong Yidong <cyd@gnu.org>
7244
7245 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7246 (Bug#12462).
7247
7248 * repeat.el (repeat): Doc fix (Bug#12348).
7249
7250 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7251 (Bug#10909).
7252
7253 * simple.el (shell-command-on-region): Doc fix.
7254 (read-only-mode): Doc fix.
7255
7256 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7257
7258 * emacs-lisp/timer.el (run-with-idle-timer)
7259 (timer-activate-when-idle): Warn against reinvoking an idle timer
7260 from within its own timer action. (Bug#12447)
7261
7262 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7263
7264 * cus-start.el (window-combination-limit): Add new optional
7265 values.
7266 * window.el (temp-buffer-window-show)
7267 (window--try-to-split-window): Handle new values of
7268 window-combination-limit (Bug#1806).
7269 (split-window): Test window-combination-limit for t instead of
7270 non-nil.
7271 (display-buffer-at-bottom): New buffer display action function.
7272 * help.el (temp-buffer-resize-regexps): New option.
7273 (temp-buffer-resize-mode): Rewrite doc-string.
7274 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7275 Don't resize reused window. Suggested by Glenn Morris.
7276
7277 2012-09-22 Stefan Merten <smerten@oekonux.de>
7278
7279 * textmodes/rst.el: Revamp section title faces.
7280 (rst-official-version)
7281 (rst-package-emacs-version-alist): Sync with official version
7282 V1.4.0.
7283 (rst-faces-defaults, rst-set-level-default)
7284 (rst-level-face-max, rst-level-face-base-color)
7285 (rst-level-face-base-light, rst-level-face-format-light)
7286 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7287 (rst-adornment-faces-alist): Match new setup.
7288 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7289 (rst-level-5, rst-level-6): New faces.
7290
7291 2012-09-22 Chong Yidong <cyd@gnu.org>
7292
7293 * simple.el (undo): Handle indirect buffers (Bug#8207).
7294
7295 2012-09-21 Leo Liu <sdl.web@gmail.com>
7296
7297 IDO: Disable match re-ordering for buffer switching.
7298 * ido.el (ido-buffer-disable-smart-matches): New variable.
7299 (ido-set-matches-1): Use it. (Bug#2042)
7300
7301 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7302
7303 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7304 Fix 2011-05-17 change. (Bug#12418)
7305
7306 2012-09-21 Leo Liu <sdl.web@gmail.com>
7307
7308 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7309
7310 2012-09-21 Glenn Morris <rgm@gnu.org>
7311
7312 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7313 Be more robust about locating simple.el.
7314
7315 2012-09-21 Glenn Morris <rgm@gnu.org>
7316
7317 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7318
7319 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7320
7321 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7322
7323 2012-09-20 Juri Linkov <juri@jurta.org>
7324
7325 * replace.el (query-replace-read-from): Use `read-regexp' instead
7326 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7327 (occur-read-primary-args): Use `read-regexp' instead of
7328 `read-string'.
7329 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7330 `read-from-minibuffer'.
7331 * isearch.el (isearch-occur): Use `read-regexp' instead of
7332 `read-string'.
7333 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7334 `read-from-minibuffer'.
7335 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7336 of `read-string'. (Bug#7567)
7337
7338 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7339 and allow accepting a list of strings prepended to a list of
7340 standard default values. Doc fix. (Bug#12321)
7341
7342 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7343
7344 * replace.el (read-regexp): Don't add ": " when PROMPT already
7345 ends with a colon and space. (Bug#12321)
7346
7347 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7348
7349 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7350 error.
7351
7352 2012-09-20 Stefan Merten <smerten@oekonux.de>
7353
7354 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7355 Fixes feature request bug#11711.
7356 (rst-mode): Create `imenu-create-index-function'.
7357 (rst-get-stripped-line): Delete after refactoring.
7358 (rst-section-tree, rst-section-tree-rec)
7359 (rst-section-tree-point): Refactor and document properly.
7360 (rst-imenu-find-adornments-for-position)
7361 (rst-imenu-convert-cell, rst-imenu-create-index):
7362 New function.
7363
7364 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7367 (macroexp--expand-all): Use it.
7368 (macroexp--funcall-and-return): Remove by folding it into its sole
7369 caller (macroexp--warn-and-return).
7370 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7371 Use macroexp--obsolete-warning.
7372
7373 * calc/calc.el: Fix last change by removing the whole chunk, since it
7374 was only needed back when Calc was not bundled.
7375
7376 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7377
7378 * emacs-lisp/debug.el (debug): Restore assignment to
7379 debugger-old-buffer removed on 2012-09-08.
7380
7381 2012-09-20 Juri Linkov <juri@jurta.org>
7382
7383 * dired-aux.el (dired-diff): Remove (require 'diff) since
7384 `diff-latest-backup-file' is now autoloaded.
7385
7386 2012-09-20 Chong Yidong <cyd@gnu.org>
7387
7388 * vc/diff.el (diff-latest-backup-file): Autoload.
7389
7390 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * calc/calc.el: Remove redundant autoload shape check.
7393 (sel-mode): Don't defvar.
7394 (calc-get-stack-element): Add `sel-mode' arg instead.
7395 (calc-top, calc-top-list): Pass it this additional argument.
7396 * calc/calc-store.el (calc-store-map):
7397 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7398 (calc-map-equation, calc-outer-product, calc-inner-product):
7399 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7400
7401 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7402
7403 2012-09-19 Juri Linkov <juri@jurta.org>
7404
7405 * dired-aux.el (dired-diff): Add (require 'diff) because
7406 `diff-latest-backup-file' is not autoloaded.
7407 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7408 of `dired-get-filename' to t to not report error when there is
7409 no default file on the current line.
7410
7411 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7414 macroexp--eval-if-compile.
7415 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7416 (macroexp--expand-all): Use them (bug#12371).
7417
7418 * doc-view.el (doc-view-guess-paper-size)
7419 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7420
7421 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7422
7423 New feature: set optimal slice from BoundingBox information.
7424 * doc-view.el (doc-view-mode-map): Add keybinding.
7425 (doc-view-menu): Add menu entry.
7426 (doc-view-set-slice): Adapt docstring.
7427 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7428 (doc-view-scale-bounding-box)
7429 (doc-view-set-slice-from-bounding-box): New functions.
7430 (doc-view-paper-sizes): New defvar.
7431
7432 2012-09-19 Glenn Morris <rgm@gnu.org>
7433
7434 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7435 (byte-compile-log-warning): Autoload. (Bug#12371)
7436
7437 * calendar/calendar.el (calendar-american-month-header)
7438 (calendar-european-month-header, calendar-iso-month-header)
7439 (calendar-month-header): New options.
7440 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7441 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7442
7443 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7444
7445 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7446
7447 2012-09-18 Juri Linkov <juri@jurta.org>
7448
7449 * dired-aux.el (dired-diff): Restore original functionality of
7450 getting the default value, but keep new feature of using the
7451 latest existing backup file (`diff-latest-backup-file').
7452
7453 2012-09-18 Juri Linkov <juri@jurta.org>
7454
7455 * dired.el (dired-mark): If the region is active in Transient Mark
7456 mode, mark all files in the active region. Doc fix.
7457 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7458 Doc fix. (Bug#10624)
7459
7460 2012-09-18 Juri Linkov <juri@jurta.org>
7461
7462 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7463 attributes for M-n are pulled from the file at point.
7464 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7465 Suggested by Drew Adams. (Bug#10624)
7466
7467 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7468
7469 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7470 whitespace after "end".
7471 (ruby-do-end-to-brace): Collapse block to one line if it fits
7472 within fill-column.
7473
7474 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7475
7476 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7477 value.
7478 (debug): Don't remove debugger window when debugger is expected
7479 to be back.
7480
7481 2012-09-18 Chong Yidong <cyd@gnu.org>
7482
7483 * custom.el (defface): Doc fix.
7484
7485 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7486
7487 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7488
7489 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7490 to initialize query-on-exit; then test that instead (bug#12288).
7491
7492 2012-09-17 Stefan Merten <smerten@oekonux.de>
7493
7494 * textmodes/rst.el: Add support for `testcover'.
7495 (rst-defcustom-testcover, rst-testcover-add-compose)
7496 (rst-testcover-add-1value): New functions.
7497 (rst-portable-mark-active-p): Replace by `use-region-p'.
7498 (rst-update-section, rst-classify-adornment)
7499 (rst-find-title-line): Mark `1value' forms.
7500 (rst-classify-adornment): Remove superfluous form.
7501 (rst-update-section, rst-get-adornments-around)
7502 (rst-adornment-complete-p, rst-get-next-adornment)
7503 (rst-adjust, rst-promote-region)
7504 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7505 (rst-find-pfx-in-region, rst-section-tree-rec)
7506 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7507 (rst-toc-node, rst-toc, rst-forward-section)
7508 (rst-iterate-leftmost-paragraphs)
7509 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7510 (rst-bullet-list-region)
7511 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7512 (rst-compile-find-conf, rst-compile)
7513 (rst-repeat-last-character): Fix style.
7514
7515 2012-09-17 Chong Yidong <cyd@gnu.org>
7516
7517 * comint.el (comint--complete-file-name-data): Don't add a space
7518 if the status is `sole'; that adds a gratuitous space in the
7519 completion-cycling case (Bug#12092).
7520
7521 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7522
7523 2012-09-17 Richard Stallman <rms@gnu.org>
7524
7525 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7526 only in the mime-shown mode, not in raw mode.
7527 (rmail-mime): Toggle off mime by displaying the message without
7528 mime processing. (Bug#12305)
7529
7530 * mail/rmail.el (rmail-retry-failure):
7531 Turn off mime processing first. (Bug#12037)
7532
7533 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7534
7535 2012-09-17 Chong Yidong <cyd@gnu.org>
7536
7537 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7538 (shell-dynamic-complete-functions): Convert to defcustom.
7539 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7540
7541 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7542 * comint.el (comint-prompt-read-only):
7543 * custom.el (defcustom):
7544 * hi-lock.el (hi-lock-mode):
7545 * ibuffer.el (ibuffer-formats):
7546 * ielm.el (ielm-prompt-read-only):
7547 * novice.el (disable-command):
7548 * saveplace.el (toggle-save-place):
7549 * speedbar.el (speedbar-supported-extension-expressions):
7550 * startup.el (auto-save-list-file-prefix, init-file-user)
7551 (after-init-hook, inhibit-startup-echo-area-message):
7552 * strokes.el (strokes-help):
7553 * time-stamp.el (time-stamp):
7554 * calendar/calendar.el (calendar, diary-file):
7555 * calendar/diary-lib.el (diary-mail-entries, diary)
7556 (diary-list-entries-hook):
7557 * calendar/holidays.el (holidays, calendar-holidays):
7558 * calendar/lunar.el (lunar-phases):
7559 * calendar/solar.el (sunrise-sunset):
7560 * emulation/edt.el (edt-load-keys):
7561 * emulation/viper.el (viper-mode):
7562 * eshell/em-alias.el (eshell-command-aliases-list):
7563 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7564 * international/ogonek.el (ogonek-information):
7565 * net/tramp-cmds.el (tramp-bug):
7566 * net/quickurl.el (quickurl-reread-hook-postfix):
7567 * play/decipher.el (decipher-font-lock-keywords):
7568 * progmodes/cc-styles.el (c-set-style):
7569 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7570 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7571 * progmodes/octave-mod.el (octave-mode):
7572 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7573 * progmodes/verilog-mode.el (verilog-read-defines):
7574 * textmodes/two-column.el (2C-mode): Likewise.
7575
7576 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7577
7578 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7579 that holds many addresses.
7580
7581 2012-09-16 Chong Yidong <cyd@gnu.org>
7582
7583 * align.el (align-areas): Call the indication function with
7584 positions instead of markers for arguments (Bug#12343).
7585
7586 * files.el (parse-colon-path): Use split-string (Bug#12351).
7587
7588 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7589 (display-buffer-function): Mark as obsolete.
7590
7591 * progmodes/compile.el (compilation-parse-errors): Accept list
7592 values similar to font-lock-keywords (Bug#12136).
7593 Suggested by Oleksandr Manzyuk.
7594 (compilation-error-regexp-alist): Doc fix.
7595
7596 2012-09-15 Glenn Morris <rgm@gnu.org>
7597
7598 * version.el (emacs-bzr-version-bzr): New function.
7599 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7600
7601 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7602 checkouts, check the parent dirstate matches the branch.
7603 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7604 empty string.
7605
7606 * version.el (emacs-bzr-version): Doc fix.
7607 (emacs-bzr-version-dirstate): New function.
7608 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7609 is local try and check that it matches the branch. If not, just
7610 use dirstate information. (Bug#12441)
7611
7612 2012-09-14 Juri Linkov <juri@jurta.org>
7613
7614 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7615 (Bug#12399)
7616
7617 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7620
7621 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7622 Remove obsolete byte-compiler hack that tried to silence some warnings.
7623 (edebug-submit-bug-report): Remove.
7624 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7625 Remove aliases, use the un-prefixed name instead.
7626 (edebug-pop-to-buffer): Consider other frames.
7627 (edebug-original-read):: Make it more obvious that it's always defined.
7628 (edebug--make-form-data-entry, edebug--form-data-name)
7629 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7630 single-dashed name, and implement with cl-defstruct.
7631 (edebug-set-form-data-entry): Use the standard accessors.
7632 (edebug-make-top-form-data-entry): Use push.
7633 (edebug-no-match): Drop useless `funcall'.
7634 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7635 to functions.
7636 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7637 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7638 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7639 (easy-menu-define, with-custom-print): Remove redundant specs.
7640 (edebug-outside-overriding-local-map)
7641 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7642 (edebug--display): Bind unread-command-events directly to nil rather
7643 than binding it to unread-command-events and later setting it to nil.
7644 (edebug--display): Kill edebug-eval-buffer here...
7645 (edebug--recursive-edit): ...rather than here.
7646 Bind standard-output and standard-input.
7647 (edebug-eval): Check cl-macroexpand-all is fboundp.
7648 (edebug-temp-display-freq-count): Fix last change.
7649
7650 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7651 * subr.el (noreturn, 1value): Add `debug' spec.
7652 * emacs-lisp/advice.el: Require cl-lib.
7653 (ad-copy-tree): Remove, use copy-tree instead.
7654 (ad-dolist): Remove use dolist or cl-dolist instead.
7655 (ad-do-return): Remove, use cl-return instead.
7656 (defadvice): Add `debug' spec.
7657
7658 2012-09-13 Juri Linkov <juri@jurta.org>
7659
7660 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7661 (Bug#12399)
7662
7663 2012-09-13 Glenn Morris <rgm@gnu.org>
7664
7665 * calc/calc.el (math-compose-expr):
7666 * calc/calc-ext.el (math-compose-expr):
7667 * progmodes/cc-defs.el (cl-macroexpand-all):
7668 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7669 (cl-macroexpand-all): Update declarations.
7670
7671 * vc/vc.el: No need to require ediff.
7672 (ediff-load-version-control): Declare.
7673 (ediff-vc-internal): Fix declaration.
7674 (vc-version-ediff): Require ediff.
7675
7676 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7677
7678 Use a more backwards-compatible timer format (Bug#12430).
7679 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7680 being right after USECS, as that better supports old code that
7681 inadvisedly looked directly at the timer vector.
7682
7683 2012-09-13 Kenichi Handa <handa@gnu.org>
7684
7685 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7686 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7687 `coding-priority' property of these language environment.
7688
7689 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7690
7691 Fix glitches caused by addition of psec to timers (Bug#12430).
7692 * image.el (image-animate-timer):
7693 * time.el (display-time-world-timer):
7694 Use timer--function and timer--args rather than raw access to
7695 timer vector.
7696
7697 2012-09-13 Glenn Morris <rgm@gnu.org>
7698
7699 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7700 If not compiling a file, try using load-file-name.
7701
7702 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7705 Fix last change.
7706 (edebug-update-eval-list): Use `push'.
7707
7708 * emacs-lisp/edebug.el: Use lexical-binding.
7709 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7710 Mark unused args with underscore.
7711 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7712 (edebug-form-data): Use defvar-local.
7713 (edebug-make-before-and-after-form, edebug-make-after-form):
7714 Use backquote.
7715 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7716 Not dynamically scoped any more.
7717 (edebug--enter-trace): Add arguments `function' and `args'.
7718 Rename from edebug-enter-trace.
7719 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7720 (edebug--update-coverage): Add `after-index' and `value' args.
7721 Rename from edebug-update-coverage.
7722 (edebug-slow-after): Call it accordingly.
7723 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7724 edebug-recursive-edit.
7725 (edebug--display): Call it accordingly. Add args `value',
7726 `offset-index', and `arg-mode'. Rename from edebug-display.
7727 (edebug-debugger, edebug): Call it accordingly.
7728 (edebug-eval-display-list): Use dolist.
7729
7730 2012-09-12 Juri Linkov <juri@jurta.org>
7731
7732 * info.el (Info-search): Don't check for isearch-mode and
7733 isearch-regexp before let-binding search-spaces-regexp to
7734 Info-search-whitespace-regexp.
7735 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7736 search-whitespace-regexp if isearch-lax-whitespace or
7737 isearch-regexp-lax-whitespace is non-nil.
7738 (Info-mode): Don't set local variable search-whitespace-regexp.
7739 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7740
7741 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7744 (debugger-env-macro): Remove support for unread-command-char.
7745
7746 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7747 the temporary map re-appearing on emulation-mode-map-alists.
7748
7749 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7750 since 22.1.
7751
7752 * ehelp.el (with-electric-help): Accept functions in
7753 electric-help-form-to-execute.
7754 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7755 And replace unread-command-char -> unread-command-events.
7756
7757 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7758
7759 Sync with Tramp 2.2.6.
7760
7761 * net/tramp.el (tramp-accept-process-output): Don't use
7762 JUST-THIS-ONE in the XEmacs case.
7763
7764 * net/trampver.el: Update release number.
7765
7766 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7767
7768 * emacs-lisp/debug.el (debugger-previous-window-height):
7769 New variable.
7770 (debug): When debugger-jumping-flag is non-nil try to restore
7771 height of debugger window. (Bug#8789)
7772
7773 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7776 overriding-local-map and pre/post-command-hook here.
7777 (edebug-recursive-edit): Do it here instead (bug#12345).
7778 (edebug-outside-unread-command-char): Remove all uses of
7779 unread-command-char.
7780
7781 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7782 inhibit-debugger is bound instead.
7783
7784 2012-09-11 Bastien Guerry <bzg@gnu.org>
7785
7786 * subr.el (set-temporary-overlay-map): Add a docstring.
7787 (Bug#12346)
7788
7789 2012-09-11 Bastien Guerry <bzg@gnu.org>
7790
7791 * minibuffer.el (completion-table-subvert): Fix docstring.
7792 (Bug#12347)
7793
7794 2012-09-11 Bastien Guerry <bzg@gnu.org>
7795
7796 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7797
7798 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7799
7800 * progmodes/sql.el: Version 3.1
7801 (sql-db2-escape-newlines): New variable.
7802 (sql-escape-newlines-filter): Use it.
7803
7804 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7807
7808 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7809
7810 * vc/diff-mode.el (diff-mode-menu):
7811 Bind diff-remove-trailing-whitespace.
7812
7813 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7816 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7817 (emacs-lisp-byte-code-mode): New functions.
7818 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7819 (eval-defun-2): Remove bogus interactive spec.
7820 (lisp-indent-line): Remove redundant whole-exp code, now done in
7821 indent-according-to-mode.
7822 (save-match-data): Remove redundant indent data.
7823
7824 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7825 Use `declare'.
7826
7827 2012-09-09 Juri Linkov <juri@jurta.org>
7828
7829 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7830 (replace-lax-whitespace, query-replace-regexp)
7831 (query-replace-regexp-eval, replace-regexp): Doc fix.
7832 (perform-replace, replace-highlight): Let-bind
7833 isearch-lax-whitespace to replace-lax-whitespace and
7834 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7835
7836 * isearch.el (isearch-query-replace): Let-bind
7837 replace-lax-whitespace to isearch-lax-whitespace and
7838 replace-regexp-lax-whitespace to
7839 isearch-regexp-lax-whitespace. (Bug#10885)
7840
7841 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7844
7845 2012-09-09 Alan Mackenzie <acm@muc.de>
7846
7847 * progmodes/cc-engine.el (c-state-cache-init):
7848 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7849 (c-record-parse-state-state):
7850 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7851
7852 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7853
7854 * register.el (register-separator): Rename from
7855 separator-register. All uses changed. Doc fix.
7856 (register): Fix version.
7857
7858 2012-09-09 Chong Yidong <cyd@gnu.org>
7859
7860 * replace.el (query-replace-map): Bind four new symbols for
7861 requesting window scrolling.
7862
7863 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7864 query-replace-map (Bug#8948).
7865
7866 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7867
7868 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7869 since they are now in query-replace-map.
7870
7871 * window.el (scroll-other-window-down): Make the arg optional.
7872
7873 2012-09-09 Chong Yidong <cyd@gnu.org>
7874
7875 * files.el (hack-local-variables-confirm): Use quit-window to kill
7876 the *Local Variables* buffer.
7877
7878 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7879
7880 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7881 not just expect to be at its beginning. Adjust callees.
7882 Succeed when do-end block has no space before the pipe character.
7883 (ruby-brace-to-do-end): When the original block is one-liner,
7884 convert to multiline. Reindent the result.
7885
7886 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7887
7888 * register.el (register): New group.
7889 (separator-register): New user option.
7890 (increment-register): Route it to `append-to-register', if
7891 register contains text. Implication is that `C-x r +' can now be
7892 used for appending to a text register (bug#12217).
7893 (append-to-register, prepend-to-register): Add separator based on
7894 `separator-register'.
7895
7896 2012-09-08 Alan Mackenzie <acm@muc.de>
7897
7898 AWK Mode: make auto-newline work when there's "==" in the pattern.
7899 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7900 correctly.
7901 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7902 Test more rigorously for "=" token.
7903
7904 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7905
7906 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7907 Only fail when reached LIMIT.
7908
7909 2012-09-08 Chong Yidong <cyd@gnu.org>
7910
7911 * dired.el (dired-mode-map): Don't bind M-=.
7912
7913 * dired-aux.el (dired-diff): Use backup file as default.
7914
7915 2012-09-08 Drew Adams <drew.adams@oracle.com>
7916
7917 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7918
7919 2012-09-08 Chong Yidong <cyd@gnu.org>
7920
7921 * subr.el (syntax-after, syntax-class): Doc fix.
7922
7923 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7924
7925 * window.el (display-buffer-in-previous-window): New buffer
7926 display action function.
7927
7928 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7929 (debugger-previous-window): New variable.
7930 (debug): Rewrite using display-buffer-in-previous-window,
7931 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7932
7933 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7936
7937 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7938
7939 * progmodes/python.el (python-shell-send-string):
7940 When default-directory is remote, create temp file on remote
7941 filesystem.
7942 (python-shell-send-file): When file is remote, pass local view of
7943 file paths to remote Python interpreter. (Bug#12340)
7944
7945 2012-09-07 Chong Yidong <cyd@gnu.org>
7946
7947 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7948
7949 * files.el (after-find-file): Don't fail on a read-only buffer if
7950 require-final-newline is `visit' or `visit-save' (Bug#11156).
7951
7952 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7953
7954 * userlock.el (ask-user-about-supersession-threat):
7955 Use read-char-choice (Bug#12093).
7956
7957 2012-09-07 Chong Yidong <cyd@gnu.org>
7958
7959 * subr.el (buffer-narrowed-p): New function.
7960
7961 * ses.el (ses-widen):
7962 * simple.el (count-words--buffer-message):
7963 * net/browse-url.el (browse-url-of-buffer): Use it.
7964
7965 * simple.el (count-words-region): Don't signal an error if there
7966 is a non-nil prefix arg and the mark is not set.
7967
7968 * help.el (describe-key-briefly): Allow the message to be seen
7969 when invoked from the minibuffer (Bug#7014).
7970
7971 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7972
7973 * progmodes/ruby-mode.el (ruby-end-of-defun)
7974 (ruby-beginning-of-defun): Simplify, allow indentation before
7975 block beginning and end keywords.
7976 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7977 (ruby-end-of-defun): Expect that the point is at the beginning of
7978 the defun.
7979
7980 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7983 (bug#12367).
7984 (cl--make-usage-args): Strip _ from argument names.
7985
7986 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7987
7988 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7989 obsolete alias speedbar-key-map.
7990 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7991 (vhdl-index-menu-init): Don't use obsolete variable
7992 font-lock-maximum-size.
7993
7994 2012-09-06 Chong Yidong <cyd@gnu.org>
7995
7996 * frame.el (window-system-version): Mark as obsolete.
7997
7998 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7999 of obsolete variable speedbar-key-map.
8000
8001 2012-09-06 Juri Linkov <juri@jurta.org>
8002
8003 * replace.el (replace-lax-whitespace): New defcustom.
8004 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8005 (replace-string, replace-regexp): Mention it in docstrings.
8006 (perform-replace, replace-highlight): Let-bind
8007 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8008 to the values of replace-lax-whitespace and regexp-flag.
8009 Don't let-bind search-whitespace-regexp. (Bug#10885)
8010
8011 * isearch.el (isearch-query-replace): Let-bind
8012 replace-lax-whitespace instead of let-binding
8013 replace-search-function and replace-re-search-function.
8014 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8015 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8016 (isearch-toggle-symbol): Set isearch-regexp to nil
8017 in isearch-word mode (like in isearch-toggle-word).
8018
8019 2012-09-06 Juri Linkov <juri@jurta.org>
8020
8021 * replace.el (replace-search-function)
8022 (replace-re-search-function): Set default values to nil.
8023 (perform-replace): Let-bind isearch-related variables based on
8024 replace-related values, call `isearch-search-fun' and let-bind
8025 the result to `search-function'. Remove code that sets
8026 `search-function' and `search-string' separately for
8027 `delimited-flag'.
8028 (replace-highlight): Add new argument `delimited-flag' and
8029 rename other arguments to the names used in `perform-replace'.
8030 Let-bind `isearch-word' to the argument `delimited-flag'.
8031 (Bug#10885, bug#10887)
8032
8033 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8034
8035 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8036 ruby-beginning-of-indent, simplify, allow all keywords to have
8037 indentation before them.
8038 (ruby-beginning-of-indent): Adjust for above. Search until the
8039 found point is not inside a string or comment.
8040 (ruby-font-lock-keywords): Allow symbols to start with "@"
8041 character, give them higher priority than variables.
8042 (ruby-syntax-propertize-function)
8043 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8044 matchers. Expression expansions are not comments when inside a
8045 string, and there comment syntax status is irrelevant.
8046 (ruby-match-expression-expansion): New function. Check that
8047 expression expansion is inside a string, and it's not escaped.
8048 (ruby-font-lock-keywords): Use it.
8049
8050 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8051
8052 * help.el (temp-buffer-max-height): New default value.
8053 (temp-buffer-resize-frames): New option.
8054 (resize-temp-buffer-window): Optionally resize frame.
8055
8056 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8057 (fit-frame-to-buffer): New function.
8058
8059 2012-09-05 Glenn Morris <rgm@gnu.org>
8060
8061 * emulation/cua-rect.el (cua--init-rectangles):
8062 * textmodes/picture.el (picture-mode-map):
8063 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8064 like forward-char and backward-char. (Bug#12317)
8065
8066 2012-09-05 Leo Liu <sdl.web@gmail.com>
8067
8068 * progmodes/flymake.el (flymake-warning-re): New variable.
8069 (flymake-parse-line): Use it.
8070
8071 2012-09-05 Glenn Morris <rgm@gnu.org>
8072
8073 * calendar/holidays.el (holiday-christian-holidays):
8074 Rename an entry. (Bug#12289)
8075
8076 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8079 (bug#12222).
8080
8081 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * loadup.el: Load macroexp. Remove hack.
8084 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8085 (macroexp--expand-all): Use it to get better warnings.
8086 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8087 (internal-macroexpand-for-load): New functions.
8088 (macroexp--pending-eager-loads): New var.
8089 (emacs-startup-hook): New hack to replace one in loadup.el.
8090 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8091 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8092 (cl-psetf): Simplify.
8093 (cl-defstruct): Add indent rule.
8094
8095 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8096
8097 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8098 over `user-mail-address' for the SMTP MAIL FROM envelope.
8099 (smtpmail-via-smtp): Ditto.
8100
8101 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8102
8103 * progmodes/ruby-mode.el: Clean up keybindings.
8104 (ruby-mode-map): Don't bind ruby-electric-brace,
8105 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8106 backward-kill-word, reindent-then-newline-and-indent.
8107 (ruby-mark-defun): Remove.
8108 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8109 (ruby-mode): Set local beginning-of-defun-function and
8110 end-of-defun-function values.
8111
8112 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8113
8114 * window.el (temp-buffer-window-setup-hook)
8115 (temp-buffer-window-show-hook): New hooks.
8116 (temp-buffer-window-setup, temp-buffer-window-show)
8117 (with-temp-buffer-window): New functions.
8118 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8119 (special-display-popup-frame): Make sure the window used shows BUFFER.
8120
8121 * help.el (temp-buffer-resize-mode): Fix doc-string.
8122 (resize-temp-buffer-window): New optional argument WINDOW.
8123
8124 * files.el (recover-file, save-buffers-kill-emacs):
8125 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8126
8127 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8128
8129 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8130 remote definition of `default-directory', ensure we can connect.
8131
8132 2012-09-02 Juri Linkov <juri@jurta.org>
8133
8134 Toggle whitespace matching mode with M-s SPC.
8135 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8136
8137 * isearch.el (search-whitespace-regexp): Doc fix.
8138 Remove cons cell customization.
8139 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8140 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8141 New variables.
8142 (isearch-forward, isearch-forward-regexp): Doc fix.
8143 (isearch-toggle-lax-whitespace): New command.
8144 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8145 (re-search-forward-lax-whitespace)
8146 (re-search-backward-lax-whitespace): New functions.
8147 (isearch-whitespace-regexp): Remove function.
8148 (isearch-query-replace): Let-bind replace-search-function and
8149 replace-re-search-function.
8150 (isearch-occur): Let-bind search-spaces-regexp according to the
8151 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8152 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8153 condition for C-q SPC.
8154 (isearch-search-fun-default): Use new functions mentioned above.
8155 (isearch-search-forward, isearch-search-backward): Remove functions.
8156 (isearch-search): Don't let-bind search-spaces-regexp.
8157 (isearch-lazy-highlight-space-regexp): Remove variable.
8158 (isearch-lazy-highlight-lax-whitespace)
8159 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8160 (isearch-lazy-highlight-new-loop): Use them.
8161 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8162
8163 2012-09-02 Chong Yidong <cyd@gnu.org>
8164
8165 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8166
8167 2012-09-02 Glenn Morris <rgm@gnu.org>
8168
8169 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8170
8171 2012-09-01 Glenn Morris <rgm@gnu.org>
8172
8173 * term.el: Tidy up menu definitions.
8174 (term-mode-map): Use easymenu for In/Out, Complete menus.
8175 (term-pager-break-map): Initialize in the defvar.
8176 (term-terminal-menu, term-signals-menu): Define with easymenu.
8177 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8178 (term-pager-menu): New, extracted from term-process-pager.
8179 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8180 (term-update-mode-line): Propertize line/char and page items.
8181 (term-process-pager): Move keymap initialization elsewhere.
8182
8183 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8184
8185 * window.el (switch-to-prev-buffer): Handle additional values of
8186 BURY-OR-KILL argument. Don't switch in minibuffer window.
8187 (switch-to-next-buffer): Don't switch in minibuffer window.
8188 (quit-restore-window): New function based on quit-window.
8189 Handle additional values of former KILL argument.
8190 (quit-window): Call quit-restore-window with appropriate
8191 interpretation of KILL argument.
8192 (display-buffer-below-selected): New buffer display action
8193 function.
8194
8195 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * minibuffer.el (completion-at-point-functions): Complete docstring
8198 (bug#12254).
8199
8200 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8201
8202 Better seed support for (random).
8203 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8204 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8205 * play/mpuz.el, play/tetris.el, play/zone.el:
8206 * calc/calc-comb.el (math-init-random-base):
8207 * play/blackbox.el (bb-init-board):
8208 * play/life.el (life):
8209 * server.el (server-use-tcp):
8210 * type-break.el (type-break):
8211 Remove unnecessary call to (random t).
8212 * net/sasl.el (sasl-unique-id-function):
8213 Change (random t) to (random), now that the latter is more random.
8214 * play/life.el (life-initialized): Remove no-longer-needed var.
8215
8216 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8217
8218 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8219 Consider frame's buffer predicate when choosing the buffer.
8220 (Bug#12081)
8221
8222 2012-08-30 Richard Stallman <rms@gnu.org>
8223
8224 * simple.el (special-mode-map): Delete binding for `z'.
8225
8226 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8227
8228 * progmodes/compile.el (compilation-always-kill): Doc fix.
8229
8230 2012-08-30 Chong Yidong <cyd@gnu.org>
8231
8232 * window.el (display-buffer-reuse-frames): Make the obsolescence
8233 message more informative.
8234
8235 2012-08-30 Glenn Morris <rgm@gnu.org>
8236
8237 * paren.el (show-paren-delay):
8238 Add a :set function. Doc fix. (Bug#12297)
8239
8240 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8241
8242 * progmodes/compile.el (compilation-always-kill): New var.
8243 (compilation-start): Use it.
8244
8245 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8246
8247 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8248 * files.el (read-only-mode): Move to simple.el.
8249
8250 * files.el (read-only-mode): New minor mode.
8251 (toggle-read-only): Use it and mark obsolete.
8252 (find-file--read-only):
8253 * vc/vc.el (vc-next-action, vc-checkout):
8254 * vc/vc-cvs.el (vc-cvs-checkout):
8255 * obsolete/vc-mcvs.el (vc-mcvs-update):
8256 * ffap.el (ffap--toggle-read-only): Update callers.
8257
8258 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8259
8260 * eshell/esh-ext.el (eshell-external-command): Do not examine
8261 remote shell scripts.
8262 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8263
8264 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8265 "/usr/local/sbin".
8266
8267 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8270
8271 2012-08-28 Leo Liu <sdl.web@gmail.com>
8272
8273 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8274 completion-at-point. (Bug#12220)
8275
8276 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8277
8278 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8279
8280 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8283 be buffer-local; add delete-trailing-whitespace (bug#12259).
8284
8285 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8286
8287 * progmodes/hideif.el (hif-compress-define-list):
8288 Fix typo. (Bug#11951)
8289
8290 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8291
8292 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8293 buffer local setting.
8294
8295 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8296 rcirc-encode-coding-system.
8297
8298 2012-08-28 Leo Liu <sdl.web@gmail.com>
8299
8300 * net/rcirc.el (rcirc-split-message): New function.
8301 (rcirc-send-message): Use it. (Bug#12051)
8302
8303 2012-08-28 Juri Linkov <juri@jurta.org>
8304
8305 * info.el (Info-fontify-node): Hide empty lines at the end of
8306 the node. (Bug#12272)
8307
8308 2012-08-27 Drew Adams <drew.adams@oracle.com>
8309
8310 * dired.el (dired-pop-to-buffer): Make window start at beginning
8311 of buffer (Bug#12281).
8312
8313 2012-08-26 Chong Yidong <cyd@gnu.org>
8314
8315 * window.el (special-display-regexps, special-display-frame-alist)
8316 (special-display-buffer-names, special-display-function)
8317 (display-buffer-reuse-frames): Mark as obsolete.
8318
8319 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8320
8321 * help.el (help-print-return-message): Don't treat
8322 display-buffer-reuse-frames specially.
8323
8324 2012-08-26 Chong Yidong <cyd@gnu.org>
8325
8326 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8327 New variable, replacing gdb-frame-parameters.
8328 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8329 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8330 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8331 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8332 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8333 the functions directly with gdb-display-buffer-other-frame-action.
8334 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8335 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8336 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8337 (gdb-display-registers-buffer): Define directly.
8338 (def-gdb-display-buffer): Macro deleted.
8339 (gdb-display-buffer): Remove second and third args, callers don't
8340 use them. Defer to the default display-buffer behavior, apart
8341 from making windows dedicated.
8342 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8343
8344 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8345
8346 * window.el (display-buffer-pop-up-frame): Handle a
8347 pop-up-frame-parameters alist entry.
8348 (display-buffer): Document it.
8349
8350 2012-08-26 Chong Yidong <cyd@gnu.org>
8351
8352 * isearch.el (search-whitespace-regexp): Make string and nil
8353 values apply to both ordinary and regexp search. Allow a cons
8354 cell value to distinguish between the two.
8355 (isearch-whitespace-regexp, isearch-search-forward)
8356 (isearch-search-backward): New functions.
8357 (isearch-occur, isearch-search-fun-default, isearch-search)
8358 (isearch-lazy-highlight-new-loop): Use them.
8359 (isearch-forward, isearch-forward-regexp): Doc fix.
8360
8361 2012-08-26 Chong Yidong <cyd@gnu.org>
8362
8363 * faces.el (help-argument-name): Always inherit from italic
8364 (Bug#12213).
8365
8366 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8367
8368 * window.el (window--even-window-heights): Even heights when
8369 WINDOW and the selected window form a vertical combination.
8370 (display-buffer-use-some-window): Provide that window used gets
8371 sized back by quit-window. (Bug#11880) and (Bug#12091)
8372
8373 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8374
8375 Fix file time stamp problem with bzr and CVS (Bug#12001).
8376 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8377 in the file's time stamp, since the version control system loses
8378 that information.
8379
8380 2012-08-22 Juri Linkov <juri@jurta.org>
8381
8382 * info.el (Info-fontify-node): Hide the suffix of the
8383 Info file name in the header line. (Bug#12187)
8384
8385 2012-08-22 Glenn Morris <rgm@gnu.org>
8386
8387 * calendar/cal-tex.el (cal-tex-weekly-common):
8388 Restore leading blank page.
8389
8390 2012-08-22 Le Wang <l26wang@gmail.com>
8391
8392 * misc.el (forward-to-word, backward-to-word): Activate or extend
8393 the region under `shift-select-mode'. (Bug#12231)
8394
8395 2012-08-22 Bastien Guerry <bzg@gnu.org>
8396
8397 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8398 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8399 gives details on why the space is never needed.
8400
8401 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8402
8403 * window.el (walk-window-tree, window-with-parameter):
8404 New optional argument MINIBUF to control whether these functions
8405 should run on the minibuffer window.
8406 (window-at-side-list): Don't operate on minibuffer window.
8407 (window-in-direction): Simplify and rewrite doc-string.
8408 (window--size-ignore): Rename to window--size-ignore-p.
8409 Update callers.
8410 (display-buffer-in-atom-window, window--major-non-side-window)
8411 (window--major-side-window, display-buffer-in-major-side-window)
8412 (delete-side-window, display-buffer-in-side-window):
8413 New functions.
8414 (window--side-check, window-deletable-p, delete-window)
8415 (delete-other-windows, split-window): Handle side windows and
8416 atomic windows appropriately.
8417 (window--display-buffer): Call display-buffer-record-window also
8418 when the window buffer did not change.
8419
8420 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8421
8422 * help-fns.el (help-fns--key-bindings):
8423 Abbreviate non-symbol remap targets. (Bug#12174)
8424
8425 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8426
8427 * dired.el (dired-mark-remembered): Don't clobber point.
8428 (Bug#11795)
8429
8430 2012-08-22 Glenn Morris <rgm@gnu.org>
8431
8432 * progmodes/bug-reference.el (bug-reference): New custom group.
8433 (bug-reference-bug-regexp): Make it a defcustom.
8434
8435 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8436
8437 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8438 (js-paren-indent-offset, js-square-indent-offset)
8439 (js-curly-indent-offset): Add :safe (Bug#12257).
8440
8441 2012-08-22 Edward O'Connor <hober0@gmail.com>
8442
8443 * json.el (json-key-format): Add error properties.
8444 (json-encode-key): New function.
8445 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8446 Use json-encode-key.
8447
8448 2012-08-22 Glenn Morris <rgm@gnu.org>
8449
8450 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8451 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8452 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8453 Update for above change.
8454
8455 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8456
8457 * cus-face.el (custom-face-attributes): Fix customize type for the
8458 :underline attribute. (Bug#11805)
8459
8460 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8461
8462 * window.el (window-point-1, set-window-point-1): Remove.
8463 (window-in-direction, record-window-buffer)
8464 (set-window-buffer-start-and-point, split-window-below)
8465 (window--state-get-1, display-buffer-record-window):
8466 Replace calls to window-point-1 and set-window-point-1 by calls to
8467 window-point and set-window-point respectively.
8468
8469 2012-08-21 Glenn Morris <rgm@gnu.org>
8470
8471 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8472 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8473 Use it.
8474
8475 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8476 (cal-tex-shortday): New function.
8477 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8478 (cal-tex-cursor-filofax-daily): Use the above.
8479
8480 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8481 New functions.
8482 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8483 (cal-tex-cursor-filofax-week): Use them.
8484
8485 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8486 New constants.
8487 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8488 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8489
8490 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8491 (cal-tex-end-document): Don't rely on buffer name.
8492
8493 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8494 Use cal-tex-vspace.
8495 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8496 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8497 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8498 Use cal-tex-arg.
8499
8500 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8501 (cal-tex-cursor-week, cal-tex-cursor-week2)
8502 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8503 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8504 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8505 (cal-tex-insert-preamble, cal-tex-b-document)
8506 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8507 Improve cal-tex-cmd usage.
8508
8509 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8510 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8511 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8512 (cal-tex-weekly-paper): New function.
8513 (cal-tex-cursor-week, cal-tex-cursor-week2)
8514 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8515 (cal-tex-cursor-day): Use it.
8516
8517 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8518 (cal-tex-cursor-filofax-week): Remove leading blank page.
8519
8520 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8521 Add autoload cookie. For now at least, don't use color, since
8522 no other cal-tex function does.
8523
8524 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8525 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8526 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8527
8528 2012-08-21 Juri Linkov <juri@jurta.org>
8529
8530 * info.el (Info-file-attributes): New variable.
8531 (info-insert-file-contents): Add file attributes to
8532 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8533 `Info-toc-nodes' when previous modtime of the Info file is less
8534 than new modtime.
8535 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8536 of info.el. (Bug#12230)
8537
8538 2012-08-20 Glenn Morris <rgm@gnu.org>
8539
8540 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8541 * calendar/holidays.el (calendar-holiday-list):
8542 Report errors with display-warning rather than beep'n'sleep.
8543
8544 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * net/tramp.el (tramp-accept-process-output): Accept only output
8547 from PROC. Otherwise, process filters and sentinels might be
8548 confused. (Bug#12145)
8549
8550 2012-08-20 Chong Yidong <cyd@gnu.org>
8551
8552 * descr-text.el (describe-text-properties-1): Use overlays-in to
8553 report on empty overlays (Bug#3322).
8554
8555 2012-08-20 Glenn Morris <rgm@gnu.org>
8556
8557 * mail/rmailout.el (rmail-output-read-file-name):
8558 Trap and report errors in rmail-output-file-alist elements.
8559
8560 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8561 since most non-font-lock faces are not also variables).
8562
8563 2012-08-20 Edward Reingold <reingold@iit.edu>
8564
8565 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8566 New function. (Bug12160)
8567
8568 2012-08-19 Glenn Morris <rgm@gnu.org>
8569
8570 * mail/rmailout.el (rmail-output-read-file-name):
8571 Fix previous change (when the alist is nil or does not match).
8572
8573 2012-08-19 Chong Yidong <cyd@gnu.org>
8574
8575 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8576 (Bug#12228).
8577
8578 2012-08-18 Chong Yidong <cyd@gnu.org>
8579
8580 * simple.el (yank-handled-properties): New defcustom.
8581 (yank-excluded-properties): Add font-lock-face and category.
8582 (yank): Doc fix.
8583
8584 * subr.el (remove-yank-excluded-properties):
8585 Obey yank-handled-properties. The special handling of font-lock-face
8586 and category is now done this way, instead of being hard-coded.
8587 (insert-for-yank-1): Remove font-lock-face handling.
8588 (yank-handle-font-lock-face-property)
8589 (yank-handle-category-property): New function.
8590
8591 2012-08-17 Glenn Morris <rgm@gnu.org>
8592
8593 * mail/rmailout.el (rmail-output-read-file-name):
8594 Check rmail-output-file-alist against the full message body
8595 in the correct rmail buffer. (Bug#12214)
8596
8597 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8598
8599 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8600 Eliminate superfluous prompt. (Bug#12203)
8601
8602 2012-08-17 Chong Yidong <cyd@gnu.org>
8603
8604 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8605 font spec, set the font directly (Bug#3228).
8606
8607 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8608
8609 * window.el (delete-window): Fix last fix.
8610
8611 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8612
8613 * window.el (window-valid-p): Move to window.c.
8614 (window-child, window-child-count, window-last-child)
8615 (window-normalize-window, window-combined-p)
8616 (window-combinations, window-atom-root, window-min-size)
8617 (window-sizable, window-sizable-p, window-size-fixed-p)
8618 (window-min-delta, window-max-delta, window--resizable)
8619 (window--resizable-p, window-resizable, window-total-size)
8620 (window-full-height-p, window-full-width-p, window-body-size)
8621 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8622 (minimize-window, window-deletable-p, delete-window)
8623 (delete-other-windows, set-window-buffer-start-and-point)
8624 (next-buffer, previous-buffer, split-window, balance-windows-2)
8625 (set-window-text-height, window-buffer-height)
8626 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8627 (truncated-partial-width-window-p): Minor code adjustments.
8628 In doc-strings state whether the argument window has to denote a
8629 live, valid or any window.
8630
8631 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8632
8633 * progmodes/subword.el (subword-forward-function)
8634 (subword-backward-function, subword-forward-regexp)
8635 (subword-backward-regexp): New variables.
8636 (subword-forward, subword-forward-internal, subword-backward-internal):
8637 Use new variables, eg so that different "word" definitions
8638 can be easily used. (Bug#11411)
8639
8640 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8643 for composite selectors.
8644 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8645 operation just because we can't find a previous revision.
8646
8647 2012-08-15 Chong Yidong <cyd@gnu.org>
8648
8649 * frame.el (set-frame-font): Accept font objects.
8650
8651 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8654
8655 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8656
8657 * man.el (Man-overstrike-face, Man-underline-face)
8658 (Man-reverse-face): Remove variables.
8659 (Man-overstrike, Man-underline, Man-reverse): New faces.
8660 (Man-fontify-manpage): Use them instead of the variables.
8661 (Man-cleanup-manpage): Comment change.
8662 (Man-ansi-color-map): New variable.
8663 (Man-fontify-manpage): Use it.
8664 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8665
8666 Implement ANSI SGR parameters 22-27 (bug#12146).
8667 * ansi-color.el (ansi-colors): Doc fix.
8668 (ansi-color-context, ansi-color-context-region): Doc fix.
8669 (ansi-color--find-face): New function.
8670 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8671 Rename the local variable `face' to `codes' since it is now a list of
8672 ansi codes. Doc fix.
8673 (ansi-color-get-face): Remove.
8674 (ansi-color-parse-sequence): New function, derived from
8675 ansi-color-get-face.
8676 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8677 codes 22-27.
8678
8679 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * subr.el (read-passwd): Allow use from a minibuffer.
8682
8683 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8684
8685 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8686 inside comments and strings as identifiers.
8687
8688 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8689 expression to evaluate. This allows to evaluate expressions with
8690 embedded whitespace.
8691 (gud-tooltip-tips): Add a blank before the newline in the
8692 message-box text, for the benefit of message-box emulation on
8693 MS-Windows.
8694
8695 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8696 messages from GDB, pop them up in a tooltip to give feedback to
8697 user.
8698 (gdb-tooltip-print-1): Quote the expression to evaluate.
8699 This allows to evaluate expressions with embedded whitespace.
8700 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8701 if the TTY name is nil or empty (which happens when communicating
8702 with the inferior via pipes, e.g. on MS-Windows).
8703 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8704 don't send that to the GUD buffer.
8705
8706 2012-08-14 Glenn Morris <rgm@gnu.org>
8707
8708 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8709 Optimize away setq-default with no args, as for setq. (Bug#12195)
8710
8711 2012-08-14 Chong Yidong <cyd@gnu.org>
8712
8713 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8714
8715 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8716 (Bug#12085).
8717
8718 2012-08-14 Glenn Morris <rgm@gnu.org>
8719
8720 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8721
8722 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8723
8724 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8725 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8726 Use cached shell name.
8727
8728 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8729
8730 * progmodes/python.el (python-shell-send-string):
8731 (python-shell-send-setup-code): Do not use `format' with `message'.
8732
8733 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8734
8735 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8736 (ruby-percent-literal-beg-re): New constant.
8737 (ruby-syntax-general-delimiters-goto-beg): Rename to
8738 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8739 (ruby-syntax-propertize-general-delimiters): Rename to
8740 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8741 popular term. Adjust comments everywhere.
8742 (ruby-syntax-propertize-percent-literal): Only propertize when not
8743 inside a simple string or comment. When the literal is unclosed,
8744 leave the text after it unpropertized.
8745 (ruby-syntax-methods-before-regexp): New constant.
8746 (ruby-syntax-propertize-function): Use it to recognize regexps.
8747 Don't look at the text after regexp, just use the whitelist.
8748
8749 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8750
8751 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8752 non-nil always load the compiled file if it exists. (Bug#12197)
8753
8754 2012-08-14 Chong Yidong <cyd@gnu.org>
8755
8756 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8757 (hi-lock-set-pattern): When deciding whether to use font lock or
8758 overlays, look at font-lock-mode instead of font-lock-fontified
8759 (Bug#12168).
8760 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8761 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8762
8763 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8764
8765 * subr.el (internal--after-with-selected-window): Fix typo
8766 (Bug#12193).
8767
8768 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8769
8770 Use `completion-table-dynamic' for completion functions.
8771 * progmodes/python.el
8772 (python-shell-completion--do-completion-at-point)
8773 (python-shell-completion--get-completions):
8774 Remove functions.
8775 (python-shell-completion-complete-at-point): New function.
8776 (python-completion-complete-at-point): Use it.
8777
8778 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8779
8780 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8781 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8782
8783 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * subr.el (function-get): Refine `autoload' arg so it can also
8786 autoload functions for gv.el (bug#12191).
8787 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8788 autoloads macros.
8789
8790 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8791 Prefer pcase-let over destructuring-bind.
8792 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8793 Also, remove whitespace as we go, rather than after accumulating the
8794 various places.
8795
8796 * subr.el (internal--before-with-selected-window)
8797 (internal--after-with-selected-window): Fix typo seleted->selected.
8798 (with-selected-window): Adjust callers.
8799 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8800
8801 2012-08-13 Bastien Guerry <bzg@gnu.org>
8802
8803 * window.el (special-display-popup-frame): Minor docstring
8804 enhancement. (Bug#12172)
8805
8806 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8807
8808 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8809 type 1-6.
8810 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8811 extended headers.
8812
8813 * files.el (hack-local-variables-filter): Remove useless eval.
8814
8815 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8816
8817 * subr.el (with-selected-window): Fix last change.
8818
8819 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * subr.el (internal--before-with-seleted-window)
8822 (internal--after-with-seleted-window): New functions.
8823 (with-selected-window): Use them, to replace dependency on
8824 tty-top-frame.
8825
8826 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8827
8828 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8829 binding for `newline'.
8830 (ruby-move-to-block): When moving backward, stop at block opening,
8831 not indentation.
8832 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8833 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8834 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8835 `ruby-toggle-block'.
8836
8837 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * ibuffer.el (ibuffer-do-toggle-read-only):
8840 * dired.el (dired-toggle-read-only):
8841 * buff-menu.el (Buffer-menu-toggle-read-only):
8842 * bindings.el (mode-line-toggle-read-only):
8843 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8844
8845 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8846
8847 * descr-text.el (describe-char): Put the overlays over the
8848 "displayed as" character.
8849
8850 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8851
8852 * calc/calc-units.el (math-default-units-table): Give an
8853 initial value.
8854 (math-put-default-units): Add options to put composite units and
8855 unit systems in the default units table.
8856 (calc-convert-units): Send composite units to
8857 `math-put-default-units' when appropriate.
8858
8859 2012-08-11 Glenn Morris <rgm@gnu.org>
8860
8861 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8862
8863 * tutorial.el (help-with-tutorial):
8864 * emacs-lisp/copyright.el (copyright-update-directory):
8865 * emacs-lisp/autoload.el (autoload-find-generated-file)
8866 (autoload-find-file): Disable local eval: (for insurance).
8867
8868 * files.el (hack-local-variables-filter): If an eval: form is not
8869 known to be safe, and enable-local-variables is :safe, then ignore
8870 the form totally, as is done for non-eval forms. (Bug#12155)
8871 This is CVE-2012-3479.
8872
8873 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8876 (rx-form): Simplify.
8877
8878 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8879
8880 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8881 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8882 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8883 (ruby-syntax-propertize-function): Adjust for changes in
8884 `ruby-syntax-propertize-heredoc'.
8885
8886 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8887
8888 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8889 binding (use `M-;' instead).
8890 (ruby-singleton-class-p): New function.
8891 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8892
8893 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8896
8897 2012-08-10 Chong Yidong <cyd@gnu.org>
8898
8899 * progmodes/python.el (python-shell-get-process-name): Don't mess
8900 with same-window-buffer-names.
8901
8902 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8903 (eshell-remove-from-window-buffer-names): Make obsolete.
8904 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8905 (eshell): Just use pop-to-buffer-same-window instead.
8906
8907 2012-08-10 Chong Yidong <cyd@gnu.org>
8908
8909 * bindings.el: Bind M-= back to count-words-region.
8910
8911 * simple.el (count-words-region): Accept a prefix arg for acting
8912 on the entire buffer.
8913 (count-words--buffer-message): New helper function.
8914
8915 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8918 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8919 (event-start, event-end): Use posn-at-point to return a more
8920 informative posn.
8921 (posnp): New function.
8922 * mouse.el (popup-menu-normalize-position): Use it.
8923
8924 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8925
8926 * mouse.el (popup-menu-normalize-position): New function.
8927 (popup-menu): Use `popup-menu-normalize-position' to normalize
8928 the form for POSITION argument.
8929
8930 * term/x-win.el (x-menu-bar-open):
8931 Use the value returend from (posn-at-point) as position
8932 passed to `popup-menu'.
8933
8934 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8935
8936 * calc/calccomp.el (math-compose-expr): Add extra argument
8937 indicating that parentheses should be put around products in
8938 denominators. Give multiplication precedence over division during
8939 composition.
8940
8941 2012-08-09 Chong Yidong <cyd@gnu.org>
8942
8943 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8944 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8945 (Man-untabify-command, manual-program): Convert to defcustom
8946 (Bug#10429).
8947
8948 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8949
8950 * descr-text.el (describe-char): Don't insert extra newlines
8951 (Bug#10127).
8952
8953 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8954 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8955
8956 * align.el (align-region): Delete temporary markers (Bug#10047).
8957 Plus some code cleanups.
8958
8959 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8960
8961 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8962 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8963 (python-shell-internal-last-output): Use make-local-variable
8964 instead of make-variable-buffer-local.
8965
8966 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8967
8968 * progmodes/python.el: Enhancements to forward-sexp.
8969 (python-nav-forward-sexp): Rename from
8970 python-nav-forward-sexp-function.
8971 (python-nav--forward-sexp, python-nav--backward-sexp):
8972 New functions.
8973
8974 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8975
8976 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8977 modes and simplification modes.
8978
8979 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * delsel.el (delete-selection-pre-hook): Don't propagate the
8982 file-supersession signals (bug#12161).
8983
8984 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8987 (cl-map-extents): Add compatibility aliases (bug#12135).
8988
8989 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8990
8991 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8992 tests by `ignore-error'.
8993 (tramp-find-shell): Open also a new shell, when cache is already
8994 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8995
8996 2012-08-08 Juri Linkov <juri@jurta.org>
8997
8998 * bookmark.el: Add `defaults' property to the bookmark record.
8999 (bookmark-current-buffer): Doc fix.
9000 (bookmark-make-record): Add `defaults' property with default values
9001 to the bookmark record.
9002 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9003 with `bookmark-insert-current-bookmark'.
9004 (bookmark-set): Get `defaults' property from the bookmark record
9005 and use it in `read-from-minibuffer'.
9006 (bookmark-insert-current-bookmark): Remove function.
9007
9008 * info.el (Info-bookmark-make-record): Add `defaults' property
9009 with values of canonical Info node name, the current Info file
9010 name and the current Info node name. (Bug#12107)
9011
9012 2012-08-08 Juri Linkov <juri@jurta.org>
9013
9014 * files.el (basic-save-buffer): Use `buffer-name' as the default
9015 of `read-file-name' when buffer is not visiting a file (bug#12128).
9016
9017 2012-08-08 Juri Linkov <juri@jurta.org>
9018
9019 * info.el (Info-isearch-search): Doc fix.
9020 (Info-search): Change search-failed message from "initial node" to
9021 "end of node" (bug#12078).
9022 (Info-isearch-search): Change `isearch-string-state' to
9023 `isearch--state-string'.
9024
9025 2012-08-08 Glenn Morris <rgm@gnu.org>
9026
9027 * language/persian.el: Remove file.
9028 * language/misc-lang.el: Move unique part of persian.el here.
9029 * loadup.el: Remove language/persian.
9030
9031 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9032
9033 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9034
9035 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9036
9037 * progmodes/python.el: Fix defsubst warning.
9038 (python-syntax-context) Rename from python-info-ppss-context.
9039 (python-syntax-context-type): Rename from
9040 python-info-ppss-context-type.
9041 (python-syntax-comment-or-string-p): Rename from
9042 python-info-ppss-comment-or-string-p.
9043
9044 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9045
9046 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9047
9048 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9049
9050 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9051 a defcustom that is quoted with backquote.
9052
9053 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9054 Fix handling of interactive spec when the body uses return.
9055 (math-do-arg-check, math-define-function-body): Use backquote forms.
9056 * calc/calc-ext.el (math-defcache): Likewise.
9057 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9058 * allout.el (allout-new-exposure): Likewise.
9059 * calc/calcalg2.el (math-tracing-integral): Likewise.
9060 * info.el (Info-last-menu-item): Likewise.
9061 * emulation/vip.el (vip-loop): Likewise.
9062 * textmodes/artist.el (artist-funcall): Likewise.
9063 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9064 Construct menu-item directly.
9065
9066 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9067 Don't declare.
9068
9069 2012-08-07 Chong Yidong <cyd@gnu.org>
9070
9071 * simple.el (deactivate-mark): Preserve text properties when
9072 saving the primary selection (Bug#8384).
9073
9074 2012-08-07 Kevin Ryde <user42@zip.com.au>
9075
9076 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9077 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9078 and continue processing (Bug#12110).
9079
9080 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9083 syntax-propertize-function (bug#10095).
9084
9085 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9088 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9089 describe-function-1.
9090 (describe-function-1): Use them. Move compiler macro after sig.
9091 (help-fns--compiler-macro): Use function-get. Assume we're already in
9092 standard-output. Adjust layout to new call order.
9093
9094 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9095 re-binding a symbol that has a symbol-macro (bug#12119).
9096
9097 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9098
9099 * language/persian.el: New file. (Bug#11812)
9100 * loadup.el: Add language/persian.el.
9101
9102 2012-08-06 Chong Yidong <cyd@gnu.org>
9103
9104 * window.el (window--maybe-raise-frame): New function.
9105 (window--display-buffer): Split off from here.
9106 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9107 (display-buffer-pop-up-window, display-buffer-use-some-window):
9108 Obey an inhibit-switch-frame action alist entry.
9109 (display-buffer): Update doc.
9110
9111 * replace.el (occur-after-change-function): Avoid losing focus by
9112 using the inhibit-switch-frame display parameter (Bug#12139).
9113
9114 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9115
9116 Make internal shell process buffer names start with space.
9117 * progmodes/python.el (python-shell-make-comint): Add optional
9118 argument INTERNAL.
9119 (run-python-internal): Use it.
9120 (python-shell-internal-get-or-create-process): Check for new
9121 internal buffer names.
9122
9123 2012-08-06 Glenn Morris <rgm@gnu.org>
9124
9125 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9126 Do less getting and setting of environment variables.
9127
9128 2012-08-05 Chong Yidong <cyd@gnu.org>
9129
9130 * proced.el (proced): Add substitution string to docstring to
9131 trigger autoloading of the proced library on C-h f (Bug#1768).
9132
9133 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9134 Don't show defvars which have no second argument (Bug#8638).
9135
9136 * imenu.el (imenu-generic-expression): Move documentation here
9137 from imenu--generic-function.
9138 (imenu--generic-function): Refer to imenu-generic-expression.
9139
9140 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9141
9142 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9143 indentation declaration.
9144 (viper-loop): Add indentation declaration (Bug#7025).
9145
9146 2012-08-05 Chong Yidong <cyd@gnu.org>
9147
9148 * help-fns.el (describe-variable): Add hyperlink for
9149 directory-local variables files. Improve buffer-local and
9150 permanent-local reporting; suggested by MON KEY (Bug#6644).
9151
9152 * help-mode.el (help-dir-local-var-def): New button type.
9153
9154 * files.el (kill-buffer-hook): Provide a defvar.
9155
9156 2012-08-05 Glenn Morris <rgm@gnu.org>
9157
9158 * eshell/esh-ext.el (eshell/addpath):
9159 Also update eshell-path-env. (Bug#12013)
9160
9161 2012-08-05 Chong Yidong <cyd@gnu.org>
9162
9163 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9164
9165 * fringe.el (fringe-styles): Add docstring.
9166 (fringe--check-mode): New function.
9167 (set-fringe-mode, set-fringe-style): Use it.
9168 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9169
9170 * files.el (set-auto-mode): Fix invalid setq call.
9171
9172 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * isearch.el: Misc simplification; use defstruct.
9175 (isearch-mode-map): Dense maps now work like sparse ones.
9176 (isearch--state): New defstruct.
9177 (isearch-string-state, isearch-message-state, isearch-point-state)
9178 (isearch-success-state, isearch-forward-state)
9179 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9180 (isearch-wrapped-state, isearch-barrier-state)
9181 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9182 replaced by defstruct's accessors.
9183 (isearch--set-state): Rename from isearch-top-state and change
9184 calling convention.
9185 (isearch-push-state): Use new isearch--get-state.
9186 (isearch-toggle-word): Disable regexp when enabling word.
9187 (isearch-message-prefix): Remove unused arg _c-q-hack.
9188 (isearch-message-suffix): Remove unused arg _ellipsis.
9189
9190 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9191
9192 * simple.el (list-processes--refresh): For a server use :host or
9193 :local as the address.
9194 (list-processes): Doc fix.
9195
9196 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9197
9198 * lisp/mpc.el: Support password in host argument.
9199 (mpc--proc-connect): Parse and use new password element.
9200 Set mpc-proc variable instead of returning process.
9201 (mpc-proc): Adjust accordingly.
9202
9203 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9204
9205 * whitespace.el (whitespace-display-mappings): Use Unicode
9206 codepoints, instead of emacs-mule codepoints. See
9207 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9208 for the details.
9209
9210 * files.el (file-truename): Don't skip symlink-chasing part on
9211 windows-nt. Incorporate the resolution of 8+3 short aliases on
9212 Windows into the loop that recursively chases symlinks.
9213 Compare directory and its parent case-insensitively on MS-Windows and
9214 MS-DOS.
9215
9216 2012-08-03 Chong Yidong <cyd@gnu.org>
9217
9218 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9219
9220 * sort.el (sort-regexp-fields): Doc fix.
9221
9222 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9223
9224 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9225 labels regex position point at the expected place.
9226
9227 2012-08-03 MON KEY <monkey@sandpframing.com>
9228
9229 * net/imap.el (imap-interactive-login, imap-authenticate)
9230 (imap-mailbox-lsub, imap-mailbox-list)
9231 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9232 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9233 (imap-parse-response): Doc fix.
9234
9235 2012-08-03 João Távora <joaotavora@gmail.com>
9236
9237 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9238 if sexp scanning does not move point (Bug#5734).
9239
9240 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9241
9242 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9243 Add listings, minted, and ctable packages.
9244 (reftex-label-alist-builtin): Move listings, minted, and ctable
9245 entries before LaTeX.
9246 (reftex-label-alist): Docfix.
9247
9248 2012-08-02 Bastien Guerry <bzg@gnu.org>
9249
9250 * replace.el (occur): Fix docstring (bug#12122).
9251
9252 2012-08-02 Glenn Morris <rgm@gnu.org>
9253
9254 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9255
9256 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9257
9258 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9259 * international/mule-cmds.el: Create
9260 inactivate-current-input-method-function as an obsolete alias for
9261 deactivate-current-input-method-function. See Katsumi Yamaoka in
9262 <http://bugs.gnu.org/10150#46>.
9263
9264 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9265
9266 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9267 of nested `if's.
9268
9269 2012-08-01 Glenn Morris <rgm@gnu.org>
9270
9271 * progmodes/autoconf.el (autoconf-definition-regexp):
9272 Add AH_TEMPLATE, adjust submatch numbering.
9273 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9274 (autoconf-current-defun-function): Update for above change.
9275 (autoconf-current-defun-function): First skip to end of current word.
9276
9277 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9278
9279 * calendar/cal-html.el (cal-html-insert-agenda-days):
9280 Fix typo. (Bug#12018)
9281
9282 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9283
9284 Shell processes: enhancements to startup and CEDET compatibility.
9285 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9286 (python-shell-make-comint): accept-process-output at startup.
9287 (run-python-internal): Set inferior-python-mode-hook to nil.
9288 (python-shell-internal-get-or-create-process): call sit-for.
9289 (python-preoutput-result): Add obsolete alias.
9290 (python-shell-internal-send-string): Use it.
9291 (python-shell-send-setup-code): Remove call to
9292 accept-process-output.
9293
9294 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9295
9296 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9297 (Bug#12108)
9298
9299 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9300
9301 * calc-mode.el (calc-basic-simplification-mode): Rename from
9302 `calc-limited-simplification-mode'.
9303 (calc-alg-simplification-mode): New function.
9304 (calc-set-simplify-mode): Adjust message.
9305
9306 * calc.el (calc-set-mode-line): Adjust mode line display for
9307 basic simplification mode.
9308
9309 * calc-help.el (calc-m-prefix-help): Update help message.
9310
9311 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9312 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9313
9314 2012-07-31 Bastien Guerry <bzg@gnu.org>
9315
9316 * man.el (man): Fix comment. (bug#12101)
9317
9318 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9319
9320 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9321 Don't return a non-nil value when no suitable buffer was found.
9322
9323 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9324
9325 * progmodes/python.el (run-python-internal): Disable font lock for
9326 internal shells.
9327
9328 2012-07-30 Stefan Merten <smerten@oekonux.de>
9329
9330 * textmodes/rst.el: Silence `checkdoc-ispell'.
9331 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9332 (rst-official-version, rst-official-cvs-rev)
9333 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9334 (rst-mode-map): New key binding.
9335
9336 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9337
9338 Update .PHONY listings in makefiles.
9339 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9340 autoloads, update-subdirs, updates, bzr-update, update-authors,
9341 compile-onefile, compile-calc, backup-compiled-files,
9342 compile-after-backup, compile-one-process, mh-autoloads,
9343 bootstrap-clean, distclean, maintainer-clean.
9344
9345 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9346
9347 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9348 (calc-set-mode-line): Don't display "AlgSimp ".
9349
9350 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9351 (calc-lim-simplify-mode): New function.
9352 (calc-set-simplify-mode): Default to 'alg.
9353 (calc-default-simplify-mode): Make algebraic simplifications
9354 the default.
9355
9356 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9357 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9358
9359 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9360 indicate new simplification modes.
9361
9362 * calc/README: Mention new default simplification mode.
9363
9364 * calc/calc.el (math-normalize-error): New variable.
9365 (math-normalize): Set `math-normalize-error' to t
9366 when there's an error.
9367
9368 * calc/calc-alg.el (math-simplify): Don't simplify when
9369 `math-normalize' returns an error.
9370
9371 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9372
9373 * international/mule-cmds.el (set-locale-environment): Revert last
9374 change, since display-graphic-p returns nil when this function is
9375 called during startup. Instead...
9376
9377 * term/w32console.el (terminal-init-w32console): ...setup the
9378 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9379
9380 2012-07-29 Juri Linkov <juri@jurta.org>
9381
9382 * simple.el (goto-line): Don't display default line number in the
9383 prompt because it should be displayed by `read-number' (bug#9952).
9384 Add the current line number to the defaults of `goto-line' to
9385 allow its easier modification by users with `M-n' (bug#9201).
9386
9387 * subr.el (read-number): Support multiple default values like in
9388 other minibuffer reading functions. Replace `read' with
9389 `string-to-number' for consistency with `number-to-string'.
9390
9391 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9392
9393 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9394 * emulation/viper-init.el (viper-deactivate-input-method-action):
9395 Rename from viper-inactivate-input-method-action.
9396 (viper-deactivate-input-method):
9397 Rename from viper-inactivate-input-method.
9398 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9399 * international/mule-cmds.el (deactivate-input-method):
9400 Rename from inactivate-input-method.
9401 Also run input-method-deactivate-hook.
9402 (deactivate-current-input-method-function):
9403 Rename from inactivate-current-input-method-function.
9404 (input-method-deactivate-hook): New hook.
9405 (input-method-inactivate-hook): Mark obsolete.
9406 (inactivate-input-method): Mark obsolete.
9407
9408 * international/quail.el (quail-activate):
9409 Also run quail-deactivate-hook.
9410 (quail-deactivate): Rename from quail-inactivate.
9411 * international/robin.el (robin-activate):
9412 Also run robin-deactivate-hook.
9413 (robin-deactivate): Rename from robin-inactivate.
9414
9415 2012-07-29 Chong Yidong <cyd@gnu.org>
9416
9417 * simple.el (indicate-copied-region): New function.
9418 (kill-ring-save): Split off from here.
9419
9420 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9421 (kill-rectangle): Set deactivate-mark to t on read-only error.
9422
9423 * register.el (copy-to-register, copy-rectangle-to-register):
9424 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9425 (append-to-register, prepend-to-register): Call indicate-copied-region.
9426
9427 2012-07-29 Juri Linkov <juri@jurta.org>
9428
9429 * simple.el (async-shell-command-buffer): New defcustom.
9430 (shell-command): Use it. (Bug#4719)
9431
9432 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9433
9434 * international/mule-cmds.el (set-locale-environment): In a
9435 console session on MS-Windows, set up keyboard and terminal
9436 encoding from the OEM codepage, not the ANSI codepage.
9437 (Bug#12055)
9438
9439 2012-07-28 Chong Yidong <cyd@gnu.org>
9440
9441 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9442 gdb-get-location.
9443
9444 2012-07-28 Leo Liu <sdl.web@gmail.com>
9445
9446 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9447 the alist (bug#12029).
9448
9449 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9450
9451 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9452 (compile-always, compile-first)
9453 ($(lisp)/calendar/cal-loaddefs.el)
9454 ($(lisp)/calendar/diary-loaddefs.el)
9455 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9456 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9457 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9458 instead of on update-subdirs.
9459 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9460
9461 2012-07-28 Chong Yidong <cyd@gnu.org>
9462
9463 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9464 directory if vc-deduce-backend returns nil (Bug#7350).
9465
9466 * simple.el (delete-trailing-lines): New option.
9467 (delete-trailing-whitespace): Obey it (Bug#11879).
9468
9469 2012-07-28 David Engster <deng@randomsample.de>
9470
9471 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9472 Explanation of new 'symbol-qnames feature in doc-strings.
9473 (xml-maybe-do-ns): Return expanded names as plain symbols if
9474 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9475 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9476
9477 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9478
9479 Consistent completion in inferior python with emacs -nw.
9480 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9481 binding in inferior-python-mode-map with "\t".
9482 (python-shell-completion-complete-at-point)
9483 (python-completion-complete-at-point): Remove interactive spec.
9484
9485 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9486
9487 * calc/calccomp.el (math-compose-expr): Undo previous change.
9488
9489 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9490
9491 * progmodes/python.el (python-mode-map): Add keybinding for
9492 run-python.
9493 (python-shell-make-comint): Fix pop-to-buffer call.
9494 (run-python): Autoload. New arg SHOW.
9495 (python-shell-get-or-create-process): Do not pop python process
9496 buffer.
9497
9498 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9499
9500 * notifications.el (notifications-on-action-signal)
9501 (notifications-on-closed-signal): Use also the bus address for the map.
9502 (notifications-notify, notifications-close-notification)
9503 (notifications-get-capabilities): Add optional argument BUS.
9504
9505 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9506
9507 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9508 Add support for the lstlisting and minted environments, and for the
9509 ctable macro.
9510 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9511 labels written in keyvals syntax.
9512
9513 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9514
9515 * calc/calccomp.el (math-compose-expr): Use parentheses when
9516 there is a product in the denominator of a fraction.
9517
9518 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9519
9520 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9521 ($(lisp)/calendar/diary-loaddefs.el)
9522 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9523 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9524 Fixes failures in parallel bootstrap because subdirs.el is being
9525 rewritten while the autoload files are built at the same time,
9526 which needs to load subdirs.el.
9527
9528 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9529
9530 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9531 (mouse-drag-line): Don't exit tracking when a switch-frame or
9532 switch-window event occurs (Bug#12006).
9533
9534 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * mouse.el (popup-menu): Fix last change.
9537
9538 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 Autoload from Lisp with more care. Follow aliases when looking for
9541 function properties.
9542 * subr.el (autoloadp): New function.
9543 (symbol-file): Use it.
9544 (function-get): New function.
9545 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9546 autoload-do-load.
9547 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9548 (lisp-indent-function):
9549 * emacs-lisp/gv.el (gv-get):
9550 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9551 * emacs-lisp/byte-opt.el (byte-optimize-form):
9552 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9553 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9554 Use function-get.
9555 * emacs-lisp/cl.el: Don't propagate function properties any more.
9556
9557 * speedbar.el (speedbar-add-localized-speedbar-support):
9558 * emacs-lisp/disass.el (disassemble-internal):
9559 * desktop.el (desktop-load-file):
9560 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9561 (describe-function-1):
9562 * emacs-lisp/find-func.el (find-function-noselect):
9563 * emacs-lisp/elp.el (elp-instrument-function):
9564 * emacs-lisp/advice.el (ad-has-proper-definition):
9565 * apropos.el (apropos-safe-documentation, apropos-macrop):
9566 * emacs-lisp/debug.el (debug-on-entry):
9567 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9568 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9569 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9570
9571 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9572
9573 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9574 function, not an obsolete variable (Bug#12046).
9575
9576 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9577
9578 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9579
9580 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9581
9582 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9583 window only if it is still live (Bug#12034).
9584
9585 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9586
9587 * subr.el (redirect-frame-focus): Add advertised calling
9588 convention (Bug#12030).
9589
9590 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9591
9592 Prefer typical American spelling for "acknowledgment".
9593 * vc/add-log.el (change-log-acknowledgment): Rename from
9594 change-log-acknowledgement, with an alias for the old name.
9595
9596 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9597
9598 * calc-alg.el (math-simplify-divide): Don't cross multiply
9599 in an equation when the lhs is a variable.
9600
9601 2012-07-24 Julien Danjou <julien@danjou.info>
9602
9603 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9604 Remove, unused.
9605
9606 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9607
9608 * startup.el (command-line): Don't display an empty user name in
9609 the error message about non-existent home directory, when
9610 init-file-user was set to an empty string. See
9611 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9612 for the details and context.
9613
9614 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9615
9616 * ses.el (ses-cell-formula-aset): New macro.
9617 (ses-cell-references-aset): New macro.
9618 (ses-cell-p): New function.
9619 (ses-rename-cell): Do no longer rely on complex operations like
9620 ses-cell-set-formula or ses-set-cell to change the cell and handle
9621 the undo at the same time, but rather use lower level new macros
9622 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9623 the undo directly. Refresh the mode line.
9624
9625 2012-07-21 Leo Liu <sdl.web@gmail.com>
9626
9627 * progmodes/cc-cmds.el (c-defun-name):
9628 Use match-string-no-properties instead for consistency.
9629
9630 2012-07-20 Leo Liu <sdl.web@gmail.com>
9631
9632 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9633 (Bug#7879)
9634
9635 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9636
9637 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9640 * progmodes/bug-reference.el, misearch.el: Provide themselves
9641 (bug#11915).
9642
9643 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9644 of narrowed buffer (bug#11966).
9645
9646 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9647
9648 * ses.el (ses-rename-cell): Set new name also in reference list of
9649 cells of which the renamed cell depends.
9650
9651 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9652
9653 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9654 to check whether menu-bar is shown or not. If not shown,
9655 show the menu-bar as a popup menu instead of using tmm.
9656 * mouse.el (popup-menu): Accept `point' as `position' argument.
9657
9658 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9659
9660 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9661 up inside string symbol literal (bug#11923).
9662
9663 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9664
9665 * startup.el (fancy-startup-text): Read the whole tutorial, not
9666 just its first 256 bytes. Prevents gibberish in display of the
9667 tutorial title.
9668
9669 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9670
9671 Drop idle buffer compaction due to an absence of the
9672 proved efficiency.
9673 * compact.el: Remove.
9674
9675 2012-07-19 Sam Steingold <sds@gnu.org>
9676
9677 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9678 vc-bzr-pull & vc-bzr-merge-branch.
9679 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9680 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9681 for consistency with compilation-error-regexp-alist.
9682 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9683 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9684 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9685 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9686
9687 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * emacs-lisp/chart.el: Use lexical-binding.
9690 (chart-emacs-storage): Don't hardcode the list of entries.
9691
9692 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9693
9694 Next round of tweaks caused by Fgarbage_collect changes.
9695 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9696
9697 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9698
9699 Compact buffers when idle.
9700 * compact.el: New file.
9701
9702 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * subr.el (eventp): Presume that if it looks vaguely like an event,
9705 it's an event (bug#10190).
9706
9707 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9708
9709 Enhancements to ppss related code (thanks Stefan).
9710 * progmodes/python.el (python-indent-context)
9711 (python-indent-calculate-indentation, python-indent-dedent-line)
9712 (python-indent-electric-colon, python-nav-forward-block)
9713 (python-mode-abbrev-table)
9714 (python-info-assignment-continuation-line-p): Simplify checks
9715 for ppss context.
9716 (python-info-continuation-line-p): Cleanup.
9717 (python-info-ppss-context): Do not catch 'quote.
9718 (python-info-ppss-context-type)
9719 (python-info-ppss-comment-or-string-p): Simplify.
9720
9721 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9722
9723 * progmodes/python.el: Enhancements to eldoc support.
9724 (python-info-current-symbol): New function.
9725 (python-eldoc-at-point): Use python-info-current-symbol.
9726 (python-info-current-defun): Fix cornercase on first defun scan.
9727 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9728 and signal error when no inferior python process is available.
9729
9730 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9731
9732 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9733 assume it's always t.
9734 (vc-git-registered): Remove caching, the function is only called
9735 once.
9736 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9737
9738 2012-07-18 Chong Yidong <cyd@gnu.org>
9739
9740 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9741
9742 * simple.el (count-words): Report on narrowing (Bug#9959).
9743
9744 * bindings.el: Bind M-= to count-words.
9745
9746 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9747
9748 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9749
9750 * progmodes/sh-script.el (sh-imenu-generic-expression):
9751 Capture a function with `function' keyword and without parentheses
9752 like "function FOO" (bug#11856).
9753
9754 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9755
9756 * window.el (split-window-sensibly): Make WINDOW argument
9757 optional.
9758
9759 2012-07-18 Chong Yidong <cyd@gnu.org>
9760
9761 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9762
9763 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9764 and make C-x 8 RET exit isearch (Bug#11439).
9765
9766 * international/iso-transl.el: Move isearch-mode-map key
9767 definitions to isearch.el.
9768
9769 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9772 (eieio-defclass): Use gv-define-setter when possible.
9773
9774 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9775
9776 Reflect recent changes in Fgarbage_collect.
9777 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9778 reflect new format of data returned by Fgarbage_collect.
9779
9780 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9781
9782 New utility functions + python-info-ppss-context fix (Bug#11910).
9783 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9784 (python-info-ppss-comment-or-string-p): New functions.
9785 (python-info-ppss-context): Small fix for string check.
9786
9787 2012-07-17 Juri Linkov <juri@jurta.org>
9788
9789 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9790 (dired-do-async-shell-command): Don't add `*' at the end of the
9791 command (Bug#11815).
9792 (dired-do-shell-command): Doc fix.
9793 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9794 Join the individual commands using either "&" or ";" as the
9795 separator depending on the values of these trailing characters.
9796 At the end re-add the trailing "&". (Bug#10598)
9797
9798 * simple.el (async-shell-command): Sync the interactive spec with
9799 `shell-command'. Doc fix.
9800 (shell-command): Doc fix.
9801
9802 2012-07-17 Juri Linkov <juri@jurta.org>
9803
9804 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9805
9806 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9807
9808 Final renames and doc fixes for movement commands (bug#11899).
9809 * progmodes/python.el (python-nav-beginning-of-statement):
9810 Rename from python-nav-statement-start.
9811 (python-nav-end-of-statement): Rename from
9812 python-nav-statement-end.
9813 (python-nav-beginning-of-block): Rename from
9814 python-nav-block-start.
9815 (python-nav-end-of-block): Rename from python-nav-block-end.
9816
9817 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9818
9819 * progmodes/python.el (python-shell-send-string-no-output):
9820 Allow accept-process-output to quit, keeping shell process ready for
9821 future interactions (Bug#11868).
9822
9823 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9826
9827 * emacs-lisp/elint.el (elint-find-args-in-code):
9828 Use help-function-arglist, so as to handle lexical byte-code.
9829
9830 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9831 change (bug#11826).
9832
9833 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9836 Avoid spuriously marking the buffer as modified because of c-is-sws.
9837
9838 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9839 as not-a-comment (bug#11946).
9840
9841 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9842 for uninterned vars.
9843
9844 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9845 Use read-event since we don't really want to read chars but bytes.
9846
9847 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9848 $$..$$ but also $..$ using regexps (bug#11953).
9849 Use tex-verbatim for \url and \path.
9850 (tex-font-lock-keywords): Define as defconst like the others.
9851 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9852
9853 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9854
9855 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9856 alias for insert-char.
9857
9858 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9859
9860 * progmodes/python.el: Simplified imenu implementation.
9861 (python-nav-jump-to-defun): Remove command.
9862 (python-mode-map): Use `imenu' instead.
9863 (python-nav-list-defun-positions-cache)
9864 (python-imenu-include-defun-type, python-imenu-make-tree)
9865 (python-imenu-subtree-root-label, python-imenu-index-alist):
9866 Remove vars.
9867 (python-nav-list-defun-positions, python-nav-read-defun)
9868 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9869 (python-imenu-make-tree, python-imenu-create-index):
9870 Remove functions.
9871 (python-mode): Update to interact with imenu by setting
9872 `imenu-extract-index-name-function' only.
9873
9874 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9875
9876 * progmodes/python.el: Enhancements to navigation commands.
9877 (python-nav-backward-sentence)
9878 (python-nav-forward-sentence): Remove.
9879 (python-nav-backward-statement, python-nav-forward-statement)
9880 (python-nav-statement-start, python-nav-statement-end)
9881 (python-nav-backward-block, python-nav-forward-block)
9882 (python-nav-block-start, python-nav-block-end)
9883 (python-nav-forward-sexp-function)
9884 (python-info-current-line-comment-p)
9885 (python-info-current-line-empty-p): New functions.
9886 (python-indent-context): Use `python-nav-statement-start'.
9887
9888 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9889
9890 * eshell/em-ls.el (eshell/ls): Use `apply'.
9891
9892 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9893 multi-hops, instead of Tramp internals.
9894
9895 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9896
9897 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9898 when F1 and F2 are located on different hosts.
9899
9900 2012-07-14 Chong Yidong <cyd@gnu.org>
9901
9902 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9903 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9904 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9905 (xterm-mouse--read-event-sequence-1000)
9906 (xterm-mouse--read-event-sequence-1006): New functions. For old
9907 mouse protocol, handle M-mouse-X events correctly.
9908 (xterm-mouse-event): New arg specifying mouse protocol.
9909 (turn-on-xterm-mouse-tracking-on-terminal)
9910 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9911 sequence to toggle extended coordinates on newer XTerms.
9912 This appears to be harmless on terminals which do not support this.
9913
9914 2012-07-14 Leo Liu <sdl.web@gmail.com>
9915
9916 Add fringe bitmap indicators for flymake. (Bug#11253)
9917 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9918 (flymake-make-overlay): New arg BITMAP.
9919 (flymake-error-bitmap, flymake-warning-bitmap)
9920 (flymake-fringe-indicator-position): New user variables.
9921
9922 * fringe.el: New bitmap exclamation-mark.
9923
9924 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9925
9926 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9927 also (Bug#7879).
9928
9929 2012-07-14 Chong Yidong <cyd@gnu.org>
9930
9931 * electric.el (electric-pair-post-self-insert-function): Fix pair
9932 insertion in empty-region case (Bug#11520).
9933
9934 2012-07-14 Chong Yidong <cyd@gnu.org>
9935
9936 * bindings.el: Consolidate ctl-x-r-map bindings.
9937 Bind copy-rectangle-as-kill to C-x r w.
9938
9939 * rect.el, register.el: Move bindings to bindings.el.
9940
9941 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9942
9943 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9944
9945 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9946
9947 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9948
9949 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9950
9951 * bindings.el (top): Use `mapc' instead of `mapcar'.
9952
9953 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9954
9955 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9956
9957 * progmodes/sql.el (sql-comint): Suppress the check for program on
9958 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9959 (Bug#11908)
9960
9961 2012-07-13 Chong Yidong <cyd@gnu.org>
9962
9963 * bindings.el: Assign a non-nil permanent-local property to
9964 per-buffer variables which lack a default value (Bug#11930).
9965
9966 * help-fns.el (describe-variable): In the "automatically becomes
9967 local" notice, take note of permanent-local variables.
9968
9969 2012-07-13 Chong Yidong <cyd@gnu.org>
9970
9971 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9972 to allow printing the message when called from Lisp.
9973
9974 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9975 Remove toggle-read-only.
9976
9977 * bs.el (bs-toggle-readonly):
9978 * buff-menu.el (Buffer-menu-toggle-read-only):
9979 Remove with-no-warnings around toggle-read-only.
9980
9981 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9982 Remove with-no-warnings around toggle-read-only.
9983 (ffap-read-only, ffap-read-only-other-window)
9984 (ffap-read-only-other-frame): Callers changed.
9985
9986 * help-mode.el: Don't require view package.
9987 (help-mode-finish): Set buffer-read-only instead of calling
9988 toggle-read-only.
9989
9990 * bindings.el (mode-line-toggle-read-only):
9991 * dired.el (dired-toggle-read-only):
9992 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9993 with non-nil second arg.
9994
9995 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9996 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9997 directly.
9998
9999 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10000
10001 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10002 not incf.
10003
10004 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 More CL cleanups and reduction of use of cl.el.
10007 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10008 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10009 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10010 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10011 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10012 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10013 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10014 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10015 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10016 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10017 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10018 * eshell/em-cmpl.el, eshell/em-banner.el:
10019 * calendar/parse-time.el: Use cl-lib.
10020 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10021 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10022 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10023 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10024 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10025 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10026 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10027 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10028 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10029 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10030 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10031 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10032 `lambda' rather than with `quote'.
10033 (eshell-do-opt): Adjust accordingly.
10034 (eshell-process-option): Simplify.
10035 * eshell/esh-var.el:
10036 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10037 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10038 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10039 to `pcase--dontcare'.
10040 * emacs-lisp/cl.el (labels): Mark obsolete.
10041 (cl--letf, letf): Move to cl-lib.
10042 (cl--letf*, letf*): Remove.
10043 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10044 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10045 (cl-progv): Rewrite.
10046 (cl--letf, cl-letf): Move from cl.el.
10047 (cl-letf*): New macro.
10048 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10049
10050 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10051
10052 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10053
10054 2012-07-11 Chong Yidong <cyd@gnu.org>
10055
10056 * vc/log-edit.el (log-edit-vc-backend): New variable.
10057 (log-edit): Doc fix.
10058
10059 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10060 argument of log-edit to set up all local variables.
10061 (vc-start-logentry): New optional arg specifying VC backend.
10062
10063 * vc/vc.el (vc-checkin): Use it.
10064 (vc-deduce-fileset): Handle Log Edit buffers.
10065 (vc-diff): Make first argument optional too.
10066
10067 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10068
10069 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10070
10071 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10072 command, just in case. The function is not needed anymore.
10073 (eshell-external-command): Do not call `eshell-remote-command'.
10074
10075 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 Reduce use of (require 'cl).
10078 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10079 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10080 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10081 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10082 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10083 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10084 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10085 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10086 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10087 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10088 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10089 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10090 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10091 (byte-compile-unfold-bcf, byte-compile-check-variable):
10092 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10093 (byte-compile-nilconstp):
10094 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10095 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10096
10097 * emacs-lisp/gv.el (cond): Make it a valid place.
10098 (if): Simplify slightly.
10099
10100 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10101 (pcase--self-quoting-p): New function.
10102 (pcase--u1): Use it.
10103
10104 2012-07-10 Glenn Morris <rgm@gnu.org>
10105
10106 * emacs-lisp/authors.el (authors-fixed-entries):
10107 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10108
10109 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10110
10111 Rename configure.in to configure.ac (Bug#11603).
10112 * emacs-lisp/authors.el (authors-canonical-file-name):
10113 * progmodes/autoconf.el (autoconf-mode):
10114 Prefer configure.ac to configure.in.
10115
10116 2012-07-08 Chong Yidong <cyd@gnu.org>
10117
10118 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10119 Implement the mouse-1-click-follows-link handling properly.
10120
10121 * info.el (Info-link-keymap): Use follow-link mechanism for
10122 header-line links (Bug#374).
10123
10124 * simple.el (deactivate-mark): Do not set the primary selection
10125 if another program has acquired it (Bug#11772).
10126
10127 2012-07-07 Kevin Ryde <user42@zip.com.au>
10128
10129 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10130 (woman-decode-region): Replace escaped-escapes without destroying
10131 bold or underline (Bug#11552).
10132 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10133
10134 2012-07-07 Chong Yidong <cyd@gnu.org>
10135
10136 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10137 (interprogram-cut-function, interprogram-paste-function):
10138 Mention that we typically mean the clipboard.
10139
10140 2012-07-06 Glenn Morris <rgm@gnu.org>
10141
10142 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10143
10144 * files.el (toggle-read-only): Restrict message to interactive use.
10145
10146 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10147
10148 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10149
10150 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10151
10152 2012-07-06 Glenn Morris <rgm@gnu.org>
10153
10154 * Makefile.in (compile-one-process): Rename from "recompile".
10155
10156 * Makefile.in (bzr-update): "compile" is the same as "recompile
10157 autoloads", but parallelizable, so use that instead.
10158
10159 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10160
10161 * window.el (quit-window): Always restore window height when
10162 it's saved in quit-restore parameter (Bug#11810).
10163
10164 2012-07-06 Glenn Morris <rgm@gnu.org>
10165
10166 * simple.el (kill-whole-line): Doc tweak.
10167
10168 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10169
10170 * files.el (file-relative-name): Compare file names
10171 case-insensitively if on MS-Windows or MS-DOS, or if
10172 read-file-name-completion-ignore-case is non-nil. Don't use
10173 case-fold-search for this purpose. (Bug#11827)
10174
10175 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10176
10177 * calendar/cal-dst.el (calendar-current-time-zone):
10178 Return calendar-current-time-zone-cache if non-nil.
10179
10180 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10181 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10182
10183 * calendar/cal-dst.el (calendar-current-time-zone):
10184 Return calendar-current-time-zone-cache if non-nil.
10185
10186 2012-07-06 Glenn Morris <rgm@gnu.org>
10187
10188 * Makefile.in (cvs-update): Remove old alias.
10189
10190 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10191
10192 Sync with Tramp 2.2.6-pre.
10193
10194 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10195 compatible declaration.
10196
10197 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10198 Protect `list-load-path-shadows' call.
10199
10200 * net/tramp-compat.el (top): Require packages, which aren't
10201 autoloaded anymore for XEmacs. Protect call of
10202 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10203 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10204 it hurts at least for SXEmacs.
10205 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10206 standard-value for `temporary-file-directory'.
10207
10208 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10209 Redirect stderr to /dev/null.
10210 (tramp-sh-handle-write-region): uid and gid can be floats.
10211 Reported by Russell Sim <russell.sim@gmail.com>.
10212 (tramp-sh-handle-vc-registered): Hide errors.
10213 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10214 and `start-file-process'.
10215 (tramp-maybe-open-connection): Check also whether `non-essential'
10216 is bound.
10217
10218 2012-07-04 Chong Yidong <cyd@gnu.org>
10219
10220 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10221 (xml-parse-tag): Likewise, and avoid changing entity tables.
10222 (xml-syntax-table): Define from scratch, making sure not to give
10223 x2000 and other Unicode spaces whitespace syntax, since those are
10224 not spaces in XML.
10225 (xml-parse-fragment): Delete unused function.
10226 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10227 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10228 (xml-entity-ref, xml-pe-reference-re)
10229 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10230 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10231 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10232 (xml-entity-value-re): Use syntax references in regexps where
10233 possible; no need to define inside a let-binding.
10234 (xml-parse-dtd): Use xml-pe-reference-re.
10235 (xml-entity-or-char-ref-re): New defconst.
10236 (xml-parse-string, xml-substitute-special): Use it.
10237
10238 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10241 (find-file--read-only): New function.
10242 (find-file-read-only, find-file-read-only-other-window)
10243 (find-file-read-only-other-frame): Use it.
10244 (insert-file-contents-literally): Don't `fset'.
10245 (get-free-disk-space): Use locate-dominating-file.
10246
10247 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10248 function is already compiled.
10249
10250 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10251
10252 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10253
10254 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10255 files on the same host.
10256
10257 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10258
10259 * help-fns.el (describe-function-1): Only call
10260 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10261
10262 2012-07-03 Chong Yidong <cyd@gnu.org>
10263
10264 * xml.el: Protect parser against XML bombs.
10265 (xml-entity-expansion-limit): New variable.
10266 (xml-parse-string, xml-substitute-special): Use it.
10267 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10268
10269 2012-07-03 Glenn Morris <rgm@gnu.org>
10270
10271 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10272 Allow linking to specific messages in debbugs reports (eg 123#5).
10273
10274 2012-07-02 Chong Yidong <cyd@gnu.org>
10275
10276 * xml.el: Fix entity and character reference expansion, allowing
10277 them to expand into markup as per XML spec.
10278 (xml-default-ns): New variable.
10279 (xml-entity-alist): Use XML spec definitions for lt and amp.
10280 (xml-parse-region): Make first two arguments optional.
10281 Discard text properties.
10282 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10283 All callers changed.
10284 (xml-parse-tag): Call xml-parse-tag-1. For backward
10285 compatibility, this function should not modify buffer contents.
10286 (xml-parse-tag-1): Fix opening-tag regexp.
10287 (xml-parse-string): Rewrite, handling entity and character
10288 references properly.
10289 (xml--entity-replacement-text): Signal an error if a parameter
10290 entity is undefined.
10291
10292 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * comint.el (comint-output-filter): Filter out repeated prompts.
10295
10296 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10297 and file-name-absolute-p.
10298 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10299 internal calls.
10300
10301 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10302
10303 Spelling fixes.
10304 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10305 Rename from byte-compile--refiy-function. All uses changed.
10306
10307 2012-07-01 Chong Yidong <cyd@gnu.org>
10308
10309 * xml.el (xml--parse-buffer): New function. Move most of
10310 xml-parse-region here.
10311 (xml-parse-region): Copy region into a temporary buffer, since
10312 parameter entity substitution requires changing buffer contents.
10313 Use xml--parse-buffer.
10314 (xml-parse-file): Use xml--parse-buffer.
10315 (xml-parse-dtd): Make parameter entity substitution work right.
10316 Use proper regexps for ELEMENT declarations (Bug#7172).
10317
10318 2012-06-30 Glenn Morris <rgm@gnu.org>
10319
10320 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10321
10322 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10323 Remove outdated and unnecessary dbus declarations.
10324
10325 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10326
10327 * emacs-lisp/timer.el (timer-until): Subtract results of
10328 float-time, instead of taking float-time of the result of
10329 time-subtract, since float-time signals an error for negative time
10330 arguments.
10331
10332 2012-06-30 Chong Yidong <cyd@gnu.org>
10333
10334 * xml.el (xml-*-re): Convert defvars into defconsts, and
10335 eval-and-compile them so eval-and-compile works on derivatives.
10336 (xml--entity-replacement-text): Use eval-and-comple.
10337
10338 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10339
10340 * vc/vc-git.el (vc-git-registered): Use cache property
10341 `git-registered'.
10342 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10343 `vc-git-working-revision' in order to benefit from the cache.
10344 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10345
10346 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10347
10348 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10349 removed (likely outside Emacs). (Bug#11757)
10350
10351 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10352
10353 * emacs-lisp/cl-lib.el: Require macroexp.
10354
10355 2012-06-30 Chong Yidong <cyd@gnu.org>
10356
10357 * xml.el: Implement XML parameter entities.
10358 (xml-parameter-entity-alist): New variable.
10359 (xml-parse-region, xml-parse-fragment): Preserve previous values
10360 of xml-entity-alist and xml-parameter-entity-alist, so that
10361 repeated calls on different documents do not change them.
10362 (xml-parse-tag): Fix doctype regexp.
10363 (xml--entity-replacement-text): New function.
10364 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10365 properly requires url retrieval which is unimplemented.
10366 (xml-escape-string): Doc fix.
10367
10368 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10369
10370 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10371
10372 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10373
10374 * fringe.el (fringe-mode): Doc fix.
10375
10376 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10377
10378 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10379 is non-nil.
10380 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10381 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10382
10383 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10384
10385 * calendar/cal-dst.el (calendar-current-time-zone):
10386 Return calendar-current-time-zone-cache if non-nil.
10387
10388 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10389
10390 * progmodes/which-func.el (which-func-format):
10391 Add mouse-face. (Bug#11698)
10392
10393 2012-06-29 Leo Liu <sdl.web@gmail.com>
10394
10395 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10396
10397 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * minibuffer.el (minibuffer-confirm-exit-commands):
10400 Add completion-at-point (bug#11725).
10401
10402 2012-06-29 Glenn Morris <rgm@gnu.org>
10403
10404 * progmodes/f90.el (f90-font-lock-keywords-2):
10405 Add some preprocessor elements. (Bug#10499)
10406
10407 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10410 Use syntax-propertize (bug#11739).
10411
10412 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10413
10414 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10415
10416 2012-06-28 Julien Danjou <julien@danjou.info>
10417
10418 * term.el (term-handle-colors-array): Use a set of new faces to
10419 color the terminal. Also uses :inverse-video property.
10420 (term-default-fg-color): Set to nil by default, deprecate in favor
10421 of `term-face'.
10422 (term-default-bg-color): Set to nil by default, deprecate in favor
10423 of `term-face'.
10424 (term-current-face): Use `term-face' by default.
10425 (term-bold-attribute): Variable deleted.
10426
10427 2012-06-28 Glenn Morris <rgm@gnu.org>
10428
10429 * simple.el (completion-list-mode-finish):
10430 Don't use toggle-read-only. (Since completion-list-mode has
10431 a special mode-class, it wasn't doing anything extra anyway.)
10432
10433 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 Make inlining of other-mode interpreted functions work (bug#11799).
10436 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10437 (byte-compile): Use it to fix compilation of lexical-binding closures.
10438 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10439 function, if needed.
10440
10441 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * help-mode.el (help-make-xrefs): Don't just withstand
10444 cyclic-variable-indirection but any error in documentation-property.
10445
10446 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10447 memory use.
10448 * bindings.el (bindings--define-key): New function.
10449 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10450 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10451 * bindings.el: Use it to purecopy define-key bindings.
10452
10453 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10454
10455 * emacs-lisp/cl.el (flet): Mark obsolete.
10456 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10457 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10458 * progmodes/js.el (js-c-fill-paragraph):
10459 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10460 (ebrowse-switch-member-buffer-to-derived-class):
10461 * play/5x5.el (5x5-solver): Use cl-flet.
10462
10463 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10464 (cl--symbol-function): New macro.
10465 (cl--letf, cl--letf*): Use it.
10466
10467 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10468 Strip "toggle-" if any.
10469
10470 2012-06-27 Glenn Morris <rgm@gnu.org>
10471
10472 * info.el (Info-default-directory-list): Move here from paths.el.
10473 * paths.el: Remove file, which is now empty.
10474 * loadup.el: No longer load "paths".
10475
10476 * custom.el (custom-initialize-delay): Doc fix.
10477
10478 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10479 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10480 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10481 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10482 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10483 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10484 * eshell/eshell.el (eshell-defgroup): Remove alias.
10485
10486 2012-06-27 Chong Yidong <cyd@gnu.org>
10487
10488 * help.el (help-enable-auto-load): New variable.
10489
10490 * help-fns.el (help-fns--autoloaded-p): New function.
10491 (describe-function-1): Refer to a function as "autoloaded" if it
10492 was autoloaded at any time in the past. Perform autoloading if
10493 help-enable-auto-load is non-nil.
10494
10495 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10496
10497 * makefile.w32-in (compile, compile-always): Depend on
10498 update-subdirs, not on subdirs.el. Otherwise, several different
10499 sub-targets of 'bootstrap' running in parallel could
10500 simultaneously write to subdirs.el, producing a garbled file.
10501
10502 2012-06-26 Sam Steingold <sds@gnu.org>
10503
10504 * files.el (file-name-base): New convenience function.
10505 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10506 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10507 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10508 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10509 * textmodes/ispell.el, textmodes/reftex-ref.el:
10510 * textmodes/tex-mode.el: Use it.
10511 Did not touch cedet and org because they are maintained elsewhere.
10512
10513 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10514
10515 * calendar/calendar.el (calendar-exit): Don't try to delete or
10516 iconify last frame. See:
10517 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10518
10519 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10520
10521 * server.el (server-process-filter): Remember dir in the
10522 process's `server-client-directory' properties.
10523
10524 2012-06-24 Chong Yidong <cyd@gnu.org>
10525
10526 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10527 non-tag text.
10528
10529 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10530
10531 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10532
10533 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * help-fns.el (describe-variable): Don't croak when doc is not found.
10536 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10537 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10538 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10539 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10540 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10541 ((lambda ..) ..).
10542 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10543
10544 2012-06-23 Chong Yidong <cyd@gnu.org>
10545
10546 * info.el (Info-mouse-follow-link): Accept symbol values of
10547 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10548 (Info-fontify-node): Use Info-link-keymap for all navigation
10549 buttons, with link-args property to perform the desired action.
10550 (Info-link-keymap): Doc fix.
10551 (Info-next-link-keymap, Info-prev-link-keymap)
10552 (Info-up-link-keymap): Delete now-unused keymaps.
10553
10554 2012-06-23 Chong Yidong <cyd@gnu.org>
10555
10556 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10557
10558 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10559 system abbrevs.
10560
10561 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10562
10563 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10566 (bug#11719).
10567
10568 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10569 the requote function doesn't work properly (bug#11714).
10570
10571 2012-06-23 Glenn Morris <rgm@gnu.org>
10572
10573 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10574
10575 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 Further GV/CL cleanups.
10578 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10579 gv-expander.
10580 (gv--defun-declaration): New function.
10581 (defun-declarations-alist): Use it.
10582 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10583 (gv-place): Autoload.
10584 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10585 original definition of dotimes and dolist.
10586 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10587 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10588 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10589 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10590 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10591 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10592 to the function's definition.
10593 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10594 * window.el:
10595 * files.el:
10596 * faces.el:
10597 * env.el: Don't use CL.
10598
10599 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10600
10601 Support higher-resolution time stamps (Bug#9000).
10602
10603 * calendar/time-date.el (with-decoded-time-value): New arg
10604 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10605 (encode-time-value): New optional arg PICO. New type 3.
10606 (time-to-seconds) [!float-time]: Support the new picoseconds
10607 component if it's used.
10608 (seconds-to-time, time-subtract, time-add):
10609 Support ps-resolution time stamps as well.
10610
10611 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10612 (timerp): Timer vectors now have length 9, not 8.
10613 (timer--time): Support new-style (4-part) time stamps.
10614 (timer-next-integral-multiple-of-time): Time stamps now have
10615 picosecond resolution, so take a bit more care about rounding.
10616 (timer-relative-time, timer-inc-time): New optional arg psecs.
10617 (timer-set-time-with-usecs): Set psecs to 0.
10618 (timer--activate): Check psecs component, too.
10619
10620 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10621
10622 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10625 Move the non-essential binding to the post/pre-command-hook where it is
10626 more obviously correct.
10627
10628 * subr.el (read-passwd): Don't use a history at all.
10629 * savehist.el (savehist-save): Remove password saved accidentally
10630 because of the above bug.
10631
10632 2012-06-22 Bastien Guerry <bzg@gnu.org>
10633
10634 * files.el (toggle-read-only): Display a message telling whether
10635 the buffer is read-only or not (bug#11726).
10636
10637 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * emacs-lisp/gv.el: New file.
10640 * subr.el (push, pop): Extend to generalized variables.
10641 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10642 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10643 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10644 gv-define-simple-setter, and gv-define-expander.
10645 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10646 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10647 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10648 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10649 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10650 gv-letplace.
10651 (cl-defstruct): Don't define setf-method any more.
10652 * emacs-lisp/cl.el (flet): Don't autoload.
10653 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10654 (define-setf-expander, defsetf, define-modify-macro)
10655 (cl-struct-setf-expander): Move from cl-lib.el.
10656 * emacs-lisp/syntax.el:
10657 * emacs-lisp/ewoc.el:
10658 * emacs-lisp/smie.el:
10659 * emacs-lisp/cconv.el:
10660 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10661 (timer--time): Use gv-define-simple-setter.
10662 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10663 to avoid coding-system problems in subr.el. Adjust all users.
10664 (macroexp--maxsize, macroexp-small-p): New functions.
10665 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10666 * scroll-bar.el (scroll-bar-mode):
10667 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10668 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10669 * winner.el (winner-configuration, winner-make-point-alist)
10670 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10671 * files.el (locate-file-completion-table): Avoid list*.
10672
10673 2012-06-22 Chong Yidong <cyd@gnu.org>
10674
10675 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10676 (dired-create-files): Doc fix (Bug#11329).
10677 (dired-do-copy): Doc fix (Bug#11334).
10678 (dired-mark-read-string): Doc fix (Bug#11553).
10679
10680 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10681 Doc fix (Bug#11326).
10682 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10683 (dired-dwim-target): Doc fix.
10684
10685 * wdired.el (wdired-mode): Doc fix.
10686
10687 2012-06-22 Glenn Morris <rgm@gnu.org>
10688
10689 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10690 (pcmpl-rpm-cache-stamp-file): New constant.
10691 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10692 (pcmpl-rpm-packages): Optionally cache list of packages.
10693
10694 * pcmpl-rpm.el (pcmpl-rpm): New group.
10695 (pcmpl-rpm-query-options): New option.
10696 (pcmpl-rpm-packages): No need to inline it.
10697 Use pcmpl-rpm-query-options.
10698
10699 * calendar/calendar.el (calendar-in-read-only-buffer):
10700 Avoid some needless mode changes.
10701
10702 2012-06-21 Chong Yidong <cyd@gnu.org>
10703
10704 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10705 (desktop-path): Remove . from the default value (Bug#10977).
10706 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10707
10708 2012-06-20 Chong Yidong <cyd@gnu.org>
10709
10710 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10711
10712 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10713
10714 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10715 (bug#11201).
10716
10717 2012-06-20 Chong Yidong <cyd@gnu.org>
10718
10719 * term.el (term-window-width): Handle the case of a missing right
10720 fringe (Bug#8837).
10721 (term-check-size): Use window-text-height (Bug#5445).
10722 (term-mode): Use define-derived-mode. Minor cleanups.
10723 Set font-lock-defaults (Bug#7692).
10724 (term-move-columns, term-insert-char, term-emulate-terminal)
10725 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10726
10727 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10728
10729 * net/ange-ftp.el (ange-ftp-get-passwd):
10730 Bind `enable-recursive-minibuffers'.
10731 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10732
10733 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10734
10735 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10736
10737 2012-06-19 Glenn Morris <rgm@gnu.org>
10738
10739 * progmodes/python.el (python-mode): Derive from prog-mode.
10740
10741 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10742
10743 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10744 (edt-user-menu-bar-update-buffers): New functions.
10745 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10746
10747 2012-06-19 Chong Yidong <cyd@gnu.org>
10748
10749 * subr.el (with-selected-window): Preserve the selected window's
10750 terminal's top-frame (Bug#4702).
10751
10752 * window.el (save-selected-window): Likewise.
10753
10754 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * progmodes/python.el (python-rx-constituents): Move backquote.
10757 (python-skeleton-define, python-define-auxiliary-skeleton):
10758 Use `declare'.
10759
10760 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10761
10762 * minibuffer.el (read-file-name-default): Revert the patch from
10763 2012-06-17.
10764
10765 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10768 (pcase--u1, pcase--q1): Don't use apply-partially.
10769
10770 2012-06-18 Glenn Morris <rgm@gnu.org>
10771
10772 * progmodes/python.el (python-proc, python-buffer)
10773 (python-send-receive, python-send-string): Fix obsolete versions.
10774
10775 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10776
10777 * window.el (special-display-p): Completely remove stringp
10778 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10779
10780 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10781
10782 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10783
10784 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10785
10786 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10787 * net/tramp-sh.el (tramp-maybe-open-connection):
10788 Throw if `non-essential' is non-nil.
10789
10790 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10791
10792 * window.el (special-display-p): Signal an error if BUFFER-NAME
10793 is not a string (Bug#11713).
10794
10795 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10796
10797 * progmodes/python.el (python-info-beginning-of-backslash):
10798 Rename from python-info-beginning-of-backlash, as a spelling fix.
10799
10800 2012-06-17 Chong Yidong <cyd@gnu.org>
10801
10802 * term.el (term-emulate-terminal): If term-check-size is called,
10803 move point to the process mark without resetting point (Bug#4635).
10804
10805 2012-06-17 Glenn Morris <rgm@gnu.org>
10806
10807 * international/mule-cmds.el (mule-menu-keymap)
10808 (set-language-environment, set-locale-environment): Doc tweaks.
10809
10810 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10811
10812 * cus-face.el (custom-face-attributes): Add wave-style underline
10813 attribute.
10814 * faces.el (set-face-attribute): Update docstring to describe
10815 wave-style underline attribute.
10816
10817 2012-06-16 Chong Yidong <cyd@gnu.org>
10818
10819 * term/xterm.el (terminal-init-xterm): Discard input before
10820 querying background mode (Bug#10959).
10821
10822 2012-06-16 Stefan Merten <smerten@oekonux.de>
10823
10824 * textmodes/rst.el: Added and corrected some comments.
10825 (rst-re-alist-def): Improve symbol syntax.
10826 (rst-mode-syntax-table): Correct syntax entries.
10827 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10828 (rst-official-version, rst-official-cvs-rev): Update version
10829 information.
10830
10831 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10834 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10835
10836 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10837
10838 * progmodes/python.el: New python.el merge.
10839 (python-guess-indent): Obsolete var.
10840 (python-indent-guess-indent-offset): New defcustom.
10841 (python-indent): Obsolete var.
10842 (python-indent-offset): New defcustom.
10843 (python-python-command, python-jython-command): Delete var.
10844 (python-shell-interpreter): New defcustom.
10845 (python-pdbtrack-do-tracking-p): Delete var.
10846 (python-pdbtrack-activate): New defcustom.
10847 (python-use-skeletons): Obsolete var.
10848 (python-skeleton-autoinsert): New defcustom.
10849 (inferior-python-filter-regexp, python-continuation-offset)
10850 (python-honour-comment-indentation, python-indent-string-contents)
10851 (python-jython-packages, python-mode-hook)
10852 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10853 (python-shell-prompt-alist)
10854 (python-source-modes): Delete defcustoms.
10855 (python-check-buffer-name, python-eldoc-setup-code)
10856 (python-eldoc-string-code, python-ffap-setup-code)
10857 (python-ffap-string-code, python-fill-comment-function)
10858 (python-fill-decorator-function, python-fill-paren-function)
10859 (python-fill-string-function, python-imenu-include-defun-type)
10860 (python-imenu-make-tree, python-imenu-subtree-root-label)
10861 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10862 (python-shell-compilation-regexp-alist)
10863 (python-shell-completion-module-string-code)
10864 (python-shell-completion-pdb-string-code)
10865 (python-shell-completion-setup-code)
10866 (python-shell-completion-string-code)
10867 (python-shell-enable-font-lock, python-shell-exec-path)
10868 (python-shell-extra-pythonpaths)
10869 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10870 (python-shell-process-environment)
10871 (python-shell-prompt-block-regexp)
10872 (python-shell-prompt-output-regexp)
10873 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10874 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10875 (python-shell-virtualenv-path): New defcustoms.
10876 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10877 (inferior-python-mode-syntax-table, python--prompt-regexp)
10878 (python-buffer, python-command python-python-command)
10879 (python-default-template, python-imports, python-indent-index)
10880 (python-indent-list, python-indent-list-length)
10881 (python-mode-running, python-pdbtrack-is-tracking-p)
10882 (python-preoutput-continuation, python-preoutput-leftover)
10883 (python-preoutput-result, python-preoutput-skip-next-prompt)
10884 (python-prev-dir/file, python-recursing)
10885 (python-saved-check-command, python-version-checked)
10886 (python-which-func-length-limit)
10887 (view-return-to-alist): Delete vars.
10888 (python-check-custom-command, python-dotty-syntax-table)
10889 (python-imenu-index-alist, python-indent-current-level)
10890 (python-indent-dedenters, python-indent-levels)
10891 (python-nav-beginning-of-defun-regexp)
10892 (python-nav-list-defun-positions-cache)
10893 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10894 (python-shell-internal-buffer)
10895 (python-skeleton-available): New vars.
10896 (def-python-skeleton): Delete macro.
10897 (python-skeleton-define): New macro.
10898 (python-define-auxiliary-skeleton, python-rx): New macros.
10899 (python-insert-class): Delete command.
10900 (python-skeleton-class): New command.
10901 (python-insert-def): Delete command.
10902 (python-skeleton-def): New command.
10903 (python-insert-for): Delete command.
10904 (python-skeleton-for): New command.
10905 (python-insert-if): Delete command.
10906 (python-skeleton-if): New command.
10907 (python-insert-try/except, python-insert-try/finally): Delete commands.
10908 (python-skeleton-try): New command.
10909 (python-insert-while): Delete command.
10910 (python-skeleton-while): New command.
10911 (python-backspace): Delete command.
10912 (python-indent-dedent-line-backspace): New command.
10913 (python-electric-colon): Delete command.
10914 (python-indent-electric-colon): New command.
10915 (python-guess-indent): Delete command.
10916 (python-indent-guess-indent-offset): New command.
10917 (python-shift-left): Delete command.
10918 (python-indent-shift-left): New command.
10919 (python-shift-right): Delete command.
10920 (python-indent-shift-right): New command.
10921 (python-find-function): Delete command.
10922 (python-nav-jump-to-defun): New command.
10923 (python-next-statement): Delete command.
10924 (python-nav-forward-sentence): New command.
10925 (python-previous-statement): Delete command.
10926 (python-nav-backward-sentence): New command.
10927 (python-fill-paragraph): Delete command.
10928 (python-fill-paragraph-function): New command.
10929 (python-send-buffer): Delete command.
10930 (python-shell-send-buffer): New command.
10931 (python-send-defun): Delete command.
10932 (python-shell-send-defun): New command.
10933 (python-send-region, python-send-region-and-go): Delete commands.
10934 (python-shell-send-region)
10935 (python-shell-switch-to-shell): New commands.
10936 (python-send-string): Delete command.
10937 (python-shell-send-string): New command.
10938 (python-switch-to-python): Delete command.
10939 (python-shell-switch-to-shell): New command.
10940 (python-describe-symbol): Delete command.
10941 (python-eldoc-at-point): New command.
10942 (python--set-prompt-regexp, python-args-to-list)
10943 (python-after-info-look, python-check-version)
10944 (python-check-comint-prompt, python-find-imports)
10945 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10946 (python-unload-function, python-expand-template)
10947 (python-maybe-jython, python-preoutput-filter)
10948 (python-pdbtrack-get-source-buffer)
10949 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10950 (python-pdbtrack-toggle-stack-tracking)
10951 (python-pdbtrack-track-stack-file, python-initial-text)
10952 (python-first-word, python-comment-line-p, python-send-command)
10953 (python-setup-brm, python-sentinel, python-set-proc)
10954 (python-skip-out, python-input-filter, python-outdent-p)
10955 (python-outline-level, python-backslash-continuation-line-p)
10956 (python-end-of-block, python-end-of-statement, python-mark-block)
10957 (python-beginning-of-block, python-beginning-of-statement)
10958 (python-blank-line-p, python-beginning-of-string)
10959 (python-open-block-statement-p): Delete functions.
10960 (python-indent-line, python-indent-line-1): Delete functions.
10961 (python-indent-line): New function.
10962 (python-indentation-levels): Delete function.
10963 (python-indent-calculate-levels): New function.
10964 (python-proc): Delete function.
10965 (python-shell-get-process): New function.
10966 (python-send-receive): Delete function.
10967 (python-shell-send-string-no-output): New function.
10968 (python-module-path): Delete function.
10969 (python-ffap-module-path): New function.
10970 (python-completion-at-point)
10971 (python-symbol-completions): Delete functions.
10972 (python-completion-complete-at-point): New function.
10973 (python-load-file): Delete function.
10974 (python-shell-send-file): New function.
10975 (python-calculate-indentation): Delete function.
10976 (python-indent-calculate-indentation): New function.
10977 (python-skip-comments/blanks): Delete function.
10978 (python-util-forward-comment): New function.
10979 (python-continuation-line-p): Delete function.
10980 (python-info-continuation-line-p): New function.
10981 (python-which-func, python-current-defun): Delete function.
10982 (python-info-current-defun): New function.
10983 (python-beginning-of-defun): Delete function.
10984 (python-nav-beginning-of-defun): New function.
10985 (python-close-block-statement-p)
10986 (python-block-end-p): Delete function.
10987 (python-info-closing-block): New function.
10988 (python-comint-output-filter-function)
10989 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10990 (python-fill-comment, python-fill-decorator, python-fill-paren)
10991 (python-fill-string, python-imenu-make-element-tree)
10992 (python-imenu-make-tree, python-imenu-tree-assoc)
10993 (python-indent-context, python-indent-dedent-line)
10994 (python-indent-line-function)
10995 (python-indent-post-self-insert-function)
10996 (python-indent-toggle-levels)
10997 (python-info-assignment-continuation-line-p)
10998 (python-info-beginning-of-backlash)
10999 (python-info-block-continuation-line-p)
11000 (python-info-closing-block-message)
11001 (python-info-line-ends-backslash-p)
11002 (python-info-looking-at-beginning-of-defun)
11003 (python-info-ppss-context, python-info-ppss-context-type)
11004 (python-nav-list-defun-positions, python-nav-read-defun)
11005 (python-nav-sentence-end, python-nav-sentence-start)
11006 (python-pdbtrack-comint-output-filter-function)
11007 (python-pdbtrack-set-tracked-buffer)
11008 (python-shell-calculate-exec-path)
11009 (python-shell-calculate-process-environment)
11010 (python-shell-completion--do-completion-at-point)
11011 (python-shell-completion--get-completions)
11012 (python-shell-completion-complete-at-point)
11013 (python-shell-completion-complete-or-indent)
11014 (python-shell-get-or-create-process)
11015 (python-shell-get-process-name)
11016 (python-shell-internal-get-or-create-process)
11017 (python-shell-internal-get-process-name)
11018 (python-shell-internal-send-string, python-shell-make-comint)
11019 (python-shell-parse-command, python-shell-send-setup-code)
11020 (python-skeleton-add-menu-items)
11021 (python-util-clone-local-variables, python-util-position)
11022 (run-python-internal, python-indentation-levels)
11023 (python-nav-beginning-of-defun)
11024 (python-completion-complete-at-point): New functions.
11025 (run-python): Change arguments. New API requirements.
11026
11027 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11030 (bug#11649).
11031
11032 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11033 (macroexp--expand-all): Use it.
11034
11035 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11036 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11037 Use `cl-function' instead.
11038
11039 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11040
11041 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11042 Suggested by Stefan Monnier while discussing bug#11657.
11043
11044 2012-06-14 Sam Steingold <sds@gnu.org>
11045
11046 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11047
11048 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11049
11050 * play/doctor.el (doctor-doc): Remove parameter and use
11051 doctor-sent instead of sent.
11052 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11053
11054 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11055
11056 * files.el: Require cl-lib.
11057 (file-name-non-special): Replace case -> cl-case.
11058
11059 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11060
11061 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11062 mapping from #' to function*.
11063
11064 2012-06-13 Chong Yidong <cyd@gnu.org>
11065
11066 * mouse.el (mouse-drag-track): Do not set the mark if the user
11067 releases the mouse without selecting anything (Bug#11588).
11068
11069 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11072 as well (bug#11646).
11073
11074 * loadup.el: Count byte-code functions as well.
11075
11076 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11077 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11078
11079 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11080 (bug#11649). Add cl-defun and cl-defmacro.
11081
11082 2012-06-13 Drew Adams <drew.adams@oracle.com>
11083
11084 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11085 Fix last change.
11086
11087 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11088
11089 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11090 Otherwise, it blocks in batch mode.
11091
11092 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * help-mode.el (bookmark-make-record-default): Declare.
11095
11096 2012-06-13 Chong Yidong <cyd@gnu.org>
11097
11098 * emacs-lisp/package.el (list-packages): Compute a list of
11099 packages that are newly-available since the last list-packages
11100 invocation.
11101 (package-menu--new-package-list): New var.
11102 (package-menu--generate, package-menu--print-info)
11103 (package-menu--status-predicate, package-menu-mark-install):
11104 Handle new status label "new".
11105
11106 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11109 conversion to backquotes.
11110
11111 2012-06-12 Chong Yidong <cyd@gnu.org>
11112
11113 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11114 Rename from gud-inhibit-global-bindings.
11115
11116 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11117
11118 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11119 hook from nxml-glyph-set-hook.
11120
11121 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11122 declaration.
11123
11124 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11125
11126 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11127 Convert to defcustom.
11128
11129 2012-06-12 Drew Adams <drew.adams@oracle.com>
11130
11131 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11132 New functions.
11133 (help-mode): Use them.
11134
11135 2012-06-11 Glenn Morris <rgm@gnu.org>
11136
11137 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11138 Use preprocessor face for directives.
11139 (fortran-directive-re): Doc fix.
11140
11141 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11144 conversion to backquotes (bug#11652).
11145
11146 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11147 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11148 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11149 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11150 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11151 (cl-ninth, cl-tenth): Mark them as inlinable.
11152 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11153 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11154 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11155 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11156 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11157 (cl-list*, cl-adjoin): Don't put an autoload manually.
11158 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11159 (cl--compiler-macro-list*): Add autoload cookie.
11160 (cl--compiler-macro-cXXr): New function.
11161
11162 * help-fns.el (help-fns--compiler-macro): New function extracted from
11163 describe-function-1; follow aliases and use `compiler-macro' property.
11164 (describe-function-1): Use it.
11165
11166 2012-06-11 Chong Yidong <cyd@gnu.org>
11167
11168 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11169 is uninstalled, if imagemagick is installed.
11170
11171 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * emacs-lisp/cl-lib.el: Use lexical-binding.
11174 (cl-map-extents, cl-maclisp-member): Remove.
11175 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11176 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11177 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11178 * emacs-lisp/cl-extra.el: Use lexical-binding.
11179 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11180 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11181 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11182 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11183 * emacs-lisp/cl-seq.el: Use lexical-binding.
11184 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11185 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11186 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11187 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11188 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11189 CL's internals.
11190
11191 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11192
11193 Sync with Tramp 2.2.6-pre.
11194
11195 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11196 `print-length' and `print-level' to nil, in order to avoid
11197 truncation. Reported by Christopher Schmidt
11198 <christopher@ristopher.com>.
11199
11200 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11201
11202 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11203 New defmacro.
11204 (tramp-compat-copy-directory): Add optional argument
11205 COPY-CONTENTS. It is not handled yet.
11206
11207 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11208 (tramp-ftp-file-name-p): Simplify.
11209
11210 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11211 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11212 connection vector.
11213
11214 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11215 (tramp-methods): Do not use `tramp-password-end-of-line'.
11216 (tramp-completion-function-alist-putty): Handle UNIX case.
11217 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11218 (tramp-do-file-attributes-with-stat)
11219 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11220 gid as real numbers. They could run out of integer range on cygwin.
11221 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11222 (tramp-sh-handle-expand-file-name): Handle hops.
11223 (tramp-open-connection-setup-interactive-shell):
11224 Use `tramp-cleanup'. Move check for busyboxes ...
11225 (tramp-find-shell): ... here. Simplify implementation.
11226 Set "remote-shell" property also for alternative shells.
11227 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11228 If failing, a regular file would be written otherwise.
11229 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11230 (tramp-find-inline-encoding): Cache the coding commands in the
11231 process cache. Apply test command on the remote side, if defined.
11232 (tramp-find-inline-compress): Cache the compress commands in the
11233 process cache.
11234 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11235 when requested. Handle hops.
11236 (tramp-current-connection): New defvar.
11237 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11238 Throw `suppress', if there was a failed connection shortly before.
11239 Handle user interrupt. (Bug#10187)
11240 (tramp-get-inline-compress, tramp-get-inline-coding):
11241 Read connection properties from the process cache.
11242
11243 * net/tramp-smb.el (tramp-smb-server-version)
11244 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11245 New defconsts.
11246 (tramp-smb-prompt): Extend for powershell prompt.
11247 (tramp-smb-file-name-handler-alist): Add handlers for
11248 `process-file', `shell-command' and `start-file-process'.
11249 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11250 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11251 (tramp-smb-file-name-p): Simplify.
11252 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11253 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11254 (tramp-smb-shell-quote-argument): New defuns.
11255 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11256 Implement using "tar". By this, time-stamps are preserved.
11257 (tramp-smb-handle-copy-file): Handle also the case of directories.
11258 (tramp-smb-do-file-attributes-with-stat)
11259 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11260 Use `tramp-get-connection-buffer').
11261 (tramp-smb-handle-rename-file): Use "rename", when source and
11262 target are on the same share.
11263 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11264 Use `tramp-smb-server-version'.
11265 (tramp-smb-wait-for-output): Remove prompt.
11266
11267 * net/tramp.el (top): Require 'cl.
11268 (tramp-methods, tramp-rsh-end-of-line):
11269 Remove `tramp-password-end-of-line' from docstring.
11270 (tramp-save-ad-hoc-proxies): New defcustom.
11271 (tramp-completion-function-alist): Adapt docstring.
11272 (tramp-default-password-end-of-line): Remove defcustom.
11273 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11274 (tramp-user-regexp, tramp-file-name-regexp-unified)
11275 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11276 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11277 (tramp-remote-file-name-spec-regexp): New defconst.
11278 (tramp-file-name-structure): Extend structure for hops.
11279 (tramp-get-method-parameter): Move up.
11280 (tramp-file-name-p, tramp-dissect-file-name)
11281 (with-parsed-tramp-file-name): Handle hops.
11282 (tramp-file-name-hop): New defun.
11283 (tramp-make-tramp-file-name): New optional arg HOP.
11284 (tramp-message-show-progress-reporter-message): New defvar.
11285 (tramp-with-progress-reporter): Use it. We cannot use
11286 `tramp-message-show-message' here, because this suppresses also
11287 error buffers.
11288 (tramp-error-with-buffer): Suppress buffer view, if
11289 `tramp-message-show-message' is nil.
11290 Use `tramp-get-connection-buffer'.
11291 (tramp-cleanup): New defun.
11292 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11293 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11294 an error unchanged.
11295 (tramp-completion-handle-file-name-all-completions): Handle hops.
11296 Fix an error when called from ido.
11297 (tramp-completion-dissect-file-name): Use better local variable
11298 name. Add hop to the vector.
11299 (tramp-handle-insert-file-contents): Use progress-reporter for the
11300 whole scenario.
11301 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11302 to `t'.
11303 (tramp-check-for-regexp): Simplify search.
11304 (tramp-enter-password): Remove it. Move implementation ...
11305 (tramp-action-password): ... here.
11306 (tramp-mode-string-to-int, tramp-local-host-p)
11307 (tramp-make-tramp-temp-file, tramp-read-passwd)
11308 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11309 Set tramp-autoload cookie.
11310
11311 * net/trampver.el: Update release number.
11312
11313 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11314 Michael Albinus <michael.albinus@gmx.de>
11315
11316 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11317 (tramp-parse-group, tramp-parse-file)
11318 (tramp-parse-shostkeys-sknownhosts): New defuns.
11319 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11320 (tramp-parse-shosts-group, tramp-parse-sconfig)
11321 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11322 (tramp-parse-sknownhosts, tramp-parse-hosts)
11323 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11324 Use them.
11325 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11326 (tramp-parse-putty-group): Don't narrow.
11327 (tramp-parse-putty): Make a loop.
11328 (tramp-file-name-handler): Catch the `suppress' signal.
11329
11330 2012-06-11 Chong Yidong <cyd@gnu.org>
11331
11332 * image.el (imagemagick-register-types): Put the ImageMagick entry
11333 at the end of image-type-file-name-regexps.
11334
11335 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11336
11337 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11338 (pcase, pcase-let*, pcase-dolist): Use them.
11339
11340 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * emacs-lisp/pcase.el (pcase--let*): New function.
11343 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11344 (pcase--expand): Use macroexp-let².
11345
11346 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11349 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11350 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11351 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11352 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11353 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11354
11355 2012-06-10 Glenn Morris <rgm@gnu.org>
11356
11357 * mail/rmail.el (rmail-yank-current-message): Leave point at
11358 correct position. (Bug#11660)
11359
11360 2012-06-10 Chong Yidong <cyd@gnu.org>
11361
11362 * allout-widgets.el: Fix code header.
11363
11364 2012-06-10 Chong Yidong <cyd@gnu.org>
11365
11366 * cus-edit.el (customize-changed-options-previous-release):
11367 Bump to 24.1.
11368
11369 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11370
11371 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11372
11373 2012-06-09 Chong Yidong <cyd@gnu.org>
11374
11375 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11376
11377 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11378
11379 * window.el (special-display-popup-frame): Don't use
11380 window--display-buffer (Bug#11651).
11381
11382 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11383
11384 Fix parallel builds: make sure loaddefs.el is not being written
11385 while Lisp files are compiled.
11386 (compile): Don't depend on 'mh-autoloads'.
11387 (compile-CMD, compile-SH): Depend on 'autoloads'.
11388 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11389
11390 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11391
11392 2012-06-09 Chong Yidong <cyd@gnu.org>
11393
11394 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11395 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11396 Doc fixes (Bug#11225).
11397
11398 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11401 a function if there's a clear indication that it has a compiler-macro.
11402 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11403 (macro-declarations-alist): Add arglist to declaration functions.
11404 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11405 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11406 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11407 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11408 Also add autoload to find the compiler macro.
11409 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11410 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11411 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11412 (cl--compiler-macro-get): New functions, replacing calls to
11413 cl-define-compiler-macro.
11414 (cl-typep) [compiler-macro]: Use macroexp-let².
11415
11416 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11417
11418 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11419 string properly, fixes Bug#11473.
11420
11421 2012-06-08 Chong Yidong <cyd@gnu.org>
11422
11423 * faces.el (set-face-attribute): Doc fix.
11424 (modify-face): Don't use :bold and :italic.
11425 (error, warning, success): Tweak definitions.
11426
11427 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11428 (custom-modified, custom-set, custom-changed, custom-themed)
11429 (custom-saved, custom-button, custom-button-mouse)
11430 (custom-button-pressed, custom-state, custom-comment-tag)
11431 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11432 (custom-group-subtitle): Use new-style face specs.
11433 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11434 (custom-set-face, custom-changed-face, custom-saved-face)
11435 (custom-button-face, custom-button-pressed-face)
11436 (custom-documentation-face, custom-state-face)
11437 (custom-comment-face, custom-comment-tag-face)
11438 (custom-variable-tag-face, custom-variable-button-face)
11439 (custom-face-tag-face, custom-group-tag-face-1)
11440 (custom-group-tag-face): Remove obsolete face alias.
11441
11442 * epa.el (epa-validity-high, epa-validity-medium)
11443 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11444 (epa-field-name, epa-field-body):
11445 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11446 (font-lock-keyword-face, font-lock-builtin-face)
11447 (font-lock-function-name-face, font-lock-variable-name-face)
11448 (font-lock-type-face, font-lock-constant-face):
11449 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11450 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11451 * speedbar.el (speedbar-button-face, speedbar-file-face)
11452 (speedbar-directory-face, speedbar-tag-face)
11453 (speedbar-selected-face, speedbar-highlight-face)
11454 (speedbar-separator-face):
11455 * whitespace.el (whitespace-newline, whitespace-space)
11456 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11457 (whitespace-line, whitespace-space-before-tab)
11458 (whitespace-space-after-tab, whitespace-indentation)
11459 (whitespace-empty):
11460 * emulation/cua-base.el (cua-global-mark):
11461 * eshell/em-prompt.el (eshell-prompt):
11462 * net/newst-plainview.el (newsticker-new-item-face)
11463 (newsticker-old-item-face, newsticker-immortal-item-face)
11464 (newsticker-obsolete-item-face, newsticker-date-face)
11465 (newsticker-statistics-face, newsticker-default-face):
11466 * net/newst-reader.el (newsticker-feed-face)
11467 (newsticker-extra-face, newsticker-enclosure-face):
11468 * net/newst-treeview.el (newsticker-treeview-face)
11469 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11470 (newsticker-treeview-immortal-face)
11471 (newsticker-treeview-obsolete-face)
11472 (newsticker-treeview-selection-face):
11473 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11474 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11475 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11476 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11477 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11478 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11479 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11480 (mpuz-text):
11481 * progmodes/vera-mode.el (vera-font-lock-number)
11482 (vera-font-lock-function, vera-font-lock-interface):
11483 * textmodes/table.el (table-cell): Use new-style face specs, and
11484 don't use the old :bold and :italic attributes.
11485
11486 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11487 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11488 (ebrowse-member-class, ebrowse-progress): Likewise.
11489 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11490 (ebrowse-file-name-face, ebrowse-default-face)
11491 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11492 (ebrowse-progress-face): Remove obsolete faces.
11493
11494 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11495 Inherit from error and warning faces respectively.
11496
11497 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11498 Likewise.
11499 (flyspell-incorrect-face, flyspell-duplicate-face):
11500 Remove obsolete aliases.
11501
11502 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11503
11504 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11505 Avoid infloop.
11506
11507 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * startup.el (argv, argi): Make lexically scoped.
11510 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11511 * emacs-lisp/cl-macs.el: Use lexical-binding.
11512 Rename cl-bind-* to cl--bind-*.
11513 * files.el: Don't require `cl' since it doesn't use it.
11514 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11515
11516 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11519 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11520 instead of calling external sort utility.
11521 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11522
11523 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11524
11525 * descr-text.el (describe-char): Mention how to insert the
11526 character, if the current input method doesn't support it.
11527 See the discussion in this thread for the details:
11528 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11529
11530 2012-06-08 Sam Steingold <sds@gnu.org>
11531
11532 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11533 XF86Back to previous-buffer.
11534 (minibuffer-local-map): Bind them to next-history-element and
11535 previous-history-element respectively.
11536 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11537 help-go-back respectively.
11538 * info.el (Info-mode-map): Bind them to Info-history-forward and
11539 Info-history-back respectively.
11540 These are the keys next to Up on the ThinkPad keyboard.
11541
11542 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11545 * emacs-lisp/cl-macs.el: Provide itself.
11546 (cl--labels-convert-cache): New var.
11547 (cl--labels-convert): New function.
11548 (cl-flet, cl-labels): New implementation with new semantics, relying on
11549 lexical-binding.
11550 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11551 (cl-closure-vars, cl--function-convert-cache)
11552 (cl--function-convert): Move from cl-macs.el.
11553 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11554 rename by removing the "cl-" prefix.
11555 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11556
11557 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11560 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11561 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11562 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11563 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11564 (cl-hash-table-count): Add old compatibility aliases.
11565
11566 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11567 Use macroexpand-all-environment instead.
11568 (cl--old-macroexpand): New var.
11569 (cl--sm-macroexpand): New function.
11570 (cl-symbol-macrolet): Use it during macro expansion.
11571 (cl--function-convert-cache): New var.
11572 (cl--function-convert): New function, extracted from
11573 cl-macroexpand-all.
11574 (cl-lexical-let): Use it.
11575
11576 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11577 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11578 (cl-member): Remove old alias.
11579
11580 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11581 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11582 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11583 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11584 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11585 (cl-macroexpand-cmacs): Remove var.
11586 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11587 Use macroexpand-all instead.
11588
11589 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11592 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11593 (macroexp-copyable-p): New functions and macros.
11594 * emacs-lisp/edebug.el (edebug-unwrap):
11595 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11596 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11597 (pcase--let*): Remove.
11598 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11599 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11600 macroexp-const-p instead.
11601 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11602
11603 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11604 instead of "cl-" for internal definitions. Use macroexp-const-p.
11605 (cl-old-bc-file-form): Remove var.
11606 (cl-const-exprs-p): Remove fun.
11607 (cl-labels, cl-macrolet): Use backquote.
11608 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11609 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11610 (cl-define-setf-expander): Rename from cl-define-setf-method.
11611 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11612
11613 * international/mule-cmds.el: Don't require CL.
11614 (view-hello-file): Don't use `letf'.
11615
11616 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11617
11618 * tmm.el (tmm-prompt): Use string-prefix-p.
11619 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11620 (tmm-add-prompt): Use minibuffer-completion-help.
11621 (tmm-delete-map): Remove.
11622
11623 * subr.el (kbd): Make it its own function.
11624
11625 2012-06-07 Stefan Merten <smerten@oekonux.de>
11626
11627 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11628 Silence compiler warnings. Fix versions.
11629 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11630 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11631 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11632 (rst-package-emacs-version-alist): Correct Emacs version to
11633 represent major merge with upstream.
11634 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11635
11636 2012-06-06 Glenn Morris <rgm@gnu.org>
11637
11638 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11639 Only print environment variables if set.
11640
11641 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11644 (macroexp--cons): Rename from maybe-cons.
11645 (macroexp--accumulate): Rename from macroexp-accumulate.
11646 (macroexp--all-forms): Rename from macroexpand-all-forms.
11647 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11648 (macroexp--expand-all): Rename from macroexpand-all-1.
11649
11650 2012-06-06 Sam Steingold <sds@gnu.org>
11651
11652 * calendar/calendar.el (calendar-in-read-only-buffer):
11653 Call `special-mode' to enable the standard read-only keybindings.
11654
11655 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11658 with "loading" messages (bug#11635).
11659
11660 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11661
11662 * files.el (enable-remote-dir-locals): New option.
11663 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11664
11665 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11666 Ensure, that the temp directory is local.
11667
11668 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11669 `temporary-file-directory'.
11670
11671 * progmodes/python.el (python-send-region): Ensure, that the
11672 temporary file is created also in the remote case.
11673
11674 2012-06-06 Glenn Morris <rgm@gnu.org>
11675
11676 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11677 (vc-rcs-update-changelog): Use it.
11678
11679 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11680
11681 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11682 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11683 (vc-sccs-diff): Replace use of the external vcdiff script.
11684
11685 2012-06-05 Glenn Morris <rgm@gnu.org>
11686
11687 * ledit.el: Move to obsolete/.
11688
11689 2012-06-05 Sam Steingold <sds@gnu.org>
11690
11691 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11692 patch (Bug#11140).
11693
11694 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * emacs-lisp/cust-print.el: Move to obsolete.
11697
11698 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11699 compiler-macro expansion.
11700
11701 Add native compiler-macro support.
11702 * emacs-lisp/macroexp.el (macroexpand-all-1):
11703 Support compiler-macros directly. Properly follow aliases and apply
11704 the compiler macros more thoroughly.
11705 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11706 macroexpand now properly follows aliases.
11707 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11708 (cl-compiler-macroexpand): Use new prop.
11709 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11710
11711 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11712
11713 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11714
11715 * window.el (get-lru-window, get-mru-window, get-largest-window):
11716 New argument NOT-SELECTED to avoid picking the selected window.
11717 (window--display-buffer-1, window--display-buffer-2): Replace by
11718 new function window--display-buffer
11719 (display-buffer-same-window, display-buffer-reuse-window)
11720 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11721 Use window--display-buffer.
11722 (display-buffer-use-some-window): Remove temporary dedication
11723 hack by calling get-lru-window and get-largest-window with
11724 NOT-SELECTED argument non-nil. Call window--display-buffer.
11725
11726 2012-06-05 Glenn Morris <rgm@gnu.org>
11727
11728 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11729 Replace external vcdiff script.
11730
11731 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11734
11735 2012-06-04 Chong Yidong <cyd@gnu.org>
11736
11737 * image.el (imagemagick-types-inhibit): Revert last change.
11738 Add INFO and M.
11739 (imagemagick-enabled-types): Remove CIN and EPS*.
11740
11741 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * emacs-lisp/cl-lib.el: Rename from cl.el.
11744 * emacs-lisp/cl.el: New compatibility file.
11745 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11746 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11747 to obey the "cl-" prefix.
11748 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11749
11750 2012-06-03 Glenn Morris <rgm@gnu.org>
11751
11752 * emacs-lisp/authors.el (authors-aliases): Addition.
11753
11754 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11755 Fix :version.
11756
11757 2012-06-03 Stefan Merten <smerten@oekonux.de>
11758
11759 * textmodes/rst.el: Add comments.
11760 (rst-transition, rst-adornment): New faces.
11761 (rst-adornment-faces-alist): Make default safe to reevaluate.
11762 Fixes
11763 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11764 Improve customization tags.
11765 (rst-define-level-faces): Clarify meaning.
11766
11767 2012-06-03 Chong Yidong <cyd@gnu.org>
11768
11769 * progmodes/compile.el (compilation-mode-line-fail)
11770 (compilation-mode-line-run, compilation-mode-line-exit):
11771 New faces.
11772 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11773
11774 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11775
11776 * progmodes/which-func.el (which-func-update-ediff-windows):
11777 New function. Use it in ediff-select-hook (Bug#11478).
11778
11779 2012-06-03 Chong Yidong <cyd@gnu.org>
11780
11781 * bindings.el: Remove explicit help text from format-mode-line.
11782 It is now supplied by mode-line-default-help-echo.
11783 (mode-line-front-space, mode-line-end-spaces)
11784 (mode-line-misc-info): New variables.
11785 (mode-line-modes, mode-line-position): Move the default value to
11786 the variable definition.
11787 (mode-line-default-help-echo): New defcustom.
11788 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11789 (mode-line-modified-help-echo): New functions.
11790 (mode-line-mule-info, mode-line-modified): Use them.
11791 (mode-line-eol-desc, propertized-buffer-identification):
11792 Consistency fixes for help text.
11793 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11794 set-buffer-file-coding-system (Bug#289).
11795 (mode-line-mule-info-help-echo): Update help text.
11796
11797 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * simple.el (execute-extended-command): Set real-this-command
11800 (bug#11506).
11801
11802 2012-06-02 Chong Yidong <cyd@gnu.org>
11803
11804 Remove incorrect uses of "modeline" in comments, docstrings, and
11805 function/variable names (Bug#10329).
11806
11807 * cus-edit.el (mode-line):
11808 * dframe.el (dframe-mouse-hscroll):
11809 * emacs-lisp/re-builder.el:
11810 * emacs-lisp/easy-mmode.el (define-minor-mode):
11811 * frame.el (set-frame-name):
11812 * help.el (lookup-minor-mode-from-indicator):
11813 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11814 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11815 (c-toggle-hungry-state):
11816 * progmodes/antlr-mode.el (antlr-language-alist):
11817 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11818 * progmodes/vhdl-mode.el (vhdl-mode):
11819 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11820 * term/ns-win.el (ns-face-at-pos):
11821 * term/sup-mouse.el (sup-mouse-report):
11822 * textmodes/flyspell.el (flyspell-mode-line-string):
11823 * textmodes/ispell.el (ispell-highlight-face):
11824 * textmodes/reftex-global.el:
11825 * vc/vc-arch.el (vc-arch-mode-line-string):
11826 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11827 * vc/vc-git.el (vc-git-mode-line-string):
11828 * vc/vc-hooks.el (vc-display-status)
11829 (vc-default-mode-line-string):
11830 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11831
11832 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11833
11834 * dired.el (dired-sort-set-mode-line): Rename from
11835 dired-sort-set-modeline. All callers changed.
11836
11837 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11838 eshell-status-in-modeline.
11839
11840 * foldout.el (foldout-mode-line-string): Rename from
11841 foldout-modeline-string. All callers changed.
11842 (foldout-update-mode-line): Rename from foldout-update-modeline.
11843
11844 * subr.el (redraw-modeline): Make into obsolete alias.
11845
11846 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11847 timeclock-modeline-display. Make old name an alias.
11848 (timeclock-update-mode-line): Likewise. All callers changed.
11849 (timeclock-mode-line-display): No need to check before using
11850 add-hook.
11851 (timeclock-relative, timeclock-day-over-hook)
11852 (timeclock-use-elapsed, timeclock-mode-string)
11853 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11854
11855 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11856 crisp-mode-modeline-string.
11857
11858 * play/solitaire.el (solitaire-build-mode-line): Rename from
11859 solitaire-build-modeline. All callers changed.
11860
11861 * play/zone.el (zone-hiding-mode-line): Rename from
11862 zone-hiding-modeline. All callers changed.
11863 (zone): Remove unusued `modeline-hidden-level' property.
11864
11865 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11866 xscheme-modeline-initialize. All callers changed.
11867
11868 * strokes.el (strokes-lighter): Rename from
11869 strokes-modeline-string.
11870
11871 * textmodes/sgml-mode.el (html-face-tag-alist)
11872 (html-tag-face-alist): Use mode-line face instead of obsolete
11873 alias modeline.
11874
11875 2012-06-02 Stefan Merten <smerten@oekonux.de>
11876
11877 * textmodes/rst.el: Always require `cl'.
11878 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11879
11880 2012-06-02 Chong Yidong <cyd@gnu.org>
11881
11882 * image.el (imagemagick-enabled-types): Rename from
11883 imagemagick-types-enable. Add many more types.
11884 (imagemagick-types-inhibit): Change default to nil.
11885 (imagemagick-filter-types): Caller changed.
11886
11887 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * emacs-lisp/cl-macs.el: Use backquotes.
11890 (cl-transform-function-property): Use eval-and-compile rather than
11891 abusing `require'.
11892 (defstruct): Use declare-function instead of with-no-warnings.
11893
11894 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11895 (byte-compile-output-docform): Re-add the print-circle bindings.
11896 (byte-compile-fix-header): Use #$ just because it's shorter.
11897 (byte-compile-output-file-form): Remove defun/defmacro.
11898
11899 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11900
11901 * simple.el (choose-completion): Remove now obsolete binding for
11902 owindow.
11903
11904 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11905
11906 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11907 in order to avoid "Stack overflow in regexp matcher".
11908
11909 2012-05-31 Glenn Morris <rgm@gnu.org>
11910
11911 * image.el: For clarity, call imagemagick-register-types at
11912 top-level, rather than relying on a custom :initialize.
11913 (imagemagick-types-enable): New option. (Bug#11557)
11914 (imagemagick-filter-types): New function. (Bug#7406)
11915 (imagemagick-register-types): Use imagemagick-filter-types.
11916 If disabling support, remove elements altogether rather
11917 than using an impossible regexp.
11918 (imagemagick-types-inhibit): Give it the default init function.
11919
11920 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11923 Handle arbitrary file name lengths (Bug#11585).
11924
11925 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11926
11927 * desktop.el (desktop-read): Clear previous and next buffers for
11928 all windows and bury *Messages* buffer (bug#11556).
11929
11930 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 Add `declare' for `defun'. Align `defmacro's with it.
11933 * emacs-lisp/easy-mmode.el (define-minor-mode)
11934 (define-globalized-minor-mode): Don't autoload the var definitions.
11935 * emacs-lisp/byte-run.el: Use lexical-binding.
11936 (defun-declarations-alist, macro-declarations-alist): New vars.
11937 (defmacro, defun): Use them.
11938 (make-obsolete, define-obsolete-function-alias)
11939 (make-obsolete-variable, define-obsolete-variable-alias):
11940 Use `declare'.
11941 (macro-declaration-function): Mark obsolete.
11942 * emacs-lisp/autoload.el: Use lexical-binding.
11943 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11944
11945 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11946
11947 * textmodes/ispell.el (ispell-with-no-warnings):
11948 Define as a macro.
11949 (ispell-kill-ispell, ispell-change-dictionary):
11950 Use `called-interactively-p' for Emacs instead of obsolete
11951 `interactive-p'.
11952
11953 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11954
11955 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11956 (macro-declaration-function): Move var from C code.
11957 (macro-declaration-function): Define function with defalias.
11958 * emacs-lisp/macroexp.el (macroexpand-all-1):
11959 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11960 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11961 defun/defmacro any more.
11962 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11963 Provide fallback for unknown arglist.
11964 (byte-compile-arglist-warn): Change calling convention.
11965 (byte-compile-output-file-form): Move print-vars binding.
11966 (byte-compile-output-docform): Simplify accordingly.
11967 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11968 (byte-compile-defmacro-declaration): Remove.
11969 (byte-compile-file-form-defmumble): Generalize to defalias.
11970 (byte-compile-output-as-comment): Return byte-positions.
11971 Simplify callers accordingly.
11972 (byte-compile-lambda): Use `assert'.
11973 (byte-compile-defun, byte-compile-defmacro): Remove.
11974 (byte-compile-file-form-defalias):
11975 Use byte-compile-file-form-defmumble.
11976 (byte-compile-defalias-warn): Remove.
11977
11978 2012-05-29 Stefan Merten <smerten@oekonux.de>
11979
11980 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11981 possible. Fix authors. Improve comments. Improve loading of `cl'.
11982
11983 (rst-mode-abbrev-table): Merge definition.
11984 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11985 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11986
11987 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11988
11989 * calendar/icalendar.el
11990 (icalendar-export-region): Export UID properly.
11991
11992 2012-05-29 Leo Liu <sdl.web@gmail.com>
11993 * calendar/icalendar.el (icalendar-import-format):
11994 Add `icalendar-import-format-uid' (Bug#11525).
11995 (icalendar-import-format-uid): New.
11996 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11997 Export UID.
11998
11999 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12002 different alternative patterns.
12003 (pcase-codegen): Be more careful to preserve identity.
12004 (pcase--u1): Don't forget to mark vars as used.
12005
12006 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12007 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12008 (byte-compile-from-buffer): ...rather than here.
12009
12010 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12011 functions from byte-compile-function-environment.
12012
12013 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12014
12015 * window.el (window-deletable-p): Avoid deleting the root window
12016 of a frame with an active minibuffer.
12017
12018 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12019
12020 * simple.el (choose-completion): Use quit-window (Bug#11567).
12021
12022 2012-05-29 Chong Yidong <cyd@gnu.org>
12023
12024 * whitespace.el (whitespace-cleanup): Fix usage of
12025 whitespace-empty-at-bob-regexp (Bug#11492).
12026
12027 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12028
12029 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12030 revert (Bug#11488).
12031
12032 2012-05-29 Juri Linkov <juri@jurta.org>
12033
12034 * isearch.el (isearch-mode-map): Bind `M-s _' to
12035 `isearch-toggle-symbol'. Bind `M-s c' to
12036 `isearch-toggle-case-fold'.
12037 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12038 (isearch-forward): Add `M-s _' to the docstring.
12039 (isearch-forward-symbol, isearch-toggle-case-fold)
12040 (isearch-symbol-regexp): New functions. (Bug#11381)
12041
12042 2012-05-29 Juri Linkov <juri@jurta.org>
12043
12044 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12045 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12046 a function, call it to get the regexp.
12047 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12048 property `isearch-message-prefix' instead of the string "word ".
12049 (isearch-search-fun-default): For the case of `isearch-word',
12050 return a lambda that calls re-search-forward/re-search-backward
12051 with a regexp returned by `word-search-regexp' or by the function
12052 in `isearch-word'.
12053
12054 2012-05-29 Juri Linkov <juri@jurta.org>
12055
12056 * isearch.el (isearch-search-fun-default): New function.
12057 (isearch-search-fun): Move default part to the new function
12058 `isearch-search-fun-default'.
12059 (isearch-search-fun-function): Set the default value to
12060 `isearch-search-fun-default'. (Bug#11381)
12061
12062 * comint.el (comint-history-isearch-end):
12063 Use `isearch-search-fun-default'.
12064 (comint-history-isearch-search): Use `isearch-search-fun-default'
12065 and remove spacial case for `isearch-word'.
12066 (comint-history-isearch-wrap): Remove spacial case for
12067 `isearch-word'.
12068
12069 * hexl.el (hexl-isearch-search-function):
12070 Use `isearch-search-fun-default'.
12071
12072 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12073 Use `word-search-regexp' for `isearch-word'.
12074
12075 * misearch.el (multi-isearch-search-fun):
12076 Use `isearch-search-fun-default'.
12077
12078 * simple.el (minibuffer-history-isearch-search):
12079 Use `isearch-search-fun-default' and remove spacial case for
12080 `isearch-word'.
12081 (minibuffer-history-isearch-wrap): Remove spacial case for
12082 `isearch-word'.
12083
12084 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12085 Remove spacial case for `isearch-word'.
12086 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12087
12088 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12089
12090 Decrease XEmacs incompatibilities.
12091 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12092 Use `string-match'.
12093 (flyspell-delete-region-overlays): Use alternative definition for
12094 XEmacs.
12095 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12096 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12097 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12098 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12099 `define-obsolete-face-alias' under XEmacs, but old method.
12100
12101 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12102 `with-no-warnings' definition or Emacs alias.
12103 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12104 (ispell-word): Do not use `region-p' if XEmacs.
12105
12106 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12107
12108 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12109 Check for `ispell-dictionary-base-alist' instead of full
12110 `ispell-dictionary-alist'.
12111 (ispell-init-process): Show spellchecker when starting new Ispell
12112 process.
12113
12114 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12117 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12118
12119 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12120
12121 * version.el (motif-version-string, gtk-version-string)
12122 (ns-version-string): Declare.
12123
12124 2012-05-27 Juri Linkov <juri@jurta.org>
12125
12126 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12127 after the `eval-defun-1' specialcaseing
12128 like in `edebug-eval-defun' (bug#10181).
12129
12130 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12131 like in `eval-defun-1'.
12132
12133 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12134
12135 * mail/sendmail.el (mail-yank-region):
12136 Recognize rmail-yank-current-message in addition to insert-buffer.
12137 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12138 a *mail* buffer created through rmail-start-mail with sendmail as
12139 mail-user-agent.
12140
12141 2012-05-27 Chong Yidong <cyd@gnu.org>
12142
12143 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12144 Default to 256 (Bug#11267).
12145
12146 * help.el (describe-mode): Doc fix.
12147
12148 2012-05-26 Glenn Morris <rgm@gnu.org>
12149
12150 * w32-fns.el (w32-init-info): Remove.
12151 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12152
12153 * info.el (info-initialize): For self-contained NS builds, put the
12154 included info/ directory at the front. (Bug#2791)
12155
12156 * paths.el (Info-default-directory-list): Make it a defcustom,
12157 mainly so that we can use custom-initialize-delay.
12158
12159 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * subr.el (buffer-has-markers-at): Mark obsolete.
12162
12163 * subr.el (lambda): Use declare.
12164
12165 * emacs-lisp/lisp-mode.el (lambda):
12166 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12167
12168 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12169
12170 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12171
12172 2012-05-26 Glenn Morris <rgm@gnu.org>
12173
12174 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12175
12176 2012-05-25 Glenn Morris <rgm@gnu.org>
12177
12178 * paths.el: Remove no-byte-compile.
12179 * loadup.el: No need to load paths.el uncompiled.
12180
12181 * image.el (imagemagick-types-inhibit): Doc fix.
12182
12183 * version.el: Remove no-byte-compile and associated formatting.
12184 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12185 is ancient code from when there was an "inc-vers.el".
12186
12187 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * progmodes/gdb-mi.el: Minor style changes.
12190 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12191 Turn into minor modes.
12192 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12193 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12194 (gdb-shell): Remove unneeded let-binding.
12195 (gdb-get-many-fields): Eliminate O(n²) behavior.
12196
12197 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12198
12199 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12200 platforms that don't link in fontset.c.
12201
12202 2012-05-25 Juri Linkov <juri@jurta.org>
12203
12204 Use the same diff color scheme as in modern VCSes (bug#10181).
12205
12206 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12207 to avoid confusion with `diff-added' that now uses green colors.
12208 (diff-removed): Use shades of red.
12209 (diff-added): Use shades of green.
12210 (diff-changed): Leave just the yellow color.
12211 (diff-use-changed-face): New variable.
12212 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12213 how to highlight context diff changes.
12214 (diff-refine-change): Use shades of yellow.
12215 (diff-refine-removed): New face that uses shades of red.
12216 (diff-refine-added): New face that uses shades of green.
12217 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12218 `diff-refine-removed' in the call to `smerge-refine-subst'
12219 depending on the value of `diff-use-changed-face'.
12220
12221 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12222 (smerge-other): Use shades of green.
12223 (smerge-base): Use shades of yellow.
12224 (smerge-refined-change): Empty face.
12225 (smerge-refined-removed): New face that uses shades of red.
12226 (smerge-refined-added): New face that uses shades of green.
12227 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12228 args `props-r' and `props-a', and use them. Doc fix.
12229 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12230 on its value use different faces `smerge-refined-change',
12231 `smerge-refined-removed', `smerge-refined-added' in the call to
12232 `smerge-refine-subst'.
12233
12234 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12235 Add face condition `min-colors 88' with shades of red.
12236 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12237 `min-colors 88' with shades of green.
12238 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12239 `min-colors 88' with shades of yellow.
12240
12241 2012-05-24 Glenn Morris <rgm@gnu.org>
12242
12243 * paths.el (prune-directory-list, remote-shell-program): Move to...
12244 * files.el (prune-directory-list, remote-shell-program): ...here.
12245 For the latter, delay initialization, prefer ssh, just search PATH.
12246
12247 * paths.el (term-file-prefix): Move to faces.el (the only user).
12248 * faces.el (term-file-prefix): Move here, make it a defcustom.
12249
12250 * paths.el (news-directory, news-path, news-inews-program):
12251 Move to gnus/nnspool.el.
12252
12253 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12254
12255 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12256 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12257 Make the latter a defcustom, with a delayed initialization.
12258
12259 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12260 These were deleted from Gnus itself late 2010.
12261
12262 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12263
12264 * progmodes/which-func.el (which-func-ff-hook):
12265 Check against user-error, not error.
12266
12267 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12268 cl-specs.el, which no longer exists.
12269
12270 2012-05-22 Glenn Morris <rgm@gnu.org>
12271
12272 * info.el (info-emacs-bug): New command.
12273 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12274 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12275
12276 2012-05-21 Glenn Morris <rgm@gnu.org>
12277
12278 * makefile.w32-in (update-subdirs-SH):
12279 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12280
12281 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12284
12285 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12286 Simplify Maven regexp, and make sure the file can't start with a space
12287 (bug#11517).
12288
12289 2012-05-21 Glenn Morris <rgm@gnu.org>
12290
12291 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12292 Scrap superfluous subshells.
12293
12294 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12297 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12298
12299 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12300
12301 * calc/calc.el (calc-ensure-consistent-units): New variable.
12302
12303 * calc/calc-units.el (math-consistent-units-p)
12304 (math-check-unit-consistency): New functions.
12305 (calc-quick-units, calc-convert-units):
12306 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12307 is non-nil.
12308 (calc-extract-units): Fix typo.
12309
12310 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12313
12314 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12315 (flyspell-default-deplacement-commands): Don't spell check after
12316 repeated window/frame switches (e.g. triggered by mouse-movement).
12317 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12318 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12319 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12320 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12321 Remove unused vars.
12322 (flyspell-get-casechars, flyspell-get-not-casechars):
12323 Simplify; Don't bother removing a ] just to add it back.
12324 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12325
12326 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12327
12328 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12329 New functions.
12330 (math-function-table): Add support for more C functions.
12331
12332 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12333
12334 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12335 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12336 Protect delay handling for otherchars against empty otherchars.
12337
12338 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12341 their respective macro declarations.
12342 * skeleton.el (define-skeleton):
12343 * progmodes/compile.el (define-compilation-mode):
12344 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12345 (define-ibuffer-filter):
12346 * emacs-lisp/generic.el (define-generic-mode):
12347 * emacs-lisp/easy-mmode.el (define-minor-mode)
12348 (define-globalized-minor-mode):
12349 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12350 * emacs-lisp/byte-run.el (defsubst):
12351 * custom.el (deftheme): Add doc-string metadata.
12352
12353 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12354
12355 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12356
12357 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12360
12361 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12362 * emacs-lisp/cl-macs.el: Idem.
12363 * emacs-lisp/cl-specs.el: Remove.
12364
12365 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12366
12367 Minor renaming of internal CL functions and variables.
12368 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12369 (cl--position): Rename from cl-position.
12370 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12371 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12372 (cl--random-state): Rename from *random-state*.
12373
12374 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12377 parens around the arg list (bug#11499).
12378
12379 2012-05-17 Juri Linkov <juri@jurta.org>
12380
12381 * isearch.el (word-search-regexp, word-search-backward)
12382 (word-search-forward, word-search-backward-lax)
12383 (word-search-forward-lax): Move functions from search.c
12384 (bug#10145, bug#11381).
12385
12386 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12387
12388 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12389 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12390 Delay for otherchars as for normal word components.
12391
12392 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * minibuffer.el (completion--sifn-requote): Fix last change.
12395 (minibuffer-local-must-match-filename-map):
12396 Move define-obsolete-variable-alias before its var.
12397
12398 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12401
12402 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12403 behavior.
12404 (completion--string-equal-p): New function.
12405 (completion--twq-all): Use it to get better assertion failure data.
12406
12407 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12408 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12409 (shell--requote-argument): New functions.
12410 (shell-completion-vars): Use them.
12411 (shell--parse-pcomplete-arguments): Rename from
12412 shell-parse-pcomplete-arguments.
12413 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12414 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12415 Obey comint-file-name-quote-list.
12416
12417 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12418 (smie-indent-keyword): Use it.
12419
12420 2012-05-14 Stefan Merten <smerten@oekonux.de>
12421
12422 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12423
12424 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * net/rlogin.el (rlogin-mode-map): Fix last change.
12427
12428 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12429
12430 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12431 the following \r\n using a single `process-send-string', since the
12432 Lotus SMTP server refuses to accept any commands if they are sent
12433 with two `process-send-string's (Bug#11444).
12434
12435 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * shell.el (shell-parse-pcomplete-arguments):
12438 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12439
12440 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12441
12442 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12443 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12444 (image-transform-width, image-transform-fit-width): New functions.
12445 (image-transform-properties): Use them.
12446 (image-transform-check-size): New function.
12447 (image-toggle-display-image): Use it (for testing).
12448 (image-transform-set-rotation): Reduce angle mod 360.
12449 Delete obsolete comment.
12450
12451 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12452
12453 * image-mode.el: Fix scaling (bug#11399).
12454 (image-transform-resize): Doc fix.
12455 (image-transform-properties): Default scale is 1 and height should
12456 be an integer.
12457
12458 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12459
12460 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12461 than hard-coding `car', to fix misbehavior when moving forward.
12462
12463 2012-05-13 Chong Yidong <cyd@gnu.org>
12464
12465 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12466 (tabulated-list-entries, tabulated-list-padding)
12467 (tabulated-list-sort-key): Make permanent-local.
12468
12469 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12470 (electric-buffer-list): Put electric buffer menu
12471 command descriptions in this docstring, instead of the docstring
12472 of electric-buffer-menu-mode. Code cleanups.
12473 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12474 Electric-buffer-menu-mode.
12475 (electric-buffer-update-highlight): Minor code cleanup.
12476
12477 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12478
12479 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12480 (Bug#11447)
12481
12482 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 Move define-obsolete-variable-alias before the var's definition.
12485 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12486 * tooltip.el (tooltip-hook):
12487 * textmodes/reftex-toc.el (reftex-toc-map):
12488 * textmodes/reftex-sel.el (reftex-select-label-map)
12489 (reftex-select-bib-map):
12490 * textmodes/reftex-index.el (reftex-index-map)
12491 (reftex-index-phrases-map):
12492 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12493 * progmodes/meta-mode.el (meta-mode-map):
12494 * novice.el (disabled-command-hook):
12495 * loadhist.el (unload-hook-features-list):
12496 * frame.el (blink-cursor):
12497 * files.el (find-file-not-found-hooks, write-file-hooks)
12498 (write-contents-hooks):
12499 * emulation/tpu-edt.el (GOLD-map):
12500 * emacs-lock.el (emacs-lock-from-exiting):
12501 * emacs-lisp/generic.el (generic-font-lock-defaults):
12502 * emacs-lisp/chart.el (chart-map):
12503 * dos-fns.el (register-name-alist):
12504 * dired-x.el (dired-omit-files-p):
12505 * desktop.el (desktop-enable):
12506 * cus-edit.el (custom-mode-hook):
12507 * buff-menu.el (buffer-menu-mode-hook):
12508 * bookmark.el (bookmark-read-annotation-text-func)
12509 (bookmark-exit-hooks):
12510 * allout.el (allout-mode-deactivate-hook)
12511 (allout-exposure-change-hook, allout-structure-added-hook)
12512 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12513 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12514 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12515 comes before the corresponding variable's definition.
12516
12517 2012-05-12 Chong Yidong <cyd@gnu.org>
12518
12519 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12520 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12521 (Buffer-menu-mode-map): Bind it.
12522 (Buffer-menu--pretty-name): Add a mouse-face property.
12523
12524 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12527 (prolog-upper-case-string, prolog-lower-case-string)
12528 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12529 (prolog-use-smie, prolog-smie-grammar): New vars.
12530 (prolog-smie-forward-token, prolog-smie-backward-token)
12531 (prolog-smie-rules): New funs.
12532 (prolog-comment-indent): Remove.
12533 (prolog-mode-variables): Use default comment indentation instead.
12534 Setup SMIE.
12535 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12536 (prolog-mode): Don't call them any more.
12537 (prolog-electric-colon, prolog-electric-dash)
12538 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12539
12540 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12541
12542 * minibuffer.el (completion--twq-all): Again, allow case differences.
12543
12544 * term.el: Move keymap initialization code to be more idiomatic.
12545 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12546 (term-terminal-menu): Move initialization into declaration.
12547 (term-escape-char): Let the user set it in her .emacs.
12548
12549 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12550 Provide SMIE-based indentation (not enabled by default yet).
12551 (sh-mode-map): Don't bind electric keys.
12552 Use electric-pair-mode instead of skeleton-pair.
12553 (sh-assignment-regexp): Fit within 80 columns.
12554 (sh-indent-supported): Specify actual shell name instead of boolean.
12555 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12556 (sh-maybe-here-document): Use it. Make obsolete.
12557 (sh-electric-here-document-mode) New minor mode.
12558 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12559 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12560 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12561 (sh-smie-rc-grammar, sh-use-smie): New vars.
12562 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12563 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12564 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12565 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12566 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12567 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12568 (sh-set-shell): Use smie-setup if requested.
12569
12570 * term.el (term-set-escape-char): Properly set term-escape-char.
12571 See http://stackoverflow.com/questions/10524656.
12572
12573 2012-05-10 Chong Yidong <cyd@gnu.org>
12574
12575 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12576 Use url-generic-parse-url, and handle host names and Windows
12577 filenames properly.
12578 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12579 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12580 URL schemes to work on.
12581 (ffap--toggle-read-only): New function.
12582 (ffap-read-only, ffap-read-only-other-window)
12583 (ffap-read-only-other-frame): Use it.
12584 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12585 necessary for ffap-url-unwrap-remote.
12586
12587 2012-05-10 Dave Abrahams <dave@boostpro.com>
12588
12589 * cus-start.el (create-lockfiles): Add it.
12590
12591 2012-05-09 Chong Yidong <cyd@gnu.org>
12592
12593 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12594 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12595
12596 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12599
12600 2012-05-09 Chong Yidong <cyd@gnu.org>
12601
12602 * ansi-color.el (ansi-color-process-output): Check for validity of
12603 comint-last-output-start before using it. This avoids a bad
12604 interaction with gdb-mi's input/output buffer.
12605
12606 2012-05-09 Glenn Morris <rgm@gnu.org>
12607
12608 * files.el (dir-locals-read-from-file):
12609 Mention dir-locals in any error message.
12610
12611 2012-05-09 Chong Yidong <cyd@gnu.org>
12612
12613 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12614 package (Bug#11410).
12615
12616 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12617 variables into description.
12618
12619 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12622 shell-delimiter-argument-list (bug#11348).
12623 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12624
12625 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12626
12627 * textmodes/rst.el: Silence byte-compiler warnings.
12628 (rst-re-alist, rst-reset-section-caches): Move around.
12629 (rst-re): Use `characterp', not `char-valid-p'.
12630 (font-lock-beg, font-lock-end): Declare.
12631
12632 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12633 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12634
12635 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12636
12637 2012-05-08 Glenn Morris <rgm@gnu.org>
12638
12639 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12640
12641 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * vc/log-edit.el: Add GNU coding standards highlighting.
12644 (log-edit-font-lock-gnu-style)
12645 (log-edit-font-lock-gnu-keywords): New vars.
12646 (log-edit-font-lock-keywords): New fun.
12647 (log-edit-mode): Don't fold case in font-lock.
12648 (log-edit-font-lock-keywords): Do not assume case-folding.
12649
12650 * imenu.el: Misc cleanup. Make docstrings out of comments.
12651 Use lexical-binding.
12652 (imenu--index-alist, imenu--last-menubar-index-alist)
12653 (imenu-menubar-modified-tick): Use defvar-local.
12654 (imenu--split-menu): Remove unused var.
12655 (imenu--cleanup-seen): Declare as global.
12656 (imenu--cleanup): Use dolist.
12657
12658 * subr.el (defvar-local): Add debug spec and doc-string position.
12659
12660 2012-05-08 Glenn Morris <rgm@gnu.org>
12661
12662 * language/burmese.el, language/cham.el, language/czech.el:
12663 * language/english.el, language/georgian.el, language/greek.el:
12664 * language/japanese.el, language/khmer.el, language/korean.el:
12665 * language/lao.el, language/misc-lang.el, language/romanian.el:
12666 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12667 * language/thai.el, language/utf-8-lang.el:
12668 Remove no-byte-compile setting.
12669
12670 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12671
12672 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12673
12674 * progmodes/make-mode.el (makefile-browse):
12675 Remove unnecessary interactive. (Bug#11324)
12676
12677 2012-05-07 Glenn Morris <rgm@gnu.org>
12678
12679 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12680
12681 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12682
12683 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12684
12685 * loadup.el: Preload newcomment.el.
12686 * newcomment.el: Move autoload-only code to toplevel.
12687
12688 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12689 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12690 Handle new :right-align column property.
12691 (tabulated-list-print-col): Idem, plus use `display' text-property to
12692 try and preserve alignment for variable pitch fonts.
12693
12694 2012-05-07 Chong Yidong <cyd@gnu.org>
12695
12696 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12697 (tabulated-list-use-header-line): New var.
12698 (tabulated-list-init-header): Use it.
12699 (tabulated-list-print-fake-header): New function.
12700 (tabulated-list-print): Use it.
12701 (tabulated-list-sort-button-map): Add non-header-line commands.
12702 (tabulated-list-init-header): Add column name property to basic
12703 labels as well.
12704 (tabulated-list-col-sort): Handle non-header-line button case.
12705 (tabulated-list--sort-by-column-name): Fix a corner case.
12706
12707 * buff-menu.el (list-buffers--refresh):
12708 Handle Buffer-menu-use-header-line.
12709
12710 2012-05-06 Chong Yidong <cyd@gnu.org>
12711
12712 * buff-menu.el: Convert to Tabulated List mode.
12713 (Buffer-menu-buffer+size-width): Make obsolete.
12714 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12715 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12716 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12717 documentation into docstring of buffer-menu.
12718 (Buffer-menu-toggle-files-only): Add an informative message.
12719 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12720 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12721 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12722 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12723 (Buffer-menu-execute, Buffer-menu-select)
12724 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12725 (Buffer-menu-bury): Use Tabulated List machinery.
12726 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12727 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12728 Delete.
12729 (list-buffers--refresh): New function.
12730 (list-buffers-noselect): Use it.
12731 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12732 (Buffer-menu--pretty-file-name): New helper functions.
12733
12734 * loadup.el: Preload tabulated-list.
12735
12736 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12737 tabulated-list-sort-column.
12738 (tabulated-list-init-header): Add the initial aligning space even
12739 if tabulated-list-padding is zero.
12740
12741 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12742
12743 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12744 whose cdr is not a cons cell correctly (bug#11038).
12745
12746 2012-05-06 Chong Yidong <cyd@gnu.org>
12747
12748 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12749 Accept additional plist in column descriptors.
12750 (tabulated-list-init-header): Obey it.
12751 (tabulated-list-get-entry): New function.
12752 (tabulated-list-put-tag): Use it. Use string-width instead of
12753 length.
12754 (tabulated-list--column-number): New function.
12755 (tabulated-list-print): Use it.
12756 (tabulated-list-print-col): New function.
12757 Set `tabulated-list-column-name' property on each column's text.
12758 (tabulated-list-print-entry): Use it.
12759 (tabulated-list-delete-entry, tabulated-list-set-col):
12760 New functions.
12761 (tabulated-list-sort-column): New command (Bug#11337).
12762
12763 * buff-menu.el (list-buffers): Move C-x C-b binding from
12764 buff-menu.el to bindings.el.
12765
12766 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12767 :advertised-binding feature.
12768
12769 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12770
12771 * progmodes/compile.el (compilation-internal-error-properties):
12772 Calculate start position correctly when end-col is set but
12773 end-line is not (Bug#11382).
12774
12775 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12776
12777 * man.el (Man-unindent): Use text-property-default-nonsticky to
12778 prevent untabify from inheriting face properties (Bug#11408).
12779
12780 2012-05-05 Stefan Merten <smerten@oekonux.de>
12781
12782 * textmodes/rst.el: Major merge with upstream development up to
12783 Docutils SVN r7399 / rst.el V1.2.1.
12784
12785 Clarify maintainership and authors.
12786
12787 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12788 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12789 (rst-official-version, rst-official-cvs-rev, rst-version)
12790 (rst-package-emacs-version-alist): New functions and variables
12791 for version information.
12792
12793 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12794 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12795 (rst-mode-syntax-table, rst-mode): New and corrected functions
12796 and variables representing reStructuredText features.
12797
12798 (rst-re): New function for reStructuredText regexes. Use in
12799 many places.
12800
12801 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12802 (rst-mode-map): Rebind keys.
12803
12804 (rst-mode-lazy, rst-font-lock-keywords)
12805 (rst-font-lock-extend-region)
12806 (rst-font-lock-extend-region-internal)
12807 (rst-font-lock-extend-region-extend)
12808 (rst-font-lock-find-unindented-line-limit)
12809 (rst-font-lock-find-unindented-line-match)
12810 (rst-adornment-level, rst-font-lock-adornment-level)
12811 (rst-font-lock-adornment-match)
12812 (rst-font-lock-handle-adornment-pre-match-form)
12813 (rst-font-lock-handle-adornment-matcher): Major revision of
12814 font-locking. Integrate with other code. Use `jit-lock-mode'.
12815
12816 (rst-preferred-adornments, rst-adjust-hook)
12817 (rst-new-adornment-down, rst-preferred-bullets)
12818 (rst-preferred-bullets, rst-indent, rst-indent-width)
12819 (rst-indent-field, rst-indent-literal-normal)
12820 (rst-indent-literal-minimized, rst-indent-comment): Change,
12821 extend and improve customization.
12822
12823 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12824 (rst-normalize-cursor-position, rst-get-decoration)
12825 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12826 (rst-rstrip, rst-toc-insert-find-delete-contents)
12827 (rst-shift-fill-region, rst-compute-bullet-tabs)
12828 (rst-debug-print-tabs, rst-debug-mark-found)
12829 (rst-shift-region-guts, rst-shift-region-right)
12830 (rst-shift-region-left, rst-use-char-classes)
12831 (rst-font-lock-keywords-function)
12832 (rst-font-lock-indentation-point)
12833 (rst-font-lock-find-unindented-line-begin)
12834 (rst-font-lock-find-unindented-line-end)
12835 (rst-font-lock-find-unindented-line)
12836 (rst-font-lock-adornment-point, rst-font-lock-level)
12837 (rst-adornment-level-alist): Remove functions and variables.
12838
12839 (rst-compare-adornments, rst-get-adornment-match)
12840 (rst-suggest-new-adornment, rst-get-adornments-around)
12841 (rst-adornment-complete-p, rst-get-next-adornment)
12842 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12843 (rst-straighten-adornments): Standardize function names to
12844 use "adornment" instead of "decoration". Correct callers.
12845 Similar standardizing in many places.
12846
12847 (rst-update-section, rst-adjust, rst-promote-region)
12848 (rst-enumerate-region, rst-bullet-list-region)
12849 (rst-repeat-last-character): Correct use of `interactive'.
12850
12851 (rst-classify-adornment, rst-find-all-adornments)
12852 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12853 (rst-find-leftmost-column, rst-repeat-last-character):
12854 Refactor functions.
12855
12856 (rst-find-title-line, rst-reset-section-caches)
12857 (rst-get-adornments-around, rst-adjust-adornment-work)
12858 (rst-arabic-to-roman, rst-roman-to-arabic)
12859 (rst-insert-list-pos, rst-insert-list-new-item)
12860 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12861 New functions.
12862
12863 (rst-all-sections, rst-section-hierarchy)
12864 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12865 New variables.
12866
12867 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12868 configuration instead of only buffer. Change where necessary.
12869
12870 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12871 (rst-shift-region, rst-adaptive-fill): New functions for
12872 indentation and filling.
12873
12874 (rst-comment-line-break, rst-comment-indent)
12875 (rst-comment-insert-comment, rst-comment-region)
12876 (rst-uncomment-region): New functions for handling comments.
12877
12878 (rst-compile): Quote shell arguments.
12879
12880 (rst-compile-pdf-preview, rst-compile-slides-preview):
12881 Delete temporary files after use.
12882
12883 2012-05-05 Glenn Morris <rgm@gnu.org>
12884
12885 * calendar/cal-html.el: Optionally include holidays in the output.
12886 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12887 (cal-html-holidays): New option.
12888 (cal-html-css-default): Add holiday entry.
12889 (holiday-in-range): Autoload it.
12890 (cal-html-htmlify-entry): Add optional class argument.
12891 (cal-html-htmlify-list): Add optional holidays argument.
12892 (cal-html-insert-agenda-days): Include holidays in the output.
12893 (cal-html-one-month): Maybe include holidays.
12894
12895 * calendar/holidays.el (holiday-in-range):
12896 Move here from cal-tex-list-holidays.
12897 * calendar/cal-tex.el (cal-tex-list-holidays):
12898 Make it an obsolete alias for holiday-in-range. Update all callers.
12899
12900 2012-05-05 Chong Yidong <cyd@gnu.org>
12901
12902 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12903 Nextstep.
12904
12905 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12906
12907 * files.el (file-auto-mode-skip): New var.
12908 (set-auto-mode-1): Use it.
12909
12910 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * repeat.el: Use lexical-binding.
12913 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12914 (repeat-undo-count): Remove.
12915 (repeat):
12916 * progmodes/octave-mod.el (octave-abbrev-start):
12917 * progmodes/f90.el (f90-abbrev-start):
12918 * face-remap.el (text-scale-adjust):
12919 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12920
12921 * emacs-lisp/pcase.el (pcase--let*): New function.
12922 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12923 a bit more.
12924 (pcase--split-pred): Be more clever about ruling out overlap between
12925 a predicate and some constant pattern.
12926 (pcase--q1): Use `null' instead of (eq foo nil).
12927
12928 * subr.el (setq-local, defvar-local): New macros.
12929 (kbd): Redefine as an alias.
12930 (with-selected-window): Leave unrelated frames alone.
12931 (set-temporary-overlay-map): New function.
12932
12933 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * subr.el (user-error): New function.
12936 * window.el (switch-to-buffer):
12937 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12938 (smerge-match-conflict):
12939 * simple.el (previous-matching-history-element)
12940 (next-matching-history-element, goto-history-element, undo-more)
12941 (undo-start):
12942 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12943 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12944 (next-file, tags-loop-scan, list-tags, complete-tag):
12945 * progmodes/compile.el (compilation-loop):
12946 * mouse.el (mouse-minibuffer-check):
12947 * man.el (Man-bgproc-sentinel, Man-goto-page):
12948 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12949 (Info-history-forward, Info-follow-reference, Info-menu)
12950 (Info-extract-menu-item, Info-extract-menu-counting)
12951 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12952 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12953 (Info-next-reference, Info-prev-reference, Info-index)
12954 (Info-index-next, Info-follow-nearest-node)
12955 (Info-copy-current-node-name):
12956 * imenu.el (imenu--make-index-alist)
12957 (imenu-default-create-index-function, imenu-add-to-menubar):
12958 * files.el (basic-save-buffer, recover-file):
12959 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12960 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12961 (checkdoc-message-text, checkdoc-defun):
12962 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12963 * cus-edit.el (customize-changed-options, customize-rogue)
12964 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12965 (custom-variable-mark-to-reset-standard)
12966 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12967 (custom-file):
12968 * completion.el (check-completion-length):
12969 * comint.el (comint-search-arg)
12970 (comint-previous-matching-input-string-position)
12971 (comint-previous-matching-input)
12972 (comint-replace-by-expanded-history-before-point, comint-send-input)
12973 (comint-copy-old-input, comint-backward-matching-input)
12974 (comint-goto-process-mark, comint-set-process-mark):
12975 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12976 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12977
12978 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12979
12980 * dabbrev.el (dabbrev--ignore-case-p): New function.
12981 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12982 Use it.
12983
12984 * files.el (automount-dir-prefix): Mark as obsolete.
12985
12986 2012-05-04 Glenn Morris <rgm@gnu.org>
12987
12988 * patcomp.el, play/bruce.el: Move to obsolete/.
12989
12990 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12991
12992 Fix minor Y10k bugs.
12993 * arc-mode.el (archive-unixdate):
12994 * autoinsert.el (auto-insert-alist):
12995 * calc/calc-forms.el (math-this-year):
12996 * emacs-lisp/copyright.el (copyright-current-year)
12997 (copyright-update-year, copyright):
12998 * tar-mode.el (tar-clip-time-string):
12999 * time.el (display-time-update):
13000 Don't assume years have 4 digits.
13001
13002 2012-05-04 Chong Yidong <cyd@gnu.org>
13003
13004 * dos-w32.el (file-name-buffer-file-type-alist)
13005 (direct-print-region-use-command-dot-com):
13006 * ffap.el (ffap-menu-regexp):
13007 * find-file.el (ff-special-constructs):
13008 * follow.el (follow-debug):
13009 * forms.el (forms--debug):
13010 * iswitchb.el (iswitchb-all-frames):
13011 * ido.el (ido-all-frames):
13012 * emacs-lisp/timer.el (timer-max-repeats):
13013 * mail/feedmail.el (feedmail-mail-send-hook)
13014 (feedmail-mail-send-hook-queued):
13015 * mail/footnote.el (footnote-signature-separator):
13016 * mail/mailabbrev.el (mail-alias-separator-string)
13017 (mail-abbrev-mode-regexp):
13018 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13019 * progmodes/idlwave.el (idlwave-libinfo-file)
13020 (idlwave-default-completion-case-is-down)
13021 (idlwave-library-routines): Convert defvars to defcustoms.
13022
13023 * mail/rmail.el (rmail-decode-mime-charset):
13024 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13025 (idlwave-shell-fix-inserted-breaks)
13026 (idlwave-shell-activate-alt-keybindings)
13027 (idlwave-shell-use-breakpoint-glyph):
13028 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13029
13030 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13033
13034 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13035
13036 * progmodes/verilog-mode.el (font-lock-keywords):
13037 Fix mis-highligting auto. Reported by Craig Barner.
13038 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13039 defines from global name space. Reported by Dan Dever.
13040 (verilog-auto-reset, verilog-auto-reset-widths)
13041 (verilog-auto-tieoff): Support using unbased numbers for
13042 AUTORESET and AUTOTIEOFF.
13043 (verilog-submit-bug-report): Update variable list.
13044 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13045 parenthesis from not matching. Reported by Michael Rytting.
13046 (verilog-auto-template-lint): Fix hash error when linting modules
13047 with no used templates.
13048 (verilog-warn, verilog-warn-error)
13049 (verilog-warn-fatal): When non-interactive report multiple
13050 warnings before exiting. Suggested by Brad Dobbie.
13051 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13052 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13053 to report unused template errors. Reported by Brad Dobbie.
13054 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13055 nets, bug438. Reported by Vns Blore.
13056 (verilog-auto-inout-module, verilog-auto-reg)
13057 (verilog-read-decls, verilog-read-sub-decls-sig)
13058 (verilog-signals-edit-wire-reg, verilog-signals-with):
13059 Fix passing of Verilog data types in ANSI input/output ports
13060 such as "output logic" into the AUTOs. Special case "wire" and
13061 "reg" for backwards compatibility presuming Verilog 2001.
13062 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13063 (verilog-preprocess): Fix replication of preprocess output.
13064 Reported by Brad Dobbie.
13065 (verilog-auto-inst-interfaced-ports):
13066 Create verilog-auto-inst-interfaced-ports, bug429.
13067 Reported by Julian Gorfajn.
13068 (verilog-after-save-font-hook)
13069 (verilog-before-save-font-hook): New variable.
13070 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13071 (verilog-save-font-mods): Wrap disabling fontification, reported
13072 by David Rogoff.
13073 (verilog-do-indent, verilog-pretty-declarations-auto)
13074 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13075 Reported by Pierre-David Pfister.
13076 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13077 of class declarations, bug292. Reported by Kevin Heilman.
13078 (verilog-read-decls): Fix 'parameter type' not appearing in
13079 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13080 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13081 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13082 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13083 Reported by David Kravitz.
13084
13085 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13086
13087 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13088 assignment with tests in ifs and for loops.
13089 (verilog-extended-complete-re, verilog-complete-reg): Change so
13090 that DPI inport functions don't look like fuction declarations.
13091 (verilog-pretty-expr): Don't line up assignment
13092 operations to the test and increment in if and for loops
13093 (verilog-extended-complete-re, verilog-complete-reg): Change so
13094 that DPI inport functions don't look like fuction declarations.
13095
13096 2012-05-03 Kenichi Handa <handa@m17n.org>
13097
13098 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13099 decoding, and show a warning message without signaling an error
13100 (Bug#11282).
13101
13102 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13103
13104 * emacs-lisp/bytecomp.el
13105 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13106 since cconv.el might have introduced :fun-body, internal-make-closure,
13107 and friends for bytecomp to handle (bug#11391).
13108 * custom.el (defcustom): Avoid ((λ ..) ..).
13109
13110 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13111
13112 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13113
13114 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13115
13116 * notifications.el (dbus-debug):
13117 * term/linux.el (gpm-mouse-enable):
13118 * term/screen.el (xterm-register-default-colors): Declare.
13119
13120 2012-05-02 Chong Yidong <cyd@gnu.org>
13121
13122 * cus-start.el (gc-cons-percentage, exec-suffixes)
13123 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13124 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13125 (make-cursor-line-fully-visible, void-text-area-pointer)
13126 (font-list-limit): Add customization data.
13127
13128 * allout.el (allout-exposure-change-functions)
13129 (allout-structure-added-functions)
13130 (allout-structure-deleted-functions)
13131 (allout-structure-shifted-functions): Rename abnormal hooks from
13132 *-hook, and convert to defcustoms.
13133 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13134 Convert to defcustoms.
13135 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13136
13137 * allout-widgets.el: Hook callers changed.
13138
13139 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13140
13141 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13142 the yanked message in preference to the default value of
13143 buffer-file-coding-system.
13144
13145 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13146
13147 * window.el (display-buffer--action-function-custom-type):
13148 Fix entry.
13149
13150 2012-05-02 Alan Mackenzie <acm@muc.de>
13151
13152 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13153
13154 2012-05-01 Glenn Morris <rgm@gnu.org>
13155
13156 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13157
13158 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13159
13160 * cus-edit.el (custom-variable-documentation): Simplify with format.
13161
13162 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13163 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 * simple.el (suggest-key-bindings, execute-extended-command):
13166 Move from keyboard.c.
13167
13168 2012-05-01 Chong Yidong <cyd@gnu.org>
13169
13170 * follow.el: Eliminate advice.
13171 (set-process-filter, process-filter, sit-for): Advice deleted.
13172 (follow-mode-off-hook): Obsolete hook removed.
13173 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13174 Vars deleted.
13175 (follow-auto): Use a :set function.
13176 (follow-mode): Rewritten. Don't advise process filters.
13177 (follow-switch-to-current-buffer-all, follow-scroll-up)
13178 (follow-scroll-down): Assume follow-mode is bound.
13179 (follow-comint-scroll-to-bottom)
13180 (follow-align-compilation-windows): New functions.
13181 (follow--window-sorter): New function.
13182 (follow-all-followers): Use it to explicitly sort windows by their
13183 positions; don't make assumptions about next-window order.
13184 (follow-windows-start-end, follow-delete-other-windows-and-split)
13185 (follow-calc-win-start): Doc fix.
13186 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13187 vertical-motion unnecessarily.
13188 (follow-adjust-window): New function.
13189 (follow-post-command-hook): Use it.
13190 (follow-call-set-process-filter, follow-call-process-filter)
13191 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13192 (follow-stop-intercept-process-output, follow-generic-filter):
13193 Functions deleted.
13194 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13195 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13196 New functions, replacing advice on scroll-bar-* commands.
13197 (follow-mwheel-scroll): New function (Bug#4112).
13198
13199 * comint.el (comint-adjust-point): New function.
13200 (comint-postoutput-scroll-to-bottom): Use it.
13201 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13202
13203 2012-05-01 Glenn Morris <rgm@gnu.org>
13204
13205 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13206 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13207 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13208 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13209 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13210 Remove no-byte-compile setting.
13211
13212 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13215 all-completions code to not return a number in the last cdr.
13216
13217 2012-04-30 Leo Liu <sdl.web@gmail.com>
13218
13219 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13220 read-only error.
13221
13222 2012-04-29 Chong Yidong <cyd@gnu.org>
13223
13224 * follow.el (follow-calc-win-end): Rewrite to handle partial
13225 screen lines correctly (Bug#8390).
13226 (follow-avoid-tail-recenter): Minor cleanup.
13227
13228 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 Avoid the obsolete `assoc' package.
13231 * speedbar.el (speedbar-refresh): Avoid adelete.
13232 (speedbar-file-lists): Simplify and avoid aput.
13233 * man.el (Man--sections, Man--refpages): New vars, replacing
13234 Man-sections-alist and Man-refpages-alist.
13235 (Man-build-section-alist, Man-build-references-alist):
13236 Use them; avoid aput.
13237 (Man--last-section, Man--last-refpage): New vars.
13238 (Man-follow-manual-reference): Use them.
13239 Use the `default' arg of completing-read.
13240 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13241
13242 2012-04-27 Chong Yidong <cyd@gnu.org>
13243
13244 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13245
13246 * startup.el (x-apply-session-resources): New function.
13247
13248 * term/ns-win.el (ns-initialize-window-system):
13249 * term/w32-win.el (w32-initialize-window-system):
13250 * term/x-win.el (x-initialize-window-system): Use it to properly
13251 set menu-bar-mode and other vars from X resources, even if the
13252 initial frame is not a window-system frame (Bug#2299).
13253
13254 * subr.el (read-key): Avoid running filter function when setting
13255 up temporary tool bar entries (Bug#9922).
13256
13257 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13258
13259 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13260 (Bug#11344)
13261
13262 2012-04-27 Chong Yidong <cyd@gnu.org>
13263
13264 * select.el (xselect--encode-string): New function, split from
13265 xselect-convert-to-string.
13266 (xselect-convert-to-string): Use it.
13267 (xselect-convert-to-filename, xselect-convert-to-os)
13268 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13269 returned strings are properly encoded (Bug#11315).
13270
13271 2012-04-27 Chong Yidong <cyd@gnu.org>
13272
13273 * simple.el (delete-active-region): Move to killing custom group.
13274
13275 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13276
13277 * progmodes/which-func.el (which-func-current): Quote %
13278 characters for mode-line processing.
13279
13280 2012-04-27 Chong Yidong <cyd@gnu.org>
13281
13282 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13283 reaching eob (Bug#11286).
13284
13285 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13286
13287 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13288 (gdb): Make it buffer-local and init to zero.
13289 (gdb-control-commands-regexp): New variable.
13290 (gdb-send): Don't wrap in "-interpreter-exec console" if
13291 gdb-control-level is positive. Increment gdb-control-level
13292 whenever the command matches gdb-control-commands-regexp, and
13293 decrement it each time the command is "end". (Bug#11279)
13294
13295 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13296
13297 * window.el (adjust-window-trailing-edge, enlarge-window)
13298 (shrink-window, window-resize):
13299 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13300 windows (Bug#11276).
13301
13302 2012-04-27 Chong Yidong <cyd@gnu.org>
13303
13304 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13305 fix "missing prefix" warning. All callers changed.
13306
13307 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * emacs-lisp/assoc.el: Move to obsolete/.
13310
13311 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13314
13315 * term/ns-win.el (ns-define-service):
13316 * progmodes/pascal.el (pascal-goto-defun):
13317 * progmodes/js.el (js--read-tab):
13318 * progmodes/etags.el (tags-lazy-completion-table):
13319 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13320 * emacs-lisp/ewoc.el (ewoc--wrap):
13321 * emacs-lisp/assoc.el (aput, adelete, amake):
13322 * doc-view.el (doc-view-convert-current-doc):
13323 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13324
13325 2012-04-26 Chong Yidong <cyd@gnu.org>
13326
13327 * image.el (image-type-from-buffer): Only return supported image
13328 type (Bug#9045).
13329
13330 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13331 value, for symmetry with diff-end-of-hunk.
13332 (diff-split-hunk, diff-find-source-location)
13333 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13334 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13335 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13336 compute the relevant hunk or file properly (Bug#6005).
13337 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13338
13339 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * vc/vc-mtn.el:
13342 * vc/vc-hg.el:
13343 * vc/vc-git.el:
13344 * vc/vc-dir.el:
13345 * vc/vc-cvs.el:
13346 * vc/vc-bzr.el:
13347 * vc/vc-arch.el:
13348 * vc/vc.el: Replace lexical-let by lexical-binding.
13349 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13350 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13351 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13352
13353 2012-04-26 Chong Yidong <cyd@gnu.org>
13354
13355 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13356 (diff-mode-shared-map): Bind it to / and [remap undo].
13357
13358 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13359 (ediff-window-setup-function): Use it as the default, to set up
13360 windows based on whether the current frame is graphical (Bug#2138).
13361 (ediff-choose-window-setup-function-automatically): Make obsolete.
13362
13363 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13364
13365 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * ffap.el: Remove old code for obsolete package.
13368 (ffap-complete-as-file-p): Remove.
13369
13370 Use completion-table-with-quoting for comint and pcomplete.
13371 * comint.el (comint--unquote&requote-argument)
13372 (comint--unquote-argument, comint--requote-argument): New functions.
13373 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13374 (comint-quote-filename): Use regexp-opt-charset.
13375 (comint--common-suffix, comint--common-quoted-suffix)
13376 (comint--table-subvert): Remove.
13377 (comint-unquote-function, comint-requote-function): New vars.
13378 (comint--complete-file-name-data): Use them with
13379 completion-table-with-quoting.
13380 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13381 * pcomplete.el (pcomplete-arg-quote-list)
13382 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13383 (pcomplete-unquote-argument-function): Default to non-nil.
13384 (pcomplete-unquote-argument): Simplify.
13385 (pcomplete--common-quoted-suffix): Remove.
13386 (pcomplete-requote-argument-function): New var.
13387 (pcomplete--common-suffix): New function.
13388 (pcomplete-completions-at-point): Use completion-table-with-quoting
13389 and completion-table-subvert.
13390
13391 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13392 (minibuffer--double-dollars): Preserve properties.
13393 (completion--sifn-requote): New function.
13394 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13395
13396 * minibuffer.el: Add support for completion of quoted/escaped data.
13397 (completion-table-with-quoting, completion-table-subvert): New funs.
13398 (completion--twq-try, completion--twq-all): New functions.
13399 (completion--nth-completion): New function.
13400 (completion-try-completion, completion-all-completions): Use it.
13401
13402 2012-04-25 Leo Liu <sdl.web@gmail.com>
13403
13404 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13405 Use compilation-message if available to find real filename.
13406
13407 2012-04-25 Chong Yidong <cyd@gnu.org>
13408
13409 * vc/diff-mode.el (diff-setup-whitespace): New function.
13410 (diff-mode): Use it.
13411
13412 * vc/diff.el (diff-sentinel):
13413 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13414 Whitespace mode variables based on diff style (Bug#8612).
13415
13416 2012-04-25 Leo Liu <sdl.web@gmail.com>
13417
13418 * progmodes/python.el (python-send-region): Add suffix .py to the
13419 temp file.
13420
13421 * files.el (auto-mode-alist): Use javascript-mode instead.
13422
13423 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13424
13425 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13426
13427 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13428 (soap-resolve-references-for-array-type): Hack to prevent self
13429 references, see Bug#9.
13430 (soap-parse-envelope): Report the contents of the 'detail' node
13431 when receiving a fault reply.
13432 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13433
13434 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13435 (soap-inspect-simple-type): New function.
13436
13437 * net/soap-client.el (soap-simple-type): New struct.
13438 (soap-default-xsd-types, soap-default-soapenc-types)
13439 (soap-decode-basic-type, soap-encode-basic-type):
13440 support unsignedInt and double basic types.
13441 (soap-resolve-references-for-simple-type)
13442 (soap-parse-simple-type, soap-encode-simple-type): New function.
13443 (soap-parse-schema): Parse xsd:simpleType declarations.
13444
13445 * net/soap-client.el (soap-default-xsd-types)
13446 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13447 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13448 the local name of "soapenc:Array".
13449 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13450 decoding integer, byte and anyURI xsd types.
13451
13452 2012-04-25 Chong Yidong <cyd@gnu.org>
13453
13454 * cus-edit.el (custom-buffer-create-internal): Update header text.
13455
13456 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13457
13458 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13459 settings on 'system-type', not on 'window-system'. On MS-Windows,
13460 set interactive-mode on in GDB.
13461
13462 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13463
13464 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13465 (ruby-syntax-propertize-regexp): Remove.
13466 (ruby-syntax-propertize-function): Split regexp into chunks.
13467 Match following code directly.
13468
13469 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13470
13471 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13472 (ruby-syntax-propertize-regexp): New function.
13473 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13474 by a special keyword.
13475
13476 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13477 (ruby-syntax-general-delimiters-goto-beg)
13478 (ruby-syntax-propertize-general-delimiters): New functions.
13479 (ruby-syntax-propertize-function): Use them to handle GDL.
13480 (ruby-font-lock-keywords): Move old handling of GDL...
13481 (ruby-font-lock-syntactic-keywords): .. to here.
13482 (ruby-calculate-indent): Adjust indentation for GDL.
13483
13484 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13485
13486 * notifications.el (top): Remove unneeded declarations.
13487 (notifications-specification-version): Change to "1.2".
13488 (notifications-interface, notifications-notify-method)
13489 (notifications-close-notification-method): Fix docstring.
13490 (notifications-get-capabilities-method): New defconst.
13491 (notifications-notify): Add :action-items, :resident and
13492 :transient hints. Change "image_data" to "image-data" and
13493 "image_path" to "image-path".
13494 (notifications-get-capabilities): New defun.
13495
13496 2012-04-24 Leo Liu <sdl.web@gmail.com>
13497
13498 * progmodes/python.el: Move hideshow setup to the end.
13499
13500 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13501
13502 * window.el (handle-select-window): Clear echo area since this is
13503 no more done by read_char (Bug#11304).
13504
13505 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13508 and `/ M' to filter-derived-mode.
13509 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13510 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13511 (ibuffer-mark-by-mode): Use default rather than initial-input.
13512 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13513
13514 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13515
13516 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13517 (ibuffer-filter-by-derived-mode): New filter.
13518 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13519
13520 2012-04-23 Andreas Politz <politza@fh-trier.de>
13521
13522 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13523
13524 2012-04-23 Chong Yidong <cyd@gnu.org>
13525
13526 * cus-edit.el (customize-apropos, customize-apropos-options):
13527 Disable matching of non-option variables (Bug#11176).
13528 (customize-option, customize-option-other-window)
13529 (customize-changed-options): Doc fix.
13530 (customize-apropos-options, customize-apropos-faces)
13531 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13532
13533 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13534 Fix word list splitting (Bug#11132).
13535 (apropos-symbol, apropos-keybinding, apropos-label)
13536 (apropos-property, apropos-function-button)
13537 (apropos-variable-button, apropos-misc-button): New faces.
13538 (apropos-symbol-face, apropos-keybinding-face)
13539 (apropos-label-face, apropos-property-face, apropos-match-face):
13540 Variables removed (Bug#8396).
13541 (apropos-library-button, apropos-format-plist, apropos-print)
13542 (apropos-print-doc, apropos-describe-plist): Callers changed.
13543
13544 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13545
13546 * net/xesam.el (xesam-mode-map): Use let-bound map in
13547 initialization. (Bug#11292)
13548
13549 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13550
13551 Preserve ispell session localwords when switching back to
13552 original buffer.
13553
13554 * textmodes/ispell.el (ispell-buffer-session-localwords):
13555 New buffer-local variable to hold buffer session localwords.
13556 (ispell-kill-ispell): Add option 'clear to delete session
13557 localwords.
13558 (ispell-command-loop, ispell-change-dictionary)
13559 (ispell-buffer-local-words): Preserve session localwords when
13560 needed.
13561
13562 * textmodes/flyspell.el (flyspell-process-localwords)
13563 (flyspell-do-correct): Preserve session localwords when needed.
13564
13565 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13566
13567 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13568 using obsolete `translation-table-for-input'.
13569 (ispell-word, ispell-process-line, ispell-complete-word):
13570 Use plain `insert' instead of removed `ispell-insert-word'.
13571
13572 2012-04-22 Chong Yidong <cyd@gnu.org>
13573
13574 * cus-edit.el (custom-variable-menu)
13575 (custom-variable-reset-saved, custom-face-menu)
13576 (custom-face-reset-saved): If there is no saved value, make the
13577 "reset-saved" operation bring back the default (Bug#9509).
13578 (custom-face-state): Properly detect themed faces.
13579
13580 * faces.el (face-spec-set): Stop supporting deprecated form of
13581 third arg.
13582
13583 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13584
13585 Move functions from C to Lisp. Make non-blocking method calls
13586 the default. Implement further D-Bus standard interfaces.
13587
13588 * net/dbus.el (dbus-message-internal): Declare function.
13589 Remove unneeded function declarations.
13590 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13591 (dbus-message-type-method-return, dbus-message-type-error)
13592 (dbus-message-type-signal): Declare variables. Remove local
13593 definitions.
13594 (dbus-interface-dbus, dbus-interface-peer)
13595 (dbus-interface-introspectable, dbus-interface-properties)
13596 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13597 Adapt docstring.
13598 (dbus-interface-objectmanager): New defconst.
13599 (dbus-call-method, dbus-call-method-asynchronously)
13600 (dbus-send-signal, dbus-method-return-internal)
13601 (dbus-method-error-internal, dbus-register-service)
13602 (dbus-register-signal, dbus-register-method): New defuns, moved
13603 from dbusbind.c
13604 (dbus-call-method-handler, dbus-setenv)
13605 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13606 New defuns.
13607 (dbus-call-method-non-blocking): Make it an obsolete function.
13608 (dbus-unregister-object, dbus-unregister-service)
13609 (dbus-handle-event, dbus-register-property)
13610 (dbus-property-handler): Obey the new structure of
13611 `bus-registered-objects'.
13612 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13613 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13614 Use `dbus-call-method'.
13615
13616 2012-04-22 Chong Yidong <cyd@gnu.org>
13617
13618 * cus-edit.el (custom-commands, custom-reset-menu)
13619 (Custom-reset-standard): Tweak labels.
13620 (custom-reset-button-menu): Change default to t.
13621 (custom-buffer-create-internal): For the custom-reset-button-menu
13622 case, put the revert button first.
13623 (custom-group-subtitle): New face.
13624 (custom-group-value-create): Align docstring to a specific column.
13625
13626 * wid-edit.el (widget-documentation-link-add): Don't handle
13627 indentation in this function.
13628 (widget-documentation-string-indent-to): New function.
13629 (widget-documentation-string-value-create): Use it.
13630
13631 * autorevert.el (auto-revert):
13632 * epg-config.el (epg):
13633 * ibuffer.el (ibuffer):
13634 * mpc.el (mpc):
13635 * ses.el (ses):
13636 * eshell/eshell.el (eshell):
13637 * net/ange-ftp.el (ange-ftp):
13638 * progmodes/ebnf2ps.el (postscript):
13639 * progmodes/flymake.el (flymake):
13640 * progmodes/prolog.el (prolog):
13641 * progmodes/verilog-mode.el (verilog-mode):
13642 * progmodes/which-func.el (which-func):
13643 * term/xterm.el (xterm):
13644 * textmodes/picture.el (picture):
13645 * textmodes/tildify.el (tildify):
13646 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13647 customization buffers.
13648
13649 2012-04-22 Alan Mackenzie <acm@muc.de>
13650
13651 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13652 Adding a ) can hide the resulting (..) from searches. Fix it.
13653 Bound the backward search to the position of the existing (.
13654
13655 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13656
13657 * progmodes/verilog-mode.el (verilog-mode): Check whether
13658 which-func-modes is t before adding verilog-mode.
13659 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13660
13661 2012-04-21 Leo Liu <sdl.web@gmail.com>
13662
13663 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13664
13665 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13666
13667 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13668 filling of the last column of a table (Bug#5635).
13669 (woman-find-next-control-line): New arg, specifying an additional
13670 regexp component for the control line.
13671 (woman2-roff-buffer): Use it.
13672 (woman-break-table): New function.
13673 (woman2-TS): Use it.
13674
13675 2012-04-21 Chong Yidong <cyd@gnu.org>
13676
13677 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13678 (woman-horizontal-escapes, woman-negative-vertical-space)
13679 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13680 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13681
13682 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * minibuffer.el (completion-file-name-table): Complete user names.
13685
13686 2012-04-20 Leo Liu <sdl.web@gmail.com>
13687
13688 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13689 and pcase-let*.
13690
13691 2012-04-20 Chong Yidong <cyd@gnu.org>
13692
13693 * server.el (server-execute): Respect initial-buffer-choice if it
13694 is a string and there are no files to open (Bug#2825).
13695 (server-create-window-system-frame, server-create-tty-frame):
13696 Don't switch buffers here.
13697 (server-process-filter): Only try to open a window system frame if
13698 compiled with graphical support (Bug#8314).
13699
13700 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13701
13702 * battery.el (battery-echo-area-format): Display remaining time
13703 for sysfs backend too (Bug#11269).
13704 (battery-linux-sysfs): Fix conditional for the charge.
13705
13706 2012-04-20 Chong Yidong <cyd@gnu.org>
13707
13708 * progmodes/gdb-mi.el (gdb): Revert previous change.
13709 (gdb-inferior-io--init-proc): New function.
13710 (gdb-init-1): Use it.
13711 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13712 responsible for allocating a new pty and hooking it to gdb when
13713 the old pty gets an EIO due to process exit.
13714 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13715 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13716 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13717
13718 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13719
13720 * window.el (window-min-size, window-sizable, window-min-delta)
13721 (window-max-delta, window--resizable, window-resizable)
13722 (window-total-size, window-full-height-p, window-full-width-p)
13723 (window-in-direction, window--resize-mini-window, window-resize)
13724 (window--resize-child-windows-normal)
13725 (window--resize-child-windows, window--resize-siblings)
13726 (window--resize-this-window, adjust-window-trailing-edge)
13727 (enlarge-window, shrink-window): Doc fixes.
13728
13729 2012-04-20 Chong Yidong <cyd@gnu.org>
13730
13731 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13732 New function to call delete-process on the gdb-inferior buffer's pty.
13733 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13734 pty process (Bug#11273).
13735 (gdb-update): New arg to suppress talking to the gdb process.
13736 (gdb-done-or-error): Use it.
13737 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13738 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13739 sentinel not being called.
13740
13741 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13742
13743 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13744
13745 2012-04-20 Glenn Morris <rgm@gnu.org>
13746
13747 * net/network-stream.el (open-network-stream): Doc fix.
13748
13749 2012-04-20 Chong Yidong <cyd@gnu.org>
13750
13751 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13752
13753 2012-04-20 Alan Mackenzie <acm@muc.de>
13754
13755 Ensure searching for keywords is case sensitive.
13756
13757 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13758 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13759 (c-defun-name, c-mark-function, c-cpp-define-name)
13760 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13761 (c-context-line-break): Bind case-fold-search to nil.
13762
13763 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13764 Bind case-fold-search to nil.
13765
13766 2012-04-20 Chong Yidong <cyd@gnu.org>
13767
13768 * mail/sendmail.el (mail-bury): Call return action with the right
13769 Rmail buffer (Bug#11242).
13770
13771 * server.el (server-process-filter): Handle corner case where both
13772 tty and nowait options are present (Bug#11102).
13773
13774 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13775
13776 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13777 (top level): Put into the executable the ident-style '$Id:' tag on
13778 windows-nt as well.
13779
13780 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * electric.el (electric-indent-post-self-insert-function): Check that
13783 electric-indent-mode is enabled in current buffer.
13784
13785 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13786
13787 * imenu.el (imenu-progress-message): Restore; it is "used" in
13788 erc/erc-imenu.el and net/snmp-mode.el.
13789
13790 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13791
13792 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13793 (mouse-avoidance-nudge-mouse): Remove unused binding.
13794
13795 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13796
13797 * descr-text.el (describe-char):
13798 * progmodes/python.el (python-describe-symbol):
13799 Don't call `toggle-read-only', set `buffer-read-only'.
13800
13801 * imenu.el (imenu-default-goto-function): Mark unused args.
13802 (imenu-progress-message): Remove obsolete macro; all callers changed.
13803
13804 * subr.el (keymap-canonicalize): Remove unused binding.
13805 (read-passwd): Mark unused arg.
13806
13807 * tutorial.el (tutorial--display-changes): Remove unused binding.
13808 (tutorial--save-tutorial-to): Remove unused variable.
13809
13810 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13811 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13812 (package-generate-autoloads, package-menu--generate)
13813 (package-menu--find-upgrades): Remove unused bindings.
13814
13815 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13816 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13817 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13818 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13819 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13820 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13821 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13822 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13823 (cua-delete-char-rectangle): Mark unused args.
13824 (cua-align-rectangle): Remove unused binding.
13825
13826 * mail/rmail.el (compilation--message->loc)
13827 (epa--find-coding-system-for-mime-charset): Declare.
13828
13829 * net/dbus.el (dbus-register-service): Declare.
13830 (dbus-name-owner-changed-handler): Remove unused binding.
13831
13832 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13833 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13834 (nxml-scan-backward-within): Mark unused arg.
13835 (nxml-dynamic-markup-word): Remove unused binding.
13836
13837 * mouse.el (mouse-menu-major-mode-map):
13838 * emacs-lisp/authors.el (authors-scan-change-log)
13839 (authors-add-to-author-list):
13840 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13841 * emacs-lisp/smie.el (smie-auto-fill):
13842 * mail/sendmail.el (mail-bury):
13843 * mail/unrmail.el (unrmail):
13844 * net/tls.el (open-tls-stream):
13845 * textmodes/picture.el (picture-mouse-set-point):
13846 Remove unused bindings.
13847
13848 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13849
13850 * net/tramp.el (tramp-action-password): Let-bind
13851 `enable-recursive-minibuffers' to t.
13852
13853 2012-04-18 Sam Steingold <sds@gnu.org>
13854
13855 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13856 instead of 'string to accommodate values like [f11].
13857 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13858 * progmodes/gdb-mi.el: Likewise.
13859
13860 2012-04-18 Leo Liu <sdl.web@gmail.com>
13861
13862 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13863 current buffer.
13864 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13865 LOCAL is nil.
13866
13867 2012-04-18 Chong Yidong <cyd@gnu.org>
13868
13869 * simple.el (line-move): Use forward-line if in batch mode
13870 (Bug#11053).
13871
13872 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13873
13874 * files.el (after-find-file): Do not try to add a final newline if
13875 the buffer is read-only (Bug#11156).
13876
13877 2012-04-17 Richard Stallman <rms@gnu.org>
13878
13879 * mail/rmail.el (rmail-start-mail):
13880 Pass (rmail-mail-return...) for the return-action.
13881 Pass (rmail-yank-current-message...) for the yank-action.
13882 (rmail-yank-current-message): New function.
13883 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13884 (rmail-reply): Likewise.
13885 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13886
13887 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13888 buffer, not the last. Reject temp buffers. Use the rmail-mode
13889 buffer, not newbuf.
13890
13891 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13892
13893 * server.el (server-ensure-safe-dir): Simplify.
13894
13895 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * emacs-lisp/smie.el: Provide smarter auto-filling.
13898 (smie-auto-fill): New function.
13899 (smie-setup): Use it.
13900
13901 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13902
13903 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13904
13905 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13906 (comment-indent): Use it.
13907
13908 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13909
13910 * ses.el: The overall change is to add cell renaming, that is
13911 setting fancy names for cell symbols other than name matching
13912 "\\`[A-Z]+[0-9]+\\'" regexp .
13913 (ses-localvars): Add ses--renamed-cell-symb-list.
13914 (ses-create-cell-variable): New defun.
13915 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13916 (ses-relocate-formula): Relocate formulas only for cells the
13917 symbols of which are not renamed, i.e. symbols whose names do not
13918 match regexp "\\`[A-Z]+[0-9]+\\'".
13919 (ses-relocate-all): Relocate values only for cells the symbols of
13920 which are not renamed.
13921 (ses-load): Create cells variables as the (ses-cell ...) are read,
13922 in order to check row col consistency with cell symbol name only
13923 for cells that are not renamed.
13924 (ses-replace-name-in-formula): New defun.
13925 (ses-rename-cell): New defun.
13926
13927 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13928
13929 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13930 New option (bug#11118).
13931 (perl-calculate-indent): Respect it.
13932
13933 2012-04-17 Glenn Morris <rgm@gnu.org>
13934
13935 * dired-aux.el (dired-mark-read-string): Doc fix.
13936
13937 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13938
13939 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13940 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13941
13942 2012-04-17 Glenn Morris <rgm@gnu.org>
13943
13944 * mouse.el (mouse-drag-track):
13945 * speedbar.el (speedbar-frame-mode):
13946 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13947
13948 2012-04-16 Leo Liu <sdl.web@gmail.com>
13949
13950 * progmodes/python.el: Trivial cleanup.
13951
13952 2012-04-16 Glenn Morris <rgm@gnu.org>
13953
13954 * vc/vc.el (vc-string-prefix-p):
13955 * vc/pcvs-util.el (cvs-string-prefix-p):
13956 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13957 * mpc.el (mpc-string-prefix-p):
13958 Make all of these into obsolete aliases for string-prefix-p.
13959 Update callers.
13960 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13961
13962 * textmodes/two-column.el: Move custom options to the start.
13963 (frame-width): Remove compat definition.
13964 (2C-associate-buffer, 2C-dissociate):
13965 Use with-current-buffer rather than save-excursion.
13966 (2C-dissociate): Force a mode-line update.
13967 (2C-autoscroll): Use ignore-errors.
13968
13969 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13970 Autoload trivia.
13971
13972 * emacs-lisp/cl-extra.el (*random-state*):
13973 Remove unnecessary declaration.
13974
13975 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13976
13977 * play/cookie1.el (cookie-snarf):
13978 Give an explicit error if input file cannot be read.
13979
13980 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13981
13982 * progmodes/perl-mode.el (c-macro-expand):
13983 Remove unnecessary autoload (it is in loaddefs.el).
13984
13985 * textmodes/picture.el (picture-desired-column)
13986 (picture-update-desired-column): Convert comments to doc-strings.
13987 (picture-substitute): Remove function.
13988 (picture-mode-map): Initialize in the defvar.
13989
13990 * woman.el: Remove eval-after-load for tar-mode.
13991 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13992 (woman-tar-extract-file): Autoload it.
13993
13994 * frame.el (automatic-hscrolling): Make this alias obsolete.
13995
13996 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13997
13998 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13999 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14000 (ispell-dictionary-base-alist): Revert to original XEmacs
14001 friendly version for default. [:alpha:] will be added in
14002 `ispell-set-spellchecker-params' if needed.
14003
14004 2012-04-16 Chong Yidong <cyd@gnu.org>
14005
14006 * image.el (imagemagick--file-regexp): New variable.
14007 (imagemagick-register-types): Use it.
14008 (imagemagick-types-inhibit): Add :set function. Allow new value
14009 of t to inhibit all types.
14010
14011 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14012 so we can preload it.
14013
14014 * loadup.el (fboundp): Preload regexp-opt, needed by
14015 imagemagick-register-types.
14016
14017 2012-04-15 Chong Yidong <cyd@gnu.org>
14018
14019 * frame.el (scrolling): Remove nearly unused customization group.
14020
14021 * scroll-all.el (scroll-all-mode): Move to windows group.
14022
14023 2012-04-15 Chong Yidong <cyd@gnu.org>
14024
14025 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14026
14027 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14030 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14031
14032 2012-04-15 Glenn Morris <rgm@gnu.org>
14033
14034 * simple.el (process-file-side-effects): Doc fix.
14035
14036 2012-04-15 Glenn Morris <rgm@gnu.org>
14037
14038 * international/mule-cmds.el (set-language-environment): Doc fix.
14039
14040 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14041
14042 * server.el (server-auth-key, server-generate-key): Doc fixes.
14043 (server-get-auth-key): Doc fix. Use `string-match-p'.
14044 (server-start): Reflow docstring.
14045
14046 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14047
14048 * server.el (server-generate-key): `called-interactively-p'
14049 requires a parameter.
14050
14051 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14052
14053 * server.el (server-auth-key): New variable.
14054 (server-generate-key, server-get-auth-key): New function.
14055 (server-start): Use the new variable and functions to allow
14056 setting a permanent server key (bug#9423).
14057
14058 2012-04-14 Leo Liu <sdl.web@gmail.com>
14059
14060 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14061
14062 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14063
14064 Spelling fixes.
14065 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14066 Emacs uses American spelling.
14067
14068 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14069
14070 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14071 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14072 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14073 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14074
14075 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14076
14077 * progmodes/which-func.el (which-func-modes): Change default.
14078
14079 2012-04-14 Kim F. Storm <storm@cua.dk>
14080
14081 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14082 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14083
14084 2012-04-14 Chong Yidong <cyd@gnu.org>
14085
14086 * custom.el (custom-theme-set-variables): Doc fix.
14087
14088 2012-04-14 Glenn Morris <rgm@gnu.org>
14089
14090 * international/mule.el (set-auto-coding-for-load): Doc fix.
14091
14092 2012-04-14 Alan Mackenzie <acm@muc.de>
14093
14094 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14095 imenu work again for Objective C Mode. Correct the *-index values,
14096 these having been disturbed by a previous change in 2011-08.
14097
14098 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14099 Correct two search limits.
14100
14101 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14102
14103 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14104
14105 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14106
14107 * international/characters.el: Fix sorting.
14108
14109 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14110
14111 * international/characters.el: Add more missing Latin case pairs.
14112
14113 2012-04-14 Glenn Morris <rgm@gnu.org>
14114
14115 * files.el (dir-locals-set-class-variables): Doc fix.
14116
14117 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14118
14119 * international/characters.el: Add set-case-syntax-pair call for
14120 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14121 counterpart. (Bug#11209)
14122
14123 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14124
14125 2012-04-14 Glenn Morris <rgm@gnu.org>
14126
14127 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14128
14129 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14130
14131 * textmodes/ispell.el (ispell-dictionary-base-alist):
14132 Add data for Hebrew.
14133
14134 2012-04-14 Chong Yidong <cyd@gnu.org>
14135
14136 * net/rcirc.el (rcirc-cmd-quit):
14137 Revert 2012-03-18 change (Bug#11192).
14138
14139 2012-04-14 Glenn Morris <rgm@gnu.org>
14140
14141 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14142
14143 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14144
14145 * minibuffer.el (completion-in-region-mode-map):
14146 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14147
14148 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14149
14150 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14151
14152 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14153
14154 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14155 to allow `C-M-f' and `C-M-b' to move to the nearest path
14156 separator (bug#9511).
14157
14158 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14159
14160 * avoid.el: Require cl when compiling. And also move the
14161 `provide' to the end.
14162
14163 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14164
14165 * avoid.el (mouse-avoidance-banish-position): New variable.
14166 (mouse-avoidance-banish-destination): Use it (bug#10165).
14167
14168 2012-04-13 Leo Liu <sdl.web@gmail.com>
14169
14170 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14171
14172 2012-04-13 Ken Brown <kbrown@cornell.edu>
14173
14174 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14175 this is no longer needed now that cygstart understands file:// URLs.
14176 (browse-url-filename-alist): For the same reason, don't modify
14177 file:// URLs on Cygwin.
14178
14179 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14182 the region on shift if the binding is already shifted (bug#11221).
14183
14184 2012-04-12 Glenn Morris <rgm@gnu.org>
14185
14186 * mail/mailpost.el: Move to obsolete/.
14187
14188 2012-04-12 Drew Adams <drew.adams@oracle.com>
14189
14190 * imenu.el (imenu--generic-function): Ignore invisible definitions
14191 (bug#10123).
14192
14193 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14194
14195 * hexl.el (hexl-bits): New variable.
14196 (hexl-options): Mention the variable in the doc string.
14197 (hexl-rulerise, hexl-line-displen): New functions.
14198 (hexl-mode): Mention the new variable.
14199 (hexl-mode, hexl-current-address, hexl-current-address):
14200 Use the displen.
14201 (hexl-ascii-start-column): New function.
14202 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14203 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14204
14205 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14206
14207 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14208 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14209 the encoding, as expected by hunspell.
14210
14211 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14212
14213 * battery.el (battery--linux-sysfs-regexp): New const.
14214 (battery-status-function): Use it. Remove yeeloong special case.
14215 (battery-yeeloong-sysfs): Remove.
14216 (battery-echo-area-format): Remove yeeloong special case.
14217
14218 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14221 Reported by Noah Friedman.
14222
14223 * subr.el (read-passwd): Use read-string.
14224
14225 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14226
14227 * vcursor.el (vcursor-move): Increase the priority of the overlay
14228 (bug#9663).
14229
14230 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14231
14232 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14233 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14234
14235 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14236
14237 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14238 define-minor-mode (bug#10760).
14239
14240 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14241
14242 * progmodes/grep.el (rgrep): Tweak the find command line so
14243 that directories matching `grep-find-ignored-files' won't be
14244 pruned (bug#10351).
14245
14246 2012-04-11 Chong Yidong <cyd@gnu.org>
14247
14248 * startup.el (command-line): Remove support for long-obsolete
14249 variable font-lock-face-attributes.
14250
14251 2012-04-11 Glenn Morris <rgm@gnu.org>
14252
14253 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14254
14255 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * window.el (window--state-get-1): Obey window-point-insertion-type.
14258
14259 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14260
14261 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14262 to previous function when point is on the first character of a
14263 function. Take care of that in `narrow-to-defun' (bug#6157).
14264
14265 2012-04-11 Glenn Morris <rgm@gnu.org>
14266
14267 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14268 not just file-errors.
14269
14270 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14271 (vc-bzr-sha1): Use internal sha1.
14272
14273 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14274
14275 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14276
14277 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14278
14279 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14280 that start in the middle of the line (bug#10496).
14281
14282 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14283
14284 * battery.el (battery-linux-proc-acpi): Only one battery is
14285 discharged at a time, but that seems to confuse battery.el when
14286 computing `rate-type' for the battery not being discharged
14287 (bug#10332).
14288
14289 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14292
14293 * international/quail.el: Use dolist and simplify.
14294 (quail-define-package, quail-update-keyboard-layout)
14295 (quail-define-rules): Use dolist.
14296 (quail-insert-kbd-layout, quail-get-translation): CSE.
14297
14298 * tmm.el: Use dolist, remove left over hook.
14299 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14300 Use dolist.
14301 (calendar-load-hook): Don't mess with it.
14302
14303 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14304 Use derived-mode-p. Run the diff asynchronously.
14305
14306 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14307
14308 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14309
14310 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14311
14312 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14313 (list-dynamic-libraries--loaded): New function.
14314 (list-dynamic-libraries--refresh): Use it.
14315
14316 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14317
14318 * progmodes/python.el (python-fill-paragraph):
14319 Make python-fill-region in a multiline string work when font-lock is
14320 disabled (bug#7018).
14321
14322 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14323
14324 * language/european.el (cp775): Add oem/legacy (en)coding on
14325 DOS/MS Windows for the Baltic languages. There are still plenty
14326 of texts written in this encoding/codepage (bug#6519).
14327
14328 2012-04-10 Glenn Morris <rgm@gnu.org>
14329
14330 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14331 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14332
14333 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14334
14335 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14336 next-line "n" and previous-line "p" in order to make recentf more
14337 consistent with ibuffer, dired or org-mode (bug#9387).
14338
14339 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14340
14341 * image.el (put-image): Return the overlay created instead of the
14342 optional input string (bug#7834). Note that this may break code
14343 that is (for some reason or other) depending on `put-image'
14344 returning the string.
14345
14346 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14347
14348 * simple.el (zap-to-char): Allow zapping using input methods
14349 (bug#1580).
14350
14351 * textmodes/fill.el (fill-region): Leave point and mark where they
14352 were before filling (bug#5399).
14353
14354 2012-04-09 Glenn Morris <rgm@gnu.org>
14355
14356 * version.el (emacs-bzr-get-version):
14357 Handle lightweight checkouts of local branches.
14358
14359 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14360
14361 * international/characters.el: Recover lost case pairs. (Bug#11209)
14362
14363 2012-04-09 Chong Yidong <cyd@gnu.org>
14364
14365 * custom.el (custom-variable-p): Return nil for non-symbol
14366 arguments instead of signaling an error.
14367 (user-variable-p): Obsolete alias for custom-variable-p.
14368
14369 * apropos.el (apropos-variable):
14370 * files-x.el (read-file-local-variable):
14371 * simple.el (set-variable):
14372 * woman.el (woman-mini-help):
14373 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14374
14375 2012-04-09 Glenn Morris <rgm@gnu.org>
14376
14377 * startup.el (normal-top-level): Don't look for leim-list.el
14378 in places where it will not be found. (Bug#910)
14379
14380 * international/mule-cmds.el (set-default-coding-systems):
14381 * files.el (normal-mode):
14382 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14383 This function was removed with ucs-tables.el in 2008.
14384
14385 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14386
14387 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14388 ispell-encoding8-command to "-i", without a trailing space.
14389 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14390 separate command-line arguments, to specify the encoding, since
14391 that's how hunspell expects it.
14392
14393 2012-04-08 Glenn Morris <rgm@gnu.org>
14394
14395 * loadup.el: Load bindings before cus-start.
14396 This reduces somewhat the number of "rogue" settings in emacs -Q.
14397
14398 2012-04-07 Glenn Morris <rgm@gnu.org>
14399
14400 * version.el (emacs-bzr-get-version): New function.
14401 (emacs-bzr-version): New variable.
14402 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14403 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14404
14405 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14406
14407 * international/uni-bidi.el, international/uni-category.el:
14408 * international/uni-combining.el, international/uni-decimal.el:
14409 * international/uni-decomposition.el, international/uni-digit.el:
14410 * international/uni-lowercase.el, international/uni-mirrored.el:
14411 * international/uni-name.el, international/uni-numeric.el:
14412 * international/uni-titlecase.el, international/uni-uppercase.el:
14413 Update for Unicode 6.1.
14414
14415 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14416
14417 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14418
14419 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14420
14421 * window.el (shrink-window): Mention the `window-min-height'
14422 variable in the doc string.
14423
14424 2012-04-05 Bastien Guerry <bzg@altern.org>
14425
14426 * color.el (color-lighten-name): Fix typo.
14427
14428 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * server.el (server--on-display-p): New function.
14431 (server--on-display-p): Use it.
14432
14433 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14434
14435 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14436 (bug#11145).
14437
14438 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14439
14440 * comint.el (comint--common-quoted-suffix): Check string boundary
14441 before comparing (bug#11158).
14442 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14443
14444 2012-04-04 Chong Yidong <cyd@gnu.org>
14445
14446 * minibuffer.el (completion-extra-properties): Doc fix.
14447
14448 * subr.el (delayed-warnings-hook): Doc fix.
14449
14450 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14451
14452 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14453 selection (Bug#11159).
14454 (epa-insert-keys): Inform that the default public key will be
14455 exported if no key is selected.
14456
14457 2012-04-04 Richard Stallman <rms@gnu.org>
14458
14459 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14460
14461 2012-04-03 Chong Yidong <cyd@gnu.org>
14462
14463 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14464 mail-insert-file, not its obsolete alias mail-attach-file.
14465
14466 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14467
14468 * notifications.el (notifications-notify): Fix docstring.
14469
14470 2012-04-02 Glenn Morris <rgm@gnu.org>
14471
14472 * emacs-lisp/authors.el (authors-aliases): Another addition.
14473
14474 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14475
14476 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14477 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14478 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14479
14480 2012-04-01 Chong Yidong <cyd@gnu.org>
14481
14482 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14483 Handle root directory properly.
14484 (copy-directory): Caller changed.
14485
14486 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14487 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14488
14489 2012-03-31 Glenn Morris <rgm@gnu.org>
14490
14491 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14492
14493 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14494
14495 * calendar/calendar.el (calendar-window-list)
14496 (calendar-hide-window): Restore. (Bug#11140)
14497 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14498
14499 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14500
14501 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14502
14503 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14504 Check if file is a symlink (Bug#10489).
14505
14506 * files.el (copy-directory): Likewise.
14507
14508 2012-03-30 Chong Yidong <cyd@gnu.org>
14509
14510 * image.el (imagemagick-types-inhibit)
14511 (imagemagick-register-types): Doc fix.
14512
14513 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14514
14515 * textmodes/ispell.el (ispell-get-extended-character-mode):
14516 Disable extended-char-mode for hunspell. hunspell does not support it
14517 and treats ~word as ordinary words in pipe mode.
14518
14519 2012-03-30 Glenn Morris <rgm@gnu.org>
14520
14521 * tutorial.el (help-with-tutorial): Ensure local variables don't
14522 happen to make the buffer read-only. (Bug#11127)
14523
14524 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14527 (perl-calculate-indent): Return `noindent' in strings.
14528
14529 2012-03-28 Sam Steingold <sds@gnu.org>
14530
14531 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14532 instead of the broken adhockery which does not prevent calendar
14533 buffers from being displayed at random after exit.
14534 (calendar-window-list, calendar-hide-window): Remove the broken
14535 adhockery.
14536
14537 2012-03-28 Glenn Morris <rgm@gnu.org>
14538
14539 * replace.el (query-replace-map): Doc fix.
14540
14541 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14542
14543 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14544 contents. (Bug#11109)
14545
14546 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14549 (bug#11077).
14550 (avl-tree--check, avl-tree--check-node): New funs.
14551
14552 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14553
14554 * window.el (switch-to-visible-buffer): New option.
14555 (switch-to-prev-buffer, switch-to-next-buffer):
14556 Observe switch-to-visible-buffer. Make sure that checking for a window
14557 showing a buffer already is done on the same frame.
14558
14559 2012-03-27 Glenn Morris <rgm@gnu.org>
14560
14561 * startup.el (mail-host-address): Doc fix.
14562
14563 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14566 than 197 variables.
14567
14568 2012-03-26 Ami Fischman <ami@fischman.org>
14569
14570 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14571
14572 2012-03-26 Glenn Morris <rgm@gnu.org>
14573
14574 * files.el (save-buffers-kill-emacs): Doc fix.
14575
14576 * startup.el (normal-top-level, command-line, command-line-1):
14577 Give them doc strings.
14578
14579 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14580
14581 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14582 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14583
14584 2012-03-25 Chong Yidong <cyd@gnu.org>
14585
14586 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14587 theme if it was previously enabled before (Bug#11031).
14588
14589 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14590 spec with custom-face-get-current-spec if its :shown-value is not
14591 determined yet (Bug#9337).
14592 (customize-create-theme, custom-theme-revert): Doc fixes.
14593
14594 * button.el (button-at): Minor addition to docstring.
14595
14596 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14597
14598 * vc/vc.el (vc-merge): Fix a prompt.
14599
14600 2012-03-24 Chong Yidong <cyd@gnu.org>
14601
14602 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14603 point (Bug#9623).
14604
14605 * button.el (button-at): Minor addition to docstring.
14606
14607 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * newcomment.el (comment-choose-indent): No space after BOL.
14610
14611 2012-03-22 Sam Steingold <sds@gnu.org>
14612
14613 * window.el (switch-to-prev-buffer): Revert last patch because the
14614 bug turned out to be an advertised feature (Elisp manual 28.14).
14615
14616 2012-03-22 Glenn Morris <rgm@gnu.org>
14617
14618 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14619 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14620
14621 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14622
14623 * net/network-stream.el (network-stream-open-starttls): Make error
14624 message under Windows be less misleading.
14625
14626 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14627
14628 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14629 understands (bug#9942).
14630
14631 2012-03-22 Chong Yidong <cyd@gnu.org>
14632
14633 * simple.el (end-of-visible-line): Handle return value of
14634 next-single-property-change properly (Bug#9371).
14635
14636 2012-03-22 Kenichi Handa <handa@m17n.org>
14637
14638 * international/quail.el (quail-insert-kbd-layout): Fix previous
14639 change. To avoid unwanted bidi reordering, use
14640 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14641
14642 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14643
14644 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14645 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14646 (ruby-beginning-of-indent): Be more careful with the difference
14647 between word-boundary and symbol boundary.
14648 (ruby-mode-syntax-table): Make : a symbol constituent.
14649
14650 2012-03-21 Andreas Politz <politza@fh-trier.de>
14651
14652 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14653
14654 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14655
14656 * progmodes/etags.el (tags-completion-at-point-function):
14657 Improve last fix.
14658
14659 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14660
14661 2012-03-21 Sam Steingold <sds@gnu.org>
14662
14663 * progmodes/etags.el (tags-completion-at-point-function):
14664 Avoid the error when point is inside the pattern.
14665
14666 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14667
14668 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14669 line (Bug#10855).
14670
14671 2012-03-21 Drew Adams <drew.adams@oracle.com>
14672
14673 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14674
14675 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14676
14677 * ido.el (ido-set-current-directory, ido-read-internal)
14678 (ido-choose-completion-string, ido-completion-help): Handle nil
14679 value of ido-completion-buffer (Bug#11008).
14680
14681 2012-03-21 Sam Steingold <sds@gnu.org>
14682
14683 * window.el (switch-to-prev-buffer): Do not switch to a visible
14684 window previous buffer, just like with the frame previous buffers.
14685
14686 2012-03-21 Chong Yidong <cyd@gnu.org>
14687
14688 * faces.el (make-face, make-empty-face, copy-face):
14689 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14690 Doc fixes.
14691
14692 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14695 (widget-complete): Remove broken use of it.
14696
14697 2012-03-20 Chong Yidong <cyd@gnu.org>
14698
14699 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14700 Use string-width and truncate-string-width to handle arbitrary
14701 characters.
14702
14703 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14704
14705 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14706 to draw rectangles, not squares. (Regression introduced by revno
14707 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14708
14709 2012-03-18 Chong Yidong <cyd@gnu.org>
14710
14711 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14712 it is not yet defined (for temacs).
14713
14714 2012-03-18 Leo Liu <sdl.web@gmail.com>
14715
14716 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14717 prefix.
14718
14719 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14720
14721 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14722 (ispell-choices-win-default-height, ispell-silently-savep)
14723 (ispell-dictionary-alist, ispell-encoding8-command)
14724 (ispell-check-version, ispell-aspell-find-dictionary)
14725 (ispell-valid-dictionary-list, ispell-words-keyword)
14726 (ispell-get-word, ispell-internal-change-dictionary)
14727 (ispell-region, ispell-skip-region-list)
14728 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14729 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14730 (ispell-message-text-end, ispell-message)
14731 (ispell-buffer-local-parsing): Doc fix.
14732
14733 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14734
14735 * htmlfontify.el: Add support for code block fontification for ODT
14736 export (Bug #9914).
14737 (hfy-optimisations): Define new option
14738 `body-text-only'
14739 (hfy-fontify-buffer): Honor above setting.
14740 (hfy-begin-span, hfy-end-span): New routines factored out form
14741 `hfy-fontify-buffer'.
14742 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14743 that permit insertion of custom tags.
14744 (hfy-fontify-buffer): Use above handlers.
14745 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14746 (hfy-face-to-css): Re-defined to be a variable.
14747 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14748 over multiple runs. This is made possible by having the caller let
14749 bind a special variable `hfy-user-sheet-assoc'.
14750 (htmlfontify-string): New defun.
14751 (hfy-compile-face-map): Make sure that the last char in the
14752 buffer is correctly fontified.
14753 (hfy-face-resolve-face): Whitespace only change.
14754
14755 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14756
14757 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14758 message more clear.
14759
14760 2012-03-16 Leo Liu <sdl.web@gmail.com>
14761
14762 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14763
14764 2012-03-16 Alan Mackenzie <acm@muc.de>
14765
14766 Further optimize the handling of large macros.
14767
14768 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14769 limit to a call of `c-literal-limits'.
14770 (c-determine-+ve-limit): New function.
14771 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14772 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14773 In CASE 5B, restrict a search limit to 500.
14774 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14775
14776 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14777 Restrict macro bounds to +-500 from after-change's BEG END.
14778
14779 2012-03-16 Leo Liu <sdl.web@gmail.com>
14780
14781 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14782
14783 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14784
14785 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14786 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14787
14788 2012-03-16 Glenn Morris <rgm@gnu.org>
14789
14790 * view.el (view-buffer, view-buffer-other-window)
14791 (view-buffer-other-frame): Doc fixes re special mode-class.
14792
14793 * subr.el (eval-after-load): If named feature is provided not from
14794 a file, run after-load forms. (Bug#10946)
14795
14796 * calendar/calendar.el (calendar-insert-at-column):
14797 Handle non-unit-width characters a bit better. (Bug#10978)
14798
14799 2012-03-15 Chong Yidong <cyd@gnu.org>
14800
14801 * emacs-lisp/ring.el (ring-extend): New function.
14802 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14803
14804 * comint.el (comint-read-input-ring)
14805 (comint-add-to-input-history): Grow comint-input-ring lazily.
14806
14807 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14810 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14811
14812 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14813 (imenu-add-to-menubar): Don't add a redundant index.
14814 (imenu-update-menubar): Handle a dynamically composed keymap.
14815
14816 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14817
14818 * mail/sendmail.el (mail-encode-header):
14819 Bind rfc2047-encode-encoded-words to nil.
14820
14821 2012-03-13 Glenn Morris <rgm@gnu.org>
14822
14823 * calendar/calendar.el (calendar-string-spread):
14824 Handle non-unit-width characters a bit better. (Bug#10978)
14825
14826 2012-03-13 Leo Liu <sdl.web@gmail.com>
14827
14828 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14829 directory and file as argument (Bug#10822).
14830
14831 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14832
14833 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14834 For dynamically generated code, follow $PC.
14835 (gdb-disassembly-handler-custom): Handle no function name case.
14836
14837 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14838
14839 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14840 * emulation/ws-mode.el (ws-query-replace):
14841 * sort.el (sort-regexp-fields):
14842 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14843
14844 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14845
14846 * dabbrev.el: Fix cycle completion order (bug#10963).
14847 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14848 (dabbrev-completion): Don't use an obarray; provide
14849 a cycle-sort-function.
14850
14851 2012-03-12 Leo Liu <sdl.web@gmail.com>
14852
14853 * simple.el (kill-new): Use equal-including-properties for comparison.
14854 (kill-do-not-save-duplicates): Doc fix.
14855
14856 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 * dabbrev.el: Fix cycle completion (bug#10963).
14859 Use lexical binding and wrap to 80 columns.
14860 (dabbrev-completion): Delay computing the list of completions.
14861
14862 2012-03-12 Kenichi Handa <handa@m17n.org>
14863
14864 * international/quail.el (quail-insert-kbd-layout): Surround each
14865 row by LRO and PDF instead of inserting many LRMs. Pad the left
14866 and right of each non-spacing marks. Insert invisible space
14867 between lower and upper characters to prevent composition.
14868
14869 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14870
14871 * minibuffer.el (minibuffer-complete): Don't get confused when the
14872 function is run twice via different commands (bug#10958).
14873 (complete-with-action): Fix docstring.
14874
14875 2012-03-12 Chong Yidong <cyd@gnu.org>
14876
14877 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14878 (nxml-completion-at-point-function): New function.
14879 (nxml-mode): Use it.
14880 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14881
14882 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14883 Load generated autoloads file before byte compiling (Bug#10970).
14884 (package--make-autoloads-and-compile): New helper fun.
14885
14886 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14887
14888 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14889
14890 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14891
14892 * autorevert.el (auto-revert-handler): Ensure, that
14893 file-readable-p is applied only for local files or in
14894 auto-revert-tail-mode.
14895
14896 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14897
14898 * server.el (server-eval-at): Handle non-tcp connections.
14899 Decode result string.
14900
14901 * server.el (server-msg-size): New constant.
14902 (server-reply-print): New function.
14903 (server-eval-and-print): Use it.
14904 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14905 Handle -print-nonl.
14906
14907 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14908
14909 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14910 (Bug#10987).
14911
14912 2012-03-11 Chong Yidong <cyd@gnu.org>
14913
14914 * simple.el (goto-line): Doc fix (Bug#9938).
14915
14916 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14917
14918 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14919 when finished (Bug#10963).
14920
14921 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14922
14923 * window.el (split-window-below): Fix bug in case where
14924 split-window-keep-point is nil (Bug#10971).
14925
14926 2012-03-11 Juri Linkov <juri@jurta.org>
14927
14928 * replace.el (replace-highlight): Set isearch-word to nil
14929 unconditionally. (Bug#10887)
14930
14931 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14932
14933 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14934 mairix-replace-illegal-chars; all callers changed. Don't remove
14935 ^, ~, and = characters: they are meaningful in mairix search specs.
14936 (mairix-widget-create-query): Add usage information about mairix
14937 search forms: negating words, searching for substrings, etc.
14938
14939 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14940
14941 * international/fontset.el (font-encoding-alist): Add an entry for
14942 ksx1001 (Bug#5667).
14943
14944 2012-03-10 Richard Stallman <rms@gnu.org>
14945
14946 * mail/sendmail.el (mail-encode-header):
14947 Set rfc2047-encode-encoded-words.
14948
14949 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14950
14951 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14952 view buffer means not swapped.
14953 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14954 (rmail-write-region-annotate): Error if real text has disappeared.
14955
14956 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14957
14958 2012-03-10 Chong Yidong <cyd@gnu.org>
14959
14960 * emulation/cua-rect.el (cua--init-rectangles):
14961 * emulation/cua-base.el (cua--init-keymaps):
14962 Add delete-forward-char to remappings (Bug#9666).
14963
14964 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14965
14966 * speedbar.el (speedbar-unhighlight-one-tag-line):
14967 Avoid unhighlighting due to frame switching (Bug#10275).
14968
14969 2012-03-10 Chong Yidong <cyd@gnu.org>
14970
14971 * minibuffer.el (completion-in-region, completion-help-at-point):
14972 Give the completion field overlay a high priority (Bug#6830).
14973
14974 * dired.el (dired-goto-file): Recognize absolute file name
14975 listings (Bug#7126).
14976 (dired-goto-file-1): New helper function.
14977 (dired-toggle-read-only): Inhibit warnings.
14978
14979 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14980
14981 * net/dbus.el (dbus-property-handler): Return empty array if
14982 there are no properties.
14983
14984 2012-03-09 Leo Liu <sdl.web@gmail.com>
14985
14986 * savehist.el (savehist-printable): Stricter check for string
14987 value (Bug#10937).
14988
14989 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14990
14991 * mail/smtpmail.el (smtpmail-send-it):
14992 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14993 valid mbox format.
14994
14995 2012-03-09 Glenn Morris <rgm@gnu.org>
14996
14997 * files.el (dir-locals-find-file):
14998 Don't check result is regular, readable.
14999 (dir-locals-read-from-file): Demote errors.
15000
15001 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15002
15003 * international/quail.el (quail-insert-kbd-layout):
15004 Insert invisible LRM characters before each character in a keyboard
15005 layout cell, to prevent their reordering by bidi display engine.
15006 For details, see the discussion in
15007 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15008
15009 2012-03-08 Alan Mackenzie <acm@muc.de>
15010
15011 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15012 the starting position; make it extend the marked region when
15013 invoked repeatedly - all under appropriate circumstances.
15014 Fixes bugs #5525, #10906.
15015
15016 2012-03-08 Glenn Morris <rgm@gnu.org>
15017
15018 * files.el (locate-dominating-file, dir-locals-find-file):
15019 Undo 2012-03-06 change.
15020
15021 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15022
15023 * international/quail.el (quail-help):
15024 Force bidi-paragraph-direction be left-to-right. See discussion in
15025 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15026 for the reason.
15027
15028 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15029
15030 Avoid superfluous registering of signals. (Bug#10807)
15031
15032 * notifications.el (notifications-on-action-object)
15033 (notifications-on-close-object): New defvars.
15034 (notifications-on-action-signal, notifications-on-closed-signal):
15035 Unregister the signal if not needed any longer.
15036 (notifications-notify): Register `notifications-action-signal' or
15037 `notifications-closed-signal', if :on-action or :on-close has been
15038 passed as argument.
15039
15040 2012-03-07 Chong Yidong <cyd@gnu.org>
15041
15042 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15043 non-X platforms.
15044
15045 2012-03-06 Glenn Morris <rgm@gnu.org>
15046
15047 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15048 (x-disown-selection-internal, x-get-selection-internal):
15049 Doc fix (add arglist signatures). (Bug#10783)
15050
15051 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15052
15053 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15054 Handle breakpoints with no "type".
15055
15056 2012-03-06 Glenn Morris <rgm@gnu.org>
15057
15058 * files.el (locate-dominating-file): Add optional predicate argument.
15059 (dir-locals-find-file): Make use of above change.
15060
15061 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15062
15063 * info.el (Info-insert-dir): Also try "dir.gz".
15064
15065 2012-03-06 Glenn Morris <rgm@gnu.org>
15066
15067 * files.el (dir-locals-find-file):
15068 Ignore non-readable or non-regular files. (Bug#10928)
15069
15070 * files.el (locate-dominating-file): Doc fix.
15071
15072 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15073
15074 * calendar/calendar.el (calendar-set-mode-line):
15075 `getenv' returns a string. (Bug#10951)
15076
15077 2012-03-05 Leo Liu <sdl.web@gmail.com>
15078
15079 * simple.el (backward-delete-char-untabify): Constrain point to
15080 field (Bug#10939).
15081
15082 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15083
15084 2012-03-05 Chong Yidong <cyd@gnu.org>
15085
15086 * simple.el (count-words): If called from Lisp, return the word
15087 count, for symmetry with `count-lines'. Arglist changed.
15088 (count-words--message): Args changed. Consolidate counting code
15089 from count-words and count-words-region.
15090 (count-words-region): Caller changed.
15091 (count-lines-region): Make it an obsolete alias.
15092
15093 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15094
15095 * saveplace.el (save-place-to-alist)
15096 (save-place-ignore-files-regexp): Allow value nil to disable this
15097 feature.
15098
15099 2012-03-04 Chong Yidong <cyd@gnu.org>
15100
15101 * faces.el (face-spec-reset-face): For the default face, reset the
15102 attributes to default values (Bug#10748).
15103
15104 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
15106 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15107 previous patch: Check `message-send-mail-function', and not the
15108 default function (bug#10897).
15109
15110 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15111
15112 * notifications.el (notifications-on-action-signal)
15113 (notifications-on-closed-signal): Check for unique service name of
15114 incoming event. Fix error in removing entry.
15115 (top): Register for signals with wildcard service name.
15116 (notifications-notify): Use daemon unique service name for map entries.
15117
15118 2012-03-04 Chong Yidong <cyd@gnu.org>
15119
15120 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15121
15122 2012-03-04 Glenn Morris <rgm@gnu.org>
15123
15124 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15125 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15126 (expand-abbrev, define-abbrev-table): Doc fixes.
15127
15128 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15129
15130 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15131 `message-default-send-mail-function' and not `send-mail-function'
15132 when doing the prompting for `sendmail-query-once' before sending
15133 in Message buffers (bug#10897).
15134
15135 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15136 This is inconsistent with all the other stream functions, which leave
15137 the setting up to the higher levels (if so wanted) (bug#10931).
15138
15139 2012-03-02 Alan Mackenzie <acm@muc.de>
15140
15141 Depessimize the handling of very large macros.
15142
15143 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15144 (c-macro-cache-syntactic): New variables to implement a one
15145 element macro cache.
15146 (c-invalidate-macro-cache): New function.
15147 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15148 Adapt to use the new cache.
15149 (c-state-safe-place): Use better the cache of safe positions.
15150 (c-state-semi-nonlit-pos-cache)
15151 (c-state-semi-nonlit-pos-cache-limit):
15152 New variables for...
15153 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15154 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15155 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15156 Use c-state-semi-safe-place.
15157
15158 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15159 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15160
15161 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15162
15163 * jka-compr.el (jka-compr-call-process):
15164 Apply `file-accessible-directory-p' only when the default directory is
15165 not remote.
15166
15167 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15168
15169 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15170 access of FILE2, if FILE1 does not exist.
15171
15172 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15173 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15174
15175 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15176 Add "PAGER=" to `process-environment'.
15177
15178 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15179
15180 * progmodes/sql.el: Bug fix
15181 (sql-get-login-ext): Save login values in globals.
15182 (sql-get-login): Use new version of `sql-get-login-ext'.
15183 (sql-interactive-mode): Set global `sql-connection' to nil.
15184 (sql-connect): Set global values for connection.
15185 (sql-product-interactive): Save global values as buffer local.
15186
15187 2012-02-29 Leo Liu <sdl.web@gmail.com>
15188
15189 * abbrev.el (define-abbrevs): Reset sys to nil.
15190
15191 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15192
15193 * files.el (file-equal-p): Rename from `files-equal-p'.
15194 Return nil when one or both files don't exist.
15195 (file-subdir-of-p): Now only top directory must exists,
15196 return nil if it doesn't.
15197 (copy-directory): No need to test with `file-subdir-of-p' after
15198 creating dir.
15199 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15200 to `file-equal-p'.
15201
15202 2012-02-28 Glenn Morris <rgm@gnu.org>
15203
15204 * shell.el (shell-mode):
15205 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15206 * play/landmark.el (landmark-font-lock-face-O):
15207 * play/handwrite.el (handwrite):
15208 * play/gomoku.el (gomoku-O):
15209 * net/browse-url.el (browse-url-browser-display):
15210 * international/mule.el (define-charset):
15211 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15212 * filesets.el (filesets-find-file-delay):
15213 * eshell/em-xtra.el (eshell-xtra):
15214 * eshell/em-unix.el (eshell-grep):
15215 * emulation/viper.el (viper-mode):
15216 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15217 * emacs-lisp/easymenu.el (easy-menu-define):
15218 * calendar/timeclock.el (timeclock-use-display-time):
15219 * bs.el (bs-mode):
15220 * bookmark.el (bookmark-save-flag):
15221 Doc fix (standardize possessive apostrophe usage).
15222
15223 2012-02-27 Chong Yidong <cyd@gnu.org>
15224
15225 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15226 Fix key-binding lookup for ESC key (Bug#9146).
15227
15228 * font-lock.el (font-lock-specified-p): Rename from
15229 font-lock-spec-present. Callers changed.
15230
15231 2012-02-27 Daniel Hackney <dan@haxney.org>
15232
15233 * emacs-lisp/package.el (package-compute-transaction):
15234 Handle holding a package version to t in package-load-list.
15235
15236 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15237
15238 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15239 (tramp-get-inode, tramp-get-device): Use cached values.
15240
15241 2012-02-26 Alan Mackenzie <acm@muc.de>
15242
15243 Check there is a font-lock specification before doing initial
15244 fontification.
15245
15246 * font-core.el (font-lock-mode): Move the conditional from
15247 :after-hook to font-lock-initial-fontify.
15248 (font-lock-default-function): Move the check for a specification
15249 to font-lock-spec-present.
15250
15251 * font-lock.el (font-lock-initial-fontify): Call ...
15252 (font-lock-spec-present): New function.
15253
15254 2012-02-26 Jim Blandy <jimb@red-bean.com>
15255
15256 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15257 (gdb-send): Apply it to the operand of the '-interpreter-exec
15258 console' command, so that we can pass arguments with (say) quotes
15259 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15260
15261 2012-02-26 Chong Yidong <cyd@gnu.org>
15262
15263 * help-fns.el (describe-function-1): Clarify description of
15264 remapping (Bug#10844).
15265
15266 * files.el (files-equal-p): Doc fix.
15267 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15268 and quit the loop once a mismatch is found.
15269
15270 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15271
15272 * bs.el (bs--show-with-configuration): Don't throw an error
15273 if the window cannot be split; otherwise, subsequent calls to
15274 bs-show fail, restoring a stale window config. (Bug#10882)
15275
15276 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15277
15278 * term/ns-win.el (global-map): Bind ns-drag-file to
15279 ns-find-file (Bug#5855, Bug#10050).
15280
15281 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15282
15283 * calendar/parse-time.el (parse-time-string): Allow extractor to
15284 return nil.
15285
15286 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15287
15288 * net/tramp.el (tramp-file-name-for-operation):
15289 Add `files-equal-p' and `file-subdir-of-p'.
15290
15291 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15292 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15293 Add COPY-CONTENTS argument.
15294
15295 2012-02-25 Chong Yidong <cyd@gnu.org>
15296
15297 Add custom groups for VC backends, for consistency with vc-bzr.
15298
15299 * vc/vc-arch.el (vc-arch):
15300 * vc/vc-cvs.el (vc-cvs):
15301 * vc/vc-git.el (vc-git):
15302 * vc/vc-hg.el (vc-hg):
15303 * vc/vc-mtn.el (vc-mtn):
15304 * vc/vc-rcs.el (vc-rcs):
15305 * vc/vc-sccs.el (vc-sccs):
15306 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15307 All relevant defcustoms reassigned.
15308
15309 2012-02-25 Chong Yidong <cyd@gnu.org>
15310
15311 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15312
15313 * term/x-win.el (x-initialize-window-system): Reduce default for
15314 x-selection-timeout to 5 seconds (Bug#8869).
15315
15316 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15317
15318 * files.el (files-equal-p, file-subdir-of-p): New functions.
15319 (copy-directory): Error when trying to copy a directory on itself.
15320 Add missing copy-contents arg to tramp handler.
15321 * dired-aux.el (dired-copy-file-recursive): Same.
15322 (dired-create-files): Modify destination when source is equal to
15323 dest when copying files.
15324 Return also when dest is a subdir of source. (Bug#10489)
15325
15326 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15327
15328 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15329 (Bug#10874)
15330
15331 2012-02-23 Alan Mackenzie <acm@muc.de>
15332
15333 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15334 parameter "after-hook:" to allow the expansion to run code after
15335 the execution of the mode hooks.
15336
15337 * font-lock.el (font-lock-initial-fontify): New function extracted
15338 from font-lock-mode-internal.
15339
15340 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15341 :after-hook.
15342
15343 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15344
15345 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15346 (completion--cache-all-sorted-completions): New function.
15347 (completion-all-sorted-completions): Use it.
15348 (completion--do-completion, minibuffer-force-complete):
15349 Use it to re-instate the flush hook.
15350
15351 * icomplete.el (icomplete-completions): Replace last fix with a better
15352 one (bug#10850).
15353
15354 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15355
15356 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15357 when it might call us back infinitely (bug#10797).
15358
15359 2012-02-23 Glenn Morris <rgm@gnu.org>
15360
15361 * minibuffer.el (completion-category-overrides): Doc fix.
15362
15363 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15366 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15367
15368 2012-02-23 Glenn Morris <rgm@gnu.org>
15369
15370 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15371 (authors-obsolete-files-regexps, authors-ignored-files)
15372 (authors-ambiguous-files, authors-renamed-files-alist):
15373 Add more entries.
15374
15375 2012-02-23 Juri Linkov <juri@jurta.org>
15376
15377 * isearch.el (isearch-occur): Sync interactive spec with occur's
15378 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15379
15380 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15381
15382 2012-02-22 Juri Linkov <juri@jurta.org>
15383
15384 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15385 (ucs-insert): Doc fix. Check for hex digits in the string.
15386 Don't display `nil' in the error message. (Bug#10857)
15387
15388 2012-02-22 Alan Mackenzie <acm@muc.de>
15389
15390 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15391
15392 2012-02-22 Glenn Morris <rgm@gnu.org>
15393
15394 * ffap.el (ffap-c-path):
15395 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15396
15397 2012-02-22 Chong Yidong <cyd@gnu.org>
15398
15399 * custom.el (load-theme): Doc fix.
15400
15401 2012-02-22 Glenn Morris <rgm@gnu.org>
15402
15403 * dired-x.el (dired-guess-shell-alist-default):
15404 Remove escape sequences from nroff output. (Bug#172)
15405
15406 2012-02-21 Glenn Morris <rgm@gnu.org>
15407
15408 * vc/emerge.el (emerge-defvar-local):
15409 Set `permanent-local' property rather than unused `preserved'.
15410
15411 * textmodes/picture.el (picture-delete-char): New alias.
15412 (picture-mode-map): Use it. (Bug#10860)
15413 (picture-mode): Doc fix.
15414
15415 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15416
15417 * newcomment.el (uncomment-region-default): Remove unused binding.
15418
15419 2012-02-21 Glenn Morris <rgm@gnu.org>
15420
15421 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15422 (picture-self-insert, picture-tab-chars): Doc fix.
15423 (picture-mode-map): Fix C-a, C-e.
15424
15425 2012-02-20 Glenn Morris <rgm@gnu.org>
15426
15427 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15428
15429 2012-02-20 Leo Liu <sdl.web@gmail.com>
15430
15431 * icomplete.el (icomplete-completions): Check FROM arg before
15432 passing to substring (Bug#10850).
15433
15434 2012-02-19 Chong Yidong <cyd@gnu.org>
15435
15436 * comint.el: Require ansi-color.
15437 (comint-output-filter-functions): Add ansi-color-process-output.
15438
15439 * ansi-color.el: Don't set comint-output-filter-functions; it is
15440 now in the initial value defined in comint.el.
15441 (ansi-color-apply-face-function): New variable.
15442 (ansi-color-apply-on-region): Use it.
15443 (ansi-color-apply-overlay-face): New function.
15444
15445 * shell.el (shell): No need to require ansi-color.
15446 (shell-mode): Use ansi-color-apply-face-function to highlight
15447 color escapes using font-lock-face property (Bug#10835).
15448
15449 2012-02-19 Chong Yidong <cyd@gnu.org>
15450
15451 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15452 mode-line formats (Bug#10839).
15453
15454 2012-02-18 Glenn Morris <rgm@gnu.org>
15455
15456 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15457
15458 * mail/undigest.el (unforward-rmail-message): Doc fix.
15459
15460 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15461
15462 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15463
15464 * international/characters.el (script-list): Sync with the latest
15465 Unicode Character Database.
15466
15467 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15468
15469 * international/titdic-cnv.el: Remove duplicate coding tag.
15470 * language/cham.el: Likewise.
15471 * language/tai-viet.el: Likewise.
15472
15473 2012-02-18 Glenn Morris <rgm@gnu.org>
15474
15475 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15476 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15477 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15478 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15479 * calendar/holidays.el (holiday-bahai-holidays)
15480 (calendar-holidays, list-holidays):
15481 Use utf-8 Bahá'í in doc-strings, menus, etc.
15482
15483 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15484
15485 * saveplace.el (save-place-ignore-files-regexp): New variable
15486 allowing for excluding files from saving their location of point.
15487 The default value matches the temporary commit message editing
15488 files from Git, SVN, Bazaar, and Mercurial.
15489 (save-place-to-alist): Use it.
15490
15491 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15492 Stefan Monnier <monnier@iro.umontreal.ca>
15493
15494 * newcomment.el (uncomment-region-default): Don't leave extra space
15495 when an arg is provided (bug#8150).
15496
15497 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15498
15499 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15500
15501 2012-02-17 Glenn Morris <rgm@gnu.org>
15502
15503 * net/socks.el: Require network-stream. (Bug#10599)
15504
15505 2012-02-17 Kenichi Handa <handa@m17n.org>
15506
15507 * international/charprop.el:
15508 * international/uni-name.el:
15509 * international/uni-old-name.el:
15510 * international/uni-comment.el: Regenerate.
15511
15512 2012-02-16 Glenn Morris <rgm@gnu.org>
15513
15514 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15515 Interactively in calendar buffer, give an error if not on a date.
15516
15517 2012-02-15 Glenn Morris <rgm@gnu.org>
15518
15519 * shell.el (shell-delimiter-argument-list):
15520 Revert 2011-02-17 change. (Bug#8027)
15521
15522 2012-02-15 Chong Yidong <cyd@gnu.org>
15523
15524 * minibuffer.el (completion-at-point-functions): Doc fix.
15525
15526 * custom.el (defcustom): Doc fix; note use of defvar.
15527
15528 2012-02-15 Glenn Morris <rgm@gnu.org>
15529
15530 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15531 Doc fixes.
15532
15533 2012-02-14 Glenn Morris <rgm@gnu.org>
15534
15535 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15536
15537 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15538
15539 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15540 way the ports list is computed.
15541 (smtpmail-query-smtp-server): Prompt the user for a port number if
15542 we can't connect to any of the standard ports (bug#10810).
15543
15544 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15545
15546 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15547
15548 2012-02-13 Glenn Morris <rgm@gnu.org>
15549
15550 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15551
15552 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15553
15554 * net/gnutls.el (gnutls-trustfiles): New variable.
15555 (gnutls-negotiate): Use it.
15556
15557 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15558
15559 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15560 does its stuff if Gnus is running.
15561
15562 2012-02-13 Alan Mackenzie <acm@muc.de>
15563
15564 Fix a loop in c-set-fl-decl-start.
15565
15566 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15567 c-backward-syntactic-ws actually moves backwards.
15568
15569 2012-02-13 Leo Liu <sdl.web@gmail.com>
15570
15571 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15572 beginning so that all \C-o chars are removed.
15573
15574 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15575
15576 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15577
15578 2012-02-12 Alan Mackenzie <acm@muc.de>
15579
15580 Fix infinite loop with long macros.
15581 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15582
15583 2012-02-12 Chong Yidong <cyd@gnu.org>
15584
15585 * window.el (display-buffer): Doc fix (Bug#10785).
15586
15587 2012-02-12 Glenn Morris <rgm@gnu.org>
15588
15589 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15590 (x-disown-selection-internal, x-get-selection-internal):
15591 Sync docs with the xselect.c versions.
15592
15593 * allout-widgets.el: Add missing license notice.
15594
15595 2012-02-11 Glenn Morris <rgm@gnu.org>
15596
15597 * select.el (x-get-selection-internal, x-own-selection-internal)
15598 (x-disown-selection-internal):
15599 * x-dnd.el (x-get-selection-internal): Update declarations.
15600
15601 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15602
15603 * window.el (window-sides-slots):
15604 * tool-bar.el (tool-bar-position):
15605 * term/xterm.el (xterm-extra-capabilities):
15606 * ses.el (ses-self-reference-early-detection):
15607 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15608 (verilog-auto-wire-type)
15609 (verilog-auto-delete-trailing-whitespace)
15610 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15611 (verilog-auto-tieoff-declaration):
15612 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15613 (sql-oracle-statement-starters, sql-oracle-scan-on):
15614 * progmodes/prolog.el (prolog-align-comments-flag)
15615 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15616 (prolog-left-indent-regexp, prolog-paren-indent-p)
15617 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15618 (prolog-types, prolog-mode-specificators)
15619 (prolog-determinism-specificators, prolog-directives)
15620 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15621 (prolog-electric-dot-flag)
15622 (prolog-electric-dot-full-predicate-template)
15623 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15624 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15625 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15626 (prolog-program-switches, prolog-prompt-regexp)
15627 (prolog-debug-on-string, prolog-debug-off-string)
15628 (prolog-trace-on-string, prolog-trace-off-string)
15629 (prolog-zip-on-string, prolog-zip-off-string)
15630 (prolog-use-standard-consult-compile-method-flag)
15631 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15632 (prolog-imenu-max-lines, prolog-info-predicate-index)
15633 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15634 (prolog-char-quote-workaround):
15635 * progmodes/cc-vars.el (c-defun-tactic):
15636 * net/tramp.el (tramp-encoding-command-interactive)
15637 (tramp-local-end-of-line):
15638 * net/soap-client.el (soap-client):
15639 * net/netrc.el (netrc-file):
15640 * net/gnutls.el (gnutls):
15641 * minibuffer.el (completion-category-overrides)
15642 (completion-cycle-threshold)
15643 (completion-pcm-complete-word-inserts-delimiters):
15644 * man.el (Man-name-local-regexp):
15645 * mail/feedmail.el (feedmail-display-full-frame):
15646 * international/characters.el (glyphless-char-display-control):
15647 * eshell/em-ls.el (eshell-ls-date-format):
15648 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15649 (lisp-lambda-list-keyword-parameter-indentation)
15650 (lisp-lambda-list-keyword-parameter-alignment):
15651 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15652 * dired-x.el (dired-omit-verbose):
15653 * cus-theme.el (custom-theme-allow-multiple-selections):
15654 * calc/calc.el (calc-highlight-selections-with-faces)
15655 (calc-lu-field-reference, calc-lu-power-reference)
15656 (calc-note-threshold):
15657 * battery.el (battery-mode-line-limit):
15658 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15659 (archive-7z-update):
15660 * allout.el (allout-prefixed-keybindings)
15661 (allout-unprefixed-keybindings)
15662 (allout-inhibit-auto-fill-on-headline)
15663 (allout-flattened-numbering-abbreviation):
15664 * allout-widgets.el (allout-widgets-auto-activation)
15665 (allout-widgets-icons-dark-subdir)
15666 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15667 (allout-widgets-theme-dark-background)
15668 (allout-widgets-theme-light-background)
15669 (allout-widgets-item-image-properties-emacs)
15670 (allout-widgets-item-image-properties-xemacs)
15671 (allout-widgets-run-unit-tests-on-load)
15672 (allout-widgets-time-decoration-activity)
15673 (allout-widgets-hook-error-post-time)
15674 (allout-widgets-track-decoration):
15675 Add missing :version tags to new defcustoms and defgroups.
15676
15677 * progmodes/sql.el (sql-ansi-statement-starters)
15678 (sql-oracle-statement-starters): Add custom type.
15679
15680 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15681 (prolog-system-version): Give it a type.
15682
15683 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15684
15685 * term/pc-win.el (x-select-text, x-selection-owner-p)
15686 (x-own-selection-internal, x-disown-selection-internal)
15687 (x-get-selection-internal): Sync doc strings and argument lists
15688 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15689
15690 2012-02-11 Leo Liu <sdl.web@gmail.com>
15691
15692 * progmodes/python.el (python-end-of-statement): Fix infinite
15693 loop. (Bug#10788)
15694
15695 2012-02-10 Glenn Morris <rgm@gnu.org>
15696
15697 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15698 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15699
15700 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15701
15702 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15703 about SMTP before checking the From header.
15704
15705 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15706 into own function for reuse by emacsbug.el.
15707
15708 2012-02-10 Leo Liu <sdl.web@gmail.com>
15709
15710 * subr.el (condition-case-unless-debug): Rename from
15711 condition-case-no-debug. All callers changed.
15712 (with-demoted-errors): Fix caller.
15713
15714 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15715 * nxml/rng-valid.el (rng-do-some-validation):
15716 * emacs-lisp/package.el (package-refresh-contents)
15717 (package-menu-execute):
15718 * desktop.el (desktop-create-buffer):
15719 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15720
15721 2012-02-10 Glenn Morris <rgm@gnu.org>
15722
15723 * textmodes/bibtex.el:
15724 Add missing :version tags for new/changed defcustoms.
15725
15726 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15727
15728 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15729
15730 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15731 (smtpmail-via-smtp): Use it, or fall back on the From address.
15732 (smtpmail-send-it): Ditto.
15733
15734 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15737 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15738 (byte-compile-tmp-var): New const.
15739 (byte-compile-defvar): Use it to minimize .elc size.
15740 Just use `defvar' rather than simulate it (bug#10761).
15741
15742 2012-02-09 Glenn Morris <rgm@gnu.org>
15743
15744 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15745
15746 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15747 Add :version tags.
15748
15749 * progmodes/compile.el (compilation-error-screen-columns)
15750 (compilation-first-column, compilation-filter-start): Doc fixes.
15751
15752 * vc/log-view.el (log-view-toggle-entry-display):
15753 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15754
15755 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15756 (report-emacs-bug-can-use-xdg-email):
15757 (report-emacs-bug-insert-to-mailer): Doc fixes.
15758 (report-emacs-bug): Message fix.
15759
15760 * net/browse-url.el (browse-url-can-use-xdg-open)
15761 (browse-url-xdg-open): Doc fixes.
15762
15763 * electric.el (electric-indent-mode, electric-pair-mode)
15764 (electric-layout-rules, electric-layout-mode): Doc fixes.
15765 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15766
15767 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15768
15769 * server.el (server-unselect-display): Don't inadvertently kill
15770 the current buffer. (Bug#10729)
15771
15772 2012-02-08 Glenn Morris <rgm@gnu.org>
15773
15774 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15775 (sql-list-table): Doc fixes.
15776
15777 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15778 Comment out (does nothing).
15779
15780 * completion.el (dynamic-completion-mode):
15781 * dirtrack.el (dirtrack-debug-mode):
15782 * electric.el (electric-layout-mode):
15783 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15784 * face-remap.el (text-scale-mode, buffer-face-mode):
15785 * iimage.el (iimage-mode):
15786 * image-mode.el (image-transform-mode):
15787 * minibuffer.el (completion-in-region-mode):
15788 * scroll-lock.el (scroll-lock-mode):
15789 * simple.el (next-error-follow-minor-mode):
15790 * tar-mode.el (tar-subfile-mode):
15791 * tooltip.el (tooltip-mode):
15792 * vcursor.el (vcursor-use-vcursor-map):
15793 * wid-browse.el (widget-minor-mode):
15794 * emulation/tpu-edt.el (tpu-edt-mode):
15795 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15796 * international/iso-ascii.el (iso-ascii-mode):
15797 * language/thai-util.el (thai-word-mode):
15798 * mail/supercite.el (sc-minor-mode):
15799 * net/goto-addr.el (goto-address-mode):
15800 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15801 * progmodes/cwarn.el (cwarn-mode):
15802 * progmodes/flymake.el (flymake-mode):
15803 * progmodes/glasses.el (glasses-mode):
15804 * progmodes/hideshow.el (hs-minor-mode):
15805 * progmodes/pascal.el (pascal-outline-mode):
15806 * textmodes/enriched.el (enriched-mode):
15807 * vc/smerge-mode.el (smerge-mode):
15808 Doc fixes (minor mode argument).
15809
15810 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15811
15812 * ls-lisp.el (ls-lisp-sanitize): New function.
15813 (ls-lisp-insert-directory): Use it to fix or remove any elements
15814 in file-alist with missing attributes. (Bug#4673)
15815
15816 2012-02-07 Alan Mackenzie <acm@muc.de>
15817
15818 Fix spurious recognition of c-in-knr-argdecl.
15819
15820 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15821 putative K&R region.
15822
15823 2012-02-07 Alan Mackenzie <acm@muc.de>
15824
15825 * progmodes/cc-engine.el (c-forward-objc-directive):
15826 Prevent looping in "#pragma mark @implementation".
15827
15828 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15829
15830 * notifications.el (notifications-on-closed-signal): Make `reason'
15831 optional. (Bug#10744)
15832
15833 2012-02-07 Glenn Morris <rgm@gnu.org>
15834
15835 * emacs-lisp/easy-mmode.el (define-minor-mode):
15836 Doc fixes for the macro and the mode it defines.
15837
15838 * image.el (imagemagick-types-inhibit): Doc fix.
15839
15840 * cus-start.el (imagemagick-render-type): Add it.
15841
15842 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15843
15844 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15845 Set the default at load time, too, so that `font-lock-fontify-buffer'
15846 can be called without setting up the entire mode first. This fixes
15847 a bug in `mm-inline-text' with C MIME parts.
15848
15849 2012-02-06 Chong Yidong <cyd@gnu.org>
15850
15851 * simple.el (list-processes--refresh): Delete exited processes
15852 (Bug#8094).
15853
15854 * comint.el (comint-next-prompt): next-single-char-property-change
15855 and prev-single-char-property-change never return nil (Bug#8657).
15856
15857 * custom.el (defcustom): Doc fix (Bug#9711).
15858
15859 2012-02-05 Chong Yidong <cyd@gnu.org>
15860
15861 * cus-edit.el (custom-variable-reset-backup): Quote the value
15862 before storing it in the customized-value property (Bug#6712).
15863 (custom-display): Add a customization type tag.
15864 (custom-buffer-create-internal): Improve tooltip message.
15865
15866 * wid-edit.el (widget-field-value-get): New optional arg to
15867 suppress trailing whitespace truncation.
15868 (character): Use it (Bug#2689).
15869
15870 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15871
15872 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15873 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15874
15875 2012-02-05 Chong Yidong <cyd@gnu.org>
15876
15877 * cus-edit.el (custom-variable-value-create): For mismatched
15878 types, show the current value (Bug#7600).
15879
15880 * custom.el (defcustom): Doc fix.
15881
15882 2012-02-05 Glenn Morris <rgm@gnu.org>
15883
15884 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15885
15886 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15887
15888 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15889 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15890 (pp-last-sexp): Use `looking-at-p'.
15891
15892 2012-02-04 Glenn Morris <rgm@gnu.org>
15893
15894 * files.el (revert-buffer):
15895 Doc fix (mention revert-buffer-in-progress-p).
15896
15897 * emacs-lisp/ert-x.el (ert-simulate-command):
15898 Check deferred-action-list (which is obsolete) is bound.
15899
15900 * subr.el (with-wrapper-hook): Doc fixes.
15901
15902 * simple.el (filter-buffer-substring-functions)
15903 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15904
15905 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15906
15907 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15908 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15909
15910 2012-02-04 Leo Liu <sdl.web@gmail.com>
15911
15912 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15913
15914 2012-02-04 Glenn Morris <rgm@gnu.org>
15915
15916 * image.el (image-extension-data): Add obsolete alias.
15917
15918 * isearch.el (isearch-update): Doc fix.
15919
15920 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15921
15922 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15923
15924 2012-02-03 Glenn Morris <rgm@gnu.org>
15925
15926 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15927 (image-animate-timeout): Doc fix.
15928
15929 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15930
15931 2012-02-02 Glenn Morris <rgm@gnu.org>
15932
15933 * server.el (server-auth-dir): Doc fix.
15934 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15935
15936 * subr.el (run-mode-hooks): Doc fix.
15937
15938 2012-02-02 Juri Linkov <juri@jurta.org>
15939
15940 * image-mode.el (image-toggle-display-image): Remove tautological
15941 `major-mode' from the `derived-mode-p' test.
15942
15943 2012-02-02 Kenichi Handa <handa@m17n.org>
15944
15945 * composite.el (compose-region): Cancel previous change.
15946
15947 2012-02-02 Kenichi Handa <handa@m17n.org>
15948
15949 * composite.el (compose-region, compose-string): Signal error for
15950 a null string component (Bug#6988).
15951
15952 2012-02-01 Chong Yidong <cyd@gnu.org>
15953
15954 * view.el (view-buffer-other-window, view-buffer-other-frame):
15955 Handle special modes like view-buffer (Bug#10650).
15956 (view-buffer): Simplify.
15957
15958 * frame.el (set-frame-font): Tweak meaning of third argument.
15959
15960 * dynamic-setting.el (font-setting-change-default-font):
15961 Use set-frame-font (Bug#9982).
15962
15963 2012-02-01 Glenn Morris <rgm@gnu.org>
15964
15965 * progmodes/compile.el (compilation-internal-error-properties):
15966 Respect compilation-first-column in the "*compilation*" buffer.
15967
15968 * emacs-lisp/easy-mmode.el (define-minor-mode):
15969 Relax :variable's test for a named function.
15970
15971 2012-01-31 Alan Mackenzie <acm@muc.de>
15972
15973 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15974 off by one error.
15975
15976 2012-01-31 Chong Yidong <cyd@gnu.org>
15977
15978 * frame.el (set-frame-font): New arg ALL-FRAMES.
15979
15980 * menu-bar.el (menu-set-font): Use set-frame-font.
15981
15982 * faces.el (face-spec-reset-face): Don't apply unspecified
15983 attribute values to the default face.
15984
15985 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15986
15987 * progmodes/cwarn.el (cwarn): Remove dead link.
15988 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15989 Remove * from defcustom docstrings.
15990 (turn-on-cwarn-mode): Make obsolete.
15991 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15992 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15993
15994 2012-01-31 Glenn Morris <rgm@gnu.org>
15995
15996 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15997 Fix :variable handling of mode a symbol not equal to modefun.
15998 Allow named functions to be used as the cdr of :variable.
15999
16000 2012-01-30 Glenn Morris <rgm@gnu.org>
16001
16002 * emacs-lisp/authors.el (authors-fixed-entries):
16003 Remove reference to deleted file rnewspost.el.
16004
16005 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16006
16007 * window.el (window-with-parameter): Remove unused variable `windows'.
16008 (window--side-check): Remove unused variable `code'.
16009 (window--resize-siblings): Remove unused variable `first'.
16010 (adjust-window-trailing-edge): Remove unused variable `failed'.
16011 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16012 Use `let', not `let*'.
16013 (balance-windows-2): Remove unused variable `found'.
16014 (window--state-put-2): Remove unused variable `splits'.
16015 (window-state-put): Remove unused variable `selected'.
16016 (same-window-p): Use `string-match-p'.
16017 (display-buffer-assq-regexp): Remove unused variable `value'.
16018 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16019 Mark argument ALIST as ignored.
16020 (pop-to-buffer): Remove unused variable `old-window'.
16021
16022 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16023
16024 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16025 and .lzma compressed files.
16026
16027 2012-01-29 Chong Yidong <cyd@gnu.org>
16028
16029 * frame.el (window-system-default-frame-alist): Doc fix.
16030
16031 * dynamic-setting.el (font-setting-change-default-font): Don't
16032 change the default face if SET-FONT argument is non-nil (Bug#9982).
16033
16034 2012-01-29 Samuel Bronson <naesten@gmail.com>
16035
16036 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16037
16038 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16039
16040 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16041 breakpoints in files outside current directory (Bug#6098).
16042
16043 2012-01-29 Chong Yidong <cyd@gnu.org>
16044
16045 * progmodes/python.el: Require ansi-color at top-level.
16046
16047 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16048 Define and use in Emacs Lisp mode (Bug#9360).
16049 (lisp-mode-abbrev-table): Add doc.
16050 (lisp-mode-variables): Don't set local-abbrev-table.
16051 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16052
16053 2012-01-28 Roland Winkler <winkler@gnu.org>
16054
16055 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16056
16057 2012-01-28 Roland Winkler <winkler@gnu.org>
16058
16059 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16060 (bibtex-set-dialect): Use it. Either set global values of
16061 dialect-dependent variables or bind these variables buffer-locally
16062 (Bug#10254).
16063 (bibtex-mode): Call bibtex-set-dialect via
16064 hack-local-variables-hook.
16065 (bibtex-dialect): Update docstring.
16066 Add safe-local-variable predicate.
16067 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16068 bibtex-set-dialect.
16069 (bibtex-mode-map): Define menu for each dialect.
16070 (bibtex-entry): Fix docstring.
16071
16072 2012-01-28 Chong Yidong <cyd@gnu.org>
16073
16074 * eshell/esh-arg.el (eshell-quote-argument): New function.
16075
16076 * eshell/esh-ext.el (eshell-invoke-batch-file):
16077 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16078 first arg to eshell-parse-command (Bug#10523).
16079
16080 2012-01-28 Drew Adams <drew.adams@oracle.com>
16081
16082 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16083 `default-directory' is non-nil.
16084
16085 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16086
16087 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16088 line that displays system-configuration-options. (Bug#9924)
16089
16090 2012-01-28 Drew Adams <drew.adams@oracle.com>
16091
16092 * descr-text.el (describe-char): Show information about POS, in
16093 addition to information about the character at POS. Improve and
16094 update the doc string. Change "code point" to "code point in
16095 charset", to avoid confusion with the character's Unicode code
16096 point shown above that. (Bug#10129)
16097
16098 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16099
16100 * descr-text.el (describe-char): Show the raw character, not only
16101 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16102 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16103 for the reasons.
16104
16105 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16106
16107 * emacs-lisp/package.el (package-install):
16108 Run package-refresh-contents if there is no archive yet (Bug#9798).
16109
16110 2012-01-28 Chong Yidong <cyd@gnu.org>
16111
16112 * emacs-lisp/package.el (package-maybe-load-descriptor):
16113 New function, split from package-maybe-load-descriptor.
16114 (package-maybe-load-descriptor): Use it.
16115 (package-download-transaction): Fully load required packages
16116 inside the loop, so that `require' calls work (Bug#10593).
16117 (package-install): No need to call package-initialize now.
16118
16119 2012-01-28 Chong Yidong <cyd@gnu.org>
16120
16121 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16122
16123 * tooltip.el (tooltip-mode): Doc fix.
16124 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16125
16126 * frame.el (set-cursor-color): Doc fix (Bug#352).
16127
16128 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16129 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16130
16131 * cus-edit.el (custom-buffer-create-internal): Fix search button
16132 action (Bug#10542).
16133 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16134
16135 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16136
16137 * dired.el (dired-mark-files-regexp):
16138 Include any subdirectory components. (Bug#10445)
16139
16140 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16141
16142 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16143 Handle [host]:port syntax. (Bug#10533)
16144
16145 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16146
16147 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16148
16149 2012-01-26 Glenn Morris <rgm@gnu.org>
16150
16151 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16152 * term.el (term-raw-escape-map): Use Control-X-prefix.
16153 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16154
16155 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16156
16157 * window.el (window-state-get, window--state-get-1): Don't deal
16158 with fixed-sizeness of windows. Simplify code.
16159
16160 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16161
16162 * window.el (window--state-get-1, window--state-put-2):
16163 Don't save and restore the mark.
16164
16165 2012-01-25 Chong Yidong <cyd@gnu.org>
16166
16167 * custom.el (custom-variable-p): Doc fix.
16168
16169 2012-01-25 Glenn Morris <rgm@gnu.org>
16170
16171 * dired.el (dired-goto-file): Handle some of the more common
16172 characters that `ls -b' escapes. (Bug#10596)
16173
16174 * progmodes/compile.el (compilation-next-error-function):
16175 Respect compilation-first-column in the "*compilation*" buffer.
16176 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16177
16178 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16179
16180 2012-01-24 Glenn Morris <rgm@gnu.org>
16181
16182 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16183
16184 2012-01-24 Julien Danjou <julien@danjou.info>
16185
16186 * color.el (color-rgb-to-hsl): Fix value computing.
16187 (color-hue-to-rgb): New function.
16188 (color-hsl-to-rgb): New function.
16189 (color-clamp, color-saturate-hsl, color-saturate-name)
16190 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16191 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16192
16193 2012-01-24 Glenn Morris <rgm@gnu.org>
16194
16195 * vc/vc-rcs.el (vc-rcs-create-tag):
16196 * vc/vc-sccs.el (vc-sccs-create-tag):
16197 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16198
16199 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16200
16201 * eshell/esh-util.el (eshell-read-hosts-file):
16202 Skip comment lines. (Bug#10549)
16203
16204 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16205
16206 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16207
16208 * subr.el (display-delayed-warnings): Doc fix.
16209 (collapse-delayed-warnings): New function to collapse identical
16210 adjacent warnings.
16211 (delayed-warnings-hook): Add it.
16212
16213 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16214
16215 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16216
16217 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16218 (tramp-default-user-alist): Don't add "pscp".
16219 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16220 property "login-as", if set. (Bug#10530)
16221
16222 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16223
16224 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16225 "plink1" and "psftp". (Bug#10530)
16226
16227 2012-01-21 Kenichi Handa <handa@m17n.org>
16228
16229 * international/mule-cmds.el (prefer-coding-system): Show a
16230 warning message if the default value of file-name-coding-system
16231 was not changed.
16232
16233 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16234
16235 * windmove.el (windmove-reference-loc):
16236 Fix windmove-reference-loc miscalculation.
16237
16238 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16239
16240 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16241 default unit.
16242
16243 2012-01-21 Glenn Morris <rgm@gnu.org>
16244
16245 * international/mule.el (auto-coding-alist): Add .tbz.
16246
16247 * files.el (local-enable-local-variables): Doc fix.
16248 (inhibit-local-variables-regexps): Rename from
16249 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16250 Doc fix. Add some extensions from auto-coding-alist.
16251 (inhibit-local-variables-suffixes):
16252 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16253 (inhibit-local-variables-p):
16254 New function, extracted from set-auto-mode-1.
16255 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16256 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16257 (hack-local-variables): Doc fix. Make the mode-only case
16258 respect enable-local-variables and friends.
16259 Respect inhibit-local-variables-regexps for file-locals, but
16260 not for directory-locals.
16261 (set-visited-file-name):
16262 Take account of inhibit-local-variables-regexps.
16263 Whether it applies may change as the file name is changed.
16264 * jka-cmpr-hook.el (jka-compr-install):
16265 * jka-compr.el (jka-compr-uninstall):
16266 Update for inhibit-first-line-modes-suffixes name change.
16267
16268 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16269
16270 * help-macro.el (make-help-screen): Temporarily restore original
16271 binding for minor-mode-map-alist (Bug#10454).
16272
16273 2012-01-19 Julien Danjou <julien@danjou.info>
16274
16275 * color.el (color-name-to-rgb): Use the white color to find the max
16276 color component value and return correctly computed values.
16277 (color-name-to-rgb): Add missing float conversion for max value.
16278
16279 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16280
16281 * window.el (window--state-get-1, window-state-get): Do not use
16282 special state value for window-persistent-parameters.
16283 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16284 (window--state-put-2): Reset all window parameters to nil before
16285 assigning values of persistent parameters.
16286
16287 2012-01-18 Alan Mackenzie <acm@muc.de>
16288
16289 Eliminate sluggishness and hangs in fontification of "semicolon
16290 deserts".
16291
16292 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16293 Change value 10000 -> 3000.
16294 (c-state-safe-place): Reformulate so it doesn't stack up an
16295 infinite number of wrong entries in c-state-nonlit-pos-cache.
16296 (c-determine-limit-get-base, c-determine-limit): New functions to
16297 determine backward search limits disregarding literals.
16298 (c-find-decl-spots): Amend commenting.
16299 (c-cheap-inside-bracelist-p): New function which detects "={".
16300
16301 * progmodes/cc-fonts.el
16302 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16303 backward search.
16304 (c-font-lock-declarations): Fix an occurrence of point being
16305 undefined. Check additionally for point being in a bracelist or
16306 near a macro invocation without a semicolon so as to avoid a
16307 fruitless time consuming search for a declarator. Give a more
16308 precise search limit for declarators using the new
16309 c-determine-limit.
16310
16311 2012-01-18 Glenn Morris <rgm@gnu.org>
16312
16313 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16314 (set-auto-mode): Doc fixes.
16315
16316 2012-01-17 Glenn Morris <rgm@gnu.org>
16317
16318 * isearch.el (search-nonincremental-instead): Fix doc typo.
16319
16320 * dired.el (dired-insert-directory): Handle newlines in directory name.
16321 (dired-build-subdir-alist): Unescape newlines in directory name.
16322
16323 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16324
16325 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16326 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16327 (tramp-action-terminal): Use it. (Bug#10530)
16328
16329 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16332
16333 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16334
16335 * window.el (window-state-ignored-parameters): Remove variable.
16336 (window--state-get-1): Rename argument MARKERS to IGNORE.
16337 Handle persistent window parameters. Make copy of clone-of
16338 parameter only if requested. (Bug#10348)
16339 (window--state-put-2): Install a window parameter only if it has
16340 a non-nil value or an existing parameter shall be overwritten.
16341
16342 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16343
16344 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16345
16346 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16347
16348 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16349 don't pass the (nil) value of `upnode' to string-match.
16350
16351 2012-01-14 Chong Yidong <cyd@gnu.org>
16352
16353 * startup.el (command-line): Fix X resource class for cursorColor.
16354 Fix values recognized by the cursorBlink resource.
16355
16356 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16357
16358 * epg.el (epg--make-temp-file): Avoid permission race condition
16359 when running on old Emacs versions (bug#10403).
16360
16361 2012-01-14 Glenn Morris <rgm@gnu.org>
16362
16363 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16364
16365 2012-01-13 Alan Mackenzie <acm@muc.de>
16366
16367 Fix filling for when filladapt mode is enabled.
16368
16369 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16370 c-mask-paragraph, pass in `fill-paragraph' rather than
16371 `fill-region-as-paragraph'. (This is a reversion of a previous
16372 change.)
16373 * progmodes/cc-mode.el (c-basic-common-init):
16374 Make fill-paragraph-handle-comment buffer local and set it to nil.
16375
16376 2012-01-13 Glenn Morris <rgm@gnu.org>
16377
16378 * dired.el (dired-switches-escape-p): New function.
16379 (dired-insert-directory): Use dired-switches-escape-p.
16380 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16381
16382 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16383
16384 2012-01-12 Glenn Morris <rgm@gnu.org>
16385
16386 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16387 changes in adaptive-fill-regexp. (Bug#10276)
16388
16389 2012-01-11 Alan Mackenzie <acm@muc.de>
16390
16391 Fix Emacs bug #10463 - put `widen's around the critical spots.
16392
16393 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16394 widen around each invocation of c-state-pp-to-literal. Remove an
16395 unused let variable.
16396
16397 2012-01-11 Glenn Morris <rgm@gnu.org>
16398
16399 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16400 Doc fix.
16401
16402 2012-01-10 Chong Yidong <cyd@gnu.org>
16403
16404 * net/network-stream.el (network-stream-open-starttls):
16405 Avoid emitting a confusing error message when the server gives a bad
16406 response to the capability command.
16407
16408 2012-01-10 Glenn Morris <rgm@gnu.org>
16409
16410 * mail/unrmail.el (unrmail): Tweak previous change.
16411
16412 2012-01-09 Chong Yidong <cyd@gnu.org>
16413
16414 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16415
16416 2012-01-08 Alan Mackenzie <acm@muc.de>
16417
16418 Optimize font locking in long enum definitions.
16419
16420 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16421 arm to a cond form to handle enums.
16422 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16423 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16424
16425 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16426
16427 * files.el (move-file-to-trash): Preserve default file modes on error.
16428 (Bug#10401)
16429
16430 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16431
16432 * faces.el (set-face-attribute): Clarify the meaning of the nil
16433 frame (bug#10294).
16434
16435 * subr.el (with-selected-frame): Mention that the selected frame
16436 is restored (bug#9980).
16437
16438 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16439 (bug#9759).
16440
16441 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16442 (password-read): Don't autoload unused function.
16443
16444 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16445
16446 * progmodes/which-func.el (which-func-mode): Turn into a
16447 non-interactive function and mark as obsolete (bug#10428).
16448
16449 2012-01-06 Chong Yidong <cyd@gnu.org>
16450
16451 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16452 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16453 functions, along with 1 and -1.
16454
16455 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16456
16457 * time.el (display-time-load-average)
16458 (display-time-default-load-average): Doc fixes. See the thread
16459 starting at
16460 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16461 for the details.
16462
16463 2012-01-06 Glenn Morris <rgm@gnu.org>
16464
16465 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16466 has no messages. (Bug#10377)
16467
16468 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16469 than Info-edit. (Bug#10385)
16470
16471 * time.el (display-time-load-average, display-time-next-load-average):
16472 Doc fixes.
16473
16474 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16475 local setting of buffer-read-only to the input buffer. (Bug#10419)
16476
16477 * calendar/calendar.el (calendar-mode):
16478 Locally set scroll-margin to 0. (Bug#10379)
16479
16480 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16481
16482 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16483
16484 2012-01-05 Glenn Morris <rgm@gnu.org>
16485
16486 * eshell/em-unix.el (diff-no-select): Autoload it.
16487 (eshell/diff): Use diff-no-select. (Bug#10420)
16488
16489 2012-01-05 Chong Yidong <cyd@gnu.org>
16490
16491 * shell.el (shell-dynamic-complete-functions): Revert last change.
16492 (shell-command-completion-function): New function.
16493 (shell-completion-vars): Use it to implement
16494 shell-completion-execonly (Bug#10417).
16495
16496 * custom.el (enable-theme): Don't set custom-safe-themes.
16497
16498 * cus-theme.el (custom-theme-merge-theme):
16499 Ignore custom-enabled-themes and custom-safe-themes.
16500
16501 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16502
16503 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16504 first prompt in `sql-interacive-mode'.
16505 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16506 keywords.
16507 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16508 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16509 context of original buffer. Invoke `sql-login-hook'.
16510
16511 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16512
16513 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16514 letters in cite-prefix.
16515
16516 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517
16518 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16519
16520 2012-01-03 Chong Yidong <cyd@gnu.org>
16521
16522 * shell.el (shell-dynamic-complete-functions):
16523 Put pcomplete-completions-at-point, so as to try
16524 comint-filename-completion first (Bug#10417).
16525
16526 2012-01-02 Richard Stallman <rms@gnu.org>
16527
16528 * battery.el (battery-status-function):
16529 Detect when to use battery-yeeloong-sysfs.
16530 (battery-echo-area-format): Add string for Yeeloong.
16531 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16532 (battery-yeeloong-sysfs): New function.
16533
16534 2012-01-02 Chong Yidong <cyd@gnu.org>
16535
16536 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16537 (dirtrack): Merge code for handling relative filenames in prompt
16538 from shell-dir-cookie-watcher.
16539 (dirtrack-debug-message): New arg to avoid excess format calls.
16540
16541 * shell.el (shell-dir-cookie-re): Variable deleted.
16542 (shell-dir-cookie-watcher): Function deleted.
16543 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16544 with dirtrack-mode.
16545
16546 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16547
16548 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16549 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16550 libgnutls-26.dll.
16551
16552 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16553
16554 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16555
16556 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16557
16558 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16559 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16560
16561 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16562
16563 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16564 also for alternative shells.
16565 (tramp-open-connection-setup-interactive-shell): Check, whether
16566 the shell is a busybox.
16567 (tramp-send-command): Don't suppress multiple prompts for
16568 busyboxes, it hurts.
16569
16570 2011-12-28 Chong Yidong <cyd@gnu.org>
16571
16572 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16573 (gdb-get-source-file): Move mode line update to
16574 gdb-get-source-file (Bug#10087).
16575
16576 2011-12-25 Chong Yidong <cyd@gnu.org>
16577
16578 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16579 gud-gdb-marker-filter without taking it as an argument.
16580 (gud-gdb-run-command-fetch-lines): Caller changed.
16581 (gud-gdb-completion-function): New variable.
16582 (gud-gdb-completion-at-point): Use it.
16583 (gud-gdb-completions-1): Split from gud-gdb-completions.
16584
16585 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16586 function as separate arguments.
16587 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16588 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16589 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16590 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16591 (gdb-stopped, def-gdb-auto-update-trigger)
16592 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16593 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16594 Callers changed.
16595 (gud-gdbmi-completions): New function.
16596 (gdb): Use it for generating the completion table.
16597
16598 2011-12-24 Alan Mackenzie <acm@muc.de>
16599
16600 Introduce a mechanism to widen the region used in context font
16601 locking. Use this to protect declarations from losing their contexts.
16602
16603 * progmodes/cc-langs.el (c-before-font-lock-functions):
16604 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16605 (c-before-context-fontification-functions): New defvar, a list of
16606 functions to be run just before context (etc.) font locking.
16607
16608 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16609 New, functionality extracted from
16610 c-neutralize-syntax-in-and-mark-CPP.
16611 (c-in-after-change-fontification): New variable.
16612 (c-after-change): Set c-in-after-change-fontification.
16613 (c-set-fl-decl-start): Rejig its interface, so it can be called
16614 from both after-change and context fontifying.
16615 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16616 New functions.
16617 (c-standard-font-lock-fontify-region-function): New variable.
16618 (c-font-lock-fontify-region): New function.
16619
16620 2011-12-24 Juri Linkov <juri@jurta.org>
16621
16622 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16623 (Bug#10348)
16624
16625 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16626
16627 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16628 existence of source file. (Bug#10325)
16629
16630 2011-12-23 Alan Mackenzie <acm@muc.de>
16631
16632 Fix unstable fontification inside templates.
16633
16634 * progmodes/cc-langs.el (c-before-font-lock-functions):
16635 Newly created from the singular version. The (c c++ objc) entry now
16636 additionally has c-set-fl-decl-start. The other languages (apart
16637 from AWK) have that as a single entry.
16638
16639 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16640 The functionality for "local" declarations has been extracted to
16641 c-set-fl-decl-start.
16642
16643 * progmodes/cc-mode.el (c-common-init, c-after-change):
16644 Changes due to pluralisation of c-before-font-lock-functions.
16645 (c-set-fl-decl-start): New function, extracted from
16646 c-font-lock-enclosing-decls and enhanced.
16647
16648 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16649
16650 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16651
16652 2011-12-22 Juri Linkov <juri@jurta.org>
16653
16654 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16655
16656 2011-12-22 Chong Yidong <cyd@gnu.org>
16657
16658 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16659
16660 2011-12-21 Drew Adams <drew.adams@oracle.com>
16661
16662 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16663
16664 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16665
16666 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16667
16668 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16669
16670 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16671 highlighting and support. Fix up comments for capitalization.
16672 (cfengine-mode-debug): New var.
16673 (cfengine3-mode): Change the modeline indicator to "CFE3".
16674 (cfengine3-font-lock-keywords): Improve defun highlighting.
16675 (cfengine2-actions): Rename from `cfengine-actions'.
16676 (cfengine2-font-lock-keywords): Rename from
16677 `cfengine-font-lock-keywords'.
16678 (cfengine2-imenu-expression): Rename from
16679 `cfengine-imenu-expression'.
16680 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16681 (cfengine2-beginning-of-defun): Rename from
16682 `cfengine-beginning-of-defun'.
16683 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16684 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16685 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16686 modeline indicator to "CFE2".
16687 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16688 (cfengine-mode-abbrevs): Mark obsolete.
16689
16690 2011-12-21 Chong Yidong <cyd@gnu.org>
16691
16692 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16693 filename argument.
16694
16695 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16696
16697 * window.el (window-normalize-buffer-to-display): Remove.
16698 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16699
16700 2011-12-19 Chong Yidong <cyd@gnu.org>
16701
16702 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16703 Don't signal an error in a predicate function; return non-nil.
16704 (vc-dir-mark-file): Move the error here.
16705 (vc-dir-mark-unmark): If acting on the region, keep going if one
16706 of the entries cannot be marked/unmarked.
16707 (vc-dir-mark-all-files): If current entry is a directory, mark
16708 only child files, as documented.
16709
16710 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16711
16712 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16713 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16714 addition.
16715
16716 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16717
16718 * term/ns-win.el (ns-get-selection-internal)
16719 (ns-store-selection-internal): Declare.
16720 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16721 Declare as obsolete.
16722 (ns-get-pasteboard, ns-paste-secondary):
16723 Use ns-get-selection-internal.
16724 (ns-set-pasteboard, ns-copy-including-secondary):
16725 Use ns-store-selection-internal.
16726
16727 2011-12-17 Chong Yidong <cyd@gnu.org>
16728
16729 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16730 (vc-deduce-fileset): Doc fix.
16731
16732 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16733
16734 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16735
16736 2011-12-13 Sam Steingold <sds@gnu.org>
16737
16738 * man.el (Man-getpage-in-background): When running under a
16739 window-system, ignore $MANWIDTH and $COLUMNS.
16740
16741 2011-12-15 Kenichi Handa <handa@m17n.org>
16742
16743 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16744 (setup-ethiopic-environment-internal): Comment out key-binding for
16745 ethio-toggle-punctuation.
16746
16747 2011-12-13 Alan Mackenzie <acm@muc.de>
16748
16749 Add the switch statement to AWK Mode.
16750
16751 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16752 "default" to the keywords regexp.
16753
16754 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16755 expression as the rest.
16756 (c-nonlabel-token-key): Allow string literals for AWK.
16757 Refactor for the other modes.
16758
16759 Large brace-block initialisation makes CC Mode slow: Fix.
16760 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16761 routines. Limit backward searching in c-font-lock-enclosing.decl.
16762
16763 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16764 pp-state and literal type in addition to the limits.
16765 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16766 (c-state-literal-at): Use the above new defun.
16767 (c-slow-in-literal, c-fast-in-literal): Remove.
16768 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16769
16770 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16771 being in a literal. Add a limit for backward searching.
16772
16773 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16774 c-slow-in-literal.
16775
16776 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16777
16778 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16779
16780 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16781
16782 * window.el (delete-other-windows): Use correct frame in call to
16783 window-with-parameter.
16784
16785 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16786
16787 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16788 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16789 (makefile-gmake-statements, makefile-makepp-statements):
16790 Use it and add new makepp keywords.
16791 (makefile-makepp-font-lock-keywords): Add new patterns.
16792 (makefile-match-function-end): Match new [...] and [[...]].
16793
16794 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16795
16796 * ses.el (ses-call-printer-return, ses-cell-property-get)
16797 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16798 (ses-create-cell-variable, ses-reset-header-string)
16799 (ses-cell-set-formula, ses-repair-cell-reference-all)
16800 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16801 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16802 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16803 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16804 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16805 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16806 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16807 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16808 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16809 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16810 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16811 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16812
16813 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16814
16815 * ses.el: The overall change is to add cell renaming, that is
16816 setting fancy names for cell symbols other than name matching
16817 "\\`[A-Z]+[0-9]+\\'" regexp .
16818 (ses-create-cell-variable): New defun.
16819 (ses-relocate-formula): Relocate formulas only for cells the
16820 symbols of which are not renamed, i.e. symbols whose names do not
16821 match regexp "\\`[A-Z]+[0-9]+\\'".
16822 (ses-relocate-all): Relocate values only for cells the symbols of
16823 which are not renamed.
16824 (ses-load): Create cells variables as the (ses-cell ...) are read,
16825 in order to check row col consistency with cell symbol name only
16826 for cells that are not renamed.
16827 (ses-replace-name-in-formula): New defun.
16828 (ses-rename-cell): New defun.
16829
16830 2011-12-11 Chong Yidong <cyd@gnu.org>
16831
16832 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16833 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16834
16835 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16836
16837 * window.el (other-window): Fix docstring.
16838
16839 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16840
16841 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16842 `from' or `to' address before taking its substring.
16843 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16844 encoded name is chopped in the middle of the encoded string, and
16845 thus displayed encoded.
16846
16847 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16848
16849 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16850
16851 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16852
16853 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16854 to use texinfo-update-node and commands that call it if the
16855 Texinfo file uses @node lines without next/prev/up pointers.
16856 Correct outdated description about texinfo-master-menu.
16857 (texinfo-all-menus-update, texinfo-master-menu)
16858 (texinfo-update-node, texinfo-every-node-update)
16859 (texinfo-multiple-files-update): Doc fix. Warn against updating
16860 all the @node lines.
16861 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16862 argument is numeric. Explain better in the doc string what the
16863 function really does.
16864 (texinfo-insert-master-menu-list): Improve the error message
16865 displayed if there's no menu in the Top node.
16866 (Bug#2975) See also this thread:
16867 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16868
16869 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16870
16871 * speedbar.el (speedbar-supported-extension-expressions):
16872 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16873
16874 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16875
16876 * printing.el (pr-mode-alist):
16877 * simple.el (filter-buffer-substring-functions)
16878 (completion-list-insert-choice-function):
16879 * window.el (window-with-parameter, window-atom-root)
16880 (window-sides-slots, window-size-fixed, window-min-delta)
16881 (window-max-delta, window--resize-mini-window)
16882 (window--resize-child-windows-normal, window-tree)
16883 (delete-other-windows, quit-window, split-window)
16884 (display-buffer-record-window, special-display-buffer-names)
16885 (special-display-regexps, special-display-popup-frame)
16886 (same-window-p, split-window-sensibly)
16887 (display-buffer-overriding-action, display-buffer-alist)
16888 (display-buffer-base-action, display-buffer, switch-to-buffer)
16889 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16890 (fit-window-to-buffer, recenter-positions)
16891 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16892 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16893 and remove unneeded backslashes in docstrings.
16894
16895 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16896
16897 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16898
16899 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16900 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16901 end in ".mk".
16902 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16903 when reading the makefile (bug#10116).
16904
16905 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16908 (bug#10116).
16909
16910 2011-12-06 Glenn Morris <rgm@gnu.org>
16911
16912 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16913
16914 2011-12-06 Chong Yidong <cyd@gnu.org>
16915
16916 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16917
16918 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16919
16920 * textmodes/table.el (table-shorten-cell): Fix typo.
16921
16922 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16923
16924 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16925
16926 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16927
16928 * descr-text.el (describe-char): Fix display of strong
16929 right-to-left characters and directional embeddings and overrides.
16930
16931 * simple.el (what-cursor-position): Fix display of codepoints of
16932 strong right-to-left characters.
16933
16934 2011-12-05 Chong Yidong <cyd@gnu.org>
16935
16936 * faces.el (read-color): Doc fix.
16937
16938 2011-12-05 Glenn Morris <rgm@gnu.org>
16939
16940 * align.el (align--set-marker): Add doc-string.
16941 Don't try to move something that is not a marker. (Bug#10216)
16942
16943 2011-12-04 Glenn Morris <rgm@gnu.org>
16944
16945 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16946 overly zealous deletion of trailing whitespace.
16947
16948 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16949
16950 * server.el (server-delete-client): On Windows, do not try to delete
16951 the only terminal.
16952 (server-process-filter): On Windows, treat requests for a tty frame as
16953 if they were for a GUI frame if the running server is in GUI mode.
16954
16955 2011-12-03 Glenn Morris <rgm@gnu.org>
16956
16957 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16958
16959 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * electric.el: Streamline electric-indent's hook.
16962 (electric-indent-chars): Revert to simple list.
16963 (electric-indent-functions): New var.
16964 (electric-indent-post-self-insert-function): Use it.
16965
16966 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16967 there's no inferior buffer (bug#10196).
16968 (prolog-consult-compile): Don't use toggle-read-only.
16969
16970 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16971
16972 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16973 interrupt. (Bug#10187)
16974
16975 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16976
16977 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16978 (bug#9160).
16979
16980 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16981 (bug#10191).
16982
16983 2011-12-02 Juri Linkov <juri@jurta.org>
16984
16985 * info.el (Info-search): Display "end of manual" when Isearch
16986 reaches the end of single-file Info manual. (Bug#9918)
16987
16988 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16989
16990 * isearch.el (isearch-message-prefix): Run the input method part
16991 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16992
16993 2011-12-02 Juri Linkov <juri@jurta.org>
16994
16995 * isearch.el (isearch-occur): Use `word-search-regexp' for
16996 `isearch-word'.
16997 (isearch-search-and-update): Add condition for `isearch-word' and
16998 call `word-search-regexp'. (Bug#10145)
16999
17000 2011-12-01 Glenn Morris <rgm@gnu.org>
17001
17002 * eshell/em-hist.el (eshell-hist-initialize):
17003 Handle eshell-history-size nil and HISTSIZE set or unset.
17004 (eshell-history-file-name, eshell-history-size): Fix custom type.
17005
17006 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17007
17008 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17009
17010 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17011
17012 * progmodes/verilog-mode.el (verilog-pretty-expr):
17013 Rework verilog-pretty-expr to handle new assignment operators in system
17014 verilog, such as += *= and the like.
17015 (verilog-assignment-operator-re): Regular expression to find the
17016 assigment operator in a verilog assignment.
17017 (verilog-assignment-operation-re): Regular expression to find an
17018 assignment statement for pretty-expr.
17019 (verilog-in-attribute-p): Query returns true if point is in an
17020 attribute context; used to skip these for expression line up from
17021 pretty-expr.
17022 (verilog-in-parameter-p): Query returns true if point is in an
17023 parameter definition context; used to skip these for expression
17024 line up from pretty-expr.
17025 (verilog-in-parenthesis-p): Query returns true if point is in a
17026 parenthetical expression, specifically ( ) but not [ ] or { };
17027 used by pretty-expr.
17028 (verilog-just-one-space): If there is no space, don't add one.
17029 (verilog-get-lineup-indent-2): Specifically skip just attribute
17030 contexts for expression lineup, rather than skipping all
17031 parenthetical expressions.
17032 (verilog-calculate-indent): Fix comment, and fix indent.
17033 (verilog-do-indent): Indent declarations in lists (suggested by
17034 Joachim Lechner).
17035 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17036 skeleton items.
17037 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17038 by Alain Mellan).
17039
17040 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17041
17042 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17043 parameters with embedded comments. Reported by Ray Stevens.
17044 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17045 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17046 Reported by Tim Holt.
17047 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17048 instantiated by upper module causing wrong expansion until AUTOed a
17049 second time. Reported by K C Buckenmaier.
17050 (verilog-diff-auto): Fix showing .* as a difference when
17051 `verilog-auto-star-save' off. Reported by Dan Dever.
17052 (verilog-auto-reset, verilog-read-always-signals)
17053 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17054 temporary signals in reset list if
17055 verilog-auto-reset-blocking-in-non is nil, and match assignment
17056 style to each signal's assignment type, bug381.
17057 Reported by Thomas Esposito.
17058 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17059 (verilog-uvm-statement-re): Support UVM indentation and
17060 highlighting, with old OVM keywords only.
17061 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17062 Support AUTOTIEOFF creating non-wire data types.
17063 Suggested by Jonathan Greenlaw.
17064 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17065 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17066 (verilog-inject-sense, verilog-read-inst-pins)
17067 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17068 Fix mismatching parenthesis inside commented out code when deleting
17069 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17070 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17071 non-numeric vector width. Reported by Alex Reed.
17072 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17073 detecting signals with parameter widths. Reported by Alex Reed.
17074 (verilog-auto-delete-trailing-whitespace):
17075 With `verilog-auto-delete-trailing-whitespace' remove trailing
17076 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17077 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17078 Fix verilog-scan-cache corruption when running user AUTO expansion
17079 hooks that call indentation routines.
17080 (verilog-simplify-range-expression): Fix typo ignoring lower case
17081 identifiers.
17082 (verilog-delete-auto): Fix delete-autos to also remove user created
17083 automatics, as long as they start with AUTO.
17084 (verilog-batch-diff-auto, verilog-diff-auto)
17085 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17086 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17087 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17088 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17089 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17090 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17091 is disabled and its cache will get corrupt, causing AUTOS not to
17092 expand. Instead use only -quick functions.
17093 (verilog-scan-region): Fix scanning over escaped quotes.
17094 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17095 (verilog-re-search-backward-quick)
17096 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17097 related functions now ignore strings, to fix misparsing of strings
17098 with magic comments embedded in them.
17099 (verilog-read-auto-template):
17100 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17101 Reported by Brad Dobbie.
17102 (verilog-read-auto-template):
17103 Fix 'verilog-auto-inst-template-numbers' with comments.
17104 Reported by Brad Dobbie.
17105 (verilog-auto-inst, verilog-auto-inst-param)
17106 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17107 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17108 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17109 debugging templates without merge conflicts, bug357.
17110 Reported by Brad Dobbie.
17111 (verilog-read-auto-template):
17112 Fix verilog-auto-inst-template-numbers with multiple templates.
17113 Reported by Brad Dobbie.
17114 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17115 abbrevs so user won't be asked to save.
17116 (verilog-read-auto-lisp-present): Fix to start at beginning of
17117 buffer in case called outside of verilog-auto.
17118 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17119 to "X-2". Reported by Matthew Myers.
17120 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17121 all inputs from module templates. Reported by Leith Johnson.
17122 (verilog-module-inside-filename-p): Fix locating programs as with
17123 modules.
17124 (verilog-auto-inst-port): Fix vl-width expressions when using
17125 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17126 (verilog-decls-get-regs, verilog-decls-get-signals,
17127 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17128 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17129 verilog-read-decls): Combine reg and wire structures into one var
17130 structure to represent SystemVerilog concepts.
17131 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17132 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17133 (verilog-auto-wire-type, verilog-insert-definition):
17134 Add verilog-auto-wire-type and AUTOLOGIC to support using
17135 SystemVerilog "logic" keyword instead of "wire"/"reg".
17136 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17137 to declares outputs that also have assignments (presumably in an
17138 ifdef or generate if so there's not a driver conflict).
17139 Reported by Matthew Myers.
17140 (verilog-auto-declare-nettype, verilog-insert-definition):
17141 Add verilog-auto-declare-nettype to fix declarations using
17142 `default_nettype none. Reported by Julian Gorfajn.
17143 (verilog-read-always-signals-recurse, verilog-read-decls)
17144 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17145 malformed end statement, bug325. Reported by Joshua Wise and
17146 Andrew Drake.
17147 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17148 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17149 when expanding .* in interfaces, bug320.
17150 Reported by Pierre-David Pfister.
17151 (verilog-read-module-name): Fix import statements between module
17152 name and open parenthesis, bug317.
17153 Reported by Pierre-David Pfister.
17154 (verilog-simplify-range-expression): Fix simplification of
17155 multiplications inside AUTOWIRE connections, bug303.
17156 (verilog-auto-inst-port): Support parameter expansion in
17157 multidimensional arrays.
17158 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17159 after "assert property". Reported by Julian Gorfajn.
17160 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17161 with multiplication, bug303.
17162 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17163 Reported by Jan Frode Lonnum.
17164
17165 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17166
17167 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17168 (hfy-shell-file-name, hfy-shell):
17169 * international/fontset.el (x-decompose-font-name): Fix typos.
17170
17171 2011-11-29 Ken Brown <kbrown@cornell.edu>
17172
17173 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17174 (gdb-version): Remove defvar.
17175 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17176 (gdb-gud-context-command, gdb-non-stop-handler)
17177 (gdb-current-context-command, gdb-stopped): Use it.
17178 (gdb-init-1): Enable pretty printing here.
17179 (gdb-non-stop-handler): Don't enable pretty-printing here.
17180 Check to see if the target supports non-stop mode; if not, turn off
17181 non-stop mode. Use the following.
17182 (gdb-check-target-async): New defun.
17183 (gud-watch, gdb-stopped): Fix whitespace.
17184 (gdb-get-source-file): Don't try to display the source file if
17185 `gdb-main-file' is nil.
17186
17187 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17188
17189 * align.el: Try to generate fewer markers (bug#10047).
17190 (align--set-marker): New macro.
17191 (align-region): Use it.
17192
17193 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17194
17195 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17196
17197 2011-11-29 Chong Yidong <cyd@gnu.org>
17198
17199 * indent.el (indent-for-tab-command, indent-according-to-mode):
17200 Doc fix.
17201 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17202
17203 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17204
17205 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17206 aware of remote file names. (Bug#10124)
17207
17208 2011-11-29 Chong Yidong <cyd@gnu.org>
17209
17210 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17211
17212 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17213
17214 * files.el (find-file): Don't use force-same-window (bug#10144).
17215 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17216 use pop-to-buffer if the selected window can't be used.
17217 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17218
17219 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17220
17221 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17222 special-mode-map.
17223
17224 2011-11-28 Chong Yidong <cyd@gnu.org>
17225
17226 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17227
17228 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17229
17230 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17231 gdb-get-source-file-list on gdb-create-source-file-list.
17232
17233 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17234
17235 * whitespace.el (whitespace-newline): Use a different foreground
17236 color for 16-color light-background displays.
17237
17238 2011-11-24 Chong Yidong <cyd@gnu.org>
17239
17240 * window.el (display-buffer--special-action): Doc fix.
17241
17242 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17243
17244 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17245 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17246 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17247 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17248 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17249 (avl-tree-stack-first):
17250 * emacs-lisp/cconv.el (cconv--analyse-use):
17251 * net/gnutls.el (gnutls-negotiate): Fix typos.
17252
17253 2011-11-24 Glenn Morris <rgm@gnu.org>
17254
17255 * lpr.el (lpr-windows-system, lpr-lp-system):
17256 * mail/binhex.el (binhex-begin-line):
17257 * progmodes/grep.el (grep-history, grep-find-history):
17258 * textmodes/flyspell.el:
17259 * vc/pcvs-defs.el (cvs-global-menu):
17260 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17261 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17262 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17263
17264 * net/tls.el: Fix case of "GnuTLS".
17265
17266 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17267
17268 * version.el (emacs-build-system): Give it a doc-string.
17269
17270 2011-11-24 Juri Linkov <juri@jurta.org>
17271
17272 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17273
17274 2011-11-24 Glenn Morris <rgm@gnu.org>
17275
17276 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17277 if called on a non-mime message just toggle the headers. (Bug#8006)
17278
17279 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17280
17281 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17282 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17283 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17284 (allout-rebullet-heading, allout-open-sibtopic)
17285 (allout-toggle-current-subtree-encryption)
17286 (allout-toggle-subtree-encryption, allout-encrypt-string)
17287 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17288 (allout-distinctive-bullets-string, allout-auto-activation):
17289 * window.el (window-normalize-buffer-to-display):
17290 * progmodes/verilog-mode.el (verilog-batch-indent):
17291 * textmodes/bibtex.el (bibtex-field-braces-opt)
17292 (bibtex-field-strings-opt):
17293 * vc/cvs-status.el (cvs-tree-merge):
17294 Fix typos.
17295
17296 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17297
17298 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17299 `non-essential' to t, in order to avoid remote connections.
17300
17301 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17302
17303 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17304 On MS-DOS and MS-Windows, compare with loaddefs.el
17305 case-insensitively.
17306
17307 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17308
17309 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17310
17311 2011-11-23 Glenn Morris <rgm@gnu.org>
17312
17313 * paths.el (rmail-file-name): Reformat the doc-string so that it
17314 is picked up.
17315
17316 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17317 (rmail-auto-file): Ignore case in the "special" field names,
17318 as mail-fetch-field does for all others.
17319
17320 * mail/rmail.el (rmail-forward):
17321 * mail/rmailkwd.el (rmail-set-label):
17322 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17323 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17324
17325 * mail/rmail.el (rmail-current-message): Doc fix.
17326
17327 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17328
17329 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17330
17331 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17332
17333 2011-11-22 Glenn Morris <rgm@gnu.org>
17334
17335 * mail/rmailmm.el (test-rmail-mime-handler)
17336 (test-rmail-mime-bulk-handler)
17337 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17338
17339 2011-11-21 Juri Linkov <juri@jurta.org>
17340
17341 * calc/calc.el (calc-read-key-sequence):
17342 Let-bind `input-method-function' to nil. (Bug#10018)
17343
17344 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17345
17346 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17347 Tell the caller that the next line needs recomputation, even
17348 though it doesn't start a sexp (bug#10094).
17349
17350 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17351
17352 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17353
17354 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17357 Use force-same-window.
17358
17359 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17360
17361 * descr-text.el (describe-char-unicode-data):
17362 * json.el (json-string-escape):
17363 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17364 (Footnote-unicode, Footnote-style-p):
17365 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17366
17367 2011-11-20 Chong Yidong <cyd@gnu.org>
17368
17369 * window.el (replace-buffer-in-windows): Restore interactive spec.
17370
17371 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17372
17373 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17374
17375 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17376 (byte-compile-global-not-obsolete-vars): New var.
17377 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17378 Use it.
17379 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17380
17381 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17382
17383 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17384 * progmodes/pascal.el (electric-pascal-equal):
17385 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17386 * xml.el (xml-substitute-special): Fix typos.
17387
17388 2011-11-20 Glenn Morris <rgm@gnu.org>
17389
17390 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17391 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17392 Doc fixes.
17393 (rmail-decode-mime-charset): Mark as obsolete.
17394
17395 * mail/rmailsum.el (rmail-message-regexp-p-1):
17396 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17397 Before using mime functions, check they are set. (Bug#10077)
17398
17399 2011-11-19 Juri Linkov <juri@jurta.org>
17400
17401 * info.el (Info-finder-find-node): Use `package--builtins' instead
17402 of `package-alist'. Use node names formed by the pattern "Keyword "
17403 and the keyword name.
17404
17405 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17406
17407 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17408
17409 2011-11-19 Juri Linkov <juri@jurta.org>
17410
17411 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17412 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17413 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17414 `old-history', `old-history-forward'. Add let-binding
17415 `window-selected'. Remove calls to `kill-buffer',
17416 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17417 before calling `Info-find-node', so `Info-find-node-2' will reread
17418 the Info file. Restore window positions only when `window-selected'
17419 is non-nil.
17420
17421 2011-11-19 Juri Linkov <juri@jurta.org>
17422
17423 * isearch.el (isearch-lazy-highlight-new-loop):
17424 Remove condition `(not isearch-error)'. (Bug#9918)
17425
17426 * misearch.el (multi-isearch-search-fun): Add condition
17427 `(not bound)' to ignore lazy-highlighting search.
17428 Add the search-failed message "end of multi" when the end of
17429 multi-sequence is reached. Uncapitalize the search-failed
17430 message "Repeat for next buffer".
17431
17432 * info.el (Info-search): Add the search-failed message
17433 "end of the manual" when the end of the manual is reached
17434 in Isearch mode.
17435
17436 2011-11-19 Juri Linkov <juri@jurta.org>
17437
17438 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17439 Use non-destructive `remove' instead of `delete' because
17440 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17441 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17442
17443 2011-11-19 Juri Linkov <juri@jurta.org>
17444
17445 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17446 to nil instead of binding `search-ring' and `regexp-search-ring'.
17447 (Bug#9185)
17448
17449 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17450
17451 * simple.el (line-move): Force movement by logical lines for any
17452 hscrolled window, not only when auto-hscroll-mode is on.
17453 (line-move-visual): Update doc string to that effect. (Bug#10076)
17454
17455 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17456
17457 * language/european.el (macintosh): Define as alias for mac-roman.
17458
17459 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17460
17461 * mail/rmailmm.el (rmail-mime-display-header)
17462 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17463 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17464 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17465 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17466 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17467 of a raw aref.
17468 (rmail-mime-entity-segment): To get past the tagline, move forward
17469 2 more lines, to account for the 2 empty lines that precede and
17470 follow the line with the buttons.
17471 (rmail-mime-update-tagline): Move one more line, to get past the
17472 empty line that follows the buttons in the tagline. (Bug#9520)
17473
17474 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17475
17476 * window.el (window-max-delta-1, window-min-delta-1)
17477 (window-min-size-1, window-state-get-1, window-state-put-1)
17478 (window-state-put-2): Use "window--" prefix.
17479
17480 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17481
17482 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17483 (smie-warning-count): New var.
17484 (smie-set-prec2tab): Use it.
17485 (smie-bnf->prec2): Improve warnings. Add docstring.
17486 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17487 (smie-bnf--set-class): New function.
17488 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17489 corner case.
17490
17491 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17492 (compilation-error-properties, compilation-move-to-column):
17493 Handle compilation-first-column while in the target buffer.
17494
17495 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17496 Don't hardcode point-min==1.
17497
17498 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17499 (eshell-rewrite-for-command): Remove workaround.
17500 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17501 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17502 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17503
17504 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17505
17506 2011-11-17 Glenn Morris <rgm@gnu.org>
17507
17508 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17509 Ignore buffer-local generated-autoload-file if it is the same
17510 as the global value. (Bug#10049)
17511
17512 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17513
17514 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17515 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17516 (reftex-toc-previous-heading, reftex-toc-max-level)
17517 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17518 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17519 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17520 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17521 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17522 (reftex-toc-rename-label, reftex-toc-visit-location)
17523 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17524 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17525 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17526 leaving "*toc*" only for references to the buffer.
17527
17528 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17529
17530 * window.el (window-resize, delete-window, split-window):
17531 Replace window-splits by window-combination-resize.
17532 * cus-start.el (window-splits): Replace by window-combination-resize.
17533
17534 2011-11-17 Glenn Morris <rgm@gnu.org>
17535
17536 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17537 Make bash entry derive from sh entry, not shell entry.
17538
17539 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17540
17541 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17542 local file name.
17543
17544 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17545
17546 * menu-bar.el (menu-bar-file-menu):
17547 * printing.el (pr-ps-utility):
17548 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17549 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17550 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17551 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17552 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17553 (icalendar--convert-cyclic-to-ical)
17554 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17555 (icalendar--convert-ical-to-diary)
17556 (icalendar--convert-recurring-to-diary)
17557 (icalendar--convert-non-recurring-all-day-to-diary)
17558 (icalendar-import-format-sample):
17559 * progmodes/idlw-shell.el (idlwave-shell-mode):
17560 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17561 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17562 (vhdl-ps-print-init): Fix typos.
17563
17564 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17565
17566 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17567 FSF and collapse date sequence, obscure author/maintainer email address
17568 better, remove extra version line, track relocation of author's webpage.
17569
17570 * progmodes/python.el (python-pdbtrack-input-prompt)
17571 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17572 regular python pdb prompts. Adjustments shamelessly taken exactly as
17573 suggested in EmacsWiki page (tiny change):
17574 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17575
17576 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17577
17578 * expand.el (expand-pos, expand-index, expand-point):
17579 Remove redundant info from docstring.
17580 (expand-add-abbrevs): Doc fix.
17581 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17582 (expand-sample-perl-mode-expand-list): Fix typos.
17583
17584 * net/dbus.el (dbus-event-member-name):
17585 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17586 * term/pc-win.el (msdos-create-frame-with-faces):
17587 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17588
17589 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17590
17591 * window.el (split-window, window-state-get-1)
17592 (window-state-put-1, window-state-put-2): Rename occurrences of
17593 window-nest to window-combination-limit.
17594 * cus-start.el (window-nest): Rename to window-combination-limit.
17595
17596 2011-11-16 Chong Yidong <cyd@gnu.org>
17597
17598 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17599 regexp (Bug#10033).
17600
17601 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17602
17603 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17604 `completing-read' will remove *Completions* and will preserve
17605 current-buffer for us.
17606 (tmm-add-prompt): Users of *Completions* will always (re)set its
17607 major mode.
17608 (tmm-old-comp-map): Remove.
17609
17610 2011-11-16 Glenn Morris <rgm@gnu.org>
17611
17612 * mail/rmailedit.el: Require rmailmm when compiling.
17613 (rmail-old-mime-state): New declaration.
17614 (rmail-edit-current-message): If editing a mime message,
17615 edit the "raw" message from the mbox buffer.
17616 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17617
17618 2011-11-15 Glenn Morris <rgm@gnu.org>
17619
17620 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17621 which wasn't being used. Add optional arg to force given state.
17622 (rmail-mime): Add optional arg to force given state.
17623
17624 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17625
17626 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17627 * frame.el (display-mm-dimensions-alist):
17628 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17629 (outline-move-subtree-down):
17630 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17631 (newsticker--treeview-do-get-node):
17632 * net/quickurl.el (quickurl-list-buffer-name):
17633 * progmodes/dcl-mode.el (dcl-mode):
17634 * progmodes/gdb-mi.el (gdb-mapcar*):
17635 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17636
17637 2011-11-15 Glenn Morris <rgm@gnu.org>
17638
17639 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17640 in a boolean sense, so just make it a boolean, and fix the doc.
17641 (rmail-show-mime-function, rmail-mime-feature)
17642 (rmail-require-mime-maybe): Doc fixes.
17643 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17644
17645 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17646
17647 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17648
17649 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17650 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17651 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17652 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17653
17654 2011-11-15 Glenn Morris <rgm@gnu.org>
17655
17656 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17657 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17658 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17659 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17660 (rmail-mime, rmail-show-mime): Doc fixes.
17661
17662 * term/ns-win.el (mode-line-frame-identification):
17663 Leave it alone. (Bug#10051)
17664
17665 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17666
17667 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17668 Handle empty buffers. (Bug#9978)
17669
17670 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17671
17672 * international/mule.el (define-charset):
17673 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17674 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17675 * progmodes/verilog-mode.el (verilog-backward-token):
17676 * textmodes/ispell.el (lookup-words):
17677 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17678
17679 2011-11-14 Glenn Morris <rgm@gnu.org>
17680
17681 * progmodes/executable.el
17682 (executable-make-buffer-file-executable-if-script-p):
17683 Handle file-modes returning nil.
17684
17685 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17686 message - not necessary, and causes problems. (Bug#9831)
17687
17688 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17689
17690 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17691
17692 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17693 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17694 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17695
17696 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17697
17698 * window.el (window-resize, delete-window): Use window-splits
17699 variable instead of function.
17700 (window-state-get-1, window-state-put-2, window-state-put):
17701 Don't deal with windows' splits status.
17702
17703 2011-11-12 Glenn Morris <rgm@gnu.org>
17704
17705 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17706 (apropos-documentation): Doc fixes.
17707
17708 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17709
17710 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17711 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17712
17713 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17714
17715 * electric.el (electric-indent-post-self-insert-function): Make it
17716 possible for a char to only indent in some circumstances.
17717 (electric-indent-mode): Simplify.
17718
17719 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17720
17721 * window.el (windows-with-parameter): Remove unused function.
17722 (windows-at-side): Rename to window-at-side-list.
17723 (window-check, window-atom-check, window-atom-check-1)
17724 (window-side-check, window-size-ignore, window-size-fixed-1)
17725 (window-in-direction-2): Prefix with "window--".
17726 (window-tree-1): Rename to window--subtree, fix doc-string.
17727
17728 2011-11-11 Glenn Morris <rgm@gnu.org>
17729
17730 * subr.el (eval-after-load): If FILE is already loaded,
17731 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17732
17733 2011-11-10 Glenn Morris <rgm@gnu.org>
17734
17735 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17736 Call svn via vc-svn-command rather than vc-do-command.
17737 (vc-svn-command): Add --non-interactive. (Bug#9993)
17738 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17739
17740 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17741 Add toggle-read-only. (Bug#7292)
17742 * files.el (toggle-read-only): Mention that it should only
17743 be used interactively. (Bug#10006)
17744
17745 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17746
17747 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17748 Adjust regexp for OCaml warnings.
17749
17750 * electric.el (electric-pair-post-self-insert-function): Let user
17751 turn it off buffer-locally (bug#9932).
17752
17753 * progmodes/python.el (python-beginning-of-statement):
17754 Rewrite (bug#2703).
17755
17756 * progmodes/compile.el: Better handle TABs (bug#9749).
17757 (compilation-internal-error-properties)
17758 (compilation-next-error-function): Obey the target buffer's
17759 compilation-error-screen-columns.
17760
17761 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17762
17763 * progmodes/meta-mode.el: Remove obsolete comments.
17764 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17765 Fix typos in docstrings.
17766
17767 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17768
17769 * window.el (window-size-fixed-p): Rewrite doc-string.
17770 (window-resizable-p): Rename to window--resizable-p. Update callers.
17771 (window--resizable): New function. Make all callers of
17772 window-resizable call window--resizable instead.
17773 (window-resizable): Rewrite in terms of window--resizable.
17774
17775 2011-11-08 Glenn Morris <rgm@gnu.org>
17776
17777 * progmodes/delphi.el (delphi-mode-syntax-table):
17778 Let define-derived-mode define a proper syntax table. (Bug#9994)
17779
17780 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17781
17782 * window.el: Stay away from defsubst.
17783 (window-list-no-nils): Remove.
17784 (window-state-get-1, window-state-get): Use backquote instead.
17785
17786 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17787
17788 * emacs-lisp/find-func.el (find-function-read):
17789 Fix incorrect use of default argument in `completing-read'.
17790
17791 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17792
17793 * window.el (display-buffer-function, special-display-function):
17794 Mention display-buffer-record-window but do not mention
17795 help-setup parameter in doc-strings.
17796 (window-min-delta): Fix doc-string typo.
17797
17798 2011-11-08 Chong Yidong <cyd@gnu.org>
17799
17800 * window.el (window-total-height, window-total-width): Doc fix.
17801 (window-body-size): Move from C.
17802 (window-body-height, window-body-width): Move to C.
17803
17804 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17805
17806 * window.el: Make special-display like display-buffer-alist (bug#9532).
17807 (display-buffer--special-action): New function, morphed
17808 from display-buffer--special.
17809 (display-buffer): Use it to handle special-display-buffers at higher
17810 priority (just after display-buffer-alist).
17811 (display-buffer-fallback-action, display-buffer--other-frame-action)
17812 (pop-to-buffer-same-window): Remove display-buffer--special.
17813
17814 2011-11-07 Glenn Morris <rgm@gnu.org>
17815
17816 * calendar/cal-menu.el (cal-menu-set-date-title):
17817 Do nothing if not in a calendar. (Bug#9976)
17818
17819 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17820
17821 * files.el (find-file): Always use selected-window.
17822
17823 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17824
17825 * window.el (window-combinations): Make WINDOW argument
17826 mandatory. Rewrite doc-string.
17827 (walk-window-subtree, window-atom-check, window-min-delta)
17828 (window-max-delta, window--resize-this-window)
17829 (window--resize-root-window-vertically, window-tree)
17830 (balance-windows, window-state-put): Rewrite doc-strings as to
17831 not mention the term "subwindow".
17832 (window--resize-subwindows-skip-p): Rename to
17833 window--resize-child-windows-skip-p.
17834 (window--resize-subwindows-normal): Rename to
17835 window--resize-child-windows-normal.
17836 (window--resize-subwindows): Rename to
17837 window--resize-child-windows.
17838 (window-or-subwindow-p): Rename to window--in-subtree-p.
17839
17840 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17841
17842 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17843 Ensure that mbox format messages end in two newlines (Bug#9974).
17844
17845 2011-11-06 Chong Yidong <cyd@gnu.org>
17846
17847 * window.el (window-combination-p): Function deleted; its
17848 side-effect is not used in any existing code.
17849 (window-combinations, window-combined-p): Call window-*-child
17850 directly.
17851
17852 2011-11-05 Chong Yidong <cyd@gnu.org>
17853
17854 * window.el (window-valid-p): Rename from window-any-p.
17855 (window-size-ignore, window-state-get): Callers changed.
17856 (window-normalize-window): Rename from window-normalize-any-window.
17857 New arg LIVE-ONLY, replacing window-normalize-live-window.
17858 (window-normalize-live-window): Delete.
17859 (window-combination-p, window-combined-p, window-combinations)
17860 (walk-window-subtree, window-atom-root, window-min-size)
17861 (window-sizable, window-sizable-p, window-size-fixed-p)
17862 (window-min-delta, window-max-delta, window-resizable)
17863 (window-resizable-p, window-full-height-p, window-full-width-p)
17864 (window-current-scroll-bars, window-point-1, set-window-point-1)
17865 (window-at-side-p, window-in-direction, window-resize)
17866 (adjust-window-trailing-edge, maximize-window, minimize-window)
17867 (window-deletable-p, delete-window, delete-other-windows)
17868 (record-window-buffer, unrecord-window-buffer)
17869 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17870 (quit-window, split-window, window-state-put)
17871 (set-window-text-height, fit-window-to-buffer)
17872 (shrink-window-if-larger-than-buffer): Callers changed.
17873
17874 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17875
17876 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17877 rfc2047-decode-string.
17878 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17879 warnings.
17880
17881 * window.el (window-body-height, window-body-width): Mention in
17882 the doc string that the return values are in frame's canonical
17883 units. (Bug#9949)
17884
17885 2011-11-03 Alan Mackenzie <acm@muc.de>
17886
17887 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17888 change in cc-engine.el.
17889
17890 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17891
17892 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17893
17894 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17895
17896 * window.el (quit-window): Call unrecord-window-buffer after
17897 showing another buffer in the window. (Bug#9937)
17898 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17899
17900 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17901
17902 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17903 Accept status with more than 9 shelves. (Bug#9935)
17904 Reported by Colin D Bennett <colin@gibibit.com>.
17905
17906 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17907
17908 * help.el (with-help-window): Don't reference
17909 temp-buffer-show-specifiers in doc-string.
17910
17911 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17912
17913 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17914 menu-item.
17915
17916 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17917
17918 * whitespace.el: New version 13.2.2.
17919 (whitespace-newline-mode): Disable properly. Reported by Sarah
17920 <EmacsWiki>.
17921
17922 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17923
17924 * net/newst-treeview.el: Remove "Time-stamp".
17925 (newsticker--group-manage-orphan-feeds): Do not call
17926 newsticker--treeview-tree-update.
17927 (newsticker-treeview-update, newsticker-treeview):
17928 Call newsticker--treeview-tree-update if necessary.
17929
17930 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17931
17932 * window.el (window-iso-combination-p, window-iso-combined-p)
17933 (window-iso-combinations): Remove "iso-" infix.
17934 Suggested by Chong Yidong.
17935 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17936 (window-max-delta-1, window-resize, window--resize-siblings)
17937 (window--resize-this-window, adjust-window-trailing-edge)
17938 (split-window, balance-windows-1)
17939 (shrink-window-if-larger-than-buffer):
17940 * calendar/calendar.el (calendar-generate-window):
17941 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17942
17943 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17944
17945 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17946 in place (bug#9907).
17947 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17948 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17949 (eshell-structure-basic-command, eshell-rewrite-while-command)
17950 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17951 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17952 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17953 (eshell-do-pipelines-synchronously, eshell-eval-command):
17954 Use backquotes and prefer setq to set.
17955 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17956 (eshell-macrop): Use functionp.
17957 (eshell-do-eval): Handle multiple expressions in `while' body.
17958
17959 2011-10-30 Chong Yidong <cyd@gnu.org>
17960
17961 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17962 instead of set-mark (Bug#9810).
17963
17964 2011-10-30 Chong Yidong <cyd@gnu.org>
17965
17966 * window.el (split-window-below, split-window-right): Rename from
17967 split-window-above-each-other and split-window-side-by-side
17968 respectively. All callers changed.
17969 (split-window-sensibly, split-window-sensibly): Use them.
17970 (split-window-keep-point): Doc fix.
17971
17972 * isearch.el: Add isearch-scroll property to split-window-below
17973 and split-window-right.
17974
17975 * follow.el (follow-mode):
17976 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17977 * progmodes/ada-xref.el (ada-gdb-application):
17978 * emulation/vip.el (vip-buffer-in-two-windows):
17979 * image-dired.el (image-dired-dired-with-window-configuration):
17980 * dired-x.el (dired-do-find-marked-files):
17981 * dired.el (dired-pop-to-buffer):
17982 * bs.el (bs--show-with-configuration):
17983 * vc/emerge.el (emerge-setup-windows):
17984 * textmodes/two-column.el (2C-two-columns):
17985 * textmodes/reftex-toc.el (reftex-toc):
17986 * progmodes/gdb-mi.el (gdb-setup-windows):
17987 * progmodes/fortran.el (fortran-window-create):
17988 * net/newst-treeview.el (newsticker--treeview-window-init):
17989 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17990 * emulation/tpu-edt.el (tpu-gold-map):
17991 * emulation/crisp.el (crisp-mode-map):
17992 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17993
17994 2011-10-29 Chong Yidong <cyd@gnu.org>
17995
17996 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17997
17998 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17999
18000 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18001 forged Ispell output (Bug#7904).
18002
18003 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18004
18005 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18006
18007 * doc-view.el: Avoid ugly errors about not finding nil.
18008 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18009 (doc-view-dvipdf-program, doc-view-unoconv-program)
18010 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18011 Avoid nil or absolute file name as default value.
18012 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18013
18014 2011-10-28 Alan Mackenzie <acm@muc.de>
18015
18016 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18017
18018 2011-10-28 Alan Mackenzie <acm@muc.de>
18019
18020 Amend the handling of c-beginning/end-of-defun in nested declaration
18021 scopes.
18022
18023 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18024 cc-langs.el. Change it to a defcustom.
18025
18026 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18027 cc-vars.el.
18028
18029 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18030 Prevent "class foo : bar" being spuriously recognized as a label.
18031
18032 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18033 Add parameter `inclusive' (to include enclosing braces in the region).
18034 (c-widen-to-enclosing-decl-scope): New function.
18035 (c-while-widening-to-decl-block): New macro.
18036 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18037 outward for defun boundaries, and correspondingly change symbol
18038 `respect-enclosure' to `go-outward'.
18039 (c-declaration-limits): Change algorithm to report only the "innermost"
18040 defun's boundaries.
18041
18042 2011-10-28 Deniz Dogan <deniz@dogan.se>
18043
18044 * net/rcirc.el (rcirc-mode): Use hard newlines.
18045
18046 2011-10-28 Alan Mackenzie <acm@muc.de>
18047
18048 Amend to indent and fontify macros "which include their own semicolon"
18049 correctly, using the "virtual semicolon" mechanism.
18050
18051 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18052
18053 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18054 Recode to scan one line at a time rather than having \n and \r
18055 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18056 (c-forward-label): Amend for virtual semicolons.
18057 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18058
18059 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18060 of the new C macros.
18061
18062 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18063 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18064 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18065 (c-opt-cpp-macro-define): Make into a full language variable.
18066 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18067 AWK Mode (including \n, \r) removed, no longer needed.
18068
18069 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18070 Invoke c-make-macro-with-semi-re.
18071
18072 * progmodes/cc-vars.el (c-macro-with-semi-re):
18073 (c-macro-names-with-semicolon): New variables.
18074 (c-make-macro-with-semi-re): New function.
18075
18076 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18077
18078 * vc/log-edit.el: Fill empty field rather than adding new one.
18079 (log-edit-add-field): New function.
18080 (log-edit-insert-changelog): Use it.
18081
18082 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18083
18084 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18085
18086 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18087
18088 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18089 (gdb--check-interpreter): New function.
18090 (gdb): Use it.
18091
18092 2011-10-27 Glenn Morris <rgm@gnu.org>
18093
18094 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18095 (least-positive-float, least-negative-float)
18096 (least-positive-normalized-float, least-negative-normalized-float)
18097 (float-epsilon, float-negative-epsilon):
18098 Remove unnecessary declarations.
18099
18100 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18101 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18102 (least-positive-float, least-negative-float)
18103 (least-positive-normalized-float, least-negative-normalized-float)
18104 (float-epsilon, float-negative-epsilon): Add doc-strings,
18105 based on those in cl.texi.
18106
18107 * files.el (set-visited-file-name): If the major-mode changed,
18108 reload the local variables. (Bug#9796)
18109
18110 2011-10-27 Chong Yidong <cyd@gnu.org>
18111
18112 * subr.el (change-major-mode-after-body-hook): New hook.
18113 (run-mode-hooks): Run it.
18114
18115 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18116 Use change-major-mode-before-body-hook.
18117
18118 * simple.el (fundamental-mode):
18119 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18120 change introducing fundamental-mode-hook.
18121
18122 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18123
18124 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18125
18126 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18127
18128 * ido.el (ido-file-name-all-completions-1): Do not require
18129 tramp.el explicitly. (Bug#7583)
18130
18131 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18132
18133 * progmodes/octave-mod.el:
18134 * progmodes/octave-inf.el: Update maintainer.
18135
18136 2011-10-26 Chong Yidong <cyd@gnu.org>
18137
18138 * subr.el (with-wrapper-hook): Rewrite doc.
18139
18140 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18141
18142 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18143 filenames "/method:foo:". (Bug#9793)
18144
18145 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18146
18147 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18148 (bug#9865).
18149
18150 2011-10-24 Glenn Morris <rgm@gnu.org>
18151
18152 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18153
18154 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18155
18156 * notifications.el: Add the requirement of a running D-Bus session
18157 bus to the Commentary.
18158
18159 2011-10-24 Juri Linkov <juri@jurta.org>
18160
18161 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18162 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18163 (Bug#9364)
18164
18165 2011-10-24 Juri Linkov <juri@jurta.org>
18166
18167 * info.el (Info-following-node-name-re): Add newline to the list
18168 of allowed characters for leading space. (Bug#9824)
18169
18170 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * progmodes/octave-inf.el (inferior-octave-mode-map):
18173 Fix C-c C-h binding.
18174 * progmodes/octave-mod.el (octave-help): Remove.
18175
18176 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18177
18178 Sync with Tramp 2.2.3.
18179
18180 * net/tramp-cache.el (top): Pacify byte-compiler using
18181 `init-file-user' and `site-run-file'.
18182
18183 * net/trampver.el: Update release number.
18184
18185 2011-10-23 Chong Yidong <cyd@gnu.org>
18186
18187 * files.el (toggle-read-only): Remove obsolete comment about
18188 version control.
18189
18190 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18191 for toggle-read-only. Note that this hasn't called vc-next-action
18192 since 2008-05-02, though it wasn't documented at the time.
18193
18194 * vc/ediff-init.el (ediff-toggle-read-only-function):
18195 Use toggle-read-only.
18196
18197 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18198
18199 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18200 of c-parse-state.
18201
18202 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18203 correct faulty logical expression.
18204 (c-parse-state-state, c-record-parse-state-state):
18205 (c-replay-parse-state-state): New defvar/defuns.
18206 (c-debug-parse-state): Use new functions.
18207
18208 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18209
18210 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18211 last fix. Use window-in-direction correctly.
18212
18213 2011-10-21 Chong Yidong <cyd@gnu.org>
18214
18215 * progmodes/idlwave.el (idlwave-mode):
18216 * progmodes/vera-mode.el (vera-mode): No need to set
18217 require-final-newline; that's done in prog-mode.
18218 Suggested by Stefan Monnier.
18219
18220 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18221
18222 * mouse.el (mouse-drag-window-above)
18223 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18224 (mouse-drag-mode-line-1, mouse-drag-header-line)
18225 (mouse-drag-vertical-line-rightward-window): Remove.
18226 (mouse-drag-line): New function.
18227 (mouse-drag-mode-line, mouse-drag-header-line)
18228 (mouse-drag-vertical-line): Call mouse-drag-line.
18229 * window.el (window-at-side-p, windows-at-side): New functions.
18230
18231 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18232
18233 * tar-mode.el (tar-grind-file-mode):
18234 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18235
18236 2011-10-21 Chong Yidong <cyd@gnu.org>
18237
18238 * progmodes/idlwave.el (idlwave-mode):
18239 * progmodes/vera-mode.el (vera-mode):
18240 Use mode-require-final-newline.
18241
18242 2011-10-20 Glenn Morris <rgm@gnu.org>
18243
18244 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18245
18246 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18247
18248 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18249
18250 2011-10-20 Chong Yidong <cyd@gnu.org>
18251
18252 * emulation/cua-base.el (cua-mode):
18253 * mail/footnote.el (footnote-mode):
18254 * mail/mailabbrev.el (mail-abbrevs-mode):
18255 * net/xesam.el (xesam-minor-mode):
18256 * progmodes/bug-reference.el (bug-reference-mode):
18257 * progmodes/cap-words.el (capitalized-words-mode):
18258 * progmodes/compile.el (compilation-minor-mode)
18259 (compilation-shell-minor-mode):
18260 * progmodes/gud.el (gud-tooltip-mode):
18261 * progmodes/hideif.el (hide-ifdef-mode):
18262 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18263 * progmodes/subword.el (subword-mode):
18264 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18265 * progmodes/which-func.el (which-function-mode):
18266 * term/tvi970.el (tvi970-set-keypad-mode):
18267 * term/vt100.el (vt100-wide-mode):
18268 * textmodes/flyspell.el (flyspell-mode):
18269 * textmodes/ispell.el (ispell-minor-mode):
18270 * textmodes/nroff-mode.el (nroff-electric-mode):
18271 * textmodes/paragraphs.el (use-hard-newlines):
18272 * textmodes/refill.el (refill-mode):
18273 * textmodes/reftex.el (reftex-mode):
18274 * textmodes/rst.el (rst-minor-mode):
18275 * textmodes/sgml-mode.el (html-autoview-mode)
18276 (sgml-electric-tag-pair-mode):
18277 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18278 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18279 * emulation/crisp.el (crisp-mode):
18280 * emacs-lisp/eldoc.el (eldoc-mode):
18281 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18282 minor mode behavior.
18283
18284 2011-10-19 Juri Linkov <juri@jurta.org>
18285
18286 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18287 the list of hard-coded chars with escape-glyph face.
18288
18289 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18290
18291 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18292
18293 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18294
18295 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18296 running process.
18297
18298 2011-10-19 Glenn Morris <rgm@gnu.org>
18299
18300 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18301 Ignore ignored files. (Bug#9726)
18302
18303 2011-10-19 Chong Yidong <cyd@gnu.org>
18304
18305 Doc fix for minor modes, stating that an omitted argument enables
18306 the mode unconditionally when called from Lisp.
18307
18308 * abbrev.el (abbrev-mode):
18309 * allout.el (allout-mode):
18310 * autoinsert.el (auto-insert-mode):
18311 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18312 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18313 (global-auto-revert-mode):
18314 * battery.el (display-battery-mode):
18315 * composite.el (global-auto-composition-mode)
18316 (auto-composition-mode):
18317 * delsel.el (delete-selection-mode):
18318 * desktop.el (desktop-save-mode):
18319 * dired-x.el (dired-omit-mode):
18320 * dirtrack.el (dirtrack-mode):
18321 * doc-view.el (doc-view-minor-mode):
18322 * double.el (double-mode):
18323 * electric.el (electric-indent-mode, electric-pair-mode):
18324 * emacs-lock.el (emacs-lock-mode):
18325 * epa-hook.el (auto-encryption-mode):
18326 * follow.el (follow-mode):
18327 * font-core.el (font-lock-mode):
18328 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18329 * help.el (temp-buffer-resize-mode):
18330 * hilit-chg.el (highlight-changes-mode)
18331 (highlight-changes-visible-mode):
18332 * hi-lock.el (hi-lock-mode):
18333 * hl-line.el (hl-line-mode, global-hl-line-mode):
18334 * icomplete.el (icomplete-mode):
18335 * ido.el (ido-everywhere):
18336 * image-file.el (auto-image-file-mode):
18337 * image-mode.el (image-minor-mode):
18338 * iswitchb.el (iswitchb-mode):
18339 * jka-cmpr-hook.el (auto-compression-mode):
18340 * linum.el (linum-mode):
18341 * longlines.el (longlines-mode):
18342 * master.el (master-mode):
18343 * mb-depth.el (minibuffer-depth-indicate-mode):
18344 * menu-bar.el (menu-bar-mode):
18345 * minibuf-eldef.el (minibuffer-electric-default-mode):
18346 * mouse-sel.el (mouse-sel-mode):
18347 * msb.el (msb-mode):
18348 * mwheel.el (mouse-wheel-mode):
18349 * outline.el (outline-minor-mode):
18350 * paren.el (show-paren-mode):
18351 * recentf.el (recentf-mode):
18352 * reveal.el (reveal-mode, global-reveal-mode):
18353 * rfn-eshadow.el (file-name-shadow-mode):
18354 * ruler-mode.el (ruler-mode):
18355 * savehist.el (savehist-mode):
18356 * scroll-all.el (scroll-all-mode):
18357 * scroll-bar.el (scroll-bar-mode):
18358 * server.el (server-mode):
18359 * shell.el (shell-dirtrack-mode):
18360 * simple.el (auto-fill-mode, transient-mark-mode)
18361 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18362 (line-number-mode, column-number-mode, size-indication-mode)
18363 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18364 * strokes.el (strokes-mode):
18365 * time.el (display-time-mode):
18366 * t-mouse.el (gpm-mouse-mode):
18367 * tool-bar.el (tool-bar-mode):
18368 * tooltip.el (tooltip-mode):
18369 * type-break.el (type-break-mode-line-message-mode)
18370 (type-break-query-mode):
18371 * view.el (view-mode):
18372 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18373 (global-whitespace-mode, global-whitespace-newline-mode):
18374 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18375
18376 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18377 Fix autogenerated docstring.
18378
18379 2011-10-19 Juri Linkov <juri@jurta.org>
18380
18381 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18382 by checking environment variables "DESKTOP_SESSION" and
18383 "XDG_CURRENT_DESKTOP". (Bug#9779)
18384
18385 2011-10-19 Juri Linkov <juri@jurta.org>
18386
18387 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18388 (browse-url-chromium-program, browse-url-chromium-arguments):
18389 New defcustoms.
18390 (browse-url-default-browser): Check for `browse-url-chromium' and
18391 call `browse-url-chromium-program'.
18392 (browse-url-chromium): New command. (Bug#9779)
18393
18394 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18395
18396 * facemenu.el (list-colors-duplicates): On Windows, detect more
18397 duplicates by assuming that only colors matching "^System" are
18398 special "system colors". (Bug#9722)
18399
18400 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18401
18402 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18403 to distinguish the author from the committer.
18404
18405 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18406
18407 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18408
18409 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18410
18411 * international/mule.el (sgml-html-meta-auto-coding-function):
18412 Add support for detecting encoding in HTML5 specified only as
18413 <meta charset="UTF-8">. Implementation just makes http-equiv and
18414 content-type parts from HTML4 encoding string optional. (Bug#9716)
18415
18416 2011-10-18 Glenn Morris <rgm@gnu.org>
18417
18418 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18419
18420 2011-10-18 Chong Yidong <cyd@gnu.org>
18421
18422 * faces.el (cursor): Doc fix.
18423
18424 2011-10-17 Chong Yidong <cyd@gnu.org>
18425
18426 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18427
18428 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18429
18430 * dirtrack.el (dirtrack): Support shell buffers with path
18431 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18432
18433 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18434
18435 * json.el: Bump version to 1.3 and note change in History.
18436 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18437
18438 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18439
18440 * comint.el (comint-insert-input, comint-send-input)
18441 (comint-get-old-input-default, comint-backward-matching-input)
18442 (comint-next-prompt): Use nil instead of `input' for field property of
18443 past user input (bug#114).
18444
18445 * minibuffer.el (completion--replace): Inherit surrounding properties
18446 (bug#114).
18447 (minibuffer-complete-and-exit): Use it.
18448
18449 * comint.el (comint--table-subvert): Quote the all-completions output
18450 (bug#9160).
18451
18452 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18453
18454 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18455
18456 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18457 window on right of selected. (Bug#9350) Reword other window
18458 entries and separate them from frame entries.
18459
18460 2011-10-15 Glenn Morris <rgm@gnu.org>
18461
18462 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18463 Doc fixes.
18464
18465 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18466
18467 * net/network-stream.el (network-stream-open-starttls):
18468 Improve detection of failure due to lack of TLS support.
18469
18470 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18471 putting the input text in front and in bold.
18472
18473 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18474
18475 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18476
18477 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18478 empty buffer.
18479
18480 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18481 unread-command-events rather than pushing yet-another event.
18482
18483 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18484
18485 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18486 the explanation of the possible choices. Make the options passed
18487 to completing-read shorter.
18488
18489 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18490
18491 * textmodes/flyspell.el (flyspell-large-region): Make sure
18492 extended character mode is used if defined (Bug#1339).
18493
18494 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18495
18496 * simple.el (what-cursor-position): Fix the display of the
18497 character info for LRE, LRO, RLE, and RLO characters by appending
18498 an invisible PDF.
18499
18500 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18501
18502 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18503 even in case of error; add debug spec; simplify data flow.
18504 (with-timeout-handler): Remove.
18505
18506 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18507
18508 Fix Bug#6019, Bug#9315.
18509
18510 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18511 complete `buffer-file-name', the local file name part could look
18512 remotely (for example on VMS).
18513
18514 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18515 `tramp-run-real-handler'.
18516 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18517 already quoted by '"'.
18518
18519 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18520 Let `file-name-handler-alist' be nil, the local file name part
18521 could look remotely (for example on VMS).
18522
18523 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18524
18525 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18526 from here...
18527 (flyspell-post-command-hook): ...to here.
18528
18529 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18530
18531 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18532 if not needed.
18533 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18534 using completion. Protect against "slow" callers.
18535 Remove the "message hack".
18536
18537 2011-10-11 Juri Linkov <juri@jurta.org>
18538
18539 * isearch.el (isearch-lazy-highlight-word): New variable.
18540 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18541 Use it. (Bug#9727)
18542
18543 2011-10-11 Glenn Morris <rgm@gnu.org>
18544
18545 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18546 like f90-previous-statement does.
18547
18548 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18549
18550 * eshell/eshell.el (eshell-command): History should be saved
18551 only in interactive use, to avoid error.
18552
18553 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18554
18555 * minibuffer.el (completion-file-name-table): Fix last change,
18556 i.e. ignore normal errors but not the other ones.
18557
18558 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18559
18560 * window.el (special-display-buffer-names)
18561 (special-display-regexps): Remove some remnants of earlier
18562 changes from doc-strings.
18563 (quit-windows-on): New function.
18564
18565 * vc/vc.el (vc-revert, vc-rollback):
18566 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18567 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18568 (Bug#6183) (Bug#7074) (Bug#7447)
18569
18570 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18571
18572 * window.el (frame-auto-hide-function): Add version tag.
18573 (Bug#9699)
18574
18575 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18576
18577 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18578 condition.
18579
18580 2011-10-09 Leo Liu <sdl.web@gmail.com>
18581
18582 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18583 (Bug#9701)
18584
18585 2011-10-08 Glenn Morris <rgm@gnu.org>
18586
18587 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18588 before the first code statement zero indent. (Bug#9690)
18589
18590 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18591
18592 * simple.el (count-words-region): Always count in the region.
18593 Report the number of lines and characters too.
18594 (count-words): New command, which counts in the buffer if the
18595 region is inactive, as count-words-region used to.
18596 (count-words--message): New function. Handle plurals.
18597 (count-lines-region): Make it an alias for count-words-region.
18598
18599 * bindings.el (esc-map): Replace count-lines-region with
18600 count-words-region.
18601
18602 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18603
18604 * window.el (window--delete): Delete dedicated frame
18605 unconditionally when argument KILL is non-nil. (Bug#9699)
18606 (switch-to-buffer): Fix doc-string typo.
18607
18608 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18609
18610 * eshell/eshell.el (eshell-command): Avoid using hooks.
18611
18612 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18613
18614 * bindings.el ([M-left],[M-right]): Bind to left-word and
18615 right-word respectively.
18616
18617 2011-10-07 Glenn Morris <rgm@gnu.org>
18618
18619 * cus-start.el (debug-on-quit): Fix custom type.
18620
18621 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18622
18623 * subr.el (define-key-after): Clarify that the function is not
18624 useful for non-menu keymaps.
18625
18626 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18627
18628 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18629
18630 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18631 in current minibuffer (Fix bug with recursive minibuffers).
18632
18633 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18634
18635 * progmodes/gdb-mi.el (gdb): Doc fix.
18636
18637 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18638
18639 * window.el (frame-auto-hide-function): New option replacing
18640 frame-auto-delete. Suggested by Stefan Monnier.
18641 (window--delete): Call frame-auto-hide-function instead of
18642 investigating frame-auto-delete.
18643 (window-point-1, set-window-point-1): New functions.
18644 (window-in-direction, record-window-buffer, window-state-get-1)
18645 (display-buffer-record-window): Use window-point-1 instead of
18646 window-point.
18647 (set-window-buffer-start-and-point): Use set-window-point-1.
18648
18649 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18650
18651 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18652
18653 2011-10-05 Glenn Morris <rgm@gnu.org>
18654
18655 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18656 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18657
18658 2011-10-05 Leo Liu <sdl.web@gmail.com>
18659
18660 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18661 works with buffer object.
18662
18663 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * mpc.el (mpc-tool-bar-map): Add labels.
18666
18667 2011-10-04 Glenn Morris <rgm@gnu.org>
18668
18669 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18670
18671 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18672
18673 * window.el (window--delete): New function.
18674 (frame-auto-delete): Resuscitate option.
18675 (bury-buffer, replace-buffer-in-windows)
18676 (quit-window): Rewrite using window--delete.
18677 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18678 Pass display-buffer-mark-dedicated to window--display-buffer-2
18679 (Bug#9639).
18680
18681 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18682
18683 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18684 returns a list (bug#9554). Add remote file name completion.
18685 * comint.el (comint--table-subvert): Curry and get quote&unquote
18686 functions as arguments.
18687 (comint--complete-file-name-data): Adjust call accordingly.
18688 * pcomplete.el (pcomplete--table-subvert): Remove.
18689 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18690
18691 * minibuffer.el (completion-table-case-fold): Use currying.
18692 (completion--styles-type, completion--cycling-threshold-type):
18693 New constants.
18694 (completion-styles, completion-category-overrides)
18695 (completion-cycle-threshold): Use them.
18696 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18697 completion-table-case-fold.
18698
18699 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18700
18701 * minibuffer.el (completion-category-overrides): Fix type of styles
18702 and add more user friendly tags (bug#9660).
18703
18704 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18705
18706 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18707 (mule-input-method-string): New widget.
18708 (default-input-method, language-info-custom-alist): Use it.
18709
18710 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18711
18712 * pcomplete.el: Require comint.
18713 (pcomplete--common-suffix): Remove.
18714 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18715 (pcomplete--table-subvert): Sync with comint--table-subvert.
18716 (pcomplete--entries): Use comint-completion-file-name-table.
18717 * comint.el (comint-unquote-filename): Simplify.
18718 (comint-completion-file-name-table): New function (bug#9616).
18719 (comint--complete-file-name-data): Use it.
18720
18721 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18722 (pcmpl-gnu-tar-buffer): Remove.
18723 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18724 around. Make sure pcomplete-suffix-list is only changed temporarily.
18725 Don't look inside the tar's file if it's too large.
18726
18727 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18728
18729 * cus-edit.el (custom-mode-map):
18730 * epa.el (epa-key-list-mode-map):
18731 * man.el (Man-mode-map):
18732 * startup.el (splash-screen-keymap):
18733 * simple.el (special-mode-map): Use scroll-up-command and
18734 scroll-down-command.
18735
18736 * progmodes/idlw-help.el (idlwave-help-mode-map):
18737 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18738 * net/newst-plainview.el (newsticker-mode-map):
18739 * emulation/ws-mode.el (wordstar-mode-map):
18740 * emulation/vi.el (vi-com-map):
18741 * calc/calc-graph.el (calc-graph-show-dumb):
18742 * term/sun.el (terminal-init-sun):
18743 * term/ns-win.el (global-map):
18744 * progmodes/grep.el (grep-mode-map):
18745 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18746 * mail/rmail.el (rmail-mode-map):
18747 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18748
18749 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18750 custom-safe-themes as special.
18751
18752 2011-10-01 Julien Danjou <julien@danjou.info>
18753
18754 * notifications.el (notifications-notify): Fix docstring.
18755
18756 2011-10-01 Per Starbäck <per@starback.se>
18757
18758 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18759
18760 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18761
18762 * startup.el (command-line-1): Fix last fix by inserting
18763 initial-scratch-message into *scratch* before displaying it.
18764 (Bug#9605) and (Bug#9636)
18765
18766 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18767
18768 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18769 window is hscrolled, move by logical lines. (Bug#9607)
18770 (line-move-visual): Update the doc string to the above effect.
18771
18772 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18773
18774 * window.el (display-buffer-record-window): When WINDOW is the
18775 selected window use `point' instead of `window-point'. (Bug#9626)
18776
18777 * startup.el (command-line-1): Use insert-before-markers when
18778 inserting initial-scratch-message. (Bug#9605)
18779
18780 * help.el (help-window): Remove variable.
18781
18782 2011-09-29 Glenn Morris <rgm@gnu.org>
18783
18784 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18785
18786 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18787
18788 * descr-text.el (describe-char-categories): Accept category
18789 descriptions more than one line long.
18790
18791 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18792
18793 * simple.el (delete-trailing-whitespace): Fix last change.
18794
18795 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18796 Don't confuse "y => 3" as the beginning of a `y' operation.
18797
18798 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18799 object has more than 4 slots (bug#9613).
18800
18801 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18802
18803 * subr.el (with-output-to-temp-buffer):
18804 * net/quickurl.el (quickurl, quickurl-browse-url):
18805 Fix typos in docstrings.
18806
18807 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18808
18809 * minibuffer.el (completion-styles)
18810 (completion-category-overrides): Cross reference each other in doc
18811 strings.
18812
18813 2011-09-27 Glenn Morris <rgm@gnu.org>
18814
18815 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18816 to split-string. (Bug#9606)
18817
18818 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819
18820 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18821 (bug#9615).
18822
18823 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18824
18825 * emacs-lisp/package.el (list-packages): Fix echo area message.
18826
18827 2011-09-27 Leo Liu <sdl.web@gmail.com>
18828
18829 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18830
18831 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18832
18833 * net/dbus.el (dbus-unregister-object): Don't release services for
18834 registered signals. (Bug#9581)
18835
18836 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18837
18838 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18839 function that picks between cfengine 2 and 3 support
18840 automatically. Update docs accordingly.
18841
18842 2011-09-22 Kenichi Handa <handa@m17n.org>
18843
18844 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18845 ZERO.
18846 (indian-itrans-v5-table-for-tamil): New variable.
18847 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18848
18849 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18850
18851 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18852 that's true if the current command involved collapsing of text.
18853 It's reset to false at the beginning of the next command.
18854 (allout-post-command-business): Move the cursor to the beginning
18855 of entry if the cursor is hidden and collapsing activity just
18856 happened.
18857
18858 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18859
18860 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18861 tracking (Bug#9541).
18862
18863 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18864
18865 * net/newst-reader.el (newsticker-html-renderer)
18866 (newsticker-show-news): Automatically load html rendering package
18867 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18868 because w3m-fill-column is let-bound" and the error "Symbol's value
18869 as variable is void: w3m-fill-column".
18870
18871 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18872
18873 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18874 Release services only if they are defined. (Bug#9581)
18875
18876 2011-09-23 Richard Stallman <rms@gnu.org>
18877
18878 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18879 distinguish start of paragraph from start of its text.
18880
18881 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18882
18883 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18884 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18885 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18886
18887 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18888
18889 * international/mule-diag.el (mule-diag): Insert a newline after
18890 each fontset description.
18891
18892 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18893
18894 * simple.el (delete-trailing-whitespace):
18895 Document last change; simplify.
18896
18897 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18898
18899 * simple.el (delete-trailing-whitespace): Also delete
18900 extra newlines at the end of the buffer.
18901
18902 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18903 (picture-newline): Use forward-line so as to ignore fields.
18904
18905 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18906
18907 * subr.el (with-wrapper-hook): Fix edebug spec.
18908
18909 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18910
18911 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18912 (bug#4538).
18913
18914 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18915
18916 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18917 Fix nasty bug using wrong cached values.
18918
18919 2011-09-23 Alan Mackenzie <acm@muc.de>
18920
18921 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18922
18923 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18924
18925 * window.el (pop-to-buffer): Ensure right window is selected if we
18926 chose another frame.
18927
18928 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18929
18930 * simple.el (what-cursor-position): Use get-char-property-change
18931 and next-single-char-property-change, to be able to show display
18932 properties that come from overlays as well as text properties.
18933
18934 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18935
18936 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18937
18938 * cmuscheme.el (run-scheme, switch-to-scheme):
18939 * cus-edit.el (customize-group, custom-buffer-create)
18940 (customize-browse):
18941 * info.el (info):
18942 * shell.el (shell):
18943 * mail/sendmail.el (mail):
18944 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18945
18946 2011-09-22 Richard Stallman <rms@gnu.org>
18947
18948 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18949 move back only to line beg, don't move back over blank lines.
18950
18951 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18952
18953 * files.el (copy-directory): Set directory attributes only in case
18954 they could be retrieved from the source directory. (Bug#9565)
18955
18956 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18957
18958 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18959 (hs-find-block-beginning, hs-hide-level-recursive):
18960 Ignore strings as well as comments. (Bug#9502)
18961
18962 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18963
18964 * progmodes/sql.el (sql-comint-postgres):
18965 Convert port number to a string. (Bug#9566)
18966
18967 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18968
18969 * window.el (quit-window): Undedicate window when switching to
18970 previous buffer. Reported by Thierry Volpiatto
18971 <thierry.volpiatto@gmail.com>.
18972 (special-display-popup-frame): When popping up a new frame reset
18973 its previous buffers to nil. Simplify code.
18974
18975 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18976
18977 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18978 and process filter, as done also in `shell-command'.
18979
18980 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18981
18982 * window.el (set-window-buffer-start-and-point):
18983 Call set-window-start with NOFORCE argument t.
18984 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18985 (quit-window): Reword doc-string. Handle new format of
18986 quit-restore parameter. Don't delete window if it has a
18987 previous buffer we can show instead of the present one.
18988 (display-buffer-record-window): Rewrite using a new format for
18989 the quit-restore window parameter
18990 (special-display-popup-frame, display-buffer-same-window)
18991 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18992 (display-buffer-pop-up-window, display-buffer-use-some-window):
18993 Adapt symbol passed to display-buffer-record-window.
18994 * help.el (help-window-setup): Handle new format of quit-restore
18995 parameter.
18996
18997 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18998
18999 * faces.el (face-list): Fix docstring (bug#9564).
19000
19001 * window.el (display-buffer--action-function-custom-type):
19002 Don't include internal functions in the Custom interface.
19003
19004 2011-09-20 Juri Linkov <juri@jurta.org>
19005
19006 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19007 (Info-forward-node, Info-backward-node, Info-next-preorder)
19008 (Info-last-preorder): Use it. (Bug#9528)
19009
19010 2011-09-20 Juri Linkov <juri@jurta.org>
19011
19012 * info.el (Info-last-preorder): Visit last menu item only when
19013 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19014
19015 2011-09-20 Julien Danjou <julien@danjou.info>
19016
19017 * password-cache.el (password-cache-remove): Remove entries even if the
19018 value is nil, so that password with a nil value (negative caching) is
19019 possible to invalidate.
19020
19021 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19022
19023 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19024 all whitespace around breakpoint. (Bug#9553)
19025 (f90-find-breakpoint): Only break at whitespace inside a comment.
19026
19027 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19028
19029 * minibuffer.el (completion-file-name-table): Keep track of errors.
19030 (completion-table-with-predicate): Handle the case where pred1 is nil.
19031 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19032
19033 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19034
19035 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19036 (debugger-return-value): Signal an error if the debugging context does
19037 not await any return value.
19038
19039 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19040 * image-mode.el (image-toggle-display-text)
19041 (image-toggle-display-image): Stay away from evil `intangible'.
19042
19043 2011-09-19 Leo Liu <sdl.web@gmail.com>
19044
19045 * replace.el (occur-revert-arguments): Make it permanent-local.
19046 (occur-mode): Don't call font-lock-defontify.
19047
19048 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19049
19050 * net/ldap.el (ldap-search-internal): Don't push empty search
19051 result (Bug#9508).
19052
19053 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19054
19055 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19056
19057 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19058
19059 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19060 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19061
19062 2011-09-18 Juri Linkov <juri@jurta.org>
19063
19064 * buff-menu.el (Buffer-menu-mode-map):
19065 * dired.el (dired-mode-map):
19066 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19067 (lisp-interaction-mode-map):
19068 * emacs-lisp/package.el (package-menu-mode-map):
19069 * epa.el (epa-key-list-mode-map):
19070 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19071 (menu-bar-options-menu):
19072 * outline.el (outline-mode-menu-bar-map):
19073 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19074 * vc/vc-dir.el (vc-dir-menu-map):
19075 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19076 Capitalize non-function content words in menu item strings.
19077
19078 * dired.el (dired-mode-map): Add menu item for
19079 `image-dired-dired-toggle-marked-thumbs'.
19080
19081 2011-09-18 Juri Linkov <juri@jurta.org>
19082
19083 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19084 to `isearch-case-fold-search' and restore its original value
19085 after the `isearch-mode' call.
19086
19087 2011-09-18 Juri Linkov <juri@jurta.org>
19088
19089 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19090 because `zgrep' returns 1 for successful matches (bug#9226).
19091
19092 2011-09-18 Juri Linkov <juri@jurta.org>
19093
19094 * info.el (Info-extract-menu-node-name): Check the second match
19095 for empty string (second test-case of bug#9528).
19096 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19097 intermediate nodes to the history (first test-case of bug#9528).
19098
19099 2011-09-18 Juri Linkov <juri@jurta.org>
19100
19101 * info.el (Info-mode-syntax-table): New variable.
19102 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19103
19104 2011-09-18 Juri Linkov <juri@jurta.org>
19105
19106 * info.el (Info-file-supports-index-cookies):
19107 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19108 outputs one more line for long file names (bug#4142).
19109
19110 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19111
19112 * newcomment.el (comment-normalize-vars): If prompting for
19113 comment-start, set comment-start-skip too (Bug#8424).
19114
19115 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19116
19117 * icomplete.el: Fix previous fix of Bug#5849.
19118 (icomplete-mode): Don't set completion-show-inline-help.
19119 (icomplete-minibuffer-setup): Set completion-show-inline-help
19120 locally during icompletion.
19121
19122 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19123
19124 * woman.el (woman2-process-escapes): Don't delete unrecognized
19125 escapes (Bug#7843).
19126
19127 * files.el (inhibit-first-line-modes-regexps): Add image files.
19128 (hack-local-variables-prop-line): Return nil for malformed
19129 prop-lines (Bug#9044).
19130
19131 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19132
19133 * net/tramp.el (top): Don't require 'shell.
19134 (tramp-methods): Fix docstring.
19135 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19136 Return complete remote file name. Handle "smb" case.
19137 Use `tramp-tmpdir', if defined for the respective method.
19138 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19139
19140 * net/tramp-compat.el (top): Require 'shell.
19141
19142 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19143 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19144 `tramp-current-host'.
19145 (tramp-get-remote-tmpdir): Remove.
19146
19147 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19148 `tramp-tmpdir' entries.
19149 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19150 (tramp-smb-handle-file-attributes): Ignore errors.
19151 (tramp-smb-wait-for-output): Check also for process end.
19152
19153 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19154
19155 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19156 when sending QUIT (bug#9312).
19157
19158 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19159
19160 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19161 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19162 occur-mode-display-occurrence.
19163 (occur-edit-mode): Add usage message.
19164 (occur-cease-edit): New command.
19165 (occur-after-change-function): Use text properties to find the
19166 position of the prefix text.
19167 (occur-engine): Set stickiness of prefix text properties.
19168
19169 2011-09-17 Glenn Morris <rgm@gnu.org>
19170
19171 * progmodes/etags.el (complete-tag):
19172 Fix call to completion-in-region. (Bug#9526)
19173
19174 2011-09-17 Juri Linkov <juri@jurta.org>
19175
19176 * textmodes/ispell.el (ispell-word): Add to the error message
19177 the word, ispell program name and current dictionary (bug#9121).
19178 (ispell-tex-arg-end): Capitalize "error" in the error message.
19179
19180 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19181
19182 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19183 check. (Bug#4251)
19184
19185 2011-09-17 Juri Linkov <juri@jurta.org>
19186
19187 * window.el (window-safe-min-height, window-safe-min-width):
19188 Fix typos (followup to bug#9522).
19189
19190 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19191
19192 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19193
19194 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19195
19196 * simple.el (line-move): If goal-column is set, move by logical
19197 lines, not by display lines. (Bug#971)
19198 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19199 to reflect the above change.
19200
19201 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19202
19203 * image.el (imagemagick-register-types): Use regexp-opt.
19204
19205 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19206
19207 * window.el (display-buffer-base-action): Rename from
19208 display-buffer-default-action. Make default value empty.
19209 (display-buffer-overriding-action): Convert to defvar.
19210 (display-buffer-fallback-action): New var.
19211
19212 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19213
19214 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19215 declaration.
19216 (package--add-to-archive-contents): If there is a duplicate entry
19217 with an older version, remove it.
19218 (package-menu-mark-delete, package-menu-mark-install)
19219 (package-menu-mark-unmark): Make unused args optional.
19220 (package-menu-mark-obsolete-for-deletion):
19221 Use package-menu-get-status instead of a regexp search.
19222 (package-menu-get-status): Use tabulated-list-entry.
19223 (package-menu-mark-upgrades): New command.
19224 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19225 (package-menu-execute): Do installation before deletion.
19226 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19227 instead of checking major-mode.
19228 (package-menu--find-upgrades): New function.
19229
19230 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19231
19232 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19233 passwords in the log buffer.
19234 (smtpmail-process-filter): Update the process marker so that the
19235 "broken by peer" status message is inserted in the right place.
19236
19237 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19238
19239 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19240 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19241 bibtex-completion-at-point-function.
19242 (bibtex-completion-at-point-function): Use them.
19243
19244 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19245
19246 * mpc.el (mpc-constraints-tag-lookup): New function.
19247 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19248 also to browser "album|playlist".
19249
19250 2011-09-14 Juri Linkov <juri@jurta.org>
19251
19252 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19253 (isearch-edit-string): Use length of `isearch-string' when
19254 `isearch-fail-pos' returns nil.
19255 (isearch-message): Remove duplicate code and call
19256 `isearch-fail-pos' with arg `t'.
19257
19258 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19259
19260 * replace.el (occur-mode-goto-occurrence): Don't force using other
19261 window (Bug#9499).
19262
19263 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19264
19265 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19266
19267 * window.el (display-buffer-window): Remove.
19268 (display-buffer-record-window): Use help-setup window parameter
19269 instead of variable display-buffer-window.
19270 (display-buffer-function, special-display-buffer-names)
19271 (special-display-function): Mention help-setup parameter instead
19272 of display-buffer-window in doc-string.
19273 * help.el (help-window-setup): New argument help-window.
19274 Use help-window-setup parameter instead of display-buffer-window.
19275 Reword some messages.
19276 (with-help-window): Pass window used for displaying the buffer
19277 to help-window-setup. Don't set display-buffer-window.
19278
19279 2011-09-13 Glenn Morris <rgm@gnu.org>
19280
19281 * emacs-lisp/debug.el (debugger-make-xrefs):
19282 Preserve point. (Bug#9462)
19283
19284 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19285
19286 * window.el (window-deletable-p): Use next-frame.
19287
19288 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19289
19290 * window.el (window-auto-delete): Remove.
19291 (window-deletable-p): Remove argument FORCE. Don't deal with
19292 dedication and previous buffers.
19293 (switch-to-prev-buffer): Don't delete window.
19294 (delete-windows-on): Delete a window's frame if and only if the
19295 window is dedicated.
19296 (replace-buffer-in-windows): Delete buffer's window or frame if
19297 and only if window is dedicated.
19298 (quit-window): Handle quit-restore as before last change.
19299 (bury-buffer): Delete window only if window-deletable-p returns t.
19300
19301 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19302
19303 * window.el (window-deletable-p): Never delete the last frame on a
19304 given terminal.
19305
19306 2011-09-13 Glenn Morris <rgm@gnu.org>
19307
19308 * help.el (describe-key-briefly): Copy previous standard-output change.
19309
19310 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19311
19312 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19313
19314 2011-09-13 Glenn Morris <rgm@gnu.org>
19315
19316 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19317 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19318
19319 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19320
19321 * dired-aux.el (dired-mark-read-string): Don't return default
19322 value on empty input (Bug#9361).
19323 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19324 Omit initial minibuffer contents.
19325 (dired-do-chmod): Signal an error on empty input.
19326 (dired-mark-read-string): Don't return default on empty input.
19327
19328 * files.el (file-modes-symbolic-to-number): Doc fix.
19329
19330 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19331
19332 * international/mule-cmds.el (ucs-completions): Remove.
19333 (read-char-by-name): Use complete-with-action instead; add metadata.
19334
19335 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19336
19337 * window.el (display-buffer--action-function-custom-type)
19338 (display-buffer--action-custom-type): New vars.
19339 (display-buffer-alist, display-buffer-default-action)
19340 (display-buffer-overriding-action): Add defcustom types.
19341
19342 * frame.el (delete-other-frames): Doc fix (Bug#276).
19343
19344 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19345
19346 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19347
19348 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19349
19350 Change modes that used same-window-* vars to use switch-to-buffer.
19351
19352 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19353 Use switch-to-buffer.
19354
19355 * cus-edit.el (customize-group, custom-buffer-create)
19356 (customize-browse, custom-buffer-create-other-window):
19357 Use switch-to-buffer or switch-to-buffer-other-window.
19358
19359 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19360 (Info-prev, Info-up, Info-speedbar-goto-node)
19361 (info-display-manual): Use switch-to-buffer.
19362 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19363
19364 * mail/sendmail.el (mail): Use switch-to-buffer.
19365 (mail-recover): Use switch-to-buffer-other-window.
19366
19367 * cmuscheme.el (run-scheme, switch-to-scheme):
19368 * ielm.el (ielm):
19369 * shell.el (shell):
19370 * net/rlogin.el (rlogin):
19371 * net/telnet.el (telnet, rsh):
19372 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19373
19374 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19375
19376 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19377
19378 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19379
19380 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19381 so don't mention it (bug#9301).
19382 (dired-sort-toggle-or-edit): Clarify string further.
19383
19384 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19385 match `x', `w32' and `ns', like the manual says (bug#9029).
19386
19387 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19388 (process-kill-buffer-query-function): Mention the buffer name in
19389 the query.
19390
19391 * image-mode.el (image-next-line): The line parameter is mandatory
19392 (bug#9258).
19393
19394 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19395 which can be useful (bug#9301).
19396
19397 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19398
19399 * subr.el (match-string): Mention that the current buffer should
19400 be the same as the search was done in (bug#9282).
19401
19402 * facemenu.el: Disable the remove-* commands if the mark isn't
19403 active (bug#9162).
19404
19405 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19406
19407 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19408 of display-buffer.
19409 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19410
19411 * replace.el (occur-mode-goto-occurrence)
19412 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19413 and display-buffer.
19414
19415 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19416 display-buffer.
19417
19418 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19419 special-display and same-window variables.
19420 (mail-other-window): Use switch-to-buffer-other-window.
19421 (mail-other-frame): USe switch-to-buffer-other-frame.
19422
19423 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19424 Use display-buffer-other-frame.
19425 (gdb-display-gdb-buffer): Use pop-to-buffer.
19426
19427 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19428
19429 * progmodes/python.el: Don't set same-window-buffer-names.
19430
19431 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19432
19433 * window.el (display-buffer-alist): Add *Python*.
19434
19435 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19436
19437 * window.el (display-buffer-alist): Add entry for buffers
19438 previously handled same-window-*.
19439 (display-buffer-alist, display-buffer-default-action)
19440 (display-buffer-overriding-action): Mark as risky.
19441 (display-buffer-alist): Document action function changes.
19442 (display-buffer--same-window-action)
19443 (display-buffer--other-frame-action): New variables.
19444 (switch-to-buffer, display-buffer-other-frame): Use them.
19445 (display-buffer): Rename reuse-frame entry to reusable-frames.
19446 (display-buffer-reuse-selected-window): Function deleted.
19447 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19448 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19449 (display-buffer-special): New function.
19450 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19451 display-buffer-reuse-or-pop-window. Split off special-display
19452 part into display-buffer-special.
19453 (display-buffer-use-some-window): Don't perform any special
19454 pop-up-frames handling.
19455 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19456 (display-buffer--maybe-same-window): Rename from
19457 display-buffer-maybe-same-window.
19458
19459 * info.el: Don't set same-window-regexps.
19460 (info-setup): New function.
19461 (info-other-window, info): Call it.
19462
19463 * cus-edit.el: Don't set same-window-regexps.
19464 (customize-group): New argument.
19465 (customize-group-other-window): Use it.
19466 (customize-face, customize-face-other-window): Likewise.
19467 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19468
19469 * net/rlogin.el:
19470 * net/telnet.el:
19471 * progmodes/gud.el: Don't set same-window-regexps.
19472
19473 * cmuscheme.el:
19474 * ielm.el:
19475 * shell.el:
19476 * mail/sendmail.el:
19477 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19478
19479 2011-09-10 Juri Linkov <juri@jurta.org>
19480
19481 * isearch.el (isearch-edit-string): Remove obsolete mention of
19482 `C-w' (`isearch-yank-word-or-char') from docstring.
19483 (isearch-query-replace): Fix typo in docstring (bug#9466).
19484
19485 2011-09-10 Juri Linkov <juri@jurta.org>
19486
19487 * paren.el (show-paren-function): Don't show escaped parens.
19488 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19489
19490 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19491
19492 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19493 (mm-default-file-encoding): Remove autoload forms, they are
19494 replaced with autoload cookies in mml.el and mm-encode.el.
19495 (mail-add-attachment): New command.
19496 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19497 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19498 the doc string.
19499 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19500
19501 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19502
19503 * simple.el (count-words-region): Use buffer if there's no region
19504 (bug#9429).
19505
19506 2011-09-09 Juri Linkov <juri@jurta.org>
19507
19508 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19509 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19510 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19511
19512 2011-09-09 Alan Mackenzie <acm@muc.de>
19513
19514 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19515 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19516
19517 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19518
19519 Fix for Savannah bug#9392.
19520 * simple.el (mail-encode-mml): New defvar.
19521
19522 * mail/rmail.el (mail-encode-mml): Add a defvar.
19523 (rmail-enable-mime-composing): Default to t.
19524 (rmail-forward): Use MIME method of forwarding only if both
19525 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19526 Set mail-encode-mml non-nil if the MIME method was used.
19527
19528 * mail/sendmail.el (mml-to-mime): Add autoload form.
19529 (mail-encode-mml): Add a defvar.
19530 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19531 to nil.
19532 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19533 message through mml-to-mime, and reset mail-encode-mml to nil.
19534
19535 2011-09-09 Glenn Morris <rgm@gnu.org>
19536
19537 * woman.el (woman-if-body): When processing an .el block,
19538 do not delete the next .el block as well. (Bug#9447)
19539 (woman-special-characters): Add oq, cq, and hy characters.
19540
19541 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19542
19543 * window.el (window-deletable-p): Make sure window is live before
19544 invoking window-prev-buffers.
19545
19546 2011-09-08 Leo Liu <sdl.web@gmail.com>
19547
19548 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19549
19550 2011-09-08 Juri Linkov <juri@jurta.org>
19551
19552 * progmodes/compile.el (compilation-environment): Make it
19553 a defcustom (bug#8340).
19554
19555 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19556
19557 * window.el (frame-auto-delete): Rename to window-auto-delete.
19558 Make it control auto-deletion of windows and/or frames.
19559 (window-deletable-p): New argument FORCE. Rewrite conditions
19560 for deleting window/frame. (Bug#9419)
19561 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19562 Rewrite handling of case when window/frame can be deleted.
19563 (delete-windows-on): Call window-deletable-p with new FORCE
19564 argument t. (Bug#9456)
19565
19566 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19567
19568 * help-mode.el (help-mode): Restore autoload.
19569
19570 2011-09-07 Juri Linkov <juri@jurta.org>
19571
19572 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19573 `compilation-environment'. Set buffer-local
19574 `compilation-environment' to `thisenv' later after (funcall mode).
19575 (Bug#8340)
19576
19577 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19578 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19579 instead of replacing its value. (Bug#8340)
19580
19581 2011-09-07 Juri Linkov <juri@jurta.org>
19582
19583 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19584 based on text properties put by `grep-filter' instead of matching
19585 escape sequences.
19586 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19587 to the value of `grep-error-screen-columns' (bug#9438).
19588
19589 2011-09-07 Juri Linkov <juri@jurta.org>
19590
19591 * simple.el (next-error-highlight, next-error-highlight-no-select):
19592 Doc fix (bug#9432).
19593
19594 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19595
19596 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19597 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19598
19599 2011-09-07 Leo Liu <sdl.web@gmail.com>
19600
19601 * net/rcirc.el (rcirc-mode): Conditionally initialize
19602 rcirc-input-ring.
19603
19604 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19605
19606 * emacs-lisp/find-func.el (find-function-C-source): Only set
19607 find-function-C-source-directory after checking that we found a source
19608 file there (bug#9440).
19609
19610 2011-09-06 Alan Mackenzie <acm@muc.de>
19611
19612 * isearch.el (isearch-other-meta-char): Wherever a key list is
19613 unread, "unread" the prefix arg, too. This fixes bug #8901.
19614
19615 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19616
19617 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19618
19619 2011-09-05 Juri Linkov <juri@jurta.org>
19620
19621 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19622
19623 2011-09-05 Juri Linkov <juri@jurta.org>
19624
19625 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19626 keeping point where processing of grep matches begins, and
19627 continue to delete remaining escape sequences from the same point.
19628 (grep-filter): Make leading zero optional in "0?1;31m" because
19629 git-grep emits "\033[1;31m" escape sequences unlike expected
19630 "\033[01;31m" as GNU Grep does (bug#9408).
19631 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19632
19633 2011-09-05 Juri Linkov <juri@jurta.org>
19634
19635 * subr.el (y-or-n-p): Capitalize "yes".
19636
19637 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19638
19639 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19640 `tramp-cache-unload-hook' where appropriate.
19641 (tramp-methods): Rename `tramp-remote-sh' to
19642 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19643 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19644
19645 * net/tramp-sh.el (top): Don't require 'shell.
19646 (tramp-methods): Add `tramp-remote-shell' and
19647 `tramp-remote-shell-args' entries.
19648 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19649 (tramp-sh-handle-shell-command): Remove.
19650 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19651 Use `tramp-remote-shell'.
19652
19653 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19654
19655 * mail/sendmail.el (sendmail-query-once-function): Delete.
19656 (sendmail-query-once): Save directly to send-mail-function.
19657 Update message-send-mail-function too.
19658
19659 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19660
19661 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19662
19663 * progmodes/python.el (python-mode-map): Use correct function to
19664 start python interpreter from menu-bar (as reported by Geert
19665 Kloosterman).
19666 (inferior-python-mode-map): Fix typo.
19667 (python-shell-map): Remove.
19668
19669 2011-09-03 Deniz Dogan <deniz@dogan.se>
19670
19671 * net/rcirc.el (rcirc-print): Simplify code for
19672 rcirc-scroll-show-maximum-output. There is no need to walk
19673 through all windows to find the right one.
19674
19675 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19676
19677 * help.el (help-return-method): Doc fix.
19678
19679 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19680
19681 * window.el (window-deletable-p): Don't return a non-nil value
19682 when there's a buffer that was shown in the window before.
19683 (Bug#9419)
19684 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19685 Set window's previous buffers to nil.
19686
19687 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19688
19689 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19690 newline before and after the tag line, so it doesn't interfere
19691 with determining the paragraph direction of bidirectional text.
19692
19693 2011-09-03 Leo Liu <sdl.web@gmail.com>
19694
19695 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19696
19697 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19698
19699 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19700 (pop-to-buffer): Change interactive spec. Pass second argument
19701 directly to display-buffer.
19702 (display-buffer): Fix interactive spec. Use functionp to
19703 distinguish between a function and a list of functions.
19704
19705 * abbrev.el (edit-abbrevs):
19706 * arc-mode.el (archive-extract):
19707 * autoinsert.el (auto-insert):
19708 * bookmark.el (bookmark-bmenu-list):
19709 * files.el (find-file):
19710 * view.el (view-buffer):
19711 * progmodes/compile.el (compilation-goto-locus):
19712 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19713
19714 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19715
19716 * window.el (display-buffer-alist): Doc fix.
19717 (display-buffer): Add docstring. Don't treat
19718 display-buffer-default specially.
19719 (display-buffer-reuse-selected-window)
19720 (display-buffer-same-window, display-buffer-maybe-same-window)
19721 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19722 (display-buffer-pop-up-window)
19723 (display-buffer-reuse-or-pop-window)
19724 (display-buffer-use-some-window): New functions.
19725 (display-buffer-default-action): Use them.
19726 (display-buffer-default): Delete.
19727 (pop-to-buffer-1): Fix choice of actions.
19728
19729 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19730
19731 * minibuffer.el (completion--insert-strings): Don't get confused by
19732 completion entries that end with an LF char.
19733
19734 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19735
19736 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19737
19738 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19739
19740 * window.el (display-buffer): Restore interactive spec.
19741 (display-buffer-same-window, display-buffer-other-window):
19742 New functions.
19743 (pop-to-buffer-1): New function. Use the above.
19744 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19745 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19746
19747 * view.el (view-buffer-other-window, view-buffer-other-frame):
19748 Just use pop-to-buffer.
19749
19750 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19751
19752 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19753
19754 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19755
19756 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19757
19758 2011-08-31 Richard Stallman <rms@gnu.org>
19759
19760 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19761 of the separation of rmail-view-buffer from rmail-buffer.
19762 If you say no to "replace original", the decrypt is in the
19763 view buffer. If you say yes, the decrypt goes into the
19764 rmail buffer also.
19765
19766 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19767
19768 * window.el (display-buffer-window): Rewrite doc-string.
19769 (display-buffer-record-window): New function.
19770 (display-buffer-macro-specifiers)
19771 (display-buffer-even-window-sizes, display-buffer-set-height)
19772 (display-buffer-set-width, display-buffer-in-window)
19773 (display-buffer-reuse-window, display-buffer-split-specifiers)
19774 (display-buffer-side-specifiers, display-buffer-split-window-1)
19775 (display-buffer-split-window, display-buffer-split-atom-window)
19776 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19777 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19778 (display-buffer-other-window-means-other-frame)
19779 (display-buffer-normalize-special)
19780 (display-buffer-normalize-default)
19781 (display-buffer-normalize-argument)
19782 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19783 (display-buffer-normalize-specifiers, display-buffer-frame)
19784 (display-buffer-same-window, display-buffer-same-frame)
19785 (display-buffer-other-window)
19786 (display-buffer-same-frame-other-window)
19787 (display-buffer-other-frame, pop-to-buffer-same-window)
19788 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19789 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19790 (switch-to-buffer-same-frame)
19791 (switch-to-buffer-other-window-same-frame)
19792 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19793 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19794 (display-buffer-alist-set): Remove.
19795 (display-buffer-function, special-display-buffer-names)
19796 (special-display-regexps, special-display-function):
19797 In doc-string refer to display-buffer-window and quit-restore
19798 parameter.
19799 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19800 (special-display-frame-alist, special-display-popup-frame)
19801 (same-window-buffer-names, same-window-regexps, same-window-p)
19802 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19803 (split-window-preferred-function, split-height-threshold)
19804 (split-width-threshold, window-splittable-p)
19805 (split-window-sensibly, window--try-to-split-window)
19806 (window--frame-usable-p, even-window-heights)
19807 (window--even-window-heights, window--display-buffer-1)
19808 (window--display-buffer-2, display-buffer-other-frame):
19809 Restore old Emacs 23 code, order and doc-strings where applicable.
19810 (display-buffer-default, display-buffer-assq-regexp): New functions.
19811 (display-buffer-alist): Rewrite doc-string.
19812 (display-buffer-default-action)
19813 (display-buffer-overriding-action): New variables.
19814 (display-buffer, switch-to-buffer): Rewrite.
19815 (pop-to-buffer): Restore Emacs 23 behavior but use
19816 window-normalize-buffer-to-display.
19817 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19818 Restore Emacs 23 behavior but use
19819 window-normalize-buffer-to-switch-to.
19820 (pop-to-buffer-same-window): Rewrite.
19821 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19822 Rewrite using Emacs 23 options.
19823
19824 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19825
19826 * net/tramp.el (tramp-root-regexp): Remove.
19827 (tramp-completion-file-name-regexp-unified)
19828 (tramp-completion-file-name-regexp-separate)
19829 (tramp-completion-file-name-regexp-url): Don't use leading volume
19830 letter on w32 systems. (Bug#5303, Bug#9311)
19831 (tramp-drop-volume-letter): Simplify definition.
19832 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19833
19834 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19835
19836 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19837 (bug#9356).
19838
19839 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19840
19841 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19842
19843 2011-08-29 Juri Linkov <juri@jurta.org>
19844
19845 * isearch.el (isearch-done): Don't display message "Mark saved"
19846 when arg `edit' is non-nil to prevent its flicker in the echo area.
19847
19848 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19849
19850 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19851 obsolete packages for deletion.
19852
19853 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19854
19855 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19856 (help-mode): Derive help-mode from special-mode. Don't invoke
19857 view-mode from help-mode.
19858 (help-xref-override-view-map): Remove.
19859 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19860 view-mode is not used anymore.
19861
19862 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19863
19864 * server.el (server-port): Doc fix.
19865
19866 * cus-theme.el (custom-theme-choose-mode): Inherit from
19867 special-mode (Bug#9124).
19868 (custom-theme-choose-mode-map): Add special-mode to parent.
19869
19870 2011-08-28 Alan Mackenzie <acm@muc.de>
19871
19872 * progmodes/cc-fonts.el
19873 (c-make-font-lock-BO-decl-search-function): New function.
19874 (c-basic-matchers-after - "Fontify the clauses after various
19875 keywords"): Extract the three keyword lists for the 3 erroneous
19876 constructs from the list of four, and use the new function above
19877 in place of an old one.
19878
19879 2011-08-28 Deniz Dogan <deniz@dogan.se>
19880
19881 * net/rcirc.el (rcirc-insert-prev-input)
19882 (rcirc-insert-next-input): Remove unused argument.
19883
19884 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19885
19886 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19887
19888 2011-08-27 Alan Mackenzie <acm@muc.de>
19889
19890 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19891 handle function pointer parameters properly.
19892
19893 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19894
19895 * window.el (display-buffer-reuse-window): Fix case where
19896 selected window was reused with non-nil OTHER-WINDOW argument.
19897 (Bug#9381)
19898
19899 2011-08-27 Deniz Dogan <deniz@dogan.se>
19900
19901 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19902 oftc's NickServ messages.
19903
19904 2011-08-27 Glenn Morris <rgm@gnu.org>
19905
19906 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19907
19908 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19909
19910 * emacs-lisp/package.el (package-install): Call package-initialize
19911 if called interactively.
19912
19913 2011-08-26 Leo Liu <sdl.web@gmail.com>
19914
19915 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19916
19917 2011-08-25 Juri Linkov <juri@jurta.org>
19918
19919 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19920 `search-whitespace-regexp' (bug#9364).
19921
19922 2011-08-25 Juri Linkov <juri@jurta.org>
19923
19924 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19925 `regexp-search-ring' to their global values to protect from
19926 updating by `read-from-minibuffer' (bug#9185).
19927
19928 2011-08-25 Juri Linkov <juri@jurta.org>
19929
19930 * textmodes/ispell.el (ispell-command-loop): Add newline
19931 at the end of the "Use option `i'..." line.
19932
19933 2011-08-25 Juri Linkov <juri@jurta.org>
19934
19935 * battery.el (display-battery-mode): If `battery-status-function'
19936 or `battery-mode-line-format' is nil, display the message and set
19937 `display-battery-mode' to nil (bug#9363).
19938
19939 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19940
19941 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19942 bidi-string-mark-left-to-right; they are unnecessary now.
19943
19944 2011-08-25 Deniz Dogan <deniz@dogan.se>
19945
19946 * net/quickurl.el: Documentation typo fixes.
19947
19948 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19949
19950 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19951
19952 2011-08-25 Glenn Morris <rgm@gnu.org>
19953
19954 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19955
19956 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19957 (smtpmail-via-smtp): Handle nil response from smtp.
19958
19959 2011-08-24 Juri Linkov <juri@jurta.org>
19960
19961 * proced.el (proced-marked): Inherit from `error' instead of
19962 `font-lock-warning-face'.
19963
19964 * ibuffer.el (ibuffer-marked-face): Change default face from
19965 `font-lock-warning-face' to `warning'.
19966 (ibuffer-deletion-face): Change default face from
19967 `font-lock-type-face' to `error'.
19968
19969 * battery.el (battery-update): Use the face `error' instead of
19970 `font-lock-warning-face' (bug#6117).
19971
19972 2011-08-24 Juri Linkov <juri@jurta.org>
19973
19974 * faces.el (success): Change face color from "Green3" to
19975 "ForestGreen" on light background (bug#9353).
19976
19977 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19978
19979 * window.el (quit-window): Rename from quit-restore-window.
19980 Use same arglist as old quit-window.
19981 (frame-auto-delete): Doc fix.
19982
19983 * view.el (view-mode-exit): Use quit-window.
19984
19985 2011-08-24 Juri Linkov <juri@jurta.org>
19986
19987 * isearch.el (isearch-ring-adjust1): Start visiting previous
19988 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19989 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19990 for empty search string (when the last search string is reused
19991 automatically) to adjust the isearch ring to the last element and
19992 prepare the correct index for further M-p commands (bug#9185).
19993
19994 2011-08-24 Kenichi Handa <handa@m17n.org>
19995
19996 * international/ucs-normalize.el: If decomposition property of
19997 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19998 nil.
19999 (nfd, nfkd): Likewise.
20000
20001 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20002
20003 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20004 from process filters aren't reliably transmitted to the surrounding
20005 accept-process-output.
20006 (mpc-proc-check): New function.
20007 (mpc-proc-sync): Use it (bug#8293)
20008
20009 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20010
20011 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20012 Add compatibility functions (bug#9313).
20013
20014 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20015
20016 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20017
20018 * international/uni-bidi.el: Regenerate.
20019
20020 2011-08-23 Kenichi Handa <handa@m17n.org>
20021
20022 * international/charprop.el:
20023 * international/uni-bidi.el:
20024 * international/uni-category.el:
20025 * international/uni-combining.el:
20026 * international/uni-comment.el:
20027 * international/uni-decimal.el:
20028 * international/uni-decomposition.el:
20029 * international/uni-digit.el:
20030 * international/uni-lowercase.el:
20031 * international/uni-mirrored.el:
20032 * international/uni-name.el:
20033 * international/uni-numeric.el:
20034 * international/uni-old-name.el:
20035 * international/uni-titlecase.el:
20036 * international/uni-uppercase.el: Regenerate.
20037
20038 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20039
20040 * help.el (help-window-setup): Fix message displayed when other
20041 window is reused. (Bug#9341)
20042
20043 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20044
20045 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20046 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20047
20048 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20049 Mark obsolete.
20050 * shell.el (shell-parse-pcomplete-arguments): New function.
20051 (shell-completion-vars): Use it instead (bug#9160).
20052
20053 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20054
20055 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20056 strings and comments (bug#9333).
20057
20058 * emacs-lisp/debug.el (debug-arglist): New function.
20059 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20060 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20061
20062 2011-08-22 Juri Linkov <juri@jurta.org>
20063
20064 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20065 Revert regexp that highlights output switches to its old
20066 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20067
20068 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20069 to check for empty output (bug#9226).
20070
20071 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20072
20073 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20074 symbol-constituent as the default, as that stops font-lock from
20075 working properly (Bug#8843).
20076
20077 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20078
20079 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20080 `coding-system-for-*' around the process open call to avoid
20081 auth-source side effects.
20082 (smtpmail-try-auth-methods): Expand the secret password.
20083 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20084 probe hangs.
20085
20086 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20087
20088 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20089
20090 * emacs-lisp/find-func.el (find-function-noselect): New arg
20091 lisp-only.
20092
20093 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20094 signal an error for built-in functions (Bug#6664).
20095
20096 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20097
20098 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20099 (smtpmail-try-auth-methods): Use it.
20100
20101 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20102
20103 * font-lock.el (font-lock-fontify-region)
20104 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20105 (font-lock-default-unfontify-buffer)
20106 (font-lock-default-fontify-region)
20107 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20108
20109 * progmodes/compile.el (compilation-error-properties):
20110 Fix confusion between file struct and message struct (Bug#9319).
20111 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20112 `ant' regexp.
20113
20114 * net/browse-url.el (browse-url-firefox): Don't call
20115 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20116
20117 2011-08-20 Glenn Morris <rgm@gnu.org>
20118
20119 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20120
20121 * tutorial.el (tutorial--default-keys): Update some default bindings.
20122
20123 * files.el (hack-local-variables): Fully ignore case for "mode:".
20124
20125 2011-08-20 Alan Mackenzie <acm@muc.de>
20126
20127 Resolve invalid use of a regexp in regexp-opt.
20128
20129 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20130 detection for a java annotation.
20131
20132 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20133 detection for a java annotation.
20134
20135 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20136 handling for java.
20137 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20138
20139 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20140
20141 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20142 (Bug#9274).
20143
20144 2011-08-20 Alan Mackenzie <acm@muc.de>
20145
20146 Fontify CPP expressions correctly when starting in the middle of
20147 such a construct. Mainly for when jit-lock etc. starts a chunk
20148 here.
20149
20150 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20151 variable.
20152 (c-make-font-lock-search-form): New function, extracted from
20153 c-make-font-lock-search-function.
20154 (c-make-font-lock-search-function): Use the above function.
20155 (c-make-font-lock-context-search-function): New function.
20156 (c-cpp-matchers): Enhance the preprocessor expression case with
20157 the above function
20158 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20159 which takes an expression.
20160
20161 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20162
20163 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20164
20165 * window.el (display-buffer-reuse-window)
20166 (display-buffer-pop-up-window): Don't reuse or split a side
20167 window.
20168
20169 2011-08-19 Glenn Morris <rgm@gnu.org>
20170
20171 * files.el (hack-local-variables-prop-line, hack-local-variables):
20172 Downcase "Mode:". (Bug#9331)
20173
20174 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20175
20176 * international/characters.el: Add L and R categories.
20177
20178 * subr.el (bidi-string-mark-left-to-right): Rename from
20179 string-mark-left-to-right. Use category search.
20180
20181 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20182
20183 2011-08-18 Juri Linkov <juri@jurta.org>
20184
20185 * faces.el (error, warning, success): New faces with definitions
20186 copied from old default values of `font-lock-warning-face',
20187 `compilation-warning', `compilation-info' (bug#6117).
20188
20189 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20190
20191 * progmodes/compile.el (compilation-error): Inherit from `error'.
20192 (compilation-warning): Inherit from `warning'.
20193 (compilation-info): Inherit from `success'.
20194
20195 * dired.el (dired-marked): Inherit from `warning'.
20196 (dired-flagged): Inherit from `error'.
20197
20198 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20199
20200 * mail/smtpmail.el (auth-source): Require to avoid problems with
20201 binding variables (bug#9298). Also clean up some unused
20202 autoloads.
20203
20204 * net/network-stream.el (network-stream-open-starttls):
20205 Support using starttls.el without using gnutls-cli.
20206
20207 2011-08-17 Juri Linkov <juri@jurta.org>
20208
20209 * progmodes/grep.el (rgrep): Handle the case when
20210 `grep-find-command' is a cons cell (bug#9278).
20211
20212 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20213
20214 * window.el (display-buffer-pop-up-frame): Run frame creation
20215 function with BUFFER current (as special-display-popup-frame
20216 does). Reported by Drew Adams.
20217
20218 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20219
20220 * epa-mail.el: Simplify GnuPG group expansion using
20221 epg-expand-group.
20222 (epa-mail-group-alist, epa-mail-group-modtime)
20223 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20224 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20225 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20226 Remove.
20227
20228 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20229
20230 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20231
20232 2011-08-16 Alan Mackenzie <acm@muc.de>
20233
20234 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20235 Correct, to avoid the inside of macros.
20236
20237 2011-08-16 Richard Stallman <rms@gnu.org>
20238
20239 * epa-mail.el: Handle GnuPG group definitions.
20240 (epa-mail-group-alist, epa-mail-group-modtime)
20241 (epa-mail-gnupg-conf-file): New variables.
20242 (epa-mail-parse-groups, epa-mail-sync-groups)
20243 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20244 (epa-mail-expand-recipients): New functions.
20245 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20246
20247 * mail/rmail.el (rmail-epa-decrypt): New command.
20248
20249 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20250 Don't bind buffer-read-only, just inhibit-read-only.
20251 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20252 (epa-decrypt-armor-in-region): Make error message clearer.
20253
20254 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20255
20256 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20257 and "a2b" to "ab" for `prefix'.
20258
20259 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20260
20261 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20262 filter groups.
20263 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20264 Fourquet (Bug#8804).
20265
20266 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20267
20268 * startup.el (argi): Declare as global variable (bug#9275).
20269
20270 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20271
20272 * subr.el (string-mark-left-to-right): Search the entire string
20273 for RTL script, not just the terminating character. Doc fix.
20274
20275 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20276
20277 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20278 New function.
20279 (js--regexp-literal, js-syntax-propertize-function): Remove.
20280 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20281 (js-mode-map): Don't rebind electric keys.
20282 (js-insert-and-indent): Remove.
20283 (js-mode): Setup electric-layout and electric-indent instead.
20284
20285 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20286
20287 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20288
20289 * epa.el (epa-progress-callback-function): Fix the logic of
20290 displaying progress.
20291 * epa-file.el (epa-file-insert-file-contents): Make progress
20292 display more user-friendly.
20293 (epa-file-write-region): Ditto.
20294
20295 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20296
20297 * subr.el (string-mark-left-to-right): New function.
20298
20299 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20300 Use string-mark-left-to-right.
20301 (list-buffers-noselect): Caller changed.
20302
20303 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20304 Use string-mark-left-to-right.
20305 (tabulated-list-print): Recenter after moving point.
20306
20307 2011-08-10 Juri Linkov <juri@jurta.org>
20308
20309 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20310 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20311 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20312
20313 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20314
20315 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20316 (Bug#7554).
20317
20318 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20319
20320 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20321 character. (Bug#6594)
20322
20323 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20324
20325 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20326 (image-dired--with-db-file): New macro.
20327 (image-dired-write-tags, image-dired-remove-tag)
20328 (image-dired-create-gallery-lists, image-dired-write-comments)
20329 (image-dired-get-comment, image-dired-mark-tagged-files)
20330 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20331 (image-dired-gallery-generate): Use insert-file-contents.
20332
20333 * time.el (display-time-world-list, display-time-world-display):
20334 * time-stamp.el (time-stamp-string):
20335 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20336 set-time-zone-rule (Bug#7337).
20337
20338 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20339
20340 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20341 (epg-error-to-string, epg-errors-to-string): New function.
20342 (epg-wait-for-completion): Reverse errors list.
20343 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20344 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20345 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20346 (epg-sign-keys, epg-generate-key-from-file)
20347 (epg-generate-key-from-string): Format errors by using
20348 epg-errors-to-string (bug#9255).
20349 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20350
20351 2011-08-07 Juri Linkov <juri@jurta.org>
20352
20353 * faces.el (list-faces-display): Remove extra angle bracket
20354 from `help-mode-map'.
20355
20356 * info.el (Info-history-toc-nodes): Doc fix.
20357
20358 * longlines.el (longlines-mode): Doc fix.
20359
20360 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20361
20362 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20363 of statements and in a few more cases (bug#9183).
20364
20365 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20366 New functions.
20367 (cl-transform-lambda): Use them (bug#9239).
20368
20369 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20370
20371 * window.el (display-buffer-same-window)
20372 (display-buffer-same-frame, display-buffer-other-window)
20373 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20374 (pop-to-buffer-other-window)
20375 (pop-to-buffer-same-frame-other-window)
20376 (pop-to-buffer-other-frame): Make them defuns.
20377 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20378
20379 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20380
20381 * subr.el (make-composed-keymap): Move from C. Change calling
20382 convention, and improve docstring to bring attention to a subtle point.
20383 * minibuffer.el (completing-read-default): Adjust accordingly.
20384
20385 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20386
20387 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20388 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20389
20390 * net/trampver.el: Update release number.
20391
20392 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20393
20394 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20395 "in" (bug#9190).
20396
20397 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20398
20399 * mail/sendmail.el (sendmail-query-once): Restore the current
20400 buffer after querying (bug#9074).
20401
20402 * dired.el (dired-flagged): Use different faces for marked and
20403 flagged files (bug#6117).
20404
20405 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20406 (bug#4433).
20407
20408 * ido.el (ido-mode): Switch off the message if called
20409 non-interactively.
20410
20411 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20412 before 587, since it appears that that's more likely to work for
20413 more people.
20414
20415 * cus-edit.el (custom-file): When running under emacs -q, always
20416 refuse to save the customizations, even if the .emacs file doesn't
20417 exist.
20418
20419 * info.el: Remove the `Info-beginning-of-buffer' function
20420 (bug#8325).
20421
20422 * net/network-stream.el (network-stream-open-starttls):
20423 Use `starttls-available-p' to see whether starttls.el can be used.
20424
20425 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20426
20427 * window.el (display-buffer-in-window): Don't set dedicated status
20428 of window here (Bug#9215).
20429 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20430 (display-buffer-pop-up-side-window)
20431 (display-buffer-in-side-window): Set dedicated status of window here.
20432
20433 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20434
20435 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20436 before binding generated-autoload-file.
20437
20438 2011-08-01 Deniz Dogan <deniz@dogan.se>
20439
20440 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20441
20442 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20443
20444 Sync with Tramp 2.2.2.
20445
20446 * net/trampver.el: Update release number.
20447
20448 2011-07-30 Juri Linkov <juri@jurta.org>
20449
20450 * dired-aux.el (dired-touch-initial): Remove function.
20451 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20452 current time, and `default' to the last modification time of the
20453 current marked file (bug#6887).
20454
20455 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20456
20457 * simple.el (goto-line): Use string-to-number to provide a
20458 numeric argument to read-number (bug#9163).
20459
20460 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20461
20462 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20463 connection process, it could be nil.
20464
20465 2011-07-27 Leo Liu <sdl.web@gmail.com>
20466
20467 Simplify url handling in rcirc-mode.
20468
20469 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20470 (rcirc-browse-url-at-mouse): Remove.
20471 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20472
20473 2011-07-26 Alan Mackenzie <acm@muc.de>
20474
20475 Fontify bitfield declarations properly.
20476
20477 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20478 (c-symbol-chars): Now exported as a lang variable.
20479 (c-not-primitive-type-keywords): New lang variable.
20480
20481 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20482 QT keyword "more" to prevent "more slots: ...." being spuriously
20483 parsed as a bitfield declaration.
20484
20485 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20486 Refactor and enhance to handle bitfield declarations.
20487 (c-punctuation-in): New function.
20488 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20489 declarations properly.
20490
20491 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20492
20493 * calendar/icalendar.el (icalendar--all-events): Take care of
20494 multiple vcalendars in a single file.
20495 (icalendar--convert-float-to-ical): Checkdoc fixes.
20496
20497 2011-07-25 Deniz Dogan <deniz@dogan.se>
20498
20499 * image.el (insert-image): Clarifying docstring.
20500
20501 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20502
20503 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20504 `tramp-send-command-and-check' if there is no error.
20505 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20506
20507 2011-07-22 Alan Mackenzie <acm@muc.de>
20508
20509 Prevent cc-langs.elc being loaded at run time.
20510
20511 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20512 cc-langs.
20513
20514 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20515 "(require 'cc-langs)". Quote a form so it will evaluate at
20516 (cc-mode's) compilation time.
20517
20518 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20519
20520 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20521 loading. (Bug#9114)
20522
20523 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20524
20525 * window.el (display-buffer-pop-up-window)
20526 (display-buffer-pop-up-side-window)
20527 (display-buffer-in-side-window): Call display-buffer-set-height
20528 and display-buffer-set-width after setting the new window's
20529 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20530
20531 2011-07-20 Sam Steingold <sds@gnu.org>
20532
20533 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20534 (etags-tags-included-tables): Call `convert-standard-filename' on
20535 the file names contained in TAGS so that windows Emacs can handle
20536 TAGS files created by cygwin ctags.
20537
20538 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20539
20540 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20541 which apparently didn't work.
20542
20543 2011-07-19 Roland Winkler <winkler@gnu.org>
20544
20545 * proced.el (proced-send-signal): For *Marked Processes* buffer
20546 put point at beginning of buffer.
20547
20548 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20549
20550 * proced.el (proced-format): Make header lines align with the text
20551 (bug#1779).
20552
20553 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20554
20555 * view.el (view-buffer): Allow running in `special' modes if we're
20556 visiting a file (bug#8615).
20557
20558 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20559
20560 * window.el (display-buffer-alist-of-strings-p)
20561 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20562 New functions.
20563 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20564 more accurately.
20565
20566 2011-07-18 Alan Mackenzie <acm@muc.de>
20567
20568 Fontify declarators properly when, e.g., a jit-lock chunk begins
20569 inside a declaration.
20570
20571 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20572
20573 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20574 New function.
20575 (c-complex-decl-matchers): Insert reference to
20576 c-font-lock-enclosing-decls.
20577
20578 * progmodes/cc-engine.el (c-backward-single-comment):
20579 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20580 to nil around calls to (forward-comment -1).
20581
20582 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20583
20584 * image.el (put-image): Doc typo fix.
20585
20586 * progmodes/etags.el (tags-search): Doc typo fix.
20587
20588 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20589 password if we get errors 550 to 554.
20590
20591 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20592
20593 * net/gnutls.el (gnutls-log-level): Remove.
20594
20595 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20596 indentation character (bug#6380).
20597
20598 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20599
20600 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20601 to clarify what the problem is (bug#4291).
20602
20603 * simple.el (current-kill): Clarify what
20604 `interprogram-paste-function' does (bug#7500).
20605 (auto-fill-mode): Document `auto-fill-function' in relation to
20606 `auto-fill-mode' (bug#2470).
20607
20608 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20609
20610 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20611 method if slot is read-only (bug#9035).
20612
20613 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20614
20615 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20616 * window.el (pop-to-buffer): Select window used even if it was
20617 selected before, see discussion of (Bug#8615), (Bug#6954).
20618 Pass argument NORECORD on to select-frame-set-input-focus.
20619
20620 2011-07-15 Glenn Morris <rgm@gnu.org>
20621
20622 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20623 Respect help-form.
20624
20625 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20626
20627 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20628 (gnutls-negotiate): Use it.
20629
20630 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20631
20632 * net/gnutls.el (gnutls-negotiate):
20633 Upcase `gnutls-algorithm-priority'.
20634
20635 2011-07-15 Glenn Morris <rgm@gnu.org>
20636
20637 * jka-compr.el (jka-compr-verbose): Move from here...
20638 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20639 Add missing :version tag.
20640 * info.el: No need to require jka-compr when compiling.
20641
20642 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20643
20644 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20645 (gnutls-negotiate): Use it.
20646
20647 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20648
20649 * info.el (Info-beginning-of-buffer): New command.
20650 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20651 announcing `b' as the key (bug#8325).
20652 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20653
20654 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20655
20656 * international/mule-cmds.el
20657 (describe-specified-language-support): Make the error message
20658 clearer (bug#8905).
20659
20660 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20661
20662 * isearch.el (isearch-barrier): Add a doc string, since it's
20663 mentioned in a function doc string (bug#8678).
20664
20665 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20666
20667 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20668 buffer argument (Bug#9083) and self-identifying label argument.
20669
20670 2011-07-15 Glenn Morris <rgm@gnu.org>
20671
20672 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20673
20674 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20675
20676 * man.el (Man-fontify-manpage): Fix message when formatting the
20677 man page (bug#7929).
20678
20679 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20680
20681 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20682 argument LRM; if non-nil, append an invisible LRM character to the
20683 buffer name.
20684 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20685 last argument non-nil, when formatting buffer names.
20686 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20687 paragraph direction.
20688
20689 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20690
20691 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20692 the man page name (bug#7929).
20693
20694 * image.el (put-image): Mention the `put-image' overlay property
20695 (bug#7834).
20696
20697 * scroll-bar.el (set-scroll-bar-mode): Mention that
20698 `scroll-bar-mode' lists the values (bug#7772).
20699
20700 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20701 command (bug#7729).
20702
20703 * rect.el (apply-on-rectangle): Return the point after the last
20704 operation.
20705 (string-rectangle): Go to the point after the last operation
20706 (bug#7522).
20707
20708 * printing.el (pr-toggle-region): Clarify the documentation
20709 slightly (bug#7493).
20710
20711 * time.el (display-time-update):
20712 Allow `display-time-mail-function' to return nil (bug#7158).
20713 Fix suggested by Detlev Zundel.
20714
20715 * vc/diff.el (diff): Clarify the order the file names are read
20716 (bug#7111).
20717
20718 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20719 the doc string (bug#7015).
20720
20721 * font-lock.el (font-lock-maximum-decoration): Mention what
20722 numeric levels mean (bug#6935).
20723
20724 * startup.el (initial-buffer-choice): Don't mention the `none'
20725 selection, which is against policy.
20726
20727 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20728
20729 * window.el (display-buffer-normalize-special):
20730 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20731
20732 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20733
20734 * subr.el (version<, version<=, version=): Mention "-CVS" and
20735 "-12345" alpha version numbers.
20736
20737 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20738
20739 * bindings.el: Add advertised binding for set-mark-command
20740 (Bug#5772).
20741
20742 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20743
20744 * bindings.el (mode-line-other-buffer):
20745 * bookmark.el (bookmark-bmenu-2-window):
20746 * bs.el (bs-cycle-next, bs-cycle-previous):
20747 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20748 switch-to-buffer.
20749
20750 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20751 Delete.
20752
20753 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20754
20755 * follow.el (follow-debug-message, follow-redisplay):
20756 * jka-cmpr-hook.el (with-auto-compression-mode):
20757 Fix typos in docstrings.
20758
20759 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20760
20761 * subr.el (with-silent-modifications): Clarify somewhat what the
20762 macro inhibits (bug#6525).
20763
20764 * simple.el (eval-expression): Note what it does if called
20765 interactively (bug#6495).
20766
20767 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20768
20769 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20770 Use pop-to-buffer buffer-or-name if it is nil.
20771
20772 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20773 Remove switch-to-buffer.
20774
20775 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20776
20777 * files.el (make-directory): Clarify that an error will be raised
20778 if there's an error (bug#6397).
20779
20780 * startup.el (initial-buffer-choice): Add `none' as a choice
20781 (bug#6234).
20782
20783 * subr.el (add-hook): Clarify section about buffer-local hooks
20784 (bug#6218).
20785
20786 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20787
20788 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20789
20790 * tabify.el (untabify): Preserve the current column so that point
20791 doesn't move (bug#6032).
20792
20793 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20794
20795 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20796 Rewrite to avoid awkward possessive "s" (bug#5986).
20797
20798 2011-07-13 Glenn Morris <rgm@gnu.org>
20799
20800 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20801 (dired-insert-directory): Give a message the first time
20802 if ls is found not to support --dired.
20803
20804 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20805
20806 * simple.el (toggle-truncate-lines): Clarify what is toggled
20807 (bug#5580). Text by Drew Adams.
20808
20809 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20810
20811 * simple.el (blink-matching-open): Make the error message from the
20812 last change less verbose.
20813
20814 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20815
20816 * font-lock.el (font-lock-comment-face): Use the high contrast
20817 "yellow" color for font-lock-comment-face on low color terminals
20818 using a dark background color (bug#4221).
20819
20820 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20821
20822 * dired.el (dired-insert-set-properties): Make the doc string
20823 reflect what it does now (bug#5325).
20824
20825 * simple.el (blink-matching-open): Say that we were unable to find
20826 the match within the limit, if we're limited (bug#5122).
20827
20828 * international/mule-cmds.el (prefer-coding-system): Add an
20829 example (bug#4869).
20830
20831 * progmodes/etags.el (tags-search): Document `file-list-form'
20832 (bug#4731).
20833
20834 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20835
20836 * net/browse-url.el (browse-url-default-browser)
20837 (browse-url-browser-function): Make the default browser choice a
20838 bit more logical (bug#4300). Also clean up the doc string.
20839
20840 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20841
20842 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20843 binary endings (bug#4440).
20844
20845 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20846
20847 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20848 which can be pretty annoying (bug#8971).
20849
20850 * jka-compr.el (jka-compr-verbose): New variable, and use
20851 throughout (bug#8971).
20852
20853 * info.el (Info-find-file): Fall back on the installation
20854 directory if we can't find the info node anywhere else.
20855
20856 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20857
20858 * vc/vc.el (vc-revert-file):
20859 Don't set file time-stamp in the past. (Bug#5181)
20860
20861 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20862
20863 * files.el (after-find-file): Give a better error message when
20864 trying to find a symlink that points to a file that doesn't exist
20865 (bug#4398).
20866
20867 * progmodes/cc-vars.el: Remove (probably) misleading comment
20868 (bug#4396).
20869
20870 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20871
20872 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20873
20874 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20875
20876 * mouse-sel.el: Hack restoring functionality, while keeping
20877 compatibility with 2010-07-03 changes to mouse selection.
20878 (mouse-sel-primary-overlay): New var.
20879 (mouse-sel-selection-alist): Use it.
20880 (mouse-sel-mode): Doc fix; remove points that are default features
20881 of mouse.el.
20882
20883 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20884
20885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20886 Fix previous fix (bug#2490).
20887
20888 2011-07-12 Roland Winkler <winkler@gnu.org>
20889
20890 * textmodes/bibtex.el (bibtex-initialize):
20891 Use pop-to-buffer-same-window.
20892 (bibtex-search-entries): Fix interactive call.
20893
20894 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20895
20896 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20897 Fontise bytecomp Error lines more correctly (bug#2490).
20898 Fix suggested by Johan Bockgård.
20899
20900 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20901
20902 * dired-x.el (dired-guess-default): Use `delete-dups'.
20903
20904 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20905
20906 * dired.el (dired-mark-prompt):
20907 * dired-aux.el (dired-read-shell-command): Doc fix.
20908
20909 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20910
20911 * mail/sendmail.el (sendmail-query-once):
20912 Use `customize-save-variable' unconditionally, now that it works under
20913 emacs -Q.
20914
20915 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20916
20917 * cus-edit.el (custom-file): Take an optional no-error variable.
20918 (customize-save-variable): Set the variable, and give a warning if
20919 running under "emacs -q".
20920
20921 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20922
20923 * loadhist.el (unload-feature-special-hooks):
20924 Add `auto-coding-functions', `fill-nobreak-predicate' and
20925 `find-directory-functions' (bug#5327).
20926
20927 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20928
20929 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20930
20931 * cus-edit.el (custom-guess-name-alist): -alist variables should
20932 use the `alist' type (bug#3120). Suggested by Drew Adams.
20933
20934 * printing.el: Add documentation to all the `pr-toggle-' commands.
20935
20936 2011-07-11 Leo Liu <sdl.web@gmail.com>
20937
20938 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20939 backends where it makes sense (bug#2623).
20940
20941 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20942
20943 * dired-x.el (dired-guess-default): Remove duplicate shell command
20944 entries (bug#2028).
20945 (dired-guess-default): Fix grammar in doc string (bug#2028).
20946 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20947
20948 * subr.el (remove-duplicates): New conveniency function.
20949
20950 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20951
20952 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20953 (bug#1526).
20954
20955 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20956
20957 * window.el (display-buffer-normalize-default): Don't invert
20958 meaning of even-window-heights. Reported by Eli Zaretskii
20959 <eliz@gnu.org>.
20960
20961 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20962
20963 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20964
20965 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20966
20967 * window.el (display-buffer): Fix arguments to
20968 display-buffer-reuse-window in last change.
20969
20970 * faces.el (link): Use a less saturated blue on light backgrounds.
20971
20972 * startup.el (fancy-startup-text, fancy-about-text)
20973 (fancy-startup-tail): Use font-lock faces, for background safety.
20974
20975 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20976
20977 * emulation/viper-cmd.el (viper-change-state-to-vi):
20978 Limit triggering of abbrev expansion (Bug#9038).
20979
20980 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20981
20982 * window.el (display-buffer-default-specifiers): Remove.
20983 (display-buffer-macro-specifiers): Remove default specifiers.
20984 (display-buffer-alist): Default to nil.
20985 (display-buffer-reuse-window): New optional argument other-window.
20986 (display-buffer-pop-up-window): Allow splitting internal
20987 windows. Check whether a live window was created.
20988 (display-buffer-other-window-means-other-frame)
20989 (display-buffer-normalize-arguments): Rename to
20990 display-buffer-normalize-argument and rewrite. Set the
20991 other-window specifier.
20992 (display-buffer-normalize-special): New function.
20993 (display-buffer-normalize-options): Rename to
20994 display-buffer-normalize-default and rewrite.
20995 (display-buffer-normalize-options-inhibit): Remove.
20996 (display-buffer-normalize-specifiers): Rewrite.
20997 (display-buffer): Process other-window specifier and call
20998 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20999 more faithfully.
21000 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21001 (display-buffer-alist-set): Don't handle 'unset default values.
21002 (display-buffer-in-window, display-buffer-alist-set):
21003 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21004 <tassilo@member.fsf.org>.
21005
21006 2011-07-09 Leo Liu <sdl.web@gmail.com>
21007
21008 * register.el (insert-register): Restore accidental change on
21009 2011-06-26. (Bug#9028)
21010
21011 2011-07-09 Glenn Morris <rgm@gnu.org>
21012
21013 * subr.el (remq): Handle the empty list. (Bug#9024)
21014
21015 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21016
21017 * mail/sendmail.el (send-mail-function): No longer delay custom
21018 initialization.
21019 * custom.el (custom-initialize-delay): Doc fix.
21020
21021 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21022
21023 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21024
21025 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21026
21027 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21028 human-friendly prompt.
21029
21030 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21031
21032 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21033 provided by a particular plugin.
21034
21035 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21036
21037 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21038 save customizations (with "emacs -Q"), just set the variable
21039 instead of erroring out.
21040
21041 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21042
21043 2011-07-08 Juri Linkov <juri@jurta.org>
21044
21045 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21046 (archive-zip-update-case): Use 7z if found by `executable-find'.
21047 The order of searching the available programs is the same as in
21048 `archive-zip-extract' (bug#8968).
21049
21050 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21051
21052 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21053 (menu-bar-options-menu): Tweak descriptions.
21054
21055 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21056
21057 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21058 menu items into verb phrases (bug#1421). Also refill to fit under
21059 80 columns.
21060
21061 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21062
21063 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21064 (Info-read-node-name): Doc fix (Bug#1084).
21065
21066 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21067 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21068 (end-of-sexp, beginning-of-sexp)
21069 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21070 (forward-symbol, forward-same-syntax, word-at-point)
21071 (sentence-at-point): Doc fix (Bug#1144).
21072
21073 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21074
21075 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21076 should cover it (bug#1281).
21077
21078 * cus-edit.el (custom-show): Mark as obsolete.
21079
21080 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21081 negotiation fails, then possibly try again with a non-encrypted
21082 connection (bug#9017).
21083
21084 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21085 be used.
21086
21087 2011-07-07 Richard Stallman <rms@gnu.org>
21088
21089 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21090 property, and handle its changed format.
21091 Look for the correct line number.
21092 Use file's line contents (but not past first =) to find
21093 correct line in message.
21094
21095 2011-07-07 Kenichi Handa <handa@m17n.org>
21096
21097 * international/characters.el (build-unicode-category-table):
21098 Delete it.
21099 (unicode-category-table): Set it by unicode-property-table-internal.
21100
21101 * international/mule-cmds.el (char-code-property-alist): Move to
21102 to src/chartab.c.
21103 (get-char-code-property): Call unicode-property-table-internal to
21104 load a file. Call get-unicode-property-internal where necessary.
21105 (put-char-code-property): Call unicode-property-table-internal to
21106 load a file. Call put-unicode-property-internal where necessary.
21107 put-unicode-property-internal where necessary.
21108 (char-code-property-description):
21109 Call unicode-property-table-internal to load a file.
21110
21111 * international/charprop.el:
21112 * international/uni-bidi.el:
21113 * international/uni-category.el:
21114 * international/uni-combining.el:
21115 * international/uni-comment.el:
21116 * international/uni-decimal.el:
21117 * international/uni-decomposition.el:
21118 * international/uni-digit.el:
21119 * international/uni-lowercase.el:
21120 * international/uni-mirrored.el:
21121 * international/uni-name.el:
21122 * international/uni-numeric.el:
21123 * international/uni-old-name.el:
21124 * international/uni-titlecase.el:
21125 * international/uni-uppercase.el: Regenerate.
21126
21127 * loadup.el: Load international/charprop.el before
21128 international/characters.
21129
21130 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21131
21132 * window.el (next-buffer, previous-buffer): Signal an error if
21133 called from a minibuffer window.
21134
21135 * bindings.el: Revert 2011-07-04 change.
21136
21137 2011-07-06 Richard Stallman <rms@gnu.org>
21138
21139 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21140 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21141 Treat markers like ints.
21142 (rmail-mime-entity): Doc fix.
21143
21144 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21145
21146 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21147 defcustom again for backwards compatibility.
21148
21149 * simple.el (shell-command-on-region): Fill.
21150
21151 * dired-aux.el (dired-kill-line): Add a doc string.
21152
21153 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21154 to "\\sw\\|\\s_" (bug#358).
21155
21156 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21157 (dired-unmark-backward): Ditto.
21158 (dired-flag-backup-files): Ditto.
21159
21160 * dired-x.el (dired-mark-sexp): Ditto.
21161
21162 2011-07-06 Richard Stallman <rms@gnu.org>
21163
21164 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21165 (rmail-mime-entity): New arg TRUNCATED.
21166 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21167 New functions.
21168 (rmail-mime-save): Warn if entity is truncated.
21169 (rmail-mime-toggle-hidden): Likewise, for showing.
21170 (rmail-mime-process-multipart): Record when an entity is truncated.
21171
21172 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21173 if ENTITY is a string.
21174
21175 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21176
21177 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21178 of faces when `M-C-x'-ing their definitions (bug#8378).
21179 Also clean up the code slightly.
21180
21181 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21182 because that makes the colors go away.
21183
21184 * mail/sendmail.el (send-mail-function): Change the default to
21185 `sendmail-query-once'.
21186 (sendmail-query-once): Add an autoload cookie.
21187
21188 * net/network-stream.el (network-stream-open-starttls): Try using
21189 a plain connection even if the server offered STARTTLS, and we
21190 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21191 capability. This should make smtpmail.el work in slightly more
21192 configurations.
21193
21194 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21195
21196 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21197 New defun.
21198 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21199
21200 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21201
21202 * progmodes/sql.el: Version 3.0
21203 (sql-product-alist): Add product :completion-object,
21204 :completion-column, and :statement attributes.
21205 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21206 (sql-mode-syntax-table): Mark all punctuation.
21207 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21208 ansi keywords.
21209 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21210 (sql-mode-oracle-font-lock-keywords): Improve.
21211 (sql-oracle-show-reserved-words): New function for development.
21212 (sql-product-font-lock): Simplify for source code buffers.
21213 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21214 New functions.
21215 (sql-highlight-product): Set product specific syntax table.
21216 (sql-mode-map): Add statement movement functions.
21217 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21218 New variable.
21219 (sql-statement-regexp, sql-beginning-of-statement)
21220 (sql-end-of-statement, sql-signum): New functions.
21221 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21222 (sql-show-sqli-buffer): Bug fix.
21223 (sql-interactive-mode): Store connection data as buffer local.
21224 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21225 with sql-interactive-mode.
21226 (sql-save-connection): Save buffer local settings.
21227 (sql-connection-menu-filter): Change menu entry name.
21228 (sql-product-interactive): Bug fix.
21229 (sql-preoutput-hold): New variable.
21230 (sql-interactive-remove-continuation-prompt): Bug fixes.
21231 (sql-debug-redirect): New variable.
21232 (sql-str-literal): New function.
21233 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21234 Redesign.
21235 (sql-oracle-save-settings, sql-oracle-restore-settings)
21236 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21237 (sql-completion-object, sql-completion-column)
21238 (sql-completion-sqlbuf): New variables.
21239 (sql-build-completions-1, sql-build-completions)
21240 (sql-try-completion): New functions.
21241 (sql-read-table-name): Use them.
21242 (sql-contains-names): New buffer local variable.
21243 (sql-list-all, sql-list-table): Use it.
21244 (sql-oracle-completion-types): New variable.
21245 (sql-oracle-completion-object, sql-sqlite-completion-object)
21246 (sql-postgres-completion-object): New functions.
21247
21248 2011-07-06 Glenn Morris <rgm@gnu.org>
21249
21250 * window.el (pop-to-buffer): Doc fix.
21251
21252 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21253
21254 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21255
21256 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21257
21258 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21259
21260 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21261
21262 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21263
21264 * button.el (button): Inherit from link face. Suggested by Dan
21265 Nicolaescu.
21266
21267 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21268
21269 * progmodes/gdb-mi.el: Fit in 80 columns.
21270 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21271 switch-to-buffer.
21272
21273 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21274 if imenu is simply not configured (bug#8941).
21275
21276 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21277
21278 * allout.el (allout-post-undo-hook): New allout outline-change
21279 event hook to signal undo activity.
21280 (allout-post-command-business): Run allout-post-undo-hook if an
21281 undo just occurred.
21282 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21283 * allout-widgets.el (allout-widgets-after-undo-function):
21284 Ensure the integrity of the current item's decoration after it has been
21285 in the vicinity of an undo.
21286 (allout-widgets-mode): Include allout-widgets-after-undo-function
21287 on the new allout-post-undo-hook.
21288
21289 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21290
21291 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21292 Let define-derived-mode define it.
21293 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21294 cycles of abbrev-table inheritance (bug#8998).
21295
21296 2011-07-05 Roland Winkler <winkler@gnu.org>
21297
21298 * textmodes/bibtex.el: Add support for biblatex.
21299 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21300 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21301 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21302 (bibtex-entry-alist, bibtex-field-alist): New variables.
21303 (bibtex-entry-field-alist): Obsolete alias for
21304 bibtex-BibTeX-entry-alist.
21305 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21306 (bibtex-set-dialect): New command.
21307 (bibtex-entry-type, bibtex-entry-head)
21308 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21309 Bind via bibtex-set-dialect.
21310 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21311 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21312 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21313 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21314 Define via bibtex-set-dialect.
21315 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21316 Obey bibtex-no-opt-remove-re.
21317 (bibtex-vec-push, bibtex-vec-incr): New functions.
21318 (bibtex-format-entry, bibtex-field-list)
21319 (bibtex-print-help-message, bibtex-validate)
21320 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21321
21322 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21323
21324 * progmodes/compile.el (compilation-goto-locus):
21325 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21326 * bs.el (bs-cycle-next, bs-cycle-previous):
21327 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21328 * bindings.el (mode-line-other-buffer):
21329 * autoinsert.el (auto-insert):
21330 * arc-mode.el (archive-extract):
21331 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21332
21333 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21334
21335 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21336 Fix check of `emacs-lock-unlockable-modes'.
21337 Coerce true values of `emacs-lock--try-unlocking' to t.
21338
21339 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21340
21341 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21342 * emacs-lock.el: New file.
21343
21344 2011-07-05 Julien Danjou <julien@danjou.info>
21345
21346 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21347 than `boundp' to check if face is set.
21348
21349 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21350
21351 * register.el (registerv-make):
21352 * window.el (window-min-height): Fix typos in docstrings.
21353
21354 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21355
21356 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21357 Update doc string.
21358
21359 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21360
21361 * server.el (server-execute): Catch quit and call
21362 `server-return-error' to pass the error back to emacsclient and
21363 close the connection (bug#8942).
21364
21365 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21366
21367 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21368 insecure exception for current topic. Also note that auto-saves
21369 are handled differently.
21370
21371 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21372 State variables for tracking auto-save inhibition situation.
21373
21374 (allout-write-contents-hook-handler): Rename from
21375 'allout-write-file-hook-handler', and describe how it depends on
21376 write-contents-functions sensitivity to non-nil value to prevent
21377 file write.
21378
21379 (allout-auto-save-hook-handler): Remove. auto-save does not check
21380 this in individual buffers, only in the starting buffer, so this
21381 is not the right way for us to inhibit auto-save in a buffer
21382 according to its condition.
21383
21384 (allout-mode): Use new allout-write-contents-hook-handler, and
21385 only with write-contents-functions. Remove auto-save provisions -
21386 they're implemented elsewhere.
21387
21388 (allout-before-change-handler): If undo is in progress, note that
21389 for attention of allout-post-command-business.
21390
21391 (allout-post-command-business): If the command we're following was
21392 an undo, check for change in the status of encrypted items and
21393 adjust auto-save inhibitions accordingly.
21394
21395 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21396 according to whether there are or aren't any plain-text topics
21397 pending encryption.
21398
21399 (allout-inhibit-auto-save-info-for-decryption):
21400 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21401 if there are plain-text topics pending encryption.
21402
21403 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21404 buffer-saved-size and some allout state to not inhibit auto-saves
21405 if there are no longer any plain-text topics pending encryption.
21406
21407 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21408 No longer provide for exemption of the current topic.
21409
21410 2011-07-04 Juri Linkov <juri@jurta.org>
21411
21412 Add 7z operations to delete and save changed members (bug#8968).
21413 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21414 New defcustoms.
21415 (archive-7z-write-file-member): New function.
21416 (archive-7z-summarize): Fix the number of dashes in the
21417 listing output.
21418
21419 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21420
21421 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21422 (bug#8958).
21423
21424 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21425
21426 * bindings.el: Ignore next-buffer and previous-buffer in
21427 minibuffer-local-map.
21428
21429 * font-lock.el (font-lock-builtin-face): Change light background
21430 color to dark slate blue (Bug#6693).
21431
21432 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21433
21434 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21435
21436 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21437
21438 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21439 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21440 Add switch-to-buffer.
21441
21442 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21443
21444 * isearch.el (isearch-search-fun-function): Clarify further the
21445 meaning of the function returned.
21446
21447 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21448
21449 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21450
21451 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21452 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21453 Use it.
21454 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21455 `tramp-default-remote-path' does not exist.
21456 (tramp-send-command-and-read): New optional argument NOERROR.
21457 (tramp-open-connection-setup-interactive-shell)
21458 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21459 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21460 (tramp-process-sentinel): Flush also process' connection property.
21461 (tramp-sh-handle-start-file-process): Do not set process
21462 sentinel. It is done now ...
21463 (tramp-maybe-open-connection): ... here. (Bug#8929)
21464
21465 2011-07-04 MON KEY <monkey@sandpframing.com>
21466
21467 * play/animate.el (animate-string): Doc fixes and allow changing
21468 the buffer name (bug#5417).
21469
21470 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21471
21472 * play/animate.el (animation-buffer-name): Rename from *animate*.
21473
21474 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21475
21476 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21477 This is simpler and helps future-proof the code.
21478 (timer-until): Use time-subtract and float-time.
21479 (timer--time-less-p): Use time-less-p.
21480
21481 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21482
21483 * type-break.el (timep): Use the value of `float-time' to avoid a
21484 byte-compiler warning.
21485
21486 * server.el (server-eval-and-print): Return any result, even nil.
21487
21488 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21489
21490 * type-break.el: Accept time formats that the builtins accept.
21491 (timep, type-break-time-difference): Accept any format that
21492 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21493 This is simpler and helps future-proof the code.
21494 (type-break-time-difference): Round rather than ignoring
21495 subseconds components.
21496
21497 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21498
21499 * info.el (Info-apropos-matches): Make non-interactive, since it
21500 doesn't seem to do anything useful as a command (bug#8829).
21501
21502 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21503
21504 * frame.el (frame-background-mode, frame-set-background-mode):
21505 Move from faces.el.
21506 (frame-default-terminal-background): New function.
21507
21508 * custom.el (custom-push-theme): Don't record faces in `changed'
21509 theme; this doesn't work correctly for per-frame face settings.
21510 (disable-theme): Use face-set-after-frame-default to reset faces.
21511 (custom--frame-color-default): New function.
21512
21513 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21514
21515 * dired.el (dired-flagging-regexp): Remove unused variable
21516 (bug#8769).
21517
21518 2011-03-29 Kevin Ryde <user42@zip.com.au>
21519
21520 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21521 `perl-Test2' extend to match possible "fail #N" rep count
21522 (bug#8377).
21523
21524 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21525
21526 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21527 `smtpmail-via-smtp' now returns the error instead of nil.
21528
21529 * isearch.el (isearch-search-fun-function): Clarify the doc string
21530 (bug#8101).
21531
21532 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21533
21534 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21535 unnecessary spaces (bug#8987).
21536
21537 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21538
21539 * net/network-stream.el (open-network-stream): Use the
21540 :end-of-capability command thoughout.
21541
21542 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21543
21544 * net/network-stream.el (open-network-stream): Add the
21545 :end-of-capability command parameter, used by pop3.el.
21546
21547 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21548
21549 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21550
21551 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21552 for list)" (bug#6475).
21553
21554 * files.el (file-expand-wildcards): Ignore non-readable
21555 sub-directories while trying to find matches instead of signaling
21556 an error (bug#6297).
21557
21558 * man.el (Man-reference-regexp): Allow matching possible
21559 word-wrapped references (bug#6289).
21560
21561 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21562 for consistency with the other vc buffers (bug#6197).
21563 (vc-checkin): Ditto.
21564
21565 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21566
21567 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21568
21569 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21570
21571 * custom.el (defcustom): Clarify that :set is only used in the
21572 Customize user interface (bug#6089).
21573
21574 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21575 associated with a file, refuse to run instead of erroring out
21576 (bug#6084).
21577
21578 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21579 the doc string, since it appears that using `fill-column' always
21580 controls the width (bug#7845).
21581
21582 * simple.el (shell-command-on-region): Say where the error output
21583 went if `shell-command-default-error-buffer' is set (bug#6857).
21584
21585 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21586
21587 * allout.el (allout-yank-processing): Adjust cursor position for
21588 backwards-deleted space.
21589
21590 (allout-rebullet-heading): Register changes with
21591 allout-exposure-changed-hook, so the modified topic is properly
21592 decorated.
21593
21594 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21595
21596 * minibuffer.el (completion-in-region): Document PREDICATE
21597 (bug#7136).
21598
21599 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21600 of keyword/argument pairs (bug#6904).
21601
21602 * replace.el (multi-occur):
21603 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21604
21605 2011-07-02 Drew Adams <drew.adams@oracle.com>
21606
21607 * dired.el (dired-mark-if): Make the message about whether it's
21608 marking or unmarking clearer (bug#8523).
21609
21610 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21611
21612 * disp-table.el (display-table-print-array): New function.
21613 (describe-display-table): Use it to print the vectors more pretty
21614 (Bug#8859).
21615
21616 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21617
21618 * window.el (window-state-get-1): Don't assign clone numbers.
21619 Add clone-of item to list of window parameters.
21620 (window-state-put-2): Don't process clone numbers.
21621 (display-buffer-alist): Fix doc-string.
21622
21623 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21624
21625 * subr.el (remq): Don't allocate if it's not needed.
21626 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21627 (keymap--merge-bindings): New functions.
21628 (keymap-canonicalize): Use them to refine the canonicalization.
21629 * minibuffer.el (minibuffer-local-completion-map)
21630 (minibuffer-local-must-match-map): Move initialization from C.
21631 (minibuffer-local-filename-completion-map): Move initialization from C;
21632 don't inherit from anything here.
21633 (minibuffer-local-filename-must-match-map): Make obsolete.
21634 (completing-read-default): Use make-composed-keymap to combine
21635 minibuffer-local-filename-completion-map with either
21636 minibuffer-local-must-match-map or
21637 minibuffer-local-filename-completion-map.
21638
21639 2011-07-01 Glenn Morris <rgm@gnu.org>
21640
21641 * type-break.el (type-break-time-sum): Use dolist.
21642
21643 * textmodes/flyspell.el (flyspell-word-search-backward):
21644 Replace CL function.
21645
21646 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21647
21648 * mouse.el (mouse--strip-first-event): New function.
21649 (function-key-map): Use it to map fringe clicks to normal clicks
21650 by default.
21651
21652 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21653 (vc-bzr-revision-completion-table): Add support for annotate and date.
21654
21655 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21656 inherit from parent.
21657
21658 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21659
21660 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21661 (dired-show-file-type): Doc fixup (bug#8818).
21662
21663 * dired.el (dired-mode): Fix up the doc string as suggested by
21664 Drew Adams (bug#8817).
21665
21666 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21667 cookie, since the manual says that it should be possible to add
21668 this function to `find-file-hook' (bug#8709).
21669
21670 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21671
21672 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21673 here. Noted Ted Zlatanov as the maintainer.
21674 (cfengine-common-settings, cfengine-common-syntax): New functions
21675 to set up common things between `cfengine-mode' and
21676 `cfengine3-mode'.
21677 (cfengine3-mode): New mode.
21678 (cfengine3-defuns cfengine3-defuns-regex
21679 (cfengine3-class-selector-regex cfengine3-category-regex)
21680 (cfengine3-vartypes cfengine3-font-lock-keywords)
21681 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21682 (cfengine3-indent-line): Add from cfengine3.el.
21683
21684 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21685
21686 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21687
21688 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21689
21690 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21691
21692 * window.el (same-window-buffer-names, same-window-regexps)
21693 (same-window-p, special-display-frame-alist)
21694 (special-display-popup-frame, special-display-function)
21695 (special-display-buffer-names, special-display-regexps)
21696 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21697 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21698 (split-window-preferred-function, split-height-threshold)
21699 (split-width-threshold, even-window-heights)
21700 (display-buffer-mark-dedicated, window-splittable-p)
21701 (split-window-sensibly, window-safely-shrinkable-p):
21702 Un-obsolete.
21703 (display-buffer): Don't spread args with function specifier
21704 because special-display-popup-frame won't like it.
21705
21706 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21707
21708 Time-stamp simplifications and fixes.
21709 These improve accuracy slightly, and future-proof the code
21710 against some potential changes to current-time format.
21711
21712 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21713 by using time-since and float-time.
21714
21715 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21716 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21717 + NNN microseconds".
21718
21719 * type-break.el (type-break-time-sum): Rewrite using time-add.
21720
21721 * play/hanoi.el (hanoi-current-time-float): Remove.
21722 All uses replaced by float-time.
21723
21724 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21725 This yields a more-accurate answer.
21726 (rng-time-to-float): Remove; no longer needed.
21727
21728 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21729
21730 * calendar/timeclock.el (timeclock-seconds-to-time):
21731 Defalias to seconds-to-time, since they're the same thing.
21732
21733 * emacs-lisp/elp.el (elp-elapsed-time):
21734 * emacs-lisp/benchmark.el (benchmark-elapse):
21735 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21736
21737 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21738
21739 * window.el (bury-buffer): Don't iconify the only frame.
21740 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21741 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21742
21743 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21744
21745 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21746 Add mouse-yank-primary.
21747
21748 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21749
21750 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21751
21752 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21753
21754 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21755 (find-library-name): Use it to find relative load names when provided
21756 absolute file name (bug#8803).
21757
21758 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21759
21760 * textmodes/flyspell.el (flyspell-word): Consider words that
21761 differ only in case as potential doublons (bug#5687).
21762
21763 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21764 Remove two rather uninteresting debugging-like messages to make
21765 debbugs.el more silent.
21766
21767 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21768 a password-like phrase.
21769
21770 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21771
21772 * progmodes/cc-guess.el: New file.
21773
21774 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21775
21776 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21777 derived from `c-basic-common-init'.
21778
21779 * progmodes/cc-mode.el (top-level): Require cc-guess.
21780 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21781
21782 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21783
21784 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21785
21786 2011-06-30 Alan Mackenzie <acm@muc.de>
21787
21788 * progmodes/cc-engine.el (c-guess-continued-construct):
21789 Correct the handling of template-args-cont, particularly for when font
21790 lock is disabled. Name this case as "CASE G".
21791
21792 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21793
21794 * allout.el (allout-yank-processing): Fix injection of extra space
21795 between bullet and non-whitespace character in first topic when
21796 pasting, ensuring that the actual spacing in the pasted topic
21797 following the bullet char is preserved. This extra space was
21798 causing pasted encrypted topics to get a decrypted status even
21799 when the content was actually still encrypted. Now the decryption
21800 status from before the paste is preserved.
21801
21802 (allout-flag-region): Set all allout overlays so they evaporate
21803 when reduced to zero length (evanescent), to prevent overlay
21804 leakage.
21805
21806 2011-06-30 Glenn Morris <rgm@gnu.org>
21807
21808 * w32-fns.el (w32-charset-info-alist): Declare.
21809
21810 * find-dired.el (find-grep-options): Simplify.
21811
21812 * term/ns-win.el (ns-set-resource): Declare.
21813
21814 * ses.el (row, col): Declare dynamic variables honestly.
21815
21816 * textmodes/reftex-parse.el (index-tags): Declare.
21817
21818 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21819
21820 * cus-edit.el (customize-push-and-save): New function.
21821
21822 * files.el (hack-local-variables-confirm): Use it.
21823
21824 * custom.el (load-theme): New arg NO-CONFIRM.
21825 Use customize-push-and-save (Bug#8720).
21826 (custom-enabled-themes): Doc fix.
21827
21828 * cus-theme.el (customize-create-theme)
21829 (custom-theme-merge-theme): Callers to load-theme changed.
21830
21831 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21832
21833 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21834 short URLs have at least one dot in them (bug #7614).
21835
21836 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21837 nil, because using a pty is apparently too slow (bug #895).
21838
21839 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21840
21841 * mail/sendmail.el (sendmail-query-once): New function.
21842 (sendmail-query-once-function): New variable.
21843
21844 2011-06-29 Glenn Morris <rgm@gnu.org>
21845
21846 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21847
21848 * ses.el (top-level): Require cl when compiling.
21849 (ses-set-localvars): Fix error statement.
21850 Call it at compile time to silence a storm of warnings.
21851
21852 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21853
21854 * window.el (normalize-live-buffer): Rename to
21855 window-normalize-buffer.
21856 (normalize-live-frame): Rename to window-normalize-frame.
21857 (normalize-any-window): Rename to window-normalize-any-window.
21858 (normalize-live-window): Rename to window-normalize-live-window.
21859 (make-window-atom): Rename to window-make-atom.
21860 (window-resize-reset): Rename to window--resize-reset.
21861 (window-resize-reset-1): Rename to window--resize-reset-1.
21862 (resize-mini-window): Rename to window--resize-mini-window.
21863 (resize-subwindows-skip-p): Rename to
21864 window--resize-subwindows-skip-p.
21865 (resize-subwindows-normal): Rename to
21866 window--resize-subwindows-normal.
21867 (resize-subwindows): Rename to window--resize-subwindows.
21868 (resize-other-windows): Rename to window--resize-siblings.
21869 (resize-this-window): Rename to window--resize-this-window.
21870 (resize-root-window): Rename to window--resize-root-window.
21871 (resize-root-window-vertically): Rename to
21872 window--resize-root-window-vertically.
21873 (normalize-buffer-to-display): Rename to
21874 window-normalize-buffer-to-display.
21875 (normalize-buffer-to-switch-to): Rename to
21876 window-normalize-buffer-to-switch-to.
21877 Correspondingly update all callers of the functions listed
21878 above.
21879 (display-buffer-alist, display-buffer-normalize-arguments)
21880 (display-buffer-normalize-options, display-buffer)
21881 (display-buffer-alist-set): Use "function" instead of
21882 "fun-with-args".
21883
21884 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21885
21886 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21887 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21888 debbugs.gnu.org. Mention acknowledgment email.
21889
21890 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21891
21892 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21893 buffer multibyteness, since it shouldn't matter.
21894
21895 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21896
21897 * window.el (display-buffer-in-side-window): Handle dedicated
21898 windows as in display-buffer-reuse-window.
21899 (display-buffer-normalize-alist): Use value of override
21900 specifier.
21901 (display-buffer-normalize-specifiers): Use value of
21902 other-window-means-other-frame specifier.
21903 (display-buffer-alist): Rewrite some texts in widgets.
21904 (display-buffer): Spread arguments when calling function
21905 specified by fun-with-args.
21906
21907 2011-06-28 Deniz Dogan <deniz@dogan.se>
21908
21909 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21910 Unnest `let'.
21911
21912 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21913 selectors (Bug#5732).
21914 (css-proprietary-nmstart-re): Use `regexp-opt'.
21915
21916 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21917
21918 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21919 (eshell-ls-date-format): New defcustom.
21920 (eshell-ls-file): Use it.
21921
21922 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21923
21924 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21925
21926 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21927
21928 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21929 (ange-ftp-make-tmp-name): New arg.
21930 (ange-ftp-file-local-copy): Use it.
21931
21932 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21933
21934 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21935 no-conversion (Bug#8870).
21936
21937 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21938
21939 * window.el (window-right, window-left, window-child)
21940 (window-child-count, window-last-child)
21941 (window-iso-combination-p, walk-window-tree-1)
21942 (window-atom-check-1, window-tree-1, delete-window)
21943 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21944 new naming conventions - window-vchild, window-hchild,
21945 window-next and window-prev are now called window-top-child,
21946 window-left-child, window-next-sibling and window-prev-sibling
21947 respectively.
21948 (resize-window-reset): Rename to window-resize-reset.
21949 (resize-window-reset-1): Rename to window-resize-reset-1.
21950 (resize-window): Rename to window-resize.
21951 (window-min-height, window-min-width)
21952 (resize-mini-window, resize-this-window, resize-root-window)
21953 (resize-root-window-vertically, adjust-window-trailing-edge)
21954 (enlarge-window, shrink-window, maximize-window)
21955 (minimize-window, delete-window, quit-restore-window)
21956 (split-window, balance-windows, balance-windows-area-adjust)
21957 (balance-windows-area, window-state-put-2)
21958 (display-buffer-even-window-sizes, display-buffer-set-height)
21959 (display-buffer-set-width, set-window-text-height)
21960 (fit-window-to-buffer): Rename all "resize-window" prefixed
21961 calls to use the "window-resize" prefix convention.
21962 (display-buffer-alist): Fix symbol for label specifier.
21963 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21964 corresponding specifier.
21965 Reported by Juanma Barranquero <lekktu@gmail.com>.
21966
21967 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21968
21969 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21970 convention.
21971 (ses-call-printer): Does not pass an empty string to formatter when the
21972 cell is empty to keep from barking printer Calc math-format-value.
21973
21974 2011-06-27 Richard Stallman <rms@gnu.org>
21975
21976 * battery.el (battery-mode-line-limit): New variable.
21977 (battery-update): Handle it.
21978
21979 * mail/rmailmm.el (rmail-mime-process-multipart):
21980 Handle truncated messages.
21981
21982 2011-06-27 Glenn Morris <rgm@gnu.org>
21983
21984 * progmodes/flymake.el (flymake-err-line-patterns):
21985 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21986
21987 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21988
21989 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21990 (ses--clean-!, ses--clean-_): New functions.
21991 (ses-range): Add configurability of readout order, and conversion
21992 to Calc vector.
21993
21994 * ses.el (ses-repair-cell-reference-all): New function.
21995 (ses-cell-symbol): Set macro as safe, so that it can be used in
21996 formulas.
21997
21998 * ses.el: Update cycle detection algorithm.
21999 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22000 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22001 (ses-set-localvars): New function.
22002 (ses-make-cell): Add property-list as a cell element.
22003 (ses-cell-property-get-fun, ses-cell-property-get)
22004 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22005 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22006 New functions.
22007 (ses-cell-property-set, ses-cell-property-pop)
22008 (ses-cell-property-get-handle): New macro.
22009 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22010 New aliases, used for code readability.
22011 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22012 cycle detection.
22013 (ses-self-reference-early-detection): New defcustom.
22014 (ses-formula-references): Robustify against self-referring cells.
22015 (ses-mode): Use ses-set-localvars.
22016 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22017 before lauching the update processing.
22018 (ses-initialize-Dijkstra-attempt): New function.
22019 (ses-recalculate-cell): Update for cycle detection based on
22020 Dijkstra algorithm.
22021
22022 * ses.el: Fix commenting and indenting convention.
22023
22024 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22025
22026 * bs.el (bs-cycle-next): Complete last change.
22027
22028 2011-06-27 Drew Adams <drew.adams@oracle.com>
22029
22030 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22031
22032 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22033
22034 * net/network-stream.el (network-stream-open-starttls):
22035 Don't re-get capabilities unless we've reestablished connection.
22036 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22037
22038 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22039 to binary to possibly avoid line encoding issues on Windows (among
22040 other things).
22041
22042 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22043
22044 * net/network-stream.el (open-network-stream): Return an :error
22045 saying what the problem was, if possible.
22046
22047 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22048 server.
22049
22050 * net/network-stream.el (network-stream-open-starttls): If we
22051 wanted to use STARTTLS, and the server offered it, but we weren't
22052 able to because we had no STARTTLS support, then close the connection.
22053 (open-network-stream): Return an :error element, if present.
22054
22055 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22056
22057 * hl-line.el (hl-line-sticky-flag): Doc fix.
22058 (global-hl-line-sticky-flag): New option (Bug#8323).
22059 (global-hl-line-highlight): Obey it.
22060
22061 * vc/vc.el (vc-revert-show-diff): Default to t.
22062
22063 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22064
22065 * allout-widgets.el (allout-widgets-post-command-business):
22066 Stop decorating intermediate isearch matches. They're not being
22067 undecorated when an isearch is continued past, and isearch
22068 automatically collapses them. This leads to "widget leaks", where
22069 decorated items accumulate in collapsed areas. Lines with lots of
22070 hidden widgets can slow down cursor travel, substantially.
22071 Too much complicated machinery would be needed to ensure undecoration,
22072 so we're doing without this nicety.
22073
22074 (allout-widgets-tally-string): Don't try to do a hash-table-count
22075 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22076 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22077 *Messages* when allout-widgets-maintain-tally is t.
22078
22079 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22080
22081 * window.el (display-buffer-normalize-argument): Rename to
22082 display-buffer-normalize-arguments. Handle special meaning of
22083 LABEL argument. Respect special-display-function when popping up
22084 a new frame. Fix code searching for a window showing the buffer
22085 on another frame.
22086 (display-buffer-normalize-specifiers):
22087 Call display-buffer-normalize-arguments.
22088 (display-buffer-in-window): Don't undedicate the window if its
22089 buffer remains the same.
22090 Reported by Drew Adams <drew.adams@oracle.com>.
22091 (display-buffer-alist): Add choice for same-window macro
22092 specfier.
22093 (display-buffer): Mention special meaning of LABEL argument in
22094 doc-string. Fix quoting. Don't pop up a new frame even as
22095 fallback.
22096
22097 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22098
22099 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22100 avoid deleting the current window in some cases (bug#8911).
22101
22102 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22103
22104 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22105 (Bug#8934)
22106
22107 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22108
22109 * net/network-stream.el (network-stream-open-starttls):
22110 Use built-in TLS support if `gnutls-available-p' is true.
22111 (network-stream-open-tls): Ditto.
22112
22113 2011-06-26 Leo Liu <sdl.web@gmail.com>
22114
22115 * register.el (registerv): New struct.
22116 (registerv-make): New function.
22117 (jump-to-register, describe-register-1, insert-register):
22118 Support the jump-func, print-func and insert-func slot of a registerv
22119 struct. (Bug#8415)
22120
22121 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22122
22123 * vc/vc.el (vc-revert-show-diff): New defcustom.
22124 (vc-diff-internal): New arg specifying diff buffer.
22125 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22126 reuse an existing *vc-diff* buffer (Bug#8927).
22127
22128 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22129
22130 2011-06-26 Glenn Morris <rgm@gnu.org>
22131
22132 * progmodes/f90.el (f90-critical-indent): New option.
22133 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22134 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22135 (f90-mode): Doc fix.
22136 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22137 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22138 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22139 (f90-match-end): Handle block, critical.
22140
22141 2011-06-25 Glenn Morris <rgm@gnu.org>
22142
22143 * calendar/diary-lib.el (diary-included-files): Doc fix.
22144 (diary-include-files): New function, extracted from
22145 diary-include-other-diary-files and diary-mark-included-diary-files.
22146 (diary-include-other-diary-files, diary-mark-included-diary-files):
22147 Just call diary-include-files.
22148 (diary-mark-entries): Reset diary-included-files on first call.
22149
22150 * calendar/diary-lib.el (diary-mark-entries)
22151 (diary-mark-included-diary-files):
22152 Visit included diary-files in temp buffers.
22153
22154 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22155 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22156 (f90-start-block-re, f90-imenu-generic-expression)
22157 (f90-looking-at-program-block-start, f90-no-block-limit):
22158 Add support for submodules.
22159
22160 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22161 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22162
22163 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22164
22165 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22166 buffer-file-type before setting its value, to avoid disastrous
22167 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22168
22169 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22170
22171 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22172
22173 * ses.el (ses-unload-function):
22174 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22175
22176 * proced.el (proced-unload-function):
22177 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22178
22179 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22180
22181 * server.el (server-create-window-system-frame): Add parameters arg.
22182 (server-process-filter): Doc fix. Handle frame-parameters.
22183
22184 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22185
22186 Fix bug#8730, bug#8781.
22187
22188 * loadhist.el (unload--set-major-mode): New function.
22189 (unload-feature): Use it.
22190
22191 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22192 (python-unload-function): New function.
22193
22194 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22195
22196 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22197
22198 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22199
22200 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22201 the candidates list.
22202
22203 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22204
22205 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22206
22207 2011-06-23 Richard Stallman <rms@gnu.org>
22208
22209 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22210 (rmail-variables): Set next-error-move-function.
22211 (rmail-what-message): Take argument POS.
22212 (rmail-next-error-move): New function.
22213
22214 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22215
22216 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22217 messages for adjacent non-terminals.
22218
22219 2011-06-23 Richard Stallman <rms@gnu.org>
22220
22221 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22222 (rmail-show-message-1): Preserve buffer modified flag.
22223 (rmail-start-mail): Don't specify use of rmail-mail-return;
22224 that's done by mail-bury now.
22225 (rmail-mail-return): Handle arg NEWBUF.
22226
22227 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22228
22229 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22230 SIZE is a number.
22231
22232 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22233
22234 * window.el (get-lru-window, get-mru-window)
22235 (get-largest-window): Never return a minibuffer window.
22236 (display-buffer-pop-up-window): Fix a bug that could lead to
22237 reusing the minibuffer window.
22238 (display-buffer): Pass original specifier argument to
22239 display-buffer-function instead of the normalized one.
22240 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22241
22242 2011-06-22 Leo Liu <sdl.web@gmail.com>
22243
22244 * minibuffer.el (completing-read-function)
22245 (completing-read-default): Move from minibuf.c.
22246
22247 2011-06-22 Richard Stallman <rms@gnu.org>
22248
22249 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22250 to Rmail even if not started by a special Rmail command.
22251
22252 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22253 Copy the buffer currently showing just one message.
22254
22255 2011-06-22 Roland Winkler <winkler@gnu.org>
22256
22257 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22258 (bibtex-clean-entry): First delete the old key so that a
22259 customized algorithm for generating the new key does not get
22260 confused by the old key.
22261 (bibtex-url): Obey regexp of first step.
22262 (bibtex-search-entries): Do not use add-to-list with local
22263 list-var.
22264
22265 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22266
22267 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22268 stored a user name, then query for the password first, instead of
22269 waiting for SMTP to give an error message and the trying again.
22270
22271 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22272
22273 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22274 BUFFER in call-process.
22275
22276 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22277
22278 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22279 QUIT twice.
22280 (smtpmail-try-auth-methods): Require user name and password from
22281 auth-source.
22282
22283 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22284
22285 * window.el (display-buffer-default-specifiers)
22286 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22287 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22288 (split-window): Normalize SIDE argument (Bug#8916).
22289
22290 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22291 (special-display-frame-alist, special-display-popup-frame):
22292 Remove duplicate declarations. These are now in window.el.
22293
22294 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22295
22296 * mail/smtpmail.el (smtpmail-via-smtp):
22297 Set :use-starttls-if-possible so that we always use STARTTLS if the
22298 server supports it. SMTP servers that support STARTTLS commonly
22299 require it.
22300
22301 * net/network-stream.el (network-stream-open-starttls): Support
22302 upgrading to STARTTLS always, even if we don't have built-in support.
22303 (open-network-stream): Add the :always-query-capabilities keyword.
22304
22305 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22306 upgrades with `open-network-stream', and rely solely on
22307 auth-source for all credentials. Big changes throughout the file,
22308 but in particular:
22309 (smtpmail-auth-credentials): Remove.
22310 (smtpmail-starttls-credentials): Remove.
22311 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22312 MAIL FROM, too.
22313
22314 * net/network-stream.el (network-stream-open-starttls):
22315 Provide support for client certificates both for external and built-in
22316 STARTTLS.
22317 (auth-source): Require.
22318 (open-network-stream): Document the :client-certificate keyword.
22319 (network-stream-certificate): Change cert-cert to cert and
22320 cert-key to key.
22321
22322 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22323
22324 * net/tramp-cache.el (top): Don't load the persistency file when
22325 "emacs -Q" has been called.
22326
22327 2011-06-21 Tim Harper <timcharper@gmail.com>
22328
22329 * term/ns-win.el (ns-initialize-window-system):
22330 Set application-specific `ApplePressAndHoldEnabled' system
22331 resource to NO as it is not yet supported by the NS port.
22332
22333 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22334
22335 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22336 (list-dynamic-libraries): ...not here.
22337
22338 2011-06-21 Leo Liu <sdl.web@gmail.com>
22339
22340 * subr.el (sha1): Implement sha1 using secure-hash.
22341
22342 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22343
22344 * window.el (display-buffer-alist): In default value do not
22345 enforce searching a window on any but the selected frame.
22346 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22347 (display-buffer-select-window): Remove function.
22348 (display-buffer-in-window): When a window on another frame gets
22349 reused, do not select it any more but just raise its frame if
22350 necessary (Bug#8851) and (Bug#8856).
22351 (display-buffer-normalize-options): Handle pop-up-frames related
22352 options more faithfully.
22353 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22354 window if it is on another frame.
22355 (display-buffer-alist, display-buffer-default-specifiers):
22356 Don't make new frame unsplittable by default.
22357 (display-buffer-normalize-argument): Fix doc-string typo and use
22358 'same-frame-other-window instead of 'other-window when associating
22359 with display-buffer-macro-specifiers.
22360
22361 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22362
22363 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22364 New functions.
22365 (5x5-mode-map, 5x5-mode-menu): Bind them.
22366 (5x5-draw-grid): Tweak the solver's rendering.
22367
22368 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22369
22370 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22371 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22372
22373 2011-06-21 Drew Adams <drew.adams@oracle.com>
22374
22375 * menu-bar.el: Use function variable instead of switch-to-buffer.
22376 (menu-bar-select-buffer-function): New variable.
22377 (menu-bar-update-buffers): Use it (bug#8876).
22378
22379 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22380
22381 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22382 variable's status.
22383
22384 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22385
22386 * x-dnd.el (x-dnd-version-from-flags)
22387 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22388 and long as number (Bug#8899).
22389 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22390
22391 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22392
22393 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22394 (completion-try-completion, completion-all-completions): Compute the
22395 metadata argument if it's missing; make it optional (bug#8795).
22396
22397 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22398 (widget-complete): Use new :completion-function property.
22399 (widget-completions-at-point): New function.
22400 (default): Use :completion-function instead of :complete.
22401 (widget-default-completions): Rename from widget-default-complete;
22402 Rewrite.
22403 (widget-string-complete, widget-file-complete, widget-color-complete):
22404 Remove functions.
22405 (file, symbol, function, variable, coding-system, color):
22406 * international/mule-cmds.el (default-input-method, charset)
22407 (language-info-custom-alist):
22408 * cus-edit.el (face): Use new property :completions.
22409
22410 * progmodes/pascal.el (pascal-completions-at-point): New function.
22411 (pascal-mode): Use it.
22412 (pascal-mode-map): Use completion-at-point.
22413 (pascal-toggle-completions): Make obsolete.
22414 (pascal-complete-word, pascal-show-completions):
22415 * progmodes/octave-mod.el (octave-complete-symbol):
22416 Redefine as obsolete alias.
22417 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22418 Signal absence of completion info for old Octave,
22419 (inferior-octave-complete): Redefine as obsolete alias.
22420 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22421 (meta-completions-at-point): Rename from meta-complete-symbol and
22422 adapt it for use on completion-at-point-functions.
22423 (meta-common-mode): Use it.
22424 (meta-looking-at-backward, meta-match-buffer): Remove.
22425 (meta-complete-symbol): Redefine as obsolete alias.
22426 (meta-common-mode-map): Use completion-at-point.
22427 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22428 (makefile-mode-map): Use completion-at-point.
22429 (makefile-completions-at-point): Rename from makefile-complete and
22430 adapt it for use on completion-at-point-functions.
22431 (makefile-mode): Use it.
22432 (makefile-complete): Redefine as obsolete alias.
22433
22434 2011-06-20 Deniz Dogan <deniz@dogan.se>
22435
22436 * net/rcirc.el: Delete trailing whitespaces once and for all.
22437
22438 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22439
22440 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22441
22442 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22443
22444 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22445
22446 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22447
22448 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22449
22450 * window.el (display-buffer-other-window-means-other-frame):
22451 Call display-buffer-normalize-alist.
22452 (display-buffer-normalize-specifiers-1): Rename to
22453 display-buffer-normalize-argument. New argument other-frame.
22454 Rewrite.
22455 (display-buffer-normalize-specifiers-2): Rename to
22456 display-buffer-normalize-options.
22457 (display-buffer-normalize-alist-1): New function.
22458 (display-buffer-normalize-specifiers-3): Rename to
22459 display-buffer-normalize-alist.
22460 Call display-buffer-normalize-alist-1.
22461 (display-buffer-normalize-options-inhibit): New variable.
22462 (display-buffer-normalize-specifiers): Rewrite calling
22463 display-buffer-normalize-alist,
22464 display-buffer-normalize-argument, and
22465 display-buffer-normalize-options. Don't call the latter if
22466 display-buffer-normalize-options-inhibit is non-nil.
22467 (frame-auto-delete): New option.
22468 (window-deletable-p): Use frame-auto-delete.
22469 (window-list-no-nils, window-state-ignored-parameters)
22470 (window-state-get-1, window-state-get, window-state-put-list)
22471 (window-state-put-1, window-state-put-2, window-state-put):
22472 New functions.
22473 (display-buffer-normalize-options): Move special-display-p group
22474 after pop-up-frame group (Bug#8851) and (Bug#8856).
22475
22476 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22477
22478 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22479 groups (Bug#8776).
22480 (rx-submatch-n): New function.
22481 (rx): Document it.
22482
22483 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22484 (Bug#8768).
22485
22486 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22487
22488 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22489
22490 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22491 anytime existing face settings are present (Bug#8889).
22492
22493 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22494 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22495 Remove unused argument.
22496
22497 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22498
22499 * window.el (display-buffer-default-specifiers):
22500 Remove pop-up-frame. Add pop-up-window-min-height,
22501 pop-up-window-min-width, and another reuse-window specifier
22502 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22503 (display-buffer-normalize-specifiers-2):
22504 Handle split-height-threshold and split-width-threshold also when
22505 pop-up-windows is unset. Add a reuse-window specifier for the
22506 case popping up a new window fails.
22507 (special-display-popup-frame): Remove double quoting.
22508 (display-buffer-normalize-specifiers-1): Fix thinko.
22509
22510 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22511
22512 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22513 according to comint-completion-addsuffix.
22514
22515 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22516 (pcomplete-suffix-list): Mark as obsolete.
22517 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22518 pcomplete-seen in the closure.
22519 (pcomplete-comint-setup): Setup completion-at-point as well.
22520 (pcomplete--entries): New function.
22521 (pcomplete--env-regexp): New var.
22522 (pcomplete-entries): Rewrite to work with partial-completion and
22523 without relying on pcomplete-suffix-list.
22524 (pcomplete-pare-list): Remove, unused.
22525
22526 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22527
22528 * window.el (display-buffer-alist): Set pop-up-window-min-height
22529 and pop-up-window-min-width in default value. Reported by
22530 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22531 other-window-means-other-frame.
22532 (display-buffer-macro-specifiers): Comment out entry for
22533 other-window specifier.
22534 (display-buffer-other-window-means-other-frame): New function.
22535 (display-buffer-normalize-specifiers-1): New arguments
22536 buffer-name and label. Treat other-window case specially.
22537 (display-buffer-normalize-specifiers-2): Treat other-window case
22538 specially.
22539 (display-buffer-normalize-specifiers-3): New function.
22540 (display-buffer-normalize-specifiers):
22541 Call display-buffer-normalize-specifiers-3.
22542
22543 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22544
22545 * window.el (same-window-p): Fix two typos introduced when
22546 adding with-no-warnings.
22547 (display-buffer-normalize-specifiers-1): Don't check
22548 pop-up-frames for 'unset initialization.
22549 (display-buffer-normalize-specifiers-2): Major rewrite using
22550 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22551 (pop-up-frames, display-buffer-reuse-frames)
22552 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22553 Suggested by David Engster <deng@randomsample.de>.
22554 (even-window-heights): Initialize to 'unset.
22555 (display-buffer-alist-set): Handle new 'unset initializations.
22556 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22557 other window case.
22558
22559 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22560
22561 * window.el (display-buffer-normalize-specifiers-1):
22562 Respect current value of pop-up-frames for most reasonable values of
22563 second argument of display-buffer (Bug#8865).
22564 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22565 (switch-to-buffer-other-window-same-frame)
22566 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22567 Adams (Bug#8875).
22568 (display-buffer): Don't check noninteractive when calling
22569 display-buffer-pop-up-frame.
22570 (display-buffer-pop-up-frame): Never pop up a frame in
22571 noninteractive mode (Bug#8857).
22572 (enlarge-window, shrink-window): Don't report an error when the
22573 window can't be resized as requested (Bug#8862).
22574
22575 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22576
22577 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22578
22579 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22580
22581 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22582
22583 2011-06-15 Alan Mackenzie <acm@muc.de>
22584
22585 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22586 for declarators, disable knr checking to speed up for normal files.
22587 2: Refactor, replacing a sequence of nested if forms by a cond form.
22588
22589 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22590
22591 * net/network-stream.el (open-network-stream): Add the keyword
22592 :always-query-capabilities for the case where you want to force a
22593 `plain' network connection, but the protocol still requires the
22594 capabilitiy command (i.e., SMTP and EHLO).
22595
22596 * subr.el (process-live-p): Rename from `process-alive-p' for
22597 consistency with other `-live-p' functions.
22598
22599 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22600
22601 * window.el (same-window-buffer-names, same-window-regexps)
22602 (special-display-frame-alist, special-display-popup-frame)
22603 (special-display-function, special-display-buffer-names)
22604 (special-display-regexps, pop-up-frame-alist)
22605 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22606 (pop-up-windows, split-window-preferred-function)
22607 (split-height-threshold, split-width-threshold, even-window-heights)
22608 (display-buffer-mark-dedicated): Don't encourage the use of
22609 display-buffer-alist from Elisp code.
22610
22611 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22612
22613 * progmodes/python.el (python-mode): Derive from prog-mode.
22614 * progmodes/ps-mode.el (ps-mode):
22615 * progmodes/mixal-mode.el (mixal-mode):
22616 * progmodes/cfengine.el (cfengine-mode):
22617 * progmodes/ld-script.el (ld-script-mode): Likewise.
22618
22619 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22620
22621 * window.el (display-buffer-alist): Trim default value to avoid
22622 popping up a new frame (Bug#8857) or reusing an arbitrary window
22623 on another frame.
22624 (display-buffer): Do not fall back on popping up a new frame in
22625 batch mode (Bug#8857).
22626
22627 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22628
22629 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22630 (custom-theme-summary): New function.
22631 (customize-themes): Use it.
22632
22633 2011-06-13 Glenn Morris <rgm@gnu.org>
22634
22635 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22636
22637 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22638
22639 * help.el (help-window): Remove variable.
22640 (help-window-point-marker, temp-buffer-max-height)
22641 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22642 (help-print-return-message): Don't set help-window.
22643 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22644 (help-window-setup-finish): Remove.
22645 (help-window-display-message, help-window-setup)
22646 (with-help-window): Major rewrite based on new
22647 display-buffer-window variable.
22648
22649 * help-mode.el (help-mode-finish): Remove help-window related
22650 code.
22651
22652 * view.el (view-exits-all-viewing-windows): Remove reference to
22653 view-return-to-alist in doc-string.
22654 (view-return-to-alist): Make obsolete.
22655 (view-buffer): Call pop-to-buffer-same-window and remove
22656 undo-window code.
22657 (view-buffer-other-window): Call pop-to-buffer-other-window and
22658 simplify code. Ignore second argument.
22659 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22660 simplify code. Ignore second argument.
22661 (view-return-to-alist-update): Make obsolete.
22662 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22663 Rewrite using quit-restore window parameters.
22664 (view-mode-exit): Rename second argument to EXIT-ONLY.
22665 Rewrite using quit-restore-window.
22666 (View-exit, View-exit-and-edit, View-leave, View-quit)
22667 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22668 appropriate arguments.
22669 (view-end-message): Use quit-restore window parameter.
22670
22671 * window.el (display-buffer-function): Rewrite doc-string.
22672 (display-buffer-window, display-buffer-alist): New variables.
22673 (display-buffer-split-specifiers)
22674 (display-buffer-side-specifiers)
22675 (display-buffer-macro-specifiers): New constants.
22676 (display-buffer-even-window-sizes, display-buffer-set-height)
22677 (display-buffer-set-width, display-buffer-select-window)
22678 (display-buffer-in-window, display-buffer-reuse-window)
22679 (display-buffer-split-window-1, display-buffer-split-window)
22680 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22681 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22682 (display-buffer-in-side-window, normalize-buffer-to-display)
22683 (display-buffer-normalize-specifiers-1)
22684 (display-buffer-normalize-specifiers-2)
22685 (display-buffer-normalize-specifiers, display-buffer-frame):
22686 New functions.
22687 (display-buffer): Major rewrite.
22688 (display-buffer-other-window, display-buffer-other-frame)
22689 (pop-to-buffer, switch-to-buffer-other-window)
22690 (switch-to-buffer-other-frame): Rewrite.
22691 (display-buffer-same-window, display-buffer-same-frame)
22692 (display-buffer-same-frame-other-window)
22693 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22694 (pop-to-buffer-other-window)
22695 (pop-to-buffer-same-frame-other-window)
22696 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22697 (switch-to-buffer-other-window-same-frame): New functions.
22698 (same-window-p, special-display-p): Rewrite disabling warnings.
22699 Make obsolete.
22700 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22701 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22702 Make obsolete
22703 (same-window-buffer-names, same-window-regexps)
22704 (special-display-frame-alist, special-display-popup-frame)
22705 (special-display-function, special-display-buffer-names)
22706 (special-display-regexps, pop-up-frame-alist)
22707 (pop-up-frame-function, split-window-preferred-function)
22708 (split-height-threshold, split-width-threshold)
22709 (even-window-heights): Make obsolete.
22710
22711 2011-06-12 Glenn Morris <rgm@gnu.org>
22712
22713 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22714 Misc simplifications.
22715
22716 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22717
22718 * window.el (window-safely-shrinkable-p): Restore function which
22719 was inadvertently removed in change from 2011-06-11. Declare as
22720 obsolete.
22721
22722 * calendar/calendar.el (calendar-generate-window):
22723 Use window-iso-combined-p instead of combination of one-window-p and
22724 window-safely-shrinkable-p.
22725
22726 2011-06-12 Glenn Morris <rgm@gnu.org>
22727
22728 * progmodes/fortran.el (fortran-mode-syntax-table):
22729 * progmodes/f90.el (f90-mode-syntax-table):
22730 Set % to punctuation. (Bug#8820)
22731 (f90-find-tag-default): Remove, no longer needed.
22732
22733 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22734
22735 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22736
22737 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22738
22739 * image.el (image-animated-p): Return animation delay in seconds.
22740 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22741 (image-animate-timeout): Remove DELAY argument. Don't assume
22742 every subimage has the same delay; get it from image-animated-p.
22743 (image-animate): Caller changed.
22744
22745 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22746
22747 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22748 to ignored backtrace functions.
22749
22750 2011-06-11 Glenn Morris <rgm@gnu.org>
22751
22752 * calendar/appt.el (appt-disp-window-function): Doc fix.
22753 (appt-check): Handle overlapping appointments. (Bug#8337)
22754
22755 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22756
22757 * window.el (window-tree-1, window-tree): New functions, moving
22758 the latter to window.el.
22759 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22760 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22761 (bw-refresh-edges): Remove.
22762 (balance-windows-1, balance-windows-2): New functions.
22763 (balance-windows): Rewrite in terms of window tree functions,
22764 balance-windows-1 and balance-windows-2.
22765 (bw-adjust-window): Remove.
22766 (balance-windows-area-adjust): New function with functionality of
22767 bw-adjust-window but using resize-window.
22768 (set-window-text-height): Rewrite doc-string.
22769 Use normalize-live-window and resize-window.
22770 (enlarge-window-horizontally, shrink-window-horizontally):
22771 Rename argument to DELTA.
22772 (window-buffer-height): New function.
22773 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22774 Rewrite using new window resize routines.
22775 (kill-buffer-and-window, mouse-autoselect-window-select):
22776 Use ignore-errors instead of condition-case.
22777 (quit-window): Call delete-frame instead of delete-windows-on
22778 for the only buffer on frame.
22779
22780 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22781
22782 * loadup.el (top-level): Load window before files for the sake
22783 of replace-buffer-in-windows.
22784
22785 * files.el (read-buffer-to-switch)
22786 (switch-to-buffer-other-window)
22787 (switch-to-buffer-other-frame, display-buffer-other-frame):
22788 Move to window.el.
22789
22790 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22791 (previous-buffer): Move to window.el.
22792
22793 * bindings.el (unbury-buffer): Move to window.el.
22794
22795 * window.el (delete-other-windows-vertically): Move after
22796 definition of delete-other-windows.
22797 (other-window, delete-windows-on, replace-buffer-in-windows):
22798 Move here from window.c.
22799 (record-window-buffer, unrecord-window-buffer)
22800 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22801 (switch-to-next-buffer): New functions.
22802 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22803 from simple.el. Call switch-to-next-buffer.
22804 (previous-buffer): Move here from simple.el.
22805 Call switch-to-prev-buffer.
22806 (bury-buffer): Move here from buffer.c. Switch to previous
22807 buffer when window cannot be deleted.
22808 (unbury-buffer): Move here from bindings.el.
22809 (ctl-x-map): Move binding for other-window from window.c to
22810 here.
22811 (read-buffer-to-switch, switch-to-buffer-other-window)
22812 (switch-to-buffer-other-frame): Move here from files.el.
22813 (normalize-buffer-to-switch-to): New functions.
22814 (switch-to-buffer): Move here from buffer.c.
22815 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22816
22817 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22818
22819 * window.el (window-min-height, window-min-width): Move here
22820 from window.c. Add defcustoms and rewrite doc-strings.
22821 (resize-mini-window, resize-window): New functions.
22822 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22823 Move here from window.c.
22824 (maximize-window, minimize-window): New functions.
22825 (delete-window, delete-other-windows, split-window): Move here
22826 from window.c.
22827 (window-split-min-size): New function.
22828 (split-window-keep-point): Mention split-window-above-each-other
22829 instead of split-window-vertically.
22830 (split-window-above-each-other, split-window-vertically):
22831 Rename split-window-vertically to split-window-above-each-other
22832 and provide defalias for old definition.
22833 (split-window-side-by-side, split-window-horizontally):
22834 Rename split-window-horizontally to split-window-side-by-side
22835 and provide defalias for the old definition.
22836 (ctl-x-map): Move bindings for delete-window,
22837 delete-other-windows and enlarge-window here from window.c.
22838 Replace bindings for split-window-vertically and
22839 split-window-horizontally by bindings for
22840 split-window-above-each-other and split-window-side-by-side.
22841
22842 * cus-start.el (all): Remove entries for window-min-height and
22843 window-min-width. Add entries for window-splits and
22844 window-nest.
22845
22846 2011-06-09 Glenn Morris <rgm@gnu.org>
22847
22848 * calendar/appt.el (appt-mode-line): New function.
22849 (appt-check, appt-disp-window): Use it.
22850
22851 * files.el (hack-one-local-variable-eval-safep):
22852 Allow minor-modes with explicit +/-1 arguments.
22853
22854 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22855
22856 * term/xterm.el (xterm): Add defgroup.
22857 (xterm-extra-capabilities): Add defcustom to supply known xterm
22858 capabilities, skip querying them, or query them (default).
22859 (terminal-init-xterm): Use it.
22860 (terminal-init-xterm-modify-other-keys): New function to set up
22861 modifyOtherKeys support to simplify `terminal-init-xterm'.
22862
22863 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22864
22865 * window.el (resize-window-reset, resize-window-reset-1)
22866 (resize-subwindows-skip-p, resize-subwindows-normal)
22867 (resize-subwindows, resize-other-windows, resize-this-window)
22868 (resize-root-window, resize-root-window-vertically)
22869 (window-deletable-p, window-or-subwindow-p)
22870 (frame-root-window-p): New functions.
22871
22872 2011-06-09 Glenn Morris <rgm@gnu.org>
22873
22874 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22875 (ange-ftp-get-files): Use it.
22876
22877 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22878
22879 * mail/sendmail.el (mail-recover-1, mail-recover):
22880 * files.el (recover-file, recover-session):
22881 Handle dired-listing-switches not being just a single short option.
22882
22883 2011-06-09 Glenn Morris <rgm@gnu.org>
22884
22885 * calendar/appt.el (appt-display-message, appt-disp-window):
22886 Handle lists of appointments.
22887
22888 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22889
22890 * window.el (one-window-p): Move down in code.
22891 Rewrite doc-string.
22892 (window-current-scroll-bars): Rewrite doc-string.
22893 Normalize live window argument.
22894 (walk-windows, get-window-with-predicate, count-windows):
22895 Rewrite doc-string. Use window-list-1.
22896 (window-in-direction-2, window-in-direction, get-mru-window):
22897 New functions.
22898
22899 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22900
22901 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22902 Doc fix (Bug#8713).
22903
22904 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22905
22906 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22907
22908 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22909
22910 * loadhist.el (unload-feature-special-hooks):
22911 Add `comint-output-filter-functions'.
22912
22913 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22914
22915 * calendar/appt.el (appt-check): Move some initializations into the let.
22916
22917 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22918
22919 * window.el (window-height): Defalias to window-total-height.
22920 (window-width): Defalias to window-body-width.
22921
22922 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22923
22924 * image-mode.el (image-toggle-animation): New command.
22925 (image-mode-map): Bind it to RET.
22926 (image-mode): Update message.
22927 (image-toggle-display-image): Avoid a spurious cache flush.
22928 (image-transform-rotation): Doc fix.
22929 (image-transform-properties): Return quickly in the normal case.
22930 (image-animate-loop): Rename from image-animate-max-time.
22931
22932 * image.el (image-animate-max-time): Move to image-mode.el.
22933 (create-animated-image): Remove unnecessary function.
22934 (image-animate): Rename from image-animate-start. New arg.
22935 (image-animate-stop): Remove; just use image-animate-timer.
22936 (image-animate-timer): Use car-safe.
22937 (image-animate-timeout): Rename argument.
22938
22939 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22940
22941 * window.el (get-lru-window, get-largest-window): Move here from
22942 window.c. Rename first argument to ALL-FRAMES.
22943 Rephrase doc-strings.
22944 (get-buffer-window-list): Rewrite using window-list-1.
22945 Rephrase doc-string.
22946 (window-safe-min-height, window-safe-min-width): New constants.
22947 (window-size-ignore, window-min-size, window-min-size-1)
22948 (window-sizable, window-sizable-p, window-size-fixed-1)
22949 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22950 (window-max-delta-1, window-max-delta, window-resizable)
22951 (window-resizable-p, window-total-height, window-total-width)
22952 (window-body-width): New functions.
22953 (window-full-height-p, window-full-width-p): Rewrite using
22954 window-total-size.
22955 (window-body-height): Rewrite using window-body-size.
22956
22957 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22958
22959 * window.el (window-right, window-left, window-child)
22960 (window-child-count, window-last-child, window-any-p)
22961 (normalize-live-buffer, normalize-live-frame)
22962 (normalize-any-window, normalize-live-window)
22963 (window-iso-combination-p, window-iso-combined-p)
22964 (window-iso-combinations)
22965 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22966 (windows-with-parameter, window-with-parameter)
22967 (window-atom-root, make-window-atom, window-atom-check-1)
22968 (window-atom-check, window-side-check, window-check):
22969 New functions.
22970 (ignore-window-parameters, window-sides, window-sides-vertical)
22971 (window-sides-slots): New variables.
22972 (window-size-fixed): Move down in code. Minor doc-string fix.
22973
22974 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22975
22976 * comint.el (comint-dynamic-complete-as-filename)
22977 (comint-dynamic-complete-filename): Correctly call
22978 completion-in-region.
22979
22980 2011-06-05 Deniz Dogan <deniz@dogan.se>
22981
22982 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22983 in last change.
22984
22985 2011-06-05 Deniz Dogan <deniz@dogan.se>
22986
22987 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22988 (rcirc): Use it to prompt for encryption.
22989
22990 2011-06-05 Roland Winkler <winkler@gnu.org>
22991
22992 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22993 (bibtex-search-entries): New command bound to C-c C-a.
22994 (bibtex-display-entries): New function.
22995
22996 2011-06-05 Roland Winkler <winkler@gnu.org>
22997
22998 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22999 (bibtex-insert-kill): After yanking insert newline if necessary.
23000 (bibtex-initialize): Call bibtex-string-files-init only once.
23001 (bibtex-mode): Do not call easy-menu-add.
23002 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23003 (bibtex-yank): Set arg properly if nil.
23004
23005 2011-06-05 Roland Winkler <winkler@gnu.org>
23006
23007 * textmodes/bibtex.el (bibtex-search-entry-globally):
23008 New variable.
23009 (bibtex-search-entry): Use it.
23010
23011 2011-06-05 Roland Winkler <winkler@gnu.org>
23012
23013 * textmodes/bibtex.el (bibtex-entry-format): New option
23014 sort-fields.
23015 (bibtex-format-entry, bibtex-reformat): Honor this option.
23016 (bibtex-parse-entry): Return fields in proper order.
23017
23018 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23019
23020 * doc-view.el (doc-view-remove-if): Move computation of result out
23021 of `dolist' to silence misleading lexical-binding warning.
23022
23023 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23024
23025 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23026 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23027
23028 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23029
23030 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23031 "SunOS 5.10".
23032
23033 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23034
23035 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23036 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23037 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23038 (tramp-parse-putty):
23039 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23040 (tramp-completion-function-alist-ssh)
23041 (tramp-completion-function-alist-telnet)
23042 (tramp-completion-function-alist-su)
23043 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23044 cookie.
23045
23046 * net/tramp-ftp.el:
23047 * net/tramp-sh.el:
23048 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23049 load "tramp.el" `tramp-set-completion-function'.
23050
23051 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * shell.el: Require and use pcomplete.
23054 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23055 (shell-completion-vars): Set pcomplete-default-completion-function.
23056
23057 2011-06-04 Deniz Dogan <deniz@dogan.se>
23058
23059 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23060 `memq' (Bug#8799).
23061
23062 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23063
23064 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23065
23066 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23067
23068 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23069 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23070 * vc/log-view.el (log-view-beginning-of-defun):
23071 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23072 (smerge-refine-forward, smerge-refine-chopup-region):
23073 Silence warning for unused `dotimes' counter variables.
23074
23075 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23076
23077 * net/tramp.el (tramp-with-progress-reporter): Rename from
23078 with-progress-reporter. Use `declare'.
23079 * net/tramp-smb.el:
23080 * net/tramp-sh.el:
23081 * net/tramp-gvfs.el: Update all uses.
23082
23083 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23084
23085 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23086 buffer isn't killed before making it current.
23087
23088 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23089
23090 Silence various byte-compiler warnings.
23091 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23092 `access-type' and new obsolescence format.
23093 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23094 new format.
23095 (byte-compile-check-variable): New `access-type' argument.
23096 Only warn if the access-type is obsolete.
23097 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23098 (byte-compile-variable-set): Adjust callers.
23099 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23100 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23101 setting it as obsolete.
23102 * simple.el (minibuffer-completing-symbol):
23103 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23104 access as obsolete.
23105 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23106 obsolete yet.
23107 * international/quail.el (quail-mouse-choose-completion): Remove unused
23108 code referring to obsolete var.
23109 (quail-choose-completion-string): Remove.
23110 * server.el (server-clients-with, server-kill-buffer-query-function)
23111 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23112 * proced.el (proced-send-signal):
23113 * emacs-lisp/lisp.el (lisp-complete-symbol):
23114 Replace completion-annotate-function with completion-extra-properties.
23115
23116 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23117
23118 * simple.el (goto-line): Use read-number.
23119 (overriding-map-is-bound): Remove.
23120 (saved-overriding-map): Change default.
23121 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23122 Take the map as argument.
23123 (universal-argument, negative-argument, digit-argument): Use it.
23124 (restore-overriding-map): Adjust.
23125 (do-auto-fill): Use fill-forward-paragraph.
23126 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23127
23128 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23129 (minibuffer-inactive-mode): New major mode.
23130 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23131 the *Messages* buffer" hack.
23132 (mouse-popup-menubar): Don't burp if the event is a normal key.
23133
23134 Miscellaneous tweaks.
23135 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23136 lexical scoping as in subr.el's dolist and dotimes.
23137 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23138 Silence compiler warning.
23139 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23140 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23141 * international/ccl.el (ccl-compile): Trivial simplification.
23142 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23143 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23144 `printflag' argument.
23145 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23146 Purecopy the whole obsolescence data.
23147
23148 2011-06-01 Leo Liu <sdl.web@gmail.com>
23149
23150 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23151 improve doc-string as suggested by Marco Pessotto
23152 <melmothx@gmail.com>.
23153 (rcirc-print): Fix last change.
23154
23155 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23156
23157 * minibuffer.el (complete-with-action): Return nil for the metadata and
23158 boundaries of non-functional tables.
23159 (completion-table-dynamic): Return nil for the metadata.
23160 (completion-table-with-terminator): Add default case, using
23161 complete-with-action.
23162 (completion--metadata): New function.
23163 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23164 to try and avoid pathological performance problems.
23165 (completion--embedded-envvar-table): Return `category' metadata.
23166
23167 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23168
23169 * subr.el (process-alive-p): New tiny convenience function.
23170
23171 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23172
23173 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23174 content but also its previous major mode.
23175
23176 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23177
23178 * emacs-lisp/debug.el (debug): Restore the previous content of the
23179 *Backtrace* buffer when we exit with C-M-c.
23180
23181 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23182
23183 * minibuffer.el: Add metadata method to completion tables.
23184 (completion-category-overrides): New defcustom.
23185 (completion-metadata, completion--field-metadata)
23186 (completion-metadata-get, completion--styles)
23187 (completion--cycle-threshold): New functions.
23188 (completion-try-completion, completion-all-completions):
23189 Add `metadata' argument to choose completion-styles.
23190 (completion--do-completion): Use metadata to choose cycling.
23191 (completion-all-sorted-completions): Use metadata for sorting.
23192 Remove :completion-cycle-penalty which is not needed any more.
23193 (completion--try-word-completion): Add `metadata' argument.
23194 (minibuffer-completion-help): Check metadata for annotation function
23195 and sorting.
23196 (completion-file-name-table): Return `category' metadata.
23197 (minibuffer-completing-file-name): Make obsolete.
23198 * simple.el (minibuffer-completing-symbol): Make obsolete.
23199 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23200 completion-try-completion.
23201
23202 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23203
23204 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23205
23206 2011-05-30 Leo Liu <sdl.web@gmail.com>
23207
23208 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23209 (rcirc-print): Decode all incoming messages (bug#8744).
23210 (rcirc-decode-coding-system): Allow value nil for automatic coding
23211 system detection.
23212
23213 2011-06-01 Glenn Morris <rgm@gnu.org>
23214
23215 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23216
23217 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23218
23219 * image.el (image-animate-max-time): Allow nil and t values.
23220 Default to nil.
23221 (create-animated-image): Doc fix.
23222 (image-animate-start): Remove second arg; just use
23223 image-animate-max-time.
23224 (image-animate-timeout): Doc fix. Args changed.
23225
23226 * image-mode.el (image-toggle-display-image): Ensure that the
23227 image spec passed to the animate timer is the same object as in
23228 the buffer's display property (Bug#6981).
23229 (image-transform-properties): Doc fix.
23230
23231 * image.el (image-animate-max-time): Default to nil.
23232
23233 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23234
23235 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23236 entire buffer list (Bug#8184).
23237
23238 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23239
23240 * image.el (imagemagick-types-inhibit)
23241 (imagemagick-register-types): Doc fix.
23242
23243 2011-05-29 Deniz Dogan <deniz@dogan.se>
23244
23245 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23246 default.
23247
23248 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23249
23250 * select.el: Don't perform clipboard-manager saving in hooks;
23251 leave the hooks empty.
23252
23253 2011-05-28 Leo Liu <sdl.web@gmail.com>
23254
23255 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23256 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23257 (occur-edit-mode): New major mode (Bug#8463).
23258 (occur-after-change-function): New function.
23259 (occur-engine): Give Occur tags a read-only property.
23260
23261 2011-05-28 Kevin Ryde <user42@zip.com.au>
23262
23263 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23264
23265 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23266
23267 * bindings.el (help-echo): Make the initial non-indicator dash
23268 empty on graphical terminals (Bug#7295).
23269
23270 * files.el (auto-mode-alist): Move config rule after the
23271 in-stripping one (Bug#8547).
23272
23273 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23274
23275 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23276 setting (Bug#8740).
23277
23278 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23279
23280 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23281 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23282 (Bug#8539).
23283
23284 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23285
23286 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23287
23288 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23289
23290 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23291 (hs-hide-block-at-point, hs-find-block-beginning)
23292 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23293 (Bug#8279).
23294
23295 2011-05-28 Glenn Morris <rgm@gnu.org>
23296
23297 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23298
23299 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23300
23301 * help-fns.el (describe-function-1): If the function is a derived
23302 major mode, print the parent mode.
23303
23304 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23305 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23306
23307 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23308
23309 * minibuffer.el (completion--capf-wrapper): Check applicability before
23310 returning non-nil for non-exclusive completion data.
23311 * progmodes/etags.el (tags-completion-at-point-function):
23312 * info-look.el (info-lookup-completions-at-point): Mark as
23313 non-exclusive.
23314 (info-complete): Adjust accordingly.
23315
23316 * info-look.el: Convert to lexical-binding and completion-at-point.
23317 (info-lookup-completions-at-point): New function.
23318 (info-complete): Use it and completion-in-region.
23319
23320 2011-05-28 Drew Adams <drew.adams@oracle.com>
23321
23322 * isearch.el: Let M-e start with point at the first mismatched char.
23323 (isearch-fail-pos): New function.
23324 (isearch-edit-string): Use it.
23325
23326 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23327
23328 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23329
23330 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23331
23332 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23333 traversal functions for avl-trees.
23334 (avl-tree--stack): New struct.
23335 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23336 (avl-tree-enter): Add optional `updatefun' arg.
23337 (avl-tree--do-enter): Add optional `updatefun' arg.
23338 Change return value.
23339 (avl-tree-delete): Add optional `test' and `nilflag' args.
23340 (avl-tree--do-delete): Add `test' and `nilflag' args.
23341 Change return value.
23342 (avl-tree-member): Add optional `nilflag'
23343 (avl-tree-member-p): New function.
23344 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23345 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23346 (avl-tree-stack-empty-p): New functions.
23347
23348 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23349 avl-tree--del-balance1 and make it work both ways.
23350 (avl-tree--del-balance2): Remove.
23351 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23352 make it work both ways.
23353 (avl-tree--enter-balance2): Remove.
23354 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23355 New macros.
23356 (avl-tree--mapc, avl-tree-map): Add direction argument.
23357
23358 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23359
23360 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23361
23362 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23363
23364 * select.el: Support clipboard managers with built-in function
23365 x-clipboard-manager-save, via delete-frame-functions and
23366 kill-emacs-hook.
23367 (xselect-convert-to-targets): Add MULTIPLE target to list.
23368 (xselect-convert-to-save-targets): New function.
23369
23370 2011-05-27 Kenichi Handa <handa@m17n.org>
23371
23372 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23373 let-binding rfc2047-encode-encoded-words to nil.
23374
23375 2011-05-27 Glenn Morris <rgm@gnu.org>
23376
23377 * mail/emacsbug.el: Don't require url-util.
23378
23379 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23380
23381 * files.el (set-auto-mode):
23382 Also respect mode: entries at the end of the file. (Bug#8586)
23383
23384 2011-05-26 Glenn Morris <rgm@gnu.org>
23385
23386 * files.el (hack-local-variables-prop-line, hack-local-variables):
23387 Downcase mode names, as seems to be traditional.
23388 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23389
23390 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23391 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23392
23393 2011-05-25 Julien Danjou <julien@danjou.info>
23394
23395 * textmodes/rst.el (rst-define-level-faces): Do not define face
23396 symbol if it is already defined.
23397
23398 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23399
23400 * play/5x5.el (5x5-new-game, 5x5-randomize):
23401 Reset 5x5-solver-output to nil when a new grid is cast.
23402 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23403 these debugging traces, as defmacro breaks the compiled code.
23404
23405 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23406
23407 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23408
23409 2011-05-24 Leo Liu <sdl.web@gmail.com>
23410
23411 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23412 (vc-bzr-sha1): Adapt.
23413
23414 * sha1.el: Remove. Function `sha1' is now builtin.
23415
23416 * bindings.el: Provide sha1 feature.
23417
23418 2011-05-24 Kenichi Handa <handa@m17n.org>
23419
23420 * mail/sendmail.el: Require `rfc2047'.
23421 (mail-insert-from-field): Do not perform RFC2047 encoding.
23422 (mail-encode-header): New function.
23423 (sendmail-send-it): Set buffer-file-coding-system of the work
23424 buffer to the return value of select-message-coding-system.
23425 Call mail-encode-header.
23426
23427 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23428
23429 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23430
23431 * mail/supercite.el (sc-default-cite-frame):
23432 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23433
23434 2011-05-24 Glenn Morris <rgm@gnu.org>
23435
23436 * progmodes/python.el (brm-menu): Declare.
23437
23438 * emulation/viper.el (viper-set-hooks): Declare.
23439
23440 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23441 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23442 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23443 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23444 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23445 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23446
23447 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23448
23449 Add an :exit-function for completion-at-point.
23450
23451 * minibuffer.el (completion--done): New fun.
23452 (completion--do-completion): Use it. New arg `expect-exact'.
23453 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23454 since completion--do-completion does it for us now.
23455 (minibuffer-force-complete): Use completion--done and
23456 completion--replace. Handle sole-completion case with more care.
23457 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23458 (completion-extra-properties): New var.
23459 (completion-annotate-function): Make obsolete.
23460 (minibuffer-completion-help): Adjust accordingly.
23461 Use completion-list-insert-choice-function.
23462 (completion-at-point, completion-help-at-point):
23463 Bind completion-extra-properties.
23464 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23465 * simple.el (completion-list-insert-choice-function): New var.
23466 (completion-setup-function): Preserve it.
23467 (choose-completion): Pay attention to it, shuffle the code a bit.
23468 (choose-completion-string): New arg `insert-function'.
23469
23470 * textmodes/bibtex.el: Convert to lexical binding.
23471 (bibtex-mode-map): Use completion-at-point.
23472 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23473 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23474 (bibtex-complete): Define as obsolete alias.
23475 (bibtex-complete-internal): Remove.
23476 (bibtex-format-entry): Remove unused sub-group in regexp.
23477 * shell.el (shell--command-completion-data)
23478 (shell-environment-variable-completion):
23479 * pcomplete.el (pcomplete-completions-at-point):
23480 * comint.el (comint--complete-file-name-data): Use :exit-function
23481 instead of completion-table-with-terminator so it also works for
23482 choose-completion.
23483
23484 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23485
23486 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23487
23488 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23489 (bug#8710).
23490
23491 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23492
23493 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23494
23495 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23496 customization variable and implement: If non-nil, auto-fill will
23497 be inhibited while on topic's header line.
23498
23499 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23500
23501 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23502 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23503 always have a solution in grid size = 5 cases.
23504 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23505 (5x5-solver-output, 5x5-log-buffer): New vars.
23506 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23507 Make these variables buffer local to achieve 5x5 multi-session-ness.
23508 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23509 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23510 (5x5-solve-suggest): New funs.
23511 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23512 randomize a grid so that we ensure that there is always a solution.
23513 (5x5-make-random-grid): Allow other movement than flipping.
23514
23515 2011-05-23 Kevin Ryde <user42@zip.com.au>
23516
23517 * emacs-lisp/advice.el (ad-read-advised-function):
23518 Use `function-called-at-point' as the default, if it has
23519 advice and passes PREDICATE.
23520
23521 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23522
23523 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23524 byte-compile-lambda if it's actually a lambda.
23525
23526 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23527 Fix function quoting. Use backquote better.
23528
23529 2011-05-22 Yuanle Song <sylecn@gmail.com>
23530
23531 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23532 matching (Bug#8516).
23533
23534 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23535
23536 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23537 different face (Bug#8178).
23538
23539 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23540
23541 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23542 defface (Bug#8144).
23543
23544 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23545
23546 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23547 funcall as well (bug#8712). Warn when performing those conversions.
23548 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23549
23550 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23551
23552 2011-05-22 Glenn Morris <rgm@gnu.org>
23553
23554 * files.el (hack-local-variables-prop-line): Small simplifications.
23555 (hack-local-variables, hack-local-variables-prop-line):
23556 If MODE-ONLY, return the mode, rather than just `t'.
23557
23558 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23559
23560 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23561
23562 2011-05-21 Glenn Morris <rgm@gnu.org>
23563
23564 * files.el (hack-local-variables-prop-line, hack-local-variables):
23565 If only interested in the mode, don't bother doing the other stuff.
23566
23567 * image-mode.el (image-after-revert-hook):
23568 Redraw all frames on which the image is visible. (Bug#8567)
23569
23570 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23571
23572 * wid-edit.el (widget-checklist-match-inline):
23573 Fix 2011-04-19 change. (Bug#8649)
23574
23575 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23576
23577 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23578 Also allow singlespace after single-letter capitals followed by a dot.
23579
23580 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23581 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23582
23583 2011-05-20 Nix <nix@esperi.org.uk>
23584
23585 * files.el (basic-save-buffer-2):
23586 Fix handling of break-hardlink-on-save with non-existent files.
23587
23588 2011-05-19 Deniz Dogan <deniz@dogan.se>
23589
23590 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23591 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23592
23593 2011-05-19 Glenn Morris <rgm@gnu.org>
23594
23595 * progmodes/f90.el (f90-type-def-re):
23596 Handle "type, bind(c)". (Bug#8691)
23597
23598 * emacs-lisp/autoload.el (batch-update-autoloads):
23599 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23600
23601 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23602
23603 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23604 property for the correct connection in case of multihops.
23605
23606 2011-05-18 Glenn Morris <rgm@gnu.org>
23607
23608 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23609 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23610
23611 Rationalize calendar handling of day and month abbrev-arrays.
23612 * calendar/calendar.el (calendar-customized-p): New function.
23613 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23614 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23615 Add :set function.
23616 (calendar-abbrev-length, calendar-day-abbrev-array)
23617 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23618 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23619 Elements may no longer be nil.
23620 (calendar-day-name, calendar-month-name):
23621 Update for changed nature of abbrev arrays.
23622 * calendar/diary-lib.el (diary-name-pattern):
23623 Update for changed nature of abbrev arrays.
23624 (diary-mark-entries-1): Update calendar-make-alist calls.
23625 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23626 * calendar/cal-html.el (cal-html-day-abbrev-array):
23627 Simply inherit from calendar-day-abbrev-array.
23628
23629 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23630
23631 * progmodes/grep.el (grep-mode): Disable default
23632 compilation-directory-matcher setting (bug#8684).
23633
23634 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23635
23636 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23637 instead of "head" and "tail". There were problems with SunOS 5.9,
23638 and it performs better.
23639
23640 2011-05-17 Glenn Morris <rgm@gnu.org>
23641
23642 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23643
23644 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23645 Replace obsolete function.
23646
23647 * shell.el (pcomplete-parse-arguments-function): Declare.
23648
23649 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23650 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23651 (appt-check): Doc fixes.
23652 (appt-disp-window-function, appt-delete-window-function):
23653 Remove needless special case in custom :type.
23654 (appt-display-count): Default to 0, not nil.
23655 (appt-check): Reset appt-display-count to 0, not nil.
23656
23657 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23658
23659 * progmodes/python.el (python-font-lock-keywords):
23660 Add the Python 3.X keyword "nonlocal" (bug#8639).
23661
23662 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23663
23664 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23665
23666 2011-05-16 Kevin Ryde <user42@zip.com.au>
23667
23668 * info-look.el (makefile-automake-mode): New setups, looking in
23669 automake manual, then makefile-mode.
23670 (makefile-mode): Remove automake manual, have it just in
23671 makefile-automake-mode since there's various things different or
23672 not relevant to plain make.
23673 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23674 believe a hypothetical automake-mode would go to makefile-mode,
23675 not the other way around.
23676
23677 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23678
23679 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23680 hunk-end tags (Bug#8672).
23681
23682 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23683 vc-annotate-show-diff-revision-at-line (Bug#8671).
23684
23685 2011-05-14 Glenn Morris <rgm@gnu.org>
23686
23687 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23688 in the middle of an existing one with multiple authors. (Bug#8645)
23689 (change-log-font-lock-keywords): Also handle multiple author lines
23690 with leading tabs. (Bug#8644)
23691
23692 * calendar/appt.el (appt-check): Rename some local variables.
23693 Some simplification/reordering.
23694
23695 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23696 (feedmail-sendmail-f-doesnt-sell-me-out)
23697 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23698 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23699 (feedmail-queue-runner-message-sender): Set :version.
23700 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23701 (bbdb-dwim-net-address, vm-mail): Declare.
23702 (feedmail-binmail-gnulinuxish-template):
23703 Rename from feedmail-binmail-linuxish-template.
23704 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23705 Use insert-buffer-substring.
23706
23707 2011-05-14 Bill Carpenter <bill@carpenter.org>
23708
23709 * mail/feedmail.el (feedmail-patch-level): Increase.
23710 (feedmail-debug): New custom group.
23711 (feedmail-confirm-outgoing-timeout)
23712 (feedmail-sendmail-f-doesnt-sell-me-out)
23713 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23714 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23715 (feedmail-sender-line, feedmail-from-line)
23716 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23717 (feedmail-spray-this-address)
23718 (feedmail-spray-address-fiddle-plex-list)
23719 (feedmail-queue-use-send-time-for-date)
23720 (feedmail-queue-use-send-time-for-message-id)
23721 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23722 (feedmail-buffer-eating-function):
23723 Doc fixes.
23724 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23725 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23726 (feedmail-message-action-scroll-down): New functions.
23727 (feedmail-queue-directory, feedmail-queue-draft-directory):
23728 Use expand-file-name.
23729 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23730 Remove C-v help entry.
23731 (feedmail-queue-buffer-file-name): New variable.
23732 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23733 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23734 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23735 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23736 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23737 (feedmail-message-action-toggle-spray)
23738 (feedmail-run-the-queue-no-prompts)
23739 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23740 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23741 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23742 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23743 (feedmail-envelope-deducer, feedmail-fiddle-from)
23744 (feedmail-fiddle-sender, feedmail-default-date-generator)
23745 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23746 (feedmail-fiddle-spray-address)
23747 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23748 (feedmail-fiddle-list-of-fiddle-plexes)
23749 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23750 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23751 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23752 Change default. Doc fix.
23753 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23754 (feedmail-binmail-linuxish-template): New constant.
23755 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23756 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23757 (feedmail-send-it): Add debug call.
23758 Use feedmail-queue-buffer-file-name, and
23759 feedmail-send-it-immediately-wrapper.
23760 (feedmail-message-action-send): Add debug call.
23761 Use feedmail-send-it-immediately-wrapper.
23762 (feedmail-queue-express-to-queue): Add debug call.
23763 Run feedmail-queue-express-hook.
23764 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23765 (feedmail-message-action-help-blat):
23766 Rename from feedmail-queue-send-edit-prompt-help-first.
23767 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23768 Check line-endings. Handle errors better.
23769 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23770 Doc fix. Add debug call.
23771 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23772 Use feedmail-queue-send-edit-prompt-inner.
23773 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23774 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23775 from feedmail-queue-send-edit-prompt.
23776 (feedmail-queue-send-edit-prompt-help)
23777 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23778 (feedmail-tidy-up-slug): Add debug call.
23779 Respect feedmail-queue-slug-suspect-regexp.
23780 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23781 (feedmail-dump-message-to-queue): Add debug call.
23782 Expand queue-directory.
23783 (feedmail-dump-message-to-queue): Change message slightly.
23784 Use feedmail-say-chatter.
23785 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23786 (feedmail-send-it-immediately-wrapper): New function.
23787 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23788 Insert empty string rather than newline. Handle full-frame case.
23789 Use catch/throw. Use feedmail-say-chatter.
23790 (feedmail-fiddle-from): Try mail-host-address.
23791 (feedmail-default-message-id-generator): Doc fix.
23792 Bind system-time-locale. Handle missing end.
23793 (feedmail-fiddle-x-mailer): Add debug call.
23794 Handle feedmail-x-mailer-line being nil.
23795 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23796 Add debug call. Use buffer-substring-no-properties.
23797 (feedmail-say-debug, feedmail-say-chatter): New functions.
23798 (feedmail-find-eoh): Give an explicit error.
23799
23800 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23801
23802 * net/newst-treeview.el (newsticker-treeview-face): Change default
23803 family from helvetica to sans.
23804 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23805 etc/images/newsticker.
23806
23807 * net/newst-reader.el (newsticker-feed-face): Change default
23808 family from helvetica to sans.
23809
23810 * net/newst-plainview.el (newsticker-new-item-face)
23811 (newsticker-old-item-face, newsticker-immortal-item-face)
23812 (newsticker-obsolete-item-face, newsticker-date-face)
23813 (newsticker-statistics-face): Change default family from
23814 helvetica to sans.
23815 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23816 etc/images/newsticker.
23817
23818 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23819 (newsticker--process-auto-mark-filter-match): Tell user about
23820 auto-marking.
23821
23822 2011-05-13 Didier Verna <didier@xemacs.org>
23823
23824 Common Lisp indentation improvements on defmethod and lambda-lists.
23825 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23826 TODO entries.
23827 (lisp-lambda-list-keyword-parameter-indentation)
23828 (lisp-lambda-list-keyword-parameter-alignment)
23829 (lisp-lambda-list-keyword-alignment): New customizable user options.
23830 (lisp-indent-defun-method): Improve docstring.
23831 (extended-loop-p): Fix comment.
23832 (lisp-indent-lambda-list-keywords-regexp): New variable.
23833 (lisp-indent-lambda-list): New function.
23834 (lisp-indent-259): Use it.
23835 (lisp-indent-defmethod): Support for more than one
23836 method qualifier and properly indent methods lambda-lists.
23837 (defgeneric): Provide a missing common-lisp-indent-function property.
23838
23839 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23840
23841 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23842 bounds for the empty string (bug#8667).
23843
23844 2011-05-13 Glenn Morris <rgm@gnu.org>
23845
23846 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23847
23848 * mail/sendmail.el (sendmail-program): Try executable-find first.
23849 (sendmail-send-it): `sendmail-program' cannot be unbound.
23850
23851 * calendar/appt.el (appt-make-list): Simplify.
23852 (appt-time-msg-list): Doc fix.
23853 (appt-check): Change mode-line message at the time of the appointment.
23854
23855 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23856
23857 * progmodes/ld-script.el (ld-script-keywords)
23858 (ld-script-builtins): Update keywords list.
23859
23860 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23861
23862 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23863
23864 * shell.el (shell-completion-vars): New function.
23865 (shell-mode):
23866 * simple.el (read-shell-command): Use it.
23867 (blink-matching-open): No need for " [...]" in minibuffer-message.
23868
23869 2011-05-12 Glenn Morris <rgm@gnu.org>
23870
23871 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23872 (appt-check): Simplify.
23873
23874 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23875
23876 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23877 literal "/dev/null".
23878
23879 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23880
23881 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23882 Fix typo.
23883
23884 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23885
23886 * progmodes/which-func.el (which-function):
23887 Use add-log-current-defun instead of add-log-current-defun-function,
23888 which might not be defined (Bug#8260).
23889
23890 2011-05-12 Glenn Morris <rgm@gnu.org>
23891
23892 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23893 Let byte-compile-initial-macro-environment always take precedence.
23894
23895 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23896
23897 * net/rcirc.el: Add support for SSL/TLS connections.
23898 (rcirc-server-alist): New field `encryption'.
23899 (rcirc): Check `encryption' settings.
23900 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23901 Merge make-local-variable into `set'.
23902 (rcirc--connection-open-p): New function.
23903 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23904 the process is not a network process (e.g. running gnutls-cli).
23905 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23906 Make rcirc-(en|de)code-coding-system local here.
23907 (rcirc-mode): Merge make-local-variable into `set'.
23908 (rcirc-parent-buffer): Make permanent buffer-local.
23909 (rcirc-multiline-minor-mode): Don't do it here.
23910 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23911 there's no server buffer.
23912
23913 2011-05-11 Glenn Morris <rgm@gnu.org>
23914
23915 * newcomment.el (comment-kill): Prefix "unused" local.
23916
23917 * term/w32console.el (get-screen-color): Declare.
23918
23919 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23920 Handle symbol elements of byte-compile-initial-macro-environment.
23921
23922 2011-05-10 Leo Liu <sdl.web@gmail.com>
23923
23924 * bookmark.el (bookmark-bmenu-mode-map):
23925 Bind bookmark-bmenu-search to `/'.
23926
23927 * mail/footnote.el: Convert to utf-8 encoding.
23928 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23929 (Footnote-unicode): New function.
23930 (footnote-style-alist): Add unicode style to the list.
23931 (footnote-style): Doc fix.
23932
23933 2011-05-10 Jim Meyering <meyering@redhat.com>
23934
23935 Fix doubled-word typos.
23936 * international/quail.el (quail-insert-kbd-layout): and and -> and
23937 * kermit.el: and and -> and
23938 * net/ldap.el (ldap-search-internal): to to -> to
23939 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23940 * progmodes/js.el (js-mode): and and -> and
23941 * textmodes/artist.el (artist-move-to-xy): at at -> at
23942 (artist-draw-region-trim-line-endings): if if -> if
23943 And Safetyc -> Safety.
23944 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23945
23946 2011-05-10 Glenn Morris <rgm@gnu.org>
23947 Stefan Monnier <monnier@iro.umontreal.ca>
23948
23949 * files.el (hack-one-local-variable-eval-safep):
23950 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23951
23952 2011-05-10 Glenn Morris <rgm@gnu.org>
23953
23954 * calendar/diary-lib.el (diary-list-entries-hook)
23955 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23956 (diary-nongregorian-marking-hook, diary-list-entries)
23957 (diary-include-other-diary-files, diary-mark-entries)
23958 (diary-mark-included-diary-files): Doc fixes.
23959
23960 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23961
23962 * misc.el: Require tabulated-list.el during compilation.
23963
23964 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23965
23966 * progmodes/compile.el (compilation-start):
23967 Run compilation-filter-hook for the async case too.
23968 (compilation-filter-hook): Doc fix.
23969
23970 2011-05-09 Deniz Dogan <deniz@dogan.se>
23971
23972 * wdired.el: Remove outdated installation comment. Fix usage
23973 comment.
23974
23975 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23976
23977 * misc.el: Implement new command `list-dynamic-libraries'.
23978 (list-dynamic-libraries--loaded-only-p): New variable.
23979 (list-dynamic-libraries--refresh): New function.
23980 (list-dynamic-libraries): New command.
23981
23982 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23983
23984 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23985 Fix the ant regexp to handle end-line and end-column info from jikes.
23986 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23987 higher priority to avoid clobbering by gnu.
23988
23989 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23990
23991 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23992 if the face has existing theme settings (Bug#8454).
23993
23994 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23995
23996 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23997 Only match variables declared via `my' or `our' (Bug#8261).
23998
23999 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24000 special file names `.' and `..' (Bug#8259).
24001
24002 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24003
24004 * progmodes/grep.el (grep-mode-font-lock-keywords):
24005 Remove buffer-changing entries.
24006 (grep-filter): New function.
24007 (grep-mode): Add it to compilation-filter-hook.
24008
24009 * progmodes/compile.el (compilation-filter-hook)
24010 (compilation-filter-start): New defvars.
24011 (compilation-filter): Call compilation-filter-hook prior to
24012 updating the process mark.
24013
24014 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24015
24016 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24017
24018 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24019
24020 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24021 mailclient-send-it even if window-system is nil. (Bug#8595)
24022
24023 * term/w32console.el (terminal-init-w32console):
24024 Call get-screen-color and use its output to set the frame
24025 background-mode. (Bug#8597)
24026
24027 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24028
24029 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24030 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24031 New functions.
24032 (defgeneric, eieio--defmethod): Use them.
24033 (eieio-defgeneric): Remove.
24034 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24035
24036 2011-05-07 Glenn Morris <rgm@gnu.org>
24037
24038 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24039 Use let rather than let*.
24040 (timeclock-find-discrep): Remove unused local.
24041
24042 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24043
24044 * calendar/appt.el (appt-time-msg-list): Doc fix.
24045
24046 2011-05-06 Noah Friedman <friedman@splode.com>
24047
24048 * apropos.el (apropos-print-doc): Only use
24049 emacs-lisp-docstring-fill-column when it is bound to an integer,
24050 per that variable's documentation.
24051
24052 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24053
24054 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24055 and warnings are not silently discarded (e.g. use -d instead of -P).
24056
24057 2011-05-06 Glenn Morris <rgm@gnu.org>
24058
24059 * calendar/appt.el (appt-message-warning-time): Doc fix.
24060 (appt-warning-time-regexp): New option.
24061 (appt-make-list): Respect appt-message-warning-time.
24062
24063 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24064 New options.
24065 (diary-add-to-list): Strip comments from the displayed string.
24066 (diary-mode): Set comment-start and comment-end.
24067
24068 * vc/diff-mode.el (smerge-refine-subst): Declare.
24069 (diff-refine-hunk): Don't require smerge-mode when compiling.
24070
24071 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24072
24073 * simple.el (list-processes): Return nil as the docstring says.
24074
24075 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24076
24077 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24078 to "".
24079 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24080 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24081 determining of binary transfer. (Bug#7383)
24082
24083 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24084
24085 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24086 Fix port computation bug. (Bug#8618)
24087
24088 2011-05-05 Glenn Morris <rgm@gnu.org>
24089
24090 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24091
24092 * simple.el (shell-dynamic-complete-functions)
24093 (comint-dynamic-complete-functions): Declare.
24094
24095 * net/network-stream.el (gnutls-negotiate):
24096 * simple.el (tabulated-list-print): Fix declarations.
24097
24098 * progmodes/gud.el (syntax-symbol, syntax-point):
24099 Remove unnecessary and incorrect declarations.
24100
24101 * emacs-lisp/check-declare.el (check-declare-scan):
24102 Handle byte-compile-initial-macro-environment in bytecomp.el.
24103
24104 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24105
24106 Fix earlier half-done eieio-defmethod change (bug#8338).
24107 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24108 Streamline and change calling convention.
24109 (defmethod): Adjust accordingly and simplify.
24110 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24111 new eieio--defmethod.
24112 (slot-boundp): Minor CSE simplification.
24113
24114 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24115
24116 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24117 (glasses-make-readable): Use glasses-separate-capital-groups.
24118
24119 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24120
24121 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24122 (warning-series): Doc fix.
24123 (display-warning): Don't try to create the buffer if we just found it.
24124
24125 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24126
24127 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24128 (autoload-find-generated-file): New function.
24129 (generate-file-autoloads): Bind generated-autoload-file to
24130 buffer-file-name.
24131 (update-file-autoloads, update-directory-autoloads):
24132 Use autoload-find-generated-file. If called interactively, prompt for
24133 output file (Bug#7989).
24134 (batch-update-autoloads): Doc fix.
24135
24136 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24137
24138 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24139
24140 2011-05-04 Glenn Morris <rgm@gnu.org>
24141
24142 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24143 function, so it follows changes in calendar-date-style.
24144 (diary-fancy-date-matcher): New function.
24145 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24146 (diary-fancy-font-lock-fontify-region-function):
24147 Use diary-fancy-date-pattern as a function.
24148
24149 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24150 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24151
24152 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24153
24154 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24155 instead of positional arguments. Allow :keylist and :crlfiles
24156 arguments.
24157 (open-gnutls-stream): Call it.
24158
24159 * net/network-stream.el (network-stream-open-starttls): Adjust to
24160 call `gnutls-negotiate' with :process and :hostname arguments.
24161
24162 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24163
24164 * minibuffer.el (completion--message): New function.
24165 (completion--do-completion, minibuffer-complete)
24166 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24167 (completion--do-completion): Don't ignore completion-auto-help when in
24168 icomplete-mode.
24169
24170 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24171 internal encoding (e.g. tibetan zero is not whitespace).
24172 (global-whitespace-mode): Prefer save-current-buffer.
24173 (whitespace-trailing-regexp): Remove useless save-match-data.
24174 (whitespace-empty-at-bob-regexp): Minor simplification.
24175
24176 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24177
24178 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24179
24180 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24181
24182 * textmodes/ispell.el (ispell-add-per-file-word-list):
24183 Use `concat' to create string for insertion.
24184
24185 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24186
24187 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24188 Avoid open-line which runs post-self-insert-hook.
24189 (bibtex-fill-entry): Remove unused `end' var.
24190
24191 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24192
24193 * textmodes/ispell.el (ispell-add-per-file-word-list):
24194 Protect against `nil' value of `comment-start' (Bug#8579).
24195
24196 2011-05-03 Leo Liu <sdl.web@gmail.com>
24197
24198 * isearch.el (isearch-yank-pop): New command.
24199 (isearch-mode-map): Bind it to `M-y'.
24200 (isearch-forward): Mention it.
24201
24202 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24203
24204 * simple.el (minibuffer-complete-shell-command): Remove.
24205 (minibuffer-local-shell-command-map): Use completion-at-point.
24206 (read-shell-command): Setup completion vars here instead.
24207 (read-expression-map): Bind TAB to symbol completion.
24208
24209 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24210 error directly rather via storing it into `results'.
24211
24212 2011-05-02 Leo Liu <sdl.web@gmail.com>
24213
24214 * vc/diff.el: Fix description.
24215
24216 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24217
24218 * server.el (server-eval-at): New function.
24219
24220 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24221
24222 * net/network-stream.el (open-network-stream): Take a :nowait
24223 parameter and pass it on to `make-network-process'.
24224 (network-stream-open-plain): Ditto.
24225
24226 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24227
24228 * faces.el (face-spec-set-match-display): Don't match toolkit
24229 options on terminal frames.
24230
24231 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24232
24233 * progmodes/pascal.el: Use lexical binding.
24234 (pascal-mode-map): Remove author preferences.
24235
24236 * pcomplete.el (pcomplete-std-complete): Don't abuse
24237 completion-at-point.
24238
24239 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24240
24241 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24242 removing code that has been dead since 1991 or so.
24243
24244 * startup.el (command-line): When warning about "_emacs", use a
24245 delayed warning to allow the user to filter it out.
24246
24247 2011-04-28 Deniz Dogan <deniz@dogan.se>
24248
24249 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24250 user has not joined.
24251
24252 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24253
24254 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24255 aren't any completions at point.
24256
24257 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24258
24259 * subr.el (display-delayed-warnings): New function.
24260 (delayed-warnings-hook): New variable.
24261
24262 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24263
24264 * minibuffer.el (completion-at-point, completion-help-at-point):
24265 Don't presume that a given completion-at-point-function will always
24266 use the same calling convention.
24267
24268 * pcomplete.el (pcomplete-completions-at-point):
24269 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24270 pcomplete-seen is non-nil.
24271 (pcomplete-comint-setup): Also recognize the new comint/shell
24272 completion functions.
24273 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24274 pcomplete-seen is non-nil.
24275
24276 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24277
24278 * calendar/icalendar.el (diary-lib): Add require statement.
24279 (icalendar--create-uid): Read out a uid from a text-property on
24280 the first character in the entry. This allows for code to add its
24281 own uid to the entry.
24282 (icalendar--convert-float-to-ical): Add export of
24283 `diary-float'-entries save for those with the optional DAY
24284 argument.
24285
24286 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24287
24288 * subr.el (shell-quote-argument): Use alternate escaping strategy
24289 when we spot a variable reference in a string.
24290
24291 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24292
24293 * cus-start.el (all): Define customization for debug-on-event.
24294
24295 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24296
24297 * subr.el (shell-quote-argument): Escape correctly under Windows.
24298
24299 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24300
24301 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24302
24303 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24304
24305 * net/tramp.el (tramp-process-actions): Add POS argument.
24306 Delete region between POS and (pos).
24307
24308 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24309 Use `nil' position in `tramp-process-actions' call.
24310 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24311
24312 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24313 position in `tramp-process-actions' call.
24314
24315 * net/trampver.el: Update release number.
24316
24317 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24318
24319 * custom.el (defcustom): Obey lexical-binding.
24320
24321 Fix octave-inf completion problems reported by Alexander Klimov.
24322 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24323 Inherit from octave-mode-syntax-table.
24324 (inferior-octave-mode): Set info-lookup-mode.
24325 (inferior-octave-completion-at-point): New function.
24326 (inferior-octave-complete): Use it and completion-in-region.
24327 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24328 comint-filename-completion.
24329 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24330 symbol elements which shouldn't be word elements.
24331 (octave-font-lock-keywords, octave-beginning-of-defun)
24332 (octave-function-header-regexp): Adjust regexps accordingly.
24333 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24334
24335 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24336
24337 * net/gnutls.el (gnutls-errorp): Declare before first use.
24338
24339 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24340
24341 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24342 verify-error, and verify-hostname-error parameters. Check whether
24343 default trustfile exists before going to use it. Add missing
24344 argument to gnutls-message-maybe call. Return value.
24345 Reported by Claudio Bley <claudio.bley@gmail.com>.
24346 (open-gnutls-stream): Add usage example.
24347
24348 * net/network-stream.el (network-stream-open-starttls): Give host
24349 parameter to `gnutls-negotiate'.
24350 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24351 * subr.el (shell-quote-argument): Escape correctly under Windows.
24352
24353 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24354
24355 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24356 Use correct match group (bug#8438).
24357
24358 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24359
24360 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24361 (package-menu--generate): New arg specifying packages to show.
24362 (package-menu-refresh, package-menu-execute, list-packages):
24363 Callers changed.
24364 (package-show-package-list): New function, replacing deleted
24365 package--list-packages (renamed because it is non-internal).
24366
24367 * finder.el (finder-list-matches): Use package-show-package-list
24368 instead of deleted package--list-packages.
24369
24370 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24371 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24372 (vc-annotate-mode-map): Bind it to RET.
24373
24374 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24375
24376 * progmodes/etags.el (next-file): Don't use set-buffer to change
24377 buffers (Bug#8478).
24378
24379 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24380
24381 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24382
24383 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24384 (apropos-accumulator): Doc fix.
24385 (apropos-function, apropos-macro, apropos-command)
24386 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24387 (apropos-plist): Add face property.
24388 (apropos-symbols-internal): Fix indentation.
24389 (apropos-print): Simplify help, and recognize apropos-multi-type.
24390 (apropos-print-doc): Use button-type-get to extract the button's
24391 face property. Fill docstring (Bug#8352).
24392
24393 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24394
24395 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24396
24397 * play/mpuz.el (mpuz-silent): Doc fix.
24398 (mpuz-mode-map): Use mapc.
24399 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24400 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24401 Fix typos in docstrings.
24402
24403 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24404 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24405
24406 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24407
24408 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24409
24410 * minibuffer.el (completion--do-completion): Avoid the "Next char
24411 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24412
24413 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24414 mouse-2 into unread-command-events, it is interpreted correctly.
24415
24416 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24417 (image-toggle-display): Doc fix.
24418
24419 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24420
24421 * textmodes/page.el (what-page): Use line-number-at-pos to
24422 calculate line number (Bug#6825).
24423
24424 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24425
24426 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24427 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24428 Pass argument NO-DEFAULT to `find-tag-interactive'.
24429
24430 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24431
24432 Lexical-binding cleanup.
24433
24434 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24435 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24436 * progmodes/ada-prj.el (ada-prj-initialize-values)
24437 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24438 (ada-prj-show-value):
24439 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24440 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24441 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24442 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24443 * progmodes/bug-reference.el (bug-reference-push-button):
24444 * progmodes/fortran.el (fortran-line-length):
24445 * progmodes/glasses.el (glasses-change):
24446 * progmodes/octave-mod.el (octave-fill-paragraph):
24447 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24448 (python-pdbtrack-grub-for-buffer, python-sentinel):
24449 * progmodes/sql.el (sql-save-connection):
24450 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24451 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24452 Mark unused parameters.
24453
24454 * progmodes/compile.el (compilation--flush-directory-cache)
24455 (compilation--flush-parse, compile-internal): Mark unused parameters.
24456 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24457 (compilation-next-error-function): Remove unused variable `timestamp'.
24458
24459 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24460 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24461
24462 * progmodes/dcl-mode.el (dcl-end-of-command):
24463 Remove unused variable `start'.
24464 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24465 (dcl-option-value-basic, dcl-option-value-offset)
24466 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24467 Mark unused parameters.
24468 (dcl-save-local-variable): Remove unused variable `val'.
24469 (mode): Declare.
24470
24471 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24472 Mark unused parameters.
24473 (delphi-ignore-changes): Move before first use.
24474 (delphi-charset-token-at): Remove unused variable `start'.
24475 (delphi-else-start): Remove unused variable `if-count'.
24476 (delphi-comment-block-start, delphi-comment-block-end):
24477 Remove unused variable `kind'.
24478 (delphi-indent-line): Remove unused variable `new-point'.
24479
24480 * progmodes/ebrowse.el (ebrowse-files-list)
24481 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24482 Mark unused parameters. Don't quote `lambda'.
24483 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24484 Don't quote `lambda'.
24485 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24486 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24487 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24488 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24489 Use `ignore-errors'.
24490 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24491 (ebrowse-view/find-file-and-search-pattern)
24492 (ebrowse-view/find-member-declaration/definition):
24493 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24494 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24495 Rename parameter PREFIX-ARG to PREFIX.
24496 (ebrowse-tags-read-name): Remove unused variables `start' and
24497 `member-info'.
24498 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24499 to `tags-file'.
24500
24501 * progmodes/etags.el (local-find-tag-hook): Declare.
24502 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24503 Mark unused parameters.
24504
24505 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24506 (executable-interpret): Mark unused parameter.
24507
24508 * progmodes/flymake.el (flymake-process-sentinel)
24509 (flymake-after-change-function)
24510 (flymake-create-temp-with-folder-structure)
24511 (flymake-get-include-dirs-dot): Mark unused parameters.
24512 (flymake-safe-delete-directory): Remove unused variable `err'.
24513
24514 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24515 (speedbar-timer-fn, speedbar-line-text)
24516 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24517 (speedbar-center-buffer-smartly): Declare functions.
24518 (gdb-find-watch-expression): Remove unused variable `array'.
24519 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24520 (gdb-starting): Mark unused parameters.
24521 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24522 (gdb-table-string): Remove unused variable `res'.
24523 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24524 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24525 (gdb-display-buffer): Remove unused variable `cur-size'.
24526
24527 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24528 allow lexical-binding compilation.
24529 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24530 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24531 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24532 Mark unused parameters.
24533 (gud-gdb-marker-filter): Remove unused variable `match'.
24534 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24535 lambda expressions and funcall them, instead of using `fset'.
24536
24537 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24538 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24539
24540 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24541 variable `header-beg'; use `let'.
24542
24543 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24544 `restart', `last-sexp' and `at-do'.
24545
24546 * progmodes/js.el (js--debug): Mark unused parameter.
24547 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24548 (js--splice-into-items): Remove unused variable `item'.
24549 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24550
24551 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24552 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24553 (makefile-complete): Remove unused variable `try'.
24554 (makefile-fill-paragraph, makefile-match-function-end):
24555 Mark unused parameters.
24556
24557 * progmodes/octave-inf.el (inferior-octave-complete):
24558 Remove unused variable `proc'.
24559 (inferior-octave-output-digest): Mark unused parameter.
24560
24561 * progmodes/perl-mode.el (perl-calculate-indent):
24562 Remove unused variable `err'.
24563
24564 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24565 (prolog-indent-line): Mark unused parameters.
24566 (prolog-indent-line): Remove unused variable `beg'.
24567
24568 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24569 (reporter-dont-compact-list): Declare.
24570
24571 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24572 Remove unused variable `char'.
24573 (sh-debug): Mark unused parameter.
24574 (sh-get-indent-info): Remove unused variable `start'.
24575 (sh-calculate-indent): Remove unused variable `var'.
24576
24577 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24578 (simula-electric-keyword): Remove unused variable `null'.
24579 (simula-search-backward, simula-search-forward): Remove unused
24580 variables `begin' and `end'.
24581
24582 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24583 Remove unused variable `pos'.
24584 (vera-electric-tab, vera-comment-uncomment-region):
24585 Mark unused parameters.
24586 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24587
24588 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24589
24590 * emacs-lisp/package.el (package--builtins, package-alist)
24591 (package-load-descriptor, package-built-in-p, package-activate)
24592 (define-package, package-installed-p)
24593 (package-compute-transaction, package-buffer-info)
24594 (package--push): Doc fix. Distinguish more clearly between
24595 version strings and version lists.
24596
24597 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24598
24599 Lexical-binding cleanup.
24600
24601 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24602 (5x5-make-mutate-best):
24603 * play/fortune.el (fortune-in-buffer):
24604 * play/gomoku.el (gomoku-init-display):
24605 * play/solitaire.el (solitaire, solitaire-do-check):
24606 * play/tetris.el (tetris-default-update-speed-function):
24607 Mark unused parameters.
24608
24609 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24610 (bubbles--shift): Remove unused variable `char-org'.
24611 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24612 (bubbles--show-images): Remove unused variable `char'.
24613
24614 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24615 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24616 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24617 (decipher-analyze-buffer): Use ?\s.
24618 (decipher-make-checkpoint): Remove unused variable `mapping'.
24619
24620 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24621
24622 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24623 Remove unused variable `result'; use `let'.
24624
24625 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24626 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24627 (gametree-children-shown-p, gametree-compute-reduced-score):
24628 Use `ignore-errors'.
24629
24630 * play/handwrite.el (ps-lpr-switches): Declare.
24631 (handwrite): Remove unused variables `pmin' and `lastp'.
24632
24633 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24634
24635 * play/landmark.el (landmark-init-display)
24636 (landmark-update-naught-weights): Mark unused parameters.
24637 (landmark-y): Remove unused variable `noise'. Simplify.
24638 (landmark-human-plays): Remove unused variable `score'.
24639
24640 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24641 (mpuz-try-proposal): Remove unused variable `game'.
24642
24643 * play/zone.el (life-patterns): Declare.
24644
24645 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24646
24647 * vc/vc.el (ediff-vc-internal): Declare function.
24648
24649 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24650
24651 * shell.el: Use lexical-binding and std completion UI.
24652 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24653 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24654 comint-preoutput-filter-functions rather than on
24655 comint-output-filter-functions.
24656 (shell-command-completion, shell--command-completion-data)
24657 (shell-filename-completion, shell-environment-variable-completion)
24658 (shell-c-a-p-replace-by-expanded-directory): New functions.
24659 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24660 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24661 (shell-dynamic-complete-environment-variable): Use them.
24662 (shell-dynamic-complete-as-environment-variable)
24663 (shell-dynamic-complete-as-command): Remove.
24664 (shell-match-partial-variable): Match past point.
24665 * comint.el: Clean up use of completion-at-point-functions.
24666 (comint-completion-at-point): New function.
24667 (comint-mode): Use it completion-at-point-functions.
24668 (comint-dynamic-complete): Make it obsolete.
24669 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24670 (comint-c-a-p-replace-by-expanded-history): New function.
24671 (comint-dynamic-complete-functions)
24672 (comint-replace-by-expanded-history): Use it.
24673 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24674 termination strings. Try harder to avoid second try-completion.
24675 (completion-in-region-mode-map): Disable bindings that don't work yet.
24676
24677 * comint.el: Use lexical-binding. Require CL.
24678 (comint-dynamic-complete-functions): Use comint-filename-completion.
24679 (comint-completion-addsuffix): Tweak custom type.
24680 (comint-filename-completion, comint--common-suffix)
24681 (comint--common-quoted-suffix, comint--table-subvert)
24682 (comint--complete-file-name-data): New functions.
24683 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24684 (comint-dynamic-list-filename-completions): Use them.
24685 (comint-dynamic-simple-complete): Make obsolete.
24686
24687 * minibuffer.el (completion-in-region-mode):
24688 Keep completion-in-region-mode--predicate global.
24689 (completion-in-region--postch):
24690 Assume completion-in-region-mode--predicate is not null.
24691
24692 * progmodes/flymake.el (flymake-start-syntax-check-process):
24693 Obey `dir'. Simplify.
24694
24695 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24696 we're in VC after all.
24697
24698 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24699
24700 * vc/vc.el (vc-diff-build-argument-list-internal)
24701 (vc-version-ediff, vc-ediff): New commands.
24702 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24703
24704 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24705
24706 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24707 add sanity check.
24708
24709 * obsolete/erc-hecomplete.el: Make obsolete.
24710 * obsolete/: Standardize obsolescence info in the header.
24711
24712 2011-04-20 Glenn Morris <rgm@gnu.org>
24713
24714 * calendar/solar.el (solar-horizontal-coordinates):
24715 Use the longitude argument rather than `calendar-longitude'.
24716 (solar-date-next-longitude): Remove unused locals.
24717
24718 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24719
24720 * whitespace.el: New version 13.2.1.
24721
24722 2011-04-20 felix <EmacsWiki> (tiny change)
24723
24724 * whitespace.el (global-whitespace-mode): Keep highlight when
24725 switching between major modes on a file.
24726
24727 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24728
24729 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24730 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24731 multi-line comments as well.
24732
24733 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24734
24735 Lexical-binding cleanup.
24736
24737 * arc-mode.el (archive-mode-revert):
24738 * cmuscheme.el (scheme-interactively-start-process):
24739 * custom.el (custom-initialize-delay):
24740 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24741 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24742 * emacs-lock.el (emacs-lock-clear-sentinel):
24743 * ezimage.el (defezimage):
24744 * follow.el (follow-avoid-tail-recenter):
24745 * fringe.el (set-fringe-mode-1):
24746 * generic-x.el (bat-generic-mode-compile):
24747 * help-mode.el (help-info-variable, help-do-xref)
24748 (help-mode-revert-buffer):
24749 * help.el (view-emacs-todo):
24750 * iswitchb.el (iswitchb-completion-help):
24751 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24752 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24753 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24754 * locate.el (locate-update):
24755 * longlines.el (longlines-encode-region)
24756 (longlines-after-change-function):
24757 * outline.el (outline-isearch-open-invisible):
24758 * ps-def.el (declare-function, charset-dimension, char-width)
24759 (encode-char):
24760 * ps-mule.el (ps-mule-plot-string):
24761 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24762 (recentf-edit-list-select, recentf-edit-list-validate)
24763 (recentf-open-files-action):
24764 * rect.el (delete-whitespace-rectangle-line)
24765 (rectangle-number-line-callback):
24766 * register.el (window-configuration-to-register)
24767 (frame-configuration-to-register):
24768 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24769 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24770 (xselect-convert-to-targets, xselect-convert-to-delete)
24771 (xselect-convert-to-filename, xselect-convert-to-charpos)
24772 (xselect-convert-to-lineno, xselect-convert-to-colno)
24773 (xselect-convert-to-os, xselect-convert-to-host)
24774 (xselect-convert-to-user, xselect-convert-to-class)
24775 (xselect-convert-to-name, xselect-convert-to-integer)
24776 (xselect-convert-to-atom, xselect-convert-to-identity):
24777 * subr.el (declare, ignore, process-kill-without-query)
24778 (text-clone-maintain):
24779 * terminal.el (te-get-char, te-tic-sentinel):
24780 * tool-bar.el (tool-bar-make-keymap):
24781 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24782 * type-break.el (type-break-mode, type-break-noninteractive-query):
24783 * view.el (View-back-to-mark):
24784 * wid-browse.el (widget-browse-action, widget-browse-widget)
24785 (widget-browse-widgets, widget-browse-sexp):
24786 * widget.el (define-widget-keywords):
24787 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24788 Mark unused parameters.
24789
24790 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24791 (align-areas): Remove unused variable `look'.
24792 (align-region): Remove unused variables `real-end' and `pos-list'.
24793
24794 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24795
24796 * bindings.el (mode-line-modified, mode-line-remote):
24797 Mark unused parameters.
24798 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24799
24800 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24801 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24802
24803 * comint.el (comint-history-isearch-pop-state)
24804 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24805 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24806 (comint-substitute-in-file-name): Doc fix.
24807
24808 * completion.el (cmpl-statistics-block): Mark unused parameter.
24809 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24810 (save-completions-to-file, load-completions-from-file):
24811 Remove unused local variable `e'.
24812
24813 * composite.el (compose-chars): Remove unused variable `len'.
24814 (lgstring-insert-glyph): Remove unused variable `g'.
24815 (compose-glyph-string): Remove unused variables `ascent',
24816 `descent', `lbearing' and `rbearing'.
24817 (compose-glyph-string-relative): Remove unused variables
24818 `lbearing', `rbearing' and `wadjust'.
24819 (compose-gstring-for-graphic): Remove unused variables `header',
24820 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24821 (compose-gstring-for-terminal): Remove unused variables `header'
24822 and `nchars'. Use `let', not `let*'.
24823
24824 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24825 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24826 (Custom-buffer-done, custom-buffer-create-internal)
24827 (custom-browse-visibility-action, custom-browse-group-tag-action)
24828 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24829 (widget-magic-mouse-down-action, custom-toggle-parent)
24830 (custom-add-parent-links, custom-toggle-hide-variable)
24831 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24832 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24833 (custom-face-menu-create, custom-variable-menu-create, get)
24834 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24835 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24836 (customize-apropos): Remove unused variable `tests'.
24837 (custom-group-value-create): Remove unused variable `hidden-p'.
24838 (sort-fold-case): Declare.
24839
24840 * cus-theme.el (custom-reset-standard-faces-list)
24841 (custom-reset-standard-variables-list): Declare.
24842 (customize-create-theme, custom-theme-revert, custom-theme-write)
24843 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24844 Mark unused parameters.
24845
24846 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24847
24848 * delim-col.el (delimit-columns-max): Move defvar before first use.
24849
24850 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24851 (describe-char): Don't quote `lambda'. Mark unused parameter.
24852
24853 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24854 (auto-insert): Declare.
24855 (desktop-restore-file-buffer): Rename desktop-* parameters;
24856 mark unused ones.
24857 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24858 (desktop-buffer): Rename desktop-* parameters.
24859
24860 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24861 (dframe-reposition-frame-xemacs, dframe-help-echo)
24862 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24863 Mark unused parameters.
24864
24865 * dired-aux.el (backup-extract-version-start, overwrite-query)
24866 (overwrite-backup-query, rename-regexp-query)
24867 (rename-non-directory-query): Declare.
24868 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24869 (dired-add-entry): Remove unused variable `orig-file-name'.
24870 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24871 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24872 `dired-copy-preserve-time' directly.
24873 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24874 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24875
24876 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24877 (dired-virtual-revert, dired-make-relative-symlink):
24878 Mark unused parameters.
24879 (manual-program): Declare.
24880 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24881 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24882 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24883
24884 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24885
24886 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24887
24888 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24889 Declare.
24890
24891 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24892
24893 * electric.el (Electric-command-loop): Rename parameter
24894 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24895
24896 * expand.el (expand-in-literal): Remove unused variable `here'.
24897
24898 * facemenu.el (facemenu-add-new-color):
24899 Remove unused variable `docstring'.
24900
24901 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24902 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24903 (face-attr-construct): Mark unused parameter. Doc fix.
24904 (read-color): Remove unused variable `hex-string'.
24905
24906 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24907 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24908 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24909 (display-buffer-other-frame): Remove unused variable `old-window'.
24910 (kill-buffer-hook): Declare.
24911 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24912 Mark unused parameters.
24913 (after-find-file): Pass 1 to `auto-save-mode', not t.
24914
24915 * files-x.el (auto-insert): Declare.
24916 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24917
24918 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24919 variable `buf'. Mark unused parameter.
24920 (find-lisp-insert-directory): Mark unused parameter.
24921
24922 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24923 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24924 (format-common-tail): Remove, unused.
24925 (format-deannotate-region): Remove unused variable `loc'.
24926 (format-annotate-region): Remove unused variable `p'.
24927 (format-annotate-single-property-change): Remove unused variables
24928 `default' and `tail'.
24929
24930 * forms.el (read-file-filter): Declare.
24931 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24932
24933 * frame.el (frame-creation-function-alist): Mark unused parameter.
24934 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24935
24936 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24937 Remove unused parameters.
24938 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24939 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24940
24941 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24942 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24943 (hfy-prepare-tag-map): Mark unused parameters.
24944 (htmlfontify-buffer): Use `called-interactively-p'.
24945
24946 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24947 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24948 (ibuffer-do-occur): Mark unused parameters.
24949 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24950 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24951
24952 * ibuffer.el: Don't quote `lambda'.
24953 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24954 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24955 Mark unused parameters.
24956
24957 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24958 (ido-completing-read): Mark unused parameters.
24959 (ido-copy-current-word): Mark unused parameters;
24960 remove unused variable `name'.
24961 (ido-sort-merged-list): Remove unused parameter `dirs'.
24962
24963 * ielm.el (ielm-input-sender): Mark unused parameter.
24964 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24965 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24966 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24967 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24968 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24969
24970 * image-dired.el (image-dired-display-thumbs): Remove unused
24971 variables `curr-file' and `count'.
24972 (image-dired-remove-tag): Remove unused variable `start'.
24973 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24974 variable `curr-file'
24975 (image-dired-rotate-original): Remove unused variable `temp-file'.
24976 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24977 Remove unused variable `file'.
24978 (image-dired-gallery-generate): Remove unused variable `curr'.
24979 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24980
24981 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24982
24983 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24984
24985 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24986
24987 * isearch.el (minibuffer-history-symbol): Declare.
24988 (isearch-edit-string): Remove unused variable `err'.
24989 (isearch-message-prefix, isearch-message-suffix):
24990 Mark unused parameters.
24991
24992 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24993
24994 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24995
24996 * makesum.el (double-column): Remove unused variable `cnt'.
24997
24998 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24999 (ido-ignore-item-temp-list): Declare.
25000
25001 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25002 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25003 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25004 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25005 `mouse-col-delta'.
25006
25007 * mouse-sel.el (mouse-extend-internal):
25008 Remove unused variable `orig-window-frame'.
25009
25010 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25011 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25012 Move declarations before first use.
25013 (pcomplete-opt): Mark unused parameters; doc fix.
25014
25015 * proced.el (proced-revert): Mark unused parameter.
25016 (proced-send-signal): Remove unused variable `err'.
25017
25018 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25019 Rename parameter PREFIX-ARG to ARG.
25020 (ps-basic-plot-string, ps-basic-plot-whitespace):
25021 Mark unused parameters.
25022
25023 * replace.el (replace-count): Define.
25024 (occur-revert-function): Mark unused parameters.
25025 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25026 (isearch-case-fold-search, isearch-string): Declare.
25027 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25028 bind `case-fold-search'. Remove unused variables `beg' and `end',
25029 and simplify.
25030 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25031 COUNT and bind `replace-count'.
25032 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25033 to COUNT.
25034
25035 * savehist.el (print-readably, print-string-length): Declare.
25036
25037 * shadowfile.el (shadow-expand-cluster-in-file-name):
25038 Remove unused variable `cluster'.
25039 (shadow-copy-file): Remove unused variable `i'.
25040 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25041 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25042 (shadow-define-literal-group, shadow-define-regexp-group)
25043 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25044
25045 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25046 (shell): Use `called-interactively-p'.
25047 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25048
25049 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25050 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25051 (delete-backward-char): Remove unused variable `ocol'.
25052 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25053 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25054 (event-apply-hyper-modifier, event-apply-shift-modifier)
25055 (event-apply-control-modifier, event-apply-meta-modifier):
25056 Mark unused parameters.
25057 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25058 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25059
25060 * speedbar.el (speedbar-ignored-directory-expressions)
25061 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25062 (speedbar-find-file, speedbar-dir-follow)
25063 (speedbar-directory-buttons-follow, speedbar-tag-find)
25064 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25065 (speedbar-buffers-line-directory, speedbar-buffer-click):
25066 Mark unused parameters.
25067 (speedbar-tag-file): Remove unused variable `mode'.
25068 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25069
25070 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25071
25072 * talk.el (talk): Remove unused variable `display'.
25073
25074 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25075 (tar-write-region-annotate): Mark unused parameter.
25076
25077 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25078 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25079 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25080 warning by another.
25081
25082 * time-stamp.el (time-stamp-string-preprocess):
25083 Remove unused variable `require-padding'.
25084
25085 * tree-widget.el (widget-glyph-enable): Declare.
25086 (tree-widget-action): Mark unused parameter.
25087
25088 * w32-fns.el (x-get-selection): Mark unused parameter.
25089 (autoload-make-program, generated-autoload-file): Declare.
25090
25091 * wdired.el (wdired-revert): Mark unused parameters.
25092 (wdired-xcase-word): Remove unused variable `err'.
25093
25094 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25095 (whitespace-help-scroll): Remove unused variable `data-help'.
25096
25097 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25098 (widget-image-insert, widget-after-change, default)
25099 (widget-default-format-handler, widget-default-notify)
25100 (widget-default-prompt-value, widget-info-link-action)
25101 (widget-url-link-action, widget-function-link-action)
25102 (widget-variable-link-action, widget-file-link-action)
25103 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25104 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25105 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25106 (widget-insert-button-action, widget-delete-button-action, visibility)
25107 (widget-documentation-link-action, widget-documentation-string-action)
25108 (widget-const-prompt-value, widget-regexp-match, symbol)
25109 (widget-coding-system-prompt-value)
25110 (widget-key-sequence-value-to-external, sexp)
25111 (widget-sexp-value-to-internal, character, vector, cons)
25112 (widget-choice-prompt-value, widget-boolean-prompt-value)
25113 (widget-color--choose-action): Mark unused parameters.
25114 (widget-item-match-inline, widget-choice-match-inline)
25115 (widget-checklist-match, widget-checklist-match-inline)
25116 (widget-group-match): Rename parameter VALUES to VALS.
25117 (widget-field-value-set): Remove unused variable `size'.
25118 (widget-color-action): Remove unused variables `value' and `start'.
25119
25120 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25121 variable `dir'. Doc fix.
25122 (windmove-find-other-window): Don't pass it.
25123
25124 * window.el (count-windows): Mark unused parameter.
25125 (bw-adjust-window): Remove unused variable `err'.
25126
25127 * woman.el (woman-file-name): Remove unused variable `default'.
25128 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25129 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25130 (global-font-lock-mode): Declare.
25131 (woman-decode-region): Mark unused parameter.
25132 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25133
25134 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25135 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25136 (x-dnd-handle-moz-url): Remove unused variable `title'.
25137 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25138
25139 * xml.el (xml-parse-tag, xml-parse-attlist):
25140 Remove unused variable `pos'.
25141
25142 2011-04-19 Glenn Morris <rgm@gnu.org>
25143
25144 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25145 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25146 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25147 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25148 * calendar/cal-html.el (cal-html-insert-minical):
25149 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25150 (calendar-mark-date-pattern):
25151 Prefix "unused" locals.
25152
25153 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25154 optional argument `style'.
25155
25156 * calendar/appt.el (appt-make-list):
25157 * calendar/cal-china.el (calendar-chinese-date-string):
25158 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25159 (diary-hebrew-yahrzeit):
25160 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25161 * calendar/calendar.el (calendar-generate-window):
25162 * calendar/time-date.el (time-to-days):
25163 Remove unused local variables.
25164
25165 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25166
25167 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25168 glyphless-char-display table.
25169 (tabulated-list-glyphless-char-display): New var.
25170
25171 2011-04-18 Sam Steingold <sds@gnu.org>
25172
25173 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25174 to acknowledgments.
25175
25176 2011-04-17 Glenn Morris <rgm@gnu.org>
25177
25178 * calendar/diary-lib.el (diary-sexp-entry):
25179 * calendar/holidays.el (holiday-sexp):
25180 Set debug-on-error rather than the removed stack-trace-on-error.
25181
25182 2011-04-16 Glenn Morris <rgm@gnu.org>
25183
25184 * progmodes/f90.el: Use lexical-binding.
25185 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25186
25187 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25188
25189 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25190 (mail-mode): Setup mailalias completion here instead.
25191 * mail/mailalias.el: Use lexical-binding.
25192 (pattern, mailalias-done): Declare dynamic.
25193 (mail-completion-at-point-function): New function, from mail-complete.
25194 (mail-complete): Use it.
25195 (mail-completion-expand): New function.
25196 (mail-get-names): Use it.
25197 (mail-directory, mail-directory-process, mail-directory-stream):
25198 Don't use `pattern' for lexically bound arg.
25199
25200 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25201
25202 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25203 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25204 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25205
25206 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25207 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25208 (byte-interactive-p): Define them again, for use when inlining
25209 old code.
25210
25211 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25212
25213 * loadup.el: Use `string-to-number', not `string-to-int'.
25214
25215 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25216
25217 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25218 gud-gdb-complete-command.
25219 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25220 (gud-gdb-completion-at-point): New function.
25221 (gud-gdb-completions): Remove.
25222
25223 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25224
25225 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25226 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25227 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25228 whether `executable-find' is bound.
25229
25230 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25231
25232 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25233
25234 * minibuffer.el (completion-in-region-mode-predicate)
25235 (completion-in-region-mode--predicate): New vars.
25236 (completion-in-region, completion-in-region--postch)
25237 (completion-in-region-mode): Use them.
25238 (completion--capf-wrapper): Also return the hook function.
25239 (completion-at-point, completion-help-at-point):
25240 Adjust and provide a predicate.
25241
25242 Preserve arg names for advice of subr and lexical functions (bug#8457).
25243 * help-fns.el (help-function-arglist): Consolidate the subr and
25244 new-byte-code cases. Add argument `preserve-names' to extract names
25245 from the docstring when needed.
25246 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25247 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25248 (ad-arglist): Use help-function-arglist's new arg.
25249 (ad-definition-type): Use cond.
25250
25251 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25252
25253 * autorevert.el (auto-revert-handler):
25254 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25255 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25256 Don't quote lambda.
25257
25258 * image-mode.el (image-transform-set-scale):
25259 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25260
25261 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25262
25263 * net/network-stream.el (network-stream-open-starttls): Only do
25264 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25265 Upgrades via gnutls-cli are too slow to be done opportunistically.
25266
25267 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25268
25269 * dframe.el (dframe-current-frame): Remove spurious quote.
25270
25271 2011-04-12 Glenn Morris <rgm@gnu.org>
25272
25273 * calendar/cal-tex.el (cal-tex-end-document):
25274 Try to automatically use latin1 input if needed.
25275
25276 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25277 Don't try to cons a mark onto an empty element.
25278
25279 2011-04-11 Leo Liu <sdl.web@gmail.com>
25280
25281 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25282 buffers.
25283 (ido-kill-buffer-at-head): Support killing virtual buffers.
25284
25285 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25286
25287 * minibuffer.el (completion-show-inline-help): New var.
25288 (completion--do-completion, minibuffer-complete)
25289 (minibuffer-force-complete, minibuffer-complete-word):
25290 Inhibit minibuffer messages if completion-show-inline-help is nil.
25291
25292 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25293 to avoid interference from inline help (Bug#5849).
25294
25295 2011-04-10 Leo Liu <sdl.web@gmail.com>
25296
25297 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25298 Fix typo.
25299
25300 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25301
25302 * image-mode.el (image-toggle-display-image): Signal an error if
25303 not in Image mode.
25304 (image-transform-mode, image-transform-resize)
25305 (image-transform-set-rotation): Doc fix.
25306 (image-transform-set-resize): Delete.
25307 (image-transform-set-scale, image-transform-fit-to-height)
25308 (image-transform-fit-to-width): Handle image-toggle-display-image
25309 and image-transform-resize directly.
25310
25311 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25312
25313 * doc-view.el (doc-view-fit-width-to-window)
25314 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25315 New functions for fitting the shown image to the Emacs window size.
25316 (doc-view-mode-map): Add bindings for the new functions.
25317
25318 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25319
25320 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25321 Fix typo in docstring.
25322
25323 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25324
25325 * files.el (file-size-human-readable): Produce one digit after
25326 decimal, like "ls -lh" does.
25327
25328 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25329 the file size representation.
25330
25331 * simple.el (list-processes): If async subprocesses are not
25332 available, error out with a clear error message.
25333
25334 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25335
25336 * help.el (help-form-show): New function, to be called from C.
25337 Put help-form output in a buffer named differently than *Help*.
25338
25339 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25340
25341 * files.el (file-size-human-readable): New function.
25342
25343 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25344 computing the representation inline. Don't require `cl'.
25345
25346 2011-04-08 Glenn Morris <rgm@gnu.org>
25347
25348 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25349
25350 * net/browse-url.el (browse-url-firefox):
25351 Test system-type, not system-configuration.
25352
25353 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25354 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25355 Use log-edit-empty-buffer-p. (Bug#7598)
25356
25357 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25358 (rlogin-mode-map): Initialize in the defvar.
25359 (rlogin): Use ignore-errors.
25360
25361 * replace.el (occur-mode-map): Some fixes for menu items.
25362
25363 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25364
25365 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25366
25367 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25368
25369 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25370 issuing unused warnings.
25371
25372 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25373 macro directly.
25374
25375 * simple.el: Lisp reimplement of list-processes. Based on an
25376 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25377 (process-menu-mode): New major mode.
25378 (list-processes--refresh, list-processes):
25379 (process-menu-visit-buffer): New functions.
25380
25381 * files.el (save-buffers-kill-emacs): Don't assume any return
25382 value of list-processes, which is undocumented anyway.
25383
25384 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25385
25386 * emacs-lisp/tabulated-list.el: New file.
25387
25388 * emacs-lisp/package.el: Use Tabulated List mode.
25389 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25390 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25391 table format using Tabulated List mode variables.
25392 (package--push): New macro, replacing package-list-maybe-add.
25393 (package-menu--generate): Use package--push. Renamed from
25394 package--generate-package-list.
25395 (package-menu-refresh, list-packages): Use it.
25396 (package-menu--print-info): Rename from package-print-package.
25397 Return insertion data instead of inserting it directly.
25398 (package-menu-describe-package, package-menu-execute):
25399 Use tabulated-list-get-id.
25400 (package-menu-mark-delete, package-menu-mark-install)
25401 (package-menu-mark-unmark, package-menu-backup-unmark)
25402 (package-menu-mark-obsolete-for-deletion):
25403 Use tabulated-list-put-tag.
25404 (package--list-packages, package-menu-revert)
25405 (package-menu-get-package, package-menu-get-version)
25406 (package-menu-sort-by-column): Functions deleted.
25407 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25408 (package-menu--status-predicate, package-menu--version-predicate)
25409 (package-menu--name-predicate)
25410 (package-menu--description-predicate): Handle arguments in the
25411 Tabulated List format.
25412 (package-list-packages-no-fetch): Call list-packages.
25413
25414 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25415
25416 * files.el (after-find-file-from-revert-buffer): Remove variable.
25417 (after-find-file): Don't bind it.
25418 (revert-buffer-in-progress-p): New variable.
25419 (revert-buffer): Bind it.
25420 Pass nil for `after-find-file-from-revert-buffer'.
25421
25422 * saveplace.el (save-place-find-file-hook): Use new variable
25423 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25424
25425 2011-04-06 Glenn Morris <rgm@gnu.org>
25426
25427 * Makefile.in (AUTOGEN_VCS): New variable.
25428 (autoloads): Use $AUTOGEN_VCS.
25429
25430 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25431 * calendar/calendar.el (calendar-mode-map):
25432 Check for toolkit scroll bars. (Bug#8305)
25433
25434 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25435
25436 * minibuffer.el (completion-in-region--postch)
25437 (completion-in-region-mode): Remove unnecessary messages.
25438
25439 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25440
25441 * font-lock.el (font-lock-refresh-defaults):
25442 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25443 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25444
25445 * info.el (Info-directory-list, Info-read-node-name-2)
25446 (Info-split-parameter-string): Doc fixes.
25447 (Info-virtual-nodes): Reflow docstring.
25448 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25449 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25450 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25451 Fix typos in docstrings.
25452 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25453 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25454 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25455 (Info-restore-desktop-buffer): Mark unused parameters.
25456 (Info-directory-find-file, Info-directory-find-node)
25457 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25458 (Info-virtual-index-find-node, Info-apropos-find-file)
25459 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25460 Mark unused parameters; fix typos in docstrings.
25461 (Info-virtual-index): Remove unused local variable `nodename'.
25462
25463 2011-04-05 Deniz Dogan <deniz@dogan.se>
25464
25465 * net/rcirc.el: Update my e-mail address.
25466 (rcirc-mode-map): Remove M-o binding.
25467
25468 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25469
25470 * startup.el (command-line): Save the cursor's theme-face
25471 directly, instead of using face-override-spec.
25472
25473 * custom.el (load-theme): Minor optimization in assigning faces.
25474
25475 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25476
25477 * help-fns.el (describe-variable): Complete all variables having
25478 documentation, including keywords.
25479 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25480
25481 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25482
25483 Convert to lexical-binding.
25484
25485 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25486 (bs--get-marked-string, bs--get-modified-string)
25487 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25488 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25489 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25490
25491 * ehelp.el (electric-help-execute-extended)
25492 (electric-help-ctrl-x-prefix):
25493 * hexl.el (hexl-revert-buffer-function):
25494 * linum.el (linum-after-change, linum-after-scroll):
25495 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25496
25497 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25498
25499 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25500
25501 * epa-dired.el:
25502 * epa-mail.el:
25503 * epa-hook.el:
25504 * epa-file.el:
25505 * epa.el:
25506 * epg.el: Use lexical binding.
25507
25508 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25509
25510 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25511
25512 * textmodes/flyspell.el (flyspell-word): Recognize default
25513 dictionary case for flyspell-mark-duplications-exceptions.
25514 Use regexp matching for languages.
25515 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25516 default dictionary (Bug#7926).
25517
25518 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25519
25520 * emacs-lisp/package.el (package--with-work-buffer):
25521 Recognize https URLs.
25522
25523 * net/network-stream.el: Move from gnus/proto-stream.el.
25524 Change prefix to network-stream throughout.
25525 (open-protocol-stream): Merge into open-network-stream, leaving
25526 open-protocol-stream as an alias. Handle nil BUFFER args.
25527
25528 * subr.el (open-network-stream): Move to net/network-stream.el.
25529
25530 2011-04-02 Glenn Morris <rgm@gnu.org>
25531
25532 * find-dired.el (find-exec-terminator): New option.
25533 (find-ls-option): Test for -ls support.
25534 (find-ls-subdir-switches): Test for -b in find-ls-option.
25535 (find-dired, find-grep-dired): Doc fixes.
25536 (find-dired): Use find-exec-terminator.
25537
25538 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25539 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25540 (find-name-arg): Remove purecopy.
25541
25542 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25543 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25544 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25545 accordingly. Don't add the null-device if not needed.
25546
25547 * files.el (save-some-buffers): Doc fix.
25548
25549 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25550
25551 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25552
25553 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25554
25555 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25556 Use `dolist' rather than `mapcar'.
25557
25558 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25559
25560 Add lexical binding.
25561
25562 * subr.el (apply-partially): Use new closures rather than CL.
25563 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25564 (dolist, dotimes): Use slightly different expansion for lexical code.
25565 (functionp): Move to C.
25566 (letrec): New macro.
25567 (with-wrapper-hook): Use it and apply-partially instead of CL.
25568 (eval-after-load): Preserve lexical-binding.
25569 (save-window-excursion, with-output-to-temp-buffer): Turn them
25570 into macros.
25571
25572 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25573
25574 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25575 than the arglist.
25576 (help-add-fundoc-usage): Don't add `Not documented'.
25577 (help-function-arglist): Handle closures, subroutines, and new
25578 byte-code-functions.
25579 (help-make-usage): Remove leading underscores.
25580 (describe-function-1): Handle closures.
25581 (describe-variable): Use special-variable-p for completion.
25582
25583 * files.el (lexical-binding): Declare safe.
25584
25585 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25586 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25587 (pcase): Add `let' pattern.
25588 Change memoization so it actually works.
25589 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25590 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25591 <let>: New case.
25592
25593 * emacs-lisp/macroexp.el: Use lexical binding.
25594 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25595 Don't convert ' to #' without checking that it's indeed quoting
25596 a lambda.
25597
25598 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25599 Use eval-sexp-add-defvars.
25600 (eval-sexp-add-defvars): New fun.
25601
25602 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25603
25604 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25605 Don't autoload.
25606 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25607 than the internal `byte-compile-lambda'.
25608 (defmethod): Don't hide code under quotes.
25609 (eieio-defmethod): New `code' argument.
25610
25611 * emacs-lisp/eieio-comp.el: Remove.
25612
25613 * emacs-lisp/edebug.el (edebug-eval-defun)
25614 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25615 (edebug-toggle): Avoid `eval'.
25616
25617 * emacs-lisp/disass.el (disassemble-internal): Handle new
25618 `closure' objects.
25619 (disassemble-1): Handle new byte codes.
25620
25621 * emacs-lisp/cl.el (pushnew): Silence warning.
25622
25623 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25624 (cl-byte-compile-throw): Remove.
25625 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25626
25627 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25628 closures.
25629
25630 * emacs-lisp/cconv.el: New file.
25631
25632 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25633 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25634 (byte-compile-initial-macro-environment):
25635 Handle declare-function here.
25636 (byte-compile--lexical-environment): New var.
25637 (byte-stack-ref, byte-stack-set, byte-discardN)
25638 (byte-discardN-preserve-tos): New lap codes.
25639 (byte-interactive-p): Don't use any more.
25640 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25641 New macros.
25642 (byte-compile-lapcode): Use them and handle new lap codes.
25643 (byte-compile-obsolete): Remove.
25644 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25645 (byte-compile-arglist-warn): Check late def of inlinable funs.
25646 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25647 since they should have been expanded by now.
25648 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25649 (byte-compile-from-buffer): Remove unused second arg.
25650 (byte-compile-preprocess): New function.
25651 (byte-compile-toplevel-file-form): New function to distinguish
25652 file-form calls from outside from file-form calls from hunk-handlers.
25653 (byte-compile-file-form): Simplify.
25654 (byte-compile-file-form-defsubst): Remove.
25655 (byte-compile-file-form-defmumble): Simplify now that
25656 byte-compile-lambda always returns a byte-code-function.
25657 (byte-compile): Preprocess.
25658 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25659 Remove, not used any more.
25660 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25661 (byte-compile-make-args-desc): New funs.
25662 (byte-compile-lambda): Handle lexical functions. Always return
25663 a byte-code-function.
25664 (byte-compile-reserved-constants): New var, to make up room for
25665 closed-over variables.
25666 (byte-compile-constants-vector): Obey it.
25667 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25668 (byte-compile-macroexpand-declare-function): New function.
25669 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25670 byte-code-functions.
25671 (byte-compile-form): Check obsolescence here.
25672 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25673 (byte-compile-variable-ref): Remove.
25674 (byte-compile-dynamic-variable-op): New fun.
25675 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25676 (byte-compile-variable-set): New funs.
25677 (byte-compile-discard): Add 2 args.
25678 (byte-compile-stack-ref, byte-compile-stack-set)
25679 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25680 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25681 macroexpand-all instead.
25682 (byte-compile-quote-form): Remove.
25683 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25684 (byte-compile-bind, byte-compile-unbind): New funs.
25685 (byte-compile-let): Handle let* and lexical binding.
25686 (byte-compile-let*): Remove.
25687 (byte-compile-catch, byte-compile-unwind-protect)
25688 (byte-compile-track-mouse, byte-compile-condition-case):
25689 Handle a new :fun-body form, used for lexical scoping.
25690 (byte-compile-save-window-excursion)
25691 (byte-compile-with-output-to-temp-buffer): Remove.
25692 (byte-compile-defun): Simplify.
25693 (byte-compile-stack-adjustment): New fun.
25694 (byte-compile-out): Use it.
25695 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25696
25697 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25698 handler any more.
25699
25700 * emacs-lisp/byte-opt.el: Use lexical binding.
25701 (byte-inline-lapcode): Remove (to bytecomp).
25702 (byte-compile-inline-expand): Pay attention to inlining to/from
25703 lexically bound code.
25704 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25705 any more.
25706 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25707 any more and don't call compiler-macros.
25708 (byte-compile-splice-in-already-compiled-code): Remove.
25709 (byte-code): Don't inline any more.
25710 (disassemble-offset): Receive `bytes' as argument rather than via
25711 dynamic scoping.
25712 (byte-compile-tag-number): Declare before first use.
25713 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25714 `return' even if make-spliceable.
25715 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25716 obsolete interactive-p.
25717 (byte-optimize-lapcode): Optimize new lap-codes.
25718 Don't trip up on new form of `byte-constant' lap code.
25719
25720 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25721
25722 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25723
25724 * custom.el (custom-initialize-default, custom-declare-variable):
25725 Use `defvar'.
25726
25727 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25728 New variables.
25729 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25730 (COMPILE_FIRST): Add macroexp and cconv.
25731 * makefile.w32-in: Mirror changes in Makefile.in.
25732
25733 * vc/cvs-status.el:
25734 * vc/diff-mode.el:
25735 * vc/log-edit.el:
25736 * vc/log-view.el:
25737 * vc/smerge-mode.el:
25738 * textmodes/bibtex-style.el:
25739 * textmodes/css-mode.el:
25740 * startup.el:
25741 * uniquify.el:
25742 * minibuffer.el:
25743 * newcomment.el:
25744 * reveal.el:
25745 * server.el:
25746 * mpc.el:
25747 * emacs-lisp/smie.el:
25748 * doc-view.el:
25749 * dired.el:
25750 * abbrev.el: Use lexical binding.
25751
25752 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25753
25754 * info.el (info-display-manual): New function.
25755
25756 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25757
25758 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25759
25760 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25761
25762 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25763 an entry for that server in rcirc-authinfo. (Bug#8385)
25764
25765 2011-03-31 Glenn Morris <rgm@gnu.org>
25766
25767 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25768
25769 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25770
25771 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25772
25773 * progmodes/python.el (python-default-interpreter)
25774 (python-python-command-args, python-jython-command-args)
25775 (python-which-shell, python-which-args, python-which-bufname)
25776 (python-file-queue, python-comint-output-filter-function)
25777 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25778 variables and functions.
25779
25780 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25781
25782 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25783 (completion-in-region-mode): New minor mode.
25784 (completion-in-region): Use it.
25785 (completion-in-region--data, completion-in-region-mode-map): New vars.
25786 (completion-in-region--postch): New function.
25787 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25788 New vars.
25789 (completion--capf-wrapper): New function.
25790 (completion-at-point): Use it to track well-behavedness of
25791 hook functions.
25792 (completion-help-at-point): New command.
25793
25794 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25795
25796 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25797 syntax class to search for whitespace on a single line
25798 (Message-ID: <4D938140.4030905@redhat.com>).
25799
25800 2011-03-30 Leo Liu <sdl.web@gmail.com>
25801
25802 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25803 New commands.
25804 (edit-abbrevs-map): Bind them here.
25805 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25806
25807 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25808
25809 * allout.el (allout-hide-by-annotation, allout-flag-region):
25810 Reduce possibility of overlay leakage by making them volatile.
25811
25812 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25813 hash is not shared between buffers. Mode initialization is
25814 responsible for giving it a useful starting value.
25815 (allout-item-span): Reduce possibility of overlay leakage by
25816 making them volatile.
25817 (allout-widgets-count-buttons-in-region): Add diagnostic function
25818 for tracking down button overlay leaks.
25819
25820 2011-03-29 Leo Liu <sdl.web@gmail.com>
25821
25822 * ido.el (ido-read-internal): Use the default history var
25823 minibuffer-history if no HISTORY is specified.
25824
25825 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25826
25827 * net/imap.el (imap-shell-open, imap-process-connection-type):
25828 Use imap-process-connection-type for 'shell' streams as well as
25829 Kerberos, SSL, other subprocesses.
25830
25831 2011-03-28 Leo Liu <sdl.web@gmail.com>
25832
25833 * abbrev.el (abbrev-table-empty-p): New function.
25834 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25835 nonempty ones. (Bug#5937)
25836
25837 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25838
25839 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25840
25841 2011-03-27 Leo Liu <sdl.web@gmail.com>
25842
25843 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25844 for foreground and background colors.
25845 (ansi-color-make-color-map): Adapt.
25846
25847 2011-03-25 Leo Liu <sdl.web@gmail.com>
25848
25849 * midnight.el (midnight-time-float): Remove. Note it calculates
25850 the microsecond component incorrectly and seconds-to-time does the
25851 same job.
25852 Remove redundant (require 'timer).
25853
25854 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25855 (ido-completions): Remove unused arguments. (Bug#8329)
25856
25857 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25858
25859 * minibuffer.el (completion--flush-all-sorted-completions):
25860 Remove itself from hook.
25861 (completion-at-point): Let the functions perform the completion
25862 immediately and return nil or t.
25863 * comint.el (comint-dynamic-complete-functions): Now identical to
25864 completion-at-point-functions.
25865 (comint-dynamic-list-input-ring): Remove unused var `index'.
25866 (comint--match-partial-filename, comint--unquote&expand-filename):
25867 New funs, split from comint-match-partial-filename.
25868 (comint-dynamic-complete): Use completion-at-point.
25869 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25870
25871 2011-03-24 Drew Adams <drew.adams@oracle.com>
25872
25873 * thingatpt.el: Support `defun'.
25874
25875 2011-03-23 Leo Liu <sdl.web@gmail.com>
25876
25877 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25878
25879 * help-mode.el (help-mode-finish): Tweak regexp.
25880
25881 2011-03-23 Glenn Morris <rgm@gnu.org>
25882
25883 * eshell/esh-opt.el (eshell-eval-using-options):
25884 Do not bind unused local variable `eshell-option-stub'.
25885
25886 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25887
25888 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25889
25890 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25891 keymap variable in `with-no-warnings' to avoid a warning when the
25892 keymap has been already `defconst'ed.
25893
25894 2011-03-22 Leo Liu <sdl.web@gmail.com>
25895
25896 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25897 encode all chars in abbrevs; otherwise use emacs-mule or
25898 utf-8-emacs. (Bug#8308)
25899
25900 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25901
25902 * simple.el (backward-delete-char-untabify):
25903 Avoid warning about using `delete-backward-char'.
25904
25905 * image.el (image-type-file-name-regexps): Make it variable.
25906 `imagemagick-register-types' modifies it, and the user may want
25907 to add new extensions for known image types.
25908 (imagemagick-register-types): Throw error if not using ImageMagick.
25909
25910 2011-03-22 Leo Liu <sdl.web@gmail.com>
25911
25912 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25913 located before rcirc-prompt-end-marker.
25914 (rcirc-complete): Error if point is not after rcirc prompt.
25915 Handle the case when table is nil.
25916 (rcirc-user-authenticated): Define to fix compiler warning.
25917
25918 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25919
25920 * custom.el (custom--inhibit-theme-enable): Make it affect only
25921 custom-theme-set-variables and custom-theme-set-faces.
25922 (provide-theme): Ignore custom--inhibit-theme-enable.
25923 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25924 (custom-enabling-themes): Delete variable.
25925 (enable-theme): Accept only loaded themes as arguments.
25926 Ignore the special custom-enabled-themes variable.
25927 (custom-enabled-themes): Forbid themes from setting this.
25928 Eliminate use of custom-enabling-themes.
25929 (custom-push-theme): Quote "changed" custom var entry.
25930
25931 2011-03-21 Leo Liu <sdl.web@gmail.com>
25932
25933 * ido.el (ido-read-internal): Add ido-selected to history instead
25934 of user input.
25935
25936 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25937
25938 * subr.el (deferred-action-list, deferred-action-function):
25939 Mark obsolete.
25940
25941 2011-03-21 Leo Liu <sdl.web@gmail.com>
25942
25943 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25944 change on 2011-02-13 (bug#8309).
25945
25946 * minibuffer.el (read-file-name-function): Change default value.
25947 (read-file-name--defaults): Rename from read-file-name-defaults.
25948 (read-file-name-default): Rename from read-file-name.
25949 (read-file-name): Call read-file-name-function.
25950
25951 2011-03-21 Glenn Morris <rgm@gnu.org>
25952
25953 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25954 Doc fixes.
25955
25956 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25957
25958 * cus-theme.el: Add missing provide statement.
25959 (customize-create-theme): Extract theme value correctly.
25960 (custom-theme-visit-theme): Autoload.
25961 (customize-create-theme): Prompt before inserting default faces.
25962
25963 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25964
25965 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25966 units and musical notes.
25967
25968 2011-03-20 Leo Liu <sdl.web@gmail.com>
25969
25970 * ido.el (ido-read-internal): Use completing-read-default.
25971 (ido-completing-read): Fix compatibility with completing-read.
25972
25973 2011-03-20 Christian Ohler <ohler@gnu.org>
25974
25975 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25976 (ert-delete-all-tests): Use `called-interactively-p' rather than
25977 `interactive-p'.
25978 (ert--make-xrefs-region): Respect END.
25979
25980 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25981
25982 * dired-aux.el (dired-create-directory): Signal an error if the
25983 directory already exists (Bug#8246).
25984
25985 * facemenu.el (list-colors-display): Call list-faces-display
25986 inside with-help-window.
25987 (list-colors-print): Use display property to align the final
25988 column, instead of checking window-width.
25989
25990 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25991
25992 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25993 windows-nt systems.
25994 (emerge-protect-metachars): Quote correctly for ms-dos and
25995 windows-nt systems.
25996
25997 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25998
25999 * info.el (info-initialize): Replace all uses of `:' with
26000 path-separator for compatibility with non-Unix systems.
26001 Cache quoting of path-separator. (Bug#8258)
26002
26003 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26004
26005 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26006 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26007 (mouse-avoidance-mode): Fix typos in docstrings.
26008
26009 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26010
26011 * startup.el (package-subdirectory-regexp): Move from package.el.
26012 Omit \\` and \\', and let callers add them.
26013
26014 * emacs-lisp/package.el (package-strip-version)
26015 (package-load-all-descriptors): Add \\` and \\' to
26016 package-subdirectory-regexp before using it.
26017 (package-untar-buffer): New arg DIR; ensure that file untars only
26018 into this expected directory. Remove superfluous delete-region.
26019 (package-unpack): Caller changed.
26020 (package-tar-file-info): Use package-subdirectory-regexp.
26021
26022 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26023
26024 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26025 diff-mode-shared-map (bug#8284).
26026 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26027
26028 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26029
26030 * calendar/time-date.el (format-seconds): Use assoc instead of
26031 assoc-string, since assoc-string doesn't exist in XEmacs.
26032
26033 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26034
26035 * custom.el (custom-known-themes): Reflow docstring.
26036 (custom-theme-load-path): Fix typo in docstring.
26037 (load-theme): Fix typo in error message.
26038 (custom-available-themes, custom-variable-theme-value):
26039 Use `let', not `let*'.
26040
26041 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26042
26043 * calc/README: Mention inclusion of musical notes.
26044
26045 * calc/calc-units.el (calc-lu-quant): Rename from
26046 `calc-logunits-quantity'.
26047 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26048 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26049 (calc-db): Rename from `calc-dblevel'.
26050 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26051 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26052 (calc-np): Rename from `calc-nplevel'.
26053 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26054 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26055 (calc-lu-plus): Rename from `calc-logunits-add'.
26056 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26057 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26058 (calc-lu-minus): Rename from `calc-logunits-sub'.
26059 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26060 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26061 (calc-lu-times): Rename from `calc-logunits-mul'.
26062 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26063 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26064 (calc-lu-divide): Rename from `calc-logunits-div'.
26065 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26066 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26067
26068 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26069 functions being autoloaded.
26070
26071 * calc/calc.el (calc-lu-power-reference): Rename from
26072 `calc-logunits-power-reference'.
26073 (calc-lu-field-reference): Rename from
26074 `calc-logunits-field-reference'.
26075
26076 * calc/calc-help.el (calc-l-prefix-help):
26077 Mention musical note functions.
26078
26079 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26080
26081 * minibuffer.el (completion-all-sorted-completions):
26082 Use :completion-cycle-penalty text property if present.
26083
26084 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26085
26086 * allout.el (allout-yank-processing): Adjust for new rebulleting
26087 regime so bullet being yanked is used without prompting the user
26088 for a choice.
26089
26090 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26091
26092 * startup.el (command-line): Warn the user that _emacs is deprecated.
26093
26094 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26095
26096 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26097 (delphi-verbose, delphi-comment-face, delphi-string-face)
26098 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26099 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26100 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26101 (delphi-new-comment-line, delphi-font-lock-defaults)
26102 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26103 Fix typos in docstrings.
26104
26105 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26106
26107 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26108 Invert the roles of character and string values for INSTEAD, so a
26109 string is used for the more common case of a defaulting prompt.
26110
26111 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26112
26113 * progmodes/ruby-mode.el (ruby-backward-sexp):
26114 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26115 * play/gamegrid.el (gamegrid-make-face):
26116 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26117 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26118 * notifications.el (notifications-notify):
26119 * net/xesam.el (xesam-search-engines):
26120 * net/quickurl.el (quickurl-list-insert):
26121 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26122
26123 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26124
26125 * startup.el (command-line): Update package subdirectory regexp.
26126
26127 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26128
26129 * allout.el (allout-abbreviate-flattened-numbering)
26130 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26131
26132 * subr.el (read-char-choice): Only show the cursor after the prompt,
26133 not after the answer.
26134
26135 2011-03-15 Kevin Ryde <user42@zip.com.au>
26136
26137 * help-fns.el (variable-at-point): Skip leading quotes, if any
26138 (bug#8253).
26139
26140 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26141
26142 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26143 warning message.
26144
26145 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26146
26147 * shell.el (shell): When called interactively, offer to change the
26148 shell file name on remote hosts.
26149
26150 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26151
26152 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26153 integration for LDAP parameters. The host, base, user or binddn,
26154 and secret tokens can be specified in a netrc file, for instance.
26155 This is optional because an `auth-source' parameter must be
26156 specified in the search attributes.
26157
26158 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26159
26160 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26161
26162 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26163
26164 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26165 into declaration. Remove redundant and harmful binding.
26166
26167 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26168
26169 * files.el (file-ownership-preserved-p): Pass `integer' as an
26170 explicit 2nd argument to `file-attributes'. If the file's owner
26171 is the Administrators group on Windows, and the current user is
26172 Administrator, consider that a match.
26173
26174 * server.el (server-ensure-safe-dir): Consider server directory
26175 safe on MS-Windows if its owner is the Administrators group while
26176 the current Emacs user is Administrator. Use `=' to compare
26177 numerical UIDs, since they could be integers or floats.
26178
26179 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26180
26181 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26182
26183 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26184
26185 Sync with Tramp 2.2.1.
26186
26187 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26188
26189 * net/trampver.el: Update release number.
26190
26191 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26192
26193 * progmodes/compile.el (compilation--previous-directory): Fix up
26194 various nil/dead-marker mismatches (bug#8014).
26195 (compilation-directory-properties, compilation-error-properties):
26196 Don't call it at a position past the one we're about to change.
26197
26198 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26199 Disable obsolescence warnings in the file that declares it.
26200
26201 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26202
26203 * allout-widgets.el (allout-widgets-tally):
26204 Initialize allout-widgets-tally as a hash table rather than nil to
26205 prevent mode-line redisplay warnings. Also, clarify the module
26206 description and fix a comment typo.
26207
26208 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26209
26210 * help-fns.el (describe-variable): Don't complete keywords.
26211 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26212
26213 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26214
26215 * emacs-lisp/package.el (package-version-join): Impose a standard
26216 string representation for pre/alpha/beta version lists.
26217 (package-unpack-single): Standardize the directory name by passing
26218 it through package-version-join.
26219 (package-strip-rcs-id): Accept any version string that does not
26220 signal an error in version-to-list.
26221
26222 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26223
26224 * simple.el (delete-trailing-whitespace): Return nil for the
26225 benefit of `write-file-functions'.
26226
26227 2011-03-10 Glenn Morris <rgm@gnu.org>
26228
26229 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26230
26231 * vc/vc-git.el (vc-git-program): New option.
26232 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26233 (vc-git--call): Use it.
26234
26235 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26236
26237 * cus-edit.el (Custom-newline): If no button at point, look
26238 for a subgroup button at start-of-line. (Bug#2298)
26239
26240 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26241
26242 2011-03-10 Julien Danjou <julien@danjou.info>
26243
26244 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26245 `cursor-type' is nil.
26246
26247 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26248
26249 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26250
26251 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26252
26253 * allout.el: Change so yank of distinctive-bullet items
26254 preserves the existing header prefix, rebulleting it if necessary,
26255 rather than replacing it. This is necessary for proper operation
26256 of cooperative addons like allout-widgets.
26257 (allout-make-topic-prefix, allout-rebullet-heading):
26258 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26259 value as alternate bullet to be used, instead of prompting the user
26260 for a bullet character.
26261
26262 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26263
26264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26265 Do not use `tramp-file-name-port', because this returns also
26266 `tramp-default-port'.
26267
26268 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26269
26270 * net/rcirc.el (rcirc-handler-001): Remove useless
26271 with-rcirc-process-buffer.
26272 (rcirc-check-auth-status): Swap arguments to string-match.
26273
26274 2011-03-09 Glenn Morris <rgm@gnu.org>
26275
26276 * shell.el (shell-mode):
26277 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26278
26279 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26280 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26281
26282 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26283
26284 * emacs-lisp/package.el (package-refresh-contents)
26285 (package-menu-execute): Use condition-case-no-debug.
26286
26287 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26288
26289 * simple.el (shell-command-to-string): Use `process-file'.
26290
26291 * emacs-lisp/package.el (package-tar-file-info): Handle also
26292 remote files.
26293
26294 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26295 Use `equal' for upload base check.
26296
26297 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26298
26299 * textmodes/texinfo.el (texinfo-environments):
26300 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26301
26302 2011-03-08 Glenn Morris <rgm@gnu.org>
26303
26304 * cus-start.el (cursor-in-non-selected-windows):
26305 Fix :set quoting oddness. (Bug#8192)
26306
26307 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26308 in some setf expressions. (Bug#2159)
26309
26310 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26311
26312 * custom.el (custom-available-themes): Return themes in
26313 alphabetical order.
26314
26315 See ChangeLog.15 for earlier changes.
26316
26317 ;; Local Variables:
26318 ;; coding: utf-8
26319 ;; End:
26320
26321 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26322
26323 This file is part of GNU Emacs.
26324
26325 GNU Emacs is free software: you can redistribute it and/or modify
26326 it under the terms of the GNU General Public License as published by
26327 the Free Software Foundation, either version 3 of the License, or
26328 (at your option) any later version.
26329
26330 GNU Emacs is distributed in the hope that it will be useful,
26331 but WITHOUT ANY WARRANTY; without even the implied warranty of
26332 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26333 GNU General Public License for more details.
26334
26335 You should have received a copy of the GNU General Public License
26336 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.