]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix handling of require-final-newline in after-find-file.
[gnu-emacs] / lisp / ChangeLog
1 2012-09-07 Chong Yidong <cyd@gnu.org>
2
3 * files.el (after-find-file): Don't fail on a read-only buffer if
4 require-final-newline is `visit' or `visit-save' (Bug#11156).
5
6 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7
8 * userlock.el (ask-user-about-supersession-threat): Use
9 read-char-choice (Bug#12093).
10
11 2012-09-07 Chong Yidong <cyd@gnu.org>
12
13 * subr.el (buffer-narrowed-p): New function.
14
15 * ses.el (ses-widen):
16 * simple.el (count-words--buffer-message):
17 * net/browse-url.el (browse-url-of-buffer): Use it
18
19 * simple.el (count-words-region): Don't signal an error if there
20 is a non-nil prefix arg and the mark is not set.
21
22 * help.el (describe-key-briefly): Allow the message to be seen
23 when invoked from the minibuffer (Bug#7014).
24
25 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
26
27 * progmodes/ruby-mode.el (ruby-end-of-defun)
28 (ruby-beginning-of-defun): Simplify, allow indentation before
29 block beginning and end keywords.
30 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
31 (ruby-end-of-defun): Expect that the point is at the beginning of
32 the defun.
33
34 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
37 (bug#12367).
38 (cl--make-usage-args): Strip _ from argument names.
39
40 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
41
42 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
43 obsolete alias speedbar-key-map.
44 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
45 (vhdl-index-menu-init): Don't use obsolete variable
46 font-lock-maximum-size.
47
48 2012-09-06 Chong Yidong <cyd@gnu.org>
49
50 * frame.el (window-system-version): Mark as obsolete.
51
52 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
53 of obsolete variable speedbar-key-map.
54
55 2012-09-06 Juri Linkov <juri@jurta.org>
56
57 * replace.el (replace-lax-whitespace): New defcustom.
58 (query-replace, query-replace-regexp, query-replace-regexp-eval)
59 (replace-string, replace-regexp): Mention it in docstrings.
60 (perform-replace, replace-highlight): Let-bind
61 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
62 to the values of replace-lax-whitespace and regexp-flag.
63 Don't let-bind search-whitespace-regexp. (Bug#10885)
64
65 * isearch.el (isearch-query-replace): Let-bind
66 replace-lax-whitespace instead of let-binding
67 replace-search-function and replace-re-search-function.
68 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
69 and isearch-regexp-lax-whitespace to lazy-highlight variables.
70 (isearch-toggle-symbol): Set isearch-regexp to nil
71 in isearch-word mode (like in isearch-toggle-word).
72
73 2012-09-06 Juri Linkov <juri@jurta.org>
74
75 * replace.el (replace-search-function)
76 (replace-re-search-function): Set default values to nil.
77 (perform-replace): Let-bind isearch-related variables based on
78 replace-related values, call `isearch-search-fun' and let-bind
79 the result to `search-function'. Remove code that sets
80 `search-function' and `search-string' separately for
81 `delimited-flag'.
82 (replace-highlight): Add new argument `delimited-flag' and
83 rename other arguments to the names used in `perform-replace'.
84 Let-bind `isearch-word' to the argument `delimited-flag'.
85 (Bug#10885, bug#10887)
86
87 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
88
89 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
90 ruby-beginning-of-indent, simplify, allow all keywords to have
91 indentation before them.
92 (ruby-beginning-of-indent): Adjust for above. Search until the
93 found point is not inside a string or comment.
94 (ruby-font-lock-keywords): Allow symbols to start with "@"
95 character, give them higher priority than variables.
96 (ruby-syntax-propertize-function)
97 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
98 matchers. Expression expansions are not comments when inside a
99 string, and there comment syntax status is irrelevant.
100 (ruby-match-expression-expansion): New function. Check that
101 expression expansion is inside a string, and it's not escaped.
102 (ruby-font-lock-keywords): Use it.
103
104 2012-09-05 Martin Rudalics <rudalics@gmx.at>
105
106 * help.el (temp-buffer-max-height): New default value.
107 (temp-buffer-resize-frames): New option.
108 (resize-temp-buffer-window): Optionally resize frame.
109
110 * window.el (fit-frame-to-buffer-bottom-margin): New option.
111 (fit-frame-to-buffer): New function.
112
113 2012-09-05 Glenn Morris <rgm@gnu.org>
114
115 * emulation/cua-rect.el (cua--init-rectangles):
116 * textmodes/picture.el (picture-mode-map):
117 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
118 like forward-char and backward-char. (Bug#12317)
119
120 2012-09-05 Leo Liu <sdl.web@gmail.com>
121
122 * progmodes/flymake.el (flymake-warning-re): New variable.
123 (flymake-parse-line): Use it.
124
125 2012-09-05 Glenn Morris <rgm@gnu.org>
126
127 * calendar/holidays.el (holiday-christian-holidays):
128 Rename an entry. (Bug#12289)
129
130 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
133 (bug#12222).
134
135 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * loadup.el: Load macroexp. Remove hack.
138 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
139 (macroexp--expand-all): Use it to get better warnings.
140 (macroexp--backtrace, macroexp--trim-backtrace-frame)
141 (internal-macroexpand-for-load): New functions.
142 (macroexp--pending-eager-loads): New var.
143 (emacs-startup-hook): New hack to replace one in loadup.el.
144 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
145 (cl--compiler-macro-cXXr): Move to top, before they can be used.
146 (cl-psetf): Simplify.
147 (cl-defstruct): Add indent rule.
148
149 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
150
151 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
152 over `user-mail-address' for the SMTP MAIL FROM envelope.
153 (smtpmail-via-smtp): Ditto.
154
155 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
156
157 * progmodes/ruby-mode.el: Clean up keybindings.
158 (ruby-mode-map): Don't bind ruby-electric-brace,
159 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
160 backward-kill-word, reindent-then-newline-and-indent.
161 (ruby-mark-defun): Remove.
162 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
163 (ruby-mode): Set local beginning-of-defun-function and
164 end-of-defun-function values.
165
166 2012-09-03 Martin Rudalics <rudalics@gmx.at>
167
168 * window.el (temp-buffer-window-setup-hook)
169 (temp-buffer-window-show-hook): New hooks.
170 (temp-buffer-window-setup, temp-buffer-window-show)
171 (with-temp-buffer-window): New functions.
172 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
173 (special-display-popup-frame): Make sure the window used shows BUFFER.
174
175 * help.el (temp-buffer-resize-mode): Fix doc-string.
176 (resize-temp-buffer-window): New optional argument WINDOW.
177
178 * files.el (recover-file, save-buffers-kill-emacs):
179 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
180
181 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
182
183 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
184 remote definition of `default-directory', ensure we can connect.
185
186 2012-09-02 Juri Linkov <juri@jurta.org>
187
188 Toggle whitespace matching mode with M-s SPC.
189 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
190
191 * isearch.el (search-whitespace-regexp): Doc fix.
192 Remove cons cell customization.
193 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
194 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
195 New variables.
196 (isearch-forward, isearch-forward-regexp): Doc fix.
197 (isearch-toggle-lax-whitespace): New command.
198 (search-forward-lax-whitespace, search-backward-lax-whitespace)
199 (re-search-forward-lax-whitespace)
200 (re-search-backward-lax-whitespace): New functions.
201 (isearch-whitespace-regexp): Remove function.
202 (isearch-query-replace): Let-bind replace-search-function and
203 replace-re-search-function.
204 (isearch-occur): Let-bind search-spaces-regexp according to the
205 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
206 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
207 condition for C-q SPC.
208 (isearch-search-fun-default): Use new functions mentioned above.
209 (isearch-search-forward, isearch-search-backward): Remove functions.
210 (isearch-search): Don't let-bind search-spaces-regexp.
211 (isearch-lazy-highlight-space-regexp): Remove variable.
212 (isearch-lazy-highlight-lax-whitespace)
213 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
214 (isearch-lazy-highlight-new-loop): Use them.
215 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
216
217 2012-09-02 Chong Yidong <cyd@gnu.org>
218
219 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
220
221 2012-09-02 Glenn Morris <rgm@gnu.org>
222
223 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
224
225 2012-09-01 Glenn Morris <rgm@gnu.org>
226
227 * term.el: Tidy up menu definitions.
228 (term-mode-map): Use easymenu for In/Out, Complete menus.
229 (term-pager-break-map): Initialize in the defvar.
230 (term-terminal-menu, term-signals-menu): Define with easymenu.
231 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
232 (term-pager-menu): New, extracted from term-process-pager.
233 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
234 (term-update-mode-line): Propertize line/char and page items.
235 (term-process-pager): Move keymap initialization elsewhere.
236
237 2012-09-01 Martin Rudalics <rudalics@gmx.at>
238
239 * window.el (switch-to-prev-buffer): Handle additional values of
240 BURY-OR-KILL argument. Don't switch in minibuffer window.
241 (switch-to-next-buffer): Don't switch in minibuffer window.
242 (quit-restore-window): New function based on quit-window.
243 Handle additional values of former KILL argument.
244 (quit-window): Call quit-restore-window with appropriate
245 interpretation of KILL argument.
246 (display-buffer-below-selected): New buffer display action
247 function.
248
249 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * minibuffer.el (completion-at-point-functions): Complete docstring
252 (bug#12254).
253
254 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
255
256 Better seed support for (random).
257 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
258 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
259 * play/mpuz.el, play/tetris.el, play/zone.el:
260 * calc/calc-comb.el (math-init-random-base):
261 * play/blackbox.el (bb-init-board):
262 * play/life.el (life):
263 * server.el (server-use-tcp):
264 * type-break.el (type-break):
265 Remove unnecessary call to (random t).
266 * net/sasl.el (sasl-unique-id-function):
267 Change (random t) to (random), now that the latter is more random.
268 * play/life.el (life-initialized): Remove no-longer-needed var.
269
270 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
271
272 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
273 Consider frame's buffer predicate when choosing the buffer.
274 (Bug#12081)
275
276 2012-08-30 Richard Stallman <rms@gnu.org>
277
278 * simple.el (special-mode-map): Delete binding for `z'.
279
280 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
281
282 * progmodes/compile.el (compilation-always-kill): Doc fix.
283
284 2012-08-30 Chong Yidong <cyd@gnu.org>
285
286 * window.el (display-buffer-reuse-frames): Make the obsolescence
287 message more informative.
288
289 2012-08-30 Glenn Morris <rgm@gnu.org>
290
291 * paren.el (show-paren-delay):
292 Add a :set function. Doc fix. (Bug#12297)
293
294 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
295
296 * progmodes/compile.el (compilation-always-kill): New var.
297 (compilation-start): Use it.
298
299 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * simple.el (read-only-mode): Move from files.el for bootstrapping.
302 * files.el (read-only-mode): Move to simple.el.
303
304 * files.el (read-only-mode): New minor mode.
305 (toggle-read-only): Use it and mark obsolete.
306 (find-file--read-only):
307 * vc/vc.el (vc-next-action, vc-checkout):
308 * vc/vc-cvs.el (vc-cvs-checkout):
309 * obsolete/vc-mcvs.el (vc-mcvs-update):
310 * ffap.el (ffap--toggle-read-only): Update callers.
311
312 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
313
314 * eshell/esh-ext.el (eshell-external-command): Do not examine
315 remote shell scripts.
316 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
317
318 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
319 "/usr/local/sbin".
320
321 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
324
325 2012-08-28 Leo Liu <sdl.web@gmail.com>
326
327 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
328 completion-at-point. (Bug#12220)
329
330 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
331
332 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
333
334 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
337 be buffer-local; add delete-trailing-whitespace (bug#12259).
338
339 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
340
341 * progmodes/hideif.el (hif-compress-define-list):
342 Fix typo. (Bug#11951)
343
344 2012-08-28 Dan Nicolaescu <dann@gnu.org>
345
346 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
347 buffer local setting.
348
349 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
350 rcirc-encode-coding-system.
351
352 2012-08-28 Leo Liu <sdl.web@gmail.com>
353
354 * net/rcirc.el (rcirc-split-message): New function.
355 (rcirc-send-message): Use it. (Bug#12051)
356
357 2012-08-28 Juri Linkov <juri@jurta.org>
358
359 * info.el (Info-fontify-node): Hide empty lines at the end of
360 the node. (Bug#12272)
361
362 2012-08-27 Drew Adams <drew.adams@oracle.com>
363
364 * dired.el (dired-pop-to-buffer): Make window start at beginning
365 of buffer (Bug#12281).
366
367 2012-08-26 Chong Yidong <cyd@gnu.org>
368
369 * window.el (special-display-regexps, special-display-frame-alist)
370 (special-display-buffer-names, special-display-function)
371 (display-buffer-reuse-frames): Mark as obsolete.
372
373 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
374
375 * help.el (help-print-return-message): Don't treat
376 display-buffer-reuse-frames specially.
377
378 2012-08-26 Chong Yidong <cyd@gnu.org>
379
380 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
381 New variable, replacing gdb-frame-parameters.
382 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
383 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
384 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
385 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
386 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
387 the functions directly with gdb-display-buffer-other-frame-action.
388 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
389 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
390 (gdb-display-stack-buffer, gdb-display-locals-buffer)
391 (gdb-display-registers-buffer): Define directly.
392 (def-gdb-display-buffer): Macro deleted.
393 (gdb-display-buffer): Remove second and third args, callers don't
394 use them. Defer to the default display-buffer behavior, apart
395 from making windows dedicated.
396 (gdb-setup-windows): Don't call display-buffer unnecessarily.
397
398 * progmodes/gud.el (gud-display-line): Just use display-buffer.
399
400 * window.el (display-buffer-pop-up-frame): Handle a
401 pop-up-frame-parameters alist entry.
402 (display-buffer): Document it.
403
404 2012-08-26 Chong Yidong <cyd@gnu.org>
405
406 * isearch.el (search-whitespace-regexp): Make string and nil
407 values apply to both ordinary and regexp search. Allow a cons
408 cell value to distinguish between the two.
409 (isearch-whitespace-regexp, isearch-search-forward)
410 (isearch-search-backward): New functions.
411 (isearch-occur, isearch-search-fun-default, isearch-search)
412 (isearch-lazy-highlight-new-loop): Use them.
413 (isearch-forward, isearch-forward-regexp): Doc fix.
414
415 2012-08-26 Chong Yidong <cyd@gnu.org>
416
417 * faces.el (help-argument-name): Always inherit from italic
418 (Bug#12213).
419
420 2012-08-25 Martin Rudalics <rudalics@gmx.at>
421
422 * window.el (window--even-window-heights): Even heights when
423 WINDOW and the selected window form a vertical combination.
424 (display-buffer-use-some-window): Provide that window used gets
425 sized back by quit-window. (Bug#11880) and (Bug#12091)
426
427 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
428
429 Fix file time stamp problem with bzr and CVS (Bug#12001).
430 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
431 in the file's time stamp, since the version control system loses
432 that information.
433
434 2012-08-22 Juri Linkov <juri@jurta.org>
435
436 * info.el (Info-fontify-node): Hide the suffix of the
437 Info file name in the header line. (Bug#12187)
438
439 2012-08-22 Glenn Morris <rgm@gnu.org>
440
441 * calendar/cal-tex.el (cal-tex-weekly-common):
442 Restore leading blank page.
443
444 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
445
446 * misc.el (forward-to-word, backward-to-word): Activate or extend
447 the region under `shift-select-mode'. (Bug#12231)
448
449 2012-08-22 Bastien Guerry <bzg@gnu.org>
450
451 * progmodes/executable.el (executable-prefix): Set to "#!" instead
452 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
453 gives details on why the space is never needed.
454
455 2012-08-22 Martin Rudalics <rudalics@gmx.at>
456
457 * window.el (walk-window-tree, window-with-parameter):
458 New optional argument MINIBUF to control whether these functions
459 should run on the minibuffer window.
460 (window-at-side-list): Don't operate on minibuffer window.
461 (window-in-direction): Simplify and rewrite doc-string.
462 (window--size-ignore): Rename to window--size-ignore-p.
463 Update callers.
464 (display-buffer-in-atom-window, window--major-non-side-window)
465 (window--major-side-window, display-buffer-in-major-side-window)
466 (delete-side-window, display-buffer-in-side-window):
467 New functions.
468 (window--side-check, window-deletable-p, delete-window)
469 (delete-other-windows, split-window): Handle side windows and
470 atomic windows appropriately.
471 (window--display-buffer): Call display-buffer-record-window also
472 when the window buffer did not change.
473
474 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
475
476 * help-fns.el (help-fns--key-bindings):
477 Abbreviate non-symbol remap targets. (Bug#12174)
478
479 2012-08-22 Martin Rudalics <rudalics@gmx.at>
480
481 * dired.el (dired-mark-remembered): Don't clobber point.
482 (Bug#11795)
483
484 2012-08-22 Glenn Morris <rgm@gnu.org>
485
486 * progmodes/bug-reference.el (bug-reference): New custom group.
487 (bug-reference-bug-regexp): Make it a defcustom.
488
489 2012-08-22 Daiki Ueno <ueno@unixuser.org>
490
491 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
492 (js-paren-indent-offset, js-square-indent-offset)
493 (js-curly-indent-offset): Add :safe (Bug#12257).
494
495 2012-08-22 Edward O'Connor <hober0@gmail.com>
496
497 * json.el (json-key-format): Add error properties.
498 (json-encode-key): New function.
499 (json-encode-hash-table, json-encode-alist, json-encode-plist):
500 Use json-encode-key.
501
502 2012-08-22 Glenn Morris <rgm@gnu.org>
503
504 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
505 (cal-tex-leftday, cal-tex-rightday): Remove functions.
506 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
507 Update for above change.
508
509 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
510
511 * cus-face.el (custom-face-attributes): Fix customize type for the
512 :underline attribute. (Bug#11805)
513
514 2012-08-21 Martin Rudalics <rudalics@gmx.at>
515
516 * window.el (window-point-1, set-window-point-1): Remove.
517 (window-in-direction, record-window-buffer)
518 (set-window-buffer-start-and-point, split-window-below)
519 (window--state-get-1, display-buffer-record-window):
520 Replace calls to window-point-1 and set-window-point-1 by calls to
521 window-point and set-window-point respectively.
522
523 2012-08-21 Glenn Morris <rgm@gnu.org>
524
525 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
526 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
527 Use it.
528
529 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
530 (cal-tex-shortday): New function.
531 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
532 (cal-tex-cursor-filofax-daily): Use the above.
533
534 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
535 New functions.
536 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
537 (cal-tex-cursor-filofax-week): Use them.
538
539 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
540 New constants.
541 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
542 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
543
544 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
545 (cal-tex-end-document): Don't rely on buffer name.
546
547 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
548 Use cal-tex-vspace.
549 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
550 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
551 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
552 Use cal-tex-arg.
553
554 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
555 (cal-tex-cursor-week, cal-tex-cursor-week2)
556 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
557 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
558 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
559 (cal-tex-insert-preamble, cal-tex-b-document)
560 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
561 Improve cal-tex-cmd usage.
562
563 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
564 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
565 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
566 (cal-tex-weekly-paper): New function.
567 (cal-tex-cursor-week, cal-tex-cursor-week2)
568 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
569 (cal-tex-cursor-day): Use it.
570
571 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
572 (cal-tex-cursor-filofax-week): Remove leading blank page.
573
574 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
575 Add autoload cookie. For now at least, don't use color, since
576 no other cal-tex function does.
577
578 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
579 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
580 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
581
582 2012-08-21 Juri Linkov <juri@jurta.org>
583
584 * info.el (Info-file-attributes): New variable.
585 (info-insert-file-contents): Add file attributes to
586 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
587 `Info-toc-nodes' when previous modtime of the Info file is less
588 than new modtime.
589 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
590 of info.el. (Bug#12230)
591
592 2012-08-20 Glenn Morris <rgm@gnu.org>
593
594 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
595 * calendar/holidays.el (calendar-holiday-list):
596 Report errors with display-warning rather than beep'n'sleep.
597
598 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
599
600 * net/tramp.el (tramp-accept-process-output): Accept only output
601 from PROC. Otherwise, process filters and sentinels might be
602 confused. (Bug#12145)
603
604 2012-08-20 Chong Yidong <cyd@gnu.org>
605
606 * descr-text.el (describe-text-properties-1): Use overlays-in to
607 report on empty overlays (Bug#3322).
608
609 2012-08-20 Glenn Morris <rgm@gnu.org>
610
611 * mail/rmailout.el (rmail-output-read-file-name):
612 Trap and report errors in rmail-output-file-alist elements.
613
614 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
615 since most non-font-lock faces are not also variables).
616
617 2012-08-20 Edward Reingold <reingold@iit.edu>
618
619 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
620 New function. (Bug12160)
621
622 2012-08-19 Glenn Morris <rgm@gnu.org>
623
624 * mail/rmailout.el (rmail-output-read-file-name):
625 Fix previous change (when the alist is nil or does not match).
626
627 2012-08-19 Chong Yidong <cyd@gnu.org>
628
629 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
630 (Bug#12228).
631
632 2012-08-18 Chong Yidong <cyd@gnu.org>
633
634 * simple.el (yank-handled-properties): New defcustom.
635 (yank-excluded-properties): Add font-lock-face and category.
636 (yank): Doc fix.
637
638 * subr.el (remove-yank-excluded-properties):
639 Obey yank-handled-properties. The special handling of font-lock-face
640 and category is now done this way, instead of being hard-coded.
641 (insert-for-yank-1): Remove font-lock-face handling.
642 (yank-handle-font-lock-face-property)
643 (yank-handle-category-property): New function.
644
645 2012-08-17 Glenn Morris <rgm@gnu.org>
646
647 * mail/rmailout.el (rmail-output-read-file-name):
648 Check rmail-output-file-alist against the full message body
649 in the correct rmail buffer. (Bug#12214)
650
651 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
652
653 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
654 Eliminate superfluous prompt. (Bug#12203)
655
656 2012-08-17 Chong Yidong <cyd@gnu.org>
657
658 * mouse.el (mouse-appearance-menu): If x-select-font returns a
659 font spec, set the font directly (Bug#3228).
660
661 2012-08-17 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (delete-window): Fix last fix.
664
665 2012-08-16 Martin Rudalics <rudalics@gmx.at>
666
667 * window.el (window-valid-p): Move to window.c.
668 (window-child, window-child-count, window-last-child)
669 (window-normalize-window, window-combined-p)
670 (window-combinations, window-atom-root, window-min-size)
671 (window-sizable, window-sizable-p, window-size-fixed-p)
672 (window-min-delta, window-max-delta, window--resizable)
673 (window--resizable-p, window-resizable, window-total-size)
674 (window-full-height-p, window-full-width-p, window-body-size)
675 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
676 (minimize-window, window-deletable-p, delete-window)
677 (delete-other-windows, set-window-buffer-start-and-point)
678 (next-buffer, previous-buffer, split-window, balance-windows-2)
679 (set-window-text-height, window-buffer-height)
680 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
681 (truncated-partial-width-window-p): Minor code adjustments.
682 In doc-strings state whether the argument window has to denote a
683 live, valid or any window.
684
685 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
686
687 * progmodes/subword.el (subword-forward-function)
688 (subword-backward-function, subword-forward-regexp)
689 (subword-backward-regexp): New variables.
690 (subword-forward, subword-forward-internal, subword-backward-internal):
691 Use new variables, eg so that different "word" definitions
692 can be easily used. (Bug#11411)
693
694 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
697 for composite selectors.
698 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
699 operation just because we can't find a previous revision.
700
701 2012-08-15 Chong Yidong <cyd@gnu.org>
702
703 * frame.el (set-frame-font): Accept font objects.
704
705 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
708
709 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
710
711 * man.el (Man-overstrike-face, Man-underline-face)
712 (Man-reverse-face): Remove variables.
713 (Man-overstrike, Man-underline, Man-reverse): New faces.
714 (Man-fontify-manpage): Use them instead of the variables.
715 (Man-cleanup-manpage): Comment change.
716 (Man-ansi-color-map): New variable.
717 (Man-fontify-manpage): Use it.
718 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
719
720 Implement ANSI SGR parameters 22-27 (bug#12146).
721 * ansi-color.el (ansi-colors): Doc fix.
722 (ansi-color-context, ansi-color-context-region): Doc fix.
723 (ansi-color--find-face): New function.
724 (ansi-color-apply, ansi-color-apply-on-region): Use it.
725 Rename the local variable `face' to `codes' since it is now a list of
726 ansi codes. Doc fix.
727 (ansi-color-get-face): Remove.
728 (ansi-color-parse-sequence): New function, derived from
729 ansi-color-get-face.
730 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
731 codes 22-27.
732
733 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * subr.el (read-passwd): Allow use from a minibuffer.
736
737 2012-08-14 Eli Zaretskii <eliz@gnu.org>
738
739 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
740 inside comments and strings as identifiers.
741
742 * progmodes/gud.el (gud-tooltip-print-command): Quote the
743 expression to evaluate. This allows to evaluate expressions with
744 embedded whitespace.
745 (gud-tooltip-tips): Add a blank before the newline in the
746 message-box text, for the benefit of message-box emulation on
747 MS-Windows.
748
749 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
750 messages from GDB, pop them up in a tooltip to give feedback to
751 user.
752 (gdb-tooltip-print-1): Quote the expression to evaluate.
753 This allows to evaluate expressions with embedded whitespace.
754 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
755 if the TTY name is nil or empty (which happens when communicating
756 with the inferior via pipes, e.g. on MS-Windows).
757 (gdb-internals): If GDB sends a "&\n" empty debugging message,
758 don't send that to the GUD buffer.
759
760 2012-08-14 Glenn Morris <rgm@gnu.org>
761
762 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
763 Optimize away setq-default with no args, as for setq. (Bug#12195)
764
765 2012-08-14 Chong Yidong <cyd@gnu.org>
766
767 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
768
769 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
770 (Bug#12085).
771
772 2012-08-14 Glenn Morris <rgm@gnu.org>
773
774 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
775
776 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
777
778 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
779 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
780 Use cached shell name.
781
782 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
783
784 * progmodes/python.el (python-shell-send-string):
785 (python-shell-send-setup-code): Do not use `format' with `message'.
786
787 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
788
789 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
790 (ruby-percent-literal-beg-re): New constant.
791 (ruby-syntax-general-delimiters-goto-beg): Rename to
792 `ruby-syntax-enclosing-percent-literal', improve literal type check.
793 (ruby-syntax-propertize-general-delimiters): Rename to
794 `ruby-syntax-propertize-percent-literal', it's a shorter and more
795 popular term. Adjust comments everywhere.
796 (ruby-syntax-propertize-percent-literal): Only propertize when not
797 inside a simple string or comment. When the literal is unclosed,
798 leave the text after it unpropertized.
799 (ruby-syntax-methods-before-regexp): New constant.
800 (ruby-syntax-propertize-function): Use it to recognize regexps.
801 Don't look at the text after regexp, just use the whitelist.
802
803 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
804
805 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
806 non-nil always load the compiled file if it exists. (Bug#12197)
807
808 2012-08-14 Chong Yidong <cyd@gnu.org>
809
810 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
811 (hi-lock-set-pattern): When deciding whether to use font lock or
812 overlays, look at font-lock-mode instead of font-lock-fontified
813 (Bug#12168).
814 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
815 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
816
817 2012-08-14 Daiki Ueno <ueno@unixuser.org>
818
819 * subr.el (internal--after-with-selected-window): Fix typo
820 (Bug#12193).
821
822 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
823
824 Use `completion-table-dynamic' for completion functions.
825 * progmodes/python.el
826 (python-shell-completion--do-completion-at-point)
827 (python-shell-completion--get-completions):
828 Remove functions.
829 (python-shell-completion-complete-at-point): New function.
830 (python-completion-complete-at-point): Use it.
831
832 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
833
834 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
835 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
836
837 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * subr.el (function-get): Refine `autoload' arg so it can also
840 autoload functions for gv.el (bug#12191).
841 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
842 autoloads macros.
843
844 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
845 Prefer pcase-let over destructuring-bind.
846 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
847 Also, remove whitespace as we go, rather than after accumulating the
848 various places.
849
850 * subr.el (internal--before-with-selected-window)
851 (internal--after-with-selected-window): Fix typo seleted->selected.
852 (with-selected-window): Adjust callers.
853 Reported by Dmitry Gutov <dgutov@yandex.ru>.
854
855 2012-08-13 Bastien Guerry <bzg@gnu.org>
856
857 * window.el (special-display-popup-frame): Minor docstring
858 enhancement. (Bug#12172)
859
860 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
861
862 * tar-mode.el (tar-header-data-end): Only ignore size for files of
863 type 1-6.
864 (tar-header-block-summarize, tar-get-descriptor): Handle pax
865 extended headers.
866
867 * files.el (hack-local-variables-filter): Remove useless eval.
868
869 2012-08-13 Martin Rudalics <rudalics@gmx.at>
870
871 * subr.el (with-selected-window): Fix last change.
872
873 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * subr.el (internal--before-with-seleted-window)
876 (internal--after-with-seleted-window): New functions.
877 (with-selected-window): Use them, to replace dependency on
878 tty-top-frame.
879
880 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
881
882 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
883 binding for `newline'.
884 (ruby-move-to-block): When moving backward, stop at block opening,
885 not indentation.
886 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
887 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
888 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
889 `ruby-toggle-block'.
890
891 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * ibuffer.el (ibuffer-do-toggle-read-only):
894 * dired.el (dired-toggle-read-only):
895 * buff-menu.el (Buffer-menu-toggle-read-only):
896 * bindings.el (mode-line-toggle-read-only):
897 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
898
899 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
900
901 * descr-text.el (describe-char): Put the overlays over the
902 "displayed as" character.
903
904 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
905
906 * calc/calc-units.el (math-default-units-table): Give an
907 initial value.
908 (math-put-default-units): Add options to put composite units and
909 unit systems in the default units table.
910 (calc-convert-units): Send composite units to
911 `math-put-default-units' when appropriate.
912
913 2012-08-11 Glenn Morris <rgm@gnu.org>
914
915 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
916
917 * tutorial.el (help-with-tutorial):
918 * emacs-lisp/copyright.el (copyright-update-directory):
919 * emacs-lisp/autoload.el (autoload-find-generated-file)
920 (autoload-find-file): Disable local eval: (for insurance).
921
922 * files.el (hack-local-variables-filter): If an eval: form is not
923 known to be safe, and enable-local-variables is :safe, then ignore
924 the form totally, as is done for non-eval forms. (Bug#12155)
925 This is CVE-2012-3479.
926
927 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
930 (rx-form): Simplify.
931
932 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
933
934 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
935 ?, _, and : are symbol constituents, ! is not (but kinda should be).
936 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
937 (ruby-syntax-propertize-function): Adjust for changes in
938 `ruby-syntax-propertize-heredoc'.
939
940 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
941
942 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
943 binding (use `M-;' instead).
944 (ruby-singleton-class-p): New function.
945 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
946
947 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
950
951 2012-08-10 Chong Yidong <cyd@gnu.org>
952
953 * progmodes/python.el (python-shell-get-process-name): Don't mess
954 with same-window-buffer-names.
955
956 * eshell/eshell.el (eshell-add-to-window-buffer-names)
957 (eshell-remove-from-window-buffer-names): Make obsolete.
958 (eshell-buffer-name, eshell-unload-hook): Don't use them.
959 (eshell): Just use pop-to-buffer-same-window instead.
960
961 2012-08-10 Chong Yidong <cyd@gnu.org>
962
963 * bindings.el: Bind M-= back to count-words-region.
964
965 * simple.el (count-words-region): Accept a prefix arg for acting
966 on the entire buffer.
967 (count-words--buffer-message): New helper function.
968
969 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
972 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
973 (event-start, event-end): Use posn-at-point to return a more
974 informative posn.
975 (posnp): New function.
976 * mouse.el (popup-menu-normalize-position): Use it.
977
978 2012-08-10 Masatake YAMATO <yamato@redhat.com>
979
980 * mouse.el (popup-menu-normalize-position): New function.
981 (popup-menu): Use `popup-menu-normalize-position' to normalize
982 the form for POSITION argument.
983
984 * term/x-win.el (x-menu-bar-open):
985 Use the value returend from (posn-at-point) as position
986 passed to `popup-menu'.
987
988 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
989
990 * calc/calccomp.el (math-compose-expr): Add extra argument
991 indicating that parentheses should be put around products in
992 denominators. Give multiplication precedence over division during
993 composition.
994
995 2012-08-09 Chong Yidong <cyd@gnu.org>
996
997 * man.el (Man-switches, Man-sed-command, Man-awk-command)
998 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
999 (Man-untabify-command, manual-program): Convert to defcustom
1000 (Bug#10429).
1001
1002 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1003
1004 * descr-text.el (describe-char): Don't insert extra newlines
1005 (Bug#10127).
1006
1007 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1008 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1009
1010 * align.el (align-region): Delete temporary markers (Bug#10047).
1011 Plus some code cleanups.
1012
1013 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1014
1015 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1016 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1017 (python-shell-internal-last-output): Use make-local-variable
1018 instead of make-variable-buffer-local.
1019
1020 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1021
1022 * progmodes/python.el: Enhancements to forward-sexp.
1023 (python-nav-forward-sexp): Rename from
1024 python-nav-forward-sexp-function.
1025 (python-nav--forward-sexp, python-nav--backward-sexp):
1026 New functions.
1027
1028 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1029
1030 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1031 modes and simplification modes.
1032
1033 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * delsel.el (delete-selection-pre-hook): Don't propagate the
1036 file-supersession signals (bug#12161).
1037
1038 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1041 (cl-map-extents): Add compatibility aliases (bug#12135).
1042
1043 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
1044
1045 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1046 tests by `ignore-error'.
1047 (tramp-find-shell): Open also a new shell, when cache is already
1048 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1049
1050 2012-08-08 Juri Linkov <juri@jurta.org>
1051
1052 * bookmark.el: Add `defaults' property to the bookmark record.
1053 (bookmark-current-buffer): Doc fix.
1054 (bookmark-make-record): Add `defaults' property with default values
1055 to the bookmark record.
1056 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1057 with `bookmark-insert-current-bookmark'.
1058 (bookmark-set): Get `defaults' property from the bookmark record
1059 and use it in `read-from-minibuffer'.
1060 (bookmark-insert-current-bookmark): Remove function.
1061
1062 * info.el (Info-bookmark-make-record): Add `defaults' property
1063 with values of canonical Info node name, the current Info file
1064 name and the current Info node name. (Bug#12107)
1065
1066 2012-08-08 Juri Linkov <juri@jurta.org>
1067
1068 * files.el (basic-save-buffer): Use `buffer-name' as the default
1069 of `read-file-name' when buffer is not visiting a file (bug#12128).
1070
1071 2012-08-08 Juri Linkov <juri@jurta.org>
1072
1073 * info.el (Info-isearch-search): Doc fix.
1074 (Info-search): Change search-failed message from "initial node" to
1075 "end of node" (bug#12078).
1076 (Info-isearch-search): Change `isearch-string-state' to
1077 `isearch--state-string'.
1078
1079 2012-08-08 Glenn Morris <rgm@gnu.org>
1080
1081 * language/persian.el: Remove file.
1082 * language/misc-lang.el: Move unique part of persian.el here.
1083 * loadup.el: Remove language/persian.
1084
1085 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1086
1087 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1088
1089 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1090
1091 * progmodes/python.el Fixed defsubst warning.
1092 (python-syntax-context) Rename from python-info-ppss-context.
1093 (python-syntax-context-type): Rename from
1094 python-info-ppss-context-type.
1095 (python-syntax-comment-or-string-p): Rename from
1096 python-info-ppss-comment-or-string-p.
1097
1098 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1099
1100 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1101
1102 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1103
1104 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1105 a defcustom that is quoted with backquote.
1106
1107 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1108 Fix handling of interactive spec when the body uses return.
1109 (math-do-arg-check, math-define-function-body): Use backquote forms.
1110 * calc/calc-ext.el (math-defcache): Likewise.
1111 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1112 * allout.el (allout-new-exposure): Likewise.
1113 * calc/calcalg2.el (math-tracing-integral): Likewise.
1114 * info.el (Info-last-menu-item): Likewise.
1115 * emulation/vip.el (vip-loop): Likewise.
1116 * textmodes/artist.el (artist-funcall): Likewise.
1117 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1118 Construct menu-item directly.
1119
1120 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1121 Don't declare.
1122
1123 2012-08-07 Chong Yidong <cyd@gnu.org>
1124
1125 * simple.el (deactivate-mark): Preserve text properties when
1126 saving the primary selection (Bug#8384).
1127
1128 2012-08-07 Kevin Ryde <user42@zip.com.au>
1129
1130 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1131 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1132 and continue processing (Bug#12110).
1133
1134 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1137 syntax-propertize-function (bug#10095).
1138
1139 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1142 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1143 describe-function-1.
1144 (describe-function-1): Use them. Move compiler macro after sig.
1145 (help-fns--compiler-macro): Use function-get. Assume we're already in
1146 standard-output. Adjust layout to new call order.
1147
1148 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1149 re-binding a symbol that has a symbol-macro (bug#12119).
1150
1151 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1152
1153 * language/persian.el: New file. (Bug#11812)
1154 * loadup.el: Add language/persian.el.
1155
1156 2012-08-06 Chong Yidong <cyd@gnu.org>
1157
1158 * window.el (window--maybe-raise-frame): New function.
1159 (window--display-buffer): Split off from here.
1160 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1161 (display-buffer-pop-up-window, display-buffer-use-some-window):
1162 Obey an inhibit-switch-frame action alist entry.
1163 (display-buffer): Update doc.
1164
1165 * replace.el (occur-after-change-function): Avoid losing focus by
1166 using the inhibit-switch-frame display parameter (Bug#12139).
1167
1168 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1169
1170 Make internal shell process buffer names start with space.
1171 * progmodes/python.el (python-shell-make-comint): Add optional
1172 argument INTERNAL.
1173 (run-python-internal): Use it.
1174 (python-shell-internal-get-or-create-process): Check for new
1175 internal buffer names.
1176
1177 2012-08-06 Glenn Morris <rgm@gnu.org>
1178
1179 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1180 Do less getting and setting of environment variables.
1181
1182 2012-08-05 Chong Yidong <cyd@gnu.org>
1183
1184 * proced.el (proced): Add substitution string to docstring to
1185 trigger autoloading of the proced library on C-h f (Bug#1768).
1186
1187 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1188 Don't show defvars which have no second argument (Bug#8638).
1189
1190 * imenu.el (imenu-generic-expression): Move documentation here
1191 from imenu--generic-function.
1192 (imenu--generic-function): Refer to imenu-generic-expression.
1193
1194 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
1195
1196 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1197 indentation declaration.
1198 (viper-loop): Add indentation declaration (Bug#7025).
1199
1200 2012-08-05 Chong Yidong <cyd@gnu.org>
1201
1202 * help-fns.el (describe-variable): Add hyperlink for
1203 directory-local variables files. Improve buffer-local and
1204 permanent-local reporting; suggested by MON KEY (Bug#6644).
1205
1206 * help-mode.el (help-dir-local-var-def): New button type.
1207
1208 * files.el (kill-buffer-hook): Provide a defvar.
1209
1210 2012-08-05 Glenn Morris <rgm@gnu.org>
1211
1212 * eshell/esh-ext.el (eshell/addpath):
1213 Also update eshell-path-env. (Bug#12013)
1214
1215 2012-08-05 Chong Yidong <cyd@gnu.org>
1216
1217 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1218
1219 * fringe.el (fringe-styles): Add docstring.
1220 (fringe--check-mode): New function.
1221 (set-fringe-mode, set-fringe-style): Use it.
1222 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1223
1224 * files.el (set-auto-mode): Fix invalid setq call.
1225
1226 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * isearch.el: Misc simplification; use defstruct.
1229 (isearch-mode-map): Dense maps now work like sparse ones.
1230 (isearch--state): New defstruct.
1231 (isearch-string-state, isearch-message-state, isearch-point-state)
1232 (isearch-success-state, isearch-forward-state)
1233 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1234 (isearch-wrapped-state, isearch-barrier-state)
1235 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1236 replaced by defstruct's accessors.
1237 (isearch--set-state): Rename from isearch-top-state and change
1238 calling convention.
1239 (isearch-push-state): Use new isearch--get-state.
1240 (isearch-toggle-word): Disable regexp when enabling word.
1241 (isearch-message-prefix): Remove unused arg _c-q-hack.
1242 (isearch-message-suffix): Remove unused arg _ellipsis.
1243
1244 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1245
1246 * simple.el (list-processes--refresh): For a server use :host or
1247 :local as the address.
1248 (list-processes): Doc fix.
1249
1250 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1251
1252 * lisp/mpc.el: Support password in host argument.
1253 (mpc--proc-connect): Parse and use new password element.
1254 Set mpc-proc variable instead of returning process.
1255 (mpc-proc): Adjust accordingly.
1256
1257 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1258
1259 * whitespace.el (whitespace-display-mappings): Use Unicode
1260 codepoints, instead of emacs-mule codepoints. See
1261 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1262 for the details.
1263
1264 * files.el (file-truename): Don't skip symlink-chasing part on
1265 windows-nt. Incorporate the resolution of 8+3 short aliases on
1266 Windows into the loop that recursively chases symlinks.
1267 Compare directory and its parent case-insensitively on MS-Windows and
1268 MS-DOS.
1269
1270 2012-08-03 Chong Yidong <cyd@gnu.org>
1271
1272 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1273
1274 * sort.el (sort-regexp-fields): Doc fix.
1275
1276 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1277
1278 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1279 labels regex position point at the expected place.
1280
1281 2012-08-03 MON KEY <monkey@sandpframing.com>
1282
1283 * net/imap.el (imap-interactive-login, imap-authenticate)
1284 (imap-mailbox-lsub, imap-mailbox-list)
1285 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1286 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1287 (imap-parse-response): Doc fix.
1288
1289 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1290
1291 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1292 if sexp scanning does not move point (Bug#5734).
1293
1294 2012-08-02 Tassilo Horn <tsdh@gnu.org>
1295
1296 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1297 Add listings, minted, and ctable packages.
1298 (reftex-label-alist-builtin): Move listings, minted, and ctable
1299 entries before LaTeX.
1300 (reftex-label-alist): Docfix.
1301
1302 2012-08-02 Bastien Guerry <bzg@gnu.org>
1303
1304 * replace.el (occur): Fix docstring (bug#12122).
1305
1306 2012-08-02 Glenn Morris <rgm@gnu.org>
1307
1308 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1309
1310 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1311
1312 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1313 * international/mule-cmds.el: Create
1314 inactivate-current-input-method-function as an obsolete alias for
1315 deactivate-current-input-method-function. See Katsumi Yamaoka in
1316 <http://bugs.gnu.org/10150#46>.
1317
1318 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1319
1320 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1321 of nested `if's.
1322
1323 2012-08-01 Glenn Morris <rgm@gnu.org>
1324
1325 * progmodes/autoconf.el (autoconf-definition-regexp):
1326 Add AH_TEMPLATE, adjust submatch numbering.
1327 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1328 (autoconf-current-defun-function): Update for above change.
1329 (autoconf-current-defun-function): First skip to end of current word.
1330
1331 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1332
1333 * calendar/cal-html.el (cal-html-insert-agenda-days):
1334 Fix typo. (Bug#12018)
1335
1336 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1337
1338 Shell processes: enhancements to startup and CEDET compatibility.
1339 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1340 (python-shell-make-comint): accept-process-output at startup.
1341 (run-python-internal): Set inferior-python-mode-hook to nil.
1342 (python-shell-internal-get-or-create-process): call sit-for.
1343 (python-preoutput-result): Add obsolete alias.
1344 (python-shell-internal-send-string): Use it.
1345 (python-shell-send-setup-code): Remove call to
1346 accept-process-output.
1347
1348 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1349
1350 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1351 (Bug#12108)
1352
1353 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1354
1355 * calc-mode.el (calc-basic-simplification-mode): Rename from
1356 `calc-limited-simplification-mode'.
1357 (calc-alg-simplification-mode): New function.
1358 (calc-set-simplify-mode): Adjust message.
1359
1360 * calc.el (calc-set-mode-line): Adjust mode line display for
1361 basic simplification mode.
1362
1363 * calc-help.el (calc-m-prefix-help): Update help message.
1364
1365 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1366 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1367
1368 2012-07-31 Bastien Guerry <bzg@gnu.org>
1369
1370 * man.el (man): Fix comment. (bug#12101)
1371
1372 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1373
1374 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1375 Don't return a non-nil value when no suitable buffer was found.
1376
1377 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1378
1379 * progmodes/python.el (run-python-internal): Disable font lock for
1380 internal shells.
1381
1382 2012-07-30 Stefan Merten <smerten@oekonux.de>
1383
1384 * rst.el: Silence `checkdoc-ispell'.
1385 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1386 (rst-official-version, rst-official-cvs-rev)
1387 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1388 (rst-mode-map): New key binding.
1389
1390 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1391
1392 Update .PHONY listings in makefiles.
1393 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1394 autoloads, update-subdirs, updates, bzr-update, update-authors,
1395 compile-onefile, compile-calc, backup-compiled-files,
1396 compile-after-backup, compile-one-process, mh-autoloads,
1397 bootstrap-clean, distclean, maintainer-clean.
1398
1399 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1400
1401 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1402 (calc-set-mode-line): Don't display "AlgSimp ".
1403
1404 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1405 (calc-lim-simplify-mode): New function.
1406 (calc-set-simplify-mode): Default to 'alg.
1407 (calc-default-simplify-mode): Make algebraic simplifications
1408 the default.
1409
1410 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1411 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1412
1413 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1414 indicate new simplification modes.
1415
1416 * calc/README: Mention new default simplification mode.
1417
1418 * calc/calc.el (math-normalize-error): New variable.
1419 (math-normalize): Set `math-normalize-error' to t
1420 when there's an error.
1421
1422 * calc/calc-alg.el (math-simplify): Don't simplify when
1423 `math-normalize' returns an error.
1424
1425 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1426
1427 * international/mule-cmds.el (set-locale-environment): Revert last
1428 change, since display-graphic-p returns nil when this function is
1429 called during startup. Instead...
1430
1431 * term/w32console.el (terminal-init-w32console): ...setup the
1432 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1433
1434 2012-07-29 Juri Linkov <juri@jurta.org>
1435
1436 * simple.el (goto-line): Don't display default line number in the
1437 prompt because it should be displayed by `read-number' (bug#9952).
1438 Add the current line number to the defaults of `goto-line' to
1439 allow its easier modification by users with `M-n' (bug#9201).
1440
1441 * subr.el (read-number): Support multiple default values like in
1442 other minibuffer reading functions. Replace `read' with
1443 `string-to-number' for consistency with `number-to-string'.
1444
1445 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1446
1447 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1448 * emulation/viper-init.el (viper-deactivate-input-method-action):
1449 Rename from viper-inactivate-input-method-action.
1450 (viper-deactivate-input-method):
1451 Rename from viper-inactivate-input-method.
1452 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1453 * international/mule-cmds.el (deactivate-input-method):
1454 Rename from inactivate-input-method.
1455 Also run input-method-deactivate-hook.
1456 (deactivate-current-input-method-function):
1457 Rename from inactivate-current-input-method-function.
1458 (input-method-deactivate-hook): New hook.
1459 (input-method-inactivate-hook): Mark obsolete.
1460 (inactivate-input-method): Mark obsolete.
1461
1462 * international/quail.el (quail-activate):
1463 Also run quail-deactivate-hook.
1464 (quail-deactivate): Rename from quail-inactivate.
1465 * international/robin.el (robin-activate):
1466 Also run robin-deactivate-hook.
1467 (robin-deactivate): Rename from robin-inactivate.
1468
1469 2012-07-29 Chong Yidong <cyd@gnu.org>
1470
1471 * simple.el (indicate-copied-region): New function.
1472 (kill-ring-save): Split off from here.
1473
1474 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1475 (kill-rectangle): Set deactivate-mark to t on read-only error.
1476
1477 * register.el (copy-to-register, copy-rectangle-to-register):
1478 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1479 (append-to-register, prepend-to-register):
1480 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1481
1482 * simple.el (async-shell-command-buffer): New defcustom.
1483 (shell-command): Use it. (Bug#4719)
1484
1485 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1486
1487 * international/mule-cmds.el (set-locale-environment): In a
1488 console session on MS-Windows, set up keyboard and terminal
1489 encoding from the OEM codepage, not the ANSI codepage.
1490 (Bug#12055)
1491
1492 2012-07-28 Chong Yidong <cyd@gnu.org>
1493
1494 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1495 gdb-get-location.
1496
1497 2012-07-28 Leo Liu <sdl.web@gmail.com>
1498
1499 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1500 the alist (bug#12029).
1501
1502 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1503
1504 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1505 (compile-always, compile-first)
1506 ($(lisp)/calendar/cal-loaddefs.el)
1507 ($(lisp)/calendar/diary-loaddefs.el)
1508 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1509 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1510 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1511 instead of on update-subdirs.
1512 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1513
1514 2012-07-28 Chong Yidong <cyd@gnu.org>
1515
1516 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1517 directory if vc-deduce-backend returns nil (Bug#7350).
1518
1519 * simple.el (delete-trailing-lines): New option.
1520 (delete-trailing-whitespace): Obey it (Bug#11879).
1521
1522 2012-07-28 David Engster <deng@randomsample.de>
1523
1524 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1525 Explanation of new 'symbol-qnames feature in doc-strings.
1526 (xml-maybe-do-ns): Return expanded names as plain symbols if
1527 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1528 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1529
1530 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1531
1532 Consistent completion in inferior python with emacs -nw.
1533 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1534 binding in inferior-python-mode-map with "\t".
1535 (python-shell-completion-complete-at-point)
1536 (python-completion-complete-at-point): Remove interactive spec.
1537
1538 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1539
1540 * calc/calccomp.el (math-compose-expr): Undo previous change.
1541
1542 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1543
1544 * progmodes/python.el (python-mode-map): Add keybinding for
1545 run-python.
1546 (python-shell-make-comint): Fix pop-to-buffer call.
1547 (run-python): Autoload. New arg SHOW.
1548 (python-shell-get-or-create-process): Do not pop python process
1549 buffer.
1550
1551 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
1552
1553 * notifications.el (notifications-on-action-signal)
1554 (notifications-on-closed-signal): Use also the bus address for the map.
1555 (notifications-notify, notifications-close-notification)
1556 (notifications-get-capabilities): Add optional argument BUS.
1557
1558 2012-07-27 Tassilo Horn <tsdh@gnu.org>
1559
1560 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1561 Add support for the lstlisting and minted environments, and for the
1562 ctable macro.
1563 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1564 labels written in keyvals syntax.
1565
1566 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1567
1568 * calc/calccomp.el (math-compose-expr): Use parentheses when
1569 there is a product in the denominator of a fraction.
1570
1571 2012-07-26 Eli Zaretskii <eliz@gnu.org>
1572
1573 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1574 ($(lisp)/calendar/diary-loaddefs.el)
1575 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1576 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1577 Fixes failures in parallel bootstrap because subdirs.el is being
1578 rewritten while the autoload files are built at the same time,
1579 which needs to load subdirs.el.
1580
1581 2012-07-26 Martin Rudalics <rudalics@gmx.at>
1582
1583 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1584 (mouse-drag-line): Don't exit tracking when a switch-frame or
1585 switch-window event occurs (Bug#12006).
1586
1587 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * mouse.el (popup-menu): Fix last change.
1590
1591 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 Autoload from Lisp with more care. Follow aliases when looking for
1594 function properties.
1595 * subr.el (autoloadp): New function.
1596 (symbol-file): Use it.
1597 (function-get): New function.
1598 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1599 autoload-do-load.
1600 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1601 (lisp-indent-function):
1602 * emacs-lisp/gv.el (gv-get):
1603 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1604 * emacs-lisp/byte-opt.el (byte-optimize-form):
1605 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1606 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1607 Use function-get.
1608 * emacs-lisp/cl.el: Don't propagate function properties any more.
1609
1610 * speedbar.el (speedbar-add-localized-speedbar-support):
1611 * emacs-lisp/disass.el (disassemble-internal):
1612 * desktop.el (desktop-load-file):
1613 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1614 (describe-function-1):
1615 * emacs-lisp/find-func.el (find-function-noselect):
1616 * emacs-lisp/elp.el (elp-instrument-function):
1617 * emacs-lisp/advice.el (ad-has-proper-definition):
1618 * apropos.el (apropos-safe-documentation, apropos-macrop):
1619 * emacs-lisp/debug.el (debug-on-entry):
1620 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1621 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1622 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1623
1624 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1625
1626 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1627 function, not an obsolete variable (Bug#12046).
1628
1629 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1630
1631 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1632
1633 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1634
1635 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1636 window only if it is still live (Bug#12034).
1637
1638 2012-07-25 Martin Rudalics <rudalics@gmx.at>
1639
1640 * subr.el (redirect-frame-focus): Add advertised calling
1641 convention (Bug#12030).
1642
1643 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1644
1645 Prefer typical American spelling for "acknowledgment".
1646 * vc/add-log.el (change-log-acknowledgment): Rename from
1647 change-log-acknowledgement, with an alias for the old name.
1648
1649 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1650
1651 * calc-alg.el (math-simplify-divide): Don't cross multiply
1652 in an equation when the lhs is a variable.
1653
1654 2012-07-24 Julien Danjou <julien@danjou.info>
1655
1656 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1657 Remove, unused.
1658
1659 2012-07-23 Eli Zaretskii <eliz@gnu.org>
1660
1661 * startup.el (command-line): Don't display an empty user name in
1662 the error message about non-existent home directory, when
1663 init-file-user was set to an empty string. See
1664 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1665 for the details and context.
1666
1667 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1668
1669 * ses.el (ses-cell-formula-aset): New macro.
1670 (ses-cell-references-aset): New macro.
1671 (ses-cell-p): New function.
1672 (ses-rename-cell): Do no longer rely on complex operations like
1673 ses-cell-set-formula or ses-set-cell to change the cell and handle
1674 the undo at the same time, but rather use lower level new macros
1675 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1676 the undo directly. Refresh the mode line.
1677
1678 2012-07-21 Leo Liu <sdl.web@gmail.com>
1679
1680 * progmodes/cc-cmds.el (c-defun-name):
1681 Use match-string-no-properties instead for consistency.
1682
1683 2012-07-20 Leo Liu <sdl.web@gmail.com>
1684
1685 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1686 (Bug#7879)
1687
1688 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1689
1690 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1693 * progmodes/bug-reference.el, misearch.el: Provide themselves
1694 (bug#11915).
1695
1696 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1697 of narrowed buffer (bug#11966).
1698
1699 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1700
1701 * ses.el (ses-rename-cell): Set new name also in reference list of
1702 cells of which the renamed cell depends.
1703
1704 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1705
1706 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1707 to check whether menu-bar is shown or not. If not shown,
1708 show the menu-bar as a popup menu instead of using tmm.
1709 * mouse.el (popup-menu): Accept `point' as `position' argument.
1710
1711 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1714 up inside string symbol literal (bug#11923).
1715
1716 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1717
1718 * startup.el (fancy-startup-text): Read the whole tutorial, not
1719 just its first 256 bytes. Prevents gibberish in display of the
1720 tutorial title.
1721
1722 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1723
1724 Drop idle buffer compaction due to an absence of the
1725 proved efficiency.
1726 * compact.el: Remove.
1727
1728 2012-07-19 Sam Steingold <sds@gnu.org>
1729
1730 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1731 vc-bzr-pull & vc-bzr-merge-branch.
1732 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1733 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1734 for consistency with compilation-error-regexp-alist.
1735 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1736 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1737 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1738 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1739
1740 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * emacs-lisp/chart.el: Use lexical-binding.
1743 (chart-emacs-storage): Don't hardcode the list of entries.
1744
1745 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1746
1747 Next round of tweaks caused by Fgarbage_collect changes.
1748 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1749
1750 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1751
1752 Compact buffers when idle.
1753 * compact.el: New file.
1754
1755 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * subr.el (eventp): Presume that if it looks vaguely like an event,
1758 it's an event (bug#10190).
1759
1760 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1761
1762 Enhancements to ppss related code (thanks Stefan).
1763 * progmodes/python.el (python-indent-context)
1764 (python-indent-calculate-indentation, python-indent-dedent-line)
1765 (python-indent-electric-colon, python-nav-forward-block)
1766 (python-mode-abbrev-table)
1767 (python-info-assignment-continuation-line-p): Simplify checks
1768 for ppss context.
1769 (python-info-continuation-line-p): Cleanup.
1770 (python-info-ppss-context): Do not catch 'quote.
1771 (python-info-ppss-context-type)
1772 (python-info-ppss-comment-or-string-p): Simplify.
1773
1774 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1775
1776 * progmodes/python.el: Enhancements to eldoc support.
1777 (python-info-current-symbol): New function.
1778 (python-eldoc-at-point): Use python-info-current-symbol.
1779 (python-info-current-defun): Fix cornercase on first defun scan.
1780 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1781 and signal error when no inferior python process is available.
1782
1783 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1784
1785 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1786 assume it's always t.
1787 (vc-git-registered): Remove caching, the function is only called
1788 once.
1789 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1790
1791 2012-07-18 Chong Yidong <cyd@gnu.org>
1792
1793 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1794
1795 * simple.el (count-words): Report on narrowing (Bug#9959).
1796
1797 * bindings.el: Bind M-= to count-words.
1798
1799 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1800
1801 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1802
1803 * progmodes/sh-script.el (sh-imenu-generic-expression):
1804 Capture a function with `function' keyword and without parentheses
1805 like "function FOO" (bug#11856).
1806
1807 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1808
1809 * window.el (split-window-sensibly): Make WINDOW argument
1810 optional.
1811
1812 2012-07-18 Chong Yidong <cyd@gnu.org>
1813
1814 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1815
1816 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1817 and make C-x 8 RET exit isearch (Bug#11439).
1818
1819 * international/iso-transl.el: Move isearch-mode-map key
1820 definitions to isearch.el.
1821
1822 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1825 (eieio-defclass): Use gv-define-setter when possible.
1826
1827 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1828
1829 Reflect recent changes in Fgarbage_collect.
1830 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1831 reflect new format of data returned by Fgarbage_collect.
1832
1833 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1834
1835 New utility functions + python-info-ppss-context fix (Bug#11910).
1836 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1837 (python-info-ppss-comment-or-string-p): New functions.
1838 (python-info-ppss-context): Small fix for string check.
1839
1840 2012-07-17 Juri Linkov <juri@jurta.org>
1841
1842 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1843 (dired-do-async-shell-command): Don't add `*' at the end of the
1844 command (Bug#11815).
1845 (dired-do-shell-command): Doc fix.
1846 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1847 Join the individual commands using either "&" or ";" as the
1848 separator depending on the values of these trailing characters.
1849 At the end re-add the trailing "&". (Bug#10598)
1850
1851 * simple.el (async-shell-command): Sync the interactive spec with
1852 `shell-command'. Doc fix.
1853 (shell-command): Doc fix.
1854
1855 2012-07-17 Juri Linkov <juri@jurta.org>
1856
1857 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1858
1859 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1860
1861 Final renames and doc fixes for movement commands (bug#11899).
1862 * progmodes/python.el (python-nav-beginning-of-statement):
1863 Rename from python-nav-statement-start.
1864 (python-nav-end-of-statement): Rename from
1865 python-nav-statement-end.
1866 (python-nav-beginning-of-block): Rename from
1867 python-nav-block-start.
1868 (python-nav-end-of-block): Rename from python-nav-block-end.
1869
1870 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1871
1872 * progmodes/python.el (python-shell-send-string-no-output):
1873 Allow accept-process-output to quit, keeping shell process ready for
1874 future interactions (Bug#11868).
1875
1876 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1879
1880 * emacs-lisp/elint.el (elint-find-args-in-code):
1881 Use help-function-arglist, so as to handle lexical byte-code.
1882
1883 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1884 change (bug#11826).
1885
1886 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1889 Avoid spuriously marking the buffer as modified because of c-is-sws.
1890
1891 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1892 as not-a-comment (bug#11946).
1893
1894 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1895 for uninterned vars.
1896
1897 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1898 Use read-event since we don't really want to read chars but bytes.
1899
1900 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1901 $$..$$ but also $..$ using regexps (bug#11953).
1902 Use tex-verbatim for \url and \path.
1903 (tex-font-lock-keywords): Define as defconst like the others.
1904 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1905
1906 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1907
1908 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1909 alias for insert-char.
1910
1911 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1912
1913 * progmodes/python.el: Simplified imenu implementation.
1914 (python-nav-jump-to-defun): Remove command.
1915 (python-mode-map): Use `imenu' instead.
1916 (python-nav-list-defun-positions-cache)
1917 (python-imenu-include-defun-type, python-imenu-make-tree)
1918 (python-imenu-subtree-root-label, python-imenu-index-alist):
1919 Remove vars.
1920 (python-nav-list-defun-positions, python-nav-read-defun)
1921 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1922 (python-imenu-make-tree, python-imenu-create-index):
1923 Remove functions.
1924 (python-mode): Update to interact with imenu by setting
1925 `imenu-extract-index-name-function' only.
1926
1927 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1928
1929 * progmodes/python.el: Enhancements to navigation commands.
1930 (python-nav-backward-sentence)
1931 (python-nav-forward-sentence): Remove.
1932 (python-nav-backward-statement, python-nav-forward-statement)
1933 (python-nav-statement-start, python-nav-statement-end)
1934 (python-nav-backward-block, python-nav-forward-block)
1935 (python-nav-block-start, python-nav-block-end)
1936 (python-nav-forward-sexp-function)
1937 (python-info-current-line-comment-p)
1938 (python-info-current-line-empty-p): New functions.
1939 (python-indent-context): Use `python-nav-statement-start'.
1940
1941 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1942
1943 * eshell/em-ls.el (eshell/ls): Use `apply'.
1944
1945 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1946 multi-hops, instead of Tramp internals.
1947
1948 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1949
1950 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1951 when F1 and F2 are located on different hosts.
1952
1953 2012-07-14 Chong Yidong <cyd@gnu.org>
1954
1955 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1956 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1957 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1958 (xterm-mouse--read-event-sequence-1000)
1959 (xterm-mouse--read-event-sequence-1006): New functions. For old
1960 mouse protocol, handle M-mouse-X events correctly.
1961 (xterm-mouse-event): New arg specifying mouse protocol.
1962 (turn-on-xterm-mouse-tracking-on-terminal)
1963 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1964 sequence to toggle extended coordinates on newer XTerms.
1965 This appears to be harmless on terminals which do not support this.
1966
1967 2012-07-14 Leo Liu <sdl.web@gmail.com>
1968
1969 Add fringe bitmap indicators for flymake. (Bug#11253)
1970 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1971 (flymake-make-overlay): New arg BITMAP.
1972 (flymake-error-bitmap, flymake-warning-bitmap)
1973 (flymake-fringe-indicator-position): New user variables.
1974
1975 * fringe.el: New bitmap exclamation-mark.
1976
1977 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1978
1979 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1980 also (Bug#7879).
1981
1982 2012-07-14 Chong Yidong <cyd@gnu.org>
1983
1984 * electric.el (electric-pair-post-self-insert-function): Fix pair
1985 insertion in empty-region case (Bug#11520).
1986
1987 2012-07-14 Chong Yidong <cyd@gnu.org>
1988
1989 * bindings.el: Consolidate ctl-x-r-map bindings.
1990 Bind copy-rectangle-as-kill to C-x r w.
1991
1992 * rect.el, register.el: Move bindings to bindings.el.
1993
1994 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1995
1996 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1997
1998 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1999
2000 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2001
2002 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
2003
2004 * bindings.el (top): Use `mapc' instead of `mapcar'.
2005
2006 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2007
2008 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
2009
2010 * progmodes/sql.el (sql-comint): Suppress the check for program on
2011 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2012 (Bug#11908)
2013
2014 2012-07-13 Chong Yidong <cyd@gnu.org>
2015
2016 * bindings.el: Assign a non-nil permanent-local property to
2017 per-buffer variables which lack a default value (Bug#11930).
2018
2019 * help-fns.el (describe-variable): In the "automatically becomes
2020 local" notice, take note of permanent-local variables.
2021
2022 2012-07-13 Chong Yidong <cyd@gnu.org>
2023
2024 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2025 to allow printing the message when called from Lisp.
2026
2027 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2028 Remove toggle-read-only.
2029
2030 * bs.el (bs-toggle-readonly):
2031 * buff-menu.el (Buffer-menu-toggle-read-only):
2032 Remove with-no-warnings around toggle-read-only.
2033
2034 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2035 Remove with-no-warnings around toggle-read-only.
2036 (ffap-read-only, ffap-read-only-other-window)
2037 (ffap-read-only-other-frame): Callers changed.
2038
2039 * help-mode.el: Don't require view package.
2040 (help-mode-finish): Set buffer-read-only instead of calling
2041 toggle-read-only.
2042
2043 * bindings.el (mode-line-toggle-read-only):
2044 * dired.el (dired-toggle-read-only):
2045 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2046 with non-nil second arg.
2047
2048 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2049 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2050 directly.
2051
2052 2012-07-12 Eli Zaretskii <eliz@gnu.org>
2053
2054 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2055 not incf.
2056
2057 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 More CL cleanups and reduction of use of cl.el.
2060 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2061 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2062 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2063 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2064 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2065 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2066 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2067 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2068 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2069 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2070 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2071 * eshell/em-cmpl.el, eshell/em-banner.el:
2072 * calendar/parse-time.el: Use cl-lib.
2073 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2074 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2075 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2076 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2077 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2078 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2079 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2080 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2081 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2082 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2083 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2084 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2085 `lambda' rather than with `quote'.
2086 (eshell-do-opt): Adjust accordingly.
2087 (eshell-process-option): Simplify.
2088 * eshell/esh-var.el:
2089 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2090 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2091 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2092 to `pcase--dontcare'.
2093 * emacs-lisp/cl.el (labels): Mark obsolete.
2094 (cl--letf, letf): Move to cl-lib.
2095 (cl--letf*, letf*): Remove.
2096 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2097 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2098 (cl-progv): Rewrite.
2099 (cl--letf, cl-letf): Move from cl.el.
2100 (cl-letf*): New macro.
2101 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2102
2103 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
2104
2105 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2106
2107 2012-07-11 Chong Yidong <cyd@gnu.org>
2108
2109 * vc/log-edit.el (log-edit-vc-backend): New variable.
2110 (log-edit): Doc fix.
2111
2112 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2113 argument of log-edit to set up all local variables.
2114 (vc-start-logentry): New optional arg specifying VC backend.
2115
2116 * vc/vc.el (vc-checkin): Use it.
2117 (vc-deduce-fileset): Handle Log Edit buffers.
2118 (vc-diff): Make first argument optional too.
2119
2120 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2121
2122 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
2123
2124 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2125 command, just in case. The function is not needed anymore.
2126 (eshell-external-command): Do not call `eshell-remote-command'.
2127
2128 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 Reduce use of (require 'cl).
2131 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2132 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2133 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2134 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2135 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2136 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2137 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2138 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2139 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2140 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2141 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2142 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2143 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2144 (byte-compile-unfold-bcf, byte-compile-check-variable):
2145 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2146 (byte-compile-nilconstp):
2147 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2148 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2149
2150 * emacs-lisp/gv.el (cond): Make it a valid place.
2151 (if): Simplify slightly.
2152
2153 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2154 (pcase--self-quoting-p): New function.
2155 (pcase--u1): Use it.
2156
2157 2012-07-10 Glenn Morris <rgm@gnu.org>
2158
2159 * emacs-lisp/authors.el (authors-fixed-entries):
2160 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2161
2162 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2163
2164 Rename configure.in to configure.ac (Bug#11603).
2165 * emacs-lisp/authors.el (authors-canonical-file-name):
2166 * progmodes/autoconf.el (autoconf-mode):
2167 Prefer configure.ac to configure.in.
2168
2169 2012-07-08 Chong Yidong <cyd@gnu.org>
2170
2171 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2172 Implement the mouse-1-click-follows-link handling properly.
2173
2174 * info.el (Info-link-keymap): Use follow-link mechanism for
2175 header-line links (Bug#374).
2176
2177 * simple.el (deactivate-mark): Do not set the primary selection
2178 if another program has acquired it (Bug#11772).
2179
2180 2012-07-07 Kevin Ryde <user42@zip.com.au>
2181
2182 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2183 (woman-decode-region): Replace escaped-escapes without destroying
2184 bold or underline (Bug#11552).
2185 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2186
2187 2012-07-07 Chong Yidong <cyd@gnu.org>
2188
2189 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2190 (interprogram-cut-function, interprogram-paste-function):
2191 Mention that we typically mean the clipboard.
2192
2193 2012-07-06 Glenn Morris <rgm@gnu.org>
2194
2195 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2196
2197 * files.el (toggle-read-only): Restrict message to interactive use.
2198
2199 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2200
2201 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2202
2203 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2204
2205 2012-07-06 Glenn Morris <rgm@gnu.org>
2206
2207 * Makefile.in (compile-one-process): Rename from "recompile".
2208
2209 * Makefile.in (bzr-update): "compile" is the same as "recompile
2210 autoloads", but parallelizable, so use that instead.
2211
2212 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2213
2214 * window.el (quit-window): Always restore window height when
2215 it's saved in quit-restore parameter (Bug#11810).
2216
2217 2012-07-06 Glenn Morris <rgm@gnu.org>
2218
2219 * simple.el (kill-whole-line): Doc tweak.
2220
2221 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2222
2223 * files.el (file-relative-name): Compare file names
2224 case-insensitively if on MS-Windows or MS-DOS, or if
2225 read-file-name-completion-ignore-case is non-nil. Don't use
2226 case-fold-search for this purpose. (Bug#11827)
2227
2228 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2229
2230 * calendar/cal-dst.el (calendar-current-time-zone):
2231 Return calendar-current-time-zone-cache if non-nil.
2232
2233 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2234 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2235
2236 * calendar/cal-dst.el (calendar-current-time-zone):
2237 Return calendar-current-time-zone-cache if non-nil.
2238
2239 2012-07-06 Glenn Morris <rgm@gnu.org>
2240
2241 * Makefile.in (cvs-update): Remove old alias.
2242
2243 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2244
2245 Sync with Tramp 2.2.6-pre.
2246
2247 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2248 compatible declaration.
2249
2250 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2251 Protect `list-load-path-shadows' call.
2252
2253 * net/tramp-compat.el (top): Require packages, which aren't
2254 autoloaded anymore for XEmacs. Protect call of
2255 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2256 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2257 it hurts at least for SXEmacs.
2258 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2259 standard-value for `temporary-file-directory'.
2260
2261 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2262 Redirect stderr to /dev/null.
2263 (tramp-sh-handle-write-region): uid and gid can be floats.
2264 Reported by Russell Sim <russell.sim@gmail.com>.
2265 (tramp-sh-handle-vc-registered): Hide errors.
2266 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2267 and `start-file-process'.
2268 (tramp-maybe-open-connection): Check also whether `non-essential'
2269 is bound.
2270
2271 2012-07-04 Chong Yidong <cyd@gnu.org>
2272
2273 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2274 (xml-parse-tag): Likewise, and avoid changing entity tables.
2275 (xml-syntax-table): Define from scratch, making sure not to give
2276 x2000 and other Unicode spaces whitespace syntax, since those are
2277 not spaces in XML.
2278 (xml-parse-fragment): Delete unused function.
2279 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2280 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2281 (xml-entity-ref, xml-pe-reference-re)
2282 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2283 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2284 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2285 (xml-entity-value-re): Use syntax references in regexps where
2286 possible; no need to define inside a let-binding.
2287 (xml-parse-dtd): Use xml-pe-reference-re.
2288 (xml-entity-or-char-ref-re): New defconst.
2289 (xml-parse-string, xml-substitute-special): Use it.
2290
2291 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2294 (find-file--read-only): New function.
2295 (find-file-read-only, find-file-read-only-other-window)
2296 (find-file-read-only-other-frame): Use it.
2297 (insert-file-contents-literally): Don't `fset'.
2298 (get-free-disk-space): Use locate-dominating-file.
2299
2300 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2301 function is already compiled.
2302
2303 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2304
2305 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2306
2307 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2308 files on the same host.
2309
2310 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2311
2312 * help-fns.el (describe-function-1): Only call
2313 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2314
2315 2012-07-03 Chong Yidong <cyd@gnu.org>
2316
2317 * xml.el: Protect parser against XML bombs.
2318 (xml-entity-expansion-limit): New variable.
2319 (xml-parse-string, xml-substitute-special): Use it.
2320 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2321
2322 2012-07-03 Glenn Morris <rgm@gnu.org>
2323
2324 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2325 Allow linking to specific messages in debbugs reports (eg 123#5).
2326
2327 2012-07-02 Chong Yidong <cyd@gnu.org>
2328
2329 * xml.el: Fix entity and character reference expansion, allowing
2330 them to expand into markup as per XML spec.
2331 (xml-default-ns): New variable.
2332 (xml-entity-alist): Use XML spec definitions for lt and amp.
2333 (xml-parse-region): Make first two arguments optional.
2334 Discard text properties.
2335 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2336 All callers changed.
2337 (xml-parse-tag): Call xml-parse-tag-1. For backward
2338 compatibility, this function should not modify buffer contents.
2339 (xml-parse-tag-1): Fix opening-tag regexp.
2340 (xml-parse-string): Rewrite, handling entity and character
2341 references properly.
2342 (xml--entity-replacement-text): Signal an error if a parameter
2343 entity is undefined.
2344
2345 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * comint.el (comint-output-filter): Filter out repeated prompts.
2348
2349 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2350 and file-name-absolute-p.
2351 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2352 internal calls.
2353
2354 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2355
2356 Spelling fixes.
2357 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2358 Rename from byte-compile--refiy-function. All uses changed.
2359
2360 2012-07-01 Chong Yidong <cyd@gnu.org>
2361
2362 * xml.el (xml--parse-buffer): New function. Move most of
2363 xml-parse-region here.
2364 (xml-parse-region): Copy region into a temporary buffer, since
2365 parameter entity substitution requires changing buffer contents.
2366 Use xml--parse-buffer.
2367 (xml-parse-file): Use xml--parse-buffer.
2368 (xml-parse-dtd): Make parameter entity substitution work right.
2369 Use proper regexps for ELEMENT declarations (Bug#7172).
2370
2371 2012-06-30 Glenn Morris <rgm@gnu.org>
2372
2373 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2374
2375 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2376 Remove outdated and unnecessary dbus declarations.
2377
2378 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2379
2380 * emacs-lisp/timer.el (timer-until): Subtract results of
2381 float-time, instead of taking float-time of the result of
2382 time-subtract, since float-time signals an error for negative time
2383 arguments.
2384
2385 2012-06-30 Chong Yidong <cyd@gnu.org>
2386
2387 * xml.el (xml-*-re): Convert defvars into defconsts, and
2388 eval-and-compile them so eval-and-compile works on derivatives.
2389 (xml--entity-replacement-text): Use eval-and-comple.
2390
2391 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2392
2393 * vc/vc-git.el (vc-git-registered): Use cache property
2394 `git-registered'.
2395 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2396 `vc-git-working-revision' in order to benefit from the cache.
2397 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2398
2399 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2400
2401 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2402 removed (likely outside Emacs). (Bug#11757)
2403
2404 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * emacs-lisp/cl-lib.el: Require macroexp.
2407
2408 2012-06-30 Chong Yidong <cyd@gnu.org>
2409
2410 * xml.el: Implement XML parameter entities.
2411 (xml-parameter-entity-alist): New variable.
2412 (xml-parse-region, xml-parse-fragment): Preserve previous values
2413 of xml-entity-alist and xml-parameter-entity-alist, so that
2414 repeated calls on different documents do not change them.
2415 (xml-parse-tag): Fix doctype regexp.
2416 (xml--entity-replacement-text): New function.
2417 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2418 properly requires url retrieval which is unimplemented.
2419 (xml-escape-string): Doc fix.
2420
2421 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2424
2425 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2426
2427 * fringe.el (fringe-mode): Doc fix.
2428
2429 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2430
2431 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2432 is non-nil.
2433 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2434 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2435
2436 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2437
2438 * calendar/cal-dst.el (calendar-current-time-zone):
2439 Return calendar-current-time-zone-cache if non-nil.
2440
2441 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2442
2443 * progmodes/which-func.el (which-func-format):
2444 Add mouse-face. (Bug#11698)
2445
2446 2012-06-29 Leo Liu <sdl.web@gmail.com>
2447
2448 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2449
2450 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * minibuffer.el (minibuffer-confirm-exit-commands):
2453 Add completion-at-point (bug#11725).
2454
2455 2012-06-29 Glenn Morris <rgm@gnu.org>
2456
2457 * progmodes/f90.el (f90-font-lock-keywords-2):
2458 Add some preprocessor elements. (Bug#10499)
2459
2460 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2463 Use syntax-propertize (bug#11739).
2464
2465 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2466
2467 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2468
2469 2012-06-28 Julien Danjou <julien@danjou.info>
2470
2471 * term.el (term-handle-colors-array): Use a set of new faces to
2472 color the terminal. Also uses :inverse-video property.
2473 (term-default-fg-color): Set to nil by default, deprecate in favor
2474 of `term-face'.
2475 (term-default-bg-color): Set to nil by default, deprecate in favor
2476 of `term-face'.
2477 (term-current-face): Use `term-face' by default.
2478 (term-bold-attribute): Variable deleted.
2479
2480 2012-06-28 Glenn Morris <rgm@gnu.org>
2481
2482 * simple.el (completion-list-mode-finish):
2483 Don't use toggle-read-only. (Since completion-list-mode has
2484 a special mode-class, it wasn't doing anything extra anyway.)
2485
2486 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 Make inlining of other-mode interpreted functions work (bug#11799).
2489 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2490 (byte-compile): Use it to fix compilation of lexical-binding closures.
2491 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2492 function, if needed.
2493
2494 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * help-mode.el (help-make-xrefs): Don't just withstand
2497 cyclic-variable-indirection but any error in documentation-property.
2498
2499 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2500 memory use.
2501 * bindings.el (bindings--define-key): New function.
2502 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2503 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2504 * bindings.el: Use it to purecopy define-key bindings.
2505
2506 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2507
2508 * emacs-lisp/cl.el (flet): Mark obsolete.
2509 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2510 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2511 * progmodes/js.el (js-c-fill-paragraph):
2512 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2513 (ebrowse-switch-member-buffer-to-derived-class):
2514 * play/5x5.el (5x5-solver): Use cl-flet.
2515
2516 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2517 (cl--symbol-function): New macro.
2518 (cl--letf, cl--letf*): Use it.
2519
2520 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2521 Strip "toggle-" if any.
2522
2523 2012-06-27 Glenn Morris <rgm@gnu.org>
2524
2525 * info.el (Info-default-directory-list): Move here from paths.el.
2526 * paths.el: Remove file, which is now empty.
2527 * loadup.el: No longer load "paths".
2528
2529 * custom.el (custom-initialize-delay): Doc fix.
2530
2531 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2532 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2533 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2534 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2535 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2536 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2537 * eshell/eshell.el (eshell-defgroup): Remove alias.
2538
2539 2012-06-27 Chong Yidong <cyd@gnu.org>
2540
2541 * help.el (help-enable-auto-load): New variable.
2542
2543 * help-fns.el (help-fns--autoloaded-p): New function.
2544 (describe-function-1): Refer to a function as "autoloaded" if it
2545 was autoloaded at any time in the past. Perform autoloading if
2546 help-enable-auto-load is non-nil.
2547
2548 2012-06-26 Eli Zaretskii <eliz@gnu.org>
2549
2550 * makefile.w32-in (compile, compile-always): Depend on
2551 update-subdirs, not on subdirs.el. Otherwise, several different
2552 sub-targets of 'bootstrap' running in parallel could
2553 simultaneously write to subdirs.el, producing a garbled file.
2554
2555 2012-06-26 Sam Steingold <sds@gnu.org>
2556
2557 * files.el (file-name-base): New convenience function.
2558 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2559 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2560 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2561 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2562 * textmodes/ispell.el, textmodes/reftex-ref.el:
2563 * textmodes/tex-mode.el: Use it.
2564 Did not touch cedet and org because they are maintained elsewhere.
2565
2566 2012-06-26 Martin Rudalics <rudalics@gmx.at>
2567
2568 * calendar/calendar.el (calendar-exit): Don't try to delete or
2569 iconify last frame. See:
2570 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2571
2572 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2573
2574 * server.el (server-process-filter): Remember dir in the
2575 process's `server-client-directory' properties.
2576
2577 2012-06-24 Chong Yidong <cyd@gnu.org>
2578
2579 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2580 non-tag text.
2581
2582 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
2583
2584 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2585
2586 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * help-fns.el (describe-variable): Don't croak when doc is not found.
2589 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2590 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2591 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2592 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2593 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2594 ((lambda ..) ..).
2595 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2596
2597 2012-06-23 Chong Yidong <cyd@gnu.org>
2598
2599 * info.el (Info-mouse-follow-link): Accept symbol values of
2600 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
2601 (Info-fontify-node): Use Info-link-keymap for all navigation
2602 buttons, with link-args property to perform the desired action.
2603 (Info-link-keymap): Doc fix.
2604 (Info-next-link-keymap, Info-prev-link-keymap)
2605 (Info-up-link-keymap): Delete now-unused keymaps.
2606
2607 2012-06-23 Chong Yidong <cyd@gnu.org>
2608
2609 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2610
2611 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2612 system abbrevs.
2613
2614 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2615
2616 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2619 (bug#11719).
2620
2621 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2622 the requote function doesn't work properly (bug#11714).
2623
2624 2012-06-23 Glenn Morris <rgm@gnu.org>
2625
2626 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2627
2628 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 Further GV/CL cleanups.
2631 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2632 gv-expander.
2633 (gv--defun-declaration): New function.
2634 (defun-declarations-alist): Use it.
2635 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2636 (gv-place): Autoload.
2637 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2638 original definition of dotimes and dolist.
2639 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2640 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2641 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2642 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2643 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2644 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2645 to the function's definition.
2646 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2647 * window.el:
2648 * files.el:
2649 * faces.el:
2650 * env.el: Don't use CL.
2651
2652 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2653
2654 Support higher-resolution time stamps (Bug#9000).
2655
2656 * calendar/time-date.el (with-decoded-time-value): New arg
2657 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2658 (encode-time-value): New optional arg PICO. New type 3.
2659 (time-to-seconds) [!float-time]: Support the new picoseconds
2660 component if it's used.
2661 (seconds-to-time, time-subtract, time-add):
2662 Support ps-resolution time stamps as well.
2663
2664 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2665 (timerp): Timer vectors now have length 9, not 8.
2666 (timer--time): Support new-style (4-part) time stamps.
2667 (timer-next-integral-multiple-of-time): Time stamps now have
2668 picosecond resolution, so take a bit more care about rounding.
2669 (timer-relative-time, timer-inc-time): New optional arg psecs.
2670 (timer-set-time-with-usecs): Set psecs to 0.
2671 (timer--activate): Check psecs component, too.
2672
2673 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2674
2675 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2678 Move the non-essential binding to the post/pre-command-hook where it is
2679 more obviously correct.
2680
2681 * subr.el (read-passwd): Don't use a history at all.
2682 * savehist.el (savehist-save): Remove password saved accidentally
2683 because of the above bug.
2684
2685 2012-06-22 Bastien Guerry <bzg@gnu.org>
2686
2687 * files.el (toggle-read-only): Display a message telling whether
2688 the buffer is read-only or not (bug#11726).
2689
2690 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * emacs-lisp/gv.el: New file.
2693 * subr.el (push, pop): Extend to generalized variables.
2694 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2695 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2696 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2697 gv-define-simple-setter, and gv-define-expander.
2698 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2699 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2700 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2701 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2702 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2703 gv-letplace.
2704 (cl-defstruct): Don't define setf-method any more.
2705 * emacs-lisp/cl.el (flet): Don't autoload.
2706 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2707 (define-setf-expander, defsetf, define-modify-macro)
2708 (cl-struct-setf-expander): Move from cl-lib.el.
2709 * emacs-lisp/syntax.el:
2710 * emacs-lisp/ewoc.el:
2711 * emacs-lisp/smie.el:
2712 * emacs-lisp/cconv.el:
2713 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2714 (timer--time): Use gv-define-simple-setter.
2715 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2716 to avoid coding-system problems in subr.el. Adjust all users.
2717 (macroexp--maxsize, macroexp-small-p): New functions.
2718 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2719 * scroll-bar.el (scroll-bar-mode):
2720 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2721 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2722 * winner.el (winner-configuration, winner-make-point-alist)
2723 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2724 * files.el (locate-file-completion-table): Avoid list*.
2725
2726 2012-06-22 Chong Yidong <cyd@gnu.org>
2727
2728 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2729 (dired-create-files): Doc fix (Bug#11329).
2730 (dired-do-copy): Doc fix (Bug#11334).
2731 (dired-mark-read-string): Doc fix (Bug#11553).
2732
2733 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2734 Doc fix (Bug#11326).
2735 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2736 (dired-dwim-target): Doc fix.
2737
2738 * wdired.el (wdired-mode): Doc fix.
2739
2740 2012-06-22 Glenn Morris <rgm@gnu.org>
2741
2742 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2743 (pcmpl-rpm-cache-stamp-file): New constant.
2744 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2745 (pcmpl-rpm-packages): Optionally cache list of packages.
2746
2747 * pcmpl-rpm.el (pcmpl-rpm): New group.
2748 (pcmpl-rpm-query-options): New option.
2749 (pcmpl-rpm-packages): No need to inline it.
2750 Use pcmpl-rpm-query-options.
2751
2752 * calendar/calendar.el (calendar-in-read-only-buffer):
2753 Avoid some needless mode changes.
2754
2755 2012-06-21 Chong Yidong <cyd@gnu.org>
2756
2757 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2758 (desktop-path): Remove . from the default value (Bug#10977).
2759 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2760
2761 2012-06-20 Chong Yidong <cyd@gnu.org>
2762
2763 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2764
2765 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2766
2767 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2768 (bug#11201).
2769
2770 2012-06-20 Chong Yidong <cyd@gnu.org>
2771
2772 * term.el (term-window-width): Handle the case of a missing right
2773 fringe (Bug#8837).
2774 (term-check-size): Use window-text-height (Bug#5445).
2775 (term-mode): Use define-derived-mode. Minor cleanups.
2776 Set font-lock-defaults (Bug#7692).
2777 (term-move-columns, term-insert-char, term-emulate-terminal)
2778 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2779
2780 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2781
2782 * net/ange-ftp.el (ange-ftp-get-passwd):
2783 Bind `enable-recursive-minibuffers'.
2784 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2785
2786 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2787
2788 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2789
2790 2012-06-19 Glenn Morris <rgm@gnu.org>
2791
2792 * progmodes/python.el (python-mode): Derive from prog-mode.
2793
2794 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2795
2796 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2797 (edt-user-menu-bar-update-buffers): New functions.
2798 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2799
2800 2012-06-19 Chong Yidong <cyd@gnu.org>
2801
2802 * subr.el (with-selected-window): Preserve the selected window's
2803 terminal's top-frame (Bug#4702).
2804
2805 * window.el (save-selected-window): Likewise.
2806
2807 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * progmodes/python.el (python-rx-constituents): Move backquote.
2810 (python-skeleton-define, python-define-auxiliary-skeleton):
2811 Use `declare'.
2812
2813 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2814
2815 * minibuffer.el (read-file-name-default): Revert the patch from
2816 2012-06-17.
2817
2818 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2821 (pcase--u1, pcase--q1): Don't use apply-partially.
2822
2823 2012-06-18 Glenn Morris <rgm@gnu.org>
2824
2825 * progmodes/python.el (python-proc, python-buffer)
2826 (python-send-receive, python-send-string): Fix obsolete versions.
2827
2828 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2829
2830 * window.el (special-display-p): Completely remove stringp
2831 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2832
2833 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2836
2837 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2838
2839 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2840 * net/tramp-sh.el (tramp-maybe-open-connection):
2841 Throw if `non-essential' is non-nil.
2842
2843 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2844
2845 * window.el (special-display-p): Signal an error if BUFFER-NAME
2846 is not a string (Bug#11713).
2847
2848 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2849
2850 * progmodes/python.el (python-info-beginning-of-backslash):
2851 Rename from python-info-beginning-of-backlash, as a spelling fix.
2852
2853 2012-06-17 Chong Yidong <cyd@gnu.org>
2854
2855 * term.el (term-emulate-terminal): If term-check-size is called,
2856 move point to the process mark without resetting point (Bug#4635).
2857
2858 2012-06-17 Glenn Morris <rgm@gnu.org>
2859
2860 * international/mule-cmds.el (mule-menu-keymap)
2861 (set-language-environment, set-locale-environment): Doc tweaks.
2862
2863 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2864
2865 * cus-face.el (custom-face-attributes): Add wave-style underline
2866 attribute.
2867 * faces.el (set-face-attribute): Update docstring to describe
2868 wave-style underline attribute.
2869
2870 2012-06-16 Chong Yidong <cyd@gnu.org>
2871
2872 * term/xterm.el (terminal-init-xterm): Discard input before
2873 querying background mode (Bug#10959).
2874
2875 2012-06-16 Stefan Merten <smerten@oekonux.de>
2876
2877 * textmodes/rst.el: Added and corrected some comments.
2878 (rst-re-alist-def): Improve symbol syntax.
2879 (rst-mode-syntax-table): Correct syntax entries.
2880 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2881 (rst-official-version, rst-official-cvs-rev): Update version
2882 information.
2883
2884 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2887 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2888
2889 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2890
2891 * progmodes/python.el: New python.el merge.
2892 (python-guess-indent): Obsolete var.
2893 (python-indent-guess-indent-offset): New defcustom.
2894 (python-indent): Obsolete var.
2895 (python-indent-offset): New defcustom.
2896 (python-python-command, python-jython-command): Delete var.
2897 (python-shell-interpreter): New defcustom.
2898 (python-pdbtrack-do-tracking-p): Delete var.
2899 (python-pdbtrack-activate): New defcustom.
2900 (python-use-skeletons): Obsolete var.
2901 (python-skeleton-autoinsert): New defcustom.
2902 (inferior-python-filter-regexp, python-continuation-offset)
2903 (python-honour-comment-indentation, python-indent-string-contents)
2904 (python-jython-packages, python-mode-hook)
2905 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2906 (python-shell-prompt-alist)
2907 (python-source-modes): Delete defcustoms.
2908 (python-check-buffer-name, python-eldoc-setup-code)
2909 (python-eldoc-string-code, python-ffap-setup-code)
2910 (python-ffap-string-code, python-fill-comment-function)
2911 (python-fill-decorator-function, python-fill-paren-function)
2912 (python-fill-string-function, python-imenu-include-defun-type)
2913 (python-imenu-make-tree, python-imenu-subtree-root-label)
2914 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2915 (python-shell-compilation-regexp-alist)
2916 (python-shell-completion-module-string-code)
2917 (python-shell-completion-pdb-string-code)
2918 (python-shell-completion-setup-code)
2919 (python-shell-completion-string-code)
2920 (python-shell-enable-font-lock, python-shell-exec-path)
2921 (python-shell-extra-pythonpaths)
2922 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2923 (python-shell-process-environment)
2924 (python-shell-prompt-block-regexp)
2925 (python-shell-prompt-output-regexp)
2926 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2927 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2928 (python-shell-virtualenv-path): New defcustoms.
2929 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2930 (inferior-python-mode-syntax-table, python--prompt-regexp)
2931 (python-buffer, python-command python-python-command)
2932 (python-default-template, python-imports, python-indent-index)
2933 (python-indent-list, python-indent-list-length)
2934 (python-mode-running, python-pdbtrack-is-tracking-p)
2935 (python-preoutput-continuation, python-preoutput-leftover)
2936 (python-preoutput-result, python-preoutput-skip-next-prompt)
2937 (python-prev-dir/file, python-recursing)
2938 (python-saved-check-command, python-version-checked)
2939 (python-which-func-length-limit)
2940 (view-return-to-alist): Delete vars.
2941 (python-check-custom-command, python-dotty-syntax-table)
2942 (python-imenu-index-alist, python-indent-current-level)
2943 (python-indent-dedenters, python-indent-levels)
2944 (python-nav-beginning-of-defun-regexp)
2945 (python-nav-list-defun-positions-cache)
2946 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2947 (python-shell-internal-buffer)
2948 (python-skeleton-available): New vars.
2949 (def-python-skeleton): Delete macro.
2950 (python-skeleton-define): New macro.
2951 (python-define-auxiliary-skeleton, python-rx): New macros.
2952 (python-insert-class): Delete command.
2953 (python-skeleton-class): New command.
2954 (python-insert-def): Delete command.
2955 (python-skeleton-def): New command.
2956 (python-insert-for): Delete command.
2957 (python-skeleton-for): New command.
2958 (python-insert-if): Delete command.
2959 (python-skeleton-if): New command.
2960 (python-insert-try/except, python-insert-try/finally): Delete commands.
2961 (python-skeleton-try): New command.
2962 (python-insert-while): Delete command.
2963 (python-skeleton-while): New command.
2964 (python-backspace): Delete command.
2965 (python-indent-dedent-line-backspace): New command.
2966 (python-electric-colon): Delete command.
2967 (python-indent-electric-colon): New command.
2968 (python-guess-indent): Delete command.
2969 (python-indent-guess-indent-offset): New command.
2970 (python-shift-left): Delete command.
2971 (python-indent-shift-left): New command.
2972 (python-shift-right): Delete command.
2973 (python-indent-shift-right): New command.
2974 (python-find-function): Delete command.
2975 (python-nav-jump-to-defun): New command.
2976 (python-next-statement): Delete command.
2977 (python-nav-forward-sentence): New command.
2978 (python-previous-statement): Delete command.
2979 (python-nav-backward-sentence): New command.
2980 (python-fill-paragraph): Delete command.
2981 (python-fill-paragraph-function): New command.
2982 (python-send-buffer): Delete command.
2983 (python-shell-send-buffer): New command.
2984 (python-send-defun): Delete command.
2985 (python-shell-send-defun): New command.
2986 (python-send-region, python-send-region-and-go): Delete commands.
2987 (python-shell-send-region)
2988 (python-shell-switch-to-shell): New commands.
2989 (python-send-string): Delete command.
2990 (python-shell-send-string): New command.
2991 (python-switch-to-python): Delete command.
2992 (python-shell-switch-to-shell): New command.
2993 (python-describe-symbol): Delete command.
2994 (python-eldoc-at-point): New command.
2995 (python--set-prompt-regexp, python-args-to-list)
2996 (python-after-info-look, python-check-version)
2997 (python-check-comint-prompt, python-find-imports)
2998 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2999 (python-unload-function, python-expand-template)
3000 (python-maybe-jython, python-preoutput-filter)
3001 (python-pdbtrack-get-source-buffer)
3002 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3003 (python-pdbtrack-toggle-stack-tracking)
3004 (python-pdbtrack-track-stack-file, python-initial-text)
3005 (python-first-word, python-comment-line-p, python-send-command)
3006 (python-setup-brm, python-sentinel, python-set-proc)
3007 (python-skip-out, python-input-filter, python-outdent-p)
3008 (python-outline-level, python-backslash-continuation-line-p)
3009 (python-end-of-block, python-end-of-statement, python-mark-block)
3010 (python-beginning-of-block, python-beginning-of-statement)
3011 (python-blank-line-p, python-beginning-of-string)
3012 (python-open-block-statement-p): Delete functions.
3013 (python-indent-line, python-indent-line-1): Delete functions.
3014 (python-indent-line): New function.
3015 (python-indentation-levels): Delete function.
3016 (python-indent-calculate-levels): New function.
3017 (python-proc): Delete function.
3018 (python-shell-get-process): New function.
3019 (python-send-receive): Delete function.
3020 (python-shell-send-string-no-output): New function.
3021 (python-module-path): Delete function.
3022 (python-ffap-module-path): New function.
3023 (python-completion-at-point)
3024 (python-symbol-completions): Delete functions.
3025 (python-completion-complete-at-point): New function.
3026 (python-load-file): Delete function.
3027 (python-shell-send-file): New function.
3028 (python-calculate-indentation): Delete function.
3029 (python-indent-calculate-indentation): New function.
3030 (python-skip-comments/blanks): Delete function.
3031 (python-util-forward-comment): New function.
3032 (python-continuation-line-p): Delete function.
3033 (python-info-continuation-line-p): New function.
3034 (python-which-func, python-current-defun): Delete function.
3035 (python-info-current-defun): New function.
3036 (python-beginning-of-defun): Delete function.
3037 (python-nav-beginning-of-defun): New function.
3038 (python-close-block-statement-p)
3039 (python-block-end-p): Delete function.
3040 (python-info-closing-block): New function.
3041 (python-comint-output-filter-function)
3042 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3043 (python-fill-comment, python-fill-decorator, python-fill-paren)
3044 (python-fill-string, python-imenu-make-element-tree)
3045 (python-imenu-make-tree, python-imenu-tree-assoc)
3046 (python-indent-context, python-indent-dedent-line)
3047 (python-indent-line-function)
3048 (python-indent-post-self-insert-function)
3049 (python-indent-toggle-levels)
3050 (python-info-assignment-continuation-line-p)
3051 (python-info-beginning-of-backlash)
3052 (python-info-block-continuation-line-p)
3053 (python-info-closing-block-message)
3054 (python-info-line-ends-backslash-p)
3055 (python-info-looking-at-beginning-of-defun)
3056 (python-info-ppss-context, python-info-ppss-context-type)
3057 (python-nav-list-defun-positions, python-nav-read-defun)
3058 (python-nav-sentence-end, python-nav-sentence-start)
3059 (python-pdbtrack-comint-output-filter-function)
3060 (python-pdbtrack-set-tracked-buffer)
3061 (python-shell-calculate-exec-path)
3062 (python-shell-calculate-process-environment)
3063 (python-shell-completion--do-completion-at-point)
3064 (python-shell-completion--get-completions)
3065 (python-shell-completion-complete-at-point)
3066 (python-shell-completion-complete-or-indent)
3067 (python-shell-get-or-create-process)
3068 (python-shell-get-process-name)
3069 (python-shell-internal-get-or-create-process)
3070 (python-shell-internal-get-process-name)
3071 (python-shell-internal-send-string, python-shell-make-comint)
3072 (python-shell-parse-command, python-shell-send-setup-code)
3073 (python-skeleton-add-menu-items)
3074 (python-util-clone-local-variables, python-util-position)
3075 (run-python-internal, python-indentation-levels)
3076 (python-nav-beginning-of-defun)
3077 (python-completion-complete-at-point): New functions.
3078 (run-python): Change arguments. New API requirements.
3079
3080 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3081
3082 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3083 (bug#11649).
3084
3085 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3086 (macroexp--expand-all): Use it.
3087
3088 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3089 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3090 Use `cl-function' instead.
3091
3092 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
3093
3094 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3095 Suggested by Stefan Monnier while discussing bug#11657.
3096
3097 2012-06-14 Sam Steingold <sds@gnu.org>
3098
3099 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3100
3101 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3102
3103 * play/doctor.el (doctor-doc): Remove parameter and use
3104 doctor-sent instead of sent.
3105 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3106
3107 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * files.el: Require cl-lib.
3110 (file-name-non-special): Replace case -> cl-case.
3111
3112 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3113
3114 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3115 mapping from #' to function*.
3116
3117 2012-06-13 Chong Yidong <cyd@gnu.org>
3118
3119 * mouse.el (mouse-drag-track): Do not set the mark if the user
3120 releases the mouse without selecting anything (Bug#11588).
3121
3122 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3125 as well (bug#11646).
3126
3127 * loadup.el: Count byte-code functions as well.
3128
3129 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3130 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3131
3132 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3133 (bug#11649). Add cl-defun and cl-defmacro.
3134
3135 2012-06-13 Drew Adams <drew.adams@oracle.com>
3136
3137 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3138 Fix last change.
3139
3140 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3141
3142 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3143 Otherwise, it blocks in batch mode.
3144
3145 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3146
3147 * help-mode.el (bookmark-make-record-default): Declare.
3148
3149 2012-06-13 Chong Yidong <cyd@gnu.org>
3150
3151 * emacs-lisp/package.el (list-packages): Compute a list of
3152 packages that are newly-available since the last list-packages
3153 invocation.
3154 (package-menu--new-package-list): New var.
3155 (package-menu--generate, package-menu--print-info)
3156 (package-menu--status-predicate, package-menu-mark-install):
3157 Handle new status label "new".
3158
3159 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3162 conversion to backquotes.
3163
3164 2012-06-12 Chong Yidong <cyd@gnu.org>
3165
3166 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3167 Rename from gud-inhibit-global-bindings.
3168
3169 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3170
3171 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3172 hook from nxml-glyph-set-hook.
3173
3174 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3175 declaration.
3176
3177 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3178
3179 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3180 Convert to defcustom.
3181
3182 2012-06-12 Drew Adams <drew.adams@oracle.com>
3183
3184 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3185 New functions.
3186 (help-mode): Use them.
3187
3188 2012-06-11 Glenn Morris <rgm@gnu.org>
3189
3190 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3191 Use preprocessor face for directives.
3192 (fortran-directive-re): Doc fix.
3193
3194 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3197 conversion to backquotes (bug#11652).
3198
3199 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3200 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3201 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3202 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3203 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3204 (cl-ninth, cl-tenth): Mark them as inlinable.
3205 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3206 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3207 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3208 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3209 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3210 (cl-list*, cl-adjoin): Don't put an autoload manually.
3211 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3212 (cl--compiler-macro-list*): Add autoload cookie.
3213 (cl--compiler-macro-cXXr): New function.
3214
3215 * help-fns.el (help-fns--compiler-macro): New function extracted from
3216 describe-function-1; follow aliases and use `compiler-macro' property.
3217 (describe-function-1): Use it.
3218
3219 2012-06-11 Chong Yidong <cyd@gnu.org>
3220
3221 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3222 is uninstalled, if imagemagick is installed.
3223
3224 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/cl-lib.el: Use lexical-binding.
3227 (cl-map-extents, cl-maclisp-member): Remove.
3228 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3229 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3230 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3231 * emacs-lisp/cl-extra.el: Use lexical-binding.
3232 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3233 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3234 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3235 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3236 * emacs-lisp/cl-seq.el: Use lexical-binding.
3237 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3238 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3239 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3240 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3241 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3242 CL's internals.
3243
3244 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3245
3246 Sync with Tramp 2.2.6-pre.
3247
3248 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3249 `print-length' and `print-level' to nil, in order to avoid
3250 truncation. Reported by Christopher Schmidt
3251 <christopher@ristopher.com>.
3252
3253 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3254
3255 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3256 New defmacro.
3257 (tramp-compat-copy-directory): Add optional argument
3258 COPY-CONTENTS. It is not handled yet.
3259
3260 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3261 (tramp-ftp-file-name-p): Simplify.
3262
3263 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3264 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3265 connection vector.
3266
3267 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3268 (tramp-methods): Do not use `tramp-password-end-of-line'.
3269 (tramp-completion-function-alist-putty): Handle UNIX case.
3270 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3271 (tramp-do-file-attributes-with-stat)
3272 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3273 gid as real numbers. They could run out of integer range on cygwin.
3274 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3275 (tramp-sh-handle-expand-file-name): Handle hops.
3276 (tramp-open-connection-setup-interactive-shell):
3277 Use `tramp-cleanup'. Move check for busyboxes ...
3278 (tramp-find-shell): ... here. Simplify implementation.
3279 Set "remote-shell" property also for alternative shells.
3280 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3281 If failing, a regular file would be written otherwise.
3282 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3283 (tramp-find-inline-encoding): Cache the coding commands in the
3284 process cache. Apply test command on the remote side, if defined.
3285 (tramp-find-inline-compress): Cache the compress commands in the
3286 process cache.
3287 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3288 when requested. Handle hops.
3289 (tramp-current-connection): New defvar.
3290 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3291 Throw `suppress', if there was a failed connection shortly before.
3292 Handle user interrupt. (Bug#10187)
3293 (tramp-get-inline-compress, tramp-get-inline-coding):
3294 Read connection properties from the process cache.
3295
3296 * net/tramp-smb.el (tramp-smb-server-version)
3297 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3298 New defconsts.
3299 (tramp-smb-prompt): Extend for powershell prompt.
3300 (tramp-smb-file-name-handler-alist): Add handlers for
3301 `process-file', `shell-command' and `start-file-process'.
3302 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3303 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3304 (tramp-smb-file-name-p): Simplify.
3305 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3306 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3307 (tramp-smb-shell-quote-argument): New defuns.
3308 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3309 Implement using "tar". By this, time-stamps are preserved.
3310 (tramp-smb-handle-copy-file): Handle also the case of directories.
3311 (tramp-smb-do-file-attributes-with-stat)
3312 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3313 Use `tramp-get-connection-buffer').
3314 (tramp-smb-handle-rename-file): Use "rename", when source and
3315 target are on the same share.
3316 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3317 Use `tramp-smb-server-version'.
3318 (tramp-smb-wait-for-output): Remove prompt.
3319
3320 * net/tramp.el (top): Require 'cl.
3321 (tramp-methods, tramp-rsh-end-of-line):
3322 Remove `tramp-password-end-of-line' from docstring.
3323 (tramp-save-ad-hoc-proxies): New defcustom.
3324 (tramp-completion-function-alist): Adapt docstring.
3325 (tramp-default-password-end-of-line): Remove defcustom.
3326 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3327 (tramp-user-regexp, tramp-file-name-regexp-unified)
3328 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3329 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3330 (tramp-remote-file-name-spec-regexp): New defconst.
3331 (tramp-file-name-structure): Extend structure for hops.
3332 (tramp-get-method-parameter): Move up.
3333 (tramp-file-name-p, tramp-dissect-file-name)
3334 (with-parsed-tramp-file-name): Handle hops.
3335 (tramp-file-name-hop): New defun.
3336 (tramp-make-tramp-file-name): New optional arg HOP.
3337 (tramp-message-show-progress-reporter-message): New defvar.
3338 (tramp-with-progress-reporter): Use it. We cannot use
3339 `tramp-message-show-message' here, because this suppresses also
3340 error buffers.
3341 (tramp-error-with-buffer): Suppress buffer view, if
3342 `tramp-message-show-message' is nil.
3343 Use `tramp-get-connection-buffer'.
3344 (tramp-cleanup): New defun.
3345 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3346 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3347 an error unchanged.
3348 (tramp-completion-handle-file-name-all-completions): Handle hops.
3349 Fix an error when called from ido.
3350 (tramp-completion-dissect-file-name): Use better local variable
3351 name. Add hop to the vector.
3352 (tramp-handle-insert-file-contents): Use progress-reporter for the
3353 whole scenario.
3354 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3355 to `t'.
3356 (tramp-check-for-regexp): Simplify search.
3357 (tramp-enter-password): Remove it. Move implementation ...
3358 (tramp-action-password): ... here.
3359 (tramp-mode-string-to-int, tramp-local-host-p)
3360 (tramp-make-tramp-temp-file, tramp-read-passwd)
3361 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3362 Set tramp-autoload cookie.
3363
3364 * net/trampver.el: Update release number.
3365
3366 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3367 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3370 (tramp-parse-group, tramp-parse-file)
3371 (tramp-parse-shostkeys-sknownhosts): New defuns.
3372 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3373 (tramp-parse-shosts-group, tramp-parse-sconfig)
3374 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3375 (tramp-parse-sknownhosts, tramp-parse-hosts)
3376 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3377 Use them.
3378 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3379 (tramp-parse-putty-group): Don't narrow.
3380 (tramp-parse-putty): Make a loop.
3381 (tramp-file-name-handler): Catch the `suppress' signal.
3382
3383 2012-06-11 Chong Yidong <cyd@gnu.org>
3384
3385 * image.el (imagemagick-register-types): Put the ImageMagick entry
3386 at the end of image-type-file-name-regexps.
3387
3388 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3389
3390 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3391 (pcase, pcase-let*, pcase-dolist): Use them.
3392
3393 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/pcase.el (pcase--let*): New function.
3396 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3397 (pcase--expand): Use macroexp-let².
3398
3399 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3402 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3403 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3404 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3405 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3406 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3407
3408 2012-06-10 Glenn Morris <rgm@gnu.org>
3409
3410 * mail/rmail.el (rmail-yank-current-message): Leave point at
3411 correct position. (Bug#11660)
3412
3413 2012-06-10 Chong Yidong <cyd@gnu.org>
3414
3415 * allout-widgets.el: Fix code header.
3416
3417 2012-06-10 Chong Yidong <cyd@gnu.org>
3418
3419 * cus-edit.el (customize-changed-options-previous-release):
3420 Bump to 24.1.
3421
3422 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3423
3424 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3425
3426 2012-06-09 Chong Yidong <cyd@gnu.org>
3427
3428 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3429
3430 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3431
3432 * window.el (special-display-popup-frame): Don't use
3433 window--display-buffer (Bug#11651).
3434
3435 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3436
3437 Fix parallel builds: make sure loaddefs.el is not being written
3438 while Lisp files are compiled.
3439 (compile): Don't depend on 'mh-autoloads'.
3440 (compile-CMD, compile-SH): Depend on 'autoloads'.
3441 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3442
3443 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3444
3445 2012-06-09 Chong Yidong <cyd@gnu.org>
3446
3447 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3448 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3449 Doc fixes (Bug#11225).
3450
3451 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3454 a function if there's a clear indication that it has a compiler-macro.
3455 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3456 (macro-declarations-alist): Add arglist to declaration functions.
3457 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3458 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3459 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3460 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3461 Also add autoload to find the compiler macro.
3462 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3463 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3464 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3465 (cl--compiler-macro-get): New functions, replacing calls to
3466 cl-define-compiler-macro.
3467 (cl-typep) [compiler-macro]: Use macroexp-let².
3468
3469 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3470
3471 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3472 string properly, fixes Bug#11473.
3473
3474 2012-06-08 Chong Yidong <cyd@gnu.org>
3475
3476 * faces.el (set-face-attribute): Doc fix.
3477 (modify-face): Don't use :bold and :italic.
3478 (error, warning, success): Tweak definitions.
3479
3480 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3481 (custom-modified, custom-set, custom-changed, custom-themed)
3482 (custom-saved, custom-button, custom-button-mouse)
3483 (custom-button-pressed, custom-state, custom-comment-tag)
3484 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3485 (custom-group-subtitle): Use new-style face specs.
3486 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3487 (custom-set-face, custom-changed-face, custom-saved-face)
3488 (custom-button-face, custom-button-pressed-face)
3489 (custom-documentation-face, custom-state-face)
3490 (custom-comment-face, custom-comment-tag-face)
3491 (custom-variable-tag-face, custom-variable-button-face)
3492 (custom-face-tag-face, custom-group-tag-face-1)
3493 (custom-group-tag-face): Remove obsolete face alias.
3494
3495 * epa.el (epa-validity-high, epa-validity-medium)
3496 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3497 (epa-field-name, epa-field-body):
3498 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3499 (font-lock-keyword-face, font-lock-builtin-face)
3500 (font-lock-function-name-face, font-lock-variable-name-face)
3501 (font-lock-type-face, font-lock-constant-face):
3502 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3503 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3504 * speedbar.el (speedbar-button-face, speedbar-file-face)
3505 (speedbar-directory-face, speedbar-tag-face)
3506 (speedbar-selected-face, speedbar-highlight-face)
3507 (speedbar-separator-face):
3508 * whitespace.el (whitespace-newline, whitespace-space)
3509 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3510 (whitespace-line, whitespace-space-before-tab)
3511 (whitespace-space-after-tab, whitespace-indentation)
3512 (whitespace-empty):
3513 * emulation/cua-base.el (cua-global-mark):
3514 * eshell/em-prompt.el (eshell-prompt):
3515 * net/newst-plainview.el (newsticker-new-item-face)
3516 (newsticker-old-item-face, newsticker-immortal-item-face)
3517 (newsticker-obsolete-item-face, newsticker-date-face)
3518 (newsticker-statistics-face, newsticker-default-face):
3519 * net/newst-reader.el (newsticker-feed-face)
3520 (newsticker-extra-face, newsticker-enclosure-face):
3521 * net/newst-treeview.el (newsticker-treeview-face)
3522 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3523 (newsticker-treeview-immortal-face)
3524 (newsticker-treeview-obsolete-face)
3525 (newsticker-treeview-selection-face):
3526 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3527 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3528 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3529 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3530 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3531 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3532 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3533 (mpuz-text):
3534 * progmodes/vera-mode.el (vera-font-lock-number)
3535 (vera-font-lock-function, vera-font-lock-interface):
3536 * textmodes/table.el (table-cell): Use new-style face specs, and
3537 don't use the old :bold and :italic attributes.
3538
3539 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3540 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3541 (ebrowse-member-class, ebrowse-progress): Likewise.
3542 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3543 (ebrowse-file-name-face, ebrowse-default-face)
3544 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3545 (ebrowse-progress-face): Remove obsolete faces.
3546
3547 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3548 Inherit from error and warning faces respectively.
3549
3550 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3551 Likewise.
3552 (flyspell-incorrect-face, flyspell-duplicate-face):
3553 Remove obsolete aliases.
3554
3555 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3558 Avoid infloop.
3559
3560 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * startup.el (argv, argi): Make lexically scoped.
3563 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3564 * emacs-lisp/cl-macs.el: Use lexical-binding.
3565 Rename cl-bind-* to cl--bind-*.
3566 * files.el: Don't require `cl' since it doesn't use it.
3567 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3568
3569 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3572 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3573 instead of calling external sort utility.
3574 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3575
3576 2012-06-08 Eli Zaretskii <eliz@gnu.org>
3577
3578 * descr-text.el (describe-char): Mention how to insert the
3579 character, if the current input method doesn't support it.
3580 See the discussion in this thread for the details:
3581 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3582
3583 2012-06-08 Sam Steingold <sds@gnu.org>
3584
3585 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3586 XF86Back to previous-buffer.
3587 (minibuffer-local-map): Bind them to next-history-element and
3588 previous-history-element respectively.
3589 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3590 help-go-back respectively.
3591 * info.el (Info-mode-map): Bind them to Info-history-forward and
3592 Info-history-back respectively.
3593 These are the keys next to Up on the ThinkPad keyboard.
3594
3595 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3598 * emacs-lisp/cl-macs.el: Provide itself.
3599 (cl--labels-convert-cache): New var.
3600 (cl--labels-convert): New function.
3601 (cl-flet, cl-labels): New implementation with new semantics, relying on
3602 lexical-binding.
3603 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3604 (cl-closure-vars, cl--function-convert-cache)
3605 (cl--function-convert): Move from cl-macs.el.
3606 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3607 rename by removing the "cl-" prefix.
3608 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3609
3610 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3613 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3614 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3615 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3616 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3617 (cl-hash-table-count): Add old compatibility aliases.
3618
3619 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3620 Use macroexpand-all-environment instead.
3621 (cl--old-macroexpand): New var.
3622 (cl--sm-macroexpand): New function.
3623 (cl-symbol-macrolet): Use it during macro expansion.
3624 (cl--function-convert-cache): New var.
3625 (cl--function-convert): New function, extracted from
3626 cl-macroexpand-all.
3627 (cl-lexical-let): Use it.
3628
3629 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3630 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3631 (cl-member): Remove old alias.
3632
3633 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3634 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3635 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3636 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3637 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3638 (cl-macroexpand-cmacs): Remove var.
3639 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3640 Use macroexpand-all instead.
3641
3642 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3645 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3646 (macroexp-copyable-p): New functions and macros.
3647 * emacs-lisp/edebug.el (edebug-unwrap):
3648 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3649 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3650 (pcase--let*): Remove.
3651 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3652 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3653 macroexp-const-p instead.
3654 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3655
3656 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3657 instead of "cl-" for internal definitions. Use macroexp-const-p.
3658 (cl-old-bc-file-form): Remove var.
3659 (cl-const-exprs-p): Remove fun.
3660 (cl-labels, cl-macrolet): Use backquote.
3661 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3662 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3663 (cl-define-setf-expander): Rename from cl-define-setf-method.
3664 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3665
3666 * international/mule-cmds.el: Don't require CL.
3667 (view-hello-file): Don't use `letf'.
3668
3669 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * tmm.el (tmm-prompt): Use string-prefix-p.
3672 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3673 (tmm-add-prompt): Use minibuffer-completion-help.
3674 (tmm-delete-map): Remove.
3675
3676 * subr.el (kbd): Make it its own function.
3677
3678 2012-06-07 Stefan Merten <smerten@oekonux.de>
3679
3680 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3681 Silence compiler warnings. Fix versions.
3682 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3683 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3684 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3685 (rst-package-emacs-version-alist): Correct Emacs version to
3686 represent major merge with upstream.
3687 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3688
3689 2012-06-06 Glenn Morris <rgm@gnu.org>
3690
3691 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3692 Only print environment variables if set.
3693
3694 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3697 (macroexp--cons): Rename from maybe-cons.
3698 (macroexp--accumulate): Rename from macroexp-accumulate.
3699 (macroexp--all-forms): Rename from macroexpand-all-forms.
3700 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3701 (macroexp--expand-all): Rename from macroexpand-all-1.
3702
3703 2012-06-06 Sam Steingold <sds@gnu.org>
3704
3705 * calendar/calendar.el (calendar-in-read-only-buffer):
3706 Call `special-mode' to enable the standard read-only keybindings.
3707
3708 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3711 with "loading" messages (bug#11635).
3712
3713 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3714
3715 * files.el (enable-remote-dir-locals): New option.
3716 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3717
3718 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3719 Ensure, that the temp directory is local.
3720
3721 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3722 `temporary-file-directory'.
3723
3724 * progmodes/python.el (python-send-region): Ensure, that the
3725 temporary file is created also in the remote case.
3726
3727 2012-06-06 Glenn Morris <rgm@gnu.org>
3728
3729 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3730 (vc-rcs-update-changelog): Use it.
3731
3732 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3733
3734 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3735 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3736 (vc-sccs-diff): Replace use of the external vcdiff script.
3737
3738 2012-06-05 Glenn Morris <rgm@gnu.org>
3739
3740 * ledit.el: Move to obsolete/.
3741
3742 2012-06-05 Sam Steingold <sds@gnu.org>
3743
3744 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3745 patch (Bug#11140).
3746
3747 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/cust-print.el: Move to obsolete.
3750
3751 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3752 compiler-macro expansion.
3753
3754 Add native compiler-macro support.
3755 * emacs-lisp/macroexp.el (macroexpand-all-1):
3756 Support compiler-macros directly. Properly follow aliases and apply
3757 the compiler macros more thoroughly.
3758 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3759 macroexpand now properly follows aliases.
3760 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3761 (cl-compiler-macroexpand): Use new prop.
3762 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3763
3764 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3765
3766 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3767
3768 * window.el (get-lru-window, get-mru-window, get-largest-window):
3769 New argument NOT-SELECTED to avoid picking the selected window.
3770 (window--display-buffer-1, window--display-buffer-2): Replace by
3771 new function window--display-buffer
3772 (display-buffer-same-window, display-buffer-reuse-window)
3773 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3774 Use window--display-buffer.
3775 (display-buffer-use-some-window): Remove temporary dedication
3776 hack by calling get-lru-window and get-largest-window with
3777 NOT-SELECTED argument non-nil. Call window--display-buffer.
3778
3779 2012-06-05 Glenn Morris <rgm@gnu.org>
3780
3781 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3782 Replace external vcdiff script.
3783
3784 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3787
3788 2012-06-04 Chong Yidong <cyd@gnu.org>
3789
3790 * image.el (imagemagick-types-inhibit): Revert last change.
3791 Add INFO and M.
3792 (imagemagick-enabled-types): Remove CIN and EPS*.
3793
3794 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * emacs-lisp/cl-lib.el: Rename from cl.el.
3797 * emacs-lisp/cl.el: New compatibility file.
3798 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3799 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3800 to obey the "cl-" prefix.
3801 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3802
3803 2012-06-03 Glenn Morris <rgm@gnu.org>
3804
3805 * emacs-lisp/authors.el (authors-aliases): Addition.
3806
3807 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3808 Fix :version.
3809
3810 2012-06-03 Stefan Merten <smerten@oekonux.de>
3811
3812 * textmodes/rst.el: Add comments.
3813 (rst-transition, rst-adornment): New faces.
3814 (rst-adornment-faces-alist): Make default safe to reevaluate.
3815 Fixes
3816 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3817 Improve customization tags.
3818 (rst-define-level-faces): Clarify meaning.
3819
3820 2012-06-03 Chong Yidong <cyd@gnu.org>
3821
3822 * progmodes/compile.el (compilation-mode-line-fail)
3823 (compilation-mode-line-run, compilation-mode-line-exit):
3824 New faces.
3825 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3826
3827 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3828
3829 * progmodes/which-func.el (which-func-update-ediff-windows):
3830 New function. Use it in ediff-select-hook (Bug#11478).
3831
3832 2012-06-03 Chong Yidong <cyd@gnu.org>
3833
3834 * bindings.el: Remove explicit help text from format-mode-line.
3835 It is now supplied by mode-line-default-help-echo.
3836 (mode-line-front-space, mode-line-end-spaces)
3837 (mode-line-misc-info): New variables.
3838 (mode-line-modes, mode-line-position): Move the default value to
3839 the variable definition.
3840 (mode-line-default-help-echo): New defcustom.
3841 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3842 (mode-line-modified-help-echo): New functions.
3843 (mode-line-mule-info, mode-line-modified): Use them.
3844 (mode-line-eol-desc, propertized-buffer-identification):
3845 Consistency fixes for help text.
3846 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3847 set-buffer-file-coding-system (Bug#289).
3848 (mode-line-mule-info-help-echo): Update help text.
3849
3850 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * simple.el (execute-extended-command): Set real-this-command
3853 (bug#11506).
3854
3855 2012-06-02 Chong Yidong <cyd@gnu.org>
3856
3857 Remove incorrect uses of "modeline" in comments, docstrings, and
3858 function/variable names (Bug#10329).
3859
3860 * cus-edit.el (mode-line):
3861 * dframe.el (dframe-mouse-hscroll):
3862 * emacs-lisp/re-builder.el:
3863 * emacs-lisp/easy-mmode.el (define-minor-mode):
3864 * frame.el (set-frame-name):
3865 * help.el (lookup-minor-mode-from-indicator):
3866 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3867 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3868 (c-toggle-hungry-state):
3869 * progmodes/antlr-mode.el (antlr-language-alist):
3870 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3871 * progmodes/vhdl-mode.el (vhdl-mode):
3872 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3873 * term/ns-win.el (ns-face-at-pos):
3874 * term/sup-mouse.el (sup-mouse-report):
3875 * textmodes/flyspell.el (flyspell-mode-line-string):
3876 * textmodes/ispell.el (ispell-highlight-face):
3877 * textmodes/reftex-global.el:
3878 * vc/vc-arch.el (vc-arch-mode-line-string):
3879 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3880 * vc/vc-git.el (vc-git-mode-line-string):
3881 * vc/vc-hooks.el (vc-display-status)
3882 (vc-default-mode-line-string):
3883 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3884
3885 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3886
3887 * dired.el (dired-sort-set-mode-line): Rename from
3888 dired-sort-set-modeline. All callers changed.
3889
3890 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3891 eshell-status-in-modeline.
3892
3893 * foldout.el (foldout-mode-line-string): Rename from
3894 foldout-modeline-string. All callers changed.
3895 (foldout-update-mode-line): Rename from foldout-update-modeline.
3896
3897 * subr.el (redraw-modeline): Make into obsolete alias.
3898
3899 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3900 timeclock-modeline-display. Make old name an alias.
3901 (timeclock-update-mode-line): Likewise. All callers changed.
3902 (timeclock-mode-line-display): No need to check before using
3903 add-hook.
3904 (timeclock-relative, timeclock-day-over-hook)
3905 (timeclock-use-elapsed, timeclock-mode-string)
3906 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3907
3908 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3909 crisp-mode-modeline-string.
3910
3911 * play/solitaire.el (solitaire-build-mode-line): Rename from
3912 solitaire-build-modeline. All callers changed.
3913
3914 * play/zone.el (zone-hiding-mode-line): Rename from
3915 zone-hiding-modeline. All callers changed.
3916 (zone): Remove unusued `modeline-hidden-level' property.
3917
3918 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3919 xscheme-modeline-initialize. All callers changed.
3920
3921 * strokes.el (strokes-lighter): Rename from
3922 strokes-modeline-string.
3923
3924 * textmodes/sgml-mode.el (html-face-tag-alist)
3925 (html-tag-face-alist): Use mode-line face instead of obsolete
3926 alias modeline.
3927
3928 2012-06-02 Stefan Merten <smerten@oekonux.de>
3929
3930 * textmodes/rst.el: Always require `cl'.
3931 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3932
3933 2012-06-02 Chong Yidong <cyd@gnu.org>
3934
3935 * image.el (imagemagick-enabled-types): Rename from
3936 imagemagick-types-enable. Add many more types.
3937 (imagemagick-types-inhibit): Change default to nil.
3938 (imagemagick-filter-types): Caller changed.
3939
3940 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/cl-macs.el: Use backquotes.
3943 (cl-transform-function-property): Use eval-and-compile rather than
3944 abusing `require'.
3945 (defstruct): Use declare-function instead of with-no-warnings.
3946
3947 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3948 (byte-compile-output-docform): Re-add the print-circle bindings.
3949 (byte-compile-fix-header): Use #$ just because it's shorter.
3950 (byte-compile-output-file-form): Remove defun/defmacro.
3951
3952 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3953
3954 * simple.el (choose-completion): Remove now obsolete binding for
3955 owindow.
3956
3957 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3958
3959 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3960 in order to avoid "Stack overflow in regexp matcher".
3961
3962 2012-05-31 Glenn Morris <rgm@gnu.org>
3963
3964 * image.el: For clarity, call imagemagick-register-types at
3965 top-level, rather than relying on a custom :initialize.
3966 (imagemagick-types-enable): New option. (Bug#11557)
3967 (imagemagick-filter-types): New function. (Bug#7406)
3968 (imagemagick-register-types): Use imagemagick-filter-types.
3969 If disabling support, remove elements altogether rather
3970 than using an impossible regexp.
3971 (imagemagick-types-inhibit): Give it the default init function.
3972
3973 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3976 Handle arbitrary file name lengths (Bug#11585).
3977
3978 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3979
3980 * desktop.el (desktop-read): Clear previous and next buffers for
3981 all windows and bury *Messages* buffer (bug#11556).
3982
3983 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 Add `declare' for `defun'. Align `defmacro's with it.
3986 * emacs-lisp/easy-mmode.el (define-minor-mode)
3987 (define-globalized-minor-mode): Don't autoload the var definitions.
3988 * emacs-lisp/byte-run.el: Use lexical-binding.
3989 (defun-declarations-alist, macro-declarations-alist): New vars.
3990 (defmacro, defun): Use them.
3991 (make-obsolete, define-obsolete-function-alias)
3992 (make-obsolete-variable, define-obsolete-variable-alias):
3993 Use `declare'.
3994 (macro-declaration-function): Mark obsolete.
3995 * emacs-lisp/autoload.el: Use lexical-binding.
3996 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3997
3998 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3999
4000 * textmodes/ispell.el (ispell-with-no-warnings):
4001 Define as a macro.
4002 (ispell-kill-ispell, ispell-change-dictionary):
4003 Use `called-interactively-p' for Emacs instead of obsolete
4004 `interactive-p'.
4005
4006 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4009 (macro-declaration-function): Move var from C code.
4010 (macro-declaration-function): Define function with defalias.
4011 * emacs-lisp/macroexp.el (macroexpand-all-1):
4012 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4013 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4014 defun/defmacro any more.
4015 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4016 Provide fallback for unknown arglist.
4017 (byte-compile-arglist-warn): Change calling convention.
4018 (byte-compile-output-file-form): Move print-vars binding.
4019 (byte-compile-output-docform): Simplify accordingly.
4020 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4021 (byte-compile-defmacro-declaration): Remove.
4022 (byte-compile-file-form-defmumble): Generalize to defalias.
4023 (byte-compile-output-as-comment): Return byte-positions.
4024 Simplify callers accordingly.
4025 (byte-compile-lambda): Use `assert'.
4026 (byte-compile-defun, byte-compile-defmacro): Remove.
4027 (byte-compile-file-form-defalias):
4028 Use byte-compile-file-form-defmumble.
4029 (byte-compile-defalias-warn): Remove.
4030
4031 2012-05-29 Stefan Merten <smerten@oekonux.de>
4032
4033 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4034 possible. Fix authors. Improve comments. Improve loading of `cl'.
4035
4036 (rst-mode-abbrev-table): Merge definition.
4037 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4038 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4039
4040 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
4041
4042 * calendar/icalendar.el
4043 (icalendar-export-region): Export UID properly.
4044
4045 2012-05-29 Leo Liu <sdl.web@gmail.com>
4046 * calendar/icalendar.el (icalendar-import-format):
4047 Add `icalendar-import-format-uid' (Bug#11525).
4048 (icalendar-import-format-uid): New.
4049 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4050 Export UID.
4051
4052 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4055 different alternative patterns.
4056 (pcase-codegen): Be more careful to preserve identity.
4057 (pcase--u1): Don't forget to mark vars as used.
4058
4059 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4060 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4061 (byte-compile-from-buffer): ...rather than here.
4062
4063 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4064 functions from byte-compile-function-environment.
4065
4066 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
4067
4068 * window.el (window-deletable-p): Avoid deleting the root window
4069 of a frame with an active minibuffer.
4070
4071 2012-05-29 Martin Rudalics <rudalics@gmx.at>
4072
4073 * simple.el (choose-completion): Use quit-window (Bug#11567).
4074
4075 2012-05-29 Chong Yidong <cyd@gnu.org>
4076
4077 * whitespace.el (whitespace-cleanup): Fix usage of
4078 whitespace-empty-at-bob-regexp (Bug#11492).
4079
4080 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4081
4082 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4083 revert (Bug#11488).
4084
4085 2012-05-29 Juri Linkov <juri@jurta.org>
4086
4087 * isearch.el (isearch-mode-map): Bind `M-s _' to
4088 `isearch-toggle-symbol'. Bind `M-s c' to
4089 `isearch-toggle-case-fold'.
4090 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4091 (isearch-forward): Add `M-s _' to the docstring.
4092 (isearch-forward-symbol, isearch-toggle-case-fold)
4093 (isearch-symbol-regexp): New functions. (Bug#11381)
4094
4095 2012-05-29 Juri Linkov <juri@jurta.org>
4096
4097 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4098 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4099 a function, call it to get the regexp.
4100 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4101 property `isearch-message-prefix' instead of the string "word ".
4102 (isearch-search-fun-default): For the case of `isearch-word',
4103 return a lambda that calls re-search-forward/re-search-backward
4104 with a regexp returned by `word-search-regexp' or by the function
4105 in `isearch-word'.
4106
4107 2012-05-29 Juri Linkov <juri@jurta.org>
4108
4109 * isearch.el (isearch-search-fun-default): New function.
4110 (isearch-search-fun): Move default part to the new function
4111 `isearch-search-fun-default'.
4112 (isearch-search-fun-function): Set the default value to
4113 `isearch-search-fun-default'. (Bug#11381)
4114
4115 * comint.el (comint-history-isearch-end):
4116 Use `isearch-search-fun-default'.
4117 (comint-history-isearch-search): Use `isearch-search-fun-default'
4118 and remove spacial case for `isearch-word'.
4119 (comint-history-isearch-wrap): Remove spacial case for
4120 `isearch-word'.
4121
4122 * hexl.el (hexl-isearch-search-function):
4123 Use `isearch-search-fun-default'.
4124
4125 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4126 Use `word-search-regexp' for `isearch-word'.
4127
4128 * misearch.el (multi-isearch-search-fun):
4129 Use `isearch-search-fun-default'.
4130
4131 * simple.el (minibuffer-history-isearch-search):
4132 Use `isearch-search-fun-default' and remove spacial case for
4133 `isearch-word'.
4134 (minibuffer-history-isearch-wrap): Remove spacial case for
4135 `isearch-word'.
4136
4137 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4138 Remove spacial case for `isearch-word'.
4139 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4140
4141 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4142
4143 Decrease XEmacs incompatibilities.
4144 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4145 Use `string-match'.
4146 (flyspell-delete-region-overlays): Use alternative definition for
4147 XEmacs.
4148 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4149 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4150 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4151 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4152 `define-obsolete-face-alias' under XEmacs, but old method.
4153
4154 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4155 `with-no-warnings' definition or Emacs alias.
4156 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4157 (ispell-word): Do not use `region-p' if XEmacs.
4158
4159 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4160
4161 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4162 Check for `ispell-dictionary-base-alist' instead of full
4163 `ispell-dictionary-alist'.
4164 (ispell-init-process): Show spellchecker when starting new Ispell
4165 process.
4166
4167 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4170 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4171
4172 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4173
4174 * version.el (motif-version-string, gtk-version-string)
4175 (ns-version-string): Declare.
4176
4177 2012-05-27 Juri Linkov <juri@jurta.org>
4178
4179 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4180 after the `eval-defun-1' specialcaseing
4181 like in `edebug-eval-defun' (bug#10181).
4182
4183 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4184 like in `eval-defun-1'.
4185
4186 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4187
4188 * mail/sendmail.el (mail-yank-region):
4189 Recognize rmail-yank-current-message in addition to insert-buffer.
4190 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4191 a *mail* buffer created through rmail-start-mail with sendmail as
4192 mail-user-agent.
4193
4194 2012-05-27 Chong Yidong <cyd@gnu.org>
4195
4196 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4197 Default to 256 (Bug#11267).
4198
4199 * help.el (describe-mode): Doc fix.
4200
4201 2012-05-26 Glenn Morris <rgm@gnu.org>
4202
4203 * w32-fns.el (w32-init-info): Remove.
4204 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4205
4206 * info.el (info-initialize): For self-contained NS builds, put the
4207 included info/ directory at the front. (Bug#2791)
4208
4209 * paths.el (Info-default-directory-list): Make it a defcustom,
4210 mainly so that we can use custom-initialize-delay.
4211
4212 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * subr.el (buffer-has-markers-at): Mark obsolete.
4215
4216 * subr.el (lambda): Use declare.
4217
4218 * emacs-lisp/lisp-mode.el (lambda):
4219 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4220
4221 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4222
4223 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4224
4225 2012-05-26 Glenn Morris <rgm@gnu.org>
4226
4227 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4228
4229 2012-05-25 Glenn Morris <rgm@gnu.org>
4230
4231 * paths.el: Remove no-byte-compile.
4232 * loadup.el: No need to load paths.el uncompiled.
4233
4234 * image.el (imagemagick-types-inhibit): Doc fix.
4235
4236 * version.el: Remove no-byte-compile and associated formatting.
4237 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4238 is ancient code from when there was an "inc-vers.el".
4239
4240 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * progmodes/gdb-mi.el: Minor style changes.
4243 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4244 Turn into minor modes.
4245 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4246 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4247 (gdb-shell): Remove unneeded let-binding.
4248 (gdb-get-many-fields): Eliminate O(n²) behavior.
4249
4250 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4251
4252 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4253 platforms that don't link in fontset.c.
4254
4255 2012-05-25 Juri Linkov <juri@jurta.org>
4256
4257 Use the same diff color scheme as in modern VCSes (bug#10181).
4258
4259 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4260 to avoid confusion with `diff-added' that now uses green colors.
4261 (diff-removed): Use shades of red.
4262 (diff-added): Use shades of green.
4263 (diff-changed): Leave just the yellow color.
4264 (diff-use-changed-face): New variable.
4265 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4266 how to highlight context diff changes.
4267 (diff-refine-change): Use shades of yellow.
4268 (diff-refine-removed): New face that uses shades of red.
4269 (diff-refine-added): New face that uses shades of green.
4270 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4271 `diff-refine-removed' in the call to `smerge-refine-subst'
4272 depending on the value of `diff-use-changed-face'.
4273
4274 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4275 (smerge-other): Use shades of green.
4276 (smerge-base): Use shades of yellow.
4277 (smerge-refined-change): Empty face.
4278 (smerge-refined-removed): New face that uses shades of red.
4279 (smerge-refined-added): New face that uses shades of green.
4280 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4281 args `props-r' and `props-a', and use them. Doc fix.
4282 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4283 on its value use different faces `smerge-refined-change',
4284 `smerge-refined-removed', `smerge-refined-added' in the call to
4285 `smerge-refine-subst'.
4286
4287 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4288 Add face condition `min-colors 88' with shades of red.
4289 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4290 `min-colors 88' with shades of green.
4291 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4292 `min-colors 88' with shades of yellow.
4293
4294 2012-05-24 Glenn Morris <rgm@gnu.org>
4295
4296 * paths.el (prune-directory-list, remote-shell-program): Move to...
4297 * files.el (prune-directory-list, remote-shell-program): ...here.
4298 For the latter, delay initialization, prefer ssh, just search PATH.
4299
4300 * paths.el (term-file-prefix): Move to faces.el (the only user).
4301 * faces.el (term-file-prefix): Move here, make it a defcustom.
4302
4303 * paths.el (news-directory, news-path, news-inews-program):
4304 Move to gnus/nnspool.el.
4305
4306 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4307
4308 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4309 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4310 Make the latter a defcustom, with a delayed initialization.
4311
4312 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4313 These were deleted from Gnus itself late 2010.
4314
4315 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4316
4317 * progmodes/which-func.el (which-func-ff-hook):
4318 Check against user-error, not error.
4319
4320 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4321 cl-specs.el, which no longer exists.
4322
4323 2012-05-22 Glenn Morris <rgm@gnu.org>
4324
4325 * info.el (info-emacs-bug): New command.
4326 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4327 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4328
4329 2012-05-21 Glenn Morris <rgm@gnu.org>
4330
4331 * makefile.w32-in (update-subdirs-SH):
4332 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4333
4334 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4337
4338 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4339 Simplify Maven regexp, and make sure the file can't start with a space
4340 (bug#11517).
4341
4342 2012-05-21 Glenn Morris <rgm@gnu.org>
4343
4344 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4345 Scrap superfluous subshells.
4346
4347 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4350 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4351
4352 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4353
4354 * calc/calc.el (calc-ensure-consistent-units): New variable.
4355
4356 * calc/calc-units.el (math-consistent-units-p)
4357 (math-check-unit-consistency): New functions.
4358 (calc-quick-units, calc-convert-units):
4359 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4360 is non-nil.
4361 (calc-extract-units): Fix typo.
4362
4363 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4366
4367 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4368 (flyspell-default-deplacement-commands): Don't spell check after
4369 repeated window/frame switches (e.g. triggered by mouse-movement).
4370 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4371 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4372 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4373 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4374 Remove unused vars.
4375 (flyspell-get-casechars, flyspell-get-not-casechars):
4376 Simplify; Don't bother removing a ] just to add it back.
4377 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4378
4379 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4380
4381 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4382 New functions.
4383 (math-function-table): Add support for more C functions.
4384
4385 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4386
4387 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4388 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4389 Protect delay handling for otherchars against empty otherchars.
4390
4391 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4394 their respective macro declarations.
4395 * skeleton.el (define-skeleton):
4396 * progmodes/compile.el (define-compilation-mode):
4397 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4398 (define-ibuffer-filter):
4399 * emacs-lisp/generic.el (define-generic-mode):
4400 * emacs-lisp/easy-mmode.el (define-minor-mode)
4401 (define-globalized-minor-mode):
4402 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4403 * emacs-lisp/byte-run.el (defsubst):
4404 * custom.el (deftheme): Add doc-string metadata.
4405
4406 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4409
4410 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4413
4414 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4415 * emacs-lisp/cl-macs.el: Idem.
4416 * emacs-lisp/cl-specs.el: Remove.
4417
4418 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 Minor renaming of internal CL functions and variables.
4421 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4422 (cl--position): Rename from cl-position.
4423 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4424 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4425 (cl--random-state): Rename from *random-state*.
4426
4427 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4430 parens around the arg list (bug#11499).
4431
4432 2012-05-17 Juri Linkov <juri@jurta.org>
4433
4434 * isearch.el (word-search-regexp, word-search-backward)
4435 (word-search-forward, word-search-backward-lax)
4436 (word-search-forward-lax): Move functions from search.c
4437 (bug#10145, bug#11381).
4438
4439 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4440
4441 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4442 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4443 Delay for otherchars as for normal word components.
4444
4445 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * minibuffer.el (completion--sifn-requote): Fix last change.
4448 (minibuffer-local-must-match-filename-map):
4449 Move define-obsolete-variable-alias before its var.
4450
4451 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4454
4455 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4456 behavior.
4457 (completion--string-equal-p): New function.
4458 (completion--twq-all): Use it to get better assertion failure data.
4459
4460 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4461 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4462 (shell--requote-argument): New functions.
4463 (shell-completion-vars): Use them.
4464 (shell--parse-pcomplete-arguments): Rename from
4465 shell-parse-pcomplete-arguments.
4466 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4467 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4468 Obey comint-file-name-quote-list.
4469
4470 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4471 (smie-indent-keyword): Use it.
4472
4473 2012-05-14 Stefan Merten <smerten@oekonux.de>
4474
4475 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4476
4477 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * net/rlogin.el (rlogin-mode-map): Fix last change.
4480
4481 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4482
4483 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4484 the following \r\n using a single `process-send-string', since the
4485 Lotus SMTP server refuses to accept any commands if they are sent
4486 with two `process-send-string's (Bug#11444).
4487
4488 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * shell.el (shell-parse-pcomplete-arguments):
4491 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4492
4493 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4494
4495 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4496 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4497 (image-transform-width, image-transform-fit-width): New functions.
4498 (image-transform-properties): Use them.
4499 (image-transform-check-size): New function.
4500 (image-toggle-display-image): Use it (for testing).
4501 (image-transform-set-rotation): Reduce angle mod 360.
4502 Delete obsolete comment.
4503
4504 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4505
4506 * image-mode.el: Fix scaling (bug#11399).
4507 (image-transform-resize): Doc fix.
4508 (image-transform-properties): Default scale is 1 and height should
4509 be an integer.
4510
4511 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4512
4513 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4514 than hard-coding `car', to fix misbehavior when moving forward.
4515
4516 2012-05-13 Chong Yidong <cyd@gnu.org>
4517
4518 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4519 (tabulated-list-entries, tabulated-list-padding)
4520 (tabulated-list-sort-key): Make permanent-local.
4521
4522 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4523 (electric-buffer-list): Put electric buffer menu
4524 command descriptions in this docstring, instead of the docstring
4525 of electric-buffer-menu-mode. Code cleanups.
4526 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4527 Electric-buffer-menu-mode.
4528 (electric-buffer-update-highlight): Minor code cleanup.
4529
4530 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
4531
4532 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4533 (Bug#11447)
4534
4535 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 Move define-obsolete-variable-alias before the var's definition.
4538 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4539 * tooltip.el (tooltip-hook):
4540 * textmodes/reftex-toc.el (reftex-toc-map):
4541 * textmodes/reftex-sel.el (reftex-select-label-map)
4542 (reftex-select-bib-map):
4543 * textmodes/reftex-index.el (reftex-index-map)
4544 (reftex-index-phrases-map):
4545 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4546 * progmodes/meta-mode.el (meta-mode-map):
4547 * novice.el (disabled-command-hook):
4548 * loadhist.el (unload-hook-features-list):
4549 * frame.el (blink-cursor):
4550 * files.el (find-file-not-found-hooks, write-file-hooks)
4551 (write-contents-hooks):
4552 * emulation/tpu-edt.el (GOLD-map):
4553 * emacs-lock.el (emacs-lock-from-exiting):
4554 * emacs-lisp/generic.el (generic-font-lock-defaults):
4555 * emacs-lisp/chart.el (chart-map):
4556 * dos-fns.el (register-name-alist):
4557 * dired-x.el (dired-omit-files-p):
4558 * desktop.el (desktop-enable):
4559 * cus-edit.el (custom-mode-hook):
4560 * buff-menu.el (buffer-menu-mode-hook):
4561 * bookmark.el (bookmark-read-annotation-text-func)
4562 (bookmark-exit-hooks):
4563 * allout.el (allout-mode-deactivate-hook)
4564 (allout-exposure-change-hook, allout-structure-added-hook)
4565 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4566 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4567 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4568 comes before the corresponding variable's definition.
4569
4570 2012-05-12 Chong Yidong <cyd@gnu.org>
4571
4572 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4573 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4574 (Buffer-menu-mode-map): Bind it.
4575 (Buffer-menu--pretty-name): Add a mouse-face property.
4576
4577 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4580 (prolog-upper-case-string, prolog-lower-case-string)
4581 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4582 (prolog-use-smie, prolog-smie-grammar): New vars.
4583 (prolog-smie-forward-token, prolog-smie-backward-token)
4584 (prolog-smie-rules): New funs.
4585 (prolog-comment-indent): Remove.
4586 (prolog-mode-variables): Use default comment indentation instead.
4587 Setup SMIE.
4588 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4589 (prolog-mode): Don't call them any more.
4590 (prolog-electric-colon, prolog-electric-dash)
4591 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4592
4593 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4594
4595 * minibuffer.el (completion--twq-all): Again, allow case differences.
4596
4597 * term.el: Move keymap initialization code to be more idiomatic.
4598 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4599 (term-terminal-menu): Move initialization into declaration.
4600 (term-escape-char): Let the user set it in her .emacs.
4601
4602 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4603 Provide SMIE-based indentation (not enabled by default yet).
4604 (sh-mode-map): Don't bind electric keys.
4605 Use electric-pair-mode instead of skeleton-pair.
4606 (sh-assignment-regexp): Fit within 80 columns.
4607 (sh-indent-supported): Specify actual shell name instead of boolean.
4608 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4609 (sh-maybe-here-document): Use it. Make obsolete.
4610 (sh-electric-here-document-mode) New minor mode.
4611 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4612 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4613 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4614 (sh-smie-rc-grammar, sh-use-smie): New vars.
4615 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4616 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4617 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4618 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4619 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4620 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4621 (sh-set-shell): Use smie-setup if requested.
4622
4623 * term.el (term-set-escape-char): Properly set term-escape-char.
4624 See http://stackoverflow.com/questions/10524656.
4625
4626 2012-05-10 Chong Yidong <cyd@gnu.org>
4627
4628 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4629 Use url-generic-parse-url, and handle host names and Windows
4630 filenames properly.
4631 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4632 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4633 URL schemes to work on.
4634 (ffap--toggle-read-only): New function.
4635 (ffap-read-only, ffap-read-only-other-window)
4636 (ffap-read-only-other-frame): Use it.
4637 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4638 necessary for ffap-url-unwrap-remote.
4639
4640 2012-05-10 Dave Abrahams <dave@boostpro.com>
4641
4642 * cus-start.el (create-lockfiles): Add it.
4643
4644 2012-05-09 Chong Yidong <cyd@gnu.org>
4645
4646 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4647 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4648
4649 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4652
4653 2012-05-09 Chong Yidong <cyd@gnu.org>
4654
4655 * ansi-color.el (ansi-color-process-output): Check for validity of
4656 comint-last-output-start before using it. This avoids a bad
4657 interaction with gdb-mi's input/output buffer.
4658
4659 2012-05-09 Glenn Morris <rgm@gnu.org>
4660
4661 * files.el (dir-locals-read-from-file):
4662 Mention dir-locals in any error message.
4663
4664 2012-05-09 Chong Yidong <cyd@gnu.org>
4665
4666 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4667 package (Bug#11410).
4668
4669 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4670 variables into description.
4671
4672 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4675 shell-delimiter-argument-list (bug#11348).
4676 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4677
4678 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * textmodes/rst.el: Silence byte-compiler warnings.
4681 (rst-re-alist, rst-reset-section-caches): Move around.
4682 (rst-re): Use `characterp', not `char-valid-p'.
4683 (font-lock-beg, font-lock-end): Declare.
4684
4685 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4686 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4687
4688 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4689
4690 2012-05-08 Glenn Morris <rgm@gnu.org>
4691
4692 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4693
4694 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * vc/log-edit.el: Add GNU coding standards highlighting.
4697 (log-edit-font-lock-gnu-style)
4698 (log-edit-font-lock-gnu-keywords): New vars.
4699 (log-edit-font-lock-keywords): New fun.
4700 (log-edit-mode): Don't fold case in font-lock.
4701 (log-edit-font-lock-keywords): Do not assume case-folding.
4702
4703 * imenu.el: Misc cleanup. Make docstrings out of comments.
4704 Use lexical-binding.
4705 (imenu--index-alist, imenu--last-menubar-index-alist)
4706 (imenu-menubar-modified-tick): Use defvar-local.
4707 (imenu--split-menu): Remove unused var.
4708 (imenu--cleanup-seen): Declare as global.
4709 (imenu--cleanup): Use dolist.
4710
4711 * subr.el (defvar-local): Add debug spec and doc-string position.
4712
4713 2012-05-08 Glenn Morris <rgm@gnu.org>
4714
4715 * language/burmese.el, language/cham.el, language/czech.el:
4716 * language/english.el, language/georgian.el, language/greek.el:
4717 * language/japanese.el, language/khmer.el, language/korean.el:
4718 * language/lao.el, language/misc-lang.el, language/romanian.el:
4719 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4720 * language/thai.el, language/utf-8-lang.el:
4721 Remove no-byte-compile setting.
4722
4723 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4724
4725 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4726
4727 * progmodes/make-mode.el (makefile-browse):
4728 Remove unnecessary interactive. (Bug#11324)
4729
4730 2012-05-07 Glenn Morris <rgm@gnu.org>
4731
4732 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4733
4734 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4735
4736 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * loadup.el: Preload newcomment.el.
4739 * newcomment.el: Move autoload-only code to toplevel.
4740
4741 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4742 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4743 Handle new :right-align column property.
4744 (tabulated-list-print-col): Idem, plus use `display' text-property to
4745 try and preserve alignment for variable pitch fonts.
4746
4747 2012-05-07 Chong Yidong <cyd@gnu.org>
4748
4749 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4750 (tabulated-list-use-header-line): New var.
4751 (tabulated-list-init-header): Use it.
4752 (tabulated-list-print-fake-header): New function.
4753 (tabulated-list-print): Use it.
4754 (tabulated-list-sort-button-map): Add non-header-line commands.
4755 (tabulated-list-init-header): Add column name property to basic
4756 labels as well.
4757 (tabulated-list-col-sort): Handle non-header-line button case.
4758 (tabulated-list--sort-by-column-name): Fix a corner case.
4759
4760 * buff-menu.el (list-buffers--refresh):
4761 Handle Buffer-menu-use-header-line.
4762
4763 2012-05-06 Chong Yidong <cyd@gnu.org>
4764
4765 * buff-menu.el: Convert to Tabulated List mode.
4766 (Buffer-menu-buffer+size-width): Make obsolete.
4767 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4768 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4769 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4770 documentation into docstring of buffer-menu.
4771 (Buffer-menu-toggle-files-only): Add an informative message.
4772 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4773 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4774 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4775 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4776 (Buffer-menu-execute, Buffer-menu-select)
4777 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4778 (Buffer-menu-bury): Use Tabulated List machinery.
4779 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4780 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4781 Delete.
4782 (list-buffers--refresh): New function.
4783 (list-buffers-noselect): Use it.
4784 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4785 (Buffer-menu--pretty-file-name): New helper functions.
4786
4787 * loadup.el: Preload tabulated-list.
4788
4789 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4790 tabulated-list-sort-column.
4791 (tabulated-list-init-header): Add the initial aligning space even
4792 if tabulated-list-padding is zero.
4793
4794 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4795
4796 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4797 whose cdr is not a cons cell correctly (bug#11038).
4798
4799 2012-05-06 Chong Yidong <cyd@gnu.org>
4800
4801 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4802 Accept additional plist in column descriptors.
4803 (tabulated-list-init-header): Obey it.
4804 (tabulated-list-get-entry): New function.
4805 (tabulated-list-put-tag): Use it. Use string-width instead of
4806 length.
4807 (tabulated-list--column-number): New function.
4808 (tabulated-list-print): Use it.
4809 (tabulated-list-print-col): New function.
4810 Set `tabulated-list-column-name' property on each column's text.
4811 (tabulated-list-print-entry): Use it.
4812 (tabulated-list-delete-entry, tabulated-list-set-col):
4813 New functions.
4814 (tabulated-list-sort-column): New command (Bug#11337).
4815
4816 * buff-menu.el (list-buffers): Move C-x C-b binding from
4817 buff-menu.el to bindings.el.
4818
4819 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4820 :advertised-binding feature.
4821
4822 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4823
4824 * progmodes/compile.el (compilation-internal-error-properties):
4825 Calculate start position correctly when end-col is set but
4826 end-line is not (Bug#11382).
4827
4828 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4829
4830 * man.el (Man-unindent): Use text-property-default-nonsticky to
4831 prevent untabify from inheriting face properties (Bug#11408).
4832
4833 2012-05-05 Stefan Merten <smerten@oekonux.de>
4834
4835 * textmodes/rst.el: Major merge with upstream development up to
4836 Docutils SVN r7399 / rst.el V1.2.1.
4837
4838 Clarify maintainership and authors.
4839
4840 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4841 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4842 (rst-official-version, rst-official-cvs-rev, rst-version)
4843 (rst-package-emacs-version-alist): New functions and variables
4844 for version information.
4845
4846 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4847 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4848 (rst-mode-syntax-table, rst-mode): New and corrected functions
4849 and variables representing reStructuredText features.
4850
4851 (rst-re): New function for reStructuredText regexes. Use in
4852 many places.
4853
4854 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4855 (rst-mode-map): Rebind keys.
4856
4857 (rst-mode-lazy, rst-font-lock-keywords)
4858 (rst-font-lock-extend-region)
4859 (rst-font-lock-extend-region-internal)
4860 (rst-font-lock-extend-region-extend)
4861 (rst-font-lock-find-unindented-line-limit)
4862 (rst-font-lock-find-unindented-line-match)
4863 (rst-adornment-level, rst-font-lock-adornment-level)
4864 (rst-font-lock-adornment-match)
4865 (rst-font-lock-handle-adornment-pre-match-form)
4866 (rst-font-lock-handle-adornment-matcher): Major revision of
4867 font-locking. Integrate with other code. Use `jit-lock-mode'.
4868
4869 (rst-preferred-adornments, rst-adjust-hook)
4870 (rst-new-adornment-down, rst-preferred-bullets)
4871 (rst-preferred-bullets, rst-indent, rst-indent-width)
4872 (rst-indent-field, rst-indent-literal-normal)
4873 (rst-indent-literal-minimized, rst-indent-comment): Change,
4874 extend and improve customization.
4875
4876 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4877 (rst-normalize-cursor-position, rst-get-decoration)
4878 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4879 (rst-rstrip, rst-toc-insert-find-delete-contents)
4880 (rst-shift-fill-region, rst-compute-bullet-tabs)
4881 (rst-debug-print-tabs, rst-debug-mark-found)
4882 (rst-shift-region-guts, rst-shift-region-right)
4883 (rst-shift-region-left, rst-use-char-classes)
4884 (rst-font-lock-keywords-function)
4885 (rst-font-lock-indentation-point)
4886 (rst-font-lock-find-unindented-line-begin)
4887 (rst-font-lock-find-unindented-line-end)
4888 (rst-font-lock-find-unindented-line)
4889 (rst-font-lock-adornment-point, rst-font-lock-level)
4890 (rst-adornment-level-alist): Remove functions and variables.
4891
4892 (rst-compare-adornments, rst-get-adornment-match)
4893 (rst-suggest-new-adornment, rst-get-adornments-around)
4894 (rst-adornment-complete-p, rst-get-next-adornment)
4895 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4896 (rst-straighten-adornments): Standardize function names to
4897 use "adornment" instead of "decoration". Correct callers.
4898 Similar standardizing in many places.
4899
4900 (rst-update-section, rst-adjust, rst-promote-region)
4901 (rst-enumerate-region, rst-bullet-list-region)
4902 (rst-repeat-last-character): Correct use of `interactive'.
4903
4904 (rst-classify-adornment, rst-find-all-adornments)
4905 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4906 (rst-find-leftmost-column, rst-repeat-last-character):
4907 Refactor functions.
4908
4909 (rst-find-title-line, rst-reset-section-caches)
4910 (rst-get-adornments-around, rst-adjust-adornment-work)
4911 (rst-arabic-to-roman, rst-roman-to-arabic)
4912 (rst-insert-list-pos, rst-insert-list-new-item)
4913 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4914 New functions.
4915
4916 (rst-all-sections, rst-section-hierarchy)
4917 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4918 New variables.
4919
4920 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4921 configuration instead of only buffer. Change where necessary.
4922
4923 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4924 (rst-shift-region, rst-adaptive-fill): New functions for
4925 indentation and filling.
4926
4927 (rst-comment-line-break, rst-comment-indent)
4928 (rst-comment-insert-comment, rst-comment-region)
4929 (rst-uncomment-region): New functions for handling comments.
4930
4931 (rst-compile): Quote shell arguments.
4932
4933 (rst-compile-pdf-preview, rst-compile-slides-preview):
4934 Delete temporary files after use.
4935
4936 2012-05-05 Glenn Morris <rgm@gnu.org>
4937
4938 * calendar/cal-html.el: Optionally include holidays in the output.
4939 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4940 (cal-html-holidays): New option.
4941 (cal-html-css-default): Add holiday entry.
4942 (holiday-in-range): Autoload it.
4943 (cal-html-htmlify-entry): Add optional class argument.
4944 (cal-html-htmlify-list): Add optional holidays argument.
4945 (cal-html-insert-agenda-days): Include holidays in the output.
4946 (cal-html-one-month): Maybe include holidays.
4947
4948 * calendar/holidays.el (holiday-in-range):
4949 Move here from cal-tex-list-holidays.
4950 * calendar/cal-tex.el (cal-tex-list-holidays):
4951 Make it an obsolete alias for holiday-in-range. Update all callers.
4952
4953 2012-05-05 Chong Yidong <cyd@gnu.org>
4954
4955 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4956 Nextstep.
4957
4958 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4959
4960 * files.el (file-auto-mode-skip): New var.
4961 (set-auto-mode-1): Use it.
4962
4963 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * repeat.el: Use lexical-binding.
4966 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4967 (repeat-undo-count): Remove.
4968 (repeat):
4969 * progmodes/octave-mod.el (octave-abbrev-start):
4970 * progmodes/f90.el (f90-abbrev-start):
4971 * face-remap.el (text-scale-adjust):
4972 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4973
4974 * emacs-lisp/pcase.el (pcase--let*): New function.
4975 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4976 a bit more.
4977 (pcase--split-pred): Be more clever about ruling out overlap between
4978 a predicate and some constant pattern.
4979 (pcase--q1): Use `null' instead of (eq foo nil).
4980
4981 * subr.el (setq-local, defvar-local): New macros.
4982 (kbd): Redefine as an alias.
4983 (with-selected-window): Leave unrelated frames alone.
4984 (set-temporary-overlay-map): New function.
4985
4986 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * subr.el (user-error): New function.
4989 * window.el (switch-to-buffer):
4990 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4991 (smerge-match-conflict):
4992 * simple.el (previous-matching-history-element)
4993 (next-matching-history-element, goto-history-element, undo-more)
4994 (undo-start):
4995 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4996 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4997 (next-file, tags-loop-scan, list-tags, complete-tag):
4998 * progmodes/compile.el (compilation-loop):
4999 * mouse.el (mouse-minibuffer-check):
5000 * man.el (Man-bgproc-sentinel, Man-goto-page):
5001 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5002 (Info-history-forward, Info-follow-reference, Info-menu)
5003 (Info-extract-menu-item, Info-extract-menu-counting)
5004 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5005 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5006 (Info-next-reference, Info-prev-reference, Info-index)
5007 (Info-index-next, Info-follow-nearest-node)
5008 (Info-copy-current-node-name):
5009 * imenu.el (imenu--make-index-alist)
5010 (imenu-default-create-index-function, imenu-add-to-menubar):
5011 * files.el (basic-save-buffer, recover-file):
5012 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5013 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5014 (checkdoc-message-text, checkdoc-defun):
5015 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5016 * cus-edit.el (customize-changed-options, customize-rogue)
5017 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5018 (custom-variable-mark-to-reset-standard)
5019 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5020 (custom-file):
5021 * completion.el (check-completion-length):
5022 * comint.el (comint-search-arg)
5023 (comint-previous-matching-input-string-position)
5024 (comint-previous-matching-input)
5025 (comint-replace-by-expanded-history-before-point, comint-send-input)
5026 (comint-copy-old-input, comint-backward-matching-input)
5027 (comint-goto-process-mark, comint-set-process-mark):
5028 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5029 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5030
5031 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * dabbrev.el (dabbrev--ignore-case-p): New function.
5034 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5035 Use it.
5036
5037 * files.el (automount-dir-prefix): Mark as obsolete.
5038
5039 2012-05-04 Glenn Morris <rgm@gnu.org>
5040
5041 * patcomp.el, play/bruce.el: Move to obsolete/.
5042
5043 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5044
5045 Fix minor Y10k bugs.
5046 * arc-mode.el (archive-unixdate):
5047 * autoinsert.el (auto-insert-alist):
5048 * calc/calc-forms.el (math-this-year):
5049 * emacs-lisp/copyright.el (copyright-current-year)
5050 (copyright-update-year, copyright):
5051 * tar-mode.el (tar-clip-time-string):
5052 * time.el (display-time-update):
5053 Don't assume years have 4 digits.
5054
5055 2012-05-04 Chong Yidong <cyd@gnu.org>
5056
5057 * dos-w32.el (file-name-buffer-file-type-alist)
5058 (direct-print-region-use-command-dot-com):
5059 * ffap.el (ffap-menu-regexp):
5060 * find-file.el (ff-special-constructs):
5061 * follow.el (follow-debug):
5062 * forms.el (forms--debug):
5063 * iswitchb.el (iswitchb-all-frames):
5064 * ido.el (ido-all-frames):
5065 * emacs-lisp/timer.el (timer-max-repeats):
5066 * mail/feedmail.el (feedmail-mail-send-hook)
5067 (feedmail-mail-send-hook-queued):
5068 * mail/footnote.el (footnote-signature-separator):
5069 * mail/mailabbrev.el (mail-alias-separator-string)
5070 (mail-abbrev-mode-regexp):
5071 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5072 * progmodes/idlwave.el (idlwave-libinfo-file)
5073 (idlwave-default-completion-case-is-down)
5074 (idlwave-library-routines): Convert defvars to defcustoms.
5075
5076 * mail/rmail.el (rmail-decode-mime-charset):
5077 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5078 (idlwave-shell-fix-inserted-breaks)
5079 (idlwave-shell-activate-alt-keybindings)
5080 (idlwave-shell-use-breakpoint-glyph):
5081 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5082
5083 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5086
5087 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5088
5089 * progmodes/verilog-mode.el (font-lock-keywords):
5090 Fix mis-highligting auto. Reported by Craig Barner.
5091 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5092 defines from global name space. Reported by Dan Dever.
5093 (verilog-auto-reset, verilog-auto-reset-widths)
5094 (verilog-auto-tieoff): Support using unbased numbers for
5095 AUTORESET and AUTOTIEOFF.
5096 (verilog-submit-bug-report): Update variable list.
5097 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5098 parenthesis from not matching. Reported by Michael Rytting.
5099 (verilog-auto-template-lint): Fix hash error when linting modules
5100 with no used templates.
5101 (verilog-warn, verilog-warn-error)
5102 (verilog-warn-fatal): When non-interactive report multiple
5103 warnings before exiting. Suggested by Brad Dobbie.
5104 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5105 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5106 to report unused template errors. Reported by Brad Dobbie.
5107 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5108 nets, bug438. Reported by Vns Blore.
5109 (verilog-auto-inout-module, verilog-auto-reg)
5110 (verilog-read-decls, verilog-read-sub-decls-sig)
5111 (verilog-signals-edit-wire-reg, verilog-signals-with):
5112 Fix passing of Verilog data types in ANSI input/output ports
5113 such as "output logic" into the AUTOs. Special case "wire" and
5114 "reg" for backwards compatibility presuming Verilog 2001.
5115 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5116 (verilog-preprocess): Fix replication of preprocess output.
5117 Reported by Brad Dobbie.
5118 (verilog-auto-inst-interfaced-ports):
5119 Create verilog-auto-inst-interfaced-ports, bug429.
5120 Reported by Julian Gorfajn.
5121 (verilog-after-save-font-hook)
5122 (verilog-before-save-font-hook): New variable.
5123 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5124 (verilog-save-font-mods): Wrap disabling fontification, reported
5125 by David Rogoff.
5126 (verilog-do-indent, verilog-pretty-declarations-auto)
5127 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5128 Reported by Pierre-David Pfister.
5129 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5130 of class declarations, bug292. Reported by Kevin Heilman.
5131 (verilog-read-decls): Fix 'parameter type' not appearing in
5132 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5133 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5134 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5135 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5136 Reported by David Kravitz.
5137
5138 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5139
5140 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5141 assignment with tests in ifs and for loops.
5142 (verilog-extended-complete-re, verilog-complete-reg): Change so
5143 that DPI inport functions don't look like fuction declarations.
5144 (verilog-pretty-expr): Don't line up assignment
5145 operations to the test and increment in if and for loops
5146 (verilog-extended-complete-re, verilog-complete-reg): Change so
5147 that DPI inport functions don't look like fuction declarations.
5148
5149 2012-05-03 Kenichi Handa <handa@m17n.org>
5150
5151 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5152 decoding, and show a warning message without signaling an error
5153 (Bug#11282).
5154
5155 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * emacs-lisp/bytecomp.el
5158 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5159 since cconv.el might have introduced :fun-body, internal-make-closure,
5160 and friends for bytecomp to handle (bug#11391).
5161 * custom.el (defcustom): Avoid ((λ ..) ..).
5162
5163 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5166
5167 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5168
5169 * notifications.el (dbus-debug):
5170 * term/linux.el (gpm-mouse-enable):
5171 * term/screen.el (xterm-register-default-colors): Declare.
5172
5173 2012-05-02 Chong Yidong <cyd@gnu.org>
5174
5175 * cus-start.el (gc-cons-percentage, exec-suffixes)
5176 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5177 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5178 (make-cursor-line-fully-visible, void-text-area-pointer)
5179 (font-list-limit): Add customization data.
5180
5181 * allout.el (allout-exposure-change-functions)
5182 (allout-structure-added-functions)
5183 (allout-structure-deleted-functions)
5184 (allout-structure-shifted-functions): Rename abnormal hooks from
5185 *-hook, and convert to defcustoms.
5186 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5187 Convert to defcustoms.
5188 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5189
5190 * allout-widgets.el: Hook callers changed.
5191
5192 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5193
5194 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5195 the yanked message in preference to the default value of
5196 buffer-file-coding-system.
5197
5198 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5199
5200 * window.el (display-buffer--action-function-custom-type):
5201 Fix entry.
5202
5203 2012-05-02 Alan Mackenzie <acm@muc.de>
5204
5205 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5206
5207 2012-05-01 Glenn Morris <rgm@gnu.org>
5208
5209 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5210
5211 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5212
5213 * cus-edit.el (custom-variable-documentation): Simplify with format.
5214
5215 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5216 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * simple.el (suggest-key-bindings, execute-extended-command):
5219 Move from keyboard.c.
5220
5221 2012-05-01 Chong Yidong <cyd@gnu.org>
5222
5223 * follow.el: Eliminate advice.
5224 (set-process-filter, process-filter, sit-for): Advice deleted.
5225 (follow-mode-off-hook): Obsolete hook removed.
5226 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5227 Vars deleted.
5228 (follow-auto): Use a :set function.
5229 (follow-mode): Rewritten. Don't advise process filters.
5230 (follow-switch-to-current-buffer-all, follow-scroll-up)
5231 (follow-scroll-down): Assume follow-mode is bound.
5232 (follow-comint-scroll-to-bottom)
5233 (follow-align-compilation-windows): New functions.
5234 (follow--window-sorter): New function.
5235 (follow-all-followers): Use it to explicitly sort windows by their
5236 positions; don't make assumptions about next-window order.
5237 (follow-windows-start-end, follow-delete-other-windows-and-split)
5238 (follow-calc-win-start): Doc fix.
5239 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5240 vertical-motion unnecessarily.
5241 (follow-adjust-window): New function.
5242 (follow-post-command-hook): Use it.
5243 (follow-call-set-process-filter, follow-call-process-filter)
5244 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5245 (follow-stop-intercept-process-output, follow-generic-filter):
5246 Functions deleted.
5247 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5248 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5249 New functions, replacing advice on scroll-bar-* commands.
5250 (follow-mwheel-scroll): New function (Bug#4112).
5251
5252 * comint.el (comint-adjust-point): New function.
5253 (comint-postoutput-scroll-to-bottom): Use it.
5254 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5255
5256 2012-05-01 Glenn Morris <rgm@gnu.org>
5257
5258 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5259 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5260 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5261 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5262 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5263 Remove no-byte-compile setting.
5264
5265 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5268 all-completions code to not return a number in the last cdr.
5269
5270 2012-04-30 Leo Liu <sdl.web@gmail.com>
5271
5272 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5273 read-only error.
5274
5275 2012-04-29 Chong Yidong <cyd@gnu.org>
5276
5277 * follow.el (follow-calc-win-end): Rewrite to handle partial
5278 screen lines correctly (Bug#8390).
5279 (follow-avoid-tail-recenter): Minor cleanup.
5280
5281 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5282
5283 Avoid the obsolete `assoc' package.
5284 * speedbar.el (speedbar-refresh): Avoid adelete.
5285 (speedbar-file-lists): Simplify and avoid aput.
5286 * man.el (Man--sections, Man--refpages): New vars, replacing
5287 Man-sections-alist and Man-refpages-alist.
5288 (Man-build-section-alist, Man-build-references-alist):
5289 Use them; avoid aput.
5290 (Man--last-section, Man--last-refpage): New vars.
5291 (Man-follow-manual-reference): Use them.
5292 Use the `default' arg of completing-read.
5293 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5294
5295 2012-04-27 Chong Yidong <cyd@gnu.org>
5296
5297 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5298
5299 * startup.el (x-apply-session-resources): New function.
5300
5301 * term/ns-win.el (ns-initialize-window-system):
5302 * term/w32-win.el (w32-initialize-window-system):
5303 * term/x-win.el (x-initialize-window-system): Use it to properly
5304 set menu-bar-mode and other vars from X resources, even if the
5305 initial frame is not a window-system frame (Bug#2299).
5306
5307 * subr.el (read-key): Avoid running filter function when setting
5308 up temporary tool bar entries (Bug#9922).
5309
5310 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5311
5312 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5313 (Bug#11344)
5314
5315 2012-04-27 Chong Yidong <cyd@gnu.org>
5316
5317 * select.el (xselect--encode-string): New function, split from
5318 xselect-convert-to-string.
5319 (xselect-convert-to-string): Use it.
5320 (xselect-convert-to-filename, xselect-convert-to-os)
5321 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5322 returned strings are properly encoded (Bug#11315).
5323
5324 2012-04-27 Chong Yidong <cyd@gnu.org>
5325
5326 * simple.el (delete-active-region): Move to killing custom group.
5327
5328 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5329
5330 * progmodes/which-func.el (which-func-current): Quote %
5331 characters for mode-line processing.
5332
5333 2012-04-27 Chong Yidong <cyd@gnu.org>
5334
5335 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5336 reaching eob (Bug#11286).
5337
5338 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5339
5340 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5341 (gdb): Make it buffer-local and init to zero.
5342 (gdb-control-commands-regexp): New variable.
5343 (gdb-send): Don't wrap in "-interpreter-exec console" if
5344 gdb-control-level is positive. Increment gdb-control-level
5345 whenever the command matches gdb-control-commands-regexp, and
5346 decrement it each time the command is "end". (Bug#11279)
5347
5348 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5349
5350 * window.el (adjust-window-trailing-edge, enlarge-window)
5351 (shrink-window, window-resize):
5352 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5353 windows (Bug#11276).
5354
5355 2012-04-27 Chong Yidong <cyd@gnu.org>
5356
5357 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5358 fix "missing prefix" warning. All callers changed.
5359
5360 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * emacs-lisp/assoc.el: Move to obsolete/.
5363
5364 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5367
5368 * term/ns-win.el (ns-define-service):
5369 * progmodes/pascal.el (pascal-goto-defun):
5370 * progmodes/js.el (js--read-tab):
5371 * progmodes/etags.el (tags-lazy-completion-table):
5372 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5373 * emacs-lisp/ewoc.el (ewoc--wrap):
5374 * emacs-lisp/assoc.el (aput, adelete, amake):
5375 * doc-view.el (doc-view-convert-current-doc):
5376 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5377
5378 2012-04-26 Chong Yidong <cyd@gnu.org>
5379
5380 * image.el (image-type-from-buffer): Only return supported image
5381 type (Bug#9045).
5382
5383 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5384 value, for symmetry with diff-end-of-hunk.
5385 (diff-split-hunk, diff-find-source-location)
5386 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5387 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5388 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5389 compute the relevant hunk or file properly (Bug#6005).
5390 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5391
5392 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * vc/vc-mtn.el:
5395 * vc/vc-hg.el:
5396 * vc/vc-git.el:
5397 * vc/vc-dir.el:
5398 * vc/vc-cvs.el:
5399 * vc/vc-bzr.el:
5400 * vc/vc-arch.el:
5401 * vc/vc.el: Replace lexical-let by lexical-binding.
5402 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5403 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5404 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5405
5406 2012-04-26 Chong Yidong <cyd@gnu.org>
5407
5408 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5409 (diff-mode-shared-map): Bind it to / and [remap undo].
5410
5411 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5412 (ediff-window-setup-function): Use it as the default, to set up
5413 windows based on whether the current frame is graphical (Bug#2138).
5414 (ediff-choose-window-setup-function-automatically): Make obsolete.
5415
5416 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5417
5418 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * ffap.el: Remove old code for obsolete package.
5421 (ffap-complete-as-file-p): Remove.
5422
5423 Use completion-table-with-quoting for comint and pcomplete.
5424 * comint.el (comint--unquote&requote-argument)
5425 (comint--unquote-argument, comint--requote-argument): New functions.
5426 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5427 (comint-quote-filename): Use regexp-opt-charset.
5428 (comint--common-suffix, comint--common-quoted-suffix)
5429 (comint--table-subvert): Remove.
5430 (comint-unquote-function, comint-requote-function): New vars.
5431 (comint--complete-file-name-data): Use them with
5432 completion-table-with-quoting.
5433 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5434 * pcomplete.el (pcomplete-arg-quote-list)
5435 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5436 (pcomplete-unquote-argument-function): Default to non-nil.
5437 (pcomplete-unquote-argument): Simplify.
5438 (pcomplete--common-quoted-suffix): Remove.
5439 (pcomplete-requote-argument-function): New var.
5440 (pcomplete--common-suffix): New function.
5441 (pcomplete-completions-at-point): Use completion-table-with-quoting
5442 and completion-table-subvert.
5443
5444 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5445 (minibuffer--double-dollars): Preserve properties.
5446 (completion--sifn-requote): New function.
5447 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5448
5449 * minibuffer.el: Add support for completion of quoted/escaped data.
5450 (completion-table-with-quoting, completion-table-subvert): New funs.
5451 (completion--twq-try, completion--twq-all): New functions.
5452 (completion--nth-completion): New function.
5453 (completion-try-completion, completion-all-completions): Use it.
5454
5455 2012-04-25 Leo Liu <sdl.web@gmail.com>
5456
5457 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5458 Use compilation-message if available to find real filename.
5459
5460 2012-04-25 Chong Yidong <cyd@gnu.org>
5461
5462 * vc/diff-mode.el (diff-setup-whitespace): New function.
5463 (diff-mode): Use it.
5464
5465 * vc/diff.el (diff-sentinel):
5466 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5467 Whitespace mode variables based on diff style (Bug#8612).
5468
5469 2012-04-25 Leo Liu <sdl.web@gmail.com>
5470
5471 * progmodes/python.el (python-send-region): Add suffix .py to the
5472 temp file.
5473
5474 * files.el (auto-mode-alist): Use javascript-mode instead.
5475
5476 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5477
5478 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5479
5480 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5481 (soap-resolve-references-for-array-type): Hack to prevent self
5482 references, see Bug#9.
5483 (soap-parse-envelope): Report the contents of the 'detail' node
5484 when receiving a fault reply.
5485 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5486
5487 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5488 (soap-inspect-simple-type): New function.
5489
5490 * net/soap-client.el (soap-simple-type): New struct.
5491 (soap-default-xsd-types, soap-default-soapenc-types)
5492 (soap-decode-basic-type, soap-encode-basic-type):
5493 support unsignedInt and double basic types.
5494 (soap-resolve-references-for-simple-type)
5495 (soap-parse-simple-type, soap-encode-simple-type): New function.
5496 (soap-parse-schema): Parse xsd:simpleType declarations.
5497
5498 * net/soap-client.el (soap-default-xsd-types)
5499 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5500 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5501 the local name of "soapenc:Array".
5502 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5503 decoding integer, byte and anyURI xsd types.
5504
5505 2012-04-25 Chong Yidong <cyd@gnu.org>
5506
5507 * cus-edit.el (custom-buffer-create-internal): Update header text.
5508
5509 2012-04-25 Eli Zaretskii <eliz@gnu.org>
5510
5511 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5512 settings on 'system-type', not on 'window-system'. On MS-Windows,
5513 set interactive-mode on in GDB.
5514
5515 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5518 (ruby-syntax-propertize-regexp): Remove.
5519 (ruby-syntax-propertize-function): Split regexp into chunks.
5520 Match following code directly.
5521
5522 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5523
5524 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5525 (ruby-syntax-propertize-regexp): New function.
5526 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5527 by a special keyword.
5528
5529 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5530 (ruby-syntax-general-delimiters-goto-beg)
5531 (ruby-syntax-propertize-general-delimiters): New functions.
5532 (ruby-syntax-propertize-function): Use them to handle GDL.
5533 (ruby-font-lock-keywords): Move old handling of GDL...
5534 (ruby-font-lock-syntactic-keywords): .. to here.
5535 (ruby-calculate-indent): Adjust indentation for GDL.
5536
5537 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
5538
5539 * notifications.el (top): Remove unneeded declarations.
5540 (notifications-specification-version): Change to "1.2".
5541 (notifications-interface, notifications-notify-method)
5542 (notifications-close-notification-method): Fix docstring.
5543 (notifications-get-capabilities-method): New defconst.
5544 (notifications-notify): Add :action-items, :resident and
5545 :transient hints. Change "image_data" to "image-data" and
5546 "image_path" to "image-path".
5547 (notifications-get-capabilities): New defun.
5548
5549 2012-04-24 Leo Liu <sdl.web@gmail.com>
5550
5551 * progmodes/python.el: Move hideshow setup to the end.
5552
5553 2012-04-24 Martin Rudalics <rudalics@gmx.at>
5554
5555 * window.el (handle-select-window): Clear echo area since this is
5556 no more done by read_char (Bug#11304).
5557
5558 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5561 and `/ M' to filter-derived-mode.
5562 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5563 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5564 (ibuffer-mark-by-mode): Use default rather than initial-input.
5565 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5566
5567 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5568
5569 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5570 (ibuffer-filter-by-derived-mode): New filter.
5571 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5572
5573 2012-04-23 Andreas Politz <politza@fh-trier.de>
5574
5575 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5576
5577 2012-04-23 Chong Yidong <cyd@gnu.org>
5578
5579 * cus-edit.el (customize-apropos, customize-apropos-options):
5580 Disable matching of non-option variables (Bug#11176).
5581 (customize-option, customize-option-other-window)
5582 (customize-changed-options): Doc fix.
5583 (customize-apropos-options, customize-apropos-faces)
5584 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5585
5586 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5587 Fix word list splitting (Bug#11132).
5588 (apropos-symbol, apropos-keybinding, apropos-label)
5589 (apropos-property, apropos-function-button)
5590 (apropos-variable-button, apropos-misc-button): New faces.
5591 (apropos-symbol-face, apropos-keybinding-face)
5592 (apropos-label-face, apropos-property-face, apropos-match-face):
5593 Variables removed (Bug#8396).
5594 (apropos-library-button, apropos-format-plist, apropos-print)
5595 (apropos-print-doc, apropos-describe-plist): Callers changed.
5596
5597 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/xesam.el (xesam-mode-map): Use let-bound map in
5600 initialization. (Bug#11292)
5601
5602 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5603
5604 Preserve ispell session localwords when switching back to
5605 original buffer.
5606
5607 * textmodes/ispell.el (ispell-buffer-session-localwords):
5608 New buffer-local variable to hold buffer session localwords.
5609 (ispell-kill-ispell): Add option 'clear to delete session
5610 localwords.
5611 (ispell-command-loop, ispell-change-dictionary)
5612 (ispell-buffer-local-words): Preserve session localwords when
5613 needed.
5614
5615 * textmodes/flyspell.el (flyspell-process-localwords)
5616 (flyspell-do-correct): Preserve session localwords when needed.
5617
5618 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5619
5620 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5621 using obsolete `translation-table-for-input'.
5622 (ispell-word, ispell-process-line, ispell-complete-word):
5623 Use plain `insert' instead of removed `ispell-insert-word'.
5624
5625 2012-04-22 Chong Yidong <cyd@gnu.org>
5626
5627 * cus-edit.el (custom-variable-menu)
5628 (custom-variable-reset-saved, custom-face-menu)
5629 (custom-face-reset-saved): If there is no saved value, make the
5630 "reset-saved" operation bring back the default (Bug#9509).
5631 (custom-face-state): Properly detect themed faces.
5632
5633 * faces.el (face-spec-set): Stop supporting deprecated form of
5634 third arg.
5635
5636 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
5637
5638 Move functions from C to Lisp. Make non-blocking method calls
5639 the default. Implement further D-Bus standard interfaces.
5640
5641 * net/dbus.el (dbus-message-internal): Declare function.
5642 Remove unneeded function declarations.
5643 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5644 (dbus-message-type-method-return, dbus-message-type-error)
5645 (dbus-message-type-signal): Declare variables. Remove local
5646 definitions.
5647 (dbus-interface-dbus, dbus-interface-peer)
5648 (dbus-interface-introspectable, dbus-interface-properties)
5649 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5650 Adapt docstring.
5651 (dbus-interface-objectmanager): New defconst.
5652 (dbus-call-method, dbus-call-method-asynchronously)
5653 (dbus-send-signal, dbus-method-return-internal)
5654 (dbus-method-error-internal, dbus-register-service)
5655 (dbus-register-signal, dbus-register-method): New defuns, moved
5656 from dbusbind.c
5657 (dbus-call-method-handler, dbus-setenv)
5658 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5659 New defuns.
5660 (dbus-call-method-non-blocking): Make it an obsolete function.
5661 (dbus-unregister-object, dbus-unregister-service)
5662 (dbus-handle-event, dbus-register-property)
5663 (dbus-property-handler): Obey the new structure of
5664 `bus-registered-objects'.
5665 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5666 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5667 Use `dbus-call-method'.
5668
5669 2012-04-22 Chong Yidong <cyd@gnu.org>
5670
5671 * cus-edit.el (custom-commands, custom-reset-menu)
5672 (Custom-reset-standard): Tweak labels.
5673 (custom-reset-button-menu): Change default to t.
5674 (custom-buffer-create-internal): For the custom-reset-button-menu
5675 case, put the revert button first.
5676 (custom-group-subtitle): New face.
5677 (custom-group-value-create): Align docstring to a specific column.
5678
5679 * wid-edit.el (widget-documentation-link-add): Don't handle
5680 indentation in this function.
5681 (widget-documentation-string-indent-to): New function.
5682 (widget-documentation-string-value-create): Use it.
5683
5684 * autorevert.el (auto-revert):
5685 * epg-config.el (epg):
5686 * ibuffer.el (ibuffer):
5687 * mpc.el (mpc):
5688 * ses.el (ses):
5689 * eshell/eshell.el (eshell):
5690 * net/ange-ftp.el (ange-ftp):
5691 * progmodes/ebnf2ps.el (postscript):
5692 * progmodes/flymake.el (flymake):
5693 * progmodes/prolog.el (prolog):
5694 * progmodes/verilog-mode.el (verilog-mode):
5695 * progmodes/which-func.el (which-func):
5696 * term/xterm.el (xterm):
5697 * textmodes/picture.el (picture):
5698 * textmodes/tildify.el (tildify):
5699 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5700 customization buffers.
5701
5702 2012-04-22 Alan Mackenzie <acm@muc.de>
5703
5704 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5705 Adding a ) can hide the resulting (..) from searches. Fix it.
5706 Bound the backward search to the position of the existing (.
5707
5708 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5709
5710 * progmodes/verilog-mode.el (verilog-mode): Check whether
5711 which-func-modes is t before adding verilog-mode.
5712 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5713
5714 2012-04-21 Leo Liu <sdl.web@gmail.com>
5715
5716 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5717
5718 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5719
5720 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5721 filling of the last column of a table (Bug#5635).
5722 (woman-find-next-control-line): New arg, specifying an additional
5723 regexp component for the control line.
5724 (woman2-roff-buffer): Use it.
5725 (woman-break-table): New function.
5726 (woman2-TS): Use it.
5727
5728 2012-04-21 Chong Yidong <cyd@gnu.org>
5729
5730 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5731 (woman-horizontal-escapes, woman-negative-vertical-space)
5732 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5733 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5734
5735 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * minibuffer.el (completion-file-name-table): Complete user names.
5738
5739 2012-04-20 Leo Liu <sdl.web@gmail.com>
5740
5741 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5742 and pcase-let*.
5743
5744 2012-04-20 Chong Yidong <cyd@gnu.org>
5745
5746 * server.el (server-execute): Respect initial-buffer-choice if it
5747 is a string and there are no files to open (Bug#2825).
5748 (server-create-window-system-frame, server-create-tty-frame):
5749 Don't switch buffers here.
5750 (server-process-filter): Only try to open a window system frame if
5751 compiled with graphical support (Bug#8314).
5752
5753 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5754
5755 * battery.el (battery-echo-area-format): Display remaining time
5756 for sysfs backend too (Bug#11269).
5757 (battery-linux-sysfs): Fix conditional for the charge.
5758
5759 2012-04-20 Chong Yidong <cyd@gnu.org>
5760
5761 * progmodes/gdb-mi.el (gdb): Revert previous change.
5762 (gdb-inferior-io--init-proc): New function.
5763 (gdb-init-1): Use it.
5764 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5765 responsible for allocating a new pty and hooking it to gdb when
5766 the old pty gets an EIO due to process exit.
5767 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5768 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5769 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5770
5771 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5772
5773 * window.el (window-min-size, window-sizable, window-min-delta)
5774 (window-max-delta, window--resizable, window-resizable)
5775 (window-total-size, window-full-height-p, window-full-width-p)
5776 (window-in-direction, window--resize-mini-window, window-resize)
5777 (window--resize-child-windows-normal)
5778 (window--resize-child-windows, window--resize-siblings)
5779 (window--resize-this-window, adjust-window-trailing-edge)
5780 (enlarge-window, shrink-window): Doc fixes.
5781
5782 2012-04-20 Chong Yidong <cyd@gnu.org>
5783
5784 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5785 New function to call delete-process on the gdb-inferior buffer's pty.
5786 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5787 pty process (Bug#11273).
5788 (gdb-update): New arg to suppress talking to the gdb process.
5789 (gdb-done-or-error): Use it.
5790 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5791 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5792 sentinel not being called.
5793
5794 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5795
5796 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5797
5798 2012-04-20 Glenn Morris <rgm@gnu.org>
5799
5800 * net/network-stream.el (open-network-stream): Doc fix.
5801
5802 2012-04-20 Chong Yidong <cyd@gnu.org>
5803
5804 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5805
5806 2012-04-20 Alan Mackenzie <acm@muc.de>
5807
5808 Ensure searching for keywords is case sensitive.
5809
5810 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5811 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5812 (c-defun-name, c-mark-function, c-cpp-define-name)
5813 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5814 (c-context-line-break): Bind case-fold-search to nil.
5815
5816 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5817 Bind case-fold-search to nil.
5818
5819 2012-04-20 Chong Yidong <cyd@gnu.org>
5820
5821 * mail/sendmail.el (mail-bury): Call return action with the right
5822 Rmail buffer (Bug#11242).
5823
5824 * server.el (server-process-filter): Handle corner case where both
5825 tty and nowait options are present (Bug#11102).
5826
5827 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5828
5829 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5830 (top level): Put into the executable the ident-style '$Id:' tag on
5831 windows-nt as well.
5832
5833 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * electric.el (electric-indent-post-self-insert-function): Check that
5836 electric-indent-mode is enabled in current buffer.
5837
5838 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5839
5840 * imenu.el (imenu-progress-message): Restore; it is "used" in
5841 erc/erc-imenu.el and net/snmp-mode.el.
5842
5843 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5846 (mouse-avoidance-nudge-mouse): Remove unused binding.
5847
5848 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5849
5850 * descr-text.el (describe-char):
5851 * progmodes/python.el (python-describe-symbol):
5852 Don't call `toggle-read-only', set `buffer-read-only'.
5853
5854 * imenu.el (imenu-default-goto-function): Mark unused args.
5855 (imenu-progress-message): Remove obsolete macro; all callers changed.
5856
5857 * subr.el (keymap-canonicalize): Remove unused binding.
5858 (read-passwd): Mark unused arg.
5859
5860 * tutorial.el (tutorial--display-changes): Remove unused binding.
5861 (tutorial--save-tutorial-to): Remove unused variable.
5862
5863 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5864 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5865 (package-generate-autoloads, package-menu--generate)
5866 (package-menu--find-upgrades): Remove unused bindings.
5867
5868 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5869 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5870 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5871 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5872 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5873 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5874 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5875 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5876 (cua-delete-char-rectangle): Mark unused args.
5877 (cua-align-rectangle): Remove unused binding.
5878
5879 * mail/rmail.el (compilation--message->loc)
5880 (epa--find-coding-system-for-mime-charset): Declare.
5881
5882 * net/dbus.el (dbus-register-service): Declare.
5883 (dbus-name-owner-changed-handler): Remove unused binding.
5884
5885 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5886 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5887 (nxml-scan-backward-within): Mark unused arg.
5888 (nxml-dynamic-markup-word): Remove unused binding.
5889
5890 * mouse.el (mouse-menu-major-mode-map):
5891 * emacs-lisp/authors.el (authors-scan-change-log)
5892 (authors-add-to-author-list):
5893 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5894 * emacs-lisp/smie.el (smie-auto-fill):
5895 * mail/sendmail.el (mail-bury):
5896 * mail/unrmail.el (unrmail):
5897 * net/tls.el (open-tls-stream):
5898 * textmodes/picture.el (picture-mouse-set-point):
5899 Remove unused bindings.
5900
5901 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5902
5903 * net/tramp.el (tramp-action-password): Let-bind
5904 `enable-recursive-minibuffers' to t.
5905
5906 2012-04-18 Sam Steingold <sds@gnu.org>
5907
5908 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5909 instead of 'string to accommodate values like [f11].
5910 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5911 * progmodes/gdb-mi.el: Likewise.
5912
5913 2012-04-18 Leo Liu <sdl.web@gmail.com>
5914
5915 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5916 current buffer.
5917 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5918 LOCAL is nil.
5919
5920 2012-04-18 Chong Yidong <cyd@gnu.org>
5921
5922 * simple.el (line-move): Use forward-line if in batch mode
5923 (Bug#11053).
5924
5925 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5926
5927 * files.el (after-find-file): Do not try to add a final newline if
5928 the buffer is read-only (Bug#11156).
5929
5930 2012-04-17 Richard Stallman <rms@gnu.org>
5931
5932 * mail/rmail.el (rmail-start-mail):
5933 Pass (rmail-mail-return...) for the return-action.
5934 Pass (rmail-yank-current-message...) for the yank-action.
5935 (rmail-yank-current-message): New function.
5936 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5937 (rmail-reply): Likewise.
5938 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5939
5940 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5941 buffer, not the last. Reject temp buffers. Use the rmail-mode
5942 buffer, not newbuf.
5943
5944 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5945
5946 * server.el (server-ensure-safe-dir): Simplify.
5947
5948 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * emacs-lisp/smie.el: Provide smarter auto-filling.
5951 (smie-auto-fill): New function.
5952 (smie-setup): Use it.
5953
5954 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5955
5956 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5957
5958 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5959 (comment-indent): Use it.
5960
5961 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5962
5963 * ses.el: The overall change is to add cell renaming, that is
5964 setting fancy names for cell symbols other than name matching
5965 "\\`[A-Z]+[0-9]+\\'" regexp .
5966 (ses-localvars): Add ses--renamed-cell-symb-list.
5967 (ses-create-cell-variable): New defun.
5968 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5969 (ses-relocate-formula): Relocate formulas only for cells the
5970 symbols of which are not renamed, i.e. symbols whose names do not
5971 match regexp "\\`[A-Z]+[0-9]+\\'".
5972 (ses-relocate-all): Relocate values only for cells the symbols of
5973 which are not renamed.
5974 (ses-load): Create cells variables as the (ses-cell ...) are read,
5975 in order to check row col consistency with cell symbol name only
5976 for cells that are not renamed.
5977 (ses-replace-name-in-formula): New defun.
5978 (ses-rename-cell): New defun.
5979
5980 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5981
5982 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5983 New option (bug#11118).
5984 (perl-calculate-indent): Respect it.
5985
5986 2012-04-17 Glenn Morris <rgm@gnu.org>
5987
5988 * dired-aux.el (dired-mark-read-string): Doc fix.
5989
5990 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5991
5992 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5993 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5994
5995 2012-04-17 Glenn Morris <rgm@gnu.org>
5996
5997 * mouse.el (mouse-drag-track):
5998 * speedbar.el (speedbar-frame-mode):
5999 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6000
6001 2012-04-16 Leo Liu <sdl.web@gmail.com>
6002
6003 * progmodes/python.el: Trivial cleanup.
6004
6005 2012-04-16 Glenn Morris <rgm@gnu.org>
6006
6007 * vc/vc.el (vc-string-prefix-p):
6008 * vc/pcvs-util.el (cvs-string-prefix-p):
6009 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6010 * mpc.el (mpc-string-prefix-p):
6011 Make all of these into obsolete aliases for string-prefix-p.
6012 Update callers.
6013 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6014
6015 * textmodes/two-column.el: Move custom options to the start.
6016 (frame-width): Remove compat definition.
6017 (2C-associate-buffer, 2C-dissociate):
6018 Use with-current-buffer rather than save-excursion.
6019 (2C-dissociate): Force a mode-line update.
6020 (2C-autoscroll): Use ignore-errors.
6021
6022 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6023 Autoload trivia.
6024
6025 * emacs-lisp/cl-extra.el (*random-state*):
6026 Remove unnecessary declaration.
6027
6028 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6029
6030 * play/cookie1.el (cookie-snarf):
6031 Give an explicit error if input file cannot be read.
6032
6033 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6034
6035 * progmodes/perl-mode.el (c-macro-expand):
6036 Remove unnecessary autoload (it is in loaddefs.el).
6037
6038 * textmodes/picture.el (picture-desired-column)
6039 (picture-update-desired-column): Convert comments to doc-strings.
6040 (picture-substitute): Remove function.
6041 (picture-mode-map): Initialize in the defvar.
6042
6043 * woman.el: Remove eval-after-load for tar-mode.
6044 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6045 (woman-tar-extract-file): Autoload it.
6046
6047 * frame.el (automatic-hscrolling): Make this alias obsolete.
6048
6049 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6050
6051 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6052 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6053 (ispell-dictionary-base-alist): Revert to original XEmacs
6054 friendly version for default. [:alpha:] will be added in
6055 `ispell-set-spellchecker-params' if needed.
6056
6057 2012-04-16 Chong Yidong <cyd@gnu.org>
6058
6059 * image.el (imagemagick--file-regexp): New variable.
6060 (imagemagick-register-types): Use it.
6061 (imagemagick-types-inhibit): Add :set function. Allow new value
6062 of t to inhibit all types.
6063
6064 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6065 so we can preload it.
6066
6067 * loadup.el (fboundp): Preload regexp-opt, needed by
6068 imagemagick-register-types.
6069
6070 2012-04-15 Chong Yidong <cyd@gnu.org>
6071
6072 * frame.el (scrolling): Remove nearly unused customization group.
6073
6074 * scroll-all.el (scroll-all-mode): Move to windows group.
6075
6076 2012-04-15 Chong Yidong <cyd@gnu.org>
6077
6078 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6079
6080 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6081
6082 Avoid the use of ((lambda ...) ...) in lexical-binding code.
6083 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6084
6085 2012-04-15 Glenn Morris <rgm@gnu.org>
6086
6087 * simple.el (process-file-side-effects): Doc fix.
6088
6089 2012-04-15 Glenn Morris <rgm@gnu.org>
6090
6091 * international/mule-cmds.el (set-language-environment): Doc fix.
6092
6093 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * server.el (server-auth-key, server-generate-key): Doc fixes.
6096 (server-get-auth-key): Doc fix. Use `string-match-p'.
6097 (server-start): Reflow docstring.
6098
6099 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6100
6101 * server.el (server-generate-key): `called-interactively-p'
6102 requires a parameter.
6103
6104 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
6105
6106 * server.el (server-auth-key): New variable.
6107 (server-generate-key, server-get-auth-key): New function.
6108 (server-start): Use the new variable and functions to allow
6109 setting a permanent server key (bug#9423).
6110
6111 2012-04-14 Leo Liu <sdl.web@gmail.com>
6112
6113 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6114
6115 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6116
6117 Spelling fixes.
6118 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6119 Emacs uses American spelling.
6120
6121 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6124 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6125 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6126 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6127
6128 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * progmodes/which-func.el (which-func-modes): Change default.
6131
6132 2012-04-14 Kim F. Storm <storm@cua.dk>
6133
6134 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6135 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6136
6137 2012-04-14 Chong Yidong <cyd@gnu.org>
6138
6139 * custom.el (custom-theme-set-variables): Doc fix.
6140
6141 2012-04-14 Glenn Morris <rgm@gnu.org>
6142
6143 * international/mule.el (set-auto-coding-for-load): Doc fix.
6144
6145 2012-04-14 Alan Mackenzie <acm@muc.de>
6146
6147 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6148 imenu work again for Objective C Mode. Correct the *-index values,
6149 these having been disturbed by a previous change in 2011-08.
6150
6151 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6152 Correct two search limits.
6153
6154 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6157
6158 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6159
6160 * international/characters.el: Fix sorting.
6161
6162 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6163
6164 * international/characters.el: Add more missing Latin case pairs.
6165
6166 2012-04-14 Glenn Morris <rgm@gnu.org>
6167
6168 * files.el (dir-locals-set-class-variables): Doc fix.
6169
6170 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6171
6172 * international/characters.el: Add set-case-syntax-pair call for
6173 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6174 counterpart. (Bug#11209)
6175
6176 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6177
6178 2012-04-14 Glenn Morris <rgm@gnu.org>
6179
6180 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6181
6182 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6183
6184 * textmodes/ispell.el (ispell-dictionary-base-alist):
6185 Add data for Hebrew.
6186
6187 2012-04-14 Chong Yidong <cyd@gnu.org>
6188
6189 * net/rcirc.el (rcirc-cmd-quit):
6190 Revert 2012-03-18 change (Bug#11192).
6191
6192 2012-04-14 Glenn Morris <rgm@gnu.org>
6193
6194 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6195
6196 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6197
6198 * minibuffer.el (completion-in-region-mode-map):
6199 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6200
6201 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6202
6203 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6204
6205 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6206
6207 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6208 to allow `C-M-f' and `C-M-b' to move to the nearest path
6209 separator (bug#9511).
6210
6211 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6212
6213 * avoid.el: Require cl when compiling. And also move the
6214 `provide' to the end.
6215
6216 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6217
6218 * avoid.el (mouse-avoidance-banish-position): New variable.
6219 (mouse-avoidance-banish-destination): Use it (bug#10165).
6220
6221 2012-04-13 Leo Liu <sdl.web@gmail.com>
6222
6223 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6224
6225 2012-04-13 Ken Brown <kbrown@cornell.edu>
6226
6227 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6228 this is no longer needed now that cygstart understands file:// URLs.
6229 (browse-url-filename-alist): For the same reason, don't modify
6230 file:// URLs on Cygwin.
6231
6232 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6235 the region on shift if the binding is already shifted (bug#11221).
6236
6237 2012-04-12 Glenn Morris <rgm@gnu.org>
6238
6239 * mail/mailpost.el: Move to obsolete/.
6240
6241 2012-04-12 Drew Adams <drew.adams@oracle.com>
6242
6243 * imenu.el (imenu--generic-function): Ignore invisible definitions
6244 (bug#10123).
6245
6246 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6247
6248 * hexl.el (hexl-bits): New variable.
6249 (hexl-options): Mention the variable in the doc string.
6250 (hexl-rulerise, hexl-line-displen): New functions.
6251 (hexl-mode): Mention the new variable.
6252 (hexl-mode, hexl-current-address, hexl-current-address):
6253 Use the displen.
6254 (hexl-ascii-start-column): New function.
6255 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6256 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6257
6258 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6259
6260 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6261 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6262 the encoding, as expected by hunspell.
6263
6264 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * battery.el (battery--linux-sysfs-regexp): New const.
6267 (battery-status-function): Use it. Remove yeeloong special case.
6268 (battery-yeeloong-sysfs): Remove.
6269 (battery-echo-area-format): Remove yeeloong special case.
6270
6271 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6274 Reported by Noah Friedman.
6275
6276 * subr.el (read-passwd): Use read-string.
6277
6278 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6279
6280 * vcursor.el (vcursor-move): Increase the priority of the overlay
6281 (bug#9663).
6282
6283 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6284
6285 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6286 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6287
6288 2012-04-11 William Stevenson <yhvh2000@gmail.com>
6289
6290 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6291 define-minor-mode (bug#10760).
6292
6293 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6294
6295 * progmodes/grep.el (rgrep): Tweak the find command line so
6296 that directories matching `grep-find-ignored-files' won't be
6297 pruned (bug#10351).
6298
6299 2012-04-11 Chong Yidong <cyd@gnu.org>
6300
6301 * startup.el (command-line): Remove support for long-obsolete
6302 variable font-lock-face-attributes.
6303
6304 2012-04-11 Glenn Morris <rgm@gnu.org>
6305
6306 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6307
6308 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * window.el (window--state-get-1): Obey window-point-insertion-type.
6311
6312 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6313
6314 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6315 to previous function when point is on the first character of a
6316 function. Take care of that in `narrow-to-defun' (bug#6157).
6317
6318 2012-04-11 Glenn Morris <rgm@gnu.org>
6319
6320 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6321 not just file-errors.
6322
6323 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6324 (vc-bzr-sha1): Use internal sha1.
6325
6326 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6329
6330 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6331
6332 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6333 that start in the middle of the line (bug#10496).
6334
6335 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6336
6337 * battery.el (battery-linux-proc-acpi): Only one battery is
6338 discharged at a time, but that seems to confuse battery.el when
6339 computing `rate-type' for the battery not being discharged
6340 (bug#10332).
6341
6342 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6345
6346 * international/quail.el: Use dolist and simplify.
6347 (quail-define-package, quail-update-keyboard-layout)
6348 (quail-define-rules): Use dolist.
6349 (quail-insert-kbd-layout, quail-get-translation): CSE.
6350
6351 * tmm.el: Use dolist, remove left over hook.
6352 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6353 Use dolist.
6354 (calendar-load-hook): Don't mess with it.
6355
6356 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6357 Use derived-mode-p. Run the diff asynchronously.
6358
6359 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
6361 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6362
6363 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6366 (list-dynamic-libraries--loaded): New function.
6367 (list-dynamic-libraries--refresh): Use it.
6368
6369 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6370
6371 * progmodes/python.el (python-fill-paragraph):
6372 Make python-fill-region in a multiline string work when font-lock is
6373 disabled (bug#7018).
6374
6375 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6376
6377 * language/european.el (cp775): Add oem/legacy (en)coding on
6378 DOS/MS Windows for the Baltic languages. There are still plenty
6379 of texts written in this encoding/codepage (bug#6519).
6380
6381 2012-04-10 Glenn Morris <rgm@gnu.org>
6382
6383 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6384 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6385
6386 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6387
6388 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6389 next-line "n" and previous-line "p" in order to make recentf more
6390 consistent with ibuffer, dired or org-mode (bug#9387).
6391
6392 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6393
6394 * image.el (put-image): Return the overlay created instead of the
6395 optional input string (bug#7834). Note that this may break code
6396 that is (for some reason or other) depending on `put-image'
6397 returning the string.
6398
6399 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6400
6401 * simple.el (zap-to-char): Allow zapping using input methods
6402 (bug#1580).
6403
6404 * textmodes/fill.el (fill-region): Leave point and mark where they
6405 were before filling (bug#5399).
6406
6407 2012-04-09 Glenn Morris <rgm@gnu.org>
6408
6409 * version.el (emacs-bzr-get-version):
6410 Handle lightweight checkouts of local branches.
6411
6412 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6413
6414 * international/characters.el: Recover lost case pairs. (Bug#11209)
6415
6416 2012-04-09 Chong Yidong <cyd@gnu.org>
6417
6418 * custom.el (custom-variable-p): Return nil for non-symbol
6419 arguments instead of signaling an error.
6420 (user-variable-p): Obsolete alias for custom-variable-p.
6421
6422 * apropos.el (apropos-variable):
6423 * files-x.el (read-file-local-variable):
6424 * simple.el (set-variable):
6425 * woman.el (woman-mini-help):
6426 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6427
6428 2012-04-09 Glenn Morris <rgm@gnu.org>
6429
6430 * startup.el (normal-top-level): Don't look for leim-list.el
6431 in places where it will not be found. (Bug#910)
6432
6433 * international/mule-cmds.el (set-default-coding-systems):
6434 * files.el (normal-mode):
6435 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6436 This function was removed with ucs-tables.el in 2008.
6437
6438 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6439
6440 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6441 ispell-encoding8-command to "-i", without a trailing space.
6442 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6443 separate command-line arguments, to specify the encoding, since
6444 that's how hunspell expects it.
6445
6446 2012-04-08 Glenn Morris <rgm@gnu.org>
6447
6448 * loadup.el: Load bindings before cus-start.
6449 This reduces somewhat the number of "rogue" settings in emacs -Q.
6450
6451 2012-04-07 Glenn Morris <rgm@gnu.org>
6452
6453 * version.el (emacs-bzr-get-version): New function.
6454 (emacs-bzr-version): New variable.
6455 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6456 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6457
6458 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6459
6460 * international/uni-bidi.el, international/uni-category.el:
6461 * international/uni-combining.el, international/uni-decimal.el:
6462 * international/uni-decomposition.el, international/uni-digit.el:
6463 * international/uni-lowercase.el, international/uni-mirrored.el:
6464 * international/uni-name.el, international/uni-numeric.el:
6465 * international/uni-titlecase.el, international/uni-uppercase.el:
6466 Update for Unicode 6.1.
6467
6468 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6469
6470 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6471
6472 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6473
6474 * window.el (shrink-window): Mention the `window-min-height'
6475 variable in the doc string.
6476
6477 2012-04-05 Bastien Guerry <bzg@altern.org>
6478
6479 * color.el (color-lighten-name): Fix typo.
6480
6481 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * server.el (server--on-display-p): New function.
6484 (server--on-display-p): Use it.
6485
6486 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6487
6488 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6489 (bug#11145).
6490
6491 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * comint.el (comint--common-quoted-suffix): Check string boundary
6494 before comparing (bug#11158).
6495 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6496
6497 2012-04-04 Chong Yidong <cyd@gnu.org>
6498
6499 * minibuffer.el (completion-extra-properties): Doc fix.
6500
6501 * subr.el (delayed-warnings-hook): Doc fix.
6502
6503 2012-04-04 Daiki Ueno <ueno@unixuser.org>
6504
6505 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6506 selection (Bug#11159).
6507 (epa-insert-keys): Inform that the default public key will be
6508 exported if no key is selected.
6509
6510 2012-04-04 Richard Stallman <rms@gnu.org>
6511
6512 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6513
6514 2012-04-03 Chong Yidong <cyd@gnu.org>
6515
6516 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6517 mail-insert-file, not its obsolete alias mail-attach-file.
6518
6519 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
6520
6521 * notifications.el (notifications-notify): Fix docstring.
6522
6523 2012-04-02 Glenn Morris <rgm@gnu.org>
6524
6525 * emacs-lisp/authors.el (authors-aliases): Another addition.
6526
6527 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
6528
6529 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6530 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6531 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6532
6533 2012-04-01 Chong Yidong <cyd@gnu.org>
6534
6535 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6536 Handle root directory properly.
6537 (copy-directory): Caller changed.
6538
6539 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6540 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6541
6542 2012-03-31 Glenn Morris <rgm@gnu.org>
6543
6544 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6545
6546 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6547
6548 * calendar/calendar.el (calendar-window-list)
6549 (calendar-hide-window): Restore. (Bug#11140)
6550 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6551
6552 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6553
6554 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6555
6556 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6557 Check if file is a symlink (Bug#10489).
6558
6559 * files.el (copy-directory): Likewise.
6560
6561 2012-03-30 Chong Yidong <cyd@gnu.org>
6562
6563 * image.el (imagemagick-types-inhibit)
6564 (imagemagick-register-types): Doc fix.
6565
6566 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6567
6568 * textmodes/ispell.el (ispell-get-extended-character-mode):
6569 Disable extended-char-mode for hunspell. hunspell does not support it
6570 and treats ~word as ordinary words in pipe mode.
6571
6572 2012-03-30 Glenn Morris <rgm@gnu.org>
6573
6574 * tutorial.el (help-with-tutorial): Ensure local variables don't
6575 happen to make the buffer read-only. (Bug#11127)
6576
6577 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6580 (perl-calculate-indent): Return `noindent' in strings.
6581
6582 2012-03-28 Sam Steingold <sds@gnu.org>
6583
6584 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6585 instead of the broken adhockery which does not prevent calendar
6586 buffers from being displayed at random after exit.
6587 (calendar-window-list, calendar-hide-window): Remove the broken
6588 adhockery.
6589
6590 2012-03-28 Glenn Morris <rgm@gnu.org>
6591
6592 * replace.el (query-replace-map): Doc fix.
6593
6594 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6595
6596 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6597 contents. (Bug#11109)
6598
6599 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6602 (bug#11077).
6603 (avl-tree--check, avl-tree--check-node): New funs.
6604
6605 2012-03-27 Martin Rudalics <rudalics@gmx.at>
6606
6607 * window.el (switch-to-visible-buffer): New option.
6608 (switch-to-prev-buffer, switch-to-next-buffer):
6609 Observe switch-to-visible-buffer. Make sure that checking for a window
6610 showing a buffer already is done on the same frame.
6611
6612 2012-03-27 Glenn Morris <rgm@gnu.org>
6613
6614 * startup.el (mail-host-address): Doc fix.
6615
6616 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6619 than 197 variables.
6620
6621 2012-03-26 Ami Fischman <ami@fischman.org>
6622
6623 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6624
6625 2012-03-26 Glenn Morris <rgm@gnu.org>
6626
6627 * files.el (save-buffers-kill-emacs): Doc fix.
6628
6629 * startup.el (normal-top-level, command-line, command-line-1):
6630 Give them doc strings.
6631
6632 2012-03-25 Eli Zaretskii <eliz@gnu.org>
6633
6634 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6635 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6636
6637 2012-03-25 Chong Yidong <cyd@gnu.org>
6638
6639 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6640 theme if it was previously enabled before (Bug#11031).
6641
6642 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6643 spec with custom-face-get-current-spec if its :shown-value is not
6644 determined yet (Bug#9337).
6645 (customize-create-theme, custom-theme-revert): Doc fixes.
6646
6647 * button.el (button-at): Minor addition to docstring.
6648
6649 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
6650
6651 * vc/vc.el (vc-merge): Fix a prompt.
6652
6653 2012-03-24 Chong Yidong <cyd@gnu.org>
6654
6655 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6656 point (Bug#9623).
6657
6658 * button.el (button-at): Minor addition to docstring.
6659
6660 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * newcomment.el (comment-choose-indent): No space after BOL.
6663
6664 2012-03-22 Sam Steingold <sds@gnu.org>
6665
6666 * window.el (switch-to-prev-buffer): Revert last patch because the
6667 bug turned out to be an advertised feature (Elisp manual 28.14).
6668
6669 2012-03-22 Glenn Morris <rgm@gnu.org>
6670
6671 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6672 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6673
6674 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6675
6676 * net/network-stream.el (network-stream-open-starttls): Make error
6677 message under Windows be less misleading.
6678
6679 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6680
6681 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6682 understands (bug#9942).
6683
6684 2012-03-22 Chong Yidong <cyd@gnu.org>
6685
6686 * simple.el (end-of-visible-line): Handle return value of
6687 next-single-property-change properly (Bug#9371).
6688
6689 2012-03-22 Kenichi Handa <handa@m17n.org>
6690
6691 * international/quail.el (quail-insert-kbd-layout): Fix previous
6692 change. To avoid unwanted bidi reordering, use
6693 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6694
6695 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6696
6697 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6698 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6699 (ruby-beginning-of-indent): Be more careful with the difference
6700 between word-boundary and symbol boundary.
6701 (ruby-mode-syntax-table): Make : a symbol constituent.
6702
6703 2012-03-21 Andreas Politz <politza@fh-trier.de>
6704
6705 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6706
6707 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * progmodes/etags.el (tags-completion-at-point-function):
6710 Improve last fix.
6711
6712 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6713
6714 2012-03-21 Sam Steingold <sds@gnu.org>
6715
6716 * progmodes/etags.el (tags-completion-at-point-function):
6717 Avoid the error when point is inside the pattern.
6718
6719 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6720
6721 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6722 line (Bug#10855).
6723
6724 2012-03-21 Drew Adams <drew.adams@oracle.com>
6725
6726 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6727
6728 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6729
6730 * ido.el (ido-set-current-directory, ido-read-internal)
6731 (ido-choose-completion-string, ido-completion-help): Handle nil
6732 value of ido-completion-buffer (Bug#11008).
6733
6734 2012-03-21 Sam Steingold <sds@gnu.org>
6735
6736 * window.el (switch-to-prev-buffer): Do not switch to a visible
6737 window previous buffer, just like with the frame previous buffers.
6738
6739 2012-03-21 Chong Yidong <cyd@gnu.org>
6740
6741 * faces.el (make-face, make-empty-face, copy-face):
6742 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6743 Doc fixes.
6744
6745 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6748 (widget-complete): Remove broken use of it.
6749
6750 2012-03-20 Chong Yidong <cyd@gnu.org>
6751
6752 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6753 Use string-width and truncate-string-width to handle arbitrary
6754 characters.
6755
6756 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6757
6758 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6759 to draw rectangles, not squares. (Regression introduced by revno
6760 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6761
6762 2012-03-18 Chong Yidong <cyd@gnu.org>
6763
6764 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6765 it is not yet defined (for temacs).
6766
6767 2012-03-18 Leo Liu <sdl.web@gmail.com>
6768
6769 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6770
6771 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6772
6773 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6774 (ispell-choices-win-default-height, ispell-silently-savep)
6775 (ispell-dictionary-alist, ispell-encoding8-command)
6776 (ispell-check-version, ispell-aspell-find-dictionary)
6777 (ispell-valid-dictionary-list, ispell-words-keyword)
6778 (ispell-get-word, ispell-internal-change-dictionary)
6779 (ispell-region, ispell-skip-region-list)
6780 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6781 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6782 (ispell-message-text-end, ispell-message)
6783 (ispell-buffer-local-parsing): Doc fix.
6784
6785 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6786
6787 * htmlfontify.el: Add support for code block fontification for ODT
6788 export (Bug #9914).
6789 (hfy-optimisations): Define new option
6790 `body-text-only'
6791 (hfy-fontify-buffer): Honor above setting.
6792 (hfy-begin-span, hfy-end-span): New routines factored out form
6793 `hfy-fontify-buffer'.
6794 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6795 that permit insertion of custom tags.
6796 (hfy-fontify-buffer): Use above handlers.
6797 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6798 (hfy-face-to-css): Re-defined to be a variable.
6799 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6800 over multiple runs. This is made possible by having the caller let
6801 bind a special variable `hfy-user-sheet-assoc'.
6802 (htmlfontify-string): New defun.
6803 (hfy-compile-face-map): Make sure that the last char in the
6804 buffer is correctly fontified.
6805 (hfy-face-resolve-face): Whitespace only change.
6806
6807 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6808
6809 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6810 message more clear.
6811
6812 2012-03-16 Leo Liu <sdl.web@gmail.com>
6813
6814 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6815
6816 2012-03-16 Alan Mackenzie <acm@muc.de>
6817
6818 Further optimise the handling of large macros.
6819
6820 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6821 limit to a call of `c-literal-limits'.
6822 (c-determine-+ve-limit): New function.
6823 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6824 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6825 In CASE 5B, restrict a search limit to 500.
6826 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6827
6828 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6829 Restrict macro bounds to +-500 from after-change's BEG END.
6830
6831 2012-03-16 Leo Liu <sdl.web@gmail.com>
6832
6833 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6834
6835 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6836
6837 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6838 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6839
6840 2012-03-16 Glenn Morris <rgm@gnu.org>
6841
6842 * view.el (view-buffer, view-buffer-other-window)
6843 (view-buffer-other-frame): Doc fixes re special mode-class.
6844
6845 * subr.el (eval-after-load): If named feature is provided not from
6846 a file, run after-load forms. (Bug#10946)
6847
6848 * calendar/calendar.el (calendar-insert-at-column):
6849 Handle non-unit-width characters a bit better. (Bug#10978)
6850
6851 2012-03-15 Chong Yidong <cyd@gnu.org>
6852
6853 * emacs-lisp/ring.el (ring-extend): New function.
6854 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6855
6856 * comint.el (comint-read-input-ring)
6857 (comint-add-to-input-history): Grow comint-input-ring lazily.
6858
6859 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6862 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6863
6864 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6865 (imenu-add-to-menubar): Don't add a redundant index.
6866 (imenu-update-menubar): Handle a dynamically composed keymap.
6867
6868 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6869
6870 * mail/sendmail.el (mail-encode-header):
6871 Bind rfc2047-encode-encoded-words to nil.
6872
6873 2012-03-13 Glenn Morris <rgm@gnu.org>
6874
6875 * calendar/calendar.el (calendar-string-spread):
6876 Handle non-unit-width characters a bit better. (Bug#10978)
6877
6878 2012-03-13 Leo Liu <sdl.web@gmail.com>
6879
6880 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6881 directory and file as argument (Bug#10822).
6882
6883 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6884
6885 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6886 For dynamically generated code, follow $PC.
6887 (gdb-disassembly-handler-custom): Handle no function name case.
6888
6889 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6890
6891 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6892 * emulation/ws-mode.el (ws-query-replace):
6893 * sort.el (sort-regexp-fields):
6894 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6895
6896 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * dabbrev.el: Fix cycle completion order (bug#10963).
6899 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6900 (dabbrev-completion): Don't use an obarray; provide
6901 a cycle-sort-function.
6902
6903 2012-03-12 Leo Liu <sdl.web@gmail.com>
6904
6905 * simple.el (kill-new): Use equal-including-properties for comparison.
6906 (kill-do-not-save-duplicates): Doc fix.
6907
6908 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * dabbrev.el: Fix cycle completion (bug#10963).
6911 Use lexical binding and wrap to 80 columns.
6912 (dabbrev-completion): Delay computing the list of completions.
6913
6914 2012-03-12 Kenichi Handa <handa@m17n.org>
6915
6916 * international/quail.el (quail-insert-kbd-layout): Surround each
6917 row by LRO and PDF instead of inserting many LRMs. Pad the left
6918 and right of each non-spacing marks. Insert invisible space
6919 between lower and upper characters to prevent composition.
6920
6921 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * minibuffer.el (minibuffer-complete): Don't get confused when the
6924 function is run twice via different commands (bug#10958).
6925 (complete-with-action): Fix docstring.
6926
6927 2012-03-12 Chong Yidong <cyd@gnu.org>
6928
6929 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6930 (nxml-completion-at-point-function): New function.
6931 (nxml-mode): Use it.
6932 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6933
6934 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6935 Load generated autoloads file before byte compiling (Bug#10970).
6936 (package--make-autoloads-and-compile): New helper fun.
6937
6938 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6939
6940 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6941
6942 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6943
6944 * autorevert.el (auto-revert-handler): Ensure, that
6945 file-readable-p is applied only for local files or in
6946 auto-revert-tail-mode.
6947
6948 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6949
6950 * server.el (server-eval-at): Handle non-tcp connections.
6951 Decode result string.
6952
6953 * server.el (server-msg-size): New constant.
6954 (server-reply-print): New function.
6955 (server-eval-and-print): Use it.
6956 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6957 Handle -print-nonl.
6958
6959 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6960
6961 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6962 (Bug#10987).
6963
6964 2012-03-11 Chong Yidong <cyd@gnu.org>
6965
6966 * simple.el (goto-line): Doc fix (Bug#9938).
6967
6968 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6969
6970 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6971 when finished (Bug#10963).
6972
6973 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6974
6975 * window.el (split-window-below): Fix bug in case where
6976 split-window-keep-point is nil (Bug#10971).
6977
6978 2012-03-11 Juri Linkov <juri@jurta.org>
6979
6980 * replace.el (replace-highlight): Set isearch-word to nil
6981 unconditionally. (Bug#10887)
6982
6983 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6984
6985 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6986 mairix-replace-illegal-chars; all callers changed. Don't remove
6987 ^, ~, and = characters: they are meaningful in mairix search specs.
6988 (mairix-widget-create-query): Add usage information about mairix
6989 search forms: negating words, searching for substrings, etc.
6990
6991 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6992
6993 * international/fontset.el (font-encoding-alist): Add an entry for
6994 ksx1001 (Bug#5667).
6995
6996 2012-03-10 Richard Stallman <rms@gnu.org>
6997
6998 * mail/sendmail.el (mail-encode-header):
6999 Set rfc2047-encode-encoded-words.
7000
7001 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7002
7003 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7004 view buffer means not swapped.
7005 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7006 (rmail-write-region-annotate): Error if real text has disappeared.
7007
7008 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7009
7010 2012-03-10 Chong Yidong <cyd@gnu.org>
7011
7012 * emulation/cua-rect.el (cua--init-rectangles):
7013 * emulation/cua-base.el (cua--init-keymaps):
7014 Add delete-forward-char to remappings (Bug#9666).
7015
7016 2012-03-10 Martin Rudalics <rudalics@gmx.at>
7017
7018 * speedbar.el (speedbar-unhighlight-one-tag-line):
7019 Avoid unhighlighting due to frame switching (Bug#10275).
7020
7021 2012-03-10 Chong Yidong <cyd@gnu.org>
7022
7023 * minibuffer.el (completion-in-region, completion-help-at-point):
7024 Give the completion field overlay a high priority (Bug#6830).
7025
7026 * dired.el (dired-goto-file): Recognize absolute file name
7027 listings (Bug#7126).
7028 (dired-goto-file-1): New helper function.
7029 (dired-toggle-read-only): Inhibit warnings.
7030
7031 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
7032
7033 * net/dbus.el (dbus-property-handler): Return empty array if
7034 there are no properties.
7035
7036 2012-03-09 Leo Liu <sdl.web@gmail.com>
7037
7038 * savehist.el (savehist-printable): Stricter check for string
7039 value (Bug#10937).
7040
7041 2012-03-09 Eli Zaretskii <eliz@gnu.org>
7042
7043 * mail/smtpmail.el (smtpmail-send-it):
7044 Bind coding-system-for-write to *-unix, so that FCC files are kept in
7045 valid mbox format.
7046
7047 2012-03-09 Glenn Morris <rgm@gnu.org>
7048
7049 * files.el (dir-locals-find-file):
7050 Don't check result is regular, readable.
7051 (dir-locals-read-from-file): Demote errors.
7052
7053 2012-03-08 Eli Zaretskii <eliz@gnu.org>
7054
7055 * international/quail.el (quail-insert-kbd-layout):
7056 Insert invisible LRM characters before each character in a keyboard
7057 layout cell, to prevent their reordering by bidi display engine.
7058 For details, see the discussion in
7059 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7060
7061 2012-03-08 Alan Mackenzie <acm@muc.de>
7062
7063 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7064 the starting position; make it extend the marked region when
7065 invoked repeatedly - all under appropriate circumstances.
7066 Fixes bugs #5525, #10906.
7067
7068 2012-03-08 Glenn Morris <rgm@gnu.org>
7069
7070 * files.el (locate-dominating-file, dir-locals-find-file):
7071 Undo 2012-03-06 change.
7072
7073 2012-03-07 Eli Zaretskii <eliz@gnu.org>
7074
7075 * international/quail.el (quail-help):
7076 Force bidi-paragraph-direction be left-to-right. See discussion in
7077 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7078 for the reason.
7079
7080 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
7081
7082 Avoid superfluous registering of signals. (Bug#10807)
7083
7084 * notifications.el (notifications-on-action-object)
7085 (notifications-on-close-object): New defvars.
7086 (notifications-on-action-signal, notifications-on-closed-signal):
7087 Unregister the signal if not needed any longer.
7088 (notifications-notify): Register `notifications-action-signal' or
7089 `notifications-closed-signal', if :on-action or :on-close has been
7090 passed as argument.
7091
7092 2012-03-07 Chong Yidong <cyd@gnu.org>
7093
7094 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7095 non-X platforms.
7096
7097 2012-03-06 Glenn Morris <rgm@gnu.org>
7098
7099 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7100 (x-disown-selection-internal, x-get-selection-internal):
7101 Doc fix (add arglist signatures). (Bug#10783)
7102
7103 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7104
7105 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7106 Handle breakpoints with no "type".
7107
7108 2012-03-06 Glenn Morris <rgm@gnu.org>
7109
7110 * files.el (locate-dominating-file): Add optional predicate argument.
7111 (dir-locals-find-file): Make use of above change.
7112
7113 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7114
7115 * info.el (Info-insert-dir): Also try "dir.gz".
7116
7117 2012-03-06 Glenn Morris <rgm@gnu.org>
7118
7119 * files.el (dir-locals-find-file):
7120 Ignore non-readable or non-regular files. (Bug#10928)
7121
7122 * files.el (locate-dominating-file): Doc fix.
7123
7124 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7125
7126 * calendar/calendar.el (calendar-set-mode-line):
7127 `getenv' returns a string. (Bug#10951)
7128
7129 2012-03-05 Leo Liu <sdl.web@gmail.com>
7130
7131 * simple.el (backward-delete-char-untabify): Constrain point to
7132 field (Bug#10939).
7133
7134 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7135
7136 2012-03-05 Chong Yidong <cyd@gnu.org>
7137
7138 * simple.el (count-words): If called from Lisp, return the word
7139 count, for symmetry with `count-lines'. Arglist changed.
7140 (count-words--message): Args changed. Consolidate counting code
7141 from count-words and count-words-region.
7142 (count-words-region): Caller changed.
7143 (count-lines-region): Make it an obsolete alias.
7144
7145 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7146
7147 * saveplace.el (save-place-to-alist)
7148 (save-place-ignore-files-regexp): Allow value nil to disable this
7149 feature.
7150
7151 2012-03-04 Chong Yidong <cyd@gnu.org>
7152
7153 * faces.el (face-spec-reset-face): For the default face, reset the
7154 attributes to default values (Bug#10748).
7155
7156 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7157
7158 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7159 previous patch: Check `message-send-mail-function', and not the
7160 default function (bug#10897).
7161
7162 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * notifications.el (notifications-on-action-signal)
7165 (notifications-on-closed-signal): Check for unique service name of
7166 incoming event. Fix error in removing entry.
7167 (top): Register for signals with wildcard service name.
7168 (notifications-notify): Use daemon unique service name for map entries.
7169
7170 2012-03-04 Chong Yidong <cyd@gnu.org>
7171
7172 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7173
7174 2012-03-04 Glenn Morris <rgm@gnu.org>
7175
7176 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7177 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7178 (expand-abbrev, define-abbrev-table): Doc fixes.
7179
7180 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7181
7182 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7183 `message-default-send-mail-function' and not `send-mail-function'
7184 when doing the prompting for `sendmail-query-once' before sending
7185 in Message buffers (bug#10897).
7186
7187 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7188 This is inconsistent with all the other stream functions, which leave
7189 the setting up to the higher levels (if so wanted) (bug#10931).
7190
7191 2012-03-02 Alan Mackenzie <acm@muc.de>
7192
7193 Depessimize the handling of very large macros.
7194
7195 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7196 (c-macro-cache-syntactic): New variables to implement a one
7197 element macro cache.
7198 (c-invalidate-macro-cache): New function.
7199 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7200 Adapt to use the new cache.
7201 (c-state-safe-place): Use better the cache of safe positions.
7202 (c-state-semi-nonlit-pos-cache)
7203 (c-state-semi-nonlit-pos-cache-limit):
7204 New variables for...
7205 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7206 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7207 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7208 Use c-state-semi-safe-place.
7209
7210 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7211 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7212
7213 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * jka-compr.el (jka-compr-call-process):
7216 Apply `file-accessible-directory-p' only when the default directory is
7217 not remote.
7218
7219 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7220
7221 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7222 access of FILE2, if FILE1 does not exist.
7223
7224 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7225 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7226
7227 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7228 Add "PAGER=" to `process-environment'.
7229
7230 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7231
7232 * progmodes/sql.el: Bug fix
7233 (sql-get-login-ext): Save login values in globals.
7234 (sql-get-login): Use new version of `sql-get-login-ext'.
7235 (sql-interactive-mode): Set global `sql-connection' to nil.
7236 (sql-connect): Set global values for connection.
7237 (sql-product-interactive): Save global values as buffer local.
7238
7239 2012-02-29 Leo Liu <sdl.web@gmail.com>
7240
7241 * abbrev.el (define-abbrevs): Reset sys to nil.
7242
7243 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7244
7245 * files.el (file-equal-p): Rename from `files-equal-p'.
7246 Return nil when one or both files don't exist.
7247 (file-subdir-of-p): Now only top directory must exists,
7248 return nil if it doesn't.
7249 (copy-directory): No need to test with `file-subdir-of-p' after
7250 creating dir.
7251 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7252 to `file-equal-p'.
7253
7254 2012-02-28 Glenn Morris <rgm@gnu.org>
7255
7256 * shell.el (shell-mode):
7257 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7258 * play/landmark.el (landmark-font-lock-face-O):
7259 * play/handwrite.el (handwrite):
7260 * play/gomoku.el (gomoku-O):
7261 * net/browse-url.el (browse-url-browser-display):
7262 * international/mule.el (define-charset):
7263 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7264 * filesets.el (filesets-find-file-delay):
7265 * eshell/em-xtra.el (eshell-xtra):
7266 * eshell/em-unix.el (eshell-grep):
7267 * emulation/viper.el (viper-mode):
7268 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7269 * emacs-lisp/easymenu.el (easy-menu-define):
7270 * calendar/timeclock.el (timeclock-use-display-time):
7271 * bs.el (bs-mode):
7272 * bookmark.el (bookmark-save-flag):
7273 Doc fix (standardize possessive apostrophe usage).
7274
7275 2012-02-27 Chong Yidong <cyd@gnu.org>
7276
7277 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7278 Fix key-binding lookup for ESC key (Bug#9146).
7279
7280 * font-lock.el (font-lock-specified-p): Rename from
7281 font-lock-spec-present. Callers changed.
7282
7283 2012-02-27 Daniel Hackney <dan@haxney.org>
7284
7285 * emacs-lisp/package.el (package-compute-transaction):
7286 Handle holding a package version to t in package-load-list.
7287
7288 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
7289
7290 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7291 (tramp-get-inode, tramp-get-device): Use cached values.
7292
7293 2012-02-26 Alan Mackenzie <acm@muc.de>
7294
7295 Check there is a font-lock specification before doing initial
7296 fontification.
7297
7298 * font-core.el (font-lock-mode): Move the conditional from
7299 :after-hook to font-lock-initial-fontify.
7300 (font-lock-default-function): Move the check for a specification
7301 to font-lock-spec-present.
7302
7303 * font-lock.el (font-lock-initial-fontify): Call ...
7304 (font-lock-spec-present): New function.
7305
7306 2012-02-26 Jim Blandy <jimb@red-bean.com>
7307
7308 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7309 (gdb-send): Apply it to the operand of the '-interpreter-exec
7310 console' command, so that we can pass arguments with (say) quotes
7311 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7312
7313 2012-02-26 Chong Yidong <cyd@gnu.org>
7314
7315 * help-fns.el (describe-function-1): Clarify description of
7316 remapping (Bug#10844).
7317
7318 * files.el (files-equal-p): Doc fix.
7319 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7320 and quit the loop once a mismatch is found.
7321
7322 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * bs.el (bs--show-with-configuration): Don't throw an error
7325 if the window cannot be split; otherwise, subsequent calls to
7326 bs-show fail, restoring a stale window config. (Bug#10882)
7327
7328 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7329
7330 * term/ns-win.el (global-map): Bind ns-drag-file to
7331 ns-find-file (Bug#5855, Bug#10050).
7332
7333 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7334
7335 * calendar/parse-time.el (parse-time-string): Allow extractor to
7336 return nil.
7337
7338 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7339
7340 * net/tramp.el (tramp-file-name-for-operation):
7341 Add `files-equal-p' and `file-subdir-of-p'.
7342
7343 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7344 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7345 Add COPY-CONTENTS argument.
7346
7347 2012-02-25 Chong Yidong <cyd@gnu.org>
7348
7349 Add custom groups for VC backends, for consistency with vc-bzr.
7350
7351 * vc/vc-arch.el (vc-arch):
7352 * vc/vc-cvs.el (vc-cvs):
7353 * vc/vc-git.el (vc-git):
7354 * vc/vc-hg.el (vc-hg):
7355 * vc/vc-mtn.el (vc-mtn):
7356 * vc/vc-rcs.el (vc-rcs):
7357 * vc/vc-sccs.el (vc-sccs):
7358 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7359 All relevant defcustoms reassigned.
7360
7361 2012-02-25 Chong Yidong <cyd@gnu.org>
7362
7363 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7364
7365 * term/x-win.el (x-initialize-window-system): Reduce default for
7366 x-selection-timeout to 5 seconds (Bug#8869).
7367
7368 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7369
7370 * files.el (files-equal-p, file-subdir-of-p): New functions.
7371 (copy-directory): Error when trying to copy a directory on itself.
7372 Add missing copy-contents arg to tramp handler.
7373 * dired-aux.el (dired-copy-file-recursive): Same.
7374 (dired-create-files): Modify destination when source is equal to
7375 dest when copying files.
7376 Return also when dest is a subdir of source. (Bug#10489)
7377
7378 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7379
7380 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7381 (Bug#10874)
7382
7383 2012-02-23 Alan Mackenzie <acm@muc.de>
7384
7385 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7386 parameter "after-hook:" to allow the expansion to run code after
7387 the execution of the mode hooks.
7388
7389 * font-lock.el (font-lock-initial-fontify): New function extracted
7390 from font-lock-mode-internal.
7391
7392 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7393 :after-hook.
7394
7395 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7398 (completion--cache-all-sorted-completions): New function.
7399 (completion-all-sorted-completions): Use it.
7400 (completion--do-completion, minibuffer-force-complete):
7401 Use it to re-instate the flush hook.
7402
7403 * icomplete.el (icomplete-completions): Replace last fix with a better
7404 one (bug#10850).
7405
7406 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7407
7408 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7409 when it might call us back infinitely (bug#10797).
7410
7411 2012-02-23 Glenn Morris <rgm@gnu.org>
7412
7413 * minibuffer.el (completion-category-overrides): Doc fix.
7414
7415 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7418 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7419
7420 2012-02-23 Glenn Morris <rgm@gnu.org>
7421
7422 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7423 (authors-obsolete-files-regexps, authors-ignored-files)
7424 (authors-ambiguous-files, authors-renamed-files-alist):
7425 Add more entries.
7426
7427 2012-02-23 Juri Linkov <juri@jurta.org>
7428
7429 * isearch.el (isearch-occur): Sync interactive spec with occur's
7430 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7431
7432 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7433
7434 2012-02-22 Juri Linkov <juri@jurta.org>
7435
7436 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7437 (ucs-insert): Doc fix. Check for hex digits in the string.
7438 Don't display `nil' in the error message. (Bug#10857)
7439
7440 2012-02-22 Alan Mackenzie <acm@muc.de>
7441
7442 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7443
7444 2012-02-22 Glenn Morris <rgm@gnu.org>
7445
7446 * ffap.el (ffap-c-path):
7447 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7448
7449 2012-02-22 Chong Yidong <cyd@gnu.org>
7450
7451 * custom.el (load-theme): Doc fix.
7452
7453 2012-02-22 Glenn Morris <rgm@gnu.org>
7454
7455 * dired-x.el (dired-guess-shell-alist-default):
7456 Remove escape sequences from nroff output. (Bug#172)
7457
7458 2012-02-21 Glenn Morris <rgm@gnu.org>
7459
7460 * vc/emerge.el (emerge-defvar-local):
7461 Set `permanent-local' property rather than unused `preserved'.
7462
7463 * textmodes/picture.el (picture-delete-char): New alias.
7464 (picture-mode-map): Use it. (Bug#10860)
7465 (picture-mode): Doc fix.
7466
7467 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * newcomment.el (uncomment-region-default): Remove unused binding.
7470
7471 2012-02-21 Glenn Morris <rgm@gnu.org>
7472
7473 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7474 (picture-self-insert, picture-tab-chars): Doc fix.
7475 (picture-mode-map): Fix C-a, C-e.
7476
7477 2012-02-20 Glenn Morris <rgm@gnu.org>
7478
7479 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7480
7481 2012-02-20 Leo Liu <sdl.web@gmail.com>
7482
7483 * icomplete.el (icomplete-completions): Check FROM arg before
7484 passing to substring (Bug#10850).
7485
7486 2012-02-19 Chong Yidong <cyd@gnu.org>
7487
7488 * comint.el: Require ansi-color.
7489 (comint-output-filter-functions): Add ansi-color-process-output.
7490
7491 * ansi-color.el: Don't set comint-output-filter-functions; it is
7492 now in the initial value defined in comint.el.
7493 (ansi-color-apply-face-function): New variable.
7494 (ansi-color-apply-on-region): Use it.
7495 (ansi-color-apply-overlay-face): New function.
7496
7497 * shell.el (shell): No need to require ansi-color.
7498 (shell-mode): Use ansi-color-apply-face-function to highlight
7499 color escapes using font-lock-face property (Bug#10835).
7500
7501 2012-02-19 Chong Yidong <cyd@gnu.org>
7502
7503 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7504 mode-line formats (Bug#10839).
7505
7506 2012-02-18 Glenn Morris <rgm@gnu.org>
7507
7508 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7509
7510 * mail/undigest.el (unforward-rmail-message): Doc fix.
7511
7512 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7513
7514 2012-02-18 Eli Zaretskii <eliz@gnu.org>
7515
7516 * international/characters.el (script-list): Sync with the latest
7517 Unicode Character Database.
7518
7519 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7520
7521 * international/titdic-cnv.el: Remove duplicate coding tag.
7522 * language/cham.el: Likewise.
7523 * language/tai-viet.el: Likewise.
7524
7525 2012-02-18 Glenn Morris <rgm@gnu.org>
7526
7527 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7528 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7529 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7530 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7531 * calendar/holidays.el (holiday-bahai-holidays)
7532 (calendar-holidays, list-holidays):
7533 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
7534
7535 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7536
7537 * saveplace.el (save-place-ignore-files-regexp): New variable
7538 allowing for excluding files from saving their location of point.
7539 The default value matches the temporary commit message editing
7540 files from Git, SVN, Bazaar, and Mercurial.
7541 (save-place-to-alist): Use it.
7542
7543 2012-02-17 Lawrence Mitchell <wence@gmx.li>
7544 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * newcomment.el (uncomment-region-default): Don't leave extra space
7547 when an arg is provided (bug#8150).
7548
7549 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7550
7551 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7552
7553 2012-02-17 Glenn Morris <rgm@gnu.org>
7554
7555 * net/socks.el: Require network-stream. (Bug#10599)
7556
7557 2012-02-17 Kenichi Handa <handa@m17n.org>
7558
7559 * international/charprop.el:
7560 * international/uni-name.el:
7561 * international/uni-old-name.el:
7562 * international/uni-comment.el: Regenerate.
7563
7564 2012-02-16 Glenn Morris <rgm@gnu.org>
7565
7566 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7567 Interactively in calendar buffer, give an error if not on a date.
7568
7569 2012-02-15 Glenn Morris <rgm@gnu.org>
7570
7571 * shell.el (shell-delimiter-argument-list):
7572 Revert 2011-02-17 change. (Bug#8027)
7573
7574 2012-02-15 Chong Yidong <cyd@gnu.org>
7575
7576 * minibuffer.el (completion-at-point-functions): Doc fix.
7577
7578 * custom.el (defcustom): Doc fix; note use of defvar.
7579
7580 2012-02-15 Glenn Morris <rgm@gnu.org>
7581
7582 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7583 Doc fixes.
7584
7585 2012-02-14 Glenn Morris <rgm@gnu.org>
7586
7587 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7588
7589 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7590
7591 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7592 way the ports list is computed.
7593 (smtpmail-query-smtp-server): Prompt the user for a port number if
7594 we can't connect to any of the standard ports (bug#10810).
7595
7596 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7597
7598 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7599
7600 2012-02-13 Glenn Morris <rgm@gnu.org>
7601
7602 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7603
7604 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7605
7606 * net/gnutls.el (gnutls-trustfiles): New variable.
7607 (gnutls-negotiate): Use it.
7608
7609 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7610
7611 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7612 does its stuff if Gnus is running.
7613
7614 2012-02-13 Alan Mackenzie <acm@muc.de>
7615
7616 Fix a loop in c-set-fl-decl-start.
7617
7618 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7619 c-backward-syntactic-ws actually moves backwards.
7620
7621 2012-02-13 Leo Liu <sdl.web@gmail.com>
7622
7623 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7624 beginning so that all \C-o chars are removed.
7625
7626 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7627
7628 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7629
7630 2012-02-12 Alan Mackenzie <acm@muc.de>
7631
7632 Fix infinite loop with long macros.
7633 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7634
7635 2012-02-12 Chong Yidong <cyd@gnu.org>
7636
7637 * window.el (display-buffer): Doc fix (Bug#10785).
7638
7639 2012-02-12 Glenn Morris <rgm@gnu.org>
7640
7641 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7642 (x-disown-selection-internal, x-get-selection-internal):
7643 Sync docs with the xselect.c versions.
7644
7645 * allout-widgets.el: Add missing license notice.
7646
7647 2012-02-11 Glenn Morris <rgm@gnu.org>
7648
7649 * select.el (x-get-selection-internal, x-own-selection-internal)
7650 (x-disown-selection-internal):
7651 * x-dnd.el (x-get-selection-internal): Update declarations.
7652
7653 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7654
7655 * window.el (window-sides-slots):
7656 * tool-bar.el (tool-bar-position):
7657 * term/xterm.el (xterm-extra-capabilities):
7658 * ses.el (ses-self-reference-early-detection):
7659 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7660 (verilog-auto-wire-type)
7661 (verilog-auto-delete-trailing-whitespace)
7662 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7663 (verilog-auto-tieoff-declaration):
7664 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7665 (sql-oracle-statement-starters, sql-oracle-scan-on):
7666 * progmodes/prolog.el (prolog-align-comments-flag)
7667 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7668 (prolog-left-indent-regexp, prolog-paren-indent-p)
7669 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7670 (prolog-types, prolog-mode-specificators)
7671 (prolog-determinism-specificators, prolog-directives)
7672 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7673 (prolog-electric-dot-flag)
7674 (prolog-electric-dot-full-predicate-template)
7675 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7676 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7677 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7678 (prolog-program-switches, prolog-prompt-regexp)
7679 (prolog-debug-on-string, prolog-debug-off-string)
7680 (prolog-trace-on-string, prolog-trace-off-string)
7681 (prolog-zip-on-string, prolog-zip-off-string)
7682 (prolog-use-standard-consult-compile-method-flag)
7683 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7684 (prolog-imenu-max-lines, prolog-info-predicate-index)
7685 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7686 (prolog-char-quote-workaround):
7687 * progmodes/cc-vars.el (c-defun-tactic):
7688 * net/tramp.el (tramp-encoding-command-interactive)
7689 (tramp-local-end-of-line):
7690 * net/soap-client.el (soap-client):
7691 * net/netrc.el (netrc-file):
7692 * net/gnutls.el (gnutls):
7693 * minibuffer.el (completion-category-overrides)
7694 (completion-cycle-threshold)
7695 (completion-pcm-complete-word-inserts-delimiters):
7696 * man.el (Man-name-local-regexp):
7697 * mail/feedmail.el (feedmail-display-full-frame):
7698 * international/characters.el (glyphless-char-display-control):
7699 * eshell/em-ls.el (eshell-ls-date-format):
7700 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7701 (lisp-lambda-list-keyword-parameter-indentation)
7702 (lisp-lambda-list-keyword-parameter-alignment):
7703 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7704 * dired-x.el (dired-omit-verbose):
7705 * cus-theme.el (custom-theme-allow-multiple-selections):
7706 * calc/calc.el (calc-highlight-selections-with-faces)
7707 (calc-lu-field-reference, calc-lu-power-reference)
7708 (calc-note-threshold):
7709 * battery.el (battery-mode-line-limit):
7710 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7711 (archive-7z-update):
7712 * allout.el (allout-prefixed-keybindings)
7713 (allout-unprefixed-keybindings)
7714 (allout-inhibit-auto-fill-on-headline)
7715 (allout-flattened-numbering-abbreviation):
7716 * allout-widgets.el (allout-widgets-auto-activation)
7717 (allout-widgets-icons-dark-subdir)
7718 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7719 (allout-widgets-theme-dark-background)
7720 (allout-widgets-theme-light-background)
7721 (allout-widgets-item-image-properties-emacs)
7722 (allout-widgets-item-image-properties-xemacs)
7723 (allout-widgets-run-unit-tests-on-load)
7724 (allout-widgets-time-decoration-activity)
7725 (allout-widgets-hook-error-post-time)
7726 (allout-widgets-track-decoration):
7727 Add missing :version tags to new defcustoms and defgroups.
7728
7729 * progmodes/sql.el (sql-ansi-statement-starters)
7730 (sql-oracle-statement-starters): Add custom type.
7731
7732 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7733 (prolog-system-version): Give it a type.
7734
7735 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7736
7737 * term/pc-win.el (x-select-text, x-selection-owner-p)
7738 (x-own-selection-internal, x-disown-selection-internal)
7739 (x-get-selection-internal): Sync doc strings and argument lists
7740 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7741
7742 2012-02-11 Leo Liu <sdl.web@gmail.com>
7743
7744 * progmodes/python.el (python-end-of-statement): Fix infinite
7745 loop. (Bug#10788)
7746
7747 2012-02-10 Glenn Morris <rgm@gnu.org>
7748
7749 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7750 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7751
7752 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7753
7754 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7755 about SMTP before checking the From header.
7756
7757 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7758 into own function for reuse by emacsbug.el.
7759
7760 2012-02-10 Leo Liu <sdl.web@gmail.com>
7761
7762 * subr.el (condition-case-unless-debug): Rename from
7763 condition-case-no-debug. All callers changed.
7764 (with-demoted-errors): Fix caller.
7765
7766 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7767 * nxml/rng-valid.el (rng-do-some-validation):
7768 * emacs-lisp/package.el (package-refresh-contents)
7769 (package-menu-execute):
7770 * desktop.el (desktop-create-buffer):
7771 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7772
7773 2012-02-10 Glenn Morris <rgm@gnu.org>
7774
7775 * textmodes/bibtex.el:
7776 Add missing :version tags for new/changed defcustoms.
7777
7778 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7779
7780 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7781
7782 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7783 (smtpmail-via-smtp): Use it, or fall back on the From address.
7784 (smtpmail-send-it): Ditto.
7785
7786 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7789 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7790 (byte-compile-tmp-var): New const.
7791 (byte-compile-defvar): Use it to minimize .elc size.
7792 Just use `defvar' rather than simulate it (bug#10761).
7793
7794 2012-02-09 Glenn Morris <rgm@gnu.org>
7795
7796 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7797
7798 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7799 Add :version tags.
7800
7801 * progmodes/compile.el (compilation-error-screen-columns)
7802 (compilation-first-column, compilation-filter-start): Doc fixes.
7803
7804 * vc/log-view.el (log-view-toggle-entry-display):
7805 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7806
7807 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7808 (report-emacs-bug-can-use-xdg-email):
7809 (report-emacs-bug-insert-to-mailer): Doc fixes.
7810 (report-emacs-bug): Message fix.
7811
7812 * net/browse-url.el (browse-url-can-use-xdg-open)
7813 (browse-url-xdg-open): Doc fixes.
7814
7815 * electric.el (electric-indent-mode, electric-pair-mode)
7816 (electric-layout-rules, electric-layout-mode): Doc fixes.
7817 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7818
7819 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7820
7821 * server.el (server-unselect-display): Don't inadvertently kill
7822 the current buffer. (Bug#10729)
7823
7824 2012-02-08 Glenn Morris <rgm@gnu.org>
7825
7826 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7827 (sql-list-table): Doc fixes.
7828
7829 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7830 Comment out (does nothing).
7831
7832 * completion.el (dynamic-completion-mode):
7833 * dirtrack.el (dirtrack-debug-mode):
7834 * electric.el (electric-layout-mode):
7835 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7836 * face-remap.el (text-scale-mode, buffer-face-mode):
7837 * iimage.el (iimage-mode):
7838 * image-mode.el (image-transform-mode):
7839 * minibuffer.el (completion-in-region-mode):
7840 * scroll-lock.el (scroll-lock-mode):
7841 * simple.el (next-error-follow-minor-mode):
7842 * tar-mode.el (tar-subfile-mode):
7843 * tooltip.el (tooltip-mode):
7844 * vcursor.el (vcursor-use-vcursor-map):
7845 * wid-browse.el (widget-minor-mode):
7846 * emulation/tpu-edt.el (tpu-edt-mode):
7847 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7848 * international/iso-ascii.el (iso-ascii-mode):
7849 * language/thai-util.el (thai-word-mode):
7850 * mail/supercite.el (sc-minor-mode):
7851 * net/goto-addr.el (goto-address-mode):
7852 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7853 * progmodes/cwarn.el (cwarn-mode):
7854 * progmodes/flymake.el (flymake-mode):
7855 * progmodes/glasses.el (glasses-mode):
7856 * progmodes/hideshow.el (hs-minor-mode):
7857 * progmodes/pascal.el (pascal-outline-mode):
7858 * textmodes/enriched.el (enriched-mode):
7859 * vc/smerge-mode.el (smerge-mode):
7860 Doc fixes (minor mode argument).
7861
7862 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7863
7864 * ls-lisp.el (ls-lisp-sanitize): New function.
7865 (ls-lisp-insert-directory): Use it to fix or remove any elements
7866 in file-alist with missing attributes. (Bug#4673)
7867
7868 2012-02-07 Alan Mackenzie <acm@muc.de>
7869
7870 Fix spurious recognition of c-in-knr-argdecl.
7871
7872 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7873 putative K&R region.
7874
7875 2012-02-07 Alan Mackenzie <acm@muc.de>
7876
7877 * progmodes/cc-engine.el (c-forward-objc-directive):
7878 Prevent looping in "#pragma mark @implementation".
7879
7880 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7881
7882 * notifications.el (notifications-on-closed-signal): Make `reason'
7883 optional. (Bug#10744)
7884
7885 2012-02-07 Glenn Morris <rgm@gnu.org>
7886
7887 * emacs-lisp/easy-mmode.el (define-minor-mode):
7888 Doc fixes for the macro and the mode it defines.
7889
7890 * image.el (imagemagick-types-inhibit): Doc fix.
7891
7892 * cus-start.el (imagemagick-render-type): Add it.
7893
7894 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7895
7896 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7897 Set the default at load time, too, so that `font-lock-fontify-buffer'
7898 can be called without setting up the entire mode first. This fixes
7899 a bug in `mm-inline-text' with C MIME parts.
7900
7901 2012-02-06 Chong Yidong <cyd@gnu.org>
7902
7903 * simple.el (list-processes--refresh): Delete exited processes
7904 (Bug#8094).
7905
7906 * comint.el (comint-next-prompt): next-single-char-property-change
7907 and prev-single-char-property-change never return nil (Bug#8657).
7908
7909 * custom.el (defcustom): Doc fix (Bug#9711).
7910
7911 2012-02-05 Chong Yidong <cyd@gnu.org>
7912
7913 * cus-edit.el (custom-variable-reset-backup): Quote the value
7914 before storing it in the customized-value property (Bug#6712).
7915 (custom-display): Add a customization type tag.
7916 (custom-buffer-create-internal): Improve tooltip message.
7917
7918 * wid-edit.el (widget-field-value-get): New optional arg to
7919 suppress trailing whitespace truncation.
7920 (character): Use it (Bug#2689).
7921
7922 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7923
7924 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7925 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7926
7927 2012-02-05 Chong Yidong <cyd@gnu.org>
7928
7929 * cus-edit.el (custom-variable-value-create): For mismatched
7930 types, show the current value (Bug#7600).
7931
7932 * custom.el (defcustom): Doc fix.
7933
7934 2012-02-05 Glenn Morris <rgm@gnu.org>
7935
7936 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7937
7938 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7941 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7942 (pp-last-sexp): Use `looking-at-p'.
7943
7944 2012-02-04 Glenn Morris <rgm@gnu.org>
7945
7946 * files.el (revert-buffer):
7947 Doc fix (mention revert-buffer-in-progress-p).
7948
7949 * emacs-lisp/ert-x.el (ert-simulate-command):
7950 Check deferred-action-list (which is obsolete) is bound.
7951
7952 * subr.el (with-wrapper-hook): Doc fixes.
7953
7954 * simple.el (filter-buffer-substring-functions)
7955 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7956
7957 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7958
7959 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7960 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7961
7962 2012-02-04 Leo Liu <sdl.web@gmail.com>
7963
7964 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7965
7966 2012-02-04 Glenn Morris <rgm@gnu.org>
7967
7968 * image.el (image-extension-data): Add obsolete alias.
7969
7970 * isearch.el (isearch-update): Doc fix.
7971
7972 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7973
7974 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7975
7976 2012-02-03 Glenn Morris <rgm@gnu.org>
7977
7978 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7979 (image-animate-timeout): Doc fix.
7980
7981 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7982
7983 2012-02-02 Glenn Morris <rgm@gnu.org>
7984
7985 * server.el (server-auth-dir): Doc fix.
7986 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7987
7988 * subr.el (run-mode-hooks): Doc fix.
7989
7990 2012-02-02 Juri Linkov <juri@jurta.org>
7991
7992 * image-mode.el (image-toggle-display-image): Remove tautological
7993 `major-mode' from the `derived-mode-p' test.
7994
7995 2012-02-02 Kenichi Handa <handa@m17n.org>
7996
7997 * composite.el (compose-region): Cancel previous change.
7998
7999 2012-02-02 Kenichi Handa <handa@m17n.org>
8000
8001 * composite.el (compose-region, compose-string): Signal error for
8002 a null string component (Bug#6988).
8003
8004 2012-02-01 Chong Yidong <cyd@gnu.org>
8005
8006 * view.el (view-buffer-other-window, view-buffer-other-frame):
8007 Handle special modes like view-buffer (Bug#10650).
8008 (view-buffer): Simplify.
8009
8010 * frame.el (set-frame-font): Tweak meaning of third argument.
8011
8012 * dynamic-setting.el (font-setting-change-default-font):
8013 Use set-frame-font (Bug#9982).
8014
8015 2012-02-01 Glenn Morris <rgm@gnu.org>
8016
8017 * progmodes/compile.el (compilation-internal-error-properties):
8018 Respect compilation-first-column in the "*compilation*" buffer.
8019
8020 * emacs-lisp/easy-mmode.el (define-minor-mode):
8021 Relax :variable's test for a named function.
8022
8023 2012-01-31 Alan Mackenzie <acm@muc.de>
8024
8025 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8026 off by one error.
8027
8028 2012-01-31 Chong Yidong <cyd@gnu.org>
8029
8030 * frame.el (set-frame-font): New arg ALL-FRAMES.
8031
8032 * menu-bar.el (menu-set-font): Use set-frame-font.
8033
8034 * faces.el (face-spec-reset-face): Don't apply unspecified
8035 attribute values to the default face.
8036
8037 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
8038
8039 * progmodes/cwarn.el (cwarn): Remove dead link.
8040 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8041 Remove * from defcustom docstrings.
8042 (turn-on-cwarn-mode): Make obsolete.
8043 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8044 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8045
8046 2012-01-31 Glenn Morris <rgm@gnu.org>
8047
8048 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8049 Fix :variable handling of mode a symbol not equal to modefun.
8050 Allow named functions to be used as the cdr of :variable.
8051
8052 2012-01-30 Glenn Morris <rgm@gnu.org>
8053
8054 * emacs-lisp/authors.el (authors-fixed-entries):
8055 Remove reference to deleted file rnewspost.el.
8056
8057 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
8058
8059 * window.el (window-with-parameter): Remove unused variable `windows'.
8060 (window--side-check): Remove unused variable `code'.
8061 (window--resize-siblings): Remove unused variable `first'.
8062 (adjust-window-trailing-edge): Remove unused variable `failed'.
8063 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8064 Use `let', not `let*'.
8065 (balance-windows-2): Remove unused variable `found'.
8066 (window--state-put-2): Remove unused variable `splits'.
8067 (window-state-put): Remove unused variable `selected'.
8068 (same-window-p): Use `string-match-p'.
8069 (display-buffer-assq-regexp): Remove unused variable `value'.
8070 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8071 Mark argument ALIST as ignored.
8072 (pop-to-buffer): Remove unused variable `old-window'.
8073
8074 2012-01-29 Eli Zaretskii <eliz@gnu.org>
8075
8076 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8077 and .lzma compressed files.
8078
8079 2012-01-29 Chong Yidong <cyd@gnu.org>
8080
8081 * frame.el (window-system-default-frame-alist): Doc fix.
8082
8083 * dynamic-setting.el (font-setting-change-default-font): Don't
8084 change the default face if SET-FONT argument is non-nil (Bug#9982).
8085
8086 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8087
8088 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8089
8090 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
8091
8092 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8093 breakpoints in files outside current directory (Bug#6098).
8094
8095 2012-01-29 Chong Yidong <cyd@gnu.org>
8096
8097 * progmodes/python.el: Require ansi-color at top-level.
8098
8099 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8100 Define and use in Emacs Lisp mode (Bug#9360).
8101 (lisp-mode-abbrev-table): Add doc.
8102 (lisp-mode-variables): Don't set local-abbrev-table.
8103 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8104
8105 2012-01-28 Roland Winkler <winkler@gnu.org>
8106
8107 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8108
8109 2012-01-28 Roland Winkler <winkler@gnu.org>
8110
8111 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8112 (bibtex-set-dialect): Use it. Either set global values of
8113 dialect-dependent variables or bind these variables buffer-locally
8114 (Bug#10254).
8115 (bibtex-mode): Call bibtex-set-dialect via
8116 hack-local-variables-hook.
8117 (bibtex-dialect): Update docstring.
8118 Add safe-local-variable predicate.
8119 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8120 bibtex-set-dialect.
8121 (bibtex-mode-map): Define menu for each dialect.
8122 (bibtex-entry): Fix docstring.
8123
8124 2012-01-28 Chong Yidong <cyd@gnu.org>
8125
8126 * eshell/esh-arg.el (eshell-quote-argument): New function.
8127
8128 * eshell/esh-ext.el (eshell-invoke-batch-file):
8129 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8130 first arg to eshell-parse-command (Bug#10523).
8131
8132 2012-01-28 Drew Adams <drew.adams@oracle.com>
8133
8134 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8135 `default-directory' is non-nil.
8136
8137 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8138
8139 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8140 line that displays system-configuration-options. (Bug#9924)
8141
8142 2012-01-28 Drew Adams <drew.adams@oracle.com>
8143
8144 * descr-text.el (describe-char): Show information about POS, in
8145 addition to information about the character at POS. Improve and
8146 update the doc string. Change "code point" to "code point in
8147 charset", to avoid confusion with the character's Unicode code
8148 point shown above that. (Bug#10129)
8149
8150 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8151
8152 * descr-text.el (describe-char): Show the raw character, not only
8153 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8154 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8155 for the reasons.
8156
8157 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8158
8159 * emacs-lisp/package.el (package-install):
8160 Run package-refresh-contents if there is no archive yet (Bug#9798).
8161
8162 2012-01-28 Chong Yidong <cyd@gnu.org>
8163
8164 * emacs-lisp/package.el (package-maybe-load-descriptor):
8165 New function, split from package-maybe-load-descriptor.
8166 (package-maybe-load-descriptor): Use it.
8167 (package-download-transaction): Fully load required packages
8168 inside the loop, so that `require' calls work (Bug#10593).
8169 (package-install): No need to call package-initialize now.
8170
8171 2012-01-28 Chong Yidong <cyd@gnu.org>
8172
8173 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8174
8175 * tooltip.el (tooltip-mode): Doc fix.
8176 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8177
8178 * frame.el (set-cursor-color): Doc fix (Bug#352).
8179
8180 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8181 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8182
8183 * cus-edit.el (custom-buffer-create-internal): Fix search button
8184 action (Bug#10542).
8185 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8186
8187 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8188
8189 * dired.el (dired-mark-files-regexp):
8190 Include any subdirectory components. (Bug#10445)
8191
8192 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8193
8194 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8195 Handle [host]:port syntax. (Bug#10533)
8196
8197 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8198
8199 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8200
8201 2012-01-26 Glenn Morris <rgm@gnu.org>
8202
8203 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8204 * term.el (term-raw-escape-map): Use Control-X-prefix.
8205 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8206
8207 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8208
8209 * window.el (window-state-get, window--state-get-1): Don't deal
8210 with fixed-sizeness of windows. Simplify code.
8211
8212 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8213
8214 * window.el (window--state-get-1, window--state-put-2):
8215 Don't save and restore the mark.
8216
8217 2012-01-25 Chong Yidong <cyd@gnu.org>
8218
8219 * custom.el (custom-variable-p): Doc fix.
8220
8221 2012-01-25 Glenn Morris <rgm@gnu.org>
8222
8223 * dired.el (dired-goto-file): Handle some of the more common
8224 characters that `ls -b' escapes. (Bug#10596)
8225
8226 * progmodes/compile.el (compilation-next-error-function):
8227 Respect compilation-first-column in the "*compilation*" buffer.
8228 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8229
8230 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8231
8232 2012-01-24 Glenn Morris <rgm@gnu.org>
8233
8234 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8235
8236 2012-01-24 Julien Danjou <julien@danjou.info>
8237
8238 * color.el (color-rgb-to-hsl): Fix value computing.
8239 (color-hue-to-rgb): New function.
8240 (color-hsl-to-rgb): New function.
8241 (color-clamp, color-saturate-hsl, color-saturate-name)
8242 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8243 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8244
8245 2012-01-24 Glenn Morris <rgm@gnu.org>
8246
8247 * vc/vc-rcs.el (vc-rcs-create-tag):
8248 * vc/vc-sccs.el (vc-sccs-create-tag):
8249 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8250
8251 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8252
8253 * eshell/esh-util.el (eshell-read-hosts-file):
8254 Skip comment lines. (Bug#10549)
8255
8256 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8257
8258 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8259
8260 * subr.el (display-delayed-warnings): Doc fix.
8261 (collapse-delayed-warnings): New function to collapse identical
8262 adjacent warnings.
8263 (delayed-warnings-hook): Add it.
8264
8265 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8266
8267 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8268
8269 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8270 (tramp-default-user-alist): Don't add "pscp".
8271 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8272 property "login-as", if set. (Bug#10530)
8273
8274 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8275
8276 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8277 "plink1" and "psftp". (Bug#10530)
8278
8279 2012-01-21 Kenichi Handa <handa@m17n.org>
8280
8281 * international/mule-cmds.el (prefer-coding-system): Show a
8282 warning message if the default value of file-name-coding-system
8283 was not changed.
8284
8285 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8286
8287 * windmove.el (windmove-reference-loc):
8288 Fix windmove-reference-loc miscalculation.
8289
8290 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8291
8292 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8293 default unit.
8294
8295 2012-01-21 Glenn Morris <rgm@gnu.org>
8296
8297 * international/mule.el (auto-coding-alist): Add .tbz.
8298
8299 * files.el (local-enable-local-variables): Doc fix.
8300 (inhibit-local-variables-regexps): Rename from
8301 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8302 Doc fix. Add some extensions from auto-coding-alist.
8303 (inhibit-local-variables-suffixes):
8304 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8305 (inhibit-local-variables-p):
8306 New function, extracted from set-auto-mode-1.
8307 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8308 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8309 (hack-local-variables): Doc fix. Make the mode-only case
8310 respect enable-local-variables and friends.
8311 Respect inhibit-local-variables-regexps for file-locals, but
8312 not for directory-locals.
8313 (set-visited-file-name):
8314 Take account of inhibit-local-variables-regexps.
8315 Whether it applies may change as the file name is changed.
8316 * jka-cmpr-hook.el (jka-compr-install):
8317 * jka-compr.el (jka-compr-uninstall):
8318 Update for inhibit-first-line-modes-suffixes name change.
8319
8320 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8321
8322 * help-macro.el (make-help-screen): Temporarily restore original
8323 binding for minor-mode-map-alist (Bug#10454).
8324
8325 2012-01-19 Julien Danjou <julien@danjou.info>
8326
8327 * color.el (color-name-to-rgb): Use the white color to find the max
8328 color component value and return correctly computed values.
8329 (color-name-to-rgb): Add missing float conversion for max value.
8330
8331 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8332
8333 * window.el (window--state-get-1, window-state-get): Do not use
8334 special state value for window-persistent-parameters.
8335 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8336 (window--state-put-2): Reset all window parameters to nil before
8337 assigning values of persistent parameters.
8338
8339 2012-01-18 Alan Mackenzie <acm@muc.de>
8340
8341 Eliminate sluggishness and hangs in fontification of "semicolon
8342 deserts".
8343
8344 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8345 Change value 10000 -> 3000.
8346 (c-state-safe-place): Reformulate so it doesn't stack up an
8347 infinite number of wrong entries in c-state-nonlit-pos-cache.
8348 (c-determine-limit-get-base, c-determine-limit): New functions to
8349 determine backward search limits disregarding literals.
8350 (c-find-decl-spots): Amend commenting.
8351 (c-cheap-inside-bracelist-p): New function which detects "={".
8352
8353 * progmodes/cc-fonts.el
8354 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8355 backward search.
8356 (c-font-lock-declarations): Fix an occurrence of point being
8357 undefined. Check additionally for point being in a bracelist or
8358 near a macro invocation without a semicolon so as to avoid a
8359 fruitless time consuming search for a declarator. Give a more
8360 precise search limit for declarators using the new
8361 c-determine-limit.
8362
8363 2012-01-18 Glenn Morris <rgm@gnu.org>
8364
8365 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8366 (set-auto-mode): Doc fixes.
8367
8368 2012-01-17 Glenn Morris <rgm@gnu.org>
8369
8370 * isearch.el (search-nonincremental-instead): Fix doc typo.
8371
8372 * dired.el (dired-insert-directory): Handle newlines in directory name.
8373 (dired-build-subdir-alist): Unescape newlines in directory name.
8374
8375 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8376
8377 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8378 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8379 (tramp-action-terminal): Use it. (Bug#10530)
8380
8381 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8384
8385 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8386
8387 * window.el (window-state-ignored-parameters): Remove variable.
8388 (window--state-get-1): Rename argument MARKERS to IGNORE.
8389 Handle persistent window parameters. Make copy of clone-of
8390 parameter only if requested. (Bug#10348)
8391 (window--state-put-2): Install a window parameter only if it has
8392 a non-nil value or an existing parameter shall be overwritten.
8393
8394 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8395
8396 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8397
8398 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8399
8400 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8401 don't pass the (nil) value of `upnode' to string-match.
8402
8403 2012-01-14 Chong Yidong <cyd@gnu.org>
8404
8405 * startup.el (command-line): Fix X resource class for cursorColor.
8406 Fix values recognized by the cursorBlink resource.
8407
8408 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8409
8410 * epg.el (epg--make-temp-file): Avoid permission race condition
8411 when running on old Emacs versions (bug#10403).
8412
8413 2012-01-14 Glenn Morris <rgm@gnu.org>
8414
8415 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8416
8417 2012-01-13 Alan Mackenzie <acm@muc.de>
8418
8419 Fix filling for when filladapt mode is enabled.
8420
8421 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8422 c-mask-paragraph, pass in `fill-paragraph' rather than
8423 `fill-region-as-paragraph'. (This is a reversion of a previous
8424 change.)
8425 * progmodes/cc-mode.el (c-basic-common-init):
8426 Make fill-paragraph-handle-comment buffer local and set it to nil.
8427
8428 2012-01-13 Glenn Morris <rgm@gnu.org>
8429
8430 * dired.el (dired-switches-escape-p): New function.
8431 (dired-insert-directory): Use dired-switches-escape-p.
8432 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8433
8434 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8435
8436 2012-01-12 Glenn Morris <rgm@gnu.org>
8437
8438 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8439 changes in adaptive-fill-regexp. (Bug#10276)
8440
8441 2012-01-11 Alan Mackenzie <acm@muc.de>
8442
8443 Fix Emacs bug #10463 - put `widen's around the critical spots.
8444
8445 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8446 widen around each invocation of c-state-pp-to-literal. Remove an
8447 unused let variable.
8448
8449 2012-01-11 Glenn Morris <rgm@gnu.org>
8450
8451 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8452 Doc fix.
8453
8454 2012-01-10 Chong Yidong <cyd@gnu.org>
8455
8456 * net/network-stream.el (network-stream-open-starttls):
8457 Avoid emitting a confusing error message when the server gives a bad
8458 response to the capability command.
8459
8460 2012-01-10 Glenn Morris <rgm@gnu.org>
8461
8462 * mail/unrmail.el (unrmail): Tweak previous change.
8463
8464 2012-01-09 Chong Yidong <cyd@gnu.org>
8465
8466 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8467
8468 2012-01-08 Alan Mackenzie <acm@muc.de>
8469
8470 Optimise font locking in long enum definitions.
8471
8472 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8473 arm to a cond form to handle enums.
8474 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8475 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8476
8477 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8478
8479 * files.el (move-file-to-trash): Preserve default file modes on error.
8480 (Bug#10401)
8481
8482 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8483
8484 * faces.el (set-face-attribute): Clarify the meaning of the nil
8485 frame (bug#10294).
8486
8487 * subr.el (with-selected-frame): Mention that the selected frame
8488 is restored (bug#9980).
8489
8490 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8491 (bug#9759).
8492
8493 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8494 (password-read): Don't autoload unused function.
8495
8496 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
8497
8498 * progmodes/which-func.el (which-func-mode): Turn into a
8499 non-interactive function and mark as obsolete (bug#10428).
8500
8501 2012-01-06 Chong Yidong <cyd@gnu.org>
8502
8503 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8504 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8505 functions, along with 1 and -1.
8506
8507 2012-01-06 Eli Zaretskii <eliz@gnu.org>
8508
8509 * time.el (display-time-load-average)
8510 (display-time-default-load-average): Doc fixes. See the thread
8511 starting at
8512 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8513 for the details.
8514
8515 2012-01-06 Glenn Morris <rgm@gnu.org>
8516
8517 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8518 has no messages. (Bug#10377)
8519
8520 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8521 than Info-edit. (Bug#10385)
8522
8523 * time.el (display-time-load-average, display-time-next-load-average):
8524 Doc fixes.
8525
8526 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8527 local setting of buffer-read-only to the input buffer. (Bug#10419)
8528
8529 * calendar/calendar.el (calendar-mode):
8530 Locally set scroll-margin to 0. (Bug#10379)
8531
8532 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
8533
8534 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8535
8536 2012-01-05 Glenn Morris <rgm@gnu.org>
8537
8538 * eshell/em-unix.el (diff-no-select): Autoload it.
8539 (eshell/diff): Use diff-no-select. (Bug#10420)
8540
8541 2012-01-05 Chong Yidong <cyd@gnu.org>
8542
8543 * shell.el (shell-dynamic-complete-functions): Revert last change.
8544 (shell-command-completion-function): New function.
8545 (shell-completion-vars): Use it to implement
8546 shell-completion-execonly (Bug#10417).
8547
8548 * custom.el (enable-theme): Don't set custom-safe-themes.
8549
8550 * cus-theme.el (custom-theme-merge-theme):
8551 Ignore custom-enabled-themes and custom-safe-themes.
8552
8553 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8554
8555 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8556 first prompt in `sql-interacive-mode'.
8557 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8558 keywords.
8559 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8560 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8561 context of original buffer. Invoke `sql-login-hook'.
8562
8563 2012-01-04 Eli Zaretskii <eliz@gnu.org>
8564
8565 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8566 letters in cite-prefix.
8567
8568 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8569
8570 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8571
8572 2012-01-03 Chong Yidong <cyd@gnu.org>
8573
8574 * shell.el (shell-dynamic-complete-functions):
8575 Put pcomplete-completions-at-point, so as to try
8576 comint-filename-completion first (Bug#10417).
8577
8578 2012-01-02 Richard Stallman <rms@gnu.org>
8579
8580 * battery.el (battery-status-function):
8581 Detect when to use battery-yeeloong-sysfs.
8582 (battery-echo-area-format): Add string for Yeeloong.
8583 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8584 (battery-yeeloong-sysfs): New function.
8585
8586 2012-01-02 Chong Yidong <cyd@gnu.org>
8587
8588 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8589 (dirtrack): Merge code for handling relative filenames in prompt
8590 from shell-dir-cookie-watcher.
8591 (dirtrack-debug-message): New arg to avoid excess format calls.
8592
8593 * shell.el (shell-dir-cookie-re): Variable deleted.
8594 (shell-dir-cookie-watcher): Function deleted.
8595 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8596 with dirtrack-mode.
8597
8598 2012-01-01 Eli Zaretskii <eliz@gnu.org>
8599
8600 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8601 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8602 libgnutls-26.dll.
8603
8604 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8605
8606 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8607
8608 2011-12-31 Eli Zaretskii <eliz@gnu.org>
8609
8610 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8611 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8612
8613 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8616 also for alternative shells.
8617 (tramp-open-connection-setup-interactive-shell): Check, whether
8618 the shell is a busybox.
8619 (tramp-send-command): Don't suppress multiple prompts for
8620 busyboxes, it hurts.
8621
8622 2011-12-28 Chong Yidong <cyd@gnu.org>
8623
8624 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8625 (gdb-get-source-file): Move mode line update to
8626 gdb-get-source-file (Bug#10087).
8627
8628 2011-12-25 Chong Yidong <cyd@gnu.org>
8629
8630 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8631 gud-gdb-marker-filter without taking it as an argument.
8632 (gud-gdb-run-command-fetch-lines): Caller changed.
8633 (gud-gdb-completion-function): New variable.
8634 (gud-gdb-completion-at-point): Use it.
8635 (gud-gdb-completions-1): Split from gud-gdb-completions.
8636
8637 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8638 function as separate arguments.
8639 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8640 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8641 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8642 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8643 (gdb-stopped, def-gdb-auto-update-trigger)
8644 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8645 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8646 Callers changed.
8647 (gud-gdbmi-completions): New function.
8648 (gdb): Use it for generating the completion table.
8649
8650 2011-12-24 Alan Mackenzie <acm@muc.de>
8651
8652 Introduce a mechanism to widen the region used in context font
8653 locking. Use this to protect declarations from losing their contexts.
8654
8655 * progmodes/cc-langs.el (c-before-font-lock-functions):
8656 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8657 (c-before-context-fontification-functions): New defvar, a list of
8658 functions to be run just before context (etc.) font locking.
8659
8660 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8661 New, functionality extracted from
8662 c-neutralize-syntax-in-and-mark-CPP.
8663 (c-in-after-change-fontification): New variable.
8664 (c-after-change): Set c-in-after-change-fontification.
8665 (c-set-fl-decl-start): Rejig its interface, so it can be called
8666 from both after-change and context fontifying.
8667 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8668 New functions.
8669 (c-standard-font-lock-fontify-region-function): New variable.
8670 (c-font-lock-fontify-region): New function.
8671
8672 2011-12-24 Juri Linkov <juri@jurta.org>
8673
8674 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8675 (Bug#10348)
8676
8677 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
8678
8679 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8680 existence of source file. (Bug#10325)
8681
8682 2011-12-23 Alan Mackenzie <acm@muc.de>
8683
8684 Fix unstable fontification inside templates.
8685
8686 * progmodes/cc-langs.el (c-before-font-lock-functions):
8687 Newly created from the singular version. The (c c++ objc) entry now
8688 additionally has c-set-fl-decl-start. The other languages (apart
8689 from AWK) have that as a single entry.
8690
8691 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8692 The functionality for "local" declarations has been extracted to
8693 c-set-fl-decl-start.
8694
8695 * progmodes/cc-mode.el (c-common-init, c-after-change):
8696 Changes due to pluralisation of c-before-font-lock-functions.
8697 (c-set-fl-decl-start): New function, extracted from
8698 c-font-lock-enclosing-decls and enhanced.
8699
8700 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8703
8704 2011-12-22 Juri Linkov <juri@jurta.org>
8705
8706 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8707
8708 2011-12-22 Chong Yidong <cyd@gnu.org>
8709
8710 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8711
8712 2011-12-21 Drew Adams <drew.adams@oracle.com>
8713
8714 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8715
8716 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8717
8718 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8719
8720 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8721
8722 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8723 highlighting and support. Fix up comments for capitalization.
8724 (cfengine-mode-debug): New var.
8725 (cfengine3-mode): Change the modeline indicator to "CFE3".
8726 (cfengine3-font-lock-keywords): Improve defun highlighting.
8727 (cfengine2-actions): Rename from `cfengine-actions'.
8728 (cfengine2-font-lock-keywords): Rename from
8729 `cfengine-font-lock-keywords'.
8730 (cfengine2-imenu-expression): Rename from
8731 `cfengine-imenu-expression'.
8732 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8733 (cfengine2-beginning-of-defun): Rename from
8734 `cfengine-beginning-of-defun'.
8735 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8736 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8737 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8738 modeline indicator to "CFE2".
8739 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8740 (cfengine-mode-abbrevs): Mark obsolete.
8741
8742 2011-12-21 Chong Yidong <cyd@gnu.org>
8743
8744 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8745 filename argument.
8746
8747 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8748
8749 * window.el (window-normalize-buffer-to-display): Remove.
8750 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8751
8752 2011-12-19 Chong Yidong <cyd@gnu.org>
8753
8754 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8755 Don't signal an error in a predicate function; return non-nil.
8756 (vc-dir-mark-file): Move the error here.
8757 (vc-dir-mark-unmark): If acting on the region, keep going if one
8758 of the entries cannot be marked/unmarked.
8759 (vc-dir-mark-all-files): If current entry is a directory, mark
8760 only child files, as documented.
8761
8762 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8763
8764 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8765 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8766 addition.
8767
8768 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8769
8770 * term/ns-win.el (ns-get-selection-internal)
8771 (ns-store-selection-internal): Declare.
8772 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8773 Declare as obsolete.
8774 (ns-get-pasteboard, ns-paste-secondary):
8775 Use ns-get-selection-internal.
8776 (ns-set-pasteboard, ns-copy-including-secondary):
8777 Use ns-store-selection-internal.
8778
8779 2011-12-17 Chong Yidong <cyd@gnu.org>
8780
8781 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8782 (vc-deduce-fileset): Doc fix.
8783
8784 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8785
8786 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8787
8788 2011-12-13 Sam Steingold <sds@gnu.org>
8789
8790 * man.el (Man-getpage-in-background): When running under a
8791 window-system, ignore $MANWIDTH and $COLUMNS.
8792
8793 2011-12-15 Kenichi Handa <handa@m17n.org>
8794
8795 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8796 (setup-ethiopic-environment-internal): Comment out key-binding for
8797 ethio-toggle-punctuation.
8798
8799 2011-12-13 Alan Mackenzie <acm@muc.de>
8800
8801 Add the switch statement to AWK Mode.
8802
8803 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8804 "default" to the keywords regexp.
8805
8806 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8807 expression as the rest.
8808 (c-nonlabel-token-key): Allow string literals for AWK.
8809 Refactor for the other modes.
8810
8811 Large brace-block initialisation makes CC Mode slow: Fix.
8812 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8813 routines. Limit backward searching in c-font-lock-enclosing.decl.
8814
8815 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8816 pp-state and literal type in addition to the limits.
8817 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8818 (c-state-literal-at): Use the above new defun.
8819 (c-slow-in-literal, c-fast-in-literal): Remove.
8820 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8821
8822 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8823 being in a literal. Add a limit for backward searching.
8824
8825 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8826 c-slow-in-literal.
8827
8828 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8831
8832 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8833
8834 * window.el (delete-other-windows): Use correct frame in call to
8835 window-with-parameter.
8836
8837 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8838
8839 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8840 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8841 (makefile-gmake-statements, makefile-makepp-statements):
8842 Use it and add new makepp keywords.
8843 (makefile-makepp-font-lock-keywords): Add new patterns.
8844 (makefile-match-function-end): Match new [...] and [[...]].
8845
8846 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8847
8848 * ses.el (ses-call-printer-return, ses-cell-property-get)
8849 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8850 (ses-create-cell-variable, ses-reset-header-string)
8851 (ses-cell-set-formula, ses-repair-cell-reference-all)
8852 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8853 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8854 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8855 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8856 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8857 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8858 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8859 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8860 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8861 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8862 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8863 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8864
8865 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8866
8867 * ses.el: The overall change is to add cell renaming, that is
8868 setting fancy names for cell symbols other than name matching
8869 "\\`[A-Z]+[0-9]+\\'" regexp .
8870 (ses-create-cell-variable): New defun.
8871 (ses-relocate-formula): Relocate formulas only for cells the
8872 symbols of which are not renamed, i.e. symbols whose names do not
8873 match regexp "\\`[A-Z]+[0-9]+\\'".
8874 (ses-relocate-all): Relocate values only for cells the symbols of
8875 which are not renamed.
8876 (ses-load): Create cells variables as the (ses-cell ...) are read,
8877 in order to check row col consistency with cell symbol name only
8878 for cells that are not renamed.
8879 (ses-replace-name-in-formula): New defun.
8880 (ses-rename-cell): New defun.
8881
8882 2011-12-11 Chong Yidong <cyd@gnu.org>
8883
8884 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8885 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8886
8887 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8888
8889 * window.el (other-window): Fix docstring.
8890
8891 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8892
8893 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8894 `from' or `to' address before taking its substring.
8895 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8896 encoded name is chopped in the middle of the encoded string, and
8897 thus displayed encoded.
8898
8899 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8900
8901 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8902
8903 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8904
8905 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8906 to use texinfo-update-node and commands that call it if the
8907 Texinfo file uses @node lines without next/prev/up pointers.
8908 Correct outdated description about texinfo-master-menu.
8909 (texinfo-all-menus-update, texinfo-master-menu)
8910 (texinfo-update-node, texinfo-every-node-update)
8911 (texinfo-multiple-files-update): Doc fix. Warn against updating
8912 all the @node lines.
8913 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8914 argument is numeric. Explain better in the doc string what the
8915 function really does.
8916 (texinfo-insert-master-menu-list): Improve the error message
8917 displayed if there's no menu in the Top node.
8918 (Bug#2975) See also this thread:
8919 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8920
8921 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
8922
8923 * speedbar.el (speedbar-supported-extension-expressions):
8924 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8925
8926 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8927
8928 * printing.el (pr-mode-alist):
8929 * simple.el (filter-buffer-substring-functions)
8930 (completion-list-insert-choice-function):
8931 * window.el (window-with-parameter, window-atom-root)
8932 (window-sides-slots, window-size-fixed, window-min-delta)
8933 (window-max-delta, window--resize-mini-window)
8934 (window--resize-child-windows-normal, window-tree)
8935 (delete-other-windows, quit-window, split-window)
8936 (display-buffer-record-window, special-display-buffer-names)
8937 (special-display-regexps, special-display-popup-frame)
8938 (same-window-p, split-window-sensibly)
8939 (display-buffer-overriding-action, display-buffer-alist)
8940 (display-buffer-base-action, display-buffer, switch-to-buffer)
8941 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8942 (fit-window-to-buffer, recenter-positions)
8943 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8944 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8945 and remove unneeded backslashes in docstrings.
8946
8947 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8950
8951 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8952 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8953 end in ".mk".
8954 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8955 when reading the makefile (bug#10116).
8956
8957 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8960 (bug#10116).
8961
8962 2011-12-06 Glenn Morris <rgm@gnu.org>
8963
8964 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8965
8966 2011-12-06 Chong Yidong <cyd@gnu.org>
8967
8968 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8969
8970 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * textmodes/table.el (table-shorten-cell): Fix typo.
8973
8974 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8975
8976 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8977
8978 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8979
8980 * descr-text.el (describe-char): Fix display of strong
8981 right-to-left characters and directional embeddings and overrides.
8982
8983 * simple.el (what-cursor-position): Fix display of codepoints of
8984 strong right-to-left characters.
8985
8986 2011-12-05 Chong Yidong <cyd@gnu.org>
8987
8988 * faces.el (read-color): Doc fix.
8989
8990 2011-12-05 Glenn Morris <rgm@gnu.org>
8991
8992 * align.el (align--set-marker): Add doc-string.
8993 Don't try to move something that is not a marker. (Bug#10216)
8994
8995 2011-12-04 Glenn Morris <rgm@gnu.org>
8996
8997 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8998 overly zealous deletion of trailing whitespace.
8999
9000 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
9001
9002 * server.el (server-delete-client): On Windows, do not try to delete
9003 the only terminal.
9004 (server-process-filter): On Windows, treat requests for a tty frame as
9005 if they were for a GUI frame if the running server is in GUI mode.
9006
9007 2011-12-03 Glenn Morris <rgm@gnu.org>
9008
9009 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9010
9011 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * electric.el: Streamline electric-indent's hook.
9014 (electric-indent-chars): Revert to simple list.
9015 (electric-indent-functions): New var.
9016 (electric-indent-post-self-insert-function): Use it.
9017
9018 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9019 there's no inferior buffer (bug#10196).
9020 (prolog-consult-compile): Don't use toggle-read-only.
9021
9022 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9025 interrupt. (Bug#10187)
9026
9027 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9030 (bug#9160).
9031
9032 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9033 (bug#10191).
9034
9035 2011-12-02 Juri Linkov <juri@jurta.org>
9036
9037 * info.el (Info-search): Display "end of manual" when Isearch
9038 reaches the end of single-file Info manual. (Bug#9918)
9039
9040 2011-12-02 Eli Zaretskii <eliz@gnu.org>
9041
9042 * isearch.el (isearch-message-prefix): Run the input method part
9043 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9044
9045 2011-12-02 Juri Linkov <juri@jurta.org>
9046
9047 * isearch.el (isearch-occur): Use `word-search-regexp' for
9048 `isearch-word'.
9049 (isearch-search-and-update): Add condition for `isearch-word' and
9050 call `word-search-regexp'. (Bug#10145)
9051
9052 2011-12-01 Glenn Morris <rgm@gnu.org>
9053
9054 * eshell/em-hist.el (eshell-hist-initialize):
9055 Handle eshell-history-size nil and HISTSIZE set or unset.
9056 (eshell-history-file-name, eshell-history-size): Fix custom type.
9057
9058 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9061
9062 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
9063
9064 * progmodes/verilog-mode.el (verilog-pretty-expr):
9065 Rework verilog-pretty-expr to handle new assignment operators in system
9066 verilog, such as += *= and the like.
9067 (verilog-assignment-operator-re): Regular expression to find the
9068 assigment operator in a verilog assignment.
9069 (verilog-assignment-operation-re): Regular expression to find an
9070 assignment statement for pretty-expr.
9071 (verilog-in-attribute-p): Query returns true if point is in an
9072 attribute context; used to skip these for expression line up from
9073 pretty-expr.
9074 (verilog-in-parameter-p): Query returns true if point is in an
9075 parameter definition context; used to skip these for expression
9076 line up from pretty-expr.
9077 (verilog-in-parenthesis-p): Query returns true if point is in a
9078 parenthetical expression, specifically ( ) but not [ ] or { };
9079 used by pretty-expr.
9080 (verilog-just-one-space): If there is no space, don't add one.
9081 (verilog-get-lineup-indent-2): Specifically skip just attribute
9082 contexts for expression lineup, rather than skipping all
9083 parenthetical expressions.
9084 (verilog-calculate-indent): Fix comment, and fix indent.
9085 (verilog-do-indent): Indent declarations in lists (suggested by
9086 Joachim Lechner).
9087 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9088 skeleton items.
9089 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9090 by Alain Mellan).
9091
9092 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
9093
9094 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9095 parameters with embedded comments. Reported by Ray Stevens.
9096 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9097 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9098 Reported by Tim Holt.
9099 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9100 instantiated by upper module causing wrong expansion until AUTOed a
9101 second time. Reported by K C Buckenmaier.
9102 (verilog-diff-auto): Fix showing .* as a difference when
9103 `verilog-auto-star-save' off. Reported by Dan Dever.
9104 (verilog-auto-reset, verilog-read-always-signals)
9105 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9106 temporary signals in reset list if
9107 verilog-auto-reset-blocking-in-non is nil, and match assignment
9108 style to each signal's assignment type, bug381.
9109 Reported by Thomas Esposito.
9110 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9111 (verilog-uvm-statement-re): Support UVM indentation and
9112 highlighting, with old OVM keywords only.
9113 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9114 Support AUTOTIEOFF creating non-wire data types.
9115 Suggested by Jonathan Greenlaw.
9116 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9117 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9118 (verilog-inject-sense, verilog-read-inst-pins)
9119 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9120 Fix mismatching parenthesis inside commented out code when deleting
9121 AUTOINST, bug383. Reported by Jonathan Greenlaw.
9122 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9123 non-numeric vector width. Reported by Alex Reed.
9124 (verilog-auto-ascii-enum): Add "onehot" option to work around not
9125 detecting signals with parameter widths. Reported by Alex Reed.
9126 (verilog-auto-delete-trailing-whitespace):
9127 With `verilog-auto-delete-trailing-whitespace' remove trailing
9128 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9129 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9130 Fix verilog-scan-cache corruption when running user AUTO expansion
9131 hooks that call indentation routines.
9132 (verilog-simplify-range-expression): Fix typo ignoring lower case
9133 identifiers.
9134 (verilog-delete-auto): Fix delete-autos to also remove user created
9135 automatics, as long as they start with AUTO.
9136 (verilog-batch-diff-auto, verilog-diff-auto)
9137 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9138 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9139 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9140 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9141 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9142 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9143 is disabled and its cache will get corrupt, causing AUTOS not to
9144 expand. Instead use only -quick functions.
9145 (verilog-scan-region): Fix scanning over escaped quotes.
9146 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9147 (verilog-re-search-backward-quick)
9148 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9149 related functions now ignore strings, to fix misparsing of strings
9150 with magic comments embedded in them.
9151 (verilog-read-auto-template):
9152 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9153 Reported by Brad Dobbie.
9154 (verilog-read-auto-template):
9155 Fix 'verilog-auto-inst-template-numbers' with comments.
9156 Reported by Brad Dobbie.
9157 (verilog-auto-inst, verilog-auto-inst-param)
9158 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9159 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9160 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9161 debugging templates without merge conflicts, bug357.
9162 Reported by Brad Dobbie.
9163 (verilog-read-auto-template):
9164 Fix verilog-auto-inst-template-numbers with multiple templates.
9165 Reported by Brad Dobbie.
9166 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9167 abbrevs so user won't be asked to save.
9168 (verilog-read-auto-lisp-present): Fix to start at beginning of
9169 buffer in case called outside of verilog-auto.
9170 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9171 to "X-2". Reported by Matthew Myers.
9172 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9173 all inputs from module templates. Reported by Leith Johnson.
9174 (verilog-module-inside-filename-p): Fix locating programs as with
9175 modules.
9176 (verilog-auto-inst-port): Fix vl-width expressions when using
9177 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9178 (verilog-decls-get-regs, verilog-decls-get-signals,
9179 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9180 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9181 verilog-read-decls): Combine reg and wire structures into one var
9182 structure to represent SystemVerilog concepts.
9183 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9184 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9185 (verilog-auto-wire-type, verilog-insert-definition):
9186 Add verilog-auto-wire-type and AUTOLOGIC to support using
9187 SystemVerilog "logic" keyword instead of "wire"/"reg".
9188 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9189 to declares outputs that also have assignments (presumably in an
9190 ifdef or generate if so there's not a driver conflict).
9191 Reported by Matthew Myers.
9192 (verilog-auto-declare-nettype, verilog-insert-definition):
9193 Add verilog-auto-declare-nettype to fix declarations using
9194 `default_nettype none. Reported by Julian Gorfajn.
9195 (verilog-read-always-signals-recurse, verilog-read-decls)
9196 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9197 malformed end statement, bug325. Reported by Joshua Wise and
9198 Andrew Drake.
9199 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9200 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9201 when expanding .* in interfaces, bug320.
9202 Reported by Pierre-David Pfister.
9203 (verilog-read-module-name): Fix import statements between module
9204 name and open parenthesis, bug317.
9205 Reported by Pierre-David Pfister.
9206 (verilog-simplify-range-expression): Fix simplification of
9207 multiplications inside AUTOWIRE connections, bug303.
9208 (verilog-auto-inst-port): Support parameter expansion in
9209 multidimensional arrays.
9210 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9211 after "assert property". Reported by Julian Gorfajn.
9212 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9213 with multiplication, bug303.
9214 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9215 Reported by Jan Frode Lonnum.
9216
9217 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9218
9219 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9220 (hfy-shell-file-name, hfy-shell):
9221 * international/fontset.el (x-decompose-font-name): Fix typos.
9222
9223 2011-11-29 Ken Brown <kbrown@cornell.edu>
9224
9225 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9226 (gdb-version): Remove defvar.
9227 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9228 (gdb-gud-context-command, gdb-non-stop-handler)
9229 (gdb-current-context-command, gdb-stopped): Use it.
9230 (gdb-init-1): Enable pretty printing here.
9231 (gdb-non-stop-handler): Don't enable pretty-printing here.
9232 Check to see if the target supports non-stop mode; if not, turn off
9233 non-stop mode. Use the following.
9234 (gdb-check-target-async): New defun.
9235 (gud-watch, gdb-stopped): Fix whitespace.
9236 (gdb-get-source-file): Don't try to display the source file if
9237 `gdb-main-file' is nil.
9238
9239 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * align.el: Try to generate fewer markers (bug#10047).
9242 (align--set-marker): New macro.
9243 (align-region): Use it.
9244
9245 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9248
9249 2011-11-29 Chong Yidong <cyd@gnu.org>
9250
9251 * indent.el (indent-for-tab-command, indent-according-to-mode):
9252 Doc fix.
9253 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9254
9255 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9258 aware of remote file names. (Bug#10124)
9259
9260 2011-11-29 Chong Yidong <cyd@gnu.org>
9261
9262 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9263
9264 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * files.el (find-file): Don't use force-same-window (bug#10144).
9267 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9268 use pop-to-buffer if the selected window can't be used.
9269 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9270
9271 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9272
9273 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9274 special-mode-map.
9275
9276 2011-11-28 Chong Yidong <cyd@gnu.org>
9277
9278 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9279
9280 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
9281
9282 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9283 gdb-get-source-file-list on gdb-create-source-file-list.
9284
9285 2011-11-26 Eli Zaretskii <eliz@gnu.org>
9286
9287 * whitespace.el (whitespace-newline): Use a different foreground
9288 color for 16-color light-background displays.
9289
9290 2011-11-24 Chong Yidong <cyd@gnu.org>
9291
9292 * window.el (display-buffer--special-action): Doc fix.
9293
9294 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
9295
9296 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9297 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9298 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9299 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9300 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9301 (avl-tree-stack-first):
9302 * emacs-lisp/cconv.el (cconv--analyse-use):
9303 * net/gnutls.el (gnutls-negotiate): Fix typos.
9304
9305 2011-11-24 Glenn Morris <rgm@gnu.org>
9306
9307 * lpr.el (lpr-windows-system, lpr-lp-system):
9308 * mail/binhex.el (binhex-begin-line):
9309 * progmodes/grep.el (grep-history, grep-find-history):
9310 * textmodes/flyspell.el:
9311 * vc/pcvs-defs.el (cvs-global-menu):
9312 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9313 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9314 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9315
9316 * net/tls.el: Fix case of "GnuTLS".
9317
9318 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9319
9320 * version.el (emacs-build-system): Give it a doc-string.
9321
9322 2011-11-24 Juri Linkov <juri@jurta.org>
9323
9324 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9325
9326 2011-11-24 Glenn Morris <rgm@gnu.org>
9327
9328 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9329 if called on a non-mime message just toggle the headers. (Bug#8006)
9330
9331 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9334 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9335 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9336 (allout-rebullet-heading, allout-open-sibtopic)
9337 (allout-toggle-current-subtree-encryption)
9338 (allout-toggle-subtree-encryption, allout-encrypt-string)
9339 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9340 (allout-distinctive-bullets-string, allout-auto-activation):
9341 * window.el (window-normalize-buffer-to-display):
9342 * progmodes/verilog-mode.el (verilog-batch-indent):
9343 * textmodes/bibtex.el (bibtex-field-braces-opt)
9344 (bibtex-field-strings-opt):
9345 * vc/cvs-status.el (cvs-tree-merge):
9346 Fix typos.
9347
9348 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9349
9350 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9351 `non-essential' to t, in order to avoid remote connections.
9352
9353 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9354
9355 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9356 On MS-DOS and MS-Windows, compare with loaddefs.el
9357 case-insensitively.
9358
9359 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9360
9361 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9362
9363 2011-11-23 Glenn Morris <rgm@gnu.org>
9364
9365 * paths.el (rmail-file-name): Reformat the doc-string so that it
9366 is picked up.
9367
9368 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9369 (rmail-auto-file): Ignore case in the "special" field names,
9370 as mail-fetch-field does for all others.
9371
9372 * mail/rmail.el (rmail-forward):
9373 * mail/rmailkwd.el (rmail-set-label):
9374 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9375 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9376
9377 * mail/rmail.el (rmail-current-message): Doc fix.
9378
9379 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9380
9381 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9384
9385 2011-11-22 Glenn Morris <rgm@gnu.org>
9386
9387 * mail/rmailmm.el (test-rmail-mime-handler)
9388 (test-rmail-mime-bulk-handler)
9389 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9390
9391 2011-11-21 Juri Linkov <juri@jurta.org>
9392
9393 * calc/calc.el (calc-read-key-sequence):
9394 Let-bind `input-method-function' to nil. (Bug#10018)
9395
9396 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9397
9398 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9399 Tell the caller that the next line needs recomputation, even
9400 though it doesn't start a sexp (bug#10094).
9401
9402 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9405
9406 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9409 Use force-same-window.
9410
9411 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9412
9413 * descr-text.el (describe-char-unicode-data):
9414 * json.el (json-string-escape):
9415 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9416 (Footnote-unicode, Footnote-style-p):
9417 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9418
9419 2011-11-20 Chong Yidong <cyd@gnu.org>
9420
9421 * window.el (replace-buffer-in-windows): Restore interactive spec.
9422
9423 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9426
9427 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9428 (byte-compile-global-not-obsolete-vars): New var.
9429 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9430 Use it.
9431 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9432
9433 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9434
9435 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9436 * progmodes/pascal.el (electric-pascal-equal):
9437 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9438 * xml.el (xml-substitute-special): Fix typos.
9439
9440 2011-11-20 Glenn Morris <rgm@gnu.org>
9441
9442 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9443 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9444 Doc fixes.
9445 (rmail-decode-mime-charset): Mark as obsolete.
9446
9447 * mail/rmailsum.el (rmail-message-regexp-p-1):
9448 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9449 Before using mime functions, check they are set. (Bug#10077)
9450
9451 2011-11-19 Juri Linkov <juri@jurta.org>
9452
9453 * info.el (Info-finder-find-node): Use `package--builtins' instead
9454 of `package-alist'. Use node names formed by the pattern "Keyword "
9455 and the keyword name.
9456
9457 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9458
9459 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9460
9461 2011-11-19 Juri Linkov <juri@jurta.org>
9462
9463 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9464 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9465 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9466 `old-history', `old-history-forward'. Add let-binding
9467 `window-selected'. Remove calls to `kill-buffer',
9468 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9469 before calling `Info-find-node', so `Info-find-node-2' will reread
9470 the Info file. Restore window positions only when `window-selected'
9471 is non-nil.
9472
9473 2011-11-19 Juri Linkov <juri@jurta.org>
9474
9475 * isearch.el (isearch-lazy-highlight-new-loop):
9476 Remove condition `(not isearch-error)'. (Bug#9918)
9477
9478 * misearch.el (multi-isearch-search-fun): Add condition
9479 `(not bound)' to ignore lazy-highlighting search.
9480 Add the search-failed message "end of multi" when the end of
9481 multi-sequence is reached. Uncapitalize the search-failed
9482 message "Repeat for next buffer".
9483
9484 * info.el (Info-search): Add the search-failed message
9485 "end of the manual" when the end of the manual is reached
9486 in Isearch mode.
9487
9488 2011-11-19 Juri Linkov <juri@jurta.org>
9489
9490 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9491 Use non-destructive `remove' instead of `delete' because
9492 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9493 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9494
9495 2011-11-19 Juri Linkov <juri@jurta.org>
9496
9497 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9498 to nil instead of binding `search-ring' and `regexp-search-ring'.
9499 (Bug#9185)
9500
9501 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9502
9503 * simple.el (line-move): Force movement by logical lines for any
9504 hscrolled window, not only when auto-hscroll-mode is on.
9505 (line-move-visual): Update doc string to that effect. (Bug#10076)
9506
9507 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9508
9509 * language/european.el (macintosh): Define as alias for mac-roman.
9510
9511 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9512
9513 * mail/rmailmm.el (rmail-mime-display-header)
9514 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9515 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9516 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9517 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9518 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9519 of a raw aref.
9520 (rmail-mime-entity-segment): To get past the tagline, move forward
9521 2 more lines, to account for the 2 empty lines that precede and
9522 follow the line with the buttons.
9523 (rmail-mime-update-tagline): Move one more line, to get past the
9524 empty line that follows the buttons in the tagline. (Bug#9520)
9525
9526 2011-11-19 Martin Rudalics <rudalics@gmx.at>
9527
9528 * window.el (window-max-delta-1, window-min-delta-1)
9529 (window-min-size-1, window-state-get-1, window-state-put-1)
9530 (window-state-put-2): Use "window--" prefix.
9531
9532 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9535 (smie-warning-count): New var.
9536 (smie-set-prec2tab): Use it.
9537 (smie-bnf->prec2): Improve warnings. Add docstring.
9538 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9539 (smie-bnf--set-class): New function.
9540 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9541 corner case.
9542
9543 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9544 (compilation-error-properties, compilation-move-to-column):
9545 Handle compilation-first-column while in the target buffer.
9546
9547 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9548 Don't hardcode point-min==1.
9549
9550 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9551 (eshell-rewrite-for-command): Remove workaround.
9552 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9553 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9554 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9555
9556 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9557
9558 2011-11-17 Glenn Morris <rgm@gnu.org>
9559
9560 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9561 Ignore buffer-local generated-autoload-file if it is the same
9562 as the global value. (Bug#10049)
9563
9564 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
9565
9566 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9567 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9568 (reftex-toc-previous-heading, reftex-toc-max-level)
9569 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9570 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9571 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9572 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9573 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9574 (reftex-toc-rename-label, reftex-toc-visit-location)
9575 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9576 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9577 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9578 leaving "*toc*" only for references to the buffer.
9579
9580 2011-11-17 Martin Rudalics <rudalics@gmx.at>
9581
9582 * window.el (window-resize, delete-window, split-window):
9583 Replace window-splits by window-combination-resize.
9584 * cus-start.el (window-splits): Replace by window-combination-resize.
9585
9586 2011-11-17 Glenn Morris <rgm@gnu.org>
9587
9588 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9589 Make bash entry derive from sh entry, not shell entry.
9590
9591 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
9592
9593 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9594 local file name.
9595
9596 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * menu-bar.el (menu-bar-file-menu):
9599 * printing.el (pr-ps-utility):
9600 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9601 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9602 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9603 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9604 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9605 (icalendar--convert-cyclic-to-ical)
9606 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9607 (icalendar--convert-ical-to-diary)
9608 (icalendar--convert-recurring-to-diary)
9609 (icalendar--convert-non-recurring-all-day-to-diary)
9610 (icalendar-import-format-sample):
9611 * progmodes/idlw-shell.el (idlwave-shell-mode):
9612 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9613 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9614 (vhdl-ps-print-init): Fix typos.
9615
9616 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9617
9618 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9619 FSF and collapse date sequence, obscure author/maintainer email address
9620 better, remove extra version line, track relocation of author's webpage.
9621
9622 * progmodes/python.el (python-pdbtrack-input-prompt)
9623 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9624 regular python pdb prompts. Adjustments shamelessly taken exactly as
9625 suggested in EmacsWiki page (tiny change):
9626 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9627
9628 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9629
9630 * expand.el (expand-pos, expand-index, expand-point):
9631 Remove redundant info from docstring.
9632 (expand-add-abbrevs): Doc fix.
9633 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9634 (expand-sample-perl-mode-expand-list): Fix typos.
9635
9636 * net/dbus.el (dbus-event-member-name):
9637 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9638 * term/pc-win.el (msdos-create-frame-with-faces):
9639 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9640
9641 2011-11-16 Martin Rudalics <rudalics@gmx.at>
9642
9643 * window.el (split-window, window-state-get-1)
9644 (window-state-put-1, window-state-put-2): Rename occurrences of
9645 window-nest to window-combination-limit.
9646 * cus-start.el (window-nest): Rename to window-combination-limit.
9647
9648 2011-11-16 Chong Yidong <cyd@gnu.org>
9649
9650 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9651 regexp (Bug#10033).
9652
9653 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9656 `completing-read' will remove *Completions* and will preserve
9657 current-buffer for us.
9658 (tmm-add-prompt): Users of *Completions* will always (re)set its
9659 major mode.
9660 (tmm-old-comp-map): Remove.
9661
9662 2011-11-16 Glenn Morris <rgm@gnu.org>
9663
9664 * mail/rmailedit.el: Require rmailmm when compiling.
9665 (rmail-old-mime-state): New declaration.
9666 (rmail-edit-current-message): If editing a mime message,
9667 edit the "raw" message from the mbox buffer.
9668 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9669
9670 2011-11-15 Glenn Morris <rgm@gnu.org>
9671
9672 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9673 which wasn't being used. Add optional arg to force given state.
9674 (rmail-mime): Add optional arg to force given state.
9675
9676 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9677
9678 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9679 * frame.el (display-mm-dimensions-alist):
9680 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9681 (outline-move-subtree-down):
9682 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9683 (newsticker--treeview-do-get-node):
9684 * net/quickurl.el (quickurl-list-buffer-name):
9685 * progmodes/dcl-mode.el (dcl-mode):
9686 * progmodes/gdb-mi.el (gdb-mapcar*):
9687 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9688
9689 2011-11-15 Glenn Morris <rgm@gnu.org>
9690
9691 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9692 in a boolean sense, so just make it a boolean, and fix the doc.
9693 (rmail-show-mime-function, rmail-mime-feature)
9694 (rmail-require-mime-maybe): Doc fixes.
9695 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9696
9697 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9698
9699 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9700
9701 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9702 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9703 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9704 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9705
9706 2011-11-15 Glenn Morris <rgm@gnu.org>
9707
9708 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9709 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9710 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9711 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9712 (rmail-mime, rmail-show-mime): Doc fixes.
9713
9714 * term/ns-win.el (mode-line-frame-identification):
9715 Leave it alone. (Bug#10051)
9716
9717 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9718
9719 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9720 Handle empty buffers. (Bug#9978)
9721
9722 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * international/mule.el (define-charset):
9725 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9726 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9727 * progmodes/verilog-mode.el (verilog-backward-token):
9728 * textmodes/ispell.el (lookup-words):
9729 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9730
9731 2011-11-14 Glenn Morris <rgm@gnu.org>
9732
9733 * progmodes/executable.el
9734 (executable-make-buffer-file-executable-if-script-p):
9735 Handle file-modes returning nil.
9736
9737 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9738 message - not necessary, and causes problems. (Bug#9831)
9739
9740 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9741
9742 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9743
9744 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9745 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9746 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9747
9748 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9749
9750 * window.el (window-resize, delete-window): Use window-splits
9751 variable instead of function.
9752 (window-state-get-1, window-state-put-2, window-state-put):
9753 Don't deal with windows' splits status.
9754
9755 2011-11-12 Glenn Morris <rgm@gnu.org>
9756
9757 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9758 (apropos-documentation): Doc fixes.
9759
9760 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9761
9762 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9763 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9764
9765 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * electric.el (electric-indent-post-self-insert-function): Make it
9768 possible for a char to only indent in some circumstances.
9769 (electric-indent-mode): Simplify.
9770
9771 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9772
9773 * window.el (windows-with-parameter): Remove unused function.
9774 (windows-at-side): Rename to window-at-side-list.
9775 (window-check, window-atom-check, window-atom-check-1)
9776 (window-side-check, window-size-ignore, window-size-fixed-1)
9777 (window-in-direction-2): Prefix with "window--".
9778 (window-tree-1): Rename to window--subtree, fix doc-string.
9779
9780 2011-11-11 Glenn Morris <rgm@gnu.org>
9781
9782 * subr.el (eval-after-load): If FILE is already loaded,
9783 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9784
9785 2011-11-10 Glenn Morris <rgm@gnu.org>
9786
9787 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9788 Call svn via vc-svn-command rather than vc-do-command.
9789 (vc-svn-command): Add --non-interactive. (Bug#9993)
9790 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9791
9792 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9793 Add toggle-read-only. (Bug#7292)
9794 * files.el (toggle-read-only): Mention that it should only
9795 be used interactively. (Bug#10006)
9796
9797 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9800 Adjust regexp for OCaml warnings.
9801
9802 * electric.el (electric-pair-post-self-insert-function): Let user
9803 turn it off buffer-locally (bug#9932).
9804
9805 * progmodes/python.el (python-beginning-of-statement):
9806 Rewrite (bug#2703).
9807
9808 * progmodes/compile.el: Better handle TABs (bug#9749).
9809 (compilation-internal-error-properties)
9810 (compilation-next-error-function): Obey the target buffer's
9811 compilation-error-screen-columns.
9812
9813 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * progmodes/meta-mode.el: Remove obsolete comments.
9816 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9817 Fix typos in docstrings.
9818
9819 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9820
9821 * window.el (window-size-fixed-p): Rewrite doc-string.
9822 (window-resizable-p): Rename to window--resizable-p. Update callers.
9823 (window--resizable): New function. Make all callers of
9824 window-resizable call window--resizable instead.
9825 (window-resizable): Rewrite in terms of window--resizable.
9826
9827 2011-11-08 Glenn Morris <rgm@gnu.org>
9828
9829 * progmodes/delphi.el (delphi-mode-syntax-table):
9830 Let define-derived-mode define a proper syntax table. (Bug#9994)
9831
9832 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * window.el: Stay away from defsubst.
9835 (window-list-no-nils): Remove.
9836 (window-state-get-1, window-state-get): Use backquote instead.
9837
9838 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9839
9840 * emacs-lisp/find-func.el (find-function-read):
9841 Fix incorrect use of default argument in `completing-read'.
9842
9843 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9844
9845 * window.el (display-buffer-function, special-display-function):
9846 Mention display-buffer-record-window but do not mention
9847 help-setup parameter in doc-strings.
9848 (window-min-delta): Fix doc-string typo.
9849
9850 2011-11-08 Chong Yidong <cyd@gnu.org>
9851
9852 * window.el (window-total-height, window-total-width): Doc fix.
9853 (window-body-size): Move from C.
9854 (window-body-height, window-body-width): Move to C.
9855
9856 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9857
9858 * window.el: Make special-display like display-buffer-alist (bug#9532).
9859 (display-buffer--special-action): New function, morphed
9860 from display-buffer--special.
9861 (display-buffer): Use it to handle special-display-buffers at higher
9862 priority (just after display-buffer-alist).
9863 (display-buffer-fallback-action, display-buffer--other-frame-action)
9864 (pop-to-buffer-same-window): Remove display-buffer--special.
9865
9866 2011-11-07 Glenn Morris <rgm@gnu.org>
9867
9868 * calendar/cal-menu.el (cal-menu-set-date-title):
9869 Do nothing if not in a calendar. (Bug#9976)
9870
9871 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * files.el (find-file): Always use selected-window.
9874
9875 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9876
9877 * window.el (window-combinations): Make WINDOW argument
9878 mandatory. Rewrite doc-string.
9879 (walk-window-subtree, window-atom-check, window-min-delta)
9880 (window-max-delta, window--resize-this-window)
9881 (window--resize-root-window-vertically, window-tree)
9882 (balance-windows, window-state-put): Rewrite doc-strings as to
9883 not mention the term "subwindow".
9884 (window--resize-subwindows-skip-p): Rename to
9885 window--resize-child-windows-skip-p.
9886 (window--resize-subwindows-normal): Rename to
9887 window--resize-child-windows-normal.
9888 (window--resize-subwindows): Rename to
9889 window--resize-child-windows.
9890 (window-or-subwindow-p): Rename to window--in-subtree-p.
9891
9892 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9893
9894 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9895 Ensure that mbox format messages end in two newlines (Bug#9974).
9896
9897 2011-11-06 Chong Yidong <cyd@gnu.org>
9898
9899 * window.el (window-combination-p): Function deleted; its
9900 side-effect is not used in any existing code.
9901 (window-combinations, window-combined-p): Call window-*-child
9902 directly.
9903
9904 2011-11-05 Chong Yidong <cyd@gnu.org>
9905
9906 * window.el (window-valid-p): Rename from window-any-p.
9907 (window-size-ignore, window-state-get): Callers changed.
9908 (window-normalize-window): Rename from window-normalize-any-window.
9909 New arg LIVE-ONLY, replacing window-normalize-live-window.
9910 (window-normalize-live-window): Delete.
9911 (window-combination-p, window-combined-p, window-combinations)
9912 (walk-window-subtree, window-atom-root, window-min-size)
9913 (window-sizable, window-sizable-p, window-size-fixed-p)
9914 (window-min-delta, window-max-delta, window-resizable)
9915 (window-resizable-p, window-full-height-p, window-full-width-p)
9916 (window-current-scroll-bars, window-point-1, set-window-point-1)
9917 (window-at-side-p, window-in-direction, window-resize)
9918 (adjust-window-trailing-edge, maximize-window, minimize-window)
9919 (window-deletable-p, delete-window, delete-other-windows)
9920 (record-window-buffer, unrecord-window-buffer)
9921 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9922 (quit-window, split-window, window-state-put)
9923 (set-window-text-height, fit-window-to-buffer)
9924 (shrink-window-if-larger-than-buffer): Callers changed.
9925
9926 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9927
9928 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9929 rfc2047-decode-string.
9930 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9931 warnings.
9932
9933 * window.el (window-body-height, window-body-width): Mention in
9934 the doc string that the return values are in frame's canonical
9935 units. (Bug#9949)
9936
9937 2011-11-03 Alan Mackenzie <acm@muc.de>
9938
9939 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9940 change in cc-engine.el.
9941
9942 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9945
9946 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9947
9948 * window.el (quit-window): Call unrecord-window-buffer after
9949 showing another buffer in the window. (Bug#9937)
9950 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9951
9952 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9955 Accept status with more than 9 shelves. (Bug#9935)
9956 Reported by Colin D Bennett <colin@gibibit.com>.
9957
9958 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9959
9960 * help.el (with-help-window): Don't reference
9961 temp-buffer-show-specifiers in doc-string.
9962
9963 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9964
9965 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9966 menu-item.
9967
9968 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9969
9970 * whitespace.el: New version 13.2.2.
9971 (whitespace-newline-mode): Disable properly. Reported by Sarah
9972 <EmacsWiki>.
9973
9974 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9975
9976 * net/newst-treeview.el: Remove "Time-stamp".
9977 (newsticker--group-manage-orphan-feeds): Do not call
9978 newsticker--treeview-tree-update.
9979 (newsticker-treeview-update, newsticker-treeview):
9980 Call newsticker--treeview-tree-update if necessary.
9981
9982 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9983
9984 * window.el (window-iso-combination-p, window-iso-combined-p)
9985 (window-iso-combinations): Remove "iso-" infix.
9986 Suggested by Chong Yidong.
9987 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9988 (window-max-delta-1, window-resize, window--resize-siblings)
9989 (window--resize-this-window, adjust-window-trailing-edge)
9990 (split-window, balance-windows-1)
9991 (shrink-window-if-larger-than-buffer):
9992 * calendar/calendar.el (calendar-generate-window):
9993 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9994
9995 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9998 in place (bug#9907).
9999 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10000 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10001 (eshell-structure-basic-command, eshell-rewrite-while-command)
10002 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10003 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10004 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10005 (eshell-do-pipelines-synchronously, eshell-eval-command):
10006 Use backquotes and prefer setq to set.
10007 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10008 (eshell-macrop): Use functionp.
10009 (eshell-do-eval): Handle multiple expressions in `while' body.
10010
10011 2011-10-30 Chong Yidong <cyd@gnu.org>
10012
10013 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10014 instead of set-mark (Bug#9810).
10015
10016 2011-10-30 Chong Yidong <cyd@gnu.org>
10017
10018 * window.el (split-window-below, split-window-right): Rename from
10019 split-window-above-each-other and split-window-side-by-side
10020 respectively. All callers changed.
10021 (split-window-sensibly, split-window-sensibly): Use them.
10022 (split-window-keep-point): Doc fix.
10023
10024 * isearch.el: Add isearch-scroll property to split-window-below
10025 and split-window-right.
10026
10027 * follow.el (follow-mode):
10028 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10029 * progmodes/ada-xref.el (ada-gdb-application):
10030 * emulation/vip.el (vip-buffer-in-two-windows):
10031 * image-dired.el (image-dired-dired-with-window-configuration):
10032 * dired-x.el (dired-do-find-marked-files):
10033 * dired.el (dired-pop-to-buffer):
10034 * bs.el (bs--show-with-configuration):
10035 * vc/emerge.el (emerge-setup-windows):
10036 * textmodes/two-column.el (2C-two-columns):
10037 * textmodes/reftex-toc.el (reftex-toc):
10038 * progmodes/gdb-mi.el (gdb-setup-windows):
10039 * progmodes/fortran.el (fortran-window-create):
10040 * net/newst-treeview.el (newsticker--treeview-window-init):
10041 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10042 * emulation/tpu-edt.el (tpu-gold-map):
10043 * emulation/crisp.el (crisp-mode-map):
10044 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10045
10046 2011-10-29 Chong Yidong <cyd@gnu.org>
10047
10048 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10049
10050 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10051
10052 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10053 forged Ispell output (Bug#7904).
10054
10055 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10056
10057 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * doc-view.el: Avoid ugly errors about not finding nil.
10060 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10061 (doc-view-dvipdf-program, doc-view-unoconv-program)
10062 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10063 Avoid nil or absolute file name as default value.
10064 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10065
10066 2011-10-28 Alan Mackenzie <acm@muc.de>
10067
10068 * progmodes/cc-defs.el (c-version): -> 5.32.2.
10069
10070 2011-10-28 Alan Mackenzie <acm@muc.de>
10071
10072 Amend the handling of c-beginning/end-of-defun in nested declaration
10073 scopes.
10074
10075 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10076 cc-langs.el. Change it to a defcustom.
10077
10078 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10079 cc-vars.el.
10080
10081 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10082 Prevent "class foo : bar" being spuriously recognized as a label.
10083
10084 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10085 Add parameter `inclusive' (to include enclosing braces in the region).
10086 (c-widen-to-enclosing-decl-scope): New function.
10087 (c-while-widening-to-decl-block): New macro.
10088 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10089 outward for defun boundaries, and correspondingly change symbol
10090 `respect-enclosure' to `go-outward'.
10091 (c-declaration-limits): Change algorithm to report only the "innermost"
10092 defun's boundaries.
10093
10094 2011-10-28 Deniz Dogan <deniz@dogan.se>
10095
10096 * net/rcirc.el (rcirc-mode): Use hard newlines.
10097
10098 2011-10-28 Alan Mackenzie <acm@muc.de>
10099
10100 Amend to indent and fontify macros "which include their own semicolon"
10101 correctly, using the "virtual semicolon" mechanism.
10102
10103 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10104
10105 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10106 Recode to scan one line at a time rather than having \n and \r
10107 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10108 (c-forward-label): Amend for virtual semicolons.
10109 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10110
10111 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10112 of the new C macros.
10113
10114 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10115 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10116 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10117 (c-opt-cpp-macro-define): Make into a full language variable.
10118 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10119 AWK Mode (including \n, \r) removed, no longer needed.
10120
10121 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10122 Invoke c-make-macro-with-semi-re.
10123
10124 * progmodes/cc-vars.el (c-macro-with-semi-re):
10125 (c-macro-names-with-semicolon): New variables.
10126 (c-make-macro-with-semi-re): New function.
10127
10128 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * vc/log-edit.el: Fill empty field rather than adding new one.
10131 (log-edit-add-field): New function.
10132 (log-edit-insert-changelog): Use it.
10133
10134 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10135
10136 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10137
10138 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10141 (gdb--check-interpreter): New function.
10142 (gdb): Use it.
10143
10144 2011-10-27 Glenn Morris <rgm@gnu.org>
10145
10146 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10147 (least-positive-float, least-negative-float)
10148 (least-positive-normalized-float, least-negative-normalized-float)
10149 (float-epsilon, float-negative-epsilon):
10150 Remove unnecessary declarations.
10151
10152 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10153 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10154 (least-positive-float, least-negative-float)
10155 (least-positive-normalized-float, least-negative-normalized-float)
10156 (float-epsilon, float-negative-epsilon): Add doc-strings,
10157 based on those in cl.texi.
10158
10159 * files.el (set-visited-file-name): If the major-mode changed,
10160 reload the local variables. (Bug#9796)
10161
10162 2011-10-27 Chong Yidong <cyd@gnu.org>
10163
10164 * subr.el (change-major-mode-after-body-hook): New hook.
10165 (run-mode-hooks): Run it.
10166
10167 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10168 Use change-major-mode-before-body-hook.
10169
10170 * simple.el (fundamental-mode):
10171 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10172 change introducing fundamental-mode-hook.
10173
10174 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10175
10176 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10177
10178 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10179
10180 * ido.el (ido-file-name-all-completions-1): Do not require
10181 tramp.el explicitly. (Bug#7583)
10182
10183 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * progmodes/octave-mod.el:
10186 * progmodes/octave-inf.el: Update maintainer.
10187
10188 2011-10-26 Chong Yidong <cyd@gnu.org>
10189
10190 * subr.el (with-wrapper-hook): Rewrite doc.
10191
10192 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10193
10194 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10195 filenames "/method:foo:". (Bug#9793)
10196
10197 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10200 (bug#9865).
10201
10202 2011-10-24 Glenn Morris <rgm@gnu.org>
10203
10204 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10205
10206 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10207
10208 * notifications.el: Add the requirement of a running D-Bus session
10209 bus to the Commentary.
10210
10211 2011-10-24 Juri Linkov <juri@jurta.org>
10212
10213 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10214 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10215 (Bug#9364)
10216
10217 2011-10-24 Juri Linkov <juri@jurta.org>
10218
10219 * info.el (Info-following-node-name-re): Add newline to the list
10220 of allowed characters for leading space. (Bug#9824)
10221
10222 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10223
10224 * progmodes/octave-inf.el (inferior-octave-mode-map):
10225 Fix C-c C-h binding.
10226 * progmodes/octave-mod.el (octave-help): Remove.
10227
10228 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10229
10230 Sync with Tramp 2.2.3.
10231
10232 * net/tramp-cache.el (top): Pacify byte-compiler using
10233 `init-file-user' and `site-run-file'.
10234
10235 * net/trampver.el: Update release number.
10236
10237 2011-10-23 Chong Yidong <cyd@gnu.org>
10238
10239 * files.el (toggle-read-only): Remove obsolete comment about
10240 version control.
10241
10242 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10243 for toggle-read-only. Note that this hasn't called vc-next-action
10244 since 2008-05-02, though it wasn't documented at the time.
10245
10246 * vc/ediff-init.el (ediff-toggle-read-only-function):
10247 Use toggle-read-only.
10248
10249 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10250
10251 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10252 of c-parse-state.
10253
10254 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10255 correct faulty logical expression.
10256 (c-parse-state-state, c-record-parse-state-state):
10257 (c-replay-parse-state-state): New defvar/defuns.
10258 (c-debug-parse-state): Use new functions.
10259
10260 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10261
10262 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10263 last fix. Use window-in-direction correctly.
10264
10265 2011-10-21 Chong Yidong <cyd@gnu.org>
10266
10267 * progmodes/idlwave.el (idlwave-mode):
10268 * progmodes/vera-mode.el (vera-mode): No need to set
10269 require-final-newline; that's done in prog-mode.
10270 Suggested by Stefan Monnier.
10271
10272 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10273
10274 * mouse.el (mouse-drag-window-above)
10275 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10276 (mouse-drag-mode-line-1, mouse-drag-header-line)
10277 (mouse-drag-vertical-line-rightward-window): Remove.
10278 (mouse-drag-line): New function.
10279 (mouse-drag-mode-line, mouse-drag-header-line)
10280 (mouse-drag-vertical-line): Call mouse-drag-line.
10281 * window.el (window-at-side-p, windows-at-side): New functions.
10282
10283 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
10284
10285 * tar-mode.el (tar-grind-file-mode):
10286 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10287
10288 2011-10-21 Chong Yidong <cyd@gnu.org>
10289
10290 * progmodes/idlwave.el (idlwave-mode):
10291 * progmodes/vera-mode.el (vera-mode):
10292 Use mode-require-final-newline.
10293
10294 2011-10-20 Glenn Morris <rgm@gnu.org>
10295
10296 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
10297
10298 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10299
10300 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10301
10302 2011-10-20 Chong Yidong <cyd@gnu.org>
10303
10304 * emulation/cua-base.el (cua-mode):
10305 * mail/footnote.el (footnote-mode):
10306 * mail/mailabbrev.el (mail-abbrevs-mode):
10307 * net/xesam.el (xesam-minor-mode):
10308 * progmodes/bug-reference.el (bug-reference-mode):
10309 * progmodes/cap-words.el (capitalized-words-mode):
10310 * progmodes/compile.el (compilation-minor-mode)
10311 (compilation-shell-minor-mode):
10312 * progmodes/gud.el (gud-tooltip-mode):
10313 * progmodes/hideif.el (hide-ifdef-mode):
10314 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10315 * progmodes/subword.el (subword-mode):
10316 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10317 * progmodes/which-func.el (which-function-mode):
10318 * term/tvi970.el (tvi970-set-keypad-mode):
10319 * term/vt100.el (vt100-wide-mode):
10320 * textmodes/flyspell.el (flyspell-mode):
10321 * textmodes/ispell.el (ispell-minor-mode):
10322 * textmodes/nroff-mode.el (nroff-electric-mode):
10323 * textmodes/paragraphs.el (use-hard-newlines):
10324 * textmodes/refill.el (refill-mode):
10325 * textmodes/reftex.el (reftex-mode):
10326 * textmodes/rst.el (rst-minor-mode):
10327 * textmodes/sgml-mode.el (html-autoview-mode)
10328 (sgml-electric-tag-pair-mode):
10329 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10330 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10331 * emulation/crisp.el (crisp-mode):
10332 * emacs-lisp/eldoc.el (eldoc-mode):
10333 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10334 minor mode behavior.
10335
10336 2011-10-19 Juri Linkov <juri@jurta.org>
10337
10338 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10339 the list of hard-coded chars with escape-glyph face.
10340
10341 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10344
10345 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10346
10347 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10348 running process.
10349
10350 2011-10-19 Glenn Morris <rgm@gnu.org>
10351
10352 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10353 Ignore ignored files. (Bug#9726)
10354
10355 2011-10-19 Chong Yidong <cyd@gnu.org>
10356
10357 Doc fix for minor modes, stating that an omitted argument enables
10358 the mode unconditionally when called from Lisp.
10359
10360 * abbrev.el (abbrev-mode):
10361 * allout.el (allout-mode):
10362 * autoinsert.el (auto-insert-mode):
10363 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10364 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10365 (global-auto-revert-mode):
10366 * battery.el (display-battery-mode):
10367 * composite.el (global-auto-composition-mode)
10368 (auto-composition-mode):
10369 * delsel.el (delete-selection-mode):
10370 * desktop.el (desktop-save-mode):
10371 * dired-x.el (dired-omit-mode):
10372 * dirtrack.el (dirtrack-mode):
10373 * doc-view.el (doc-view-minor-mode):
10374 * double.el (double-mode):
10375 * electric.el (electric-indent-mode, electric-pair-mode):
10376 * emacs-lock.el (emacs-lock-mode):
10377 * epa-hook.el (auto-encryption-mode):
10378 * follow.el (follow-mode):
10379 * font-core.el (font-lock-mode):
10380 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10381 * help.el (temp-buffer-resize-mode):
10382 * hilit-chg.el (highlight-changes-mode)
10383 (highlight-changes-visible-mode):
10384 * hi-lock.el (hi-lock-mode):
10385 * hl-line.el (hl-line-mode, global-hl-line-mode):
10386 * icomplete.el (icomplete-mode):
10387 * ido.el (ido-everywhere):
10388 * image-file.el (auto-image-file-mode):
10389 * image-mode.el (image-minor-mode):
10390 * iswitchb.el (iswitchb-mode):
10391 * jka-cmpr-hook.el (auto-compression-mode):
10392 * linum.el (linum-mode):
10393 * longlines.el (longlines-mode):
10394 * master.el (master-mode):
10395 * mb-depth.el (minibuffer-depth-indicate-mode):
10396 * menu-bar.el (menu-bar-mode):
10397 * minibuf-eldef.el (minibuffer-electric-default-mode):
10398 * mouse-sel.el (mouse-sel-mode):
10399 * msb.el (msb-mode):
10400 * mwheel.el (mouse-wheel-mode):
10401 * outline.el (outline-minor-mode):
10402 * paren.el (show-paren-mode):
10403 * recentf.el (recentf-mode):
10404 * reveal.el (reveal-mode, global-reveal-mode):
10405 * rfn-eshadow.el (file-name-shadow-mode):
10406 * ruler-mode.el (ruler-mode):
10407 * savehist.el (savehist-mode):
10408 * scroll-all.el (scroll-all-mode):
10409 * scroll-bar.el (scroll-bar-mode):
10410 * server.el (server-mode):
10411 * shell.el (shell-dirtrack-mode):
10412 * simple.el (auto-fill-mode, transient-mark-mode)
10413 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10414 (line-number-mode, column-number-mode, size-indication-mode)
10415 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10416 * strokes.el (strokes-mode):
10417 * time.el (display-time-mode):
10418 * t-mouse.el (gpm-mouse-mode):
10419 * tool-bar.el (tool-bar-mode):
10420 * tooltip.el (tooltip-mode):
10421 * type-break.el (type-break-mode-line-message-mode)
10422 (type-break-query-mode):
10423 * view.el (view-mode):
10424 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10425 (global-whitespace-mode, global-whitespace-newline-mode):
10426 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10427
10428 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10429 Fix autogenerated docstring.
10430
10431 2011-10-19 Juri Linkov <juri@jurta.org>
10432
10433 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10434 by checking environment variables "DESKTOP_SESSION" and
10435 "XDG_CURRENT_DESKTOP". (Bug#9779)
10436
10437 2011-10-19 Juri Linkov <juri@jurta.org>
10438
10439 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10440 (browse-url-chromium-program, browse-url-chromium-arguments):
10441 New defcustoms.
10442 (browse-url-default-browser): Check for `browse-url-chromium' and
10443 call `browse-url-chromium-program'.
10444 (browse-url-chromium): New command. (Bug#9779)
10445
10446 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10447
10448 * facemenu.el (list-colors-duplicates): On Windows, detect more
10449 duplicates by assuming that only colors matching "^System" are
10450 special "system colors". (Bug#9722)
10451
10452 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10453
10454 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10455 to distinguish the author from the committer.
10456
10457 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10460
10461 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10462
10463 * international/mule.el (sgml-html-meta-auto-coding-function):
10464 Add support for detecting encoding in HTML5 specified only as
10465 <meta charset="UTF-8">. Implementation just makes http-equiv and
10466 content-type parts from HTML4 encoding string optional. (Bug#9716)
10467
10468 2011-10-18 Glenn Morris <rgm@gnu.org>
10469
10470 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10471
10472 2011-10-18 Chong Yidong <cyd@gnu.org>
10473
10474 * faces.el (cursor): Doc fix.
10475
10476 2011-10-17 Chong Yidong <cyd@gnu.org>
10477
10478 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10479
10480 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10481
10482 * dirtrack.el (dirtrack): Support shell buffers with path
10483 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10484
10485 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10486
10487 * json.el: Bump version to 1.3 and note change in History.
10488 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10489
10490 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * comint.el (comint-insert-input, comint-send-input)
10493 (comint-get-old-input-default, comint-backward-matching-input)
10494 (comint-next-prompt): Use nil instead of `input' for field property of
10495 past user input (bug#114).
10496
10497 * minibuffer.el (completion--replace): Inherit surrounding properties
10498 (bug#114).
10499 (minibuffer-complete-and-exit): Use it.
10500
10501 * comint.el (comint--table-subvert): Quote the all-completions output
10502 (bug#9160).
10503
10504 2011-10-17 Martin Rudalics <rudalics@gmx.at>
10505
10506 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10507
10508 * menu-bar.el (menu-bar-file-menu): Add entry for making new
10509 window on right of selected. (Bug#9350) Reword other window
10510 entries and separate them from frame entries.
10511
10512 2011-10-15 Glenn Morris <rgm@gnu.org>
10513
10514 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10515 Doc fixes.
10516
10517 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
10518
10519 * net/network-stream.el (network-stream-open-starttls):
10520 Improve detection of failure due to lack of TLS support.
10521
10522 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10523 putting the input text in front and in bold.
10524
10525 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10528
10529 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10530 empty buffer.
10531
10532 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10533 unread-command-events rather than pushing yet-another event.
10534
10535 2011-10-14 Eli Zaretskii <eliz@gnu.org>
10536
10537 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10538 the explanation of the possible choices. Make the options passed
10539 to completing-read shorter.
10540
10541 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10542
10543 * textmodes/flyspell.el (flyspell-large-region): Make sure
10544 extended character mode is used if defined (Bug#1339).
10545
10546 2011-10-13 Eli Zaretskii <eliz@gnu.org>
10547
10548 * simple.el (what-cursor-position): Fix the display of the
10549 character info for LRE, LRO, RLE, and RLO characters by appending
10550 an invisible PDF.
10551
10552 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10555 even in case of error; add debug spec; simplify data flow.
10556 (with-timeout-handler): Remove.
10557
10558 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
10559
10560 Fix Bug#6019, Bug#9315.
10561
10562 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10563 complete `buffer-file-name', the local file name part could look
10564 remotely (for example on VMS).
10565
10566 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10567 `tramp-run-real-handler'.
10568 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10569 already quoted by '"'.
10570
10571 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10572 Let `file-name-handler-alist' be nil, the local file name part
10573 could look remotely (for example on VMS).
10574
10575 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10578 from here...
10579 (flyspell-post-command-hook): ...to here.
10580
10581 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10584 if not needed.
10585 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10586 using completion. Protect against "slow" callers.
10587 Remove the "message hack".
10588
10589 2011-10-11 Juri Linkov <juri@jurta.org>
10590
10591 * isearch.el (isearch-lazy-highlight-word): New variable.
10592 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10593 Use it. (Bug#9727)
10594
10595 2011-10-11 Glenn Morris <rgm@gnu.org>
10596
10597 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10598 like f90-previous-statement does.
10599
10600 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10601
10602 * eshell/eshell.el (eshell-command): History should be saved
10603 only in interactive use, to avoid error.
10604
10605 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * minibuffer.el (completion-file-name-table): Fix last change,
10608 i.e. ignore normal errors but not the other ones.
10609
10610 2011-10-10 Martin Rudalics <rudalics@gmx.at>
10611
10612 * window.el (special-display-buffer-names)
10613 (special-display-regexps): Remove some remnants of earlier
10614 changes from doc-strings.
10615 (quit-windows-on): New function.
10616
10617 * vc/vc.el (vc-revert, vc-rollback):
10618 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10619 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
10620 (Bug#6183) (Bug#7074) (Bug#7447)
10621
10622 2011-10-09 Martin Rudalics <rudalics@gmx.at>
10623
10624 * window.el (frame-auto-hide-function): Add version tag.
10625 (Bug#9699)
10626
10627 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
10628
10629 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10630 condition.
10631
10632 2011-10-09 Leo Liu <sdl.web@gmail.com>
10633
10634 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10635 (Bug#9701)
10636
10637 2011-10-08 Glenn Morris <rgm@gnu.org>
10638
10639 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10640 before the first code statement zero indent. (Bug#9690)
10641
10642 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
10643
10644 * simple.el (count-words-region): Always count in the region.
10645 Report the number of lines and characters too.
10646 (count-words): New command, which counts in the buffer if the
10647 region is inactive, as count-words-region used to.
10648 (count-words--message): New function. Handle plurals.
10649 (count-lines-region): Make it an alias for count-words-region.
10650
10651 * bindings.el (esc-map): Replace count-lines-region with
10652 count-words-region.
10653
10654 2011-10-08 Martin Rudalics <rudalics@gmx.at>
10655
10656 * window.el (window--delete): Delete dedicated frame
10657 unconditionally when argument KILL is non-nil. (Bug#9699)
10658 (switch-to-buffer): Fix doc-string typo.
10659
10660 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10661
10662 * eshell/eshell.el (eshell-command): Avoid using hooks.
10663
10664 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
10665
10666 * bindings.el ([M-left],[M-right]): Bind to left-word and
10667 right-word respectively.
10668
10669 2011-10-07 Glenn Morris <rgm@gnu.org>
10670
10671 * cus-start.el (debug-on-quit): Fix custom type.
10672
10673 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10674
10675 * subr.el (define-key-after): Clarify that the function is not
10676 useful for non-menu keymaps.
10677
10678 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10679
10680 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10681
10682 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10683 in current minibuffer (Fix bug with recursive minibuffers).
10684
10685 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
10686
10687 * progmodes/gdb-mi.el (gdb): Doc fix.
10688
10689 2011-10-05 Martin Rudalics <rudalics@gmx.at>
10690
10691 * window.el (frame-auto-hide-function): New option replacing
10692 frame-auto-delete. Suggested by Stefan Monnier.
10693 (window--delete): Call frame-auto-hide-function instead of
10694 investigating frame-auto-delete.
10695 (window-point-1, set-window-point-1): New functions.
10696 (window-in-direction, record-window-buffer, window-state-get-1)
10697 (display-buffer-record-window): Use window-point-1 instead of
10698 window-point.
10699 (set-window-buffer-start-and-point): Use set-window-point-1.
10700
10701 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10702
10703 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10704
10705 2011-10-05 Glenn Morris <rgm@gnu.org>
10706
10707 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10708 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10709
10710 2011-10-05 Leo Liu <sdl.web@gmail.com>
10711
10712 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10713 works with buffer object.
10714
10715 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10716
10717 * mpc.el (mpc-tool-bar-map): Add labels.
10718
10719 2011-10-04 Glenn Morris <rgm@gnu.org>
10720
10721 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10722
10723 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10724
10725 * window.el (window--delete): New function.
10726 (frame-auto-delete): Resuscitate option.
10727 (bury-buffer, replace-buffer-in-windows)
10728 (quit-window): Rewrite using window--delete.
10729 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10730 Pass display-buffer-mark-dedicated to window--display-buffer-2
10731 (Bug#9639).
10732
10733 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10736 returns a list (bug#9554). Add remote file name completion.
10737 * comint.el (comint--table-subvert): Curry and get quote&unquote
10738 functions as arguments.
10739 (comint--complete-file-name-data): Adjust call accordingly.
10740 * pcomplete.el (pcomplete--table-subvert): Remove.
10741 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10742
10743 * minibuffer.el (completion-table-case-fold): Use currying.
10744 (completion--styles-type, completion--cycling-threshold-type):
10745 New constants.
10746 (completion-styles, completion-category-overrides)
10747 (completion-cycle-threshold): Use them.
10748 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10749 completion-table-case-fold.
10750
10751 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10752
10753 * minibuffer.el (completion-category-overrides): Fix type of styles
10754 and add more user friendly tags (bug#9660).
10755
10756 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10759 (mule-input-method-string): New widget.
10760 (default-input-method, language-info-custom-alist): Use it.
10761
10762 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * pcomplete.el: Require comint.
10765 (pcomplete--common-suffix): Remove.
10766 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10767 (pcomplete--table-subvert): Sync with comint--table-subvert.
10768 (pcomplete--entries): Use comint-completion-file-name-table.
10769 * comint.el (comint-unquote-filename): Simplify.
10770 (comint-completion-file-name-table): New function (bug#9616).
10771 (comint--complete-file-name-data): Use it.
10772
10773 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10774 (pcmpl-gnu-tar-buffer): Remove.
10775 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10776 around. Make sure pcomplete-suffix-list is only changed temporarily.
10777 Don't look inside the tar's file if it's too large.
10778
10779 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10780
10781 * cus-edit.el (custom-mode-map):
10782 * epa.el (epa-key-list-mode-map):
10783 * man.el (Man-mode-map):
10784 * startup.el (splash-screen-keymap):
10785 * simple.el (special-mode-map): Use scroll-up-command and
10786 scroll-down-command.
10787
10788 * progmodes/idlw-help.el (idlwave-help-mode-map):
10789 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10790 * net/newst-plainview.el (newsticker-mode-map):
10791 * emulation/ws-mode.el (wordstar-mode-map):
10792 * emulation/vi.el (vi-com-map):
10793 * calc/calc-graph.el (calc-graph-show-dumb):
10794 * term/sun.el (terminal-init-sun):
10795 * term/ns-win.el (global-map):
10796 * progmodes/grep.el (grep-mode-map):
10797 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10798 * mail/rmail.el (rmail-mode-map):
10799 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10800
10801 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10802 custom-safe-themes as special.
10803
10804 2011-10-01 Julien Danjou <julien@danjou.info>
10805
10806 * notifications.el (notifications-notify): Fix docstring.
10807
10808 2011-10-01 Per Starbäck <per@starback.se>
10809
10810 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10811
10812 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10813
10814 * startup.el (command-line-1): Fix last fix by inserting
10815 initial-scratch-message into *scratch* before displaying it.
10816 (Bug#9605) and (Bug#9636)
10817
10818 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10819
10820 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10821 window is hscrolled, move by logical lines. (Bug#9607)
10822 (line-move-visual): Update the doc string to the above effect.
10823
10824 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10825
10826 * window.el (display-buffer-record-window): When WINDOW is the
10827 selected window use `point' instead of `window-point'. (Bug#9626)
10828
10829 * startup.el (command-line-1): Use insert-before-markers when
10830 inserting initial-scratch-message. (Bug#9605)
10831
10832 * help.el (help-window): Remove variable.
10833
10834 2011-09-29 Glenn Morris <rgm@gnu.org>
10835
10836 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10837
10838 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10839
10840 * descr-text.el (describe-char-categories): Accept category
10841 descriptions more than one line long.
10842
10843 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * simple.el (delete-trailing-whitespace): Fix last change.
10846
10847 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10848 Don't confuse "y => 3" as the beginning of a `y' operation.
10849
10850 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10851 object has more than 4 slots (bug#9613).
10852
10853 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10854
10855 * subr.el (with-output-to-temp-buffer):
10856 * net/quickurl.el (quickurl, quickurl-browse-url):
10857 Fix typos in docstrings.
10858
10859 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10860
10861 * minibuffer.el (completion-styles)
10862 (completion-category-overrides): Cross reference each other in doc
10863 strings.
10864
10865 2011-09-27 Glenn Morris <rgm@gnu.org>
10866
10867 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10868 to split-string. (Bug#9606)
10869
10870 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10871
10872 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10873 (bug#9615).
10874
10875 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * emacs-lisp/package.el (list-packages): Fix echo area message.
10878
10879 2011-09-27 Leo Liu <sdl.web@gmail.com>
10880
10881 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10882
10883 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10884
10885 * net/dbus.el (dbus-unregister-object): Don't release services for
10886 registered signals. (Bug#9581)
10887
10888 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10889
10890 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10891 function that picks between cfengine 2 and 3 support
10892 automatically. Update docs accordingly.
10893
10894 2011-09-22 Kenichi Handa <handa@m17n.org>
10895
10896 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10897 ZERO.
10898 (indian-itrans-v5-table-for-tamil): New variable.
10899 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10900
10901 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10902
10903 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10904 that's true if the current command involved collapsing of text.
10905 It's reset to false at the beginning of the next command.
10906 (allout-post-command-business): Move the cursor to the beginning
10907 of entry if the cursor is hidden and collapsing activity just
10908 happened.
10909
10910 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10911
10912 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10913 tracking (Bug#9541).
10914
10915 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10916
10917 * net/newst-reader.el (newsticker-html-renderer)
10918 (newsticker-show-news): Automatically load html rendering package
10919 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10920 because w3m-fill-column is let-bound" and the error "Symbol's value
10921 as variable is void: w3m-fill-column".
10922
10923 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10924
10925 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10926 Release services only if they are defined. (Bug#9581)
10927
10928 2011-09-23 Richard Stallman <rms@gnu.org>
10929
10930 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10931 distinguish start of paragraph from start of its text.
10932
10933 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10934
10935 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10936 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10937 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10938
10939 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10940
10941 * international/mule-diag.el (mule-diag): Insert a newline after
10942 each fontset description.
10943
10944 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10945
10946 * simple.el (delete-trailing-whitespace):
10947 Document last change; simplify.
10948
10949 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10950
10951 * simple.el (delete-trailing-whitespace): Also delete
10952 extra newlines at the end of the buffer.
10953
10954 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10955 (picture-newline): Use forward-line so as to ignore fields.
10956
10957 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * subr.el (with-wrapper-hook): Fix edebug spec.
10960
10961 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10962
10963 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10964 (bug#4538).
10965
10966 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10967
10968 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10969 Fix nasty bug using wrong cached values.
10970
10971 2011-09-23 Alan Mackenzie <acm@muc.de>
10972
10973 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10974
10975 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10976
10977 * window.el (pop-to-buffer): Ensure right window is selected if we
10978 chose another frame.
10979
10980 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10981
10982 * simple.el (what-cursor-position): Use get-char-property-change
10983 and next-single-char-property-change, to be able to show display
10984 properties that come from overlays as well as text properties.
10985
10986 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10987
10988 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10989
10990 * cmuscheme.el (run-scheme, switch-to-scheme):
10991 * cus-edit.el (customize-group, custom-buffer-create)
10992 (customize-browse):
10993 * info.el (info):
10994 * shell.el (shell):
10995 * mail/sendmail.el (mail):
10996 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10997
10998 2011-09-22 Richard Stallman <rms@gnu.org>
10999
11000 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11001 move back only to line beg, don't move back over blank lines.
11002
11003 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
11004
11005 * files.el (copy-directory): Set directory attributes only in case
11006 they could be retrieved from the source directory. (Bug#9565)
11007
11008 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11009
11010 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11011 (hs-find-block-beginning, hs-hide-level-recursive):
11012 Ignore strings as well as comments. (Bug#9502)
11013
11014 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11015
11016 * progmodes/sql.el (sql-comint-postgres):
11017 Convert port number to a string. (Bug#9566)
11018
11019 2011-09-22 Martin Rudalics <rudalics@gmx.at>
11020
11021 * window.el (quit-window): Undedicate window when switching to
11022 previous buffer. Reported by Thierry Volpiatto
11023 <thierry.volpiatto@gmail.com>.
11024 (special-display-popup-frame): When popping up a new frame reset
11025 its previous buffers to nil. Simplify code.
11026
11027 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
11028
11029 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11030 and process filter, as done also in `shell-command'.
11031
11032 2011-09-21 Martin Rudalics <rudalics@gmx.at>
11033
11034 * window.el (set-window-buffer-start-and-point):
11035 Call set-window-start with NOFORCE argument t.
11036 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11037 (quit-window): Reword doc-string. Handle new format of
11038 quit-restore parameter. Don't delete window if it has a
11039 previous buffer we can show instead of the present one.
11040 (display-buffer-record-window): Rewrite using a new format for
11041 the quit-restore window parameter
11042 (special-display-popup-frame, display-buffer-same-window)
11043 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11044 (display-buffer-pop-up-window, display-buffer-use-some-window):
11045 Adapt symbol passed to display-buffer-record-window.
11046 * help.el (help-window-setup): Handle new format of quit-restore
11047 parameter.
11048
11049 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * faces.el (face-list): Fix docstring (bug#9564).
11052
11053 * window.el (display-buffer--action-function-custom-type):
11054 Don't include internal functions in the Custom interface.
11055
11056 2011-09-20 Juri Linkov <juri@jurta.org>
11057
11058 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11059 (Info-forward-node, Info-backward-node, Info-next-preorder)
11060 (Info-last-preorder): Use it. (Bug#9528)
11061
11062 2011-09-20 Juri Linkov <juri@jurta.org>
11063
11064 * info.el (Info-last-preorder): Visit last menu item only when
11065 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11066
11067 2011-09-20 Julien Danjou <julien@danjou.info>
11068
11069 * password-cache.el (password-cache-remove): Remove entries even if the
11070 value is nil, so that password with a nil value (negative caching) is
11071 possible to invalidate.
11072
11073 2011-09-20 Lawrence Mitchell <wence@gmx.li>
11074
11075 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11076 all whitespace around breakpoint. (Bug#9553)
11077 (f90-find-breakpoint): Only break at whitespace inside a comment.
11078
11079 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11080
11081 * minibuffer.el (completion-file-name-table): Keep track of errors.
11082 (completion-table-with-predicate): Handle the case where pred1 is nil.
11083 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11084
11085 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11088 (debugger-return-value): Signal an error if the debugging context does
11089 not await any return value.
11090
11091 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11092 * image-mode.el (image-toggle-display-text)
11093 (image-toggle-display-image): Stay away from evil `intangible'.
11094
11095 2011-09-19 Leo Liu <sdl.web@gmail.com>
11096
11097 * replace.el (occur-revert-arguments): Make it permanent-local.
11098 (occur-mode): Don't call font-lock-defontify.
11099
11100 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
11101
11102 * net/ldap.el (ldap-search-internal): Don't push empty search
11103 result (Bug#9508).
11104
11105 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11108
11109 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
11110
11111 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11112 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11113
11114 2011-09-18 Juri Linkov <juri@jurta.org>
11115
11116 * buff-menu.el (Buffer-menu-mode-map):
11117 * dired.el (dired-mode-map):
11118 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11119 (lisp-interaction-mode-map):
11120 * emacs-lisp/package.el (package-menu-mode-map):
11121 * epa.el (epa-key-list-mode-map):
11122 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11123 (menu-bar-options-menu):
11124 * outline.el (outline-mode-menu-bar-map):
11125 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11126 * vc/vc-dir.el (vc-dir-menu-map):
11127 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11128 Capitalize non-function content words in menu item strings.
11129
11130 * dired.el (dired-mode-map): Add menu item for
11131 `image-dired-dired-toggle-marked-thumbs'.
11132
11133 2011-09-18 Juri Linkov <juri@jurta.org>
11134
11135 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11136 to `isearch-case-fold-search' and restore its original value
11137 after the `isearch-mode' call.
11138
11139 2011-09-18 Juri Linkov <juri@jurta.org>
11140
11141 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11142 because `zgrep' returns 1 for successful matches (bug#9226).
11143
11144 2011-09-18 Juri Linkov <juri@jurta.org>
11145
11146 * info.el (Info-extract-menu-node-name): Check the second match
11147 for empty string (second test-case of bug#9528).
11148 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11149 intermediate nodes to the history (first test-case of bug#9528).
11150
11151 2011-09-18 Juri Linkov <juri@jurta.org>
11152
11153 * info.el (Info-mode-syntax-table): New variable.
11154 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11155
11156 2011-09-18 Juri Linkov <juri@jurta.org>
11157
11158 * info.el (Info-file-supports-index-cookies):
11159 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11160 outputs one more line for long file names (bug#4142).
11161
11162 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11163
11164 * newcomment.el (comment-normalize-vars): If prompting for
11165 comment-start, set comment-start-skip too (Bug#8424).
11166
11167 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11168
11169 * icomplete.el: Fix previous fix of Bug#5849.
11170 (icomplete-mode): Don't set completion-show-inline-help.
11171 (icomplete-minibuffer-setup): Set completion-show-inline-help
11172 locally during icompletion.
11173
11174 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11175
11176 * woman.el (woman2-process-escapes): Don't delete unrecognized
11177 escapes (Bug#7843).
11178
11179 * files.el (inhibit-first-line-modes-regexps): Add image files.
11180 (hack-local-variables-prop-line): Return nil for malformed
11181 prop-lines (Bug#9044).
11182
11183 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11184
11185 * net/tramp.el (top): Don't require 'shell.
11186 (tramp-methods): Fix docstring.
11187 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11188 Return complete remote file name. Handle "smb" case.
11189 Use `tramp-tmpdir', if defined for the respective method.
11190 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11191
11192 * net/tramp-compat.el (top): Require 'shell.
11193
11194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11195 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11196 `tramp-current-host'.
11197 (tramp-get-remote-tmpdir): Remove.
11198
11199 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11200 `tramp-tmpdir' entries.
11201 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11202 (tramp-smb-handle-file-attributes): Ignore errors.
11203 (tramp-smb-wait-for-output): Check also for process end.
11204
11205 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11206
11207 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11208 when sending QUIT (bug#9312).
11209
11210 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11211
11212 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11213 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11214 occur-mode-display-occurrence.
11215 (occur-edit-mode): Add usage message.
11216 (occur-cease-edit): New command.
11217 (occur-after-change-function): Use text properties to find the
11218 position of the prefix text.
11219 (occur-engine): Set stickiness of prefix text properties.
11220
11221 2011-09-17 Glenn Morris <rgm@gnu.org>
11222
11223 * progmodes/etags.el (complete-tag):
11224 Fix call to completion-in-region. (Bug#9526)
11225
11226 2011-09-17 Juri Linkov <juri@jurta.org>
11227
11228 * textmodes/ispell.el (ispell-word): Add to the error message
11229 the word, ispell program name and current dictionary (bug#9121).
11230 (ispell-tex-arg-end): Capitalize "error" in the error message.
11231
11232 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11233
11234 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11235 check. (Bug#4251)
11236
11237 2011-09-17 Juri Linkov <juri@jurta.org>
11238
11239 * window.el (window-safe-min-height, window-safe-min-width):
11240 Fix typos (followup to bug#9522).
11241
11242 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11243
11244 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11245
11246 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11247
11248 * simple.el (line-move): If goal-column is set, move by logical
11249 lines, not by display lines. (Bug#971)
11250 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11251 to reflect the above change.
11252
11253 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 * image.el (imagemagick-register-types): Use regexp-opt.
11256
11257 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11258
11259 * window.el (display-buffer-base-action): Rename from
11260 display-buffer-default-action. Make default value empty.
11261 (display-buffer-overriding-action): Convert to defvar.
11262 (display-buffer-fallback-action): New var.
11263
11264 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11265
11266 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11267 declaration.
11268 (package--add-to-archive-contents): If there is a duplicate entry
11269 with an older version, remove it.
11270 (package-menu-mark-delete, package-menu-mark-install)
11271 (package-menu-mark-unmark): Make unused args optional.
11272 (package-menu-mark-obsolete-for-deletion):
11273 Use package-menu-get-status instead of a regexp search.
11274 (package-menu-get-status): Use tabulated-list-entry.
11275 (package-menu-mark-upgrades): New command.
11276 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11277 (package-menu-execute): Do installation before deletion.
11278 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11279 instead of checking major-mode.
11280 (package-menu--find-upgrades): New function.
11281
11282 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11283
11284 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11285 passwords in the log buffer.
11286 (smtpmail-process-filter): Update the process marker so that the
11287 "broken by peer" status message is inserted in the right place.
11288
11289 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11292 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11293 bibtex-completion-at-point-function.
11294 (bibtex-completion-at-point-function): Use them.
11295
11296 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11297
11298 * mpc.el (mpc-constraints-tag-lookup): New function.
11299 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11300 also to browser "album|playlist".
11301
11302 2011-09-14 Juri Linkov <juri@jurta.org>
11303
11304 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11305 (isearch-edit-string): Use length of `isearch-string' when
11306 `isearch-fail-pos' returns nil.
11307 (isearch-message): Remove duplicate code and call
11308 `isearch-fail-pos' with arg `t'.
11309
11310 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11311
11312 * replace.el (occur-mode-goto-occurrence): Don't force using other
11313 window (Bug#9499).
11314
11315 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11316
11317 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11318
11319 * window.el (display-buffer-window): Remove.
11320 (display-buffer-record-window): Use help-setup window parameter
11321 instead of variable display-buffer-window.
11322 (display-buffer-function, special-display-buffer-names)
11323 (special-display-function): Mention help-setup parameter instead
11324 of display-buffer-window in doc-string.
11325 * help.el (help-window-setup): New argument help-window.
11326 Use help-window-setup parameter instead of display-buffer-window.
11327 Reword some messages.
11328 (with-help-window): Pass window used for displaying the buffer
11329 to help-window-setup. Don't set display-buffer-window.
11330
11331 2011-09-13 Glenn Morris <rgm@gnu.org>
11332
11333 * emacs-lisp/debug.el (debugger-make-xrefs):
11334 Preserve point. (Bug#9462)
11335
11336 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11337
11338 * window.el (window-deletable-p): Use next-frame.
11339
11340 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11341
11342 * window.el (window-auto-delete): Remove.
11343 (window-deletable-p): Remove argument FORCE. Don't deal with
11344 dedication and previous buffers.
11345 (switch-to-prev-buffer): Don't delete window.
11346 (delete-windows-on): Delete a window's frame if and only if the
11347 window is dedicated.
11348 (replace-buffer-in-windows): Delete buffer's window or frame if
11349 and only if window is dedicated.
11350 (quit-window): Handle quit-restore as before last change.
11351 (bury-buffer): Delete window only if window-deletable-p returns t.
11352
11353 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11354
11355 * window.el (window-deletable-p): Never delete the last frame on a
11356 given terminal.
11357
11358 2011-09-13 Glenn Morris <rgm@gnu.org>
11359
11360 * help.el (describe-key-briefly): Copy previous standard-output change.
11361
11362 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11363
11364 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11365
11366 2011-09-13 Glenn Morris <rgm@gnu.org>
11367
11368 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11369 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11370
11371 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11372
11373 * dired-aux.el (dired-mark-read-string): Don't return default
11374 value on empty input (Bug#9361).
11375 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11376 Omit initial minibuffer contents.
11377 (dired-do-chmod): Signal an error on empty input.
11378 (dired-mark-read-string): Don't return default on empty input.
11379
11380 * files.el (file-modes-symbolic-to-number): Doc fix.
11381
11382 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * international/mule-cmds.el (ucs-completions): Remove.
11385 (read-char-by-name): Use complete-with-action instead; add metadata.
11386
11387 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11388
11389 * window.el (display-buffer--action-function-custom-type)
11390 (display-buffer--action-custom-type): New vars.
11391 (display-buffer-alist, display-buffer-default-action)
11392 (display-buffer-overriding-action): Add defcustom types.
11393
11394 * frame.el (delete-other-frames): Doc fix (Bug#276).
11395
11396 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11397
11398 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11399
11400 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11401
11402 Change modes that used same-window-* vars to use switch-to-buffer.
11403
11404 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11405 Use switch-to-buffer.
11406
11407 * cus-edit.el (customize-group, custom-buffer-create)
11408 (customize-browse, custom-buffer-create-other-window):
11409 Use switch-to-buffer or switch-to-buffer-other-window.
11410
11411 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11412 (Info-prev, Info-up, Info-speedbar-goto-node)
11413 (info-display-manual): Use switch-to-buffer.
11414 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11415
11416 * mail/sendmail.el (mail): Use switch-to-buffer.
11417 (mail-recover): Use switch-to-buffer-other-window.
11418
11419 * cmuscheme.el (run-scheme, switch-to-scheme):
11420 * ielm.el (ielm):
11421 * shell.el (shell):
11422 * net/rlogin.el (rlogin):
11423 * net/telnet.el (telnet, rsh):
11424 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11425
11426 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11427
11428 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11429
11430 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11431
11432 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11433 so don't mention it (bug#9301).
11434 (dired-sort-toggle-or-edit): Clarify string further.
11435
11436 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11437 match `x', `w32' and `ns', like the manual says (bug#9029).
11438
11439 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11440 (process-kill-buffer-query-function): Mention the buffer name in
11441 the query.
11442
11443 * image-mode.el (image-next-line): The line parameter is mandatory
11444 (bug#9258).
11445
11446 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11447 which can be useful (bug#9301).
11448
11449 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11450
11451 * subr.el (match-string): Mention that the current buffer should
11452 be the same as the search was done in (bug#9282).
11453
11454 * facemenu.el: Disable the remove-* commands if the mark isn't
11455 active (bug#9162).
11456
11457 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11458
11459 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11460 of display-buffer.
11461 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11462
11463 * replace.el (occur-mode-goto-occurrence)
11464 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11465 and display-buffer.
11466
11467 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11468 display-buffer.
11469
11470 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11471 special-display and same-window variables.
11472 (mail-other-window): Use switch-to-buffer-other-window.
11473 (mail-other-frame): USe switch-to-buffer-other-frame.
11474
11475 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11476 Use display-buffer-other-frame.
11477 (gdb-display-gdb-buffer): Use pop-to-buffer.
11478
11479 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11480
11481 * progmodes/python.el: Don't set same-window-buffer-names.
11482
11483 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11484
11485 * window.el (display-buffer-alist): Add *Python*.
11486
11487 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11488
11489 * window.el (display-buffer-alist): Add entry for buffers
11490 previously handled same-window-*.
11491 (display-buffer-alist, display-buffer-default-action)
11492 (display-buffer-overriding-action): Mark as risky.
11493 (display-buffer-alist): Document action function changes.
11494 (display-buffer--same-window-action)
11495 (display-buffer--other-frame-action): New variables.
11496 (switch-to-buffer, display-buffer-other-frame): Use them.
11497 (display-buffer): Rename reuse-frame entry to reusable-frames.
11498 (display-buffer-reuse-selected-window): Function deleted.
11499 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11500 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11501 (display-buffer-special): New function.
11502 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11503 display-buffer-reuse-or-pop-window. Split off special-display
11504 part into display-buffer-special.
11505 (display-buffer-use-some-window): Don't perform any special
11506 pop-up-frames handling.
11507 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11508 (display-buffer--maybe-same-window): Rename from
11509 display-buffer-maybe-same-window.
11510
11511 * info.el: Don't set same-window-regexps.
11512 (info-setup): New function.
11513 (info-other-window, info): Call it.
11514
11515 * cus-edit.el: Don't set same-window-regexps.
11516 (customize-group): New argument.
11517 (customize-group-other-window): Use it.
11518 (customize-face, customize-face-other-window): Likewise.
11519 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11520
11521 * net/rlogin.el:
11522 * net/telnet.el:
11523 * progmodes/gud.el: Don't set same-window-regexps.
11524
11525 * cmuscheme.el:
11526 * ielm.el:
11527 * shell.el:
11528 * mail/sendmail.el:
11529 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11530
11531 2011-09-10 Juri Linkov <juri@jurta.org>
11532
11533 * isearch.el (isearch-edit-string): Remove obsolete mention of
11534 `C-w' (`isearch-yank-word-or-char') from docstring.
11535 (isearch-query-replace): Fix typo in docstring (bug#9466).
11536
11537 2011-09-10 Juri Linkov <juri@jurta.org>
11538
11539 * paren.el (show-paren-function): Don't show escaped parens.
11540 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11541
11542 2011-09-10 Eli Zaretskii <eliz@gnu.org>
11543
11544 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11545 (mm-default-file-encoding): Remove autoload forms, they are
11546 replaced with autoload cookies in mml.el and mm-encode.el.
11547 (mail-add-attachment): New command.
11548 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11549 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11550 the doc string.
11551 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11552
11553 2011-09-10 Reuben Thomas <rrt@sc3d.org>
11554
11555 * simple.el (count-words-region): Use buffer if there's no region
11556 (bug#9429).
11557
11558 2011-09-09 Juri Linkov <juri@jurta.org>
11559
11560 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11561 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11562 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11563
11564 2011-09-09 Alan Mackenzie <acm@muc.de>
11565
11566 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11567 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11568
11569 2011-09-09 Eli Zaretskii <eliz@gnu.org>
11570
11571 Fix for Savannah bug#9392.
11572 * simple.el (mail-encode-mml): New defvar.
11573
11574 * mail/rmail.el (mail-encode-mml): Add a defvar.
11575 (rmail-enable-mime-composing): Default to t.
11576 (rmail-forward): Use MIME method of forwarding only if both
11577 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11578 Set mail-encode-mml non-nil if the MIME method was used.
11579
11580 * mail/sendmail.el (mml-to-mime): Add autoload form.
11581 (mail-encode-mml): Add a defvar.
11582 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11583 to nil.
11584 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11585 message through mml-to-mime, and reset mail-encode-mml to nil.
11586
11587 2011-09-09 Glenn Morris <rgm@gnu.org>
11588
11589 * woman.el (woman-if-body): When processing an .el block,
11590 do not delete the next .el block as well. (Bug#9447)
11591 (woman-special-characters): Add oq, cq, and hy characters.
11592
11593 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11594
11595 * window.el (window-deletable-p): Make sure window is live before
11596 invoking window-prev-buffers.
11597
11598 2011-09-08 Leo Liu <sdl.web@gmail.com>
11599
11600 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11601
11602 2011-09-08 Juri Linkov <juri@jurta.org>
11603
11604 * progmodes/compile.el (compilation-environment): Make it
11605 a defcustom (bug#8340).
11606
11607 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11608
11609 * window.el (frame-auto-delete): Rename to window-auto-delete.
11610 Make it control auto-deletion of windows and/or frames.
11611 (window-deletable-p): New argument FORCE. Rewrite conditions
11612 for deleting window/frame. (Bug#9419)
11613 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11614 Rewrite handling of case when window/frame can be deleted.
11615 (delete-windows-on): Call window-deletable-p with new FORCE
11616 argument t. (Bug#9456)
11617
11618 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
11619
11620 * help-mode.el (help-mode): Restore autoload.
11621
11622 2011-09-07 Juri Linkov <juri@jurta.org>
11623
11624 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11625 `compilation-environment'. Set buffer-local
11626 `compilation-environment' to `thisenv' later after (funcall mode).
11627 (Bug#8340)
11628
11629 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11630 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11631 instead of replacing its value. (Bug#8340)
11632
11633 2011-09-07 Juri Linkov <juri@jurta.org>
11634
11635 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11636 based on text properties put by `grep-filter' instead of matching
11637 escape sequences.
11638 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11639 to the value of `grep-error-screen-columns' (bug#9438).
11640
11641 2011-09-07 Juri Linkov <juri@jurta.org>
11642
11643 * simple.el (next-error-highlight, next-error-highlight-no-select):
11644 Doc fix (bug#9432).
11645
11646 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11647
11648 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11649 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11650
11651 2011-09-07 Leo Liu <sdl.web@gmail.com>
11652
11653 * net/rcirc.el (rcirc-mode): Conditionally initialize
11654 rcirc-input-ring.
11655
11656 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * emacs-lisp/find-func.el (find-function-C-source): Only set
11659 find-function-C-source-directory after checking that we found a source
11660 file there (bug#9440).
11661
11662 2011-09-06 Alan Mackenzie <acm@muc.de>
11663
11664 * isearch.el (isearch-other-meta-char): Wherever a key list is
11665 unread, "unread" the prefix arg, too. This fixes bug #8901.
11666
11667 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11668
11669 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11670
11671 2011-09-05 Juri Linkov <juri@jurta.org>
11672
11673 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11674
11675 2011-09-05 Juri Linkov <juri@jurta.org>
11676
11677 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11678 keeping point where processing of grep matches begins, and
11679 continue to delete remaining escape sequences from the same point.
11680 (grep-filter): Make leading zero optional in "0?1;31m" because
11681 git-grep emits "\033[1;31m" escape sequences unlike expected
11682 "\033[01;31m" as GNU Grep does (bug#9408).
11683 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11684
11685 2011-09-05 Juri Linkov <juri@jurta.org>
11686
11687 * subr.el (y-or-n-p): Capitalize "yes".
11688
11689 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
11690
11691 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11692 `tramp-cache-unload-hook' where appropriate.
11693 (tramp-methods): Rename `tramp-remote-sh' to
11694 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11695 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11696
11697 * net/tramp-sh.el (top): Don't require 'shell.
11698 (tramp-methods): Add `tramp-remote-shell' and
11699 `tramp-remote-shell-args' entries.
11700 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11701 (tramp-sh-handle-shell-command): Remove.
11702 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11703 Use `tramp-remote-shell'.
11704
11705 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11706
11707 * mail/sendmail.el (sendmail-query-once-function): Delete.
11708 (sendmail-query-once): Save directly to send-mail-function.
11709 Update message-send-mail-function too.
11710
11711 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11712
11713 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11714
11715 * progmodes/python.el (python-mode-map): Use correct function to
11716 start python interpreter from menu-bar (as reported by Geert
11717 Kloosterman).
11718 (inferior-python-mode-map): Fix typo.
11719 (python-shell-map): Remove.
11720
11721 2011-09-03 Deniz Dogan <deniz@dogan.se>
11722
11723 * net/rcirc.el (rcirc-print): Simplify code for
11724 rcirc-scroll-show-maximum-output. There is no need to walk
11725 through all windows to find the right one.
11726
11727 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11728
11729 * help.el (help-return-method): Doc fix.
11730
11731 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11732
11733 * window.el (window-deletable-p): Don't return a non-nil value
11734 when there's a buffer that was shown in the window before.
11735 (Bug#9419)
11736 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11737 Set window's previous buffers to nil.
11738
11739 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11740
11741 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11742 newline before and after the tag line, so it doesn't interfere
11743 with determining the paragraph direction of bidirectional text.
11744
11745 2011-09-03 Leo Liu <sdl.web@gmail.com>
11746
11747 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11748
11749 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11750
11751 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11752 (pop-to-buffer): Change interactive spec. Pass second argument
11753 directly to display-buffer.
11754 (display-buffer): Fix interactive spec. Use functionp to
11755 distinguish between a function and a list of functions.
11756
11757 * abbrev.el (edit-abbrevs):
11758 * arc-mode.el (archive-extract):
11759 * autoinsert.el (auto-insert):
11760 * bookmark.el (bookmark-bmenu-list):
11761 * files.el (find-file):
11762 * view.el (view-buffer):
11763 * progmodes/compile.el (compilation-goto-locus):
11764 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11765
11766 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11767
11768 * window.el (display-buffer-alist): Doc fix.
11769 (display-buffer): Add docstring. Don't treat
11770 display-buffer-default specially.
11771 (display-buffer-reuse-selected-window)
11772 (display-buffer-same-window, display-buffer-maybe-same-window)
11773 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11774 (display-buffer-pop-up-window)
11775 (display-buffer-reuse-or-pop-window)
11776 (display-buffer-use-some-window): New functions.
11777 (display-buffer-default-action): Use them.
11778 (display-buffer-default): Delete.
11779 (pop-to-buffer-1): Fix choice of actions.
11780
11781 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * minibuffer.el (completion--insert-strings): Don't get confused by
11784 completion entries that end with an LF char.
11785
11786 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11787
11788 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11789
11790 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11791
11792 * window.el (display-buffer): Restore interactive spec.
11793 (display-buffer-same-window, display-buffer-other-window):
11794 New functions.
11795 (pop-to-buffer-1): New function. Use the above.
11796 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11797 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11798
11799 * view.el (view-buffer-other-window, view-buffer-other-frame):
11800 Just use pop-to-buffer.
11801
11802 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11803
11804 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11805
11806 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11807
11808 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11809
11810 2011-08-31 Richard Stallman <rms@gnu.org>
11811
11812 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11813 of the separation of rmail-view-buffer from rmail-buffer.
11814 If you say no to "replace original", the decrypt is in the
11815 view buffer. If you say yes, the decrypt goes into the
11816 rmail buffer also.
11817
11818 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11819
11820 * window.el (display-buffer-window): Rewrite doc-string.
11821 (display-buffer-record-window): New function.
11822 (display-buffer-macro-specifiers)
11823 (display-buffer-even-window-sizes, display-buffer-set-height)
11824 (display-buffer-set-width, display-buffer-in-window)
11825 (display-buffer-reuse-window, display-buffer-split-specifiers)
11826 (display-buffer-side-specifiers, display-buffer-split-window-1)
11827 (display-buffer-split-window, display-buffer-split-atom-window)
11828 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11829 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11830 (display-buffer-other-window-means-other-frame)
11831 (display-buffer-normalize-special)
11832 (display-buffer-normalize-default)
11833 (display-buffer-normalize-argument)
11834 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11835 (display-buffer-normalize-specifiers, display-buffer-frame)
11836 (display-buffer-same-window, display-buffer-same-frame)
11837 (display-buffer-other-window)
11838 (display-buffer-same-frame-other-window)
11839 (display-buffer-other-frame, pop-to-buffer-same-window)
11840 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11841 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11842 (switch-to-buffer-same-frame)
11843 (switch-to-buffer-other-window-same-frame)
11844 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11845 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11846 (display-buffer-alist-set): Remove.
11847 (display-buffer-function, special-display-buffer-names)
11848 (special-display-regexps, special-display-function):
11849 In doc-string refer to display-buffer-window and quit-restore
11850 parameter.
11851 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11852 (special-display-frame-alist, special-display-popup-frame)
11853 (same-window-buffer-names, same-window-regexps, same-window-p)
11854 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11855 (split-window-preferred-function, split-height-threshold)
11856 (split-width-threshold, window-splittable-p)
11857 (split-window-sensibly, window--try-to-split-window)
11858 (window--frame-usable-p, even-window-heights)
11859 (window--even-window-heights, window--display-buffer-1)
11860 (window--display-buffer-2, display-buffer-other-frame):
11861 Restore old Emacs 23 code, order and doc-strings where applicable.
11862 (display-buffer-default, display-buffer-assq-regexp): New functions.
11863 (display-buffer-alist): Rewrite doc-string.
11864 (display-buffer-default-action)
11865 (display-buffer-overriding-action): New variables.
11866 (display-buffer, switch-to-buffer): Rewrite.
11867 (pop-to-buffer): Restore Emacs 23 behavior but use
11868 window-normalize-buffer-to-display.
11869 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11870 Restore Emacs 23 behavior but use
11871 window-normalize-buffer-to-switch-to.
11872 (pop-to-buffer-same-window): Rewrite.
11873 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11874 Rewrite using Emacs 23 options.
11875
11876 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11877
11878 * net/tramp.el (tramp-root-regexp): Remove.
11879 (tramp-completion-file-name-regexp-unified)
11880 (tramp-completion-file-name-regexp-separate)
11881 (tramp-completion-file-name-regexp-url): Don't use leading volume
11882 letter on w32 systems. (Bug#5303, Bug#9311)
11883 (tramp-drop-volume-letter): Simplify definition.
11884 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11885
11886 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11889 (bug#9356).
11890
11891 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11892
11893 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11894
11895 2011-08-29 Juri Linkov <juri@jurta.org>
11896
11897 * isearch.el (isearch-done): Don't display message "Mark saved"
11898 when arg `edit' is non-nil to prevent its flicker in the echo area.
11899
11900 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11901
11902 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11903 obsolete packages for deletion.
11904
11905 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11906
11907 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11908 (help-mode): Derive help-mode from special-mode. Don't invoke
11909 view-mode from help-mode.
11910 (help-xref-override-view-map): Remove.
11911 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11912 view-mode is not used anymore.
11913
11914 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11915
11916 * server.el (server-port): Doc fix.
11917
11918 * cus-theme.el (custom-theme-choose-mode): Inherit from
11919 special-mode (Bug#9124).
11920 (custom-theme-choose-mode-map): Add special-mode to parent.
11921
11922 2011-08-28 Alan Mackenzie <acm@muc.de>
11923
11924 * progmodes/cc-fonts.el
11925 (c-make-font-lock-BO-decl-search-function): New function.
11926 (c-basic-matchers-after - "Fontify the clauses after various
11927 keywords"): Extract the three keyword lists for the 3 erroneous
11928 constructs from the list of four, and use the new function above
11929 in place of an old one.
11930
11931 2011-08-28 Deniz Dogan <deniz@dogan.se>
11932
11933 * net/rcirc.el (rcirc-insert-prev-input)
11934 (rcirc-insert-next-input): Remove unused argument.
11935
11936 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11939
11940 2011-08-27 Alan Mackenzie <acm@muc.de>
11941
11942 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11943 handle function pointer parameters properly.
11944
11945 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11946
11947 * window.el (display-buffer-reuse-window): Fix case where
11948 selected window was reused with non-nil OTHER-WINDOW argument.
11949 (Bug#9381)
11950
11951 2011-08-27 Deniz Dogan <deniz@dogan.se>
11952
11953 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11954 oftc's NickServ messages.
11955
11956 2011-08-27 Glenn Morris <rgm@gnu.org>
11957
11958 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11959
11960 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11961
11962 * emacs-lisp/package.el (package-install): Call package-initialize
11963 if called interactively.
11964
11965 2011-08-26 Leo Liu <sdl.web@gmail.com>
11966
11967 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11968
11969 2011-08-25 Juri Linkov <juri@jurta.org>
11970
11971 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11972 `search-whitespace-regexp' (bug#9364).
11973
11974 2011-08-25 Juri Linkov <juri@jurta.org>
11975
11976 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11977 `regexp-search-ring' to their global values to protect from
11978 updating by `read-from-minibuffer' (bug#9185).
11979
11980 2011-08-25 Juri Linkov <juri@jurta.org>
11981
11982 * textmodes/ispell.el (ispell-command-loop): Add newline
11983 at the end of the "Use option `i'..." line.
11984
11985 2011-08-25 Juri Linkov <juri@jurta.org>
11986
11987 * battery.el (display-battery-mode): If `battery-status-function'
11988 or `battery-mode-line-format' is nil, display the message and set
11989 `display-battery-mode' to nil (bug#9363).
11990
11991 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11992
11993 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11994 bidi-string-mark-left-to-right; they are unnecessary now.
11995
11996 2011-08-25 Deniz Dogan <deniz@dogan.se>
11997
11998 * net/quickurl.el: Documentation typo fixes.
11999
12000 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
12001
12002 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12003
12004 2011-08-25 Glenn Morris <rgm@gnu.org>
12005
12006 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12007
12008 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12009 (smtpmail-via-smtp): Handle nil response from smtp.
12010
12011 2011-08-24 Juri Linkov <juri@jurta.org>
12012
12013 * proced.el (proced-marked): Inherit from `error' instead of
12014 `font-lock-warning-face'.
12015
12016 * ibuffer.el (ibuffer-marked-face): Change default face from
12017 `font-lock-warning-face' to `warning'.
12018 (ibuffer-deletion-face): Change default face from
12019 `font-lock-type-face' to `error'.
12020
12021 * battery.el (battery-update): Use the face `error' instead of
12022 `font-lock-warning-face' (bug#6117).
12023
12024 2011-08-24 Juri Linkov <juri@jurta.org>
12025
12026 * faces.el (success): Change face color from "Green3" to
12027 "ForestGreen" on light background (bug#9353).
12028
12029 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
12030
12031 * window.el (quit-window): Rename from quit-restore-window.
12032 Use same arglist as old quit-window.
12033 (frame-auto-delete): Doc fix.
12034
12035 * view.el (view-mode-exit): Use quit-window.
12036
12037 2011-08-24 Juri Linkov <juri@jurta.org>
12038
12039 * isearch.el (isearch-ring-adjust1): Start visiting previous
12040 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12041 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12042 for empty search string (when the last search string is reused
12043 automatically) to adjust the isearch ring to the last element and
12044 prepare the correct index for further M-p commands (bug#9185).
12045
12046 2011-08-24 Kenichi Handa <handa@m17n.org>
12047
12048 * international/ucs-normalize.el: If decomposition property of
12049 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12050 nil.
12051 (nfd, nfkd): Likewise.
12052
12053 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12054
12055 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12056 from process filters aren't reliably transmitted to the surrounding
12057 accept-process-output.
12058 (mpc-proc-check): New function.
12059 (mpc-proc-sync): Use it (bug#8293)
12060
12061 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12064 Add compatibility functions (bug#9313).
12065
12066 2011-08-23 Eli Zaretskii <eliz@gnu.org>
12067
12068 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12069
12070 * international/uni-bidi.el: Regenerate.
12071
12072 2011-08-23 Kenichi Handa <handa@m17n.org>
12073
12074 * international/charprop.el:
12075 * international/uni-bidi.el:
12076 * international/uni-category.el:
12077 * international/uni-combining.el:
12078 * international/uni-comment.el:
12079 * international/uni-decimal.el:
12080 * international/uni-decomposition.el:
12081 * international/uni-digit.el:
12082 * international/uni-lowercase.el:
12083 * international/uni-mirrored.el:
12084 * international/uni-name.el:
12085 * international/uni-numeric.el:
12086 * international/uni-old-name.el:
12087 * international/uni-titlecase.el:
12088 * international/uni-uppercase.el: Regenerate.
12089
12090 2011-08-23 Martin Rudalics <rudalics@gmx.at>
12091
12092 * help.el (help-window-setup): Fix message displayed when other
12093 window is reused. (Bug#9341)
12094
12095 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12098 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12099
12100 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12101 Mark obsolete.
12102 * shell.el (shell-parse-pcomplete-arguments): New function.
12103 (shell-completion-vars): Use it instead (bug#9160).
12104
12105 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12108 strings and comments (bug#9333).
12109
12110 * emacs-lisp/debug.el (debug-arglist): New function.
12111 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12112 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12113
12114 2011-08-22 Juri Linkov <juri@jurta.org>
12115
12116 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12117 Revert regexp that highlights output switches to its old
12118 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12119
12120 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12121 to check for empty output (bug#9226).
12122
12123 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
12124
12125 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12126 symbol-constituent as the default, as that stops font-lock from
12127 working properly (Bug#8843).
12128
12129 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12130
12131 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12132 `coding-system-for-*' around the process open call to avoid
12133 auth-source side effects.
12134 (smtpmail-try-auth-methods): Expand the secret password.
12135 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12136 probe hangs.
12137
12138 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12139
12140 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12141
12142 * emacs-lisp/find-func.el (find-function-noselect): New arg
12143 lisp-only.
12144
12145 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12146 signal an error for built-in functions (Bug#6664).
12147
12148 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12149
12150 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12151 (smtpmail-try-auth-methods): Use it.
12152
12153 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12154
12155 * font-lock.el (font-lock-fontify-region)
12156 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12157 (font-lock-default-unfontify-buffer)
12158 (font-lock-default-fontify-region)
12159 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12160
12161 * progmodes/compile.el (compilation-error-properties):
12162 Fix confusion between file struct and message struct (Bug#9319).
12163 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12164 `ant' regexp.
12165
12166 * net/browse-url.el (browse-url-firefox): Don't call
12167 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12168
12169 2011-08-20 Glenn Morris <rgm@gnu.org>
12170
12171 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12172
12173 * tutorial.el (tutorial--default-keys): Update some default bindings.
12174
12175 * files.el (hack-local-variables): Fully ignore case for "mode:".
12176
12177 2011-08-20 Alan Mackenzie <acm@muc.de>
12178
12179 Resolve invalid use of a regexp in regexp-opt.
12180
12181 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12182 detection for a java annotation.
12183
12184 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12185 detection for a java annotation.
12186
12187 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12188 handling for java.
12189 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12190
12191 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12192
12193 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12194 (Bug#9274).
12195
12196 2011-08-20 Alan Mackenzie <acm@muc.de>
12197
12198 Fontify CPP expressions correctly when starting in the middle of
12199 such a construct. Mainly for when jit-lock etc. starts a chunk
12200 here.
12201
12202 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12203 variable.
12204 (c-make-font-lock-search-form): New function, extracted from
12205 c-make-font-lock-search-function.
12206 (c-make-font-lock-search-function): Use the above function.
12207 (c-make-font-lock-context-search-function): New function.
12208 (c-cpp-matchers): Enhance the preprocessor expression case with
12209 the above function
12210 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12211 which takes an expression.
12212
12213 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12214
12215 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12216
12217 * window.el (display-buffer-reuse-window)
12218 (display-buffer-pop-up-window): Don't reuse or split a side
12219 window.
12220
12221 2011-08-19 Glenn Morris <rgm@gnu.org>
12222
12223 * files.el (hack-local-variables-prop-line, hack-local-variables):
12224 Downcase "Mode:". (Bug#9331)
12225
12226 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12227
12228 * international/characters.el: Add L and R categories.
12229
12230 * subr.el (bidi-string-mark-left-to-right): Rename from
12231 string-mark-left-to-right. Use category search.
12232
12233 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12234
12235 2011-08-18 Juri Linkov <juri@jurta.org>
12236
12237 * faces.el (error, warning, success): New faces with definitions
12238 copied from old default values of `font-lock-warning-face',
12239 `compilation-warning', `compilation-info' (bug#6117).
12240
12241 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12242
12243 * progmodes/compile.el (compilation-error): Inherit from `error'.
12244 (compilation-warning): Inherit from `warning'.
12245 (compilation-info): Inherit from `success'.
12246
12247 * dired.el (dired-marked): Inherit from `warning'.
12248 (dired-flagged): Inherit from `error'.
12249
12250 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12251
12252 * mail/smtpmail.el (auth-source): Require to avoid problems with
12253 binding variables (bug#9298). Also clean up some unused
12254 autoloads.
12255
12256 * net/network-stream.el (network-stream-open-starttls):
12257 Support using starttls.el without using gnutls-cli.
12258
12259 2011-08-17 Juri Linkov <juri@jurta.org>
12260
12261 * progmodes/grep.el (rgrep): Handle the case when
12262 `grep-find-command' is a cons cell (bug#9278).
12263
12264 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12265
12266 * window.el (display-buffer-pop-up-frame): Run frame creation
12267 function with BUFFER current (as special-display-popup-frame
12268 does). Reported by Drew Adams.
12269
12270 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12271
12272 * epa-mail.el: Simplify GnuPG group expansion using
12273 epg-expand-group.
12274 (epa-mail-group-alist, epa-mail-group-modtime)
12275 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12276 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12277 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12278 Remove.
12279
12280 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
12281
12282 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12283
12284 2011-08-16 Alan Mackenzie <acm@muc.de>
12285
12286 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12287 Correct, to avoid the inside of macros.
12288
12289 2011-08-16 Richard Stallman <rms@gnu.org>
12290
12291 * epa-mail.el: Handle GnuPG group definitions.
12292 (epa-mail-group-alist, epa-mail-group-modtime)
12293 (epa-mail-gnupg-conf-file): New variables.
12294 (epa-mail-parse-groups, epa-mail-sync-groups)
12295 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12296 (epa-mail-expand-recipients): New functions.
12297 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12298
12299 * mail/rmail.el (rmail-epa-decrypt): New command.
12300
12301 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12302 Don't bind buffer-read-only, just inhibit-read-only.
12303 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12304 (epa-decrypt-armor-in-region): Make error message clearer.
12305
12306 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12307
12308 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12309 and "a2b" to "ab" for `prefix'.
12310
12311 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12312
12313 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12314 filter groups.
12315 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12316 Fourquet (Bug#8804).
12317
12318 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * startup.el (argi): Declare as global variable (bug#9275).
12321
12322 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12323
12324 * subr.el (string-mark-left-to-right): Search the entire string
12325 for RTL script, not just the terminating character. Doc fix.
12326
12327 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12330 New function.
12331 (js--regexp-literal, js-syntax-propertize-function): Remove.
12332 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12333 (js-mode-map): Don't rebind electric keys.
12334 (js-insert-and-indent): Remove.
12335 (js-mode): Setup electric-layout and electric-indent instead.
12336
12337 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12338
12339 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12340
12341 * epa.el (epa-progress-callback-function): Fix the logic of
12342 displaying progress.
12343 * epa-file.el (epa-file-insert-file-contents): Make progress
12344 display more user-friendly.
12345 (epa-file-write-region): Ditto.
12346
12347 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12348
12349 * subr.el (string-mark-left-to-right): New function.
12350
12351 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12352 Use string-mark-left-to-right.
12353 (list-buffers-noselect): Caller changed.
12354
12355 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12356 Use string-mark-left-to-right.
12357 (tabulated-list-print): Recenter after moving point.
12358
12359 2011-08-10 Juri Linkov <juri@jurta.org>
12360
12361 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12362 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12363 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12364
12365 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12366
12367 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12368 (Bug#7554).
12369
12370 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12371
12372 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12373 character. (Bug#6594)
12374
12375 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12376
12377 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12378 (image-dired--with-db-file): New macro.
12379 (image-dired-write-tags, image-dired-remove-tag)
12380 (image-dired-create-gallery-lists, image-dired-write-comments)
12381 (image-dired-get-comment, image-dired-mark-tagged-files)
12382 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12383 (image-dired-gallery-generate): Use insert-file-contents.
12384
12385 * time.el (display-time-world-list, display-time-world-display):
12386 * time-stamp.el (time-stamp-string):
12387 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12388 set-time-zone-rule (Bug#7337).
12389
12390 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12391
12392 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12393 (epg-error-to-string, epg-errors-to-string): New function.
12394 (epg-wait-for-completion): Reverse errors list.
12395 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12396 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12397 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12398 (epg-sign-keys, epg-generate-key-from-file)
12399 (epg-generate-key-from-string): Format errors by using
12400 epg-errors-to-string (bug#9255).
12401 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12402
12403 2011-08-07 Juri Linkov <juri@jurta.org>
12404
12405 * faces.el (list-faces-display): Remove extra angle bracket
12406 from `help-mode-map'.
12407
12408 * info.el (Info-history-toc-nodes): Doc fix.
12409
12410 * longlines.el (longlines-mode): Doc fix.
12411
12412 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12415 of statements and in a few more cases (bug#9183).
12416
12417 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12418 New functions.
12419 (cl-transform-lambda): Use them (bug#9239).
12420
12421 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12422
12423 * window.el (display-buffer-same-window)
12424 (display-buffer-same-frame, display-buffer-other-window)
12425 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12426 (pop-to-buffer-other-window)
12427 (pop-to-buffer-same-frame-other-window)
12428 (pop-to-buffer-other-frame): Make them defuns.
12429 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12430
12431 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * subr.el (make-composed-keymap): Move from C. Change calling
12434 convention, and improve docstring to bring attention to a subtle point.
12435 * minibuffer.el (completing-read-default): Adjust accordingly.
12436
12437 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12438
12439 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12440 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12441
12442 * net/trampver.el: Update release number.
12443
12444 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12447 "in" (bug#9190).
12448
12449 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12450
12451 * mail/sendmail.el (sendmail-query-once): Restore the current
12452 buffer after querying (bug#9074).
12453
12454 * dired.el (dired-flagged): Use different faces for marked and
12455 flagged files (bug#6117).
12456
12457 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12458 (bug#4433).
12459
12460 * ido.el (ido-mode): Switch off the message if called
12461 non-interactively.
12462
12463 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12464 before 587, since it appears that that's more likely to work for
12465 more people.
12466
12467 * cus-edit.el (custom-file): When running under emacs -q, always
12468 refuse to save the customizations, even if the .emacs file doesn't
12469 exist.
12470
12471 * info.el: Remove the `Info-beginning-of-buffer' function
12472 (bug#8325).
12473
12474 * net/network-stream.el (network-stream-open-starttls):
12475 Use `starttls-available-p' to see whether starttls.el can be used.
12476
12477 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12478
12479 * window.el (display-buffer-in-window): Don't set dedicated status
12480 of window here (Bug#9215).
12481 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12482 (display-buffer-pop-up-side-window)
12483 (display-buffer-in-side-window): Set dedicated status of window here.
12484
12485 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12488 before binding generated-autoload-file.
12489
12490 2011-08-01 Deniz Dogan <deniz@dogan.se>
12491
12492 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12493
12494 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12495
12496 Sync with Tramp 2.2.2.
12497
12498 * net/trampver.el: Update release number.
12499
12500 2011-07-30 Juri Linkov <juri@jurta.org>
12501
12502 * dired-aux.el (dired-touch-initial): Remove function.
12503 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12504 current time, and `default' to the last modification time of the
12505 current marked file (bug#6887).
12506
12507 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12508
12509 * simple.el (goto-line): Use string-to-number to provide a
12510 numeric argument to read-number (bug#9163).
12511
12512 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
12513
12514 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12515 connection process, it could be nil.
12516
12517 2011-07-27 Leo Liu <sdl.web@gmail.com>
12518
12519 Simplify url handling in rcirc-mode.
12520
12521 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12522 (rcirc-browse-url-at-mouse): Remove.
12523 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12524
12525 2011-07-26 Alan Mackenzie <acm@muc.de>
12526
12527 Fontify bitfield declarations properly.
12528
12529 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12530 (c-symbol-chars): Now exported as a lang variable.
12531 (c-not-primitive-type-keywords): New lang variable.
12532
12533 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12534 QT keyword "more" to prevent "more slots: ...." being spuriously
12535 parsed as a bitfield declaration.
12536
12537 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12538 Refactor and enhance to handle bitfield declarations.
12539 (c-punctuation-in): New function.
12540 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12541 declarations properly.
12542
12543 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
12544
12545 * calendar/icalendar.el (icalendar--all-events): Take care of
12546 multiple vcalendars in a single file.
12547 (icalendar--convert-float-to-ical): Checkdoc fixes.
12548
12549 2011-07-25 Deniz Dogan <deniz@dogan.se>
12550
12551 * image.el (insert-image): Clarifying docstring.
12552
12553 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
12554
12555 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12556 `tramp-send-command-and-check' if there is no error.
12557 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12558
12559 2011-07-22 Alan Mackenzie <acm@muc.de>
12560
12561 Prevent cc-langs.elc being loaded at run time.
12562
12563 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12564 cc-langs.
12565
12566 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12567 "(require 'cc-langs)". Quote a form so it will evaluate at
12568 (cc-mode's) compilation time.
12569
12570 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
12571
12572 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12573 loading. (Bug#9114)
12574
12575 2011-07-21 Martin Rudalics <rudalics@gmx.at>
12576
12577 * window.el (display-buffer-pop-up-window)
12578 (display-buffer-pop-up-side-window)
12579 (display-buffer-in-side-window): Call display-buffer-set-height
12580 and display-buffer-set-width after setting the new window's
12581 buffer so `fit-window-to-buffer' and friends work on the right buffer.
12582
12583 2011-07-20 Sam Steingold <sds@gnu.org>
12584
12585 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12586 (etags-tags-included-tables): Call `convert-standard-filename' on
12587 the file names contained in TAGS so that windows Emacs can handle
12588 TAGS files created by cygwin ctags.
12589
12590 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12591
12592 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12593 which apparently didn't work.
12594
12595 2011-07-19 Roland Winkler <winkler@gnu.org>
12596
12597 * proced.el (proced-send-signal): For *Marked Processes* buffer
12598 put point at beginning of buffer.
12599
12600 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
12601
12602 * proced.el (proced-format): Make header lines align with the text
12603 (bug#1779).
12604
12605 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12606
12607 * view.el (view-buffer): Allow running in `special' modes if we're
12608 visiting a file (bug#8615).
12609
12610 2011-07-19 Martin Rudalics <rudalics@gmx.at>
12611
12612 * window.el (display-buffer-alist-of-strings-p)
12613 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12614 New functions.
12615 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12616 more accurately.
12617
12618 2011-07-18 Alan Mackenzie <acm@muc.de>
12619
12620 Fontify declarators properly when, e.g., a jit-lock chunk begins
12621 inside a declaration.
12622
12623 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12624
12625 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12626 New function.
12627 (c-complex-decl-matchers): Insert reference to
12628 c-font-lock-enclosing-decls.
12629
12630 * progmodes/cc-engine.el (c-backward-single-comment):
12631 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12632 to nil around calls to (forward-comment -1).
12633
12634 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12635
12636 * image.el (put-image): Doc typo fix.
12637
12638 * progmodes/etags.el (tags-search): Doc typo fix.
12639
12640 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12641 password if we get errors 550 to 554.
12642
12643 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12644
12645 * net/gnutls.el (gnutls-log-level): Remove.
12646
12647 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12648 indentation character (bug#6380).
12649
12650 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12651
12652 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12653 to clarify what the problem is (bug#4291).
12654
12655 * simple.el (current-kill): Clarify what
12656 `interprogram-paste-function' does (bug#7500).
12657 (auto-fill-mode): Document `auto-fill-function' in relation to
12658 `auto-fill-mode' (bug#2470).
12659
12660 2011-07-16 Lawrence Mitchell <wence@gmx.li>
12661
12662 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12663 method if slot is read-only (bug#9035).
12664
12665 2011-07-16 Martin Rudalics <rudalics@gmx.at>
12666
12667 * frame.el (select-frame-set-input-focus): New argument NORECORD.
12668 * window.el (pop-to-buffer): Select window used even if it was
12669 selected before, see discussion of (Bug#8615), (Bug#6954).
12670 Pass argument NORECORD on to select-frame-set-input-focus.
12671
12672 2011-07-15 Glenn Morris <rgm@gnu.org>
12673
12674 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
12675 Respect help-form.
12676
12677 2011-07-09 Lawrence Mitchell <wence@gmx.li>
12678
12679 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12680 (gnutls-negotiate): Use it.
12681
12682 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12683
12684 * net/gnutls.el (gnutls-negotiate):
12685 Upcase `gnutls-algorithm-priority'.
12686
12687 2011-07-15 Glenn Morris <rgm@gnu.org>
12688
12689 * jka-compr.el (jka-compr-verbose): Move from here...
12690 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12691 Add missing :version tag.
12692 * info.el: No need to require jka-compr when compiling.
12693
12694 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12695
12696 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12697 (gnutls-negotiate): Use it.
12698
12699 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12700
12701 * info.el (Info-beginning-of-buffer): New command.
12702 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12703 announcing `b' as the key (bug#8325).
12704 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12705
12706 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12707
12708 * international/mule-cmds.el
12709 (describe-specified-language-support): Make the error message
12710 clearer (bug#8905).
12711
12712 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12713
12714 * isearch.el (isearch-barrier): Add a doc string, since it's
12715 mentioned in a function doc string (bug#8678).
12716
12717 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12718
12719 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12720 buffer argument (Bug#9083) and self-identifying label argument.
12721
12722 2011-07-15 Glenn Morris <rgm@gnu.org>
12723
12724 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12725
12726 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12727
12728 * man.el (Man-fontify-manpage): Fix message when formatting the
12729 man page (bug#7929).
12730
12731 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12732
12733 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12734 argument LRM; if non-nil, append an invisible LRM character to the
12735 buffer name.
12736 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12737 last argument non-nil, when formatting buffer names.
12738 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12739 paragraph direction.
12740
12741 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12742
12743 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12744 the man page name (bug#7929).
12745
12746 * image.el (put-image): Mention the `put-image' overlay property
12747 (bug#7834).
12748
12749 * scroll-bar.el (set-scroll-bar-mode): Mention that
12750 `scroll-bar-mode' lists the values (bug#7772).
12751
12752 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12753 command (bug#7729).
12754
12755 * rect.el (apply-on-rectangle): Return the point after the last
12756 operation.
12757 (string-rectangle): Go to the point after the last operation
12758 (bug#7522).
12759
12760 * printing.el (pr-toggle-region): Clarify the documentation
12761 slightly (bug#7493).
12762
12763 * time.el (display-time-update):
12764 Allow `display-time-mail-function' to return nil (bug#7158).
12765 Fix suggested by Detlev Zundel.
12766
12767 * vc/diff.el (diff): Clarify the order the file names are read
12768 (bug#7111).
12769
12770 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12771 the doc string (bug#7015).
12772
12773 * font-lock.el (font-lock-maximum-decoration): Mention what
12774 numeric levels mean (bug#6935).
12775
12776 * startup.el (initial-buffer-choice): Don't mention the `none'
12777 selection, which is against policy.
12778
12779 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12780
12781 * window.el (display-buffer-normalize-special):
12782 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12783
12784 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12785
12786 * subr.el (version<, version<=, version=): Mention "-CVS" and
12787 "-12345" alpha version numbers.
12788
12789 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12790
12791 * bindings.el: Add advertised binding for set-mark-command
12792 (Bug#5772).
12793
12794 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12795
12796 * bindings.el (mode-line-other-buffer):
12797 * bookmark.el (bookmark-bmenu-2-window):
12798 * bs.el (bs-cycle-next, bs-cycle-previous):
12799 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12800 switch-to-buffer.
12801
12802 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12803 Delete.
12804
12805 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12806
12807 * follow.el (follow-debug-message, follow-redisplay):
12808 * jka-cmpr-hook.el (with-auto-compression-mode):
12809 Fix typos in docstrings.
12810
12811 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12812
12813 * subr.el (with-silent-modifications): Clarify somewhat what the
12814 macro inhibits (bug#6525).
12815
12816 * simple.el (eval-expression): Note what it does if called
12817 interactively (bug#6495).
12818
12819 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12820
12821 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12822 Use pop-to-buffer buffer-or-name if it is nil.
12823
12824 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12825 Remove switch-to-buffer.
12826
12827 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828
12829 * files.el (make-directory): Clarify that an error will be raised
12830 if there's an error (bug#6397).
12831
12832 * startup.el (initial-buffer-choice): Add `none' as a choice
12833 (bug#6234).
12834
12835 * subr.el (add-hook): Clarify section about buffer-local hooks
12836 (bug#6218).
12837
12838 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12839
12840 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12841
12842 * tabify.el (untabify): Preserve the current column so that point
12843 doesn't move (bug#6032).
12844
12845 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12846
12847 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12848 Rewrite to avoid awkward possessive "s" (bug#5986).
12849
12850 2011-07-13 Glenn Morris <rgm@gnu.org>
12851
12852 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12853 (dired-insert-directory): Give a message the first time
12854 if ls is found not to support --dired.
12855
12856 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12857
12858 * simple.el (toggle-truncate-lines): Clarify what is toggled
12859 (bug#5580). Text by Drew Adams.
12860
12861 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12862
12863 * simple.el (blink-matching-open): Make the error message from the
12864 last change less verbose.
12865
12866 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12867
12868 * font-lock.el (font-lock-comment-face): Use the high contrast
12869 "yellow" color for font-lock-comment-face on low color terminals
12870 using a dark background color (bug#4221).
12871
12872 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12873
12874 * dired.el (dired-insert-set-properties): Make the doc string
12875 reflect what it does now (bug#5325).
12876
12877 * simple.el (blink-matching-open): Say that we were unable to find
12878 the match within the limit, if we're limited (bug#5122).
12879
12880 * international/mule-cmds.el (prefer-coding-system): Add an
12881 example (bug#4869).
12882
12883 * progmodes/etags.el (tags-search): Document `file-list-form'
12884 (bug#4731).
12885
12886 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12887
12888 * net/browse-url.el (browse-url-default-browser)
12889 (browse-url-browser-function): Make the default browser choice a
12890 bit more logical (bug#4300). Also clean up the doc string.
12891
12892 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12893
12894 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12895 binary endings (bug#4440).
12896
12897 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12898
12899 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12900 which can be pretty annoying (bug#8971).
12901
12902 * jka-compr.el (jka-compr-verbose): New variable, and use
12903 throughout (bug#8971).
12904
12905 * info.el (Info-find-file): Fall back on the installation
12906 directory if we can't find the info node anywhere else.
12907
12908 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12909
12910 * vc/vc.el (vc-revert-file):
12911 Don't set file time-stamp in the past. (Bug#5181)
12912
12913 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12914
12915 * files.el (after-find-file): Give a better error message when
12916 trying to find a symlink that points to a file that doesn't exist
12917 (bug#4398).
12918
12919 * progmodes/cc-vars.el: Remove (probably) misleading comment
12920 (bug#4396).
12921
12922 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12923
12924 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12925
12926 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12927
12928 * mouse-sel.el: Hack restoring functionality, while keeping
12929 compatibility with 2010-07-03 changes to mouse selection.
12930 (mouse-sel-primary-overlay): New var.
12931 (mouse-sel-selection-alist): Use it.
12932 (mouse-sel-mode): Doc fix; remove points that are default features
12933 of mouse.el.
12934
12935 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12936
12937 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12938 Fix previous fix (bug#2490).
12939
12940 2011-07-12 Roland Winkler <winkler@gnu.org>
12941
12942 * textmodes/bibtex.el (bibtex-initialize):
12943 Use pop-to-buffer-same-window.
12944 (bibtex-search-entries): Fix interactive call.
12945
12946 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12947
12948 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12949 Fontise bytecomp Error lines more correctly (bug#2490).
12950 Fix suggested by Johan BockgĂ¥rd.
12951
12952 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12953
12954 * dired-x.el (dired-guess-default): Use `delete-dups'.
12955
12956 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12957
12958 * dired.el (dired-mark-prompt):
12959 * dired-aux.el (dired-read-shell-command): Doc fix.
12960
12961 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12962
12963 * mail/sendmail.el (sendmail-query-once):
12964 Use `customize-save-variable' unconditionally, now that it works under
12965 emacs -Q.
12966
12967 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12968
12969 * cus-edit.el (custom-file): Take an optional no-error variable.
12970 (customize-save-variable): Set the variable, and give a warning if
12971 running under "emacs -q".
12972
12973 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12974
12975 * loadhist.el (unload-feature-special-hooks):
12976 Add `auto-coding-functions', `fill-nobreak-predicate' and
12977 `find-directory-functions' (bug#5327).
12978
12979 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12980
12981 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12982
12983 * cus-edit.el (custom-guess-name-alist): -alist variables should
12984 use the `alist' type (bug#3120). Suggested by Drew Adams.
12985
12986 * printing.el: Add documentation to all the `pr-toggle-' commands.
12987
12988 2011-07-11 Leo Liu <sdl.web@gmail.com>
12989
12990 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12991 backends where it makes sense (bug#2623).
12992
12993 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12994
12995 * dired-x.el (dired-guess-default): Remove duplicate shell command
12996 entries (bug#2028).
12997 (dired-guess-default): Fix grammar in doc string (bug#2028).
12998 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12999
13000 * subr.el (remove-duplicates): New conveniency function.
13001
13002 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13003
13004 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13005 (bug#1526).
13006
13007 2011-07-10 Martin Rudalics <rudalics@gmx.at>
13008
13009 * window.el (display-buffer-normalize-default): Don't invert
13010 meaning of even-window-heights. Reported by Eli Zaretskii
13011 <eliz@gnu.org>.
13012
13013 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13014
13015 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13016
13017 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
13018
13019 * window.el (display-buffer): Fix arguments to
13020 display-buffer-reuse-window in last change.
13021
13022 * faces.el (link): Use a less saturated blue on light backgrounds.
13023
13024 * startup.el (fancy-startup-text, fancy-about-text)
13025 (fancy-startup-tail): Use font-lock faces, for background safety.
13026
13027 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13028
13029 * emulation/viper-cmd.el (viper-change-state-to-vi):
13030 Limit triggering of abbrev expansion (Bug#9038).
13031
13032 2011-07-09 Martin Rudalics <rudalics@gmx.at>
13033
13034 * window.el (display-buffer-default-specifiers): Remove.
13035 (display-buffer-macro-specifiers): Remove default specifiers.
13036 (display-buffer-alist): Default to nil.
13037 (display-buffer-reuse-window): New optional argument other-window.
13038 (display-buffer-pop-up-window): Allow splitting internal
13039 windows. Check whether a live window was created.
13040 (display-buffer-other-window-means-other-frame)
13041 (display-buffer-normalize-arguments): Rename to
13042 display-buffer-normalize-argument and rewrite. Set the
13043 other-window specifier.
13044 (display-buffer-normalize-special): New function.
13045 (display-buffer-normalize-options): Rename to
13046 display-buffer-normalize-default and rewrite.
13047 (display-buffer-normalize-options-inhibit): Remove.
13048 (display-buffer-normalize-specifiers): Rewrite.
13049 (display-buffer): Process other-window specifier and call
13050 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13051 more faithfully.
13052 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13053 (display-buffer-alist-set): Don't handle 'unset default values.
13054 (display-buffer-in-window, display-buffer-alist-set):
13055 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
13056 <tassilo@member.fsf.org>.
13057
13058 2011-07-09 Leo Liu <sdl.web@gmail.com>
13059
13060 * register.el (insert-register): Restore accidental change on
13061 2011-06-26. (Bug#9028)
13062
13063 2011-07-09 Glenn Morris <rgm@gnu.org>
13064
13065 * subr.el (remq): Handle the empty list. (Bug#9024)
13066
13067 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13068
13069 * mail/sendmail.el (send-mail-function): No longer delay custom
13070 initialization.
13071 * custom.el (custom-initialize-delay): Doc fix.
13072
13073 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13076
13077 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
13078
13079 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13080 human-friendly prompt.
13081
13082 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13083
13084 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13085 provided by a particular plugin.
13086
13087 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088
13089 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13090 save customizations (with "emacs -Q"), just set the variable
13091 instead of erroring out.
13092
13093 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13094
13095 2011-07-08 Juri Linkov <juri@jurta.org>
13096
13097 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13098 (archive-zip-update-case): Use 7z if found by `executable-find'.
13099 The order of searching the available programs is the same as in
13100 `archive-zip-extract' (bug#8968).
13101
13102 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13103
13104 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13105 (menu-bar-options-menu): Tweak descriptions.
13106
13107 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108
13109 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13110 menu items into verb phrases (bug#1421). Also refill to fit under
13111 80 columns.
13112
13113 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13114
13115 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13116 (Info-read-node-name): Doc fix (Bug#1084).
13117
13118 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13119 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13120 (end-of-sexp, beginning-of-sexp)
13121 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13122 (forward-symbol, forward-same-syntax, word-at-point)
13123 (sentence-at-point): Doc fix (Bug#1144).
13124
13125 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13126
13127 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13128 should cover it (bug#1281).
13129
13130 * cus-edit.el (custom-show): Mark as obsolete.
13131
13132 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13133 negotiation fails, then possibly try again with a non-encrypted
13134 connection (bug#9017).
13135
13136 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13137 be used.
13138
13139 2011-07-07 Richard Stallman <rms@gnu.org>
13140
13141 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13142 property, and handle its changed format.
13143 Look for the correct line number.
13144 Use file's line contents (but not past first =) to find
13145 correct line in message.
13146
13147 2011-07-07 Kenichi Handa <handa@m17n.org>
13148
13149 * international/characters.el (build-unicode-category-table):
13150 Delete it.
13151 (unicode-category-table): Set it by unicode-property-table-internal.
13152
13153 * international/mule-cmds.el (char-code-property-alist): Move to
13154 to src/chartab.c.
13155 (get-char-code-property): Call unicode-property-table-internal to
13156 load a file. Call get-unicode-property-internal where necessary.
13157 (put-char-code-property): Call unicode-property-table-internal to
13158 load a file. Call put-unicode-property-internal where necessary.
13159 put-unicode-property-internal where necessary.
13160 (char-code-property-description):
13161 Call unicode-property-table-internal to load a file.
13162
13163 * international/charprop.el:
13164 * international/uni-bidi.el:
13165 * international/uni-category.el:
13166 * international/uni-combining.el:
13167 * international/uni-comment.el:
13168 * international/uni-decimal.el:
13169 * international/uni-decomposition.el:
13170 * international/uni-digit.el:
13171 * international/uni-lowercase.el:
13172 * international/uni-mirrored.el:
13173 * international/uni-name.el:
13174 * international/uni-numeric.el:
13175 * international/uni-old-name.el:
13176 * international/uni-titlecase.el:
13177 * international/uni-uppercase.el: Regenerate.
13178
13179 * loadup.el: Load international/charprop.el before
13180 international/characters.
13181
13182 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13183
13184 * window.el (next-buffer, previous-buffer): Signal an error if
13185 called from a minibuffer window.
13186
13187 * bindings.el: Revert 2011-07-04 change.
13188
13189 2011-07-06 Richard Stallman <rms@gnu.org>
13190
13191 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13192 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13193 Treat markers like ints.
13194 (rmail-mime-entity): Doc fix.
13195
13196 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13197
13198 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13199 defcustom again for backwards compatibility.
13200
13201 * simple.el (shell-command-on-region): Fill.
13202
13203 * dired-aux.el (dired-kill-line): Add a doc string.
13204
13205 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13206 to "\\sw\\|\\s_" (bug#358).
13207
13208 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13209 (dired-unmark-backward): Ditto.
13210 (dired-flag-backup-files): Ditto.
13211
13212 * dired-x.el (dired-mark-sexp): Ditto.
13213
13214 2011-07-06 Richard Stallman <rms@gnu.org>
13215
13216 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13217 (rmail-mime-entity): New arg TRUNCATED.
13218 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13219 New functions.
13220 (rmail-mime-save): Warn if entity is truncated.
13221 (rmail-mime-toggle-hidden): Likewise, for showing.
13222 (rmail-mime-process-multipart): Record when an entity is truncated.
13223
13224 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13225 if ENTITY is a string.
13226
13227 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
13229 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13230 of faces when `M-C-x'-ing their definitions (bug#8378).
13231 Also clean up the code slightly.
13232
13233 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13234 because that makes the colors go away.
13235
13236 * mail/sendmail.el (send-mail-function): Change the default to
13237 `sendmail-query-once'.
13238 (sendmail-query-once): Add an autoload cookie.
13239
13240 * net/network-stream.el (network-stream-open-starttls): Try using
13241 a plain connection even if the server offered STARTTLS, and we
13242 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13243 capability. This should make smtpmail.el work in slightly more
13244 configurations.
13245
13246 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13249 New defun.
13250 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13251
13252 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13253
13254 * progmodes/sql.el: Version 3.0
13255 (sql-product-alist): Add product :completion-object,
13256 :completion-column, and :statement attributes.
13257 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13258 (sql-mode-syntax-table): Mark all punctuation.
13259 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13260 ansi keywords.
13261 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13262 (sql-mode-oracle-font-lock-keywords): Improve.
13263 (sql-oracle-show-reserved-words): New function for development.
13264 (sql-product-font-lock): Simplify for source code buffers.
13265 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13266 New functions.
13267 (sql-highlight-product): Set product specific syntax table.
13268 (sql-mode-map): Add statement movement functions.
13269 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13270 New variable.
13271 (sql-statement-regexp, sql-beginning-of-statement)
13272 (sql-end-of-statement, sql-signum): New functions.
13273 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13274 (sql-show-sqli-buffer): Bug fix.
13275 (sql-interactive-mode): Store connection data as buffer local.
13276 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13277 with sql-interactive-mode.
13278 (sql-save-connection): Save buffer local settings.
13279 (sql-connection-menu-filter): Change menu entry name.
13280 (sql-product-interactive): Bug fix.
13281 (sql-preoutput-hold): New variable.
13282 (sql-interactive-remove-continuation-prompt): Bug fixes.
13283 (sql-debug-redirect): New variable.
13284 (sql-str-literal): New function.
13285 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13286 Redesign.
13287 (sql-oracle-save-settings, sql-oracle-restore-settings)
13288 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13289 (sql-completion-object, sql-completion-column)
13290 (sql-completion-sqlbuf): New variables.
13291 (sql-build-completions-1, sql-build-completions)
13292 (sql-try-completion): New functions.
13293 (sql-read-table-name): Use them.
13294 (sql-contains-names): New buffer local variable.
13295 (sql-list-all, sql-list-table): Use it.
13296 (sql-oracle-completion-types): New variable.
13297 (sql-oracle-completion-object, sql-sqlite-completion-object)
13298 (sql-postgres-completion-object): New functions.
13299
13300 2011-07-06 Glenn Morris <rgm@gnu.org>
13301
13302 * window.el (pop-to-buffer): Doc fix.
13303
13304 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13305
13306 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13307
13308 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13309
13310 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13311
13312 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13313
13314 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13315
13316 * button.el (button): Inherit from link face. Suggested by Dan
13317 Nicolaescu.
13318
13319 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * progmodes/gdb-mi.el: Fit in 80 columns.
13322 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13323 switch-to-buffer.
13324
13325 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13326 if imenu is simply not configured (bug#8941).
13327
13328 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13329
13330 * allout.el (allout-post-undo-hook): New allout outline-change
13331 event hook to signal undo activity.
13332 (allout-post-command-business): Run allout-post-undo-hook if an
13333 undo just occurred.
13334 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13335 * allout-widgets.el (allout-widgets-after-undo-function):
13336 Ensure the integrity of the current item's decoration after it has been
13337 in the vicinity of an undo.
13338 (allout-widgets-mode): Include allout-widgets-after-undo-function
13339 on the new allout-post-undo-hook.
13340
13341 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13344 Let define-derived-mode define it.
13345 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13346 cycles of abbrev-table inheritance (bug#8998).
13347
13348 2011-07-05 Roland Winkler <winkler@gnu.org>
13349
13350 * textmodes/bibtex.el: Add support for biblatex.
13351 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13352 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13353 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13354 (bibtex-entry-alist, bibtex-field-alist): New variables.
13355 (bibtex-entry-field-alist): Obsolete alias for
13356 bibtex-BibTeX-entry-alist.
13357 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13358 (bibtex-set-dialect): New command.
13359 (bibtex-entry-type, bibtex-entry-head)
13360 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13361 Bind via bibtex-set-dialect.
13362 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13363 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13364 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13365 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13366 Define via bibtex-set-dialect.
13367 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13368 Obey bibtex-no-opt-remove-re.
13369 (bibtex-vec-push, bibtex-vec-incr): New functions.
13370 (bibtex-format-entry, bibtex-field-list)
13371 (bibtex-print-help-message, bibtex-validate)
13372 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13373
13374 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13375
13376 * progmodes/compile.el (compilation-goto-locus):
13377 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13378 * bs.el (bs-cycle-next, bs-cycle-previous):
13379 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13380 * bindings.el (mode-line-other-buffer):
13381 * autoinsert.el (auto-insert):
13382 * arc-mode.el (archive-extract):
13383 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13384
13385 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13386
13387 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13388 Fix check of `emacs-lock-unlockable-modes'.
13389 Coerce true values of `emacs-lock--try-unlocking' to t.
13390
13391 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13392
13393 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13394 * emacs-lock.el: New file.
13395
13396 2011-07-05 Julien Danjou <julien@danjou.info>
13397
13398 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13399 than `boundp' to check if face is set.
13400
13401 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13402
13403 * register.el (registerv-make):
13404 * window.el (window-min-height): Fix typos in docstrings.
13405
13406 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13407
13408 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13409 Update doc string.
13410
13411 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13412
13413 * server.el (server-execute): Catch quit and call
13414 `server-return-error' to pass the error back to emacsclient and
13415 close the connection (bug#8942).
13416
13417 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13418
13419 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13420 insecure exception for current topic. Also note that auto-saves
13421 are handled differently.
13422
13423 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13424 State variables for tracking auto-save inhibition situation.
13425
13426 (allout-write-contents-hook-handler): Rename from
13427 'allout-write-file-hook-handler', and describe how it depends on
13428 write-contents-functions sensitivity to non-nil value to prevent
13429 file write.
13430
13431 (allout-auto-save-hook-handler): Remove. auto-save does not check
13432 this in individual buffers, only in the starting buffer, so this
13433 is not the right way for us to inhibit auto-save in a buffer
13434 according to its condition.
13435
13436 (allout-mode): Use new allout-write-contents-hook-handler, and
13437 only with write-contents-functions. Remove auto-save provisions -
13438 they're implemented elsewhere.
13439
13440 (allout-before-change-handler): If undo is in progress, note that
13441 for attention of allout-post-command-business.
13442
13443 (allout-post-command-business): If the command we're following was
13444 an undo, check for change in the status of encrypted items and
13445 adjust auto-save inhibitions accordingly.
13446
13447 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13448 according to whether there are or aren't any plain-text topics
13449 pending encryption.
13450
13451 (allout-inhibit-auto-save-info-for-decryption):
13452 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13453 if there are plain-text topics pending encryption.
13454
13455 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13456 buffer-saved-size and some allout state to not inhibit auto-saves
13457 if there are no longer any plain-text topics pending encryption.
13458
13459 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13460 No longer provide for exemption of the current topic.
13461
13462 2011-07-04 Juri Linkov <juri@jurta.org>
13463
13464 Add 7z operations to delete and save changed members (bug#8968).
13465 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13466 New defcustoms.
13467 (archive-7z-write-file-member): New function.
13468 (archive-7z-summarize): Fix the number of dashes in the
13469 listing output.
13470
13471 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13472
13473 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13474 (bug#8958).
13475
13476 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13477
13478 * bindings.el: Ignore next-buffer and previous-buffer in
13479 minibuffer-local-map.
13480
13481 * font-lock.el (font-lock-builtin-face): Change light background
13482 color to dark slate blue (Bug#6693).
13483
13484 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13485
13486 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13487
13488 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13489
13490 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13491 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13492 Add switch-to-buffer.
13493
13494 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13495
13496 * isearch.el (isearch-search-fun-function): Clarify further the
13497 meaning of the function returned.
13498
13499 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
13500
13501 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13502
13503 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13504 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13505 Use it.
13506 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13507 `tramp-default-remote-path' does not exist.
13508 (tramp-send-command-and-read): New optional argument NOERROR.
13509 (tramp-open-connection-setup-interactive-shell)
13510 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13511 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13512 (tramp-process-sentinel): Flush also process' connection property.
13513 (tramp-sh-handle-start-file-process): Do not set process
13514 sentinel. It is done now ...
13515 (tramp-maybe-open-connection): ... here. (Bug#8929)
13516
13517 2011-07-04 MON KEY <monkey@sandpframing.com>
13518
13519 * play/animate.el (animate-string): Doc fixes and allow changing
13520 the buffer name (bug#5417).
13521
13522 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13523
13524 * play/animate.el (animation-buffer-name): Rename from *animate*.
13525
13526 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13527
13528 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13529 This is simpler and helps future-proof the code.
13530 (timer-until): Use time-subtract and float-time.
13531 (timer--time-less-p): Use time-less-p.
13532
13533 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13534
13535 * type-break.el (timep): Use the value of `float-time' to avoid a
13536 byte-compiler warning.
13537
13538 * server.el (server-eval-and-print): Return any result, even nil.
13539
13540 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13541
13542 * type-break.el: Accept time formats that the builtins accept.
13543 (timep, type-break-time-difference): Accept any format that
13544 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13545 This is simpler and helps future-proof the code.
13546 (type-break-time-difference): Round rather than ignoring
13547 subseconds components.
13548
13549 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13550
13551 * info.el (Info-apropos-matches): Make non-interactive, since it
13552 doesn't seem to do anything useful as a command (bug#8829).
13553
13554 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
13555
13556 * frame.el (frame-background-mode, frame-set-background-mode):
13557 Move from faces.el.
13558 (frame-default-terminal-background): New function.
13559
13560 * custom.el (custom-push-theme): Don't record faces in `changed'
13561 theme; this doesn't work correctly for per-frame face settings.
13562 (disable-theme): Use face-set-after-frame-default to reset faces.
13563 (custom--frame-color-default): New function.
13564
13565 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13566
13567 * dired.el (dired-flagging-regexp): Remove unused variable
13568 (bug#8769).
13569
13570 2011-03-29 Kevin Ryde <user42@zip.com.au>
13571
13572 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13573 `perl-Test2' extend to match possible "fail #N" rep count
13574 (bug#8377).
13575
13576 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13577
13578 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13579 `smtpmail-via-smtp' now returns the error instead of nil.
13580
13581 * isearch.el (isearch-search-fun-function): Clarify the doc string
13582 (bug#8101).
13583
13584 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
13585
13586 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13587 unnecessary spaces (bug#8987).
13588
13589 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13590
13591 * net/network-stream.el (open-network-stream): Use the
13592 :end-of-capability command thoughout.
13593
13594 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13595
13596 * net/network-stream.el (open-network-stream): Add the
13597 :end-of-capability command parameter, used by pop3.el.
13598
13599 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13600
13601 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13602
13603 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13604 for list)" (bug#6475).
13605
13606 * files.el (file-expand-wildcards): Ignore non-readable
13607 sub-directories while trying to find matches instead of signaling
13608 an error (bug#6297).
13609
13610 * man.el (Man-reference-regexp): Allow matching possible
13611 word-wrapped references (bug#6289).
13612
13613 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13614 for consistency with the other vc buffers (bug#6197).
13615 (vc-checkin): Ditto.
13616
13617 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13618
13619 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13620
13621 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13622
13623 * custom.el (defcustom): Clarify that :set is only used in the
13624 Customize user interface (bug#6089).
13625
13626 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13627 associated with a file, refuse to run instead of erroring out
13628 (bug#6084).
13629
13630 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13631 the doc string, since it appears that using `fill-column' always
13632 controls the width (bug#7845).
13633
13634 * simple.el (shell-command-on-region): Say where the error output
13635 went if `shell-command-default-error-buffer' is set (bug#6857).
13636
13637 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13638
13639 * allout.el (allout-yank-processing): Adjust cursor position for
13640 backwards-deleted space.
13641
13642 (allout-rebullet-heading): Register changes with
13643 allout-exposure-changed-hook, so the modified topic is properly
13644 decorated.
13645
13646 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13647
13648 * minibuffer.el (completion-in-region): Document PREDICATE
13649 (bug#7136).
13650
13651 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13652 of keyword/argument pairs (bug#6904).
13653
13654 * replace.el (multi-occur):
13655 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13656
13657 2011-07-02 Drew Adams <drew.adams@oracle.com>
13658
13659 * dired.el (dired-mark-if): Make the message about whether it's
13660 marking or unmarking clearer (bug#8523).
13661
13662 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13663
13664 * disp-table.el (display-table-print-array): New function.
13665 (describe-display-table): Use it to print the vectors more pretty
13666 (Bug#8859).
13667
13668 2011-07-02 Martin Rudalics <rudalics@gmx.at>
13669
13670 * window.el (window-state-get-1): Don't assign clone numbers.
13671 Add clone-of item to list of window parameters.
13672 (window-state-put-2): Don't process clone numbers.
13673 (display-buffer-alist): Fix doc-string.
13674
13675 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13676
13677 * subr.el (remq): Don't allocate if it's not needed.
13678 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13679 (keymap--merge-bindings): New functions.
13680 (keymap-canonicalize): Use them to refine the canonicalization.
13681 * minibuffer.el (minibuffer-local-completion-map)
13682 (minibuffer-local-must-match-map): Move initialization from C.
13683 (minibuffer-local-filename-completion-map): Move initialization from C;
13684 don't inherit from anything here.
13685 (minibuffer-local-filename-must-match-map): Make obsolete.
13686 (completing-read-default): Use make-composed-keymap to combine
13687 minibuffer-local-filename-completion-map with either
13688 minibuffer-local-must-match-map or
13689 minibuffer-local-filename-completion-map.
13690
13691 2011-07-01 Glenn Morris <rgm@gnu.org>
13692
13693 * type-break.el (type-break-time-sum): Use dolist.
13694
13695 * textmodes/flyspell.el (flyspell-word-search-backward):
13696 Replace CL function.
13697
13698 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * mouse.el (mouse--strip-first-event): New function.
13701 (function-key-map): Use it to map fringe clicks to normal clicks
13702 by default.
13703
13704 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13705 (vc-bzr-revision-completion-table): Add support for annotate and date.
13706
13707 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13708 inherit from parent.
13709
13710 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13711
13712 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13713 (dired-show-file-type): Doc fixup (bug#8818).
13714
13715 * dired.el (dired-mode): Fix up the doc string as suggested by
13716 Drew Adams (bug#8817).
13717
13718 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13719 cookie, since the manual says that it should be possible to add
13720 this function to `find-file-hook' (bug#8709).
13721
13722 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13723
13724 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13725 here. Noted Ted Zlatanov as the maintainer.
13726 (cfengine-common-settings, cfengine-common-syntax): New functions
13727 to set up common things between `cfengine-mode' and
13728 `cfengine3-mode'.
13729 (cfengine3-mode): New mode.
13730 (cfengine3-defuns cfengine3-defuns-regex
13731 (cfengine3-class-selector-regex cfengine3-category-regex)
13732 (cfengine3-vartypes cfengine3-font-lock-keywords)
13733 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13734 (cfengine3-indent-line): Add from cfengine3.el.
13735
13736 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13737
13738 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13739
13740 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13741
13742 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13743
13744 * window.el (same-window-buffer-names, same-window-regexps)
13745 (same-window-p, special-display-frame-alist)
13746 (special-display-popup-frame, special-display-function)
13747 (special-display-buffer-names, special-display-regexps)
13748 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13749 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13750 (split-window-preferred-function, split-height-threshold)
13751 (split-width-threshold, even-window-heights)
13752 (display-buffer-mark-dedicated, window-splittable-p)
13753 (split-window-sensibly, window-safely-shrinkable-p):
13754 Un-obsolete.
13755 (display-buffer): Don't spread args with function specifier
13756 because special-display-popup-frame won't like it.
13757
13758 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13759
13760 Time-stamp simplifications and fixes.
13761 These improve accuracy slightly, and future-proof the code
13762 against some potential changes to current-time format.
13763
13764 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13765 by using time-since and float-time.
13766
13767 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13768 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13769 + NNN microseconds".
13770
13771 * type-break.el (type-break-time-sum): Rewrite using time-add.
13772
13773 * play/hanoi.el (hanoi-current-time-float): Remove.
13774 All uses replaced by float-time.
13775
13776 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13777 This yields a more-accurate answer.
13778 (rng-time-to-float): Remove; no longer needed.
13779
13780 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13781
13782 * calendar/timeclock.el (timeclock-seconds-to-time):
13783 Defalias to seconds-to-time, since they're the same thing.
13784
13785 * emacs-lisp/elp.el (elp-elapsed-time):
13786 * emacs-lisp/benchmark.el (benchmark-elapse):
13787 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13788
13789 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * window.el (bury-buffer): Don't iconify the only frame.
13792 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13793 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13794
13795 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13796
13797 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13798 Add mouse-yank-primary.
13799
13800 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13801
13802 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13803
13804 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13805
13806 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13807 (find-library-name): Use it to find relative load names when provided
13808 absolute file name (bug#8803).
13809
13810 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13811
13812 * textmodes/flyspell.el (flyspell-word): Consider words that
13813 differ only in case as potential doublons (bug#5687).
13814
13815 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13816 Remove two rather uninteresting debugging-like messages to make
13817 debbugs.el more silent.
13818
13819 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13820 a password-like phrase.
13821
13822 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13823
13824 * progmodes/cc-guess.el: New file.
13825
13826 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13827
13828 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13829 derived from `c-basic-common-init'.
13830
13831 * progmodes/cc-mode.el (top-level): Require cc-guess.
13832 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13833
13834 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13835
13836 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13837
13838 2011-06-30 Alan Mackenzie <acm@muc.de>
13839
13840 * progmodes/cc-engine.el (c-guess-continued-construct):
13841 Correct the handling of template-args-cont, particularly for when font
13842 lock is disabled. Name this case as "CASE G".
13843
13844 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13845
13846 * allout.el (allout-yank-processing): Fix injection of extra space
13847 between bullet and non-whitespace character in first topic when
13848 pasting, ensuring that the actual spacing in the pasted topic
13849 following the bullet char is preserved. This extra space was
13850 causing pasted encrypted topics to get a decrypted status even
13851 when the content was actually still encrypted. Now the decryption
13852 status from before the paste is preserved.
13853
13854 (allout-flag-region): Set all allout overlays so they evaporate
13855 when reduced to zero length (evanescent), to prevent overlay
13856 leakage.
13857
13858 2011-06-30 Glenn Morris <rgm@gnu.org>
13859
13860 * w32-fns.el (w32-charset-info-alist): Declare.
13861
13862 * find-dired.el (find-grep-options): Simplify.
13863
13864 * term/ns-win.el (ns-set-resource): Declare.
13865
13866 * ses.el (row, col): Declare dynamic variables honestly.
13867
13868 * textmodes/reftex-parse.el (index-tags): Declare.
13869
13870 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13871
13872 * cus-edit.el (customize-push-and-save): New function.
13873
13874 * files.el (hack-local-variables-confirm): Use it.
13875
13876 * custom.el (load-theme): New arg NO-CONFIRM.
13877 Use customize-push-and-save (Bug#8720).
13878 (custom-enabled-themes): Doc fix.
13879
13880 * cus-theme.el (customize-create-theme)
13881 (custom-theme-merge-theme): Callers to load-theme changed.
13882
13883 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13884
13885 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13886 short URLs have at least one dot in them (bug #7614).
13887
13888 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13889 nil, because using a pty is apparently too slow (bug #895).
13890
13891 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13892
13893 * mail/sendmail.el (sendmail-query-once): New function.
13894 (sendmail-query-once-function): New variable.
13895
13896 2011-06-29 Glenn Morris <rgm@gnu.org>
13897
13898 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13899
13900 * ses.el (top-level): Require cl when compiling.
13901 (ses-set-localvars): Fix error statement.
13902 Call it at compile time to silence a storm of warnings.
13903
13904 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13905
13906 * window.el (normalize-live-buffer): Rename to
13907 window-normalize-buffer.
13908 (normalize-live-frame): Rename to window-normalize-frame.
13909 (normalize-any-window): Rename to window-normalize-any-window.
13910 (normalize-live-window): Rename to window-normalize-live-window.
13911 (make-window-atom): Rename to window-make-atom.
13912 (window-resize-reset): Rename to window--resize-reset.
13913 (window-resize-reset-1): Rename to window--resize-reset-1.
13914 (resize-mini-window): Rename to window--resize-mini-window.
13915 (resize-subwindows-skip-p): Rename to
13916 window--resize-subwindows-skip-p.
13917 (resize-subwindows-normal): Rename to
13918 window--resize-subwindows-normal.
13919 (resize-subwindows): Rename to window--resize-subwindows.
13920 (resize-other-windows): Rename to window--resize-siblings.
13921 (resize-this-window): Rename to window--resize-this-window.
13922 (resize-root-window): Rename to window--resize-root-window.
13923 (resize-root-window-vertically): Rename to
13924 window--resize-root-window-vertically.
13925 (normalize-buffer-to-display): Rename to
13926 window-normalize-buffer-to-display.
13927 (normalize-buffer-to-switch-to): Rename to
13928 window-normalize-buffer-to-switch-to.
13929 Correspondingly update all callers of the functions listed
13930 above.
13931 (display-buffer-alist, display-buffer-normalize-arguments)
13932 (display-buffer-normalize-options, display-buffer)
13933 (display-buffer-alist-set): Use "function" instead of
13934 "fun-with-args".
13935
13936 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13937
13938 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13939 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13940 debbugs.gnu.org. Mention acknowledgment email.
13941
13942 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13943
13944 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13945 buffer multibyteness, since it shouldn't matter.
13946
13947 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13948
13949 * window.el (display-buffer-in-side-window): Handle dedicated
13950 windows as in display-buffer-reuse-window.
13951 (display-buffer-normalize-alist): Use value of override
13952 specifier.
13953 (display-buffer-normalize-specifiers): Use value of
13954 other-window-means-other-frame specifier.
13955 (display-buffer-alist): Rewrite some texts in widgets.
13956 (display-buffer): Spread arguments when calling function
13957 specified by fun-with-args.
13958
13959 2011-06-28 Deniz Dogan <deniz@dogan.se>
13960
13961 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13962 Unnest `let'.
13963
13964 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13965 selectors (Bug#5732).
13966 (css-proprietary-nmstart-re): Use `regexp-opt'.
13967
13968 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13969
13970 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13971 (eshell-ls-date-format): New defcustom.
13972 (eshell-ls-file): Use it.
13973
13974 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13977
13978 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13979
13980 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13981 (ange-ftp-make-tmp-name): New arg.
13982 (ange-ftp-file-local-copy): Use it.
13983
13984 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13985
13986 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13987 no-conversion (Bug#8870).
13988
13989 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13990
13991 * window.el (window-right, window-left, window-child)
13992 (window-child-count, window-last-child)
13993 (window-iso-combination-p, walk-window-tree-1)
13994 (window-atom-check-1, window-tree-1, delete-window)
13995 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13996 new naming conventions - window-vchild, window-hchild,
13997 window-next and window-prev are now called window-top-child,
13998 window-left-child, window-next-sibling and window-prev-sibling
13999 respectively.
14000 (resize-window-reset): Rename to window-resize-reset.
14001 (resize-window-reset-1): Rename to window-resize-reset-1.
14002 (resize-window): Rename to window-resize.
14003 (window-min-height, window-min-width)
14004 (resize-mini-window, resize-this-window, resize-root-window)
14005 (resize-root-window-vertically, adjust-window-trailing-edge)
14006 (enlarge-window, shrink-window, maximize-window)
14007 (minimize-window, delete-window, quit-restore-window)
14008 (split-window, balance-windows, balance-windows-area-adjust)
14009 (balance-windows-area, window-state-put-2)
14010 (display-buffer-even-window-sizes, display-buffer-set-height)
14011 (display-buffer-set-width, set-window-text-height)
14012 (fit-window-to-buffer): Rename all "resize-window" prefixed
14013 calls to use the "window-resize" prefix convention.
14014 (display-buffer-alist): Fix symbol for label specifier.
14015 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14016 corresponding specifier.
14017 Reported by Juanma Barranquero <lekktu@gmail.com>.
14018
14019 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14020
14021 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14022 convention.
14023 (ses-call-printer): Does not pass an empty string to formatter when the
14024 cell is empty to keep from barking printer Calc math-format-value.
14025
14026 2011-06-27 Richard Stallman <rms@gnu.org>
14027
14028 * battery.el (battery-mode-line-limit): New variable.
14029 (battery-update): Handle it.
14030
14031 * mail/rmailmm.el (rmail-mime-process-multipart):
14032 Handle truncated messages.
14033
14034 2011-06-27 Glenn Morris <rgm@gnu.org>
14035
14036 * progmodes/flymake.el (flymake-err-line-patterns):
14037 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14038
14039 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14040
14041 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14042 (ses--clean-!, ses--clean-_): New functions.
14043 (ses-range): Add configurability of readout order, and conversion
14044 to Calc vector.
14045
14046 * ses.el (ses-repair-cell-reference-all): New function.
14047 (ses-cell-symbol): Set macro as safe, so that it can be used in
14048 formulas.
14049
14050 * ses.el: Update cycle detection algorithm.
14051 (ses-localvars): Add ses--Dijkstra-attempt-nb and
14052 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14053 (ses-set-localvars): New function.
14054 (ses-make-cell): Add property-list as a cell element.
14055 (ses-cell-property-get-fun, ses-cell-property-get)
14056 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14057 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14058 New functions.
14059 (ses-cell-property-set, ses-cell-property-pop)
14060 (ses-cell-property-get-handle): New macro.
14061 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14062 New aliases, used for code readability.
14063 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14064 cycle detection.
14065 (ses-self-reference-early-detection): New defcustom.
14066 (ses-formula-references): Robustify against self-referring cells.
14067 (ses-mode): Use ses-set-localvars.
14068 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14069 before lauching the update processing.
14070 (ses-initialize-Dijkstra-attempt): New function.
14071 (ses-recalculate-cell): Update for cycle detection based on
14072 Dijkstra algorithm.
14073
14074 * ses.el: Fix commenting and indenting convention.
14075
14076 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * bs.el (bs-cycle-next): Complete last change.
14079
14080 2011-06-27 Drew Adams <drew.adams@oracle.com>
14081
14082 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14083
14084 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14085
14086 * net/network-stream.el (network-stream-open-starttls):
14087 Don't re-get capabilities unless we've reestablished connection.
14088 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14089
14090 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14091 to binary to possibly avoid line encoding issues on Windows (among
14092 other things).
14093
14094 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14095
14096 * net/network-stream.el (open-network-stream): Return an :error
14097 saying what the problem was, if possible.
14098
14099 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14100 server.
14101
14102 * net/network-stream.el (network-stream-open-starttls): If we
14103 wanted to use STARTTLS, and the server offered it, but we weren't
14104 able to because we had no STARTTLS support, then close the connection.
14105 (open-network-stream): Return an :error element, if present.
14106
14107 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14108
14109 * hl-line.el (hl-line-sticky-flag): Doc fix.
14110 (global-hl-line-sticky-flag): New option (Bug#8323).
14111 (global-hl-line-highlight): Obey it.
14112
14113 * vc/vc.el (vc-revert-show-diff): Default to t.
14114
14115 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14116
14117 * allout-widgets.el (allout-widgets-post-command-business):
14118 Stop decorating intermediate isearch matches. They're not being
14119 undecorated when an isearch is continued past, and isearch
14120 automatically collapses them. This leads to "widget leaks", where
14121 decorated items accumulate in collapsed areas. Lines with lots of
14122 hidden widgets can slow down cursor travel, substantially.
14123 Too much complicated machinery would be needed to ensure undecoration,
14124 so we're doing without this nicety.
14125
14126 (allout-widgets-tally-string): Don't try to do a hash-table-count
14127 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14128 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14129 *Messages* when allout-widgets-maintain-tally is t.
14130
14131 2011-06-26 Martin Rudalics <rudalics@gmx.at>
14132
14133 * window.el (display-buffer-normalize-argument): Rename to
14134 display-buffer-normalize-arguments. Handle special meaning of
14135 LABEL argument. Respect special-display-function when popping up
14136 a new frame. Fix code searching for a window showing the buffer
14137 on another frame.
14138 (display-buffer-normalize-specifiers):
14139 Call display-buffer-normalize-arguments.
14140 (display-buffer-in-window): Don't undedicate the window if its
14141 buffer remains the same.
14142 Reported by Drew Adams <drew.adams@oracle.com>.
14143 (display-buffer-alist): Add choice for same-window macro
14144 specfier.
14145 (display-buffer): Mention special meaning of LABEL argument in
14146 doc-string. Fix quoting. Don't pop up a new frame even as
14147 fallback.
14148
14149 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14150
14151 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14152 avoid deleting the current window in some cases (bug#8911).
14153
14154 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14155
14156 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14157 (Bug#8934)
14158
14159 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14160
14161 * net/network-stream.el (network-stream-open-starttls):
14162 Use built-in TLS support if `gnutls-available-p' is true.
14163 (network-stream-open-tls): Ditto.
14164
14165 2011-06-26 Leo Liu <sdl.web@gmail.com>
14166
14167 * register.el (registerv): New struct.
14168 (registerv-make): New function.
14169 (jump-to-register, describe-register-1, insert-register):
14170 Support the jump-func, print-func and insert-func slot of a registerv
14171 struct. (Bug#8415)
14172
14173 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14174
14175 * vc/vc.el (vc-revert-show-diff): New defcustom.
14176 (vc-diff-internal): New arg specifying diff buffer.
14177 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14178 reuse an existing *vc-diff* buffer (Bug#8927).
14179
14180 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14181
14182 2011-06-26 Glenn Morris <rgm@gnu.org>
14183
14184 * progmodes/f90.el (f90-critical-indent): New option.
14185 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14186 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14187 (f90-mode): Doc fix.
14188 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14189 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14190 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14191 (f90-match-end): Handle block, critical.
14192
14193 2011-06-25 Glenn Morris <rgm@gnu.org>
14194
14195 * calendar/diary-lib.el (diary-included-files): Doc fix.
14196 (diary-include-files): New function, extracted from
14197 diary-include-other-diary-files and diary-mark-included-diary-files.
14198 (diary-include-other-diary-files, diary-mark-included-diary-files):
14199 Just call diary-include-files.
14200 (diary-mark-entries): Reset diary-included-files on first call.
14201
14202 * calendar/diary-lib.el (diary-mark-entries)
14203 (diary-mark-included-diary-files):
14204 Visit included diary-files in temp buffers.
14205
14206 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14207 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14208 (f90-start-block-re, f90-imenu-generic-expression)
14209 (f90-looking-at-program-block-start, f90-no-block-limit):
14210 Add support for submodules.
14211
14212 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14213 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14214
14215 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14216
14217 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14218 buffer-file-type before setting its value, to avoid disastrous
14219 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14220
14221 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14222
14223 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14224
14225 * ses.el (ses-unload-function):
14226 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14227
14228 * proced.el (proced-unload-function):
14229 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14230
14231 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14232
14233 * server.el (server-create-window-system-frame): Add parameters arg.
14234 (server-process-filter): Doc fix. Handle frame-parameters.
14235
14236 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14237
14238 Fix bug#8730, bug#8781.
14239
14240 * loadhist.el (unload--set-major-mode): New function.
14241 (unload-feature): Use it.
14242
14243 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14244 (python-unload-function): New function.
14245
14246 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14249
14250 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14251
14252 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14253 the candidates list.
14254
14255 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14256
14257 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14258
14259 2011-06-23 Richard Stallman <rms@gnu.org>
14260
14261 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14262 (rmail-variables): Set next-error-move-function.
14263 (rmail-what-message): Take argument POS.
14264 (rmail-next-error-move): New function.
14265
14266 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14267
14268 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14269 messages for adjacent non-terminals.
14270
14271 2011-06-23 Richard Stallman <rms@gnu.org>
14272
14273 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14274 (rmail-show-message-1): Preserve buffer modified flag.
14275 (rmail-start-mail): Don't specify use of rmail-mail-return;
14276 that's done by mail-bury now.
14277 (rmail-mail-return): Handle arg NEWBUF.
14278
14279 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
14280
14281 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14282 SIZE is a number.
14283
14284 2011-06-23 Martin Rudalics <rudalics@gmx.at>
14285
14286 * window.el (get-lru-window, get-mru-window)
14287 (get-largest-window): Never return a minibuffer window.
14288 (display-buffer-pop-up-window): Fix a bug that could lead to
14289 reusing the minibuffer window.
14290 (display-buffer): Pass original specifier argument to
14291 display-buffer-function instead of the normalized one.
14292 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14293
14294 2011-06-22 Leo Liu <sdl.web@gmail.com>
14295
14296 * minibuffer.el (completing-read-function)
14297 (completing-read-default): Move from minibuf.c
14298
14299 2011-06-22 Richard Stallman <rms@gnu.org>
14300
14301 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14302 to Rmail even if not started by a special Rmail command.
14303
14304 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14305 Copy the buffer currently showing just one message.
14306
14307 2011-06-22 Roland Winkler <winkler@gnu.org>
14308
14309 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14310 (bibtex-clean-entry): First delete the old key so that a
14311 customized algorithm for generating the new key does not get
14312 confused by the old key.
14313 (bibtex-url): Obey regexp of first step.
14314 (bibtex-search-entries): Do not use add-to-list with local
14315 list-var.
14316
14317 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14318
14319 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14320 stored a user name, then query for the password first, instead of
14321 waiting for SMTP to give an error message and the trying again.
14322
14323 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14324
14325 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14326 BUFFER in call-process.
14327
14328 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14329
14330 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14331 QUIT twice.
14332 (smtpmail-try-auth-methods): Require user name and password from
14333 auth-source.
14334
14335 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14336
14337 * window.el (display-buffer-default-specifiers)
14338 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14339 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14340 (split-window): Normalize SIDE argument (Bug#8916).
14341
14342 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14343 (special-display-frame-alist, special-display-popup-frame):
14344 Remove duplicate declarations. These are now in window.el.
14345
14346 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14347
14348 * mail/smtpmail.el (smtpmail-via-smtp):
14349 Set :use-starttls-if-possible so that we always use STARTTLS if the
14350 server supports it. SMTP servers that support STARTTLS commonly
14351 require it.
14352
14353 * net/network-stream.el (network-stream-open-starttls): Support
14354 upgrading to STARTTLS always, even if we don't have built-in support.
14355 (open-network-stream): Add the :always-query-capabilities keyword.
14356
14357 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14358 upgrades with `open-network-stream', and rely solely on
14359 auth-source for all credentials. Big changes throughout the file,
14360 but in particular:
14361 (smtpmail-auth-credentials): Remove.
14362 (smtpmail-starttls-credentials): Remove.
14363 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14364 MAIL FROM, too.
14365
14366 * net/network-stream.el (network-stream-open-starttls):
14367 Provide support for client certificates both for external and built-in
14368 STARTTLS.
14369 (auth-source): Require.
14370 (open-network-stream): Document the :client-certificate keyword.
14371 (network-stream-certificate): Change cert-cert to cert and
14372 cert-key to key.
14373
14374 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14375
14376 * net/tramp-cache.el (top): Don't load the persistency file when
14377 "emacs -Q" has been called.
14378
14379 2011-06-21 Tim Harper <timcharper@gmail.com>
14380
14381 * term/ns-win.el (ns-initialize-window-system):
14382 Set application-specific `ApplePressAndHoldEnabled' system
14383 resource to NO as it is not yet supported by the NS port.
14384
14385 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14386
14387 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14388 (list-dynamic-libraries): ...not here.
14389
14390 2011-06-21 Leo Liu <sdl.web@gmail.com>
14391
14392 * subr.el (sha1): Implement sha1 using secure-hash.
14393
14394 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14395
14396 * window.el (display-buffer-alist): In default value do not
14397 enforce searching a window on any but the selected frame.
14398 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14399 (display-buffer-select-window): Remove function.
14400 (display-buffer-in-window): When a window on another frame gets
14401 reused, do not select it any more but just raise its frame if
14402 necessary (Bug#8851) and (Bug#8856).
14403 (display-buffer-normalize-options): Handle pop-up-frames related
14404 options more faithfully.
14405 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14406 window if it is on another frame.
14407 (display-buffer-alist, display-buffer-default-specifiers):
14408 Don't make new frame unsplittable by default.
14409 (display-buffer-normalize-argument): Fix doc-string typo and use
14410 'same-frame-other-window instead of 'other-window when associating
14411 with display-buffer-macro-specifiers.
14412
14413 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14414
14415 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14416 New functions.
14417 (5x5-mode-map, 5x5-mode-menu): Bind them.
14418 (5x5-draw-grid): Tweak the solver's rendering.
14419
14420 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14421
14422 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14423 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14424
14425 2011-06-21 Drew Adams <drew.adams@oracle.com>
14426
14427 * menu-bar.el: Use function variable instead of switch-to-buffer.
14428 (menu-bar-select-buffer-function): New variable.
14429 (menu-bar-update-buffers): Use it (bug#8876).
14430
14431 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14434 variable's status.
14435
14436 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14437
14438 * x-dnd.el (x-dnd-version-from-flags)
14439 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14440 and long as number (Bug#8899).
14441 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14442
14443 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14444
14445 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14446 (completion-try-completion, completion-all-completions): Compute the
14447 metadata argument if it's missing; make it optional (bug#8795).
14448
14449 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14450 (widget-complete): Use new :completion-function property.
14451 (widget-completions-at-point): New function.
14452 (default): Use :completion-function instead of :complete.
14453 (widget-default-completions): Rename from widget-default-complete;
14454 Rewrite.
14455 (widget-string-complete, widget-file-complete, widget-color-complete):
14456 Remove functions.
14457 (file, symbol, function, variable, coding-system, color):
14458 * international/mule-cmds.el (default-input-method, charset)
14459 (language-info-custom-alist):
14460 * cus-edit.el (face): Use new property :completions.
14461
14462 * progmodes/pascal.el (pascal-completions-at-point): New function.
14463 (pascal-mode): Use it.
14464 (pascal-mode-map): Use completion-at-point.
14465 (pascal-toggle-completions): Make obsolete.
14466 (pascal-complete-word, pascal-show-completions):
14467 * progmodes/octave-mod.el (octave-complete-symbol):
14468 Redefine as obsolete alias.
14469 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14470 Signal absence of completion info for old Octave,
14471 (inferior-octave-complete): Redefine as obsolete alias.
14472 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14473 (meta-completions-at-point): Rename from meta-complete-symbol and
14474 adapt it for use on completion-at-point-functions.
14475 (meta-common-mode): Use it.
14476 (meta-looking-at-backward, meta-match-buffer): Remove.
14477 (meta-complete-symbol): Redefine as obsolete alias.
14478 (meta-common-mode-map): Use completion-at-point.
14479 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14480 (makefile-mode-map): Use completion-at-point.
14481 (makefile-completions-at-point): Rename from makefile-complete and
14482 adapt it for use on completion-at-point-functions.
14483 (makefile-mode): Use it.
14484 (makefile-complete): Redefine as obsolete alias.
14485
14486 2011-06-20 Deniz Dogan <deniz@dogan.se>
14487
14488 * net/rcirc.el: Delete trailing whitespaces once and for all.
14489
14490 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14491
14492 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14493
14494 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14495
14496 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14497
14498 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14499
14500 2011-06-19 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (display-buffer-other-window-means-other-frame):
14503 Call display-buffer-normalize-alist.
14504 (display-buffer-normalize-specifiers-1): Rename to
14505 display-buffer-normalize-argument. New argument other-frame.
14506 Rewrite.
14507 (display-buffer-normalize-specifiers-2): Rename to
14508 display-buffer-normalize-options.
14509 (display-buffer-normalize-alist-1): New function.
14510 (display-buffer-normalize-specifiers-3): Rename to
14511 display-buffer-normalize-alist.
14512 Call display-buffer-normalize-alist-1.
14513 (display-buffer-normalize-options-inhibit): New variable.
14514 (display-buffer-normalize-specifiers): Rewrite calling
14515 display-buffer-normalize-alist,
14516 display-buffer-normalize-argument, and
14517 display-buffer-normalize-options. Don't call the latter if
14518 display-buffer-normalize-options-inhibit is non-nil.
14519 (frame-auto-delete): New option.
14520 (window-deletable-p): Use frame-auto-delete.
14521 (window-list-no-nils, window-state-ignored-parameters)
14522 (window-state-get-1, window-state-get, window-state-put-list)
14523 (window-state-put-1, window-state-put-2, window-state-put):
14524 New functions.
14525 (display-buffer-normalize-options): Move special-display-p group
14526 after pop-up-frame group (Bug#8851) and (Bug#8856).
14527
14528 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
14529
14530 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14531 groups (Bug#8776).
14532 (rx-submatch-n): New function.
14533 (rx): Document it.
14534
14535 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14536 (Bug#8768).
14537
14538 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14539
14540 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14541
14542 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14543 anytime existing face settings are present (Bug#8889).
14544
14545 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14546 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14547 Remove unused argument.
14548
14549 2011-06-18 Martin Rudalics <rudalics@gmx.at>
14550
14551 * window.el (display-buffer-default-specifiers):
14552 Remove pop-up-frame. Add pop-up-window-min-height,
14553 pop-up-window-min-width, and another reuse-window specifier
14554 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
14555 (display-buffer-normalize-specifiers-2):
14556 Handle split-height-threshold and split-width-threshold also when
14557 pop-up-windows is unset. Add a reuse-window specifier for the
14558 case popping up a new window fails.
14559 (special-display-popup-frame): Remove double quoting.
14560 (display-buffer-normalize-specifiers-1): Fix thinko.
14561
14562 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14565 according to comint-completion-addsuffix.
14566
14567 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14568 (pcomplete-suffix-list): Mark as obsolete.
14569 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14570 pcomplete-seen in the closure.
14571 (pcomplete-comint-setup): Setup completion-at-point as well.
14572 (pcomplete--entries): New function.
14573 (pcomplete--env-regexp): New var.
14574 (pcomplete-entries): Rewrite to work with partial-completion and
14575 without relying on pcomplete-suffix-list.
14576 (pcomplete-pare-list): Remove, unused.
14577
14578 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14579
14580 * window.el (display-buffer-alist): Set pop-up-window-min-height
14581 and pop-up-window-min-width in default value. Reported by
14582 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14583 other-window-means-other-frame.
14584 (display-buffer-macro-specifiers): Comment out entry for
14585 other-window specifier.
14586 (display-buffer-other-window-means-other-frame): New function.
14587 (display-buffer-normalize-specifiers-1): New arguments
14588 buffer-name and label. Treat other-window case specially.
14589 (display-buffer-normalize-specifiers-2): Treat other-window case
14590 specially.
14591 (display-buffer-normalize-specifiers-3): New function.
14592 (display-buffer-normalize-specifiers):
14593 Call display-buffer-normalize-specifiers-3.
14594
14595 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14596
14597 * window.el (same-window-p): Fix two typos introduced when
14598 adding with-no-warnings.
14599 (display-buffer-normalize-specifiers-1): Don't check
14600 pop-up-frames for 'unset initialization.
14601 (display-buffer-normalize-specifiers-2): Major rewrite using
14602 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14603 (pop-up-frames, display-buffer-reuse-frames)
14604 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14605 Suggested by David Engster <deng@randomsample.de>.
14606 (even-window-heights): Initialize to 'unset.
14607 (display-buffer-alist-set): Handle new 'unset initializations.
14608 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14609 other window case.
14610
14611 2011-06-16 Martin Rudalics <rudalics@gmx.at>
14612
14613 * window.el (display-buffer-normalize-specifiers-1):
14614 Respect current value of pop-up-frames for most reasonable values of
14615 second argument of display-buffer (Bug#8865).
14616 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14617 (switch-to-buffer-other-window-same-frame)
14618 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14619 Adams (Bug#8875).
14620 (display-buffer): Don't check noninteractive when calling
14621 display-buffer-pop-up-frame.
14622 (display-buffer-pop-up-frame): Never pop up a frame in
14623 noninteractive mode (Bug#8857).
14624 (enlarge-window, shrink-window): Don't report an error when the
14625 window can't be resized as requested (Bug#8862).
14626
14627 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14630
14631 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14632
14633 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14634
14635 2011-06-15 Alan Mackenzie <acm@muc.de>
14636
14637 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14638 for declarators, disable knr checking to speed up for normal files.
14639 2: Refactor, replacing a sequence of nested if forms by a cond form.
14640
14641 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14642
14643 * net/network-stream.el (open-network-stream): Add the keyword
14644 :always-query-capabilities for the case where you want to force a
14645 `plain' network connection, but the protocol still requires the
14646 capabilitiy command (i.e., SMTP and EHLO).
14647
14648 * subr.el (process-live-p): Rename from `process-alive-p' for
14649 consistency with other `-live-p' functions.
14650
14651 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * window.el (same-window-buffer-names, same-window-regexps)
14654 (special-display-frame-alist, special-display-popup-frame)
14655 (special-display-function, special-display-buffer-names)
14656 (special-display-regexps, pop-up-frame-alist)
14657 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14658 (pop-up-windows, split-window-preferred-function)
14659 (split-height-threshold, split-width-threshold, even-window-heights)
14660 (display-buffer-mark-dedicated): Don't encourage the use of
14661 display-buffer-alist from Elisp code.
14662
14663 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14664
14665 * progmodes/python.el (python-mode): Derive from prog-mode.
14666 * progmodes/ps-mode.el (ps-mode):
14667 * progmodes/mixal-mode.el (mixal-mode):
14668 * progmodes/cfengine.el (cfengine-mode):
14669 * progmodes/ld-script.el (ld-script-mode): Likewise.
14670
14671 2011-06-15 Martin Rudalics <rudalics@gmx.at>
14672
14673 * window.el (display-buffer-alist): Trim default value to avoid
14674 popping up a new frame (Bug#8857) or reusing an arbitrary window
14675 on another frame.
14676 (display-buffer): Do not fall back on popping up a new frame in
14677 batch mode (Bug#8857).
14678
14679 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
14680
14681 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14682 (custom-theme-summary): New function.
14683 (customize-themes): Use it.
14684
14685 2011-06-13 Glenn Morris <rgm@gnu.org>
14686
14687 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14688
14689 2011-06-13 Martin Rudalics <rudalics@gmx.at>
14690
14691 * help.el (help-window): Remove variable.
14692 (help-window-point-marker, temp-buffer-max-height)
14693 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14694 (help-print-return-message): Don't set help-window.
14695 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14696 (help-window-setup-finish): Remove.
14697 (help-window-display-message, help-window-setup)
14698 (with-help-window): Major rewrite based on new
14699 display-buffer-window variable.
14700
14701 * help-mode.el (help-mode-finish): Remove help-window related
14702 code.
14703
14704 * view.el (view-exits-all-viewing-windows): Remove reference to
14705 view-return-to-alist in doc-string.
14706 (view-return-to-alist): Make obsolete.
14707 (view-buffer): Call pop-to-buffer-same-window and remove
14708 undo-window code.
14709 (view-buffer-other-window): Call pop-to-buffer-other-window and
14710 simplify code. Ignore second argument.
14711 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14712 simplify code. Ignore second argument.
14713 (view-return-to-alist-update): Make obsolete.
14714 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14715 Rewrite using quit-restore window parameters.
14716 (view-mode-exit): Rename second argument to EXIT-ONLY.
14717 Rewrite using quit-restore-window.
14718 (View-exit, View-exit-and-edit, View-leave, View-quit)
14719 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14720 appropriate arguments.
14721 (view-end-message): Use quit-restore window parameter.
14722
14723 * window.el (display-buffer-function): Rewrite doc-string.
14724 (display-buffer-window, display-buffer-alist): New variables.
14725 (display-buffer-split-specifiers)
14726 (display-buffer-side-specifiers)
14727 (display-buffer-macro-specifiers): New constants.
14728 (display-buffer-even-window-sizes, display-buffer-set-height)
14729 (display-buffer-set-width, display-buffer-select-window)
14730 (display-buffer-in-window, display-buffer-reuse-window)
14731 (display-buffer-split-window-1, display-buffer-split-window)
14732 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14733 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14734 (display-buffer-in-side-window, normalize-buffer-to-display)
14735 (display-buffer-normalize-specifiers-1)
14736 (display-buffer-normalize-specifiers-2)
14737 (display-buffer-normalize-specifiers, display-buffer-frame):
14738 New functions.
14739 (display-buffer): Major rewrite.
14740 (display-buffer-other-window, display-buffer-other-frame)
14741 (pop-to-buffer, switch-to-buffer-other-window)
14742 (switch-to-buffer-other-frame): Rewrite.
14743 (display-buffer-same-window, display-buffer-same-frame)
14744 (display-buffer-same-frame-other-window)
14745 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14746 (pop-to-buffer-other-window)
14747 (pop-to-buffer-same-frame-other-window)
14748 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14749 (switch-to-buffer-other-window-same-frame): New functions.
14750 (same-window-p, special-display-p): Rewrite disabling warnings.
14751 Make obsolete.
14752 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14753 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14754 Make obsolete
14755 (same-window-buffer-names, same-window-regexps)
14756 (special-display-frame-alist, special-display-popup-frame)
14757 (special-display-function, special-display-buffer-names)
14758 (special-display-regexps, pop-up-frame-alist)
14759 (pop-up-frame-function, split-window-preferred-function)
14760 (split-height-threshold, split-width-threshold)
14761 (even-window-heights): Make obsolete.
14762
14763 2011-06-12 Glenn Morris <rgm@gnu.org>
14764
14765 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14766 Misc simplifications.
14767
14768 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14769
14770 * window.el (window-safely-shrinkable-p): Restore function which
14771 was inadvertently removed in change from 2011-06-11. Declare as
14772 obsolete.
14773
14774 * calendar/calendar.el (calendar-generate-window):
14775 Use window-iso-combined-p instead of combination of one-window-p and
14776 window-safely-shrinkable-p.
14777
14778 2011-06-12 Glenn Morris <rgm@gnu.org>
14779
14780 * progmodes/fortran.el (fortran-mode-syntax-table):
14781 * progmodes/f90.el (f90-mode-syntax-table):
14782 Set % to punctuation. (Bug#8820)
14783 (f90-find-tag-default): Remove, no longer needed.
14784
14785 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14786
14787 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14788
14789 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14790
14791 * image.el (image-animated-p): Return animation delay in seconds.
14792 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14793 (image-animate-timeout): Remove DELAY argument. Don't assume
14794 every subimage has the same delay; get it from image-animated-p.
14795 (image-animate): Caller changed.
14796
14797 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14798
14799 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14800 to ignored backtrace functions.
14801
14802 2011-06-11 Glenn Morris <rgm@gnu.org>
14803
14804 * calendar/appt.el (appt-disp-window-function): Doc fix.
14805 (appt-check): Handle overlapping appointments. (Bug#8337)
14806
14807 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14808
14809 * window.el (window-tree-1, window-tree): New functions, moving
14810 the latter to window.el.
14811 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14812 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14813 (bw-refresh-edges): Remove.
14814 (balance-windows-1, balance-windows-2): New functions.
14815 (balance-windows): Rewrite in terms of window tree functions,
14816 balance-windows-1 and balance-windows-2.
14817 (bw-adjust-window): Remove.
14818 (balance-windows-area-adjust): New function with functionality of
14819 bw-adjust-window but using resize-window.
14820 (set-window-text-height): Rewrite doc-string.
14821 Use normalize-live-window and resize-window.
14822 (enlarge-window-horizontally, shrink-window-horizontally):
14823 Rename argument to DELTA.
14824 (window-buffer-height): New function.
14825 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14826 Rewrite using new window resize routines.
14827 (kill-buffer-and-window, mouse-autoselect-window-select):
14828 Use ignore-errors instead of condition-case.
14829 (quit-window): Call delete-frame instead of delete-windows-on
14830 for the only buffer on frame.
14831
14832 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14833
14834 * loadup.el (top-level): Load window before files for the sake
14835 of replace-buffer-in-windows.
14836
14837 * files.el (read-buffer-to-switch)
14838 (switch-to-buffer-other-window)
14839 (switch-to-buffer-other-frame, display-buffer-other-frame):
14840 Move to window.el.
14841
14842 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14843 (previous-buffer): Move to window.el.
14844
14845 * bindings.el (unbury-buffer): Move to window.el.
14846
14847 * window.el (delete-other-windows-vertically): Move after
14848 definition of delete-other-windows.
14849 (other-window, delete-windows-on, replace-buffer-in-windows):
14850 Move here from window.c.
14851 (record-window-buffer, unrecord-window-buffer)
14852 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14853 (switch-to-next-buffer): New functions.
14854 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14855 from simple.el. Call switch-to-next-buffer.
14856 (previous-buffer): Move here from simple.el.
14857 Call switch-to-prev-buffer.
14858 (bury-buffer): Move here from buffer.c. Switch to previous
14859 buffer when window cannot be deleted.
14860 (unbury-buffer): Move here from bindings.el.
14861 (ctl-x-map): Move binding for other-window from window.c to
14862 here.
14863 (read-buffer-to-switch, switch-to-buffer-other-window)
14864 (switch-to-buffer-other-frame): Move here from files.el.
14865 (normalize-buffer-to-switch-to): New functions.
14866 (switch-to-buffer): Move here from buffer.c.
14867 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14868
14869 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14870
14871 * window.el (window-min-height, window-min-width): Move here
14872 from window.c. Add defcustoms and rewrite doc-strings.
14873 (resize-mini-window, resize-window): New functions.
14874 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14875 Move here from window.c.
14876 (maximize-window, minimize-window): New functions.
14877 (delete-window, delete-other-windows, split-window): Move here
14878 from window.c.
14879 (window-split-min-size): New function.
14880 (split-window-keep-point): Mention split-window-above-each-other
14881 instead of split-window-vertically.
14882 (split-window-above-each-other, split-window-vertically):
14883 Rename split-window-vertically to split-window-above-each-other
14884 and provide defalias for old definition.
14885 (split-window-side-by-side, split-window-horizontally):
14886 Rename split-window-horizontally to split-window-side-by-side
14887 and provide defalias for the old definition.
14888 (ctl-x-map): Move bindings for delete-window,
14889 delete-other-windows and enlarge-window here from window.c.
14890 Replace bindings for split-window-vertically and
14891 split-window-horizontally by bindings for
14892 split-window-above-each-other and split-window-side-by-side.
14893
14894 * cus-start.el (all): Remove entries for window-min-height and
14895 window-min-width. Add entries for window-splits and
14896 window-nest.
14897
14898 2011-06-09 Glenn Morris <rgm@gnu.org>
14899
14900 * calendar/appt.el (appt-mode-line): New function.
14901 (appt-check, appt-disp-window): Use it.
14902
14903 * files.el (hack-one-local-variable-eval-safep):
14904 Allow minor-modes with explicit +/-1 arguments.
14905
14906 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14907
14908 * term/xterm.el (xterm): Add defgroup.
14909 (xterm-extra-capabilities): Add defcustom to supply known xterm
14910 capabilities, skip querying them, or query them (default).
14911 (terminal-init-xterm): Use it.
14912 (terminal-init-xterm-modify-other-keys): New function to set up
14913 modifyOtherKeys support to simplify `terminal-init-xterm'.
14914
14915 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14916
14917 * window.el (resize-window-reset, resize-window-reset-1)
14918 (resize-subwindows-skip-p, resize-subwindows-normal)
14919 (resize-subwindows, resize-other-windows, resize-this-window)
14920 (resize-root-window, resize-root-window-vertically)
14921 (window-deletable-p, window-or-subwindow-p)
14922 (frame-root-window-p): New functions.
14923
14924 2011-06-09 Glenn Morris <rgm@gnu.org>
14925
14926 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14927 (ange-ftp-get-files): Use it.
14928
14929 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14930
14931 * mail/sendmail.el (mail-recover-1, mail-recover):
14932 * files.el (recover-file, recover-session):
14933 Handle dired-listing-switches not being just a single short option.
14934
14935 2011-06-09 Glenn Morris <rgm@gnu.org>
14936
14937 * calendar/appt.el (appt-display-message, appt-disp-window):
14938 Handle lists of appointments.
14939
14940 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14941
14942 * window.el (one-window-p): Move down in code.
14943 Rewrite doc-string.
14944 (window-current-scroll-bars): Rewrite doc-string.
14945 Normalize live window argument.
14946 (walk-windows, get-window-with-predicate, count-windows):
14947 Rewrite doc-string. Use window-list-1.
14948 (window-in-direction-2, window-in-direction, get-mru-window):
14949 New functions.
14950
14951 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14952
14953 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14954 Doc fix (Bug#8713).
14955
14956 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14957
14958 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14959
14960 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14961
14962 * loadhist.el (unload-feature-special-hooks):
14963 Add `comint-output-filter-functions'.
14964
14965 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14966
14967 * calendar/appt.el (appt-check): Move some initializations into the let.
14968
14969 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14970
14971 * window.el (window-height): Defalias to window-total-height.
14972 (window-width): Defalias to window-body-width.
14973
14974 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14975
14976 * image-mode.el (image-toggle-animation): New command.
14977 (image-mode-map): Bind it to RET.
14978 (image-mode): Update message.
14979 (image-toggle-display-image): Avoid a spurious cache flush.
14980 (image-transform-rotation): Doc fix.
14981 (image-transform-properties): Return quickly in the normal case.
14982 (image-animate-loop): Rename from image-animate-max-time.
14983
14984 * image.el (image-animate-max-time): Move to image-mode.el.
14985 (create-animated-image): Remove unnecessary function.
14986 (image-animate): Rename from image-animate-start. New arg.
14987 (image-animate-stop): Remove; just use image-animate-timer.
14988 (image-animate-timer): Use car-safe.
14989 (image-animate-timeout): Rename argument.
14990
14991 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14992
14993 * window.el (get-lru-window, get-largest-window): Move here from
14994 window.c. Rename first argument to ALL-FRAMES.
14995 Rephrase doc-strings.
14996 (get-buffer-window-list): Rewrite using window-list-1.
14997 Rephrase doc-string.
14998 (window-safe-min-height, window-safe-min-width): New constants.
14999 (window-size-ignore, window-min-size, window-min-size-1)
15000 (window-sizable, window-sizable-p, window-size-fixed-1)
15001 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15002 (window-max-delta-1, window-max-delta, window-resizable)
15003 (window-resizable-p, window-total-height, window-total-width)
15004 (window-body-width): New functions.
15005 (window-full-height-p, window-full-width-p): Rewrite using
15006 window-total-size.
15007 (window-body-height): Rewrite using window-body-size.
15008
15009 2011-06-06 Martin Rudalics <rudalics@gmx.at>
15010
15011 * window.el (window-right, window-left, window-child)
15012 (window-child-count, window-last-child, window-any-p)
15013 (normalize-live-buffer, normalize-live-frame)
15014 (normalize-any-window, normalize-live-window)
15015 (window-iso-combination-p, window-iso-combined-p)
15016 (window-iso-combinations)
15017 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15018 (windows-with-parameter, window-with-parameter)
15019 (window-atom-root, make-window-atom, window-atom-check-1)
15020 (window-atom-check, window-side-check, window-check):
15021 New functions.
15022 (ignore-window-parameters, window-sides, window-sides-vertical)
15023 (window-sides-slots): New variables.
15024 (window-size-fixed): Move down in code. Minor doc-string fix.
15025
15026 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15027
15028 * comint.el (comint-dynamic-complete-as-filename)
15029 (comint-dynamic-complete-filename): Correctly call
15030 completion-in-region.
15031
15032 2011-06-05 Deniz Dogan <deniz@dogan.se>
15033
15034 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15035 in last change.
15036
15037 2011-06-05 Deniz Dogan <deniz@dogan.se>
15038
15039 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15040 (rcirc): Use it to prompt for encryption.
15041
15042 2011-06-05 Roland Winkler <winkler@gnu.org>
15043
15044 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15045 (bibtex-search-entries): New command bound to C-c C-a.
15046 (bibtex-display-entries): New function.
15047
15048 2011-06-05 Roland Winkler <winkler@gnu.org>
15049
15050 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15051 (bibtex-insert-kill): After yanking insert newline if necessary.
15052 (bibtex-initialize): Call bibtex-string-files-init only once.
15053 (bibtex-mode): Do not call easy-menu-add.
15054 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15055 (bibtex-yank): Set arg properly if nil.
15056
15057 2011-06-05 Roland Winkler <winkler@gnu.org>
15058
15059 * textmodes/bibtex.el (bibtex-search-entry-globally):
15060 New variable.
15061 (bibtex-search-entry): Use it.
15062
15063 2011-06-05 Roland Winkler <winkler@gnu.org>
15064
15065 * textmodes/bibtex.el (bibtex-entry-format): New option
15066 sort-fields.
15067 (bibtex-format-entry, bibtex-reformat): Honor this option.
15068 (bibtex-parse-entry): Return fields in proper order.
15069
15070 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
15071
15072 * doc-view.el (doc-view-remove-if): Move computation of result out
15073 of `dolist' to silence misleading lexical-binding warning.
15074
15075 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
15076
15077 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15078 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15079
15080 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15081
15082 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15083 "SunOS 5.10".
15084
15085 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15086
15087 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15088 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15089 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15090 (tramp-parse-putty):
15091 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15092 (tramp-completion-function-alist-ssh)
15093 (tramp-completion-function-alist-telnet)
15094 (tramp-completion-function-alist-su)
15095 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15096 cookie.
15097
15098 * net/tramp-ftp.el:
15099 * net/tramp-sh.el:
15100 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15101 load "tramp.el" `tramp-set-completion-function'.
15102
15103 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15104
15105 * shell.el: Require and use pcomplete.
15106 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15107 (shell-completion-vars): Set pcomplete-default-completion-function.
15108
15109 2011-06-04 Deniz Dogan <deniz@dogan.se>
15110
15111 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15112 `memq' (Bug#8799).
15113
15114 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15115
15116 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15117
15118 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
15119
15120 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15121 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15122 * vc/log-view.el (log-view-beginning-of-defun):
15123 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15124 (smerge-refine-forward, smerge-refine-chopup-region):
15125 Silence warning for unused `dotimes' counter variables.
15126
15127 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15128
15129 * net/tramp.el (tramp-with-progress-reporter): Rename from
15130 with-progress-reporter. Use `declare'.
15131 * net/tramp-smb.el:
15132 * net/tramp-sh.el:
15133 * net/tramp-gvfs.el: Update all uses.
15134
15135 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15136
15137 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15138 buffer isn't killed before making it current.
15139
15140 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 Silence various byte-compiler warnings.
15143 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15144 `access-type' and new obsolescence format.
15145 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15146 new format.
15147 (byte-compile-check-variable): New `access-type' argument.
15148 Only warn if the access-type is obsolete.
15149 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15150 (byte-compile-variable-set): Adjust callers.
15151 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15152 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15153 setting it as obsolete.
15154 * simple.el (minibuffer-completing-symbol):
15155 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15156 access as obsolete.
15157 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15158 obsolete yet.
15159 * international/quail.el (quail-mouse-choose-completion): Remove unused
15160 code referring to obsolete var.
15161 (quail-choose-completion-string): Remove.
15162 * server.el (server-clients-with, server-kill-buffer-query-function)
15163 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15164 * proced.el (proced-send-signal):
15165 * emacs-lisp/lisp.el (lisp-complete-symbol):
15166 Replace completion-annotate-function with completion-extra-properties.
15167
15168 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15169
15170 * simple.el (goto-line): Use read-number.
15171 (overriding-map-is-bound): Remove.
15172 (saved-overriding-map): Change default.
15173 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15174 Take the map as argument.
15175 (universal-argument, negative-argument, digit-argument): Use it.
15176 (restore-overriding-map): Adjust.
15177 (do-auto-fill): Use fill-forward-paragraph.
15178 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15179
15180 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15181 (minibuffer-inactive-mode): New major mode.
15182 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15183 the *Messages* buffer" hack.
15184 (mouse-popup-menubar): Don't burp if the event is a normal key.
15185
15186 Miscellaneous tweaks.
15187 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15188 lexical scoping as in subr.el's dolist and dotimes.
15189 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15190 Silence compiler warning.
15191 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15192 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15193 * international/ccl.el (ccl-compile): Trivial simplification.
15194 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15195 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15196 `printflag' argument.
15197 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15198 Purecopy the whole obsolescence data.
15199
15200 2011-06-01 Leo Liu <sdl.web@gmail.com>
15201
15202 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15203 improve doc-string as suggested by Marco Pessotto
15204 <melmothx@gmail.com>.
15205 (rcirc-print): Fix last change.
15206
15207 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15208
15209 * minibuffer.el (complete-with-action): Return nil for the metadata and
15210 boundaries of non-functional tables.
15211 (completion-table-dynamic): Return nil for the metadata.
15212 (completion-table-with-terminator): Add default case, using
15213 complete-with-action.
15214 (completion--metadata): New function.
15215 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15216 to try and avoid pathological performance problems.
15217 (completion--embedded-envvar-table): Return `category' metadata.
15218
15219 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
15221 * subr.el (process-alive-p): New tiny convenience function.
15222
15223 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15224
15225 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15226 content but also its previous major mode.
15227
15228 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15229
15230 * emacs-lisp/debug.el (debug): Restore the previous content of the
15231 *Backtrace* buffer when we exit with C-M-c.
15232
15233 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15234
15235 * minibuffer.el: Add metadata method to completion tables.
15236 (completion-category-overrides): New defcustom.
15237 (completion-metadata, completion--field-metadata)
15238 (completion-metadata-get, completion--styles)
15239 (completion--cycle-threshold): New functions.
15240 (completion-try-completion, completion-all-completions):
15241 Add `metadata' argument to choose completion-styles.
15242 (completion--do-completion): Use metadata to choose cycling.
15243 (completion-all-sorted-completions): Use metadata for sorting.
15244 Remove :completion-cycle-penalty which is not needed any more.
15245 (completion--try-word-completion): Add `metadata' argument.
15246 (minibuffer-completion-help): Check metadata for annotation function
15247 and sorting.
15248 (completion-file-name-table): Return `category' metadata.
15249 (minibuffer-completing-file-name): Make obsolete.
15250 * simple.el (minibuffer-completing-symbol): Make obsolete.
15251 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15252 completion-try-completion.
15253
15254 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15257
15258 2011-05-30 Leo Liu <sdl.web@gmail.com>
15259
15260 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15261 (rcirc-print): Decode all incoming messages (bug#8744).
15262 (rcirc-decode-coding-system): Allow value nil for automatic coding
15263 system detection.
15264
15265 2011-06-01 Glenn Morris <rgm@gnu.org>
15266
15267 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15268
15269 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15270
15271 * image.el (image-animate-max-time): Allow nil and t values.
15272 Default to nil.
15273 (create-animated-image): Doc fix.
15274 (image-animate-start): Remove second arg; just use
15275 image-animate-max-time.
15276 (image-animate-timeout): Doc fix. Args changed.
15277
15278 * image-mode.el (image-toggle-display-image): Ensure that the
15279 image spec passed to the animate timer is the same object as in
15280 the buffer's display property (Bug#6981).
15281 (image-transform-properties): Doc fix.
15282
15283 * image.el (image-animate-max-time): Default to nil.
15284
15285 2011-05-29 Martin Rudalics <rudalics@gmx.at>
15286
15287 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15288 entire buffer list (Bug#8184).
15289
15290 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15291
15292 * image.el (imagemagick-types-inhibit)
15293 (imagemagick-register-types): Doc fix.
15294
15295 2011-05-29 Deniz Dogan <deniz@dogan.se>
15296
15297 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15298 default.
15299
15300 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15301
15302 * select.el: Don't perform clipboard-manager saving in hooks;
15303 leave the hooks empty.
15304
15305 2011-05-28 Leo Liu <sdl.web@gmail.com>
15306
15307 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15308 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15309 (occur-edit-mode): New major mode (Bug#8463).
15310 (occur-after-change-function): New function.
15311 (occur-engine): Give Occur tags a read-only property.
15312
15313 2011-05-28 Kevin Ryde <user42@zip.com.au>
15314
15315 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15316
15317 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15318
15319 * bindings.el (help-echo): Make the initial non-indicator dash
15320 empty on graphical terminals (Bug#7295).
15321
15322 * files.el (auto-mode-alist): Move config rule after the
15323 in-stripping one (Bug#8547).
15324
15325 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15326
15327 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15328 setting (Bug#8740).
15329
15330 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15331
15332 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15333 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15334 (Bug#8539).
15335
15336 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15337
15338 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15339
15340 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15341
15342 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15343 (hs-hide-block-at-point, hs-find-block-beginning)
15344 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15345 (Bug#8279).
15346
15347 2011-05-28 Glenn Morris <rgm@gnu.org>
15348
15349 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15350
15351 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15352
15353 * help-fns.el (describe-function-1): If the function is a derived
15354 major mode, print the parent mode.
15355
15356 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15357 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15358
15359 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15360
15361 * minibuffer.el (completion--capf-wrapper): Check applicability before
15362 returning non-nil for non-exclusive completion data.
15363 * progmodes/etags.el (tags-completion-at-point-function):
15364 * info-look.el (info-lookup-completions-at-point): Mark as
15365 non-exclusive.
15366 (info-complete): Adjust accordingly.
15367
15368 * info-look.el: Convert to lexical-binding and completion-at-point.
15369 (info-lookup-completions-at-point): New function.
15370 (info-complete): Use it and completion-in-region.
15371
15372 2011-05-28 Drew Adams <drew.adams@oracle.com>
15373
15374 * isearch.el: Let M-e start with point at the first mismatched char.
15375 (isearch-fail-pos): New function.
15376 (isearch-edit-string): Use it.
15377
15378 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15379
15380 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15381
15382 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15383
15384 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15385 traversal functions for avl-trees.
15386 (avl-tree--stack): New struct.
15387 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15388 (avl-tree-enter): Add optional `updatefun' arg.
15389 (avl-tree--do-enter): Add optional `updatefun' arg.
15390 Change return value.
15391 (avl-tree-delete): Add optional `test' and `nilflag' args.
15392 (avl-tree--do-delete): Add `test' and `nilflag' args.
15393 Change return value.
15394 (avl-tree-member): Add optional `nilflag'
15395 (avl-tree-member-p): New function.
15396 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15397 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15398 (avl-tree-stack-empty-p): New functions.
15399
15400 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15401 avl-tree--del-balance1 and make it work both ways.
15402 (avl-tree--del-balance2): Remove.
15403 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15404 make it work both ways.
15405 (avl-tree--enter-balance2): Remove.
15406 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15407 New macros.
15408 (avl-tree--mapc, avl-tree-map): Add direction argument.
15409
15410 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15411
15412 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15413
15414 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15415
15416 * select.el: Support clipboard managers with built-in function
15417 x-clipboard-manager-save, via delete-frame-functions and
15418 kill-emacs-hook.
15419 (xselect-convert-to-targets): Add MULTIPLE target to list.
15420 (xselect-convert-to-save-targets): New function.
15421
15422 2011-05-27 Kenichi Handa <handa@m17n.org>
15423
15424 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15425 let-binding rfc2047-encode-encoded-words to nil.
15426
15427 2011-05-27 Glenn Morris <rgm@gnu.org>
15428
15429 * mail/emacsbug.el: Don't require url-util.
15430
15431 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15432
15433 * files.el (set-auto-mode):
15434 Also respect mode: entries at the end of the file. (Bug#8586)
15435
15436 2011-05-26 Glenn Morris <rgm@gnu.org>
15437
15438 * files.el (hack-local-variables-prop-line, hack-local-variables):
15439 Downcase mode names, as seems to be traditional.
15440 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15441
15442 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15443 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15444
15445 2011-05-25 Julien Danjou <julien@danjou.info>
15446
15447 * textmodes/rst.el (rst-define-level-faces): Do not define face
15448 symbol if it is already defined.
15449
15450 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15451
15452 * play/5x5.el (5x5-new-game, 5x5-randomize):
15453 Reset 5x5-solver-output to nil when a new grid is cast.
15454 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15455 these debugging traces, as defmacro breaks the compiled code.
15456
15457 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15458
15459 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15460
15461 2011-05-24 Leo Liu <sdl.web@gmail.com>
15462
15463 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15464 (vc-bzr-sha1): Adapt.
15465
15466 * sha1.el: Remove. Function `sha1' is now builtin.
15467
15468 * bindings.el: Provide sha1 feature.
15469
15470 2011-05-24 Kenichi Handa <handa@m17n.org>
15471
15472 * mail/sendmail.el: Require `rfc2047'.
15473 (mail-insert-from-field): Do not perform RFC2047 encoding.
15474 (mail-encode-header): New function.
15475 (sendmail-send-it): Set buffer-file-coding-system of the work
15476 buffer to the return value of select-message-coding-system.
15477 Call mail-encode-header.
15478
15479 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15480
15481 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15482
15483 * mail/supercite.el (sc-default-cite-frame):
15484 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15485
15486 2011-05-24 Glenn Morris <rgm@gnu.org>
15487
15488 * progmodes/python.el (brm-menu): Declare.
15489
15490 * emulation/viper.el (viper-set-hooks): Declare.
15491
15492 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15493 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15494 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15495 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15496 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15497 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15498
15499 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15500
15501 Add an :exit-function for completion-at-point.
15502
15503 * minibuffer.el (completion--done): New fun.
15504 (completion--do-completion): Use it. New arg `expect-exact'.
15505 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15506 since completion--do-completion does it for us now.
15507 (minibuffer-force-complete): Use completion--done and
15508 completion--replace. Handle sole-completion case with more care.
15509 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15510 (completion-extra-properties): New var.
15511 (completion-annotate-function): Make obsolete.
15512 (minibuffer-completion-help): Adjust accordingly.
15513 Use completion-list-insert-choice-function.
15514 (completion-at-point, completion-help-at-point):
15515 Bind completion-extra-properties.
15516 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15517 * simple.el (completion-list-insert-choice-function): New var.
15518 (completion-setup-function): Preserve it.
15519 (choose-completion): Pay attention to it, shuffle the code a bit.
15520 (choose-completion-string): New arg `insert-function'.
15521
15522 * textmodes/bibtex.el: Convert to lexical binding.
15523 (bibtex-mode-map): Use completion-at-point.
15524 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15525 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15526 (bibtex-complete): Define as obsolete alias.
15527 (bibtex-complete-internal): Remove.
15528 (bibtex-format-entry): Remove unused sub-group in regexp.
15529 * shell.el (shell--command-completion-data)
15530 (shell-environment-variable-completion):
15531 * pcomplete.el (pcomplete-completions-at-point):
15532 * comint.el (comint--complete-file-name-data): Use :exit-function
15533 instead of completion-table-with-terminator so it also works for
15534 choose-completion.
15535
15536 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15539
15540 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15541 (bug#8710).
15542
15543 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15544
15545 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15546
15547 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15548 customization variable and implement: If non-nil, auto-fill will
15549 be inhibited while on topic's header line.
15550
15551 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15552
15553 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15554 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
15555 always have a solution in grid size = 5 cases.
15556 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15557 (5x5-solver-output, 5x5-log-buffer): New vars.
15558 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15559 Make these variables buffer local to achieve 5x5 multi-session-ness.
15560 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15561 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15562 (5x5-solve-suggest): New funs.
15563 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15564 randomize a grid so that we ensure that there is always a solution.
15565 (5x5-make-random-grid): Allow other movement than flipping.
15566
15567 2011-05-23 Kevin Ryde <user42@zip.com.au>
15568
15569 * emacs-lisp/advice.el (ad-read-advised-function):
15570 Use `function-called-at-point' as the default, if it has
15571 advice and passes PREDICATE.
15572
15573 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15576 byte-compile-lambda if it's actually a lambda.
15577
15578 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15579 Fix function quoting. Use backquote better.
15580
15581 2011-05-22 Yuanle Song <sylecn@gmail.com>
15582
15583 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15584 matching (Bug#8516).
15585
15586 2011-01-22 Jari Aalto <jari.aalto@cante.net>
15587
15588 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15589 different face (Bug#8178).
15590
15591 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
15592
15593 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15594 defface (Bug#8144).
15595
15596 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15599 funcall as well (bug#8712). Warn when performing those conversions.
15600 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15601
15602 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15603
15604 2011-05-22 Glenn Morris <rgm@gnu.org>
15605
15606 * files.el (hack-local-variables-prop-line): Small simplifications.
15607 (hack-local-variables, hack-local-variables-prop-line):
15608 If MODE-ONLY, return the mode, rather than just `t'.
15609
15610 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15613
15614 2011-05-21 Glenn Morris <rgm@gnu.org>
15615
15616 * files.el (hack-local-variables-prop-line, hack-local-variables):
15617 If only interested in the mode, don't bother doing the other stuff.
15618
15619 * image-mode.el (image-after-revert-hook):
15620 Redraw all frames on which the image is visible. (Bug#8567)
15621
15622 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15623
15624 * wid-edit.el (widget-checklist-match-inline):
15625 Fix 2011-04-19 change. (Bug#8649)
15626
15627 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15628
15629 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15630 Also allow singlespace after single-letter capitals followed by a dot.
15631
15632 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15633 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15634
15635 2011-05-20 Nix <nix@esperi.org.uk>
15636
15637 * files.el (basic-save-buffer-2):
15638 Fix handling of break-hardlink-on-save with non-existent files.
15639
15640 2011-05-19 Deniz Dogan <deniz@dogan.se>
15641
15642 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15643 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15644
15645 2011-05-19 Glenn Morris <rgm@gnu.org>
15646
15647 * progmodes/f90.el (f90-type-def-re):
15648 Handle "type, bind(c)". (Bug#8691)
15649
15650 * emacs-lisp/autoload.el (batch-update-autoloads):
15651 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15652
15653 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
15654
15655 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15656 property for the correct connection in case of multihops.
15657
15658 2011-05-18 Glenn Morris <rgm@gnu.org>
15659
15660 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15661 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15662
15663 Rationalize calendar handling of day and month abbrev-arrays.
15664 * calendar/calendar.el (calendar-customized-p): New function.
15665 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15666 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15667 Add :set function.
15668 (calendar-abbrev-length, calendar-day-abbrev-array)
15669 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15670 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15671 Elements may no longer be nil.
15672 (calendar-day-name, calendar-month-name):
15673 Update for changed nature of abbrev arrays.
15674 * calendar/diary-lib.el (diary-name-pattern):
15675 Update for changed nature of abbrev arrays.
15676 (diary-mark-entries-1): Update calendar-make-alist calls.
15677 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15678 * calendar/cal-html.el (cal-html-day-abbrev-array):
15679 Simply inherit from calendar-day-abbrev-array.
15680
15681 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * progmodes/grep.el (grep-mode): Disable default
15684 compilation-directory-matcher setting (bug#8684).
15685
15686 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
15687
15688 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15689 instead of "head" and "tail". There were problems with SunOS 5.9,
15690 and it performs better.
15691
15692 2011-05-17 Glenn Morris <rgm@gnu.org>
15693
15694 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15695
15696 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15697 Replace obsolete function.
15698
15699 * shell.el (pcomplete-parse-arguments-function): Declare.
15700
15701 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15702 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15703 (appt-check): Doc fixes.
15704 (appt-disp-window-function, appt-delete-window-function):
15705 Remove needless special case in custom :type.
15706 (appt-display-count): Default to 0, not nil.
15707 (appt-check): Reset appt-display-count to 0, not nil.
15708
15709 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15710
15711 * progmodes/python.el (python-font-lock-keywords):
15712 Add the Python 3.X keyword "nonlocal" (bug#8639).
15713
15714 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15715
15716 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15717
15718 2011-05-16 Kevin Ryde <user42@zip.com.au>
15719
15720 * info-look.el (makefile-automake-mode): New setups, looking in
15721 automake manual, then makefile-mode.
15722 (makefile-mode): Remove automake manual, have it just in
15723 makefile-automake-mode since there's various things different or
15724 not relevant to plain make.
15725 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15726 believe a hypothetical automake-mode would go to makefile-mode,
15727 not the other way around.
15728
15729 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15730
15731 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15732 hunk-end tags (Bug#8672).
15733
15734 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15735 vc-annotate-show-diff-revision-at-line (Bug#8671).
15736
15737 2011-05-14 Glenn Morris <rgm@gnu.org>
15738
15739 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15740 in the middle of an existing one with multiple authors. (Bug#8645)
15741 (change-log-font-lock-keywords): Also handle multiple author lines
15742 with leading tabs. (Bug#8644)
15743
15744 * calendar/appt.el (appt-check): Rename some local variables.
15745 Some simplification/reordering.
15746
15747 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15748 (feedmail-sendmail-f-doesnt-sell-me-out)
15749 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15750 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15751 (feedmail-queue-runner-message-sender): Set :version.
15752 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15753 (bbdb-dwim-net-address, vm-mail): Declare.
15754 (feedmail-binmail-gnulinuxish-template):
15755 Rename from feedmail-binmail-linuxish-template.
15756 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15757 Use insert-buffer-substring.
15758
15759 2011-05-14 Bill Carpenter <bill@carpenter.org>
15760
15761 * mail/feedmail.el (feedmail-patch-level): Increase.
15762 (feedmail-debug): New custom group.
15763 (feedmail-confirm-outgoing-timeout)
15764 (feedmail-sendmail-f-doesnt-sell-me-out)
15765 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15766 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15767 (feedmail-sender-line, feedmail-from-line)
15768 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15769 (feedmail-spray-this-address)
15770 (feedmail-spray-address-fiddle-plex-list)
15771 (feedmail-queue-use-send-time-for-date)
15772 (feedmail-queue-use-send-time-for-message-id)
15773 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15774 (feedmail-buffer-eating-function):
15775 Doc fixes.
15776 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15777 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15778 (feedmail-message-action-scroll-down): New functions.
15779 (feedmail-queue-directory, feedmail-queue-draft-directory):
15780 Use expand-file-name.
15781 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15782 Remove C-v help entry.
15783 (feedmail-queue-buffer-file-name): New variable.
15784 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15785 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15786 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15787 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15788 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15789 (feedmail-message-action-toggle-spray)
15790 (feedmail-run-the-queue-no-prompts)
15791 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15792 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15793 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15794 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15795 (feedmail-envelope-deducer, feedmail-fiddle-from)
15796 (feedmail-fiddle-sender, feedmail-default-date-generator)
15797 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15798 (feedmail-fiddle-spray-address)
15799 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15800 (feedmail-fiddle-list-of-fiddle-plexes)
15801 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15802 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15803 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15804 Change default. Doc fix.
15805 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15806 (feedmail-binmail-linuxish-template): New constant.
15807 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15808 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15809 (feedmail-send-it): Add debug call.
15810 Use feedmail-queue-buffer-file-name, and
15811 feedmail-send-it-immediately-wrapper.
15812 (feedmail-message-action-send): Add debug call.
15813 Use feedmail-send-it-immediately-wrapper.
15814 (feedmail-queue-express-to-queue): Add debug call.
15815 Run feedmail-queue-express-hook.
15816 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15817 (feedmail-message-action-help-blat):
15818 Rename from feedmail-queue-send-edit-prompt-help-first.
15819 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15820 Check line-endings. Handle errors better.
15821 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15822 Doc fix. Add debug call.
15823 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15824 Use feedmail-queue-send-edit-prompt-inner.
15825 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15826 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15827 from feedmail-queue-send-edit-prompt.
15828 (feedmail-queue-send-edit-prompt-help)
15829 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15830 (feedmail-tidy-up-slug): Add debug call.
15831 Respect feedmail-queue-slug-suspect-regexp.
15832 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15833 (feedmail-dump-message-to-queue): Add debug call.
15834 Expand queue-directory.
15835 (feedmail-dump-message-to-queue): Change message slightly.
15836 Use feedmail-say-chatter.
15837 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15838 (feedmail-send-it-immediately-wrapper): New function.
15839 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15840 Insert empty string rather than newline. Handle full-frame case.
15841 Use catch/throw. Use feedmail-say-chatter.
15842 (feedmail-fiddle-from): Try mail-host-address.
15843 (feedmail-default-message-id-generator): Doc fix.
15844 Bind system-time-locale. Handle missing end.
15845 (feedmail-fiddle-x-mailer): Add debug call.
15846 Handle feedmail-x-mailer-line being nil.
15847 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15848 Add debug call. Use buffer-substring-no-properties.
15849 (feedmail-say-debug, feedmail-say-chatter): New functions.
15850 (feedmail-find-eoh): Give an explicit error.
15851
15852 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15853
15854 * net/newst-treeview.el (newsticker-treeview-face): Change default
15855 family from helvetica to sans.
15856 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15857 etc/images/newsticker.
15858
15859 * net/newst-reader.el (newsticker-feed-face): Change default
15860 family from helvetica to sans.
15861
15862 * net/newst-plainview.el (newsticker-new-item-face)
15863 (newsticker-old-item-face, newsticker-immortal-item-face)
15864 (newsticker-obsolete-item-face, newsticker-date-face)
15865 (newsticker-statistics-face): Change default family from
15866 helvetica to sans.
15867 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15868 etc/images/newsticker.
15869
15870 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15871 (newsticker--process-auto-mark-filter-match): Tell user about
15872 auto-marking.
15873
15874 2011-05-13 Didier Verna <didier@xemacs.org>
15875
15876 Common Lisp indentation improvements on defmethod and lambda-lists.
15877 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15878 TODO entries.
15879 (lisp-lambda-list-keyword-parameter-indentation)
15880 (lisp-lambda-list-keyword-parameter-alignment)
15881 (lisp-lambda-list-keyword-alignment): New customizable user options.
15882 (lisp-indent-defun-method): Improve docstring.
15883 (extended-loop-p): Fix comment.
15884 (lisp-indent-lambda-list-keywords-regexp): New variable.
15885 (lisp-indent-lambda-list): New function.
15886 (lisp-indent-259): Use it.
15887 (lisp-indent-defmethod): Support for more than one
15888 method qualifier and properly indent methods lambda-lists.
15889 (defgeneric): Provide a missing common-lisp-indent-function property.
15890
15891 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15892
15893 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15894 bounds for the empty string (bug#8667).
15895
15896 2011-05-13 Glenn Morris <rgm@gnu.org>
15897
15898 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15899
15900 * mail/sendmail.el (sendmail-program): Try executable-find first.
15901 (sendmail-send-it): `sendmail-program' cannot be unbound.
15902
15903 * calendar/appt.el (appt-make-list): Simplify.
15904 (appt-time-msg-list): Doc fix.
15905 (appt-check): Change mode-line message at the time of the appointment.
15906
15907 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15908
15909 * progmodes/ld-script.el (ld-script-keywords)
15910 (ld-script-builtins): Update keywords list.
15911
15912 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15913
15914 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15915
15916 * shell.el (shell-completion-vars): New function.
15917 (shell-mode):
15918 * simple.el (read-shell-command): Use it.
15919 (blink-matching-open): No need for " [...]" in minibuffer-message.
15920
15921 2011-05-12 Glenn Morris <rgm@gnu.org>
15922
15923 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15924 (appt-check): Simplify.
15925
15926 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15927
15928 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15929 literal "/dev/null".
15930
15931 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15932
15933 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15934 Fix typo.
15935
15936 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15937
15938 * progmodes/which-func.el (which-function):
15939 Use add-log-current-defun instead of add-log-current-defun-function,
15940 which might not be defined (Bug#8260).
15941
15942 2011-05-12 Glenn Morris <rgm@gnu.org>
15943
15944 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15945 Let byte-compile-initial-macro-environment always take precedence.
15946
15947 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15948
15949 * net/rcirc.el: Add support for SSL/TLS connections.
15950 (rcirc-server-alist): New field `encryption'.
15951 (rcirc): Check `encryption' settings.
15952 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15953 Merge make-local-variable into `set'.
15954 (rcirc--connection-open-p): New function.
15955 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15956 the process is not a network process (e.g. running gnutls-cli).
15957 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15958 Make rcirc-(en|de)code-coding-system local here.
15959 (rcirc-mode): Merge make-local-variable into `set'.
15960 (rcirc-parent-buffer): Make permanent buffer-local.
15961 (rcirc-multiline-minor-mode): Don't do it here.
15962 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15963 there's no server buffer.
15964
15965 2011-05-11 Glenn Morris <rgm@gnu.org>
15966
15967 * newcomment.el (comment-kill): Prefix "unused" local.
15968
15969 * term/w32console.el (get-screen-color): Declare.
15970
15971 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15972 Handle symbol elements of byte-compile-initial-macro-environment.
15973
15974 2011-05-10 Leo Liu <sdl.web@gmail.com>
15975
15976 * bookmark.el (bookmark-bmenu-mode-map):
15977 Bind bookmark-bmenu-search to `/'.
15978
15979 * mail/footnote.el: Convert to utf-8 encoding.
15980 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15981 (Footnote-unicode): New function.
15982 (footnote-style-alist): Add unicode style to the list.
15983 (footnote-style): Doc fix.
15984
15985 2011-05-10 Jim Meyering <meyering@redhat.com>
15986
15987 Fix doubled-word typos.
15988 * international/quail.el (quail-insert-kbd-layout): and and -> and
15989 * kermit.el: and and -> and
15990 * net/ldap.el (ldap-search-internal): to to -> to
15991 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15992 * progmodes/js.el (js-mode): and and -> and
15993 * textmodes/artist.el (artist-move-to-xy): at at -> at
15994 (artist-draw-region-trim-line-endings): if if -> if
15995 And Safetyc -> Safety.
15996 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15997
15998 2011-05-10 Glenn Morris <rgm@gnu.org>
15999 Stefan Monnier <monnier@iro.umontreal.ca>
16000
16001 * files.el (hack-one-local-variable-eval-safep):
16002 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16003
16004 2011-05-10 Glenn Morris <rgm@gnu.org>
16005
16006 * calendar/diary-lib.el (diary-list-entries-hook)
16007 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16008 (diary-nongregorian-marking-hook, diary-list-entries)
16009 (diary-include-other-diary-files, diary-mark-entries)
16010 (diary-mark-included-diary-files): Doc fixes.
16011
16012 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16013
16014 * misc.el: Require tabulated-list.el during compilation.
16015
16016 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16017
16018 * progmodes/compile.el (compilation-start):
16019 Run compilation-filter-hook for the async case too.
16020 (compilation-filter-hook): Doc fix.
16021
16022 2011-05-09 Deniz Dogan <deniz@dogan.se>
16023
16024 * wdired.el: Remove outdated installation comment. Fix usage
16025 comment.
16026
16027 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16028
16029 * misc.el: Implement new command `list-dynamic-libraries'.
16030 (list-dynamic-libraries--loaded-only-p): New variable.
16031 (list-dynamic-libraries--refresh): New function.
16032 (list-dynamic-libraries): New command.
16033
16034 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16035
16036 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16037 Fix the ant regexp to handle end-line and end-column info from jikes.
16038 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16039 higher priority to avoid clobbering by gnu.
16040
16041 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16042
16043 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16044 if the face has existing theme settings (Bug#8454).
16045
16046 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16047
16048 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16049 Only match variables declared via `my' or `our' (Bug#8261).
16050
16051 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16052 special file names `.' and `..' (Bug#8259).
16053
16054 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16055
16056 * progmodes/grep.el (grep-mode-font-lock-keywords):
16057 Remove buffer-changing entries.
16058 (grep-filter): New function.
16059 (grep-mode): Add it to compilation-filter-hook.
16060
16061 * progmodes/compile.el (compilation-filter-hook)
16062 (compilation-filter-start): New defvars.
16063 (compilation-filter): Call compilation-filter-hook prior to
16064 updating the process mark.
16065
16066 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16067
16068 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16069
16070 2011-05-07 Eli Zaretskii <eliz@gnu.org>
16071
16072 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16073 mailclient-send-it even if window-system is nil. (Bug#8595)
16074
16075 * term/w32console.el (terminal-init-w32console):
16076 Call get-screen-color and use its output to set the frame
16077 background-mode. (Bug#8597)
16078
16079 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16080
16081 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16082 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16083 New functions.
16084 (defgeneric, eieio--defmethod): Use them.
16085 (eieio-defgeneric): Remove.
16086 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16087
16088 2011-05-07 Glenn Morris <rgm@gnu.org>
16089
16090 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16091 Use let rather than let*.
16092 (timeclock-find-discrep): Remove unused local.
16093
16094 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16095
16096 * calendar/appt.el (appt-time-msg-list): Doc fix.
16097
16098 2011-05-06 Noah Friedman <friedman@splode.com>
16099
16100 * apropos.el (apropos-print-doc): Only use
16101 emacs-lisp-docstring-fill-column when it is bound to an integer,
16102 per that variable's documentation.
16103
16104 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16105
16106 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16107 and warnings are not silently discarded (e.g. use -d instead of -P).
16108
16109 2011-05-06 Glenn Morris <rgm@gnu.org>
16110
16111 * calendar/appt.el (appt-message-warning-time): Doc fix.
16112 (appt-warning-time-regexp): New option.
16113 (appt-make-list): Respect appt-message-warning-time.
16114
16115 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16116 New options.
16117 (diary-add-to-list): Strip comments from the displayed string.
16118 (diary-mode): Set comment-start and comment-end.
16119
16120 * vc/diff-mode.el (smerge-refine-subst): Declare.
16121 (diff-refine-hunk): Don't require smerge-mode when compiling.
16122
16123 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
16124
16125 * simple.el (list-processes): Return nil as the docstring says.
16126
16127 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16128
16129 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16130 to "".
16131 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16132 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16133 determining of binary transfer. (Bug#7383)
16134
16135 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16136
16137 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16138 Fix port computation bug. (Bug#8618)
16139
16140 2011-05-05 Glenn Morris <rgm@gnu.org>
16141
16142 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16143
16144 * simple.el (shell-dynamic-complete-functions)
16145 (comint-dynamic-complete-functions): Declare.
16146
16147 * net/network-stream.el (gnutls-negotiate):
16148 * simple.el (tabulated-list-print): Fix declarations.
16149
16150 * progmodes/gud.el (syntax-symbol, syntax-point):
16151 Remove unnecessary and incorrect declarations.
16152
16153 * emacs-lisp/check-declare.el (check-declare-scan):
16154 Handle byte-compile-initial-macro-environment in bytecomp.el
16155
16156 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16157
16158 Fix earlier half-done eieio-defmethod change (bug#8338).
16159 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16160 Streamline and change calling convention.
16161 (defmethod): Adjust accordingly and simplify.
16162 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16163 new eieio--defmethod.
16164 (slot-boundp): Minor CSE simplification.
16165
16166 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16167
16168 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16169 (glasses-make-readable): Use glasses-separate-capital-groups.
16170
16171 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16172
16173 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16174 (warning-series): Doc fix.
16175 (display-warning): Don't try to create the buffer if we just found it.
16176
16177 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16178
16179 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16180 (autoload-find-generated-file): New function.
16181 (generate-file-autoloads): Bind generated-autoload-file to
16182 buffer-file-name.
16183 (update-file-autoloads, update-directory-autoloads):
16184 Use autoload-find-generated-file. If called interactively, prompt for
16185 output file (Bug#7989).
16186 (batch-update-autoloads): Doc fix.
16187
16188 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16189
16190 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16191
16192 2011-05-04 Glenn Morris <rgm@gnu.org>
16193
16194 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16195 function, so it follows changes in calendar-date-style.
16196 (diary-fancy-date-matcher): New function.
16197 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16198 (diary-fancy-font-lock-fontify-region-function):
16199 Use diary-fancy-date-pattern as a function.
16200
16201 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16202 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16203
16204 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16205
16206 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16207 instead of positional arguments. Allow :keylist and :crlfiles
16208 arguments.
16209 (open-gnutls-stream): Call it.
16210
16211 * net/network-stream.el (network-stream-open-starttls): Adjust to
16212 call `gnutls-negotiate' with :process and :hostname arguments.
16213
16214 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16215
16216 * minibuffer.el (completion--message): New function.
16217 (completion--do-completion, minibuffer-complete)
16218 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16219 (completion--do-completion): Don't ignore completion-auto-help when in
16220 icomplete-mode.
16221
16222 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16223 internal encoding (e.g. tibetan zero is not whitespace).
16224 (global-whitespace-mode): Prefer save-current-buffer.
16225 (whitespace-trailing-regexp): Remove useless save-match-data.
16226 (whitespace-empty-at-bob-regexp): Minor simplification.
16227
16228 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16229
16230 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16231
16232 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16233
16234 * textmodes/ispell.el (ispell-add-per-file-word-list):
16235 Use `concat' to create string for insertion.
16236
16237 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16240 Avoid open-line which runs post-self-insert-hook.
16241 (bibtex-fill-entry): Remove unused `end' var.
16242
16243 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16244
16245 * textmodes/ispell.el (ispell-add-per-file-word-list):
16246 Protect against `nil' value of `comment-start' (Bug#8579).
16247
16248 2011-05-03 Leo Liu <sdl.web@gmail.com>
16249
16250 * isearch.el (isearch-yank-pop): New command.
16251 (isearch-mode-map): Bind it to `M-y'.
16252 (isearch-forward): Mention it.
16253
16254 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16255
16256 * simple.el (minibuffer-complete-shell-command): Remove.
16257 (minibuffer-local-shell-command-map): Use completion-at-point.
16258 (read-shell-command): Setup completion vars here instead.
16259 (read-expression-map): Bind TAB to symbol completion.
16260
16261 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16262 error directly rather via storing it into `results'.
16263
16264 2011-05-02 Leo Liu <sdl.web@gmail.com>
16265
16266 * vc/diff.el: Fix description.
16267
16268 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16269
16270 * server.el (server-eval-at): New function.
16271
16272 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16273
16274 * net/network-stream.el (open-network-stream): Take a :nowait
16275 parameter and pass it on to `make-network-process'.
16276 (network-stream-open-plain): Ditto.
16277
16278 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16279
16280 * faces.el (face-spec-set-match-display): Don't match toolkit
16281 options on terminal frames.
16282
16283 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * progmodes/pascal.el: Use lexical binding.
16286 (pascal-mode-map): Remove author preferences.
16287
16288 * pcomplete.el (pcomplete-std-complete): Don't abuse
16289 completion-at-point.
16290
16291 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16292
16293 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16294 removing code that has been dead since 1991 or so.
16295
16296 * startup.el (command-line): When warning about "_emacs", use a
16297 delayed warning to allow the user to filter it out.
16298
16299 2011-04-28 Deniz Dogan <deniz@dogan.se>
16300
16301 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16302 user has not joined.
16303
16304 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16305
16306 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16307 aren't any completions at point.
16308
16309 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16310
16311 * subr.el (display-delayed-warnings): New function.
16312 (delayed-warnings-hook): New variable.
16313
16314 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16315
16316 * minibuffer.el (completion-at-point, completion-help-at-point):
16317 Don't presume that a given completion-at-point-function will always
16318 use the same calling convention.
16319
16320 * pcomplete.el (pcomplete-completions-at-point):
16321 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16322 pcomplete-seen is non-nil.
16323 (pcomplete-comint-setup): Also recognize the new comint/shell
16324 completion functions.
16325 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16326 pcomplete-seen is non-nil.
16327
16328 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16329
16330 * calendar/icalendar.el (diary-lib): Add require statement.
16331 (icalendar--create-uid): Read out a uid from a text-property on
16332 the first character in the entry. This allows for code to add its
16333 own uid to the entry.
16334 (icalendar--convert-float-to-ical): Add export of
16335 `diary-float'-entries save for those with the optional DAY
16336 argument.
16337
16338 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16339
16340 * subr.el (shell-quote-argument): Use alternate escaping strategy
16341 when we spot a variable reference in a string.
16342
16343 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16344
16345 * cus-start.el (all): Define customization for debug-on-event.
16346
16347 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16348
16349 * subr.el (shell-quote-argument): Escape correctly under Windows.
16350
16351 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16352
16353 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16354
16355 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16356
16357 * net/tramp.el (tramp-process-actions): Add POS argument.
16358 Delete region between POS and (pos).
16359
16360 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16361 Use `nil' position in `tramp-process-actions' call.
16362 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16363
16364 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16365 position in `tramp-process-actions' call.
16366
16367 * net/trampver.el: Update release number.
16368
16369 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16370
16371 * custom.el (defcustom): Obey lexical-binding.
16372
16373 Fix octave-inf completion problems reported by Alexander Klimov.
16374 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16375 Inherit from octave-mode-syntax-table.
16376 (inferior-octave-mode): Set info-lookup-mode.
16377 (inferior-octave-completion-at-point): New function.
16378 (inferior-octave-complete): Use it and completion-in-region.
16379 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16380 comint-filename-completion.
16381 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16382 symbol elements which shouldn't be word elements.
16383 (octave-font-lock-keywords, octave-beginning-of-defun)
16384 (octave-function-header-regexp): Adjust regexps accordingly.
16385 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16386
16387 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16388
16389 * net/gnutls.el (gnutls-errorp): Declare before first use.
16390
16391 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16392
16393 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16394 verify-error, and verify-hostname-error parameters. Check whether
16395 default trustfile exists before going to use it. Add missing
16396 argument to gnutls-message-maybe call. Return value.
16397 Reported by Claudio Bley <claudio.bley@gmail.com>.
16398 (open-gnutls-stream): Add usage example.
16399
16400 * net/network-stream.el (network-stream-open-starttls): Give host
16401 parameter to `gnutls-negotiate'.
16402 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16403 * subr.el (shell-quote-argument): Escape correctly under Windows.
16404
16405 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16406
16407 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16408 Use correct match group (bug#8438).
16409
16410 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16411
16412 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16413 (package-menu--generate): New arg specifying packages to show.
16414 (package-menu-refresh, package-menu-execute, list-packages):
16415 Callers changed.
16416 (package-show-package-list): New function, replacing deleted
16417 package--list-packages (renamed because it is non-internal).
16418
16419 * finder.el (finder-list-matches): Use package-show-package-list
16420 instead of deleted package--list-packages.
16421
16422 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16423 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16424 (vc-annotate-mode-map): Bind it to RET.
16425
16426 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16427
16428 * progmodes/etags.el (next-file): Don't use set-buffer to change
16429 buffers (Bug#8478).
16430
16431 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16432
16433 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16434
16435 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16436 (apropos-accumulator): Doc fix.
16437 (apropos-function, apropos-macro, apropos-command)
16438 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16439 (apropos-plist): Add face property.
16440 (apropos-symbols-internal): Fix indentation.
16441 (apropos-print): Simplify help, and recognize apropos-multi-type.
16442 (apropos-print-doc): Use button-type-get to extract the button's
16443 face property. Fill docstring (Bug#8352).
16444
16445 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16446
16447 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16448
16449 * play/mpuz.el (mpuz-silent): Doc fix.
16450 (mpuz-mode-map): Use mapc.
16451 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16452 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16453 Fix typos in docstrings.
16454
16455 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16456 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16457
16458 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16459
16460 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16461
16462 * minibuffer.el (completion--do-completion): Avoid the "Next char
16463 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16464
16465 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16466 mouse-2 into unread-command-events, it is interpreted correctly.
16467
16468 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16469 (image-toggle-display): Doc fix.
16470
16471 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16472
16473 * textmodes/page.el (what-page): Use line-number-at-pos to
16474 calculate line number (Bug#6825).
16475
16476 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16477
16478 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16479 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16480 Pass argument NO-DEFAULT to `find-tag-interactive'.
16481
16482 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16483
16484 Lexical-binding cleanup.
16485
16486 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16487 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16488 * progmodes/ada-prj.el (ada-prj-initialize-values)
16489 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16490 (ada-prj-show-value):
16491 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16492 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16493 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16494 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16495 * progmodes/bug-reference.el (bug-reference-push-button):
16496 * progmodes/fortran.el (fortran-line-length):
16497 * progmodes/glasses.el (glasses-change):
16498 * progmodes/octave-mod.el (octave-fill-paragraph):
16499 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16500 (python-pdbtrack-grub-for-buffer, python-sentinel):
16501 * progmodes/sql.el (sql-save-connection):
16502 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16503 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16504 Mark unused parameters.
16505
16506 * progmodes/compile.el (compilation--flush-directory-cache)
16507 (compilation--flush-parse, compile-internal): Mark unused parameters.
16508 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16509 (compilation-next-error-function): Remove unused variable `timestamp'.
16510
16511 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16512 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16513
16514 * progmodes/dcl-mode.el (dcl-end-of-command):
16515 Remove unused variable `start'.
16516 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16517 (dcl-option-value-basic, dcl-option-value-offset)
16518 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16519 Mark unused parameters.
16520 (dcl-save-local-variable): Remove unused variable `val'.
16521 (mode): Declare.
16522
16523 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16524 Mark unused parameters.
16525 (delphi-ignore-changes): Move before first use.
16526 (delphi-charset-token-at): Remove unused variable `start'.
16527 (delphi-else-start): Remove unused variable `if-count'.
16528 (delphi-comment-block-start, delphi-comment-block-end):
16529 Remove unused variable `kind'.
16530 (delphi-indent-line): Remove unused variable `new-point'.
16531
16532 * progmodes/ebrowse.el (ebrowse-files-list)
16533 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16534 Mark unused parameters. Don't quote `lambda'.
16535 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16536 Don't quote `lambda'.
16537 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16538 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16539 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16540 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16541 Use `ignore-errors'.
16542 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16543 (ebrowse-view/find-file-and-search-pattern)
16544 (ebrowse-view/find-member-declaration/definition):
16545 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16546 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16547 Rename parameter PREFIX-ARG to PREFIX.
16548 (ebrowse-tags-read-name): Remove unused variables `start' and
16549 `member-info'.
16550 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16551 to `tags-file'.
16552
16553 * progmodes/etags.el (local-find-tag-hook): Declare.
16554 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16555 Mark unused parameters.
16556
16557 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16558 (executable-interpret): Mark unused parameter.
16559
16560 * progmodes/flymake.el (flymake-process-sentinel)
16561 (flymake-after-change-function)
16562 (flymake-create-temp-with-folder-structure)
16563 (flymake-get-include-dirs-dot): Mark unused parameters.
16564 (flymake-safe-delete-directory): Remove unused variable `err'.
16565
16566 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16567 (speedbar-timer-fn, speedbar-line-text)
16568 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16569 (speedbar-center-buffer-smartly): Declare functions.
16570 (gdb-find-watch-expression): Remove unused variable `array'.
16571 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16572 (gdb-starting): Mark unused parameters.
16573 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16574 (gdb-table-string): Remove unused variable `res'.
16575 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16576 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16577 (gdb-display-buffer): Remove unused variable `cur-size'.
16578
16579 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16580 allow lexical-binding compilation.
16581 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16582 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16583 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16584 Mark unused parameters.
16585 (gud-gdb-marker-filter): Remove unused variable `match'.
16586 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16587 lambda expressions and funcall them, instead of using `fset'.
16588
16589 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16590 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16591
16592 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16593 variable `header-beg'; use `let'.
16594
16595 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16596 `restart', `last-sexp' and `at-do'.
16597
16598 * progmodes/js.el (js--debug): Mark unused parameter.
16599 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16600 (js--splice-into-items): Remove unused variable `item'.
16601 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16602
16603 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16604 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16605 (makefile-complete): Remove unused variable `try'.
16606 (makefile-fill-paragraph, makefile-match-function-end):
16607 Mark unused parameters.
16608
16609 * progmodes/octave-inf.el (inferior-octave-complete):
16610 Remove unused variable `proc'.
16611 (inferior-octave-output-digest): Mark unused parameter.
16612
16613 * progmodes/perl-mode.el (perl-calculate-indent):
16614 Remove unused variable `err'.
16615
16616 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16617 (prolog-indent-line): Mark unused parameters.
16618 (prolog-indent-line): Remove unused variable `beg'.
16619
16620 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16621 (reporter-dont-compact-list): Declare.
16622
16623 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16624 Remove unused variable `char'.
16625 (sh-debug): Mark unused parameter.
16626 (sh-get-indent-info): Remove unused variable `start'.
16627 (sh-calculate-indent): Remove unused variable `var'.
16628
16629 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16630 (simula-electric-keyword): Remove unused variable `null'.
16631 (simula-search-backward, simula-search-forward): Remove unused
16632 variables `begin' and `end'.
16633
16634 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16635 Remove unused variable `pos'.
16636 (vera-electric-tab, vera-comment-uncomment-region):
16637 Mark unused parameters.
16638 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16639
16640 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
16641
16642 * emacs-lisp/package.el (package--builtins, package-alist)
16643 (package-load-descriptor, package-built-in-p, package-activate)
16644 (define-package, package-installed-p)
16645 (package-compute-transaction, package-buffer-info)
16646 (package--push): Doc fix. Distinguish more clearly between
16647 version strings and version lists.
16648
16649 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
16650
16651 Lexical-binding cleanup.
16652
16653 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16654 (5x5-make-mutate-best):
16655 * play/fortune.el (fortune-in-buffer):
16656 * play/gomoku.el (gomoku-init-display):
16657 * play/solitaire.el (solitaire, solitaire-do-check):
16658 * play/tetris.el (tetris-default-update-speed-function):
16659 Mark unused parameters.
16660
16661 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16662 (bubbles--shift): Remove unused variable `char-org'.
16663 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16664 (bubbles--show-images): Remove unused variable `char'.
16665
16666 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16667 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16668 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16669 (decipher-analyze-buffer): Use ?\s.
16670 (decipher-make-checkpoint): Remove unused variable `mapping'.
16671
16672 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16673
16674 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16675 Remove unused variable `result'; use `let'.
16676
16677 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16678 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16679 (gametree-children-shown-p, gametree-compute-reduced-score):
16680 Use `ignore-errors'.
16681
16682 * play/handwrite.el (ps-lpr-switches): Declare.
16683 (handwrite): Remove unused variables `pmin' and `lastp'.
16684
16685 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16686
16687 * play/landmark.el (landmark-init-display)
16688 (landmark-update-naught-weights): Mark unused parameters.
16689 (landmark-y): Remove unused variable `noise'. Simplify.
16690 (landmark-human-plays): Remove unused variable `score'.
16691
16692 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16693 (mpuz-try-proposal): Remove unused variable `game'.
16694
16695 * play/zone.el (life-patterns): Declare.
16696
16697 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
16698
16699 * vc/vc.el (ediff-vc-internal): Declare function.
16700
16701 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * shell.el: Use lexical-binding and std completion UI.
16704 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16705 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16706 comint-preoutput-filter-functions rather than on
16707 comint-output-filter-functions.
16708 (shell-command-completion, shell--command-completion-data)
16709 (shell-filename-completion, shell-environment-variable-completion)
16710 (shell-c-a-p-replace-by-expanded-directory): New functions.
16711 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16712 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16713 (shell-dynamic-complete-environment-variable): Use them.
16714 (shell-dynamic-complete-as-environment-variable)
16715 (shell-dynamic-complete-as-command): Remove.
16716 (shell-match-partial-variable): Match past point.
16717 * comint.el: Clean up use of completion-at-point-functions.
16718 (comint-completion-at-point): New function.
16719 (comint-mode): Use it completion-at-point-functions.
16720 (comint-dynamic-complete): Make it obsolete.
16721 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16722 (comint-c-a-p-replace-by-expanded-history): New function.
16723 (comint-dynamic-complete-functions)
16724 (comint-replace-by-expanded-history): Use it.
16725 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16726 termination strings. Try harder to avoid second try-completion.
16727 (completion-in-region-mode-map): Disable bindings that don't work yet.
16728
16729 * comint.el: Use lexical-binding. Require CL.
16730 (comint-dynamic-complete-functions): Use comint-filename-completion.
16731 (comint-completion-addsuffix): Tweak custom type.
16732 (comint-filename-completion, comint--common-suffix)
16733 (comint--common-quoted-suffix, comint--table-subvert)
16734 (comint--complete-file-name-data): New functions.
16735 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16736 (comint-dynamic-list-filename-completions): Use them.
16737 (comint-dynamic-simple-complete): Make obsolete.
16738
16739 * minibuffer.el (completion-in-region-mode):
16740 Keep completion-in-region-mode--predicate global.
16741 (completion-in-region--postch):
16742 Assume completion-in-region-mode--predicate is not null.
16743
16744 * progmodes/flymake.el (flymake-start-syntax-check-process):
16745 Obey `dir'. Simplify.
16746
16747 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16748 we're in VC after all.
16749
16750 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16751
16752 * vc/vc.el (vc-diff-build-argument-list-internal)
16753 (vc-version-ediff, vc-ediff): New commands.
16754 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16755
16756 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16759 add sanity check.
16760
16761 * obsolete/erc-hecomplete.el: Make obsolete.
16762 * obsolete/: Standardize obsolescence info in the header.
16763
16764 2011-04-20 Glenn Morris <rgm@gnu.org>
16765
16766 * calendar/solar.el (solar-horizontal-coordinates):
16767 Use the longitude argument rather than `calendar-longitude'.
16768 (solar-date-next-longitude): Remove unused locals.
16769
16770 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16771
16772 * whitespace.el: New version 13.2.1.
16773
16774 2011-04-20 felix <EmacsWiki> (tiny change)
16775
16776 * whitespace.el (global-whitespace-mode): Keep highlight when
16777 switching between major modes on a file.
16778
16779 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16780
16781 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16782 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16783 multi-line comments as well.
16784
16785 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16786
16787 Lexical-binding cleanup.
16788
16789 * arc-mode.el (archive-mode-revert):
16790 * cmuscheme.el (scheme-interactively-start-process):
16791 * custom.el (custom-initialize-delay):
16792 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16793 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16794 * emacs-lock.el (emacs-lock-clear-sentinel):
16795 * ezimage.el (defezimage):
16796 * follow.el (follow-avoid-tail-recenter):
16797 * fringe.el (set-fringe-mode-1):
16798 * generic-x.el (bat-generic-mode-compile):
16799 * help-mode.el (help-info-variable, help-do-xref)
16800 (help-mode-revert-buffer):
16801 * help.el (view-emacs-todo):
16802 * iswitchb.el (iswitchb-completion-help):
16803 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16804 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16805 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16806 * locate.el (locate-update):
16807 * longlines.el (longlines-encode-region)
16808 (longlines-after-change-function):
16809 * outline.el (outline-isearch-open-invisible):
16810 * ps-def.el (declare-function, charset-dimension, char-width)
16811 (encode-char):
16812 * ps-mule.el (ps-mule-plot-string):
16813 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16814 (recentf-edit-list-select, recentf-edit-list-validate)
16815 (recentf-open-files-action):
16816 * rect.el (delete-whitespace-rectangle-line)
16817 (rectangle-number-line-callback):
16818 * register.el (window-configuration-to-register)
16819 (frame-configuration-to-register):
16820 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16821 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16822 (xselect-convert-to-targets, xselect-convert-to-delete)
16823 (xselect-convert-to-filename, xselect-convert-to-charpos)
16824 (xselect-convert-to-lineno, xselect-convert-to-colno)
16825 (xselect-convert-to-os, xselect-convert-to-host)
16826 (xselect-convert-to-user, xselect-convert-to-class)
16827 (xselect-convert-to-name, xselect-convert-to-integer)
16828 (xselect-convert-to-atom, xselect-convert-to-identity):
16829 * subr.el (declare, ignore, process-kill-without-query)
16830 (text-clone-maintain):
16831 * terminal.el (te-get-char, te-tic-sentinel):
16832 * tool-bar.el (tool-bar-make-keymap):
16833 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16834 * type-break.el (type-break-mode, type-break-noninteractive-query):
16835 * view.el (View-back-to-mark):
16836 * wid-browse.el (widget-browse-action, widget-browse-widget)
16837 (widget-browse-widgets, widget-browse-sexp):
16838 * widget.el (define-widget-keywords):
16839 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16840 Mark unused parameters.
16841
16842 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16843 (align-areas): Remove unused variable `look'.
16844 (align-region): Remove unused variables `real-end' and `pos-list'.
16845
16846 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16847
16848 * bindings.el (mode-line-modified, mode-line-remote):
16849 Mark unused parameters.
16850 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16851
16852 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16853 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16854
16855 * comint.el (comint-history-isearch-pop-state)
16856 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16857 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16858 (comint-substitute-in-file-name): Doc fix.
16859
16860 * completion.el (cmpl-statistics-block): Mark unused parameter.
16861 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16862 (save-completions-to-file, load-completions-from-file):
16863 Remove unused local variable `e'.
16864
16865 * composite.el (compose-chars): Remove unused variable `len'.
16866 (lgstring-insert-glyph): Remove unused variable `g'.
16867 (compose-glyph-string): Remove unused variables `ascent',
16868 `descent', `lbearing' and `rbearing'.
16869 (compose-glyph-string-relative): Remove unused variables
16870 `lbearing', `rbearing' and `wadjust'.
16871 (compose-gstring-for-graphic): Remove unused variables `header',
16872 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16873 (compose-gstring-for-terminal): Remove unused variables `header'
16874 and `nchars'. Use `let', not `let*'.
16875
16876 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16877 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16878 (Custom-buffer-done, custom-buffer-create-internal)
16879 (custom-browse-visibility-action, custom-browse-group-tag-action)
16880 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16881 (widget-magic-mouse-down-action, custom-toggle-parent)
16882 (custom-add-parent-links, custom-toggle-hide-variable)
16883 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16884 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16885 (custom-face-menu-create, custom-variable-menu-create, get)
16886 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16887 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16888 (customize-apropos): Remove unused variable `tests'.
16889 (custom-group-value-create): Remove unused variable `hidden-p'.
16890 (sort-fold-case): Declare.
16891
16892 * cus-theme.el (custom-reset-standard-faces-list)
16893 (custom-reset-standard-variables-list): Declare.
16894 (customize-create-theme, custom-theme-revert, custom-theme-write)
16895 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16896 Mark unused parameters.
16897
16898 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16899
16900 * delim-col.el (delimit-columns-max): Move defvar before first use.
16901
16902 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16903 (describe-char): Don't quote `lambda'. Mark unused parameter.
16904
16905 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16906 (auto-insert): Declare.
16907 (desktop-restore-file-buffer): Rename desktop-* parameters;
16908 mark unused ones.
16909 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16910 (desktop-buffer): Rename desktop-* parameters.
16911
16912 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16913 (dframe-reposition-frame-xemacs, dframe-help-echo)
16914 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16915 Mark unused parameters.
16916
16917 * dired-aux.el (backup-extract-version-start, overwrite-query)
16918 (overwrite-backup-query, rename-regexp-query)
16919 (rename-non-directory-query): Declare.
16920 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16921 (dired-add-entry): Remove unused variable `orig-file-name'.
16922 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16923 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16924 `dired-copy-preserve-time' directly.
16925 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16926 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16927
16928 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16929 (dired-virtual-revert, dired-make-relative-symlink):
16930 Mark unused parameters.
16931 (manual-program): Declare.
16932 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16933 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16934 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16935
16936 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16937
16938 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16939
16940 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16941 Declare.
16942
16943 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16944
16945 * electric.el (Electric-command-loop): Rename parameter
16946 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16947
16948 * expand.el (expand-in-literal): Remove unused variable `here'.
16949
16950 * facemenu.el (facemenu-add-new-color):
16951 Remove unused variable `docstring'.
16952
16953 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16954 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16955 (face-attr-construct): Mark unused parameter. Doc fix.
16956 (read-color): Remove unused variable `hex-string'.
16957
16958 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16959 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16960 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16961 (display-buffer-other-frame): Remove unused variable `old-window'.
16962 (kill-buffer-hook): Declare.
16963 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16964 Mark unused parameters.
16965 (after-find-file): Pass 1 to `auto-save-mode', not t.
16966
16967 * files-x.el (auto-insert): Declare.
16968 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16969
16970 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16971 variable `buf'. Mark unused parameter.
16972 (find-lisp-insert-directory): Mark unused parameter.
16973
16974 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16975 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16976 (format-common-tail): Remove, unused.
16977 (format-deannotate-region): Remove unused variable `loc'.
16978 (format-annotate-region): Remove unused variable `p'.
16979 (format-annotate-single-property-change): Remove unused variables
16980 `default' and `tail'.
16981
16982 * forms.el (read-file-filter): Declare.
16983 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16984
16985 * frame.el (frame-creation-function-alist): Mark unused parameter.
16986 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16987
16988 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16989 Remove unused parameters.
16990 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16991 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16992
16993 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16994 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16995 (hfy-prepare-tag-map): Mark unused parameters.
16996 (htmlfontify-buffer): Use `called-interactively-p'.
16997
16998 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16999 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17000 (ibuffer-do-occur): Mark unused parameters.
17001 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17002 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17003
17004 * ibuffer.el: Don't quote `lambda'.
17005 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17006 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17007 Mark unused parameters.
17008
17009 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17010 (ido-completing-read): Mark unused parameters.
17011 (ido-copy-current-word): Mark unused parameters;
17012 remove unused variable `name'.
17013 (ido-sort-merged-list): Remove unused parameter `dirs'.
17014
17015 * ielm.el (ielm-input-sender): Mark unused parameter.
17016 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17017 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17018 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17019 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17020 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17021
17022 * image-dired.el (image-dired-display-thumbs): Remove unused
17023 variables `curr-file' and `count'.
17024 (image-dired-remove-tag): Remove unused variable `start'.
17025 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17026 variable `curr-file'
17027 (image-dired-rotate-original): Remove unused variable `temp-file'.
17028 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17029 Remove unused variable `file'.
17030 (image-dired-gallery-generate): Remove unused variable `curr'.
17031 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17032
17033 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17034
17035 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17036
17037 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17038
17039 * isearch.el (minibuffer-history-symbol): Declare.
17040 (isearch-edit-string): Remove unused variable `err'.
17041 (isearch-message-prefix, isearch-message-suffix):
17042 Mark unused parameters.
17043
17044 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17045
17046 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17047
17048 * makesum.el (double-column): Remove unused variable `cnt'.
17049
17050 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17051 (ido-ignore-item-temp-list): Declare.
17052
17053 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17054 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17055 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17056 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17057 `mouse-col-delta'.
17058
17059 * mouse-sel.el (mouse-extend-internal):
17060 Remove unused variable `orig-window-frame'.
17061
17062 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17063 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17064 Move declarations before first use.
17065 (pcomplete-opt): Mark unused parameters; doc fix.
17066
17067 * proced.el (proced-revert): Mark unused parameter.
17068 (proced-send-signal): Remove unused variable `err'.
17069
17070 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17071 Rename parameter PREFIX-ARG to ARG.
17072 (ps-basic-plot-string, ps-basic-plot-whitespace):
17073 Mark unused parameters.
17074
17075 * replace.el (replace-count): Define.
17076 (occur-revert-function): Mark unused parameters.
17077 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17078 (isearch-case-fold-search, isearch-string): Declare.
17079 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17080 bind `case-fold-search'. Remove unused variables `beg' and `end',
17081 and simplify.
17082 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17083 COUNT and bind `replace-count'.
17084 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17085 to COUNT.
17086
17087 * savehist.el (print-readably, print-string-length): Declare.
17088
17089 * shadowfile.el (shadow-expand-cluster-in-file-name):
17090 Remove unused variable `cluster'.
17091 (shadow-copy-file): Remove unused variable `i'.
17092 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17093 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17094 (shadow-define-literal-group, shadow-define-regexp-group)
17095 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17096
17097 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17098 (shell): Use `called-interactively-p'.
17099 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17100
17101 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17102 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17103 (delete-backward-char): Remove unused variable `ocol'.
17104 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17105 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17106 (event-apply-hyper-modifier, event-apply-shift-modifier)
17107 (event-apply-control-modifier, event-apply-meta-modifier):
17108 Mark unused parameters.
17109 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17110 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17111
17112 * speedbar.el (speedbar-ignored-directory-expressions)
17113 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17114 (speedbar-find-file, speedbar-dir-follow)
17115 (speedbar-directory-buttons-follow, speedbar-tag-find)
17116 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17117 (speedbar-buffers-line-directory, speedbar-buffer-click):
17118 Mark unused parameters.
17119 (speedbar-tag-file): Remove unused variable `mode'.
17120 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17121
17122 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17123
17124 * talk.el (talk): Remove unused variable `display'.
17125
17126 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17127 (tar-write-region-annotate): Mark unused parameter.
17128
17129 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17130 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17131 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17132 warning by another.
17133
17134 * time-stamp.el (time-stamp-string-preprocess):
17135 Remove unused variable `require-padding'.
17136
17137 * tree-widget.el (widget-glyph-enable): Declare.
17138 (tree-widget-action): Mark unused parameter.
17139
17140 * w32-fns.el (x-get-selection): Mark unused parameter.
17141 (autoload-make-program, generated-autoload-file): Declare.
17142
17143 * wdired.el (wdired-revert): Mark unused parameters.
17144 (wdired-xcase-word): Remove unused variable `err'.
17145
17146 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17147 (whitespace-help-scroll): Remove unused variable `data-help'.
17148
17149 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17150 (widget-image-insert, widget-after-change, default)
17151 (widget-default-format-handler, widget-default-notify)
17152 (widget-default-prompt-value, widget-info-link-action)
17153 (widget-url-link-action, widget-function-link-action)
17154 (widget-variable-link-action, widget-file-link-action)
17155 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17156 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17157 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17158 (widget-insert-button-action, widget-delete-button-action, visibility)
17159 (widget-documentation-link-action, widget-documentation-string-action)
17160 (widget-const-prompt-value, widget-regexp-match, symbol)
17161 (widget-coding-system-prompt-value)
17162 (widget-key-sequence-value-to-external, sexp)
17163 (widget-sexp-value-to-internal, character, vector, cons)
17164 (widget-choice-prompt-value, widget-boolean-prompt-value)
17165 (widget-color--choose-action): Mark unused parameters.
17166 (widget-item-match-inline, widget-choice-match-inline)
17167 (widget-checklist-match, widget-checklist-match-inline)
17168 (widget-group-match): Rename parameter VALUES to VALS.
17169 (widget-field-value-set): Remove unused variable `size'.
17170 (widget-color-action): Remove unused variables `value' and `start'.
17171
17172 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17173 variable `dir'. Doc fix.
17174 (windmove-find-other-window): Don't pass it.
17175
17176 * window.el (count-windows): Mark unused parameter.
17177 (bw-adjust-window): Remove unused variable `err'.
17178
17179 * woman.el (woman-file-name): Remove unused variable `default'.
17180 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17181 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17182 (global-font-lock-mode): Declare.
17183 (woman-decode-region): Mark unused parameter.
17184 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17185
17186 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17187 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17188 (x-dnd-handle-moz-url): Remove unused variable `title'.
17189 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17190
17191 * xml.el (xml-parse-tag, xml-parse-attlist):
17192 Remove unused variable `pos'.
17193
17194 2011-04-19 Glenn Morris <rgm@gnu.org>
17195
17196 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17197 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17198 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17199 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17200 * calendar/cal-html.el (cal-html-insert-minical):
17201 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17202 (calendar-mark-date-pattern):
17203 Prefix "unused" locals.
17204
17205 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17206 optional argument `style'.
17207
17208 * calendar/appt.el (appt-make-list):
17209 * calendar/cal-china.el (calendar-chinese-date-string):
17210 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17211 (diary-hebrew-yahrzeit):
17212 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17213 * calendar/calendar.el (calendar-generate-window):
17214 * calendar/time-date.el (time-to-days):
17215 Remove unused local variables.
17216
17217 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17218
17219 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17220 glyphless-char-display table.
17221 (tabulated-list-glyphless-char-display): New var.
17222
17223 2011-04-18 Sam Steingold <sds@gnu.org>
17224
17225 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17226 to acknowledgments.
17227
17228 2011-04-17 Glenn Morris <rgm@gnu.org>
17229
17230 * calendar/diary-lib.el (diary-sexp-entry):
17231 * calendar/holidays.el (holiday-sexp):
17232 Set debug-on-error rather than the removed stack-trace-on-error.
17233
17234 2011-04-16 Glenn Morris <rgm@gnu.org>
17235
17236 * progmodes/f90.el: Use lexical-binding.
17237 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17238
17239 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17240
17241 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17242 (mail-mode): Setup mailalias completion here instead.
17243 * mail/mailalias.el: Use lexical-binding.
17244 (pattern, mailalias-done): Declare dynamic.
17245 (mail-completion-at-point-function): New function, from mail-complete.
17246 (mail-complete): Use it.
17247 (mail-completion-expand): New function.
17248 (mail-get-names): Use it.
17249 (mail-directory, mail-directory-process, mail-directory-stream):
17250 Don't use `pattern' for lexically bound arg.
17251
17252 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17253
17254 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17255 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17256 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17257
17258 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17259 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17260 (byte-interactive-p): Define them again, for use when inlining
17261 old code.
17262
17263 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17264
17265 * loadup.el: Use `string-to-number', not `string-to-int'.
17266
17267 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17268
17269 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17270 gud-gdb-complete-command.
17271 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17272 (gud-gdb-completion-at-point): New function.
17273 (gud-gdb-completions): Remove.
17274
17275 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17276
17277 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17278 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17279 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17280 whether `executable-find' is bound.
17281
17282 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17283
17284 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * minibuffer.el (completion-in-region-mode-predicate)
17287 (completion-in-region-mode--predicate): New vars.
17288 (completion-in-region, completion-in-region--postch)
17289 (completion-in-region-mode): Use them.
17290 (completion--capf-wrapper): Also return the hook function.
17291 (completion-at-point, completion-help-at-point):
17292 Adjust and provide a predicate.
17293
17294 Preserve arg names for advice of subr and lexical functions (bug#8457).
17295 * help-fns.el (help-function-arglist): Consolidate the subr and
17296 new-byte-code cases. Add argument `preserve-names' to extract names
17297 from the docstring when needed.
17298 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17299 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17300 (ad-arglist): Use help-function-arglist's new arg.
17301 (ad-definition-type): Use cond.
17302
17303 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17304
17305 * autorevert.el (auto-revert-handler):
17306 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17307 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17308 Don't quote lambda.
17309
17310 * image-mode.el (image-transform-set-scale):
17311 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17312
17313 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17314
17315 * net/network-stream.el (network-stream-open-starttls): Only do
17316 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17317 Upgrades via gnutls-cli are too slow to be done opportunistically.
17318
17319 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17320
17321 * dframe.el (dframe-current-frame): Remove spurious quote.
17322
17323 2011-04-12 Glenn Morris <rgm@gnu.org>
17324
17325 * calendar/cal-tex.el (cal-tex-end-document):
17326 Try to automatically use latin1 input if needed.
17327
17328 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17329 Don't try to cons a mark onto an empty element.
17330
17331 2011-04-11 Leo Liu <sdl.web@gmail.com>
17332
17333 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17334 buffers.
17335 (ido-kill-buffer-at-head): Support killing virtual buffers.
17336
17337 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17338
17339 * minibuffer.el (completion-show-inline-help): New var.
17340 (completion--do-completion, minibuffer-complete)
17341 (minibuffer-force-complete, minibuffer-complete-word):
17342 Inhibit minibuffer messages if completion-show-inline-help is nil.
17343
17344 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17345 to avoid interference from inline help (Bug#5849).
17346
17347 2011-04-10 Leo Liu <sdl.web@gmail.com>
17348
17349 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17350 Fix typo.
17351
17352 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17353
17354 * image-mode.el (image-toggle-display-image): Signal an error if
17355 not in Image mode.
17356 (image-transform-mode, image-transform-resize)
17357 (image-transform-set-rotation): Doc fix.
17358 (image-transform-set-resize): Delete.
17359 (image-transform-set-scale, image-transform-fit-to-height)
17360 (image-transform-fit-to-width): Handle image-toggle-display-image
17361 and image-transform-resize directly.
17362
17363 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17364
17365 * doc-view.el (doc-view-fit-width-to-window)
17366 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17367 New functions for fitting the shown image to the Emacs window size.
17368 (doc-view-mode-map): Add bindings for the new functions.
17369
17370 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17371
17372 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17373 Fix typo in docstring.
17374
17375 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17376
17377 * files.el (file-size-human-readable): Produce one digit after
17378 decimal, like "ls -lh" does.
17379
17380 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17381 the file size representation.
17382
17383 * simple.el (list-processes): If async subprocesses are not
17384 available, error out with a clear error message.
17385
17386 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17387
17388 * help.el (help-form-show): New function, to be called from C.
17389 Put help-form output in a buffer named differently than *Help*.
17390
17391 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17392
17393 * files.el (file-size-human-readable): New function.
17394
17395 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17396 computing the representation inline. Don't require `cl'.
17397
17398 2011-04-08 Glenn Morris <rgm@gnu.org>
17399
17400 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17401
17402 * net/browse-url.el (browse-url-firefox):
17403 Test system-type, not system-configuration.
17404
17405 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17406 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17407 Use log-edit-empty-buffer-p. (Bug#7598)
17408
17409 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17410 (rlogin-mode-map): Initialize in the defvar.
17411 (rlogin): Use ignore-errors.
17412
17413 * replace.el (occur-mode-map): Some fixes for menu items.
17414
17415 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17416
17417 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17418
17419 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17420
17421 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17422 issuing unused warnings.
17423
17424 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17425 macro directly.
17426
17427 * simple.el: Lisp reimplement of list-processes. Based on an
17428 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17429 (process-menu-mode): New major mode.
17430 (list-processes--refresh, list-processes):
17431 (process-menu-visit-buffer): New functions.
17432
17433 * files.el (save-buffers-kill-emacs): Don't assume any return
17434 value of list-processes, which is undocumented anyway.
17435
17436 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17437
17438 * emacs-lisp/tabulated-list.el: New file.
17439
17440 * emacs-lisp/package.el: Use Tabulated List mode.
17441 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17442 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17443 table format using Tabulated List mode variables.
17444 (package--push): New macro, replacing package-list-maybe-add.
17445 (package-menu--generate): Use package--push. Renamed from
17446 package--generate-package-list.
17447 (package-menu-refresh, list-packages): Use it.
17448 (package-menu--print-info): Rename from package-print-package.
17449 Return insertion data instead of inserting it directly.
17450 (package-menu-describe-package, package-menu-execute):
17451 Use tabulated-list-get-id.
17452 (package-menu-mark-delete, package-menu-mark-install)
17453 (package-menu-mark-unmark, package-menu-backup-unmark)
17454 (package-menu-mark-obsolete-for-deletion):
17455 Use tabulated-list-put-tag.
17456 (package--list-packages, package-menu-revert)
17457 (package-menu-get-package, package-menu-get-version)
17458 (package-menu-sort-by-column): Functions deleted.
17459 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17460 (package-menu--status-predicate, package-menu--version-predicate)
17461 (package-menu--name-predicate)
17462 (package-menu--description-predicate): Handle arguments in the
17463 Tabulated List format.
17464 (package-list-packages-no-fetch): Call list-packages.
17465
17466 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17467
17468 * files.el (after-find-file-from-revert-buffer): Remove variable.
17469 (after-find-file): Don't bind it.
17470 (revert-buffer-in-progress-p): New variable.
17471 (revert-buffer): Bind it.
17472 Pass nil for `after-find-file-from-revert-buffer'.
17473
17474 * saveplace.el (save-place-find-file-hook): Use new variable
17475 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17476
17477 2011-04-06 Glenn Morris <rgm@gnu.org>
17478
17479 * Makefile.in (AUTOGEN_VCS): New variable.
17480 (autoloads): Use $AUTOGEN_VCS.
17481
17482 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17483 * calendar/calendar.el (calendar-mode-map):
17484 Check for toolkit scroll bars. (Bug#8305)
17485
17486 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17487
17488 * minibuffer.el (completion-in-region--postch)
17489 (completion-in-region-mode): Remove unnecessary messages.
17490
17491 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17492
17493 * font-lock.el (font-lock-refresh-defaults):
17494 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17495 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17496
17497 * info.el (Info-directory-list, Info-read-node-name-2)
17498 (Info-split-parameter-string): Doc fixes.
17499 (Info-virtual-nodes): Reflow docstring.
17500 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17501 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17502 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17503 Fix typos in docstrings.
17504 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17505 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17506 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17507 (Info-restore-desktop-buffer): Mark unused parameters.
17508 (Info-directory-find-file, Info-directory-find-node)
17509 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17510 (Info-virtual-index-find-node, Info-apropos-find-file)
17511 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17512 Mark unused parameters; fix typos in docstrings.
17513 (Info-virtual-index): Remove unused local variable `nodename'.
17514
17515 2011-04-05 Deniz Dogan <deniz@dogan.se>
17516
17517 * net/rcirc.el: Update my e-mail address.
17518 (rcirc-mode-map): Remove M-o binding.
17519
17520 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17521
17522 * startup.el (command-line): Save the cursor's theme-face
17523 directly, instead of using face-override-spec.
17524
17525 * custom.el (load-theme): Minor optimization in assigning faces.
17526
17527 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17528
17529 * help-fns.el (describe-variable): Complete all variables having
17530 documentation, including keywords.
17531 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17532
17533 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17534
17535 Convert to lexical-binding.
17536
17537 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17538 (bs--get-marked-string, bs--get-modified-string)
17539 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17540 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17541 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17542
17543 * ehelp.el (electric-help-execute-extended)
17544 (electric-help-ctrl-x-prefix):
17545 * hexl.el (hexl-revert-buffer-function):
17546 * linum.el (linum-after-change, linum-after-scroll):
17547 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17548
17549 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17550
17551 2011-04-04 Daiki Ueno <ueno@unixuser.org>
17552
17553 * epa-dired.el:
17554 * epa-mail.el:
17555 * epa-hook.el:
17556 * epa-file.el:
17557 * epa.el:
17558 * epg.el: Use lexical binding.
17559
17560 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
17561
17562 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17563
17564 * textmodes/flyspell.el (flyspell-word): Recognize default
17565 dictionary case for flyspell-mark-duplications-exceptions.
17566 Use regexp matching for languages.
17567 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17568 default dictionary (Bug#7926).
17569
17570 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
17571
17572 * emacs-lisp/package.el (package--with-work-buffer):
17573 Recognize https URLs.
17574
17575 * net/network-stream.el: Move from gnus/proto-stream.el.
17576 Change prefix to network-stream throughout.
17577 (open-protocol-stream): Merge into open-network-stream, leaving
17578 open-protocol-stream as an alias. Handle nil BUFFER args.
17579
17580 * subr.el (open-network-stream): Move to net/network-stream.el.
17581
17582 2011-04-02 Glenn Morris <rgm@gnu.org>
17583
17584 * find-dired.el (find-exec-terminator): New option.
17585 (find-ls-option): Test for -ls support.
17586 (find-ls-subdir-switches): Test for -b in find-ls-option.
17587 (find-dired, find-grep-dired): Doc fixes.
17588 (find-dired): Use find-exec-terminator.
17589
17590 * find-dired.el (find-ls-option, find-ls-subdir-switches)
17591 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17592 (find-name-arg): Remove purecopy.
17593
17594 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17595 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17596 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17597 accordingly. Don't add the null-device if not needed.
17598
17599 * files.el (save-some-buffers): Doc fix.
17600
17601 2011-04-02 Eli Zaretskii <eliz@gnu.org>
17602
17603 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17604
17605 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
17606
17607 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17608 Use `dolist' rather than `mapcar'.
17609
17610 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 Add lexical binding.
17613
17614 * subr.el (apply-partially): Use new closures rather than CL.
17615 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17616 (dolist, dotimes): Use slightly different expansion for lexical code.
17617 (functionp): Move to C.
17618 (letrec): New macro.
17619 (with-wrapper-hook): Use it and apply-partially instead of CL.
17620 (eval-after-load): Preserve lexical-binding.
17621 (save-window-excursion, with-output-to-temp-buffer): Turn them
17622 into macros.
17623
17624 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17625
17626 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17627 than the arglist.
17628 (help-add-fundoc-usage): Don't add `Not documented'.
17629 (help-function-arglist): Handle closures, subroutines, and new
17630 byte-code-functions.
17631 (help-make-usage): Remove leading underscores.
17632 (describe-function-1): Handle closures.
17633 (describe-variable): Use special-variable-p for completion.
17634
17635 * files.el (lexical-binding): Declare safe.
17636
17637 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17638 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17639 (pcase): Add `let' pattern.
17640 Change memoization so it actually works.
17641 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17642 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17643 <let>: New case.
17644
17645 * emacs-lisp/macroexp.el: Use lexical binding.
17646 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17647 Don't convert ' to #' without checking that it's indeed quoting
17648 a lambda.
17649
17650 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17651 Use eval-sexp-add-defvars.
17652 (eval-sexp-add-defvars): New fun.
17653
17654 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17655
17656 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17657 Don't autoload.
17658 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17659 than the internal `byte-compile-lambda'.
17660 (defmethod): Don't hide code under quotes.
17661 (eieio-defmethod): New `code' argument.
17662
17663 * emacs-lisp/eieio-comp.el: Remove.
17664
17665 * emacs-lisp/edebug.el (edebug-eval-defun)
17666 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17667 (edebug-toggle): Avoid `eval'.
17668
17669 * emacs-lisp/disass.el (disassemble-internal): Handle new
17670 `closure' objects.
17671 (disassemble-1): Handle new byte codes.
17672
17673 * emacs-lisp/cl.el (pushnew): Silence warning.
17674
17675 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17676 (cl-byte-compile-throw): Remove.
17677 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17678
17679 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17680 closures.
17681
17682 * emacs-lisp/cconv.el: New file.
17683
17684 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17685 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17686 (byte-compile-initial-macro-environment):
17687 Handle declare-function here.
17688 (byte-compile--lexical-environment): New var.
17689 (byte-stack-ref, byte-stack-set, byte-discardN)
17690 (byte-discardN-preserve-tos): New lap codes.
17691 (byte-interactive-p): Don't use any more.
17692 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17693 New macros.
17694 (byte-compile-lapcode): Use them and handle new lap codes.
17695 (byte-compile-obsolete): Remove.
17696 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17697 (byte-compile-arglist-warn): Check late def of inlinable funs.
17698 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17699 since they should have been expanded by now.
17700 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17701 (byte-compile-from-buffer): Remove unused second arg.
17702 (byte-compile-preprocess): New function.
17703 (byte-compile-toplevel-file-form): New function to distinguish
17704 file-form calls from outside from file-form calls from hunk-handlers.
17705 (byte-compile-file-form): Simplify.
17706 (byte-compile-file-form-defsubst): Remove.
17707 (byte-compile-file-form-defmumble): Simplify now that
17708 byte-compile-lambda always returns a byte-code-function.
17709 (byte-compile): Preprocess.
17710 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17711 Remove, not used any more.
17712 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17713 (byte-compile-make-args-desc): New funs.
17714 (byte-compile-lambda): Handle lexical functions. Always return
17715 a byte-code-function.
17716 (byte-compile-reserved-constants): New var, to make up room for
17717 closed-over variables.
17718 (byte-compile-constants-vector): Obey it.
17719 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17720 (byte-compile-macroexpand-declare-function): New function.
17721 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17722 byte-code-functions.
17723 (byte-compile-form): Check obsolescence here.
17724 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17725 (byte-compile-variable-ref): Remove.
17726 (byte-compile-dynamic-variable-op): New fun.
17727 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17728 (byte-compile-variable-set): New funs.
17729 (byte-compile-discard): Add 2 args.
17730 (byte-compile-stack-ref, byte-compile-stack-set)
17731 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17732 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17733 macroexpand-all instead.
17734 (byte-compile-quote-form): Remove.
17735 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17736 (byte-compile-bind, byte-compile-unbind): New funs.
17737 (byte-compile-let): Handle let* and lexical binding.
17738 (byte-compile-let*): Remove.
17739 (byte-compile-catch, byte-compile-unwind-protect)
17740 (byte-compile-track-mouse, byte-compile-condition-case):
17741 Handle a new :fun-body form, used for lexical scoping.
17742 (byte-compile-save-window-excursion)
17743 (byte-compile-with-output-to-temp-buffer): Remove.
17744 (byte-compile-defun): Simplify.
17745 (byte-compile-stack-adjustment): New fun.
17746 (byte-compile-out): Use it.
17747 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17748
17749 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17750 handler any more.
17751
17752 * emacs-lisp/byte-opt.el: Use lexical binding.
17753 (byte-inline-lapcode): Remove (to bytecomp).
17754 (byte-compile-inline-expand): Pay attention to inlining to/from
17755 lexically bound code.
17756 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17757 any more.
17758 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17759 any more and don't call compiler-macros.
17760 (byte-compile-splice-in-already-compiled-code): Remove.
17761 (byte-code): Don't inline any more.
17762 (disassemble-offset): Receive `bytes' as argument rather than via
17763 dynamic scoping.
17764 (byte-compile-tag-number): Declare before first use.
17765 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17766 `return' even if make-spliceable.
17767 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17768 obsolete interactive-p.
17769 (byte-optimize-lapcode): Optimize new lap-codes.
17770 Don't trip up on new form of `byte-constant' lap code.
17771
17772 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17773
17774 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17775
17776 * custom.el (custom-initialize-default, custom-declare-variable):
17777 Use `defvar'.
17778
17779 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17780 New variables.
17781 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17782 (COMPILE_FIRST): Add macroexp and cconv.
17783 * makefile.w32-in: Mirror changes in Makefile.in.
17784
17785 * vc/cvs-status.el:
17786 * vc/diff-mode.el:
17787 * vc/log-edit.el:
17788 * vc/log-view.el:
17789 * vc/smerge-mode.el:
17790 * textmodes/bibtex-style.el:
17791 * textmodes/css-mode.el:
17792 * startup.el:
17793 * uniquify.el:
17794 * minibuffer.el:
17795 * newcomment.el:
17796 * reveal.el:
17797 * server.el:
17798 * mpc.el:
17799 * emacs-lisp/smie.el:
17800 * doc-view.el:
17801 * dired.el:
17802 * abbrev.el: Use lexical binding.
17803
17804 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17805
17806 * info.el (info-display-manual): New function.
17807
17808 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17809
17810 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17811
17812 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17813
17814 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17815 an entry for that server in rcirc-authinfo. (Bug#8385)
17816
17817 2011-03-31 Glenn Morris <rgm@gnu.org>
17818
17819 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17820
17821 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17822
17823 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17824
17825 * progmodes/python.el (python-default-interpreter)
17826 (python-python-command-args, python-jython-command-args)
17827 (python-which-shell, python-which-args, python-which-bufname)
17828 (python-file-queue, python-comint-output-filter-function)
17829 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17830 variables and functions.
17831
17832 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17833
17834 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17835 (completion-in-region-mode): New minor mode.
17836 (completion-in-region): Use it.
17837 (completion-in-region--data, completion-in-region-mode-map): New vars.
17838 (completion-in-region--postch): New function.
17839 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17840 New vars.
17841 (completion--capf-wrapper): New function.
17842 (completion-at-point): Use it to track well-behavedness of
17843 hook functions.
17844 (completion-help-at-point): New command.
17845
17846 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17847
17848 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17849 syntax class to search for whitespace on a single line
17850 (Message-ID: <4D938140.4030905@redhat.com>).
17851
17852 2011-03-30 Leo Liu <sdl.web@gmail.com>
17853
17854 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17855 New commands.
17856 (edit-abbrevs-map): Bind them here.
17857 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17858
17859 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17860
17861 * allout.el (allout-hide-by-annotation, allout-flag-region):
17862 Reduce possibility of overlay leakage by making them volatile.
17863
17864 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17865 hash is not shared between buffers. Mode initialization is
17866 responsible for giving it a useful starting value.
17867 (allout-item-span): Reduce possibility of overlay leakage by
17868 making them volatile.
17869 (allout-widgets-count-buttons-in-region): Add diagnostic function
17870 for tracking down button overlay leaks.
17871
17872 2011-03-29 Leo Liu <sdl.web@gmail.com>
17873
17874 * ido.el (ido-read-internal): Use the default history var
17875 minibuffer-history if no HISTORY is specified.
17876
17877 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17878
17879 * net/imap.el (imap-shell-open, imap-process-connection-type):
17880 Use imap-process-connection-type for 'shell' streams as well as
17881 Kerberos, SSL, other subprocesses.
17882
17883 2011-03-28 Leo Liu <sdl.web@gmail.com>
17884
17885 * abbrev.el (abbrev-table-empty-p): New function.
17886 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17887 nonempty ones. (Bug#5937)
17888
17889 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17890
17891 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17892
17893 2011-03-27 Leo Liu <sdl.web@gmail.com>
17894
17895 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17896 for foreground and background colors.
17897 (ansi-color-make-color-map): Adapt.
17898
17899 2011-03-25 Leo Liu <sdl.web@gmail.com>
17900
17901 * midnight.el (midnight-time-float): Remove. Note it calculates
17902 the microsecond component incorrectly and seconds-to-time does the
17903 same job.
17904 Remove redundant (require 'timer).
17905
17906 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17907 (ido-completions): Remove unused arguments. (Bug#8329)
17908
17909 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * minibuffer.el (completion--flush-all-sorted-completions):
17912 Remove itself from hook.
17913 (completion-at-point): Let the functions perform the completion
17914 immediately and return nil or t.
17915 * comint.el (comint-dynamic-complete-functions): Now identical to
17916 completion-at-point-functions.
17917 (comint-dynamic-list-input-ring): Remove unused var `index'.
17918 (comint--match-partial-filename, comint--unquote&expand-filename):
17919 New funs, split from comint-match-partial-filename.
17920 (comint-dynamic-complete): Use completion-at-point.
17921 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17922
17923 2011-03-24 Drew Adams <drew.adams@oracle.com>
17924
17925 * thingatpt.el: Support `defun'.
17926
17927 2011-03-23 Leo Liu <sdl.web@gmail.com>
17928
17929 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17930
17931 * help-mode.el (help-mode-finish): Tweak regexp.
17932
17933 2011-03-23 Glenn Morris <rgm@gnu.org>
17934
17935 * eshell/esh-opt.el (eshell-eval-using-options):
17936 Do not bind unused local variable `eshell-option-stub'.
17937
17938 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17939
17940 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17941
17942 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17943 keymap variable in `with-no-warnings' to avoid a warning when the
17944 keymap has been already `defconst'ed.
17945
17946 2011-03-22 Leo Liu <sdl.web@gmail.com>
17947
17948 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17949 encode all chars in abbrevs; otherwise use emacs-mule or
17950 utf-8-emacs. (Bug#8308)
17951
17952 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17953
17954 * simple.el (backward-delete-char-untabify):
17955 Avoid warning about using `delete-backward-char'.
17956
17957 * image.el (image-type-file-name-regexps): Make it variable.
17958 `imagemagick-register-types' modifies it, and the user may want
17959 to add new extensions for known image types.
17960 (imagemagick-register-types): Throw error if not using ImageMagick.
17961
17962 2011-03-22 Leo Liu <sdl.web@gmail.com>
17963
17964 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17965 located before rcirc-prompt-end-marker.
17966 (rcirc-complete): Error if point is not after rcirc prompt.
17967 Handle the case when table is nil.
17968 (rcirc-user-authenticated): Define to fix compiler warning.
17969
17970 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17971
17972 * custom.el (custom--inhibit-theme-enable): Make it affect only
17973 custom-theme-set-variables and custom-theme-set-faces.
17974 (provide-theme): Ignore custom--inhibit-theme-enable.
17975 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17976 (custom-enabling-themes): Delete variable.
17977 (enable-theme): Accept only loaded themes as arguments.
17978 Ignore the special custom-enabled-themes variable.
17979 (custom-enabled-themes): Forbid themes from setting this.
17980 Eliminate use of custom-enabling-themes.
17981 (custom-push-theme): Quote "changed" custom var entry.
17982
17983 2011-03-21 Leo Liu <sdl.web@gmail.com>
17984
17985 * ido.el (ido-read-internal): Add ido-selected to history instead
17986 of user input.
17987
17988 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17989
17990 * subr.el (deferred-action-list, deferred-action-function):
17991 Mark obsolete.
17992
17993 2011-03-21 Leo Liu <sdl.web@gmail.com>
17994
17995 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17996 change on 2011-02-13 (bug#8309).
17997
17998 * minibuffer.el (read-file-name-function): Change default value.
17999 (read-file-name--defaults): Rename from read-file-name-defaults.
18000 (read-file-name-default): Rename from read-file-name.
18001 (read-file-name): Call read-file-name-function.
18002
18003 2011-03-21 Glenn Morris <rgm@gnu.org>
18004
18005 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18006 Doc fixes.
18007
18008 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
18009
18010 * cus-theme.el: Add missing provide statement.
18011 (customize-create-theme): Extract theme value correctly.
18012 (custom-theme-visit-theme): Autoload.
18013 (customize-create-theme): Prompt before inserting default faces.
18014
18015 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18016
18017 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18018 units and musical notes.
18019
18020 2011-03-20 Leo Liu <sdl.web@gmail.com>
18021
18022 * ido.el (ido-read-internal): Use completing-read-default.
18023 (ido-completing-read): Fix compatibility with completing-read.
18024
18025 2011-03-20 Christian Ohler <ohler@gnu.org>
18026
18027 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18028 (ert-delete-all-tests): Use `called-interactively-p' rather than
18029 `interactive-p'.
18030 (ert--make-xrefs-region): Respect END.
18031
18032 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18033
18034 * dired-aux.el (dired-create-directory): Signal an error if the
18035 directory already exists (Bug#8246).
18036
18037 * facemenu.el (list-colors-display): Call list-faces-display
18038 inside with-help-window.
18039 (list-colors-print): Use display property to align the final
18040 column, instead of checking window-width.
18041
18042 2011-03-19 Eli Zaretskii <eliz@gnu.org>
18043
18044 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18045 windows-nt systems.
18046 (emerge-protect-metachars): Quote correctly for ms-dos and
18047 windows-nt systems.
18048
18049 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
18050
18051 * info.el (info-initialize): Replace all uses of `:' with
18052 path-separator for compatibility with non-Unix systems.
18053 Cache quoting of path-separator. (Bug#8258)
18054
18055 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
18056
18057 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18058 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18059 (mouse-avoidance-mode): Fix typos in docstrings.
18060
18061 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18062
18063 * startup.el (package-subdirectory-regexp): Move from package.el.
18064 Omit \\` and \\', and let callers add them.
18065
18066 * emacs-lisp/package.el (package-strip-version)
18067 (package-load-all-descriptors): Add \\` and \\' to
18068 package-subdirectory-regexp before using it.
18069 (package-untar-buffer): New arg DIR; ensure that file untars only
18070 into this expected directory. Remove superfluous delete-region.
18071 (package-unpack): Caller changed.
18072 (package-tar-file-info): Use package-subdirectory-regexp.
18073
18074 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18075
18076 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18077 diff-mode-shared-map (bug#8284).
18078 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18079
18080 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18081
18082 * calendar/time-date.el (format-seconds): Use assoc instead of
18083 assoc-string, since assoc-string doesn't exist in XEmacs.
18084
18085 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
18086
18087 * custom.el (custom-known-themes): Reflow docstring.
18088 (custom-theme-load-path): Fix typo in docstring.
18089 (load-theme): Fix typo in error message.
18090 (custom-available-themes, custom-variable-theme-value):
18091 Use `let', not `let*'.
18092
18093 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18094
18095 * calc/README: Mention inclusion of musical notes.
18096
18097 * calc/calc-units.el (calc-lu-quant): Rename from
18098 `calc-logunits-quantity'.
18099 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18100 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18101 (calc-db): Rename from `calc-dblevel'.
18102 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18103 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18104 (calc-np): Rename from `calc-nplevel'.
18105 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18106 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18107 (calc-lu-plus): Rename from `calc-logunits-add'.
18108 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18109 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18110 (calc-lu-minus): Rename from `calc-logunits-sub'.
18111 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18112 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18113 (calc-lu-times): Rename from `calc-logunits-mul'.
18114 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18115 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18116 (calc-lu-divide): Rename from `calc-logunits-div'.
18117 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18118 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18119
18120 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18121 functions being autoloaded.
18122
18123 * calc/calc.el (calc-lu-power-reference): Rename from
18124 `calc-logunits-power-reference'.
18125 (calc-lu-field-reference): Rename from
18126 `calc-logunits-field-reference'.
18127
18128 * calc/calc-help.el (calc-l-prefix-help):
18129 Mention musical note functions.
18130
18131 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18132
18133 * minibuffer.el (completion-all-sorted-completions):
18134 Use :completion-cycle-penalty text property if present.
18135
18136 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18137
18138 * allout.el (allout-yank-processing): Adjust for new rebulleting
18139 regime so bullet being yanked is used without prompting the user
18140 for a choice.
18141
18142 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18143
18144 * startup.el (command-line): Warn the user that _emacs is deprecated.
18145
18146 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18147
18148 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18149 (delphi-verbose, delphi-comment-face, delphi-string-face)
18150 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18151 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18152 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18153 (delphi-new-comment-line, delphi-font-lock-defaults)
18154 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18155 Fix typos in docstrings.
18156
18157 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18158
18159 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18160 Invert the roles of character and string values for INSTEAD, so a
18161 string is used for the more common case of a defaulting prompt.
18162
18163 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18164
18165 * progmodes/ruby-mode.el (ruby-backward-sexp):
18166 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18167 * play/gamegrid.el (gamegrid-make-face):
18168 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18169 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18170 * notifications.el (notifications-notify):
18171 * net/xesam.el (xesam-search-engines):
18172 * net/quickurl.el (quickurl-list-insert):
18173 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18174
18175 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18176
18177 * startup.el (command-line): Update package subdirectory regexp.
18178
18179 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18180
18181 * allout.el (allout-abbreviate-flattened-numbering)
18182 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18183
18184 * subr.el (read-char-choice): Only show the cursor after the prompt,
18185 not after the answer.
18186
18187 2011-03-15 Kevin Ryde <user42@zip.com.au>
18188
18189 * help-fns.el (variable-at-point): Skip leading quotes, if any
18190 (bug#8253).
18191
18192 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18193
18194 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18195 warning message.
18196
18197 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18198
18199 * shell.el (shell): When called interactively, offer to change the
18200 shell file name on remote hosts.
18201
18202 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18203
18204 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18205 integration for LDAP parameters. The host, base, user or binddn,
18206 and secret tokens can be specified in a netrc file, for instance.
18207 This is optional because an `auth-source' parameter must be
18208 specified in the search attributes.
18209
18210 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18211
18212 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18213
18214 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18215
18216 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18217 into declaration. Remove redundant and harmful binding.
18218
18219 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18220
18221 * files.el (file-ownership-preserved-p): Pass `integer' as an
18222 explicit 2nd argument to `file-attributes'. If the file's owner
18223 is the Administrators group on Windows, and the current user is
18224 Administrator, consider that a match.
18225
18226 * server.el (server-ensure-safe-dir): Consider server directory
18227 safe on MS-Windows if its owner is the Administrators group while
18228 the current Emacs user is Administrator. Use `=' to compare
18229 numerical UIDs, since they could be integers or floats.
18230
18231 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18232
18233 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18234
18235 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18236
18237 Sync with Tramp 2.2.1.
18238
18239 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18240
18241 * net/trampver.el: Update release number.
18242
18243 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * progmodes/compile.el (compilation--previous-directory): Fix up
18246 various nil/dead-marker mismatches (bug#8014).
18247 (compilation-directory-properties, compilation-error-properties):
18248 Don't call it at a position past the one we're about to change.
18249
18250 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18251 Disable obsolescence warnings in the file that declares it.
18252
18253 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18254
18255 * allout-widgets.el (allout-widgets-tally):
18256 Initialize allout-widgets-tally as a hash table rather than nil to
18257 prevent mode-line redisplay warnings. Also, clarify the module
18258 description and fix a comment typo.
18259
18260 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18261
18262 * help-fns.el (describe-variable): Don't complete keywords.
18263 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18264
18265 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18266
18267 * emacs-lisp/package.el (package-version-join): Impose a standard
18268 string representation for pre/alpha/beta version lists.
18269 (package-unpack-single): Standardize the directory name by passing
18270 it through package-version-join.
18271 (package-strip-rcs-id): Accept any version string that does not
18272 signal an error in version-to-list.
18273
18274 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18275
18276 * simple.el (delete-trailing-whitespace): Return nil for the
18277 benefit of `write-file-functions'.
18278
18279 2011-03-10 Glenn Morris <rgm@gnu.org>
18280
18281 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18282
18283 * vc/vc-git.el (vc-git-program): New option.
18284 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18285 (vc-git--call): Use it.
18286
18287 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18288
18289 * cus-edit.el (Custom-newline): If no button at point, look
18290 for a subgroup button at start-of-line. (Bug#2298)
18291
18292 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18293
18294 2011-03-10 Julien Danjou <julien@danjou.info>
18295
18296 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18297 `cursor-type' is nil.
18298
18299 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18300
18301 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18302
18303 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18304
18305 * allout.el: Change so yank of distinctive-bullet items
18306 preserves the existing header prefix, rebulleting it if necessary,
18307 rather than replacing it. This is necessary for proper operation
18308 of cooperative addons like allout-widgets.
18309 (allout-make-topic-prefix, allout-rebullet-heading):
18310 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18311 value as alternate bullet to be used, instead of prompting the user
18312 for a bullet character.
18313
18314 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18315
18316 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18317 Do not use `tramp-file-name-port', because this returns also
18318 `tramp-default-port'.
18319
18320 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18321
18322 * net/rcirc.el (rcirc-handler-001): Remove useless
18323 with-rcirc-process-buffer.
18324 (rcirc-check-auth-status): Swap arguments to string-match.
18325
18326 2011-03-09 Glenn Morris <rgm@gnu.org>
18327
18328 * shell.el (shell-mode):
18329 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18330
18331 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18332 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18333
18334 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18335
18336 * emacs-lisp/package.el (package-refresh-contents)
18337 (package-menu-execute): Use condition-case-no-debug.
18338
18339 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18340
18341 * simple.el (shell-command-to-string): Use `process-file'.
18342
18343 * emacs-lisp/package.el (package-tar-file-info): Handle also
18344 remote files.
18345
18346 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18347 Use `equal' for upload base check.
18348
18349 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18350
18351 * textmodes/texinfo.el (texinfo-environments):
18352 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18353
18354 2011-03-08 Glenn Morris <rgm@gnu.org>
18355
18356 * cus-start.el (cursor-in-non-selected-windows):
18357 Fix :set quoting oddness. (Bug#8192)
18358
18359 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18360 in some setf expressions. (Bug#2159)
18361
18362 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18363
18364 * custom.el (custom-available-themes): Return themes in
18365 alphabetical order.
18366
18367 See ChangeLog.15 for earlier changes.
18368
18369 ;; Local Variables:
18370 ;; coding: utf-8
18371 ;; End:
18372
18373 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18374
18375 This file is part of GNU Emacs.
18376
18377 GNU Emacs is free software: you can redistribute it and/or modify
18378 it under the terms of the GNU General Public License as published by
18379 the Free Software Foundation, either version 3 of the License, or
18380 (at your option) any later version.
18381
18382 GNU Emacs is distributed in the hope that it will be useful,
18383 but WITHOUT ANY WARRANTY; without even the implied warranty of
18384 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18385 GNU General Public License for more details.
18386
18387 You should have received a copy of the GNU General Public License
18388 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.