Merge Org (commit c8c217). Fix mistake about updating the wrong ChangeLog.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-07 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/compile.el (compilation-parse-errors):
4 Fix typo. (Bug#13369)
5
6 2013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
7
8 * comint.el (comint-send-input): Check size of buffer before
9 waiting for process output, in case already accepted. (Bug#13290)
10
11 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
14 non-negative integers. Otherwise, the default values are used.
15 (tramp-convert-file-attributes): Convert uid and gid to integers.
16
17 2013-01-03 Glenn Morris <rgm@gnu.org>
18
19 * term.el (term-handle-colors-array): Ensure face attributes
20 are fully specified, not nil. (Bug#13337)
21
22 * term.el (term-default-fg-color, term-default-bg-color):
23 Fix custom type.
24
25 * progmodes/etags.el (tags-compression-info-list): Doc fix.
26 (tag-find-file-of-tag-noselect): Check auto-compression-mode
27 rather than 'jka-compr being loaded. (Bug#13338)
28
29 * subr.el (eval-after-load): Don't purecopy the form, so that it
30 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
31
32 * emacs-lisp/byte-run.el (defun): Place cl declarations
33 after any interactive spec. (Bug#13265)
34
35 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
36
37 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
38 defun. Don't check for DECL if DOCSTRING isn't a string.
39 (defun): Likewise.
40
41 2012-12-31 Glenn Morris <rgm@gnu.org>
42
43 * eshell/em-cmpl.el (eshell-pcomplete):
44 More thoroughly imitate pcomplete. (Bug#13293)
45
46 * files.el (parse-colon-path): Doc fix. (Bug#12351)
47 Return nil for empty path elements. (Bug#13296)
48
49 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
50
51 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
52 order to improve efficiency (Based on Daniel Colascione's
53 <dancol@dancol.org> patch). (Bug#13182)
54
55 2012-12-31 Glenn Morris <rgm@gnu.org>
56
57 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
58
59 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
60
61 * progmodes/python.el: Support other commands triggering
62 python-indent-line so indentation cycling continues to work.
63 (python-indent-trigger-commands): New defcustom.
64 (python-indent-line): Use it.
65
66 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
67
68 * progmodes/python.el (python-shell-send-region): Add blank lines
69 for non sent code so backtraces remain correct.
70
71 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
72
73 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
74 neither DOCSTRING nor DECL was given. (Bug#13316)
75
76 2012-12-30 Glenn Morris <rgm@gnu.org>
77
78 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
79 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
80 (rmail-summary-displayed, rmail-summary): Declare.
81 (mairix-rmail-display): Just require rmail.
82
83 2012-12-29 Chong Yidong <cyd@gnu.org>
84
85 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
86 check for the tarball contents.
87
88 2012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
89
90 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
91 tarfile content listings (Bug#13136).
92
93 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
94
95 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
96 the undecoded text of the message being forwarded. (Bug#9521)
97
98 2012-12-28 Michael Albinus <michael.albinus@gmx.de>
99
100 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
101 integers, if they are real numbers. (Bug#13282)
102
103 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
104
105 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
106 "module" and "def" to have indentation before them. Regression
107 from 109911 (see the new test).
108
109 2012-12-24 Dmitry Gutov <dgutov@yandex.ru>
110
111 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
112
113 2012-12-23 Alan Mackenzie <acm@muc.de>
114
115 Speed up fontification where there's large brace blocks.
116 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
117 to a call of c-beginning-of-decl-1.
118
119 2012-12-21 Chong Yidong <cyd@gnu.org>
120
121 * sort.el (sort-subr): Doc fix (Bug#13056).
122
123 2012-12-20 Bastien Guerry <bzg@gnu.org>
124
125 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
126
127 2012-12-11 Alan Mackenzie <acm@muc.de>
128
129 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
130 * progmodes/cc-engine.el (c-backward-comments): Add code to work
131 around `forward-comment' not recognizing ^M as whitespace.
132
133 2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
134
135 * progmodes/python.el (python-skeleton-class)
136 (python-skeleton-def): Do not add space after defun name.
137
138 2012-12-09 Chong Yidong <cyd@gnu.org>
139
140 * simple.el (set-mark-default-inactive): Mark as obsolete, for
141 removal after 24.3.
142
143 2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
144
145 * simple.el (just-one-space): Doc fix.
146
147 2012-12-07 Eli Zaretskii <eliz@gnu.org>
148
149 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
150 "smallexample".
151
152 2012-12-07 Le Wang <l26wang@gmail.com>
153
154 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
155 narrowed buffer (bug#12361).
156
157 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
158
159 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
160 Virtually backported from trunk.
161
162 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
163
164 * vc/vc-hooks.el (vc-state): Doc fix.
165
166 2012-12-06 Glenn Morris <rgm@gnu.org>
167
168 * mail/rmail.el (rmail-maybe-display-summary):
169 Preserve buffer, in case select-window changes it. (Bug#13066)
170
171 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
174 cl-load-hook where they belong.
175
176 2012-12-06 Chong Yidong <cyd@gnu.org>
177
178 * ffap.el (ffap-replace-file-component): Fix typo.
179
180 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
183 fix open-paren-like token test (bug#12785).
184
185 2012-12-04 Glenn Morris <rgm@gnu.org>
186
187 * mail/rmailsum.el (rmail-new-summary): Tweak for
188 rmail-maybe-display-summary changing buffer. (Bug#13066)
189
190 2012-12-03 Juri Linkov <juri@jurta.org>
191
192 * info.el (Info-fontify-node): Don't hide the last newline.
193 (Bug#12272)
194
195 2012-12-01 Leo Liu <sdl.web@gmail.com>
196
197 * files.el (dir-locals-read-from-file): Check file non-empty
198 before reading. (Bug#13038)
199
200 2012-11-28 Glenn Morris <rgm@gnu.org>
201
202 * jka-cmpr-hook.el (jka-compr-get-compression-info):
203 Remove any version extension before checking filename. (Bug#13006)
204 (jka-compr-compression-info-list): Belated :version bump.
205
206 2012-11-28 Chong Yidong <cyd@gnu.org>
207
208 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
209
210 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
211 (buffer-menu): Doc fix (Bug#12294).
212
213 2012-11-27 Roland Winkler <winkler@gnu.org>
214
215 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
216 of diary-show-all-entries in the diary buffer (Bug#12994).
217
218 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
219
220 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
221 "<STDIN>". This is binary safe.
222
223 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * textmodes/table.el (table-insert): Don't use `symbol-name' on
226 lexically scoped variables (bug#13005).
227
228 2012-11-26 Glenn Morris <rgm@gnu.org>
229
230 * vc/vc-hooks.el (vc-mistrust-permissions):
231 Default to t, to avoid data-loss. (Bug#11490)
232
233 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
234
235 * progmodes/python.el (python-indent-guess-indent-offset):
236 If indentation is guessed make python-indent-offset buffer-local.
237
238 Fix Imenu regression.
239 * progmodes/python.el (python-nav-beginning-of-defun):
240 Fix forward movement when statement(s) separates point from defun.
241 (python-imenu-prev-index-position): New function.
242
243 2012-11-26 Eli Zaretskii <eliz@gnu.org>
244
245 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
246
247 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
248 Don't set buffer-file-type. Return nil. (Bug#12989)
249
250 2012-11-26 Glenn Morris <rgm@gnu.org>
251
252 * hippie-exp.el (hippie-expand-try-functions-list):
253 Re-autoload it. (Bug#12982)
254
255 2012-11-25 Eli Zaretskii <eliz@gnu.org>
256
257 * descr-text.el (describe-char-padded-string):
258 Call internal-char-font only on GUI frames. (Bug#11964)
259
260 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
261
262 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
263 and obsoletion message.
264
265 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
268 the constructs to keep outside of the `cl-block' (bug#12977).
269
270 2012-11-24 Chong Yidong <cyd@gnu.org>
271
272 * mouse.el (mouse-drag-line): Even if the line is not draggable,
273 keep reading until we get the up-event anyway, in order to process
274 the up-event for mouse-1-click-follows-link (Bug#12971).
275
276 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
279 lexical-binding (bug#12938).
280
281 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
282
283 * image-mode.el (image-transform-check-size): Use assertions only
284 for images of type imagemagick.
285
286 Otherwise no error, image-transform-fit-to-{width,height} is
287 silently ignored, as before. Doc fix.
288
289 2012-11-23 Chong Yidong <cyd@gnu.org>
290
291 * faces.el (color-defined-p): Doc fix (Bug#12853).
292
293 2012-11-23 Juri Linkov <juri@jurta.org>
294
295 * dired.el (dired-mark): Add optional arg `interactive'.
296 Check for `use-region-p' if `interactive' is non-nil.
297 (dired-unmark, dired-flag-file-deletion): Add optional arg
298 `interactive'. Call `dired-mark' with the arg `interactive'.
299 (Bug#10624)
300
301 2012-11-23 Juri Linkov <juri@jurta.org>
302
303 * wdired.el: Revert 2012-10-17 change partly and replace it with
304 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
305 (wdired-finish-edit): Add marks for new file names to
306 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
307 after `revert-buffer'.
308 (wdired-do-renames): Remove calls to `dired-remove-file',
309 `dired-add-file', `dired-add-entry'. (Bug#11795)
310
311 2012-11-21 Alan Mackenzie <acm@muc.de>
312
313 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
314
315 Fix bugs in the state cache. Enhance a debugging mechanism.
316 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
317 "brace at column zero" strategy for C++.
318 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
319 (c-parse-state-point): New variable.
320 (c-record-parse-state-state): Record old parse state with
321 `copy-tree'. Record previous value of point.
322 (c-debug-parse-state-double-cons): New debugging function.
323 (c-debug-parse-state): Call the above new function.
324 (c-toggle-parse-state-debug): Output a confirmatory message.
325
326 * progmodes/cc-mode.el (c-before-change, c-after-change):
327 Call c-invalidate-state-cache from `c-before-change' instead of
328 `c-after-change'.
329
330 2012-11-20 Daniel Colascione <dancol@dancol.org>
331
332 * term/w32-win.el (cygwin-convert-path-from-windows):
333 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
334 This change is a backport from trunk.
335
336 2012-11-20 Eli Zaretskii <eliz@gnu.org>
337
338 * simple.el (line-move): Don't call line-move-partial if
339 scroll-conservatively is in effect. (Bug#12927)
340
341 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
342
343 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
344 order to distinguish from trunk.
345
346 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
349 non-symbols for compiler macros (yet).
350
351 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
352 Fallback on completion-at-point rather than
353 pcomplete-expand-and-complete, and only if pcomplete actually failed.
354 (eshell-cmpl-initialize): Setup completion-at-point.
355
356 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
357
358 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
359
360 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
361
362 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
363 are remote, check out-of-band property for both.
364
365 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * window.el (switch-to-buffer): Re-add the warning that was lost in the
368 code rewrite.
369
370 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
371
372 More minor time fixes.
373 * calendar/time-date.el: Commentary fix.
374 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
375 too much other code depends on (0 0) time stamps.
376 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
377 Add a couple of FIXME comments.
378
379 Minor cleanup for times as lists of four integers.
380 * files.el (dir-locals-directory-cache):
381 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
382 Doc fixes.
383 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
384 * ps-bdf.el (bdf-file-newer-than-time):
385 Process four-integers time stamps, not two. Doc fixes.
386
387 2012-11-18 Glenn Morris <rgm@gnu.org>
388
389 * image.el (insert-image, insert-sliced-image): Doc fix.
390
391 2012-11-17 Chong Yidong <cyd@gnu.org>
392
393 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
394 (Bug#12810).
395
396 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
397
398 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
399 response when the target file is in a subdirectory (Bug#12757).
400
401 2012-11-17 Chong Yidong <cyd@gnu.org>
402
403 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
404
405 2012-11-17 Glenn Morris <rgm@gnu.org>
406
407 * woman.el (woman-non-underline-faces):
408 * emacs-lisp/cl-lib.el (face-underline-p):
409 Use set-face-underline rather than the alias set-face-underline-p.
410
411 * window.el (with-temp-buffer-window): Doc fix.
412 * subr.el (with-output-to-temp-buffer):
413 Add doc xref to with-temp-buffer-window.
414
415 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * emacs-lisp/cl-lib.el: Set more meaningful version number.
418
419 2012-11-16 Martin Rudalics <rudalics@gmx.at>
420
421 * window.el (enlarge-window, shrink-window): Don't mention return
422 value in doc-string (Bug#12896).
423 (window--display-buffer): Don't resize frames - it won't work
424 with all window managers and defeat pop-up-frame-alist.
425 (display-buffer-alist): In doc-string explain that CONDITION can
426 be a function and which arguments are passed to it (Bug#12854).
427 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
428 expressions (Bug#12854).
429 (display-buffer): Pass ACTION argument to
430 display-buffer-assq-regexp.
431
432 2012-11-16 Glenn Morris <rgm@gnu.org>
433
434 * window.el (fit-frame-to-buffer-bottom-margin)
435 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
436
437 * faces.el (face-underline-p): Use face-attribute-specified-or.
438
439 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
440
441 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
442
443 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
446
447 2012-11-15 Glenn Morris <rgm@gnu.org>
448
449 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
450 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
451
452 * faces.el (face-underline-p): Doc fix. Handle :underline being
453 things other than `t' (a string, a list).
454 (face-inverse-video-p): Doc fix.
455 (set-face-underline): Rename it back from set-face-underline-p.
456 Doc fix. Allow interactive input of values other than t.
457 (read-face-attribute): Apply formatting to :underline,
458 since like :box and :stipple it can take list values.
459
460 * term.el (ansi-term): Don't let C-x escape-char binding
461 clobber the more standard C-c binding. (Bug#12842)
462
463 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
466 (bug#12879).
467
468 2012-11-14 Glenn Morris <rgm@gnu.org>
469
470 * subr.el (set-temporary-overlay-map): Doc fix.
471
472 2012-11-13 Martin Rudalics <rudalics@gmx.at>
473
474 * window.el (record-window-buffer)
475 (display-buffer-record-window): When copying the markers to
476 window-point preserve window-point-insertion-type. (Bug#12588)
477
478 2012-11-13 Glenn Morris <rgm@gnu.org>
479
480 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
481 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
482 Use new names for hooks rather than obsolete aliases.
483
484 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
487
488 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
489
490 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
491 39 and 49. This fixes bug#12792. Also, treat unimplemented
492 parameters as 0, thereby restoring the behavior of revisions prior
493 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
494
495 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
496
497 Fix end-of-defun misbehavior.
498 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
499 python-beginning-of-defun-function. Handle nested defuns
500 correctly.
501 (python-nav-end-of-defun): Rename from
502 python-end-of-defun-function. Ensure forward movement.
503 (python-info-current-defun): Reimplement to work as intended
504 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
505 parent defuns as soon as possible.
506
507 2012-11-12 Glenn Morris <rgm@gnu.org>
508
509 * progmodes/flymake.el (flymake-error-bitmap)
510 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
511 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
512
513 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
514
515 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
516 backward, always stop at indentation. Reverts the change from
517 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
518
519 2012-11-11 Glenn Morris <rgm@gnu.org>
520
521 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
522 Add ibuffer-filter-by-derived-mode.
523
524 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
525 the same name shadowing each other.
526
527 * window.el (with-temp-buffer-window): Doc tweak.
528
529 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
530
531 * help.el (temp-buffer-max-height):
532 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
533 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
534
535 2012-11-10 Leo Liu <sdl.web@gmail.com>
536
537 * ido.el (ido-set-matches-1): Fix split-string args to avoid
538 performance issue. (Bug#12796)
539
540 2012-11-10 Glenn Morris <rgm@gnu.org>
541
542 * term.el (term-default-fg-color, term-default-bg-color):
543 Make obsolete, rather than just saying "deprecated" in the doc.
544
545 * term.el (term): Rename from `term-face'.
546 (term-current-face, ansi-term-color-vector)
547 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
548 Update all users.
549
550 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
551
552 * server.el (server-create-window-system-frame): Improve comment.
553
554 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
555
556 * server.el (server-create-window-system-frame): Handle Nextstep
557 specially (Bug#12780).
558
559 2012-11-08 Glenn Morris <rgm@gnu.org>
560
561 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
562 Unautoload, and make obsolete. (Bug#7449)
563
564 2012-11-08 Chong Yidong <cyd@gnu.org>
565
566 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
567 rename from diff-remove-trailing-whitespace (Bug#12831).
568
569 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
572 miscompilation of trace.el.
573
574 2012-11-08 Glenn Morris <rgm@gnu.org>
575
576 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
577
578 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
581 (bug#12812).
582
583 2012-11-07 Chong Yidong <cyd@gnu.org>
584
585 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
586 a defcustom with an appropriate :set function.
587 (minibuffer-default--in-prompt-regexps): New function.
588
589 2012-11-07 Glenn Morris <rgm@gnu.org>
590
591 * emacs-lisp/cl.el (define-setf-expander, defsetf)
592 (define-modify-macro): Doc fixes.
593
594 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
595 (gv-define-simple-setter): Update doc of `fix-return'.
596
597 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
600 twice when `fix-return' is set (bug#12813).
601
602 * emacs-lisp/cl.el (defsetf): Pass the third arg to
603 gv-define-simple-setter (bug#12812).
604
605 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
608 (bug#12756).
609
610 2012-11-06 Glenn Morris <rgm@gnu.org>
611
612 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
613
614 2012-11-05 Glenn Morris <rgm@gnu.org>
615
616 * emacs-lisp/cl-extra.el (cl-prettyexpand):
617 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
618 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
619 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
620
621 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
622
623 2012-11-03 Glenn Morris <rgm@gnu.org>
624
625 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
626 Rename handler properties back from cl-- to cl-. (Bug#12788)
627
628 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
629
630 2012-11-03 Eli Zaretskii <eliz@gnu.org>
631
632 * term/pc-win.el: Don't load term/internal from here.
633
634 * loadup.el: Load term/internal from here.
635
636 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
637
638 * progmodes/python.el (inferior-python-mode): Fix hang in
639 jit-lock (Bug#12645).
640
641 2012-11-03 Martin Rudalics <rudalics@gmx.at>
642
643 * window.el (switch-to-visible-buffer)
644 (switch-to-buffer-preserve-window-point): Fix doc-strings.
645
646 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
647
648 * play/gomoku.el (gomoku-display-statistics): Update mode line
649 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
650
651 2012-10-31 Martin Rudalics <rudalics@gmx.at>
652
653 * window.el (quit-restore-window): If the window has been
654 created on an existing frame and ended up as the sole window on
655 that frame, do not delete it (Bug#12764).
656
657 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * progmodes/sh-script.el (sh--inside-noncommand-expression):
660 Rename from sh--inside-arithmetic-expression, handle more cases
661 (bug#11263).
662
663 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
664 (sh-font-lock-open-heredoc): Use it (bug#12770).
665
666 2012-10-30 Glenn Morris <rgm@gnu.org>
667
668 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
669
670 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
671
672 2012-10-29 Chong Yidong <cyd@gnu.org>
673
674 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
675 function key is stored in a keyboard macro (Bug#4894).
676
677 * thingatpt.el (number-at-point): Apply a thing-at-point property.
678
679 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
682 header comments".
683 (diff-unified->context, diff-context->unified)
684 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
685
686 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
687
688 * files.el (find-alternate-file): Only ask one question (bug#12487).
689
690 2012-10-29 Chong Yidong <cyd@gnu.org>
691
692 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
693 Suggested by Dan Nicolaescu (Bug#6326).
694
695 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
696
697 * startup.el (fancy-about-screen): Don't message (Bug#12680).
698
699 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
700
701 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
702
703 * face-remap.el (face-remap-add-relative): Handle the case where a
704 face-remapping-alist entry is a cons cell (Bug#12762).
705
706 2012-10-29 Kevin Ryde <user42@zip.com.au>
707
708 * woman.el (woman-parse-numeric-value): Handle picas correctly
709 (Bug#12639).
710
711 2012-10-29 Glenn Morris <rgm@gnu.org>
712
713 * emacs-lisp/cl.el (defsetf): Doc fix.
714
715 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
718 syntax to the matching opener, if any (bug#12547).
719 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
720 matching open as a "case-(".
721 (sh-smie-rc-grammar): Add a corresponding rule for it.
722
723 2012-10-28 Daniel Hackney <dan@haxney.org>
724
725 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
726 "PKGNAME-autoloads.el" in case we created it.
727
728 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
731 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
732 (completion--twq-all): Disable too-strict assertions.
733
734 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
735
736 2012-10-27 Eli Zaretskii <eliz@gnu.org>
737
738 * profiler.el (profiler-report-make-entry-part): Fix help-echo
739 text to match the real keybindings.
740
741 2012-10-27 Juri Linkov <juri@jurta.org>
742
743 * wdired.el (wdired-keep-marker-rename): New defcustom.
744 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
745 (Bug#11795)
746
747 * dired.el (dired-keep-marker-rename): Add reference to
748 `wdired-keep-marker-rename' in the docstring.
749 Add default character value ?R to display initially in
750 Customization UI instead of ?@.
751
752 2012-10-27 Martin Rudalics <rudalics@gmx.at>
753
754 * window.el (display-buffer): In doc-string describe
755 window-height and window-width alist entries.
756
757 * time.el (display-time-world): Restore fit-window-to-buffer
758 behavior.
759
760 2012-10-27 Chong Yidong <cyd@gnu.org>
761
762 * subr.el (insert-buffer-substring-as-yank): Doc fix.
763
764 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
765
766 * minibuffer.el (completion-category-overrides): New completion
767 category `bookmark' (bug#11131).
768
769 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * emacs-lisp/advice.el (ad-assemble-advised-definition):
772 Silence bogus compiler warnings for ad-do-it.
773
774 * bookmark.el (bookmark-completing-read): Set the completion category
775 to `bookmark' (bug#11131).
776
777 2012-10-26 Bastien <bzg@altern.org>
778 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * face-remap.el: Use lexical-binding.
781 (text-scale-adjust): Improve docstring. Use itself for the temporary
782 overlay-map bindings, so as to repeat the "Use..." message each time.
783
784 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * emacs-lisp/macroexp.el (macroexp--expand-all):
787 Obey byte-compile-warning-enabled-p (bug#12486).
788
789 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
790 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
791
792 2012-10-26 Martin Rudalics <rudalics@gmx.at>
793
794 * mouse.el (mouse-drag-line): Move last form into preceding when
795 clause (Bug#12731).
796
797 * help.el (resize-temp-buffer-window): Fix doc-string.
798
799 2012-10-25 David Engster <deng@randomsample.de>
800
801 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
802 Remove. This feature is already integrated in imenu.
803
804 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
805 always loaded. Require `speedbar' unconditionally.
806
807 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
808
809 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
810
811 * minibuffer.el (minibuffer-force-complete): Fix thinko.
812
813 * net/ldap.el (ldap-search-internal): The official ldif format starts
814 with a "version: 1" header (bug#12724).
815
816 * emacs-lisp/package.el (package-installed-p): Warn if not ready
817 (bug#12721).
818
819 2012-10-25 Glenn Morris <rgm@gnu.org>
820
821 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
822
823 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * minibuffer.el (minibuffer-force-complete): Use one more marker
826 for the temporary-overlay-map command (bug#12619).
827
828 2012-10-24 Chong Yidong <cyd@gnu.org>
829
830 * time.el (display-time-world-mode): Derive from special-mode.
831 (display-time-world): Use display-buffer (Bug#12708).
832 (display-time-world-mode-map): Variable deleted.
833 (display-time-world-display): Wrap the final delete-char inside
834 inhibit-read-only.
835
836 2012-10-24 Chong Yidong <cyd@gnu.org>
837
838 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
839 Doc fix.
840
841 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
842
843 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * minibuffer.el (completion--all-sorted-completions-location): New var.
846 (completion--cache-all-sorted-completions)
847 (completion--flush-all-sorted-completions): Use it.
848 (completion-in-region, completion-in-region--postch)
849 (completion-at-point, completion-help-at-point): Use markers in
850 completion-in-region--data (bug#12619).
851
852 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * progmodes/compile.el (compilation-start): Try to handle common
855 quoting of `cd' argument (bug#12640).
856
857 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
858 (bug#12671).
859
860 2012-10-23 Glenn Morris <rgm@gnu.org>
861
862 * progmodes/gud.el (gud-menu-map):
863 Check gdb-active-process is bound. (Bug#12358)
864
865 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * repeat.el (repeat): Set real-this-command (bug#12232).
868
869 * htmlfontify.el (hfy-post-html-hook):
870 * filesets.el (filesets-cache-fill-content-hook):
871 * arc-mode.el (archive-extract-hook):
872 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
873 * net/rcirc.el (rcirc-sentinel-functions)
874 (rcirc-receive-message-functions, rcirc-activity-functions)
875 (rcirc-print-functions):
876 * net/dbus.el (dbus-event-error-functions):
877 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
878 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
879 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
880 * term/sun.el (sun-raw-prefix-hooks):
881 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
882
883 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
884
885 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
886 Set `tramp-chunksize' to 1. This improves the performance.
887 (tramp-smb-wait-for-output): Add timeout to
888 `tramp-accept-process-output' calls.
889
890 2012-10-23 Chong Yidong <cyd@gnu.org>
891
892 * faces.el (font-list-limit): Define as an obsolete variable.
893
894 * startup.el (command-line):
895 * cus-start.el: Don't refer to font-list-limit.
896
897 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
898
899 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * subr.el (internal-temp-output-buffer-show): Rename from
902 temp-output-buffer-show, since previously compiled files expect this name.
903
904 2012-10-23 Glenn Morris <rgm@gnu.org>
905
906 * image.el (image-type-from-file-name): If multiple types match,
907 return the first one that is supported. (Bug#9045)
908
909 2012-10-22 Glenn Morris <rgm@gnu.org>
910
911 * image.el (imagemagick-enabled-types): Doc fix.
912
913 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
914
915 * progmodes/which-func.el (which-func-current): The hash-table may have
916 an explicit nil (bug#12338).
917
918 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 * electric.el (electric-pair-delete-selection-self-insert-function):
921 Rename to electric-pair-will-use-region, return a boolean.
922 (electric-pair-mode): Adjust accordingly. Don't require delsel.
923
924 * delsel.el (delete-selection-helper): Use a function instead of a hook.
925 (delete-selection-pre-hook): Use use-region-p.
926 (delete-selection-self-insert-function): Remove.
927 (self-insert-command): Obey self-insert-uses-region-functions.
928 (self-insert-iso): Revert to previous setting, since we don't actually
929 know what that command does.
930 (delete-selection-self-insert-hooks): Remove.
931
932 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
933
934 * delsel.el (delete-selection-helper): New function, extracted from
935 delete-selection-pre-hook.
936 (delete-selection-pre-hook): Use it.
937 (delete-selection-self-insert-function): New function.
938 (delete-selection-self-insert-hooks): New hook.
939 (self-insert-command, self-insert-iso): Use it.
940 * electric.el (electric-pair-syntax): New function, extracted from
941 electric-pair-post-self-insert-function.
942 (electric-pair-post-self-insert-function): Use it.
943 (electric-pair-delete-selection-self-insert-function): New function.
944 (electric-pair-mode): Require delsel and setup
945 delete-selection-self-insert-hooks (bug#11520).
946
947 2012-10-20 Chong Yidong <cyd@gnu.org>
948
949 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
950 no changes to show (Bug#12586).
951
952 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
953 list explicitly (Bug#12571).
954
955 2012-10-20 Arne Jørgensen <arne@arnested.dk>
956
957 * progmodes/flymake.el (flymake-create-temp-inplace):
958 Use file-truename.
959
960 2012-10-20 Eli Zaretskii <eliz@gnu.org>
961
962 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
963
964 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
965
966 * calc/calc-units.el (math-extract-units): Properly extract powers
967 of units.
968
969 2012-10-20 Daniel Colascione <dancol@dancol.org>
970
971 * frame.el (make-frame): Set x-display-name as we used to in order
972 to unbreak creating an X11 frame from an Emacs daemon started
973 without a display.
974
975 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * minibuffer.el (minibuffer-force-complete): Make the next completion use
978 the same completion-field (bug@12221).
979
980 2012-10-19 Martin Rudalics <rudalics@gmx.at>
981
982 * emacs-lisp/debug.el (debug): Record height of debugger window
983 also when debugger will be back (Bug#8789).
984
985 2012-10-18 Chong Yidong <cyd@gnu.org>
986
987 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
988 Convert to defcustom.
989 (gdb-get-source-file): Don't bind pop-up-windows.
990
991 * progmodes/gud.el (gud-display-line): Don't specially re-use
992 other frames for the gdb-mi case (Bug#12648).
993
994 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * emacs-lisp/advice.el: Clean up commentary a bit.
997 (ad-do-advised-functions, ad-with-originals): Use `declare'.
998 (byte-code-function-p): Never redefine.
999
1000 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1001
1002 2012-10-18 Glenn Morris <rgm@gnu.org>
1003
1004 * dired.el (dired-sort-toggle): Some ls implementations only allow
1005 a single option string. (Bug#12666)
1006
1007 * minibuffer.el (completion-cycle-threshold): Doc fix.
1008
1009 2012-10-17 Kenichi Handa <handa@gnu.org>
1010
1011 * international/mule.el (set-keyboard-coding-system):
1012 Recover input meta mode when the new coding system doesn not use 8-bit.
1013 Supply TERMINAL arg to set-input-meta-mode.
1014
1015 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1016
1017 * wdired.el (wdired-old-marks): New variable.
1018 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1019 (wdired-do-renames): Move point with renamed file and don't lose
1020 mark status (Bug#11795).
1021
1022 2012-10-16 Juri Linkov <juri@jurta.org>
1023
1024 * replace.el (query-replace-help): Mention multi-buffer replacement
1025 keys in the Help message. (Bug#12655)
1026
1027 2012-10-15 Chong Yidong <cyd@gnu.org>
1028
1029 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1030
1031 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1032
1033 * window.el (display-buffer): Doc fix.
1034
1035 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1036 Adjust the msft regexp to the output of Studio 2010, and move msft
1037 before edg-1. See the discussion on emacs-devel,
1038 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1039 for the details.
1040
1041 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1044 (oset): Move uses of object-class-fast macro after its definition.
1045
1046 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1047
1048 2012-10-13 Chong Yidong <cyd@gnu.org>
1049
1050 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1051 enabled, re-enable it (Bug#11963).
1052
1053 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1054
1055 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1056 non-nil, restore window configuration (Bug#12623).
1057
1058 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * help-fns.el (describe-variable, describe-function-1):
1061 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1062
1063 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1064
1065 2012-10-12 Glenn Morris <rgm@gnu.org>
1066
1067 * mail/rmailsum.el (rmail-header-summary):
1068 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1069
1070 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1071
1072 * progmodes/python.el (python-mode-map):
1073 Replace subtitute-key-definition with proper command remapping.
1074 (python-nav--up-list): Fix behavior for blocks on the same level.
1075
1076 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1079
1080 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1081 changes to the format of load-history.
1082
1083 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1084 completion-ignore-case in case that var is buffer-local (bug#12615).
1085
1086 2012-10-11 Kenichi Handa <handa@gnu.org>
1087
1088 * international/eucjp-ms.el: Re-generated.
1089
1090 2012-10-10 Kenichi Handa <handa@gnu.org>
1091
1092 * select.el (xselect--encode-string): If a coding is specified for
1093 selection, and that is compatible with COMPOUND_TEXT, use it.
1094
1095 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1096
1097 * window.el (switch-to-buffer-preserve-window-point): New option.
1098 (switch-to-buffer):
1099 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1100
1101 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1104 Don't document nil as a useful value (bug#12583).
1105
1106 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1107
1108 * net/tramp.el (tramp-debug-message):
1109 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1110 (with-tramp-progress-reporter): Rename from
1111 `tramp-with-progress-reporter'.
1112 (with-tramp-file-property, with-tramp-connection-property):
1113 Move from tramp-cache.el, rename from `with-file-property' and
1114 `with-connection-property', respectively.
1115
1116 * net/tramp-cache.el: Remove `with-file-property' and
1117 `with-connection-property'.
1118
1119 * net/tramp.el:
1120 * net/tramp-gvfs.el:
1121 * net/tramp-sh.el:
1122 * net/tramp-smb.el: Adapt callees.
1123
1124 * net/trampver.el: Update release number.
1125
1126 2012-10-09 Glenn Morris <rgm@gnu.org>
1127
1128 * w32-fns.el (set-message-beep):
1129 * term/w32-win.el (set-message-beep): Update declarations.
1130
1131 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1134 (mode-line-widen, mode-line-input-method-map)
1135 (mode-line-coding-system-map, mode-line-remote)
1136 (mode-line-unbury-buffer, mode-line-bury-buffer)
1137 (mode-line-next-buffer, mode-line-previous-buffer):
1138 Replace save-selected-window+select-window => with-selected-window.
1139
1140 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1141 * progmodes/cc-vars.el (bq-process): Remove, unused.
1142
1143 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1144
1145 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1146
1147 Implemented `backward-up-list'-like navigation.
1148 * progmodes/python.el (python-nav-up-list)
1149 (python-nav-backward-up-list): New functions.
1150 (python-mode-map): Define substitute key for backward-up-list to
1151 python-nav-backward-up-list.
1152
1153 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1154
1155 * progmodes/python.el (python-fill-paragraph): Rename from
1156 python-fill-paragraph-function. Fixed fill-paragraph for
1157 decorators (Bug#12605).
1158
1159 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1160
1161 * progmodes/python.el (python-shell-output-filter): Handle extra
1162 carriage return in OSX (Bug#12409).
1163
1164 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1165
1166 Fix shell handling of unbalanced quotes and parens in output.
1167 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1168 (python-syntax-propertize-function): Use it.
1169 (python-shell-output-syntax-table): New var.
1170 (inferior-python-mode): Prevent unbalanced parens/quotes from
1171 previous output mess with current input context.
1172
1173 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1174
1175 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1176 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1177
1178 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * ffap.el (ffap-replace-file-component): Support Tramp file name
1181 syntax, not only ange-ftp's one.
1182
1183 2012-10-08 Glenn Morris <rgm@gnu.org>
1184
1185 * cus-start.el (message-log-max): Set :version.
1186
1187 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1188
1189 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1190
1191 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1192 the minibuffer window (Bug#10851).
1193
1194 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1195
1196 Enhancements on forward-sexp movement.
1197 * progmodes/python.el (python-nav-beginning-of-statement)
1198 (python-nav-end-of-statement): Return point-marker.
1199 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1200 (python-info-current-symbol)
1201 (python-info-statement-starts-block-p): Rename from
1202 python-info-beginning-of-block-p.
1203 (python-info-statement-ends-block-p): Rename from
1204 python-info-end-of-block-p.
1205 (python-info-beginning-of-statement-p)
1206 (python-info-end-of-statement-p)
1207 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1208 New functions.
1209
1210 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1213 frame-selected-windows.
1214
1215 2012-10-08 Daniel Colascione <dancol@dancol.org>
1216
1217 * battery.el (battery-status-function): Check for
1218 w32-battery-status itself, not system-time windows-nt.
1219
1220 * frame.el: Require cl-lib.
1221 (display-format-alist): New variable mapping frame types to
1222 functions that initialize them.
1223 (window-system-for-display): New function: interprets
1224 display-format-alist.
1225 (make-frame-on-display): Remove existing display-selection logic
1226 and just forward to make-frame, which will now DTRT.
1227 (make-frame): Restructure to use window-system-for-display to
1228 figure out how to create a frame on a given display.
1229 (display-mouse-p): Look for frame-type w32, not a particular
1230 system-type.
1231
1232 * loadup.el: Load w32 lisp code when we have the w32 feature.
1233
1234 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1235 system-type windows-nt.
1236
1237 * server.el (server-create-window-system-frame): Look for window
1238 type.
1239 (server-proces-filter): Only force a window system when windows-nt
1240 _and_ w32. Explain why.
1241
1242 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1243 of window systems we configure for the mode.
1244
1245 * startup.el (command-line): Mark window system is initialized
1246 after we've done it.
1247
1248 * common-win.el (x-select-text): Look for w32, not windows-nt.
1249
1250 * ns-win.el: Require cl-lib. Add ourselves to
1251 display-format-alist.
1252 (ns-initialize-window-system): Assert we're not initialized twice.
1253
1254 * w32-win.el: Enable lexical binding; require cl-lib; add
1255 ourselves to display-format-alist.
1256 (w32-handle-dropped-file): Convert incoming dropped files from
1257 Windows paths to Cygwin ones before passing them on to the rest of
1258 Emacs.
1259 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1260 (w32-initialize-window-system): Assert we're not initialized twice.
1261
1262 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1263 (x-initialize-window-system): Assert we're not initialized twice.
1264
1265 * w32-common-fns.el: New File.
1266 (w32-version, w32-using-nt, w32-get-clipboard-data)
1267 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1268 (w32-charset-info-alist, x-last-selected, text)
1269 (x-get-selection-value, x-selection-value): Move here.
1270
1271 * w32-fns.el: Require w32-common-fns.
1272 (w32-version, w32-using-nt, w32-get-clipboard-data)
1273 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1274 (w32-charset-info-alist, x-last-selected, text)
1275 (x-get-selection-value, x-selection-value): Move to
1276 w32-common-fns.
1277
1278 * w32-vars.el:
1279 (w32-allow-system-shell, w32-system-shells): Define only in
1280 non-cygwin case.
1281
1282 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1285 (read-passwd): Remove a few more potential sources of leaks.
1286
1287 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1288
1289 * progmodes/python.el (inferior-python-mode)
1290 (python-shell-make-comint): Fix initialization of local
1291 variables copied from parent buffer.
1292
1293 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1294
1295 * term/ns-win.el (ns-read-file-name): Update declaration to match
1296 nsfns.m.
1297 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1298 it is set when font is acted upon.
1299
1300 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1301
1302 Enhancements to indentation.
1303 * progmodes/python.el (python-indent-context): Give priority to
1304 inside-string context. Make comments indentation markers.
1305 (python-indent-region): Do not mess with strings, unless it's the
1306 enclosing set of quotes.
1307
1308 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * window.el (internal--before-save-selected-window)
1311 (internal--after-save-selected-window): New functions extracted from
1312 save-selected-window. Make sure we return the `alist' we construct.
1313 (save-selected-window): Use them.
1314
1315 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1316 Use with-selected-window.
1317
1318 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1319 forms that define macros (bug#12593).
1320
1321 2012-10-07 Kenichi Handa <handa@gnu.org>
1322
1323 * international/mule-conf.el (compound-text-with-extensions):
1324 Add :mime-charset property as x-ctext.
1325
1326 2012-10-07 Stefan Merten <smerten@oekonux.de>
1327
1328 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1329 (rst-indent-literal-normal, rst-indent-literal-minimized)
1330 (rst-indent-comment): Correct :version tag.
1331 (rst-official-cvs-rev): Correct version string.
1332
1333 2012-10-07 Glenn Morris <rgm@gnu.org>
1334
1335 * mail/rmailmm.el (rmail-mime-process-multipart):
1336 Do not confuse a multipart message with an epilogue
1337 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1338
1339 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1340
1341 Fix shell output retrieval and comint-prompt-regexp init.
1342 * progmodes/python.el (inferior-python-mode):
1343 (python-shell-make-comint): Fix initialization of
1344 comint-prompt-regexp from copied file local variables.
1345 (python-shell-fetched-lines): Remove var.
1346 (python-shell-output-filter-in-progress): Rename from
1347 python-shell-fetch-lines-in-progress.
1348 (python-shell-output-filter-buffer): Rename from
1349 python-shell-fetch-lines-string.
1350 (python-shell-fetch-lines-filter): Delete function.
1351 (python-shell-output-filter): New function.
1352 (python-shell-send-string-no-output): Use them.
1353
1354 2012-10-07 Glenn Morris <rgm@gnu.org>
1355
1356 * hi-lock.el (hi-lock-process-phrase):
1357 Try to make it less fragile. (Bug#7161)
1358
1359 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1360
1361 2012-10-06 Glenn Morris <rgm@gnu.org>
1362
1363 * ehelp.el (electric-help-mode): Use help-mode rather than
1364 non-existent mode `help'.
1365 (electric-help-map): Use button-buffer-map. (Bug#10917)
1366
1367 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1368 (reftex-create-bibtex-footer): Fix custom types.
1369
1370 * progmodes/sh-script.el (sh-indent-after-continuation):
1371 Add explicit :group.
1372
1373 * textmodes/rst.el (rst-preferred-decorations)
1374 (rst-shift-basic-offset): Clarify obsolescence versions.
1375
1376 * profiler.el (profiler): Add missing group :version tag.
1377 * avoid.el (mouse-avoidance-banish-position):
1378 * proced.el (proced-renice-command):
1379 * calc/calc.el (calc-ensure-consistent-units):
1380 * calendar/icalendar.el (icalendar-import-format-uid):
1381 * net/tramp.el (tramp-save-ad-hoc-proxies):
1382 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1383 * progmodes/flymake.el (flymake-error-bitmap)
1384 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1385 * progmodes/sh-script.el (sh-indent-after-continuation):
1386 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1387 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1388 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1389 (vhdl-array-index-record-field-in-sensitivity-list)
1390 (vhdl-indent-comment-like-next-code-line):
1391 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1392 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1393 (reftex-cite-key-separator, reftex-create-bibtex-header)
1394 (reftex-create-bibtex-footer):
1395 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1396 (rst-indent-literal-normal, rst-indent-literal-minimized)
1397 (rst-indent-comment): Add missing custom :version tags.
1398
1399 * calendar/timeclock.el (timeclock-modeline-display):
1400 Add missing obsolete alias for renamed user option.
1401
1402 * strokes.el (strokes-modeline-string):
1403 * emulation/crisp.el (crisp-mode-modeline-string):
1404 * eshell/esh-mode.el (eshell-status-in-modeline):
1405 Aliases to defcustoms must come before the defcustom.
1406
1407 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1408 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1409 (cal-tex-cursor-week-monday): Doc fixes.
1410 (cal-tex-cursor-week2-summary): Doc fix.
1411 Rename from cal-tex-cursor-week-at-a-glance.
1412
1413 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1414 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1415
1416 * calendar/calendar.el (calendar-mode-map):
1417 Add cal-tex-cursor-week2-summary.
1418
1419 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1422
1423 * subr.el (read-passwd-map): New var.
1424 (read-passwd): Use `read-string' again.
1425 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1426
1427 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1428
1429 * register.el (append-to-register, prepend-to-register):
1430 Deactivate mark, as does `copy-to-register' (bug#12389).
1431
1432 2012-10-06 Chong Yidong <cyd@gnu.org>
1433
1434 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1435
1436 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1437
1438 * international/characters.el: Fix simple mistake ((car chars) ->
1439 elt), delete duplicated code.
1440
1441 2012-10-06 Glenn Morris <rgm@gnu.org>
1442
1443 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1444
1445 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1446
1447 * color.el (color-hsl-to-rgb): Fix incorrect results for
1448 small and large hue values. (Bug#12559)
1449
1450 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1451
1452 Enhancements to docstring formatting when filling paragraphs.
1453 * progmodes/python.el (python-fill-docstring-style): Rename from
1454 python-fill-string-style. Added new style.
1455 (python-fill-string): Use new style. Better checks for
1456 docstrings.
1457
1458 2012-10-05 Glenn Morris <rgm@gnu.org>
1459
1460 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1461
1462 * color.el (color-name-to-rgb, color-rgb-to-hex)
1463 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1464 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1465 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1466 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1467
1468 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1469
1470 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1471
1472 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1473 to get the correct size across symlinks.
1474
1475 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1476
1477 2012-10-04 Juri Linkov <juri@jurta.org>
1478
1479 * replace.el (query-replace-interactive): Declare obsolete.
1480 (query-replace-read-from): Add the last incremental search string
1481 to the list of default values accessible via M-n.
1482 (map-query-replace-regexp): Use `read-regexp'.
1483 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1484 (map-query-replace-regexp, replace-string, replace-regexp):
1485 Fix docstrings to replace mentions of `query-replace-interactive'
1486 with alternatives. (Bug#12526)
1487
1488 2012-10-04 Juri Linkov <juri@jurta.org>
1489
1490 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1491 (dired-pop-to-buffer): Declare obsolete.
1492 (dired-mark-pop-up): Doc fix.
1493
1494 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1495
1496 Allow user to set docstring style for fill-paragraph.
1497 * progmodes/python.el
1498 (python-fill-comment-function, python-fill-string-function)
1499 (python-fill-decorator-function, python-fill-paren-function):
1500 Remove :safe for defcustoms.
1501 (python-fill-string-style): New defcustom
1502 (python-fill-paragraph-function): Enhance context detection.
1503 (python-fill-string): Honor python-fill-string-style settings.
1504
1505 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1506
1507 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1508 after setting its buffer (Bug#10805).
1509
1510 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1511
1512 Fix cornercase for string syntax.
1513 * progmodes/python.el (python-syntax-propertize-function):
1514 Simplify and enhance the regexp for unescaped quotes. Now it also
1515 matches quotes in weird situations like the single quote in
1516 "something\"'".
1517 (python-syntax-stringify): Simplify num-quotes detecting code.
1518
1519 2012-10-03 Glenn Morris <rgm@gnu.org>
1520
1521 * help-macro.el (three-step-help):
1522 Revert 2012-09-29 change. (Bug#12567)
1523
1524 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1525
1526 * menu-bar.el (kill-this-buffer): Don't do anything when
1527 `menu-frame' is not alive or visible (Bug#8184).
1528
1529 * emacs-lisp/debug.el (debug): When quitting the debugger window
1530 restore current buffer (Bug#12502).
1531
1532 2012-10-02 Chong Yidong <cyd@gnu.org>
1533
1534 * progmodes/hideif.el (hif-lookup, hif-defined):
1535 Handle semantic-c-takeover-hideif.
1536
1537 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1538
1539 Change sampling interval units from ms to ns.
1540 * profiler.el (profiler-sampling-interval): Change units
1541 from ms to ns, multiplying the default by 1000000 so that
1542 it remains 1 ms.
1543 (profiler-report-cpu-line-format): Give enough room for
1544 the maximum counters on 64-bit hosts.
1545 (profiler-report-render-calltree-1): Call them "CPU samples",
1546 not "Time (ms)", since they are not milliseconds now (and
1547 never really were).
1548
1549 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1550
1551 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1552 Fix querying BBDB for entries without a last name (Bug#11580).
1553
1554 2012-10-02 Chong Yidong <cyd@gnu.org>
1555
1556 * emacs-lisp/eieio.el: Restore Version header.
1557
1558 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * vc/diff-mode.el (diff--auto-refine-data): New var.
1561 (diff-hunk): Use it to delay refinement.
1562 (diff-mode): Remove overlays when we turn off font-lock.
1563
1564 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1565 (table-initialize-table-fixed-width-mode)
1566 (table-set-table-fixed-width-mode): Remove functions.
1567 (table-command-list): Move initialization into declaration.
1568 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1569 (table-with-cache-buffer): Use `declare'.
1570 (table-span-cell): Simplify via CSE.
1571 (table-fixed-width-mode): Use define-minor-mode.
1572 (table-call-interactively, table-funcall, table-apply): Remove.
1573 (table-function): New function, to replace them.
1574
1575 * bookmark.el (bookmark-search-pattern): Remove var.
1576 (bookmark-read-search-input): Remove function.
1577 (bookmark-bmenu-search): Reimplement using a minibuffer.
1578
1579 * faces.el (modeline): Remove obsolete face name.
1580
1581 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1582 and give a non-nil default value.
1583 (add-change-log-entry): Simplify accordingly.
1584
1585 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1586
1587 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1588 (vc-git-log-edit-toggle-amend): New function.
1589 (vc-git-log-edit-toggle-signoff): New function.
1590 (vc-git-log-edit-mode): New major mode.
1591 (vc-git-log-edit-mode-map): Keymap for it.
1592 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1593
1594 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1595 header names.
1596 (log-edit-toggle-header): New function.
1597 (log-edit-extract-headers): Accept function values in HEADERS alist.
1598
1599 2012-10-01 David Engster <deng@randomsample.de>
1600
1601 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1602 from symbol property and change message to be more consistent with
1603 Emacs proper.
1604 (eieio-describe-generic): Add filename for each implementation.
1605 Fix indices for generic and normal methods.
1606 (eieio-method-def, eieio-class-def): New buttons.
1607 (eieio-help-find-method-definition)
1608 (eieio-help-find-class-definition): New functions.
1609 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1610 class, constructor and method definitions.
1611
1612 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1613 information in symbol property.
1614 (scoped-class): Remove.
1615 (eieio-slot-name-index, call-next-method): Check if it is bound.
1616
1617 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1618
1619 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1620 (eieio-custom-mode): New major mode.
1621 (eieio-customize-object): Use it.
1622
1623 2012-10-01 Eric Ludlam <zappo@gnu.org>
1624
1625 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1626 specifying the expected class, and whether subclassing is allowed.
1627 (eieio-persistent-convert-list-to-object):
1628 (eieio-persistent-validate/fix-slot-value)
1629 (eieio-persistent-slot-type-is-class-p): New functions.
1630 (eieio-named::slot-missing): Doc fix.
1631
1632 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1633 Stop using unused publd variable.
1634
1635 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1636 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1637 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1638 (eieio-speedbar-handle-click): Do not specify a class for the
1639 method. Fixes method invocation order problems with EDE.
1640
1641 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1644 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1645
1646 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1647
1648 * bookmark.el (bookmark-version-control): Give tags in the
1649 :type choices (Bug#12309), and improve doc string.
1650 (bookmark-write-file): Bind `print-circle' to `t' to allow
1651 circular custom bookmark types. (Bug#12503)
1652
1653 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1654
1655 Revert the FOLLOW-SYMLINKS change for file-attributes.
1656 * files.el (remote-file-name-inhibit-cache, after-find-file):
1657 * time.el (display-time-file-nonempty-p): Undo last change.
1658
1659 * profiler.el (profiler-sampling-interval): Change default back to 1.
1660 See Stefan Monnier in
1661 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1662
1663 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1664
1665 Shell output catching a la gud-gdb.
1666 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1667 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1668 New Vars.
1669 (python-shell-fetch-lines-filter): New function.
1670 (python-shell-send-string-no-output): Use them.
1671
1672 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1673
1674 * profiler.el (profiler-sampling-interval): Rename from
1675 profiler-sample-interval.
1676 (profiler-sampling-interval): Default to 10.
1677 (profiler-find-profile): New command (was profiler-find-log).
1678 (profiler-find-profile-other-window): New command.
1679 (profiler-find-profile-other-frame): New command.
1680 (profiler-profile): Introduce API-level data structure.
1681
1682 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1683
1684 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1685 * files.el (remote-file-name-inhibit-cache):
1686 * time.el (display-time-file-nonempty-p): Use it.
1687 * files.el (after-find-file): Don't chase links before calling
1688 file-exists-p, as file-exists-p already does the right thing.
1689
1690 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1691
1692 Merge from standalone RefTeX repository.
1693
1694 The following ChangeLog entries are shortened versions of the
1695 original ones with file paths adapted. A not so strongly edited
1696 version of the original ChangeLog can be found in the commit log.
1697
1698 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1699 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1700 Correctly handle new value type returned by `reftex-citation'.
1701
1702 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1703 that entries with whitespace at various places are found.
1704 Doc fix. Include entries that are cross-referenced from cited entries.
1705 Include @String definitions in the resulting bib file. Add header
1706 and footer defined in `reftex-create-bibtex-header' and
1707 `reftex-create-bibtex-footer'.
1708 (reftex-do-citation): Make it possible again to insert
1709 non-existent entries. Save match data when asking for optional
1710 arguments. Return all keys, not just the first one.
1711 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1712 all citations in the same line.
1713 (reftex-parse-bibtex-entry): Accept additional optional argument
1714 `raw' and keep quotes or braces if it is non-nil. Match fields
1715 containing hyphens besides word constituents.
1716 (reftex-get-string-refs): New function.
1717 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1718 and ask if it should be reread in case it did.
1719 (reftex-pop-to-bibtex-entry)
1720 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1721 entries with spaces or tabs in front of arguments.
1722 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1723 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1724 Match entries containing numbers and symbol constituents.
1725 (reftex-do-citation, reftex-figure-out-cite-format):
1726 Use `reftex-cite-key-separator'.
1727
1728 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1729 (reftex-mouse-view-crossref): Explain why point is set.
1730
1731 * textmodes/reftex-global.el: Whitespace changes.
1732
1733 * textmodes/reftex-index.el: Move provide statement to end of
1734 file.
1735 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1736 (reftex-index-visit-phrases-buffer): Set marker when visiting
1737 buffer. This allows for returning from the phrases file to the
1738 file one was just editing instead of the file where the last
1739 phrases was added from.
1740 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1741 punctuation syntax as it usually is not used as string quote in
1742 TeX-related modes and may occur unmatched. The change also
1743 prevents fontification of quoted content.
1744 (reftex-index-phrases-mode): Use it.
1745
1746 * textmodes/reftex-parse.el (reftex-parse-from-file):
1747 Move backward one char if a `\' was matched after a section macro.
1748 (reftex-parse-from-file): Use beginning of match instead of end as
1749 bound.
1750
1751 * textmodes/reftex-ref.el: Adapt creation of
1752 `reftex-<package>-<macro>' functions to new structure of
1753 `reftex-ref-style-alist'.
1754 (reftex-reference): Use `reftex-ref-style-list' function.
1755 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1756 reference macro if `reftex-ref-macro-prompt' is non-nil.
1757 (reftex-reference): Pass refstyle to `reftex-format-special'.
1758 Determine reference macro by looking at
1759 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1760 Use only one special format function.
1761 (reftex-varioref-vref, reftex-fancyref-fref)
1762 (reftex-fancyref-Fref): Remove definitions. The functions are now
1763 generated from `reftex-ref-style-alist'.
1764 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1765 Remove.
1766 (reftex-format-special): New function.
1767
1768 * textmodes/reftex-sel.el
1769 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1770 of `reftex-ref-style-alist'. Remove code for testing macro type.
1771 (reftex-select-toggle-varioref)
1772 (reftex-select-toggle-fancyref): Remove.
1773 (reftex-select-cycle-ref-style-internal)
1774 (reftex-select-cycle-ref-style-forward)
1775 (reftex-select-cycle-ref-style-backward): New functions.
1776 (reftex-select-label-map): Use `v' and `V' for general cycling
1777 through reference styles. Add `p' for switching between number
1778 and page reference types.
1779
1780 * textmodes/reftex-toc.el (reftex-re-enlarge):
1781 Call `enlarge-window' only if there is something to do because in Emacs
1782 the horizontal version throws an error even if the parameter is 0.
1783
1784 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1785 (reftex-plug-into-AUCTeX): Doc fix.
1786 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1787 string. Adapt to new name.
1788 (reftex-ref-style-alist): Change structure so that it is not
1789 possible to use multiple different package names within a style.
1790 Remove the symbols for symbols for macro type distinction.
1791 Add characters for macro selection.
1792 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1793 (reftex-create-bibtex-footer): New variables.
1794 (reftex-format-ref-function): Mention third argument of special
1795 format function.
1796 (reftex-ref-style-alist, reftex-ref-style-default-list):
1797 New variables.
1798 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1799 to new implementation. Mark as obsolete. Add compatibility code
1800 for honoring the variable values in case they are set.
1801 (reftex-cite-format-builtin, reftex-bibliography-commands):
1802 Add support for ConTeXt.
1803 (reftex-format-ref-function, reftex-format-cite-function):
1804 Fix custom type.
1805 (reftex-cite-key-separator): New variable.
1806
1807 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1808 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1809 `reftex-syntax-table' because parens have to retain their paren
1810 syntax in order for parsing of BibTeX entries like @book(...) to
1811 work.
1812 (reftex-in-comment): Do not error out if `comment-start-skip' is
1813 not set. Deal correctly with escaped comment characters.
1814 (reftex-tie-multifile-symbols): Add doc string.
1815 Initialize `reftex-ref-style-list'.
1816 (reftex-untie-multifile-symbols): Add doc string.
1817 (reftex-add-index-macros): Doc fix.
1818 (reftex-ref-style-activate, reftex-ref-style-toggle)
1819 (reftex-ref-style-list): New functions.
1820 (reftex-mode-menu): Use them. Adapt to new structure of
1821 `reftex-ref-style-alist'.
1822 (reftex-select-with-char): Kill the RefTeX Select buffer when
1823 done.
1824 (reftex-remove-if): New function.
1825 (reftex-erase-all-selection-and-index-buffers)
1826 (reftex-mode-menu): Reference styles are now computed from
1827 `reftex-ref-style-alist'. Fix typo.
1828 (reftex-report-bug): New function.
1829 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1830 algorithms with O(n log n). Introduce optional argument SORT (not
1831 yet used).
1832
1833 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1834
1835 Enhancements for triple-quote string syntax.
1836 * progmodes/python.el (python-syntax-propertize-function):
1837 Match both quote cases in one regexp.
1838 (python-syntax-stringify): Handle matches properly.
1839
1840 2012-09-30 Juri Linkov <juri@jurta.org>
1841
1842 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1843 to nil around the call to `insert' to prevent
1844 directory time modification by lock_file. (Bug#2295)
1845 * tar-mode.el (tar-summarize-buffer): Idem.
1846
1847 2012-09-30 Juri Linkov <juri@jurta.org>
1848
1849 * facemenu.el (list-colors-sort): Add option "Luminance".
1850 (list-colors-sort-key): Implement it.
1851
1852 * vc/diff-mode.el (diff-refine-removed):
1853 * vc/ediff-init.el (ediff-fine-diff-A):
1854 * vc/smerge-mode.el (smerge-refined-removed):
1855 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1856
1857 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1858
1859 * term/ns-win.el (x-file-dialog): New function.
1860
1861 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1862
1863 * ido.el (ido-max-directory-size): Default to nil; the current
1864 default is small for POSIX systems, and impractical on Windows 7
1865 now that lstat returns directory sizes for NTFS.
1866
1867 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1868
1869 In buffer display functions handle window-height/window-width
1870 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1871 * window.el (window--display-buffer): New argument ALIST.
1872 Obey window-height and window-width alist entries.
1873 (window--try-to-split-window): New argument ALIST.
1874 Bind window-combination-limit to t when the window's size shall be
1875 changed and window-combination-limit equals `window-size'.
1876 (display-buffer-in-atom-window)
1877 (display-buffer-in-major-side-window)
1878 (display-buffer-in-side-window, display-buffer-same-window)
1879 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1880 (display-buffer-pop-up-window, display-buffer-below-selected)
1881 (display-buffer-at-bottom, display-buffer-in-previous-window)
1882 (display-buffer-use-some-window): Adjust all callers of
1883 window--display-buffer and window--try-to-split-window.
1884 (fit-frame-to-buffer): New option.
1885 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1886 is non-nil.
1887 (display-buffer-in-major-side-window): Evaluate window-height /
1888 window-width alist entries.
1889
1890 * help.el (temp-buffer-resize-frames)
1891 (temp-buffer-resize-regexps): Remove options.
1892 (temp-buffer-resize-mode): Adjust doc-string.
1893 (resize-temp-buffer-window): Don't consult
1894 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1895 temp-buffer-resize-frames.
1896
1897 * dired.el (dired-mark-pop-up):
1898 Call display-buffer-below-selected with a fit-window-to-buffer alist
1899 entry.
1900
1901 2012-09-30 Chong Yidong <cyd@gnu.org>
1902
1903 * server.el (server-host): Document the security implications.
1904 (server-auth-key): Doc fix.
1905
1906 * startup.el (initial-buffer-choice): Doc fix.
1907
1908 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1909
1910 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1911 restriction change.
1912
1913 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1914
1915 * help-fns.el (help-fns--obsolete): Fix last change.
1916
1917 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1920 (minor-mode-map-alist): Remove redundant code.
1921
1922 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1923 visited in a buffer.
1924 (cvs-insert-visited-file): New function.
1925 (find-file-hook): Use it.
1926
1927 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1928
1929 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1930 chose face.
1931 (log-edit-empty-buffer-p): Don't require a space after a header.
1932
1933 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1934
1935 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1936
1937 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1938 a proper minor-mode.
1939
1940 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1941
1942 2012-09-29 Glenn Morris <rgm@gnu.org>
1943
1944 * winner.el (winner-mode): Remove variable (let define-minor-mode
1945 handle it).
1946 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1947 Doc fixes.
1948 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1949 (winner-mode): Use define-minor-mode.
1950
1951 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1952 the full definition in loaddefs, rather than duplicating it.
1953
1954 * help-macro.el (three-step-help): No need to autoload defcustom.
1955
1956 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1957 (inferior-lisp-program, inferior-lisp-load-command)
1958 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1959 No need to autoload defcustoms.
1960
1961 * hippie-exp.el (hippie-expand-try-functions-list)
1962 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1963 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1964 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1965 (hippie-expand-only-buffers): No need to autoload defcustoms.
1966 * progmodes/vhdl-mode.el (vhdl-line-expand):
1967 Explicitly load hippie-exp, so it does not get autoloaded
1968 while hippie-expand-try-functions-list is let-bound.
1969
1970 2012-09-28 Glenn Morris <rgm@gnu.org>
1971
1972 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1973
1974 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1975 Only "cl.el" counts as cl these days.
1976
1977 2012-09-28 Juri Linkov <juri@jurta.org>
1978
1979 Display archive errors in the echo area instead of inserting
1980 to the file buffer.
1981
1982 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1983 to STDERR-TEST that can be a regexp matching a successful output.
1984 Create a temporary file and redirect stderr to it. Search for
1985 STDERR-TEST in the stderr output and display it in the echo area
1986 if no match is found.
1987 (archive-extract-by-file): New function like
1988 `archive-extract-by-stdout' but extracting archives to files
1989 and looking for successful matches in stdout. Function body is
1990 mostly copied from `archive-rar-extract'.
1991 (archive-rar-extract): Use `archive-extract-by-file'.
1992 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1993
1994 2012-09-28 Leo Liu <sdl.web@gmail.com>
1995
1996 * pcomplete.el (pcomplete-show-completions):
1997 Use minibuffer-message to make pcomplete usable in minibuffer.
1998
1999 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2000
2001 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * type-break.el: Use lexical-binding.
2004 (type-break-mode): Use define-minor-mode.
2005
2006 * emacs-lisp/pcase.el (pcase--mark-used): New.
2007 (pcase--u1): Use it (bug#12512).
2008
2009 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2010 in load-history with the right file name.
2011
2012 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2013
2014 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2015 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2016 (doc-view-get-bounding-box): Make bounding box slicing work for
2017 ODF and DVI documents.
2018
2019 2012-09-28 Glenn Morris <rgm@gnu.org>
2020
2021 * type-break.el (type-break-mode, type-break-interval)
2022 (type-break-good-rest-interval, type-break-keystroke-threshold):
2023 No need to autoload.
2024 (type-break-good-rest-interval, type-break-keystroke-threshold):
2025 Add :set-after.
2026
2027 2012-09-28 Chong Yidong <cyd@gnu.org>
2028
2029 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2030 Add :version tag.
2031
2032 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2035
2036 2012-09-27 Glenn Morris <rgm@gnu.org>
2037
2038 * faces.el (x-display-name): Declare (for without-x builds).
2039
2040 * linum.el (linum-format): Don't autoload it. Improve :type.
2041
2042 * progmodes/tcl.el: Don't require outline when compiling.
2043 (outline-regexp, outline-level): Declare.
2044 * textmodes/sgml-mode.el: Don't require outline when compiling.
2045 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2046
2047 * term.el (term-ansi-reset):
2048 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2049
2050 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2051 files for RCS and SCCS. (Bug#9781)
2052
2053 2012-09-27 Chong Yidong <cyd@gnu.org>
2054
2055 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2056 change; value should be t.
2057
2058 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * image-mode.el: Use lexical-binding.
2061 (image-mode-winprops): Use t to stand for the window of
2062 a buffer that's not displayed.
2063 * doc-view.el (doc-view-new-window-function): Handle the new
2064 t in winprops.
2065 (doc-view-enlarge): Make it a real nop if the size is not changed.
2066 (doc-view-display): Handle the case where the buffer is not (yet?)
2067 displayed in any window.
2068 (doc-view-saved-settings): New var.
2069 (doc-view-mode): Use it.
2070 (doc-view-fallback-mode): Set it.
2071
2072 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2073 Set lexical-binding.
2074 (minibuffer-eldef-shorten-default): New var.
2075 (minibuffer-default-in-prompt-regexps): Use it for new default.
2076 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2077
2078 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2079
2080 * international/uni-bidi.el:
2081 * international/uni-category.el:
2082 * international/uni-name.el:
2083 * international/uni-numeric.el: Regenerate.
2084
2085 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2086 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * profiler.el: New file.
2089
2090 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2093 (testcover-reinstrument): Simplify with CSE.
2094
2095 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2096
2097 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2098
2099 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2100
2101 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2102 (verilog-auto-input, verilog-auto-insert-lisp)
2103 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2104 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2105 (verilog-auto-unused, verilog-auto-wire)
2106 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2107 newline. Reported by Andrew Jones.
2108 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2109 Reported by Brad Dobbie.
2110 (verilog-batch-delete-trailing-whitespace):
2111 Create verilog-batch-delete-trailing-whitespace.
2112 Reported by Brad Dobbie.
2113 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2114 parameters from another module. Reported by Dan Katz.
2115 (verilog-auto, verilog-auto-assign-modport)
2116 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2117 AUTOINOUTMODPORT for UVM interface module shell generation.
2118 Reported by Brad Dobbie.
2119 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2120 standard behavior.
2121 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2122 Reported by Matt Martin.
2123
2124 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2125
2126 * window.el (window--resize-child-windows): When resizing child
2127 windows proportionally, process them in reverse order to
2128 preserve the "when splitting a window the new one gets the odd
2129 line" behavior.
2130 (window--resize-root-window-vertically): When resizing the
2131 minibuffer window try to affect only windows at the bottom of the
2132 frame. (Bug#12419)
2133
2134 2012-09-25 Chong Yidong <cyd@gnu.org>
2135
2136 * subr.el (declare): Doc fix.
2137
2138 * help-fns.el (help-fns--obsolete): Handle macros properly.
2139
2140 2012-09-25 Chong Yidong <cyd@gnu.org>
2141
2142 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2143 this function obsolete.
2144
2145 * calendar/cal-x.el (calendar-two-frame-setup)
2146 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2147 * calendar/calendar.el (american-calendar, european-calendar)
2148 (calendar-for-loop):
2149 * comint.el (comint-dynamic-simple-complete)
2150 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2151 * desktop.el (desktop-load-default):
2152 * dired-x.el (dired-omit-here-always)
2153 (dired-hack-local-variables, dired-default-directory):
2154 * emacs-lisp/derived.el (derived-mode-class):
2155 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2156 * emacs-lock.el (toggle-emacs-lock):
2157 * epa.el (epa-display-verify-result):
2158 * epg.el (epg-sign-keys, epg-start-sign-keys)
2159 (epg-passphrase-callback-function):
2160 * eshell/esh-util.el (eshell-for):
2161 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2162 (eshell-add-to-window-buffer-names):
2163 * files.el (locate-file-completion):
2164 * imenu.el (imenu-example--create-c-index)
2165 (imenu-example--create-lisp-index)
2166 (imenu-example--lisp-extract-index-name)
2167 (imenu-example--name-and-position):
2168 * international/mule-cmds.el (princ-list):
2169 * international/mule-diag.el (decode-codepage-char):
2170 * international/mule-util.el (detect-coding-with-priority):
2171 * iswitchb.el (iswitchb-read-buffer):
2172 * mail/mailalias.el (mail-complete):
2173 * mail/sendmail.el (mail-sent-via):
2174 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2175 (mouse-major-mode-menu):
2176 * password-cache.el (password-read-and-add):
2177 * pcomplete.el (pcomplete-parse-comint-arguments):
2178 * progmodes/sh-script.el (sh-maybe-here-document):
2179 * replace.el (query-replace-regexp-eval):
2180 * savehist.el (savehist-load):
2181 * simple.el (choose-completion-delete-max-match):
2182 * term.el (term-dynamic-simple-complete):
2183 * vc/ediff-init.el (ediff-check-version):
2184 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2185 * vc/vc.el (vc-diff-switches-list):
2186 * view.el (view-return-to-alist-update): Likewise.
2187
2188 * subr.el (eval-next-after-load, makehash, insert-string)
2189 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2190 mark obsolete.
2191 (mode-line-inverse-video): Variable deleted.
2192
2193 * international/mule-util.el (string-to-sequence): Remove.
2194
2195 * calendar/calendar.el (calendar-version):
2196 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2197 (icalendar-convert-diary-to-ical):
2198 * cus-edit.el (custom-mode):
2199 * ansi-color.el (ansi-color-unfontify-region):
2200 * international/latin1-disp.el (latin1-char-displayable-p):
2201 * progmodes/cwarn.el (turn-on-cwarn-mode):
2202 * progmodes/which-func.el (which-func-update-1):
2203 Use define-obsolete-function-alias.
2204
2205 * net/newst-backend.el (newsticker-cache-filename):
2206 * net/newst-treeview.el (newsticker-groups-filename):
2207 Fix incorrect obsolescence declaration.
2208
2209 * allout.el (allout-passphrase-hint-string): Likewise.
2210 (allout-init): Use a declare form to mark obsolete.
2211
2212 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2213 this applies to functions.
2214
2215 * iswitchb.el (iswitchb-read-buffer): Move code of
2216 iswitchb-define-mode-map here, and delete that obsolete function.
2217
2218 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2219 font-lock-reference-face.
2220
2221 2012-09-25 Glenn Morris <rgm@gnu.org>
2222
2223 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2224 Doc fixes.
2225
2226 * eshell/em-term.el (eshell-term-name):
2227 Default to term-term-name. (Bug#12485)
2228
2229 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2230
2231 * progmodes/python.el (python-shell-send-buffer): Better handling
2232 of "if __name__ == '__main__':" conditionals when sending the buffer.
2233
2234 2012-09-24 Glenn Morris <rgm@gnu.org>
2235
2236 * eshell/esh-cmd.el (eshell-find-alias-function):
2237 Tighten up file-name regexp. (Bug#12499)
2238
2239 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2240
2241 Enhancements for triple-quote string syntax.
2242 * progmodes/python.el (python-quote-syntax): Remove.
2243 (python-syntax-propertize-function): New value.
2244 (python-syntax-count-quotes, python-syntax-stringify):
2245 New functions.
2246
2247 2012-09-24 Chong Yidong <cyd@gnu.org>
2248
2249 * mail/supercite.el (sc-version): Remove obsolete function.
2250 (sc-describe): Don't mark as obsolete, since it is bound.
2251 (sc-submit-bug-report): Remove.
2252
2253 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2254 (cvs-commit-buffer-require-final-newline): Remove.
2255 (log-edit-require-final-newline)
2256 (log-edit-changelog-full-paragraphs): Default to t.
2257
2258 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2259 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2260 * vc/vc.el (vc-checkout-carefully): Likewise.
2261
2262 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2263 (emerge-version): Remove.
2264
2265 * progmodes/compile.el (compile-internal): Remove.
2266 (compilation-parse-errors-function): Fix typo.
2267
2268 * international/mule.el (set-char-table-default): Remove.
2269 (set-coding-priority, make-coding-system, generic-char-p)
2270 (charset-list, charset-bytes, charset-id): Use declare to mark
2271 functions as obsolete.
2272
2273 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2274 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2275 * vc/vc-hooks.el (vc-default-registered): Don't use
2276 vc-master-templates.
2277
2278 * font-lock.el (font-lock-reference-face):
2279 Use define-obsolete-variable-alias.
2280
2281 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2282 * calendar/calendar.el (calendar-font-lock-keywords):
2283 * calendar/diary-lib.el (diary-font-lock-keywords)
2284 (diary-fancy-font-lock-keywords):
2285 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2286 * textmodes/reftex-index.el (reftex-insert-index):
2287 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2288 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2289 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2290 * progmodes/prolog.el (prolog-font-lock-keywords):
2291 * progmodes/idlwave.el (idlwave-idl-keywords):
2292 * progmodes/ada-mode.el (ada-font-lock-keywords):
2293 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2294
2295 2012-09-24 Glenn Morris <rgm@gnu.org>
2296
2297 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2298
2299 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2300
2301 * progmodes/python.el (python-indent-line): More consistent cursor
2302 movement behavior.
2303
2304 2012-09-23 Stefan Merten <smerten@oekonux.de>
2305
2306 * textmodes/rst.el: Fix compiler warning.
2307
2308 2012-09-23 Roland Winkler <winkler@gnu.org>
2309
2310 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2311 Transcribe also LaTeX hyphenation.
2312 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2313 bibtex-reformat-previous-options.
2314
2315 2012-09-23 Roland Winkler <winkler@gnu.org>
2316
2317 * proced.el (proced-renice-command): New variable.
2318 (proced-marked-processes): New function.
2319 (proced-with-processes-buffer): New macro.
2320 (proced-send-signal): Use them.
2321 (proced-renice): New command bound to r.
2322
2323 2012-09-23 Roland Winkler <winkler@gnu.org>
2324
2325 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2326 ibuffer-saved-filter-groups has one element, shortcut the call of
2327 completing-read. (Bug#12331)
2328
2329 2012-09-23 Chong Yidong <cyd@gnu.org>
2330
2331 * bindings.el (mode-line-toggle-read-only):
2332 * bs.el (bs-toggle-readonly):
2333 * buff-menu.el (Buffer-menu-toggle-read-only):
2334 * dired.el (dired-toggle-read-only):
2335 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2336
2337 2012-09-23 Chong Yidong <cyd@gnu.org>
2338
2339 * image.el (image-type-available-p): Adapt to init-image-library
2340 argument changes.
2341
2342 2012-09-22 Juri Linkov <juri@jurta.org>
2343
2344 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2345 `dired-toggle-read-only'. (Bug#12462)
2346
2347 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2348
2349 * subr.el (temp-output-buffer-show): New function.
2350 (with-output-to-temp-buffer): Call temp-output-buffer-show
2351 instead of internal-temp-output-buffer-show.
2352
2353 2012-09-22 Chong Yidong <cyd@gnu.org>
2354
2355 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2356 (Bug#12462).
2357
2358 * repeat.el (repeat): Doc fix (Bug#12348).
2359
2360 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2361 (Bug#10909).
2362
2363 * simple.el (shell-command-on-region): Doc fix.
2364 (read-only-mode): Doc fix.
2365
2366 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2367
2368 * emacs-lisp/timer.el (run-with-idle-timer)
2369 (timer-activate-when-idle): Warn against reinvoking an idle timer
2370 from within its own timer action. (Bug#12447)
2371
2372 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2373
2374 * cus-start.el (window-combination-limit): Add new optional
2375 values.
2376 * window.el (temp-buffer-window-show)
2377 (window--try-to-split-window): Handle new values of
2378 window-combination-limit (Bug#1806).
2379 (split-window): Test window-combination-limit for t instead of
2380 non-nil.
2381 (display-buffer-at-bottom): New buffer display action function.
2382 * help.el (temp-buffer-resize-regexps): New option.
2383 (temp-buffer-resize-mode): Rewrite doc-string.
2384 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2385 Don't resize reused window. Suggested by Glenn Morris.
2386
2387 2012-09-22 Stefan Merten <smerten@oekonux.de>
2388
2389 * textmodes/rst.el: Revamp section title faces.
2390 (rst-official-version)
2391 (rst-package-emacs-version-alist): Sync with official version
2392 V1.4.0.
2393 (rst-faces-defaults, rst-set-level-default)
2394 (rst-level-face-max, rst-level-face-base-color)
2395 (rst-level-face-base-light, rst-level-face-format-light)
2396 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2397 (rst-adornment-faces-alist): Match new setup.
2398 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2399 (rst-level-5, rst-level-6): New faces.
2400
2401 2012-09-22 Chong Yidong <cyd@gnu.org>
2402
2403 * simple.el (undo): Handle indirect buffers (Bug#8207).
2404
2405 2012-09-21 Leo Liu <sdl.web@gmail.com>
2406
2407 IDO: Disable match re-ordering for buffer switching.
2408 * ido.el (ido-buffer-disable-smart-matches): New variable.
2409 (ido-set-matches-1): Use it. (Bug#2042)
2410
2411 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2412
2413 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2414 Fix 2011-05-17 change. (Bug#12418)
2415
2416 2012-09-21 Leo Liu <sdl.web@gmail.com>
2417
2418 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2419
2420 2012-09-21 Glenn Morris <rgm@gnu.org>
2421
2422 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2423 Be more robust about locating simple.el.
2424
2425 2012-09-21 Glenn Morris <rgm@gnu.org>
2426
2427 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2428
2429 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2430
2431 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2432
2433 2012-09-20 Juri Linkov <juri@jurta.org>
2434
2435 * replace.el (query-replace-read-from): Use `read-regexp' instead
2436 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2437 (occur-read-primary-args): Use `read-regexp' instead of
2438 `read-string'.
2439 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2440 `read-from-minibuffer'.
2441 * isearch.el (isearch-occur): Use `read-regexp' instead of
2442 `read-string'.
2443 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2444 `read-from-minibuffer'.
2445 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2446 of `read-string'. (Bug#7567)
2447
2448 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2449 and allow accepting a list of strings prepended to a list of
2450 standard default values. Doc fix. (Bug#12321)
2451
2452 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2453
2454 * replace.el (read-regexp): Don't add ": " when PROMPT already
2455 ends with a colon and space. (Bug#12321)
2456
2457 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2458
2459 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2460 error.
2461
2462 2012-09-20 Stefan Merten <smerten@oekonux.de>
2463
2464 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2465 Fixes feature request bug#11711.
2466 (rst-mode): Create `imenu-create-index-function'.
2467 (rst-get-stripped-line): Delete after refactoring.
2468 (rst-section-tree, rst-section-tree-rec)
2469 (rst-section-tree-point): Refactor and document properly.
2470 (rst-imenu-find-adornments-for-position)
2471 (rst-imenu-convert-cell, rst-imenu-create-index):
2472 New function.
2473
2474 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2477 (macroexp--expand-all): Use it.
2478 (macroexp--funcall-and-return): Remove by folding it into its sole
2479 caller (macroexp--warn-and-return).
2480 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2481 Use macroexp--obsolete-warning.
2482
2483 * calc/calc.el: Fix last change by removing the whole chunk, since it
2484 was only needed back when Calc was not bundled.
2485
2486 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2487
2488 * emacs-lisp/debug.el (debug): Restore assignment to
2489 debugger-old-buffer removed on 2012-09-08.
2490
2491 2012-09-20 Juri Linkov <juri@jurta.org>
2492
2493 * dired-aux.el (dired-diff): Remove (require 'diff) since
2494 `diff-latest-backup-file' is now autoloaded.
2495
2496 2012-09-20 Chong Yidong <cyd@gnu.org>
2497
2498 * vc/diff.el (diff-latest-backup-file): Autoload.
2499
2500 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * calc/calc.el: Remove redundant autoload shape check.
2503 (sel-mode): Don't defvar.
2504 (calc-get-stack-element): Add `sel-mode' arg instead.
2505 (calc-top, calc-top-list): Pass it this additional argument.
2506 * calc/calc-store.el (calc-store-map):
2507 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2508 (calc-map-equation, calc-outer-product, calc-inner-product):
2509 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2510
2511 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2512
2513 2012-09-19 Juri Linkov <juri@jurta.org>
2514
2515 * dired-aux.el (dired-diff): Add (require 'diff) because
2516 `diff-latest-backup-file' is not autoloaded.
2517 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2518 of `dired-get-filename' to t to not report error when there is
2519 no default file on the current line.
2520
2521 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2524 macroexp--eval-if-compile.
2525 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2526 (macroexp--expand-all): Use them (bug#12371).
2527
2528 * doc-view.el (doc-view-guess-paper-size)
2529 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2530
2531 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2532
2533 New feature: set optimal slice from BoundingBox information.
2534 * doc-view.el (doc-view-mode-map): Add keybinding.
2535 (doc-view-menu): Add menu entry.
2536 (doc-view-set-slice): Adapt docstring.
2537 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2538 (doc-view-scale-bounding-box)
2539 (doc-view-set-slice-from-bounding-box): New functions.
2540 (doc-view-paper-sizes): New defvar.
2541
2542 2012-09-19 Glenn Morris <rgm@gnu.org>
2543
2544 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2545 (byte-compile-log-warning): Autoload. (Bug#12371)
2546
2547 * calendar/calendar.el (calendar-american-month-header)
2548 (calendar-european-month-header, calendar-iso-month-header)
2549 (calendar-month-header): New options.
2550 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2551 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2552
2553 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2554
2555 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2556
2557 2012-09-18 Juri Linkov <juri@jurta.org>
2558
2559 * dired-aux.el (dired-diff): Restore original functionality of
2560 getting the default value, but keep new feature of using the
2561 latest existing backup file (`diff-latest-backup-file').
2562
2563 2012-09-18 Juri Linkov <juri@jurta.org>
2564
2565 * dired.el (dired-mark): If the region is active in Transient Mark
2566 mode, mark all files in the active region. Doc fix.
2567 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2568 Doc fix. (Bug#10624)
2569
2570 2012-09-18 Juri Linkov <juri@jurta.org>
2571
2572 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2573 attributes for M-n are pulled from the file at point.
2574 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2575 Suggested by Drew Adams. (Bug#10624)
2576
2577 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2578
2579 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2580 whitespace after "end".
2581 (ruby-do-end-to-brace): Collapse block to one line if it fits
2582 within fill-column.
2583
2584 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2585
2586 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2587 value.
2588 (debug): Don't remove debugger window when debugger is expected
2589 to be back.
2590
2591 2012-09-18 Chong Yidong <cyd@gnu.org>
2592
2593 * custom.el (defface): Doc fix.
2594
2595 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2596
2597 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2598
2599 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2600 to initialize query-on-exit; then test that instead (bug#12288).
2601
2602 2012-09-17 Stefan Merten <smerten@oekonux.de>
2603
2604 * textmodes/rst.el: Add support for `testcover'.
2605 (rst-defcustom-testcover, rst-testcover-add-compose)
2606 (rst-testcover-add-1value): New functions.
2607 (rst-portable-mark-active-p): Replace by `use-region-p'.
2608 (rst-update-section, rst-classify-adornment)
2609 (rst-find-title-line): Mark `1value' forms.
2610 (rst-classify-adornment): Remove superfluous form.
2611 (rst-update-section, rst-get-adornments-around)
2612 (rst-adornment-complete-p, rst-get-next-adornment)
2613 (rst-adjust, rst-promote-region)
2614 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2615 (rst-find-pfx-in-region, rst-section-tree-rec)
2616 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2617 (rst-toc-node, rst-toc, rst-forward-section)
2618 (rst-iterate-leftmost-paragraphs)
2619 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2620 (rst-bullet-list-region)
2621 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2622 (rst-compile-find-conf, rst-compile)
2623 (rst-repeat-last-character): Fix style.
2624
2625 2012-09-17 Chong Yidong <cyd@gnu.org>
2626
2627 * comint.el (comint--complete-file-name-data): Don't add a space
2628 if the status is `sole'; that adds a gratuitous space in the
2629 completion-cycling case (Bug#12092).
2630
2631 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2632
2633 2012-09-17 Richard Stallman <rms@gnu.org>
2634
2635 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2636 only in the mime-shown mode, not in raw mode.
2637 (rmail-mime): Toggle off mime by displaying the message without
2638 mime processing. (Bug#12305)
2639
2640 * mail/rmail.el (rmail-retry-failure):
2641 Turn off mime processing first. (Bug#12037)
2642
2643 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2644
2645 2012-09-17 Chong Yidong <cyd@gnu.org>
2646
2647 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2648 (shell-dynamic-complete-functions): Convert to defcustom.
2649 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2650
2651 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2652 * comint.el (comint-prompt-read-only):
2653 * custom.el (defcustom):
2654 * hi-lock.el (hi-lock-mode):
2655 * ibuffer.el (ibuffer-formats):
2656 * ielm.el (ielm-prompt-read-only):
2657 * novice.el (disable-command):
2658 * saveplace.el (toggle-save-place):
2659 * speedbar.el (speedbar-supported-extension-expressions):
2660 * startup.el (auto-save-list-file-prefix, init-file-user)
2661 (after-init-hook, inhibit-startup-echo-area-message):
2662 * strokes.el (strokes-help):
2663 * time-stamp.el (time-stamp):
2664 * calendar/calendar.el (calendar, diary-file):
2665 * calendar/diary-lib.el (diary-mail-entries, diary)
2666 (diary-list-entries-hook):
2667 * calendar/holidays.el (holidays, calendar-holidays):
2668 * calendar/lunar.el (lunar-phases):
2669 * calendar/solar.el (sunrise-sunset):
2670 * emulation/edt.el (edt-load-keys):
2671 * emulation/viper.el (viper-mode):
2672 * eshell/em-alias.el (eshell-command-aliases-list):
2673 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2674 * international/ogonek.el (ogonek-information):
2675 * net/tramp-cmds.el (tramp-bug):
2676 * net/quickurl.el (quickurl-reread-hook-postfix):
2677 * play/decipher.el (decipher-font-lock-keywords):
2678 * progmodes/cc-styles.el (c-set-style):
2679 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2680 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2681 * progmodes/octave-mod.el (octave-mode):
2682 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2683 * progmodes/verilog-mode.el (verilog-read-defines):
2684 * textmodes/two-column.el (2C-mode): Likewise.
2685
2686 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2687
2688 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2689 that holds many addresses.
2690
2691 2012-09-16 Chong Yidong <cyd@gnu.org>
2692
2693 * align.el (align-areas): Call the indication function with
2694 positions instead of markers for arguments (Bug#12343).
2695
2696 * files.el (parse-colon-path): Use split-string (Bug#12351).
2697
2698 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2699 (display-buffer-function): Mark as obsolete.
2700
2701 * progmodes/compile.el (compilation-parse-errors): Accept list
2702 values similar to font-lock-keywords (Bug#12136).
2703 Suggested by Oleksandr Manzyuk.
2704 (compilation-error-regexp-alist): Doc fix.
2705
2706 2012-09-15 Glenn Morris <rgm@gnu.org>
2707
2708 * version.el (emacs-bzr-version-bzr): New function.
2709 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2710
2711 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2712 checkouts, check the parent dirstate matches the branch.
2713 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2714 empty string.
2715
2716 * version.el (emacs-bzr-version): Doc fix.
2717 (emacs-bzr-version-dirstate): New function.
2718 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2719 is local try and check that it matches the branch. If not, just
2720 use dirstate information. (Bug#12441)
2721
2722 2012-09-14 Juri Linkov <juri@jurta.org>
2723
2724 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2725 (Bug#12399)
2726
2727 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2730
2731 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2732 Remove obsolete byte-compiler hack that tried to silence some warnings.
2733 (edebug-submit-bug-report): Remove.
2734 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2735 Remove aliases, use the un-prefixed name instead.
2736 (edebug-pop-to-buffer): Consider other frames.
2737 (edebug-original-read):: Make it more obvious that it's always defined.
2738 (edebug--make-form-data-entry, edebug--form-data-name)
2739 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2740 single-dashed name, and implement with cl-defstruct.
2741 (edebug-set-form-data-entry): Use the standard accessors.
2742 (edebug-make-top-form-data-entry): Use push.
2743 (edebug-no-match): Drop useless `funcall'.
2744 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2745 to functions.
2746 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2747 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2748 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2749 (easy-menu-define, with-custom-print): Remove redundant specs.
2750 (edebug-outside-overriding-local-map)
2751 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2752 (edebug--display): Bind unread-command-events directly to nil rather
2753 than binding it to unread-command-events and later setting it to nil.
2754 (edebug--display): Kill edebug-eval-buffer here...
2755 (edebug--recursive-edit): ...rather than here.
2756 Bind standard-output and standard-input.
2757 (edebug-eval): Check cl-macroexpand-all is fboundp.
2758 (edebug-temp-display-freq-count): Fix last change.
2759
2760 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2761 * subr.el (noreturn, 1value): Add `debug' spec.
2762 * emacs-lisp/advice.el: Require cl-lib.
2763 (ad-copy-tree): Remove, use copy-tree instead.
2764 (ad-dolist): Remove use dolist or cl-dolist instead.
2765 (ad-do-return): Remove, use cl-return instead.
2766 (defadvice): Add `debug' spec.
2767
2768 2012-09-13 Juri Linkov <juri@jurta.org>
2769
2770 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2771 (Bug#12399)
2772
2773 2012-09-13 Glenn Morris <rgm@gnu.org>
2774
2775 * calc/calc.el (math-compose-expr):
2776 * calc/calc-ext.el (math-compose-expr):
2777 * progmodes/cc-defs.el (cl-macroexpand-all):
2778 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2779 (cl-macroexpand-all): Update declarations.
2780
2781 * vc/vc.el: No need to require ediff.
2782 (ediff-load-version-control): Declare.
2783 (ediff-vc-internal): Fix declaration.
2784 (vc-version-ediff): Require ediff.
2785
2786 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2787
2788 Use a more backwards-compatible timer format (Bug#12430).
2789 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2790 being right after USECS, as that better supports old code that
2791 inadvisedly looked directly at the timer vector.
2792
2793 2012-09-13 Kenichi Handa <handa@gnu.org>
2794
2795 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2796 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2797 `coding-priority' property of these language environment.
2798
2799 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2800
2801 Fix glitches caused by addition of psec to timers (Bug#12430).
2802 * image.el (image-animate-timer):
2803 * time.el (display-time-world-timer):
2804 Use timer--function and timer--args rather than raw access to
2805 timer vector.
2806
2807 2012-09-13 Glenn Morris <rgm@gnu.org>
2808
2809 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2810 If not compiling a file, try using load-file-name.
2811
2812 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2815 Fix last change.
2816 (edebug-update-eval-list): Use `push'.
2817
2818 * emacs-lisp/edebug.el: Use lexical-binding.
2819 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2820 Mark unused args with underscore.
2821 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2822 (edebug-form-data): Use defvar-local.
2823 (edebug-make-before-and-after-form, edebug-make-after-form):
2824 Use backquote.
2825 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2826 Not dynamically scoped any more.
2827 (edebug--enter-trace): Add arguments `function' and `args'.
2828 Rename from edebug-enter-trace.
2829 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2830 (edebug--update-coverage): Add `after-index' and `value' args.
2831 Rename from edebug-update-coverage.
2832 (edebug-slow-after): Call it accordingly.
2833 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2834 edebug-recursive-edit.
2835 (edebug--display): Call it accordingly. Add args `value',
2836 `offset-index', and `arg-mode'. Rename from edebug-display.
2837 (edebug-debugger, edebug): Call it accordingly.
2838 (edebug-eval-display-list): Use dolist.
2839
2840 2012-09-12 Juri Linkov <juri@jurta.org>
2841
2842 * info.el (Info-search): Don't check for isearch-mode and
2843 isearch-regexp before let-binding search-spaces-regexp to
2844 Info-search-whitespace-regexp.
2845 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2846 search-whitespace-regexp if isearch-lax-whitespace or
2847 isearch-regexp-lax-whitespace is non-nil.
2848 (Info-mode): Don't set local variable search-whitespace-regexp.
2849 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2850
2851 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2854 (debugger-env-macro): Remove support for unread-command-char.
2855
2856 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2857 the temporary map re-appearing on emulation-mode-map-alists.
2858
2859 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2860 since 22.1.
2861
2862 * ehelp.el (with-electric-help): Accept functions in
2863 electric-help-form-to-execute.
2864 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2865 And replace unread-command-char -> unread-command-events.
2866
2867 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2868
2869 Sync with Tramp 2.2.6.
2870
2871 * net/tramp.el (tramp-accept-process-output): Don't use
2872 JUST-THIS-ONE in the XEmacs case.
2873
2874 * net/trampver.el: Update release number.
2875
2876 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2877
2878 * emacs-lisp/debug.el (debugger-previous-window-height):
2879 New variable.
2880 (debug): When debugger-jumping-flag is non-nil try to restore
2881 height of debugger window. (Bug#8789)
2882
2883 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2886 overriding-local-map and pre/post-command-hook here.
2887 (edebug-recursive-edit): Do it here instead (bug#12345).
2888 (edebug-outside-unread-command-char): Remove all uses of
2889 unread-command-char.
2890
2891 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2892 inhibit-debugger is bound instead.
2893
2894 2012-09-11 Bastien Guerry <bzg@gnu.org>
2895
2896 * subr.el (set-temporary-overlay-map): Add a docstring.
2897 (Bug#12346)
2898
2899 2012-09-11 Bastien Guerry <bzg@gnu.org>
2900
2901 * minibuffer.el (completion-table-subvert): Fix docstring.
2902 (Bug#12347)
2903
2904 2012-09-11 Bastien Guerry <bzg@gnu.org>
2905
2906 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2907
2908 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2909
2910 * progmodes/sql.el: Version 3.1
2911 (sql-db2-escape-newlines): New variable.
2912 (sql-escape-newlines-filter): Use it.
2913
2914 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2915
2916 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2917
2918 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2919
2920 * vc/diff-mode.el (diff-mode-menu):
2921 Bind diff-remove-trailing-whitespace.
2922
2923 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2926 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2927 (emacs-lisp-byte-code-mode): New functions.
2928 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2929 (eval-defun-2): Remove bogus interactive spec.
2930 (lisp-indent-line): Remove redundant whole-exp code, now done in
2931 indent-according-to-mode.
2932 (save-match-data): Remove redundant indent data.
2933
2934 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2935 Use `declare'.
2936
2937 2012-09-09 Juri Linkov <juri@jurta.org>
2938
2939 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2940 (replace-lax-whitespace, query-replace-regexp)
2941 (query-replace-regexp-eval, replace-regexp): Doc fix.
2942 (perform-replace, replace-highlight): Let-bind
2943 isearch-lax-whitespace to replace-lax-whitespace and
2944 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2945
2946 * isearch.el (isearch-query-replace): Let-bind
2947 replace-lax-whitespace to isearch-lax-whitespace and
2948 replace-regexp-lax-whitespace to
2949 isearch-regexp-lax-whitespace. (Bug#10885)
2950
2951 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2954
2955 2012-09-09 Alan Mackenzie <acm@muc.de>
2956
2957 * progmodes/cc-engine.el (c-state-cache-init):
2958 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2959 (c-record-parse-state-state):
2960 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2961
2962 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2963
2964 * register.el (register-separator): Rename from
2965 separator-register. All uses changed. Doc fix.
2966 (register): Fix version.
2967
2968 2012-09-09 Chong Yidong <cyd@gnu.org>
2969
2970 * replace.el (query-replace-map): Bind four new symbols for
2971 requesting window scrolling.
2972
2973 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2974 query-replace-map (Bug#8948).
2975
2976 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2977
2978 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2979 since they are now in query-replace-map.
2980
2981 * window.el (scroll-other-window-down): Make the arg optional.
2982
2983 2012-09-09 Chong Yidong <cyd@gnu.org>
2984
2985 * files.el (hack-local-variables-confirm): Use quit-window to kill
2986 the *Local Variables* buffer.
2987
2988 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2991 not just expect to be at its beginning. Adjust callees.
2992 Succeed when do-end block has no space before the pipe character.
2993 (ruby-brace-to-do-end): When the original block is one-liner,
2994 convert to multiline. Reindent the result.
2995
2996 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2997
2998 * register.el (register): New group.
2999 (separator-register): New user option.
3000 (increment-register): Route it to `append-to-register', if
3001 register contains text. Implication is that `C-x r +' can now be
3002 used for appending to a text register (bug#12217).
3003 (append-to-register, prepend-to-register): Add separator based on
3004 `separator-register'.
3005
3006 2012-09-08 Alan Mackenzie <acm@muc.de>
3007
3008 AWK Mode: make auto-newline work when there's "==" in the pattern.
3009 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3010 correctly.
3011 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3012 Test more rigorously for "=" token.
3013
3014 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3017 Only fail when reached LIMIT.
3018
3019 2012-09-08 Chong Yidong <cyd@gnu.org>
3020
3021 * dired.el (dired-mode-map): Don't bind M-=.
3022
3023 * dired-aux.el (dired-diff): Use backup file as default.
3024
3025 2012-09-08 Drew Adams <drew.adams@oracle.com>
3026
3027 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3028
3029 2012-09-08 Chong Yidong <cyd@gnu.org>
3030
3031 * subr.el (syntax-after, syntax-class): Doc fix.
3032
3033 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3034
3035 * window.el (display-buffer-in-previous-window): New buffer
3036 display action function.
3037
3038 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3039 (debugger-previous-window): New variable.
3040 (debug): Rewrite using display-buffer-in-previous-window,
3041 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3042
3043 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3046
3047 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3048
3049 * progmodes/python.el (python-shell-send-string):
3050 When default-directory is remote, create temp file on remote
3051 filesystem.
3052 (python-shell-send-file): When file is remote, pass local view of
3053 file paths to remote Python interpreter. (Bug#12340)
3054
3055 2012-09-07 Chong Yidong <cyd@gnu.org>
3056
3057 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3058
3059 * files.el (after-find-file): Don't fail on a read-only buffer if
3060 require-final-newline is `visit' or `visit-save' (Bug#11156).
3061
3062 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3063
3064 * userlock.el (ask-user-about-supersession-threat):
3065 Use read-char-choice (Bug#12093).
3066
3067 2012-09-07 Chong Yidong <cyd@gnu.org>
3068
3069 * subr.el (buffer-narrowed-p): New function.
3070
3071 * ses.el (ses-widen):
3072 * simple.el (count-words--buffer-message):
3073 * net/browse-url.el (browse-url-of-buffer): Use it.
3074
3075 * simple.el (count-words-region): Don't signal an error if there
3076 is a non-nil prefix arg and the mark is not set.
3077
3078 * help.el (describe-key-briefly): Allow the message to be seen
3079 when invoked from the minibuffer (Bug#7014).
3080
3081 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3082
3083 * progmodes/ruby-mode.el (ruby-end-of-defun)
3084 (ruby-beginning-of-defun): Simplify, allow indentation before
3085 block beginning and end keywords.
3086 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3087 (ruby-end-of-defun): Expect that the point is at the beginning of
3088 the defun.
3089
3090 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3093 (bug#12367).
3094 (cl--make-usage-args): Strip _ from argument names.
3095
3096 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3097
3098 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3099 obsolete alias speedbar-key-map.
3100 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3101 (vhdl-index-menu-init): Don't use obsolete variable
3102 font-lock-maximum-size.
3103
3104 2012-09-06 Chong Yidong <cyd@gnu.org>
3105
3106 * frame.el (window-system-version): Mark as obsolete.
3107
3108 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3109 of obsolete variable speedbar-key-map.
3110
3111 2012-09-06 Juri Linkov <juri@jurta.org>
3112
3113 * replace.el (replace-lax-whitespace): New defcustom.
3114 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3115 (replace-string, replace-regexp): Mention it in docstrings.
3116 (perform-replace, replace-highlight): Let-bind
3117 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3118 to the values of replace-lax-whitespace and regexp-flag.
3119 Don't let-bind search-whitespace-regexp. (Bug#10885)
3120
3121 * isearch.el (isearch-query-replace): Let-bind
3122 replace-lax-whitespace instead of let-binding
3123 replace-search-function and replace-re-search-function.
3124 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3125 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3126 (isearch-toggle-symbol): Set isearch-regexp to nil
3127 in isearch-word mode (like in isearch-toggle-word).
3128
3129 2012-09-06 Juri Linkov <juri@jurta.org>
3130
3131 * replace.el (replace-search-function)
3132 (replace-re-search-function): Set default values to nil.
3133 (perform-replace): Let-bind isearch-related variables based on
3134 replace-related values, call `isearch-search-fun' and let-bind
3135 the result to `search-function'. Remove code that sets
3136 `search-function' and `search-string' separately for
3137 `delimited-flag'.
3138 (replace-highlight): Add new argument `delimited-flag' and
3139 rename other arguments to the names used in `perform-replace'.
3140 Let-bind `isearch-word' to the argument `delimited-flag'.
3141 (Bug#10885, bug#10887)
3142
3143 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3144
3145 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3146 ruby-beginning-of-indent, simplify, allow all keywords to have
3147 indentation before them.
3148 (ruby-beginning-of-indent): Adjust for above. Search until the
3149 found point is not inside a string or comment.
3150 (ruby-font-lock-keywords): Allow symbols to start with "@"
3151 character, give them higher priority than variables.
3152 (ruby-syntax-propertize-function)
3153 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3154 matchers. Expression expansions are not comments when inside a
3155 string, and there comment syntax status is irrelevant.
3156 (ruby-match-expression-expansion): New function. Check that
3157 expression expansion is inside a string, and it's not escaped.
3158 (ruby-font-lock-keywords): Use it.
3159
3160 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3161
3162 * help.el (temp-buffer-max-height): New default value.
3163 (temp-buffer-resize-frames): New option.
3164 (resize-temp-buffer-window): Optionally resize frame.
3165
3166 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3167 (fit-frame-to-buffer): New function.
3168
3169 2012-09-05 Glenn Morris <rgm@gnu.org>
3170
3171 * emulation/cua-rect.el (cua--init-rectangles):
3172 * textmodes/picture.el (picture-mode-map):
3173 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3174 like forward-char and backward-char. (Bug#12317)
3175
3176 2012-09-05 Leo Liu <sdl.web@gmail.com>
3177
3178 * progmodes/flymake.el (flymake-warning-re): New variable.
3179 (flymake-parse-line): Use it.
3180
3181 2012-09-05 Glenn Morris <rgm@gnu.org>
3182
3183 * calendar/holidays.el (holiday-christian-holidays):
3184 Rename an entry. (Bug#12289)
3185
3186 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3189 (bug#12222).
3190
3191 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * loadup.el: Load macroexp. Remove hack.
3194 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3195 (macroexp--expand-all): Use it to get better warnings.
3196 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3197 (internal-macroexpand-for-load): New functions.
3198 (macroexp--pending-eager-loads): New var.
3199 (emacs-startup-hook): New hack to replace one in loadup.el.
3200 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3201 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3202 (cl-psetf): Simplify.
3203 (cl-defstruct): Add indent rule.
3204
3205 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3206
3207 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3208 over `user-mail-address' for the SMTP MAIL FROM envelope.
3209 (smtpmail-via-smtp): Ditto.
3210
3211 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3212
3213 * progmodes/ruby-mode.el: Clean up keybindings.
3214 (ruby-mode-map): Don't bind ruby-electric-brace,
3215 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3216 backward-kill-word, reindent-then-newline-and-indent.
3217 (ruby-mark-defun): Remove.
3218 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3219 (ruby-mode): Set local beginning-of-defun-function and
3220 end-of-defun-function values.
3221
3222 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3223
3224 * window.el (temp-buffer-window-setup-hook)
3225 (temp-buffer-window-show-hook): New hooks.
3226 (temp-buffer-window-setup, temp-buffer-window-show)
3227 (with-temp-buffer-window): New functions.
3228 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3229 (special-display-popup-frame): Make sure the window used shows BUFFER.
3230
3231 * help.el (temp-buffer-resize-mode): Fix doc-string.
3232 (resize-temp-buffer-window): New optional argument WINDOW.
3233
3234 * files.el (recover-file, save-buffers-kill-emacs):
3235 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3236
3237 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3238
3239 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3240 remote definition of `default-directory', ensure we can connect.
3241
3242 2012-09-02 Juri Linkov <juri@jurta.org>
3243
3244 Toggle whitespace matching mode with M-s SPC.
3245 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3246
3247 * isearch.el (search-whitespace-regexp): Doc fix.
3248 Remove cons cell customization.
3249 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3250 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3251 New variables.
3252 (isearch-forward, isearch-forward-regexp): Doc fix.
3253 (isearch-toggle-lax-whitespace): New command.
3254 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3255 (re-search-forward-lax-whitespace)
3256 (re-search-backward-lax-whitespace): New functions.
3257 (isearch-whitespace-regexp): Remove function.
3258 (isearch-query-replace): Let-bind replace-search-function and
3259 replace-re-search-function.
3260 (isearch-occur): Let-bind search-spaces-regexp according to the
3261 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3262 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3263 condition for C-q SPC.
3264 (isearch-search-fun-default): Use new functions mentioned above.
3265 (isearch-search-forward, isearch-search-backward): Remove functions.
3266 (isearch-search): Don't let-bind search-spaces-regexp.
3267 (isearch-lazy-highlight-space-regexp): Remove variable.
3268 (isearch-lazy-highlight-lax-whitespace)
3269 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3270 (isearch-lazy-highlight-new-loop): Use them.
3271 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3272
3273 2012-09-02 Chong Yidong <cyd@gnu.org>
3274
3275 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3276
3277 2012-09-02 Glenn Morris <rgm@gnu.org>
3278
3279 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3280
3281 2012-09-01 Glenn Morris <rgm@gnu.org>
3282
3283 * term.el: Tidy up menu definitions.
3284 (term-mode-map): Use easymenu for In/Out, Complete menus.
3285 (term-pager-break-map): Initialize in the defvar.
3286 (term-terminal-menu, term-signals-menu): Define with easymenu.
3287 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3288 (term-pager-menu): New, extracted from term-process-pager.
3289 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3290 (term-update-mode-line): Propertize line/char and page items.
3291 (term-process-pager): Move keymap initialization elsewhere.
3292
3293 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3294
3295 * window.el (switch-to-prev-buffer): Handle additional values of
3296 BURY-OR-KILL argument. Don't switch in minibuffer window.
3297 (switch-to-next-buffer): Don't switch in minibuffer window.
3298 (quit-restore-window): New function based on quit-window.
3299 Handle additional values of former KILL argument.
3300 (quit-window): Call quit-restore-window with appropriate
3301 interpretation of KILL argument.
3302 (display-buffer-below-selected): New buffer display action
3303 function.
3304
3305 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * minibuffer.el (completion-at-point-functions): Complete docstring
3308 (bug#12254).
3309
3310 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3311
3312 Better seed support for (random).
3313 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3314 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3315 * play/mpuz.el, play/tetris.el, play/zone.el:
3316 * calc/calc-comb.el (math-init-random-base):
3317 * play/blackbox.el (bb-init-board):
3318 * play/life.el (life):
3319 * server.el (server-use-tcp):
3320 * type-break.el (type-break):
3321 Remove unnecessary call to (random t).
3322 * net/sasl.el (sasl-unique-id-function):
3323 Change (random t) to (random), now that the latter is more random.
3324 * play/life.el (life-initialized): Remove no-longer-needed var.
3325
3326 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3327
3328 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3329 Consider frame's buffer predicate when choosing the buffer.
3330 (Bug#12081)
3331
3332 2012-08-30 Richard Stallman <rms@gnu.org>
3333
3334 * simple.el (special-mode-map): Delete binding for `z'.
3335
3336 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3337
3338 * progmodes/compile.el (compilation-always-kill): Doc fix.
3339
3340 2012-08-30 Chong Yidong <cyd@gnu.org>
3341
3342 * window.el (display-buffer-reuse-frames): Make the obsolescence
3343 message more informative.
3344
3345 2012-08-30 Glenn Morris <rgm@gnu.org>
3346
3347 * paren.el (show-paren-delay):
3348 Add a :set function. Doc fix. (Bug#12297)
3349
3350 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3351
3352 * progmodes/compile.el (compilation-always-kill): New var.
3353 (compilation-start): Use it.
3354
3355 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3358 * files.el (read-only-mode): Move to simple.el.
3359
3360 * files.el (read-only-mode): New minor mode.
3361 (toggle-read-only): Use it and mark obsolete.
3362 (find-file--read-only):
3363 * vc/vc.el (vc-next-action, vc-checkout):
3364 * vc/vc-cvs.el (vc-cvs-checkout):
3365 * obsolete/vc-mcvs.el (vc-mcvs-update):
3366 * ffap.el (ffap--toggle-read-only): Update callers.
3367
3368 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3369
3370 * eshell/esh-ext.el (eshell-external-command): Do not examine
3371 remote shell scripts.
3372 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3373
3374 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3375 "/usr/local/sbin".
3376
3377 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3378
3379 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3380
3381 2012-08-28 Leo Liu <sdl.web@gmail.com>
3382
3383 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3384 completion-at-point. (Bug#12220)
3385
3386 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3387
3388 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3389
3390 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3393 be buffer-local; add delete-trailing-whitespace (bug#12259).
3394
3395 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3396
3397 * progmodes/hideif.el (hif-compress-define-list):
3398 Fix typo. (Bug#11951)
3399
3400 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3401
3402 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3403 buffer local setting.
3404
3405 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3406 rcirc-encode-coding-system.
3407
3408 2012-08-28 Leo Liu <sdl.web@gmail.com>
3409
3410 * net/rcirc.el (rcirc-split-message): New function.
3411 (rcirc-send-message): Use it. (Bug#12051)
3412
3413 2012-08-28 Juri Linkov <juri@jurta.org>
3414
3415 * info.el (Info-fontify-node): Hide empty lines at the end of
3416 the node. (Bug#12272)
3417
3418 2012-08-27 Drew Adams <drew.adams@oracle.com>
3419
3420 * dired.el (dired-pop-to-buffer): Make window start at beginning
3421 of buffer (Bug#12281).
3422
3423 2012-08-26 Chong Yidong <cyd@gnu.org>
3424
3425 * window.el (special-display-regexps, special-display-frame-alist)
3426 (special-display-buffer-names, special-display-function)
3427 (display-buffer-reuse-frames): Mark as obsolete.
3428
3429 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3430
3431 * help.el (help-print-return-message): Don't treat
3432 display-buffer-reuse-frames specially.
3433
3434 2012-08-26 Chong Yidong <cyd@gnu.org>
3435
3436 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3437 New variable, replacing gdb-frame-parameters.
3438 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3439 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3440 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3441 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3442 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3443 the functions directly with gdb-display-buffer-other-frame-action.
3444 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3445 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3446 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3447 (gdb-display-registers-buffer): Define directly.
3448 (def-gdb-display-buffer): Macro deleted.
3449 (gdb-display-buffer): Remove second and third args, callers don't
3450 use them. Defer to the default display-buffer behavior, apart
3451 from making windows dedicated.
3452 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3453
3454 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3455
3456 * window.el (display-buffer-pop-up-frame): Handle a
3457 pop-up-frame-parameters alist entry.
3458 (display-buffer): Document it.
3459
3460 2012-08-26 Chong Yidong <cyd@gnu.org>
3461
3462 * isearch.el (search-whitespace-regexp): Make string and nil
3463 values apply to both ordinary and regexp search. Allow a cons
3464 cell value to distinguish between the two.
3465 (isearch-whitespace-regexp, isearch-search-forward)
3466 (isearch-search-backward): New functions.
3467 (isearch-occur, isearch-search-fun-default, isearch-search)
3468 (isearch-lazy-highlight-new-loop): Use them.
3469 (isearch-forward, isearch-forward-regexp): Doc fix.
3470
3471 2012-08-26 Chong Yidong <cyd@gnu.org>
3472
3473 * faces.el (help-argument-name): Always inherit from italic
3474 (Bug#12213).
3475
3476 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3477
3478 * window.el (window--even-window-heights): Even heights when
3479 WINDOW and the selected window form a vertical combination.
3480 (display-buffer-use-some-window): Provide that window used gets
3481 sized back by quit-window. (Bug#11880) and (Bug#12091)
3482
3483 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3484
3485 Fix file time stamp problem with bzr and CVS (Bug#12001).
3486 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3487 in the file's time stamp, since the version control system loses
3488 that information.
3489
3490 2012-08-22 Juri Linkov <juri@jurta.org>
3491
3492 * info.el (Info-fontify-node): Hide the suffix of the
3493 Info file name in the header line. (Bug#12187)
3494
3495 2012-08-22 Glenn Morris <rgm@gnu.org>
3496
3497 * calendar/cal-tex.el (cal-tex-weekly-common):
3498 Restore leading blank page.
3499
3500 2012-08-22 Le Wang <l26wang@gmail.com>
3501
3502 * misc.el (forward-to-word, backward-to-word): Activate or extend
3503 the region under `shift-select-mode'. (Bug#12231)
3504
3505 2012-08-22 Bastien Guerry <bzg@gnu.org>
3506
3507 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3508 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3509 gives details on why the space is never needed.
3510
3511 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3512
3513 * window.el (walk-window-tree, window-with-parameter):
3514 New optional argument MINIBUF to control whether these functions
3515 should run on the minibuffer window.
3516 (window-at-side-list): Don't operate on minibuffer window.
3517 (window-in-direction): Simplify and rewrite doc-string.
3518 (window--size-ignore): Rename to window--size-ignore-p.
3519 Update callers.
3520 (display-buffer-in-atom-window, window--major-non-side-window)
3521 (window--major-side-window, display-buffer-in-major-side-window)
3522 (delete-side-window, display-buffer-in-side-window):
3523 New functions.
3524 (window--side-check, window-deletable-p, delete-window)
3525 (delete-other-windows, split-window): Handle side windows and
3526 atomic windows appropriately.
3527 (window--display-buffer): Call display-buffer-record-window also
3528 when the window buffer did not change.
3529
3530 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3531
3532 * help-fns.el (help-fns--key-bindings):
3533 Abbreviate non-symbol remap targets. (Bug#12174)
3534
3535 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3536
3537 * dired.el (dired-mark-remembered): Don't clobber point.
3538 (Bug#11795)
3539
3540 2012-08-22 Glenn Morris <rgm@gnu.org>
3541
3542 * progmodes/bug-reference.el (bug-reference): New custom group.
3543 (bug-reference-bug-regexp): Make it a defcustom.
3544
3545 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3546
3547 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3548 (js-paren-indent-offset, js-square-indent-offset)
3549 (js-curly-indent-offset): Add :safe (Bug#12257).
3550
3551 2012-08-22 Edward O'Connor <hober0@gmail.com>
3552
3553 * json.el (json-key-format): Add error properties.
3554 (json-encode-key): New function.
3555 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3556 Use json-encode-key.
3557
3558 2012-08-22 Glenn Morris <rgm@gnu.org>
3559
3560 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3561 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3562 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3563 Update for above change.
3564
3565 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3566
3567 * cus-face.el (custom-face-attributes): Fix customize type for the
3568 :underline attribute. (Bug#11805)
3569
3570 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3571
3572 * window.el (window-point-1, set-window-point-1): Remove.
3573 (window-in-direction, record-window-buffer)
3574 (set-window-buffer-start-and-point, split-window-below)
3575 (window--state-get-1, display-buffer-record-window):
3576 Replace calls to window-point-1 and set-window-point-1 by calls to
3577 window-point and set-window-point respectively.
3578
3579 2012-08-21 Glenn Morris <rgm@gnu.org>
3580
3581 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3582 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3583 Use it.
3584
3585 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3586 (cal-tex-shortday): New function.
3587 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3588 (cal-tex-cursor-filofax-daily): Use the above.
3589
3590 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3591 New functions.
3592 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3593 (cal-tex-cursor-filofax-week): Use them.
3594
3595 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3596 New constants.
3597 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3598 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3599
3600 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3601 (cal-tex-end-document): Don't rely on buffer name.
3602
3603 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3604 Use cal-tex-vspace.
3605 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3606 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3607 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3608 Use cal-tex-arg.
3609
3610 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3611 (cal-tex-cursor-week, cal-tex-cursor-week2)
3612 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3613 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3614 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3615 (cal-tex-insert-preamble, cal-tex-b-document)
3616 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3617 Improve cal-tex-cmd usage.
3618
3619 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3620 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3621 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3622 (cal-tex-weekly-paper): New function.
3623 (cal-tex-cursor-week, cal-tex-cursor-week2)
3624 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3625 (cal-tex-cursor-day): Use it.
3626
3627 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3628 (cal-tex-cursor-filofax-week): Remove leading blank page.
3629
3630 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3631 Add autoload cookie. For now at least, don't use color, since
3632 no other cal-tex function does.
3633
3634 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3635 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3636 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3637
3638 2012-08-21 Juri Linkov <juri@jurta.org>
3639
3640 * info.el (Info-file-attributes): New variable.
3641 (info-insert-file-contents): Add file attributes to
3642 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3643 `Info-toc-nodes' when previous modtime of the Info file is less
3644 than new modtime.
3645 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3646 of info.el. (Bug#12230)
3647
3648 2012-08-20 Glenn Morris <rgm@gnu.org>
3649
3650 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3651 * calendar/holidays.el (calendar-holiday-list):
3652 Report errors with display-warning rather than beep'n'sleep.
3653
3654 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/tramp.el (tramp-accept-process-output): Accept only output
3657 from PROC. Otherwise, process filters and sentinels might be
3658 confused. (Bug#12145)
3659
3660 2012-08-20 Chong Yidong <cyd@gnu.org>
3661
3662 * descr-text.el (describe-text-properties-1): Use overlays-in to
3663 report on empty overlays (Bug#3322).
3664
3665 2012-08-20 Glenn Morris <rgm@gnu.org>
3666
3667 * mail/rmailout.el (rmail-output-read-file-name):
3668 Trap and report errors in rmail-output-file-alist elements.
3669
3670 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3671 since most non-font-lock faces are not also variables).
3672
3673 2012-08-20 Edward Reingold <reingold@iit.edu>
3674
3675 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3676 New function. (Bug12160)
3677
3678 2012-08-19 Glenn Morris <rgm@gnu.org>
3679
3680 * mail/rmailout.el (rmail-output-read-file-name):
3681 Fix previous change (when the alist is nil or does not match).
3682
3683 2012-08-19 Chong Yidong <cyd@gnu.org>
3684
3685 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3686 (Bug#12228).
3687
3688 2012-08-18 Chong Yidong <cyd@gnu.org>
3689
3690 * simple.el (yank-handled-properties): New defcustom.
3691 (yank-excluded-properties): Add font-lock-face and category.
3692 (yank): Doc fix.
3693
3694 * subr.el (remove-yank-excluded-properties):
3695 Obey yank-handled-properties. The special handling of font-lock-face
3696 and category is now done this way, instead of being hard-coded.
3697 (insert-for-yank-1): Remove font-lock-face handling.
3698 (yank-handle-font-lock-face-property)
3699 (yank-handle-category-property): New function.
3700
3701 2012-08-17 Glenn Morris <rgm@gnu.org>
3702
3703 * mail/rmailout.el (rmail-output-read-file-name):
3704 Check rmail-output-file-alist against the full message body
3705 in the correct rmail buffer. (Bug#12214)
3706
3707 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3708
3709 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3710 Eliminate superfluous prompt. (Bug#12203)
3711
3712 2012-08-17 Chong Yidong <cyd@gnu.org>
3713
3714 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3715 font spec, set the font directly (Bug#3228).
3716
3717 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3718
3719 * window.el (delete-window): Fix last fix.
3720
3721 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3722
3723 * window.el (window-valid-p): Move to window.c.
3724 (window-child, window-child-count, window-last-child)
3725 (window-normalize-window, window-combined-p)
3726 (window-combinations, window-atom-root, window-min-size)
3727 (window-sizable, window-sizable-p, window-size-fixed-p)
3728 (window-min-delta, window-max-delta, window--resizable)
3729 (window--resizable-p, window-resizable, window-total-size)
3730 (window-full-height-p, window-full-width-p, window-body-size)
3731 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3732 (minimize-window, window-deletable-p, delete-window)
3733 (delete-other-windows, set-window-buffer-start-and-point)
3734 (next-buffer, previous-buffer, split-window, balance-windows-2)
3735 (set-window-text-height, window-buffer-height)
3736 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3737 (truncated-partial-width-window-p): Minor code adjustments.
3738 In doc-strings state whether the argument window has to denote a
3739 live, valid or any window.
3740
3741 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3742
3743 * progmodes/subword.el (subword-forward-function)
3744 (subword-backward-function, subword-forward-regexp)
3745 (subword-backward-regexp): New variables.
3746 (subword-forward, subword-forward-internal, subword-backward-internal):
3747 Use new variables, eg so that different "word" definitions
3748 can be easily used. (Bug#11411)
3749
3750 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3753 for composite selectors.
3754 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3755 operation just because we can't find a previous revision.
3756
3757 2012-08-15 Chong Yidong <cyd@gnu.org>
3758
3759 * frame.el (set-frame-font): Accept font objects.
3760
3761 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3764
3765 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3766
3767 * man.el (Man-overstrike-face, Man-underline-face)
3768 (Man-reverse-face): Remove variables.
3769 (Man-overstrike, Man-underline, Man-reverse): New faces.
3770 (Man-fontify-manpage): Use them instead of the variables.
3771 (Man-cleanup-manpage): Comment change.
3772 (Man-ansi-color-map): New variable.
3773 (Man-fontify-manpage): Use it.
3774 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3775
3776 Implement ANSI SGR parameters 22-27 (bug#12146).
3777 * ansi-color.el (ansi-colors): Doc fix.
3778 (ansi-color-context, ansi-color-context-region): Doc fix.
3779 (ansi-color--find-face): New function.
3780 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3781 Rename the local variable `face' to `codes' since it is now a list of
3782 ansi codes. Doc fix.
3783 (ansi-color-get-face): Remove.
3784 (ansi-color-parse-sequence): New function, derived from
3785 ansi-color-get-face.
3786 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3787 codes 22-27.
3788
3789 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * subr.el (read-passwd): Allow use from a minibuffer.
3792
3793 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3794
3795 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3796 inside comments and strings as identifiers.
3797
3798 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3799 expression to evaluate. This allows to evaluate expressions with
3800 embedded whitespace.
3801 (gud-tooltip-tips): Add a blank before the newline in the
3802 message-box text, for the benefit of message-box emulation on
3803 MS-Windows.
3804
3805 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3806 messages from GDB, pop them up in a tooltip to give feedback to
3807 user.
3808 (gdb-tooltip-print-1): Quote the expression to evaluate.
3809 This allows to evaluate expressions with embedded whitespace.
3810 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3811 if the TTY name is nil or empty (which happens when communicating
3812 with the inferior via pipes, e.g. on MS-Windows).
3813 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3814 don't send that to the GUD buffer.
3815
3816 2012-08-14 Glenn Morris <rgm@gnu.org>
3817
3818 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3819 Optimize away setq-default with no args, as for setq. (Bug#12195)
3820
3821 2012-08-14 Chong Yidong <cyd@gnu.org>
3822
3823 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3824
3825 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3826 (Bug#12085).
3827
3828 2012-08-14 Glenn Morris <rgm@gnu.org>
3829
3830 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3831
3832 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3835 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3836 Use cached shell name.
3837
3838 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3839
3840 * progmodes/python.el (python-shell-send-string):
3841 (python-shell-send-setup-code): Do not use `format' with `message'.
3842
3843 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3844
3845 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3846 (ruby-percent-literal-beg-re): New constant.
3847 (ruby-syntax-general-delimiters-goto-beg): Rename to
3848 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3849 (ruby-syntax-propertize-general-delimiters): Rename to
3850 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3851 popular term. Adjust comments everywhere.
3852 (ruby-syntax-propertize-percent-literal): Only propertize when not
3853 inside a simple string or comment. When the literal is unclosed,
3854 leave the text after it unpropertized.
3855 (ruby-syntax-methods-before-regexp): New constant.
3856 (ruby-syntax-propertize-function): Use it to recognize regexps.
3857 Don't look at the text after regexp, just use the whitelist.
3858
3859 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3860
3861 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3862 non-nil always load the compiled file if it exists. (Bug#12197)
3863
3864 2012-08-14 Chong Yidong <cyd@gnu.org>
3865
3866 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3867 (hi-lock-set-pattern): When deciding whether to use font lock or
3868 overlays, look at font-lock-mode instead of font-lock-fontified
3869 (Bug#12168).
3870 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3871 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3872
3873 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3874
3875 * subr.el (internal--after-with-selected-window): Fix typo
3876 (Bug#12193).
3877
3878 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3879
3880 Use `completion-table-dynamic' for completion functions.
3881 * progmodes/python.el
3882 (python-shell-completion--do-completion-at-point)
3883 (python-shell-completion--get-completions):
3884 Remove functions.
3885 (python-shell-completion-complete-at-point): New function.
3886 (python-completion-complete-at-point): Use it.
3887
3888 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3889
3890 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3891 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3892
3893 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * subr.el (function-get): Refine `autoload' arg so it can also
3896 autoload functions for gv.el (bug#12191).
3897 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3898 autoloads macros.
3899
3900 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3901 Prefer pcase-let over destructuring-bind.
3902 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3903 Also, remove whitespace as we go, rather than after accumulating the
3904 various places.
3905
3906 * subr.el (internal--before-with-selected-window)
3907 (internal--after-with-selected-window): Fix typo seleted->selected.
3908 (with-selected-window): Adjust callers.
3909 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3910
3911 2012-08-13 Bastien Guerry <bzg@gnu.org>
3912
3913 * window.el (special-display-popup-frame): Minor docstring
3914 enhancement. (Bug#12172)
3915
3916 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3917
3918 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3919 type 1-6.
3920 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3921 extended headers.
3922
3923 * files.el (hack-local-variables-filter): Remove useless eval.
3924
3925 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3926
3927 * subr.el (with-selected-window): Fix last change.
3928
3929 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * subr.el (internal--before-with-seleted-window)
3932 (internal--after-with-seleted-window): New functions.
3933 (with-selected-window): Use them, to replace dependency on
3934 tty-top-frame.
3935
3936 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3937
3938 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3939 binding for `newline'.
3940 (ruby-move-to-block): When moving backward, stop at block opening,
3941 not indentation.
3942 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3943 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3944 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3945 `ruby-toggle-block'.
3946
3947 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * ibuffer.el (ibuffer-do-toggle-read-only):
3950 * dired.el (dired-toggle-read-only):
3951 * buff-menu.el (Buffer-menu-toggle-read-only):
3952 * bindings.el (mode-line-toggle-read-only):
3953 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3954
3955 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3956
3957 * descr-text.el (describe-char): Put the overlays over the
3958 "displayed as" character.
3959
3960 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3961
3962 * calc/calc-units.el (math-default-units-table): Give an
3963 initial value.
3964 (math-put-default-units): Add options to put composite units and
3965 unit systems in the default units table.
3966 (calc-convert-units): Send composite units to
3967 `math-put-default-units' when appropriate.
3968
3969 2012-08-11 Glenn Morris <rgm@gnu.org>
3970
3971 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3972
3973 * tutorial.el (help-with-tutorial):
3974 * emacs-lisp/copyright.el (copyright-update-directory):
3975 * emacs-lisp/autoload.el (autoload-find-generated-file)
3976 (autoload-find-file): Disable local eval: (for insurance).
3977
3978 * files.el (hack-local-variables-filter): If an eval: form is not
3979 known to be safe, and enable-local-variables is :safe, then ignore
3980 the form totally, as is done for non-eval forms. (Bug#12155)
3981 This is CVE-2012-3479.
3982
3983 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3986 (rx-form): Simplify.
3987
3988 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3989
3990 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3991 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3992 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3993 (ruby-syntax-propertize-function): Adjust for changes in
3994 `ruby-syntax-propertize-heredoc'.
3995
3996 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3997
3998 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3999 binding (use `M-;' instead).
4000 (ruby-singleton-class-p): New function.
4001 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4002
4003 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4006
4007 2012-08-10 Chong Yidong <cyd@gnu.org>
4008
4009 * progmodes/python.el (python-shell-get-process-name): Don't mess
4010 with same-window-buffer-names.
4011
4012 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4013 (eshell-remove-from-window-buffer-names): Make obsolete.
4014 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4015 (eshell): Just use pop-to-buffer-same-window instead.
4016
4017 2012-08-10 Chong Yidong <cyd@gnu.org>
4018
4019 * bindings.el: Bind M-= back to count-words-region.
4020
4021 * simple.el (count-words-region): Accept a prefix arg for acting
4022 on the entire buffer.
4023 (count-words--buffer-message): New helper function.
4024
4025 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4028 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4029 (event-start, event-end): Use posn-at-point to return a more
4030 informative posn.
4031 (posnp): New function.
4032 * mouse.el (popup-menu-normalize-position): Use it.
4033
4034 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4035
4036 * mouse.el (popup-menu-normalize-position): New function.
4037 (popup-menu): Use `popup-menu-normalize-position' to normalize
4038 the form for POSITION argument.
4039
4040 * term/x-win.el (x-menu-bar-open):
4041 Use the value returend from (posn-at-point) as position
4042 passed to `popup-menu'.
4043
4044 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4045
4046 * calc/calccomp.el (math-compose-expr): Add extra argument
4047 indicating that parentheses should be put around products in
4048 denominators. Give multiplication precedence over division during
4049 composition.
4050
4051 2012-08-09 Chong Yidong <cyd@gnu.org>
4052
4053 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4054 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4055 (Man-untabify-command, manual-program): Convert to defcustom
4056 (Bug#10429).
4057
4058 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4059
4060 * descr-text.el (describe-char): Don't insert extra newlines
4061 (Bug#10127).
4062
4063 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4064 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4065
4066 * align.el (align-region): Delete temporary markers (Bug#10047).
4067 Plus some code cleanups.
4068
4069 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4070
4071 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4072 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4073 (python-shell-internal-last-output): Use make-local-variable
4074 instead of make-variable-buffer-local.
4075
4076 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4077
4078 * progmodes/python.el: Enhancements to forward-sexp.
4079 (python-nav-forward-sexp): Rename from
4080 python-nav-forward-sexp-function.
4081 (python-nav--forward-sexp, python-nav--backward-sexp):
4082 New functions.
4083
4084 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4085
4086 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4087 modes and simplification modes.
4088
4089 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * delsel.el (delete-selection-pre-hook): Don't propagate the
4092 file-supersession signals (bug#12161).
4093
4094 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4097 (cl-map-extents): Add compatibility aliases (bug#12135).
4098
4099 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4100
4101 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4102 tests by `ignore-error'.
4103 (tramp-find-shell): Open also a new shell, when cache is already
4104 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4105
4106 2012-08-08 Juri Linkov <juri@jurta.org>
4107
4108 * bookmark.el: Add `defaults' property to the bookmark record.
4109 (bookmark-current-buffer): Doc fix.
4110 (bookmark-make-record): Add `defaults' property with default values
4111 to the bookmark record.
4112 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4113 with `bookmark-insert-current-bookmark'.
4114 (bookmark-set): Get `defaults' property from the bookmark record
4115 and use it in `read-from-minibuffer'.
4116 (bookmark-insert-current-bookmark): Remove function.
4117
4118 * info.el (Info-bookmark-make-record): Add `defaults' property
4119 with values of canonical Info node name, the current Info file
4120 name and the current Info node name. (Bug#12107)
4121
4122 2012-08-08 Juri Linkov <juri@jurta.org>
4123
4124 * files.el (basic-save-buffer): Use `buffer-name' as the default
4125 of `read-file-name' when buffer is not visiting a file (bug#12128).
4126
4127 2012-08-08 Juri Linkov <juri@jurta.org>
4128
4129 * info.el (Info-isearch-search): Doc fix.
4130 (Info-search): Change search-failed message from "initial node" to
4131 "end of node" (bug#12078).
4132 (Info-isearch-search): Change `isearch-string-state' to
4133 `isearch--state-string'.
4134
4135 2012-08-08 Glenn Morris <rgm@gnu.org>
4136
4137 * language/persian.el: Remove file.
4138 * language/misc-lang.el: Move unique part of persian.el here.
4139 * loadup.el: Remove language/persian.
4140
4141 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4142
4143 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4144
4145 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4146
4147 * progmodes/python.el Fixed defsubst warning.
4148 (python-syntax-context) Rename from python-info-ppss-context.
4149 (python-syntax-context-type): Rename from
4150 python-info-ppss-context-type.
4151 (python-syntax-comment-or-string-p): Rename from
4152 python-info-ppss-comment-or-string-p.
4153
4154 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4155
4156 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4157
4158 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4161 a defcustom that is quoted with backquote.
4162
4163 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4164 Fix handling of interactive spec when the body uses return.
4165 (math-do-arg-check, math-define-function-body): Use backquote forms.
4166 * calc/calc-ext.el (math-defcache): Likewise.
4167 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4168 * allout.el (allout-new-exposure): Likewise.
4169 * calc/calcalg2.el (math-tracing-integral): Likewise.
4170 * info.el (Info-last-menu-item): Likewise.
4171 * emulation/vip.el (vip-loop): Likewise.
4172 * textmodes/artist.el (artist-funcall): Likewise.
4173 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4174 Construct menu-item directly.
4175
4176 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4177 Don't declare.
4178
4179 2012-08-07 Chong Yidong <cyd@gnu.org>
4180
4181 * simple.el (deactivate-mark): Preserve text properties when
4182 saving the primary selection (Bug#8384).
4183
4184 2012-08-07 Kevin Ryde <user42@zip.com.au>
4185
4186 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4187 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4188 and continue processing (Bug#12110).
4189
4190 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4193 syntax-propertize-function (bug#10095).
4194
4195 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4198 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4199 describe-function-1.
4200 (describe-function-1): Use them. Move compiler macro after sig.
4201 (help-fns--compiler-macro): Use function-get. Assume we're already in
4202 standard-output. Adjust layout to new call order.
4203
4204 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4205 re-binding a symbol that has a symbol-macro (bug#12119).
4206
4207 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4208
4209 * language/persian.el: New file. (Bug#11812)
4210 * loadup.el: Add language/persian.el.
4211
4212 2012-08-06 Chong Yidong <cyd@gnu.org>
4213
4214 * window.el (window--maybe-raise-frame): New function.
4215 (window--display-buffer): Split off from here.
4216 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4217 (display-buffer-pop-up-window, display-buffer-use-some-window):
4218 Obey an inhibit-switch-frame action alist entry.
4219 (display-buffer): Update doc.
4220
4221 * replace.el (occur-after-change-function): Avoid losing focus by
4222 using the inhibit-switch-frame display parameter (Bug#12139).
4223
4224 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4225
4226 Make internal shell process buffer names start with space.
4227 * progmodes/python.el (python-shell-make-comint): Add optional
4228 argument INTERNAL.
4229 (run-python-internal): Use it.
4230 (python-shell-internal-get-or-create-process): Check for new
4231 internal buffer names.
4232
4233 2012-08-06 Glenn Morris <rgm@gnu.org>
4234
4235 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4236 Do less getting and setting of environment variables.
4237
4238 2012-08-05 Chong Yidong <cyd@gnu.org>
4239
4240 * proced.el (proced): Add substitution string to docstring to
4241 trigger autoloading of the proced library on C-h f (Bug#1768).
4242
4243 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4244 Don't show defvars which have no second argument (Bug#8638).
4245
4246 * imenu.el (imenu-generic-expression): Move documentation here
4247 from imenu--generic-function.
4248 (imenu--generic-function): Refer to imenu-generic-expression.
4249
4250 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4251
4252 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4253 indentation declaration.
4254 (viper-loop): Add indentation declaration (Bug#7025).
4255
4256 2012-08-05 Chong Yidong <cyd@gnu.org>
4257
4258 * help-fns.el (describe-variable): Add hyperlink for
4259 directory-local variables files. Improve buffer-local and
4260 permanent-local reporting; suggested by MON KEY (Bug#6644).
4261
4262 * help-mode.el (help-dir-local-var-def): New button type.
4263
4264 * files.el (kill-buffer-hook): Provide a defvar.
4265
4266 2012-08-05 Glenn Morris <rgm@gnu.org>
4267
4268 * eshell/esh-ext.el (eshell/addpath):
4269 Also update eshell-path-env. (Bug#12013)
4270
4271 2012-08-05 Chong Yidong <cyd@gnu.org>
4272
4273 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4274
4275 * fringe.el (fringe-styles): Add docstring.
4276 (fringe--check-mode): New function.
4277 (set-fringe-mode, set-fringe-style): Use it.
4278 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4279
4280 * files.el (set-auto-mode): Fix invalid setq call.
4281
4282 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * isearch.el: Misc simplification; use defstruct.
4285 (isearch-mode-map): Dense maps now work like sparse ones.
4286 (isearch--state): New defstruct.
4287 (isearch-string-state, isearch-message-state, isearch-point-state)
4288 (isearch-success-state, isearch-forward-state)
4289 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4290 (isearch-wrapped-state, isearch-barrier-state)
4291 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4292 replaced by defstruct's accessors.
4293 (isearch--set-state): Rename from isearch-top-state and change
4294 calling convention.
4295 (isearch-push-state): Use new isearch--get-state.
4296 (isearch-toggle-word): Disable regexp when enabling word.
4297 (isearch-message-prefix): Remove unused arg _c-q-hack.
4298 (isearch-message-suffix): Remove unused arg _ellipsis.
4299
4300 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4301
4302 * simple.el (list-processes--refresh): For a server use :host or
4303 :local as the address.
4304 (list-processes): Doc fix.
4305
4306 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4307
4308 * lisp/mpc.el: Support password in host argument.
4309 (mpc--proc-connect): Parse and use new password element.
4310 Set mpc-proc variable instead of returning process.
4311 (mpc-proc): Adjust accordingly.
4312
4313 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4314
4315 * whitespace.el (whitespace-display-mappings): Use Unicode
4316 codepoints, instead of emacs-mule codepoints. See
4317 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4318 for the details.
4319
4320 * files.el (file-truename): Don't skip symlink-chasing part on
4321 windows-nt. Incorporate the resolution of 8+3 short aliases on
4322 Windows into the loop that recursively chases symlinks.
4323 Compare directory and its parent case-insensitively on MS-Windows and
4324 MS-DOS.
4325
4326 2012-08-03 Chong Yidong <cyd@gnu.org>
4327
4328 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4329
4330 * sort.el (sort-regexp-fields): Doc fix.
4331
4332 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4333
4334 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4335 labels regex position point at the expected place.
4336
4337 2012-08-03 MON KEY <monkey@sandpframing.com>
4338
4339 * net/imap.el (imap-interactive-login, imap-authenticate)
4340 (imap-mailbox-lsub, imap-mailbox-list)
4341 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4342 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4343 (imap-parse-response): Doc fix.
4344
4345 2012-08-03 João Távora <joaotavora@gmail.com>
4346
4347 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4348 if sexp scanning does not move point (Bug#5734).
4349
4350 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4351
4352 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4353 Add listings, minted, and ctable packages.
4354 (reftex-label-alist-builtin): Move listings, minted, and ctable
4355 entries before LaTeX.
4356 (reftex-label-alist): Docfix.
4357
4358 2012-08-02 Bastien Guerry <bzg@gnu.org>
4359
4360 * replace.el (occur): Fix docstring (bug#12122).
4361
4362 2012-08-02 Glenn Morris <rgm@gnu.org>
4363
4364 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4365
4366 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4367
4368 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4369 * international/mule-cmds.el: Create
4370 inactivate-current-input-method-function as an obsolete alias for
4371 deactivate-current-input-method-function. See Katsumi Yamaoka in
4372 <http://bugs.gnu.org/10150#46>.
4373
4374 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4375
4376 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4377 of nested `if's.
4378
4379 2012-08-01 Glenn Morris <rgm@gnu.org>
4380
4381 * progmodes/autoconf.el (autoconf-definition-regexp):
4382 Add AH_TEMPLATE, adjust submatch numbering.
4383 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4384 (autoconf-current-defun-function): Update for above change.
4385 (autoconf-current-defun-function): First skip to end of current word.
4386
4387 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4388
4389 * calendar/cal-html.el (cal-html-insert-agenda-days):
4390 Fix typo. (Bug#12018)
4391
4392 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4393
4394 Shell processes: enhancements to startup and CEDET compatibility.
4395 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4396 (python-shell-make-comint): accept-process-output at startup.
4397 (run-python-internal): Set inferior-python-mode-hook to nil.
4398 (python-shell-internal-get-or-create-process): call sit-for.
4399 (python-preoutput-result): Add obsolete alias.
4400 (python-shell-internal-send-string): Use it.
4401 (python-shell-send-setup-code): Remove call to
4402 accept-process-output.
4403
4404 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4405
4406 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4407 (Bug#12108)
4408
4409 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4410
4411 * calc-mode.el (calc-basic-simplification-mode): Rename from
4412 `calc-limited-simplification-mode'.
4413 (calc-alg-simplification-mode): New function.
4414 (calc-set-simplify-mode): Adjust message.
4415
4416 * calc.el (calc-set-mode-line): Adjust mode line display for
4417 basic simplification mode.
4418
4419 * calc-help.el (calc-m-prefix-help): Update help message.
4420
4421 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4422 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4423
4424 2012-07-31 Bastien Guerry <bzg@gnu.org>
4425
4426 * man.el (man): Fix comment. (bug#12101)
4427
4428 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4429
4430 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4431 Don't return a non-nil value when no suitable buffer was found.
4432
4433 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4434
4435 * progmodes/python.el (run-python-internal): Disable font lock for
4436 internal shells.
4437
4438 2012-07-30 Stefan Merten <smerten@oekonux.de>
4439
4440 * textmodes/rst.el: Silence `checkdoc-ispell'.
4441 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4442 (rst-official-version, rst-official-cvs-rev)
4443 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4444 (rst-mode-map): New key binding.
4445
4446 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4447
4448 Update .PHONY listings in makefiles.
4449 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4450 autoloads, update-subdirs, updates, bzr-update, update-authors,
4451 compile-onefile, compile-calc, backup-compiled-files,
4452 compile-after-backup, compile-one-process, mh-autoloads,
4453 bootstrap-clean, distclean, maintainer-clean.
4454
4455 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4456
4457 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4458 (calc-set-mode-line): Don't display "AlgSimp ".
4459
4460 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4461 (calc-lim-simplify-mode): New function.
4462 (calc-set-simplify-mode): Default to 'alg.
4463 (calc-default-simplify-mode): Make algebraic simplifications
4464 the default.
4465
4466 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4467 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4468
4469 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4470 indicate new simplification modes.
4471
4472 * calc/README: Mention new default simplification mode.
4473
4474 * calc/calc.el (math-normalize-error): New variable.
4475 (math-normalize): Set `math-normalize-error' to t
4476 when there's an error.
4477
4478 * calc/calc-alg.el (math-simplify): Don't simplify when
4479 `math-normalize' returns an error.
4480
4481 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4482
4483 * international/mule-cmds.el (set-locale-environment): Revert last
4484 change, since display-graphic-p returns nil when this function is
4485 called during startup. Instead...
4486
4487 * term/w32console.el (terminal-init-w32console): ...setup the
4488 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4489
4490 2012-07-29 Juri Linkov <juri@jurta.org>
4491
4492 * simple.el (goto-line): Don't display default line number in the
4493 prompt because it should be displayed by `read-number' (bug#9952).
4494 Add the current line number to the defaults of `goto-line' to
4495 allow its easier modification by users with `M-n' (bug#9201).
4496
4497 * subr.el (read-number): Support multiple default values like in
4498 other minibuffer reading functions. Replace `read' with
4499 `string-to-number' for consistency with `number-to-string'.
4500
4501 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4502
4503 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4504 * emulation/viper-init.el (viper-deactivate-input-method-action):
4505 Rename from viper-inactivate-input-method-action.
4506 (viper-deactivate-input-method):
4507 Rename from viper-inactivate-input-method.
4508 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4509 * international/mule-cmds.el (deactivate-input-method):
4510 Rename from inactivate-input-method.
4511 Also run input-method-deactivate-hook.
4512 (deactivate-current-input-method-function):
4513 Rename from inactivate-current-input-method-function.
4514 (input-method-deactivate-hook): New hook.
4515 (input-method-inactivate-hook): Mark obsolete.
4516 (inactivate-input-method): Mark obsolete.
4517
4518 * international/quail.el (quail-activate):
4519 Also run quail-deactivate-hook.
4520 (quail-deactivate): Rename from quail-inactivate.
4521 * international/robin.el (robin-activate):
4522 Also run robin-deactivate-hook.
4523 (robin-deactivate): Rename from robin-inactivate.
4524
4525 2012-07-29 Chong Yidong <cyd@gnu.org>
4526
4527 * simple.el (indicate-copied-region): New function.
4528 (kill-ring-save): Split off from here.
4529
4530 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4531 (kill-rectangle): Set deactivate-mark to t on read-only error.
4532
4533 * register.el (copy-to-register, copy-rectangle-to-register):
4534 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4535 (append-to-register, prepend-to-register): Call indicate-copied-region.
4536
4537 2012-07-29 Juri Linkov <juri@jurta.org>
4538
4539 * simple.el (async-shell-command-buffer): New defcustom.
4540 (shell-command): Use it. (Bug#4719)
4541
4542 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4543
4544 * international/mule-cmds.el (set-locale-environment): In a
4545 console session on MS-Windows, set up keyboard and terminal
4546 encoding from the OEM codepage, not the ANSI codepage.
4547 (Bug#12055)
4548
4549 2012-07-28 Chong Yidong <cyd@gnu.org>
4550
4551 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4552 gdb-get-location.
4553
4554 2012-07-28 Leo Liu <sdl.web@gmail.com>
4555
4556 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4557 the alist (bug#12029).
4558
4559 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4560
4561 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4562 (compile-always, compile-first)
4563 ($(lisp)/calendar/cal-loaddefs.el)
4564 ($(lisp)/calendar/diary-loaddefs.el)
4565 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4566 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4567 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4568 instead of on update-subdirs.
4569 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4570
4571 2012-07-28 Chong Yidong <cyd@gnu.org>
4572
4573 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4574 directory if vc-deduce-backend returns nil (Bug#7350).
4575
4576 * simple.el (delete-trailing-lines): New option.
4577 (delete-trailing-whitespace): Obey it (Bug#11879).
4578
4579 2012-07-28 David Engster <deng@randomsample.de>
4580
4581 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4582 Explanation of new 'symbol-qnames feature in doc-strings.
4583 (xml-maybe-do-ns): Return expanded names as plain symbols if
4584 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4585 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4586
4587 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4588
4589 Consistent completion in inferior python with emacs -nw.
4590 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4591 binding in inferior-python-mode-map with "\t".
4592 (python-shell-completion-complete-at-point)
4593 (python-completion-complete-at-point): Remove interactive spec.
4594
4595 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4596
4597 * calc/calccomp.el (math-compose-expr): Undo previous change.
4598
4599 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4600
4601 * progmodes/python.el (python-mode-map): Add keybinding for
4602 run-python.
4603 (python-shell-make-comint): Fix pop-to-buffer call.
4604 (run-python): Autoload. New arg SHOW.
4605 (python-shell-get-or-create-process): Do not pop python process
4606 buffer.
4607
4608 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4609
4610 * notifications.el (notifications-on-action-signal)
4611 (notifications-on-closed-signal): Use also the bus address for the map.
4612 (notifications-notify, notifications-close-notification)
4613 (notifications-get-capabilities): Add optional argument BUS.
4614
4615 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4616
4617 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4618 Add support for the lstlisting and minted environments, and for the
4619 ctable macro.
4620 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4621 labels written in keyvals syntax.
4622
4623 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4624
4625 * calc/calccomp.el (math-compose-expr): Use parentheses when
4626 there is a product in the denominator of a fraction.
4627
4628 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4629
4630 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4631 ($(lisp)/calendar/diary-loaddefs.el)
4632 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4633 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4634 Fixes failures in parallel bootstrap because subdirs.el is being
4635 rewritten while the autoload files are built at the same time,
4636 which needs to load subdirs.el.
4637
4638 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4639
4640 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4641 (mouse-drag-line): Don't exit tracking when a switch-frame or
4642 switch-window event occurs (Bug#12006).
4643
4644 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * mouse.el (popup-menu): Fix last change.
4647
4648 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 Autoload from Lisp with more care. Follow aliases when looking for
4651 function properties.
4652 * subr.el (autoloadp): New function.
4653 (symbol-file): Use it.
4654 (function-get): New function.
4655 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4656 autoload-do-load.
4657 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4658 (lisp-indent-function):
4659 * emacs-lisp/gv.el (gv-get):
4660 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4661 * emacs-lisp/byte-opt.el (byte-optimize-form):
4662 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4663 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4664 Use function-get.
4665 * emacs-lisp/cl.el: Don't propagate function properties any more.
4666
4667 * speedbar.el (speedbar-add-localized-speedbar-support):
4668 * emacs-lisp/disass.el (disassemble-internal):
4669 * desktop.el (desktop-load-file):
4670 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4671 (describe-function-1):
4672 * emacs-lisp/find-func.el (find-function-noselect):
4673 * emacs-lisp/elp.el (elp-instrument-function):
4674 * emacs-lisp/advice.el (ad-has-proper-definition):
4675 * apropos.el (apropos-safe-documentation, apropos-macrop):
4676 * emacs-lisp/debug.el (debug-on-entry):
4677 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4678 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4679 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4680
4681 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4682
4683 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4684 function, not an obsolete variable (Bug#12046).
4685
4686 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4687
4688 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4689
4690 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4691
4692 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4693 window only if it is still live (Bug#12034).
4694
4695 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4696
4697 * subr.el (redirect-frame-focus): Add advertised calling
4698 convention (Bug#12030).
4699
4700 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4701
4702 Prefer typical American spelling for "acknowledgment".
4703 * vc/add-log.el (change-log-acknowledgment): Rename from
4704 change-log-acknowledgement, with an alias for the old name.
4705
4706 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4707
4708 * calc-alg.el (math-simplify-divide): Don't cross multiply
4709 in an equation when the lhs is a variable.
4710
4711 2012-07-24 Julien Danjou <julien@danjou.info>
4712
4713 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4714 Remove, unused.
4715
4716 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4717
4718 * startup.el (command-line): Don't display an empty user name in
4719 the error message about non-existent home directory, when
4720 init-file-user was set to an empty string. See
4721 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4722 for the details and context.
4723
4724 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4725
4726 * ses.el (ses-cell-formula-aset): New macro.
4727 (ses-cell-references-aset): New macro.
4728 (ses-cell-p): New function.
4729 (ses-rename-cell): Do no longer rely on complex operations like
4730 ses-cell-set-formula or ses-set-cell to change the cell and handle
4731 the undo at the same time, but rather use lower level new macros
4732 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4733 the undo directly. Refresh the mode line.
4734
4735 2012-07-21 Leo Liu <sdl.web@gmail.com>
4736
4737 * progmodes/cc-cmds.el (c-defun-name):
4738 Use match-string-no-properties instead for consistency.
4739
4740 2012-07-20 Leo Liu <sdl.web@gmail.com>
4741
4742 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4743 (Bug#7879)
4744
4745 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4746
4747 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4750 * progmodes/bug-reference.el, misearch.el: Provide themselves
4751 (bug#11915).
4752
4753 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4754 of narrowed buffer (bug#11966).
4755
4756 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4757
4758 * ses.el (ses-rename-cell): Set new name also in reference list of
4759 cells of which the renamed cell depends.
4760
4761 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4762
4763 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4764 to check whether menu-bar is shown or not. If not shown,
4765 show the menu-bar as a popup menu instead of using tmm.
4766 * mouse.el (popup-menu): Accept `point' as `position' argument.
4767
4768 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4769
4770 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4771 up inside string symbol literal (bug#11923).
4772
4773 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4774
4775 * startup.el (fancy-startup-text): Read the whole tutorial, not
4776 just its first 256 bytes. Prevents gibberish in display of the
4777 tutorial title.
4778
4779 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4780
4781 Drop idle buffer compaction due to an absence of the
4782 proved efficiency.
4783 * compact.el: Remove.
4784
4785 2012-07-19 Sam Steingold <sds@gnu.org>
4786
4787 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4788 vc-bzr-pull & vc-bzr-merge-branch.
4789 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4790 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4791 for consistency with compilation-error-regexp-alist.
4792 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4793 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4794 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4795 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4796
4797 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * emacs-lisp/chart.el: Use lexical-binding.
4800 (chart-emacs-storage): Don't hardcode the list of entries.
4801
4802 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4803
4804 Next round of tweaks caused by Fgarbage_collect changes.
4805 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4806
4807 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4808
4809 Compact buffers when idle.
4810 * compact.el: New file.
4811
4812 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * subr.el (eventp): Presume that if it looks vaguely like an event,
4815 it's an event (bug#10190).
4816
4817 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4818
4819 Enhancements to ppss related code (thanks Stefan).
4820 * progmodes/python.el (python-indent-context)
4821 (python-indent-calculate-indentation, python-indent-dedent-line)
4822 (python-indent-electric-colon, python-nav-forward-block)
4823 (python-mode-abbrev-table)
4824 (python-info-assignment-continuation-line-p): Simplify checks
4825 for ppss context.
4826 (python-info-continuation-line-p): Cleanup.
4827 (python-info-ppss-context): Do not catch 'quote.
4828 (python-info-ppss-context-type)
4829 (python-info-ppss-comment-or-string-p): Simplify.
4830
4831 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4832
4833 * progmodes/python.el: Enhancements to eldoc support.
4834 (python-info-current-symbol): New function.
4835 (python-eldoc-at-point): Use python-info-current-symbol.
4836 (python-info-current-defun): Fix cornercase on first defun scan.
4837 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4838 and signal error when no inferior python process is available.
4839
4840 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4841
4842 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4843 assume it's always t.
4844 (vc-git-registered): Remove caching, the function is only called
4845 once.
4846 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4847
4848 2012-07-18 Chong Yidong <cyd@gnu.org>
4849
4850 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4851
4852 * simple.el (count-words): Report on narrowing (Bug#9959).
4853
4854 * bindings.el: Bind M-= to count-words.
4855
4856 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4857
4858 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4859
4860 * progmodes/sh-script.el (sh-imenu-generic-expression):
4861 Capture a function with `function' keyword and without parentheses
4862 like "function FOO" (bug#11856).
4863
4864 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4865
4866 * window.el (split-window-sensibly): Make WINDOW argument
4867 optional.
4868
4869 2012-07-18 Chong Yidong <cyd@gnu.org>
4870
4871 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4872
4873 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4874 and make C-x 8 RET exit isearch (Bug#11439).
4875
4876 * international/iso-transl.el: Move isearch-mode-map key
4877 definitions to isearch.el.
4878
4879 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4882 (eieio-defclass): Use gv-define-setter when possible.
4883
4884 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4885
4886 Reflect recent changes in Fgarbage_collect.
4887 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4888 reflect new format of data returned by Fgarbage_collect.
4889
4890 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4891
4892 New utility functions + python-info-ppss-context fix (Bug#11910).
4893 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4894 (python-info-ppss-comment-or-string-p): New functions.
4895 (python-info-ppss-context): Small fix for string check.
4896
4897 2012-07-17 Juri Linkov <juri@jurta.org>
4898
4899 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4900 (dired-do-async-shell-command): Don't add `*' at the end of the
4901 command (Bug#11815).
4902 (dired-do-shell-command): Doc fix.
4903 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4904 Join the individual commands using either "&" or ";" as the
4905 separator depending on the values of these trailing characters.
4906 At the end re-add the trailing "&". (Bug#10598)
4907
4908 * simple.el (async-shell-command): Sync the interactive spec with
4909 `shell-command'. Doc fix.
4910 (shell-command): Doc fix.
4911
4912 2012-07-17 Juri Linkov <juri@jurta.org>
4913
4914 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4915
4916 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4917
4918 Final renames and doc fixes for movement commands (bug#11899).
4919 * progmodes/python.el (python-nav-beginning-of-statement):
4920 Rename from python-nav-statement-start.
4921 (python-nav-end-of-statement): Rename from
4922 python-nav-statement-end.
4923 (python-nav-beginning-of-block): Rename from
4924 python-nav-block-start.
4925 (python-nav-end-of-block): Rename from python-nav-block-end.
4926
4927 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4928
4929 * progmodes/python.el (python-shell-send-string-no-output):
4930 Allow accept-process-output to quit, keeping shell process ready for
4931 future interactions (Bug#11868).
4932
4933 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4936
4937 * emacs-lisp/elint.el (elint-find-args-in-code):
4938 Use help-function-arglist, so as to handle lexical byte-code.
4939
4940 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4941 change (bug#11826).
4942
4943 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4946 Avoid spuriously marking the buffer as modified because of c-is-sws.
4947
4948 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4949 as not-a-comment (bug#11946).
4950
4951 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4952 for uninterned vars.
4953
4954 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4955 Use read-event since we don't really want to read chars but bytes.
4956
4957 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4958 $$..$$ but also $..$ using regexps (bug#11953).
4959 Use tex-verbatim for \url and \path.
4960 (tex-font-lock-keywords): Define as defconst like the others.
4961 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4962
4963 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4964
4965 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4966 alias for insert-char.
4967
4968 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4969
4970 * progmodes/python.el: Simplified imenu implementation.
4971 (python-nav-jump-to-defun): Remove command.
4972 (python-mode-map): Use `imenu' instead.
4973 (python-nav-list-defun-positions-cache)
4974 (python-imenu-include-defun-type, python-imenu-make-tree)
4975 (python-imenu-subtree-root-label, python-imenu-index-alist):
4976 Remove vars.
4977 (python-nav-list-defun-positions, python-nav-read-defun)
4978 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4979 (python-imenu-make-tree, python-imenu-create-index):
4980 Remove functions.
4981 (python-mode): Update to interact with imenu by setting
4982 `imenu-extract-index-name-function' only.
4983
4984 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4985
4986 * progmodes/python.el: Enhancements to navigation commands.
4987 (python-nav-backward-sentence)
4988 (python-nav-forward-sentence): Remove.
4989 (python-nav-backward-statement, python-nav-forward-statement)
4990 (python-nav-statement-start, python-nav-statement-end)
4991 (python-nav-backward-block, python-nav-forward-block)
4992 (python-nav-block-start, python-nav-block-end)
4993 (python-nav-forward-sexp-function)
4994 (python-info-current-line-comment-p)
4995 (python-info-current-line-empty-p): New functions.
4996 (python-indent-context): Use `python-nav-statement-start'.
4997
4998 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4999
5000 * eshell/em-ls.el (eshell/ls): Use `apply'.
5001
5002 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5003 multi-hops, instead of Tramp internals.
5004
5005 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5006
5007 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5008 when F1 and F2 are located on different hosts.
5009
5010 2012-07-14 Chong Yidong <cyd@gnu.org>
5011
5012 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5013 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5014 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5015 (xterm-mouse--read-event-sequence-1000)
5016 (xterm-mouse--read-event-sequence-1006): New functions. For old
5017 mouse protocol, handle M-mouse-X events correctly.
5018 (xterm-mouse-event): New arg specifying mouse protocol.
5019 (turn-on-xterm-mouse-tracking-on-terminal)
5020 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5021 sequence to toggle extended coordinates on newer XTerms.
5022 This appears to be harmless on terminals which do not support this.
5023
5024 2012-07-14 Leo Liu <sdl.web@gmail.com>
5025
5026 Add fringe bitmap indicators for flymake. (Bug#11253)
5027 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5028 (flymake-make-overlay): New arg BITMAP.
5029 (flymake-error-bitmap, flymake-warning-bitmap)
5030 (flymake-fringe-indicator-position): New user variables.
5031
5032 * fringe.el: New bitmap exclamation-mark.
5033
5034 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5035
5036 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5037 also (Bug#7879).
5038
5039 2012-07-14 Chong Yidong <cyd@gnu.org>
5040
5041 * electric.el (electric-pair-post-self-insert-function): Fix pair
5042 insertion in empty-region case (Bug#11520).
5043
5044 2012-07-14 Chong Yidong <cyd@gnu.org>
5045
5046 * bindings.el: Consolidate ctl-x-r-map bindings.
5047 Bind copy-rectangle-as-kill to C-x r w.
5048
5049 * rect.el, register.el: Move bindings to bindings.el.
5050
5051 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5052
5053 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5054
5055 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5058
5059 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5060
5061 * bindings.el (top): Use `mapc' instead of `mapcar'.
5062
5063 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5064
5065 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5066
5067 * progmodes/sql.el (sql-comint): Suppress the check for program on
5068 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5069 (Bug#11908)
5070
5071 2012-07-13 Chong Yidong <cyd@gnu.org>
5072
5073 * bindings.el: Assign a non-nil permanent-local property to
5074 per-buffer variables which lack a default value (Bug#11930).
5075
5076 * help-fns.el (describe-variable): In the "automatically becomes
5077 local" notice, take note of permanent-local variables.
5078
5079 2012-07-13 Chong Yidong <cyd@gnu.org>
5080
5081 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5082 to allow printing the message when called from Lisp.
5083
5084 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5085 Remove toggle-read-only.
5086
5087 * bs.el (bs-toggle-readonly):
5088 * buff-menu.el (Buffer-menu-toggle-read-only):
5089 Remove with-no-warnings around toggle-read-only.
5090
5091 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5092 Remove with-no-warnings around toggle-read-only.
5093 (ffap-read-only, ffap-read-only-other-window)
5094 (ffap-read-only-other-frame): Callers changed.
5095
5096 * help-mode.el: Don't require view package.
5097 (help-mode-finish): Set buffer-read-only instead of calling
5098 toggle-read-only.
5099
5100 * bindings.el (mode-line-toggle-read-only):
5101 * dired.el (dired-toggle-read-only):
5102 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5103 with non-nil second arg.
5104
5105 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5106 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5107 directly.
5108
5109 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5110
5111 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5112 not incf.
5113
5114 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 More CL cleanups and reduction of use of cl.el.
5117 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5118 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5119 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5120 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5121 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5122 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5123 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5124 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5125 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5126 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5127 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5128 * eshell/em-cmpl.el, eshell/em-banner.el:
5129 * calendar/parse-time.el: Use cl-lib.
5130 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5131 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5132 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5133 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5134 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5135 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5136 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5137 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5138 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5139 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5140 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5141 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5142 `lambda' rather than with `quote'.
5143 (eshell-do-opt): Adjust accordingly.
5144 (eshell-process-option): Simplify.
5145 * eshell/esh-var.el:
5146 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5147 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5148 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5149 to `pcase--dontcare'.
5150 * emacs-lisp/cl.el (labels): Mark obsolete.
5151 (cl--letf, letf): Move to cl-lib.
5152 (cl--letf*, letf*): Remove.
5153 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5154 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5155 (cl-progv): Rewrite.
5156 (cl--letf, cl-letf): Move from cl.el.
5157 (cl-letf*): New macro.
5158 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5159
5160 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5161
5162 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5163
5164 2012-07-11 Chong Yidong <cyd@gnu.org>
5165
5166 * vc/log-edit.el (log-edit-vc-backend): New variable.
5167 (log-edit): Doc fix.
5168
5169 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5170 argument of log-edit to set up all local variables.
5171 (vc-start-logentry): New optional arg specifying VC backend.
5172
5173 * vc/vc.el (vc-checkin): Use it.
5174 (vc-deduce-fileset): Handle Log Edit buffers.
5175 (vc-diff): Make first argument optional too.
5176
5177 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5178
5179 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5182 command, just in case. The function is not needed anymore.
5183 (eshell-external-command): Do not call `eshell-remote-command'.
5184
5185 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5186
5187 Reduce use of (require 'cl).
5188 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5189 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5190 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5191 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5192 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5193 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5194 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5195 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5196 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5197 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5198 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5199 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5200 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5201 (byte-compile-unfold-bcf, byte-compile-check-variable):
5202 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5203 (byte-compile-nilconstp):
5204 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5205 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5206
5207 * emacs-lisp/gv.el (cond): Make it a valid place.
5208 (if): Simplify slightly.
5209
5210 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5211 (pcase--self-quoting-p): New function.
5212 (pcase--u1): Use it.
5213
5214 2012-07-10 Glenn Morris <rgm@gnu.org>
5215
5216 * emacs-lisp/authors.el (authors-fixed-entries):
5217 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5218
5219 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5220
5221 Rename configure.in to configure.ac (Bug#11603).
5222 * emacs-lisp/authors.el (authors-canonical-file-name):
5223 * progmodes/autoconf.el (autoconf-mode):
5224 Prefer configure.ac to configure.in.
5225
5226 2012-07-08 Chong Yidong <cyd@gnu.org>
5227
5228 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5229 Implement the mouse-1-click-follows-link handling properly.
5230
5231 * info.el (Info-link-keymap): Use follow-link mechanism for
5232 header-line links (Bug#374).
5233
5234 * simple.el (deactivate-mark): Do not set the primary selection
5235 if another program has acquired it (Bug#11772).
5236
5237 2012-07-07 Kevin Ryde <user42@zip.com.au>
5238
5239 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5240 (woman-decode-region): Replace escaped-escapes without destroying
5241 bold or underline (Bug#11552).
5242 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5243
5244 2012-07-07 Chong Yidong <cyd@gnu.org>
5245
5246 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5247 (interprogram-cut-function, interprogram-paste-function):
5248 Mention that we typically mean the clipboard.
5249
5250 2012-07-06 Glenn Morris <rgm@gnu.org>
5251
5252 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5253
5254 * files.el (toggle-read-only): Restrict message to interactive use.
5255
5256 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5257
5258 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5259
5260 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5261
5262 2012-07-06 Glenn Morris <rgm@gnu.org>
5263
5264 * Makefile.in (compile-one-process): Rename from "recompile".
5265
5266 * Makefile.in (bzr-update): "compile" is the same as "recompile
5267 autoloads", but parallelizable, so use that instead.
5268
5269 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5270
5271 * window.el (quit-window): Always restore window height when
5272 it's saved in quit-restore parameter (Bug#11810).
5273
5274 2012-07-06 Glenn Morris <rgm@gnu.org>
5275
5276 * simple.el (kill-whole-line): Doc tweak.
5277
5278 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5279
5280 * files.el (file-relative-name): Compare file names
5281 case-insensitively if on MS-Windows or MS-DOS, or if
5282 read-file-name-completion-ignore-case is non-nil. Don't use
5283 case-fold-search for this purpose. (Bug#11827)
5284
5285 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5286
5287 * calendar/cal-dst.el (calendar-current-time-zone):
5288 Return calendar-current-time-zone-cache if non-nil.
5289
5290 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5291 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5292
5293 * calendar/cal-dst.el (calendar-current-time-zone):
5294 Return calendar-current-time-zone-cache if non-nil.
5295
5296 2012-07-06 Glenn Morris <rgm@gnu.org>
5297
5298 * Makefile.in (cvs-update): Remove old alias.
5299
5300 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5301
5302 Sync with Tramp 2.2.6-pre.
5303
5304 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5305 compatible declaration.
5306
5307 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5308 Protect `list-load-path-shadows' call.
5309
5310 * net/tramp-compat.el (top): Require packages, which aren't
5311 autoloaded anymore for XEmacs. Protect call of
5312 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5313 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5314 it hurts at least for SXEmacs.
5315 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5316 standard-value for `temporary-file-directory'.
5317
5318 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5319 Redirect stderr to /dev/null.
5320 (tramp-sh-handle-write-region): uid and gid can be floats.
5321 Reported by Russell Sim <russell.sim@gmail.com>.
5322 (tramp-sh-handle-vc-registered): Hide errors.
5323 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5324 and `start-file-process'.
5325 (tramp-maybe-open-connection): Check also whether `non-essential'
5326 is bound.
5327
5328 2012-07-04 Chong Yidong <cyd@gnu.org>
5329
5330 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5331 (xml-parse-tag): Likewise, and avoid changing entity tables.
5332 (xml-syntax-table): Define from scratch, making sure not to give
5333 x2000 and other Unicode spaces whitespace syntax, since those are
5334 not spaces in XML.
5335 (xml-parse-fragment): Delete unused function.
5336 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5337 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5338 (xml-entity-ref, xml-pe-reference-re)
5339 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5340 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5341 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5342 (xml-entity-value-re): Use syntax references in regexps where
5343 possible; no need to define inside a let-binding.
5344 (xml-parse-dtd): Use xml-pe-reference-re.
5345 (xml-entity-or-char-ref-re): New defconst.
5346 (xml-parse-string, xml-substitute-special): Use it.
5347
5348 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5351 (find-file--read-only): New function.
5352 (find-file-read-only, find-file-read-only-other-window)
5353 (find-file-read-only-other-frame): Use it.
5354 (insert-file-contents-literally): Don't `fset'.
5355 (get-free-disk-space): Use locate-dominating-file.
5356
5357 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5358 function is already compiled.
5359
5360 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5361
5362 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5363
5364 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5365 files on the same host.
5366
5367 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5368
5369 * help-fns.el (describe-function-1): Only call
5370 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5371
5372 2012-07-03 Chong Yidong <cyd@gnu.org>
5373
5374 * xml.el: Protect parser against XML bombs.
5375 (xml-entity-expansion-limit): New variable.
5376 (xml-parse-string, xml-substitute-special): Use it.
5377 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5378
5379 2012-07-03 Glenn Morris <rgm@gnu.org>
5380
5381 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5382 Allow linking to specific messages in debbugs reports (eg 123#5).
5383
5384 2012-07-02 Chong Yidong <cyd@gnu.org>
5385
5386 * xml.el: Fix entity and character reference expansion, allowing
5387 them to expand into markup as per XML spec.
5388 (xml-default-ns): New variable.
5389 (xml-entity-alist): Use XML spec definitions for lt and amp.
5390 (xml-parse-region): Make first two arguments optional.
5391 Discard text properties.
5392 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5393 All callers changed.
5394 (xml-parse-tag): Call xml-parse-tag-1. For backward
5395 compatibility, this function should not modify buffer contents.
5396 (xml-parse-tag-1): Fix opening-tag regexp.
5397 (xml-parse-string): Rewrite, handling entity and character
5398 references properly.
5399 (xml--entity-replacement-text): Signal an error if a parameter
5400 entity is undefined.
5401
5402 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * comint.el (comint-output-filter): Filter out repeated prompts.
5405
5406 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5407 and file-name-absolute-p.
5408 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5409 internal calls.
5410
5411 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5412
5413 Spelling fixes.
5414 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5415 Rename from byte-compile--refiy-function. All uses changed.
5416
5417 2012-07-01 Chong Yidong <cyd@gnu.org>
5418
5419 * xml.el (xml--parse-buffer): New function. Move most of
5420 xml-parse-region here.
5421 (xml-parse-region): Copy region into a temporary buffer, since
5422 parameter entity substitution requires changing buffer contents.
5423 Use xml--parse-buffer.
5424 (xml-parse-file): Use xml--parse-buffer.
5425 (xml-parse-dtd): Make parameter entity substitution work right.
5426 Use proper regexps for ELEMENT declarations (Bug#7172).
5427
5428 2012-06-30 Glenn Morris <rgm@gnu.org>
5429
5430 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5431
5432 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5433 Remove outdated and unnecessary dbus declarations.
5434
5435 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5436
5437 * emacs-lisp/timer.el (timer-until): Subtract results of
5438 float-time, instead of taking float-time of the result of
5439 time-subtract, since float-time signals an error for negative time
5440 arguments.
5441
5442 2012-06-30 Chong Yidong <cyd@gnu.org>
5443
5444 * xml.el (xml-*-re): Convert defvars into defconsts, and
5445 eval-and-compile them so eval-and-compile works on derivatives.
5446 (xml--entity-replacement-text): Use eval-and-comple.
5447
5448 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5449
5450 * vc/vc-git.el (vc-git-registered): Use cache property
5451 `git-registered'.
5452 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5453 `vc-git-working-revision' in order to benefit from the cache.
5454 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5455
5456 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5457
5458 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5459 removed (likely outside Emacs). (Bug#11757)
5460
5461 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * emacs-lisp/cl-lib.el: Require macroexp.
5464
5465 2012-06-30 Chong Yidong <cyd@gnu.org>
5466
5467 * xml.el: Implement XML parameter entities.
5468 (xml-parameter-entity-alist): New variable.
5469 (xml-parse-region, xml-parse-fragment): Preserve previous values
5470 of xml-entity-alist and xml-parameter-entity-alist, so that
5471 repeated calls on different documents do not change them.
5472 (xml-parse-tag): Fix doctype regexp.
5473 (xml--entity-replacement-text): New function.
5474 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5475 properly requires url retrieval which is unimplemented.
5476 (xml-escape-string): Doc fix.
5477
5478 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5481
5482 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5483
5484 * fringe.el (fringe-mode): Doc fix.
5485
5486 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5487
5488 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5489 is non-nil.
5490 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5491 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5492
5493 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5494
5495 * calendar/cal-dst.el (calendar-current-time-zone):
5496 Return calendar-current-time-zone-cache if non-nil.
5497
5498 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5499
5500 * progmodes/which-func.el (which-func-format):
5501 Add mouse-face. (Bug#11698)
5502
5503 2012-06-29 Leo Liu <sdl.web@gmail.com>
5504
5505 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5506
5507 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * minibuffer.el (minibuffer-confirm-exit-commands):
5510 Add completion-at-point (bug#11725).
5511
5512 2012-06-29 Glenn Morris <rgm@gnu.org>
5513
5514 * progmodes/f90.el (f90-font-lock-keywords-2):
5515 Add some preprocessor elements. (Bug#10499)
5516
5517 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5520 Use syntax-propertize (bug#11739).
5521
5522 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5523
5524 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5525
5526 2012-06-28 Julien Danjou <julien@danjou.info>
5527
5528 * term.el (term-handle-colors-array): Use a set of new faces to
5529 color the terminal. Also uses :inverse-video property.
5530 (term-default-fg-color): Set to nil by default, deprecate in favor
5531 of `term-face'.
5532 (term-default-bg-color): Set to nil by default, deprecate in favor
5533 of `term-face'.
5534 (term-current-face): Use `term-face' by default.
5535 (term-bold-attribute): Variable deleted.
5536
5537 2012-06-28 Glenn Morris <rgm@gnu.org>
5538
5539 * simple.el (completion-list-mode-finish):
5540 Don't use toggle-read-only. (Since completion-list-mode has
5541 a special mode-class, it wasn't doing anything extra anyway.)
5542
5543 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 Make inlining of other-mode interpreted functions work (bug#11799).
5546 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5547 (byte-compile): Use it to fix compilation of lexical-binding closures.
5548 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5549 function, if needed.
5550
5551 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * help-mode.el (help-make-xrefs): Don't just withstand
5554 cyclic-variable-indirection but any error in documentation-property.
5555
5556 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5557 memory use.
5558 * bindings.el (bindings--define-key): New function.
5559 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5560 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5561 * bindings.el: Use it to purecopy define-key bindings.
5562
5563 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5564
5565 * emacs-lisp/cl.el (flet): Mark obsolete.
5566 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5567 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5568 * progmodes/js.el (js-c-fill-paragraph):
5569 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5570 (ebrowse-switch-member-buffer-to-derived-class):
5571 * play/5x5.el (5x5-solver): Use cl-flet.
5572
5573 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5574 (cl--symbol-function): New macro.
5575 (cl--letf, cl--letf*): Use it.
5576
5577 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5578 Strip "toggle-" if any.
5579
5580 2012-06-27 Glenn Morris <rgm@gnu.org>
5581
5582 * info.el (Info-default-directory-list): Move here from paths.el.
5583 * paths.el: Remove file, which is now empty.
5584 * loadup.el: No longer load "paths".
5585
5586 * custom.el (custom-initialize-delay): Doc fix.
5587
5588 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5589 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5590 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5591 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5592 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5593 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5594 * eshell/eshell.el (eshell-defgroup): Remove alias.
5595
5596 2012-06-27 Chong Yidong <cyd@gnu.org>
5597
5598 * help.el (help-enable-auto-load): New variable.
5599
5600 * help-fns.el (help-fns--autoloaded-p): New function.
5601 (describe-function-1): Refer to a function as "autoloaded" if it
5602 was autoloaded at any time in the past. Perform autoloading if
5603 help-enable-auto-load is non-nil.
5604
5605 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5606
5607 * makefile.w32-in (compile, compile-always): Depend on
5608 update-subdirs, not on subdirs.el. Otherwise, several different
5609 sub-targets of 'bootstrap' running in parallel could
5610 simultaneously write to subdirs.el, producing a garbled file.
5611
5612 2012-06-26 Sam Steingold <sds@gnu.org>
5613
5614 * files.el (file-name-base): New convenience function.
5615 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5616 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5617 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5618 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5619 * textmodes/ispell.el, textmodes/reftex-ref.el:
5620 * textmodes/tex-mode.el: Use it.
5621 Did not touch cedet and org because they are maintained elsewhere.
5622
5623 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5624
5625 * calendar/calendar.el (calendar-exit): Don't try to delete or
5626 iconify last frame. See:
5627 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5628
5629 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5630
5631 * server.el (server-process-filter): Remember dir in the
5632 process's `server-client-directory' properties.
5633
5634 2012-06-24 Chong Yidong <cyd@gnu.org>
5635
5636 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5637 non-tag text.
5638
5639 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5642
5643 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * help-fns.el (describe-variable): Don't croak when doc is not found.
5646 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5647 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5648 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5649 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5650 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5651 ((lambda ..) ..).
5652 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5653
5654 2012-06-23 Chong Yidong <cyd@gnu.org>
5655
5656 * info.el (Info-mouse-follow-link): Accept symbol values of
5657 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5658 (Info-fontify-node): Use Info-link-keymap for all navigation
5659 buttons, with link-args property to perform the desired action.
5660 (Info-link-keymap): Doc fix.
5661 (Info-next-link-keymap, Info-prev-link-keymap)
5662 (Info-up-link-keymap): Delete now-unused keymaps.
5663
5664 2012-06-23 Chong Yidong <cyd@gnu.org>
5665
5666 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5667
5668 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5669 system abbrevs.
5670
5671 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5672
5673 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5676 (bug#11719).
5677
5678 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5679 the requote function doesn't work properly (bug#11714).
5680
5681 2012-06-23 Glenn Morris <rgm@gnu.org>
5682
5683 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5684
5685 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 Further GV/CL cleanups.
5688 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5689 gv-expander.
5690 (gv--defun-declaration): New function.
5691 (defun-declarations-alist): Use it.
5692 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5693 (gv-place): Autoload.
5694 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5695 original definition of dotimes and dolist.
5696 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5697 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5698 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5699 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5700 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5701 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5702 to the function's definition.
5703 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5704 * window.el:
5705 * files.el:
5706 * faces.el:
5707 * env.el: Don't use CL.
5708
5709 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5710
5711 Support higher-resolution time stamps (Bug#9000).
5712
5713 * calendar/time-date.el (with-decoded-time-value): New arg
5714 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5715 (encode-time-value): New optional arg PICO. New type 3.
5716 (time-to-seconds) [!float-time]: Support the new picoseconds
5717 component if it's used.
5718 (seconds-to-time, time-subtract, time-add):
5719 Support ps-resolution time stamps as well.
5720
5721 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5722 (timerp): Timer vectors now have length 9, not 8.
5723 (timer--time): Support new-style (4-part) time stamps.
5724 (timer-next-integral-multiple-of-time): Time stamps now have
5725 picosecond resolution, so take a bit more care about rounding.
5726 (timer-relative-time, timer-inc-time): New optional arg psecs.
5727 (timer-set-time-with-usecs): Set psecs to 0.
5728 (timer--activate): Check psecs component, too.
5729
5730 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5731
5732 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5735 Move the non-essential binding to the post/pre-command-hook where it is
5736 more obviously correct.
5737
5738 * subr.el (read-passwd): Don't use a history at all.
5739 * savehist.el (savehist-save): Remove password saved accidentally
5740 because of the above bug.
5741
5742 2012-06-22 Bastien Guerry <bzg@gnu.org>
5743
5744 * files.el (toggle-read-only): Display a message telling whether
5745 the buffer is read-only or not (bug#11726).
5746
5747 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * emacs-lisp/gv.el: New file.
5750 * subr.el (push, pop): Extend to generalized variables.
5751 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5752 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5753 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5754 gv-define-simple-setter, and gv-define-expander.
5755 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5756 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5757 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5758 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5759 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5760 gv-letplace.
5761 (cl-defstruct): Don't define setf-method any more.
5762 * emacs-lisp/cl.el (flet): Don't autoload.
5763 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5764 (define-setf-expander, defsetf, define-modify-macro)
5765 (cl-struct-setf-expander): Move from cl-lib.el.
5766 * emacs-lisp/syntax.el:
5767 * emacs-lisp/ewoc.el:
5768 * emacs-lisp/smie.el:
5769 * emacs-lisp/cconv.el:
5770 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5771 (timer--time): Use gv-define-simple-setter.
5772 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5773 to avoid coding-system problems in subr.el. Adjust all users.
5774 (macroexp--maxsize, macroexp-small-p): New functions.
5775 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5776 * scroll-bar.el (scroll-bar-mode):
5777 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5778 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5779 * winner.el (winner-configuration, winner-make-point-alist)
5780 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5781 * files.el (locate-file-completion-table): Avoid list*.
5782
5783 2012-06-22 Chong Yidong <cyd@gnu.org>
5784
5785 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5786 (dired-create-files): Doc fix (Bug#11329).
5787 (dired-do-copy): Doc fix (Bug#11334).
5788 (dired-mark-read-string): Doc fix (Bug#11553).
5789
5790 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5791 Doc fix (Bug#11326).
5792 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5793 (dired-dwim-target): Doc fix.
5794
5795 * wdired.el (wdired-mode): Doc fix.
5796
5797 2012-06-22 Glenn Morris <rgm@gnu.org>
5798
5799 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5800 (pcmpl-rpm-cache-stamp-file): New constant.
5801 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5802 (pcmpl-rpm-packages): Optionally cache list of packages.
5803
5804 * pcmpl-rpm.el (pcmpl-rpm): New group.
5805 (pcmpl-rpm-query-options): New option.
5806 (pcmpl-rpm-packages): No need to inline it.
5807 Use pcmpl-rpm-query-options.
5808
5809 * calendar/calendar.el (calendar-in-read-only-buffer):
5810 Avoid some needless mode changes.
5811
5812 2012-06-21 Chong Yidong <cyd@gnu.org>
5813
5814 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5815 (desktop-path): Remove . from the default value (Bug#10977).
5816 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5817
5818 2012-06-20 Chong Yidong <cyd@gnu.org>
5819
5820 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5821
5822 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5823
5824 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5825 (bug#11201).
5826
5827 2012-06-20 Chong Yidong <cyd@gnu.org>
5828
5829 * term.el (term-window-width): Handle the case of a missing right
5830 fringe (Bug#8837).
5831 (term-check-size): Use window-text-height (Bug#5445).
5832 (term-mode): Use define-derived-mode. Minor cleanups.
5833 Set font-lock-defaults (Bug#7692).
5834 (term-move-columns, term-insert-char, term-emulate-terminal)
5835 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5836
5837 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * net/ange-ftp.el (ange-ftp-get-passwd):
5840 Bind `enable-recursive-minibuffers'.
5841 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5842
5843 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5844
5845 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5846
5847 2012-06-19 Glenn Morris <rgm@gnu.org>
5848
5849 * progmodes/python.el (python-mode): Derive from prog-mode.
5850
5851 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5852
5853 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5854 (edt-user-menu-bar-update-buffers): New functions.
5855 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5856
5857 2012-06-19 Chong Yidong <cyd@gnu.org>
5858
5859 * subr.el (with-selected-window): Preserve the selected window's
5860 terminal's top-frame (Bug#4702).
5861
5862 * window.el (save-selected-window): Likewise.
5863
5864 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * progmodes/python.el (python-rx-constituents): Move backquote.
5867 (python-skeleton-define, python-define-auxiliary-skeleton):
5868 Use `declare'.
5869
5870 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * minibuffer.el (read-file-name-default): Revert the patch from
5873 2012-06-17.
5874
5875 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5878 (pcase--u1, pcase--q1): Don't use apply-partially.
5879
5880 2012-06-18 Glenn Morris <rgm@gnu.org>
5881
5882 * progmodes/python.el (python-proc, python-buffer)
5883 (python-send-receive, python-send-string): Fix obsolete versions.
5884
5885 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5886
5887 * window.el (special-display-p): Completely remove stringp
5888 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5889
5890 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5891
5892 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5893
5894 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5895
5896 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5897 * net/tramp-sh.el (tramp-maybe-open-connection):
5898 Throw if `non-essential' is non-nil.
5899
5900 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5901
5902 * window.el (special-display-p): Signal an error if BUFFER-NAME
5903 is not a string (Bug#11713).
5904
5905 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5906
5907 * progmodes/python.el (python-info-beginning-of-backslash):
5908 Rename from python-info-beginning-of-backlash, as a spelling fix.
5909
5910 2012-06-17 Chong Yidong <cyd@gnu.org>
5911
5912 * term.el (term-emulate-terminal): If term-check-size is called,
5913 move point to the process mark without resetting point (Bug#4635).
5914
5915 2012-06-17 Glenn Morris <rgm@gnu.org>
5916
5917 * international/mule-cmds.el (mule-menu-keymap)
5918 (set-language-environment, set-locale-environment): Doc tweaks.
5919
5920 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5921
5922 * cus-face.el (custom-face-attributes): Add wave-style underline
5923 attribute.
5924 * faces.el (set-face-attribute): Update docstring to describe
5925 wave-style underline attribute.
5926
5927 2012-06-16 Chong Yidong <cyd@gnu.org>
5928
5929 * term/xterm.el (terminal-init-xterm): Discard input before
5930 querying background mode (Bug#10959).
5931
5932 2012-06-16 Stefan Merten <smerten@oekonux.de>
5933
5934 * textmodes/rst.el: Added and corrected some comments.
5935 (rst-re-alist-def): Improve symbol syntax.
5936 (rst-mode-syntax-table): Correct syntax entries.
5937 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5938 (rst-official-version, rst-official-cvs-rev): Update version
5939 information.
5940
5941 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5944 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5945
5946 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5947
5948 * progmodes/python.el: New python.el merge.
5949 (python-guess-indent): Obsolete var.
5950 (python-indent-guess-indent-offset): New defcustom.
5951 (python-indent): Obsolete var.
5952 (python-indent-offset): New defcustom.
5953 (python-python-command, python-jython-command): Delete var.
5954 (python-shell-interpreter): New defcustom.
5955 (python-pdbtrack-do-tracking-p): Delete var.
5956 (python-pdbtrack-activate): New defcustom.
5957 (python-use-skeletons): Obsolete var.
5958 (python-skeleton-autoinsert): New defcustom.
5959 (inferior-python-filter-regexp, python-continuation-offset)
5960 (python-honour-comment-indentation, python-indent-string-contents)
5961 (python-jython-packages, python-mode-hook)
5962 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5963 (python-shell-prompt-alist)
5964 (python-source-modes): Delete defcustoms.
5965 (python-check-buffer-name, python-eldoc-setup-code)
5966 (python-eldoc-string-code, python-ffap-setup-code)
5967 (python-ffap-string-code, python-fill-comment-function)
5968 (python-fill-decorator-function, python-fill-paren-function)
5969 (python-fill-string-function, python-imenu-include-defun-type)
5970 (python-imenu-make-tree, python-imenu-subtree-root-label)
5971 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5972 (python-shell-compilation-regexp-alist)
5973 (python-shell-completion-module-string-code)
5974 (python-shell-completion-pdb-string-code)
5975 (python-shell-completion-setup-code)
5976 (python-shell-completion-string-code)
5977 (python-shell-enable-font-lock, python-shell-exec-path)
5978 (python-shell-extra-pythonpaths)
5979 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5980 (python-shell-process-environment)
5981 (python-shell-prompt-block-regexp)
5982 (python-shell-prompt-output-regexp)
5983 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5984 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5985 (python-shell-virtualenv-path): New defcustoms.
5986 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5987 (inferior-python-mode-syntax-table, python--prompt-regexp)
5988 (python-buffer, python-command python-python-command)
5989 (python-default-template, python-imports, python-indent-index)
5990 (python-indent-list, python-indent-list-length)
5991 (python-mode-running, python-pdbtrack-is-tracking-p)
5992 (python-preoutput-continuation, python-preoutput-leftover)
5993 (python-preoutput-result, python-preoutput-skip-next-prompt)
5994 (python-prev-dir/file, python-recursing)
5995 (python-saved-check-command, python-version-checked)
5996 (python-which-func-length-limit)
5997 (view-return-to-alist): Delete vars.
5998 (python-check-custom-command, python-dotty-syntax-table)
5999 (python-imenu-index-alist, python-indent-current-level)
6000 (python-indent-dedenters, python-indent-levels)
6001 (python-nav-beginning-of-defun-regexp)
6002 (python-nav-list-defun-positions-cache)
6003 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6004 (python-shell-internal-buffer)
6005 (python-skeleton-available): New vars.
6006 (def-python-skeleton): Delete macro.
6007 (python-skeleton-define): New macro.
6008 (python-define-auxiliary-skeleton, python-rx): New macros.
6009 (python-insert-class): Delete command.
6010 (python-skeleton-class): New command.
6011 (python-insert-def): Delete command.
6012 (python-skeleton-def): New command.
6013 (python-insert-for): Delete command.
6014 (python-skeleton-for): New command.
6015 (python-insert-if): Delete command.
6016 (python-skeleton-if): New command.
6017 (python-insert-try/except, python-insert-try/finally): Delete commands.
6018 (python-skeleton-try): New command.
6019 (python-insert-while): Delete command.
6020 (python-skeleton-while): New command.
6021 (python-backspace): Delete command.
6022 (python-indent-dedent-line-backspace): New command.
6023 (python-electric-colon): Delete command.
6024 (python-indent-electric-colon): New command.
6025 (python-guess-indent): Delete command.
6026 (python-indent-guess-indent-offset): New command.
6027 (python-shift-left): Delete command.
6028 (python-indent-shift-left): New command.
6029 (python-shift-right): Delete command.
6030 (python-indent-shift-right): New command.
6031 (python-find-function): Delete command.
6032 (python-nav-jump-to-defun): New command.
6033 (python-next-statement): Delete command.
6034 (python-nav-forward-sentence): New command.
6035 (python-previous-statement): Delete command.
6036 (python-nav-backward-sentence): New command.
6037 (python-fill-paragraph): Delete command.
6038 (python-fill-paragraph-function): New command.
6039 (python-send-buffer): Delete command.
6040 (python-shell-send-buffer): New command.
6041 (python-send-defun): Delete command.
6042 (python-shell-send-defun): New command.
6043 (python-send-region, python-send-region-and-go): Delete commands.
6044 (python-shell-send-region)
6045 (python-shell-switch-to-shell): New commands.
6046 (python-send-string): Delete command.
6047 (python-shell-send-string): New command.
6048 (python-switch-to-python): Delete command.
6049 (python-shell-switch-to-shell): New command.
6050 (python-describe-symbol): Delete command.
6051 (python-eldoc-at-point): New command.
6052 (python--set-prompt-regexp, python-args-to-list)
6053 (python-after-info-look, python-check-version)
6054 (python-check-comint-prompt, python-find-imports)
6055 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6056 (python-unload-function, python-expand-template)
6057 (python-maybe-jython, python-preoutput-filter)
6058 (python-pdbtrack-get-source-buffer)
6059 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6060 (python-pdbtrack-toggle-stack-tracking)
6061 (python-pdbtrack-track-stack-file, python-initial-text)
6062 (python-first-word, python-comment-line-p, python-send-command)
6063 (python-setup-brm, python-sentinel, python-set-proc)
6064 (python-skip-out, python-input-filter, python-outdent-p)
6065 (python-outline-level, python-backslash-continuation-line-p)
6066 (python-end-of-block, python-end-of-statement, python-mark-block)
6067 (python-beginning-of-block, python-beginning-of-statement)
6068 (python-blank-line-p, python-beginning-of-string)
6069 (python-open-block-statement-p): Delete functions.
6070 (python-indent-line, python-indent-line-1): Delete functions.
6071 (python-indent-line): New function.
6072 (python-indentation-levels): Delete function.
6073 (python-indent-calculate-levels): New function.
6074 (python-proc): Delete function.
6075 (python-shell-get-process): New function.
6076 (python-send-receive): Delete function.
6077 (python-shell-send-string-no-output): New function.
6078 (python-module-path): Delete function.
6079 (python-ffap-module-path): New function.
6080 (python-completion-at-point)
6081 (python-symbol-completions): Delete functions.
6082 (python-completion-complete-at-point): New function.
6083 (python-load-file): Delete function.
6084 (python-shell-send-file): New function.
6085 (python-calculate-indentation): Delete function.
6086 (python-indent-calculate-indentation): New function.
6087 (python-skip-comments/blanks): Delete function.
6088 (python-util-forward-comment): New function.
6089 (python-continuation-line-p): Delete function.
6090 (python-info-continuation-line-p): New function.
6091 (python-which-func, python-current-defun): Delete function.
6092 (python-info-current-defun): New function.
6093 (python-beginning-of-defun): Delete function.
6094 (python-nav-beginning-of-defun): New function.
6095 (python-close-block-statement-p)
6096 (python-block-end-p): Delete function.
6097 (python-info-closing-block): New function.
6098 (python-comint-output-filter-function)
6099 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6100 (python-fill-comment, python-fill-decorator, python-fill-paren)
6101 (python-fill-string, python-imenu-make-element-tree)
6102 (python-imenu-make-tree, python-imenu-tree-assoc)
6103 (python-indent-context, python-indent-dedent-line)
6104 (python-indent-line-function)
6105 (python-indent-post-self-insert-function)
6106 (python-indent-toggle-levels)
6107 (python-info-assignment-continuation-line-p)
6108 (python-info-beginning-of-backlash)
6109 (python-info-block-continuation-line-p)
6110 (python-info-closing-block-message)
6111 (python-info-line-ends-backslash-p)
6112 (python-info-looking-at-beginning-of-defun)
6113 (python-info-ppss-context, python-info-ppss-context-type)
6114 (python-nav-list-defun-positions, python-nav-read-defun)
6115 (python-nav-sentence-end, python-nav-sentence-start)
6116 (python-pdbtrack-comint-output-filter-function)
6117 (python-pdbtrack-set-tracked-buffer)
6118 (python-shell-calculate-exec-path)
6119 (python-shell-calculate-process-environment)
6120 (python-shell-completion--do-completion-at-point)
6121 (python-shell-completion--get-completions)
6122 (python-shell-completion-complete-at-point)
6123 (python-shell-completion-complete-or-indent)
6124 (python-shell-get-or-create-process)
6125 (python-shell-get-process-name)
6126 (python-shell-internal-get-or-create-process)
6127 (python-shell-internal-get-process-name)
6128 (python-shell-internal-send-string, python-shell-make-comint)
6129 (python-shell-parse-command, python-shell-send-setup-code)
6130 (python-skeleton-add-menu-items)
6131 (python-util-clone-local-variables, python-util-position)
6132 (run-python-internal, python-indentation-levels)
6133 (python-nav-beginning-of-defun)
6134 (python-completion-complete-at-point): New functions.
6135 (run-python): Change arguments. New API requirements.
6136
6137 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6140 (bug#11649).
6141
6142 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6143 (macroexp--expand-all): Use it.
6144
6145 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6146 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6147 Use `cl-function' instead.
6148
6149 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6150
6151 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6152 Suggested by Stefan Monnier while discussing bug#11657.
6153
6154 2012-06-14 Sam Steingold <sds@gnu.org>
6155
6156 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6157
6158 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6159
6160 * play/doctor.el (doctor-doc): Remove parameter and use
6161 doctor-sent instead of sent.
6162 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6163
6164 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * files.el: Require cl-lib.
6167 (file-name-non-special): Replace case -> cl-case.
6168
6169 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6170
6171 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6172 mapping from #' to function*.
6173
6174 2012-06-13 Chong Yidong <cyd@gnu.org>
6175
6176 * mouse.el (mouse-drag-track): Do not set the mark if the user
6177 releases the mouse without selecting anything (Bug#11588).
6178
6179 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6182 as well (bug#11646).
6183
6184 * loadup.el: Count byte-code functions as well.
6185
6186 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6187 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6188
6189 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6190 (bug#11649). Add cl-defun and cl-defmacro.
6191
6192 2012-06-13 Drew Adams <drew.adams@oracle.com>
6193
6194 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6195 Fix last change.
6196
6197 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6198
6199 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6200 Otherwise, it blocks in batch mode.
6201
6202 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6203
6204 * help-mode.el (bookmark-make-record-default): Declare.
6205
6206 2012-06-13 Chong Yidong <cyd@gnu.org>
6207
6208 * emacs-lisp/package.el (list-packages): Compute a list of
6209 packages that are newly-available since the last list-packages
6210 invocation.
6211 (package-menu--new-package-list): New var.
6212 (package-menu--generate, package-menu--print-info)
6213 (package-menu--status-predicate, package-menu-mark-install):
6214 Handle new status label "new".
6215
6216 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6219 conversion to backquotes.
6220
6221 2012-06-12 Chong Yidong <cyd@gnu.org>
6222
6223 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6224 Rename from gud-inhibit-global-bindings.
6225
6226 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6227
6228 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6229 hook from nxml-glyph-set-hook.
6230
6231 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6232 declaration.
6233
6234 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6235
6236 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6237 Convert to defcustom.
6238
6239 2012-06-12 Drew Adams <drew.adams@oracle.com>
6240
6241 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6242 New functions.
6243 (help-mode): Use them.
6244
6245 2012-06-11 Glenn Morris <rgm@gnu.org>
6246
6247 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6248 Use preprocessor face for directives.
6249 (fortran-directive-re): Doc fix.
6250
6251 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6254 conversion to backquotes (bug#11652).
6255
6256 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6257 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6258 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6259 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6260 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6261 (cl-ninth, cl-tenth): Mark them as inlinable.
6262 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6263 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6264 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6265 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6266 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6267 (cl-list*, cl-adjoin): Don't put an autoload manually.
6268 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6269 (cl--compiler-macro-list*): Add autoload cookie.
6270 (cl--compiler-macro-cXXr): New function.
6271
6272 * help-fns.el (help-fns--compiler-macro): New function extracted from
6273 describe-function-1; follow aliases and use `compiler-macro' property.
6274 (describe-function-1): Use it.
6275
6276 2012-06-11 Chong Yidong <cyd@gnu.org>
6277
6278 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6279 is uninstalled, if imagemagick is installed.
6280
6281 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/cl-lib.el: Use lexical-binding.
6284 (cl-map-extents, cl-maclisp-member): Remove.
6285 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6286 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6287 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6288 * emacs-lisp/cl-extra.el: Use lexical-binding.
6289 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6290 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6291 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6292 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6293 * emacs-lisp/cl-seq.el: Use lexical-binding.
6294 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6295 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6296 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6297 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6298 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6299 CL's internals.
6300
6301 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6302
6303 Sync with Tramp 2.2.6-pre.
6304
6305 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6306 `print-length' and `print-level' to nil, in order to avoid
6307 truncation. Reported by Christopher Schmidt
6308 <christopher@ristopher.com>.
6309
6310 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6311
6312 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6313 New defmacro.
6314 (tramp-compat-copy-directory): Add optional argument
6315 COPY-CONTENTS. It is not handled yet.
6316
6317 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6318 (tramp-ftp-file-name-p): Simplify.
6319
6320 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6321 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6322 connection vector.
6323
6324 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6325 (tramp-methods): Do not use `tramp-password-end-of-line'.
6326 (tramp-completion-function-alist-putty): Handle UNIX case.
6327 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6328 (tramp-do-file-attributes-with-stat)
6329 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6330 gid as real numbers. They could run out of integer range on cygwin.
6331 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6332 (tramp-sh-handle-expand-file-name): Handle hops.
6333 (tramp-open-connection-setup-interactive-shell):
6334 Use `tramp-cleanup'. Move check for busyboxes ...
6335 (tramp-find-shell): ... here. Simplify implementation.
6336 Set "remote-shell" property also for alternative shells.
6337 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6338 If failing, a regular file would be written otherwise.
6339 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6340 (tramp-find-inline-encoding): Cache the coding commands in the
6341 process cache. Apply test command on the remote side, if defined.
6342 (tramp-find-inline-compress): Cache the compress commands in the
6343 process cache.
6344 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6345 when requested. Handle hops.
6346 (tramp-current-connection): New defvar.
6347 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6348 Throw `suppress', if there was a failed connection shortly before.
6349 Handle user interrupt. (Bug#10187)
6350 (tramp-get-inline-compress, tramp-get-inline-coding):
6351 Read connection properties from the process cache.
6352
6353 * net/tramp-smb.el (tramp-smb-server-version)
6354 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6355 New defconsts.
6356 (tramp-smb-prompt): Extend for powershell prompt.
6357 (tramp-smb-file-name-handler-alist): Add handlers for
6358 `process-file', `shell-command' and `start-file-process'.
6359 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6360 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6361 (tramp-smb-file-name-p): Simplify.
6362 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6363 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6364 (tramp-smb-shell-quote-argument): New defuns.
6365 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6366 Implement using "tar". By this, time-stamps are preserved.
6367 (tramp-smb-handle-copy-file): Handle also the case of directories.
6368 (tramp-smb-do-file-attributes-with-stat)
6369 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6370 Use `tramp-get-connection-buffer').
6371 (tramp-smb-handle-rename-file): Use "rename", when source and
6372 target are on the same share.
6373 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6374 Use `tramp-smb-server-version'.
6375 (tramp-smb-wait-for-output): Remove prompt.
6376
6377 * net/tramp.el (top): Require 'cl.
6378 (tramp-methods, tramp-rsh-end-of-line):
6379 Remove `tramp-password-end-of-line' from docstring.
6380 (tramp-save-ad-hoc-proxies): New defcustom.
6381 (tramp-completion-function-alist): Adapt docstring.
6382 (tramp-default-password-end-of-line): Remove defcustom.
6383 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6384 (tramp-user-regexp, tramp-file-name-regexp-unified)
6385 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6386 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6387 (tramp-remote-file-name-spec-regexp): New defconst.
6388 (tramp-file-name-structure): Extend structure for hops.
6389 (tramp-get-method-parameter): Move up.
6390 (tramp-file-name-p, tramp-dissect-file-name)
6391 (with-parsed-tramp-file-name): Handle hops.
6392 (tramp-file-name-hop): New defun.
6393 (tramp-make-tramp-file-name): New optional arg HOP.
6394 (tramp-message-show-progress-reporter-message): New defvar.
6395 (tramp-with-progress-reporter): Use it. We cannot use
6396 `tramp-message-show-message' here, because this suppresses also
6397 error buffers.
6398 (tramp-error-with-buffer): Suppress buffer view, if
6399 `tramp-message-show-message' is nil.
6400 Use `tramp-get-connection-buffer'.
6401 (tramp-cleanup): New defun.
6402 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6403 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6404 an error unchanged.
6405 (tramp-completion-handle-file-name-all-completions): Handle hops.
6406 Fix an error when called from ido.
6407 (tramp-completion-dissect-file-name): Use better local variable
6408 name. Add hop to the vector.
6409 (tramp-handle-insert-file-contents): Use progress-reporter for the
6410 whole scenario.
6411 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6412 to `t'.
6413 (tramp-check-for-regexp): Simplify search.
6414 (tramp-enter-password): Remove it. Move implementation ...
6415 (tramp-action-password): ... here.
6416 (tramp-mode-string-to-int, tramp-local-host-p)
6417 (tramp-make-tramp-temp-file, tramp-read-passwd)
6418 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6419 Set tramp-autoload cookie.
6420
6421 * net/trampver.el: Update release number.
6422
6423 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6424 Michael Albinus <michael.albinus@gmx.de>
6425
6426 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6427 (tramp-parse-group, tramp-parse-file)
6428 (tramp-parse-shostkeys-sknownhosts): New defuns.
6429 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6430 (tramp-parse-shosts-group, tramp-parse-sconfig)
6431 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6432 (tramp-parse-sknownhosts, tramp-parse-hosts)
6433 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6434 Use them.
6435 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6436 (tramp-parse-putty-group): Don't narrow.
6437 (tramp-parse-putty): Make a loop.
6438 (tramp-file-name-handler): Catch the `suppress' signal.
6439
6440 2012-06-11 Chong Yidong <cyd@gnu.org>
6441
6442 * image.el (imagemagick-register-types): Put the ImageMagick entry
6443 at the end of image-type-file-name-regexps.
6444
6445 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6446
6447 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6448 (pcase, pcase-let*, pcase-dolist): Use them.
6449
6450 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/pcase.el (pcase--let*): New function.
6453 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6454 (pcase--expand): Use macroexp-let².
6455
6456 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6459 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6460 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6461 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6462 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6463 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6464
6465 2012-06-10 Glenn Morris <rgm@gnu.org>
6466
6467 * mail/rmail.el (rmail-yank-current-message): Leave point at
6468 correct position. (Bug#11660)
6469
6470 2012-06-10 Chong Yidong <cyd@gnu.org>
6471
6472 * allout-widgets.el: Fix code header.
6473
6474 2012-06-10 Chong Yidong <cyd@gnu.org>
6475
6476 * cus-edit.el (customize-changed-options-previous-release):
6477 Bump to 24.1.
6478
6479 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6480
6481 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6482
6483 2012-06-09 Chong Yidong <cyd@gnu.org>
6484
6485 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6486
6487 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6488
6489 * window.el (special-display-popup-frame): Don't use
6490 window--display-buffer (Bug#11651).
6491
6492 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6493
6494 Fix parallel builds: make sure loaddefs.el is not being written
6495 while Lisp files are compiled.
6496 (compile): Don't depend on 'mh-autoloads'.
6497 (compile-CMD, compile-SH): Depend on 'autoloads'.
6498 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6499
6500 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6501
6502 2012-06-09 Chong Yidong <cyd@gnu.org>
6503
6504 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6505 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6506 Doc fixes (Bug#11225).
6507
6508 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6511 a function if there's a clear indication that it has a compiler-macro.
6512 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6513 (macro-declarations-alist): Add arglist to declaration functions.
6514 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6515 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6516 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6517 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6518 Also add autoload to find the compiler macro.
6519 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6520 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6521 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6522 (cl--compiler-macro-get): New functions, replacing calls to
6523 cl-define-compiler-macro.
6524 (cl-typep) [compiler-macro]: Use macroexp-let².
6525
6526 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6527
6528 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6529 string properly, fixes Bug#11473.
6530
6531 2012-06-08 Chong Yidong <cyd@gnu.org>
6532
6533 * faces.el (set-face-attribute): Doc fix.
6534 (modify-face): Don't use :bold and :italic.
6535 (error, warning, success): Tweak definitions.
6536
6537 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6538 (custom-modified, custom-set, custom-changed, custom-themed)
6539 (custom-saved, custom-button, custom-button-mouse)
6540 (custom-button-pressed, custom-state, custom-comment-tag)
6541 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6542 (custom-group-subtitle): Use new-style face specs.
6543 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6544 (custom-set-face, custom-changed-face, custom-saved-face)
6545 (custom-button-face, custom-button-pressed-face)
6546 (custom-documentation-face, custom-state-face)
6547 (custom-comment-face, custom-comment-tag-face)
6548 (custom-variable-tag-face, custom-variable-button-face)
6549 (custom-face-tag-face, custom-group-tag-face-1)
6550 (custom-group-tag-face): Remove obsolete face alias.
6551
6552 * epa.el (epa-validity-high, epa-validity-medium)
6553 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6554 (epa-field-name, epa-field-body):
6555 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6556 (font-lock-keyword-face, font-lock-builtin-face)
6557 (font-lock-function-name-face, font-lock-variable-name-face)
6558 (font-lock-type-face, font-lock-constant-face):
6559 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6560 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6561 * speedbar.el (speedbar-button-face, speedbar-file-face)
6562 (speedbar-directory-face, speedbar-tag-face)
6563 (speedbar-selected-face, speedbar-highlight-face)
6564 (speedbar-separator-face):
6565 * whitespace.el (whitespace-newline, whitespace-space)
6566 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6567 (whitespace-line, whitespace-space-before-tab)
6568 (whitespace-space-after-tab, whitespace-indentation)
6569 (whitespace-empty):
6570 * emulation/cua-base.el (cua-global-mark):
6571 * eshell/em-prompt.el (eshell-prompt):
6572 * net/newst-plainview.el (newsticker-new-item-face)
6573 (newsticker-old-item-face, newsticker-immortal-item-face)
6574 (newsticker-obsolete-item-face, newsticker-date-face)
6575 (newsticker-statistics-face, newsticker-default-face):
6576 * net/newst-reader.el (newsticker-feed-face)
6577 (newsticker-extra-face, newsticker-enclosure-face):
6578 * net/newst-treeview.el (newsticker-treeview-face)
6579 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6580 (newsticker-treeview-immortal-face)
6581 (newsticker-treeview-obsolete-face)
6582 (newsticker-treeview-selection-face):
6583 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6584 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6585 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6586 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6587 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6588 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6589 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6590 (mpuz-text):
6591 * progmodes/vera-mode.el (vera-font-lock-number)
6592 (vera-font-lock-function, vera-font-lock-interface):
6593 * textmodes/table.el (table-cell): Use new-style face specs, and
6594 don't use the old :bold and :italic attributes.
6595
6596 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6597 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6598 (ebrowse-member-class, ebrowse-progress): Likewise.
6599 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6600 (ebrowse-file-name-face, ebrowse-default-face)
6601 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6602 (ebrowse-progress-face): Remove obsolete faces.
6603
6604 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6605 Inherit from error and warning faces respectively.
6606
6607 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6608 Likewise.
6609 (flyspell-incorrect-face, flyspell-duplicate-face):
6610 Remove obsolete aliases.
6611
6612 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6613
6614 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6615 Avoid infloop.
6616
6617 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * startup.el (argv, argi): Make lexically scoped.
6620 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6621 * emacs-lisp/cl-macs.el: Use lexical-binding.
6622 Rename cl-bind-* to cl--bind-*.
6623 * files.el: Don't require `cl' since it doesn't use it.
6624 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6625
6626 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6629 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6630 instead of calling external sort utility.
6631 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6632
6633 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6634
6635 * descr-text.el (describe-char): Mention how to insert the
6636 character, if the current input method doesn't support it.
6637 See the discussion in this thread for the details:
6638 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6639
6640 2012-06-08 Sam Steingold <sds@gnu.org>
6641
6642 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6643 XF86Back to previous-buffer.
6644 (minibuffer-local-map): Bind them to next-history-element and
6645 previous-history-element respectively.
6646 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6647 help-go-back respectively.
6648 * info.el (Info-mode-map): Bind them to Info-history-forward and
6649 Info-history-back respectively.
6650 These are the keys next to Up on the ThinkPad keyboard.
6651
6652 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6655 * emacs-lisp/cl-macs.el: Provide itself.
6656 (cl--labels-convert-cache): New var.
6657 (cl--labels-convert): New function.
6658 (cl-flet, cl-labels): New implementation with new semantics, relying on
6659 lexical-binding.
6660 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6661 (cl-closure-vars, cl--function-convert-cache)
6662 (cl--function-convert): Move from cl-macs.el.
6663 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6664 rename by removing the "cl-" prefix.
6665 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6666
6667 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6670 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6671 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6672 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6673 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6674 (cl-hash-table-count): Add old compatibility aliases.
6675
6676 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6677 Use macroexpand-all-environment instead.
6678 (cl--old-macroexpand): New var.
6679 (cl--sm-macroexpand): New function.
6680 (cl-symbol-macrolet): Use it during macro expansion.
6681 (cl--function-convert-cache): New var.
6682 (cl--function-convert): New function, extracted from
6683 cl-macroexpand-all.
6684 (cl-lexical-let): Use it.
6685
6686 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6687 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6688 (cl-member): Remove old alias.
6689
6690 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6691 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6692 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6693 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6694 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6695 (cl-macroexpand-cmacs): Remove var.
6696 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6697 Use macroexpand-all instead.
6698
6699 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6702 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6703 (macroexp-copyable-p): New functions and macros.
6704 * emacs-lisp/edebug.el (edebug-unwrap):
6705 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6706 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6707 (pcase--let*): Remove.
6708 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6709 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6710 macroexp-const-p instead.
6711 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6712
6713 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6714 instead of "cl-" for internal definitions. Use macroexp-const-p.
6715 (cl-old-bc-file-form): Remove var.
6716 (cl-const-exprs-p): Remove fun.
6717 (cl-labels, cl-macrolet): Use backquote.
6718 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6719 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6720 (cl-define-setf-expander): Rename from cl-define-setf-method.
6721 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6722
6723 * international/mule-cmds.el: Don't require CL.
6724 (view-hello-file): Don't use `letf'.
6725
6726 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * tmm.el (tmm-prompt): Use string-prefix-p.
6729 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6730 (tmm-add-prompt): Use minibuffer-completion-help.
6731 (tmm-delete-map): Remove.
6732
6733 * subr.el (kbd): Make it its own function.
6734
6735 2012-06-07 Stefan Merten <smerten@oekonux.de>
6736
6737 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6738 Silence compiler warnings. Fix versions.
6739 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6740 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6741 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6742 (rst-package-emacs-version-alist): Correct Emacs version to
6743 represent major merge with upstream.
6744 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6745
6746 2012-06-06 Glenn Morris <rgm@gnu.org>
6747
6748 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6749 Only print environment variables if set.
6750
6751 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6754 (macroexp--cons): Rename from maybe-cons.
6755 (macroexp--accumulate): Rename from macroexp-accumulate.
6756 (macroexp--all-forms): Rename from macroexpand-all-forms.
6757 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6758 (macroexp--expand-all): Rename from macroexpand-all-1.
6759
6760 2012-06-06 Sam Steingold <sds@gnu.org>
6761
6762 * calendar/calendar.el (calendar-in-read-only-buffer):
6763 Call `special-mode' to enable the standard read-only keybindings.
6764
6765 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6768 with "loading" messages (bug#11635).
6769
6770 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6771
6772 * files.el (enable-remote-dir-locals): New option.
6773 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6774
6775 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6776 Ensure, that the temp directory is local.
6777
6778 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6779 `temporary-file-directory'.
6780
6781 * progmodes/python.el (python-send-region): Ensure, that the
6782 temporary file is created also in the remote case.
6783
6784 2012-06-06 Glenn Morris <rgm@gnu.org>
6785
6786 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6787 (vc-rcs-update-changelog): Use it.
6788
6789 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6790
6791 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6792 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6793 (vc-sccs-diff): Replace use of the external vcdiff script.
6794
6795 2012-06-05 Glenn Morris <rgm@gnu.org>
6796
6797 * ledit.el: Move to obsolete/.
6798
6799 2012-06-05 Sam Steingold <sds@gnu.org>
6800
6801 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6802 patch (Bug#11140).
6803
6804 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * emacs-lisp/cust-print.el: Move to obsolete.
6807
6808 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6809 compiler-macro expansion.
6810
6811 Add native compiler-macro support.
6812 * emacs-lisp/macroexp.el (macroexpand-all-1):
6813 Support compiler-macros directly. Properly follow aliases and apply
6814 the compiler macros more thoroughly.
6815 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6816 macroexpand now properly follows aliases.
6817 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6818 (cl-compiler-macroexpand): Use new prop.
6819 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6820
6821 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6822
6823 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6824
6825 * window.el (get-lru-window, get-mru-window, get-largest-window):
6826 New argument NOT-SELECTED to avoid picking the selected window.
6827 (window--display-buffer-1, window--display-buffer-2): Replace by
6828 new function window--display-buffer
6829 (display-buffer-same-window, display-buffer-reuse-window)
6830 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6831 Use window--display-buffer.
6832 (display-buffer-use-some-window): Remove temporary dedication
6833 hack by calling get-lru-window and get-largest-window with
6834 NOT-SELECTED argument non-nil. Call window--display-buffer.
6835
6836 2012-06-05 Glenn Morris <rgm@gnu.org>
6837
6838 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6839 Replace external vcdiff script.
6840
6841 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6844
6845 2012-06-04 Chong Yidong <cyd@gnu.org>
6846
6847 * image.el (imagemagick-types-inhibit): Revert last change.
6848 Add INFO and M.
6849 (imagemagick-enabled-types): Remove CIN and EPS*.
6850
6851 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * emacs-lisp/cl-lib.el: Rename from cl.el.
6854 * emacs-lisp/cl.el: New compatibility file.
6855 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6856 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6857 to obey the "cl-" prefix.
6858 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6859
6860 2012-06-03 Glenn Morris <rgm@gnu.org>
6861
6862 * emacs-lisp/authors.el (authors-aliases): Addition.
6863
6864 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6865 Fix :version.
6866
6867 2012-06-03 Stefan Merten <smerten@oekonux.de>
6868
6869 * textmodes/rst.el: Add comments.
6870 (rst-transition, rst-adornment): New faces.
6871 (rst-adornment-faces-alist): Make default safe to reevaluate.
6872 Fixes
6873 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6874 Improve customization tags.
6875 (rst-define-level-faces): Clarify meaning.
6876
6877 2012-06-03 Chong Yidong <cyd@gnu.org>
6878
6879 * progmodes/compile.el (compilation-mode-line-fail)
6880 (compilation-mode-line-run, compilation-mode-line-exit):
6881 New faces.
6882 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6883
6884 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6885
6886 * progmodes/which-func.el (which-func-update-ediff-windows):
6887 New function. Use it in ediff-select-hook (Bug#11478).
6888
6889 2012-06-03 Chong Yidong <cyd@gnu.org>
6890
6891 * bindings.el: Remove explicit help text from format-mode-line.
6892 It is now supplied by mode-line-default-help-echo.
6893 (mode-line-front-space, mode-line-end-spaces)
6894 (mode-line-misc-info): New variables.
6895 (mode-line-modes, mode-line-position): Move the default value to
6896 the variable definition.
6897 (mode-line-default-help-echo): New defcustom.
6898 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6899 (mode-line-modified-help-echo): New functions.
6900 (mode-line-mule-info, mode-line-modified): Use them.
6901 (mode-line-eol-desc, propertized-buffer-identification):
6902 Consistency fixes for help text.
6903 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6904 set-buffer-file-coding-system (Bug#289).
6905 (mode-line-mule-info-help-echo): Update help text.
6906
6907 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * simple.el (execute-extended-command): Set real-this-command
6910 (bug#11506).
6911
6912 2012-06-02 Chong Yidong <cyd@gnu.org>
6913
6914 Remove incorrect uses of "modeline" in comments, docstrings, and
6915 function/variable names (Bug#10329).
6916
6917 * cus-edit.el (mode-line):
6918 * dframe.el (dframe-mouse-hscroll):
6919 * emacs-lisp/re-builder.el:
6920 * emacs-lisp/easy-mmode.el (define-minor-mode):
6921 * frame.el (set-frame-name):
6922 * help.el (lookup-minor-mode-from-indicator):
6923 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6924 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6925 (c-toggle-hungry-state):
6926 * progmodes/antlr-mode.el (antlr-language-alist):
6927 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6928 * progmodes/vhdl-mode.el (vhdl-mode):
6929 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6930 * term/ns-win.el (ns-face-at-pos):
6931 * term/sup-mouse.el (sup-mouse-report):
6932 * textmodes/flyspell.el (flyspell-mode-line-string):
6933 * textmodes/ispell.el (ispell-highlight-face):
6934 * textmodes/reftex-global.el:
6935 * vc/vc-arch.el (vc-arch-mode-line-string):
6936 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6937 * vc/vc-git.el (vc-git-mode-line-string):
6938 * vc/vc-hooks.el (vc-display-status)
6939 (vc-default-mode-line-string):
6940 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6941
6942 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6943
6944 * dired.el (dired-sort-set-mode-line): Rename from
6945 dired-sort-set-modeline. All callers changed.
6946
6947 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6948 eshell-status-in-modeline.
6949
6950 * foldout.el (foldout-mode-line-string): Rename from
6951 foldout-modeline-string. All callers changed.
6952 (foldout-update-mode-line): Rename from foldout-update-modeline.
6953
6954 * subr.el (redraw-modeline): Make into obsolete alias.
6955
6956 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6957 timeclock-modeline-display. Make old name an alias.
6958 (timeclock-update-mode-line): Likewise. All callers changed.
6959 (timeclock-mode-line-display): No need to check before using
6960 add-hook.
6961 (timeclock-relative, timeclock-day-over-hook)
6962 (timeclock-use-elapsed, timeclock-mode-string)
6963 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6964
6965 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6966 crisp-mode-modeline-string.
6967
6968 * play/solitaire.el (solitaire-build-mode-line): Rename from
6969 solitaire-build-modeline. All callers changed.
6970
6971 * play/zone.el (zone-hiding-mode-line): Rename from
6972 zone-hiding-modeline. All callers changed.
6973 (zone): Remove unusued `modeline-hidden-level' property.
6974
6975 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6976 xscheme-modeline-initialize. All callers changed.
6977
6978 * strokes.el (strokes-lighter): Rename from
6979 strokes-modeline-string.
6980
6981 * textmodes/sgml-mode.el (html-face-tag-alist)
6982 (html-tag-face-alist): Use mode-line face instead of obsolete
6983 alias modeline.
6984
6985 2012-06-02 Stefan Merten <smerten@oekonux.de>
6986
6987 * textmodes/rst.el: Always require `cl'.
6988 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6989
6990 2012-06-02 Chong Yidong <cyd@gnu.org>
6991
6992 * image.el (imagemagick-enabled-types): Rename from
6993 imagemagick-types-enable. Add many more types.
6994 (imagemagick-types-inhibit): Change default to nil.
6995 (imagemagick-filter-types): Caller changed.
6996
6997 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * emacs-lisp/cl-macs.el: Use backquotes.
7000 (cl-transform-function-property): Use eval-and-compile rather than
7001 abusing `require'.
7002 (defstruct): Use declare-function instead of with-no-warnings.
7003
7004 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7005 (byte-compile-output-docform): Re-add the print-circle bindings.
7006 (byte-compile-fix-header): Use #$ just because it's shorter.
7007 (byte-compile-output-file-form): Remove defun/defmacro.
7008
7009 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7010
7011 * simple.el (choose-completion): Remove now obsolete binding for
7012 owindow.
7013
7014 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7015
7016 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7017 in order to avoid "Stack overflow in regexp matcher".
7018
7019 2012-05-31 Glenn Morris <rgm@gnu.org>
7020
7021 * image.el: For clarity, call imagemagick-register-types at
7022 top-level, rather than relying on a custom :initialize.
7023 (imagemagick-types-enable): New option. (Bug#11557)
7024 (imagemagick-filter-types): New function. (Bug#7406)
7025 (imagemagick-register-types): Use imagemagick-filter-types.
7026 If disabling support, remove elements altogether rather
7027 than using an impossible regexp.
7028 (imagemagick-types-inhibit): Give it the default init function.
7029
7030 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7033 Handle arbitrary file name lengths (Bug#11585).
7034
7035 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7036
7037 * desktop.el (desktop-read): Clear previous and next buffers for
7038 all windows and bury *Messages* buffer (bug#11556).
7039
7040 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 Add `declare' for `defun'. Align `defmacro's with it.
7043 * emacs-lisp/easy-mmode.el (define-minor-mode)
7044 (define-globalized-minor-mode): Don't autoload the var definitions.
7045 * emacs-lisp/byte-run.el: Use lexical-binding.
7046 (defun-declarations-alist, macro-declarations-alist): New vars.
7047 (defmacro, defun): Use them.
7048 (make-obsolete, define-obsolete-function-alias)
7049 (make-obsolete-variable, define-obsolete-variable-alias):
7050 Use `declare'.
7051 (macro-declaration-function): Mark obsolete.
7052 * emacs-lisp/autoload.el: Use lexical-binding.
7053 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7054
7055 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7056
7057 * textmodes/ispell.el (ispell-with-no-warnings):
7058 Define as a macro.
7059 (ispell-kill-ispell, ispell-change-dictionary):
7060 Use `called-interactively-p' for Emacs instead of obsolete
7061 `interactive-p'.
7062
7063 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7064
7065 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7066 (macro-declaration-function): Move var from C code.
7067 (macro-declaration-function): Define function with defalias.
7068 * emacs-lisp/macroexp.el (macroexpand-all-1):
7069 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7070 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7071 defun/defmacro any more.
7072 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7073 Provide fallback for unknown arglist.
7074 (byte-compile-arglist-warn): Change calling convention.
7075 (byte-compile-output-file-form): Move print-vars binding.
7076 (byte-compile-output-docform): Simplify accordingly.
7077 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7078 (byte-compile-defmacro-declaration): Remove.
7079 (byte-compile-file-form-defmumble): Generalize to defalias.
7080 (byte-compile-output-as-comment): Return byte-positions.
7081 Simplify callers accordingly.
7082 (byte-compile-lambda): Use `assert'.
7083 (byte-compile-defun, byte-compile-defmacro): Remove.
7084 (byte-compile-file-form-defalias):
7085 Use byte-compile-file-form-defmumble.
7086 (byte-compile-defalias-warn): Remove.
7087
7088 2012-05-29 Stefan Merten <smerten@oekonux.de>
7089
7090 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7091 possible. Fix authors. Improve comments. Improve loading of `cl'.
7092
7093 (rst-mode-abbrev-table): Merge definition.
7094 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7095 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7096
7097 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7098
7099 * calendar/icalendar.el
7100 (icalendar-export-region): Export UID properly.
7101
7102 2012-05-29 Leo Liu <sdl.web@gmail.com>
7103 * calendar/icalendar.el (icalendar-import-format):
7104 Add `icalendar-import-format-uid' (Bug#11525).
7105 (icalendar-import-format-uid): New.
7106 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7107 Export UID.
7108
7109 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7112 different alternative patterns.
7113 (pcase-codegen): Be more careful to preserve identity.
7114 (pcase--u1): Don't forget to mark vars as used.
7115
7116 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7117 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7118 (byte-compile-from-buffer): ...rather than here.
7119
7120 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7121 functions from byte-compile-function-environment.
7122
7123 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7124
7125 * window.el (window-deletable-p): Avoid deleting the root window
7126 of a frame with an active minibuffer.
7127
7128 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7129
7130 * simple.el (choose-completion): Use quit-window (Bug#11567).
7131
7132 2012-05-29 Chong Yidong <cyd@gnu.org>
7133
7134 * whitespace.el (whitespace-cleanup): Fix usage of
7135 whitespace-empty-at-bob-regexp (Bug#11492).
7136
7137 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7138
7139 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7140 revert (Bug#11488).
7141
7142 2012-05-29 Juri Linkov <juri@jurta.org>
7143
7144 * isearch.el (isearch-mode-map): Bind `M-s _' to
7145 `isearch-toggle-symbol'. Bind `M-s c' to
7146 `isearch-toggle-case-fold'.
7147 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7148 (isearch-forward): Add `M-s _' to the docstring.
7149 (isearch-forward-symbol, isearch-toggle-case-fold)
7150 (isearch-symbol-regexp): New functions. (Bug#11381)
7151
7152 2012-05-29 Juri Linkov <juri@jurta.org>
7153
7154 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7155 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7156 a function, call it to get the regexp.
7157 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7158 property `isearch-message-prefix' instead of the string "word ".
7159 (isearch-search-fun-default): For the case of `isearch-word',
7160 return a lambda that calls re-search-forward/re-search-backward
7161 with a regexp returned by `word-search-regexp' or by the function
7162 in `isearch-word'.
7163
7164 2012-05-29 Juri Linkov <juri@jurta.org>
7165
7166 * isearch.el (isearch-search-fun-default): New function.
7167 (isearch-search-fun): Move default part to the new function
7168 `isearch-search-fun-default'.
7169 (isearch-search-fun-function): Set the default value to
7170 `isearch-search-fun-default'. (Bug#11381)
7171
7172 * comint.el (comint-history-isearch-end):
7173 Use `isearch-search-fun-default'.
7174 (comint-history-isearch-search): Use `isearch-search-fun-default'
7175 and remove spacial case for `isearch-word'.
7176 (comint-history-isearch-wrap): Remove spacial case for
7177 `isearch-word'.
7178
7179 * hexl.el (hexl-isearch-search-function):
7180 Use `isearch-search-fun-default'.
7181
7182 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7183 Use `word-search-regexp' for `isearch-word'.
7184
7185 * misearch.el (multi-isearch-search-fun):
7186 Use `isearch-search-fun-default'.
7187
7188 * simple.el (minibuffer-history-isearch-search):
7189 Use `isearch-search-fun-default' and remove spacial case for
7190 `isearch-word'.
7191 (minibuffer-history-isearch-wrap): Remove spacial case for
7192 `isearch-word'.
7193
7194 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7195 Remove spacial case for `isearch-word'.
7196 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7197
7198 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7199
7200 Decrease XEmacs incompatibilities.
7201 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7202 Use `string-match'.
7203 (flyspell-delete-region-overlays): Use alternative definition for
7204 XEmacs.
7205 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7206 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7207 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7208 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7209 `define-obsolete-face-alias' under XEmacs, but old method.
7210
7211 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7212 `with-no-warnings' definition or Emacs alias.
7213 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7214 (ispell-word): Do not use `region-p' if XEmacs.
7215
7216 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7217
7218 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7219 Check for `ispell-dictionary-base-alist' instead of full
7220 `ispell-dictionary-alist'.
7221 (ispell-init-process): Show spellchecker when starting new Ispell
7222 process.
7223
7224 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7227 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7228
7229 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7230
7231 * version.el (motif-version-string, gtk-version-string)
7232 (ns-version-string): Declare.
7233
7234 2012-05-27 Juri Linkov <juri@jurta.org>
7235
7236 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7237 after the `eval-defun-1' specialcaseing
7238 like in `edebug-eval-defun' (bug#10181).
7239
7240 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7241 like in `eval-defun-1'.
7242
7243 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7244
7245 * mail/sendmail.el (mail-yank-region):
7246 Recognize rmail-yank-current-message in addition to insert-buffer.
7247 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7248 a *mail* buffer created through rmail-start-mail with sendmail as
7249 mail-user-agent.
7250
7251 2012-05-27 Chong Yidong <cyd@gnu.org>
7252
7253 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7254 Default to 256 (Bug#11267).
7255
7256 * help.el (describe-mode): Doc fix.
7257
7258 2012-05-26 Glenn Morris <rgm@gnu.org>
7259
7260 * w32-fns.el (w32-init-info): Remove.
7261 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7262
7263 * info.el (info-initialize): For self-contained NS builds, put the
7264 included info/ directory at the front. (Bug#2791)
7265
7266 * paths.el (Info-default-directory-list): Make it a defcustom,
7267 mainly so that we can use custom-initialize-delay.
7268
7269 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * subr.el (buffer-has-markers-at): Mark obsolete.
7272
7273 * subr.el (lambda): Use declare.
7274
7275 * emacs-lisp/lisp-mode.el (lambda):
7276 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7277
7278 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7279
7280 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7281
7282 2012-05-26 Glenn Morris <rgm@gnu.org>
7283
7284 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7285
7286 2012-05-25 Glenn Morris <rgm@gnu.org>
7287
7288 * paths.el: Remove no-byte-compile.
7289 * loadup.el: No need to load paths.el uncompiled.
7290
7291 * image.el (imagemagick-types-inhibit): Doc fix.
7292
7293 * version.el: Remove no-byte-compile and associated formatting.
7294 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7295 is ancient code from when there was an "inc-vers.el".
7296
7297 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * progmodes/gdb-mi.el: Minor style changes.
7300 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7301 Turn into minor modes.
7302 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7303 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7304 (gdb-shell): Remove unneeded let-binding.
7305 (gdb-get-many-fields): Eliminate O(n²) behavior.
7306
7307 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7308
7309 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7310 platforms that don't link in fontset.c.
7311
7312 2012-05-25 Juri Linkov <juri@jurta.org>
7313
7314 Use the same diff color scheme as in modern VCSes (bug#10181).
7315
7316 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7317 to avoid confusion with `diff-added' that now uses green colors.
7318 (diff-removed): Use shades of red.
7319 (diff-added): Use shades of green.
7320 (diff-changed): Leave just the yellow color.
7321 (diff-use-changed-face): New variable.
7322 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7323 how to highlight context diff changes.
7324 (diff-refine-change): Use shades of yellow.
7325 (diff-refine-removed): New face that uses shades of red.
7326 (diff-refine-added): New face that uses shades of green.
7327 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7328 `diff-refine-removed' in the call to `smerge-refine-subst'
7329 depending on the value of `diff-use-changed-face'.
7330
7331 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7332 (smerge-other): Use shades of green.
7333 (smerge-base): Use shades of yellow.
7334 (smerge-refined-change): Empty face.
7335 (smerge-refined-removed): New face that uses shades of red.
7336 (smerge-refined-added): New face that uses shades of green.
7337 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7338 args `props-r' and `props-a', and use them. Doc fix.
7339 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7340 on its value use different faces `smerge-refined-change',
7341 `smerge-refined-removed', `smerge-refined-added' in the call to
7342 `smerge-refine-subst'.
7343
7344 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7345 Add face condition `min-colors 88' with shades of red.
7346 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7347 `min-colors 88' with shades of green.
7348 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7349 `min-colors 88' with shades of yellow.
7350
7351 2012-05-24 Glenn Morris <rgm@gnu.org>
7352
7353 * paths.el (prune-directory-list, remote-shell-program): Move to...
7354 * files.el (prune-directory-list, remote-shell-program): ...here.
7355 For the latter, delay initialization, prefer ssh, just search PATH.
7356
7357 * paths.el (term-file-prefix): Move to faces.el (the only user).
7358 * faces.el (term-file-prefix): Move here, make it a defcustom.
7359
7360 * paths.el (news-directory, news-path, news-inews-program):
7361 Move to gnus/nnspool.el.
7362
7363 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7364
7365 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7366 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7367 Make the latter a defcustom, with a delayed initialization.
7368
7369 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7370 These were deleted from Gnus itself late 2010.
7371
7372 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * progmodes/which-func.el (which-func-ff-hook):
7375 Check against user-error, not error.
7376
7377 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7378 cl-specs.el, which no longer exists.
7379
7380 2012-05-22 Glenn Morris <rgm@gnu.org>
7381
7382 * info.el (info-emacs-bug): New command.
7383 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7384 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7385
7386 2012-05-21 Glenn Morris <rgm@gnu.org>
7387
7388 * makefile.w32-in (update-subdirs-SH):
7389 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7390
7391 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7394
7395 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7396 Simplify Maven regexp, and make sure the file can't start with a space
7397 (bug#11517).
7398
7399 2012-05-21 Glenn Morris <rgm@gnu.org>
7400
7401 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7402 Scrap superfluous subshells.
7403
7404 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7407 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7408
7409 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7410
7411 * calc/calc.el (calc-ensure-consistent-units): New variable.
7412
7413 * calc/calc-units.el (math-consistent-units-p)
7414 (math-check-unit-consistency): New functions.
7415 (calc-quick-units, calc-convert-units):
7416 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7417 is non-nil.
7418 (calc-extract-units): Fix typo.
7419
7420 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7423
7424 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7425 (flyspell-default-deplacement-commands): Don't spell check after
7426 repeated window/frame switches (e.g. triggered by mouse-movement).
7427 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7428 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7429 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7430 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7431 Remove unused vars.
7432 (flyspell-get-casechars, flyspell-get-not-casechars):
7433 Simplify; Don't bother removing a ] just to add it back.
7434 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7435
7436 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7437
7438 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7439 New functions.
7440 (math-function-table): Add support for more C functions.
7441
7442 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7443
7444 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7445 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7446 Protect delay handling for otherchars against empty otherchars.
7447
7448 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7451 their respective macro declarations.
7452 * skeleton.el (define-skeleton):
7453 * progmodes/compile.el (define-compilation-mode):
7454 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7455 (define-ibuffer-filter):
7456 * emacs-lisp/generic.el (define-generic-mode):
7457 * emacs-lisp/easy-mmode.el (define-minor-mode)
7458 (define-globalized-minor-mode):
7459 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7460 * emacs-lisp/byte-run.el (defsubst):
7461 * custom.el (deftheme): Add doc-string metadata.
7462
7463 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7466
7467 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7470
7471 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7472 * emacs-lisp/cl-macs.el: Idem.
7473 * emacs-lisp/cl-specs.el: Remove.
7474
7475 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 Minor renaming of internal CL functions and variables.
7478 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7479 (cl--position): Rename from cl-position.
7480 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7481 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7482 (cl--random-state): Rename from *random-state*.
7483
7484 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7487 parens around the arg list (bug#11499).
7488
7489 2012-05-17 Juri Linkov <juri@jurta.org>
7490
7491 * isearch.el (word-search-regexp, word-search-backward)
7492 (word-search-forward, word-search-backward-lax)
7493 (word-search-forward-lax): Move functions from search.c
7494 (bug#10145, bug#11381).
7495
7496 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7497
7498 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7499 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7500 Delay for otherchars as for normal word components.
7501
7502 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * minibuffer.el (completion--sifn-requote): Fix last change.
7505 (minibuffer-local-must-match-filename-map):
7506 Move define-obsolete-variable-alias before its var.
7507
7508 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7511
7512 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7513 behavior.
7514 (completion--string-equal-p): New function.
7515 (completion--twq-all): Use it to get better assertion failure data.
7516
7517 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7518 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7519 (shell--requote-argument): New functions.
7520 (shell-completion-vars): Use them.
7521 (shell--parse-pcomplete-arguments): Rename from
7522 shell-parse-pcomplete-arguments.
7523 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7524 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7525 Obey comint-file-name-quote-list.
7526
7527 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7528 (smie-indent-keyword): Use it.
7529
7530 2012-05-14 Stefan Merten <smerten@oekonux.de>
7531
7532 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7533
7534 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * net/rlogin.el (rlogin-mode-map): Fix last change.
7537
7538 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7539
7540 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7541 the following \r\n using a single `process-send-string', since the
7542 Lotus SMTP server refuses to accept any commands if they are sent
7543 with two `process-send-string's (Bug#11444).
7544
7545 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * shell.el (shell-parse-pcomplete-arguments):
7548 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7549
7550 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7551
7552 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7553 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7554 (image-transform-width, image-transform-fit-width): New functions.
7555 (image-transform-properties): Use them.
7556 (image-transform-check-size): New function.
7557 (image-toggle-display-image): Use it (for testing).
7558 (image-transform-set-rotation): Reduce angle mod 360.
7559 Delete obsolete comment.
7560
7561 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7562
7563 * image-mode.el: Fix scaling (bug#11399).
7564 (image-transform-resize): Doc fix.
7565 (image-transform-properties): Default scale is 1 and height should
7566 be an integer.
7567
7568 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7569
7570 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7571 than hard-coding `car', to fix misbehavior when moving forward.
7572
7573 2012-05-13 Chong Yidong <cyd@gnu.org>
7574
7575 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7576 (tabulated-list-entries, tabulated-list-padding)
7577 (tabulated-list-sort-key): Make permanent-local.
7578
7579 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7580 (electric-buffer-list): Put electric buffer menu
7581 command descriptions in this docstring, instead of the docstring
7582 of electric-buffer-menu-mode. Code cleanups.
7583 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7584 Electric-buffer-menu-mode.
7585 (electric-buffer-update-highlight): Minor code cleanup.
7586
7587 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7588
7589 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7590 (Bug#11447)
7591
7592 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 Move define-obsolete-variable-alias before the var's definition.
7595 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7596 * tooltip.el (tooltip-hook):
7597 * textmodes/reftex-toc.el (reftex-toc-map):
7598 * textmodes/reftex-sel.el (reftex-select-label-map)
7599 (reftex-select-bib-map):
7600 * textmodes/reftex-index.el (reftex-index-map)
7601 (reftex-index-phrases-map):
7602 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7603 * progmodes/meta-mode.el (meta-mode-map):
7604 * novice.el (disabled-command-hook):
7605 * loadhist.el (unload-hook-features-list):
7606 * frame.el (blink-cursor):
7607 * files.el (find-file-not-found-hooks, write-file-hooks)
7608 (write-contents-hooks):
7609 * emulation/tpu-edt.el (GOLD-map):
7610 * emacs-lock.el (emacs-lock-from-exiting):
7611 * emacs-lisp/generic.el (generic-font-lock-defaults):
7612 * emacs-lisp/chart.el (chart-map):
7613 * dos-fns.el (register-name-alist):
7614 * dired-x.el (dired-omit-files-p):
7615 * desktop.el (desktop-enable):
7616 * cus-edit.el (custom-mode-hook):
7617 * buff-menu.el (buffer-menu-mode-hook):
7618 * bookmark.el (bookmark-read-annotation-text-func)
7619 (bookmark-exit-hooks):
7620 * allout.el (allout-mode-deactivate-hook)
7621 (allout-exposure-change-hook, allout-structure-added-hook)
7622 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7623 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7624 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7625 comes before the corresponding variable's definition.
7626
7627 2012-05-12 Chong Yidong <cyd@gnu.org>
7628
7629 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7630 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7631 (Buffer-menu-mode-map): Bind it.
7632 (Buffer-menu--pretty-name): Add a mouse-face property.
7633
7634 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7637 (prolog-upper-case-string, prolog-lower-case-string)
7638 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7639 (prolog-use-smie, prolog-smie-grammar): New vars.
7640 (prolog-smie-forward-token, prolog-smie-backward-token)
7641 (prolog-smie-rules): New funs.
7642 (prolog-comment-indent): Remove.
7643 (prolog-mode-variables): Use default comment indentation instead.
7644 Setup SMIE.
7645 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7646 (prolog-mode): Don't call them any more.
7647 (prolog-electric-colon, prolog-electric-dash)
7648 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7649
7650 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7651
7652 * minibuffer.el (completion--twq-all): Again, allow case differences.
7653
7654 * term.el: Move keymap initialization code to be more idiomatic.
7655 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7656 (term-terminal-menu): Move initialization into declaration.
7657 (term-escape-char): Let the user set it in her .emacs.
7658
7659 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7660 Provide SMIE-based indentation (not enabled by default yet).
7661 (sh-mode-map): Don't bind electric keys.
7662 Use electric-pair-mode instead of skeleton-pair.
7663 (sh-assignment-regexp): Fit within 80 columns.
7664 (sh-indent-supported): Specify actual shell name instead of boolean.
7665 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7666 (sh-maybe-here-document): Use it. Make obsolete.
7667 (sh-electric-here-document-mode) New minor mode.
7668 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7669 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7670 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7671 (sh-smie-rc-grammar, sh-use-smie): New vars.
7672 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7673 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7674 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7675 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7676 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7677 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7678 (sh-set-shell): Use smie-setup if requested.
7679
7680 * term.el (term-set-escape-char): Properly set term-escape-char.
7681 See http://stackoverflow.com/questions/10524656.
7682
7683 2012-05-10 Chong Yidong <cyd@gnu.org>
7684
7685 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7686 Use url-generic-parse-url, and handle host names and Windows
7687 filenames properly.
7688 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7689 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7690 URL schemes to work on.
7691 (ffap--toggle-read-only): New function.
7692 (ffap-read-only, ffap-read-only-other-window)
7693 (ffap-read-only-other-frame): Use it.
7694 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7695 necessary for ffap-url-unwrap-remote.
7696
7697 2012-05-10 Dave Abrahams <dave@boostpro.com>
7698
7699 * cus-start.el (create-lockfiles): Add it.
7700
7701 2012-05-09 Chong Yidong <cyd@gnu.org>
7702
7703 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7704 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7705
7706 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7709
7710 2012-05-09 Chong Yidong <cyd@gnu.org>
7711
7712 * ansi-color.el (ansi-color-process-output): Check for validity of
7713 comint-last-output-start before using it. This avoids a bad
7714 interaction with gdb-mi's input/output buffer.
7715
7716 2012-05-09 Glenn Morris <rgm@gnu.org>
7717
7718 * files.el (dir-locals-read-from-file):
7719 Mention dir-locals in any error message.
7720
7721 2012-05-09 Chong Yidong <cyd@gnu.org>
7722
7723 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7724 package (Bug#11410).
7725
7726 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7727 variables into description.
7728
7729 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7732 shell-delimiter-argument-list (bug#11348).
7733 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7734
7735 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7736
7737 * textmodes/rst.el: Silence byte-compiler warnings.
7738 (rst-re-alist, rst-reset-section-caches): Move around.
7739 (rst-re): Use `characterp', not `char-valid-p'.
7740 (font-lock-beg, font-lock-end): Declare.
7741
7742 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7743 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7744
7745 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7746
7747 2012-05-08 Glenn Morris <rgm@gnu.org>
7748
7749 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7750
7751 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * vc/log-edit.el: Add GNU coding standards highlighting.
7754 (log-edit-font-lock-gnu-style)
7755 (log-edit-font-lock-gnu-keywords): New vars.
7756 (log-edit-font-lock-keywords): New fun.
7757 (log-edit-mode): Don't fold case in font-lock.
7758 (log-edit-font-lock-keywords): Do not assume case-folding.
7759
7760 * imenu.el: Misc cleanup. Make docstrings out of comments.
7761 Use lexical-binding.
7762 (imenu--index-alist, imenu--last-menubar-index-alist)
7763 (imenu-menubar-modified-tick): Use defvar-local.
7764 (imenu--split-menu): Remove unused var.
7765 (imenu--cleanup-seen): Declare as global.
7766 (imenu--cleanup): Use dolist.
7767
7768 * subr.el (defvar-local): Add debug spec and doc-string position.
7769
7770 2012-05-08 Glenn Morris <rgm@gnu.org>
7771
7772 * language/burmese.el, language/cham.el, language/czech.el:
7773 * language/english.el, language/georgian.el, language/greek.el:
7774 * language/japanese.el, language/khmer.el, language/korean.el:
7775 * language/lao.el, language/misc-lang.el, language/romanian.el:
7776 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7777 * language/thai.el, language/utf-8-lang.el:
7778 Remove no-byte-compile setting.
7779
7780 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7781
7782 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7783
7784 * progmodes/make-mode.el (makefile-browse):
7785 Remove unnecessary interactive. (Bug#11324)
7786
7787 2012-05-07 Glenn Morris <rgm@gnu.org>
7788
7789 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7790
7791 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7792
7793 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * loadup.el: Preload newcomment.el.
7796 * newcomment.el: Move autoload-only code to toplevel.
7797
7798 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7799 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7800 Handle new :right-align column property.
7801 (tabulated-list-print-col): Idem, plus use `display' text-property to
7802 try and preserve alignment for variable pitch fonts.
7803
7804 2012-05-07 Chong Yidong <cyd@gnu.org>
7805
7806 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7807 (tabulated-list-use-header-line): New var.
7808 (tabulated-list-init-header): Use it.
7809 (tabulated-list-print-fake-header): New function.
7810 (tabulated-list-print): Use it.
7811 (tabulated-list-sort-button-map): Add non-header-line commands.
7812 (tabulated-list-init-header): Add column name property to basic
7813 labels as well.
7814 (tabulated-list-col-sort): Handle non-header-line button case.
7815 (tabulated-list--sort-by-column-name): Fix a corner case.
7816
7817 * buff-menu.el (list-buffers--refresh):
7818 Handle Buffer-menu-use-header-line.
7819
7820 2012-05-06 Chong Yidong <cyd@gnu.org>
7821
7822 * buff-menu.el: Convert to Tabulated List mode.
7823 (Buffer-menu-buffer+size-width): Make obsolete.
7824 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7825 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7826 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7827 documentation into docstring of buffer-menu.
7828 (Buffer-menu-toggle-files-only): Add an informative message.
7829 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7830 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7831 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7832 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7833 (Buffer-menu-execute, Buffer-menu-select)
7834 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7835 (Buffer-menu-bury): Use Tabulated List machinery.
7836 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7837 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7838 Delete.
7839 (list-buffers--refresh): New function.
7840 (list-buffers-noselect): Use it.
7841 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7842 (Buffer-menu--pretty-file-name): New helper functions.
7843
7844 * loadup.el: Preload tabulated-list.
7845
7846 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7847 tabulated-list-sort-column.
7848 (tabulated-list-init-header): Add the initial aligning space even
7849 if tabulated-list-padding is zero.
7850
7851 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7852
7853 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7854 whose cdr is not a cons cell correctly (bug#11038).
7855
7856 2012-05-06 Chong Yidong <cyd@gnu.org>
7857
7858 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7859 Accept additional plist in column descriptors.
7860 (tabulated-list-init-header): Obey it.
7861 (tabulated-list-get-entry): New function.
7862 (tabulated-list-put-tag): Use it. Use string-width instead of
7863 length.
7864 (tabulated-list--column-number): New function.
7865 (tabulated-list-print): Use it.
7866 (tabulated-list-print-col): New function.
7867 Set `tabulated-list-column-name' property on each column's text.
7868 (tabulated-list-print-entry): Use it.
7869 (tabulated-list-delete-entry, tabulated-list-set-col):
7870 New functions.
7871 (tabulated-list-sort-column): New command (Bug#11337).
7872
7873 * buff-menu.el (list-buffers): Move C-x C-b binding from
7874 buff-menu.el to bindings.el.
7875
7876 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7877 :advertised-binding feature.
7878
7879 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7880
7881 * progmodes/compile.el (compilation-internal-error-properties):
7882 Calculate start position correctly when end-col is set but
7883 end-line is not (Bug#11382).
7884
7885 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7886
7887 * man.el (Man-unindent): Use text-property-default-nonsticky to
7888 prevent untabify from inheriting face properties (Bug#11408).
7889
7890 2012-05-05 Stefan Merten <smerten@oekonux.de>
7891
7892 * textmodes/rst.el: Major merge with upstream development up to
7893 Docutils SVN r7399 / rst.el V1.2.1.
7894
7895 Clarify maintainership and authors.
7896
7897 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7898 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7899 (rst-official-version, rst-official-cvs-rev, rst-version)
7900 (rst-package-emacs-version-alist): New functions and variables
7901 for version information.
7902
7903 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7904 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7905 (rst-mode-syntax-table, rst-mode): New and corrected functions
7906 and variables representing reStructuredText features.
7907
7908 (rst-re): New function for reStructuredText regexes. Use in
7909 many places.
7910
7911 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7912 (rst-mode-map): Rebind keys.
7913
7914 (rst-mode-lazy, rst-font-lock-keywords)
7915 (rst-font-lock-extend-region)
7916 (rst-font-lock-extend-region-internal)
7917 (rst-font-lock-extend-region-extend)
7918 (rst-font-lock-find-unindented-line-limit)
7919 (rst-font-lock-find-unindented-line-match)
7920 (rst-adornment-level, rst-font-lock-adornment-level)
7921 (rst-font-lock-adornment-match)
7922 (rst-font-lock-handle-adornment-pre-match-form)
7923 (rst-font-lock-handle-adornment-matcher): Major revision of
7924 font-locking. Integrate with other code. Use `jit-lock-mode'.
7925
7926 (rst-preferred-adornments, rst-adjust-hook)
7927 (rst-new-adornment-down, rst-preferred-bullets)
7928 (rst-preferred-bullets, rst-indent, rst-indent-width)
7929 (rst-indent-field, rst-indent-literal-normal)
7930 (rst-indent-literal-minimized, rst-indent-comment): Change,
7931 extend and improve customization.
7932
7933 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7934 (rst-normalize-cursor-position, rst-get-decoration)
7935 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7936 (rst-rstrip, rst-toc-insert-find-delete-contents)
7937 (rst-shift-fill-region, rst-compute-bullet-tabs)
7938 (rst-debug-print-tabs, rst-debug-mark-found)
7939 (rst-shift-region-guts, rst-shift-region-right)
7940 (rst-shift-region-left, rst-use-char-classes)
7941 (rst-font-lock-keywords-function)
7942 (rst-font-lock-indentation-point)
7943 (rst-font-lock-find-unindented-line-begin)
7944 (rst-font-lock-find-unindented-line-end)
7945 (rst-font-lock-find-unindented-line)
7946 (rst-font-lock-adornment-point, rst-font-lock-level)
7947 (rst-adornment-level-alist): Remove functions and variables.
7948
7949 (rst-compare-adornments, rst-get-adornment-match)
7950 (rst-suggest-new-adornment, rst-get-adornments-around)
7951 (rst-adornment-complete-p, rst-get-next-adornment)
7952 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7953 (rst-straighten-adornments): Standardize function names to
7954 use "adornment" instead of "decoration". Correct callers.
7955 Similar standardizing in many places.
7956
7957 (rst-update-section, rst-adjust, rst-promote-region)
7958 (rst-enumerate-region, rst-bullet-list-region)
7959 (rst-repeat-last-character): Correct use of `interactive'.
7960
7961 (rst-classify-adornment, rst-find-all-adornments)
7962 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7963 (rst-find-leftmost-column, rst-repeat-last-character):
7964 Refactor functions.
7965
7966 (rst-find-title-line, rst-reset-section-caches)
7967 (rst-get-adornments-around, rst-adjust-adornment-work)
7968 (rst-arabic-to-roman, rst-roman-to-arabic)
7969 (rst-insert-list-pos, rst-insert-list-new-item)
7970 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7971 New functions.
7972
7973 (rst-all-sections, rst-section-hierarchy)
7974 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7975 New variables.
7976
7977 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7978 configuration instead of only buffer. Change where necessary.
7979
7980 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7981 (rst-shift-region, rst-adaptive-fill): New functions for
7982 indentation and filling.
7983
7984 (rst-comment-line-break, rst-comment-indent)
7985 (rst-comment-insert-comment, rst-comment-region)
7986 (rst-uncomment-region): New functions for handling comments.
7987
7988 (rst-compile): Quote shell arguments.
7989
7990 (rst-compile-pdf-preview, rst-compile-slides-preview):
7991 Delete temporary files after use.
7992
7993 2012-05-05 Glenn Morris <rgm@gnu.org>
7994
7995 * calendar/cal-html.el: Optionally include holidays in the output.
7996 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7997 (cal-html-holidays): New option.
7998 (cal-html-css-default): Add holiday entry.
7999 (holiday-in-range): Autoload it.
8000 (cal-html-htmlify-entry): Add optional class argument.
8001 (cal-html-htmlify-list): Add optional holidays argument.
8002 (cal-html-insert-agenda-days): Include holidays in the output.
8003 (cal-html-one-month): Maybe include holidays.
8004
8005 * calendar/holidays.el (holiday-in-range):
8006 Move here from cal-tex-list-holidays.
8007 * calendar/cal-tex.el (cal-tex-list-holidays):
8008 Make it an obsolete alias for holiday-in-range. Update all callers.
8009
8010 2012-05-05 Chong Yidong <cyd@gnu.org>
8011
8012 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8013 Nextstep.
8014
8015 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8016
8017 * files.el (file-auto-mode-skip): New var.
8018 (set-auto-mode-1): Use it.
8019
8020 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * repeat.el: Use lexical-binding.
8023 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8024 (repeat-undo-count): Remove.
8025 (repeat):
8026 * progmodes/octave-mod.el (octave-abbrev-start):
8027 * progmodes/f90.el (f90-abbrev-start):
8028 * face-remap.el (text-scale-adjust):
8029 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8030
8031 * emacs-lisp/pcase.el (pcase--let*): New function.
8032 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8033 a bit more.
8034 (pcase--split-pred): Be more clever about ruling out overlap between
8035 a predicate and some constant pattern.
8036 (pcase--q1): Use `null' instead of (eq foo nil).
8037
8038 * subr.el (setq-local, defvar-local): New macros.
8039 (kbd): Redefine as an alias.
8040 (with-selected-window): Leave unrelated frames alone.
8041 (set-temporary-overlay-map): New function.
8042
8043 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * subr.el (user-error): New function.
8046 * window.el (switch-to-buffer):
8047 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8048 (smerge-match-conflict):
8049 * simple.el (previous-matching-history-element)
8050 (next-matching-history-element, goto-history-element, undo-more)
8051 (undo-start):
8052 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8053 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8054 (next-file, tags-loop-scan, list-tags, complete-tag):
8055 * progmodes/compile.el (compilation-loop):
8056 * mouse.el (mouse-minibuffer-check):
8057 * man.el (Man-bgproc-sentinel, Man-goto-page):
8058 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8059 (Info-history-forward, Info-follow-reference, Info-menu)
8060 (Info-extract-menu-item, Info-extract-menu-counting)
8061 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8062 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8063 (Info-next-reference, Info-prev-reference, Info-index)
8064 (Info-index-next, Info-follow-nearest-node)
8065 (Info-copy-current-node-name):
8066 * imenu.el (imenu--make-index-alist)
8067 (imenu-default-create-index-function, imenu-add-to-menubar):
8068 * files.el (basic-save-buffer, recover-file):
8069 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8070 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8071 (checkdoc-message-text, checkdoc-defun):
8072 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8073 * cus-edit.el (customize-changed-options, customize-rogue)
8074 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8075 (custom-variable-mark-to-reset-standard)
8076 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8077 (custom-file):
8078 * completion.el (check-completion-length):
8079 * comint.el (comint-search-arg)
8080 (comint-previous-matching-input-string-position)
8081 (comint-previous-matching-input)
8082 (comint-replace-by-expanded-history-before-point, comint-send-input)
8083 (comint-copy-old-input, comint-backward-matching-input)
8084 (comint-goto-process-mark, comint-set-process-mark):
8085 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8086 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8087
8088 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * dabbrev.el (dabbrev--ignore-case-p): New function.
8091 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8092 Use it.
8093
8094 * files.el (automount-dir-prefix): Mark as obsolete.
8095
8096 2012-05-04 Glenn Morris <rgm@gnu.org>
8097
8098 * patcomp.el, play/bruce.el: Move to obsolete/.
8099
8100 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8101
8102 Fix minor Y10k bugs.
8103 * arc-mode.el (archive-unixdate):
8104 * autoinsert.el (auto-insert-alist):
8105 * calc/calc-forms.el (math-this-year):
8106 * emacs-lisp/copyright.el (copyright-current-year)
8107 (copyright-update-year, copyright):
8108 * tar-mode.el (tar-clip-time-string):
8109 * time.el (display-time-update):
8110 Don't assume years have 4 digits.
8111
8112 2012-05-04 Chong Yidong <cyd@gnu.org>
8113
8114 * dos-w32.el (file-name-buffer-file-type-alist)
8115 (direct-print-region-use-command-dot-com):
8116 * ffap.el (ffap-menu-regexp):
8117 * find-file.el (ff-special-constructs):
8118 * follow.el (follow-debug):
8119 * forms.el (forms--debug):
8120 * iswitchb.el (iswitchb-all-frames):
8121 * ido.el (ido-all-frames):
8122 * emacs-lisp/timer.el (timer-max-repeats):
8123 * mail/feedmail.el (feedmail-mail-send-hook)
8124 (feedmail-mail-send-hook-queued):
8125 * mail/footnote.el (footnote-signature-separator):
8126 * mail/mailabbrev.el (mail-alias-separator-string)
8127 (mail-abbrev-mode-regexp):
8128 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8129 * progmodes/idlwave.el (idlwave-libinfo-file)
8130 (idlwave-default-completion-case-is-down)
8131 (idlwave-library-routines): Convert defvars to defcustoms.
8132
8133 * mail/rmail.el (rmail-decode-mime-charset):
8134 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8135 (idlwave-shell-fix-inserted-breaks)
8136 (idlwave-shell-activate-alt-keybindings)
8137 (idlwave-shell-use-breakpoint-glyph):
8138 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8139
8140 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8143
8144 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8145
8146 * progmodes/verilog-mode.el (font-lock-keywords):
8147 Fix mis-highligting auto. Reported by Craig Barner.
8148 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8149 defines from global name space. Reported by Dan Dever.
8150 (verilog-auto-reset, verilog-auto-reset-widths)
8151 (verilog-auto-tieoff): Support using unbased numbers for
8152 AUTORESET and AUTOTIEOFF.
8153 (verilog-submit-bug-report): Update variable list.
8154 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8155 parenthesis from not matching. Reported by Michael Rytting.
8156 (verilog-auto-template-lint): Fix hash error when linting modules
8157 with no used templates.
8158 (verilog-warn, verilog-warn-error)
8159 (verilog-warn-fatal): When non-interactive report multiple
8160 warnings before exiting. Suggested by Brad Dobbie.
8161 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8162 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8163 to report unused template errors. Reported by Brad Dobbie.
8164 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8165 nets, bug438. Reported by Vns Blore.
8166 (verilog-auto-inout-module, verilog-auto-reg)
8167 (verilog-read-decls, verilog-read-sub-decls-sig)
8168 (verilog-signals-edit-wire-reg, verilog-signals-with):
8169 Fix passing of Verilog data types in ANSI input/output ports
8170 such as "output logic" into the AUTOs. Special case "wire" and
8171 "reg" for backwards compatibility presuming Verilog 2001.
8172 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8173 (verilog-preprocess): Fix replication of preprocess output.
8174 Reported by Brad Dobbie.
8175 (verilog-auto-inst-interfaced-ports):
8176 Create verilog-auto-inst-interfaced-ports, bug429.
8177 Reported by Julian Gorfajn.
8178 (verilog-after-save-font-hook)
8179 (verilog-before-save-font-hook): New variable.
8180 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8181 (verilog-save-font-mods): Wrap disabling fontification, reported
8182 by David Rogoff.
8183 (verilog-do-indent, verilog-pretty-declarations-auto)
8184 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8185 Reported by Pierre-David Pfister.
8186 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8187 of class declarations, bug292. Reported by Kevin Heilman.
8188 (verilog-read-decls): Fix 'parameter type' not appearing in
8189 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8190 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8191 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8192 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8193 Reported by David Kravitz.
8194
8195 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8196
8197 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8198 assignment with tests in ifs and for loops.
8199 (verilog-extended-complete-re, verilog-complete-reg): Change so
8200 that DPI inport functions don't look like fuction declarations.
8201 (verilog-pretty-expr): Don't line up assignment
8202 operations to the test and increment in if and for loops
8203 (verilog-extended-complete-re, verilog-complete-reg): Change so
8204 that DPI inport functions don't look like fuction declarations.
8205
8206 2012-05-03 Kenichi Handa <handa@m17n.org>
8207
8208 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8209 decoding, and show a warning message without signaling an error
8210 (Bug#11282).
8211
8212 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/bytecomp.el
8215 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8216 since cconv.el might have introduced :fun-body, internal-make-closure,
8217 and friends for bytecomp to handle (bug#11391).
8218 * custom.el (defcustom): Avoid ((λ ..) ..).
8219
8220 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8223
8224 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8225
8226 * notifications.el (dbus-debug):
8227 * term/linux.el (gpm-mouse-enable):
8228 * term/screen.el (xterm-register-default-colors): Declare.
8229
8230 2012-05-02 Chong Yidong <cyd@gnu.org>
8231
8232 * cus-start.el (gc-cons-percentage, exec-suffixes)
8233 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8234 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8235 (make-cursor-line-fully-visible, void-text-area-pointer)
8236 (font-list-limit): Add customization data.
8237
8238 * allout.el (allout-exposure-change-functions)
8239 (allout-structure-added-functions)
8240 (allout-structure-deleted-functions)
8241 (allout-structure-shifted-functions): Rename abnormal hooks from
8242 *-hook, and convert to defcustoms.
8243 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8244 Convert to defcustoms.
8245 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8246
8247 * allout-widgets.el: Hook callers changed.
8248
8249 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8250
8251 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8252 the yanked message in preference to the default value of
8253 buffer-file-coding-system.
8254
8255 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8256
8257 * window.el (display-buffer--action-function-custom-type):
8258 Fix entry.
8259
8260 2012-05-02 Alan Mackenzie <acm@muc.de>
8261
8262 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8263
8264 2012-05-01 Glenn Morris <rgm@gnu.org>
8265
8266 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8267
8268 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8269
8270 * cus-edit.el (custom-variable-documentation): Simplify with format.
8271
8272 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8273 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * simple.el (suggest-key-bindings, execute-extended-command):
8276 Move from keyboard.c.
8277
8278 2012-05-01 Chong Yidong <cyd@gnu.org>
8279
8280 * follow.el: Eliminate advice.
8281 (set-process-filter, process-filter, sit-for): Advice deleted.
8282 (follow-mode-off-hook): Obsolete hook removed.
8283 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8284 Vars deleted.
8285 (follow-auto): Use a :set function.
8286 (follow-mode): Rewritten. Don't advise process filters.
8287 (follow-switch-to-current-buffer-all, follow-scroll-up)
8288 (follow-scroll-down): Assume follow-mode is bound.
8289 (follow-comint-scroll-to-bottom)
8290 (follow-align-compilation-windows): New functions.
8291 (follow--window-sorter): New function.
8292 (follow-all-followers): Use it to explicitly sort windows by their
8293 positions; don't make assumptions about next-window order.
8294 (follow-windows-start-end, follow-delete-other-windows-and-split)
8295 (follow-calc-win-start): Doc fix.
8296 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8297 vertical-motion unnecessarily.
8298 (follow-adjust-window): New function.
8299 (follow-post-command-hook): Use it.
8300 (follow-call-set-process-filter, follow-call-process-filter)
8301 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8302 (follow-stop-intercept-process-output, follow-generic-filter):
8303 Functions deleted.
8304 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8305 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8306 New functions, replacing advice on scroll-bar-* commands.
8307 (follow-mwheel-scroll): New function (Bug#4112).
8308
8309 * comint.el (comint-adjust-point): New function.
8310 (comint-postoutput-scroll-to-bottom): Use it.
8311 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8312
8313 2012-05-01 Glenn Morris <rgm@gnu.org>
8314
8315 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8316 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8317 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8318 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8319 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8320 Remove no-byte-compile setting.
8321
8322 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8325 all-completions code to not return a number in the last cdr.
8326
8327 2012-04-30 Leo Liu <sdl.web@gmail.com>
8328
8329 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8330 read-only error.
8331
8332 2012-04-29 Chong Yidong <cyd@gnu.org>
8333
8334 * follow.el (follow-calc-win-end): Rewrite to handle partial
8335 screen lines correctly (Bug#8390).
8336 (follow-avoid-tail-recenter): Minor cleanup.
8337
8338 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 Avoid the obsolete `assoc' package.
8341 * speedbar.el (speedbar-refresh): Avoid adelete.
8342 (speedbar-file-lists): Simplify and avoid aput.
8343 * man.el (Man--sections, Man--refpages): New vars, replacing
8344 Man-sections-alist and Man-refpages-alist.
8345 (Man-build-section-alist, Man-build-references-alist):
8346 Use them; avoid aput.
8347 (Man--last-section, Man--last-refpage): New vars.
8348 (Man-follow-manual-reference): Use them.
8349 Use the `default' arg of completing-read.
8350 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8351
8352 2012-04-27 Chong Yidong <cyd@gnu.org>
8353
8354 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8355
8356 * startup.el (x-apply-session-resources): New function.
8357
8358 * term/ns-win.el (ns-initialize-window-system):
8359 * term/w32-win.el (w32-initialize-window-system):
8360 * term/x-win.el (x-initialize-window-system): Use it to properly
8361 set menu-bar-mode and other vars from X resources, even if the
8362 initial frame is not a window-system frame (Bug#2299).
8363
8364 * subr.el (read-key): Avoid running filter function when setting
8365 up temporary tool bar entries (Bug#9922).
8366
8367 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8368
8369 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8370 (Bug#11344)
8371
8372 2012-04-27 Chong Yidong <cyd@gnu.org>
8373
8374 * select.el (xselect--encode-string): New function, split from
8375 xselect-convert-to-string.
8376 (xselect-convert-to-string): Use it.
8377 (xselect-convert-to-filename, xselect-convert-to-os)
8378 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8379 returned strings are properly encoded (Bug#11315).
8380
8381 2012-04-27 Chong Yidong <cyd@gnu.org>
8382
8383 * simple.el (delete-active-region): Move to killing custom group.
8384
8385 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * progmodes/which-func.el (which-func-current): Quote %
8388 characters for mode-line processing.
8389
8390 2012-04-27 Chong Yidong <cyd@gnu.org>
8391
8392 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8393 reaching eob (Bug#11286).
8394
8395 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8396
8397 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8398 (gdb): Make it buffer-local and init to zero.
8399 (gdb-control-commands-regexp): New variable.
8400 (gdb-send): Don't wrap in "-interpreter-exec console" if
8401 gdb-control-level is positive. Increment gdb-control-level
8402 whenever the command matches gdb-control-commands-regexp, and
8403 decrement it each time the command is "end". (Bug#11279)
8404
8405 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8406
8407 * window.el (adjust-window-trailing-edge, enlarge-window)
8408 (shrink-window, window-resize):
8409 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8410 windows (Bug#11276).
8411
8412 2012-04-27 Chong Yidong <cyd@gnu.org>
8413
8414 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8415 fix "missing prefix" warning. All callers changed.
8416
8417 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * emacs-lisp/assoc.el: Move to obsolete/.
8420
8421 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8424
8425 * term/ns-win.el (ns-define-service):
8426 * progmodes/pascal.el (pascal-goto-defun):
8427 * progmodes/js.el (js--read-tab):
8428 * progmodes/etags.el (tags-lazy-completion-table):
8429 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8430 * emacs-lisp/ewoc.el (ewoc--wrap):
8431 * emacs-lisp/assoc.el (aput, adelete, amake):
8432 * doc-view.el (doc-view-convert-current-doc):
8433 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8434
8435 2012-04-26 Chong Yidong <cyd@gnu.org>
8436
8437 * image.el (image-type-from-buffer): Only return supported image
8438 type (Bug#9045).
8439
8440 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8441 value, for symmetry with diff-end-of-hunk.
8442 (diff-split-hunk, diff-find-source-location)
8443 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8444 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8445 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8446 compute the relevant hunk or file properly (Bug#6005).
8447 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8448
8449 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * vc/vc-mtn.el:
8452 * vc/vc-hg.el:
8453 * vc/vc-git.el:
8454 * vc/vc-dir.el:
8455 * vc/vc-cvs.el:
8456 * vc/vc-bzr.el:
8457 * vc/vc-arch.el:
8458 * vc/vc.el: Replace lexical-let by lexical-binding.
8459 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8460 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8461 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8462
8463 2012-04-26 Chong Yidong <cyd@gnu.org>
8464
8465 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8466 (diff-mode-shared-map): Bind it to / and [remap undo].
8467
8468 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8469 (ediff-window-setup-function): Use it as the default, to set up
8470 windows based on whether the current frame is graphical (Bug#2138).
8471 (ediff-choose-window-setup-function-automatically): Make obsolete.
8472
8473 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8474
8475 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * ffap.el: Remove old code for obsolete package.
8478 (ffap-complete-as-file-p): Remove.
8479
8480 Use completion-table-with-quoting for comint and pcomplete.
8481 * comint.el (comint--unquote&requote-argument)
8482 (comint--unquote-argument, comint--requote-argument): New functions.
8483 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8484 (comint-quote-filename): Use regexp-opt-charset.
8485 (comint--common-suffix, comint--common-quoted-suffix)
8486 (comint--table-subvert): Remove.
8487 (comint-unquote-function, comint-requote-function): New vars.
8488 (comint--complete-file-name-data): Use them with
8489 completion-table-with-quoting.
8490 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8491 * pcomplete.el (pcomplete-arg-quote-list)
8492 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8493 (pcomplete-unquote-argument-function): Default to non-nil.
8494 (pcomplete-unquote-argument): Simplify.
8495 (pcomplete--common-quoted-suffix): Remove.
8496 (pcomplete-requote-argument-function): New var.
8497 (pcomplete--common-suffix): New function.
8498 (pcomplete-completions-at-point): Use completion-table-with-quoting
8499 and completion-table-subvert.
8500
8501 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8502 (minibuffer--double-dollars): Preserve properties.
8503 (completion--sifn-requote): New function.
8504 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8505
8506 * minibuffer.el: Add support for completion of quoted/escaped data.
8507 (completion-table-with-quoting, completion-table-subvert): New funs.
8508 (completion--twq-try, completion--twq-all): New functions.
8509 (completion--nth-completion): New function.
8510 (completion-try-completion, completion-all-completions): Use it.
8511
8512 2012-04-25 Leo Liu <sdl.web@gmail.com>
8513
8514 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8515 Use compilation-message if available to find real filename.
8516
8517 2012-04-25 Chong Yidong <cyd@gnu.org>
8518
8519 * vc/diff-mode.el (diff-setup-whitespace): New function.
8520 (diff-mode): Use it.
8521
8522 * vc/diff.el (diff-sentinel):
8523 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8524 Whitespace mode variables based on diff style (Bug#8612).
8525
8526 2012-04-25 Leo Liu <sdl.web@gmail.com>
8527
8528 * progmodes/python.el (python-send-region): Add suffix .py to the
8529 temp file.
8530
8531 * files.el (auto-mode-alist): Use javascript-mode instead.
8532
8533 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8534
8535 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8536
8537 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8538 (soap-resolve-references-for-array-type): Hack to prevent self
8539 references, see Bug#9.
8540 (soap-parse-envelope): Report the contents of the 'detail' node
8541 when receiving a fault reply.
8542 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8543
8544 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8545 (soap-inspect-simple-type): New function.
8546
8547 * net/soap-client.el (soap-simple-type): New struct.
8548 (soap-default-xsd-types, soap-default-soapenc-types)
8549 (soap-decode-basic-type, soap-encode-basic-type):
8550 support unsignedInt and double basic types.
8551 (soap-resolve-references-for-simple-type)
8552 (soap-parse-simple-type, soap-encode-simple-type): New function.
8553 (soap-parse-schema): Parse xsd:simpleType declarations.
8554
8555 * net/soap-client.el (soap-default-xsd-types)
8556 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8557 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8558 the local name of "soapenc:Array".
8559 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8560 decoding integer, byte and anyURI xsd types.
8561
8562 2012-04-25 Chong Yidong <cyd@gnu.org>
8563
8564 * cus-edit.el (custom-buffer-create-internal): Update header text.
8565
8566 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8567
8568 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8569 settings on 'system-type', not on 'window-system'. On MS-Windows,
8570 set interactive-mode on in GDB.
8571
8572 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8575 (ruby-syntax-propertize-regexp): Remove.
8576 (ruby-syntax-propertize-function): Split regexp into chunks.
8577 Match following code directly.
8578
8579 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8580
8581 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8582 (ruby-syntax-propertize-regexp): New function.
8583 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8584 by a special keyword.
8585
8586 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8587 (ruby-syntax-general-delimiters-goto-beg)
8588 (ruby-syntax-propertize-general-delimiters): New functions.
8589 (ruby-syntax-propertize-function): Use them to handle GDL.
8590 (ruby-font-lock-keywords): Move old handling of GDL...
8591 (ruby-font-lock-syntactic-keywords): .. to here.
8592 (ruby-calculate-indent): Adjust indentation for GDL.
8593
8594 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8595
8596 * notifications.el (top): Remove unneeded declarations.
8597 (notifications-specification-version): Change to "1.2".
8598 (notifications-interface, notifications-notify-method)
8599 (notifications-close-notification-method): Fix docstring.
8600 (notifications-get-capabilities-method): New defconst.
8601 (notifications-notify): Add :action-items, :resident and
8602 :transient hints. Change "image_data" to "image-data" and
8603 "image_path" to "image-path".
8604 (notifications-get-capabilities): New defun.
8605
8606 2012-04-24 Leo Liu <sdl.web@gmail.com>
8607
8608 * progmodes/python.el: Move hideshow setup to the end.
8609
8610 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8611
8612 * window.el (handle-select-window): Clear echo area since this is
8613 no more done by read_char (Bug#11304).
8614
8615 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8618 and `/ M' to filter-derived-mode.
8619 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8620 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8621 (ibuffer-mark-by-mode): Use default rather than initial-input.
8622 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8623
8624 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8625
8626 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8627 (ibuffer-filter-by-derived-mode): New filter.
8628 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8629
8630 2012-04-23 Andreas Politz <politza@fh-trier.de>
8631
8632 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8633
8634 2012-04-23 Chong Yidong <cyd@gnu.org>
8635
8636 * cus-edit.el (customize-apropos, customize-apropos-options):
8637 Disable matching of non-option variables (Bug#11176).
8638 (customize-option, customize-option-other-window)
8639 (customize-changed-options): Doc fix.
8640 (customize-apropos-options, customize-apropos-faces)
8641 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8642
8643 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8644 Fix word list splitting (Bug#11132).
8645 (apropos-symbol, apropos-keybinding, apropos-label)
8646 (apropos-property, apropos-function-button)
8647 (apropos-variable-button, apropos-misc-button): New faces.
8648 (apropos-symbol-face, apropos-keybinding-face)
8649 (apropos-label-face, apropos-property-face, apropos-match-face):
8650 Variables removed (Bug#8396).
8651 (apropos-library-button, apropos-format-plist, apropos-print)
8652 (apropos-print-doc, apropos-describe-plist): Callers changed.
8653
8654 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8655
8656 * net/xesam.el (xesam-mode-map): Use let-bound map in
8657 initialization. (Bug#11292)
8658
8659 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8660
8661 Preserve ispell session localwords when switching back to
8662 original buffer.
8663
8664 * textmodes/ispell.el (ispell-buffer-session-localwords):
8665 New buffer-local variable to hold buffer session localwords.
8666 (ispell-kill-ispell): Add option 'clear to delete session
8667 localwords.
8668 (ispell-command-loop, ispell-change-dictionary)
8669 (ispell-buffer-local-words): Preserve session localwords when
8670 needed.
8671
8672 * textmodes/flyspell.el (flyspell-process-localwords)
8673 (flyspell-do-correct): Preserve session localwords when needed.
8674
8675 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8676
8677 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8678 using obsolete `translation-table-for-input'.
8679 (ispell-word, ispell-process-line, ispell-complete-word):
8680 Use plain `insert' instead of removed `ispell-insert-word'.
8681
8682 2012-04-22 Chong Yidong <cyd@gnu.org>
8683
8684 * cus-edit.el (custom-variable-menu)
8685 (custom-variable-reset-saved, custom-face-menu)
8686 (custom-face-reset-saved): If there is no saved value, make the
8687 "reset-saved" operation bring back the default (Bug#9509).
8688 (custom-face-state): Properly detect themed faces.
8689
8690 * faces.el (face-spec-set): Stop supporting deprecated form of
8691 third arg.
8692
8693 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8694
8695 Move functions from C to Lisp. Make non-blocking method calls
8696 the default. Implement further D-Bus standard interfaces.
8697
8698 * net/dbus.el (dbus-message-internal): Declare function.
8699 Remove unneeded function declarations.
8700 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8701 (dbus-message-type-method-return, dbus-message-type-error)
8702 (dbus-message-type-signal): Declare variables. Remove local
8703 definitions.
8704 (dbus-interface-dbus, dbus-interface-peer)
8705 (dbus-interface-introspectable, dbus-interface-properties)
8706 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8707 Adapt docstring.
8708 (dbus-interface-objectmanager): New defconst.
8709 (dbus-call-method, dbus-call-method-asynchronously)
8710 (dbus-send-signal, dbus-method-return-internal)
8711 (dbus-method-error-internal, dbus-register-service)
8712 (dbus-register-signal, dbus-register-method): New defuns, moved
8713 from dbusbind.c
8714 (dbus-call-method-handler, dbus-setenv)
8715 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8716 New defuns.
8717 (dbus-call-method-non-blocking): Make it an obsolete function.
8718 (dbus-unregister-object, dbus-unregister-service)
8719 (dbus-handle-event, dbus-register-property)
8720 (dbus-property-handler): Obey the new structure of
8721 `bus-registered-objects'.
8722 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8723 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8724 Use `dbus-call-method'.
8725
8726 2012-04-22 Chong Yidong <cyd@gnu.org>
8727
8728 * cus-edit.el (custom-commands, custom-reset-menu)
8729 (Custom-reset-standard): Tweak labels.
8730 (custom-reset-button-menu): Change default to t.
8731 (custom-buffer-create-internal): For the custom-reset-button-menu
8732 case, put the revert button first.
8733 (custom-group-subtitle): New face.
8734 (custom-group-value-create): Align docstring to a specific column.
8735
8736 * wid-edit.el (widget-documentation-link-add): Don't handle
8737 indentation in this function.
8738 (widget-documentation-string-indent-to): New function.
8739 (widget-documentation-string-value-create): Use it.
8740
8741 * autorevert.el (auto-revert):
8742 * epg-config.el (epg):
8743 * ibuffer.el (ibuffer):
8744 * mpc.el (mpc):
8745 * ses.el (ses):
8746 * eshell/eshell.el (eshell):
8747 * net/ange-ftp.el (ange-ftp):
8748 * progmodes/ebnf2ps.el (postscript):
8749 * progmodes/flymake.el (flymake):
8750 * progmodes/prolog.el (prolog):
8751 * progmodes/verilog-mode.el (verilog-mode):
8752 * progmodes/which-func.el (which-func):
8753 * term/xterm.el (xterm):
8754 * textmodes/picture.el (picture):
8755 * textmodes/tildify.el (tildify):
8756 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8757 customization buffers.
8758
8759 2012-04-22 Alan Mackenzie <acm@muc.de>
8760
8761 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8762 Adding a ) can hide the resulting (..) from searches. Fix it.
8763 Bound the backward search to the position of the existing (.
8764
8765 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8766
8767 * progmodes/verilog-mode.el (verilog-mode): Check whether
8768 which-func-modes is t before adding verilog-mode.
8769 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8770
8771 2012-04-21 Leo Liu <sdl.web@gmail.com>
8772
8773 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8774
8775 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8776
8777 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8778 filling of the last column of a table (Bug#5635).
8779 (woman-find-next-control-line): New arg, specifying an additional
8780 regexp component for the control line.
8781 (woman2-roff-buffer): Use it.
8782 (woman-break-table): New function.
8783 (woman2-TS): Use it.
8784
8785 2012-04-21 Chong Yidong <cyd@gnu.org>
8786
8787 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8788 (woman-horizontal-escapes, woman-negative-vertical-space)
8789 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8790 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8791
8792 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * minibuffer.el (completion-file-name-table): Complete user names.
8795
8796 2012-04-20 Leo Liu <sdl.web@gmail.com>
8797
8798 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8799 and pcase-let*.
8800
8801 2012-04-20 Chong Yidong <cyd@gnu.org>
8802
8803 * server.el (server-execute): Respect initial-buffer-choice if it
8804 is a string and there are no files to open (Bug#2825).
8805 (server-create-window-system-frame, server-create-tty-frame):
8806 Don't switch buffers here.
8807 (server-process-filter): Only try to open a window system frame if
8808 compiled with graphical support (Bug#8314).
8809
8810 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8811
8812 * battery.el (battery-echo-area-format): Display remaining time
8813 for sysfs backend too (Bug#11269).
8814 (battery-linux-sysfs): Fix conditional for the charge.
8815
8816 2012-04-20 Chong Yidong <cyd@gnu.org>
8817
8818 * progmodes/gdb-mi.el (gdb): Revert previous change.
8819 (gdb-inferior-io--init-proc): New function.
8820 (gdb-init-1): Use it.
8821 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8822 responsible for allocating a new pty and hooking it to gdb when
8823 the old pty gets an EIO due to process exit.
8824 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8825 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8826 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8827
8828 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8829
8830 * window.el (window-min-size, window-sizable, window-min-delta)
8831 (window-max-delta, window--resizable, window-resizable)
8832 (window-total-size, window-full-height-p, window-full-width-p)
8833 (window-in-direction, window--resize-mini-window, window-resize)
8834 (window--resize-child-windows-normal)
8835 (window--resize-child-windows, window--resize-siblings)
8836 (window--resize-this-window, adjust-window-trailing-edge)
8837 (enlarge-window, shrink-window): Doc fixes.
8838
8839 2012-04-20 Chong Yidong <cyd@gnu.org>
8840
8841 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8842 New function to call delete-process on the gdb-inferior buffer's pty.
8843 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8844 pty process (Bug#11273).
8845 (gdb-update): New arg to suppress talking to the gdb process.
8846 (gdb-done-or-error): Use it.
8847 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8848 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8849 sentinel not being called.
8850
8851 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8852
8853 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8854
8855 2012-04-20 Glenn Morris <rgm@gnu.org>
8856
8857 * net/network-stream.el (open-network-stream): Doc fix.
8858
8859 2012-04-20 Chong Yidong <cyd@gnu.org>
8860
8861 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8862
8863 2012-04-20 Alan Mackenzie <acm@muc.de>
8864
8865 Ensure searching for keywords is case sensitive.
8866
8867 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8868 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8869 (c-defun-name, c-mark-function, c-cpp-define-name)
8870 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8871 (c-context-line-break): Bind case-fold-search to nil.
8872
8873 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8874 Bind case-fold-search to nil.
8875
8876 2012-04-20 Chong Yidong <cyd@gnu.org>
8877
8878 * mail/sendmail.el (mail-bury): Call return action with the right
8879 Rmail buffer (Bug#11242).
8880
8881 * server.el (server-process-filter): Handle corner case where both
8882 tty and nowait options are present (Bug#11102).
8883
8884 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8885
8886 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8887 (top level): Put into the executable the ident-style '$Id:' tag on
8888 windows-nt as well.
8889
8890 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * electric.el (electric-indent-post-self-insert-function): Check that
8893 electric-indent-mode is enabled in current buffer.
8894
8895 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * imenu.el (imenu-progress-message): Restore; it is "used" in
8898 erc/erc-imenu.el and net/snmp-mode.el.
8899
8900 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8901
8902 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8903 (mouse-avoidance-nudge-mouse): Remove unused binding.
8904
8905 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8906
8907 * descr-text.el (describe-char):
8908 * progmodes/python.el (python-describe-symbol):
8909 Don't call `toggle-read-only', set `buffer-read-only'.
8910
8911 * imenu.el (imenu-default-goto-function): Mark unused args.
8912 (imenu-progress-message): Remove obsolete macro; all callers changed.
8913
8914 * subr.el (keymap-canonicalize): Remove unused binding.
8915 (read-passwd): Mark unused arg.
8916
8917 * tutorial.el (tutorial--display-changes): Remove unused binding.
8918 (tutorial--save-tutorial-to): Remove unused variable.
8919
8920 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8921 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8922 (package-generate-autoloads, package-menu--generate)
8923 (package-menu--find-upgrades): Remove unused bindings.
8924
8925 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8926 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8927 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8928 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8929 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8930 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8931 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8932 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8933 (cua-delete-char-rectangle): Mark unused args.
8934 (cua-align-rectangle): Remove unused binding.
8935
8936 * mail/rmail.el (compilation--message->loc)
8937 (epa--find-coding-system-for-mime-charset): Declare.
8938
8939 * net/dbus.el (dbus-register-service): Declare.
8940 (dbus-name-owner-changed-handler): Remove unused binding.
8941
8942 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8943 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8944 (nxml-scan-backward-within): Mark unused arg.
8945 (nxml-dynamic-markup-word): Remove unused binding.
8946
8947 * mouse.el (mouse-menu-major-mode-map):
8948 * emacs-lisp/authors.el (authors-scan-change-log)
8949 (authors-add-to-author-list):
8950 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8951 * emacs-lisp/smie.el (smie-auto-fill):
8952 * mail/sendmail.el (mail-bury):
8953 * mail/unrmail.el (unrmail):
8954 * net/tls.el (open-tls-stream):
8955 * textmodes/picture.el (picture-mouse-set-point):
8956 Remove unused bindings.
8957
8958 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8959
8960 * net/tramp.el (tramp-action-password): Let-bind
8961 `enable-recursive-minibuffers' to t.
8962
8963 2012-04-18 Sam Steingold <sds@gnu.org>
8964
8965 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8966 instead of 'string to accommodate values like [f11].
8967 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8968 * progmodes/gdb-mi.el: Likewise.
8969
8970 2012-04-18 Leo Liu <sdl.web@gmail.com>
8971
8972 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8973 current buffer.
8974 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8975 LOCAL is nil.
8976
8977 2012-04-18 Chong Yidong <cyd@gnu.org>
8978
8979 * simple.el (line-move): Use forward-line if in batch mode
8980 (Bug#11053).
8981
8982 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8983
8984 * files.el (after-find-file): Do not try to add a final newline if
8985 the buffer is read-only (Bug#11156).
8986
8987 2012-04-17 Richard Stallman <rms@gnu.org>
8988
8989 * mail/rmail.el (rmail-start-mail):
8990 Pass (rmail-mail-return...) for the return-action.
8991 Pass (rmail-yank-current-message...) for the yank-action.
8992 (rmail-yank-current-message): New function.
8993 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8994 (rmail-reply): Likewise.
8995 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8996
8997 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8998 buffer, not the last. Reject temp buffers. Use the rmail-mode
8999 buffer, not newbuf.
9000
9001 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * server.el (server-ensure-safe-dir): Simplify.
9004
9005 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * emacs-lisp/smie.el: Provide smarter auto-filling.
9008 (smie-auto-fill): New function.
9009 (smie-setup): Use it.
9010
9011 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9012
9013 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9014
9015 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9016 (comment-indent): Use it.
9017
9018 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9019
9020 * ses.el: The overall change is to add cell renaming, that is
9021 setting fancy names for cell symbols other than name matching
9022 "\\`[A-Z]+[0-9]+\\'" regexp .
9023 (ses-localvars): Add ses--renamed-cell-symb-list.
9024 (ses-create-cell-variable): New defun.
9025 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9026 (ses-relocate-formula): Relocate formulas only for cells the
9027 symbols of which are not renamed, i.e. symbols whose names do not
9028 match regexp "\\`[A-Z]+[0-9]+\\'".
9029 (ses-relocate-all): Relocate values only for cells the symbols of
9030 which are not renamed.
9031 (ses-load): Create cells variables as the (ses-cell ...) are read,
9032 in order to check row col consistency with cell symbol name only
9033 for cells that are not renamed.
9034 (ses-replace-name-in-formula): New defun.
9035 (ses-rename-cell): New defun.
9036
9037 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9038
9039 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9040 New option (bug#11118).
9041 (perl-calculate-indent): Respect it.
9042
9043 2012-04-17 Glenn Morris <rgm@gnu.org>
9044
9045 * dired-aux.el (dired-mark-read-string): Doc fix.
9046
9047 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9048
9049 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9050 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9051
9052 2012-04-17 Glenn Morris <rgm@gnu.org>
9053
9054 * mouse.el (mouse-drag-track):
9055 * speedbar.el (speedbar-frame-mode):
9056 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9057
9058 2012-04-16 Leo Liu <sdl.web@gmail.com>
9059
9060 * progmodes/python.el: Trivial cleanup.
9061
9062 2012-04-16 Glenn Morris <rgm@gnu.org>
9063
9064 * vc/vc.el (vc-string-prefix-p):
9065 * vc/pcvs-util.el (cvs-string-prefix-p):
9066 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9067 * mpc.el (mpc-string-prefix-p):
9068 Make all of these into obsolete aliases for string-prefix-p.
9069 Update callers.
9070 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9071
9072 * textmodes/two-column.el: Move custom options to the start.
9073 (frame-width): Remove compat definition.
9074 (2C-associate-buffer, 2C-dissociate):
9075 Use with-current-buffer rather than save-excursion.
9076 (2C-dissociate): Force a mode-line update.
9077 (2C-autoscroll): Use ignore-errors.
9078
9079 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9080 Autoload trivia.
9081
9082 * emacs-lisp/cl-extra.el (*random-state*):
9083 Remove unnecessary declaration.
9084
9085 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9086
9087 * play/cookie1.el (cookie-snarf):
9088 Give an explicit error if input file cannot be read.
9089
9090 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9091
9092 * progmodes/perl-mode.el (c-macro-expand):
9093 Remove unnecessary autoload (it is in loaddefs.el).
9094
9095 * textmodes/picture.el (picture-desired-column)
9096 (picture-update-desired-column): Convert comments to doc-strings.
9097 (picture-substitute): Remove function.
9098 (picture-mode-map): Initialize in the defvar.
9099
9100 * woman.el: Remove eval-after-load for tar-mode.
9101 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9102 (woman-tar-extract-file): Autoload it.
9103
9104 * frame.el (automatic-hscrolling): Make this alias obsolete.
9105
9106 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9107
9108 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9109 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9110 (ispell-dictionary-base-alist): Revert to original XEmacs
9111 friendly version for default. [:alpha:] will be added in
9112 `ispell-set-spellchecker-params' if needed.
9113
9114 2012-04-16 Chong Yidong <cyd@gnu.org>
9115
9116 * image.el (imagemagick--file-regexp): New variable.
9117 (imagemagick-register-types): Use it.
9118 (imagemagick-types-inhibit): Add :set function. Allow new value
9119 of t to inhibit all types.
9120
9121 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9122 so we can preload it.
9123
9124 * loadup.el (fboundp): Preload regexp-opt, needed by
9125 imagemagick-register-types.
9126
9127 2012-04-15 Chong Yidong <cyd@gnu.org>
9128
9129 * frame.el (scrolling): Remove nearly unused customization group.
9130
9131 * scroll-all.el (scroll-all-mode): Move to windows group.
9132
9133 2012-04-15 Chong Yidong <cyd@gnu.org>
9134
9135 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9136
9137 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9140 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9141
9142 2012-04-15 Glenn Morris <rgm@gnu.org>
9143
9144 * simple.el (process-file-side-effects): Doc fix.
9145
9146 2012-04-15 Glenn Morris <rgm@gnu.org>
9147
9148 * international/mule-cmds.el (set-language-environment): Doc fix.
9149
9150 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9151
9152 * server.el (server-auth-key, server-generate-key): Doc fixes.
9153 (server-get-auth-key): Doc fix. Use `string-match-p'.
9154 (server-start): Reflow docstring.
9155
9156 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9157
9158 * server.el (server-generate-key): `called-interactively-p'
9159 requires a parameter.
9160
9161 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9162
9163 * server.el (server-auth-key): New variable.
9164 (server-generate-key, server-get-auth-key): New function.
9165 (server-start): Use the new variable and functions to allow
9166 setting a permanent server key (bug#9423).
9167
9168 2012-04-14 Leo Liu <sdl.web@gmail.com>
9169
9170 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9171
9172 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9173
9174 Spelling fixes.
9175 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9176 Emacs uses American spelling.
9177
9178 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9179
9180 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9181 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9182 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9183 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9184
9185 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * progmodes/which-func.el (which-func-modes): Change default.
9188
9189 2012-04-14 Kim F. Storm <storm@cua.dk>
9190
9191 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9192 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9193
9194 2012-04-14 Chong Yidong <cyd@gnu.org>
9195
9196 * custom.el (custom-theme-set-variables): Doc fix.
9197
9198 2012-04-14 Glenn Morris <rgm@gnu.org>
9199
9200 * international/mule.el (set-auto-coding-for-load): Doc fix.
9201
9202 2012-04-14 Alan Mackenzie <acm@muc.de>
9203
9204 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9205 imenu work again for Objective C Mode. Correct the *-index values,
9206 these having been disturbed by a previous change in 2011-08.
9207
9208 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9209 Correct two search limits.
9210
9211 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9214
9215 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9216
9217 * international/characters.el: Fix sorting.
9218
9219 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9220
9221 * international/characters.el: Add more missing Latin case pairs.
9222
9223 2012-04-14 Glenn Morris <rgm@gnu.org>
9224
9225 * files.el (dir-locals-set-class-variables): Doc fix.
9226
9227 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9228
9229 * international/characters.el: Add set-case-syntax-pair call for
9230 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9231 counterpart. (Bug#11209)
9232
9233 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9234
9235 2012-04-14 Glenn Morris <rgm@gnu.org>
9236
9237 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9238
9239 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9240
9241 * textmodes/ispell.el (ispell-dictionary-base-alist):
9242 Add data for Hebrew.
9243
9244 2012-04-14 Chong Yidong <cyd@gnu.org>
9245
9246 * net/rcirc.el (rcirc-cmd-quit):
9247 Revert 2012-03-18 change (Bug#11192).
9248
9249 2012-04-14 Glenn Morris <rgm@gnu.org>
9250
9251 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9252
9253 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9254
9255 * minibuffer.el (completion-in-region-mode-map):
9256 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9257
9258 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9259
9260 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9261
9262 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9263
9264 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9265 to allow `C-M-f' and `C-M-b' to move to the nearest path
9266 separator (bug#9511).
9267
9268 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9269
9270 * avoid.el: Require cl when compiling. And also move the
9271 `provide' to the end.
9272
9273 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9274
9275 * avoid.el (mouse-avoidance-banish-position): New variable.
9276 (mouse-avoidance-banish-destination): Use it (bug#10165).
9277
9278 2012-04-13 Leo Liu <sdl.web@gmail.com>
9279
9280 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9281
9282 2012-04-13 Ken Brown <kbrown@cornell.edu>
9283
9284 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9285 this is no longer needed now that cygstart understands file:// URLs.
9286 (browse-url-filename-alist): For the same reason, don't modify
9287 file:// URLs on Cygwin.
9288
9289 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9292 the region on shift if the binding is already shifted (bug#11221).
9293
9294 2012-04-12 Glenn Morris <rgm@gnu.org>
9295
9296 * mail/mailpost.el: Move to obsolete/.
9297
9298 2012-04-12 Drew Adams <drew.adams@oracle.com>
9299
9300 * imenu.el (imenu--generic-function): Ignore invisible definitions
9301 (bug#10123).
9302
9303 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9304
9305 * hexl.el (hexl-bits): New variable.
9306 (hexl-options): Mention the variable in the doc string.
9307 (hexl-rulerise, hexl-line-displen): New functions.
9308 (hexl-mode): Mention the new variable.
9309 (hexl-mode, hexl-current-address, hexl-current-address):
9310 Use the displen.
9311 (hexl-ascii-start-column): New function.
9312 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9313 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9314
9315 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9316
9317 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9318 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9319 the encoding, as expected by hunspell.
9320
9321 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * battery.el (battery--linux-sysfs-regexp): New const.
9324 (battery-status-function): Use it. Remove yeeloong special case.
9325 (battery-yeeloong-sysfs): Remove.
9326 (battery-echo-area-format): Remove yeeloong special case.
9327
9328 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9331 Reported by Noah Friedman.
9332
9333 * subr.el (read-passwd): Use read-string.
9334
9335 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
9337 * vcursor.el (vcursor-move): Increase the priority of the overlay
9338 (bug#9663).
9339
9340 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9341
9342 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9343 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9344
9345 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9346
9347 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9348 define-minor-mode (bug#10760).
9349
9350 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9351
9352 * progmodes/grep.el (rgrep): Tweak the find command line so
9353 that directories matching `grep-find-ignored-files' won't be
9354 pruned (bug#10351).
9355
9356 2012-04-11 Chong Yidong <cyd@gnu.org>
9357
9358 * startup.el (command-line): Remove support for long-obsolete
9359 variable font-lock-face-attributes.
9360
9361 2012-04-11 Glenn Morris <rgm@gnu.org>
9362
9363 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9364
9365 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * window.el (window--state-get-1): Obey window-point-insertion-type.
9368
9369 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9370
9371 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9372 to previous function when point is on the first character of a
9373 function. Take care of that in `narrow-to-defun' (bug#6157).
9374
9375 2012-04-11 Glenn Morris <rgm@gnu.org>
9376
9377 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9378 not just file-errors.
9379
9380 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9381 (vc-bzr-sha1): Use internal sha1.
9382
9383 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9386
9387 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9388
9389 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9390 that start in the middle of the line (bug#10496).
9391
9392 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9393
9394 * battery.el (battery-linux-proc-acpi): Only one battery is
9395 discharged at a time, but that seems to confuse battery.el when
9396 computing `rate-type' for the battery not being discharged
9397 (bug#10332).
9398
9399 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9400
9401 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9402
9403 * international/quail.el: Use dolist and simplify.
9404 (quail-define-package, quail-update-keyboard-layout)
9405 (quail-define-rules): Use dolist.
9406 (quail-insert-kbd-layout, quail-get-translation): CSE.
9407
9408 * tmm.el: Use dolist, remove left over hook.
9409 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9410 Use dolist.
9411 (calendar-load-hook): Don't mess with it.
9412
9413 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9414 Use derived-mode-p. Run the diff asynchronously.
9415
9416 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9419
9420 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9423 (list-dynamic-libraries--loaded): New function.
9424 (list-dynamic-libraries--refresh): Use it.
9425
9426 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9427
9428 * progmodes/python.el (python-fill-paragraph):
9429 Make python-fill-region in a multiline string work when font-lock is
9430 disabled (bug#7018).
9431
9432 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9433
9434 * language/european.el (cp775): Add oem/legacy (en)coding on
9435 DOS/MS Windows for the Baltic languages. There are still plenty
9436 of texts written in this encoding/codepage (bug#6519).
9437
9438 2012-04-10 Glenn Morris <rgm@gnu.org>
9439
9440 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9441 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9442
9443 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9444
9445 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9446 next-line "n" and previous-line "p" in order to make recentf more
9447 consistent with ibuffer, dired or org-mode (bug#9387).
9448
9449 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9450
9451 * image.el (put-image): Return the overlay created instead of the
9452 optional input string (bug#7834). Note that this may break code
9453 that is (for some reason or other) depending on `put-image'
9454 returning the string.
9455
9456 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9457
9458 * simple.el (zap-to-char): Allow zapping using input methods
9459 (bug#1580).
9460
9461 * textmodes/fill.el (fill-region): Leave point and mark where they
9462 were before filling (bug#5399).
9463
9464 2012-04-09 Glenn Morris <rgm@gnu.org>
9465
9466 * version.el (emacs-bzr-get-version):
9467 Handle lightweight checkouts of local branches.
9468
9469 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9470
9471 * international/characters.el: Recover lost case pairs. (Bug#11209)
9472
9473 2012-04-09 Chong Yidong <cyd@gnu.org>
9474
9475 * custom.el (custom-variable-p): Return nil for non-symbol
9476 arguments instead of signaling an error.
9477 (user-variable-p): Obsolete alias for custom-variable-p.
9478
9479 * apropos.el (apropos-variable):
9480 * files-x.el (read-file-local-variable):
9481 * simple.el (set-variable):
9482 * woman.el (woman-mini-help):
9483 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9484
9485 2012-04-09 Glenn Morris <rgm@gnu.org>
9486
9487 * startup.el (normal-top-level): Don't look for leim-list.el
9488 in places where it will not be found. (Bug#910)
9489
9490 * international/mule-cmds.el (set-default-coding-systems):
9491 * files.el (normal-mode):
9492 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9493 This function was removed with ucs-tables.el in 2008.
9494
9495 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9496
9497 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9498 ispell-encoding8-command to "-i", without a trailing space.
9499 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9500 separate command-line arguments, to specify the encoding, since
9501 that's how hunspell expects it.
9502
9503 2012-04-08 Glenn Morris <rgm@gnu.org>
9504
9505 * loadup.el: Load bindings before cus-start.
9506 This reduces somewhat the number of "rogue" settings in emacs -Q.
9507
9508 2012-04-07 Glenn Morris <rgm@gnu.org>
9509
9510 * version.el (emacs-bzr-get-version): New function.
9511 (emacs-bzr-version): New variable.
9512 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9513 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9514
9515 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9516
9517 * international/uni-bidi.el, international/uni-category.el:
9518 * international/uni-combining.el, international/uni-decimal.el:
9519 * international/uni-decomposition.el, international/uni-digit.el:
9520 * international/uni-lowercase.el, international/uni-mirrored.el:
9521 * international/uni-name.el, international/uni-numeric.el:
9522 * international/uni-titlecase.el, international/uni-uppercase.el:
9523 Update for Unicode 6.1.
9524
9525 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9526
9527 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9528
9529 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530
9531 * window.el (shrink-window): Mention the `window-min-height'
9532 variable in the doc string.
9533
9534 2012-04-05 Bastien Guerry <bzg@altern.org>
9535
9536 * color.el (color-lighten-name): Fix typo.
9537
9538 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * server.el (server--on-display-p): New function.
9541 (server--on-display-p): Use it.
9542
9543 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9544
9545 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9546 (bug#11145).
9547
9548 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * comint.el (comint--common-quoted-suffix): Check string boundary
9551 before comparing (bug#11158).
9552 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9553
9554 2012-04-04 Chong Yidong <cyd@gnu.org>
9555
9556 * minibuffer.el (completion-extra-properties): Doc fix.
9557
9558 * subr.el (delayed-warnings-hook): Doc fix.
9559
9560 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9561
9562 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9563 selection (Bug#11159).
9564 (epa-insert-keys): Inform that the default public key will be
9565 exported if no key is selected.
9566
9567 2012-04-04 Richard Stallman <rms@gnu.org>
9568
9569 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9570
9571 2012-04-03 Chong Yidong <cyd@gnu.org>
9572
9573 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9574 mail-insert-file, not its obsolete alias mail-attach-file.
9575
9576 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9577
9578 * notifications.el (notifications-notify): Fix docstring.
9579
9580 2012-04-02 Glenn Morris <rgm@gnu.org>
9581
9582 * emacs-lisp/authors.el (authors-aliases): Another addition.
9583
9584 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9587 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9588 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9589
9590 2012-04-01 Chong Yidong <cyd@gnu.org>
9591
9592 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9593 Handle root directory properly.
9594 (copy-directory): Caller changed.
9595
9596 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9597 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9598
9599 2012-03-31 Glenn Morris <rgm@gnu.org>
9600
9601 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9602
9603 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9604
9605 * calendar/calendar.el (calendar-window-list)
9606 (calendar-hide-window): Restore. (Bug#11140)
9607 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9608
9609 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9610
9611 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9612
9613 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9614 Check if file is a symlink (Bug#10489).
9615
9616 * files.el (copy-directory): Likewise.
9617
9618 2012-03-30 Chong Yidong <cyd@gnu.org>
9619
9620 * image.el (imagemagick-types-inhibit)
9621 (imagemagick-register-types): Doc fix.
9622
9623 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9624
9625 * textmodes/ispell.el (ispell-get-extended-character-mode):
9626 Disable extended-char-mode for hunspell. hunspell does not support it
9627 and treats ~word as ordinary words in pipe mode.
9628
9629 2012-03-30 Glenn Morris <rgm@gnu.org>
9630
9631 * tutorial.el (help-with-tutorial): Ensure local variables don't
9632 happen to make the buffer read-only. (Bug#11127)
9633
9634 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9637 (perl-calculate-indent): Return `noindent' in strings.
9638
9639 2012-03-28 Sam Steingold <sds@gnu.org>
9640
9641 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9642 instead of the broken adhockery which does not prevent calendar
9643 buffers from being displayed at random after exit.
9644 (calendar-window-list, calendar-hide-window): Remove the broken
9645 adhockery.
9646
9647 2012-03-28 Glenn Morris <rgm@gnu.org>
9648
9649 * replace.el (query-replace-map): Doc fix.
9650
9651 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9652
9653 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9654 contents. (Bug#11109)
9655
9656 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9659 (bug#11077).
9660 (avl-tree--check, avl-tree--check-node): New funs.
9661
9662 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9663
9664 * window.el (switch-to-visible-buffer): New option.
9665 (switch-to-prev-buffer, switch-to-next-buffer):
9666 Observe switch-to-visible-buffer. Make sure that checking for a window
9667 showing a buffer already is done on the same frame.
9668
9669 2012-03-27 Glenn Morris <rgm@gnu.org>
9670
9671 * startup.el (mail-host-address): Doc fix.
9672
9673 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9676 than 197 variables.
9677
9678 2012-03-26 Ami Fischman <ami@fischman.org>
9679
9680 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9681
9682 2012-03-26 Glenn Morris <rgm@gnu.org>
9683
9684 * files.el (save-buffers-kill-emacs): Doc fix.
9685
9686 * startup.el (normal-top-level, command-line, command-line-1):
9687 Give them doc strings.
9688
9689 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9690
9691 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9692 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9693
9694 2012-03-25 Chong Yidong <cyd@gnu.org>
9695
9696 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9697 theme if it was previously enabled before (Bug#11031).
9698
9699 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9700 spec with custom-face-get-current-spec if its :shown-value is not
9701 determined yet (Bug#9337).
9702 (customize-create-theme, custom-theme-revert): Doc fixes.
9703
9704 * button.el (button-at): Minor addition to docstring.
9705
9706 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9707
9708 * vc/vc.el (vc-merge): Fix a prompt.
9709
9710 2012-03-24 Chong Yidong <cyd@gnu.org>
9711
9712 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9713 point (Bug#9623).
9714
9715 * button.el (button-at): Minor addition to docstring.
9716
9717 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * newcomment.el (comment-choose-indent): No space after BOL.
9720
9721 2012-03-22 Sam Steingold <sds@gnu.org>
9722
9723 * window.el (switch-to-prev-buffer): Revert last patch because the
9724 bug turned out to be an advertised feature (Elisp manual 28.14).
9725
9726 2012-03-22 Glenn Morris <rgm@gnu.org>
9727
9728 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9729 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9730
9731 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9732
9733 * net/network-stream.el (network-stream-open-starttls): Make error
9734 message under Windows be less misleading.
9735
9736 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9737
9738 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9739 understands (bug#9942).
9740
9741 2012-03-22 Chong Yidong <cyd@gnu.org>
9742
9743 * simple.el (end-of-visible-line): Handle return value of
9744 next-single-property-change properly (Bug#9371).
9745
9746 2012-03-22 Kenichi Handa <handa@m17n.org>
9747
9748 * international/quail.el (quail-insert-kbd-layout): Fix previous
9749 change. To avoid unwanted bidi reordering, use
9750 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9751
9752 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9753
9754 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9755 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9756 (ruby-beginning-of-indent): Be more careful with the difference
9757 between word-boundary and symbol boundary.
9758 (ruby-mode-syntax-table): Make : a symbol constituent.
9759
9760 2012-03-21 Andreas Politz <politza@fh-trier.de>
9761
9762 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9763
9764 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * progmodes/etags.el (tags-completion-at-point-function):
9767 Improve last fix.
9768
9769 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9770
9771 2012-03-21 Sam Steingold <sds@gnu.org>
9772
9773 * progmodes/etags.el (tags-completion-at-point-function):
9774 Avoid the error when point is inside the pattern.
9775
9776 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9777
9778 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9779 line (Bug#10855).
9780
9781 2012-03-21 Drew Adams <drew.adams@oracle.com>
9782
9783 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9784
9785 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9786
9787 * ido.el (ido-set-current-directory, ido-read-internal)
9788 (ido-choose-completion-string, ido-completion-help): Handle nil
9789 value of ido-completion-buffer (Bug#11008).
9790
9791 2012-03-21 Sam Steingold <sds@gnu.org>
9792
9793 * window.el (switch-to-prev-buffer): Do not switch to a visible
9794 window previous buffer, just like with the frame previous buffers.
9795
9796 2012-03-21 Chong Yidong <cyd@gnu.org>
9797
9798 * faces.el (make-face, make-empty-face, copy-face):
9799 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9800 Doc fixes.
9801
9802 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9805 (widget-complete): Remove broken use of it.
9806
9807 2012-03-20 Chong Yidong <cyd@gnu.org>
9808
9809 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9810 Use string-width and truncate-string-width to handle arbitrary
9811 characters.
9812
9813 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9814
9815 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9816 to draw rectangles, not squares. (Regression introduced by revno
9817 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9818
9819 2012-03-18 Chong Yidong <cyd@gnu.org>
9820
9821 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9822 it is not yet defined (for temacs).
9823
9824 2012-03-18 Leo Liu <sdl.web@gmail.com>
9825
9826 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9827 prefix.
9828
9829 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9830
9831 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9832 (ispell-choices-win-default-height, ispell-silently-savep)
9833 (ispell-dictionary-alist, ispell-encoding8-command)
9834 (ispell-check-version, ispell-aspell-find-dictionary)
9835 (ispell-valid-dictionary-list, ispell-words-keyword)
9836 (ispell-get-word, ispell-internal-change-dictionary)
9837 (ispell-region, ispell-skip-region-list)
9838 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9839 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9840 (ispell-message-text-end, ispell-message)
9841 (ispell-buffer-local-parsing): Doc fix.
9842
9843 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9844
9845 * htmlfontify.el: Add support for code block fontification for ODT
9846 export (Bug #9914).
9847 (hfy-optimisations): Define new option
9848 `body-text-only'
9849 (hfy-fontify-buffer): Honor above setting.
9850 (hfy-begin-span, hfy-end-span): New routines factored out form
9851 `hfy-fontify-buffer'.
9852 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9853 that permit insertion of custom tags.
9854 (hfy-fontify-buffer): Use above handlers.
9855 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9856 (hfy-face-to-css): Re-defined to be a variable.
9857 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9858 over multiple runs. This is made possible by having the caller let
9859 bind a special variable `hfy-user-sheet-assoc'.
9860 (htmlfontify-string): New defun.
9861 (hfy-compile-face-map): Make sure that the last char in the
9862 buffer is correctly fontified.
9863 (hfy-face-resolve-face): Whitespace only change.
9864
9865 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9866
9867 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9868 message more clear.
9869
9870 2012-03-16 Leo Liu <sdl.web@gmail.com>
9871
9872 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9873
9874 2012-03-16 Alan Mackenzie <acm@muc.de>
9875
9876 Further optimise the handling of large macros.
9877
9878 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9879 limit to a call of `c-literal-limits'.
9880 (c-determine-+ve-limit): New function.
9881 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9882 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9883 In CASE 5B, restrict a search limit to 500.
9884 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9885
9886 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9887 Restrict macro bounds to +-500 from after-change's BEG END.
9888
9889 2012-03-16 Leo Liu <sdl.web@gmail.com>
9890
9891 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9892
9893 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9894
9895 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9896 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9897
9898 2012-03-16 Glenn Morris <rgm@gnu.org>
9899
9900 * view.el (view-buffer, view-buffer-other-window)
9901 (view-buffer-other-frame): Doc fixes re special mode-class.
9902
9903 * subr.el (eval-after-load): If named feature is provided not from
9904 a file, run after-load forms. (Bug#10946)
9905
9906 * calendar/calendar.el (calendar-insert-at-column):
9907 Handle non-unit-width characters a bit better. (Bug#10978)
9908
9909 2012-03-15 Chong Yidong <cyd@gnu.org>
9910
9911 * emacs-lisp/ring.el (ring-extend): New function.
9912 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9913
9914 * comint.el (comint-read-input-ring)
9915 (comint-add-to-input-history): Grow comint-input-ring lazily.
9916
9917 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9920 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9921
9922 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9923 (imenu-add-to-menubar): Don't add a redundant index.
9924 (imenu-update-menubar): Handle a dynamically composed keymap.
9925
9926 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9927
9928 * mail/sendmail.el (mail-encode-header):
9929 Bind rfc2047-encode-encoded-words to nil.
9930
9931 2012-03-13 Glenn Morris <rgm@gnu.org>
9932
9933 * calendar/calendar.el (calendar-string-spread):
9934 Handle non-unit-width characters a bit better. (Bug#10978)
9935
9936 2012-03-13 Leo Liu <sdl.web@gmail.com>
9937
9938 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9939 directory and file as argument (Bug#10822).
9940
9941 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9942
9943 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9944 For dynamically generated code, follow $PC.
9945 (gdb-disassembly-handler-custom): Handle no function name case.
9946
9947 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9948
9949 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9950 * emulation/ws-mode.el (ws-query-replace):
9951 * sort.el (sort-regexp-fields):
9952 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9953
9954 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * dabbrev.el: Fix cycle completion order (bug#10963).
9957 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9958 (dabbrev-completion): Don't use an obarray; provide
9959 a cycle-sort-function.
9960
9961 2012-03-12 Leo Liu <sdl.web@gmail.com>
9962
9963 * simple.el (kill-new): Use equal-including-properties for comparison.
9964 (kill-do-not-save-duplicates): Doc fix.
9965
9966 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * dabbrev.el: Fix cycle completion (bug#10963).
9969 Use lexical binding and wrap to 80 columns.
9970 (dabbrev-completion): Delay computing the list of completions.
9971
9972 2012-03-12 Kenichi Handa <handa@m17n.org>
9973
9974 * international/quail.el (quail-insert-kbd-layout): Surround each
9975 row by LRO and PDF instead of inserting many LRMs. Pad the left
9976 and right of each non-spacing marks. Insert invisible space
9977 between lower and upper characters to prevent composition.
9978
9979 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * minibuffer.el (minibuffer-complete): Don't get confused when the
9982 function is run twice via different commands (bug#10958).
9983 (complete-with-action): Fix docstring.
9984
9985 2012-03-12 Chong Yidong <cyd@gnu.org>
9986
9987 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9988 (nxml-completion-at-point-function): New function.
9989 (nxml-mode): Use it.
9990 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9991
9992 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9993 Load generated autoloads file before byte compiling (Bug#10970).
9994 (package--make-autoloads-and-compile): New helper fun.
9995
9996 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9997
9998 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9999
10000 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10001
10002 * autorevert.el (auto-revert-handler): Ensure, that
10003 file-readable-p is applied only for local files or in
10004 auto-revert-tail-mode.
10005
10006 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10007
10008 * server.el (server-eval-at): Handle non-tcp connections.
10009 Decode result string.
10010
10011 * server.el (server-msg-size): New constant.
10012 (server-reply-print): New function.
10013 (server-eval-and-print): Use it.
10014 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10015 Handle -print-nonl.
10016
10017 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10018
10019 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10020 (Bug#10987).
10021
10022 2012-03-11 Chong Yidong <cyd@gnu.org>
10023
10024 * simple.el (goto-line): Doc fix (Bug#9938).
10025
10026 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10027
10028 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10029 when finished (Bug#10963).
10030
10031 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10032
10033 * window.el (split-window-below): Fix bug in case where
10034 split-window-keep-point is nil (Bug#10971).
10035
10036 2012-03-11 Juri Linkov <juri@jurta.org>
10037
10038 * replace.el (replace-highlight): Set isearch-word to nil
10039 unconditionally. (Bug#10887)
10040
10041 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10042
10043 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10044 mairix-replace-illegal-chars; all callers changed. Don't remove
10045 ^, ~, and = characters: they are meaningful in mairix search specs.
10046 (mairix-widget-create-query): Add usage information about mairix
10047 search forms: negating words, searching for substrings, etc.
10048
10049 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10050
10051 * international/fontset.el (font-encoding-alist): Add an entry for
10052 ksx1001 (Bug#5667).
10053
10054 2012-03-10 Richard Stallman <rms@gnu.org>
10055
10056 * mail/sendmail.el (mail-encode-header):
10057 Set rfc2047-encode-encoded-words.
10058
10059 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10060
10061 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10062 view buffer means not swapped.
10063 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10064 (rmail-write-region-annotate): Error if real text has disappeared.
10065
10066 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10067
10068 2012-03-10 Chong Yidong <cyd@gnu.org>
10069
10070 * emulation/cua-rect.el (cua--init-rectangles):
10071 * emulation/cua-base.el (cua--init-keymaps):
10072 Add delete-forward-char to remappings (Bug#9666).
10073
10074 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10075
10076 * speedbar.el (speedbar-unhighlight-one-tag-line):
10077 Avoid unhighlighting due to frame switching (Bug#10275).
10078
10079 2012-03-10 Chong Yidong <cyd@gnu.org>
10080
10081 * minibuffer.el (completion-in-region, completion-help-at-point):
10082 Give the completion field overlay a high priority (Bug#6830).
10083
10084 * dired.el (dired-goto-file): Recognize absolute file name
10085 listings (Bug#7126).
10086 (dired-goto-file-1): New helper function.
10087 (dired-toggle-read-only): Inhibit warnings.
10088
10089 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10090
10091 * net/dbus.el (dbus-property-handler): Return empty array if
10092 there are no properties.
10093
10094 2012-03-09 Leo Liu <sdl.web@gmail.com>
10095
10096 * savehist.el (savehist-printable): Stricter check for string
10097 value (Bug#10937).
10098
10099 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10100
10101 * mail/smtpmail.el (smtpmail-send-it):
10102 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10103 valid mbox format.
10104
10105 2012-03-09 Glenn Morris <rgm@gnu.org>
10106
10107 * files.el (dir-locals-find-file):
10108 Don't check result is regular, readable.
10109 (dir-locals-read-from-file): Demote errors.
10110
10111 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10112
10113 * international/quail.el (quail-insert-kbd-layout):
10114 Insert invisible LRM characters before each character in a keyboard
10115 layout cell, to prevent their reordering by bidi display engine.
10116 For details, see the discussion in
10117 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10118
10119 2012-03-08 Alan Mackenzie <acm@muc.de>
10120
10121 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10122 the starting position; make it extend the marked region when
10123 invoked repeatedly - all under appropriate circumstances.
10124 Fixes bugs #5525, #10906.
10125
10126 2012-03-08 Glenn Morris <rgm@gnu.org>
10127
10128 * files.el (locate-dominating-file, dir-locals-find-file):
10129 Undo 2012-03-06 change.
10130
10131 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10132
10133 * international/quail.el (quail-help):
10134 Force bidi-paragraph-direction be left-to-right. See discussion in
10135 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10136 for the reason.
10137
10138 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10139
10140 Avoid superfluous registering of signals. (Bug#10807)
10141
10142 * notifications.el (notifications-on-action-object)
10143 (notifications-on-close-object): New defvars.
10144 (notifications-on-action-signal, notifications-on-closed-signal):
10145 Unregister the signal if not needed any longer.
10146 (notifications-notify): Register `notifications-action-signal' or
10147 `notifications-closed-signal', if :on-action or :on-close has been
10148 passed as argument.
10149
10150 2012-03-07 Chong Yidong <cyd@gnu.org>
10151
10152 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10153 non-X platforms.
10154
10155 2012-03-06 Glenn Morris <rgm@gnu.org>
10156
10157 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10158 (x-disown-selection-internal, x-get-selection-internal):
10159 Doc fix (add arglist signatures). (Bug#10783)
10160
10161 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10162
10163 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10164 Handle breakpoints with no "type".
10165
10166 2012-03-06 Glenn Morris <rgm@gnu.org>
10167
10168 * files.el (locate-dominating-file): Add optional predicate argument.
10169 (dir-locals-find-file): Make use of above change.
10170
10171 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10172
10173 * info.el (Info-insert-dir): Also try "dir.gz".
10174
10175 2012-03-06 Glenn Morris <rgm@gnu.org>
10176
10177 * files.el (dir-locals-find-file):
10178 Ignore non-readable or non-regular files. (Bug#10928)
10179
10180 * files.el (locate-dominating-file): Doc fix.
10181
10182 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10183
10184 * calendar/calendar.el (calendar-set-mode-line):
10185 `getenv' returns a string. (Bug#10951)
10186
10187 2012-03-05 Leo Liu <sdl.web@gmail.com>
10188
10189 * simple.el (backward-delete-char-untabify): Constrain point to
10190 field (Bug#10939).
10191
10192 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10193
10194 2012-03-05 Chong Yidong <cyd@gnu.org>
10195
10196 * simple.el (count-words): If called from Lisp, return the word
10197 count, for symmetry with `count-lines'. Arglist changed.
10198 (count-words--message): Args changed. Consolidate counting code
10199 from count-words and count-words-region.
10200 (count-words-region): Caller changed.
10201 (count-lines-region): Make it an obsolete alias.
10202
10203 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10204
10205 * saveplace.el (save-place-to-alist)
10206 (save-place-ignore-files-regexp): Allow value nil to disable this
10207 feature.
10208
10209 2012-03-04 Chong Yidong <cyd@gnu.org>
10210
10211 * faces.el (face-spec-reset-face): For the default face, reset the
10212 attributes to default values (Bug#10748).
10213
10214 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10215
10216 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10217 previous patch: Check `message-send-mail-function', and not the
10218 default function (bug#10897).
10219
10220 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10221
10222 * notifications.el (notifications-on-action-signal)
10223 (notifications-on-closed-signal): Check for unique service name of
10224 incoming event. Fix error in removing entry.
10225 (top): Register for signals with wildcard service name.
10226 (notifications-notify): Use daemon unique service name for map entries.
10227
10228 2012-03-04 Chong Yidong <cyd@gnu.org>
10229
10230 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10231
10232 2012-03-04 Glenn Morris <rgm@gnu.org>
10233
10234 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10235 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10236 (expand-abbrev, define-abbrev-table): Doc fixes.
10237
10238 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10239
10240 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10241 `message-default-send-mail-function' and not `send-mail-function'
10242 when doing the prompting for `sendmail-query-once' before sending
10243 in Message buffers (bug#10897).
10244
10245 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10246 This is inconsistent with all the other stream functions, which leave
10247 the setting up to the higher levels (if so wanted) (bug#10931).
10248
10249 2012-03-02 Alan Mackenzie <acm@muc.de>
10250
10251 Depessimize the handling of very large macros.
10252
10253 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10254 (c-macro-cache-syntactic): New variables to implement a one
10255 element macro cache.
10256 (c-invalidate-macro-cache): New function.
10257 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10258 Adapt to use the new cache.
10259 (c-state-safe-place): Use better the cache of safe positions.
10260 (c-state-semi-nonlit-pos-cache)
10261 (c-state-semi-nonlit-pos-cache-limit):
10262 New variables for...
10263 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10264 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10265 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10266 Use c-state-semi-safe-place.
10267
10268 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10269 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10270
10271 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10272
10273 * jka-compr.el (jka-compr-call-process):
10274 Apply `file-accessible-directory-p' only when the default directory is
10275 not remote.
10276
10277 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10280 access of FILE2, if FILE1 does not exist.
10281
10282 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10283 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10284
10285 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10286 Add "PAGER=" to `process-environment'.
10287
10288 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10289
10290 * progmodes/sql.el: Bug fix
10291 (sql-get-login-ext): Save login values in globals.
10292 (sql-get-login): Use new version of `sql-get-login-ext'.
10293 (sql-interactive-mode): Set global `sql-connection' to nil.
10294 (sql-connect): Set global values for connection.
10295 (sql-product-interactive): Save global values as buffer local.
10296
10297 2012-02-29 Leo Liu <sdl.web@gmail.com>
10298
10299 * abbrev.el (define-abbrevs): Reset sys to nil.
10300
10301 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10302
10303 * files.el (file-equal-p): Rename from `files-equal-p'.
10304 Return nil when one or both files don't exist.
10305 (file-subdir-of-p): Now only top directory must exists,
10306 return nil if it doesn't.
10307 (copy-directory): No need to test with `file-subdir-of-p' after
10308 creating dir.
10309 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10310 to `file-equal-p'.
10311
10312 2012-02-28 Glenn Morris <rgm@gnu.org>
10313
10314 * shell.el (shell-mode):
10315 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10316 * play/landmark.el (landmark-font-lock-face-O):
10317 * play/handwrite.el (handwrite):
10318 * play/gomoku.el (gomoku-O):
10319 * net/browse-url.el (browse-url-browser-display):
10320 * international/mule.el (define-charset):
10321 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10322 * filesets.el (filesets-find-file-delay):
10323 * eshell/em-xtra.el (eshell-xtra):
10324 * eshell/em-unix.el (eshell-grep):
10325 * emulation/viper.el (viper-mode):
10326 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10327 * emacs-lisp/easymenu.el (easy-menu-define):
10328 * calendar/timeclock.el (timeclock-use-display-time):
10329 * bs.el (bs-mode):
10330 * bookmark.el (bookmark-save-flag):
10331 Doc fix (standardize possessive apostrophe usage).
10332
10333 2012-02-27 Chong Yidong <cyd@gnu.org>
10334
10335 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10336 Fix key-binding lookup for ESC key (Bug#9146).
10337
10338 * font-lock.el (font-lock-specified-p): Rename from
10339 font-lock-spec-present. Callers changed.
10340
10341 2012-02-27 Daniel Hackney <dan@haxney.org>
10342
10343 * emacs-lisp/package.el (package-compute-transaction):
10344 Handle holding a package version to t in package-load-list.
10345
10346 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10349 (tramp-get-inode, tramp-get-device): Use cached values.
10350
10351 2012-02-26 Alan Mackenzie <acm@muc.de>
10352
10353 Check there is a font-lock specification before doing initial
10354 fontification.
10355
10356 * font-core.el (font-lock-mode): Move the conditional from
10357 :after-hook to font-lock-initial-fontify.
10358 (font-lock-default-function): Move the check for a specification
10359 to font-lock-spec-present.
10360
10361 * font-lock.el (font-lock-initial-fontify): Call ...
10362 (font-lock-spec-present): New function.
10363
10364 2012-02-26 Jim Blandy <jimb@red-bean.com>
10365
10366 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10367 (gdb-send): Apply it to the operand of the '-interpreter-exec
10368 console' command, so that we can pass arguments with (say) quotes
10369 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10370
10371 2012-02-26 Chong Yidong <cyd@gnu.org>
10372
10373 * help-fns.el (describe-function-1): Clarify description of
10374 remapping (Bug#10844).
10375
10376 * files.el (files-equal-p): Doc fix.
10377 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10378 and quit the loop once a mismatch is found.
10379
10380 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10381
10382 * bs.el (bs--show-with-configuration): Don't throw an error
10383 if the window cannot be split; otherwise, subsequent calls to
10384 bs-show fail, restoring a stale window config. (Bug#10882)
10385
10386 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10387
10388 * term/ns-win.el (global-map): Bind ns-drag-file to
10389 ns-find-file (Bug#5855, Bug#10050).
10390
10391 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10392
10393 * calendar/parse-time.el (parse-time-string): Allow extractor to
10394 return nil.
10395
10396 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10397
10398 * net/tramp.el (tramp-file-name-for-operation):
10399 Add `files-equal-p' and `file-subdir-of-p'.
10400
10401 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10402 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10403 Add COPY-CONTENTS argument.
10404
10405 2012-02-25 Chong Yidong <cyd@gnu.org>
10406
10407 Add custom groups for VC backends, for consistency with vc-bzr.
10408
10409 * vc/vc-arch.el (vc-arch):
10410 * vc/vc-cvs.el (vc-cvs):
10411 * vc/vc-git.el (vc-git):
10412 * vc/vc-hg.el (vc-hg):
10413 * vc/vc-mtn.el (vc-mtn):
10414 * vc/vc-rcs.el (vc-rcs):
10415 * vc/vc-sccs.el (vc-sccs):
10416 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10417 All relevant defcustoms reassigned.
10418
10419 2012-02-25 Chong Yidong <cyd@gnu.org>
10420
10421 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10422
10423 * term/x-win.el (x-initialize-window-system): Reduce default for
10424 x-selection-timeout to 5 seconds (Bug#8869).
10425
10426 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10427
10428 * files.el (files-equal-p, file-subdir-of-p): New functions.
10429 (copy-directory): Error when trying to copy a directory on itself.
10430 Add missing copy-contents arg to tramp handler.
10431 * dired-aux.el (dired-copy-file-recursive): Same.
10432 (dired-create-files): Modify destination when source is equal to
10433 dest when copying files.
10434 Return also when dest is a subdir of source. (Bug#10489)
10435
10436 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10437
10438 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10439 (Bug#10874)
10440
10441 2012-02-23 Alan Mackenzie <acm@muc.de>
10442
10443 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10444 parameter "after-hook:" to allow the expansion to run code after
10445 the execution of the mode hooks.
10446
10447 * font-lock.el (font-lock-initial-fontify): New function extracted
10448 from font-lock-mode-internal.
10449
10450 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10451 :after-hook.
10452
10453 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10454
10455 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10456 (completion--cache-all-sorted-completions): New function.
10457 (completion-all-sorted-completions): Use it.
10458 (completion--do-completion, minibuffer-force-complete):
10459 Use it to re-instate the flush hook.
10460
10461 * icomplete.el (icomplete-completions): Replace last fix with a better
10462 one (bug#10850).
10463
10464 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10465
10466 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10467 when it might call us back infinitely (bug#10797).
10468
10469 2012-02-23 Glenn Morris <rgm@gnu.org>
10470
10471 * minibuffer.el (completion-category-overrides): Doc fix.
10472
10473 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10476 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10477
10478 2012-02-23 Glenn Morris <rgm@gnu.org>
10479
10480 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10481 (authors-obsolete-files-regexps, authors-ignored-files)
10482 (authors-ambiguous-files, authors-renamed-files-alist):
10483 Add more entries.
10484
10485 2012-02-23 Juri Linkov <juri@jurta.org>
10486
10487 * isearch.el (isearch-occur): Sync interactive spec with occur's
10488 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10489
10490 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10491
10492 2012-02-22 Juri Linkov <juri@jurta.org>
10493
10494 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10495 (ucs-insert): Doc fix. Check for hex digits in the string.
10496 Don't display `nil' in the error message. (Bug#10857)
10497
10498 2012-02-22 Alan Mackenzie <acm@muc.de>
10499
10500 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10501
10502 2012-02-22 Glenn Morris <rgm@gnu.org>
10503
10504 * ffap.el (ffap-c-path):
10505 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10506
10507 2012-02-22 Chong Yidong <cyd@gnu.org>
10508
10509 * custom.el (load-theme): Doc fix.
10510
10511 2012-02-22 Glenn Morris <rgm@gnu.org>
10512
10513 * dired-x.el (dired-guess-shell-alist-default):
10514 Remove escape sequences from nroff output. (Bug#172)
10515
10516 2012-02-21 Glenn Morris <rgm@gnu.org>
10517
10518 * vc/emerge.el (emerge-defvar-local):
10519 Set `permanent-local' property rather than unused `preserved'.
10520
10521 * textmodes/picture.el (picture-delete-char): New alias.
10522 (picture-mode-map): Use it. (Bug#10860)
10523 (picture-mode): Doc fix.
10524
10525 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10526
10527 * newcomment.el (uncomment-region-default): Remove unused binding.
10528
10529 2012-02-21 Glenn Morris <rgm@gnu.org>
10530
10531 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10532 (picture-self-insert, picture-tab-chars): Doc fix.
10533 (picture-mode-map): Fix C-a, C-e.
10534
10535 2012-02-20 Glenn Morris <rgm@gnu.org>
10536
10537 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10538
10539 2012-02-20 Leo Liu <sdl.web@gmail.com>
10540
10541 * icomplete.el (icomplete-completions): Check FROM arg before
10542 passing to substring (Bug#10850).
10543
10544 2012-02-19 Chong Yidong <cyd@gnu.org>
10545
10546 * comint.el: Require ansi-color.
10547 (comint-output-filter-functions): Add ansi-color-process-output.
10548
10549 * ansi-color.el: Don't set comint-output-filter-functions; it is
10550 now in the initial value defined in comint.el.
10551 (ansi-color-apply-face-function): New variable.
10552 (ansi-color-apply-on-region): Use it.
10553 (ansi-color-apply-overlay-face): New function.
10554
10555 * shell.el (shell): No need to require ansi-color.
10556 (shell-mode): Use ansi-color-apply-face-function to highlight
10557 color escapes using font-lock-face property (Bug#10835).
10558
10559 2012-02-19 Chong Yidong <cyd@gnu.org>
10560
10561 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10562 mode-line formats (Bug#10839).
10563
10564 2012-02-18 Glenn Morris <rgm@gnu.org>
10565
10566 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10567
10568 * mail/undigest.el (unforward-rmail-message): Doc fix.
10569
10570 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10571
10572 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10573
10574 * international/characters.el (script-list): Sync with the latest
10575 Unicode Character Database.
10576
10577 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10578
10579 * international/titdic-cnv.el: Remove duplicate coding tag.
10580 * language/cham.el: Likewise.
10581 * language/tai-viet.el: Likewise.
10582
10583 2012-02-18 Glenn Morris <rgm@gnu.org>
10584
10585 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10586 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10587 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10588 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10589 * calendar/holidays.el (holiday-bahai-holidays)
10590 (calendar-holidays, list-holidays):
10591 Use utf-8 Bahá'í in doc-strings, menus, etc.
10592
10593 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10594
10595 * saveplace.el (save-place-ignore-files-regexp): New variable
10596 allowing for excluding files from saving their location of point.
10597 The default value matches the temporary commit message editing
10598 files from Git, SVN, Bazaar, and Mercurial.
10599 (save-place-to-alist): Use it.
10600
10601 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10602 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * newcomment.el (uncomment-region-default): Don't leave extra space
10605 when an arg is provided (bug#8150).
10606
10607 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10608
10609 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10610
10611 2012-02-17 Glenn Morris <rgm@gnu.org>
10612
10613 * net/socks.el: Require network-stream. (Bug#10599)
10614
10615 2012-02-17 Kenichi Handa <handa@m17n.org>
10616
10617 * international/charprop.el:
10618 * international/uni-name.el:
10619 * international/uni-old-name.el:
10620 * international/uni-comment.el: Regenerate.
10621
10622 2012-02-16 Glenn Morris <rgm@gnu.org>
10623
10624 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10625 Interactively in calendar buffer, give an error if not on a date.
10626
10627 2012-02-15 Glenn Morris <rgm@gnu.org>
10628
10629 * shell.el (shell-delimiter-argument-list):
10630 Revert 2011-02-17 change. (Bug#8027)
10631
10632 2012-02-15 Chong Yidong <cyd@gnu.org>
10633
10634 * minibuffer.el (completion-at-point-functions): Doc fix.
10635
10636 * custom.el (defcustom): Doc fix; note use of defvar.
10637
10638 2012-02-15 Glenn Morris <rgm@gnu.org>
10639
10640 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10641 Doc fixes.
10642
10643 2012-02-14 Glenn Morris <rgm@gnu.org>
10644
10645 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10646
10647 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10648
10649 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10650 way the ports list is computed.
10651 (smtpmail-query-smtp-server): Prompt the user for a port number if
10652 we can't connect to any of the standard ports (bug#10810).
10653
10654 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10655
10656 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10657
10658 2012-02-13 Glenn Morris <rgm@gnu.org>
10659
10660 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10661
10662 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10663
10664 * net/gnutls.el (gnutls-trustfiles): New variable.
10665 (gnutls-negotiate): Use it.
10666
10667 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10668
10669 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10670 does its stuff if Gnus is running.
10671
10672 2012-02-13 Alan Mackenzie <acm@muc.de>
10673
10674 Fix a loop in c-set-fl-decl-start.
10675
10676 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10677 c-backward-syntactic-ws actually moves backwards.
10678
10679 2012-02-13 Leo Liu <sdl.web@gmail.com>
10680
10681 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10682 beginning so that all \C-o chars are removed.
10683
10684 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10685
10686 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10687
10688 2012-02-12 Alan Mackenzie <acm@muc.de>
10689
10690 Fix infinite loop with long macros.
10691 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10692
10693 2012-02-12 Chong Yidong <cyd@gnu.org>
10694
10695 * window.el (display-buffer): Doc fix (Bug#10785).
10696
10697 2012-02-12 Glenn Morris <rgm@gnu.org>
10698
10699 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10700 (x-disown-selection-internal, x-get-selection-internal):
10701 Sync docs with the xselect.c versions.
10702
10703 * allout-widgets.el: Add missing license notice.
10704
10705 2012-02-11 Glenn Morris <rgm@gnu.org>
10706
10707 * select.el (x-get-selection-internal, x-own-selection-internal)
10708 (x-disown-selection-internal):
10709 * x-dnd.el (x-get-selection-internal): Update declarations.
10710
10711 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10712
10713 * window.el (window-sides-slots):
10714 * tool-bar.el (tool-bar-position):
10715 * term/xterm.el (xterm-extra-capabilities):
10716 * ses.el (ses-self-reference-early-detection):
10717 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10718 (verilog-auto-wire-type)
10719 (verilog-auto-delete-trailing-whitespace)
10720 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10721 (verilog-auto-tieoff-declaration):
10722 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10723 (sql-oracle-statement-starters, sql-oracle-scan-on):
10724 * progmodes/prolog.el (prolog-align-comments-flag)
10725 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10726 (prolog-left-indent-regexp, prolog-paren-indent-p)
10727 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10728 (prolog-types, prolog-mode-specificators)
10729 (prolog-determinism-specificators, prolog-directives)
10730 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10731 (prolog-electric-dot-flag)
10732 (prolog-electric-dot-full-predicate-template)
10733 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10734 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10735 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10736 (prolog-program-switches, prolog-prompt-regexp)
10737 (prolog-debug-on-string, prolog-debug-off-string)
10738 (prolog-trace-on-string, prolog-trace-off-string)
10739 (prolog-zip-on-string, prolog-zip-off-string)
10740 (prolog-use-standard-consult-compile-method-flag)
10741 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10742 (prolog-imenu-max-lines, prolog-info-predicate-index)
10743 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10744 (prolog-char-quote-workaround):
10745 * progmodes/cc-vars.el (c-defun-tactic):
10746 * net/tramp.el (tramp-encoding-command-interactive)
10747 (tramp-local-end-of-line):
10748 * net/soap-client.el (soap-client):
10749 * net/netrc.el (netrc-file):
10750 * net/gnutls.el (gnutls):
10751 * minibuffer.el (completion-category-overrides)
10752 (completion-cycle-threshold)
10753 (completion-pcm-complete-word-inserts-delimiters):
10754 * man.el (Man-name-local-regexp):
10755 * mail/feedmail.el (feedmail-display-full-frame):
10756 * international/characters.el (glyphless-char-display-control):
10757 * eshell/em-ls.el (eshell-ls-date-format):
10758 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10759 (lisp-lambda-list-keyword-parameter-indentation)
10760 (lisp-lambda-list-keyword-parameter-alignment):
10761 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10762 * dired-x.el (dired-omit-verbose):
10763 * cus-theme.el (custom-theme-allow-multiple-selections):
10764 * calc/calc.el (calc-highlight-selections-with-faces)
10765 (calc-lu-field-reference, calc-lu-power-reference)
10766 (calc-note-threshold):
10767 * battery.el (battery-mode-line-limit):
10768 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10769 (archive-7z-update):
10770 * allout.el (allout-prefixed-keybindings)
10771 (allout-unprefixed-keybindings)
10772 (allout-inhibit-auto-fill-on-headline)
10773 (allout-flattened-numbering-abbreviation):
10774 * allout-widgets.el (allout-widgets-auto-activation)
10775 (allout-widgets-icons-dark-subdir)
10776 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10777 (allout-widgets-theme-dark-background)
10778 (allout-widgets-theme-light-background)
10779 (allout-widgets-item-image-properties-emacs)
10780 (allout-widgets-item-image-properties-xemacs)
10781 (allout-widgets-run-unit-tests-on-load)
10782 (allout-widgets-time-decoration-activity)
10783 (allout-widgets-hook-error-post-time)
10784 (allout-widgets-track-decoration):
10785 Add missing :version tags to new defcustoms and defgroups.
10786
10787 * progmodes/sql.el (sql-ansi-statement-starters)
10788 (sql-oracle-statement-starters): Add custom type.
10789
10790 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10791 (prolog-system-version): Give it a type.
10792
10793 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10794
10795 * term/pc-win.el (x-select-text, x-selection-owner-p)
10796 (x-own-selection-internal, x-disown-selection-internal)
10797 (x-get-selection-internal): Sync doc strings and argument lists
10798 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10799
10800 2012-02-11 Leo Liu <sdl.web@gmail.com>
10801
10802 * progmodes/python.el (python-end-of-statement): Fix infinite
10803 loop. (Bug#10788)
10804
10805 2012-02-10 Glenn Morris <rgm@gnu.org>
10806
10807 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10808 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10809
10810 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10811
10812 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10813 about SMTP before checking the From header.
10814
10815 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10816 into own function for reuse by emacsbug.el.
10817
10818 2012-02-10 Leo Liu <sdl.web@gmail.com>
10819
10820 * subr.el (condition-case-unless-debug): Rename from
10821 condition-case-no-debug. All callers changed.
10822 (with-demoted-errors): Fix caller.
10823
10824 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10825 * nxml/rng-valid.el (rng-do-some-validation):
10826 * emacs-lisp/package.el (package-refresh-contents)
10827 (package-menu-execute):
10828 * desktop.el (desktop-create-buffer):
10829 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10830
10831 2012-02-10 Glenn Morris <rgm@gnu.org>
10832
10833 * textmodes/bibtex.el:
10834 Add missing :version tags for new/changed defcustoms.
10835
10836 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10837
10838 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10839
10840 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10841 (smtpmail-via-smtp): Use it, or fall back on the From address.
10842 (smtpmail-send-it): Ditto.
10843
10844 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10847 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10848 (byte-compile-tmp-var): New const.
10849 (byte-compile-defvar): Use it to minimize .elc size.
10850 Just use `defvar' rather than simulate it (bug#10761).
10851
10852 2012-02-09 Glenn Morris <rgm@gnu.org>
10853
10854 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10855
10856 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10857 Add :version tags.
10858
10859 * progmodes/compile.el (compilation-error-screen-columns)
10860 (compilation-first-column, compilation-filter-start): Doc fixes.
10861
10862 * vc/log-view.el (log-view-toggle-entry-display):
10863 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10864
10865 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10866 (report-emacs-bug-can-use-xdg-email):
10867 (report-emacs-bug-insert-to-mailer): Doc fixes.
10868 (report-emacs-bug): Message fix.
10869
10870 * net/browse-url.el (browse-url-can-use-xdg-open)
10871 (browse-url-xdg-open): Doc fixes.
10872
10873 * electric.el (electric-indent-mode, electric-pair-mode)
10874 (electric-layout-rules, electric-layout-mode): Doc fixes.
10875 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10876
10877 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10878
10879 * server.el (server-unselect-display): Don't inadvertently kill
10880 the current buffer. (Bug#10729)
10881
10882 2012-02-08 Glenn Morris <rgm@gnu.org>
10883
10884 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10885 (sql-list-table): Doc fixes.
10886
10887 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10888 Comment out (does nothing).
10889
10890 * completion.el (dynamic-completion-mode):
10891 * dirtrack.el (dirtrack-debug-mode):
10892 * electric.el (electric-layout-mode):
10893 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10894 * face-remap.el (text-scale-mode, buffer-face-mode):
10895 * iimage.el (iimage-mode):
10896 * image-mode.el (image-transform-mode):
10897 * minibuffer.el (completion-in-region-mode):
10898 * scroll-lock.el (scroll-lock-mode):
10899 * simple.el (next-error-follow-minor-mode):
10900 * tar-mode.el (tar-subfile-mode):
10901 * tooltip.el (tooltip-mode):
10902 * vcursor.el (vcursor-use-vcursor-map):
10903 * wid-browse.el (widget-minor-mode):
10904 * emulation/tpu-edt.el (tpu-edt-mode):
10905 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10906 * international/iso-ascii.el (iso-ascii-mode):
10907 * language/thai-util.el (thai-word-mode):
10908 * mail/supercite.el (sc-minor-mode):
10909 * net/goto-addr.el (goto-address-mode):
10910 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10911 * progmodes/cwarn.el (cwarn-mode):
10912 * progmodes/flymake.el (flymake-mode):
10913 * progmodes/glasses.el (glasses-mode):
10914 * progmodes/hideshow.el (hs-minor-mode):
10915 * progmodes/pascal.el (pascal-outline-mode):
10916 * textmodes/enriched.el (enriched-mode):
10917 * vc/smerge-mode.el (smerge-mode):
10918 Doc fixes (minor mode argument).
10919
10920 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10921
10922 * ls-lisp.el (ls-lisp-sanitize): New function.
10923 (ls-lisp-insert-directory): Use it to fix or remove any elements
10924 in file-alist with missing attributes. (Bug#4673)
10925
10926 2012-02-07 Alan Mackenzie <acm@muc.de>
10927
10928 Fix spurious recognition of c-in-knr-argdecl.
10929
10930 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10931 putative K&R region.
10932
10933 2012-02-07 Alan Mackenzie <acm@muc.de>
10934
10935 * progmodes/cc-engine.el (c-forward-objc-directive):
10936 Prevent looping in "#pragma mark @implementation".
10937
10938 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10939
10940 * notifications.el (notifications-on-closed-signal): Make `reason'
10941 optional. (Bug#10744)
10942
10943 2012-02-07 Glenn Morris <rgm@gnu.org>
10944
10945 * emacs-lisp/easy-mmode.el (define-minor-mode):
10946 Doc fixes for the macro and the mode it defines.
10947
10948 * image.el (imagemagick-types-inhibit): Doc fix.
10949
10950 * cus-start.el (imagemagick-render-type): Add it.
10951
10952 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10953
10954 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10955 Set the default at load time, too, so that `font-lock-fontify-buffer'
10956 can be called without setting up the entire mode first. This fixes
10957 a bug in `mm-inline-text' with C MIME parts.
10958
10959 2012-02-06 Chong Yidong <cyd@gnu.org>
10960
10961 * simple.el (list-processes--refresh): Delete exited processes
10962 (Bug#8094).
10963
10964 * comint.el (comint-next-prompt): next-single-char-property-change
10965 and prev-single-char-property-change never return nil (Bug#8657).
10966
10967 * custom.el (defcustom): Doc fix (Bug#9711).
10968
10969 2012-02-05 Chong Yidong <cyd@gnu.org>
10970
10971 * cus-edit.el (custom-variable-reset-backup): Quote the value
10972 before storing it in the customized-value property (Bug#6712).
10973 (custom-display): Add a customization type tag.
10974 (custom-buffer-create-internal): Improve tooltip message.
10975
10976 * wid-edit.el (widget-field-value-get): New optional arg to
10977 suppress trailing whitespace truncation.
10978 (character): Use it (Bug#2689).
10979
10980 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10981
10982 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10983 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10984
10985 2012-02-05 Chong Yidong <cyd@gnu.org>
10986
10987 * cus-edit.el (custom-variable-value-create): For mismatched
10988 types, show the current value (Bug#7600).
10989
10990 * custom.el (defcustom): Doc fix.
10991
10992 2012-02-05 Glenn Morris <rgm@gnu.org>
10993
10994 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10995
10996 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10997
10998 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10999 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11000 (pp-last-sexp): Use `looking-at-p'.
11001
11002 2012-02-04 Glenn Morris <rgm@gnu.org>
11003
11004 * files.el (revert-buffer):
11005 Doc fix (mention revert-buffer-in-progress-p).
11006
11007 * emacs-lisp/ert-x.el (ert-simulate-command):
11008 Check deferred-action-list (which is obsolete) is bound.
11009
11010 * subr.el (with-wrapper-hook): Doc fixes.
11011
11012 * simple.el (filter-buffer-substring-functions)
11013 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11014
11015 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11016
11017 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11018 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11019
11020 2012-02-04 Leo Liu <sdl.web@gmail.com>
11021
11022 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11023
11024 2012-02-04 Glenn Morris <rgm@gnu.org>
11025
11026 * image.el (image-extension-data): Add obsolete alias.
11027
11028 * isearch.el (isearch-update): Doc fix.
11029
11030 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11031
11032 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11033
11034 2012-02-03 Glenn Morris <rgm@gnu.org>
11035
11036 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11037 (image-animate-timeout): Doc fix.
11038
11039 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11040
11041 2012-02-02 Glenn Morris <rgm@gnu.org>
11042
11043 * server.el (server-auth-dir): Doc fix.
11044 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11045
11046 * subr.el (run-mode-hooks): Doc fix.
11047
11048 2012-02-02 Juri Linkov <juri@jurta.org>
11049
11050 * image-mode.el (image-toggle-display-image): Remove tautological
11051 `major-mode' from the `derived-mode-p' test.
11052
11053 2012-02-02 Kenichi Handa <handa@m17n.org>
11054
11055 * composite.el (compose-region): Cancel previous change.
11056
11057 2012-02-02 Kenichi Handa <handa@m17n.org>
11058
11059 * composite.el (compose-region, compose-string): Signal error for
11060 a null string component (Bug#6988).
11061
11062 2012-02-01 Chong Yidong <cyd@gnu.org>
11063
11064 * view.el (view-buffer-other-window, view-buffer-other-frame):
11065 Handle special modes like view-buffer (Bug#10650).
11066 (view-buffer): Simplify.
11067
11068 * frame.el (set-frame-font): Tweak meaning of third argument.
11069
11070 * dynamic-setting.el (font-setting-change-default-font):
11071 Use set-frame-font (Bug#9982).
11072
11073 2012-02-01 Glenn Morris <rgm@gnu.org>
11074
11075 * progmodes/compile.el (compilation-internal-error-properties):
11076 Respect compilation-first-column in the "*compilation*" buffer.
11077
11078 * emacs-lisp/easy-mmode.el (define-minor-mode):
11079 Relax :variable's test for a named function.
11080
11081 2012-01-31 Alan Mackenzie <acm@muc.de>
11082
11083 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11084 off by one error.
11085
11086 2012-01-31 Chong Yidong <cyd@gnu.org>
11087
11088 * frame.el (set-frame-font): New arg ALL-FRAMES.
11089
11090 * menu-bar.el (menu-set-font): Use set-frame-font.
11091
11092 * faces.el (face-spec-reset-face): Don't apply unspecified
11093 attribute values to the default face.
11094
11095 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11096
11097 * progmodes/cwarn.el (cwarn): Remove dead link.
11098 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11099 Remove * from defcustom docstrings.
11100 (turn-on-cwarn-mode): Make obsolete.
11101 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11102 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11103
11104 2012-01-31 Glenn Morris <rgm@gnu.org>
11105
11106 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11107 Fix :variable handling of mode a symbol not equal to modefun.
11108 Allow named functions to be used as the cdr of :variable.
11109
11110 2012-01-30 Glenn Morris <rgm@gnu.org>
11111
11112 * emacs-lisp/authors.el (authors-fixed-entries):
11113 Remove reference to deleted file rnewspost.el.
11114
11115 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11116
11117 * window.el (window-with-parameter): Remove unused variable `windows'.
11118 (window--side-check): Remove unused variable `code'.
11119 (window--resize-siblings): Remove unused variable `first'.
11120 (adjust-window-trailing-edge): Remove unused variable `failed'.
11121 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11122 Use `let', not `let*'.
11123 (balance-windows-2): Remove unused variable `found'.
11124 (window--state-put-2): Remove unused variable `splits'.
11125 (window-state-put): Remove unused variable `selected'.
11126 (same-window-p): Use `string-match-p'.
11127 (display-buffer-assq-regexp): Remove unused variable `value'.
11128 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11129 Mark argument ALIST as ignored.
11130 (pop-to-buffer): Remove unused variable `old-window'.
11131
11132 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11133
11134 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11135 and .lzma compressed files.
11136
11137 2012-01-29 Chong Yidong <cyd@gnu.org>
11138
11139 * frame.el (window-system-default-frame-alist): Doc fix.
11140
11141 * dynamic-setting.el (font-setting-change-default-font): Don't
11142 change the default face if SET-FONT argument is non-nil (Bug#9982).
11143
11144 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11145
11146 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11147
11148 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11149
11150 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11151 breakpoints in files outside current directory (Bug#6098).
11152
11153 2012-01-29 Chong Yidong <cyd@gnu.org>
11154
11155 * progmodes/python.el: Require ansi-color at top-level.
11156
11157 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11158 Define and use in Emacs Lisp mode (Bug#9360).
11159 (lisp-mode-abbrev-table): Add doc.
11160 (lisp-mode-variables): Don't set local-abbrev-table.
11161 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11162
11163 2012-01-28 Roland Winkler <winkler@gnu.org>
11164
11165 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11166
11167 2012-01-28 Roland Winkler <winkler@gnu.org>
11168
11169 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11170 (bibtex-set-dialect): Use it. Either set global values of
11171 dialect-dependent variables or bind these variables buffer-locally
11172 (Bug#10254).
11173 (bibtex-mode): Call bibtex-set-dialect via
11174 hack-local-variables-hook.
11175 (bibtex-dialect): Update docstring.
11176 Add safe-local-variable predicate.
11177 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11178 bibtex-set-dialect.
11179 (bibtex-mode-map): Define menu for each dialect.
11180 (bibtex-entry): Fix docstring.
11181
11182 2012-01-28 Chong Yidong <cyd@gnu.org>
11183
11184 * eshell/esh-arg.el (eshell-quote-argument): New function.
11185
11186 * eshell/esh-ext.el (eshell-invoke-batch-file):
11187 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11188 first arg to eshell-parse-command (Bug#10523).
11189
11190 2012-01-28 Drew Adams <drew.adams@oracle.com>
11191
11192 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11193 `default-directory' is non-nil.
11194
11195 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11196
11197 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11198 line that displays system-configuration-options. (Bug#9924)
11199
11200 2012-01-28 Drew Adams <drew.adams@oracle.com>
11201
11202 * descr-text.el (describe-char): Show information about POS, in
11203 addition to information about the character at POS. Improve and
11204 update the doc string. Change "code point" to "code point in
11205 charset", to avoid confusion with the character's Unicode code
11206 point shown above that. (Bug#10129)
11207
11208 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11209
11210 * descr-text.el (describe-char): Show the raw character, not only
11211 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11212 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11213 for the reasons.
11214
11215 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11216
11217 * emacs-lisp/package.el (package-install):
11218 Run package-refresh-contents if there is no archive yet (Bug#9798).
11219
11220 2012-01-28 Chong Yidong <cyd@gnu.org>
11221
11222 * emacs-lisp/package.el (package-maybe-load-descriptor):
11223 New function, split from package-maybe-load-descriptor.
11224 (package-maybe-load-descriptor): Use it.
11225 (package-download-transaction): Fully load required packages
11226 inside the loop, so that `require' calls work (Bug#10593).
11227 (package-install): No need to call package-initialize now.
11228
11229 2012-01-28 Chong Yidong <cyd@gnu.org>
11230
11231 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11232
11233 * tooltip.el (tooltip-mode): Doc fix.
11234 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11235
11236 * frame.el (set-cursor-color): Doc fix (Bug#352).
11237
11238 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11239 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11240
11241 * cus-edit.el (custom-buffer-create-internal): Fix search button
11242 action (Bug#10542).
11243 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11244
11245 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11246
11247 * dired.el (dired-mark-files-regexp):
11248 Include any subdirectory components. (Bug#10445)
11249
11250 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11251
11252 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11253 Handle [host]:port syntax. (Bug#10533)
11254
11255 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11256
11257 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11258
11259 2012-01-26 Glenn Morris <rgm@gnu.org>
11260
11261 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11262 * term.el (term-raw-escape-map): Use Control-X-prefix.
11263 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11264
11265 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11266
11267 * window.el (window-state-get, window--state-get-1): Don't deal
11268 with fixed-sizeness of windows. Simplify code.
11269
11270 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11271
11272 * window.el (window--state-get-1, window--state-put-2):
11273 Don't save and restore the mark.
11274
11275 2012-01-25 Chong Yidong <cyd@gnu.org>
11276
11277 * custom.el (custom-variable-p): Doc fix.
11278
11279 2012-01-25 Glenn Morris <rgm@gnu.org>
11280
11281 * dired.el (dired-goto-file): Handle some of the more common
11282 characters that `ls -b' escapes. (Bug#10596)
11283
11284 * progmodes/compile.el (compilation-next-error-function):
11285 Respect compilation-first-column in the "*compilation*" buffer.
11286 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11287
11288 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11289
11290 2012-01-24 Glenn Morris <rgm@gnu.org>
11291
11292 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11293
11294 2012-01-24 Julien Danjou <julien@danjou.info>
11295
11296 * color.el (color-rgb-to-hsl): Fix value computing.
11297 (color-hue-to-rgb): New function.
11298 (color-hsl-to-rgb): New function.
11299 (color-clamp, color-saturate-hsl, color-saturate-name)
11300 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11301 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11302
11303 2012-01-24 Glenn Morris <rgm@gnu.org>
11304
11305 * vc/vc-rcs.el (vc-rcs-create-tag):
11306 * vc/vc-sccs.el (vc-sccs-create-tag):
11307 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11308
11309 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11310
11311 * eshell/esh-util.el (eshell-read-hosts-file):
11312 Skip comment lines. (Bug#10549)
11313
11314 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11315
11316 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11317
11318 * subr.el (display-delayed-warnings): Doc fix.
11319 (collapse-delayed-warnings): New function to collapse identical
11320 adjacent warnings.
11321 (delayed-warnings-hook): Add it.
11322
11323 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11324
11325 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11326
11327 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11328 (tramp-default-user-alist): Don't add "pscp".
11329 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11330 property "login-as", if set. (Bug#10530)
11331
11332 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11333
11334 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11335 "plink1" and "psftp". (Bug#10530)
11336
11337 2012-01-21 Kenichi Handa <handa@m17n.org>
11338
11339 * international/mule-cmds.el (prefer-coding-system): Show a
11340 warning message if the default value of file-name-coding-system
11341 was not changed.
11342
11343 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11344
11345 * windmove.el (windmove-reference-loc):
11346 Fix windmove-reference-loc miscalculation.
11347
11348 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11349
11350 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11351 default unit.
11352
11353 2012-01-21 Glenn Morris <rgm@gnu.org>
11354
11355 * international/mule.el (auto-coding-alist): Add .tbz.
11356
11357 * files.el (local-enable-local-variables): Doc fix.
11358 (inhibit-local-variables-regexps): Rename from
11359 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11360 Doc fix. Add some extensions from auto-coding-alist.
11361 (inhibit-local-variables-suffixes):
11362 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11363 (inhibit-local-variables-p):
11364 New function, extracted from set-auto-mode-1.
11365 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11366 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11367 (hack-local-variables): Doc fix. Make the mode-only case
11368 respect enable-local-variables and friends.
11369 Respect inhibit-local-variables-regexps for file-locals, but
11370 not for directory-locals.
11371 (set-visited-file-name):
11372 Take account of inhibit-local-variables-regexps.
11373 Whether it applies may change as the file name is changed.
11374 * jka-cmpr-hook.el (jka-compr-install):
11375 * jka-compr.el (jka-compr-uninstall):
11376 Update for inhibit-first-line-modes-suffixes name change.
11377
11378 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11379
11380 * help-macro.el (make-help-screen): Temporarily restore original
11381 binding for minor-mode-map-alist (Bug#10454).
11382
11383 2012-01-19 Julien Danjou <julien@danjou.info>
11384
11385 * color.el (color-name-to-rgb): Use the white color to find the max
11386 color component value and return correctly computed values.
11387 (color-name-to-rgb): Add missing float conversion for max value.
11388
11389 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11390
11391 * window.el (window--state-get-1, window-state-get): Do not use
11392 special state value for window-persistent-parameters.
11393 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11394 (window--state-put-2): Reset all window parameters to nil before
11395 assigning values of persistent parameters.
11396
11397 2012-01-18 Alan Mackenzie <acm@muc.de>
11398
11399 Eliminate sluggishness and hangs in fontification of "semicolon
11400 deserts".
11401
11402 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11403 Change value 10000 -> 3000.
11404 (c-state-safe-place): Reformulate so it doesn't stack up an
11405 infinite number of wrong entries in c-state-nonlit-pos-cache.
11406 (c-determine-limit-get-base, c-determine-limit): New functions to
11407 determine backward search limits disregarding literals.
11408 (c-find-decl-spots): Amend commenting.
11409 (c-cheap-inside-bracelist-p): New function which detects "={".
11410
11411 * progmodes/cc-fonts.el
11412 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11413 backward search.
11414 (c-font-lock-declarations): Fix an occurrence of point being
11415 undefined. Check additionally for point being in a bracelist or
11416 near a macro invocation without a semicolon so as to avoid a
11417 fruitless time consuming search for a declarator. Give a more
11418 precise search limit for declarators using the new
11419 c-determine-limit.
11420
11421 2012-01-18 Glenn Morris <rgm@gnu.org>
11422
11423 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11424 (set-auto-mode): Doc fixes.
11425
11426 2012-01-17 Glenn Morris <rgm@gnu.org>
11427
11428 * isearch.el (search-nonincremental-instead): Fix doc typo.
11429
11430 * dired.el (dired-insert-directory): Handle newlines in directory name.
11431 (dired-build-subdir-alist): Unescape newlines in directory name.
11432
11433 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11434
11435 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11436 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11437 (tramp-action-terminal): Use it. (Bug#10530)
11438
11439 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11442
11443 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11444
11445 * window.el (window-state-ignored-parameters): Remove variable.
11446 (window--state-get-1): Rename argument MARKERS to IGNORE.
11447 Handle persistent window parameters. Make copy of clone-of
11448 parameter only if requested. (Bug#10348)
11449 (window--state-put-2): Install a window parameter only if it has
11450 a non-nil value or an existing parameter shall be overwritten.
11451
11452 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11453
11454 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11455
11456 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11457
11458 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11459 don't pass the (nil) value of `upnode' to string-match.
11460
11461 2012-01-14 Chong Yidong <cyd@gnu.org>
11462
11463 * startup.el (command-line): Fix X resource class for cursorColor.
11464 Fix values recognized by the cursorBlink resource.
11465
11466 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11467
11468 * epg.el (epg--make-temp-file): Avoid permission race condition
11469 when running on old Emacs versions (bug#10403).
11470
11471 2012-01-14 Glenn Morris <rgm@gnu.org>
11472
11473 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11474
11475 2012-01-13 Alan Mackenzie <acm@muc.de>
11476
11477 Fix filling for when filladapt mode is enabled.
11478
11479 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11480 c-mask-paragraph, pass in `fill-paragraph' rather than
11481 `fill-region-as-paragraph'. (This is a reversion of a previous
11482 change.)
11483 * progmodes/cc-mode.el (c-basic-common-init):
11484 Make fill-paragraph-handle-comment buffer local and set it to nil.
11485
11486 2012-01-13 Glenn Morris <rgm@gnu.org>
11487
11488 * dired.el (dired-switches-escape-p): New function.
11489 (dired-insert-directory): Use dired-switches-escape-p.
11490 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11491
11492 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11493
11494 2012-01-12 Glenn Morris <rgm@gnu.org>
11495
11496 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11497 changes in adaptive-fill-regexp. (Bug#10276)
11498
11499 2012-01-11 Alan Mackenzie <acm@muc.de>
11500
11501 Fix Emacs bug #10463 - put `widen's around the critical spots.
11502
11503 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11504 widen around each invocation of c-state-pp-to-literal. Remove an
11505 unused let variable.
11506
11507 2012-01-11 Glenn Morris <rgm@gnu.org>
11508
11509 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11510 Doc fix.
11511
11512 2012-01-10 Chong Yidong <cyd@gnu.org>
11513
11514 * net/network-stream.el (network-stream-open-starttls):
11515 Avoid emitting a confusing error message when the server gives a bad
11516 response to the capability command.
11517
11518 2012-01-10 Glenn Morris <rgm@gnu.org>
11519
11520 * mail/unrmail.el (unrmail): Tweak previous change.
11521
11522 2012-01-09 Chong Yidong <cyd@gnu.org>
11523
11524 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11525
11526 2012-01-08 Alan Mackenzie <acm@muc.de>
11527
11528 Optimise font locking in long enum definitions.
11529
11530 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11531 arm to a cond form to handle enums.
11532 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11533 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11534
11535 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11536
11537 * files.el (move-file-to-trash): Preserve default file modes on error.
11538 (Bug#10401)
11539
11540 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11541
11542 * faces.el (set-face-attribute): Clarify the meaning of the nil
11543 frame (bug#10294).
11544
11545 * subr.el (with-selected-frame): Mention that the selected frame
11546 is restored (bug#9980).
11547
11548 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11549 (bug#9759).
11550
11551 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11552 (password-read): Don't autoload unused function.
11553
11554 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * progmodes/which-func.el (which-func-mode): Turn into a
11557 non-interactive function and mark as obsolete (bug#10428).
11558
11559 2012-01-06 Chong Yidong <cyd@gnu.org>
11560
11561 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11562 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11563 functions, along with 1 and -1.
11564
11565 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11566
11567 * time.el (display-time-load-average)
11568 (display-time-default-load-average): Doc fixes. See the thread
11569 starting at
11570 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11571 for the details.
11572
11573 2012-01-06 Glenn Morris <rgm@gnu.org>
11574
11575 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11576 has no messages. (Bug#10377)
11577
11578 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11579 than Info-edit. (Bug#10385)
11580
11581 * time.el (display-time-load-average, display-time-next-load-average):
11582 Doc fixes.
11583
11584 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11585 local setting of buffer-read-only to the input buffer. (Bug#10419)
11586
11587 * calendar/calendar.el (calendar-mode):
11588 Locally set scroll-margin to 0. (Bug#10379)
11589
11590 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11591
11592 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11593
11594 2012-01-05 Glenn Morris <rgm@gnu.org>
11595
11596 * eshell/em-unix.el (diff-no-select): Autoload it.
11597 (eshell/diff): Use diff-no-select. (Bug#10420)
11598
11599 2012-01-05 Chong Yidong <cyd@gnu.org>
11600
11601 * shell.el (shell-dynamic-complete-functions): Revert last change.
11602 (shell-command-completion-function): New function.
11603 (shell-completion-vars): Use it to implement
11604 shell-completion-execonly (Bug#10417).
11605
11606 * custom.el (enable-theme): Don't set custom-safe-themes.
11607
11608 * cus-theme.el (custom-theme-merge-theme):
11609 Ignore custom-enabled-themes and custom-safe-themes.
11610
11611 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11612
11613 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11614 first prompt in `sql-interacive-mode'.
11615 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11616 keywords.
11617 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11618 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11619 context of original buffer. Invoke `sql-login-hook'.
11620
11621 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11622
11623 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11624 letters in cite-prefix.
11625
11626 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11627
11628 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11629
11630 2012-01-03 Chong Yidong <cyd@gnu.org>
11631
11632 * shell.el (shell-dynamic-complete-functions):
11633 Put pcomplete-completions-at-point, so as to try
11634 comint-filename-completion first (Bug#10417).
11635
11636 2012-01-02 Richard Stallman <rms@gnu.org>
11637
11638 * battery.el (battery-status-function):
11639 Detect when to use battery-yeeloong-sysfs.
11640 (battery-echo-area-format): Add string for Yeeloong.
11641 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11642 (battery-yeeloong-sysfs): New function.
11643
11644 2012-01-02 Chong Yidong <cyd@gnu.org>
11645
11646 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11647 (dirtrack): Merge code for handling relative filenames in prompt
11648 from shell-dir-cookie-watcher.
11649 (dirtrack-debug-message): New arg to avoid excess format calls.
11650
11651 * shell.el (shell-dir-cookie-re): Variable deleted.
11652 (shell-dir-cookie-watcher): Function deleted.
11653 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11654 with dirtrack-mode.
11655
11656 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11657
11658 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11659 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11660 libgnutls-26.dll.
11661
11662 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11663
11664 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11665
11666 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11667
11668 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11669 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11670
11671 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11672
11673 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11674 also for alternative shells.
11675 (tramp-open-connection-setup-interactive-shell): Check, whether
11676 the shell is a busybox.
11677 (tramp-send-command): Don't suppress multiple prompts for
11678 busyboxes, it hurts.
11679
11680 2011-12-28 Chong Yidong <cyd@gnu.org>
11681
11682 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11683 (gdb-get-source-file): Move mode line update to
11684 gdb-get-source-file (Bug#10087).
11685
11686 2011-12-25 Chong Yidong <cyd@gnu.org>
11687
11688 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11689 gud-gdb-marker-filter without taking it as an argument.
11690 (gud-gdb-run-command-fetch-lines): Caller changed.
11691 (gud-gdb-completion-function): New variable.
11692 (gud-gdb-completion-at-point): Use it.
11693 (gud-gdb-completions-1): Split from gud-gdb-completions.
11694
11695 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11696 function as separate arguments.
11697 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11698 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11699 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11700 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11701 (gdb-stopped, def-gdb-auto-update-trigger)
11702 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11703 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11704 Callers changed.
11705 (gud-gdbmi-completions): New function.
11706 (gdb): Use it for generating the completion table.
11707
11708 2011-12-24 Alan Mackenzie <acm@muc.de>
11709
11710 Introduce a mechanism to widen the region used in context font
11711 locking. Use this to protect declarations from losing their contexts.
11712
11713 * progmodes/cc-langs.el (c-before-font-lock-functions):
11714 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11715 (c-before-context-fontification-functions): New defvar, a list of
11716 functions to be run just before context (etc.) font locking.
11717
11718 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11719 New, functionality extracted from
11720 c-neutralize-syntax-in-and-mark-CPP.
11721 (c-in-after-change-fontification): New variable.
11722 (c-after-change): Set c-in-after-change-fontification.
11723 (c-set-fl-decl-start): Rejig its interface, so it can be called
11724 from both after-change and context fontifying.
11725 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11726 New functions.
11727 (c-standard-font-lock-fontify-region-function): New variable.
11728 (c-font-lock-fontify-region): New function.
11729
11730 2011-12-24 Juri Linkov <juri@jurta.org>
11731
11732 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11733 (Bug#10348)
11734
11735 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11736
11737 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11738 existence of source file. (Bug#10325)
11739
11740 2011-12-23 Alan Mackenzie <acm@muc.de>
11741
11742 Fix unstable fontification inside templates.
11743
11744 * progmodes/cc-langs.el (c-before-font-lock-functions):
11745 Newly created from the singular version. The (c c++ objc) entry now
11746 additionally has c-set-fl-decl-start. The other languages (apart
11747 from AWK) have that as a single entry.
11748
11749 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11750 The functionality for "local" declarations has been extracted to
11751 c-set-fl-decl-start.
11752
11753 * progmodes/cc-mode.el (c-common-init, c-after-change):
11754 Changes due to pluralisation of c-before-font-lock-functions.
11755 (c-set-fl-decl-start): New function, extracted from
11756 c-font-lock-enclosing-decls and enhanced.
11757
11758 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11761
11762 2011-12-22 Juri Linkov <juri@jurta.org>
11763
11764 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11765
11766 2011-12-22 Chong Yidong <cyd@gnu.org>
11767
11768 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11769
11770 2011-12-21 Drew Adams <drew.adams@oracle.com>
11771
11772 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11773
11774 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11775
11776 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11777
11778 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11779
11780 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11781 highlighting and support. Fix up comments for capitalization.
11782 (cfengine-mode-debug): New var.
11783 (cfengine3-mode): Change the modeline indicator to "CFE3".
11784 (cfengine3-font-lock-keywords): Improve defun highlighting.
11785 (cfengine2-actions): Rename from `cfengine-actions'.
11786 (cfengine2-font-lock-keywords): Rename from
11787 `cfengine-font-lock-keywords'.
11788 (cfengine2-imenu-expression): Rename from
11789 `cfengine-imenu-expression'.
11790 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11791 (cfengine2-beginning-of-defun): Rename from
11792 `cfengine-beginning-of-defun'.
11793 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11794 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11795 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11796 modeline indicator to "CFE2".
11797 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11798 (cfengine-mode-abbrevs): Mark obsolete.
11799
11800 2011-12-21 Chong Yidong <cyd@gnu.org>
11801
11802 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11803 filename argument.
11804
11805 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11806
11807 * window.el (window-normalize-buffer-to-display): Remove.
11808 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11809
11810 2011-12-19 Chong Yidong <cyd@gnu.org>
11811
11812 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11813 Don't signal an error in a predicate function; return non-nil.
11814 (vc-dir-mark-file): Move the error here.
11815 (vc-dir-mark-unmark): If acting on the region, keep going if one
11816 of the entries cannot be marked/unmarked.
11817 (vc-dir-mark-all-files): If current entry is a directory, mark
11818 only child files, as documented.
11819
11820 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11821
11822 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11823 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11824 addition.
11825
11826 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11827
11828 * term/ns-win.el (ns-get-selection-internal)
11829 (ns-store-selection-internal): Declare.
11830 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11831 Declare as obsolete.
11832 (ns-get-pasteboard, ns-paste-secondary):
11833 Use ns-get-selection-internal.
11834 (ns-set-pasteboard, ns-copy-including-secondary):
11835 Use ns-store-selection-internal.
11836
11837 2011-12-17 Chong Yidong <cyd@gnu.org>
11838
11839 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11840 (vc-deduce-fileset): Doc fix.
11841
11842 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11843
11844 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11845
11846 2011-12-13 Sam Steingold <sds@gnu.org>
11847
11848 * man.el (Man-getpage-in-background): When running under a
11849 window-system, ignore $MANWIDTH and $COLUMNS.
11850
11851 2011-12-15 Kenichi Handa <handa@m17n.org>
11852
11853 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11854 (setup-ethiopic-environment-internal): Comment out key-binding for
11855 ethio-toggle-punctuation.
11856
11857 2011-12-13 Alan Mackenzie <acm@muc.de>
11858
11859 Add the switch statement to AWK Mode.
11860
11861 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11862 "default" to the keywords regexp.
11863
11864 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11865 expression as the rest.
11866 (c-nonlabel-token-key): Allow string literals for AWK.
11867 Refactor for the other modes.
11868
11869 Large brace-block initialisation makes CC Mode slow: Fix.
11870 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11871 routines. Limit backward searching in c-font-lock-enclosing.decl.
11872
11873 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11874 pp-state and literal type in addition to the limits.
11875 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11876 (c-state-literal-at): Use the above new defun.
11877 (c-slow-in-literal, c-fast-in-literal): Remove.
11878 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11879
11880 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11881 being in a literal. Add a limit for backward searching.
11882
11883 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11884 c-slow-in-literal.
11885
11886 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11889
11890 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11891
11892 * window.el (delete-other-windows): Use correct frame in call to
11893 window-with-parameter.
11894
11895 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11896
11897 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11898 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11899 (makefile-gmake-statements, makefile-makepp-statements):
11900 Use it and add new makepp keywords.
11901 (makefile-makepp-font-lock-keywords): Add new patterns.
11902 (makefile-match-function-end): Match new [...] and [[...]].
11903
11904 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11905
11906 * ses.el (ses-call-printer-return, ses-cell-property-get)
11907 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11908 (ses-create-cell-variable, ses-reset-header-string)
11909 (ses-cell-set-formula, ses-repair-cell-reference-all)
11910 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11911 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11912 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11913 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11914 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11915 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11916 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11917 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11918 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11919 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11920 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11921 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11922
11923 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11924
11925 * ses.el: The overall change is to add cell renaming, that is
11926 setting fancy names for cell symbols other than name matching
11927 "\\`[A-Z]+[0-9]+\\'" regexp .
11928 (ses-create-cell-variable): New defun.
11929 (ses-relocate-formula): Relocate formulas only for cells the
11930 symbols of which are not renamed, i.e. symbols whose names do not
11931 match regexp "\\`[A-Z]+[0-9]+\\'".
11932 (ses-relocate-all): Relocate values only for cells the symbols of
11933 which are not renamed.
11934 (ses-load): Create cells variables as the (ses-cell ...) are read,
11935 in order to check row col consistency with cell symbol name only
11936 for cells that are not renamed.
11937 (ses-replace-name-in-formula): New defun.
11938 (ses-rename-cell): New defun.
11939
11940 2011-12-11 Chong Yidong <cyd@gnu.org>
11941
11942 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11943 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11944
11945 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11946
11947 * window.el (other-window): Fix docstring.
11948
11949 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11950
11951 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11952 `from' or `to' address before taking its substring.
11953 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11954 encoded name is chopped in the middle of the encoded string, and
11955 thus displayed encoded.
11956
11957 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11960
11961 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11962
11963 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11964 to use texinfo-update-node and commands that call it if the
11965 Texinfo file uses @node lines without next/prev/up pointers.
11966 Correct outdated description about texinfo-master-menu.
11967 (texinfo-all-menus-update, texinfo-master-menu)
11968 (texinfo-update-node, texinfo-every-node-update)
11969 (texinfo-multiple-files-update): Doc fix. Warn against updating
11970 all the @node lines.
11971 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11972 argument is numeric. Explain better in the doc string what the
11973 function really does.
11974 (texinfo-insert-master-menu-list): Improve the error message
11975 displayed if there's no menu in the Top node.
11976 (Bug#2975) See also this thread:
11977 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11978
11979 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11980
11981 * speedbar.el (speedbar-supported-extension-expressions):
11982 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11983
11984 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11985
11986 * printing.el (pr-mode-alist):
11987 * simple.el (filter-buffer-substring-functions)
11988 (completion-list-insert-choice-function):
11989 * window.el (window-with-parameter, window-atom-root)
11990 (window-sides-slots, window-size-fixed, window-min-delta)
11991 (window-max-delta, window--resize-mini-window)
11992 (window--resize-child-windows-normal, window-tree)
11993 (delete-other-windows, quit-window, split-window)
11994 (display-buffer-record-window, special-display-buffer-names)
11995 (special-display-regexps, special-display-popup-frame)
11996 (same-window-p, split-window-sensibly)
11997 (display-buffer-overriding-action, display-buffer-alist)
11998 (display-buffer-base-action, display-buffer, switch-to-buffer)
11999 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12000 (fit-window-to-buffer, recenter-positions)
12001 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12002 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12003 and remove unneeded backslashes in docstrings.
12004
12005 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12008
12009 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12010 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12011 end in ".mk".
12012 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12013 when reading the makefile (bug#10116).
12014
12015 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12018 (bug#10116).
12019
12020 2011-12-06 Glenn Morris <rgm@gnu.org>
12021
12022 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12023
12024 2011-12-06 Chong Yidong <cyd@gnu.org>
12025
12026 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12027
12028 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12029
12030 * textmodes/table.el (table-shorten-cell): Fix typo.
12031
12032 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12033
12034 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12035
12036 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12037
12038 * descr-text.el (describe-char): Fix display of strong
12039 right-to-left characters and directional embeddings and overrides.
12040
12041 * simple.el (what-cursor-position): Fix display of codepoints of
12042 strong right-to-left characters.
12043
12044 2011-12-05 Chong Yidong <cyd@gnu.org>
12045
12046 * faces.el (read-color): Doc fix.
12047
12048 2011-12-05 Glenn Morris <rgm@gnu.org>
12049
12050 * align.el (align--set-marker): Add doc-string.
12051 Don't try to move something that is not a marker. (Bug#10216)
12052
12053 2011-12-04 Glenn Morris <rgm@gnu.org>
12054
12055 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12056 overly zealous deletion of trailing whitespace.
12057
12058 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12059
12060 * server.el (server-delete-client): On Windows, do not try to delete
12061 the only terminal.
12062 (server-process-filter): On Windows, treat requests for a tty frame as
12063 if they were for a GUI frame if the running server is in GUI mode.
12064
12065 2011-12-03 Glenn Morris <rgm@gnu.org>
12066
12067 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12068
12069 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * electric.el: Streamline electric-indent's hook.
12072 (electric-indent-chars): Revert to simple list.
12073 (electric-indent-functions): New var.
12074 (electric-indent-post-self-insert-function): Use it.
12075
12076 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12077 there's no inferior buffer (bug#10196).
12078 (prolog-consult-compile): Don't use toggle-read-only.
12079
12080 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12083 interrupt. (Bug#10187)
12084
12085 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12088 (bug#9160).
12089
12090 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12091 (bug#10191).
12092
12093 2011-12-02 Juri Linkov <juri@jurta.org>
12094
12095 * info.el (Info-search): Display "end of manual" when Isearch
12096 reaches the end of single-file Info manual. (Bug#9918)
12097
12098 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12099
12100 * isearch.el (isearch-message-prefix): Run the input method part
12101 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12102
12103 2011-12-02 Juri Linkov <juri@jurta.org>
12104
12105 * isearch.el (isearch-occur): Use `word-search-regexp' for
12106 `isearch-word'.
12107 (isearch-search-and-update): Add condition for `isearch-word' and
12108 call `word-search-regexp'. (Bug#10145)
12109
12110 2011-12-01 Glenn Morris <rgm@gnu.org>
12111
12112 * eshell/em-hist.el (eshell-hist-initialize):
12113 Handle eshell-history-size nil and HISTSIZE set or unset.
12114 (eshell-history-file-name, eshell-history-size): Fix custom type.
12115
12116 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12119
12120 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12121
12122 * progmodes/verilog-mode.el (verilog-pretty-expr):
12123 Rework verilog-pretty-expr to handle new assignment operators in system
12124 verilog, such as += *= and the like.
12125 (verilog-assignment-operator-re): Regular expression to find the
12126 assigment operator in a verilog assignment.
12127 (verilog-assignment-operation-re): Regular expression to find an
12128 assignment statement for pretty-expr.
12129 (verilog-in-attribute-p): Query returns true if point is in an
12130 attribute context; used to skip these for expression line up from
12131 pretty-expr.
12132 (verilog-in-parameter-p): Query returns true if point is in an
12133 parameter definition context; used to skip these for expression
12134 line up from pretty-expr.
12135 (verilog-in-parenthesis-p): Query returns true if point is in a
12136 parenthetical expression, specifically ( ) but not [ ] or { };
12137 used by pretty-expr.
12138 (verilog-just-one-space): If there is no space, don't add one.
12139 (verilog-get-lineup-indent-2): Specifically skip just attribute
12140 contexts for expression lineup, rather than skipping all
12141 parenthetical expressions.
12142 (verilog-calculate-indent): Fix comment, and fix indent.
12143 (verilog-do-indent): Indent declarations in lists (suggested by
12144 Joachim Lechner).
12145 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12146 skeleton items.
12147 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12148 by Alain Mellan).
12149
12150 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12151
12152 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12153 parameters with embedded comments. Reported by Ray Stevens.
12154 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12155 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12156 Reported by Tim Holt.
12157 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12158 instantiated by upper module causing wrong expansion until AUTOed a
12159 second time. Reported by K C Buckenmaier.
12160 (verilog-diff-auto): Fix showing .* as a difference when
12161 `verilog-auto-star-save' off. Reported by Dan Dever.
12162 (verilog-auto-reset, verilog-read-always-signals)
12163 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12164 temporary signals in reset list if
12165 verilog-auto-reset-blocking-in-non is nil, and match assignment
12166 style to each signal's assignment type, bug381.
12167 Reported by Thomas Esposito.
12168 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12169 (verilog-uvm-statement-re): Support UVM indentation and
12170 highlighting, with old OVM keywords only.
12171 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12172 Support AUTOTIEOFF creating non-wire data types.
12173 Suggested by Jonathan Greenlaw.
12174 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12175 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12176 (verilog-inject-sense, verilog-read-inst-pins)
12177 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12178 Fix mismatching parenthesis inside commented out code when deleting
12179 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12180 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12181 non-numeric vector width. Reported by Alex Reed.
12182 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12183 detecting signals with parameter widths. Reported by Alex Reed.
12184 (verilog-auto-delete-trailing-whitespace):
12185 With `verilog-auto-delete-trailing-whitespace' remove trailing
12186 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12187 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12188 Fix verilog-scan-cache corruption when running user AUTO expansion
12189 hooks that call indentation routines.
12190 (verilog-simplify-range-expression): Fix typo ignoring lower case
12191 identifiers.
12192 (verilog-delete-auto): Fix delete-autos to also remove user created
12193 automatics, as long as they start with AUTO.
12194 (verilog-batch-diff-auto, verilog-diff-auto)
12195 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12196 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12197 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12198 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12199 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12200 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12201 is disabled and its cache will get corrupt, causing AUTOS not to
12202 expand. Instead use only -quick functions.
12203 (verilog-scan-region): Fix scanning over escaped quotes.
12204 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12205 (verilog-re-search-backward-quick)
12206 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12207 related functions now ignore strings, to fix misparsing of strings
12208 with magic comments embedded in them.
12209 (verilog-read-auto-template):
12210 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12211 Reported by Brad Dobbie.
12212 (verilog-read-auto-template):
12213 Fix 'verilog-auto-inst-template-numbers' with comments.
12214 Reported by Brad Dobbie.
12215 (verilog-auto-inst, verilog-auto-inst-param)
12216 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12217 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12218 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12219 debugging templates without merge conflicts, bug357.
12220 Reported by Brad Dobbie.
12221 (verilog-read-auto-template):
12222 Fix verilog-auto-inst-template-numbers with multiple templates.
12223 Reported by Brad Dobbie.
12224 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12225 abbrevs so user won't be asked to save.
12226 (verilog-read-auto-lisp-present): Fix to start at beginning of
12227 buffer in case called outside of verilog-auto.
12228 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12229 to "X-2". Reported by Matthew Myers.
12230 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12231 all inputs from module templates. Reported by Leith Johnson.
12232 (verilog-module-inside-filename-p): Fix locating programs as with
12233 modules.
12234 (verilog-auto-inst-port): Fix vl-width expressions when using
12235 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12236 (verilog-decls-get-regs, verilog-decls-get-signals,
12237 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12238 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12239 verilog-read-decls): Combine reg and wire structures into one var
12240 structure to represent SystemVerilog concepts.
12241 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12242 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12243 (verilog-auto-wire-type, verilog-insert-definition):
12244 Add verilog-auto-wire-type and AUTOLOGIC to support using
12245 SystemVerilog "logic" keyword instead of "wire"/"reg".
12246 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12247 to declares outputs that also have assignments (presumably in an
12248 ifdef or generate if so there's not a driver conflict).
12249 Reported by Matthew Myers.
12250 (verilog-auto-declare-nettype, verilog-insert-definition):
12251 Add verilog-auto-declare-nettype to fix declarations using
12252 `default_nettype none. Reported by Julian Gorfajn.
12253 (verilog-read-always-signals-recurse, verilog-read-decls)
12254 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12255 malformed end statement, bug325. Reported by Joshua Wise and
12256 Andrew Drake.
12257 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12258 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12259 when expanding .* in interfaces, bug320.
12260 Reported by Pierre-David Pfister.
12261 (verilog-read-module-name): Fix import statements between module
12262 name and open parenthesis, bug317.
12263 Reported by Pierre-David Pfister.
12264 (verilog-simplify-range-expression): Fix simplification of
12265 multiplications inside AUTOWIRE connections, bug303.
12266 (verilog-auto-inst-port): Support parameter expansion in
12267 multidimensional arrays.
12268 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12269 after "assert property". Reported by Julian Gorfajn.
12270 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12271 with multiplication, bug303.
12272 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12273 Reported by Jan Frode Lonnum.
12274
12275 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12276
12277 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12278 (hfy-shell-file-name, hfy-shell):
12279 * international/fontset.el (x-decompose-font-name): Fix typos.
12280
12281 2011-11-29 Ken Brown <kbrown@cornell.edu>
12282
12283 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12284 (gdb-version): Remove defvar.
12285 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12286 (gdb-gud-context-command, gdb-non-stop-handler)
12287 (gdb-current-context-command, gdb-stopped): Use it.
12288 (gdb-init-1): Enable pretty printing here.
12289 (gdb-non-stop-handler): Don't enable pretty-printing here.
12290 Check to see if the target supports non-stop mode; if not, turn off
12291 non-stop mode. Use the following.
12292 (gdb-check-target-async): New defun.
12293 (gud-watch, gdb-stopped): Fix whitespace.
12294 (gdb-get-source-file): Don't try to display the source file if
12295 `gdb-main-file' is nil.
12296
12297 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * align.el: Try to generate fewer markers (bug#10047).
12300 (align--set-marker): New macro.
12301 (align-region): Use it.
12302
12303 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12306
12307 2011-11-29 Chong Yidong <cyd@gnu.org>
12308
12309 * indent.el (indent-for-tab-command, indent-according-to-mode):
12310 Doc fix.
12311 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12312
12313 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12314
12315 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12316 aware of remote file names. (Bug#10124)
12317
12318 2011-11-29 Chong Yidong <cyd@gnu.org>
12319
12320 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12321
12322 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * files.el (find-file): Don't use force-same-window (bug#10144).
12325 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12326 use pop-to-buffer if the selected window can't be used.
12327 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12328
12329 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12330
12331 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12332 special-mode-map.
12333
12334 2011-11-28 Chong Yidong <cyd@gnu.org>
12335
12336 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12337
12338 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12339
12340 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12341 gdb-get-source-file-list on gdb-create-source-file-list.
12342
12343 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12344
12345 * whitespace.el (whitespace-newline): Use a different foreground
12346 color for 16-color light-background displays.
12347
12348 2011-11-24 Chong Yidong <cyd@gnu.org>
12349
12350 * window.el (display-buffer--special-action): Doc fix.
12351
12352 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12353
12354 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12355 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12356 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12357 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12358 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12359 (avl-tree-stack-first):
12360 * emacs-lisp/cconv.el (cconv--analyse-use):
12361 * net/gnutls.el (gnutls-negotiate): Fix typos.
12362
12363 2011-11-24 Glenn Morris <rgm@gnu.org>
12364
12365 * lpr.el (lpr-windows-system, lpr-lp-system):
12366 * mail/binhex.el (binhex-begin-line):
12367 * progmodes/grep.el (grep-history, grep-find-history):
12368 * textmodes/flyspell.el:
12369 * vc/pcvs-defs.el (cvs-global-menu):
12370 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12371 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12372 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12373
12374 * net/tls.el: Fix case of "GnuTLS".
12375
12376 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12377
12378 * version.el (emacs-build-system): Give it a doc-string.
12379
12380 2011-11-24 Juri Linkov <juri@jurta.org>
12381
12382 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12383
12384 2011-11-24 Glenn Morris <rgm@gnu.org>
12385
12386 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12387 if called on a non-mime message just toggle the headers. (Bug#8006)
12388
12389 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12390
12391 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12392 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12393 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12394 (allout-rebullet-heading, allout-open-sibtopic)
12395 (allout-toggle-current-subtree-encryption)
12396 (allout-toggle-subtree-encryption, allout-encrypt-string)
12397 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12398 (allout-distinctive-bullets-string, allout-auto-activation):
12399 * window.el (window-normalize-buffer-to-display):
12400 * progmodes/verilog-mode.el (verilog-batch-indent):
12401 * textmodes/bibtex.el (bibtex-field-braces-opt)
12402 (bibtex-field-strings-opt):
12403 * vc/cvs-status.el (cvs-tree-merge):
12404 Fix typos.
12405
12406 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12407
12408 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12409 `non-essential' to t, in order to avoid remote connections.
12410
12411 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12412
12413 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12414 On MS-DOS and MS-Windows, compare with loaddefs.el
12415 case-insensitively.
12416
12417 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12418
12419 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12420
12421 2011-11-23 Glenn Morris <rgm@gnu.org>
12422
12423 * paths.el (rmail-file-name): Reformat the doc-string so that it
12424 is picked up.
12425
12426 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12427 (rmail-auto-file): Ignore case in the "special" field names,
12428 as mail-fetch-field does for all others.
12429
12430 * mail/rmail.el (rmail-forward):
12431 * mail/rmailkwd.el (rmail-set-label):
12432 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12433 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12434
12435 * mail/rmail.el (rmail-current-message): Doc fix.
12436
12437 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12438
12439 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12442
12443 2011-11-22 Glenn Morris <rgm@gnu.org>
12444
12445 * mail/rmailmm.el (test-rmail-mime-handler)
12446 (test-rmail-mime-bulk-handler)
12447 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12448
12449 2011-11-21 Juri Linkov <juri@jurta.org>
12450
12451 * calc/calc.el (calc-read-key-sequence):
12452 Let-bind `input-method-function' to nil. (Bug#10018)
12453
12454 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12455
12456 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12457 Tell the caller that the next line needs recomputation, even
12458 though it doesn't start a sexp (bug#10094).
12459
12460 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12463
12464 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12467 Use force-same-window.
12468
12469 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12470
12471 * descr-text.el (describe-char-unicode-data):
12472 * json.el (json-string-escape):
12473 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12474 (Footnote-unicode, Footnote-style-p):
12475 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12476
12477 2011-11-20 Chong Yidong <cyd@gnu.org>
12478
12479 * window.el (replace-buffer-in-windows): Restore interactive spec.
12480
12481 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12482
12483 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12484
12485 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12486 (byte-compile-global-not-obsolete-vars): New var.
12487 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12488 Use it.
12489 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12490
12491 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12492
12493 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12494 * progmodes/pascal.el (electric-pascal-equal):
12495 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12496 * xml.el (xml-substitute-special): Fix typos.
12497
12498 2011-11-20 Glenn Morris <rgm@gnu.org>
12499
12500 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12501 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12502 Doc fixes.
12503 (rmail-decode-mime-charset): Mark as obsolete.
12504
12505 * mail/rmailsum.el (rmail-message-regexp-p-1):
12506 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12507 Before using mime functions, check they are set. (Bug#10077)
12508
12509 2011-11-19 Juri Linkov <juri@jurta.org>
12510
12511 * info.el (Info-finder-find-node): Use `package--builtins' instead
12512 of `package-alist'. Use node names formed by the pattern "Keyword "
12513 and the keyword name.
12514
12515 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12516
12517 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12518
12519 2011-11-19 Juri Linkov <juri@jurta.org>
12520
12521 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12522 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12523 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12524 `old-history', `old-history-forward'. Add let-binding
12525 `window-selected'. Remove calls to `kill-buffer',
12526 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12527 before calling `Info-find-node', so `Info-find-node-2' will reread
12528 the Info file. Restore window positions only when `window-selected'
12529 is non-nil.
12530
12531 2011-11-19 Juri Linkov <juri@jurta.org>
12532
12533 * isearch.el (isearch-lazy-highlight-new-loop):
12534 Remove condition `(not isearch-error)'. (Bug#9918)
12535
12536 * misearch.el (multi-isearch-search-fun): Add condition
12537 `(not bound)' to ignore lazy-highlighting search.
12538 Add the search-failed message "end of multi" when the end of
12539 multi-sequence is reached. Uncapitalize the search-failed
12540 message "Repeat for next buffer".
12541
12542 * info.el (Info-search): Add the search-failed message
12543 "end of the manual" when the end of the manual is reached
12544 in Isearch mode.
12545
12546 2011-11-19 Juri Linkov <juri@jurta.org>
12547
12548 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12549 Use non-destructive `remove' instead of `delete' because
12550 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12551 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12552
12553 2011-11-19 Juri Linkov <juri@jurta.org>
12554
12555 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12556 to nil instead of binding `search-ring' and `regexp-search-ring'.
12557 (Bug#9185)
12558
12559 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12560
12561 * simple.el (line-move): Force movement by logical lines for any
12562 hscrolled window, not only when auto-hscroll-mode is on.
12563 (line-move-visual): Update doc string to that effect. (Bug#10076)
12564
12565 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12566
12567 * language/european.el (macintosh): Define as alias for mac-roman.
12568
12569 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12570
12571 * mail/rmailmm.el (rmail-mime-display-header)
12572 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12573 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12574 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12575 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12576 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12577 of a raw aref.
12578 (rmail-mime-entity-segment): To get past the tagline, move forward
12579 2 more lines, to account for the 2 empty lines that precede and
12580 follow the line with the buttons.
12581 (rmail-mime-update-tagline): Move one more line, to get past the
12582 empty line that follows the buttons in the tagline. (Bug#9520)
12583
12584 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12585
12586 * window.el (window-max-delta-1, window-min-delta-1)
12587 (window-min-size-1, window-state-get-1, window-state-put-1)
12588 (window-state-put-2): Use "window--" prefix.
12589
12590 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12593 (smie-warning-count): New var.
12594 (smie-set-prec2tab): Use it.
12595 (smie-bnf->prec2): Improve warnings. Add docstring.
12596 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12597 (smie-bnf--set-class): New function.
12598 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12599 corner case.
12600
12601 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12602 (compilation-error-properties, compilation-move-to-column):
12603 Handle compilation-first-column while in the target buffer.
12604
12605 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12606 Don't hardcode point-min==1.
12607
12608 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12609 (eshell-rewrite-for-command): Remove workaround.
12610 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12611 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12612 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12613
12614 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12615
12616 2011-11-17 Glenn Morris <rgm@gnu.org>
12617
12618 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12619 Ignore buffer-local generated-autoload-file if it is the same
12620 as the global value. (Bug#10049)
12621
12622 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12623
12624 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12625 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12626 (reftex-toc-previous-heading, reftex-toc-max-level)
12627 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12628 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12629 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12630 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12631 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12632 (reftex-toc-rename-label, reftex-toc-visit-location)
12633 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12634 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12635 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12636 leaving "*toc*" only for references to the buffer.
12637
12638 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12639
12640 * window.el (window-resize, delete-window, split-window):
12641 Replace window-splits by window-combination-resize.
12642 * cus-start.el (window-splits): Replace by window-combination-resize.
12643
12644 2011-11-17 Glenn Morris <rgm@gnu.org>
12645
12646 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12647 Make bash entry derive from sh entry, not shell entry.
12648
12649 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12650
12651 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12652 local file name.
12653
12654 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12655
12656 * menu-bar.el (menu-bar-file-menu):
12657 * printing.el (pr-ps-utility):
12658 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12659 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12660 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12661 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12662 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12663 (icalendar--convert-cyclic-to-ical)
12664 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12665 (icalendar--convert-ical-to-diary)
12666 (icalendar--convert-recurring-to-diary)
12667 (icalendar--convert-non-recurring-all-day-to-diary)
12668 (icalendar-import-format-sample):
12669 * progmodes/idlw-shell.el (idlwave-shell-mode):
12670 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12671 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12672 (vhdl-ps-print-init): Fix typos.
12673
12674 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12675
12676 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12677 FSF and collapse date sequence, obscure author/maintainer email address
12678 better, remove extra version line, track relocation of author's webpage.
12679
12680 * progmodes/python.el (python-pdbtrack-input-prompt)
12681 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12682 regular python pdb prompts. Adjustments shamelessly taken exactly as
12683 suggested in EmacsWiki page (tiny change):
12684 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12685
12686 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12687
12688 * expand.el (expand-pos, expand-index, expand-point):
12689 Remove redundant info from docstring.
12690 (expand-add-abbrevs): Doc fix.
12691 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12692 (expand-sample-perl-mode-expand-list): Fix typos.
12693
12694 * net/dbus.el (dbus-event-member-name):
12695 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12696 * term/pc-win.el (msdos-create-frame-with-faces):
12697 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12698
12699 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12700
12701 * window.el (split-window, window-state-get-1)
12702 (window-state-put-1, window-state-put-2): Rename occurrences of
12703 window-nest to window-combination-limit.
12704 * cus-start.el (window-nest): Rename to window-combination-limit.
12705
12706 2011-11-16 Chong Yidong <cyd@gnu.org>
12707
12708 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12709 regexp (Bug#10033).
12710
12711 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12714 `completing-read' will remove *Completions* and will preserve
12715 current-buffer for us.
12716 (tmm-add-prompt): Users of *Completions* will always (re)set its
12717 major mode.
12718 (tmm-old-comp-map): Remove.
12719
12720 2011-11-16 Glenn Morris <rgm@gnu.org>
12721
12722 * mail/rmailedit.el: Require rmailmm when compiling.
12723 (rmail-old-mime-state): New declaration.
12724 (rmail-edit-current-message): If editing a mime message,
12725 edit the "raw" message from the mbox buffer.
12726 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12727
12728 2011-11-15 Glenn Morris <rgm@gnu.org>
12729
12730 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12731 which wasn't being used. Add optional arg to force given state.
12732 (rmail-mime): Add optional arg to force given state.
12733
12734 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12735
12736 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12737 * frame.el (display-mm-dimensions-alist):
12738 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12739 (outline-move-subtree-down):
12740 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12741 (newsticker--treeview-do-get-node):
12742 * net/quickurl.el (quickurl-list-buffer-name):
12743 * progmodes/dcl-mode.el (dcl-mode):
12744 * progmodes/gdb-mi.el (gdb-mapcar*):
12745 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12746
12747 2011-11-15 Glenn Morris <rgm@gnu.org>
12748
12749 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12750 in a boolean sense, so just make it a boolean, and fix the doc.
12751 (rmail-show-mime-function, rmail-mime-feature)
12752 (rmail-require-mime-maybe): Doc fixes.
12753 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12754
12755 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12756
12757 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12758
12759 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12760 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12761 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12762 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12763
12764 2011-11-15 Glenn Morris <rgm@gnu.org>
12765
12766 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12767 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12768 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12769 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12770 (rmail-mime, rmail-show-mime): Doc fixes.
12771
12772 * term/ns-win.el (mode-line-frame-identification):
12773 Leave it alone. (Bug#10051)
12774
12775 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12776
12777 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12778 Handle empty buffers. (Bug#9978)
12779
12780 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12781
12782 * international/mule.el (define-charset):
12783 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12784 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12785 * progmodes/verilog-mode.el (verilog-backward-token):
12786 * textmodes/ispell.el (lookup-words):
12787 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12788
12789 2011-11-14 Glenn Morris <rgm@gnu.org>
12790
12791 * progmodes/executable.el
12792 (executable-make-buffer-file-executable-if-script-p):
12793 Handle file-modes returning nil.
12794
12795 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12796 message - not necessary, and causes problems. (Bug#9831)
12797
12798 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12799
12800 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12801
12802 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12803 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12804 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12805
12806 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12807
12808 * window.el (window-resize, delete-window): Use window-splits
12809 variable instead of function.
12810 (window-state-get-1, window-state-put-2, window-state-put):
12811 Don't deal with windows' splits status.
12812
12813 2011-11-12 Glenn Morris <rgm@gnu.org>
12814
12815 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12816 (apropos-documentation): Doc fixes.
12817
12818 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12819
12820 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12821 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12822
12823 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * electric.el (electric-indent-post-self-insert-function): Make it
12826 possible for a char to only indent in some circumstances.
12827 (electric-indent-mode): Simplify.
12828
12829 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12830
12831 * window.el (windows-with-parameter): Remove unused function.
12832 (windows-at-side): Rename to window-at-side-list.
12833 (window-check, window-atom-check, window-atom-check-1)
12834 (window-side-check, window-size-ignore, window-size-fixed-1)
12835 (window-in-direction-2): Prefix with "window--".
12836 (window-tree-1): Rename to window--subtree, fix doc-string.
12837
12838 2011-11-11 Glenn Morris <rgm@gnu.org>
12839
12840 * subr.el (eval-after-load): If FILE is already loaded,
12841 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12842
12843 2011-11-10 Glenn Morris <rgm@gnu.org>
12844
12845 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12846 Call svn via vc-svn-command rather than vc-do-command.
12847 (vc-svn-command): Add --non-interactive. (Bug#9993)
12848 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12849
12850 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12851 Add toggle-read-only. (Bug#7292)
12852 * files.el (toggle-read-only): Mention that it should only
12853 be used interactively. (Bug#10006)
12854
12855 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12858 Adjust regexp for OCaml warnings.
12859
12860 * electric.el (electric-pair-post-self-insert-function): Let user
12861 turn it off buffer-locally (bug#9932).
12862
12863 * progmodes/python.el (python-beginning-of-statement):
12864 Rewrite (bug#2703).
12865
12866 * progmodes/compile.el: Better handle TABs (bug#9749).
12867 (compilation-internal-error-properties)
12868 (compilation-next-error-function): Obey the target buffer's
12869 compilation-error-screen-columns.
12870
12871 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12872
12873 * progmodes/meta-mode.el: Remove obsolete comments.
12874 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12875 Fix typos in docstrings.
12876
12877 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12878
12879 * window.el (window-size-fixed-p): Rewrite doc-string.
12880 (window-resizable-p): Rename to window--resizable-p. Update callers.
12881 (window--resizable): New function. Make all callers of
12882 window-resizable call window--resizable instead.
12883 (window-resizable): Rewrite in terms of window--resizable.
12884
12885 2011-11-08 Glenn Morris <rgm@gnu.org>
12886
12887 * progmodes/delphi.el (delphi-mode-syntax-table):
12888 Let define-derived-mode define a proper syntax table. (Bug#9994)
12889
12890 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * window.el: Stay away from defsubst.
12893 (window-list-no-nils): Remove.
12894 (window-state-get-1, window-state-get): Use backquote instead.
12895
12896 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12897
12898 * emacs-lisp/find-func.el (find-function-read):
12899 Fix incorrect use of default argument in `completing-read'.
12900
12901 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12902
12903 * window.el (display-buffer-function, special-display-function):
12904 Mention display-buffer-record-window but do not mention
12905 help-setup parameter in doc-strings.
12906 (window-min-delta): Fix doc-string typo.
12907
12908 2011-11-08 Chong Yidong <cyd@gnu.org>
12909
12910 * window.el (window-total-height, window-total-width): Doc fix.
12911 (window-body-size): Move from C.
12912 (window-body-height, window-body-width): Move to C.
12913
12914 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * window.el: Make special-display like display-buffer-alist (bug#9532).
12917 (display-buffer--special-action): New function, morphed
12918 from display-buffer--special.
12919 (display-buffer): Use it to handle special-display-buffers at higher
12920 priority (just after display-buffer-alist).
12921 (display-buffer-fallback-action, display-buffer--other-frame-action)
12922 (pop-to-buffer-same-window): Remove display-buffer--special.
12923
12924 2011-11-07 Glenn Morris <rgm@gnu.org>
12925
12926 * calendar/cal-menu.el (cal-menu-set-date-title):
12927 Do nothing if not in a calendar. (Bug#9976)
12928
12929 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * files.el (find-file): Always use selected-window.
12932
12933 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12934
12935 * window.el (window-combinations): Make WINDOW argument
12936 mandatory. Rewrite doc-string.
12937 (walk-window-subtree, window-atom-check, window-min-delta)
12938 (window-max-delta, window--resize-this-window)
12939 (window--resize-root-window-vertically, window-tree)
12940 (balance-windows, window-state-put): Rewrite doc-strings as to
12941 not mention the term "subwindow".
12942 (window--resize-subwindows-skip-p): Rename to
12943 window--resize-child-windows-skip-p.
12944 (window--resize-subwindows-normal): Rename to
12945 window--resize-child-windows-normal.
12946 (window--resize-subwindows): Rename to
12947 window--resize-child-windows.
12948 (window-or-subwindow-p): Rename to window--in-subtree-p.
12949
12950 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12951
12952 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12953 Ensure that mbox format messages end in two newlines (Bug#9974).
12954
12955 2011-11-06 Chong Yidong <cyd@gnu.org>
12956
12957 * window.el (window-combination-p): Function deleted; its
12958 side-effect is not used in any existing code.
12959 (window-combinations, window-combined-p): Call window-*-child
12960 directly.
12961
12962 2011-11-05 Chong Yidong <cyd@gnu.org>
12963
12964 * window.el (window-valid-p): Rename from window-any-p.
12965 (window-size-ignore, window-state-get): Callers changed.
12966 (window-normalize-window): Rename from window-normalize-any-window.
12967 New arg LIVE-ONLY, replacing window-normalize-live-window.
12968 (window-normalize-live-window): Delete.
12969 (window-combination-p, window-combined-p, window-combinations)
12970 (walk-window-subtree, window-atom-root, window-min-size)
12971 (window-sizable, window-sizable-p, window-size-fixed-p)
12972 (window-min-delta, window-max-delta, window-resizable)
12973 (window-resizable-p, window-full-height-p, window-full-width-p)
12974 (window-current-scroll-bars, window-point-1, set-window-point-1)
12975 (window-at-side-p, window-in-direction, window-resize)
12976 (adjust-window-trailing-edge, maximize-window, minimize-window)
12977 (window-deletable-p, delete-window, delete-other-windows)
12978 (record-window-buffer, unrecord-window-buffer)
12979 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12980 (quit-window, split-window, window-state-put)
12981 (set-window-text-height, fit-window-to-buffer)
12982 (shrink-window-if-larger-than-buffer): Callers changed.
12983
12984 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12985
12986 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12987 rfc2047-decode-string.
12988 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12989 warnings.
12990
12991 * window.el (window-body-height, window-body-width): Mention in
12992 the doc string that the return values are in frame's canonical
12993 units. (Bug#9949)
12994
12995 2011-11-03 Alan Mackenzie <acm@muc.de>
12996
12997 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12998 change in cc-engine.el.
12999
13000 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13003
13004 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13005
13006 * window.el (quit-window): Call unrecord-window-buffer after
13007 showing another buffer in the window. (Bug#9937)
13008 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13009
13010 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13011
13012 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13013 Accept status with more than 9 shelves. (Bug#9935)
13014 Reported by Colin D Bennett <colin@gibibit.com>.
13015
13016 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13017
13018 * help.el (with-help-window): Don't reference
13019 temp-buffer-show-specifiers in doc-string.
13020
13021 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13022
13023 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13024 menu-item.
13025
13026 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13027
13028 * whitespace.el: New version 13.2.2.
13029 (whitespace-newline-mode): Disable properly. Reported by Sarah
13030 <EmacsWiki>.
13031
13032 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13033
13034 * net/newst-treeview.el: Remove "Time-stamp".
13035 (newsticker--group-manage-orphan-feeds): Do not call
13036 newsticker--treeview-tree-update.
13037 (newsticker-treeview-update, newsticker-treeview):
13038 Call newsticker--treeview-tree-update if necessary.
13039
13040 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13041
13042 * window.el (window-iso-combination-p, window-iso-combined-p)
13043 (window-iso-combinations): Remove "iso-" infix.
13044 Suggested by Chong Yidong.
13045 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13046 (window-max-delta-1, window-resize, window--resize-siblings)
13047 (window--resize-this-window, adjust-window-trailing-edge)
13048 (split-window, balance-windows-1)
13049 (shrink-window-if-larger-than-buffer):
13050 * calendar/calendar.el (calendar-generate-window):
13051 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13052
13053 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13054
13055 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13056 in place (bug#9907).
13057 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13058 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13059 (eshell-structure-basic-command, eshell-rewrite-while-command)
13060 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13061 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13062 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13063 (eshell-do-pipelines-synchronously, eshell-eval-command):
13064 Use backquotes and prefer setq to set.
13065 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13066 (eshell-macrop): Use functionp.
13067 (eshell-do-eval): Handle multiple expressions in `while' body.
13068
13069 2011-10-30 Chong Yidong <cyd@gnu.org>
13070
13071 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13072 instead of set-mark (Bug#9810).
13073
13074 2011-10-30 Chong Yidong <cyd@gnu.org>
13075
13076 * window.el (split-window-below, split-window-right): Rename from
13077 split-window-above-each-other and split-window-side-by-side
13078 respectively. All callers changed.
13079 (split-window-sensibly, split-window-sensibly): Use them.
13080 (split-window-keep-point): Doc fix.
13081
13082 * isearch.el: Add isearch-scroll property to split-window-below
13083 and split-window-right.
13084
13085 * follow.el (follow-mode):
13086 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13087 * progmodes/ada-xref.el (ada-gdb-application):
13088 * emulation/vip.el (vip-buffer-in-two-windows):
13089 * image-dired.el (image-dired-dired-with-window-configuration):
13090 * dired-x.el (dired-do-find-marked-files):
13091 * dired.el (dired-pop-to-buffer):
13092 * bs.el (bs--show-with-configuration):
13093 * vc/emerge.el (emerge-setup-windows):
13094 * textmodes/two-column.el (2C-two-columns):
13095 * textmodes/reftex-toc.el (reftex-toc):
13096 * progmodes/gdb-mi.el (gdb-setup-windows):
13097 * progmodes/fortran.el (fortran-window-create):
13098 * net/newst-treeview.el (newsticker--treeview-window-init):
13099 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13100 * emulation/tpu-edt.el (tpu-gold-map):
13101 * emulation/crisp.el (crisp-mode-map):
13102 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13103
13104 2011-10-29 Chong Yidong <cyd@gnu.org>
13105
13106 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13107
13108 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13109
13110 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13111 forged Ispell output (Bug#7904).
13112
13113 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13114
13115 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * doc-view.el: Avoid ugly errors about not finding nil.
13118 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13119 (doc-view-dvipdf-program, doc-view-unoconv-program)
13120 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13121 Avoid nil or absolute file name as default value.
13122 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13123
13124 2011-10-28 Alan Mackenzie <acm@muc.de>
13125
13126 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13127
13128 2011-10-28 Alan Mackenzie <acm@muc.de>
13129
13130 Amend the handling of c-beginning/end-of-defun in nested declaration
13131 scopes.
13132
13133 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13134 cc-langs.el. Change it to a defcustom.
13135
13136 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13137 cc-vars.el.
13138
13139 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13140 Prevent "class foo : bar" being spuriously recognized as a label.
13141
13142 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13143 Add parameter `inclusive' (to include enclosing braces in the region).
13144 (c-widen-to-enclosing-decl-scope): New function.
13145 (c-while-widening-to-decl-block): New macro.
13146 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13147 outward for defun boundaries, and correspondingly change symbol
13148 `respect-enclosure' to `go-outward'.
13149 (c-declaration-limits): Change algorithm to report only the "innermost"
13150 defun's boundaries.
13151
13152 2011-10-28 Deniz Dogan <deniz@dogan.se>
13153
13154 * net/rcirc.el (rcirc-mode): Use hard newlines.
13155
13156 2011-10-28 Alan Mackenzie <acm@muc.de>
13157
13158 Amend to indent and fontify macros "which include their own semicolon"
13159 correctly, using the "virtual semicolon" mechanism.
13160
13161 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13162
13163 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13164 Recode to scan one line at a time rather than having \n and \r
13165 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13166 (c-forward-label): Amend for virtual semicolons.
13167 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13168
13169 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13170 of the new C macros.
13171
13172 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13173 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13174 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13175 (c-opt-cpp-macro-define): Make into a full language variable.
13176 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13177 AWK Mode (including \n, \r) removed, no longer needed.
13178
13179 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13180 Invoke c-make-macro-with-semi-re.
13181
13182 * progmodes/cc-vars.el (c-macro-with-semi-re):
13183 (c-macro-names-with-semicolon): New variables.
13184 (c-make-macro-with-semi-re): New function.
13185
13186 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13187
13188 * vc/log-edit.el: Fill empty field rather than adding new one.
13189 (log-edit-add-field): New function.
13190 (log-edit-insert-changelog): Use it.
13191
13192 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13193
13194 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13195
13196 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13199 (gdb--check-interpreter): New function.
13200 (gdb): Use it.
13201
13202 2011-10-27 Glenn Morris <rgm@gnu.org>
13203
13204 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13205 (least-positive-float, least-negative-float)
13206 (least-positive-normalized-float, least-negative-normalized-float)
13207 (float-epsilon, float-negative-epsilon):
13208 Remove unnecessary declarations.
13209
13210 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13211 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13212 (least-positive-float, least-negative-float)
13213 (least-positive-normalized-float, least-negative-normalized-float)
13214 (float-epsilon, float-negative-epsilon): Add doc-strings,
13215 based on those in cl.texi.
13216
13217 * files.el (set-visited-file-name): If the major-mode changed,
13218 reload the local variables. (Bug#9796)
13219
13220 2011-10-27 Chong Yidong <cyd@gnu.org>
13221
13222 * subr.el (change-major-mode-after-body-hook): New hook.
13223 (run-mode-hooks): Run it.
13224
13225 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13226 Use change-major-mode-before-body-hook.
13227
13228 * simple.el (fundamental-mode):
13229 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13230 change introducing fundamental-mode-hook.
13231
13232 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13233
13234 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13235
13236 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13237
13238 * ido.el (ido-file-name-all-completions-1): Do not require
13239 tramp.el explicitly. (Bug#7583)
13240
13241 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * progmodes/octave-mod.el:
13244 * progmodes/octave-inf.el: Update maintainer.
13245
13246 2011-10-26 Chong Yidong <cyd@gnu.org>
13247
13248 * subr.el (with-wrapper-hook): Rewrite doc.
13249
13250 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13251
13252 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13253 filenames "/method:foo:". (Bug#9793)
13254
13255 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13258 (bug#9865).
13259
13260 2011-10-24 Glenn Morris <rgm@gnu.org>
13261
13262 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13263
13264 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13265
13266 * notifications.el: Add the requirement of a running D-Bus session
13267 bus to the Commentary.
13268
13269 2011-10-24 Juri Linkov <juri@jurta.org>
13270
13271 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13272 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13273 (Bug#9364)
13274
13275 2011-10-24 Juri Linkov <juri@jurta.org>
13276
13277 * info.el (Info-following-node-name-re): Add newline to the list
13278 of allowed characters for leading space. (Bug#9824)
13279
13280 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13281
13282 * progmodes/octave-inf.el (inferior-octave-mode-map):
13283 Fix C-c C-h binding.
13284 * progmodes/octave-mod.el (octave-help): Remove.
13285
13286 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13287
13288 Sync with Tramp 2.2.3.
13289
13290 * net/tramp-cache.el (top): Pacify byte-compiler using
13291 `init-file-user' and `site-run-file'.
13292
13293 * net/trampver.el: Update release number.
13294
13295 2011-10-23 Chong Yidong <cyd@gnu.org>
13296
13297 * files.el (toggle-read-only): Remove obsolete comment about
13298 version control.
13299
13300 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13301 for toggle-read-only. Note that this hasn't called vc-next-action
13302 since 2008-05-02, though it wasn't documented at the time.
13303
13304 * vc/ediff-init.el (ediff-toggle-read-only-function):
13305 Use toggle-read-only.
13306
13307 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13308
13309 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13310 of c-parse-state.
13311
13312 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13313 correct faulty logical expression.
13314 (c-parse-state-state, c-record-parse-state-state):
13315 (c-replay-parse-state-state): New defvar/defuns.
13316 (c-debug-parse-state): Use new functions.
13317
13318 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13319
13320 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13321 last fix. Use window-in-direction correctly.
13322
13323 2011-10-21 Chong Yidong <cyd@gnu.org>
13324
13325 * progmodes/idlwave.el (idlwave-mode):
13326 * progmodes/vera-mode.el (vera-mode): No need to set
13327 require-final-newline; that's done in prog-mode.
13328 Suggested by Stefan Monnier.
13329
13330 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13331
13332 * mouse.el (mouse-drag-window-above)
13333 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13334 (mouse-drag-mode-line-1, mouse-drag-header-line)
13335 (mouse-drag-vertical-line-rightward-window): Remove.
13336 (mouse-drag-line): New function.
13337 (mouse-drag-mode-line, mouse-drag-header-line)
13338 (mouse-drag-vertical-line): Call mouse-drag-line.
13339 * window.el (window-at-side-p, windows-at-side): New functions.
13340
13341 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13342
13343 * tar-mode.el (tar-grind-file-mode):
13344 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13345
13346 2011-10-21 Chong Yidong <cyd@gnu.org>
13347
13348 * progmodes/idlwave.el (idlwave-mode):
13349 * progmodes/vera-mode.el (vera-mode):
13350 Use mode-require-final-newline.
13351
13352 2011-10-20 Glenn Morris <rgm@gnu.org>
13353
13354 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13355
13356 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13357
13358 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13359
13360 2011-10-20 Chong Yidong <cyd@gnu.org>
13361
13362 * emulation/cua-base.el (cua-mode):
13363 * mail/footnote.el (footnote-mode):
13364 * mail/mailabbrev.el (mail-abbrevs-mode):
13365 * net/xesam.el (xesam-minor-mode):
13366 * progmodes/bug-reference.el (bug-reference-mode):
13367 * progmodes/cap-words.el (capitalized-words-mode):
13368 * progmodes/compile.el (compilation-minor-mode)
13369 (compilation-shell-minor-mode):
13370 * progmodes/gud.el (gud-tooltip-mode):
13371 * progmodes/hideif.el (hide-ifdef-mode):
13372 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13373 * progmodes/subword.el (subword-mode):
13374 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13375 * progmodes/which-func.el (which-function-mode):
13376 * term/tvi970.el (tvi970-set-keypad-mode):
13377 * term/vt100.el (vt100-wide-mode):
13378 * textmodes/flyspell.el (flyspell-mode):
13379 * textmodes/ispell.el (ispell-minor-mode):
13380 * textmodes/nroff-mode.el (nroff-electric-mode):
13381 * textmodes/paragraphs.el (use-hard-newlines):
13382 * textmodes/refill.el (refill-mode):
13383 * textmodes/reftex.el (reftex-mode):
13384 * textmodes/rst.el (rst-minor-mode):
13385 * textmodes/sgml-mode.el (html-autoview-mode)
13386 (sgml-electric-tag-pair-mode):
13387 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13388 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13389 * emulation/crisp.el (crisp-mode):
13390 * emacs-lisp/eldoc.el (eldoc-mode):
13391 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13392 minor mode behavior.
13393
13394 2011-10-19 Juri Linkov <juri@jurta.org>
13395
13396 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13397 the list of hard-coded chars with escape-glyph face.
13398
13399 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13402
13403 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13404
13405 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13406 running process.
13407
13408 2011-10-19 Glenn Morris <rgm@gnu.org>
13409
13410 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13411 Ignore ignored files. (Bug#9726)
13412
13413 2011-10-19 Chong Yidong <cyd@gnu.org>
13414
13415 Doc fix for minor modes, stating that an omitted argument enables
13416 the mode unconditionally when called from Lisp.
13417
13418 * abbrev.el (abbrev-mode):
13419 * allout.el (allout-mode):
13420 * autoinsert.el (auto-insert-mode):
13421 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13422 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13423 (global-auto-revert-mode):
13424 * battery.el (display-battery-mode):
13425 * composite.el (global-auto-composition-mode)
13426 (auto-composition-mode):
13427 * delsel.el (delete-selection-mode):
13428 * desktop.el (desktop-save-mode):
13429 * dired-x.el (dired-omit-mode):
13430 * dirtrack.el (dirtrack-mode):
13431 * doc-view.el (doc-view-minor-mode):
13432 * double.el (double-mode):
13433 * electric.el (electric-indent-mode, electric-pair-mode):
13434 * emacs-lock.el (emacs-lock-mode):
13435 * epa-hook.el (auto-encryption-mode):
13436 * follow.el (follow-mode):
13437 * font-core.el (font-lock-mode):
13438 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13439 * help.el (temp-buffer-resize-mode):
13440 * hilit-chg.el (highlight-changes-mode)
13441 (highlight-changes-visible-mode):
13442 * hi-lock.el (hi-lock-mode):
13443 * hl-line.el (hl-line-mode, global-hl-line-mode):
13444 * icomplete.el (icomplete-mode):
13445 * ido.el (ido-everywhere):
13446 * image-file.el (auto-image-file-mode):
13447 * image-mode.el (image-minor-mode):
13448 * iswitchb.el (iswitchb-mode):
13449 * jka-cmpr-hook.el (auto-compression-mode):
13450 * linum.el (linum-mode):
13451 * longlines.el (longlines-mode):
13452 * master.el (master-mode):
13453 * mb-depth.el (minibuffer-depth-indicate-mode):
13454 * menu-bar.el (menu-bar-mode):
13455 * minibuf-eldef.el (minibuffer-electric-default-mode):
13456 * mouse-sel.el (mouse-sel-mode):
13457 * msb.el (msb-mode):
13458 * mwheel.el (mouse-wheel-mode):
13459 * outline.el (outline-minor-mode):
13460 * paren.el (show-paren-mode):
13461 * recentf.el (recentf-mode):
13462 * reveal.el (reveal-mode, global-reveal-mode):
13463 * rfn-eshadow.el (file-name-shadow-mode):
13464 * ruler-mode.el (ruler-mode):
13465 * savehist.el (savehist-mode):
13466 * scroll-all.el (scroll-all-mode):
13467 * scroll-bar.el (scroll-bar-mode):
13468 * server.el (server-mode):
13469 * shell.el (shell-dirtrack-mode):
13470 * simple.el (auto-fill-mode, transient-mark-mode)
13471 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13472 (line-number-mode, column-number-mode, size-indication-mode)
13473 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13474 * strokes.el (strokes-mode):
13475 * time.el (display-time-mode):
13476 * t-mouse.el (gpm-mouse-mode):
13477 * tool-bar.el (tool-bar-mode):
13478 * tooltip.el (tooltip-mode):
13479 * type-break.el (type-break-mode-line-message-mode)
13480 (type-break-query-mode):
13481 * view.el (view-mode):
13482 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13483 (global-whitespace-mode, global-whitespace-newline-mode):
13484 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13485
13486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13487 Fix autogenerated docstring.
13488
13489 2011-10-19 Juri Linkov <juri@jurta.org>
13490
13491 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13492 by checking environment variables "DESKTOP_SESSION" and
13493 "XDG_CURRENT_DESKTOP". (Bug#9779)
13494
13495 2011-10-19 Juri Linkov <juri@jurta.org>
13496
13497 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13498 (browse-url-chromium-program, browse-url-chromium-arguments):
13499 New defcustoms.
13500 (browse-url-default-browser): Check for `browse-url-chromium' and
13501 call `browse-url-chromium-program'.
13502 (browse-url-chromium): New command. (Bug#9779)
13503
13504 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13505
13506 * facemenu.el (list-colors-duplicates): On Windows, detect more
13507 duplicates by assuming that only colors matching "^System" are
13508 special "system colors". (Bug#9722)
13509
13510 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13513 to distinguish the author from the committer.
13514
13515 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13516
13517 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13518
13519 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13520
13521 * international/mule.el (sgml-html-meta-auto-coding-function):
13522 Add support for detecting encoding in HTML5 specified only as
13523 <meta charset="UTF-8">. Implementation just makes http-equiv and
13524 content-type parts from HTML4 encoding string optional. (Bug#9716)
13525
13526 2011-10-18 Glenn Morris <rgm@gnu.org>
13527
13528 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13529
13530 2011-10-18 Chong Yidong <cyd@gnu.org>
13531
13532 * faces.el (cursor): Doc fix.
13533
13534 2011-10-17 Chong Yidong <cyd@gnu.org>
13535
13536 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13537
13538 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13539
13540 * dirtrack.el (dirtrack): Support shell buffers with path
13541 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13542
13543 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13544
13545 * json.el: Bump version to 1.3 and note change in History.
13546 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13547
13548 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * comint.el (comint-insert-input, comint-send-input)
13551 (comint-get-old-input-default, comint-backward-matching-input)
13552 (comint-next-prompt): Use nil instead of `input' for field property of
13553 past user input (bug#114).
13554
13555 * minibuffer.el (completion--replace): Inherit surrounding properties
13556 (bug#114).
13557 (minibuffer-complete-and-exit): Use it.
13558
13559 * comint.el (comint--table-subvert): Quote the all-completions output
13560 (bug#9160).
13561
13562 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13563
13564 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13565
13566 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13567 window on right of selected. (Bug#9350) Reword other window
13568 entries and separate them from frame entries.
13569
13570 2011-10-15 Glenn Morris <rgm@gnu.org>
13571
13572 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13573 Doc fixes.
13574
13575 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13576
13577 * net/network-stream.el (network-stream-open-starttls):
13578 Improve detection of failure due to lack of TLS support.
13579
13580 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13581 putting the input text in front and in bold.
13582
13583 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13586
13587 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13588 empty buffer.
13589
13590 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13591 unread-command-events rather than pushing yet-another event.
13592
13593 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13594
13595 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13596 the explanation of the possible choices. Make the options passed
13597 to completing-read shorter.
13598
13599 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13600
13601 * textmodes/flyspell.el (flyspell-large-region): Make sure
13602 extended character mode is used if defined (Bug#1339).
13603
13604 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13605
13606 * simple.el (what-cursor-position): Fix the display of the
13607 character info for LRE, LRO, RLE, and RLO characters by appending
13608 an invisible PDF.
13609
13610 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13613 even in case of error; add debug spec; simplify data flow.
13614 (with-timeout-handler): Remove.
13615
13616 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13617
13618 Fix Bug#6019, Bug#9315.
13619
13620 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13621 complete `buffer-file-name', the local file name part could look
13622 remotely (for example on VMS).
13623
13624 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13625 `tramp-run-real-handler'.
13626 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13627 already quoted by '"'.
13628
13629 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13630 Let `file-name-handler-alist' be nil, the local file name part
13631 could look remotely (for example on VMS).
13632
13633 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13636 from here...
13637 (flyspell-post-command-hook): ...to here.
13638
13639 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13640
13641 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13642 if not needed.
13643 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13644 using completion. Protect against "slow" callers.
13645 Remove the "message hack".
13646
13647 2011-10-11 Juri Linkov <juri@jurta.org>
13648
13649 * isearch.el (isearch-lazy-highlight-word): New variable.
13650 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13651 Use it. (Bug#9727)
13652
13653 2011-10-11 Glenn Morris <rgm@gnu.org>
13654
13655 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13656 like f90-previous-statement does.
13657
13658 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13659
13660 * eshell/eshell.el (eshell-command): History should be saved
13661 only in interactive use, to avoid error.
13662
13663 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * minibuffer.el (completion-file-name-table): Fix last change,
13666 i.e. ignore normal errors but not the other ones.
13667
13668 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13669
13670 * window.el (special-display-buffer-names)
13671 (special-display-regexps): Remove some remnants of earlier
13672 changes from doc-strings.
13673 (quit-windows-on): New function.
13674
13675 * vc/vc.el (vc-revert, vc-rollback):
13676 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13677 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13678 (Bug#6183) (Bug#7074) (Bug#7447)
13679
13680 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13681
13682 * window.el (frame-auto-hide-function): Add version tag.
13683 (Bug#9699)
13684
13685 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13686
13687 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13688 condition.
13689
13690 2011-10-09 Leo Liu <sdl.web@gmail.com>
13691
13692 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13693 (Bug#9701)
13694
13695 2011-10-08 Glenn Morris <rgm@gnu.org>
13696
13697 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13698 before the first code statement zero indent. (Bug#9690)
13699
13700 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13701
13702 * simple.el (count-words-region): Always count in the region.
13703 Report the number of lines and characters too.
13704 (count-words): New command, which counts in the buffer if the
13705 region is inactive, as count-words-region used to.
13706 (count-words--message): New function. Handle plurals.
13707 (count-lines-region): Make it an alias for count-words-region.
13708
13709 * bindings.el (esc-map): Replace count-lines-region with
13710 count-words-region.
13711
13712 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13713
13714 * window.el (window--delete): Delete dedicated frame
13715 unconditionally when argument KILL is non-nil. (Bug#9699)
13716 (switch-to-buffer): Fix doc-string typo.
13717
13718 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13719
13720 * eshell/eshell.el (eshell-command): Avoid using hooks.
13721
13722 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13723
13724 * bindings.el ([M-left],[M-right]): Bind to left-word and
13725 right-word respectively.
13726
13727 2011-10-07 Glenn Morris <rgm@gnu.org>
13728
13729 * cus-start.el (debug-on-quit): Fix custom type.
13730
13731 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13732
13733 * subr.el (define-key-after): Clarify that the function is not
13734 useful for non-menu keymaps.
13735
13736 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13737
13738 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13739
13740 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13741 in current minibuffer (Fix bug with recursive minibuffers).
13742
13743 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13744
13745 * progmodes/gdb-mi.el (gdb): Doc fix.
13746
13747 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13748
13749 * window.el (frame-auto-hide-function): New option replacing
13750 frame-auto-delete. Suggested by Stefan Monnier.
13751 (window--delete): Call frame-auto-hide-function instead of
13752 investigating frame-auto-delete.
13753 (window-point-1, set-window-point-1): New functions.
13754 (window-in-direction, record-window-buffer, window-state-get-1)
13755 (display-buffer-record-window): Use window-point-1 instead of
13756 window-point.
13757 (set-window-buffer-start-and-point): Use set-window-point-1.
13758
13759 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13762
13763 2011-10-05 Glenn Morris <rgm@gnu.org>
13764
13765 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13766 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13767
13768 2011-10-05 Leo Liu <sdl.web@gmail.com>
13769
13770 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13771 works with buffer object.
13772
13773 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * mpc.el (mpc-tool-bar-map): Add labels.
13776
13777 2011-10-04 Glenn Morris <rgm@gnu.org>
13778
13779 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13780
13781 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13782
13783 * window.el (window--delete): New function.
13784 (frame-auto-delete): Resuscitate option.
13785 (bury-buffer, replace-buffer-in-windows)
13786 (quit-window): Rewrite using window--delete.
13787 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13788 Pass display-buffer-mark-dedicated to window--display-buffer-2
13789 (Bug#9639).
13790
13791 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13794 returns a list (bug#9554). Add remote file name completion.
13795 * comint.el (comint--table-subvert): Curry and get quote&unquote
13796 functions as arguments.
13797 (comint--complete-file-name-data): Adjust call accordingly.
13798 * pcomplete.el (pcomplete--table-subvert): Remove.
13799 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13800
13801 * minibuffer.el (completion-table-case-fold): Use currying.
13802 (completion--styles-type, completion--cycling-threshold-type):
13803 New constants.
13804 (completion-styles, completion-category-overrides)
13805 (completion-cycle-threshold): Use them.
13806 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13807 completion-table-case-fold.
13808
13809 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13810
13811 * minibuffer.el (completion-category-overrides): Fix type of styles
13812 and add more user friendly tags (bug#9660).
13813
13814 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13815
13816 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13817 (mule-input-method-string): New widget.
13818 (default-input-method, language-info-custom-alist): Use it.
13819
13820 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13821
13822 * pcomplete.el: Require comint.
13823 (pcomplete--common-suffix): Remove.
13824 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13825 (pcomplete--table-subvert): Sync with comint--table-subvert.
13826 (pcomplete--entries): Use comint-completion-file-name-table.
13827 * comint.el (comint-unquote-filename): Simplify.
13828 (comint-completion-file-name-table): New function (bug#9616).
13829 (comint--complete-file-name-data): Use it.
13830
13831 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13832 (pcmpl-gnu-tar-buffer): Remove.
13833 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13834 around. Make sure pcomplete-suffix-list is only changed temporarily.
13835 Don't look inside the tar's file if it's too large.
13836
13837 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13838
13839 * cus-edit.el (custom-mode-map):
13840 * epa.el (epa-key-list-mode-map):
13841 * man.el (Man-mode-map):
13842 * startup.el (splash-screen-keymap):
13843 * simple.el (special-mode-map): Use scroll-up-command and
13844 scroll-down-command.
13845
13846 * progmodes/idlw-help.el (idlwave-help-mode-map):
13847 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13848 * net/newst-plainview.el (newsticker-mode-map):
13849 * emulation/ws-mode.el (wordstar-mode-map):
13850 * emulation/vi.el (vi-com-map):
13851 * calc/calc-graph.el (calc-graph-show-dumb):
13852 * term/sun.el (terminal-init-sun):
13853 * term/ns-win.el (global-map):
13854 * progmodes/grep.el (grep-mode-map):
13855 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13856 * mail/rmail.el (rmail-mode-map):
13857 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13858
13859 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13860 custom-safe-themes as special.
13861
13862 2011-10-01 Julien Danjou <julien@danjou.info>
13863
13864 * notifications.el (notifications-notify): Fix docstring.
13865
13866 2011-10-01 Per Starbäck <per@starback.se>
13867
13868 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13869
13870 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13871
13872 * startup.el (command-line-1): Fix last fix by inserting
13873 initial-scratch-message into *scratch* before displaying it.
13874 (Bug#9605) and (Bug#9636)
13875
13876 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13877
13878 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13879 window is hscrolled, move by logical lines. (Bug#9607)
13880 (line-move-visual): Update the doc string to the above effect.
13881
13882 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13883
13884 * window.el (display-buffer-record-window): When WINDOW is the
13885 selected window use `point' instead of `window-point'. (Bug#9626)
13886
13887 * startup.el (command-line-1): Use insert-before-markers when
13888 inserting initial-scratch-message. (Bug#9605)
13889
13890 * help.el (help-window): Remove variable.
13891
13892 2011-09-29 Glenn Morris <rgm@gnu.org>
13893
13894 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13895
13896 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13897
13898 * descr-text.el (describe-char-categories): Accept category
13899 descriptions more than one line long.
13900
13901 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * simple.el (delete-trailing-whitespace): Fix last change.
13904
13905 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13906 Don't confuse "y => 3" as the beginning of a `y' operation.
13907
13908 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13909 object has more than 4 slots (bug#9613).
13910
13911 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13912
13913 * subr.el (with-output-to-temp-buffer):
13914 * net/quickurl.el (quickurl, quickurl-browse-url):
13915 Fix typos in docstrings.
13916
13917 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13918
13919 * minibuffer.el (completion-styles)
13920 (completion-category-overrides): Cross reference each other in doc
13921 strings.
13922
13923 2011-09-27 Glenn Morris <rgm@gnu.org>
13924
13925 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13926 to split-string. (Bug#9606)
13927
13928 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13929
13930 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13931 (bug#9615).
13932
13933 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13934
13935 * emacs-lisp/package.el (list-packages): Fix echo area message.
13936
13937 2011-09-27 Leo Liu <sdl.web@gmail.com>
13938
13939 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13940
13941 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13942
13943 * net/dbus.el (dbus-unregister-object): Don't release services for
13944 registered signals. (Bug#9581)
13945
13946 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13947
13948 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13949 function that picks between cfengine 2 and 3 support
13950 automatically. Update docs accordingly.
13951
13952 2011-09-22 Kenichi Handa <handa@m17n.org>
13953
13954 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13955 ZERO.
13956 (indian-itrans-v5-table-for-tamil): New variable.
13957 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13958
13959 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13960
13961 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13962 that's true if the current command involved collapsing of text.
13963 It's reset to false at the beginning of the next command.
13964 (allout-post-command-business): Move the cursor to the beginning
13965 of entry if the cursor is hidden and collapsing activity just
13966 happened.
13967
13968 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13969
13970 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13971 tracking (Bug#9541).
13972
13973 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13974
13975 * net/newst-reader.el (newsticker-html-renderer)
13976 (newsticker-show-news): Automatically load html rendering package
13977 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13978 because w3m-fill-column is let-bound" and the error "Symbol's value
13979 as variable is void: w3m-fill-column".
13980
13981 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13982
13983 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13984 Release services only if they are defined. (Bug#9581)
13985
13986 2011-09-23 Richard Stallman <rms@gnu.org>
13987
13988 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13989 distinguish start of paragraph from start of its text.
13990
13991 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13992
13993 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13994 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13995 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13996
13997 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13998
13999 * international/mule-diag.el (mule-diag): Insert a newline after
14000 each fontset description.
14001
14002 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14003
14004 * simple.el (delete-trailing-whitespace):
14005 Document last change; simplify.
14006
14007 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14008
14009 * simple.el (delete-trailing-whitespace): Also delete
14010 extra newlines at the end of the buffer.
14011
14012 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14013 (picture-newline): Use forward-line so as to ignore fields.
14014
14015 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * subr.el (with-wrapper-hook): Fix edebug spec.
14018
14019 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14020
14021 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14022 (bug#4538).
14023
14024 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14025
14026 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14027 Fix nasty bug using wrong cached values.
14028
14029 2011-09-23 Alan Mackenzie <acm@muc.de>
14030
14031 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14032
14033 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14034
14035 * window.el (pop-to-buffer): Ensure right window is selected if we
14036 chose another frame.
14037
14038 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14039
14040 * simple.el (what-cursor-position): Use get-char-property-change
14041 and next-single-char-property-change, to be able to show display
14042 properties that come from overlays as well as text properties.
14043
14044 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14047
14048 * cmuscheme.el (run-scheme, switch-to-scheme):
14049 * cus-edit.el (customize-group, custom-buffer-create)
14050 (customize-browse):
14051 * info.el (info):
14052 * shell.el (shell):
14053 * mail/sendmail.el (mail):
14054 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14055
14056 2011-09-22 Richard Stallman <rms@gnu.org>
14057
14058 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14059 move back only to line beg, don't move back over blank lines.
14060
14061 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14062
14063 * files.el (copy-directory): Set directory attributes only in case
14064 they could be retrieved from the source directory. (Bug#9565)
14065
14066 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14067
14068 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14069 (hs-find-block-beginning, hs-hide-level-recursive):
14070 Ignore strings as well as comments. (Bug#9502)
14071
14072 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14073
14074 * progmodes/sql.el (sql-comint-postgres):
14075 Convert port number to a string. (Bug#9566)
14076
14077 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14078
14079 * window.el (quit-window): Undedicate window when switching to
14080 previous buffer. Reported by Thierry Volpiatto
14081 <thierry.volpiatto@gmail.com>.
14082 (special-display-popup-frame): When popping up a new frame reset
14083 its previous buffers to nil. Simplify code.
14084
14085 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14086
14087 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14088 and process filter, as done also in `shell-command'.
14089
14090 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14091
14092 * window.el (set-window-buffer-start-and-point):
14093 Call set-window-start with NOFORCE argument t.
14094 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14095 (quit-window): Reword doc-string. Handle new format of
14096 quit-restore parameter. Don't delete window if it has a
14097 previous buffer we can show instead of the present one.
14098 (display-buffer-record-window): Rewrite using a new format for
14099 the quit-restore window parameter
14100 (special-display-popup-frame, display-buffer-same-window)
14101 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14102 (display-buffer-pop-up-window, display-buffer-use-some-window):
14103 Adapt symbol passed to display-buffer-record-window.
14104 * help.el (help-window-setup): Handle new format of quit-restore
14105 parameter.
14106
14107 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14108
14109 * faces.el (face-list): Fix docstring (bug#9564).
14110
14111 * window.el (display-buffer--action-function-custom-type):
14112 Don't include internal functions in the Custom interface.
14113
14114 2011-09-20 Juri Linkov <juri@jurta.org>
14115
14116 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14117 (Info-forward-node, Info-backward-node, Info-next-preorder)
14118 (Info-last-preorder): Use it. (Bug#9528)
14119
14120 2011-09-20 Juri Linkov <juri@jurta.org>
14121
14122 * info.el (Info-last-preorder): Visit last menu item only when
14123 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14124
14125 2011-09-20 Julien Danjou <julien@danjou.info>
14126
14127 * password-cache.el (password-cache-remove): Remove entries even if the
14128 value is nil, so that password with a nil value (negative caching) is
14129 possible to invalidate.
14130
14131 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14132
14133 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14134 all whitespace around breakpoint. (Bug#9553)
14135 (f90-find-breakpoint): Only break at whitespace inside a comment.
14136
14137 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * minibuffer.el (completion-file-name-table): Keep track of errors.
14140 (completion-table-with-predicate): Handle the case where pred1 is nil.
14141 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14142
14143 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14146 (debugger-return-value): Signal an error if the debugging context does
14147 not await any return value.
14148
14149 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14150 * image-mode.el (image-toggle-display-text)
14151 (image-toggle-display-image): Stay away from evil `intangible'.
14152
14153 2011-09-19 Leo Liu <sdl.web@gmail.com>
14154
14155 * replace.el (occur-revert-arguments): Make it permanent-local.
14156 (occur-mode): Don't call font-lock-defontify.
14157
14158 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14159
14160 * net/ldap.el (ldap-search-internal): Don't push empty search
14161 result (Bug#9508).
14162
14163 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14166
14167 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14168
14169 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14170 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14171
14172 2011-09-18 Juri Linkov <juri@jurta.org>
14173
14174 * buff-menu.el (Buffer-menu-mode-map):
14175 * dired.el (dired-mode-map):
14176 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14177 (lisp-interaction-mode-map):
14178 * emacs-lisp/package.el (package-menu-mode-map):
14179 * epa.el (epa-key-list-mode-map):
14180 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14181 (menu-bar-options-menu):
14182 * outline.el (outline-mode-menu-bar-map):
14183 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14184 * vc/vc-dir.el (vc-dir-menu-map):
14185 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14186 Capitalize non-function content words in menu item strings.
14187
14188 * dired.el (dired-mode-map): Add menu item for
14189 `image-dired-dired-toggle-marked-thumbs'.
14190
14191 2011-09-18 Juri Linkov <juri@jurta.org>
14192
14193 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14194 to `isearch-case-fold-search' and restore its original value
14195 after the `isearch-mode' call.
14196
14197 2011-09-18 Juri Linkov <juri@jurta.org>
14198
14199 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14200 because `zgrep' returns 1 for successful matches (bug#9226).
14201
14202 2011-09-18 Juri Linkov <juri@jurta.org>
14203
14204 * info.el (Info-extract-menu-node-name): Check the second match
14205 for empty string (second test-case of bug#9528).
14206 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14207 intermediate nodes to the history (first test-case of bug#9528).
14208
14209 2011-09-18 Juri Linkov <juri@jurta.org>
14210
14211 * info.el (Info-mode-syntax-table): New variable.
14212 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14213
14214 2011-09-18 Juri Linkov <juri@jurta.org>
14215
14216 * info.el (Info-file-supports-index-cookies):
14217 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14218 outputs one more line for long file names (bug#4142).
14219
14220 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14221
14222 * newcomment.el (comment-normalize-vars): If prompting for
14223 comment-start, set comment-start-skip too (Bug#8424).
14224
14225 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14226
14227 * icomplete.el: Fix previous fix of Bug#5849.
14228 (icomplete-mode): Don't set completion-show-inline-help.
14229 (icomplete-minibuffer-setup): Set completion-show-inline-help
14230 locally during icompletion.
14231
14232 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14233
14234 * woman.el (woman2-process-escapes): Don't delete unrecognized
14235 escapes (Bug#7843).
14236
14237 * files.el (inhibit-first-line-modes-regexps): Add image files.
14238 (hack-local-variables-prop-line): Return nil for malformed
14239 prop-lines (Bug#9044).
14240
14241 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/tramp.el (top): Don't require 'shell.
14244 (tramp-methods): Fix docstring.
14245 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14246 Return complete remote file name. Handle "smb" case.
14247 Use `tramp-tmpdir', if defined for the respective method.
14248 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14249
14250 * net/tramp-compat.el (top): Require 'shell.
14251
14252 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14253 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14254 `tramp-current-host'.
14255 (tramp-get-remote-tmpdir): Remove.
14256
14257 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14258 `tramp-tmpdir' entries.
14259 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14260 (tramp-smb-handle-file-attributes): Ignore errors.
14261 (tramp-smb-wait-for-output): Check also for process end.
14262
14263 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14264
14265 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14266 when sending QUIT (bug#9312).
14267
14268 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14269
14270 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14271 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14272 occur-mode-display-occurrence.
14273 (occur-edit-mode): Add usage message.
14274 (occur-cease-edit): New command.
14275 (occur-after-change-function): Use text properties to find the
14276 position of the prefix text.
14277 (occur-engine): Set stickiness of prefix text properties.
14278
14279 2011-09-17 Glenn Morris <rgm@gnu.org>
14280
14281 * progmodes/etags.el (complete-tag):
14282 Fix call to completion-in-region. (Bug#9526)
14283
14284 2011-09-17 Juri Linkov <juri@jurta.org>
14285
14286 * textmodes/ispell.el (ispell-word): Add to the error message
14287 the word, ispell program name and current dictionary (bug#9121).
14288 (ispell-tex-arg-end): Capitalize "error" in the error message.
14289
14290 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14291
14292 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14293 check. (Bug#4251)
14294
14295 2011-09-17 Juri Linkov <juri@jurta.org>
14296
14297 * window.el (window-safe-min-height, window-safe-min-width):
14298 Fix typos (followup to bug#9522).
14299
14300 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14301
14302 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14303
14304 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14305
14306 * simple.el (line-move): If goal-column is set, move by logical
14307 lines, not by display lines. (Bug#971)
14308 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14309 to reflect the above change.
14310
14311 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * image.el (imagemagick-register-types): Use regexp-opt.
14314
14315 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14316
14317 * window.el (display-buffer-base-action): Rename from
14318 display-buffer-default-action. Make default value empty.
14319 (display-buffer-overriding-action): Convert to defvar.
14320 (display-buffer-fallback-action): New var.
14321
14322 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14323
14324 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14325 declaration.
14326 (package--add-to-archive-contents): If there is a duplicate entry
14327 with an older version, remove it.
14328 (package-menu-mark-delete, package-menu-mark-install)
14329 (package-menu-mark-unmark): Make unused args optional.
14330 (package-menu-mark-obsolete-for-deletion):
14331 Use package-menu-get-status instead of a regexp search.
14332 (package-menu-get-status): Use tabulated-list-entry.
14333 (package-menu-mark-upgrades): New command.
14334 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14335 (package-menu-execute): Do installation before deletion.
14336 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14337 instead of checking major-mode.
14338 (package-menu--find-upgrades): New function.
14339
14340 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14341
14342 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14343 passwords in the log buffer.
14344 (smtpmail-process-filter): Update the process marker so that the
14345 "broken by peer" status message is inserted in the right place.
14346
14347 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14350 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14351 bibtex-completion-at-point-function.
14352 (bibtex-completion-at-point-function): Use them.
14353
14354 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14355
14356 * mpc.el (mpc-constraints-tag-lookup): New function.
14357 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14358 also to browser "album|playlist".
14359
14360 2011-09-14 Juri Linkov <juri@jurta.org>
14361
14362 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14363 (isearch-edit-string): Use length of `isearch-string' when
14364 `isearch-fail-pos' returns nil.
14365 (isearch-message): Remove duplicate code and call
14366 `isearch-fail-pos' with arg `t'.
14367
14368 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14369
14370 * replace.el (occur-mode-goto-occurrence): Don't force using other
14371 window (Bug#9499).
14372
14373 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14374
14375 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14376
14377 * window.el (display-buffer-window): Remove.
14378 (display-buffer-record-window): Use help-setup window parameter
14379 instead of variable display-buffer-window.
14380 (display-buffer-function, special-display-buffer-names)
14381 (special-display-function): Mention help-setup parameter instead
14382 of display-buffer-window in doc-string.
14383 * help.el (help-window-setup): New argument help-window.
14384 Use help-window-setup parameter instead of display-buffer-window.
14385 Reword some messages.
14386 (with-help-window): Pass window used for displaying the buffer
14387 to help-window-setup. Don't set display-buffer-window.
14388
14389 2011-09-13 Glenn Morris <rgm@gnu.org>
14390
14391 * emacs-lisp/debug.el (debugger-make-xrefs):
14392 Preserve point. (Bug#9462)
14393
14394 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14395
14396 * window.el (window-deletable-p): Use next-frame.
14397
14398 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14399
14400 * window.el (window-auto-delete): Remove.
14401 (window-deletable-p): Remove argument FORCE. Don't deal with
14402 dedication and previous buffers.
14403 (switch-to-prev-buffer): Don't delete window.
14404 (delete-windows-on): Delete a window's frame if and only if the
14405 window is dedicated.
14406 (replace-buffer-in-windows): Delete buffer's window or frame if
14407 and only if window is dedicated.
14408 (quit-window): Handle quit-restore as before last change.
14409 (bury-buffer): Delete window only if window-deletable-p returns t.
14410
14411 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14412
14413 * window.el (window-deletable-p): Never delete the last frame on a
14414 given terminal.
14415
14416 2011-09-13 Glenn Morris <rgm@gnu.org>
14417
14418 * help.el (describe-key-briefly): Copy previous standard-output change.
14419
14420 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14421
14422 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14423
14424 2011-09-13 Glenn Morris <rgm@gnu.org>
14425
14426 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14427 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14428
14429 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14430
14431 * dired-aux.el (dired-mark-read-string): Don't return default
14432 value on empty input (Bug#9361).
14433 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14434 Omit initial minibuffer contents.
14435 (dired-do-chmod): Signal an error on empty input.
14436 (dired-mark-read-string): Don't return default on empty input.
14437
14438 * files.el (file-modes-symbolic-to-number): Doc fix.
14439
14440 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * international/mule-cmds.el (ucs-completions): Remove.
14443 (read-char-by-name): Use complete-with-action instead; add metadata.
14444
14445 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14446
14447 * window.el (display-buffer--action-function-custom-type)
14448 (display-buffer--action-custom-type): New vars.
14449 (display-buffer-alist, display-buffer-default-action)
14450 (display-buffer-overriding-action): Add defcustom types.
14451
14452 * frame.el (delete-other-frames): Doc fix (Bug#276).
14453
14454 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14455
14456 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14457
14458 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14459
14460 Change modes that used same-window-* vars to use switch-to-buffer.
14461
14462 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14463 Use switch-to-buffer.
14464
14465 * cus-edit.el (customize-group, custom-buffer-create)
14466 (customize-browse, custom-buffer-create-other-window):
14467 Use switch-to-buffer or switch-to-buffer-other-window.
14468
14469 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14470 (Info-prev, Info-up, Info-speedbar-goto-node)
14471 (info-display-manual): Use switch-to-buffer.
14472 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14473
14474 * mail/sendmail.el (mail): Use switch-to-buffer.
14475 (mail-recover): Use switch-to-buffer-other-window.
14476
14477 * cmuscheme.el (run-scheme, switch-to-scheme):
14478 * ielm.el (ielm):
14479 * shell.el (shell):
14480 * net/rlogin.el (rlogin):
14481 * net/telnet.el (telnet, rsh):
14482 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14483
14484 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14485
14486 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14487
14488 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14489
14490 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14491 so don't mention it (bug#9301).
14492 (dired-sort-toggle-or-edit): Clarify string further.
14493
14494 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14495 match `x', `w32' and `ns', like the manual says (bug#9029).
14496
14497 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14498 (process-kill-buffer-query-function): Mention the buffer name in
14499 the query.
14500
14501 * image-mode.el (image-next-line): The line parameter is mandatory
14502 (bug#9258).
14503
14504 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14505 which can be useful (bug#9301).
14506
14507 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14508
14509 * subr.el (match-string): Mention that the current buffer should
14510 be the same as the search was done in (bug#9282).
14511
14512 * facemenu.el: Disable the remove-* commands if the mark isn't
14513 active (bug#9162).
14514
14515 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14516
14517 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14518 of display-buffer.
14519 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14520
14521 * replace.el (occur-mode-goto-occurrence)
14522 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14523 and display-buffer.
14524
14525 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14526 display-buffer.
14527
14528 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14529 special-display and same-window variables.
14530 (mail-other-window): Use switch-to-buffer-other-window.
14531 (mail-other-frame): USe switch-to-buffer-other-frame.
14532
14533 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14534 Use display-buffer-other-frame.
14535 (gdb-display-gdb-buffer): Use pop-to-buffer.
14536
14537 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14538
14539 * progmodes/python.el: Don't set same-window-buffer-names.
14540
14541 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14542
14543 * window.el (display-buffer-alist): Add *Python*.
14544
14545 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14546
14547 * window.el (display-buffer-alist): Add entry for buffers
14548 previously handled same-window-*.
14549 (display-buffer-alist, display-buffer-default-action)
14550 (display-buffer-overriding-action): Mark as risky.
14551 (display-buffer-alist): Document action function changes.
14552 (display-buffer--same-window-action)
14553 (display-buffer--other-frame-action): New variables.
14554 (switch-to-buffer, display-buffer-other-frame): Use them.
14555 (display-buffer): Rename reuse-frame entry to reusable-frames.
14556 (display-buffer-reuse-selected-window): Function deleted.
14557 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14558 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14559 (display-buffer-special): New function.
14560 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14561 display-buffer-reuse-or-pop-window. Split off special-display
14562 part into display-buffer-special.
14563 (display-buffer-use-some-window): Don't perform any special
14564 pop-up-frames handling.
14565 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14566 (display-buffer--maybe-same-window): Rename from
14567 display-buffer-maybe-same-window.
14568
14569 * info.el: Don't set same-window-regexps.
14570 (info-setup): New function.
14571 (info-other-window, info): Call it.
14572
14573 * cus-edit.el: Don't set same-window-regexps.
14574 (customize-group): New argument.
14575 (customize-group-other-window): Use it.
14576 (customize-face, customize-face-other-window): Likewise.
14577 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14578
14579 * net/rlogin.el:
14580 * net/telnet.el:
14581 * progmodes/gud.el: Don't set same-window-regexps.
14582
14583 * cmuscheme.el:
14584 * ielm.el:
14585 * shell.el:
14586 * mail/sendmail.el:
14587 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14588
14589 2011-09-10 Juri Linkov <juri@jurta.org>
14590
14591 * isearch.el (isearch-edit-string): Remove obsolete mention of
14592 `C-w' (`isearch-yank-word-or-char') from docstring.
14593 (isearch-query-replace): Fix typo in docstring (bug#9466).
14594
14595 2011-09-10 Juri Linkov <juri@jurta.org>
14596
14597 * paren.el (show-paren-function): Don't show escaped parens.
14598 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14599
14600 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14601
14602 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14603 (mm-default-file-encoding): Remove autoload forms, they are
14604 replaced with autoload cookies in mml.el and mm-encode.el.
14605 (mail-add-attachment): New command.
14606 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14607 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14608 the doc string.
14609 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14610
14611 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14612
14613 * simple.el (count-words-region): Use buffer if there's no region
14614 (bug#9429).
14615
14616 2011-09-09 Juri Linkov <juri@jurta.org>
14617
14618 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14619 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14620 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14621
14622 2011-09-09 Alan Mackenzie <acm@muc.de>
14623
14624 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14625 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14626
14627 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14628
14629 Fix for Savannah bug#9392.
14630 * simple.el (mail-encode-mml): New defvar.
14631
14632 * mail/rmail.el (mail-encode-mml): Add a defvar.
14633 (rmail-enable-mime-composing): Default to t.
14634 (rmail-forward): Use MIME method of forwarding only if both
14635 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14636 Set mail-encode-mml non-nil if the MIME method was used.
14637
14638 * mail/sendmail.el (mml-to-mime): Add autoload form.
14639 (mail-encode-mml): Add a defvar.
14640 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14641 to nil.
14642 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14643 message through mml-to-mime, and reset mail-encode-mml to nil.
14644
14645 2011-09-09 Glenn Morris <rgm@gnu.org>
14646
14647 * woman.el (woman-if-body): When processing an .el block,
14648 do not delete the next .el block as well. (Bug#9447)
14649 (woman-special-characters): Add oq, cq, and hy characters.
14650
14651 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14652
14653 * window.el (window-deletable-p): Make sure window is live before
14654 invoking window-prev-buffers.
14655
14656 2011-09-08 Leo Liu <sdl.web@gmail.com>
14657
14658 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14659
14660 2011-09-08 Juri Linkov <juri@jurta.org>
14661
14662 * progmodes/compile.el (compilation-environment): Make it
14663 a defcustom (bug#8340).
14664
14665 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14666
14667 * window.el (frame-auto-delete): Rename to window-auto-delete.
14668 Make it control auto-deletion of windows and/or frames.
14669 (window-deletable-p): New argument FORCE. Rewrite conditions
14670 for deleting window/frame. (Bug#9419)
14671 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14672 Rewrite handling of case when window/frame can be deleted.
14673 (delete-windows-on): Call window-deletable-p with new FORCE
14674 argument t. (Bug#9456)
14675
14676 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14677
14678 * help-mode.el (help-mode): Restore autoload.
14679
14680 2011-09-07 Juri Linkov <juri@jurta.org>
14681
14682 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14683 `compilation-environment'. Set buffer-local
14684 `compilation-environment' to `thisenv' later after (funcall mode).
14685 (Bug#8340)
14686
14687 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14688 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14689 instead of replacing its value. (Bug#8340)
14690
14691 2011-09-07 Juri Linkov <juri@jurta.org>
14692
14693 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14694 based on text properties put by `grep-filter' instead of matching
14695 escape sequences.
14696 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14697 to the value of `grep-error-screen-columns' (bug#9438).
14698
14699 2011-09-07 Juri Linkov <juri@jurta.org>
14700
14701 * simple.el (next-error-highlight, next-error-highlight-no-select):
14702 Doc fix (bug#9432).
14703
14704 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14705
14706 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14707 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14708
14709 2011-09-07 Leo Liu <sdl.web@gmail.com>
14710
14711 * net/rcirc.el (rcirc-mode): Conditionally initialize
14712 rcirc-input-ring.
14713
14714 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * emacs-lisp/find-func.el (find-function-C-source): Only set
14717 find-function-C-source-directory after checking that we found a source
14718 file there (bug#9440).
14719
14720 2011-09-06 Alan Mackenzie <acm@muc.de>
14721
14722 * isearch.el (isearch-other-meta-char): Wherever a key list is
14723 unread, "unread" the prefix arg, too. This fixes bug #8901.
14724
14725 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14726
14727 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14728
14729 2011-09-05 Juri Linkov <juri@jurta.org>
14730
14731 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14732
14733 2011-09-05 Juri Linkov <juri@jurta.org>
14734
14735 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14736 keeping point where processing of grep matches begins, and
14737 continue to delete remaining escape sequences from the same point.
14738 (grep-filter): Make leading zero optional in "0?1;31m" because
14739 git-grep emits "\033[1;31m" escape sequences unlike expected
14740 "\033[01;31m" as GNU Grep does (bug#9408).
14741 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14742
14743 2011-09-05 Juri Linkov <juri@jurta.org>
14744
14745 * subr.el (y-or-n-p): Capitalize "yes".
14746
14747 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14748
14749 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14750 `tramp-cache-unload-hook' where appropriate.
14751 (tramp-methods): Rename `tramp-remote-sh' to
14752 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14753 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14754
14755 * net/tramp-sh.el (top): Don't require 'shell.
14756 (tramp-methods): Add `tramp-remote-shell' and
14757 `tramp-remote-shell-args' entries.
14758 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14759 (tramp-sh-handle-shell-command): Remove.
14760 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14761 Use `tramp-remote-shell'.
14762
14763 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14764
14765 * mail/sendmail.el (sendmail-query-once-function): Delete.
14766 (sendmail-query-once): Save directly to send-mail-function.
14767 Update message-send-mail-function too.
14768
14769 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14770
14771 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14772
14773 * progmodes/python.el (python-mode-map): Use correct function to
14774 start python interpreter from menu-bar (as reported by Geert
14775 Kloosterman).
14776 (inferior-python-mode-map): Fix typo.
14777 (python-shell-map): Remove.
14778
14779 2011-09-03 Deniz Dogan <deniz@dogan.se>
14780
14781 * net/rcirc.el (rcirc-print): Simplify code for
14782 rcirc-scroll-show-maximum-output. There is no need to walk
14783 through all windows to find the right one.
14784
14785 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14786
14787 * help.el (help-return-method): Doc fix.
14788
14789 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14790
14791 * window.el (window-deletable-p): Don't return a non-nil value
14792 when there's a buffer that was shown in the window before.
14793 (Bug#9419)
14794 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14795 Set window's previous buffers to nil.
14796
14797 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14798
14799 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14800 newline before and after the tag line, so it doesn't interfere
14801 with determining the paragraph direction of bidirectional text.
14802
14803 2011-09-03 Leo Liu <sdl.web@gmail.com>
14804
14805 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14806
14807 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14808
14809 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14810 (pop-to-buffer): Change interactive spec. Pass second argument
14811 directly to display-buffer.
14812 (display-buffer): Fix interactive spec. Use functionp to
14813 distinguish between a function and a list of functions.
14814
14815 * abbrev.el (edit-abbrevs):
14816 * arc-mode.el (archive-extract):
14817 * autoinsert.el (auto-insert):
14818 * bookmark.el (bookmark-bmenu-list):
14819 * files.el (find-file):
14820 * view.el (view-buffer):
14821 * progmodes/compile.el (compilation-goto-locus):
14822 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14823
14824 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14825
14826 * window.el (display-buffer-alist): Doc fix.
14827 (display-buffer): Add docstring. Don't treat
14828 display-buffer-default specially.
14829 (display-buffer-reuse-selected-window)
14830 (display-buffer-same-window, display-buffer-maybe-same-window)
14831 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14832 (display-buffer-pop-up-window)
14833 (display-buffer-reuse-or-pop-window)
14834 (display-buffer-use-some-window): New functions.
14835 (display-buffer-default-action): Use them.
14836 (display-buffer-default): Delete.
14837 (pop-to-buffer-1): Fix choice of actions.
14838
14839 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14840
14841 * minibuffer.el (completion--insert-strings): Don't get confused by
14842 completion entries that end with an LF char.
14843
14844 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14845
14846 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14847
14848 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14849
14850 * window.el (display-buffer): Restore interactive spec.
14851 (display-buffer-same-window, display-buffer-other-window):
14852 New functions.
14853 (pop-to-buffer-1): New function. Use the above.
14854 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14855 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14856
14857 * view.el (view-buffer-other-window, view-buffer-other-frame):
14858 Just use pop-to-buffer.
14859
14860 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14861
14862 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14863
14864 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14865
14866 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14867
14868 2011-08-31 Richard Stallman <rms@gnu.org>
14869
14870 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14871 of the separation of rmail-view-buffer from rmail-buffer.
14872 If you say no to "replace original", the decrypt is in the
14873 view buffer. If you say yes, the decrypt goes into the
14874 rmail buffer also.
14875
14876 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14877
14878 * window.el (display-buffer-window): Rewrite doc-string.
14879 (display-buffer-record-window): New function.
14880 (display-buffer-macro-specifiers)
14881 (display-buffer-even-window-sizes, display-buffer-set-height)
14882 (display-buffer-set-width, display-buffer-in-window)
14883 (display-buffer-reuse-window, display-buffer-split-specifiers)
14884 (display-buffer-side-specifiers, display-buffer-split-window-1)
14885 (display-buffer-split-window, display-buffer-split-atom-window)
14886 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14887 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14888 (display-buffer-other-window-means-other-frame)
14889 (display-buffer-normalize-special)
14890 (display-buffer-normalize-default)
14891 (display-buffer-normalize-argument)
14892 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14893 (display-buffer-normalize-specifiers, display-buffer-frame)
14894 (display-buffer-same-window, display-buffer-same-frame)
14895 (display-buffer-other-window)
14896 (display-buffer-same-frame-other-window)
14897 (display-buffer-other-frame, pop-to-buffer-same-window)
14898 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14899 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14900 (switch-to-buffer-same-frame)
14901 (switch-to-buffer-other-window-same-frame)
14902 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14903 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14904 (display-buffer-alist-set): Remove.
14905 (display-buffer-function, special-display-buffer-names)
14906 (special-display-regexps, special-display-function):
14907 In doc-string refer to display-buffer-window and quit-restore
14908 parameter.
14909 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14910 (special-display-frame-alist, special-display-popup-frame)
14911 (same-window-buffer-names, same-window-regexps, same-window-p)
14912 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14913 (split-window-preferred-function, split-height-threshold)
14914 (split-width-threshold, window-splittable-p)
14915 (split-window-sensibly, window--try-to-split-window)
14916 (window--frame-usable-p, even-window-heights)
14917 (window--even-window-heights, window--display-buffer-1)
14918 (window--display-buffer-2, display-buffer-other-frame):
14919 Restore old Emacs 23 code, order and doc-strings where applicable.
14920 (display-buffer-default, display-buffer-assq-regexp): New functions.
14921 (display-buffer-alist): Rewrite doc-string.
14922 (display-buffer-default-action)
14923 (display-buffer-overriding-action): New variables.
14924 (display-buffer, switch-to-buffer): Rewrite.
14925 (pop-to-buffer): Restore Emacs 23 behavior but use
14926 window-normalize-buffer-to-display.
14927 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14928 Restore Emacs 23 behavior but use
14929 window-normalize-buffer-to-switch-to.
14930 (pop-to-buffer-same-window): Rewrite.
14931 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14932 Rewrite using Emacs 23 options.
14933
14934 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14935
14936 * net/tramp.el (tramp-root-regexp): Remove.
14937 (tramp-completion-file-name-regexp-unified)
14938 (tramp-completion-file-name-regexp-separate)
14939 (tramp-completion-file-name-regexp-url): Don't use leading volume
14940 letter on w32 systems. (Bug#5303, Bug#9311)
14941 (tramp-drop-volume-letter): Simplify definition.
14942 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14943
14944 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14945
14946 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14947 (bug#9356).
14948
14949 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14950
14951 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14952
14953 2011-08-29 Juri Linkov <juri@jurta.org>
14954
14955 * isearch.el (isearch-done): Don't display message "Mark saved"
14956 when arg `edit' is non-nil to prevent its flicker in the echo area.
14957
14958 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14959
14960 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14961 obsolete packages for deletion.
14962
14963 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14964
14965 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14966 (help-mode): Derive help-mode from special-mode. Don't invoke
14967 view-mode from help-mode.
14968 (help-xref-override-view-map): Remove.
14969 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14970 view-mode is not used anymore.
14971
14972 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14973
14974 * server.el (server-port): Doc fix.
14975
14976 * cus-theme.el (custom-theme-choose-mode): Inherit from
14977 special-mode (Bug#9124).
14978 (custom-theme-choose-mode-map): Add special-mode to parent.
14979
14980 2011-08-28 Alan Mackenzie <acm@muc.de>
14981
14982 * progmodes/cc-fonts.el
14983 (c-make-font-lock-BO-decl-search-function): New function.
14984 (c-basic-matchers-after - "Fontify the clauses after various
14985 keywords"): Extract the three keyword lists for the 3 erroneous
14986 constructs from the list of four, and use the new function above
14987 in place of an old one.
14988
14989 2011-08-28 Deniz Dogan <deniz@dogan.se>
14990
14991 * net/rcirc.el (rcirc-insert-prev-input)
14992 (rcirc-insert-next-input): Remove unused argument.
14993
14994 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14995
14996 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14997
14998 2011-08-27 Alan Mackenzie <acm@muc.de>
14999
15000 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15001 handle function pointer parameters properly.
15002
15003 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15004
15005 * window.el (display-buffer-reuse-window): Fix case where
15006 selected window was reused with non-nil OTHER-WINDOW argument.
15007 (Bug#9381)
15008
15009 2011-08-27 Deniz Dogan <deniz@dogan.se>
15010
15011 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15012 oftc's NickServ messages.
15013
15014 2011-08-27 Glenn Morris <rgm@gnu.org>
15015
15016 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15017
15018 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15019
15020 * emacs-lisp/package.el (package-install): Call package-initialize
15021 if called interactively.
15022
15023 2011-08-26 Leo Liu <sdl.web@gmail.com>
15024
15025 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15026
15027 2011-08-25 Juri Linkov <juri@jurta.org>
15028
15029 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15030 `search-whitespace-regexp' (bug#9364).
15031
15032 2011-08-25 Juri Linkov <juri@jurta.org>
15033
15034 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15035 `regexp-search-ring' to their global values to protect from
15036 updating by `read-from-minibuffer' (bug#9185).
15037
15038 2011-08-25 Juri Linkov <juri@jurta.org>
15039
15040 * textmodes/ispell.el (ispell-command-loop): Add newline
15041 at the end of the "Use option `i'..." line.
15042
15043 2011-08-25 Juri Linkov <juri@jurta.org>
15044
15045 * battery.el (display-battery-mode): If `battery-status-function'
15046 or `battery-mode-line-format' is nil, display the message and set
15047 `display-battery-mode' to nil (bug#9363).
15048
15049 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15050
15051 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15052 bidi-string-mark-left-to-right; they are unnecessary now.
15053
15054 2011-08-25 Deniz Dogan <deniz@dogan.se>
15055
15056 * net/quickurl.el: Documentation typo fixes.
15057
15058 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15059
15060 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15061
15062 2011-08-25 Glenn Morris <rgm@gnu.org>
15063
15064 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15065
15066 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15067 (smtpmail-via-smtp): Handle nil response from smtp.
15068
15069 2011-08-24 Juri Linkov <juri@jurta.org>
15070
15071 * proced.el (proced-marked): Inherit from `error' instead of
15072 `font-lock-warning-face'.
15073
15074 * ibuffer.el (ibuffer-marked-face): Change default face from
15075 `font-lock-warning-face' to `warning'.
15076 (ibuffer-deletion-face): Change default face from
15077 `font-lock-type-face' to `error'.
15078
15079 * battery.el (battery-update): Use the face `error' instead of
15080 `font-lock-warning-face' (bug#6117).
15081
15082 2011-08-24 Juri Linkov <juri@jurta.org>
15083
15084 * faces.el (success): Change face color from "Green3" to
15085 "ForestGreen" on light background (bug#9353).
15086
15087 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15088
15089 * window.el (quit-window): Rename from quit-restore-window.
15090 Use same arglist as old quit-window.
15091 (frame-auto-delete): Doc fix.
15092
15093 * view.el (view-mode-exit): Use quit-window.
15094
15095 2011-08-24 Juri Linkov <juri@jurta.org>
15096
15097 * isearch.el (isearch-ring-adjust1): Start visiting previous
15098 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15099 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15100 for empty search string (when the last search string is reused
15101 automatically) to adjust the isearch ring to the last element and
15102 prepare the correct index for further M-p commands (bug#9185).
15103
15104 2011-08-24 Kenichi Handa <handa@m17n.org>
15105
15106 * international/ucs-normalize.el: If decomposition property of
15107 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15108 nil.
15109 (nfd, nfkd): Likewise.
15110
15111 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15112
15113 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15114 from process filters aren't reliably transmitted to the surrounding
15115 accept-process-output.
15116 (mpc-proc-check): New function.
15117 (mpc-proc-sync): Use it (bug#8293)
15118
15119 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15122 Add compatibility functions (bug#9313).
15123
15124 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15125
15126 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15127
15128 * international/uni-bidi.el: Regenerate.
15129
15130 2011-08-23 Kenichi Handa <handa@m17n.org>
15131
15132 * international/charprop.el:
15133 * international/uni-bidi.el:
15134 * international/uni-category.el:
15135 * international/uni-combining.el:
15136 * international/uni-comment.el:
15137 * international/uni-decimal.el:
15138 * international/uni-decomposition.el:
15139 * international/uni-digit.el:
15140 * international/uni-lowercase.el:
15141 * international/uni-mirrored.el:
15142 * international/uni-name.el:
15143 * international/uni-numeric.el:
15144 * international/uni-old-name.el:
15145 * international/uni-titlecase.el:
15146 * international/uni-uppercase.el: Regenerate.
15147
15148 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15149
15150 * help.el (help-window-setup): Fix message displayed when other
15151 window is reused. (Bug#9341)
15152
15153 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15156 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15157
15158 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15159 Mark obsolete.
15160 * shell.el (shell-parse-pcomplete-arguments): New function.
15161 (shell-completion-vars): Use it instead (bug#9160).
15162
15163 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15164
15165 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15166 strings and comments (bug#9333).
15167
15168 * emacs-lisp/debug.el (debug-arglist): New function.
15169 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15170 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15171
15172 2011-08-22 Juri Linkov <juri@jurta.org>
15173
15174 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15175 Revert regexp that highlights output switches to its old
15176 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15177
15178 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15179 to check for empty output (bug#9226).
15180
15181 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15182
15183 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15184 symbol-constituent as the default, as that stops font-lock from
15185 working properly (Bug#8843).
15186
15187 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15188
15189 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15190 `coding-system-for-*' around the process open call to avoid
15191 auth-source side effects.
15192 (smtpmail-try-auth-methods): Expand the secret password.
15193 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15194 probe hangs.
15195
15196 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15197
15198 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15199
15200 * emacs-lisp/find-func.el (find-function-noselect): New arg
15201 lisp-only.
15202
15203 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15204 signal an error for built-in functions (Bug#6664).
15205
15206 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15207
15208 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15209 (smtpmail-try-auth-methods): Use it.
15210
15211 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15212
15213 * font-lock.el (font-lock-fontify-region)
15214 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15215 (font-lock-default-unfontify-buffer)
15216 (font-lock-default-fontify-region)
15217 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15218
15219 * progmodes/compile.el (compilation-error-properties):
15220 Fix confusion between file struct and message struct (Bug#9319).
15221 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15222 `ant' regexp.
15223
15224 * net/browse-url.el (browse-url-firefox): Don't call
15225 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15226
15227 2011-08-20 Glenn Morris <rgm@gnu.org>
15228
15229 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15230
15231 * tutorial.el (tutorial--default-keys): Update some default bindings.
15232
15233 * files.el (hack-local-variables): Fully ignore case for "mode:".
15234
15235 2011-08-20 Alan Mackenzie <acm@muc.de>
15236
15237 Resolve invalid use of a regexp in regexp-opt.
15238
15239 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15240 detection for a java annotation.
15241
15242 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15243 detection for a java annotation.
15244
15245 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15246 handling for java.
15247 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15248
15249 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15250
15251 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15252 (Bug#9274).
15253
15254 2011-08-20 Alan Mackenzie <acm@muc.de>
15255
15256 Fontify CPP expressions correctly when starting in the middle of
15257 such a construct. Mainly for when jit-lock etc. starts a chunk
15258 here.
15259
15260 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15261 variable.
15262 (c-make-font-lock-search-form): New function, extracted from
15263 c-make-font-lock-search-function.
15264 (c-make-font-lock-search-function): Use the above function.
15265 (c-make-font-lock-context-search-function): New function.
15266 (c-cpp-matchers): Enhance the preprocessor expression case with
15267 the above function
15268 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15269 which takes an expression.
15270
15271 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15272
15273 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15274
15275 * window.el (display-buffer-reuse-window)
15276 (display-buffer-pop-up-window): Don't reuse or split a side
15277 window.
15278
15279 2011-08-19 Glenn Morris <rgm@gnu.org>
15280
15281 * files.el (hack-local-variables-prop-line, hack-local-variables):
15282 Downcase "Mode:". (Bug#9331)
15283
15284 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15285
15286 * international/characters.el: Add L and R categories.
15287
15288 * subr.el (bidi-string-mark-left-to-right): Rename from
15289 string-mark-left-to-right. Use category search.
15290
15291 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15292
15293 2011-08-18 Juri Linkov <juri@jurta.org>
15294
15295 * faces.el (error, warning, success): New faces with definitions
15296 copied from old default values of `font-lock-warning-face',
15297 `compilation-warning', `compilation-info' (bug#6117).
15298
15299 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15300
15301 * progmodes/compile.el (compilation-error): Inherit from `error'.
15302 (compilation-warning): Inherit from `warning'.
15303 (compilation-info): Inherit from `success'.
15304
15305 * dired.el (dired-marked): Inherit from `warning'.
15306 (dired-flagged): Inherit from `error'.
15307
15308 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15309
15310 * mail/smtpmail.el (auth-source): Require to avoid problems with
15311 binding variables (bug#9298). Also clean up some unused
15312 autoloads.
15313
15314 * net/network-stream.el (network-stream-open-starttls):
15315 Support using starttls.el without using gnutls-cli.
15316
15317 2011-08-17 Juri Linkov <juri@jurta.org>
15318
15319 * progmodes/grep.el (rgrep): Handle the case when
15320 `grep-find-command' is a cons cell (bug#9278).
15321
15322 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15323
15324 * window.el (display-buffer-pop-up-frame): Run frame creation
15325 function with BUFFER current (as special-display-popup-frame
15326 does). Reported by Drew Adams.
15327
15328 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15329
15330 * epa-mail.el: Simplify GnuPG group expansion using
15331 epg-expand-group.
15332 (epa-mail-group-alist, epa-mail-group-modtime)
15333 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15334 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15335 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15336 Remove.
15337
15338 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15339
15340 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15341
15342 2011-08-16 Alan Mackenzie <acm@muc.de>
15343
15344 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15345 Correct, to avoid the inside of macros.
15346
15347 2011-08-16 Richard Stallman <rms@gnu.org>
15348
15349 * epa-mail.el: Handle GnuPG group definitions.
15350 (epa-mail-group-alist, epa-mail-group-modtime)
15351 (epa-mail-gnupg-conf-file): New variables.
15352 (epa-mail-parse-groups, epa-mail-sync-groups)
15353 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15354 (epa-mail-expand-recipients): New functions.
15355 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15356
15357 * mail/rmail.el (rmail-epa-decrypt): New command.
15358
15359 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15360 Don't bind buffer-read-only, just inhibit-read-only.
15361 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15362 (epa-decrypt-armor-in-region): Make error message clearer.
15363
15364 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15365
15366 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15367 and "a2b" to "ab" for `prefix'.
15368
15369 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15370
15371 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15372 filter groups.
15373 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15374 Fourquet (Bug#8804).
15375
15376 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15377
15378 * startup.el (argi): Declare as global variable (bug#9275).
15379
15380 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15381
15382 * subr.el (string-mark-left-to-right): Search the entire string
15383 for RTL script, not just the terminating character. Doc fix.
15384
15385 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15388 New function.
15389 (js--regexp-literal, js-syntax-propertize-function): Remove.
15390 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15391 (js-mode-map): Don't rebind electric keys.
15392 (js-insert-and-indent): Remove.
15393 (js-mode): Setup electric-layout and electric-indent instead.
15394
15395 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15396
15397 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15398
15399 * epa.el (epa-progress-callback-function): Fix the logic of
15400 displaying progress.
15401 * epa-file.el (epa-file-insert-file-contents): Make progress
15402 display more user-friendly.
15403 (epa-file-write-region): Ditto.
15404
15405 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15406
15407 * subr.el (string-mark-left-to-right): New function.
15408
15409 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15410 Use string-mark-left-to-right.
15411 (list-buffers-noselect): Caller changed.
15412
15413 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15414 Use string-mark-left-to-right.
15415 (tabulated-list-print): Recenter after moving point.
15416
15417 2011-08-10 Juri Linkov <juri@jurta.org>
15418
15419 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15420 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15421 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15422
15423 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15424
15425 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15426 (Bug#7554).
15427
15428 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15429
15430 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15431 character. (Bug#6594)
15432
15433 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15434
15435 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15436 (image-dired--with-db-file): New macro.
15437 (image-dired-write-tags, image-dired-remove-tag)
15438 (image-dired-create-gallery-lists, image-dired-write-comments)
15439 (image-dired-get-comment, image-dired-mark-tagged-files)
15440 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15441 (image-dired-gallery-generate): Use insert-file-contents.
15442
15443 * time.el (display-time-world-list, display-time-world-display):
15444 * time-stamp.el (time-stamp-string):
15445 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15446 set-time-zone-rule (Bug#7337).
15447
15448 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15449
15450 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15451 (epg-error-to-string, epg-errors-to-string): New function.
15452 (epg-wait-for-completion): Reverse errors list.
15453 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15454 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15455 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15456 (epg-sign-keys, epg-generate-key-from-file)
15457 (epg-generate-key-from-string): Format errors by using
15458 epg-errors-to-string (bug#9255).
15459 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15460
15461 2011-08-07 Juri Linkov <juri@jurta.org>
15462
15463 * faces.el (list-faces-display): Remove extra angle bracket
15464 from `help-mode-map'.
15465
15466 * info.el (Info-history-toc-nodes): Doc fix.
15467
15468 * longlines.el (longlines-mode): Doc fix.
15469
15470 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15473 of statements and in a few more cases (bug#9183).
15474
15475 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15476 New functions.
15477 (cl-transform-lambda): Use them (bug#9239).
15478
15479 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15480
15481 * window.el (display-buffer-same-window)
15482 (display-buffer-same-frame, display-buffer-other-window)
15483 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15484 (pop-to-buffer-other-window)
15485 (pop-to-buffer-same-frame-other-window)
15486 (pop-to-buffer-other-frame): Make them defuns.
15487 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15488
15489 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15490
15491 * subr.el (make-composed-keymap): Move from C. Change calling
15492 convention, and improve docstring to bring attention to a subtle point.
15493 * minibuffer.el (completing-read-default): Adjust accordingly.
15494
15495 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15496
15497 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15498 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15499
15500 * net/trampver.el: Update release number.
15501
15502 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15503
15504 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15505 "in" (bug#9190).
15506
15507 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15508
15509 * mail/sendmail.el (sendmail-query-once): Restore the current
15510 buffer after querying (bug#9074).
15511
15512 * dired.el (dired-flagged): Use different faces for marked and
15513 flagged files (bug#6117).
15514
15515 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15516 (bug#4433).
15517
15518 * ido.el (ido-mode): Switch off the message if called
15519 non-interactively.
15520
15521 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15522 before 587, since it appears that that's more likely to work for
15523 more people.
15524
15525 * cus-edit.el (custom-file): When running under emacs -q, always
15526 refuse to save the customizations, even if the .emacs file doesn't
15527 exist.
15528
15529 * info.el: Remove the `Info-beginning-of-buffer' function
15530 (bug#8325).
15531
15532 * net/network-stream.el (network-stream-open-starttls):
15533 Use `starttls-available-p' to see whether starttls.el can be used.
15534
15535 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15536
15537 * window.el (display-buffer-in-window): Don't set dedicated status
15538 of window here (Bug#9215).
15539 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15540 (display-buffer-pop-up-side-window)
15541 (display-buffer-in-side-window): Set dedicated status of window here.
15542
15543 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15544
15545 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15546 before binding generated-autoload-file.
15547
15548 2011-08-01 Deniz Dogan <deniz@dogan.se>
15549
15550 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15551
15552 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15553
15554 Sync with Tramp 2.2.2.
15555
15556 * net/trampver.el: Update release number.
15557
15558 2011-07-30 Juri Linkov <juri@jurta.org>
15559
15560 * dired-aux.el (dired-touch-initial): Remove function.
15561 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15562 current time, and `default' to the last modification time of the
15563 current marked file (bug#6887).
15564
15565 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15566
15567 * simple.el (goto-line): Use string-to-number to provide a
15568 numeric argument to read-number (bug#9163).
15569
15570 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15571
15572 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15573 connection process, it could be nil.
15574
15575 2011-07-27 Leo Liu <sdl.web@gmail.com>
15576
15577 Simplify url handling in rcirc-mode.
15578
15579 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15580 (rcirc-browse-url-at-mouse): Remove.
15581 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15582
15583 2011-07-26 Alan Mackenzie <acm@muc.de>
15584
15585 Fontify bitfield declarations properly.
15586
15587 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15588 (c-symbol-chars): Now exported as a lang variable.
15589 (c-not-primitive-type-keywords): New lang variable.
15590
15591 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15592 QT keyword "more" to prevent "more slots: ...." being spuriously
15593 parsed as a bitfield declaration.
15594
15595 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15596 Refactor and enhance to handle bitfield declarations.
15597 (c-punctuation-in): New function.
15598 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15599 declarations properly.
15600
15601 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15602
15603 * calendar/icalendar.el (icalendar--all-events): Take care of
15604 multiple vcalendars in a single file.
15605 (icalendar--convert-float-to-ical): Checkdoc fixes.
15606
15607 2011-07-25 Deniz Dogan <deniz@dogan.se>
15608
15609 * image.el (insert-image): Clarifying docstring.
15610
15611 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15612
15613 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15614 `tramp-send-command-and-check' if there is no error.
15615 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15616
15617 2011-07-22 Alan Mackenzie <acm@muc.de>
15618
15619 Prevent cc-langs.elc being loaded at run time.
15620
15621 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15622 cc-langs.
15623
15624 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15625 "(require 'cc-langs)". Quote a form so it will evaluate at
15626 (cc-mode's) compilation time.
15627
15628 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15629
15630 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15631 loading. (Bug#9114)
15632
15633 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15634
15635 * window.el (display-buffer-pop-up-window)
15636 (display-buffer-pop-up-side-window)
15637 (display-buffer-in-side-window): Call display-buffer-set-height
15638 and display-buffer-set-width after setting the new window's
15639 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15640
15641 2011-07-20 Sam Steingold <sds@gnu.org>
15642
15643 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15644 (etags-tags-included-tables): Call `convert-standard-filename' on
15645 the file names contained in TAGS so that windows Emacs can handle
15646 TAGS files created by cygwin ctags.
15647
15648 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15649
15650 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15651 which apparently didn't work.
15652
15653 2011-07-19 Roland Winkler <winkler@gnu.org>
15654
15655 * proced.el (proced-send-signal): For *Marked Processes* buffer
15656 put point at beginning of buffer.
15657
15658 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15659
15660 * proced.el (proced-format): Make header lines align with the text
15661 (bug#1779).
15662
15663 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15664
15665 * view.el (view-buffer): Allow running in `special' modes if we're
15666 visiting a file (bug#8615).
15667
15668 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15669
15670 * window.el (display-buffer-alist-of-strings-p)
15671 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15672 New functions.
15673 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15674 more accurately.
15675
15676 2011-07-18 Alan Mackenzie <acm@muc.de>
15677
15678 Fontify declarators properly when, e.g., a jit-lock chunk begins
15679 inside a declaration.
15680
15681 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15682
15683 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15684 New function.
15685 (c-complex-decl-matchers): Insert reference to
15686 c-font-lock-enclosing-decls.
15687
15688 * progmodes/cc-engine.el (c-backward-single-comment):
15689 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15690 to nil around calls to (forward-comment -1).
15691
15692 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15693
15694 * image.el (put-image): Doc typo fix.
15695
15696 * progmodes/etags.el (tags-search): Doc typo fix.
15697
15698 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15699 password if we get errors 550 to 554.
15700
15701 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15702
15703 * net/gnutls.el (gnutls-log-level): Remove.
15704
15705 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15706 indentation character (bug#6380).
15707
15708 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15709
15710 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15711 to clarify what the problem is (bug#4291).
15712
15713 * simple.el (current-kill): Clarify what
15714 `interprogram-paste-function' does (bug#7500).
15715 (auto-fill-mode): Document `auto-fill-function' in relation to
15716 `auto-fill-mode' (bug#2470).
15717
15718 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15719
15720 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15721 method if slot is read-only (bug#9035).
15722
15723 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15724
15725 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15726 * window.el (pop-to-buffer): Select window used even if it was
15727 selected before, see discussion of (Bug#8615), (Bug#6954).
15728 Pass argument NORECORD on to select-frame-set-input-focus.
15729
15730 2011-07-15 Glenn Morris <rgm@gnu.org>
15731
15732 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15733 Respect help-form.
15734
15735 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15736
15737 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15738 (gnutls-negotiate): Use it.
15739
15740 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15741
15742 * net/gnutls.el (gnutls-negotiate):
15743 Upcase `gnutls-algorithm-priority'.
15744
15745 2011-07-15 Glenn Morris <rgm@gnu.org>
15746
15747 * jka-compr.el (jka-compr-verbose): Move from here...
15748 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15749 Add missing :version tag.
15750 * info.el: No need to require jka-compr when compiling.
15751
15752 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15753
15754 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15755 (gnutls-negotiate): Use it.
15756
15757 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15758
15759 * info.el (Info-beginning-of-buffer): New command.
15760 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15761 announcing `b' as the key (bug#8325).
15762 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15763
15764 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15765
15766 * international/mule-cmds.el
15767 (describe-specified-language-support): Make the error message
15768 clearer (bug#8905).
15769
15770 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15771
15772 * isearch.el (isearch-barrier): Add a doc string, since it's
15773 mentioned in a function doc string (bug#8678).
15774
15775 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15776
15777 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15778 buffer argument (Bug#9083) and self-identifying label argument.
15779
15780 2011-07-15 Glenn Morris <rgm@gnu.org>
15781
15782 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15783
15784 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15785
15786 * man.el (Man-fontify-manpage): Fix message when formatting the
15787 man page (bug#7929).
15788
15789 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15790
15791 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15792 argument LRM; if non-nil, append an invisible LRM character to the
15793 buffer name.
15794 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15795 last argument non-nil, when formatting buffer names.
15796 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15797 paragraph direction.
15798
15799 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15800
15801 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15802 the man page name (bug#7929).
15803
15804 * image.el (put-image): Mention the `put-image' overlay property
15805 (bug#7834).
15806
15807 * scroll-bar.el (set-scroll-bar-mode): Mention that
15808 `scroll-bar-mode' lists the values (bug#7772).
15809
15810 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15811 command (bug#7729).
15812
15813 * rect.el (apply-on-rectangle): Return the point after the last
15814 operation.
15815 (string-rectangle): Go to the point after the last operation
15816 (bug#7522).
15817
15818 * printing.el (pr-toggle-region): Clarify the documentation
15819 slightly (bug#7493).
15820
15821 * time.el (display-time-update):
15822 Allow `display-time-mail-function' to return nil (bug#7158).
15823 Fix suggested by Detlev Zundel.
15824
15825 * vc/diff.el (diff): Clarify the order the file names are read
15826 (bug#7111).
15827
15828 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15829 the doc string (bug#7015).
15830
15831 * font-lock.el (font-lock-maximum-decoration): Mention what
15832 numeric levels mean (bug#6935).
15833
15834 * startup.el (initial-buffer-choice): Don't mention the `none'
15835 selection, which is against policy.
15836
15837 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15838
15839 * window.el (display-buffer-normalize-special):
15840 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15841
15842 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15843
15844 * subr.el (version<, version<=, version=): Mention "-CVS" and
15845 "-12345" alpha version numbers.
15846
15847 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15848
15849 * bindings.el: Add advertised binding for set-mark-command
15850 (Bug#5772).
15851
15852 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15853
15854 * bindings.el (mode-line-other-buffer):
15855 * bookmark.el (bookmark-bmenu-2-window):
15856 * bs.el (bs-cycle-next, bs-cycle-previous):
15857 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15858 switch-to-buffer.
15859
15860 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15861 Delete.
15862
15863 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15864
15865 * follow.el (follow-debug-message, follow-redisplay):
15866 * jka-cmpr-hook.el (with-auto-compression-mode):
15867 Fix typos in docstrings.
15868
15869 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15870
15871 * subr.el (with-silent-modifications): Clarify somewhat what the
15872 macro inhibits (bug#6525).
15873
15874 * simple.el (eval-expression): Note what it does if called
15875 interactively (bug#6495).
15876
15877 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15878
15879 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15880 Use pop-to-buffer buffer-or-name if it is nil.
15881
15882 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15883 Remove switch-to-buffer.
15884
15885 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15886
15887 * files.el (make-directory): Clarify that an error will be raised
15888 if there's an error (bug#6397).
15889
15890 * startup.el (initial-buffer-choice): Add `none' as a choice
15891 (bug#6234).
15892
15893 * subr.el (add-hook): Clarify section about buffer-local hooks
15894 (bug#6218).
15895
15896 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15897
15898 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15899
15900 * tabify.el (untabify): Preserve the current column so that point
15901 doesn't move (bug#6032).
15902
15903 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15904
15905 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15906 Rewrite to avoid awkward possessive "s" (bug#5986).
15907
15908 2011-07-13 Glenn Morris <rgm@gnu.org>
15909
15910 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15911 (dired-insert-directory): Give a message the first time
15912 if ls is found not to support --dired.
15913
15914 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15915
15916 * simple.el (toggle-truncate-lines): Clarify what is toggled
15917 (bug#5580). Text by Drew Adams.
15918
15919 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15920
15921 * simple.el (blink-matching-open): Make the error message from the
15922 last change less verbose.
15923
15924 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15925
15926 * font-lock.el (font-lock-comment-face): Use the high contrast
15927 "yellow" color for font-lock-comment-face on low color terminals
15928 using a dark background color (bug#4221).
15929
15930 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15931
15932 * dired.el (dired-insert-set-properties): Make the doc string
15933 reflect what it does now (bug#5325).
15934
15935 * simple.el (blink-matching-open): Say that we were unable to find
15936 the match within the limit, if we're limited (bug#5122).
15937
15938 * international/mule-cmds.el (prefer-coding-system): Add an
15939 example (bug#4869).
15940
15941 * progmodes/etags.el (tags-search): Document `file-list-form'
15942 (bug#4731).
15943
15944 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15945
15946 * net/browse-url.el (browse-url-default-browser)
15947 (browse-url-browser-function): Make the default browser choice a
15948 bit more logical (bug#4300). Also clean up the doc string.
15949
15950 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15951
15952 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15953 binary endings (bug#4440).
15954
15955 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15956
15957 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15958 which can be pretty annoying (bug#8971).
15959
15960 * jka-compr.el (jka-compr-verbose): New variable, and use
15961 throughout (bug#8971).
15962
15963 * info.el (Info-find-file): Fall back on the installation
15964 directory if we can't find the info node anywhere else.
15965
15966 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15967
15968 * vc/vc.el (vc-revert-file):
15969 Don't set file time-stamp in the past. (Bug#5181)
15970
15971 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15972
15973 * files.el (after-find-file): Give a better error message when
15974 trying to find a symlink that points to a file that doesn't exist
15975 (bug#4398).
15976
15977 * progmodes/cc-vars.el: Remove (probably) misleading comment
15978 (bug#4396).
15979
15980 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15981
15982 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15983
15984 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15985
15986 * mouse-sel.el: Hack restoring functionality, while keeping
15987 compatibility with 2010-07-03 changes to mouse selection.
15988 (mouse-sel-primary-overlay): New var.
15989 (mouse-sel-selection-alist): Use it.
15990 (mouse-sel-mode): Doc fix; remove points that are default features
15991 of mouse.el.
15992
15993 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15994
15995 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15996 Fix previous fix (bug#2490).
15997
15998 2011-07-12 Roland Winkler <winkler@gnu.org>
15999
16000 * textmodes/bibtex.el (bibtex-initialize):
16001 Use pop-to-buffer-same-window.
16002 (bibtex-search-entries): Fix interactive call.
16003
16004 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16005
16006 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16007 Fontise bytecomp Error lines more correctly (bug#2490).
16008 Fix suggested by Johan Bockgård.
16009
16010 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16011
16012 * dired-x.el (dired-guess-default): Use `delete-dups'.
16013
16014 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16015
16016 * dired.el (dired-mark-prompt):
16017 * dired-aux.el (dired-read-shell-command): Doc fix.
16018
16019 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16020
16021 * mail/sendmail.el (sendmail-query-once):
16022 Use `customize-save-variable' unconditionally, now that it works under
16023 emacs -Q.
16024
16025 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16026
16027 * cus-edit.el (custom-file): Take an optional no-error variable.
16028 (customize-save-variable): Set the variable, and give a warning if
16029 running under "emacs -q".
16030
16031 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16032
16033 * loadhist.el (unload-feature-special-hooks):
16034 Add `auto-coding-functions', `fill-nobreak-predicate' and
16035 `find-directory-functions' (bug#5327).
16036
16037 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16038
16039 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16040
16041 * cus-edit.el (custom-guess-name-alist): -alist variables should
16042 use the `alist' type (bug#3120). Suggested by Drew Adams.
16043
16044 * printing.el: Add documentation to all the `pr-toggle-' commands.
16045
16046 2011-07-11 Leo Liu <sdl.web@gmail.com>
16047
16048 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16049 backends where it makes sense (bug#2623).
16050
16051 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16052
16053 * dired-x.el (dired-guess-default): Remove duplicate shell command
16054 entries (bug#2028).
16055 (dired-guess-default): Fix grammar in doc string (bug#2028).
16056 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16057
16058 * subr.el (remove-duplicates): New conveniency function.
16059
16060 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16061
16062 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16063 (bug#1526).
16064
16065 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16066
16067 * window.el (display-buffer-normalize-default): Don't invert
16068 meaning of even-window-heights. Reported by Eli Zaretskii
16069 <eliz@gnu.org>.
16070
16071 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16072
16073 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16074
16075 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16076
16077 * window.el (display-buffer): Fix arguments to
16078 display-buffer-reuse-window in last change.
16079
16080 * faces.el (link): Use a less saturated blue on light backgrounds.
16081
16082 * startup.el (fancy-startup-text, fancy-about-text)
16083 (fancy-startup-tail): Use font-lock faces, for background safety.
16084
16085 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16086
16087 * emulation/viper-cmd.el (viper-change-state-to-vi):
16088 Limit triggering of abbrev expansion (Bug#9038).
16089
16090 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16091
16092 * window.el (display-buffer-default-specifiers): Remove.
16093 (display-buffer-macro-specifiers): Remove default specifiers.
16094 (display-buffer-alist): Default to nil.
16095 (display-buffer-reuse-window): New optional argument other-window.
16096 (display-buffer-pop-up-window): Allow splitting internal
16097 windows. Check whether a live window was created.
16098 (display-buffer-other-window-means-other-frame)
16099 (display-buffer-normalize-arguments): Rename to
16100 display-buffer-normalize-argument and rewrite. Set the
16101 other-window specifier.
16102 (display-buffer-normalize-special): New function.
16103 (display-buffer-normalize-options): Rename to
16104 display-buffer-normalize-default and rewrite.
16105 (display-buffer-normalize-options-inhibit): Remove.
16106 (display-buffer-normalize-specifiers): Rewrite.
16107 (display-buffer): Process other-window specifier and call
16108 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16109 more faithfully.
16110 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16111 (display-buffer-alist-set): Don't handle 'unset default values.
16112 (display-buffer-in-window, display-buffer-alist-set):
16113 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16114 <tassilo@member.fsf.org>.
16115
16116 2011-07-09 Leo Liu <sdl.web@gmail.com>
16117
16118 * register.el (insert-register): Restore accidental change on
16119 2011-06-26. (Bug#9028)
16120
16121 2011-07-09 Glenn Morris <rgm@gnu.org>
16122
16123 * subr.el (remq): Handle the empty list. (Bug#9024)
16124
16125 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16126
16127 * mail/sendmail.el (send-mail-function): No longer delay custom
16128 initialization.
16129 * custom.el (custom-initialize-delay): Doc fix.
16130
16131 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16132
16133 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16134
16135 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16136
16137 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16138 human-friendly prompt.
16139
16140 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16141
16142 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16143 provided by a particular plugin.
16144
16145 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16146
16147 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16148 save customizations (with "emacs -Q"), just set the variable
16149 instead of erroring out.
16150
16151 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16152
16153 2011-07-08 Juri Linkov <juri@jurta.org>
16154
16155 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16156 (archive-zip-update-case): Use 7z if found by `executable-find'.
16157 The order of searching the available programs is the same as in
16158 `archive-zip-extract' (bug#8968).
16159
16160 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16161
16162 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16163 (menu-bar-options-menu): Tweak descriptions.
16164
16165 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16166
16167 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16168 menu items into verb phrases (bug#1421). Also refill to fit under
16169 80 columns.
16170
16171 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16172
16173 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16174 (Info-read-node-name): Doc fix (Bug#1084).
16175
16176 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16177 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16178 (end-of-sexp, beginning-of-sexp)
16179 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16180 (forward-symbol, forward-same-syntax, word-at-point)
16181 (sentence-at-point): Doc fix (Bug#1144).
16182
16183 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16184
16185 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16186 should cover it (bug#1281).
16187
16188 * cus-edit.el (custom-show): Mark as obsolete.
16189
16190 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16191 negotiation fails, then possibly try again with a non-encrypted
16192 connection (bug#9017).
16193
16194 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16195 be used.
16196
16197 2011-07-07 Richard Stallman <rms@gnu.org>
16198
16199 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16200 property, and handle its changed format.
16201 Look for the correct line number.
16202 Use file's line contents (but not past first =) to find
16203 correct line in message.
16204
16205 2011-07-07 Kenichi Handa <handa@m17n.org>
16206
16207 * international/characters.el (build-unicode-category-table):
16208 Delete it.
16209 (unicode-category-table): Set it by unicode-property-table-internal.
16210
16211 * international/mule-cmds.el (char-code-property-alist): Move to
16212 to src/chartab.c.
16213 (get-char-code-property): Call unicode-property-table-internal to
16214 load a file. Call get-unicode-property-internal where necessary.
16215 (put-char-code-property): Call unicode-property-table-internal to
16216 load a file. Call put-unicode-property-internal where necessary.
16217 put-unicode-property-internal where necessary.
16218 (char-code-property-description):
16219 Call unicode-property-table-internal to load a file.
16220
16221 * international/charprop.el:
16222 * international/uni-bidi.el:
16223 * international/uni-category.el:
16224 * international/uni-combining.el:
16225 * international/uni-comment.el:
16226 * international/uni-decimal.el:
16227 * international/uni-decomposition.el:
16228 * international/uni-digit.el:
16229 * international/uni-lowercase.el:
16230 * international/uni-mirrored.el:
16231 * international/uni-name.el:
16232 * international/uni-numeric.el:
16233 * international/uni-old-name.el:
16234 * international/uni-titlecase.el:
16235 * international/uni-uppercase.el: Regenerate.
16236
16237 * loadup.el: Load international/charprop.el before
16238 international/characters.
16239
16240 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16241
16242 * window.el (next-buffer, previous-buffer): Signal an error if
16243 called from a minibuffer window.
16244
16245 * bindings.el: Revert 2011-07-04 change.
16246
16247 2011-07-06 Richard Stallman <rms@gnu.org>
16248
16249 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16250 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16251 Treat markers like ints.
16252 (rmail-mime-entity): Doc fix.
16253
16254 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16255
16256 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16257 defcustom again for backwards compatibility.
16258
16259 * simple.el (shell-command-on-region): Fill.
16260
16261 * dired-aux.el (dired-kill-line): Add a doc string.
16262
16263 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16264 to "\\sw\\|\\s_" (bug#358).
16265
16266 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16267 (dired-unmark-backward): Ditto.
16268 (dired-flag-backup-files): Ditto.
16269
16270 * dired-x.el (dired-mark-sexp): Ditto.
16271
16272 2011-07-06 Richard Stallman <rms@gnu.org>
16273
16274 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16275 (rmail-mime-entity): New arg TRUNCATED.
16276 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16277 New functions.
16278 (rmail-mime-save): Warn if entity is truncated.
16279 (rmail-mime-toggle-hidden): Likewise, for showing.
16280 (rmail-mime-process-multipart): Record when an entity is truncated.
16281
16282 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16283 if ENTITY is a string.
16284
16285 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16286
16287 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16288 of faces when `M-C-x'-ing their definitions (bug#8378).
16289 Also clean up the code slightly.
16290
16291 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16292 because that makes the colors go away.
16293
16294 * mail/sendmail.el (send-mail-function): Change the default to
16295 `sendmail-query-once'.
16296 (sendmail-query-once): Add an autoload cookie.
16297
16298 * net/network-stream.el (network-stream-open-starttls): Try using
16299 a plain connection even if the server offered STARTTLS, and we
16300 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16301 capability. This should make smtpmail.el work in slightly more
16302 configurations.
16303
16304 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16305
16306 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16307 New defun.
16308 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16309
16310 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16311
16312 * progmodes/sql.el: Version 3.0
16313 (sql-product-alist): Add product :completion-object,
16314 :completion-column, and :statement attributes.
16315 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16316 (sql-mode-syntax-table): Mark all punctuation.
16317 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16318 ansi keywords.
16319 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16320 (sql-mode-oracle-font-lock-keywords): Improve.
16321 (sql-oracle-show-reserved-words): New function for development.
16322 (sql-product-font-lock): Simplify for source code buffers.
16323 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16324 New functions.
16325 (sql-highlight-product): Set product specific syntax table.
16326 (sql-mode-map): Add statement movement functions.
16327 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16328 New variable.
16329 (sql-statement-regexp, sql-beginning-of-statement)
16330 (sql-end-of-statement, sql-signum): New functions.
16331 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16332 (sql-show-sqli-buffer): Bug fix.
16333 (sql-interactive-mode): Store connection data as buffer local.
16334 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16335 with sql-interactive-mode.
16336 (sql-save-connection): Save buffer local settings.
16337 (sql-connection-menu-filter): Change menu entry name.
16338 (sql-product-interactive): Bug fix.
16339 (sql-preoutput-hold): New variable.
16340 (sql-interactive-remove-continuation-prompt): Bug fixes.
16341 (sql-debug-redirect): New variable.
16342 (sql-str-literal): New function.
16343 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16344 Redesign.
16345 (sql-oracle-save-settings, sql-oracle-restore-settings)
16346 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16347 (sql-completion-object, sql-completion-column)
16348 (sql-completion-sqlbuf): New variables.
16349 (sql-build-completions-1, sql-build-completions)
16350 (sql-try-completion): New functions.
16351 (sql-read-table-name): Use them.
16352 (sql-contains-names): New buffer local variable.
16353 (sql-list-all, sql-list-table): Use it.
16354 (sql-oracle-completion-types): New variable.
16355 (sql-oracle-completion-object, sql-sqlite-completion-object)
16356 (sql-postgres-completion-object): New functions.
16357
16358 2011-07-06 Glenn Morris <rgm@gnu.org>
16359
16360 * window.el (pop-to-buffer): Doc fix.
16361
16362 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16363
16364 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16365
16366 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16367
16368 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16369
16370 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16371
16372 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16373
16374 * button.el (button): Inherit from link face. Suggested by Dan
16375 Nicolaescu.
16376
16377 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16378
16379 * progmodes/gdb-mi.el: Fit in 80 columns.
16380 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16381 switch-to-buffer.
16382
16383 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16384 if imenu is simply not configured (bug#8941).
16385
16386 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16387
16388 * allout.el (allout-post-undo-hook): New allout outline-change
16389 event hook to signal undo activity.
16390 (allout-post-command-business): Run allout-post-undo-hook if an
16391 undo just occurred.
16392 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16393 * allout-widgets.el (allout-widgets-after-undo-function):
16394 Ensure the integrity of the current item's decoration after it has been
16395 in the vicinity of an undo.
16396 (allout-widgets-mode): Include allout-widgets-after-undo-function
16397 on the new allout-post-undo-hook.
16398
16399 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16400
16401 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16402 Let define-derived-mode define it.
16403 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16404 cycles of abbrev-table inheritance (bug#8998).
16405
16406 2011-07-05 Roland Winkler <winkler@gnu.org>
16407
16408 * textmodes/bibtex.el: Add support for biblatex.
16409 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16410 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16411 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16412 (bibtex-entry-alist, bibtex-field-alist): New variables.
16413 (bibtex-entry-field-alist): Obsolete alias for
16414 bibtex-BibTeX-entry-alist.
16415 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16416 (bibtex-set-dialect): New command.
16417 (bibtex-entry-type, bibtex-entry-head)
16418 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16419 Bind via bibtex-set-dialect.
16420 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16421 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16422 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16423 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16424 Define via bibtex-set-dialect.
16425 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16426 Obey bibtex-no-opt-remove-re.
16427 (bibtex-vec-push, bibtex-vec-incr): New functions.
16428 (bibtex-format-entry, bibtex-field-list)
16429 (bibtex-print-help-message, bibtex-validate)
16430 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16431
16432 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * progmodes/compile.el (compilation-goto-locus):
16435 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16436 * bs.el (bs-cycle-next, bs-cycle-previous):
16437 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16438 * bindings.el (mode-line-other-buffer):
16439 * autoinsert.el (auto-insert):
16440 * arc-mode.el (archive-extract):
16441 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16442
16443 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16444
16445 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16446 Fix check of `emacs-lock-unlockable-modes'.
16447 Coerce true values of `emacs-lock--try-unlocking' to t.
16448
16449 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16450
16451 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16452 * emacs-lock.el: New file.
16453
16454 2011-07-05 Julien Danjou <julien@danjou.info>
16455
16456 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16457 than `boundp' to check if face is set.
16458
16459 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16460
16461 * register.el (registerv-make):
16462 * window.el (window-min-height): Fix typos in docstrings.
16463
16464 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16465
16466 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16467 Update doc string.
16468
16469 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16470
16471 * server.el (server-execute): Catch quit and call
16472 `server-return-error' to pass the error back to emacsclient and
16473 close the connection (bug#8942).
16474
16475 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16476
16477 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16478 insecure exception for current topic. Also note that auto-saves
16479 are handled differently.
16480
16481 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16482 State variables for tracking auto-save inhibition situation.
16483
16484 (allout-write-contents-hook-handler): Rename from
16485 'allout-write-file-hook-handler', and describe how it depends on
16486 write-contents-functions sensitivity to non-nil value to prevent
16487 file write.
16488
16489 (allout-auto-save-hook-handler): Remove. auto-save does not check
16490 this in individual buffers, only in the starting buffer, so this
16491 is not the right way for us to inhibit auto-save in a buffer
16492 according to its condition.
16493
16494 (allout-mode): Use new allout-write-contents-hook-handler, and
16495 only with write-contents-functions. Remove auto-save provisions -
16496 they're implemented elsewhere.
16497
16498 (allout-before-change-handler): If undo is in progress, note that
16499 for attention of allout-post-command-business.
16500
16501 (allout-post-command-business): If the command we're following was
16502 an undo, check for change in the status of encrypted items and
16503 adjust auto-save inhibitions accordingly.
16504
16505 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16506 according to whether there are or aren't any plain-text topics
16507 pending encryption.
16508
16509 (allout-inhibit-auto-save-info-for-decryption):
16510 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16511 if there are plain-text topics pending encryption.
16512
16513 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16514 buffer-saved-size and some allout state to not inhibit auto-saves
16515 if there are no longer any plain-text topics pending encryption.
16516
16517 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16518 No longer provide for exemption of the current topic.
16519
16520 2011-07-04 Juri Linkov <juri@jurta.org>
16521
16522 Add 7z operations to delete and save changed members (bug#8968).
16523 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16524 New defcustoms.
16525 (archive-7z-write-file-member): New function.
16526 (archive-7z-summarize): Fix the number of dashes in the
16527 listing output.
16528
16529 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16530
16531 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16532 (bug#8958).
16533
16534 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16535
16536 * bindings.el: Ignore next-buffer and previous-buffer in
16537 minibuffer-local-map.
16538
16539 * font-lock.el (font-lock-builtin-face): Change light background
16540 color to dark slate blue (Bug#6693).
16541
16542 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16543
16544 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16545
16546 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16547
16548 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16549 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16550 Add switch-to-buffer.
16551
16552 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16553
16554 * isearch.el (isearch-search-fun-function): Clarify further the
16555 meaning of the function returned.
16556
16557 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16558
16559 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16560
16561 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16562 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16563 Use it.
16564 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16565 `tramp-default-remote-path' does not exist.
16566 (tramp-send-command-and-read): New optional argument NOERROR.
16567 (tramp-open-connection-setup-interactive-shell)
16568 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16569 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16570 (tramp-process-sentinel): Flush also process' connection property.
16571 (tramp-sh-handle-start-file-process): Do not set process
16572 sentinel. It is done now ...
16573 (tramp-maybe-open-connection): ... here. (Bug#8929)
16574
16575 2011-07-04 MON KEY <monkey@sandpframing.com>
16576
16577 * play/animate.el (animate-string): Doc fixes and allow changing
16578 the buffer name (bug#5417).
16579
16580 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16581
16582 * play/animate.el (animation-buffer-name): Rename from *animate*.
16583
16584 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16585
16586 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16587 This is simpler and helps future-proof the code.
16588 (timer-until): Use time-subtract and float-time.
16589 (timer--time-less-p): Use time-less-p.
16590
16591 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16592
16593 * type-break.el (timep): Use the value of `float-time' to avoid a
16594 byte-compiler warning.
16595
16596 * server.el (server-eval-and-print): Return any result, even nil.
16597
16598 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16599
16600 * type-break.el: Accept time formats that the builtins accept.
16601 (timep, type-break-time-difference): Accept any format that
16602 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16603 This is simpler and helps future-proof the code.
16604 (type-break-time-difference): Round rather than ignoring
16605 subseconds components.
16606
16607 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16608
16609 * info.el (Info-apropos-matches): Make non-interactive, since it
16610 doesn't seem to do anything useful as a command (bug#8829).
16611
16612 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16613
16614 * frame.el (frame-background-mode, frame-set-background-mode):
16615 Move from faces.el.
16616 (frame-default-terminal-background): New function.
16617
16618 * custom.el (custom-push-theme): Don't record faces in `changed'
16619 theme; this doesn't work correctly for per-frame face settings.
16620 (disable-theme): Use face-set-after-frame-default to reset faces.
16621 (custom--frame-color-default): New function.
16622
16623 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16624
16625 * dired.el (dired-flagging-regexp): Remove unused variable
16626 (bug#8769).
16627
16628 2011-03-29 Kevin Ryde <user42@zip.com.au>
16629
16630 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16631 `perl-Test2' extend to match possible "fail #N" rep count
16632 (bug#8377).
16633
16634 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16635
16636 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16637 `smtpmail-via-smtp' now returns the error instead of nil.
16638
16639 * isearch.el (isearch-search-fun-function): Clarify the doc string
16640 (bug#8101).
16641
16642 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16643
16644 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16645 unnecessary spaces (bug#8987).
16646
16647 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16648
16649 * net/network-stream.el (open-network-stream): Use the
16650 :end-of-capability command thoughout.
16651
16652 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16653
16654 * net/network-stream.el (open-network-stream): Add the
16655 :end-of-capability command parameter, used by pop3.el.
16656
16657 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16658
16659 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16660
16661 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16662 for list)" (bug#6475).
16663
16664 * files.el (file-expand-wildcards): Ignore non-readable
16665 sub-directories while trying to find matches instead of signaling
16666 an error (bug#6297).
16667
16668 * man.el (Man-reference-regexp): Allow matching possible
16669 word-wrapped references (bug#6289).
16670
16671 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16672 for consistency with the other vc buffers (bug#6197).
16673 (vc-checkin): Ditto.
16674
16675 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16676
16677 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16678
16679 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16680
16681 * custom.el (defcustom): Clarify that :set is only used in the
16682 Customize user interface (bug#6089).
16683
16684 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16685 associated with a file, refuse to run instead of erroring out
16686 (bug#6084).
16687
16688 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16689 the doc string, since it appears that using `fill-column' always
16690 controls the width (bug#7845).
16691
16692 * simple.el (shell-command-on-region): Say where the error output
16693 went if `shell-command-default-error-buffer' is set (bug#6857).
16694
16695 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16696
16697 * allout.el (allout-yank-processing): Adjust cursor position for
16698 backwards-deleted space.
16699
16700 (allout-rebullet-heading): Register changes with
16701 allout-exposure-changed-hook, so the modified topic is properly
16702 decorated.
16703
16704 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16705
16706 * minibuffer.el (completion-in-region): Document PREDICATE
16707 (bug#7136).
16708
16709 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16710 of keyword/argument pairs (bug#6904).
16711
16712 * replace.el (multi-occur):
16713 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16714
16715 2011-07-02 Drew Adams <drew.adams@oracle.com>
16716
16717 * dired.el (dired-mark-if): Make the message about whether it's
16718 marking or unmarking clearer (bug#8523).
16719
16720 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16721
16722 * disp-table.el (display-table-print-array): New function.
16723 (describe-display-table): Use it to print the vectors more pretty
16724 (Bug#8859).
16725
16726 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16727
16728 * window.el (window-state-get-1): Don't assign clone numbers.
16729 Add clone-of item to list of window parameters.
16730 (window-state-put-2): Don't process clone numbers.
16731 (display-buffer-alist): Fix doc-string.
16732
16733 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * subr.el (remq): Don't allocate if it's not needed.
16736 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16737 (keymap--merge-bindings): New functions.
16738 (keymap-canonicalize): Use them to refine the canonicalization.
16739 * minibuffer.el (minibuffer-local-completion-map)
16740 (minibuffer-local-must-match-map): Move initialization from C.
16741 (minibuffer-local-filename-completion-map): Move initialization from C;
16742 don't inherit from anything here.
16743 (minibuffer-local-filename-must-match-map): Make obsolete.
16744 (completing-read-default): Use make-composed-keymap to combine
16745 minibuffer-local-filename-completion-map with either
16746 minibuffer-local-must-match-map or
16747 minibuffer-local-filename-completion-map.
16748
16749 2011-07-01 Glenn Morris <rgm@gnu.org>
16750
16751 * type-break.el (type-break-time-sum): Use dolist.
16752
16753 * textmodes/flyspell.el (flyspell-word-search-backward):
16754 Replace CL function.
16755
16756 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 * mouse.el (mouse--strip-first-event): New function.
16759 (function-key-map): Use it to map fringe clicks to normal clicks
16760 by default.
16761
16762 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16763 (vc-bzr-revision-completion-table): Add support for annotate and date.
16764
16765 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16766 inherit from parent.
16767
16768 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16769
16770 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16771 (dired-show-file-type): Doc fixup (bug#8818).
16772
16773 * dired.el (dired-mode): Fix up the doc string as suggested by
16774 Drew Adams (bug#8817).
16775
16776 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16777 cookie, since the manual says that it should be possible to add
16778 this function to `find-file-hook' (bug#8709).
16779
16780 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16781
16782 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16783 here. Noted Ted Zlatanov as the maintainer.
16784 (cfengine-common-settings, cfengine-common-syntax): New functions
16785 to set up common things between `cfengine-mode' and
16786 `cfengine3-mode'.
16787 (cfengine3-mode): New mode.
16788 (cfengine3-defuns cfengine3-defuns-regex
16789 (cfengine3-class-selector-regex cfengine3-category-regex)
16790 (cfengine3-vartypes cfengine3-font-lock-keywords)
16791 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16792 (cfengine3-indent-line): Add from cfengine3.el.
16793
16794 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16795
16796 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16797
16798 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16799
16800 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16801
16802 * window.el (same-window-buffer-names, same-window-regexps)
16803 (same-window-p, special-display-frame-alist)
16804 (special-display-popup-frame, special-display-function)
16805 (special-display-buffer-names, special-display-regexps)
16806 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16807 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16808 (split-window-preferred-function, split-height-threshold)
16809 (split-width-threshold, even-window-heights)
16810 (display-buffer-mark-dedicated, window-splittable-p)
16811 (split-window-sensibly, window-safely-shrinkable-p):
16812 Un-obsolete.
16813 (display-buffer): Don't spread args with function specifier
16814 because special-display-popup-frame won't like it.
16815
16816 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16817
16818 Time-stamp simplifications and fixes.
16819 These improve accuracy slightly, and future-proof the code
16820 against some potential changes to current-time format.
16821
16822 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16823 by using time-since and float-time.
16824
16825 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16826 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16827 + NNN microseconds".
16828
16829 * type-break.el (type-break-time-sum): Rewrite using time-add.
16830
16831 * play/hanoi.el (hanoi-current-time-float): Remove.
16832 All uses replaced by float-time.
16833
16834 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16835 This yields a more-accurate answer.
16836 (rng-time-to-float): Remove; no longer needed.
16837
16838 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16839
16840 * calendar/timeclock.el (timeclock-seconds-to-time):
16841 Defalias to seconds-to-time, since they're the same thing.
16842
16843 * emacs-lisp/elp.el (elp-elapsed-time):
16844 * emacs-lisp/benchmark.el (benchmark-elapse):
16845 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16846
16847 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16848
16849 * window.el (bury-buffer): Don't iconify the only frame.
16850 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16851 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16852
16853 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16854
16855 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16856 Add mouse-yank-primary.
16857
16858 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16859
16860 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16861
16862 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16863
16864 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16865 (find-library-name): Use it to find relative load names when provided
16866 absolute file name (bug#8803).
16867
16868 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16869
16870 * textmodes/flyspell.el (flyspell-word): Consider words that
16871 differ only in case as potential doublons (bug#5687).
16872
16873 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16874 Remove two rather uninteresting debugging-like messages to make
16875 debbugs.el more silent.
16876
16877 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16878 a password-like phrase.
16879
16880 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16881
16882 * progmodes/cc-guess.el: New file.
16883
16884 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16885
16886 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16887 derived from `c-basic-common-init'.
16888
16889 * progmodes/cc-mode.el (top-level): Require cc-guess.
16890 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16891
16892 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16893
16894 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16895
16896 2011-06-30 Alan Mackenzie <acm@muc.de>
16897
16898 * progmodes/cc-engine.el (c-guess-continued-construct):
16899 Correct the handling of template-args-cont, particularly for when font
16900 lock is disabled. Name this case as "CASE G".
16901
16902 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16903
16904 * allout.el (allout-yank-processing): Fix injection of extra space
16905 between bullet and non-whitespace character in first topic when
16906 pasting, ensuring that the actual spacing in the pasted topic
16907 following the bullet char is preserved. This extra space was
16908 causing pasted encrypted topics to get a decrypted status even
16909 when the content was actually still encrypted. Now the decryption
16910 status from before the paste is preserved.
16911
16912 (allout-flag-region): Set all allout overlays so they evaporate
16913 when reduced to zero length (evanescent), to prevent overlay
16914 leakage.
16915
16916 2011-06-30 Glenn Morris <rgm@gnu.org>
16917
16918 * w32-fns.el (w32-charset-info-alist): Declare.
16919
16920 * find-dired.el (find-grep-options): Simplify.
16921
16922 * term/ns-win.el (ns-set-resource): Declare.
16923
16924 * ses.el (row, col): Declare dynamic variables honestly.
16925
16926 * textmodes/reftex-parse.el (index-tags): Declare.
16927
16928 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16929
16930 * cus-edit.el (customize-push-and-save): New function.
16931
16932 * files.el (hack-local-variables-confirm): Use it.
16933
16934 * custom.el (load-theme): New arg NO-CONFIRM.
16935 Use customize-push-and-save (Bug#8720).
16936 (custom-enabled-themes): Doc fix.
16937
16938 * cus-theme.el (customize-create-theme)
16939 (custom-theme-merge-theme): Callers to load-theme changed.
16940
16941 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16942
16943 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16944 short URLs have at least one dot in them (bug #7614).
16945
16946 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16947 nil, because using a pty is apparently too slow (bug #895).
16948
16949 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16950
16951 * mail/sendmail.el (sendmail-query-once): New function.
16952 (sendmail-query-once-function): New variable.
16953
16954 2011-06-29 Glenn Morris <rgm@gnu.org>
16955
16956 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16957
16958 * ses.el (top-level): Require cl when compiling.
16959 (ses-set-localvars): Fix error statement.
16960 Call it at compile time to silence a storm of warnings.
16961
16962 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16963
16964 * window.el (normalize-live-buffer): Rename to
16965 window-normalize-buffer.
16966 (normalize-live-frame): Rename to window-normalize-frame.
16967 (normalize-any-window): Rename to window-normalize-any-window.
16968 (normalize-live-window): Rename to window-normalize-live-window.
16969 (make-window-atom): Rename to window-make-atom.
16970 (window-resize-reset): Rename to window--resize-reset.
16971 (window-resize-reset-1): Rename to window--resize-reset-1.
16972 (resize-mini-window): Rename to window--resize-mini-window.
16973 (resize-subwindows-skip-p): Rename to
16974 window--resize-subwindows-skip-p.
16975 (resize-subwindows-normal): Rename to
16976 window--resize-subwindows-normal.
16977 (resize-subwindows): Rename to window--resize-subwindows.
16978 (resize-other-windows): Rename to window--resize-siblings.
16979 (resize-this-window): Rename to window--resize-this-window.
16980 (resize-root-window): Rename to window--resize-root-window.
16981 (resize-root-window-vertically): Rename to
16982 window--resize-root-window-vertically.
16983 (normalize-buffer-to-display): Rename to
16984 window-normalize-buffer-to-display.
16985 (normalize-buffer-to-switch-to): Rename to
16986 window-normalize-buffer-to-switch-to.
16987 Correspondingly update all callers of the functions listed
16988 above.
16989 (display-buffer-alist, display-buffer-normalize-arguments)
16990 (display-buffer-normalize-options, display-buffer)
16991 (display-buffer-alist-set): Use "function" instead of
16992 "fun-with-args".
16993
16994 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16995
16996 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16997 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16998 debbugs.gnu.org. Mention acknowledgment email.
16999
17000 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17001
17002 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17003 buffer multibyteness, since it shouldn't matter.
17004
17005 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17006
17007 * window.el (display-buffer-in-side-window): Handle dedicated
17008 windows as in display-buffer-reuse-window.
17009 (display-buffer-normalize-alist): Use value of override
17010 specifier.
17011 (display-buffer-normalize-specifiers): Use value of
17012 other-window-means-other-frame specifier.
17013 (display-buffer-alist): Rewrite some texts in widgets.
17014 (display-buffer): Spread arguments when calling function
17015 specified by fun-with-args.
17016
17017 2011-06-28 Deniz Dogan <deniz@dogan.se>
17018
17019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17020 Unnest `let'.
17021
17022 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17023 selectors (Bug#5732).
17024 (css-proprietary-nmstart-re): Use `regexp-opt'.
17025
17026 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17027
17028 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17029 (eshell-ls-date-format): New defcustom.
17030 (eshell-ls-file): Use it.
17031
17032 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17033
17034 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17035
17036 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17037
17038 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17039 (ange-ftp-make-tmp-name): New arg.
17040 (ange-ftp-file-local-copy): Use it.
17041
17042 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17043
17044 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17045 no-conversion (Bug#8870).
17046
17047 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17048
17049 * window.el (window-right, window-left, window-child)
17050 (window-child-count, window-last-child)
17051 (window-iso-combination-p, walk-window-tree-1)
17052 (window-atom-check-1, window-tree-1, delete-window)
17053 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17054 new naming conventions - window-vchild, window-hchild,
17055 window-next and window-prev are now called window-top-child,
17056 window-left-child, window-next-sibling and window-prev-sibling
17057 respectively.
17058 (resize-window-reset): Rename to window-resize-reset.
17059 (resize-window-reset-1): Rename to window-resize-reset-1.
17060 (resize-window): Rename to window-resize.
17061 (window-min-height, window-min-width)
17062 (resize-mini-window, resize-this-window, resize-root-window)
17063 (resize-root-window-vertically, adjust-window-trailing-edge)
17064 (enlarge-window, shrink-window, maximize-window)
17065 (minimize-window, delete-window, quit-restore-window)
17066 (split-window, balance-windows, balance-windows-area-adjust)
17067 (balance-windows-area, window-state-put-2)
17068 (display-buffer-even-window-sizes, display-buffer-set-height)
17069 (display-buffer-set-width, set-window-text-height)
17070 (fit-window-to-buffer): Rename all "resize-window" prefixed
17071 calls to use the "window-resize" prefix convention.
17072 (display-buffer-alist): Fix symbol for label specifier.
17073 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17074 corresponding specifier.
17075 Reported by Juanma Barranquero <lekktu@gmail.com>.
17076
17077 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17078
17079 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17080 convention.
17081 (ses-call-printer): Does not pass an empty string to formatter when the
17082 cell is empty to keep from barking printer Calc math-format-value.
17083
17084 2011-06-27 Richard Stallman <rms@gnu.org>
17085
17086 * battery.el (battery-mode-line-limit): New variable.
17087 (battery-update): Handle it.
17088
17089 * mail/rmailmm.el (rmail-mime-process-multipart):
17090 Handle truncated messages.
17091
17092 2011-06-27 Glenn Morris <rgm@gnu.org>
17093
17094 * progmodes/flymake.el (flymake-err-line-patterns):
17095 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17096
17097 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17098
17099 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17100 (ses--clean-!, ses--clean-_): New functions.
17101 (ses-range): Add configurability of readout order, and conversion
17102 to Calc vector.
17103
17104 * ses.el (ses-repair-cell-reference-all): New function.
17105 (ses-cell-symbol): Set macro as safe, so that it can be used in
17106 formulas.
17107
17108 * ses.el: Update cycle detection algorithm.
17109 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17110 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17111 (ses-set-localvars): New function.
17112 (ses-make-cell): Add property-list as a cell element.
17113 (ses-cell-property-get-fun, ses-cell-property-get)
17114 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17115 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17116 New functions.
17117 (ses-cell-property-set, ses-cell-property-pop)
17118 (ses-cell-property-get-handle): New macro.
17119 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17120 New aliases, used for code readability.
17121 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17122 cycle detection.
17123 (ses-self-reference-early-detection): New defcustom.
17124 (ses-formula-references): Robustify against self-referring cells.
17125 (ses-mode): Use ses-set-localvars.
17126 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17127 before lauching the update processing.
17128 (ses-initialize-Dijkstra-attempt): New function.
17129 (ses-recalculate-cell): Update for cycle detection based on
17130 Dijkstra algorithm.
17131
17132 * ses.el: Fix commenting and indenting convention.
17133
17134 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17135
17136 * bs.el (bs-cycle-next): Complete last change.
17137
17138 2011-06-27 Drew Adams <drew.adams@oracle.com>
17139
17140 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17141
17142 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17143
17144 * net/network-stream.el (network-stream-open-starttls):
17145 Don't re-get capabilities unless we've reestablished connection.
17146 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17147
17148 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17149 to binary to possibly avoid line encoding issues on Windows (among
17150 other things).
17151
17152 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17153
17154 * net/network-stream.el (open-network-stream): Return an :error
17155 saying what the problem was, if possible.
17156
17157 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17158 server.
17159
17160 * net/network-stream.el (network-stream-open-starttls): If we
17161 wanted to use STARTTLS, and the server offered it, but we weren't
17162 able to because we had no STARTTLS support, then close the connection.
17163 (open-network-stream): Return an :error element, if present.
17164
17165 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17166
17167 * hl-line.el (hl-line-sticky-flag): Doc fix.
17168 (global-hl-line-sticky-flag): New option (Bug#8323).
17169 (global-hl-line-highlight): Obey it.
17170
17171 * vc/vc.el (vc-revert-show-diff): Default to t.
17172
17173 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17174
17175 * allout-widgets.el (allout-widgets-post-command-business):
17176 Stop decorating intermediate isearch matches. They're not being
17177 undecorated when an isearch is continued past, and isearch
17178 automatically collapses them. This leads to "widget leaks", where
17179 decorated items accumulate in collapsed areas. Lines with lots of
17180 hidden widgets can slow down cursor travel, substantially.
17181 Too much complicated machinery would be needed to ensure undecoration,
17182 so we're doing without this nicety.
17183
17184 (allout-widgets-tally-string): Don't try to do a hash-table-count
17185 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17186 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17187 *Messages* when allout-widgets-maintain-tally is t.
17188
17189 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17190
17191 * window.el (display-buffer-normalize-argument): Rename to
17192 display-buffer-normalize-arguments. Handle special meaning of
17193 LABEL argument. Respect special-display-function when popping up
17194 a new frame. Fix code searching for a window showing the buffer
17195 on another frame.
17196 (display-buffer-normalize-specifiers):
17197 Call display-buffer-normalize-arguments.
17198 (display-buffer-in-window): Don't undedicate the window if its
17199 buffer remains the same.
17200 Reported by Drew Adams <drew.adams@oracle.com>.
17201 (display-buffer-alist): Add choice for same-window macro
17202 specfier.
17203 (display-buffer): Mention special meaning of LABEL argument in
17204 doc-string. Fix quoting. Don't pop up a new frame even as
17205 fallback.
17206
17207 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17208
17209 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17210 avoid deleting the current window in some cases (bug#8911).
17211
17212 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17213
17214 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17215 (Bug#8934)
17216
17217 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17218
17219 * net/network-stream.el (network-stream-open-starttls):
17220 Use built-in TLS support if `gnutls-available-p' is true.
17221 (network-stream-open-tls): Ditto.
17222
17223 2011-06-26 Leo Liu <sdl.web@gmail.com>
17224
17225 * register.el (registerv): New struct.
17226 (registerv-make): New function.
17227 (jump-to-register, describe-register-1, insert-register):
17228 Support the jump-func, print-func and insert-func slot of a registerv
17229 struct. (Bug#8415)
17230
17231 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17232
17233 * vc/vc.el (vc-revert-show-diff): New defcustom.
17234 (vc-diff-internal): New arg specifying diff buffer.
17235 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17236 reuse an existing *vc-diff* buffer (Bug#8927).
17237
17238 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17239
17240 2011-06-26 Glenn Morris <rgm@gnu.org>
17241
17242 * progmodes/f90.el (f90-critical-indent): New option.
17243 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17244 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17245 (f90-mode): Doc fix.
17246 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17247 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17248 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17249 (f90-match-end): Handle block, critical.
17250
17251 2011-06-25 Glenn Morris <rgm@gnu.org>
17252
17253 * calendar/diary-lib.el (diary-included-files): Doc fix.
17254 (diary-include-files): New function, extracted from
17255 diary-include-other-diary-files and diary-mark-included-diary-files.
17256 (diary-include-other-diary-files, diary-mark-included-diary-files):
17257 Just call diary-include-files.
17258 (diary-mark-entries): Reset diary-included-files on first call.
17259
17260 * calendar/diary-lib.el (diary-mark-entries)
17261 (diary-mark-included-diary-files):
17262 Visit included diary-files in temp buffers.
17263
17264 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17265 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17266 (f90-start-block-re, f90-imenu-generic-expression)
17267 (f90-looking-at-program-block-start, f90-no-block-limit):
17268 Add support for submodules.
17269
17270 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17271 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17272
17273 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17274
17275 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17276 buffer-file-type before setting its value, to avoid disastrous
17277 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17278
17279 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17280
17281 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17282
17283 * ses.el (ses-unload-function):
17284 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17285
17286 * proced.el (proced-unload-function):
17287 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17288
17289 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17290
17291 * server.el (server-create-window-system-frame): Add parameters arg.
17292 (server-process-filter): Doc fix. Handle frame-parameters.
17293
17294 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17295
17296 Fix bug#8730, bug#8781.
17297
17298 * loadhist.el (unload--set-major-mode): New function.
17299 (unload-feature): Use it.
17300
17301 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17302 (python-unload-function): New function.
17303
17304 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17305
17306 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17307
17308 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17309
17310 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17311 the candidates list.
17312
17313 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17314
17315 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17316
17317 2011-06-23 Richard Stallman <rms@gnu.org>
17318
17319 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17320 (rmail-variables): Set next-error-move-function.
17321 (rmail-what-message): Take argument POS.
17322 (rmail-next-error-move): New function.
17323
17324 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17325
17326 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17327 messages for adjacent non-terminals.
17328
17329 2011-06-23 Richard Stallman <rms@gnu.org>
17330
17331 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17332 (rmail-show-message-1): Preserve buffer modified flag.
17333 (rmail-start-mail): Don't specify use of rmail-mail-return;
17334 that's done by mail-bury now.
17335 (rmail-mail-return): Handle arg NEWBUF.
17336
17337 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17338
17339 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17340 SIZE is a number.
17341
17342 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17343
17344 * window.el (get-lru-window, get-mru-window)
17345 (get-largest-window): Never return a minibuffer window.
17346 (display-buffer-pop-up-window): Fix a bug that could lead to
17347 reusing the minibuffer window.
17348 (display-buffer): Pass original specifier argument to
17349 display-buffer-function instead of the normalized one.
17350 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17351
17352 2011-06-22 Leo Liu <sdl.web@gmail.com>
17353
17354 * minibuffer.el (completing-read-function)
17355 (completing-read-default): Move from minibuf.c.
17356
17357 2011-06-22 Richard Stallman <rms@gnu.org>
17358
17359 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17360 to Rmail even if not started by a special Rmail command.
17361
17362 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17363 Copy the buffer currently showing just one message.
17364
17365 2011-06-22 Roland Winkler <winkler@gnu.org>
17366
17367 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17368 (bibtex-clean-entry): First delete the old key so that a
17369 customized algorithm for generating the new key does not get
17370 confused by the old key.
17371 (bibtex-url): Obey regexp of first step.
17372 (bibtex-search-entries): Do not use add-to-list with local
17373 list-var.
17374
17375 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17376
17377 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17378 stored a user name, then query for the password first, instead of
17379 waiting for SMTP to give an error message and the trying again.
17380
17381 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17382
17383 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17384 BUFFER in call-process.
17385
17386 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17387
17388 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17389 QUIT twice.
17390 (smtpmail-try-auth-methods): Require user name and password from
17391 auth-source.
17392
17393 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17394
17395 * window.el (display-buffer-default-specifiers)
17396 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17397 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17398 (split-window): Normalize SIDE argument (Bug#8916).
17399
17400 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17401 (special-display-frame-alist, special-display-popup-frame):
17402 Remove duplicate declarations. These are now in window.el.
17403
17404 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17405
17406 * mail/smtpmail.el (smtpmail-via-smtp):
17407 Set :use-starttls-if-possible so that we always use STARTTLS if the
17408 server supports it. SMTP servers that support STARTTLS commonly
17409 require it.
17410
17411 * net/network-stream.el (network-stream-open-starttls): Support
17412 upgrading to STARTTLS always, even if we don't have built-in support.
17413 (open-network-stream): Add the :always-query-capabilities keyword.
17414
17415 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17416 upgrades with `open-network-stream', and rely solely on
17417 auth-source for all credentials. Big changes throughout the file,
17418 but in particular:
17419 (smtpmail-auth-credentials): Remove.
17420 (smtpmail-starttls-credentials): Remove.
17421 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17422 MAIL FROM, too.
17423
17424 * net/network-stream.el (network-stream-open-starttls):
17425 Provide support for client certificates both for external and built-in
17426 STARTTLS.
17427 (auth-source): Require.
17428 (open-network-stream): Document the :client-certificate keyword.
17429 (network-stream-certificate): Change cert-cert to cert and
17430 cert-key to key.
17431
17432 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17433
17434 * net/tramp-cache.el (top): Don't load the persistency file when
17435 "emacs -Q" has been called.
17436
17437 2011-06-21 Tim Harper <timcharper@gmail.com>
17438
17439 * term/ns-win.el (ns-initialize-window-system):
17440 Set application-specific `ApplePressAndHoldEnabled' system
17441 resource to NO as it is not yet supported by the NS port.
17442
17443 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17444
17445 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17446 (list-dynamic-libraries): ...not here.
17447
17448 2011-06-21 Leo Liu <sdl.web@gmail.com>
17449
17450 * subr.el (sha1): Implement sha1 using secure-hash.
17451
17452 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17453
17454 * window.el (display-buffer-alist): In default value do not
17455 enforce searching a window on any but the selected frame.
17456 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17457 (display-buffer-select-window): Remove function.
17458 (display-buffer-in-window): When a window on another frame gets
17459 reused, do not select it any more but just raise its frame if
17460 necessary (Bug#8851) and (Bug#8856).
17461 (display-buffer-normalize-options): Handle pop-up-frames related
17462 options more faithfully.
17463 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17464 window if it is on another frame.
17465 (display-buffer-alist, display-buffer-default-specifiers):
17466 Don't make new frame unsplittable by default.
17467 (display-buffer-normalize-argument): Fix doc-string typo and use
17468 'same-frame-other-window instead of 'other-window when associating
17469 with display-buffer-macro-specifiers.
17470
17471 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17472
17473 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17474 New functions.
17475 (5x5-mode-map, 5x5-mode-menu): Bind them.
17476 (5x5-draw-grid): Tweak the solver's rendering.
17477
17478 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17479
17480 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17481 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17482
17483 2011-06-21 Drew Adams <drew.adams@oracle.com>
17484
17485 * menu-bar.el: Use function variable instead of switch-to-buffer.
17486 (menu-bar-select-buffer-function): New variable.
17487 (menu-bar-update-buffers): Use it (bug#8876).
17488
17489 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17490
17491 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17492 variable's status.
17493
17494 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17495
17496 * x-dnd.el (x-dnd-version-from-flags)
17497 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17498 and long as number (Bug#8899).
17499 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17500
17501 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17502
17503 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17504 (completion-try-completion, completion-all-completions): Compute the
17505 metadata argument if it's missing; make it optional (bug#8795).
17506
17507 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17508 (widget-complete): Use new :completion-function property.
17509 (widget-completions-at-point): New function.
17510 (default): Use :completion-function instead of :complete.
17511 (widget-default-completions): Rename from widget-default-complete;
17512 Rewrite.
17513 (widget-string-complete, widget-file-complete, widget-color-complete):
17514 Remove functions.
17515 (file, symbol, function, variable, coding-system, color):
17516 * international/mule-cmds.el (default-input-method, charset)
17517 (language-info-custom-alist):
17518 * cus-edit.el (face): Use new property :completions.
17519
17520 * progmodes/pascal.el (pascal-completions-at-point): New function.
17521 (pascal-mode): Use it.
17522 (pascal-mode-map): Use completion-at-point.
17523 (pascal-toggle-completions): Make obsolete.
17524 (pascal-complete-word, pascal-show-completions):
17525 * progmodes/octave-mod.el (octave-complete-symbol):
17526 Redefine as obsolete alias.
17527 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17528 Signal absence of completion info for old Octave,
17529 (inferior-octave-complete): Redefine as obsolete alias.
17530 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17531 (meta-completions-at-point): Rename from meta-complete-symbol and
17532 adapt it for use on completion-at-point-functions.
17533 (meta-common-mode): Use it.
17534 (meta-looking-at-backward, meta-match-buffer): Remove.
17535 (meta-complete-symbol): Redefine as obsolete alias.
17536 (meta-common-mode-map): Use completion-at-point.
17537 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17538 (makefile-mode-map): Use completion-at-point.
17539 (makefile-completions-at-point): Rename from makefile-complete and
17540 adapt it for use on completion-at-point-functions.
17541 (makefile-mode): Use it.
17542 (makefile-complete): Redefine as obsolete alias.
17543
17544 2011-06-20 Deniz Dogan <deniz@dogan.se>
17545
17546 * net/rcirc.el: Delete trailing whitespaces once and for all.
17547
17548 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17549
17550 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17551
17552 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17553
17554 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17555
17556 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17557
17558 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17559
17560 * window.el (display-buffer-other-window-means-other-frame):
17561 Call display-buffer-normalize-alist.
17562 (display-buffer-normalize-specifiers-1): Rename to
17563 display-buffer-normalize-argument. New argument other-frame.
17564 Rewrite.
17565 (display-buffer-normalize-specifiers-2): Rename to
17566 display-buffer-normalize-options.
17567 (display-buffer-normalize-alist-1): New function.
17568 (display-buffer-normalize-specifiers-3): Rename to
17569 display-buffer-normalize-alist.
17570 Call display-buffer-normalize-alist-1.
17571 (display-buffer-normalize-options-inhibit): New variable.
17572 (display-buffer-normalize-specifiers): Rewrite calling
17573 display-buffer-normalize-alist,
17574 display-buffer-normalize-argument, and
17575 display-buffer-normalize-options. Don't call the latter if
17576 display-buffer-normalize-options-inhibit is non-nil.
17577 (frame-auto-delete): New option.
17578 (window-deletable-p): Use frame-auto-delete.
17579 (window-list-no-nils, window-state-ignored-parameters)
17580 (window-state-get-1, window-state-get, window-state-put-list)
17581 (window-state-put-1, window-state-put-2, window-state-put):
17582 New functions.
17583 (display-buffer-normalize-options): Move special-display-p group
17584 after pop-up-frame group (Bug#8851) and (Bug#8856).
17585
17586 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17587
17588 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17589 groups (Bug#8776).
17590 (rx-submatch-n): New function.
17591 (rx): Document it.
17592
17593 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17594 (Bug#8768).
17595
17596 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17597
17598 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17599
17600 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17601 anytime existing face settings are present (Bug#8889).
17602
17603 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17604 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17605 Remove unused argument.
17606
17607 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17608
17609 * window.el (display-buffer-default-specifiers):
17610 Remove pop-up-frame. Add pop-up-window-min-height,
17611 pop-up-window-min-width, and another reuse-window specifier
17612 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17613 (display-buffer-normalize-specifiers-2):
17614 Handle split-height-threshold and split-width-threshold also when
17615 pop-up-windows is unset. Add a reuse-window specifier for the
17616 case popping up a new window fails.
17617 (special-display-popup-frame): Remove double quoting.
17618 (display-buffer-normalize-specifiers-1): Fix thinko.
17619
17620 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17621
17622 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17623 according to comint-completion-addsuffix.
17624
17625 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17626 (pcomplete-suffix-list): Mark as obsolete.
17627 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17628 pcomplete-seen in the closure.
17629 (pcomplete-comint-setup): Setup completion-at-point as well.
17630 (pcomplete--entries): New function.
17631 (pcomplete--env-regexp): New var.
17632 (pcomplete-entries): Rewrite to work with partial-completion and
17633 without relying on pcomplete-suffix-list.
17634 (pcomplete-pare-list): Remove, unused.
17635
17636 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17637
17638 * window.el (display-buffer-alist): Set pop-up-window-min-height
17639 and pop-up-window-min-width in default value. Reported by
17640 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17641 other-window-means-other-frame.
17642 (display-buffer-macro-specifiers): Comment out entry for
17643 other-window specifier.
17644 (display-buffer-other-window-means-other-frame): New function.
17645 (display-buffer-normalize-specifiers-1): New arguments
17646 buffer-name and label. Treat other-window case specially.
17647 (display-buffer-normalize-specifiers-2): Treat other-window case
17648 specially.
17649 (display-buffer-normalize-specifiers-3): New function.
17650 (display-buffer-normalize-specifiers):
17651 Call display-buffer-normalize-specifiers-3.
17652
17653 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17654
17655 * window.el (same-window-p): Fix two typos introduced when
17656 adding with-no-warnings.
17657 (display-buffer-normalize-specifiers-1): Don't check
17658 pop-up-frames for 'unset initialization.
17659 (display-buffer-normalize-specifiers-2): Major rewrite using
17660 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17661 (pop-up-frames, display-buffer-reuse-frames)
17662 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17663 Suggested by David Engster <deng@randomsample.de>.
17664 (even-window-heights): Initialize to 'unset.
17665 (display-buffer-alist-set): Handle new 'unset initializations.
17666 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17667 other window case.
17668
17669 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17670
17671 * window.el (display-buffer-normalize-specifiers-1):
17672 Respect current value of pop-up-frames for most reasonable values of
17673 second argument of display-buffer (Bug#8865).
17674 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17675 (switch-to-buffer-other-window-same-frame)
17676 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17677 Adams (Bug#8875).
17678 (display-buffer): Don't check noninteractive when calling
17679 display-buffer-pop-up-frame.
17680 (display-buffer-pop-up-frame): Never pop up a frame in
17681 noninteractive mode (Bug#8857).
17682 (enlarge-window, shrink-window): Don't report an error when the
17683 window can't be resized as requested (Bug#8862).
17684
17685 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17686
17687 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17688
17689 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17690
17691 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17692
17693 2011-06-15 Alan Mackenzie <acm@muc.de>
17694
17695 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17696 for declarators, disable knr checking to speed up for normal files.
17697 2: Refactor, replacing a sequence of nested if forms by a cond form.
17698
17699 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17700
17701 * net/network-stream.el (open-network-stream): Add the keyword
17702 :always-query-capabilities for the case where you want to force a
17703 `plain' network connection, but the protocol still requires the
17704 capabilitiy command (i.e., SMTP and EHLO).
17705
17706 * subr.el (process-live-p): Rename from `process-alive-p' for
17707 consistency with other `-live-p' functions.
17708
17709 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17710
17711 * window.el (same-window-buffer-names, same-window-regexps)
17712 (special-display-frame-alist, special-display-popup-frame)
17713 (special-display-function, special-display-buffer-names)
17714 (special-display-regexps, pop-up-frame-alist)
17715 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17716 (pop-up-windows, split-window-preferred-function)
17717 (split-height-threshold, split-width-threshold, even-window-heights)
17718 (display-buffer-mark-dedicated): Don't encourage the use of
17719 display-buffer-alist from Elisp code.
17720
17721 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17722
17723 * progmodes/python.el (python-mode): Derive from prog-mode.
17724 * progmodes/ps-mode.el (ps-mode):
17725 * progmodes/mixal-mode.el (mixal-mode):
17726 * progmodes/cfengine.el (cfengine-mode):
17727 * progmodes/ld-script.el (ld-script-mode): Likewise.
17728
17729 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17730
17731 * window.el (display-buffer-alist): Trim default value to avoid
17732 popping up a new frame (Bug#8857) or reusing an arbitrary window
17733 on another frame.
17734 (display-buffer): Do not fall back on popping up a new frame in
17735 batch mode (Bug#8857).
17736
17737 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17738
17739 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17740 (custom-theme-summary): New function.
17741 (customize-themes): Use it.
17742
17743 2011-06-13 Glenn Morris <rgm@gnu.org>
17744
17745 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17746
17747 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17748
17749 * help.el (help-window): Remove variable.
17750 (help-window-point-marker, temp-buffer-max-height)
17751 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17752 (help-print-return-message): Don't set help-window.
17753 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17754 (help-window-setup-finish): Remove.
17755 (help-window-display-message, help-window-setup)
17756 (with-help-window): Major rewrite based on new
17757 display-buffer-window variable.
17758
17759 * help-mode.el (help-mode-finish): Remove help-window related
17760 code.
17761
17762 * view.el (view-exits-all-viewing-windows): Remove reference to
17763 view-return-to-alist in doc-string.
17764 (view-return-to-alist): Make obsolete.
17765 (view-buffer): Call pop-to-buffer-same-window and remove
17766 undo-window code.
17767 (view-buffer-other-window): Call pop-to-buffer-other-window and
17768 simplify code. Ignore second argument.
17769 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17770 simplify code. Ignore second argument.
17771 (view-return-to-alist-update): Make obsolete.
17772 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17773 Rewrite using quit-restore window parameters.
17774 (view-mode-exit): Rename second argument to EXIT-ONLY.
17775 Rewrite using quit-restore-window.
17776 (View-exit, View-exit-and-edit, View-leave, View-quit)
17777 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17778 appropriate arguments.
17779 (view-end-message): Use quit-restore window parameter.
17780
17781 * window.el (display-buffer-function): Rewrite doc-string.
17782 (display-buffer-window, display-buffer-alist): New variables.
17783 (display-buffer-split-specifiers)
17784 (display-buffer-side-specifiers)
17785 (display-buffer-macro-specifiers): New constants.
17786 (display-buffer-even-window-sizes, display-buffer-set-height)
17787 (display-buffer-set-width, display-buffer-select-window)
17788 (display-buffer-in-window, display-buffer-reuse-window)
17789 (display-buffer-split-window-1, display-buffer-split-window)
17790 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17791 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17792 (display-buffer-in-side-window, normalize-buffer-to-display)
17793 (display-buffer-normalize-specifiers-1)
17794 (display-buffer-normalize-specifiers-2)
17795 (display-buffer-normalize-specifiers, display-buffer-frame):
17796 New functions.
17797 (display-buffer): Major rewrite.
17798 (display-buffer-other-window, display-buffer-other-frame)
17799 (pop-to-buffer, switch-to-buffer-other-window)
17800 (switch-to-buffer-other-frame): Rewrite.
17801 (display-buffer-same-window, display-buffer-same-frame)
17802 (display-buffer-same-frame-other-window)
17803 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17804 (pop-to-buffer-other-window)
17805 (pop-to-buffer-same-frame-other-window)
17806 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17807 (switch-to-buffer-other-window-same-frame): New functions.
17808 (same-window-p, special-display-p): Rewrite disabling warnings.
17809 Make obsolete.
17810 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17811 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17812 Make obsolete
17813 (same-window-buffer-names, same-window-regexps)
17814 (special-display-frame-alist, special-display-popup-frame)
17815 (special-display-function, special-display-buffer-names)
17816 (special-display-regexps, pop-up-frame-alist)
17817 (pop-up-frame-function, split-window-preferred-function)
17818 (split-height-threshold, split-width-threshold)
17819 (even-window-heights): Make obsolete.
17820
17821 2011-06-12 Glenn Morris <rgm@gnu.org>
17822
17823 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17824 Misc simplifications.
17825
17826 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17827
17828 * window.el (window-safely-shrinkable-p): Restore function which
17829 was inadvertently removed in change from 2011-06-11. Declare as
17830 obsolete.
17831
17832 * calendar/calendar.el (calendar-generate-window):
17833 Use window-iso-combined-p instead of combination of one-window-p and
17834 window-safely-shrinkable-p.
17835
17836 2011-06-12 Glenn Morris <rgm@gnu.org>
17837
17838 * progmodes/fortran.el (fortran-mode-syntax-table):
17839 * progmodes/f90.el (f90-mode-syntax-table):
17840 Set % to punctuation. (Bug#8820)
17841 (f90-find-tag-default): Remove, no longer needed.
17842
17843 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17844
17845 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17846
17847 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17848
17849 * image.el (image-animated-p): Return animation delay in seconds.
17850 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17851 (image-animate-timeout): Remove DELAY argument. Don't assume
17852 every subimage has the same delay; get it from image-animated-p.
17853 (image-animate): Caller changed.
17854
17855 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17856
17857 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17858 to ignored backtrace functions.
17859
17860 2011-06-11 Glenn Morris <rgm@gnu.org>
17861
17862 * calendar/appt.el (appt-disp-window-function): Doc fix.
17863 (appt-check): Handle overlapping appointments. (Bug#8337)
17864
17865 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17866
17867 * window.el (window-tree-1, window-tree): New functions, moving
17868 the latter to window.el.
17869 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17870 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17871 (bw-refresh-edges): Remove.
17872 (balance-windows-1, balance-windows-2): New functions.
17873 (balance-windows): Rewrite in terms of window tree functions,
17874 balance-windows-1 and balance-windows-2.
17875 (bw-adjust-window): Remove.
17876 (balance-windows-area-adjust): New function with functionality of
17877 bw-adjust-window but using resize-window.
17878 (set-window-text-height): Rewrite doc-string.
17879 Use normalize-live-window and resize-window.
17880 (enlarge-window-horizontally, shrink-window-horizontally):
17881 Rename argument to DELTA.
17882 (window-buffer-height): New function.
17883 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17884 Rewrite using new window resize routines.
17885 (kill-buffer-and-window, mouse-autoselect-window-select):
17886 Use ignore-errors instead of condition-case.
17887 (quit-window): Call delete-frame instead of delete-windows-on
17888 for the only buffer on frame.
17889
17890 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17891
17892 * loadup.el (top-level): Load window before files for the sake
17893 of replace-buffer-in-windows.
17894
17895 * files.el (read-buffer-to-switch)
17896 (switch-to-buffer-other-window)
17897 (switch-to-buffer-other-frame, display-buffer-other-frame):
17898 Move to window.el.
17899
17900 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17901 (previous-buffer): Move to window.el.
17902
17903 * bindings.el (unbury-buffer): Move to window.el.
17904
17905 * window.el (delete-other-windows-vertically): Move after
17906 definition of delete-other-windows.
17907 (other-window, delete-windows-on, replace-buffer-in-windows):
17908 Move here from window.c.
17909 (record-window-buffer, unrecord-window-buffer)
17910 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17911 (switch-to-next-buffer): New functions.
17912 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17913 from simple.el. Call switch-to-next-buffer.
17914 (previous-buffer): Move here from simple.el.
17915 Call switch-to-prev-buffer.
17916 (bury-buffer): Move here from buffer.c. Switch to previous
17917 buffer when window cannot be deleted.
17918 (unbury-buffer): Move here from bindings.el.
17919 (ctl-x-map): Move binding for other-window from window.c to
17920 here.
17921 (read-buffer-to-switch, switch-to-buffer-other-window)
17922 (switch-to-buffer-other-frame): Move here from files.el.
17923 (normalize-buffer-to-switch-to): New functions.
17924 (switch-to-buffer): Move here from buffer.c.
17925 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17926
17927 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17928
17929 * window.el (window-min-height, window-min-width): Move here
17930 from window.c. Add defcustoms and rewrite doc-strings.
17931 (resize-mini-window, resize-window): New functions.
17932 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17933 Move here from window.c.
17934 (maximize-window, minimize-window): New functions.
17935 (delete-window, delete-other-windows, split-window): Move here
17936 from window.c.
17937 (window-split-min-size): New function.
17938 (split-window-keep-point): Mention split-window-above-each-other
17939 instead of split-window-vertically.
17940 (split-window-above-each-other, split-window-vertically):
17941 Rename split-window-vertically to split-window-above-each-other
17942 and provide defalias for old definition.
17943 (split-window-side-by-side, split-window-horizontally):
17944 Rename split-window-horizontally to split-window-side-by-side
17945 and provide defalias for the old definition.
17946 (ctl-x-map): Move bindings for delete-window,
17947 delete-other-windows and enlarge-window here from window.c.
17948 Replace bindings for split-window-vertically and
17949 split-window-horizontally by bindings for
17950 split-window-above-each-other and split-window-side-by-side.
17951
17952 * cus-start.el (all): Remove entries for window-min-height and
17953 window-min-width. Add entries for window-splits and
17954 window-nest.
17955
17956 2011-06-09 Glenn Morris <rgm@gnu.org>
17957
17958 * calendar/appt.el (appt-mode-line): New function.
17959 (appt-check, appt-disp-window): Use it.
17960
17961 * files.el (hack-one-local-variable-eval-safep):
17962 Allow minor-modes with explicit +/-1 arguments.
17963
17964 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17965
17966 * term/xterm.el (xterm): Add defgroup.
17967 (xterm-extra-capabilities): Add defcustom to supply known xterm
17968 capabilities, skip querying them, or query them (default).
17969 (terminal-init-xterm): Use it.
17970 (terminal-init-xterm-modify-other-keys): New function to set up
17971 modifyOtherKeys support to simplify `terminal-init-xterm'.
17972
17973 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17974
17975 * window.el (resize-window-reset, resize-window-reset-1)
17976 (resize-subwindows-skip-p, resize-subwindows-normal)
17977 (resize-subwindows, resize-other-windows, resize-this-window)
17978 (resize-root-window, resize-root-window-vertically)
17979 (window-deletable-p, window-or-subwindow-p)
17980 (frame-root-window-p): New functions.
17981
17982 2011-06-09 Glenn Morris <rgm@gnu.org>
17983
17984 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17985 (ange-ftp-get-files): Use it.
17986
17987 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17988
17989 * mail/sendmail.el (mail-recover-1, mail-recover):
17990 * files.el (recover-file, recover-session):
17991 Handle dired-listing-switches not being just a single short option.
17992
17993 2011-06-09 Glenn Morris <rgm@gnu.org>
17994
17995 * calendar/appt.el (appt-display-message, appt-disp-window):
17996 Handle lists of appointments.
17997
17998 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17999
18000 * window.el (one-window-p): Move down in code.
18001 Rewrite doc-string.
18002 (window-current-scroll-bars): Rewrite doc-string.
18003 Normalize live window argument.
18004 (walk-windows, get-window-with-predicate, count-windows):
18005 Rewrite doc-string. Use window-list-1.
18006 (window-in-direction-2, window-in-direction, get-mru-window):
18007 New functions.
18008
18009 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18010
18011 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18012 Doc fix (Bug#8713).
18013
18014 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18015
18016 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18017
18018 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18019
18020 * loadhist.el (unload-feature-special-hooks):
18021 Add `comint-output-filter-functions'.
18022
18023 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18024
18025 * calendar/appt.el (appt-check): Move some initializations into the let.
18026
18027 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18028
18029 * window.el (window-height): Defalias to window-total-height.
18030 (window-width): Defalias to window-body-width.
18031
18032 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18033
18034 * image-mode.el (image-toggle-animation): New command.
18035 (image-mode-map): Bind it to RET.
18036 (image-mode): Update message.
18037 (image-toggle-display-image): Avoid a spurious cache flush.
18038 (image-transform-rotation): Doc fix.
18039 (image-transform-properties): Return quickly in the normal case.
18040 (image-animate-loop): Rename from image-animate-max-time.
18041
18042 * image.el (image-animate-max-time): Move to image-mode.el.
18043 (create-animated-image): Remove unnecessary function.
18044 (image-animate): Rename from image-animate-start. New arg.
18045 (image-animate-stop): Remove; just use image-animate-timer.
18046 (image-animate-timer): Use car-safe.
18047 (image-animate-timeout): Rename argument.
18048
18049 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18050
18051 * window.el (get-lru-window, get-largest-window): Move here from
18052 window.c. Rename first argument to ALL-FRAMES.
18053 Rephrase doc-strings.
18054 (get-buffer-window-list): Rewrite using window-list-1.
18055 Rephrase doc-string.
18056 (window-safe-min-height, window-safe-min-width): New constants.
18057 (window-size-ignore, window-min-size, window-min-size-1)
18058 (window-sizable, window-sizable-p, window-size-fixed-1)
18059 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18060 (window-max-delta-1, window-max-delta, window-resizable)
18061 (window-resizable-p, window-total-height, window-total-width)
18062 (window-body-width): New functions.
18063 (window-full-height-p, window-full-width-p): Rewrite using
18064 window-total-size.
18065 (window-body-height): Rewrite using window-body-size.
18066
18067 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18068
18069 * window.el (window-right, window-left, window-child)
18070 (window-child-count, window-last-child, window-any-p)
18071 (normalize-live-buffer, normalize-live-frame)
18072 (normalize-any-window, normalize-live-window)
18073 (window-iso-combination-p, window-iso-combined-p)
18074 (window-iso-combinations)
18075 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18076 (windows-with-parameter, window-with-parameter)
18077 (window-atom-root, make-window-atom, window-atom-check-1)
18078 (window-atom-check, window-side-check, window-check):
18079 New functions.
18080 (ignore-window-parameters, window-sides, window-sides-vertical)
18081 (window-sides-slots): New variables.
18082 (window-size-fixed): Move down in code. Minor doc-string fix.
18083
18084 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18085
18086 * comint.el (comint-dynamic-complete-as-filename)
18087 (comint-dynamic-complete-filename): Correctly call
18088 completion-in-region.
18089
18090 2011-06-05 Deniz Dogan <deniz@dogan.se>
18091
18092 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18093 in last change.
18094
18095 2011-06-05 Deniz Dogan <deniz@dogan.se>
18096
18097 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18098 (rcirc): Use it to prompt for encryption.
18099
18100 2011-06-05 Roland Winkler <winkler@gnu.org>
18101
18102 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18103 (bibtex-search-entries): New command bound to C-c C-a.
18104 (bibtex-display-entries): New function.
18105
18106 2011-06-05 Roland Winkler <winkler@gnu.org>
18107
18108 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18109 (bibtex-insert-kill): After yanking insert newline if necessary.
18110 (bibtex-initialize): Call bibtex-string-files-init only once.
18111 (bibtex-mode): Do not call easy-menu-add.
18112 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18113 (bibtex-yank): Set arg properly if nil.
18114
18115 2011-06-05 Roland Winkler <winkler@gnu.org>
18116
18117 * textmodes/bibtex.el (bibtex-search-entry-globally):
18118 New variable.
18119 (bibtex-search-entry): Use it.
18120
18121 2011-06-05 Roland Winkler <winkler@gnu.org>
18122
18123 * textmodes/bibtex.el (bibtex-entry-format): New option
18124 sort-fields.
18125 (bibtex-format-entry, bibtex-reformat): Honor this option.
18126 (bibtex-parse-entry): Return fields in proper order.
18127
18128 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18129
18130 * doc-view.el (doc-view-remove-if): Move computation of result out
18131 of `dolist' to silence misleading lexical-binding warning.
18132
18133 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18134
18135 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18136 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18137
18138 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18139
18140 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18141 "SunOS 5.10".
18142
18143 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18144
18145 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18146 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18147 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18148 (tramp-parse-putty):
18149 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18150 (tramp-completion-function-alist-ssh)
18151 (tramp-completion-function-alist-telnet)
18152 (tramp-completion-function-alist-su)
18153 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18154 cookie.
18155
18156 * net/tramp-ftp.el:
18157 * net/tramp-sh.el:
18158 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18159 load "tramp.el" `tramp-set-completion-function'.
18160
18161 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18162
18163 * shell.el: Require and use pcomplete.
18164 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18165 (shell-completion-vars): Set pcomplete-default-completion-function.
18166
18167 2011-06-04 Deniz Dogan <deniz@dogan.se>
18168
18169 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18170 `memq' (Bug#8799).
18171
18172 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18173
18174 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18175
18176 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18177
18178 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18179 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18180 * vc/log-view.el (log-view-beginning-of-defun):
18181 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18182 (smerge-refine-forward, smerge-refine-chopup-region):
18183 Silence warning for unused `dotimes' counter variables.
18184
18185 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18186
18187 * net/tramp.el (tramp-with-progress-reporter): Rename from
18188 with-progress-reporter. Use `declare'.
18189 * net/tramp-smb.el:
18190 * net/tramp-sh.el:
18191 * net/tramp-gvfs.el: Update all uses.
18192
18193 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18194
18195 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18196 buffer isn't killed before making it current.
18197
18198 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18199
18200 Silence various byte-compiler warnings.
18201 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18202 `access-type' and new obsolescence format.
18203 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18204 new format.
18205 (byte-compile-check-variable): New `access-type' argument.
18206 Only warn if the access-type is obsolete.
18207 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18208 (byte-compile-variable-set): Adjust callers.
18209 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18210 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18211 setting it as obsolete.
18212 * simple.el (minibuffer-completing-symbol):
18213 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18214 access as obsolete.
18215 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18216 obsolete yet.
18217 * international/quail.el (quail-mouse-choose-completion): Remove unused
18218 code referring to obsolete var.
18219 (quail-choose-completion-string): Remove.
18220 * server.el (server-clients-with, server-kill-buffer-query-function)
18221 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18222 * proced.el (proced-send-signal):
18223 * emacs-lisp/lisp.el (lisp-complete-symbol):
18224 Replace completion-annotate-function with completion-extra-properties.
18225
18226 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18227
18228 * simple.el (goto-line): Use read-number.
18229 (overriding-map-is-bound): Remove.
18230 (saved-overriding-map): Change default.
18231 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18232 Take the map as argument.
18233 (universal-argument, negative-argument, digit-argument): Use it.
18234 (restore-overriding-map): Adjust.
18235 (do-auto-fill): Use fill-forward-paragraph.
18236 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18237
18238 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18239 (minibuffer-inactive-mode): New major mode.
18240 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18241 the *Messages* buffer" hack.
18242 (mouse-popup-menubar): Don't burp if the event is a normal key.
18243
18244 Miscellaneous tweaks.
18245 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18246 lexical scoping as in subr.el's dolist and dotimes.
18247 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18248 Silence compiler warning.
18249 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18250 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18251 * international/ccl.el (ccl-compile): Trivial simplification.
18252 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18253 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18254 `printflag' argument.
18255 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18256 Purecopy the whole obsolescence data.
18257
18258 2011-06-01 Leo Liu <sdl.web@gmail.com>
18259
18260 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18261 improve doc-string as suggested by Marco Pessotto
18262 <melmothx@gmail.com>.
18263 (rcirc-print): Fix last change.
18264
18265 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18266
18267 * minibuffer.el (complete-with-action): Return nil for the metadata and
18268 boundaries of non-functional tables.
18269 (completion-table-dynamic): Return nil for the metadata.
18270 (completion-table-with-terminator): Add default case, using
18271 complete-with-action.
18272 (completion--metadata): New function.
18273 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18274 to try and avoid pathological performance problems.
18275 (completion--embedded-envvar-table): Return `category' metadata.
18276
18277 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18278
18279 * subr.el (process-alive-p): New tiny convenience function.
18280
18281 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18282
18283 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18284 content but also its previous major mode.
18285
18286 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18287
18288 * emacs-lisp/debug.el (debug): Restore the previous content of the
18289 *Backtrace* buffer when we exit with C-M-c.
18290
18291 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18292
18293 * minibuffer.el: Add metadata method to completion tables.
18294 (completion-category-overrides): New defcustom.
18295 (completion-metadata, completion--field-metadata)
18296 (completion-metadata-get, completion--styles)
18297 (completion--cycle-threshold): New functions.
18298 (completion-try-completion, completion-all-completions):
18299 Add `metadata' argument to choose completion-styles.
18300 (completion--do-completion): Use metadata to choose cycling.
18301 (completion-all-sorted-completions): Use metadata for sorting.
18302 Remove :completion-cycle-penalty which is not needed any more.
18303 (completion--try-word-completion): Add `metadata' argument.
18304 (minibuffer-completion-help): Check metadata for annotation function
18305 and sorting.
18306 (completion-file-name-table): Return `category' metadata.
18307 (minibuffer-completing-file-name): Make obsolete.
18308 * simple.el (minibuffer-completing-symbol): Make obsolete.
18309 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18310 completion-try-completion.
18311
18312 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18313
18314 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18315
18316 2011-05-30 Leo Liu <sdl.web@gmail.com>
18317
18318 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18319 (rcirc-print): Decode all incoming messages (bug#8744).
18320 (rcirc-decode-coding-system): Allow value nil for automatic coding
18321 system detection.
18322
18323 2011-06-01 Glenn Morris <rgm@gnu.org>
18324
18325 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18326
18327 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18328
18329 * image.el (image-animate-max-time): Allow nil and t values.
18330 Default to nil.
18331 (create-animated-image): Doc fix.
18332 (image-animate-start): Remove second arg; just use
18333 image-animate-max-time.
18334 (image-animate-timeout): Doc fix. Args changed.
18335
18336 * image-mode.el (image-toggle-display-image): Ensure that the
18337 image spec passed to the animate timer is the same object as in
18338 the buffer's display property (Bug#6981).
18339 (image-transform-properties): Doc fix.
18340
18341 * image.el (image-animate-max-time): Default to nil.
18342
18343 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18344
18345 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18346 entire buffer list (Bug#8184).
18347
18348 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18349
18350 * image.el (imagemagick-types-inhibit)
18351 (imagemagick-register-types): Doc fix.
18352
18353 2011-05-29 Deniz Dogan <deniz@dogan.se>
18354
18355 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18356 default.
18357
18358 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18359
18360 * select.el: Don't perform clipboard-manager saving in hooks;
18361 leave the hooks empty.
18362
18363 2011-05-28 Leo Liu <sdl.web@gmail.com>
18364
18365 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18366 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18367 (occur-edit-mode): New major mode (Bug#8463).
18368 (occur-after-change-function): New function.
18369 (occur-engine): Give Occur tags a read-only property.
18370
18371 2011-05-28 Kevin Ryde <user42@zip.com.au>
18372
18373 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18374
18375 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18376
18377 * bindings.el (help-echo): Make the initial non-indicator dash
18378 empty on graphical terminals (Bug#7295).
18379
18380 * files.el (auto-mode-alist): Move config rule after the
18381 in-stripping one (Bug#8547).
18382
18383 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18384
18385 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18386 setting (Bug#8740).
18387
18388 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18389
18390 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18391 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18392 (Bug#8539).
18393
18394 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18395
18396 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18397
18398 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18399
18400 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18401 (hs-hide-block-at-point, hs-find-block-beginning)
18402 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18403 (Bug#8279).
18404
18405 2011-05-28 Glenn Morris <rgm@gnu.org>
18406
18407 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18408
18409 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18410
18411 * help-fns.el (describe-function-1): If the function is a derived
18412 major mode, print the parent mode.
18413
18414 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18415 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18416
18417 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18418
18419 * minibuffer.el (completion--capf-wrapper): Check applicability before
18420 returning non-nil for non-exclusive completion data.
18421 * progmodes/etags.el (tags-completion-at-point-function):
18422 * info-look.el (info-lookup-completions-at-point): Mark as
18423 non-exclusive.
18424 (info-complete): Adjust accordingly.
18425
18426 * info-look.el: Convert to lexical-binding and completion-at-point.
18427 (info-lookup-completions-at-point): New function.
18428 (info-complete): Use it and completion-in-region.
18429
18430 2011-05-28 Drew Adams <drew.adams@oracle.com>
18431
18432 * isearch.el: Let M-e start with point at the first mismatched char.
18433 (isearch-fail-pos): New function.
18434 (isearch-edit-string): Use it.
18435
18436 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18437
18438 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18439
18440 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18441
18442 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18443 traversal functions for avl-trees.
18444 (avl-tree--stack): New struct.
18445 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18446 (avl-tree-enter): Add optional `updatefun' arg.
18447 (avl-tree--do-enter): Add optional `updatefun' arg.
18448 Change return value.
18449 (avl-tree-delete): Add optional `test' and `nilflag' args.
18450 (avl-tree--do-delete): Add `test' and `nilflag' args.
18451 Change return value.
18452 (avl-tree-member): Add optional `nilflag'
18453 (avl-tree-member-p): New function.
18454 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18455 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18456 (avl-tree-stack-empty-p): New functions.
18457
18458 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18459 avl-tree--del-balance1 and make it work both ways.
18460 (avl-tree--del-balance2): Remove.
18461 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18462 make it work both ways.
18463 (avl-tree--enter-balance2): Remove.
18464 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18465 New macros.
18466 (avl-tree--mapc, avl-tree-map): Add direction argument.
18467
18468 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18469
18470 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18471
18472 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18473
18474 * select.el: Support clipboard managers with built-in function
18475 x-clipboard-manager-save, via delete-frame-functions and
18476 kill-emacs-hook.
18477 (xselect-convert-to-targets): Add MULTIPLE target to list.
18478 (xselect-convert-to-save-targets): New function.
18479
18480 2011-05-27 Kenichi Handa <handa@m17n.org>
18481
18482 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18483 let-binding rfc2047-encode-encoded-words to nil.
18484
18485 2011-05-27 Glenn Morris <rgm@gnu.org>
18486
18487 * mail/emacsbug.el: Don't require url-util.
18488
18489 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18490
18491 * files.el (set-auto-mode):
18492 Also respect mode: entries at the end of the file. (Bug#8586)
18493
18494 2011-05-26 Glenn Morris <rgm@gnu.org>
18495
18496 * files.el (hack-local-variables-prop-line, hack-local-variables):
18497 Downcase mode names, as seems to be traditional.
18498 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18499
18500 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18501 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18502
18503 2011-05-25 Julien Danjou <julien@danjou.info>
18504
18505 * textmodes/rst.el (rst-define-level-faces): Do not define face
18506 symbol if it is already defined.
18507
18508 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18509
18510 * play/5x5.el (5x5-new-game, 5x5-randomize):
18511 Reset 5x5-solver-output to nil when a new grid is cast.
18512 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18513 these debugging traces, as defmacro breaks the compiled code.
18514
18515 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18516
18517 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18518
18519 2011-05-24 Leo Liu <sdl.web@gmail.com>
18520
18521 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18522 (vc-bzr-sha1): Adapt.
18523
18524 * sha1.el: Remove. Function `sha1' is now builtin.
18525
18526 * bindings.el: Provide sha1 feature.
18527
18528 2011-05-24 Kenichi Handa <handa@m17n.org>
18529
18530 * mail/sendmail.el: Require `rfc2047'.
18531 (mail-insert-from-field): Do not perform RFC2047 encoding.
18532 (mail-encode-header): New function.
18533 (sendmail-send-it): Set buffer-file-coding-system of the work
18534 buffer to the return value of select-message-coding-system.
18535 Call mail-encode-header.
18536
18537 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18538
18539 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18540
18541 * mail/supercite.el (sc-default-cite-frame):
18542 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18543
18544 2011-05-24 Glenn Morris <rgm@gnu.org>
18545
18546 * progmodes/python.el (brm-menu): Declare.
18547
18548 * emulation/viper.el (viper-set-hooks): Declare.
18549
18550 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18551 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18552 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18553 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18554 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18555 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18556
18557 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18558
18559 Add an :exit-function for completion-at-point.
18560
18561 * minibuffer.el (completion--done): New fun.
18562 (completion--do-completion): Use it. New arg `expect-exact'.
18563 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18564 since completion--do-completion does it for us now.
18565 (minibuffer-force-complete): Use completion--done and
18566 completion--replace. Handle sole-completion case with more care.
18567 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18568 (completion-extra-properties): New var.
18569 (completion-annotate-function): Make obsolete.
18570 (minibuffer-completion-help): Adjust accordingly.
18571 Use completion-list-insert-choice-function.
18572 (completion-at-point, completion-help-at-point):
18573 Bind completion-extra-properties.
18574 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18575 * simple.el (completion-list-insert-choice-function): New var.
18576 (completion-setup-function): Preserve it.
18577 (choose-completion): Pay attention to it, shuffle the code a bit.
18578 (choose-completion-string): New arg `insert-function'.
18579
18580 * textmodes/bibtex.el: Convert to lexical binding.
18581 (bibtex-mode-map): Use completion-at-point.
18582 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18583 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18584 (bibtex-complete): Define as obsolete alias.
18585 (bibtex-complete-internal): Remove.
18586 (bibtex-format-entry): Remove unused sub-group in regexp.
18587 * shell.el (shell--command-completion-data)
18588 (shell-environment-variable-completion):
18589 * pcomplete.el (pcomplete-completions-at-point):
18590 * comint.el (comint--complete-file-name-data): Use :exit-function
18591 instead of completion-table-with-terminator so it also works for
18592 choose-completion.
18593
18594 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18595
18596 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18597
18598 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18599 (bug#8710).
18600
18601 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18602
18603 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18604
18605 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18606 customization variable and implement: If non-nil, auto-fill will
18607 be inhibited while on topic's header line.
18608
18609 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18610
18611 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18612 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18613 always have a solution in grid size = 5 cases.
18614 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18615 (5x5-solver-output, 5x5-log-buffer): New vars.
18616 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18617 Make these variables buffer local to achieve 5x5 multi-session-ness.
18618 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18619 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18620 (5x5-solve-suggest): New funs.
18621 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18622 randomize a grid so that we ensure that there is always a solution.
18623 (5x5-make-random-grid): Allow other movement than flipping.
18624
18625 2011-05-23 Kevin Ryde <user42@zip.com.au>
18626
18627 * emacs-lisp/advice.el (ad-read-advised-function):
18628 Use `function-called-at-point' as the default, if it has
18629 advice and passes PREDICATE.
18630
18631 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18632
18633 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18634 byte-compile-lambda if it's actually a lambda.
18635
18636 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18637 Fix function quoting. Use backquote better.
18638
18639 2011-05-22 Yuanle Song <sylecn@gmail.com>
18640
18641 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18642 matching (Bug#8516).
18643
18644 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18645
18646 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18647 different face (Bug#8178).
18648
18649 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18650
18651 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18652 defface (Bug#8144).
18653
18654 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18655
18656 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18657 funcall as well (bug#8712). Warn when performing those conversions.
18658 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18659
18660 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18661
18662 2011-05-22 Glenn Morris <rgm@gnu.org>
18663
18664 * files.el (hack-local-variables-prop-line): Small simplifications.
18665 (hack-local-variables, hack-local-variables-prop-line):
18666 If MODE-ONLY, return the mode, rather than just `t'.
18667
18668 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18669
18670 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18671
18672 2011-05-21 Glenn Morris <rgm@gnu.org>
18673
18674 * files.el (hack-local-variables-prop-line, hack-local-variables):
18675 If only interested in the mode, don't bother doing the other stuff.
18676
18677 * image-mode.el (image-after-revert-hook):
18678 Redraw all frames on which the image is visible. (Bug#8567)
18679
18680 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18681
18682 * wid-edit.el (widget-checklist-match-inline):
18683 Fix 2011-04-19 change. (Bug#8649)
18684
18685 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18686
18687 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18688 Also allow singlespace after single-letter capitals followed by a dot.
18689
18690 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18691 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18692
18693 2011-05-20 Nix <nix@esperi.org.uk>
18694
18695 * files.el (basic-save-buffer-2):
18696 Fix handling of break-hardlink-on-save with non-existent files.
18697
18698 2011-05-19 Deniz Dogan <deniz@dogan.se>
18699
18700 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18701 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18702
18703 2011-05-19 Glenn Morris <rgm@gnu.org>
18704
18705 * progmodes/f90.el (f90-type-def-re):
18706 Handle "type, bind(c)". (Bug#8691)
18707
18708 * emacs-lisp/autoload.el (batch-update-autoloads):
18709 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18710
18711 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18712
18713 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18714 property for the correct connection in case of multihops.
18715
18716 2011-05-18 Glenn Morris <rgm@gnu.org>
18717
18718 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18719 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18720
18721 Rationalize calendar handling of day and month abbrev-arrays.
18722 * calendar/calendar.el (calendar-customized-p): New function.
18723 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18724 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18725 Add :set function.
18726 (calendar-abbrev-length, calendar-day-abbrev-array)
18727 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18728 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18729 Elements may no longer be nil.
18730 (calendar-day-name, calendar-month-name):
18731 Update for changed nature of abbrev arrays.
18732 * calendar/diary-lib.el (diary-name-pattern):
18733 Update for changed nature of abbrev arrays.
18734 (diary-mark-entries-1): Update calendar-make-alist calls.
18735 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18736 * calendar/cal-html.el (cal-html-day-abbrev-array):
18737 Simply inherit from calendar-day-abbrev-array.
18738
18739 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18740
18741 * progmodes/grep.el (grep-mode): Disable default
18742 compilation-directory-matcher setting (bug#8684).
18743
18744 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18745
18746 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18747 instead of "head" and "tail". There were problems with SunOS 5.9,
18748 and it performs better.
18749
18750 2011-05-17 Glenn Morris <rgm@gnu.org>
18751
18752 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18753
18754 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18755 Replace obsolete function.
18756
18757 * shell.el (pcomplete-parse-arguments-function): Declare.
18758
18759 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18760 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18761 (appt-check): Doc fixes.
18762 (appt-disp-window-function, appt-delete-window-function):
18763 Remove needless special case in custom :type.
18764 (appt-display-count): Default to 0, not nil.
18765 (appt-check): Reset appt-display-count to 0, not nil.
18766
18767 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18768
18769 * progmodes/python.el (python-font-lock-keywords):
18770 Add the Python 3.X keyword "nonlocal" (bug#8639).
18771
18772 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18773
18774 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18775
18776 2011-05-16 Kevin Ryde <user42@zip.com.au>
18777
18778 * info-look.el (makefile-automake-mode): New setups, looking in
18779 automake manual, then makefile-mode.
18780 (makefile-mode): Remove automake manual, have it just in
18781 makefile-automake-mode since there's various things different or
18782 not relevant to plain make.
18783 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18784 believe a hypothetical automake-mode would go to makefile-mode,
18785 not the other way around.
18786
18787 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18788
18789 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18790 hunk-end tags (Bug#8672).
18791
18792 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18793 vc-annotate-show-diff-revision-at-line (Bug#8671).
18794
18795 2011-05-14 Glenn Morris <rgm@gnu.org>
18796
18797 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18798 in the middle of an existing one with multiple authors. (Bug#8645)
18799 (change-log-font-lock-keywords): Also handle multiple author lines
18800 with leading tabs. (Bug#8644)
18801
18802 * calendar/appt.el (appt-check): Rename some local variables.
18803 Some simplification/reordering.
18804
18805 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18806 (feedmail-sendmail-f-doesnt-sell-me-out)
18807 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18808 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18809 (feedmail-queue-runner-message-sender): Set :version.
18810 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18811 (bbdb-dwim-net-address, vm-mail): Declare.
18812 (feedmail-binmail-gnulinuxish-template):
18813 Rename from feedmail-binmail-linuxish-template.
18814 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18815 Use insert-buffer-substring.
18816
18817 2011-05-14 Bill Carpenter <bill@carpenter.org>
18818
18819 * mail/feedmail.el (feedmail-patch-level): Increase.
18820 (feedmail-debug): New custom group.
18821 (feedmail-confirm-outgoing-timeout)
18822 (feedmail-sendmail-f-doesnt-sell-me-out)
18823 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18824 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18825 (feedmail-sender-line, feedmail-from-line)
18826 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18827 (feedmail-spray-this-address)
18828 (feedmail-spray-address-fiddle-plex-list)
18829 (feedmail-queue-use-send-time-for-date)
18830 (feedmail-queue-use-send-time-for-message-id)
18831 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18832 (feedmail-buffer-eating-function):
18833 Doc fixes.
18834 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18835 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18836 (feedmail-message-action-scroll-down): New functions.
18837 (feedmail-queue-directory, feedmail-queue-draft-directory):
18838 Use expand-file-name.
18839 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18840 Remove C-v help entry.
18841 (feedmail-queue-buffer-file-name): New variable.
18842 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18843 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18844 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18845 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18846 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18847 (feedmail-message-action-toggle-spray)
18848 (feedmail-run-the-queue-no-prompts)
18849 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18850 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18851 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18852 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18853 (feedmail-envelope-deducer, feedmail-fiddle-from)
18854 (feedmail-fiddle-sender, feedmail-default-date-generator)
18855 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18856 (feedmail-fiddle-spray-address)
18857 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18858 (feedmail-fiddle-list-of-fiddle-plexes)
18859 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18860 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18861 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18862 Change default. Doc fix.
18863 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18864 (feedmail-binmail-linuxish-template): New constant.
18865 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18866 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18867 (feedmail-send-it): Add debug call.
18868 Use feedmail-queue-buffer-file-name, and
18869 feedmail-send-it-immediately-wrapper.
18870 (feedmail-message-action-send): Add debug call.
18871 Use feedmail-send-it-immediately-wrapper.
18872 (feedmail-queue-express-to-queue): Add debug call.
18873 Run feedmail-queue-express-hook.
18874 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18875 (feedmail-message-action-help-blat):
18876 Rename from feedmail-queue-send-edit-prompt-help-first.
18877 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18878 Check line-endings. Handle errors better.
18879 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18880 Doc fix. Add debug call.
18881 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18882 Use feedmail-queue-send-edit-prompt-inner.
18883 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18884 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18885 from feedmail-queue-send-edit-prompt.
18886 (feedmail-queue-send-edit-prompt-help)
18887 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18888 (feedmail-tidy-up-slug): Add debug call.
18889 Respect feedmail-queue-slug-suspect-regexp.
18890 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18891 (feedmail-dump-message-to-queue): Add debug call.
18892 Expand queue-directory.
18893 (feedmail-dump-message-to-queue): Change message slightly.
18894 Use feedmail-say-chatter.
18895 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18896 (feedmail-send-it-immediately-wrapper): New function.
18897 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18898 Insert empty string rather than newline. Handle full-frame case.
18899 Use catch/throw. Use feedmail-say-chatter.
18900 (feedmail-fiddle-from): Try mail-host-address.
18901 (feedmail-default-message-id-generator): Doc fix.
18902 Bind system-time-locale. Handle missing end.
18903 (feedmail-fiddle-x-mailer): Add debug call.
18904 Handle feedmail-x-mailer-line being nil.
18905 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18906 Add debug call. Use buffer-substring-no-properties.
18907 (feedmail-say-debug, feedmail-say-chatter): New functions.
18908 (feedmail-find-eoh): Give an explicit error.
18909
18910 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18911
18912 * net/newst-treeview.el (newsticker-treeview-face): Change default
18913 family from helvetica to sans.
18914 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18915 etc/images/newsticker.
18916
18917 * net/newst-reader.el (newsticker-feed-face): Change default
18918 family from helvetica to sans.
18919
18920 * net/newst-plainview.el (newsticker-new-item-face)
18921 (newsticker-old-item-face, newsticker-immortal-item-face)
18922 (newsticker-obsolete-item-face, newsticker-date-face)
18923 (newsticker-statistics-face): Change default family from
18924 helvetica to sans.
18925 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18926 etc/images/newsticker.
18927
18928 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18929 (newsticker--process-auto-mark-filter-match): Tell user about
18930 auto-marking.
18931
18932 2011-05-13 Didier Verna <didier@xemacs.org>
18933
18934 Common Lisp indentation improvements on defmethod and lambda-lists.
18935 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18936 TODO entries.
18937 (lisp-lambda-list-keyword-parameter-indentation)
18938 (lisp-lambda-list-keyword-parameter-alignment)
18939 (lisp-lambda-list-keyword-alignment): New customizable user options.
18940 (lisp-indent-defun-method): Improve docstring.
18941 (extended-loop-p): Fix comment.
18942 (lisp-indent-lambda-list-keywords-regexp): New variable.
18943 (lisp-indent-lambda-list): New function.
18944 (lisp-indent-259): Use it.
18945 (lisp-indent-defmethod): Support for more than one
18946 method qualifier and properly indent methods lambda-lists.
18947 (defgeneric): Provide a missing common-lisp-indent-function property.
18948
18949 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18950
18951 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18952 bounds for the empty string (bug#8667).
18953
18954 2011-05-13 Glenn Morris <rgm@gnu.org>
18955
18956 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18957
18958 * mail/sendmail.el (sendmail-program): Try executable-find first.
18959 (sendmail-send-it): `sendmail-program' cannot be unbound.
18960
18961 * calendar/appt.el (appt-make-list): Simplify.
18962 (appt-time-msg-list): Doc fix.
18963 (appt-check): Change mode-line message at the time of the appointment.
18964
18965 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18966
18967 * progmodes/ld-script.el (ld-script-keywords)
18968 (ld-script-builtins): Update keywords list.
18969
18970 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18973
18974 * shell.el (shell-completion-vars): New function.
18975 (shell-mode):
18976 * simple.el (read-shell-command): Use it.
18977 (blink-matching-open): No need for " [...]" in minibuffer-message.
18978
18979 2011-05-12 Glenn Morris <rgm@gnu.org>
18980
18981 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18982 (appt-check): Simplify.
18983
18984 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18985
18986 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18987 literal "/dev/null".
18988
18989 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18990
18991 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18992 Fix typo.
18993
18994 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18995
18996 * progmodes/which-func.el (which-function):
18997 Use add-log-current-defun instead of add-log-current-defun-function,
18998 which might not be defined (Bug#8260).
18999
19000 2011-05-12 Glenn Morris <rgm@gnu.org>
19001
19002 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19003 Let byte-compile-initial-macro-environment always take precedence.
19004
19005 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19006
19007 * net/rcirc.el: Add support for SSL/TLS connections.
19008 (rcirc-server-alist): New field `encryption'.
19009 (rcirc): Check `encryption' settings.
19010 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19011 Merge make-local-variable into `set'.
19012 (rcirc--connection-open-p): New function.
19013 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19014 the process is not a network process (e.g. running gnutls-cli).
19015 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19016 Make rcirc-(en|de)code-coding-system local here.
19017 (rcirc-mode): Merge make-local-variable into `set'.
19018 (rcirc-parent-buffer): Make permanent buffer-local.
19019 (rcirc-multiline-minor-mode): Don't do it here.
19020 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19021 there's no server buffer.
19022
19023 2011-05-11 Glenn Morris <rgm@gnu.org>
19024
19025 * newcomment.el (comment-kill): Prefix "unused" local.
19026
19027 * term/w32console.el (get-screen-color): Declare.
19028
19029 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19030 Handle symbol elements of byte-compile-initial-macro-environment.
19031
19032 2011-05-10 Leo Liu <sdl.web@gmail.com>
19033
19034 * bookmark.el (bookmark-bmenu-mode-map):
19035 Bind bookmark-bmenu-search to `/'.
19036
19037 * mail/footnote.el: Convert to utf-8 encoding.
19038 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19039 (Footnote-unicode): New function.
19040 (footnote-style-alist): Add unicode style to the list.
19041 (footnote-style): Doc fix.
19042
19043 2011-05-10 Jim Meyering <meyering@redhat.com>
19044
19045 Fix doubled-word typos.
19046 * international/quail.el (quail-insert-kbd-layout): and and -> and
19047 * kermit.el: and and -> and
19048 * net/ldap.el (ldap-search-internal): to to -> to
19049 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19050 * progmodes/js.el (js-mode): and and -> and
19051 * textmodes/artist.el (artist-move-to-xy): at at -> at
19052 (artist-draw-region-trim-line-endings): if if -> if
19053 And Safetyc -> Safety.
19054 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19055
19056 2011-05-10 Glenn Morris <rgm@gnu.org>
19057 Stefan Monnier <monnier@iro.umontreal.ca>
19058
19059 * files.el (hack-one-local-variable-eval-safep):
19060 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19061
19062 2011-05-10 Glenn Morris <rgm@gnu.org>
19063
19064 * calendar/diary-lib.el (diary-list-entries-hook)
19065 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19066 (diary-nongregorian-marking-hook, diary-list-entries)
19067 (diary-include-other-diary-files, diary-mark-entries)
19068 (diary-mark-included-diary-files): Doc fixes.
19069
19070 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19071
19072 * misc.el: Require tabulated-list.el during compilation.
19073
19074 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19075
19076 * progmodes/compile.el (compilation-start):
19077 Run compilation-filter-hook for the async case too.
19078 (compilation-filter-hook): Doc fix.
19079
19080 2011-05-09 Deniz Dogan <deniz@dogan.se>
19081
19082 * wdired.el: Remove outdated installation comment. Fix usage
19083 comment.
19084
19085 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19086
19087 * misc.el: Implement new command `list-dynamic-libraries'.
19088 (list-dynamic-libraries--loaded-only-p): New variable.
19089 (list-dynamic-libraries--refresh): New function.
19090 (list-dynamic-libraries): New command.
19091
19092 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19093
19094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19095 Fix the ant regexp to handle end-line and end-column info from jikes.
19096 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19097 higher priority to avoid clobbering by gnu.
19098
19099 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19100
19101 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19102 if the face has existing theme settings (Bug#8454).
19103
19104 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19105
19106 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19107 Only match variables declared via `my' or `our' (Bug#8261).
19108
19109 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19110 special file names `.' and `..' (Bug#8259).
19111
19112 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19113
19114 * progmodes/grep.el (grep-mode-font-lock-keywords):
19115 Remove buffer-changing entries.
19116 (grep-filter): New function.
19117 (grep-mode): Add it to compilation-filter-hook.
19118
19119 * progmodes/compile.el (compilation-filter-hook)
19120 (compilation-filter-start): New defvars.
19121 (compilation-filter): Call compilation-filter-hook prior to
19122 updating the process mark.
19123
19124 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19125
19126 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19127
19128 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19129
19130 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19131 mailclient-send-it even if window-system is nil. (Bug#8595)
19132
19133 * term/w32console.el (terminal-init-w32console):
19134 Call get-screen-color and use its output to set the frame
19135 background-mode. (Bug#8597)
19136
19137 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19138
19139 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19140 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19141 New functions.
19142 (defgeneric, eieio--defmethod): Use them.
19143 (eieio-defgeneric): Remove.
19144 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19145
19146 2011-05-07 Glenn Morris <rgm@gnu.org>
19147
19148 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19149 Use let rather than let*.
19150 (timeclock-find-discrep): Remove unused local.
19151
19152 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19153
19154 * calendar/appt.el (appt-time-msg-list): Doc fix.
19155
19156 2011-05-06 Noah Friedman <friedman@splode.com>
19157
19158 * apropos.el (apropos-print-doc): Only use
19159 emacs-lisp-docstring-fill-column when it is bound to an integer,
19160 per that variable's documentation.
19161
19162 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19163
19164 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19165 and warnings are not silently discarded (e.g. use -d instead of -P).
19166
19167 2011-05-06 Glenn Morris <rgm@gnu.org>
19168
19169 * calendar/appt.el (appt-message-warning-time): Doc fix.
19170 (appt-warning-time-regexp): New option.
19171 (appt-make-list): Respect appt-message-warning-time.
19172
19173 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19174 New options.
19175 (diary-add-to-list): Strip comments from the displayed string.
19176 (diary-mode): Set comment-start and comment-end.
19177
19178 * vc/diff-mode.el (smerge-refine-subst): Declare.
19179 (diff-refine-hunk): Don't require smerge-mode when compiling.
19180
19181 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19182
19183 * simple.el (list-processes): Return nil as the docstring says.
19184
19185 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19186
19187 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19188 to "".
19189 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19190 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19191 determining of binary transfer. (Bug#7383)
19192
19193 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19194
19195 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19196 Fix port computation bug. (Bug#8618)
19197
19198 2011-05-05 Glenn Morris <rgm@gnu.org>
19199
19200 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19201
19202 * simple.el (shell-dynamic-complete-functions)
19203 (comint-dynamic-complete-functions): Declare.
19204
19205 * net/network-stream.el (gnutls-negotiate):
19206 * simple.el (tabulated-list-print): Fix declarations.
19207
19208 * progmodes/gud.el (syntax-symbol, syntax-point):
19209 Remove unnecessary and incorrect declarations.
19210
19211 * emacs-lisp/check-declare.el (check-declare-scan):
19212 Handle byte-compile-initial-macro-environment in bytecomp.el.
19213
19214 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19215
19216 Fix earlier half-done eieio-defmethod change (bug#8338).
19217 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19218 Streamline and change calling convention.
19219 (defmethod): Adjust accordingly and simplify.
19220 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19221 new eieio--defmethod.
19222 (slot-boundp): Minor CSE simplification.
19223
19224 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19225
19226 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19227 (glasses-make-readable): Use glasses-separate-capital-groups.
19228
19229 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19230
19231 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19232 (warning-series): Doc fix.
19233 (display-warning): Don't try to create the buffer if we just found it.
19234
19235 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19236
19237 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19238 (autoload-find-generated-file): New function.
19239 (generate-file-autoloads): Bind generated-autoload-file to
19240 buffer-file-name.
19241 (update-file-autoloads, update-directory-autoloads):
19242 Use autoload-find-generated-file. If called interactively, prompt for
19243 output file (Bug#7989).
19244 (batch-update-autoloads): Doc fix.
19245
19246 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19247
19248 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19249
19250 2011-05-04 Glenn Morris <rgm@gnu.org>
19251
19252 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19253 function, so it follows changes in calendar-date-style.
19254 (diary-fancy-date-matcher): New function.
19255 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19256 (diary-fancy-font-lock-fontify-region-function):
19257 Use diary-fancy-date-pattern as a function.
19258
19259 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19260 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19261
19262 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19263
19264 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19265 instead of positional arguments. Allow :keylist and :crlfiles
19266 arguments.
19267 (open-gnutls-stream): Call it.
19268
19269 * net/network-stream.el (network-stream-open-starttls): Adjust to
19270 call `gnutls-negotiate' with :process and :hostname arguments.
19271
19272 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19273
19274 * minibuffer.el (completion--message): New function.
19275 (completion--do-completion, minibuffer-complete)
19276 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19277 (completion--do-completion): Don't ignore completion-auto-help when in
19278 icomplete-mode.
19279
19280 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19281 internal encoding (e.g. tibetan zero is not whitespace).
19282 (global-whitespace-mode): Prefer save-current-buffer.
19283 (whitespace-trailing-regexp): Remove useless save-match-data.
19284 (whitespace-empty-at-bob-regexp): Minor simplification.
19285
19286 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19287
19288 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19289
19290 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19291
19292 * textmodes/ispell.el (ispell-add-per-file-word-list):
19293 Use `concat' to create string for insertion.
19294
19295 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19296
19297 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19298 Avoid open-line which runs post-self-insert-hook.
19299 (bibtex-fill-entry): Remove unused `end' var.
19300
19301 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19302
19303 * textmodes/ispell.el (ispell-add-per-file-word-list):
19304 Protect against `nil' value of `comment-start' (Bug#8579).
19305
19306 2011-05-03 Leo Liu <sdl.web@gmail.com>
19307
19308 * isearch.el (isearch-yank-pop): New command.
19309 (isearch-mode-map): Bind it to `M-y'.
19310 (isearch-forward): Mention it.
19311
19312 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19313
19314 * simple.el (minibuffer-complete-shell-command): Remove.
19315 (minibuffer-local-shell-command-map): Use completion-at-point.
19316 (read-shell-command): Setup completion vars here instead.
19317 (read-expression-map): Bind TAB to symbol completion.
19318
19319 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19320 error directly rather via storing it into `results'.
19321
19322 2011-05-02 Leo Liu <sdl.web@gmail.com>
19323
19324 * vc/diff.el: Fix description.
19325
19326 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19327
19328 * server.el (server-eval-at): New function.
19329
19330 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19331
19332 * net/network-stream.el (open-network-stream): Take a :nowait
19333 parameter and pass it on to `make-network-process'.
19334 (network-stream-open-plain): Ditto.
19335
19336 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19337
19338 * faces.el (face-spec-set-match-display): Don't match toolkit
19339 options on terminal frames.
19340
19341 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * progmodes/pascal.el: Use lexical binding.
19344 (pascal-mode-map): Remove author preferences.
19345
19346 * pcomplete.el (pcomplete-std-complete): Don't abuse
19347 completion-at-point.
19348
19349 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19350
19351 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19352 removing code that has been dead since 1991 or so.
19353
19354 * startup.el (command-line): When warning about "_emacs", use a
19355 delayed warning to allow the user to filter it out.
19356
19357 2011-04-28 Deniz Dogan <deniz@dogan.se>
19358
19359 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19360 user has not joined.
19361
19362 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19363
19364 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19365 aren't any completions at point.
19366
19367 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19368
19369 * subr.el (display-delayed-warnings): New function.
19370 (delayed-warnings-hook): New variable.
19371
19372 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19373
19374 * minibuffer.el (completion-at-point, completion-help-at-point):
19375 Don't presume that a given completion-at-point-function will always
19376 use the same calling convention.
19377
19378 * pcomplete.el (pcomplete-completions-at-point):
19379 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19380 pcomplete-seen is non-nil.
19381 (pcomplete-comint-setup): Also recognize the new comint/shell
19382 completion functions.
19383 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19384 pcomplete-seen is non-nil.
19385
19386 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19387
19388 * calendar/icalendar.el (diary-lib): Add require statement.
19389 (icalendar--create-uid): Read out a uid from a text-property on
19390 the first character in the entry. This allows for code to add its
19391 own uid to the entry.
19392 (icalendar--convert-float-to-ical): Add export of
19393 `diary-float'-entries save for those with the optional DAY
19394 argument.
19395
19396 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19397
19398 * subr.el (shell-quote-argument): Use alternate escaping strategy
19399 when we spot a variable reference in a string.
19400
19401 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19402
19403 * cus-start.el (all): Define customization for debug-on-event.
19404
19405 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19406
19407 * subr.el (shell-quote-argument): Escape correctly under Windows.
19408
19409 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19410
19411 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19412
19413 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19414
19415 * net/tramp.el (tramp-process-actions): Add POS argument.
19416 Delete region between POS and (pos).
19417
19418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19419 Use `nil' position in `tramp-process-actions' call.
19420 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19421
19422 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19423 position in `tramp-process-actions' call.
19424
19425 * net/trampver.el: Update release number.
19426
19427 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * custom.el (defcustom): Obey lexical-binding.
19430
19431 Fix octave-inf completion problems reported by Alexander Klimov.
19432 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19433 Inherit from octave-mode-syntax-table.
19434 (inferior-octave-mode): Set info-lookup-mode.
19435 (inferior-octave-completion-at-point): New function.
19436 (inferior-octave-complete): Use it and completion-in-region.
19437 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19438 comint-filename-completion.
19439 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19440 symbol elements which shouldn't be word elements.
19441 (octave-font-lock-keywords, octave-beginning-of-defun)
19442 (octave-function-header-regexp): Adjust regexps accordingly.
19443 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19444
19445 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19446
19447 * net/gnutls.el (gnutls-errorp): Declare before first use.
19448
19449 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19450
19451 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19452 verify-error, and verify-hostname-error parameters. Check whether
19453 default trustfile exists before going to use it. Add missing
19454 argument to gnutls-message-maybe call. Return value.
19455 Reported by Claudio Bley <claudio.bley@gmail.com>.
19456 (open-gnutls-stream): Add usage example.
19457
19458 * net/network-stream.el (network-stream-open-starttls): Give host
19459 parameter to `gnutls-negotiate'.
19460 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19461 * subr.el (shell-quote-argument): Escape correctly under Windows.
19462
19463 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19464
19465 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19466 Use correct match group (bug#8438).
19467
19468 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19469
19470 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19471 (package-menu--generate): New arg specifying packages to show.
19472 (package-menu-refresh, package-menu-execute, list-packages):
19473 Callers changed.
19474 (package-show-package-list): New function, replacing deleted
19475 package--list-packages (renamed because it is non-internal).
19476
19477 * finder.el (finder-list-matches): Use package-show-package-list
19478 instead of deleted package--list-packages.
19479
19480 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19481 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19482 (vc-annotate-mode-map): Bind it to RET.
19483
19484 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19485
19486 * progmodes/etags.el (next-file): Don't use set-buffer to change
19487 buffers (Bug#8478).
19488
19489 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19490
19491 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19492
19493 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19494 (apropos-accumulator): Doc fix.
19495 (apropos-function, apropos-macro, apropos-command)
19496 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19497 (apropos-plist): Add face property.
19498 (apropos-symbols-internal): Fix indentation.
19499 (apropos-print): Simplify help, and recognize apropos-multi-type.
19500 (apropos-print-doc): Use button-type-get to extract the button's
19501 face property. Fill docstring (Bug#8352).
19502
19503 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19504
19505 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19506
19507 * play/mpuz.el (mpuz-silent): Doc fix.
19508 (mpuz-mode-map): Use mapc.
19509 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19510 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19511 Fix typos in docstrings.
19512
19513 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19514 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19515
19516 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19517
19518 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19519
19520 * minibuffer.el (completion--do-completion): Avoid the "Next char
19521 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19522
19523 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19524 mouse-2 into unread-command-events, it is interpreted correctly.
19525
19526 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19527 (image-toggle-display): Doc fix.
19528
19529 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19530
19531 * textmodes/page.el (what-page): Use line-number-at-pos to
19532 calculate line number (Bug#6825).
19533
19534 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19535
19536 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19537 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19538 Pass argument NO-DEFAULT to `find-tag-interactive'.
19539
19540 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19541
19542 Lexical-binding cleanup.
19543
19544 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19545 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19546 * progmodes/ada-prj.el (ada-prj-initialize-values)
19547 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19548 (ada-prj-show-value):
19549 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19550 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19551 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19552 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19553 * progmodes/bug-reference.el (bug-reference-push-button):
19554 * progmodes/fortran.el (fortran-line-length):
19555 * progmodes/glasses.el (glasses-change):
19556 * progmodes/octave-mod.el (octave-fill-paragraph):
19557 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19558 (python-pdbtrack-grub-for-buffer, python-sentinel):
19559 * progmodes/sql.el (sql-save-connection):
19560 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19561 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19562 Mark unused parameters.
19563
19564 * progmodes/compile.el (compilation--flush-directory-cache)
19565 (compilation--flush-parse, compile-internal): Mark unused parameters.
19566 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19567 (compilation-next-error-function): Remove unused variable `timestamp'.
19568
19569 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19570 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19571
19572 * progmodes/dcl-mode.el (dcl-end-of-command):
19573 Remove unused variable `start'.
19574 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19575 (dcl-option-value-basic, dcl-option-value-offset)
19576 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19577 Mark unused parameters.
19578 (dcl-save-local-variable): Remove unused variable `val'.
19579 (mode): Declare.
19580
19581 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19582 Mark unused parameters.
19583 (delphi-ignore-changes): Move before first use.
19584 (delphi-charset-token-at): Remove unused variable `start'.
19585 (delphi-else-start): Remove unused variable `if-count'.
19586 (delphi-comment-block-start, delphi-comment-block-end):
19587 Remove unused variable `kind'.
19588 (delphi-indent-line): Remove unused variable `new-point'.
19589
19590 * progmodes/ebrowse.el (ebrowse-files-list)
19591 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19592 Mark unused parameters. Don't quote `lambda'.
19593 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19594 Don't quote `lambda'.
19595 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19596 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19597 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19598 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19599 Use `ignore-errors'.
19600 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19601 (ebrowse-view/find-file-and-search-pattern)
19602 (ebrowse-view/find-member-declaration/definition):
19603 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19604 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19605 Rename parameter PREFIX-ARG to PREFIX.
19606 (ebrowse-tags-read-name): Remove unused variables `start' and
19607 `member-info'.
19608 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19609 to `tags-file'.
19610
19611 * progmodes/etags.el (local-find-tag-hook): Declare.
19612 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19613 Mark unused parameters.
19614
19615 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19616 (executable-interpret): Mark unused parameter.
19617
19618 * progmodes/flymake.el (flymake-process-sentinel)
19619 (flymake-after-change-function)
19620 (flymake-create-temp-with-folder-structure)
19621 (flymake-get-include-dirs-dot): Mark unused parameters.
19622 (flymake-safe-delete-directory): Remove unused variable `err'.
19623
19624 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19625 (speedbar-timer-fn, speedbar-line-text)
19626 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19627 (speedbar-center-buffer-smartly): Declare functions.
19628 (gdb-find-watch-expression): Remove unused variable `array'.
19629 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19630 (gdb-starting): Mark unused parameters.
19631 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19632 (gdb-table-string): Remove unused variable `res'.
19633 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19634 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19635 (gdb-display-buffer): Remove unused variable `cur-size'.
19636
19637 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19638 allow lexical-binding compilation.
19639 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19640 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19641 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19642 Mark unused parameters.
19643 (gud-gdb-marker-filter): Remove unused variable `match'.
19644 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19645 lambda expressions and funcall them, instead of using `fset'.
19646
19647 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19648 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19649
19650 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19651 variable `header-beg'; use `let'.
19652
19653 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19654 `restart', `last-sexp' and `at-do'.
19655
19656 * progmodes/js.el (js--debug): Mark unused parameter.
19657 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19658 (js--splice-into-items): Remove unused variable `item'.
19659 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19660
19661 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19662 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19663 (makefile-complete): Remove unused variable `try'.
19664 (makefile-fill-paragraph, makefile-match-function-end):
19665 Mark unused parameters.
19666
19667 * progmodes/octave-inf.el (inferior-octave-complete):
19668 Remove unused variable `proc'.
19669 (inferior-octave-output-digest): Mark unused parameter.
19670
19671 * progmodes/perl-mode.el (perl-calculate-indent):
19672 Remove unused variable `err'.
19673
19674 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19675 (prolog-indent-line): Mark unused parameters.
19676 (prolog-indent-line): Remove unused variable `beg'.
19677
19678 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19679 (reporter-dont-compact-list): Declare.
19680
19681 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19682 Remove unused variable `char'.
19683 (sh-debug): Mark unused parameter.
19684 (sh-get-indent-info): Remove unused variable `start'.
19685 (sh-calculate-indent): Remove unused variable `var'.
19686
19687 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19688 (simula-electric-keyword): Remove unused variable `null'.
19689 (simula-search-backward, simula-search-forward): Remove unused
19690 variables `begin' and `end'.
19691
19692 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19693 Remove unused variable `pos'.
19694 (vera-electric-tab, vera-comment-uncomment-region):
19695 Mark unused parameters.
19696 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19697
19698 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19699
19700 * emacs-lisp/package.el (package--builtins, package-alist)
19701 (package-load-descriptor, package-built-in-p, package-activate)
19702 (define-package, package-installed-p)
19703 (package-compute-transaction, package-buffer-info)
19704 (package--push): Doc fix. Distinguish more clearly between
19705 version strings and version lists.
19706
19707 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19708
19709 Lexical-binding cleanup.
19710
19711 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19712 (5x5-make-mutate-best):
19713 * play/fortune.el (fortune-in-buffer):
19714 * play/gomoku.el (gomoku-init-display):
19715 * play/solitaire.el (solitaire, solitaire-do-check):
19716 * play/tetris.el (tetris-default-update-speed-function):
19717 Mark unused parameters.
19718
19719 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19720 (bubbles--shift): Remove unused variable `char-org'.
19721 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19722 (bubbles--show-images): Remove unused variable `char'.
19723
19724 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19725 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19726 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19727 (decipher-analyze-buffer): Use ?\s.
19728 (decipher-make-checkpoint): Remove unused variable `mapping'.
19729
19730 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19731
19732 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19733 Remove unused variable `result'; use `let'.
19734
19735 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19736 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19737 (gametree-children-shown-p, gametree-compute-reduced-score):
19738 Use `ignore-errors'.
19739
19740 * play/handwrite.el (ps-lpr-switches): Declare.
19741 (handwrite): Remove unused variables `pmin' and `lastp'.
19742
19743 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19744
19745 * play/landmark.el (landmark-init-display)
19746 (landmark-update-naught-weights): Mark unused parameters.
19747 (landmark-y): Remove unused variable `noise'. Simplify.
19748 (landmark-human-plays): Remove unused variable `score'.
19749
19750 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19751 (mpuz-try-proposal): Remove unused variable `game'.
19752
19753 * play/zone.el (life-patterns): Declare.
19754
19755 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19756
19757 * vc/vc.el (ediff-vc-internal): Declare function.
19758
19759 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19760
19761 * shell.el: Use lexical-binding and std completion UI.
19762 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19763 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19764 comint-preoutput-filter-functions rather than on
19765 comint-output-filter-functions.
19766 (shell-command-completion, shell--command-completion-data)
19767 (shell-filename-completion, shell-environment-variable-completion)
19768 (shell-c-a-p-replace-by-expanded-directory): New functions.
19769 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19770 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19771 (shell-dynamic-complete-environment-variable): Use them.
19772 (shell-dynamic-complete-as-environment-variable)
19773 (shell-dynamic-complete-as-command): Remove.
19774 (shell-match-partial-variable): Match past point.
19775 * comint.el: Clean up use of completion-at-point-functions.
19776 (comint-completion-at-point): New function.
19777 (comint-mode): Use it completion-at-point-functions.
19778 (comint-dynamic-complete): Make it obsolete.
19779 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19780 (comint-c-a-p-replace-by-expanded-history): New function.
19781 (comint-dynamic-complete-functions)
19782 (comint-replace-by-expanded-history): Use it.
19783 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19784 termination strings. Try harder to avoid second try-completion.
19785 (completion-in-region-mode-map): Disable bindings that don't work yet.
19786
19787 * comint.el: Use lexical-binding. Require CL.
19788 (comint-dynamic-complete-functions): Use comint-filename-completion.
19789 (comint-completion-addsuffix): Tweak custom type.
19790 (comint-filename-completion, comint--common-suffix)
19791 (comint--common-quoted-suffix, comint--table-subvert)
19792 (comint--complete-file-name-data): New functions.
19793 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19794 (comint-dynamic-list-filename-completions): Use them.
19795 (comint-dynamic-simple-complete): Make obsolete.
19796
19797 * minibuffer.el (completion-in-region-mode):
19798 Keep completion-in-region-mode--predicate global.
19799 (completion-in-region--postch):
19800 Assume completion-in-region-mode--predicate is not null.
19801
19802 * progmodes/flymake.el (flymake-start-syntax-check-process):
19803 Obey `dir'. Simplify.
19804
19805 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19806 we're in VC after all.
19807
19808 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19809
19810 * vc/vc.el (vc-diff-build-argument-list-internal)
19811 (vc-version-ediff, vc-ediff): New commands.
19812 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19813
19814 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19817 add sanity check.
19818
19819 * obsolete/erc-hecomplete.el: Make obsolete.
19820 * obsolete/: Standardize obsolescence info in the header.
19821
19822 2011-04-20 Glenn Morris <rgm@gnu.org>
19823
19824 * calendar/solar.el (solar-horizontal-coordinates):
19825 Use the longitude argument rather than `calendar-longitude'.
19826 (solar-date-next-longitude): Remove unused locals.
19827
19828 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19829
19830 * whitespace.el: New version 13.2.1.
19831
19832 2011-04-20 felix <EmacsWiki> (tiny change)
19833
19834 * whitespace.el (global-whitespace-mode): Keep highlight when
19835 switching between major modes on a file.
19836
19837 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19840 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19841 multi-line comments as well.
19842
19843 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19844
19845 Lexical-binding cleanup.
19846
19847 * arc-mode.el (archive-mode-revert):
19848 * cmuscheme.el (scheme-interactively-start-process):
19849 * custom.el (custom-initialize-delay):
19850 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19851 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19852 * emacs-lock.el (emacs-lock-clear-sentinel):
19853 * ezimage.el (defezimage):
19854 * follow.el (follow-avoid-tail-recenter):
19855 * fringe.el (set-fringe-mode-1):
19856 * generic-x.el (bat-generic-mode-compile):
19857 * help-mode.el (help-info-variable, help-do-xref)
19858 (help-mode-revert-buffer):
19859 * help.el (view-emacs-todo):
19860 * iswitchb.el (iswitchb-completion-help):
19861 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19862 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19863 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19864 * locate.el (locate-update):
19865 * longlines.el (longlines-encode-region)
19866 (longlines-after-change-function):
19867 * outline.el (outline-isearch-open-invisible):
19868 * ps-def.el (declare-function, charset-dimension, char-width)
19869 (encode-char):
19870 * ps-mule.el (ps-mule-plot-string):
19871 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19872 (recentf-edit-list-select, recentf-edit-list-validate)
19873 (recentf-open-files-action):
19874 * rect.el (delete-whitespace-rectangle-line)
19875 (rectangle-number-line-callback):
19876 * register.el (window-configuration-to-register)
19877 (frame-configuration-to-register):
19878 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19879 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19880 (xselect-convert-to-targets, xselect-convert-to-delete)
19881 (xselect-convert-to-filename, xselect-convert-to-charpos)
19882 (xselect-convert-to-lineno, xselect-convert-to-colno)
19883 (xselect-convert-to-os, xselect-convert-to-host)
19884 (xselect-convert-to-user, xselect-convert-to-class)
19885 (xselect-convert-to-name, xselect-convert-to-integer)
19886 (xselect-convert-to-atom, xselect-convert-to-identity):
19887 * subr.el (declare, ignore, process-kill-without-query)
19888 (text-clone-maintain):
19889 * terminal.el (te-get-char, te-tic-sentinel):
19890 * tool-bar.el (tool-bar-make-keymap):
19891 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19892 * type-break.el (type-break-mode, type-break-noninteractive-query):
19893 * view.el (View-back-to-mark):
19894 * wid-browse.el (widget-browse-action, widget-browse-widget)
19895 (widget-browse-widgets, widget-browse-sexp):
19896 * widget.el (define-widget-keywords):
19897 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19898 Mark unused parameters.
19899
19900 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19901 (align-areas): Remove unused variable `look'.
19902 (align-region): Remove unused variables `real-end' and `pos-list'.
19903
19904 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19905
19906 * bindings.el (mode-line-modified, mode-line-remote):
19907 Mark unused parameters.
19908 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19909
19910 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19911 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19912
19913 * comint.el (comint-history-isearch-pop-state)
19914 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19915 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19916 (comint-substitute-in-file-name): Doc fix.
19917
19918 * completion.el (cmpl-statistics-block): Mark unused parameter.
19919 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19920 (save-completions-to-file, load-completions-from-file):
19921 Remove unused local variable `e'.
19922
19923 * composite.el (compose-chars): Remove unused variable `len'.
19924 (lgstring-insert-glyph): Remove unused variable `g'.
19925 (compose-glyph-string): Remove unused variables `ascent',
19926 `descent', `lbearing' and `rbearing'.
19927 (compose-glyph-string-relative): Remove unused variables
19928 `lbearing', `rbearing' and `wadjust'.
19929 (compose-gstring-for-graphic): Remove unused variables `header',
19930 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19931 (compose-gstring-for-terminal): Remove unused variables `header'
19932 and `nchars'. Use `let', not `let*'.
19933
19934 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19935 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19936 (Custom-buffer-done, custom-buffer-create-internal)
19937 (custom-browse-visibility-action, custom-browse-group-tag-action)
19938 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19939 (widget-magic-mouse-down-action, custom-toggle-parent)
19940 (custom-add-parent-links, custom-toggle-hide-variable)
19941 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19942 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19943 (custom-face-menu-create, custom-variable-menu-create, get)
19944 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19945 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19946 (customize-apropos): Remove unused variable `tests'.
19947 (custom-group-value-create): Remove unused variable `hidden-p'.
19948 (sort-fold-case): Declare.
19949
19950 * cus-theme.el (custom-reset-standard-faces-list)
19951 (custom-reset-standard-variables-list): Declare.
19952 (customize-create-theme, custom-theme-revert, custom-theme-write)
19953 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19954 Mark unused parameters.
19955
19956 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19957
19958 * delim-col.el (delimit-columns-max): Move defvar before first use.
19959
19960 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19961 (describe-char): Don't quote `lambda'. Mark unused parameter.
19962
19963 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19964 (auto-insert): Declare.
19965 (desktop-restore-file-buffer): Rename desktop-* parameters;
19966 mark unused ones.
19967 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19968 (desktop-buffer): Rename desktop-* parameters.
19969
19970 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19971 (dframe-reposition-frame-xemacs, dframe-help-echo)
19972 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19973 Mark unused parameters.
19974
19975 * dired-aux.el (backup-extract-version-start, overwrite-query)
19976 (overwrite-backup-query, rename-regexp-query)
19977 (rename-non-directory-query): Declare.
19978 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19979 (dired-add-entry): Remove unused variable `orig-file-name'.
19980 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19981 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19982 `dired-copy-preserve-time' directly.
19983 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19984 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19985
19986 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19987 (dired-virtual-revert, dired-make-relative-symlink):
19988 Mark unused parameters.
19989 (manual-program): Declare.
19990 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19991 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19992 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19993
19994 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19995
19996 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19997
19998 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19999 Declare.
20000
20001 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20002
20003 * electric.el (Electric-command-loop): Rename parameter
20004 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20005
20006 * expand.el (expand-in-literal): Remove unused variable `here'.
20007
20008 * facemenu.el (facemenu-add-new-color):
20009 Remove unused variable `docstring'.
20010
20011 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20012 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20013 (face-attr-construct): Mark unused parameter. Doc fix.
20014 (read-color): Remove unused variable `hex-string'.
20015
20016 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20017 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20018 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20019 (display-buffer-other-frame): Remove unused variable `old-window'.
20020 (kill-buffer-hook): Declare.
20021 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20022 Mark unused parameters.
20023 (after-find-file): Pass 1 to `auto-save-mode', not t.
20024
20025 * files-x.el (auto-insert): Declare.
20026 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20027
20028 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20029 variable `buf'. Mark unused parameter.
20030 (find-lisp-insert-directory): Mark unused parameter.
20031
20032 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20033 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20034 (format-common-tail): Remove, unused.
20035 (format-deannotate-region): Remove unused variable `loc'.
20036 (format-annotate-region): Remove unused variable `p'.
20037 (format-annotate-single-property-change): Remove unused variables
20038 `default' and `tail'.
20039
20040 * forms.el (read-file-filter): Declare.
20041 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20042
20043 * frame.el (frame-creation-function-alist): Mark unused parameter.
20044 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20045
20046 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20047 Remove unused parameters.
20048 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20049 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20050
20051 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20052 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20053 (hfy-prepare-tag-map): Mark unused parameters.
20054 (htmlfontify-buffer): Use `called-interactively-p'.
20055
20056 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20057 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20058 (ibuffer-do-occur): Mark unused parameters.
20059 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20060 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20061
20062 * ibuffer.el: Don't quote `lambda'.
20063 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20064 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20065 Mark unused parameters.
20066
20067 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20068 (ido-completing-read): Mark unused parameters.
20069 (ido-copy-current-word): Mark unused parameters;
20070 remove unused variable `name'.
20071 (ido-sort-merged-list): Remove unused parameter `dirs'.
20072
20073 * ielm.el (ielm-input-sender): Mark unused parameter.
20074 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20075 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20076 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20077 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20078 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20079
20080 * image-dired.el (image-dired-display-thumbs): Remove unused
20081 variables `curr-file' and `count'.
20082 (image-dired-remove-tag): Remove unused variable `start'.
20083 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20084 variable `curr-file'
20085 (image-dired-rotate-original): Remove unused variable `temp-file'.
20086 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20087 Remove unused variable `file'.
20088 (image-dired-gallery-generate): Remove unused variable `curr'.
20089 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20090
20091 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20092
20093 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20094
20095 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20096
20097 * isearch.el (minibuffer-history-symbol): Declare.
20098 (isearch-edit-string): Remove unused variable `err'.
20099 (isearch-message-prefix, isearch-message-suffix):
20100 Mark unused parameters.
20101
20102 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20103
20104 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20105
20106 * makesum.el (double-column): Remove unused variable `cnt'.
20107
20108 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20109 (ido-ignore-item-temp-list): Declare.
20110
20111 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20112 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20113 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20114 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20115 `mouse-col-delta'.
20116
20117 * mouse-sel.el (mouse-extend-internal):
20118 Remove unused variable `orig-window-frame'.
20119
20120 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20121 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20122 Move declarations before first use.
20123 (pcomplete-opt): Mark unused parameters; doc fix.
20124
20125 * proced.el (proced-revert): Mark unused parameter.
20126 (proced-send-signal): Remove unused variable `err'.
20127
20128 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20129 Rename parameter PREFIX-ARG to ARG.
20130 (ps-basic-plot-string, ps-basic-plot-whitespace):
20131 Mark unused parameters.
20132
20133 * replace.el (replace-count): Define.
20134 (occur-revert-function): Mark unused parameters.
20135 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20136 (isearch-case-fold-search, isearch-string): Declare.
20137 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20138 bind `case-fold-search'. Remove unused variables `beg' and `end',
20139 and simplify.
20140 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20141 COUNT and bind `replace-count'.
20142 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20143 to COUNT.
20144
20145 * savehist.el (print-readably, print-string-length): Declare.
20146
20147 * shadowfile.el (shadow-expand-cluster-in-file-name):
20148 Remove unused variable `cluster'.
20149 (shadow-copy-file): Remove unused variable `i'.
20150 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20151 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20152 (shadow-define-literal-group, shadow-define-regexp-group)
20153 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20154
20155 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20156 (shell): Use `called-interactively-p'.
20157 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20158
20159 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20160 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20161 (delete-backward-char): Remove unused variable `ocol'.
20162 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20163 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20164 (event-apply-hyper-modifier, event-apply-shift-modifier)
20165 (event-apply-control-modifier, event-apply-meta-modifier):
20166 Mark unused parameters.
20167 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20168 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20169
20170 * speedbar.el (speedbar-ignored-directory-expressions)
20171 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20172 (speedbar-find-file, speedbar-dir-follow)
20173 (speedbar-directory-buttons-follow, speedbar-tag-find)
20174 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20175 (speedbar-buffers-line-directory, speedbar-buffer-click):
20176 Mark unused parameters.
20177 (speedbar-tag-file): Remove unused variable `mode'.
20178 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20179
20180 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20181
20182 * talk.el (talk): Remove unused variable `display'.
20183
20184 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20185 (tar-write-region-annotate): Mark unused parameter.
20186
20187 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20188 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20189 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20190 warning by another.
20191
20192 * time-stamp.el (time-stamp-string-preprocess):
20193 Remove unused variable `require-padding'.
20194
20195 * tree-widget.el (widget-glyph-enable): Declare.
20196 (tree-widget-action): Mark unused parameter.
20197
20198 * w32-fns.el (x-get-selection): Mark unused parameter.
20199 (autoload-make-program, generated-autoload-file): Declare.
20200
20201 * wdired.el (wdired-revert): Mark unused parameters.
20202 (wdired-xcase-word): Remove unused variable `err'.
20203
20204 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20205 (whitespace-help-scroll): Remove unused variable `data-help'.
20206
20207 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20208 (widget-image-insert, widget-after-change, default)
20209 (widget-default-format-handler, widget-default-notify)
20210 (widget-default-prompt-value, widget-info-link-action)
20211 (widget-url-link-action, widget-function-link-action)
20212 (widget-variable-link-action, widget-file-link-action)
20213 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20214 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20215 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20216 (widget-insert-button-action, widget-delete-button-action, visibility)
20217 (widget-documentation-link-action, widget-documentation-string-action)
20218 (widget-const-prompt-value, widget-regexp-match, symbol)
20219 (widget-coding-system-prompt-value)
20220 (widget-key-sequence-value-to-external, sexp)
20221 (widget-sexp-value-to-internal, character, vector, cons)
20222 (widget-choice-prompt-value, widget-boolean-prompt-value)
20223 (widget-color--choose-action): Mark unused parameters.
20224 (widget-item-match-inline, widget-choice-match-inline)
20225 (widget-checklist-match, widget-checklist-match-inline)
20226 (widget-group-match): Rename parameter VALUES to VALS.
20227 (widget-field-value-set): Remove unused variable `size'.
20228 (widget-color-action): Remove unused variables `value' and `start'.
20229
20230 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20231 variable `dir'. Doc fix.
20232 (windmove-find-other-window): Don't pass it.
20233
20234 * window.el (count-windows): Mark unused parameter.
20235 (bw-adjust-window): Remove unused variable `err'.
20236
20237 * woman.el (woman-file-name): Remove unused variable `default'.
20238 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20239 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20240 (global-font-lock-mode): Declare.
20241 (woman-decode-region): Mark unused parameter.
20242 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20243
20244 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20245 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20246 (x-dnd-handle-moz-url): Remove unused variable `title'.
20247 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20248
20249 * xml.el (xml-parse-tag, xml-parse-attlist):
20250 Remove unused variable `pos'.
20251
20252 2011-04-19 Glenn Morris <rgm@gnu.org>
20253
20254 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20255 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20256 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20257 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20258 * calendar/cal-html.el (cal-html-insert-minical):
20259 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20260 (calendar-mark-date-pattern):
20261 Prefix "unused" locals.
20262
20263 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20264 optional argument `style'.
20265
20266 * calendar/appt.el (appt-make-list):
20267 * calendar/cal-china.el (calendar-chinese-date-string):
20268 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20269 (diary-hebrew-yahrzeit):
20270 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20271 * calendar/calendar.el (calendar-generate-window):
20272 * calendar/time-date.el (time-to-days):
20273 Remove unused local variables.
20274
20275 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20276
20277 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20278 glyphless-char-display table.
20279 (tabulated-list-glyphless-char-display): New var.
20280
20281 2011-04-18 Sam Steingold <sds@gnu.org>
20282
20283 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20284 to acknowledgments.
20285
20286 2011-04-17 Glenn Morris <rgm@gnu.org>
20287
20288 * calendar/diary-lib.el (diary-sexp-entry):
20289 * calendar/holidays.el (holiday-sexp):
20290 Set debug-on-error rather than the removed stack-trace-on-error.
20291
20292 2011-04-16 Glenn Morris <rgm@gnu.org>
20293
20294 * progmodes/f90.el: Use lexical-binding.
20295 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20296
20297 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20298
20299 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20300 (mail-mode): Setup mailalias completion here instead.
20301 * mail/mailalias.el: Use lexical-binding.
20302 (pattern, mailalias-done): Declare dynamic.
20303 (mail-completion-at-point-function): New function, from mail-complete.
20304 (mail-complete): Use it.
20305 (mail-completion-expand): New function.
20306 (mail-get-names): Use it.
20307 (mail-directory, mail-directory-process, mail-directory-stream):
20308 Don't use `pattern' for lexically bound arg.
20309
20310 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20311
20312 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20313 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20314 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20315
20316 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20317 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20318 (byte-interactive-p): Define them again, for use when inlining
20319 old code.
20320
20321 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20322
20323 * loadup.el: Use `string-to-number', not `string-to-int'.
20324
20325 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20326
20327 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20328 gud-gdb-complete-command.
20329 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20330 (gud-gdb-completion-at-point): New function.
20331 (gud-gdb-completions): Remove.
20332
20333 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20334
20335 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20336 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20337 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20338 whether `executable-find' is bound.
20339
20340 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20341
20342 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20343
20344 * minibuffer.el (completion-in-region-mode-predicate)
20345 (completion-in-region-mode--predicate): New vars.
20346 (completion-in-region, completion-in-region--postch)
20347 (completion-in-region-mode): Use them.
20348 (completion--capf-wrapper): Also return the hook function.
20349 (completion-at-point, completion-help-at-point):
20350 Adjust and provide a predicate.
20351
20352 Preserve arg names for advice of subr and lexical functions (bug#8457).
20353 * help-fns.el (help-function-arglist): Consolidate the subr and
20354 new-byte-code cases. Add argument `preserve-names' to extract names
20355 from the docstring when needed.
20356 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20357 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20358 (ad-arglist): Use help-function-arglist's new arg.
20359 (ad-definition-type): Use cond.
20360
20361 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20362
20363 * autorevert.el (auto-revert-handler):
20364 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20365 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20366 Don't quote lambda.
20367
20368 * image-mode.el (image-transform-set-scale):
20369 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20370
20371 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20372
20373 * net/network-stream.el (network-stream-open-starttls): Only do
20374 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20375 Upgrades via gnutls-cli are too slow to be done opportunistically.
20376
20377 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20378
20379 * dframe.el (dframe-current-frame): Remove spurious quote.
20380
20381 2011-04-12 Glenn Morris <rgm@gnu.org>
20382
20383 * calendar/cal-tex.el (cal-tex-end-document):
20384 Try to automatically use latin1 input if needed.
20385
20386 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20387 Don't try to cons a mark onto an empty element.
20388
20389 2011-04-11 Leo Liu <sdl.web@gmail.com>
20390
20391 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20392 buffers.
20393 (ido-kill-buffer-at-head): Support killing virtual buffers.
20394
20395 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20396
20397 * minibuffer.el (completion-show-inline-help): New var.
20398 (completion--do-completion, minibuffer-complete)
20399 (minibuffer-force-complete, minibuffer-complete-word):
20400 Inhibit minibuffer messages if completion-show-inline-help is nil.
20401
20402 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20403 to avoid interference from inline help (Bug#5849).
20404
20405 2011-04-10 Leo Liu <sdl.web@gmail.com>
20406
20407 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20408 Fix typo.
20409
20410 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20411
20412 * image-mode.el (image-toggle-display-image): Signal an error if
20413 not in Image mode.
20414 (image-transform-mode, image-transform-resize)
20415 (image-transform-set-rotation): Doc fix.
20416 (image-transform-set-resize): Delete.
20417 (image-transform-set-scale, image-transform-fit-to-height)
20418 (image-transform-fit-to-width): Handle image-toggle-display-image
20419 and image-transform-resize directly.
20420
20421 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20422
20423 * doc-view.el (doc-view-fit-width-to-window)
20424 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20425 New functions for fitting the shown image to the Emacs window size.
20426 (doc-view-mode-map): Add bindings for the new functions.
20427
20428 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20429
20430 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20431 Fix typo in docstring.
20432
20433 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20434
20435 * files.el (file-size-human-readable): Produce one digit after
20436 decimal, like "ls -lh" does.
20437
20438 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20439 the file size representation.
20440
20441 * simple.el (list-processes): If async subprocesses are not
20442 available, error out with a clear error message.
20443
20444 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20445
20446 * help.el (help-form-show): New function, to be called from C.
20447 Put help-form output in a buffer named differently than *Help*.
20448
20449 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20450
20451 * files.el (file-size-human-readable): New function.
20452
20453 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20454 computing the representation inline. Don't require `cl'.
20455
20456 2011-04-08 Glenn Morris <rgm@gnu.org>
20457
20458 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20459
20460 * net/browse-url.el (browse-url-firefox):
20461 Test system-type, not system-configuration.
20462
20463 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20464 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20465 Use log-edit-empty-buffer-p. (Bug#7598)
20466
20467 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20468 (rlogin-mode-map): Initialize in the defvar.
20469 (rlogin): Use ignore-errors.
20470
20471 * replace.el (occur-mode-map): Some fixes for menu items.
20472
20473 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20474
20475 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20476
20477 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20478
20479 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20480 issuing unused warnings.
20481
20482 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20483 macro directly.
20484
20485 * simple.el: Lisp reimplement of list-processes. Based on an
20486 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20487 (process-menu-mode): New major mode.
20488 (list-processes--refresh, list-processes):
20489 (process-menu-visit-buffer): New functions.
20490
20491 * files.el (save-buffers-kill-emacs): Don't assume any return
20492 value of list-processes, which is undocumented anyway.
20493
20494 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20495
20496 * emacs-lisp/tabulated-list.el: New file.
20497
20498 * emacs-lisp/package.el: Use Tabulated List mode.
20499 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20500 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20501 table format using Tabulated List mode variables.
20502 (package--push): New macro, replacing package-list-maybe-add.
20503 (package-menu--generate): Use package--push. Renamed from
20504 package--generate-package-list.
20505 (package-menu-refresh, list-packages): Use it.
20506 (package-menu--print-info): Rename from package-print-package.
20507 Return insertion data instead of inserting it directly.
20508 (package-menu-describe-package, package-menu-execute):
20509 Use tabulated-list-get-id.
20510 (package-menu-mark-delete, package-menu-mark-install)
20511 (package-menu-mark-unmark, package-menu-backup-unmark)
20512 (package-menu-mark-obsolete-for-deletion):
20513 Use tabulated-list-put-tag.
20514 (package--list-packages, package-menu-revert)
20515 (package-menu-get-package, package-menu-get-version)
20516 (package-menu-sort-by-column): Functions deleted.
20517 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20518 (package-menu--status-predicate, package-menu--version-predicate)
20519 (package-menu--name-predicate)
20520 (package-menu--description-predicate): Handle arguments in the
20521 Tabulated List format.
20522 (package-list-packages-no-fetch): Call list-packages.
20523
20524 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20525
20526 * files.el (after-find-file-from-revert-buffer): Remove variable.
20527 (after-find-file): Don't bind it.
20528 (revert-buffer-in-progress-p): New variable.
20529 (revert-buffer): Bind it.
20530 Pass nil for `after-find-file-from-revert-buffer'.
20531
20532 * saveplace.el (save-place-find-file-hook): Use new variable
20533 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20534
20535 2011-04-06 Glenn Morris <rgm@gnu.org>
20536
20537 * Makefile.in (AUTOGEN_VCS): New variable.
20538 (autoloads): Use $AUTOGEN_VCS.
20539
20540 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20541 * calendar/calendar.el (calendar-mode-map):
20542 Check for toolkit scroll bars. (Bug#8305)
20543
20544 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20545
20546 * minibuffer.el (completion-in-region--postch)
20547 (completion-in-region-mode): Remove unnecessary messages.
20548
20549 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20550
20551 * font-lock.el (font-lock-refresh-defaults):
20552 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20553 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20554
20555 * info.el (Info-directory-list, Info-read-node-name-2)
20556 (Info-split-parameter-string): Doc fixes.
20557 (Info-virtual-nodes): Reflow docstring.
20558 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20559 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20560 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20561 Fix typos in docstrings.
20562 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20563 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20564 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20565 (Info-restore-desktop-buffer): Mark unused parameters.
20566 (Info-directory-find-file, Info-directory-find-node)
20567 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20568 (Info-virtual-index-find-node, Info-apropos-find-file)
20569 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20570 Mark unused parameters; fix typos in docstrings.
20571 (Info-virtual-index): Remove unused local variable `nodename'.
20572
20573 2011-04-05 Deniz Dogan <deniz@dogan.se>
20574
20575 * net/rcirc.el: Update my e-mail address.
20576 (rcirc-mode-map): Remove M-o binding.
20577
20578 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20579
20580 * startup.el (command-line): Save the cursor's theme-face
20581 directly, instead of using face-override-spec.
20582
20583 * custom.el (load-theme): Minor optimization in assigning faces.
20584
20585 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20586
20587 * help-fns.el (describe-variable): Complete all variables having
20588 documentation, including keywords.
20589 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20590
20591 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20592
20593 Convert to lexical-binding.
20594
20595 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20596 (bs--get-marked-string, bs--get-modified-string)
20597 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20598 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20599 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20600
20601 * ehelp.el (electric-help-execute-extended)
20602 (electric-help-ctrl-x-prefix):
20603 * hexl.el (hexl-revert-buffer-function):
20604 * linum.el (linum-after-change, linum-after-scroll):
20605 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20606
20607 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20608
20609 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20610
20611 * epa-dired.el:
20612 * epa-mail.el:
20613 * epa-hook.el:
20614 * epa-file.el:
20615 * epa.el:
20616 * epg.el: Use lexical binding.
20617
20618 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20619
20620 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20621
20622 * textmodes/flyspell.el (flyspell-word): Recognize default
20623 dictionary case for flyspell-mark-duplications-exceptions.
20624 Use regexp matching for languages.
20625 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20626 default dictionary (Bug#7926).
20627
20628 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20629
20630 * emacs-lisp/package.el (package--with-work-buffer):
20631 Recognize https URLs.
20632
20633 * net/network-stream.el: Move from gnus/proto-stream.el.
20634 Change prefix to network-stream throughout.
20635 (open-protocol-stream): Merge into open-network-stream, leaving
20636 open-protocol-stream as an alias. Handle nil BUFFER args.
20637
20638 * subr.el (open-network-stream): Move to net/network-stream.el.
20639
20640 2011-04-02 Glenn Morris <rgm@gnu.org>
20641
20642 * find-dired.el (find-exec-terminator): New option.
20643 (find-ls-option): Test for -ls support.
20644 (find-ls-subdir-switches): Test for -b in find-ls-option.
20645 (find-dired, find-grep-dired): Doc fixes.
20646 (find-dired): Use find-exec-terminator.
20647
20648 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20649 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20650 (find-name-arg): Remove purecopy.
20651
20652 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20653 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20654 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20655 accordingly. Don't add the null-device if not needed.
20656
20657 * files.el (save-some-buffers): Doc fix.
20658
20659 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20660
20661 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20662
20663 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20664
20665 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20666 Use `dolist' rather than `mapcar'.
20667
20668 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20669
20670 Add lexical binding.
20671
20672 * subr.el (apply-partially): Use new closures rather than CL.
20673 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20674 (dolist, dotimes): Use slightly different expansion for lexical code.
20675 (functionp): Move to C.
20676 (letrec): New macro.
20677 (with-wrapper-hook): Use it and apply-partially instead of CL.
20678 (eval-after-load): Preserve lexical-binding.
20679 (save-window-excursion, with-output-to-temp-buffer): Turn them
20680 into macros.
20681
20682 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20683
20684 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20685 than the arglist.
20686 (help-add-fundoc-usage): Don't add `Not documented'.
20687 (help-function-arglist): Handle closures, subroutines, and new
20688 byte-code-functions.
20689 (help-make-usage): Remove leading underscores.
20690 (describe-function-1): Handle closures.
20691 (describe-variable): Use special-variable-p for completion.
20692
20693 * files.el (lexical-binding): Declare safe.
20694
20695 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20696 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20697 (pcase): Add `let' pattern.
20698 Change memoization so it actually works.
20699 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20700 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20701 <let>: New case.
20702
20703 * emacs-lisp/macroexp.el: Use lexical binding.
20704 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20705 Don't convert ' to #' without checking that it's indeed quoting
20706 a lambda.
20707
20708 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20709 Use eval-sexp-add-defvars.
20710 (eval-sexp-add-defvars): New fun.
20711
20712 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20713
20714 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20715 Don't autoload.
20716 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20717 than the internal `byte-compile-lambda'.
20718 (defmethod): Don't hide code under quotes.
20719 (eieio-defmethod): New `code' argument.
20720
20721 * emacs-lisp/eieio-comp.el: Remove.
20722
20723 * emacs-lisp/edebug.el (edebug-eval-defun)
20724 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20725 (edebug-toggle): Avoid `eval'.
20726
20727 * emacs-lisp/disass.el (disassemble-internal): Handle new
20728 `closure' objects.
20729 (disassemble-1): Handle new byte codes.
20730
20731 * emacs-lisp/cl.el (pushnew): Silence warning.
20732
20733 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20734 (cl-byte-compile-throw): Remove.
20735 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20736
20737 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20738 closures.
20739
20740 * emacs-lisp/cconv.el: New file.
20741
20742 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20743 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20744 (byte-compile-initial-macro-environment):
20745 Handle declare-function here.
20746 (byte-compile--lexical-environment): New var.
20747 (byte-stack-ref, byte-stack-set, byte-discardN)
20748 (byte-discardN-preserve-tos): New lap codes.
20749 (byte-interactive-p): Don't use any more.
20750 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20751 New macros.
20752 (byte-compile-lapcode): Use them and handle new lap codes.
20753 (byte-compile-obsolete): Remove.
20754 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20755 (byte-compile-arglist-warn): Check late def of inlinable funs.
20756 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20757 since they should have been expanded by now.
20758 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20759 (byte-compile-from-buffer): Remove unused second arg.
20760 (byte-compile-preprocess): New function.
20761 (byte-compile-toplevel-file-form): New function to distinguish
20762 file-form calls from outside from file-form calls from hunk-handlers.
20763 (byte-compile-file-form): Simplify.
20764 (byte-compile-file-form-defsubst): Remove.
20765 (byte-compile-file-form-defmumble): Simplify now that
20766 byte-compile-lambda always returns a byte-code-function.
20767 (byte-compile): Preprocess.
20768 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20769 Remove, not used any more.
20770 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20771 (byte-compile-make-args-desc): New funs.
20772 (byte-compile-lambda): Handle lexical functions. Always return
20773 a byte-code-function.
20774 (byte-compile-reserved-constants): New var, to make up room for
20775 closed-over variables.
20776 (byte-compile-constants-vector): Obey it.
20777 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20778 (byte-compile-macroexpand-declare-function): New function.
20779 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20780 byte-code-functions.
20781 (byte-compile-form): Check obsolescence here.
20782 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20783 (byte-compile-variable-ref): Remove.
20784 (byte-compile-dynamic-variable-op): New fun.
20785 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20786 (byte-compile-variable-set): New funs.
20787 (byte-compile-discard): Add 2 args.
20788 (byte-compile-stack-ref, byte-compile-stack-set)
20789 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20790 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20791 macroexpand-all instead.
20792 (byte-compile-quote-form): Remove.
20793 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20794 (byte-compile-bind, byte-compile-unbind): New funs.
20795 (byte-compile-let): Handle let* and lexical binding.
20796 (byte-compile-let*): Remove.
20797 (byte-compile-catch, byte-compile-unwind-protect)
20798 (byte-compile-track-mouse, byte-compile-condition-case):
20799 Handle a new :fun-body form, used for lexical scoping.
20800 (byte-compile-save-window-excursion)
20801 (byte-compile-with-output-to-temp-buffer): Remove.
20802 (byte-compile-defun): Simplify.
20803 (byte-compile-stack-adjustment): New fun.
20804 (byte-compile-out): Use it.
20805 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20806
20807 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20808 handler any more.
20809
20810 * emacs-lisp/byte-opt.el: Use lexical binding.
20811 (byte-inline-lapcode): Remove (to bytecomp).
20812 (byte-compile-inline-expand): Pay attention to inlining to/from
20813 lexically bound code.
20814 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20815 any more.
20816 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20817 any more and don't call compiler-macros.
20818 (byte-compile-splice-in-already-compiled-code): Remove.
20819 (byte-code): Don't inline any more.
20820 (disassemble-offset): Receive `bytes' as argument rather than via
20821 dynamic scoping.
20822 (byte-compile-tag-number): Declare before first use.
20823 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20824 `return' even if make-spliceable.
20825 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20826 obsolete interactive-p.
20827 (byte-optimize-lapcode): Optimize new lap-codes.
20828 Don't trip up on new form of `byte-constant' lap code.
20829
20830 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20831
20832 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20833
20834 * custom.el (custom-initialize-default, custom-declare-variable):
20835 Use `defvar'.
20836
20837 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20838 New variables.
20839 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20840 (COMPILE_FIRST): Add macroexp and cconv.
20841 * makefile.w32-in: Mirror changes in Makefile.in.
20842
20843 * vc/cvs-status.el:
20844 * vc/diff-mode.el:
20845 * vc/log-edit.el:
20846 * vc/log-view.el:
20847 * vc/smerge-mode.el:
20848 * textmodes/bibtex-style.el:
20849 * textmodes/css-mode.el:
20850 * startup.el:
20851 * uniquify.el:
20852 * minibuffer.el:
20853 * newcomment.el:
20854 * reveal.el:
20855 * server.el:
20856 * mpc.el:
20857 * emacs-lisp/smie.el:
20858 * doc-view.el:
20859 * dired.el:
20860 * abbrev.el: Use lexical binding.
20861
20862 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20863
20864 * info.el (info-display-manual): New function.
20865
20866 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20867
20868 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20869
20870 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20871
20872 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20873 an entry for that server in rcirc-authinfo. (Bug#8385)
20874
20875 2011-03-31 Glenn Morris <rgm@gnu.org>
20876
20877 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20878
20879 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20880
20881 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20882
20883 * progmodes/python.el (python-default-interpreter)
20884 (python-python-command-args, python-jython-command-args)
20885 (python-which-shell, python-which-args, python-which-bufname)
20886 (python-file-queue, python-comint-output-filter-function)
20887 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20888 variables and functions.
20889
20890 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20891
20892 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20893 (completion-in-region-mode): New minor mode.
20894 (completion-in-region): Use it.
20895 (completion-in-region--data, completion-in-region-mode-map): New vars.
20896 (completion-in-region--postch): New function.
20897 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20898 New vars.
20899 (completion--capf-wrapper): New function.
20900 (completion-at-point): Use it to track well-behavedness of
20901 hook functions.
20902 (completion-help-at-point): New command.
20903
20904 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20905
20906 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20907 syntax class to search for whitespace on a single line
20908 (Message-ID: <4D938140.4030905@redhat.com>).
20909
20910 2011-03-30 Leo Liu <sdl.web@gmail.com>
20911
20912 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20913 New commands.
20914 (edit-abbrevs-map): Bind them here.
20915 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20916
20917 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20918
20919 * allout.el (allout-hide-by-annotation, allout-flag-region):
20920 Reduce possibility of overlay leakage by making them volatile.
20921
20922 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20923 hash is not shared between buffers. Mode initialization is
20924 responsible for giving it a useful starting value.
20925 (allout-item-span): Reduce possibility of overlay leakage by
20926 making them volatile.
20927 (allout-widgets-count-buttons-in-region): Add diagnostic function
20928 for tracking down button overlay leaks.
20929
20930 2011-03-29 Leo Liu <sdl.web@gmail.com>
20931
20932 * ido.el (ido-read-internal): Use the default history var
20933 minibuffer-history if no HISTORY is specified.
20934
20935 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20936
20937 * net/imap.el (imap-shell-open, imap-process-connection-type):
20938 Use imap-process-connection-type for 'shell' streams as well as
20939 Kerberos, SSL, other subprocesses.
20940
20941 2011-03-28 Leo Liu <sdl.web@gmail.com>
20942
20943 * abbrev.el (abbrev-table-empty-p): New function.
20944 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20945 nonempty ones. (Bug#5937)
20946
20947 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20948
20949 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20950
20951 2011-03-27 Leo Liu <sdl.web@gmail.com>
20952
20953 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20954 for foreground and background colors.
20955 (ansi-color-make-color-map): Adapt.
20956
20957 2011-03-25 Leo Liu <sdl.web@gmail.com>
20958
20959 * midnight.el (midnight-time-float): Remove. Note it calculates
20960 the microsecond component incorrectly and seconds-to-time does the
20961 same job.
20962 Remove redundant (require 'timer).
20963
20964 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20965 (ido-completions): Remove unused arguments. (Bug#8329)
20966
20967 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20968
20969 * minibuffer.el (completion--flush-all-sorted-completions):
20970 Remove itself from hook.
20971 (completion-at-point): Let the functions perform the completion
20972 immediately and return nil or t.
20973 * comint.el (comint-dynamic-complete-functions): Now identical to
20974 completion-at-point-functions.
20975 (comint-dynamic-list-input-ring): Remove unused var `index'.
20976 (comint--match-partial-filename, comint--unquote&expand-filename):
20977 New funs, split from comint-match-partial-filename.
20978 (comint-dynamic-complete): Use completion-at-point.
20979 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20980
20981 2011-03-24 Drew Adams <drew.adams@oracle.com>
20982
20983 * thingatpt.el: Support `defun'.
20984
20985 2011-03-23 Leo Liu <sdl.web@gmail.com>
20986
20987 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20988
20989 * help-mode.el (help-mode-finish): Tweak regexp.
20990
20991 2011-03-23 Glenn Morris <rgm@gnu.org>
20992
20993 * eshell/esh-opt.el (eshell-eval-using-options):
20994 Do not bind unused local variable `eshell-option-stub'.
20995
20996 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20997
20998 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20999
21000 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21001 keymap variable in `with-no-warnings' to avoid a warning when the
21002 keymap has been already `defconst'ed.
21003
21004 2011-03-22 Leo Liu <sdl.web@gmail.com>
21005
21006 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21007 encode all chars in abbrevs; otherwise use emacs-mule or
21008 utf-8-emacs. (Bug#8308)
21009
21010 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21011
21012 * simple.el (backward-delete-char-untabify):
21013 Avoid warning about using `delete-backward-char'.
21014
21015 * image.el (image-type-file-name-regexps): Make it variable.
21016 `imagemagick-register-types' modifies it, and the user may want
21017 to add new extensions for known image types.
21018 (imagemagick-register-types): Throw error if not using ImageMagick.
21019
21020 2011-03-22 Leo Liu <sdl.web@gmail.com>
21021
21022 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21023 located before rcirc-prompt-end-marker.
21024 (rcirc-complete): Error if point is not after rcirc prompt.
21025 Handle the case when table is nil.
21026 (rcirc-user-authenticated): Define to fix compiler warning.
21027
21028 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21029
21030 * custom.el (custom--inhibit-theme-enable): Make it affect only
21031 custom-theme-set-variables and custom-theme-set-faces.
21032 (provide-theme): Ignore custom--inhibit-theme-enable.
21033 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21034 (custom-enabling-themes): Delete variable.
21035 (enable-theme): Accept only loaded themes as arguments.
21036 Ignore the special custom-enabled-themes variable.
21037 (custom-enabled-themes): Forbid themes from setting this.
21038 Eliminate use of custom-enabling-themes.
21039 (custom-push-theme): Quote "changed" custom var entry.
21040
21041 2011-03-21 Leo Liu <sdl.web@gmail.com>
21042
21043 * ido.el (ido-read-internal): Add ido-selected to history instead
21044 of user input.
21045
21046 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21047
21048 * subr.el (deferred-action-list, deferred-action-function):
21049 Mark obsolete.
21050
21051 2011-03-21 Leo Liu <sdl.web@gmail.com>
21052
21053 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21054 change on 2011-02-13 (bug#8309).
21055
21056 * minibuffer.el (read-file-name-function): Change default value.
21057 (read-file-name--defaults): Rename from read-file-name-defaults.
21058 (read-file-name-default): Rename from read-file-name.
21059 (read-file-name): Call read-file-name-function.
21060
21061 2011-03-21 Glenn Morris <rgm@gnu.org>
21062
21063 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21064 Doc fixes.
21065
21066 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21067
21068 * cus-theme.el: Add missing provide statement.
21069 (customize-create-theme): Extract theme value correctly.
21070 (custom-theme-visit-theme): Autoload.
21071 (customize-create-theme): Prompt before inserting default faces.
21072
21073 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21074
21075 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21076 units and musical notes.
21077
21078 2011-03-20 Leo Liu <sdl.web@gmail.com>
21079
21080 * ido.el (ido-read-internal): Use completing-read-default.
21081 (ido-completing-read): Fix compatibility with completing-read.
21082
21083 2011-03-20 Christian Ohler <ohler@gnu.org>
21084
21085 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21086 (ert-delete-all-tests): Use `called-interactively-p' rather than
21087 `interactive-p'.
21088 (ert--make-xrefs-region): Respect END.
21089
21090 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21091
21092 * dired-aux.el (dired-create-directory): Signal an error if the
21093 directory already exists (Bug#8246).
21094
21095 * facemenu.el (list-colors-display): Call list-faces-display
21096 inside with-help-window.
21097 (list-colors-print): Use display property to align the final
21098 column, instead of checking window-width.
21099
21100 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21101
21102 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21103 windows-nt systems.
21104 (emerge-protect-metachars): Quote correctly for ms-dos and
21105 windows-nt systems.
21106
21107 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21108
21109 * info.el (info-initialize): Replace all uses of `:' with
21110 path-separator for compatibility with non-Unix systems.
21111 Cache quoting of path-separator. (Bug#8258)
21112
21113 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21114
21115 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21116 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21117 (mouse-avoidance-mode): Fix typos in docstrings.
21118
21119 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21120
21121 * startup.el (package-subdirectory-regexp): Move from package.el.
21122 Omit \\` and \\', and let callers add them.
21123
21124 * emacs-lisp/package.el (package-strip-version)
21125 (package-load-all-descriptors): Add \\` and \\' to
21126 package-subdirectory-regexp before using it.
21127 (package-untar-buffer): New arg DIR; ensure that file untars only
21128 into this expected directory. Remove superfluous delete-region.
21129 (package-unpack): Caller changed.
21130 (package-tar-file-info): Use package-subdirectory-regexp.
21131
21132 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21133
21134 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21135 diff-mode-shared-map (bug#8284).
21136 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21137
21138 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21139
21140 * calendar/time-date.el (format-seconds): Use assoc instead of
21141 assoc-string, since assoc-string doesn't exist in XEmacs.
21142
21143 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21144
21145 * custom.el (custom-known-themes): Reflow docstring.
21146 (custom-theme-load-path): Fix typo in docstring.
21147 (load-theme): Fix typo in error message.
21148 (custom-available-themes, custom-variable-theme-value):
21149 Use `let', not `let*'.
21150
21151 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21152
21153 * calc/README: Mention inclusion of musical notes.
21154
21155 * calc/calc-units.el (calc-lu-quant): Rename from
21156 `calc-logunits-quantity'.
21157 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21158 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21159 (calc-db): Rename from `calc-dblevel'.
21160 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21161 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21162 (calc-np): Rename from `calc-nplevel'.
21163 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21164 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21165 (calc-lu-plus): Rename from `calc-logunits-add'.
21166 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21167 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21168 (calc-lu-minus): Rename from `calc-logunits-sub'.
21169 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21170 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21171 (calc-lu-times): Rename from `calc-logunits-mul'.
21172 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21173 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21174 (calc-lu-divide): Rename from `calc-logunits-div'.
21175 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21176 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21177
21178 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21179 functions being autoloaded.
21180
21181 * calc/calc.el (calc-lu-power-reference): Rename from
21182 `calc-logunits-power-reference'.
21183 (calc-lu-field-reference): Rename from
21184 `calc-logunits-field-reference'.
21185
21186 * calc/calc-help.el (calc-l-prefix-help):
21187 Mention musical note functions.
21188
21189 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21190
21191 * minibuffer.el (completion-all-sorted-completions):
21192 Use :completion-cycle-penalty text property if present.
21193
21194 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21195
21196 * allout.el (allout-yank-processing): Adjust for new rebulleting
21197 regime so bullet being yanked is used without prompting the user
21198 for a choice.
21199
21200 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21201
21202 * startup.el (command-line): Warn the user that _emacs is deprecated.
21203
21204 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21205
21206 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21207 (delphi-verbose, delphi-comment-face, delphi-string-face)
21208 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21209 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21210 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21211 (delphi-new-comment-line, delphi-font-lock-defaults)
21212 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21213 Fix typos in docstrings.
21214
21215 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21216
21217 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21218 Invert the roles of character and string values for INSTEAD, so a
21219 string is used for the more common case of a defaulting prompt.
21220
21221 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21222
21223 * progmodes/ruby-mode.el (ruby-backward-sexp):
21224 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21225 * play/gamegrid.el (gamegrid-make-face):
21226 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21227 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21228 * notifications.el (notifications-notify):
21229 * net/xesam.el (xesam-search-engines):
21230 * net/quickurl.el (quickurl-list-insert):
21231 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21232
21233 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21234
21235 * startup.el (command-line): Update package subdirectory regexp.
21236
21237 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21238
21239 * allout.el (allout-abbreviate-flattened-numbering)
21240 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21241
21242 * subr.el (read-char-choice): Only show the cursor after the prompt,
21243 not after the answer.
21244
21245 2011-03-15 Kevin Ryde <user42@zip.com.au>
21246
21247 * help-fns.el (variable-at-point): Skip leading quotes, if any
21248 (bug#8253).
21249
21250 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21251
21252 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21253 warning message.
21254
21255 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21256
21257 * shell.el (shell): When called interactively, offer to change the
21258 shell file name on remote hosts.
21259
21260 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21261
21262 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21263 integration for LDAP parameters. The host, base, user or binddn,
21264 and secret tokens can be specified in a netrc file, for instance.
21265 This is optional because an `auth-source' parameter must be
21266 specified in the search attributes.
21267
21268 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21269
21270 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21271
21272 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21273
21274 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21275 into declaration. Remove redundant and harmful binding.
21276
21277 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21278
21279 * files.el (file-ownership-preserved-p): Pass `integer' as an
21280 explicit 2nd argument to `file-attributes'. If the file's owner
21281 is the Administrators group on Windows, and the current user is
21282 Administrator, consider that a match.
21283
21284 * server.el (server-ensure-safe-dir): Consider server directory
21285 safe on MS-Windows if its owner is the Administrators group while
21286 the current Emacs user is Administrator. Use `=' to compare
21287 numerical UIDs, since they could be integers or floats.
21288
21289 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21290
21291 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21292
21293 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21294
21295 Sync with Tramp 2.2.1.
21296
21297 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21298
21299 * net/trampver.el: Update release number.
21300
21301 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21302
21303 * progmodes/compile.el (compilation--previous-directory): Fix up
21304 various nil/dead-marker mismatches (bug#8014).
21305 (compilation-directory-properties, compilation-error-properties):
21306 Don't call it at a position past the one we're about to change.
21307
21308 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21309 Disable obsolescence warnings in the file that declares it.
21310
21311 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21312
21313 * allout-widgets.el (allout-widgets-tally):
21314 Initialize allout-widgets-tally as a hash table rather than nil to
21315 prevent mode-line redisplay warnings. Also, clarify the module
21316 description and fix a comment typo.
21317
21318 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21319
21320 * help-fns.el (describe-variable): Don't complete keywords.
21321 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21322
21323 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21324
21325 * emacs-lisp/package.el (package-version-join): Impose a standard
21326 string representation for pre/alpha/beta version lists.
21327 (package-unpack-single): Standardize the directory name by passing
21328 it through package-version-join.
21329 (package-strip-rcs-id): Accept any version string that does not
21330 signal an error in version-to-list.
21331
21332 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21333
21334 * simple.el (delete-trailing-whitespace): Return nil for the
21335 benefit of `write-file-functions'.
21336
21337 2011-03-10 Glenn Morris <rgm@gnu.org>
21338
21339 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21340
21341 * vc/vc-git.el (vc-git-program): New option.
21342 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21343 (vc-git--call): Use it.
21344
21345 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21346
21347 * cus-edit.el (Custom-newline): If no button at point, look
21348 for a subgroup button at start-of-line. (Bug#2298)
21349
21350 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21351
21352 2011-03-10 Julien Danjou <julien@danjou.info>
21353
21354 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21355 `cursor-type' is nil.
21356
21357 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21358
21359 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21360
21361 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21362
21363 * allout.el: Change so yank of distinctive-bullet items
21364 preserves the existing header prefix, rebulleting it if necessary,
21365 rather than replacing it. This is necessary for proper operation
21366 of cooperative addons like allout-widgets.
21367 (allout-make-topic-prefix, allout-rebullet-heading):
21368 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21369 value as alternate bullet to be used, instead of prompting the user
21370 for a bullet character.
21371
21372 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21373
21374 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21375 Do not use `tramp-file-name-port', because this returns also
21376 `tramp-default-port'.
21377
21378 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21379
21380 * net/rcirc.el (rcirc-handler-001): Remove useless
21381 with-rcirc-process-buffer.
21382 (rcirc-check-auth-status): Swap arguments to string-match.
21383
21384 2011-03-09 Glenn Morris <rgm@gnu.org>
21385
21386 * shell.el (shell-mode):
21387 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21388
21389 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21390 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21391
21392 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21393
21394 * emacs-lisp/package.el (package-refresh-contents)
21395 (package-menu-execute): Use condition-case-no-debug.
21396
21397 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21398
21399 * simple.el (shell-command-to-string): Use `process-file'.
21400
21401 * emacs-lisp/package.el (package-tar-file-info): Handle also
21402 remote files.
21403
21404 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21405 Use `equal' for upload base check.
21406
21407 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21408
21409 * textmodes/texinfo.el (texinfo-environments):
21410 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21411
21412 2011-03-08 Glenn Morris <rgm@gnu.org>
21413
21414 * cus-start.el (cursor-in-non-selected-windows):
21415 Fix :set quoting oddness. (Bug#8192)
21416
21417 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21418 in some setf expressions. (Bug#2159)
21419
21420 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21421
21422 * custom.el (custom-available-themes): Return themes in
21423 alphabetical order.
21424
21425 See ChangeLog.15 for earlier changes.
21426
21427 ;; Local Variables:
21428 ;; coding: utf-8
21429 ;; End:
21430
21431 Copyright (C) 2011-2013 Free Software Foundation, Inc.
21432
21433 This file is part of GNU Emacs.
21434
21435 GNU Emacs is free software: you can redistribute it and/or modify
21436 it under the terms of the GNU General Public License as published by
21437 the Free Software Foundation, either version 3 of the License, or
21438 (at your option) any later version.
21439
21440 GNU Emacs is distributed in the hope that it will be useful,
21441 but WITHOUT ANY WARRANTY; without even the implied warranty of
21442 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21443 GNU General Public License for more details.
21444
21445 You should have received a copy of the GNU General Public License
21446 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.