]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix for invoking C-h c from the minibuffer.
[gnu-emacs] / lisp / ChangeLog
1 2012-09-07 Chong Yidong <cyd@gnu.org>
2
3 * help.el (describe-key-briefly): Allow the message to be seen
4 when invoked from the minibuffer (Bug#7014).
5
6 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-end-of-defun)
9 (ruby-beginning-of-defun): Simplify, allow indentation before
10 block beginning and end keywords.
11
12 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
15 (bug#12367).
16 (cl--make-usage-args): Strip _ from argument names.
17
18 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
19
20 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
21 obsolete alias speedbar-key-map.
22 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
23 (vhdl-index-menu-init): Don't use obsolete variable
24 font-lock-maximum-size.
25
26 2012-09-06 Chong Yidong <cyd@gnu.org>
27
28 * frame.el (window-system-version): Mark as obsolete.
29
30 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
31 of obsolete variable speedbar-key-map.
32
33 2012-09-06 Juri Linkov <juri@jurta.org>
34
35 * replace.el (replace-lax-whitespace): New defcustom.
36 (query-replace, query-replace-regexp, query-replace-regexp-eval)
37 (replace-string, replace-regexp): Mention it in docstrings.
38 (perform-replace, replace-highlight): Let-bind
39 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
40 to the values of replace-lax-whitespace and regexp-flag.
41 Don't let-bind search-whitespace-regexp. (Bug#10885)
42
43 * isearch.el (isearch-query-replace): Let-bind
44 replace-lax-whitespace instead of let-binding
45 replace-search-function and replace-re-search-function.
46 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
47 and isearch-regexp-lax-whitespace to lazy-highlight variables.
48 (isearch-toggle-symbol): Set isearch-regexp to nil
49 in isearch-word mode (like in isearch-toggle-word).
50
51 2012-09-06 Juri Linkov <juri@jurta.org>
52
53 * replace.el (replace-search-function)
54 (replace-re-search-function): Set default values to nil.
55 (perform-replace): Let-bind isearch-related variables based on
56 replace-related values, call `isearch-search-fun' and let-bind
57 the result to `search-function'. Remove code that sets
58 `search-function' and `search-string' separately for
59 `delimited-flag'.
60 (replace-highlight): Add new argument `delimited-flag' and
61 rename other arguments to the names used in `perform-replace'.
62 Let-bind `isearch-word' to the argument `delimited-flag'.
63 (Bug#10885, bug#10887)
64
65 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
66
67 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
68 ruby-beginning-of-indent, simplify, allow all keywords to have
69 indentation before them.
70 (ruby-beginning-of-indent): Adjust for above. Search until the
71 found point is not inside a string or comment.
72 (ruby-font-lock-keywords): Allow symbols to start with "@"
73 character, give them higher priority than variables.
74 (ruby-syntax-propertize-function)
75 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
76 matchers. Expression expansions are not comments when inside a
77 string, and there comment syntax status is irrelevant.
78 (ruby-match-expression-expansion): New function. Check that
79 expression expansion is inside a string, and it's not escaped.
80 (ruby-font-lock-keywords): Use it.
81
82 2012-09-05 Martin Rudalics <rudalics@gmx.at>
83
84 * help.el (temp-buffer-max-height): New default value.
85 (temp-buffer-resize-frames): New option.
86 (resize-temp-buffer-window): Optionally resize frame.
87
88 * window.el (fit-frame-to-buffer-bottom-margin): New option.
89 (fit-frame-to-buffer): New function.
90
91 2012-09-05 Glenn Morris <rgm@gnu.org>
92
93 * emulation/cua-rect.el (cua--init-rectangles):
94 * textmodes/picture.el (picture-mode-map):
95 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
96 like forward-char and backward-char. (Bug#12317)
97
98 2012-09-05 Leo Liu <sdl.web@gmail.com>
99
100 * progmodes/flymake.el (flymake-warning-re): New variable.
101 (flymake-parse-line): Use it.
102
103 2012-09-05 Glenn Morris <rgm@gnu.org>
104
105 * calendar/holidays.el (holiday-christian-holidays):
106 Rename an entry. (Bug#12289)
107
108 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
111 (bug#12222).
112
113 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * loadup.el: Load macroexp. Remove hack.
116 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
117 (macroexp--expand-all): Use it to get better warnings.
118 (macroexp--backtrace, macroexp--trim-backtrace-frame)
119 (internal-macroexpand-for-load): New functions.
120 (macroexp--pending-eager-loads): New var.
121 (emacs-startup-hook): New hack to replace one in loadup.el.
122 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
123 (cl--compiler-macro-cXXr): Move to top, before they can be used.
124 (cl-psetf): Simplify.
125 (cl-defstruct): Add indent rule.
126
127 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
128
129 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
130 over `user-mail-address' for the SMTP MAIL FROM envelope.
131 (smtpmail-via-smtp): Ditto.
132
133 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
134
135 * progmodes/ruby-mode.el: Clean up keybindings.
136 (ruby-mode-map): Don't bind ruby-electric-brace,
137 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
138 backward-kill-word, reindent-then-newline-and-indent.
139 (ruby-mark-defun): Remove.
140 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
141 (ruby-mode): Set local beginning-of-defun-function and
142 end-of-defun-function values.
143
144 2012-09-03 Martin Rudalics <rudalics@gmx.at>
145
146 * window.el (temp-buffer-window-setup-hook)
147 (temp-buffer-window-show-hook): New hooks.
148 (temp-buffer-window-setup, temp-buffer-window-show)
149 (with-temp-buffer-window): New functions.
150 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
151 (special-display-popup-frame): Make sure the window used shows BUFFER.
152
153 * help.el (temp-buffer-resize-mode): Fix doc-string.
154 (resize-temp-buffer-window): New optional argument WINDOW.
155
156 * files.el (recover-file, save-buffers-kill-emacs):
157 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
158
159 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
160
161 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
162 remote definition of `default-directory', ensure we can connect.
163
164 2012-09-02 Juri Linkov <juri@jurta.org>
165
166 Toggle whitespace matching mode with M-s SPC.
167 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
168
169 * isearch.el (search-whitespace-regexp): Doc fix.
170 Remove cons cell customization.
171 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
172 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
173 New variables.
174 (isearch-forward, isearch-forward-regexp): Doc fix.
175 (isearch-toggle-lax-whitespace): New command.
176 (search-forward-lax-whitespace, search-backward-lax-whitespace)
177 (re-search-forward-lax-whitespace)
178 (re-search-backward-lax-whitespace): New functions.
179 (isearch-whitespace-regexp): Remove function.
180 (isearch-query-replace): Let-bind replace-search-function and
181 replace-re-search-function.
182 (isearch-occur): Let-bind search-spaces-regexp according to the
183 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
184 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
185 condition for C-q SPC.
186 (isearch-search-fun-default): Use new functions mentioned above.
187 (isearch-search-forward, isearch-search-backward): Remove functions.
188 (isearch-search): Don't let-bind search-spaces-regexp.
189 (isearch-lazy-highlight-space-regexp): Remove variable.
190 (isearch-lazy-highlight-lax-whitespace)
191 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
192 (isearch-lazy-highlight-new-loop): Use them.
193 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
194
195 2012-09-02 Chong Yidong <cyd@gnu.org>
196
197 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
198
199 2012-09-02 Glenn Morris <rgm@gnu.org>
200
201 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
202
203 2012-09-01 Glenn Morris <rgm@gnu.org>
204
205 * term.el: Tidy up menu definitions.
206 (term-mode-map): Use easymenu for In/Out, Complete menus.
207 (term-pager-break-map): Initialize in the defvar.
208 (term-terminal-menu, term-signals-menu): Define with easymenu.
209 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
210 (term-pager-menu): New, extracted from term-process-pager.
211 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
212 (term-update-mode-line): Propertize line/char and page items.
213 (term-process-pager): Move keymap initialization elsewhere.
214
215 2012-09-01 Martin Rudalics <rudalics@gmx.at>
216
217 * window.el (switch-to-prev-buffer): Handle additional values of
218 BURY-OR-KILL argument. Don't switch in minibuffer window.
219 (switch-to-next-buffer): Don't switch in minibuffer window.
220 (quit-restore-window): New function based on quit-window.
221 Handle additional values of former KILL argument.
222 (quit-window): Call quit-restore-window with appropriate
223 interpretation of KILL argument.
224 (display-buffer-below-selected): New buffer display action
225 function.
226
227 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * minibuffer.el (completion-at-point-functions): Complete docstring
230 (bug#12254).
231
232 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
233
234 Better seed support for (random).
235 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
236 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
237 * play/mpuz.el, play/tetris.el, play/zone.el:
238 * calc/calc-comb.el (math-init-random-base):
239 * play/blackbox.el (bb-init-board):
240 * play/life.el (life):
241 * server.el (server-use-tcp):
242 * type-break.el (type-break):
243 Remove unnecessary call to (random t).
244 * net/sasl.el (sasl-unique-id-function):
245 Change (random t) to (random), now that the latter is more random.
246 * play/life.el (life-initialized): Remove no-longer-needed var.
247
248 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
249
250 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
251 Consider frame's buffer predicate when choosing the buffer.
252 (Bug#12081)
253
254 2012-08-30 Richard Stallman <rms@gnu.org>
255
256 * simple.el (special-mode-map): Delete binding for `z'.
257
258 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
259
260 * progmodes/compile.el (compilation-always-kill): Doc fix.
261
262 2012-08-30 Chong Yidong <cyd@gnu.org>
263
264 * window.el (display-buffer-reuse-frames): Make the obsolescence
265 message more informative.
266
267 2012-08-30 Glenn Morris <rgm@gnu.org>
268
269 * paren.el (show-paren-delay):
270 Add a :set function. Doc fix. (Bug#12297)
271
272 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
273
274 * progmodes/compile.el (compilation-always-kill): New var.
275 (compilation-start): Use it.
276
277 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * simple.el (read-only-mode): Move from files.el for bootstrapping.
280 * files.el (read-only-mode): Move to simple.el.
281
282 * files.el (read-only-mode): New minor mode.
283 (toggle-read-only): Use it and mark obsolete.
284 (find-file--read-only):
285 * vc/vc.el (vc-next-action, vc-checkout):
286 * vc/vc-cvs.el (vc-cvs-checkout):
287 * obsolete/vc-mcvs.el (vc-mcvs-update):
288 * ffap.el (ffap--toggle-read-only): Update callers.
289
290 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
291
292 * eshell/esh-ext.el (eshell-external-command): Do not examine
293 remote shell scripts.
294 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
295
296 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
297 "/usr/local/sbin".
298
299 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
302
303 2012-08-28 Leo Liu <sdl.web@gmail.com>
304
305 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
306 completion-at-point. (Bug#12220)
307
308 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
309
310 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
311
312 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
315 be buffer-local; add delete-trailing-whitespace (bug#12259).
316
317 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
318
319 * progmodes/hideif.el (hif-compress-define-list):
320 Fix typo. (Bug#11951)
321
322 2012-08-28 Dan Nicolaescu <dann@gnu.org>
323
324 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
325 buffer local setting.
326
327 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
328 rcirc-encode-coding-system.
329
330 2012-08-28 Leo Liu <sdl.web@gmail.com>
331
332 * net/rcirc.el (rcirc-split-message): New function.
333 (rcirc-send-message): Use it. (Bug#12051)
334
335 2012-08-28 Juri Linkov <juri@jurta.org>
336
337 * info.el (Info-fontify-node): Hide empty lines at the end of
338 the node. (Bug#12272)
339
340 2012-08-27 Drew Adams <drew.adams@oracle.com>
341
342 * dired.el (dired-pop-to-buffer): Make window start at beginning
343 of buffer (Bug#12281).
344
345 2012-08-26 Chong Yidong <cyd@gnu.org>
346
347 * window.el (special-display-regexps, special-display-frame-alist)
348 (special-display-buffer-names, special-display-function)
349 (display-buffer-reuse-frames): Mark as obsolete.
350
351 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
352
353 * help.el (help-print-return-message): Don't treat
354 display-buffer-reuse-frames specially.
355
356 2012-08-26 Chong Yidong <cyd@gnu.org>
357
358 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
359 New variable, replacing gdb-frame-parameters.
360 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
361 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
362 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
363 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
364 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
365 the functions directly with gdb-display-buffer-other-frame-action.
366 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
367 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
368 (gdb-display-stack-buffer, gdb-display-locals-buffer)
369 (gdb-display-registers-buffer): Define directly.
370 (def-gdb-display-buffer): Macro deleted.
371 (gdb-display-buffer): Remove second and third args, callers don't
372 use them. Defer to the default display-buffer behavior, apart
373 from making windows dedicated.
374 (gdb-setup-windows): Don't call display-buffer unnecessarily.
375
376 * progmodes/gud.el (gud-display-line): Just use display-buffer.
377
378 * window.el (display-buffer-pop-up-frame): Handle a
379 pop-up-frame-parameters alist entry.
380 (display-buffer): Document it.
381
382 2012-08-26 Chong Yidong <cyd@gnu.org>
383
384 * isearch.el (search-whitespace-regexp): Make string and nil
385 values apply to both ordinary and regexp search. Allow a cons
386 cell value to distinguish between the two.
387 (isearch-whitespace-regexp, isearch-search-forward)
388 (isearch-search-backward): New functions.
389 (isearch-occur, isearch-search-fun-default, isearch-search)
390 (isearch-lazy-highlight-new-loop): Use them.
391 (isearch-forward, isearch-forward-regexp): Doc fix.
392
393 2012-08-26 Chong Yidong <cyd@gnu.org>
394
395 * faces.el (help-argument-name): Always inherit from italic
396 (Bug#12213).
397
398 2012-08-25 Martin Rudalics <rudalics@gmx.at>
399
400 * window.el (window--even-window-heights): Even heights when
401 WINDOW and the selected window form a vertical combination.
402 (display-buffer-use-some-window): Provide that window used gets
403 sized back by quit-window. (Bug#11880) and (Bug#12091)
404
405 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
406
407 Fix file time stamp problem with bzr and CVS (Bug#12001).
408 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
409 in the file's time stamp, since the version control system loses
410 that information.
411
412 2012-08-22 Juri Linkov <juri@jurta.org>
413
414 * info.el (Info-fontify-node): Hide the suffix of the
415 Info file name in the header line. (Bug#12187)
416
417 2012-08-22 Glenn Morris <rgm@gnu.org>
418
419 * calendar/cal-tex.el (cal-tex-weekly-common):
420 Restore leading blank page.
421
422 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
423
424 * misc.el (forward-to-word, backward-to-word): Activate or extend
425 the region under `shift-select-mode'. (Bug#12231)
426
427 2012-08-22 Bastien Guerry <bzg@gnu.org>
428
429 * progmodes/executable.el (executable-prefix): Set to "#!" instead
430 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
431 gives details on why the space is never needed.
432
433 2012-08-22 Martin Rudalics <rudalics@gmx.at>
434
435 * window.el (walk-window-tree, window-with-parameter):
436 New optional argument MINIBUF to control whether these functions
437 should run on the minibuffer window.
438 (window-at-side-list): Don't operate on minibuffer window.
439 (window-in-direction): Simplify and rewrite doc-string.
440 (window--size-ignore): Rename to window--size-ignore-p.
441 Update callers.
442 (display-buffer-in-atom-window, window--major-non-side-window)
443 (window--major-side-window, display-buffer-in-major-side-window)
444 (delete-side-window, display-buffer-in-side-window):
445 New functions.
446 (window--side-check, window-deletable-p, delete-window)
447 (delete-other-windows, split-window): Handle side windows and
448 atomic windows appropriately.
449 (window--display-buffer): Call display-buffer-record-window also
450 when the window buffer did not change.
451
452 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
453
454 * help-fns.el (help-fns--key-bindings):
455 Abbreviate non-symbol remap targets. (Bug#12174)
456
457 2012-08-22 Martin Rudalics <rudalics@gmx.at>
458
459 * dired.el (dired-mark-remembered): Don't clobber point.
460 (Bug#11795)
461
462 2012-08-22 Glenn Morris <rgm@gnu.org>
463
464 * progmodes/bug-reference.el (bug-reference): New custom group.
465 (bug-reference-bug-regexp): Make it a defcustom.
466
467 2012-08-22 Daiki Ueno <ueno@unixuser.org>
468
469 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
470 (js-paren-indent-offset, js-square-indent-offset)
471 (js-curly-indent-offset): Add :safe (Bug#12257).
472
473 2012-08-22 Edward O'Connor <hober0@gmail.com>
474
475 * json.el (json-key-format): Add error properties.
476 (json-encode-key): New function.
477 (json-encode-hash-table, json-encode-alist, json-encode-plist):
478 Use json-encode-key.
479
480 2012-08-22 Glenn Morris <rgm@gnu.org>
481
482 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
483 (cal-tex-leftday, cal-tex-rightday): Remove functions.
484 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
485 Update for above change.
486
487 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
488
489 * cus-face.el (custom-face-attributes): Fix customize type for the
490 :underline attribute. (Bug#11805)
491
492 2012-08-21 Martin Rudalics <rudalics@gmx.at>
493
494 * window.el (window-point-1, set-window-point-1): Remove.
495 (window-in-direction, record-window-buffer)
496 (set-window-buffer-start-and-point, split-window-below)
497 (window--state-get-1, display-buffer-record-window):
498 Replace calls to window-point-1 and set-window-point-1 by calls to
499 window-point and set-window-point respectively.
500
501 2012-08-21 Glenn Morris <rgm@gnu.org>
502
503 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
504 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
505 Use it.
506
507 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
508 (cal-tex-shortday): New function.
509 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
510 (cal-tex-cursor-filofax-daily): Use the above.
511
512 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
513 New functions.
514 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
515 (cal-tex-cursor-filofax-week): Use them.
516
517 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
518 New constants.
519 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
520 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
521
522 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
523 (cal-tex-end-document): Don't rely on buffer name.
524
525 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
526 Use cal-tex-vspace.
527 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
528 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
529 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
530 Use cal-tex-arg.
531
532 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
533 (cal-tex-cursor-week, cal-tex-cursor-week2)
534 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
535 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
536 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
537 (cal-tex-insert-preamble, cal-tex-b-document)
538 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
539 Improve cal-tex-cmd usage.
540
541 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
542 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
543 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
544 (cal-tex-weekly-paper): New function.
545 (cal-tex-cursor-week, cal-tex-cursor-week2)
546 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
547 (cal-tex-cursor-day): Use it.
548
549 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
550 (cal-tex-cursor-filofax-week): Remove leading blank page.
551
552 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
553 Add autoload cookie. For now at least, don't use color, since
554 no other cal-tex function does.
555
556 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
557 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
558 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
559
560 2012-08-21 Juri Linkov <juri@jurta.org>
561
562 * info.el (Info-file-attributes): New variable.
563 (info-insert-file-contents): Add file attributes to
564 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
565 `Info-toc-nodes' when previous modtime of the Info file is less
566 than new modtime.
567 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
568 of info.el. (Bug#12230)
569
570 2012-08-20 Glenn Morris <rgm@gnu.org>
571
572 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
573 * calendar/holidays.el (calendar-holiday-list):
574 Report errors with display-warning rather than beep'n'sleep.
575
576 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
577
578 * net/tramp.el (tramp-accept-process-output): Accept only output
579 from PROC. Otherwise, process filters and sentinels might be
580 confused. (Bug#12145)
581
582 2012-08-20 Chong Yidong <cyd@gnu.org>
583
584 * descr-text.el (describe-text-properties-1): Use overlays-in to
585 report on empty overlays (Bug#3322).
586
587 2012-08-20 Glenn Morris <rgm@gnu.org>
588
589 * mail/rmailout.el (rmail-output-read-file-name):
590 Trap and report errors in rmail-output-file-alist elements.
591
592 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
593 since most non-font-lock faces are not also variables).
594
595 2012-08-20 Edward Reingold <reingold@iit.edu>
596
597 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
598 New function. (Bug12160)
599
600 2012-08-19 Glenn Morris <rgm@gnu.org>
601
602 * mail/rmailout.el (rmail-output-read-file-name):
603 Fix previous change (when the alist is nil or does not match).
604
605 2012-08-19 Chong Yidong <cyd@gnu.org>
606
607 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
608 (Bug#12228).
609
610 2012-08-18 Chong Yidong <cyd@gnu.org>
611
612 * simple.el (yank-handled-properties): New defcustom.
613 (yank-excluded-properties): Add font-lock-face and category.
614 (yank): Doc fix.
615
616 * subr.el (remove-yank-excluded-properties):
617 Obey yank-handled-properties. The special handling of font-lock-face
618 and category is now done this way, instead of being hard-coded.
619 (insert-for-yank-1): Remove font-lock-face handling.
620 (yank-handle-font-lock-face-property)
621 (yank-handle-category-property): New function.
622
623 2012-08-17 Glenn Morris <rgm@gnu.org>
624
625 * mail/rmailout.el (rmail-output-read-file-name):
626 Check rmail-output-file-alist against the full message body
627 in the correct rmail buffer. (Bug#12214)
628
629 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
630
631 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
632 Eliminate superfluous prompt. (Bug#12203)
633
634 2012-08-17 Chong Yidong <cyd@gnu.org>
635
636 * mouse.el (mouse-appearance-menu): If x-select-font returns a
637 font spec, set the font directly (Bug#3228).
638
639 2012-08-17 Martin Rudalics <rudalics@gmx.at>
640
641 * window.el (delete-window): Fix last fix.
642
643 2012-08-16 Martin Rudalics <rudalics@gmx.at>
644
645 * window.el (window-valid-p): Move to window.c.
646 (window-child, window-child-count, window-last-child)
647 (window-normalize-window, window-combined-p)
648 (window-combinations, window-atom-root, window-min-size)
649 (window-sizable, window-sizable-p, window-size-fixed-p)
650 (window-min-delta, window-max-delta, window--resizable)
651 (window--resizable-p, window-resizable, window-total-size)
652 (window-full-height-p, window-full-width-p, window-body-size)
653 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
654 (minimize-window, window-deletable-p, delete-window)
655 (delete-other-windows, set-window-buffer-start-and-point)
656 (next-buffer, previous-buffer, split-window, balance-windows-2)
657 (set-window-text-height, window-buffer-height)
658 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
659 (truncated-partial-width-window-p): Minor code adjustments.
660 In doc-strings state whether the argument window has to denote a
661 live, valid or any window.
662
663 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
664
665 * progmodes/subword.el (subword-forward-function)
666 (subword-backward-function, subword-forward-regexp)
667 (subword-backward-regexp): New variables.
668 (subword-forward, subword-forward-internal, subword-backward-internal):
669 Use new variables, eg so that different "word" definitions
670 can be easily used. (Bug#11411)
671
672 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
675 for composite selectors.
676 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
677 operation just because we can't find a previous revision.
678
679 2012-08-15 Chong Yidong <cyd@gnu.org>
680
681 * frame.el (set-frame-font): Accept font objects.
682
683 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
686
687 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
688
689 * man.el (Man-overstrike-face, Man-underline-face)
690 (Man-reverse-face): Remove variables.
691 (Man-overstrike, Man-underline, Man-reverse): New faces.
692 (Man-fontify-manpage): Use them instead of the variables.
693 (Man-cleanup-manpage): Comment change.
694 (Man-ansi-color-map): New variable.
695 (Man-fontify-manpage): Use it.
696 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
697
698 Implement ANSI SGR parameters 22-27 (bug#12146).
699 * ansi-color.el (ansi-colors): Doc fix.
700 (ansi-color-context, ansi-color-context-region): Doc fix.
701 (ansi-color--find-face): New function.
702 (ansi-color-apply, ansi-color-apply-on-region): Use it.
703 Rename the local variable `face' to `codes' since it is now a list of
704 ansi codes. Doc fix.
705 (ansi-color-get-face): Remove.
706 (ansi-color-parse-sequence): New function, derived from
707 ansi-color-get-face.
708 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
709 codes 22-27.
710
711 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * subr.el (read-passwd): Allow use from a minibuffer.
714
715 2012-08-14 Eli Zaretskii <eliz@gnu.org>
716
717 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
718 inside comments and strings as identifiers.
719
720 * progmodes/gud.el (gud-tooltip-print-command): Quote the
721 expression to evaluate. This allows to evaluate expressions with
722 embedded whitespace.
723 (gud-tooltip-tips): Add a blank before the newline in the
724 message-box text, for the benefit of message-box emulation on
725 MS-Windows.
726
727 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
728 messages from GDB, pop them up in a tooltip to give feedback to
729 user.
730 (gdb-tooltip-print-1): Quote the expression to evaluate.
731 This allows to evaluate expressions with embedded whitespace.
732 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
733 if the TTY name is nil or empty (which happens when communicating
734 with the inferior via pipes, e.g. on MS-Windows).
735 (gdb-internals): If GDB sends a "&\n" empty debugging message,
736 don't send that to the GUD buffer.
737
738 2012-08-14 Glenn Morris <rgm@gnu.org>
739
740 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
741 Optimize away setq-default with no args, as for setq. (Bug#12195)
742
743 2012-08-14 Chong Yidong <cyd@gnu.org>
744
745 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
746
747 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
748 (Bug#12085).
749
750 2012-08-14 Glenn Morris <rgm@gnu.org>
751
752 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
753
754 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
757 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
758 Use cached shell name.
759
760 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
761
762 * progmodes/python.el (python-shell-send-string):
763 (python-shell-send-setup-code): Do not use `format' with `message'.
764
765 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
766
767 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
768 (ruby-percent-literal-beg-re): New constant.
769 (ruby-syntax-general-delimiters-goto-beg): Rename to
770 `ruby-syntax-enclosing-percent-literal', improve literal type check.
771 (ruby-syntax-propertize-general-delimiters): Rename to
772 `ruby-syntax-propertize-percent-literal', it's a shorter and more
773 popular term. Adjust comments everywhere.
774 (ruby-syntax-propertize-percent-literal): Only propertize when not
775 inside a simple string or comment. When the literal is unclosed,
776 leave the text after it unpropertized.
777 (ruby-syntax-methods-before-regexp): New constant.
778 (ruby-syntax-propertize-function): Use it to recognize regexps.
779 Don't look at the text after regexp, just use the whitelist.
780
781 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
782
783 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
784 non-nil always load the compiled file if it exists. (Bug#12197)
785
786 2012-08-14 Chong Yidong <cyd@gnu.org>
787
788 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
789 (hi-lock-set-pattern): When deciding whether to use font lock or
790 overlays, look at font-lock-mode instead of font-lock-fontified
791 (Bug#12168).
792 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
793 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
794
795 2012-08-14 Daiki Ueno <ueno@unixuser.org>
796
797 * subr.el (internal--after-with-selected-window): Fix typo
798 (Bug#12193).
799
800 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
801
802 Use `completion-table-dynamic' for completion functions.
803 * progmodes/python.el
804 (python-shell-completion--do-completion-at-point)
805 (python-shell-completion--get-completions):
806 Remove functions.
807 (python-shell-completion-complete-at-point): New function.
808 (python-completion-complete-at-point): Use it.
809
810 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
811
812 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
813 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
814
815 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * subr.el (function-get): Refine `autoload' arg so it can also
818 autoload functions for gv.el (bug#12191).
819 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
820 autoloads macros.
821
822 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
823 Prefer pcase-let over destructuring-bind.
824 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
825 Also, remove whitespace as we go, rather than after accumulating the
826 various places.
827
828 * subr.el (internal--before-with-selected-window)
829 (internal--after-with-selected-window): Fix typo seleted->selected.
830 (with-selected-window): Adjust callers.
831 Reported by Dmitry Gutov <dgutov@yandex.ru>.
832
833 2012-08-13 Bastien Guerry <bzg@gnu.org>
834
835 * window.el (special-display-popup-frame): Minor docstring
836 enhancement. (Bug#12172)
837
838 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
839
840 * tar-mode.el (tar-header-data-end): Only ignore size for files of
841 type 1-6.
842 (tar-header-block-summarize, tar-get-descriptor): Handle pax
843 extended headers.
844
845 * files.el (hack-local-variables-filter): Remove useless eval.
846
847 2012-08-13 Martin Rudalics <rudalics@gmx.at>
848
849 * subr.el (with-selected-window): Fix last change.
850
851 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * subr.el (internal--before-with-seleted-window)
854 (internal--after-with-seleted-window): New functions.
855 (with-selected-window): Use them, to replace dependency on
856 tty-top-frame.
857
858 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
859
860 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
861 binding for `newline'.
862 (ruby-move-to-block): When moving backward, stop at block opening,
863 not indentation.
864 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
865 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
866 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
867 `ruby-toggle-block'.
868
869 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * ibuffer.el (ibuffer-do-toggle-read-only):
872 * dired.el (dired-toggle-read-only):
873 * buff-menu.el (Buffer-menu-toggle-read-only):
874 * bindings.el (mode-line-toggle-read-only):
875 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
876
877 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
878
879 * descr-text.el (describe-char): Put the overlays over the
880 "displayed as" character.
881
882 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
883
884 * calc/calc-units.el (math-default-units-table): Give an
885 initial value.
886 (math-put-default-units): Add options to put composite units and
887 unit systems in the default units table.
888 (calc-convert-units): Send composite units to
889 `math-put-default-units' when appropriate.
890
891 2012-08-11 Glenn Morris <rgm@gnu.org>
892
893 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
894
895 * tutorial.el (help-with-tutorial):
896 * emacs-lisp/copyright.el (copyright-update-directory):
897 * emacs-lisp/autoload.el (autoload-find-generated-file)
898 (autoload-find-file): Disable local eval: (for insurance).
899
900 * files.el (hack-local-variables-filter): If an eval: form is not
901 known to be safe, and enable-local-variables is :safe, then ignore
902 the form totally, as is done for non-eval forms. (Bug#12155)
903 This is CVE-2012-3479.
904
905 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
908 (rx-form): Simplify.
909
910 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
911
912 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
913 ?, _, and : are symbol constituents, ! is not (but kinda should be).
914 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
915 (ruby-syntax-propertize-function): Adjust for changes in
916 `ruby-syntax-propertize-heredoc'.
917
918 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
919
920 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
921 binding (use `M-;' instead).
922 (ruby-singleton-class-p): New function.
923 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
924
925 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
928
929 2012-08-10 Chong Yidong <cyd@gnu.org>
930
931 * progmodes/python.el (python-shell-get-process-name): Don't mess
932 with same-window-buffer-names.
933
934 * eshell/eshell.el (eshell-add-to-window-buffer-names)
935 (eshell-remove-from-window-buffer-names): Make obsolete.
936 (eshell-buffer-name, eshell-unload-hook): Don't use them.
937 (eshell): Just use pop-to-buffer-same-window instead.
938
939 2012-08-10 Chong Yidong <cyd@gnu.org>
940
941 * bindings.el: Bind M-= back to count-words-region.
942
943 * simple.el (count-words-region): Accept a prefix arg for acting
944 on the entire buffer.
945 (count-words--buffer-message): New helper function.
946
947 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
950 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
951 (event-start, event-end): Use posn-at-point to return a more
952 informative posn.
953 (posnp): New function.
954 * mouse.el (popup-menu-normalize-position): Use it.
955
956 2012-08-10 Masatake YAMATO <yamato@redhat.com>
957
958 * mouse.el (popup-menu-normalize-position): New function.
959 (popup-menu): Use `popup-menu-normalize-position' to normalize
960 the form for POSITION argument.
961
962 * term/x-win.el (x-menu-bar-open):
963 Use the value returend from (posn-at-point) as position
964 passed to `popup-menu'.
965
966 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
967
968 * calc/calccomp.el (math-compose-expr): Add extra argument
969 indicating that parentheses should be put around products in
970 denominators. Give multiplication precedence over division during
971 composition.
972
973 2012-08-09 Chong Yidong <cyd@gnu.org>
974
975 * man.el (Man-switches, Man-sed-command, Man-awk-command)
976 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
977 (Man-untabify-command, manual-program): Convert to defcustom
978 (Bug#10429).
979
980 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
981
982 * descr-text.el (describe-char): Don't insert extra newlines
983 (Bug#10127).
984
985 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
986 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
987
988 * align.el (align-region): Delete temporary markers (Bug#10047).
989 Plus some code cleanups.
990
991 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
992
993 * progmodes/python.el (python-pdbtrack-tracked-buffer)
994 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
995 (python-shell-internal-last-output): Use make-local-variable
996 instead of make-variable-buffer-local.
997
998 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
999
1000 * progmodes/python.el: Enhancements to forward-sexp.
1001 (python-nav-forward-sexp): Rename from
1002 python-nav-forward-sexp-function.
1003 (python-nav--forward-sexp, python-nav--backward-sexp):
1004 New functions.
1005
1006 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1007
1008 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1009 modes and simplification modes.
1010
1011 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * delsel.el (delete-selection-pre-hook): Don't propagate the
1014 file-supersession signals (bug#12161).
1015
1016 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1019 (cl-map-extents): Add compatibility aliases (bug#12135).
1020
1021 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1024 tests by `ignore-error'.
1025 (tramp-find-shell): Open also a new shell, when cache is already
1026 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1027
1028 2012-08-08 Juri Linkov <juri@jurta.org>
1029
1030 * bookmark.el: Add `defaults' property to the bookmark record.
1031 (bookmark-current-buffer): Doc fix.
1032 (bookmark-make-record): Add `defaults' property with default values
1033 to the bookmark record.
1034 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1035 with `bookmark-insert-current-bookmark'.
1036 (bookmark-set): Get `defaults' property from the bookmark record
1037 and use it in `read-from-minibuffer'.
1038 (bookmark-insert-current-bookmark): Remove function.
1039
1040 * info.el (Info-bookmark-make-record): Add `defaults' property
1041 with values of canonical Info node name, the current Info file
1042 name and the current Info node name. (Bug#12107)
1043
1044 2012-08-08 Juri Linkov <juri@jurta.org>
1045
1046 * files.el (basic-save-buffer): Use `buffer-name' as the default
1047 of `read-file-name' when buffer is not visiting a file (bug#12128).
1048
1049 2012-08-08 Juri Linkov <juri@jurta.org>
1050
1051 * info.el (Info-isearch-search): Doc fix.
1052 (Info-search): Change search-failed message from "initial node" to
1053 "end of node" (bug#12078).
1054 (Info-isearch-search): Change `isearch-string-state' to
1055 `isearch--state-string'.
1056
1057 2012-08-08 Glenn Morris <rgm@gnu.org>
1058
1059 * language/persian.el: Remove file.
1060 * language/misc-lang.el: Move unique part of persian.el here.
1061 * loadup.el: Remove language/persian.
1062
1063 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1064
1065 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1066
1067 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1068
1069 * progmodes/python.el Fixed defsubst warning.
1070 (python-syntax-context) Rename from python-info-ppss-context.
1071 (python-syntax-context-type): Rename from
1072 python-info-ppss-context-type.
1073 (python-syntax-comment-or-string-p): Rename from
1074 python-info-ppss-comment-or-string-p.
1075
1076 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1077
1078 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1079
1080 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1081
1082 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1083 a defcustom that is quoted with backquote.
1084
1085 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1086 Fix handling of interactive spec when the body uses return.
1087 (math-do-arg-check, math-define-function-body): Use backquote forms.
1088 * calc/calc-ext.el (math-defcache): Likewise.
1089 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1090 * allout.el (allout-new-exposure): Likewise.
1091 * calc/calcalg2.el (math-tracing-integral): Likewise.
1092 * info.el (Info-last-menu-item): Likewise.
1093 * emulation/vip.el (vip-loop): Likewise.
1094 * textmodes/artist.el (artist-funcall): Likewise.
1095 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1096 Construct menu-item directly.
1097
1098 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1099 Don't declare.
1100
1101 2012-08-07 Chong Yidong <cyd@gnu.org>
1102
1103 * simple.el (deactivate-mark): Preserve text properties when
1104 saving the primary selection (Bug#8384).
1105
1106 2012-08-07 Kevin Ryde <user42@zip.com.au>
1107
1108 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1109 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1110 and continue processing (Bug#12110).
1111
1112 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1115 syntax-propertize-function (bug#10095).
1116
1117 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1120 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1121 describe-function-1.
1122 (describe-function-1): Use them. Move compiler macro after sig.
1123 (help-fns--compiler-macro): Use function-get. Assume we're already in
1124 standard-output. Adjust layout to new call order.
1125
1126 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1127 re-binding a symbol that has a symbol-macro (bug#12119).
1128
1129 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1130
1131 * language/persian.el: New file. (Bug#11812)
1132 * loadup.el: Add language/persian.el.
1133
1134 2012-08-06 Chong Yidong <cyd@gnu.org>
1135
1136 * window.el (window--maybe-raise-frame): New function.
1137 (window--display-buffer): Split off from here.
1138 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1139 (display-buffer-pop-up-window, display-buffer-use-some-window):
1140 Obey an inhibit-switch-frame action alist entry.
1141 (display-buffer): Update doc.
1142
1143 * replace.el (occur-after-change-function): Avoid losing focus by
1144 using the inhibit-switch-frame display parameter (Bug#12139).
1145
1146 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1147
1148 Make internal shell process buffer names start with space.
1149 * progmodes/python.el (python-shell-make-comint): Add optional
1150 argument INTERNAL.
1151 (run-python-internal): Use it.
1152 (python-shell-internal-get-or-create-process): Check for new
1153 internal buffer names.
1154
1155 2012-08-06 Glenn Morris <rgm@gnu.org>
1156
1157 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1158 Do less getting and setting of environment variables.
1159
1160 2012-08-05 Chong Yidong <cyd@gnu.org>
1161
1162 * proced.el (proced): Add substitution string to docstring to
1163 trigger autoloading of the proced library on C-h f (Bug#1768).
1164
1165 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1166 Don't show defvars which have no second argument (Bug#8638).
1167
1168 * imenu.el (imenu-generic-expression): Move documentation here
1169 from imenu--generic-function.
1170 (imenu--generic-function): Refer to imenu-generic-expression.
1171
1172 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
1173
1174 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1175 indentation declaration.
1176 (viper-loop): Add indentation declaration (Bug#7025).
1177
1178 2012-08-05 Chong Yidong <cyd@gnu.org>
1179
1180 * help-fns.el (describe-variable): Add hyperlink for
1181 directory-local variables files. Improve buffer-local and
1182 permanent-local reporting; suggested by MON KEY (Bug#6644).
1183
1184 * help-mode.el (help-dir-local-var-def): New button type.
1185
1186 * files.el (kill-buffer-hook): Provide a defvar.
1187
1188 2012-08-05 Glenn Morris <rgm@gnu.org>
1189
1190 * eshell/esh-ext.el (eshell/addpath):
1191 Also update eshell-path-env. (Bug#12013)
1192
1193 2012-08-05 Chong Yidong <cyd@gnu.org>
1194
1195 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1196
1197 * fringe.el (fringe-styles): Add docstring.
1198 (fringe--check-mode): New function.
1199 (set-fringe-mode, set-fringe-style): Use it.
1200 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1201
1202 * files.el (set-auto-mode): Fix invalid setq call.
1203
1204 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * isearch.el: Misc simplification; use defstruct.
1207 (isearch-mode-map): Dense maps now work like sparse ones.
1208 (isearch--state): New defstruct.
1209 (isearch-string-state, isearch-message-state, isearch-point-state)
1210 (isearch-success-state, isearch-forward-state)
1211 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1212 (isearch-wrapped-state, isearch-barrier-state)
1213 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1214 replaced by defstruct's accessors.
1215 (isearch--set-state): Rename from isearch-top-state and change
1216 calling convention.
1217 (isearch-push-state): Use new isearch--get-state.
1218 (isearch-toggle-word): Disable regexp when enabling word.
1219 (isearch-message-prefix): Remove unused arg _c-q-hack.
1220 (isearch-message-suffix): Remove unused arg _ellipsis.
1221
1222 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1223
1224 * simple.el (list-processes--refresh): For a server use :host or
1225 :local as the address.
1226 (list-processes): Doc fix.
1227
1228 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1229
1230 * lisp/mpc.el: Support password in host argument.
1231 (mpc--proc-connect): Parse and use new password element.
1232 Set mpc-proc variable instead of returning process.
1233 (mpc-proc): Adjust accordingly.
1234
1235 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1236
1237 * whitespace.el (whitespace-display-mappings): Use Unicode
1238 codepoints, instead of emacs-mule codepoints. See
1239 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1240 for the details.
1241
1242 * files.el (file-truename): Don't skip symlink-chasing part on
1243 windows-nt. Incorporate the resolution of 8+3 short aliases on
1244 Windows into the loop that recursively chases symlinks.
1245 Compare directory and its parent case-insensitively on MS-Windows and
1246 MS-DOS.
1247
1248 2012-08-03 Chong Yidong <cyd@gnu.org>
1249
1250 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1251
1252 * sort.el (sort-regexp-fields): Doc fix.
1253
1254 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1255
1256 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1257 labels regex position point at the expected place.
1258
1259 2012-08-03 MON KEY <monkey@sandpframing.com>
1260
1261 * net/imap.el (imap-interactive-login, imap-authenticate)
1262 (imap-mailbox-lsub, imap-mailbox-list)
1263 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1264 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1265 (imap-parse-response): Doc fix.
1266
1267 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1268
1269 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1270 if sexp scanning does not move point (Bug#5734).
1271
1272 2012-08-02 Tassilo Horn <tsdh@gnu.org>
1273
1274 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1275 Add listings, minted, and ctable packages.
1276 (reftex-label-alist-builtin): Move listings, minted, and ctable
1277 entries before LaTeX.
1278 (reftex-label-alist): Docfix.
1279
1280 2012-08-02 Bastien Guerry <bzg@gnu.org>
1281
1282 * replace.el (occur): Fix docstring (bug#12122).
1283
1284 2012-08-02 Glenn Morris <rgm@gnu.org>
1285
1286 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1287
1288 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1289
1290 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1291 * international/mule-cmds.el: Create
1292 inactivate-current-input-method-function as an obsolete alias for
1293 deactivate-current-input-method-function. See Katsumi Yamaoka in
1294 <http://bugs.gnu.org/10150#46>.
1295
1296 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1297
1298 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1299 of nested `if's.
1300
1301 2012-08-01 Glenn Morris <rgm@gnu.org>
1302
1303 * progmodes/autoconf.el (autoconf-definition-regexp):
1304 Add AH_TEMPLATE, adjust submatch numbering.
1305 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1306 (autoconf-current-defun-function): Update for above change.
1307 (autoconf-current-defun-function): First skip to end of current word.
1308
1309 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1310
1311 * calendar/cal-html.el (cal-html-insert-agenda-days):
1312 Fix typo. (Bug#12018)
1313
1314 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1315
1316 Shell processes: enhancements to startup and CEDET compatibility.
1317 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1318 (python-shell-make-comint): accept-process-output at startup.
1319 (run-python-internal): Set inferior-python-mode-hook to nil.
1320 (python-shell-internal-get-or-create-process): call sit-for.
1321 (python-preoutput-result): Add obsolete alias.
1322 (python-shell-internal-send-string): Use it.
1323 (python-shell-send-setup-code): Remove call to
1324 accept-process-output.
1325
1326 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1327
1328 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1329 (Bug#12108)
1330
1331 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1332
1333 * calc-mode.el (calc-basic-simplification-mode): Rename from
1334 `calc-limited-simplification-mode'.
1335 (calc-alg-simplification-mode): New function.
1336 (calc-set-simplify-mode): Adjust message.
1337
1338 * calc.el (calc-set-mode-line): Adjust mode line display for
1339 basic simplification mode.
1340
1341 * calc-help.el (calc-m-prefix-help): Update help message.
1342
1343 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1344 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1345
1346 2012-07-31 Bastien Guerry <bzg@gnu.org>
1347
1348 * man.el (man): Fix comment. (bug#12101)
1349
1350 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1351
1352 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1353 Don't return a non-nil value when no suitable buffer was found.
1354
1355 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1356
1357 * progmodes/python.el (run-python-internal): Disable font lock for
1358 internal shells.
1359
1360 2012-07-30 Stefan Merten <smerten@oekonux.de>
1361
1362 * rst.el: Silence `checkdoc-ispell'.
1363 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1364 (rst-official-version, rst-official-cvs-rev)
1365 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1366 (rst-mode-map): New key binding.
1367
1368 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1369
1370 Update .PHONY listings in makefiles.
1371 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1372 autoloads, update-subdirs, updates, bzr-update, update-authors,
1373 compile-onefile, compile-calc, backup-compiled-files,
1374 compile-after-backup, compile-one-process, mh-autoloads,
1375 bootstrap-clean, distclean, maintainer-clean.
1376
1377 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1378
1379 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1380 (calc-set-mode-line): Don't display "AlgSimp ".
1381
1382 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1383 (calc-lim-simplify-mode): New function.
1384 (calc-set-simplify-mode): Default to 'alg.
1385 (calc-default-simplify-mode): Make algebraic simplifications
1386 the default.
1387
1388 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1389 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1390
1391 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1392 indicate new simplification modes.
1393
1394 * calc/README: Mention new default simplification mode.
1395
1396 * calc/calc.el (math-normalize-error): New variable.
1397 (math-normalize): Set `math-normalize-error' to t
1398 when there's an error.
1399
1400 * calc/calc-alg.el (math-simplify): Don't simplify when
1401 `math-normalize' returns an error.
1402
1403 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1404
1405 * international/mule-cmds.el (set-locale-environment): Revert last
1406 change, since display-graphic-p returns nil when this function is
1407 called during startup. Instead...
1408
1409 * term/w32console.el (terminal-init-w32console): ...setup the
1410 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1411
1412 2012-07-29 Juri Linkov <juri@jurta.org>
1413
1414 * simple.el (goto-line): Don't display default line number in the
1415 prompt because it should be displayed by `read-number' (bug#9952).
1416 Add the current line number to the defaults of `goto-line' to
1417 allow its easier modification by users with `M-n' (bug#9201).
1418
1419 * subr.el (read-number): Support multiple default values like in
1420 other minibuffer reading functions. Replace `read' with
1421 `string-to-number' for consistency with `number-to-string'.
1422
1423 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1424
1425 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1426 * emulation/viper-init.el (viper-deactivate-input-method-action):
1427 Rename from viper-inactivate-input-method-action.
1428 (viper-deactivate-input-method):
1429 Rename from viper-inactivate-input-method.
1430 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1431 * international/mule-cmds.el (deactivate-input-method):
1432 Rename from inactivate-input-method.
1433 Also run input-method-deactivate-hook.
1434 (deactivate-current-input-method-function):
1435 Rename from inactivate-current-input-method-function.
1436 (input-method-deactivate-hook): New hook.
1437 (input-method-inactivate-hook): Mark obsolete.
1438 (inactivate-input-method): Mark obsolete.
1439
1440 * international/quail.el (quail-activate):
1441 Also run quail-deactivate-hook.
1442 (quail-deactivate): Rename from quail-inactivate.
1443 * international/robin.el (robin-activate):
1444 Also run robin-deactivate-hook.
1445 (robin-deactivate): Rename from robin-inactivate.
1446
1447 2012-07-29 Chong Yidong <cyd@gnu.org>
1448
1449 * simple.el (indicate-copied-region): New function.
1450 (kill-ring-save): Split off from here.
1451
1452 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1453 (kill-rectangle): Set deactivate-mark to t on read-only error.
1454
1455 * register.el (copy-to-register, copy-rectangle-to-register):
1456 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1457 (append-to-register, prepend-to-register):
1458 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1459
1460 * simple.el (async-shell-command-buffer): New defcustom.
1461 (shell-command): Use it. (Bug#4719)
1462
1463 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1464
1465 * international/mule-cmds.el (set-locale-environment): In a
1466 console session on MS-Windows, set up keyboard and terminal
1467 encoding from the OEM codepage, not the ANSI codepage.
1468 (Bug#12055)
1469
1470 2012-07-28 Chong Yidong <cyd@gnu.org>
1471
1472 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1473 gdb-get-location.
1474
1475 2012-07-28 Leo Liu <sdl.web@gmail.com>
1476
1477 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1478 the alist (bug#12029).
1479
1480 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1481
1482 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1483 (compile-always, compile-first)
1484 ($(lisp)/calendar/cal-loaddefs.el)
1485 ($(lisp)/calendar/diary-loaddefs.el)
1486 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1487 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1488 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1489 instead of on update-subdirs.
1490 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1491
1492 2012-07-28 Chong Yidong <cyd@gnu.org>
1493
1494 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1495 directory if vc-deduce-backend returns nil (Bug#7350).
1496
1497 * simple.el (delete-trailing-lines): New option.
1498 (delete-trailing-whitespace): Obey it (Bug#11879).
1499
1500 2012-07-28 David Engster <deng@randomsample.de>
1501
1502 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1503 Explanation of new 'symbol-qnames feature in doc-strings.
1504 (xml-maybe-do-ns): Return expanded names as plain symbols if
1505 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1506 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1507
1508 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1509
1510 Consistent completion in inferior python with emacs -nw.
1511 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1512 binding in inferior-python-mode-map with "\t".
1513 (python-shell-completion-complete-at-point)
1514 (python-completion-complete-at-point): Remove interactive spec.
1515
1516 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1517
1518 * calc/calccomp.el (math-compose-expr): Undo previous change.
1519
1520 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1521
1522 * progmodes/python.el (python-mode-map): Add keybinding for
1523 run-python.
1524 (python-shell-make-comint): Fix pop-to-buffer call.
1525 (run-python): Autoload. New arg SHOW.
1526 (python-shell-get-or-create-process): Do not pop python process
1527 buffer.
1528
1529 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * notifications.el (notifications-on-action-signal)
1532 (notifications-on-closed-signal): Use also the bus address for the map.
1533 (notifications-notify, notifications-close-notification)
1534 (notifications-get-capabilities): Add optional argument BUS.
1535
1536 2012-07-27 Tassilo Horn <tsdh@gnu.org>
1537
1538 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1539 Add support for the lstlisting and minted environments, and for the
1540 ctable macro.
1541 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1542 labels written in keyvals syntax.
1543
1544 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1545
1546 * calc/calccomp.el (math-compose-expr): Use parentheses when
1547 there is a product in the denominator of a fraction.
1548
1549 2012-07-26 Eli Zaretskii <eliz@gnu.org>
1550
1551 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1552 ($(lisp)/calendar/diary-loaddefs.el)
1553 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1554 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1555 Fixes failures in parallel bootstrap because subdirs.el is being
1556 rewritten while the autoload files are built at the same time,
1557 which needs to load subdirs.el.
1558
1559 2012-07-26 Martin Rudalics <rudalics@gmx.at>
1560
1561 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1562 (mouse-drag-line): Don't exit tracking when a switch-frame or
1563 switch-window event occurs (Bug#12006).
1564
1565 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * mouse.el (popup-menu): Fix last change.
1568
1569 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 Autoload from Lisp with more care. Follow aliases when looking for
1572 function properties.
1573 * subr.el (autoloadp): New function.
1574 (symbol-file): Use it.
1575 (function-get): New function.
1576 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1577 autoload-do-load.
1578 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1579 (lisp-indent-function):
1580 * emacs-lisp/gv.el (gv-get):
1581 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1582 * emacs-lisp/byte-opt.el (byte-optimize-form):
1583 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1584 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1585 Use function-get.
1586 * emacs-lisp/cl.el: Don't propagate function properties any more.
1587
1588 * speedbar.el (speedbar-add-localized-speedbar-support):
1589 * emacs-lisp/disass.el (disassemble-internal):
1590 * desktop.el (desktop-load-file):
1591 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1592 (describe-function-1):
1593 * emacs-lisp/find-func.el (find-function-noselect):
1594 * emacs-lisp/elp.el (elp-instrument-function):
1595 * emacs-lisp/advice.el (ad-has-proper-definition):
1596 * apropos.el (apropos-safe-documentation, apropos-macrop):
1597 * emacs-lisp/debug.el (debug-on-entry):
1598 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1599 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1600 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1601
1602 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1603
1604 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1605 function, not an obsolete variable (Bug#12046).
1606
1607 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1608
1609 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1610
1611 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1612
1613 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1614 window only if it is still live (Bug#12034).
1615
1616 2012-07-25 Martin Rudalics <rudalics@gmx.at>
1617
1618 * subr.el (redirect-frame-focus): Add advertised calling
1619 convention (Bug#12030).
1620
1621 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1622
1623 Prefer typical American spelling for "acknowledgment".
1624 * vc/add-log.el (change-log-acknowledgment): Rename from
1625 change-log-acknowledgement, with an alias for the old name.
1626
1627 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1628
1629 * calc-alg.el (math-simplify-divide): Don't cross multiply
1630 in an equation when the lhs is a variable.
1631
1632 2012-07-24 Julien Danjou <julien@danjou.info>
1633
1634 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1635 Remove, unused.
1636
1637 2012-07-23 Eli Zaretskii <eliz@gnu.org>
1638
1639 * startup.el (command-line): Don't display an empty user name in
1640 the error message about non-existent home directory, when
1641 init-file-user was set to an empty string. See
1642 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1643 for the details and context.
1644
1645 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1646
1647 * ses.el (ses-cell-formula-aset): New macro.
1648 (ses-cell-references-aset): New macro.
1649 (ses-cell-p): New function.
1650 (ses-rename-cell): Do no longer rely on complex operations like
1651 ses-cell-set-formula or ses-set-cell to change the cell and handle
1652 the undo at the same time, but rather use lower level new macros
1653 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1654 the undo directly. Refresh the mode line.
1655
1656 2012-07-21 Leo Liu <sdl.web@gmail.com>
1657
1658 * progmodes/cc-cmds.el (c-defun-name):
1659 Use match-string-no-properties instead for consistency.
1660
1661 2012-07-20 Leo Liu <sdl.web@gmail.com>
1662
1663 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1664 (Bug#7879)
1665
1666 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1667
1668 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1671 * progmodes/bug-reference.el, misearch.el: Provide themselves
1672 (bug#11915).
1673
1674 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1675 of narrowed buffer (bug#11966).
1676
1677 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1678
1679 * ses.el (ses-rename-cell): Set new name also in reference list of
1680 cells of which the renamed cell depends.
1681
1682 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1683
1684 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1685 to check whether menu-bar is shown or not. If not shown,
1686 show the menu-bar as a popup menu instead of using tmm.
1687 * mouse.el (popup-menu): Accept `point' as `position' argument.
1688
1689 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1690
1691 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1692 up inside string symbol literal (bug#11923).
1693
1694 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1695
1696 * startup.el (fancy-startup-text): Read the whole tutorial, not
1697 just its first 256 bytes. Prevents gibberish in display of the
1698 tutorial title.
1699
1700 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1701
1702 Drop idle buffer compaction due to an absence of the
1703 proved efficiency.
1704 * compact.el: Remove.
1705
1706 2012-07-19 Sam Steingold <sds@gnu.org>
1707
1708 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1709 vc-bzr-pull & vc-bzr-merge-branch.
1710 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1711 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1712 for consistency with compilation-error-regexp-alist.
1713 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1714 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1715 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1716 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1717
1718 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emacs-lisp/chart.el: Use lexical-binding.
1721 (chart-emacs-storage): Don't hardcode the list of entries.
1722
1723 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1724
1725 Next round of tweaks caused by Fgarbage_collect changes.
1726 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1727
1728 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1729
1730 Compact buffers when idle.
1731 * compact.el: New file.
1732
1733 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * subr.el (eventp): Presume that if it looks vaguely like an event,
1736 it's an event (bug#10190).
1737
1738 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1739
1740 Enhancements to ppss related code (thanks Stefan).
1741 * progmodes/python.el (python-indent-context)
1742 (python-indent-calculate-indentation, python-indent-dedent-line)
1743 (python-indent-electric-colon, python-nav-forward-block)
1744 (python-mode-abbrev-table)
1745 (python-info-assignment-continuation-line-p): Simplify checks
1746 for ppss context.
1747 (python-info-continuation-line-p): Cleanup.
1748 (python-info-ppss-context): Do not catch 'quote.
1749 (python-info-ppss-context-type)
1750 (python-info-ppss-comment-or-string-p): Simplify.
1751
1752 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1753
1754 * progmodes/python.el: Enhancements to eldoc support.
1755 (python-info-current-symbol): New function.
1756 (python-eldoc-at-point): Use python-info-current-symbol.
1757 (python-info-current-defun): Fix cornercase on first defun scan.
1758 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1759 and signal error when no inferior python process is available.
1760
1761 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1762
1763 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1764 assume it's always t.
1765 (vc-git-registered): Remove caching, the function is only called
1766 once.
1767 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1768
1769 2012-07-18 Chong Yidong <cyd@gnu.org>
1770
1771 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1772
1773 * simple.el (count-words): Report on narrowing (Bug#9959).
1774
1775 * bindings.el: Bind M-= to count-words.
1776
1777 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1778
1779 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1780
1781 * progmodes/sh-script.el (sh-imenu-generic-expression):
1782 Capture a function with `function' keyword and without parentheses
1783 like "function FOO" (bug#11856).
1784
1785 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1786
1787 * window.el (split-window-sensibly): Make WINDOW argument
1788 optional.
1789
1790 2012-07-18 Chong Yidong <cyd@gnu.org>
1791
1792 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1793
1794 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1795 and make C-x 8 RET exit isearch (Bug#11439).
1796
1797 * international/iso-transl.el: Move isearch-mode-map key
1798 definitions to isearch.el.
1799
1800 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1803 (eieio-defclass): Use gv-define-setter when possible.
1804
1805 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1806
1807 Reflect recent changes in Fgarbage_collect.
1808 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1809 reflect new format of data returned by Fgarbage_collect.
1810
1811 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1812
1813 New utility functions + python-info-ppss-context fix (Bug#11910).
1814 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1815 (python-info-ppss-comment-or-string-p): New functions.
1816 (python-info-ppss-context): Small fix for string check.
1817
1818 2012-07-17 Juri Linkov <juri@jurta.org>
1819
1820 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1821 (dired-do-async-shell-command): Don't add `*' at the end of the
1822 command (Bug#11815).
1823 (dired-do-shell-command): Doc fix.
1824 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1825 Join the individual commands using either "&" or ";" as the
1826 separator depending on the values of these trailing characters.
1827 At the end re-add the trailing "&". (Bug#10598)
1828
1829 * simple.el (async-shell-command): Sync the interactive spec with
1830 `shell-command'. Doc fix.
1831 (shell-command): Doc fix.
1832
1833 2012-07-17 Juri Linkov <juri@jurta.org>
1834
1835 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1836
1837 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1838
1839 Final renames and doc fixes for movement commands (bug#11899).
1840 * progmodes/python.el (python-nav-beginning-of-statement):
1841 Rename from python-nav-statement-start.
1842 (python-nav-end-of-statement): Rename from
1843 python-nav-statement-end.
1844 (python-nav-beginning-of-block): Rename from
1845 python-nav-block-start.
1846 (python-nav-end-of-block): Rename from python-nav-block-end.
1847
1848 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1849
1850 * progmodes/python.el (python-shell-send-string-no-output):
1851 Allow accept-process-output to quit, keeping shell process ready for
1852 future interactions (Bug#11868).
1853
1854 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1857
1858 * emacs-lisp/elint.el (elint-find-args-in-code):
1859 Use help-function-arglist, so as to handle lexical byte-code.
1860
1861 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1862 change (bug#11826).
1863
1864 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1867 Avoid spuriously marking the buffer as modified because of c-is-sws.
1868
1869 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1870 as not-a-comment (bug#11946).
1871
1872 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1873 for uninterned vars.
1874
1875 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1876 Use read-event since we don't really want to read chars but bytes.
1877
1878 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1879 $$..$$ but also $..$ using regexps (bug#11953).
1880 Use tex-verbatim for \url and \path.
1881 (tex-font-lock-keywords): Define as defconst like the others.
1882 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1883
1884 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1885
1886 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1887 alias for insert-char.
1888
1889 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1890
1891 * progmodes/python.el: Simplified imenu implementation.
1892 (python-nav-jump-to-defun): Remove command.
1893 (python-mode-map): Use `imenu' instead.
1894 (python-nav-list-defun-positions-cache)
1895 (python-imenu-include-defun-type, python-imenu-make-tree)
1896 (python-imenu-subtree-root-label, python-imenu-index-alist):
1897 Remove vars.
1898 (python-nav-list-defun-positions, python-nav-read-defun)
1899 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1900 (python-imenu-make-tree, python-imenu-create-index):
1901 Remove functions.
1902 (python-mode): Update to interact with imenu by setting
1903 `imenu-extract-index-name-function' only.
1904
1905 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1906
1907 * progmodes/python.el: Enhancements to navigation commands.
1908 (python-nav-backward-sentence)
1909 (python-nav-forward-sentence): Remove.
1910 (python-nav-backward-statement, python-nav-forward-statement)
1911 (python-nav-statement-start, python-nav-statement-end)
1912 (python-nav-backward-block, python-nav-forward-block)
1913 (python-nav-block-start, python-nav-block-end)
1914 (python-nav-forward-sexp-function)
1915 (python-info-current-line-comment-p)
1916 (python-info-current-line-empty-p): New functions.
1917 (python-indent-context): Use `python-nav-statement-start'.
1918
1919 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1920
1921 * eshell/em-ls.el (eshell/ls): Use `apply'.
1922
1923 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1924 multi-hops, instead of Tramp internals.
1925
1926 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1927
1928 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1929 when F1 and F2 are located on different hosts.
1930
1931 2012-07-14 Chong Yidong <cyd@gnu.org>
1932
1933 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1934 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1935 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1936 (xterm-mouse--read-event-sequence-1000)
1937 (xterm-mouse--read-event-sequence-1006): New functions. For old
1938 mouse protocol, handle M-mouse-X events correctly.
1939 (xterm-mouse-event): New arg specifying mouse protocol.
1940 (turn-on-xterm-mouse-tracking-on-terminal)
1941 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1942 sequence to toggle extended coordinates on newer XTerms.
1943 This appears to be harmless on terminals which do not support this.
1944
1945 2012-07-14 Leo Liu <sdl.web@gmail.com>
1946
1947 Add fringe bitmap indicators for flymake. (Bug#11253)
1948 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1949 (flymake-make-overlay): New arg BITMAP.
1950 (flymake-error-bitmap, flymake-warning-bitmap)
1951 (flymake-fringe-indicator-position): New user variables.
1952
1953 * fringe.el: New bitmap exclamation-mark.
1954
1955 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1956
1957 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1958 also (Bug#7879).
1959
1960 2012-07-14 Chong Yidong <cyd@gnu.org>
1961
1962 * electric.el (electric-pair-post-self-insert-function): Fix pair
1963 insertion in empty-region case (Bug#11520).
1964
1965 2012-07-14 Chong Yidong <cyd@gnu.org>
1966
1967 * bindings.el: Consolidate ctl-x-r-map bindings.
1968 Bind copy-rectangle-as-kill to C-x r w.
1969
1970 * rect.el, register.el: Move bindings to bindings.el.
1971
1972 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1973
1974 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1975
1976 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1977
1978 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1979
1980 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1981
1982 * bindings.el (top): Use `mapc' instead of `mapcar'.
1983
1984 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1985
1986 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1987
1988 * progmodes/sql.el (sql-comint): Suppress the check for program on
1989 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1990 (Bug#11908)
1991
1992 2012-07-13 Chong Yidong <cyd@gnu.org>
1993
1994 * bindings.el: Assign a non-nil permanent-local property to
1995 per-buffer variables which lack a default value (Bug#11930).
1996
1997 * help-fns.el (describe-variable): In the "automatically becomes
1998 local" notice, take note of permanent-local variables.
1999
2000 2012-07-13 Chong Yidong <cyd@gnu.org>
2001
2002 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2003 to allow printing the message when called from Lisp.
2004
2005 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2006 Remove toggle-read-only.
2007
2008 * bs.el (bs-toggle-readonly):
2009 * buff-menu.el (Buffer-menu-toggle-read-only):
2010 Remove with-no-warnings around toggle-read-only.
2011
2012 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2013 Remove with-no-warnings around toggle-read-only.
2014 (ffap-read-only, ffap-read-only-other-window)
2015 (ffap-read-only-other-frame): Callers changed.
2016
2017 * help-mode.el: Don't require view package.
2018 (help-mode-finish): Set buffer-read-only instead of calling
2019 toggle-read-only.
2020
2021 * bindings.el (mode-line-toggle-read-only):
2022 * dired.el (dired-toggle-read-only):
2023 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2024 with non-nil second arg.
2025
2026 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2027 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2028 directly.
2029
2030 2012-07-12 Eli Zaretskii <eliz@gnu.org>
2031
2032 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2033 not incf.
2034
2035 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 More CL cleanups and reduction of use of cl.el.
2038 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2039 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2040 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2041 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2042 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2043 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2044 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2045 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2046 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2047 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2048 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2049 * eshell/em-cmpl.el, eshell/em-banner.el:
2050 * calendar/parse-time.el: Use cl-lib.
2051 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2052 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2053 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2054 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2055 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2056 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2057 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2058 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2059 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2060 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2061 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2062 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2063 `lambda' rather than with `quote'.
2064 (eshell-do-opt): Adjust accordingly.
2065 (eshell-process-option): Simplify.
2066 * eshell/esh-var.el:
2067 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2068 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2069 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2070 to `pcase--dontcare'.
2071 * emacs-lisp/cl.el (labels): Mark obsolete.
2072 (cl--letf, letf): Move to cl-lib.
2073 (cl--letf*, letf*): Remove.
2074 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2075 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2076 (cl-progv): Rewrite.
2077 (cl--letf, cl-letf): Move from cl.el.
2078 (cl-letf*): New macro.
2079 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2080
2081 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2084
2085 2012-07-11 Chong Yidong <cyd@gnu.org>
2086
2087 * vc/log-edit.el (log-edit-vc-backend): New variable.
2088 (log-edit): Doc fix.
2089
2090 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2091 argument of log-edit to set up all local variables.
2092 (vc-start-logentry): New optional arg specifying VC backend.
2093
2094 * vc/vc.el (vc-checkin): Use it.
2095 (vc-deduce-fileset): Handle Log Edit buffers.
2096 (vc-diff): Make first argument optional too.
2097
2098 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2099
2100 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
2101
2102 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2103 command, just in case. The function is not needed anymore.
2104 (eshell-external-command): Do not call `eshell-remote-command'.
2105
2106 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 Reduce use of (require 'cl).
2109 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2110 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2111 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2112 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2113 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2114 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2115 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2116 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2117 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2118 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2119 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2120 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2121 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2122 (byte-compile-unfold-bcf, byte-compile-check-variable):
2123 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2124 (byte-compile-nilconstp):
2125 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2126 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2127
2128 * emacs-lisp/gv.el (cond): Make it a valid place.
2129 (if): Simplify slightly.
2130
2131 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2132 (pcase--self-quoting-p): New function.
2133 (pcase--u1): Use it.
2134
2135 2012-07-10 Glenn Morris <rgm@gnu.org>
2136
2137 * emacs-lisp/authors.el (authors-fixed-entries):
2138 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2139
2140 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2141
2142 Rename configure.in to configure.ac (Bug#11603).
2143 * emacs-lisp/authors.el (authors-canonical-file-name):
2144 * progmodes/autoconf.el (autoconf-mode):
2145 Prefer configure.ac to configure.in.
2146
2147 2012-07-08 Chong Yidong <cyd@gnu.org>
2148
2149 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2150 Implement the mouse-1-click-follows-link handling properly.
2151
2152 * info.el (Info-link-keymap): Use follow-link mechanism for
2153 header-line links (Bug#374).
2154
2155 * simple.el (deactivate-mark): Do not set the primary selection
2156 if another program has acquired it (Bug#11772).
2157
2158 2012-07-07 Kevin Ryde <user42@zip.com.au>
2159
2160 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2161 (woman-decode-region): Replace escaped-escapes without destroying
2162 bold or underline (Bug#11552).
2163 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2164
2165 2012-07-07 Chong Yidong <cyd@gnu.org>
2166
2167 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2168 (interprogram-cut-function, interprogram-paste-function):
2169 Mention that we typically mean the clipboard.
2170
2171 2012-07-06 Glenn Morris <rgm@gnu.org>
2172
2173 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2174
2175 * files.el (toggle-read-only): Restrict message to interactive use.
2176
2177 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2180
2181 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2182
2183 2012-07-06 Glenn Morris <rgm@gnu.org>
2184
2185 * Makefile.in (compile-one-process): Rename from "recompile".
2186
2187 * Makefile.in (bzr-update): "compile" is the same as "recompile
2188 autoloads", but parallelizable, so use that instead.
2189
2190 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * window.el (quit-window): Always restore window height when
2193 it's saved in quit-restore parameter (Bug#11810).
2194
2195 2012-07-06 Glenn Morris <rgm@gnu.org>
2196
2197 * simple.el (kill-whole-line): Doc tweak.
2198
2199 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2200
2201 * files.el (file-relative-name): Compare file names
2202 case-insensitively if on MS-Windows or MS-DOS, or if
2203 read-file-name-completion-ignore-case is non-nil. Don't use
2204 case-fold-search for this purpose. (Bug#11827)
2205
2206 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2207
2208 * calendar/cal-dst.el (calendar-current-time-zone):
2209 Return calendar-current-time-zone-cache if non-nil.
2210
2211 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2212 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2213
2214 * calendar/cal-dst.el (calendar-current-time-zone):
2215 Return calendar-current-time-zone-cache if non-nil.
2216
2217 2012-07-06 Glenn Morris <rgm@gnu.org>
2218
2219 * Makefile.in (cvs-update): Remove old alias.
2220
2221 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2222
2223 Sync with Tramp 2.2.6-pre.
2224
2225 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2226 compatible declaration.
2227
2228 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2229 Protect `list-load-path-shadows' call.
2230
2231 * net/tramp-compat.el (top): Require packages, which aren't
2232 autoloaded anymore for XEmacs. Protect call of
2233 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2234 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2235 it hurts at least for SXEmacs.
2236 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2237 standard-value for `temporary-file-directory'.
2238
2239 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2240 Redirect stderr to /dev/null.
2241 (tramp-sh-handle-write-region): uid and gid can be floats.
2242 Reported by Russell Sim <russell.sim@gmail.com>.
2243 (tramp-sh-handle-vc-registered): Hide errors.
2244 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2245 and `start-file-process'.
2246 (tramp-maybe-open-connection): Check also whether `non-essential'
2247 is bound.
2248
2249 2012-07-04 Chong Yidong <cyd@gnu.org>
2250
2251 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2252 (xml-parse-tag): Likewise, and avoid changing entity tables.
2253 (xml-syntax-table): Define from scratch, making sure not to give
2254 x2000 and other Unicode spaces whitespace syntax, since those are
2255 not spaces in XML.
2256 (xml-parse-fragment): Delete unused function.
2257 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2258 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2259 (xml-entity-ref, xml-pe-reference-re)
2260 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2261 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2262 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2263 (xml-entity-value-re): Use syntax references in regexps where
2264 possible; no need to define inside a let-binding.
2265 (xml-parse-dtd): Use xml-pe-reference-re.
2266 (xml-entity-or-char-ref-re): New defconst.
2267 (xml-parse-string, xml-substitute-special): Use it.
2268
2269 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2272 (find-file--read-only): New function.
2273 (find-file-read-only, find-file-read-only-other-window)
2274 (find-file-read-only-other-frame): Use it.
2275 (insert-file-contents-literally): Don't `fset'.
2276 (get-free-disk-space): Use locate-dominating-file.
2277
2278 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2279 function is already compiled.
2280
2281 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2282
2283 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2286 files on the same host.
2287
2288 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2289
2290 * help-fns.el (describe-function-1): Only call
2291 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2292
2293 2012-07-03 Chong Yidong <cyd@gnu.org>
2294
2295 * xml.el: Protect parser against XML bombs.
2296 (xml-entity-expansion-limit): New variable.
2297 (xml-parse-string, xml-substitute-special): Use it.
2298 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2299
2300 2012-07-03 Glenn Morris <rgm@gnu.org>
2301
2302 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2303 Allow linking to specific messages in debbugs reports (eg 123#5).
2304
2305 2012-07-02 Chong Yidong <cyd@gnu.org>
2306
2307 * xml.el: Fix entity and character reference expansion, allowing
2308 them to expand into markup as per XML spec.
2309 (xml-default-ns): New variable.
2310 (xml-entity-alist): Use XML spec definitions for lt and amp.
2311 (xml-parse-region): Make first two arguments optional.
2312 Discard text properties.
2313 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2314 All callers changed.
2315 (xml-parse-tag): Call xml-parse-tag-1. For backward
2316 compatibility, this function should not modify buffer contents.
2317 (xml-parse-tag-1): Fix opening-tag regexp.
2318 (xml-parse-string): Rewrite, handling entity and character
2319 references properly.
2320 (xml--entity-replacement-text): Signal an error if a parameter
2321 entity is undefined.
2322
2323 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * comint.el (comint-output-filter): Filter out repeated prompts.
2326
2327 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2328 and file-name-absolute-p.
2329 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2330 internal calls.
2331
2332 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2333
2334 Spelling fixes.
2335 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2336 Rename from byte-compile--refiy-function. All uses changed.
2337
2338 2012-07-01 Chong Yidong <cyd@gnu.org>
2339
2340 * xml.el (xml--parse-buffer): New function. Move most of
2341 xml-parse-region here.
2342 (xml-parse-region): Copy region into a temporary buffer, since
2343 parameter entity substitution requires changing buffer contents.
2344 Use xml--parse-buffer.
2345 (xml-parse-file): Use xml--parse-buffer.
2346 (xml-parse-dtd): Make parameter entity substitution work right.
2347 Use proper regexps for ELEMENT declarations (Bug#7172).
2348
2349 2012-06-30 Glenn Morris <rgm@gnu.org>
2350
2351 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2352
2353 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2354 Remove outdated and unnecessary dbus declarations.
2355
2356 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2357
2358 * emacs-lisp/timer.el (timer-until): Subtract results of
2359 float-time, instead of taking float-time of the result of
2360 time-subtract, since float-time signals an error for negative time
2361 arguments.
2362
2363 2012-06-30 Chong Yidong <cyd@gnu.org>
2364
2365 * xml.el (xml-*-re): Convert defvars into defconsts, and
2366 eval-and-compile them so eval-and-compile works on derivatives.
2367 (xml--entity-replacement-text): Use eval-and-comple.
2368
2369 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * vc/vc-git.el (vc-git-registered): Use cache property
2372 `git-registered'.
2373 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2374 `vc-git-working-revision' in order to benefit from the cache.
2375 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2376
2377 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2378
2379 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2380 removed (likely outside Emacs). (Bug#11757)
2381
2382 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * emacs-lisp/cl-lib.el: Require macroexp.
2385
2386 2012-06-30 Chong Yidong <cyd@gnu.org>
2387
2388 * xml.el: Implement XML parameter entities.
2389 (xml-parameter-entity-alist): New variable.
2390 (xml-parse-region, xml-parse-fragment): Preserve previous values
2391 of xml-entity-alist and xml-parameter-entity-alist, so that
2392 repeated calls on different documents do not change them.
2393 (xml-parse-tag): Fix doctype regexp.
2394 (xml--entity-replacement-text): New function.
2395 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2396 properly requires url retrieval which is unimplemented.
2397 (xml-escape-string): Doc fix.
2398
2399 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2402
2403 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2404
2405 * fringe.el (fringe-mode): Doc fix.
2406
2407 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2408
2409 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2410 is non-nil.
2411 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2412 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2413
2414 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2415
2416 * calendar/cal-dst.el (calendar-current-time-zone):
2417 Return calendar-current-time-zone-cache if non-nil.
2418
2419 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2420
2421 * progmodes/which-func.el (which-func-format):
2422 Add mouse-face. (Bug#11698)
2423
2424 2012-06-29 Leo Liu <sdl.web@gmail.com>
2425
2426 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2427
2428 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * minibuffer.el (minibuffer-confirm-exit-commands):
2431 Add completion-at-point (bug#11725).
2432
2433 2012-06-29 Glenn Morris <rgm@gnu.org>
2434
2435 * progmodes/f90.el (f90-font-lock-keywords-2):
2436 Add some preprocessor elements. (Bug#10499)
2437
2438 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2439
2440 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2441 Use syntax-propertize (bug#11739).
2442
2443 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2444
2445 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2446
2447 2012-06-28 Julien Danjou <julien@danjou.info>
2448
2449 * term.el (term-handle-colors-array): Use a set of new faces to
2450 color the terminal. Also uses :inverse-video property.
2451 (term-default-fg-color): Set to nil by default, deprecate in favor
2452 of `term-face'.
2453 (term-default-bg-color): Set to nil by default, deprecate in favor
2454 of `term-face'.
2455 (term-current-face): Use `term-face' by default.
2456 (term-bold-attribute): Variable deleted.
2457
2458 2012-06-28 Glenn Morris <rgm@gnu.org>
2459
2460 * simple.el (completion-list-mode-finish):
2461 Don't use toggle-read-only. (Since completion-list-mode has
2462 a special mode-class, it wasn't doing anything extra anyway.)
2463
2464 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 Make inlining of other-mode interpreted functions work (bug#11799).
2467 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2468 (byte-compile): Use it to fix compilation of lexical-binding closures.
2469 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2470 function, if needed.
2471
2472 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * help-mode.el (help-make-xrefs): Don't just withstand
2475 cyclic-variable-indirection but any error in documentation-property.
2476
2477 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2478 memory use.
2479 * bindings.el (bindings--define-key): New function.
2480 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2481 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2482 * bindings.el: Use it to purecopy define-key bindings.
2483
2484 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2485
2486 * emacs-lisp/cl.el (flet): Mark obsolete.
2487 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2488 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2489 * progmodes/js.el (js-c-fill-paragraph):
2490 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2491 (ebrowse-switch-member-buffer-to-derived-class):
2492 * play/5x5.el (5x5-solver): Use cl-flet.
2493
2494 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2495 (cl--symbol-function): New macro.
2496 (cl--letf, cl--letf*): Use it.
2497
2498 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2499 Strip "toggle-" if any.
2500
2501 2012-06-27 Glenn Morris <rgm@gnu.org>
2502
2503 * info.el (Info-default-directory-list): Move here from paths.el.
2504 * paths.el: Remove file, which is now empty.
2505 * loadup.el: No longer load "paths".
2506
2507 * custom.el (custom-initialize-delay): Doc fix.
2508
2509 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2510 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2511 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2512 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2513 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2514 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2515 * eshell/eshell.el (eshell-defgroup): Remove alias.
2516
2517 2012-06-27 Chong Yidong <cyd@gnu.org>
2518
2519 * help.el (help-enable-auto-load): New variable.
2520
2521 * help-fns.el (help-fns--autoloaded-p): New function.
2522 (describe-function-1): Refer to a function as "autoloaded" if it
2523 was autoloaded at any time in the past. Perform autoloading if
2524 help-enable-auto-load is non-nil.
2525
2526 2012-06-26 Eli Zaretskii <eliz@gnu.org>
2527
2528 * makefile.w32-in (compile, compile-always): Depend on
2529 update-subdirs, not on subdirs.el. Otherwise, several different
2530 sub-targets of 'bootstrap' running in parallel could
2531 simultaneously write to subdirs.el, producing a garbled file.
2532
2533 2012-06-26 Sam Steingold <sds@gnu.org>
2534
2535 * files.el (file-name-base): New convenience function.
2536 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2537 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2538 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2539 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2540 * textmodes/ispell.el, textmodes/reftex-ref.el:
2541 * textmodes/tex-mode.el: Use it.
2542 Did not touch cedet and org because they are maintained elsewhere.
2543
2544 2012-06-26 Martin Rudalics <rudalics@gmx.at>
2545
2546 * calendar/calendar.el (calendar-exit): Don't try to delete or
2547 iconify last frame. See:
2548 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2549
2550 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2551
2552 * server.el (server-process-filter): Remember dir in the
2553 process's `server-client-directory' properties.
2554
2555 2012-06-24 Chong Yidong <cyd@gnu.org>
2556
2557 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2558 non-tag text.
2559
2560 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
2561
2562 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2563
2564 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * help-fns.el (describe-variable): Don't croak when doc is not found.
2567 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2568 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2569 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2570 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2571 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2572 ((lambda ..) ..).
2573 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2574
2575 2012-06-23 Chong Yidong <cyd@gnu.org>
2576
2577 * info.el (Info-mouse-follow-link): Accept symbol values of
2578 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
2579 (Info-fontify-node): Use Info-link-keymap for all navigation
2580 buttons, with link-args property to perform the desired action.
2581 (Info-link-keymap): Doc fix.
2582 (Info-next-link-keymap, Info-prev-link-keymap)
2583 (Info-up-link-keymap): Delete now-unused keymaps.
2584
2585 2012-06-23 Chong Yidong <cyd@gnu.org>
2586
2587 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2588
2589 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2590 system abbrevs.
2591
2592 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2593
2594 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2597 (bug#11719).
2598
2599 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2600 the requote function doesn't work properly (bug#11714).
2601
2602 2012-06-23 Glenn Morris <rgm@gnu.org>
2603
2604 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2605
2606 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 Further GV/CL cleanups.
2609 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2610 gv-expander.
2611 (gv--defun-declaration): New function.
2612 (defun-declarations-alist): Use it.
2613 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2614 (gv-place): Autoload.
2615 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2616 original definition of dotimes and dolist.
2617 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2618 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2619 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2620 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2621 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2622 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2623 to the function's definition.
2624 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2625 * window.el:
2626 * files.el:
2627 * faces.el:
2628 * env.el: Don't use CL.
2629
2630 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2631
2632 Support higher-resolution time stamps (Bug#9000).
2633
2634 * calendar/time-date.el (with-decoded-time-value): New arg
2635 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2636 (encode-time-value): New optional arg PICO. New type 3.
2637 (time-to-seconds) [!float-time]: Support the new picoseconds
2638 component if it's used.
2639 (seconds-to-time, time-subtract, time-add):
2640 Support ps-resolution time stamps as well.
2641
2642 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2643 (timerp): Timer vectors now have length 9, not 8.
2644 (timer--time): Support new-style (4-part) time stamps.
2645 (timer-next-integral-multiple-of-time): Time stamps now have
2646 picosecond resolution, so take a bit more care about rounding.
2647 (timer-relative-time, timer-inc-time): New optional arg psecs.
2648 (timer-set-time-with-usecs): Set psecs to 0.
2649 (timer--activate): Check psecs component, too.
2650
2651 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2652
2653 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2656 Move the non-essential binding to the post/pre-command-hook where it is
2657 more obviously correct.
2658
2659 * subr.el (read-passwd): Don't use a history at all.
2660 * savehist.el (savehist-save): Remove password saved accidentally
2661 because of the above bug.
2662
2663 2012-06-22 Bastien Guerry <bzg@gnu.org>
2664
2665 * files.el (toggle-read-only): Display a message telling whether
2666 the buffer is read-only or not (bug#11726).
2667
2668 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * emacs-lisp/gv.el: New file.
2671 * subr.el (push, pop): Extend to generalized variables.
2672 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2673 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2674 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2675 gv-define-simple-setter, and gv-define-expander.
2676 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2677 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2678 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2679 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2680 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2681 gv-letplace.
2682 (cl-defstruct): Don't define setf-method any more.
2683 * emacs-lisp/cl.el (flet): Don't autoload.
2684 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2685 (define-setf-expander, defsetf, define-modify-macro)
2686 (cl-struct-setf-expander): Move from cl-lib.el.
2687 * emacs-lisp/syntax.el:
2688 * emacs-lisp/ewoc.el:
2689 * emacs-lisp/smie.el:
2690 * emacs-lisp/cconv.el:
2691 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2692 (timer--time): Use gv-define-simple-setter.
2693 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2694 to avoid coding-system problems in subr.el. Adjust all users.
2695 (macroexp--maxsize, macroexp-small-p): New functions.
2696 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2697 * scroll-bar.el (scroll-bar-mode):
2698 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2699 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2700 * winner.el (winner-configuration, winner-make-point-alist)
2701 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2702 * files.el (locate-file-completion-table): Avoid list*.
2703
2704 2012-06-22 Chong Yidong <cyd@gnu.org>
2705
2706 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2707 (dired-create-files): Doc fix (Bug#11329).
2708 (dired-do-copy): Doc fix (Bug#11334).
2709 (dired-mark-read-string): Doc fix (Bug#11553).
2710
2711 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2712 Doc fix (Bug#11326).
2713 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2714 (dired-dwim-target): Doc fix.
2715
2716 * wdired.el (wdired-mode): Doc fix.
2717
2718 2012-06-22 Glenn Morris <rgm@gnu.org>
2719
2720 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2721 (pcmpl-rpm-cache-stamp-file): New constant.
2722 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2723 (pcmpl-rpm-packages): Optionally cache list of packages.
2724
2725 * pcmpl-rpm.el (pcmpl-rpm): New group.
2726 (pcmpl-rpm-query-options): New option.
2727 (pcmpl-rpm-packages): No need to inline it.
2728 Use pcmpl-rpm-query-options.
2729
2730 * calendar/calendar.el (calendar-in-read-only-buffer):
2731 Avoid some needless mode changes.
2732
2733 2012-06-21 Chong Yidong <cyd@gnu.org>
2734
2735 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2736 (desktop-path): Remove . from the default value (Bug#10977).
2737 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2738
2739 2012-06-20 Chong Yidong <cyd@gnu.org>
2740
2741 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2742
2743 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2744
2745 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2746 (bug#11201).
2747
2748 2012-06-20 Chong Yidong <cyd@gnu.org>
2749
2750 * term.el (term-window-width): Handle the case of a missing right
2751 fringe (Bug#8837).
2752 (term-check-size): Use window-text-height (Bug#5445).
2753 (term-mode): Use define-derived-mode. Minor cleanups.
2754 Set font-lock-defaults (Bug#7692).
2755 (term-move-columns, term-insert-char, term-emulate-terminal)
2756 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2757
2758 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * net/ange-ftp.el (ange-ftp-get-passwd):
2761 Bind `enable-recursive-minibuffers'.
2762 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2763
2764 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2765
2766 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2767
2768 2012-06-19 Glenn Morris <rgm@gnu.org>
2769
2770 * progmodes/python.el (python-mode): Derive from prog-mode.
2771
2772 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2773
2774 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2775 (edt-user-menu-bar-update-buffers): New functions.
2776 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2777
2778 2012-06-19 Chong Yidong <cyd@gnu.org>
2779
2780 * subr.el (with-selected-window): Preserve the selected window's
2781 terminal's top-frame (Bug#4702).
2782
2783 * window.el (save-selected-window): Likewise.
2784
2785 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * progmodes/python.el (python-rx-constituents): Move backquote.
2788 (python-skeleton-define, python-define-auxiliary-skeleton):
2789 Use `declare'.
2790
2791 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2792
2793 * minibuffer.el (read-file-name-default): Revert the patch from
2794 2012-06-17.
2795
2796 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2799 (pcase--u1, pcase--q1): Don't use apply-partially.
2800
2801 2012-06-18 Glenn Morris <rgm@gnu.org>
2802
2803 * progmodes/python.el (python-proc, python-buffer)
2804 (python-send-receive, python-send-string): Fix obsolete versions.
2805
2806 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2807
2808 * window.el (special-display-p): Completely remove stringp
2809 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2810
2811 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2814
2815 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2816
2817 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2818 * net/tramp-sh.el (tramp-maybe-open-connection):
2819 Throw if `non-essential' is non-nil.
2820
2821 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2822
2823 * window.el (special-display-p): Signal an error if BUFFER-NAME
2824 is not a string (Bug#11713).
2825
2826 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 * progmodes/python.el (python-info-beginning-of-backslash):
2829 Rename from python-info-beginning-of-backlash, as a spelling fix.
2830
2831 2012-06-17 Chong Yidong <cyd@gnu.org>
2832
2833 * term.el (term-emulate-terminal): If term-check-size is called,
2834 move point to the process mark without resetting point (Bug#4635).
2835
2836 2012-06-17 Glenn Morris <rgm@gnu.org>
2837
2838 * international/mule-cmds.el (mule-menu-keymap)
2839 (set-language-environment, set-locale-environment): Doc tweaks.
2840
2841 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2842
2843 * cus-face.el (custom-face-attributes): Add wave-style underline
2844 attribute.
2845 * faces.el (set-face-attribute): Update docstring to describe
2846 wave-style underline attribute.
2847
2848 2012-06-16 Chong Yidong <cyd@gnu.org>
2849
2850 * term/xterm.el (terminal-init-xterm): Discard input before
2851 querying background mode (Bug#10959).
2852
2853 2012-06-16 Stefan Merten <smerten@oekonux.de>
2854
2855 * textmodes/rst.el: Added and corrected some comments.
2856 (rst-re-alist-def): Improve symbol syntax.
2857 (rst-mode-syntax-table): Correct syntax entries.
2858 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2859 (rst-official-version, rst-official-cvs-rev): Update version
2860 information.
2861
2862 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2863
2864 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2865 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2866
2867 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2868
2869 * progmodes/python.el: New python.el merge.
2870 (python-guess-indent): Obsolete var.
2871 (python-indent-guess-indent-offset): New defcustom.
2872 (python-indent): Obsolete var.
2873 (python-indent-offset): New defcustom.
2874 (python-python-command, python-jython-command): Delete var.
2875 (python-shell-interpreter): New defcustom.
2876 (python-pdbtrack-do-tracking-p): Delete var.
2877 (python-pdbtrack-activate): New defcustom.
2878 (python-use-skeletons): Obsolete var.
2879 (python-skeleton-autoinsert): New defcustom.
2880 (inferior-python-filter-regexp, python-continuation-offset)
2881 (python-honour-comment-indentation, python-indent-string-contents)
2882 (python-jython-packages, python-mode-hook)
2883 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2884 (python-shell-prompt-alist)
2885 (python-source-modes): Delete defcustoms.
2886 (python-check-buffer-name, python-eldoc-setup-code)
2887 (python-eldoc-string-code, python-ffap-setup-code)
2888 (python-ffap-string-code, python-fill-comment-function)
2889 (python-fill-decorator-function, python-fill-paren-function)
2890 (python-fill-string-function, python-imenu-include-defun-type)
2891 (python-imenu-make-tree, python-imenu-subtree-root-label)
2892 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2893 (python-shell-compilation-regexp-alist)
2894 (python-shell-completion-module-string-code)
2895 (python-shell-completion-pdb-string-code)
2896 (python-shell-completion-setup-code)
2897 (python-shell-completion-string-code)
2898 (python-shell-enable-font-lock, python-shell-exec-path)
2899 (python-shell-extra-pythonpaths)
2900 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2901 (python-shell-process-environment)
2902 (python-shell-prompt-block-regexp)
2903 (python-shell-prompt-output-regexp)
2904 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2905 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2906 (python-shell-virtualenv-path): New defcustoms.
2907 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2908 (inferior-python-mode-syntax-table, python--prompt-regexp)
2909 (python-buffer, python-command python-python-command)
2910 (python-default-template, python-imports, python-indent-index)
2911 (python-indent-list, python-indent-list-length)
2912 (python-mode-running, python-pdbtrack-is-tracking-p)
2913 (python-preoutput-continuation, python-preoutput-leftover)
2914 (python-preoutput-result, python-preoutput-skip-next-prompt)
2915 (python-prev-dir/file, python-recursing)
2916 (python-saved-check-command, python-version-checked)
2917 (python-which-func-length-limit)
2918 (view-return-to-alist): Delete vars.
2919 (python-check-custom-command, python-dotty-syntax-table)
2920 (python-imenu-index-alist, python-indent-current-level)
2921 (python-indent-dedenters, python-indent-levels)
2922 (python-nav-beginning-of-defun-regexp)
2923 (python-nav-list-defun-positions-cache)
2924 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2925 (python-shell-internal-buffer)
2926 (python-skeleton-available): New vars.
2927 (def-python-skeleton): Delete macro.
2928 (python-skeleton-define): New macro.
2929 (python-define-auxiliary-skeleton, python-rx): New macros.
2930 (python-insert-class): Delete command.
2931 (python-skeleton-class): New command.
2932 (python-insert-def): Delete command.
2933 (python-skeleton-def): New command.
2934 (python-insert-for): Delete command.
2935 (python-skeleton-for): New command.
2936 (python-insert-if): Delete command.
2937 (python-skeleton-if): New command.
2938 (python-insert-try/except, python-insert-try/finally): Delete commands.
2939 (python-skeleton-try): New command.
2940 (python-insert-while): Delete command.
2941 (python-skeleton-while): New command.
2942 (python-backspace): Delete command.
2943 (python-indent-dedent-line-backspace): New command.
2944 (python-electric-colon): Delete command.
2945 (python-indent-electric-colon): New command.
2946 (python-guess-indent): Delete command.
2947 (python-indent-guess-indent-offset): New command.
2948 (python-shift-left): Delete command.
2949 (python-indent-shift-left): New command.
2950 (python-shift-right): Delete command.
2951 (python-indent-shift-right): New command.
2952 (python-find-function): Delete command.
2953 (python-nav-jump-to-defun): New command.
2954 (python-next-statement): Delete command.
2955 (python-nav-forward-sentence): New command.
2956 (python-previous-statement): Delete command.
2957 (python-nav-backward-sentence): New command.
2958 (python-fill-paragraph): Delete command.
2959 (python-fill-paragraph-function): New command.
2960 (python-send-buffer): Delete command.
2961 (python-shell-send-buffer): New command.
2962 (python-send-defun): Delete command.
2963 (python-shell-send-defun): New command.
2964 (python-send-region, python-send-region-and-go): Delete commands.
2965 (python-shell-send-region)
2966 (python-shell-switch-to-shell): New commands.
2967 (python-send-string): Delete command.
2968 (python-shell-send-string): New command.
2969 (python-switch-to-python): Delete command.
2970 (python-shell-switch-to-shell): New command.
2971 (python-describe-symbol): Delete command.
2972 (python-eldoc-at-point): New command.
2973 (python--set-prompt-regexp, python-args-to-list)
2974 (python-after-info-look, python-check-version)
2975 (python-check-comint-prompt, python-find-imports)
2976 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2977 (python-unload-function, python-expand-template)
2978 (python-maybe-jython, python-preoutput-filter)
2979 (python-pdbtrack-get-source-buffer)
2980 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2981 (python-pdbtrack-toggle-stack-tracking)
2982 (python-pdbtrack-track-stack-file, python-initial-text)
2983 (python-first-word, python-comment-line-p, python-send-command)
2984 (python-setup-brm, python-sentinel, python-set-proc)
2985 (python-skip-out, python-input-filter, python-outdent-p)
2986 (python-outline-level, python-backslash-continuation-line-p)
2987 (python-end-of-block, python-end-of-statement, python-mark-block)
2988 (python-beginning-of-block, python-beginning-of-statement)
2989 (python-blank-line-p, python-beginning-of-string)
2990 (python-open-block-statement-p): Delete functions.
2991 (python-indent-line, python-indent-line-1): Delete functions.
2992 (python-indent-line): New function.
2993 (python-indentation-levels): Delete function.
2994 (python-indent-calculate-levels): New function.
2995 (python-proc): Delete function.
2996 (python-shell-get-process): New function.
2997 (python-send-receive): Delete function.
2998 (python-shell-send-string-no-output): New function.
2999 (python-module-path): Delete function.
3000 (python-ffap-module-path): New function.
3001 (python-completion-at-point)
3002 (python-symbol-completions): Delete functions.
3003 (python-completion-complete-at-point): New function.
3004 (python-load-file): Delete function.
3005 (python-shell-send-file): New function.
3006 (python-calculate-indentation): Delete function.
3007 (python-indent-calculate-indentation): New function.
3008 (python-skip-comments/blanks): Delete function.
3009 (python-util-forward-comment): New function.
3010 (python-continuation-line-p): Delete function.
3011 (python-info-continuation-line-p): New function.
3012 (python-which-func, python-current-defun): Delete function.
3013 (python-info-current-defun): New function.
3014 (python-beginning-of-defun): Delete function.
3015 (python-nav-beginning-of-defun): New function.
3016 (python-close-block-statement-p)
3017 (python-block-end-p): Delete function.
3018 (python-info-closing-block): New function.
3019 (python-comint-output-filter-function)
3020 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3021 (python-fill-comment, python-fill-decorator, python-fill-paren)
3022 (python-fill-string, python-imenu-make-element-tree)
3023 (python-imenu-make-tree, python-imenu-tree-assoc)
3024 (python-indent-context, python-indent-dedent-line)
3025 (python-indent-line-function)
3026 (python-indent-post-self-insert-function)
3027 (python-indent-toggle-levels)
3028 (python-info-assignment-continuation-line-p)
3029 (python-info-beginning-of-backlash)
3030 (python-info-block-continuation-line-p)
3031 (python-info-closing-block-message)
3032 (python-info-line-ends-backslash-p)
3033 (python-info-looking-at-beginning-of-defun)
3034 (python-info-ppss-context, python-info-ppss-context-type)
3035 (python-nav-list-defun-positions, python-nav-read-defun)
3036 (python-nav-sentence-end, python-nav-sentence-start)
3037 (python-pdbtrack-comint-output-filter-function)
3038 (python-pdbtrack-set-tracked-buffer)
3039 (python-shell-calculate-exec-path)
3040 (python-shell-calculate-process-environment)
3041 (python-shell-completion--do-completion-at-point)
3042 (python-shell-completion--get-completions)
3043 (python-shell-completion-complete-at-point)
3044 (python-shell-completion-complete-or-indent)
3045 (python-shell-get-or-create-process)
3046 (python-shell-get-process-name)
3047 (python-shell-internal-get-or-create-process)
3048 (python-shell-internal-get-process-name)
3049 (python-shell-internal-send-string, python-shell-make-comint)
3050 (python-shell-parse-command, python-shell-send-setup-code)
3051 (python-skeleton-add-menu-items)
3052 (python-util-clone-local-variables, python-util-position)
3053 (run-python-internal, python-indentation-levels)
3054 (python-nav-beginning-of-defun)
3055 (python-completion-complete-at-point): New functions.
3056 (run-python): Change arguments. New API requirements.
3057
3058 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3061 (bug#11649).
3062
3063 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3064 (macroexp--expand-all): Use it.
3065
3066 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3067 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3068 Use `cl-function' instead.
3069
3070 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
3071
3072 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3073 Suggested by Stefan Monnier while discussing bug#11657.
3074
3075 2012-06-14 Sam Steingold <sds@gnu.org>
3076
3077 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3078
3079 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3080
3081 * play/doctor.el (doctor-doc): Remove parameter and use
3082 doctor-sent instead of sent.
3083 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3084
3085 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * files.el: Require cl-lib.
3088 (file-name-non-special): Replace case -> cl-case.
3089
3090 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3091
3092 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3093 mapping from #' to function*.
3094
3095 2012-06-13 Chong Yidong <cyd@gnu.org>
3096
3097 * mouse.el (mouse-drag-track): Do not set the mark if the user
3098 releases the mouse without selecting anything (Bug#11588).
3099
3100 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3103 as well (bug#11646).
3104
3105 * loadup.el: Count byte-code functions as well.
3106
3107 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3108 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3109
3110 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3111 (bug#11649). Add cl-defun and cl-defmacro.
3112
3113 2012-06-13 Drew Adams <drew.adams@oracle.com>
3114
3115 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3116 Fix last change.
3117
3118 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3119
3120 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3121 Otherwise, it blocks in batch mode.
3122
3123 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3124
3125 * help-mode.el (bookmark-make-record-default): Declare.
3126
3127 2012-06-13 Chong Yidong <cyd@gnu.org>
3128
3129 * emacs-lisp/package.el (list-packages): Compute a list of
3130 packages that are newly-available since the last list-packages
3131 invocation.
3132 (package-menu--new-package-list): New var.
3133 (package-menu--generate, package-menu--print-info)
3134 (package-menu--status-predicate, package-menu-mark-install):
3135 Handle new status label "new".
3136
3137 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3140 conversion to backquotes.
3141
3142 2012-06-12 Chong Yidong <cyd@gnu.org>
3143
3144 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3145 Rename from gud-inhibit-global-bindings.
3146
3147 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3148
3149 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3150 hook from nxml-glyph-set-hook.
3151
3152 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3153 declaration.
3154
3155 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3156
3157 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3158 Convert to defcustom.
3159
3160 2012-06-12 Drew Adams <drew.adams@oracle.com>
3161
3162 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3163 New functions.
3164 (help-mode): Use them.
3165
3166 2012-06-11 Glenn Morris <rgm@gnu.org>
3167
3168 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3169 Use preprocessor face for directives.
3170 (fortran-directive-re): Doc fix.
3171
3172 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3175 conversion to backquotes (bug#11652).
3176
3177 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3178 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3179 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3180 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3181 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3182 (cl-ninth, cl-tenth): Mark them as inlinable.
3183 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3184 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3185 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3186 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3187 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3188 (cl-list*, cl-adjoin): Don't put an autoload manually.
3189 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3190 (cl--compiler-macro-list*): Add autoload cookie.
3191 (cl--compiler-macro-cXXr): New function.
3192
3193 * help-fns.el (help-fns--compiler-macro): New function extracted from
3194 describe-function-1; follow aliases and use `compiler-macro' property.
3195 (describe-function-1): Use it.
3196
3197 2012-06-11 Chong Yidong <cyd@gnu.org>
3198
3199 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3200 is uninstalled, if imagemagick is installed.
3201
3202 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * emacs-lisp/cl-lib.el: Use lexical-binding.
3205 (cl-map-extents, cl-maclisp-member): Remove.
3206 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3207 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3208 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3209 * emacs-lisp/cl-extra.el: Use lexical-binding.
3210 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3211 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3212 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3213 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3214 * emacs-lisp/cl-seq.el: Use lexical-binding.
3215 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3216 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3217 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3218 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3219 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3220 CL's internals.
3221
3222 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3223
3224 Sync with Tramp 2.2.6-pre.
3225
3226 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3227 `print-length' and `print-level' to nil, in order to avoid
3228 truncation. Reported by Christopher Schmidt
3229 <christopher@ristopher.com>.
3230
3231 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3232
3233 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3234 New defmacro.
3235 (tramp-compat-copy-directory): Add optional argument
3236 COPY-CONTENTS. It is not handled yet.
3237
3238 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3239 (tramp-ftp-file-name-p): Simplify.
3240
3241 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3242 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3243 connection vector.
3244
3245 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3246 (tramp-methods): Do not use `tramp-password-end-of-line'.
3247 (tramp-completion-function-alist-putty): Handle UNIX case.
3248 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3249 (tramp-do-file-attributes-with-stat)
3250 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3251 gid as real numbers. They could run out of integer range on cygwin.
3252 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3253 (tramp-sh-handle-expand-file-name): Handle hops.
3254 (tramp-open-connection-setup-interactive-shell):
3255 Use `tramp-cleanup'. Move check for busyboxes ...
3256 (tramp-find-shell): ... here. Simplify implementation.
3257 Set "remote-shell" property also for alternative shells.
3258 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3259 If failing, a regular file would be written otherwise.
3260 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3261 (tramp-find-inline-encoding): Cache the coding commands in the
3262 process cache. Apply test command on the remote side, if defined.
3263 (tramp-find-inline-compress): Cache the compress commands in the
3264 process cache.
3265 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3266 when requested. Handle hops.
3267 (tramp-current-connection): New defvar.
3268 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3269 Throw `suppress', if there was a failed connection shortly before.
3270 Handle user interrupt. (Bug#10187)
3271 (tramp-get-inline-compress, tramp-get-inline-coding):
3272 Read connection properties from the process cache.
3273
3274 * net/tramp-smb.el (tramp-smb-server-version)
3275 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3276 New defconsts.
3277 (tramp-smb-prompt): Extend for powershell prompt.
3278 (tramp-smb-file-name-handler-alist): Add handlers for
3279 `process-file', `shell-command' and `start-file-process'.
3280 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3281 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3282 (tramp-smb-file-name-p): Simplify.
3283 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3284 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3285 (tramp-smb-shell-quote-argument): New defuns.
3286 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3287 Implement using "tar". By this, time-stamps are preserved.
3288 (tramp-smb-handle-copy-file): Handle also the case of directories.
3289 (tramp-smb-do-file-attributes-with-stat)
3290 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3291 Use `tramp-get-connection-buffer').
3292 (tramp-smb-handle-rename-file): Use "rename", when source and
3293 target are on the same share.
3294 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3295 Use `tramp-smb-server-version'.
3296 (tramp-smb-wait-for-output): Remove prompt.
3297
3298 * net/tramp.el (top): Require 'cl.
3299 (tramp-methods, tramp-rsh-end-of-line):
3300 Remove `tramp-password-end-of-line' from docstring.
3301 (tramp-save-ad-hoc-proxies): New defcustom.
3302 (tramp-completion-function-alist): Adapt docstring.
3303 (tramp-default-password-end-of-line): Remove defcustom.
3304 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3305 (tramp-user-regexp, tramp-file-name-regexp-unified)
3306 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3307 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3308 (tramp-remote-file-name-spec-regexp): New defconst.
3309 (tramp-file-name-structure): Extend structure for hops.
3310 (tramp-get-method-parameter): Move up.
3311 (tramp-file-name-p, tramp-dissect-file-name)
3312 (with-parsed-tramp-file-name): Handle hops.
3313 (tramp-file-name-hop): New defun.
3314 (tramp-make-tramp-file-name): New optional arg HOP.
3315 (tramp-message-show-progress-reporter-message): New defvar.
3316 (tramp-with-progress-reporter): Use it. We cannot use
3317 `tramp-message-show-message' here, because this suppresses also
3318 error buffers.
3319 (tramp-error-with-buffer): Suppress buffer view, if
3320 `tramp-message-show-message' is nil.
3321 Use `tramp-get-connection-buffer'.
3322 (tramp-cleanup): New defun.
3323 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3324 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3325 an error unchanged.
3326 (tramp-completion-handle-file-name-all-completions): Handle hops.
3327 Fix an error when called from ido.
3328 (tramp-completion-dissect-file-name): Use better local variable
3329 name. Add hop to the vector.
3330 (tramp-handle-insert-file-contents): Use progress-reporter for the
3331 whole scenario.
3332 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3333 to `t'.
3334 (tramp-check-for-regexp): Simplify search.
3335 (tramp-enter-password): Remove it. Move implementation ...
3336 (tramp-action-password): ... here.
3337 (tramp-mode-string-to-int, tramp-local-host-p)
3338 (tramp-make-tramp-temp-file, tramp-read-passwd)
3339 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3340 Set tramp-autoload cookie.
3341
3342 * net/trampver.el: Update release number.
3343
3344 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3345 Michael Albinus <michael.albinus@gmx.de>
3346
3347 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3348 (tramp-parse-group, tramp-parse-file)
3349 (tramp-parse-shostkeys-sknownhosts): New defuns.
3350 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3351 (tramp-parse-shosts-group, tramp-parse-sconfig)
3352 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3353 (tramp-parse-sknownhosts, tramp-parse-hosts)
3354 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3355 Use them.
3356 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3357 (tramp-parse-putty-group): Don't narrow.
3358 (tramp-parse-putty): Make a loop.
3359 (tramp-file-name-handler): Catch the `suppress' signal.
3360
3361 2012-06-11 Chong Yidong <cyd@gnu.org>
3362
3363 * image.el (imagemagick-register-types): Put the ImageMagick entry
3364 at the end of image-type-file-name-regexps.
3365
3366 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3367
3368 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3369 (pcase, pcase-let*, pcase-dolist): Use them.
3370
3371 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * emacs-lisp/pcase.el (pcase--let*): New function.
3374 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3375 (pcase--expand): Use macroexp-let².
3376
3377 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3378
3379 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3380 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3381 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3382 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3383 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3384 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3385
3386 2012-06-10 Glenn Morris <rgm@gnu.org>
3387
3388 * mail/rmail.el (rmail-yank-current-message): Leave point at
3389 correct position. (Bug#11660)
3390
3391 2012-06-10 Chong Yidong <cyd@gnu.org>
3392
3393 * allout-widgets.el: Fix code header.
3394
3395 2012-06-10 Chong Yidong <cyd@gnu.org>
3396
3397 * cus-edit.el (customize-changed-options-previous-release):
3398 Bump to 24.1.
3399
3400 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3401
3402 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3403
3404 2012-06-09 Chong Yidong <cyd@gnu.org>
3405
3406 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3407
3408 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3409
3410 * window.el (special-display-popup-frame): Don't use
3411 window--display-buffer (Bug#11651).
3412
3413 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3414
3415 Fix parallel builds: make sure loaddefs.el is not being written
3416 while Lisp files are compiled.
3417 (compile): Don't depend on 'mh-autoloads'.
3418 (compile-CMD, compile-SH): Depend on 'autoloads'.
3419 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3420
3421 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3422
3423 2012-06-09 Chong Yidong <cyd@gnu.org>
3424
3425 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3426 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3427 Doc fixes (Bug#11225).
3428
3429 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3432 a function if there's a clear indication that it has a compiler-macro.
3433 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3434 (macro-declarations-alist): Add arglist to declaration functions.
3435 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3436 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3437 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3438 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3439 Also add autoload to find the compiler macro.
3440 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3441 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3442 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3443 (cl--compiler-macro-get): New functions, replacing calls to
3444 cl-define-compiler-macro.
3445 (cl-typep) [compiler-macro]: Use macroexp-let².
3446
3447 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3448
3449 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3450 string properly, fixes Bug#11473.
3451
3452 2012-06-08 Chong Yidong <cyd@gnu.org>
3453
3454 * faces.el (set-face-attribute): Doc fix.
3455 (modify-face): Don't use :bold and :italic.
3456 (error, warning, success): Tweak definitions.
3457
3458 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3459 (custom-modified, custom-set, custom-changed, custom-themed)
3460 (custom-saved, custom-button, custom-button-mouse)
3461 (custom-button-pressed, custom-state, custom-comment-tag)
3462 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3463 (custom-group-subtitle): Use new-style face specs.
3464 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3465 (custom-set-face, custom-changed-face, custom-saved-face)
3466 (custom-button-face, custom-button-pressed-face)
3467 (custom-documentation-face, custom-state-face)
3468 (custom-comment-face, custom-comment-tag-face)
3469 (custom-variable-tag-face, custom-variable-button-face)
3470 (custom-face-tag-face, custom-group-tag-face-1)
3471 (custom-group-tag-face): Remove obsolete face alias.
3472
3473 * epa.el (epa-validity-high, epa-validity-medium)
3474 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3475 (epa-field-name, epa-field-body):
3476 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3477 (font-lock-keyword-face, font-lock-builtin-face)
3478 (font-lock-function-name-face, font-lock-variable-name-face)
3479 (font-lock-type-face, font-lock-constant-face):
3480 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3481 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3482 * speedbar.el (speedbar-button-face, speedbar-file-face)
3483 (speedbar-directory-face, speedbar-tag-face)
3484 (speedbar-selected-face, speedbar-highlight-face)
3485 (speedbar-separator-face):
3486 * whitespace.el (whitespace-newline, whitespace-space)
3487 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3488 (whitespace-line, whitespace-space-before-tab)
3489 (whitespace-space-after-tab, whitespace-indentation)
3490 (whitespace-empty):
3491 * emulation/cua-base.el (cua-global-mark):
3492 * eshell/em-prompt.el (eshell-prompt):
3493 * net/newst-plainview.el (newsticker-new-item-face)
3494 (newsticker-old-item-face, newsticker-immortal-item-face)
3495 (newsticker-obsolete-item-face, newsticker-date-face)
3496 (newsticker-statistics-face, newsticker-default-face):
3497 * net/newst-reader.el (newsticker-feed-face)
3498 (newsticker-extra-face, newsticker-enclosure-face):
3499 * net/newst-treeview.el (newsticker-treeview-face)
3500 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3501 (newsticker-treeview-immortal-face)
3502 (newsticker-treeview-obsolete-face)
3503 (newsticker-treeview-selection-face):
3504 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3505 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3506 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3507 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3508 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3509 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3510 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3511 (mpuz-text):
3512 * progmodes/vera-mode.el (vera-font-lock-number)
3513 (vera-font-lock-function, vera-font-lock-interface):
3514 * textmodes/table.el (table-cell): Use new-style face specs, and
3515 don't use the old :bold and :italic attributes.
3516
3517 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3518 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3519 (ebrowse-member-class, ebrowse-progress): Likewise.
3520 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3521 (ebrowse-file-name-face, ebrowse-default-face)
3522 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3523 (ebrowse-progress-face): Remove obsolete faces.
3524
3525 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3526 Inherit from error and warning faces respectively.
3527
3528 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3529 Likewise.
3530 (flyspell-incorrect-face, flyspell-duplicate-face):
3531 Remove obsolete aliases.
3532
3533 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
3534
3535 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3536 Avoid infloop.
3537
3538 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * startup.el (argv, argi): Make lexically scoped.
3541 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3542 * emacs-lisp/cl-macs.el: Use lexical-binding.
3543 Rename cl-bind-* to cl--bind-*.
3544 * files.el: Don't require `cl' since it doesn't use it.
3545 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3546
3547 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3548
3549 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3550 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3551 instead of calling external sort utility.
3552 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3553
3554 2012-06-08 Eli Zaretskii <eliz@gnu.org>
3555
3556 * descr-text.el (describe-char): Mention how to insert the
3557 character, if the current input method doesn't support it.
3558 See the discussion in this thread for the details:
3559 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3560
3561 2012-06-08 Sam Steingold <sds@gnu.org>
3562
3563 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3564 XF86Back to previous-buffer.
3565 (minibuffer-local-map): Bind them to next-history-element and
3566 previous-history-element respectively.
3567 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3568 help-go-back respectively.
3569 * info.el (Info-mode-map): Bind them to Info-history-forward and
3570 Info-history-back respectively.
3571 These are the keys next to Up on the ThinkPad keyboard.
3572
3573 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3576 * emacs-lisp/cl-macs.el: Provide itself.
3577 (cl--labels-convert-cache): New var.
3578 (cl--labels-convert): New function.
3579 (cl-flet, cl-labels): New implementation with new semantics, relying on
3580 lexical-binding.
3581 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3582 (cl-closure-vars, cl--function-convert-cache)
3583 (cl--function-convert): Move from cl-macs.el.
3584 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3585 rename by removing the "cl-" prefix.
3586 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3587
3588 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3591 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3592 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3593 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3594 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3595 (cl-hash-table-count): Add old compatibility aliases.
3596
3597 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3598 Use macroexpand-all-environment instead.
3599 (cl--old-macroexpand): New var.
3600 (cl--sm-macroexpand): New function.
3601 (cl-symbol-macrolet): Use it during macro expansion.
3602 (cl--function-convert-cache): New var.
3603 (cl--function-convert): New function, extracted from
3604 cl-macroexpand-all.
3605 (cl-lexical-let): Use it.
3606
3607 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3608 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3609 (cl-member): Remove old alias.
3610
3611 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3612 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3613 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3614 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3615 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3616 (cl-macroexpand-cmacs): Remove var.
3617 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3618 Use macroexpand-all instead.
3619
3620 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3623 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3624 (macroexp-copyable-p): New functions and macros.
3625 * emacs-lisp/edebug.el (edebug-unwrap):
3626 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3627 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3628 (pcase--let*): Remove.
3629 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3630 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3631 macroexp-const-p instead.
3632 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3633
3634 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3635 instead of "cl-" for internal definitions. Use macroexp-const-p.
3636 (cl-old-bc-file-form): Remove var.
3637 (cl-const-exprs-p): Remove fun.
3638 (cl-labels, cl-macrolet): Use backquote.
3639 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3640 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3641 (cl-define-setf-expander): Rename from cl-define-setf-method.
3642 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3643
3644 * international/mule-cmds.el: Don't require CL.
3645 (view-hello-file): Don't use `letf'.
3646
3647 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * tmm.el (tmm-prompt): Use string-prefix-p.
3650 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3651 (tmm-add-prompt): Use minibuffer-completion-help.
3652 (tmm-delete-map): Remove.
3653
3654 * subr.el (kbd): Make it its own function.
3655
3656 2012-06-07 Stefan Merten <smerten@oekonux.de>
3657
3658 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3659 Silence compiler warnings. Fix versions.
3660 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3661 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3662 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3663 (rst-package-emacs-version-alist): Correct Emacs version to
3664 represent major merge with upstream.
3665 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3666
3667 2012-06-06 Glenn Morris <rgm@gnu.org>
3668
3669 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3670 Only print environment variables if set.
3671
3672 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3675 (macroexp--cons): Rename from maybe-cons.
3676 (macroexp--accumulate): Rename from macroexp-accumulate.
3677 (macroexp--all-forms): Rename from macroexpand-all-forms.
3678 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3679 (macroexp--expand-all): Rename from macroexpand-all-1.
3680
3681 2012-06-06 Sam Steingold <sds@gnu.org>
3682
3683 * calendar/calendar.el (calendar-in-read-only-buffer):
3684 Call `special-mode' to enable the standard read-only keybindings.
3685
3686 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3689 with "loading" messages (bug#11635).
3690
3691 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3692
3693 * files.el (enable-remote-dir-locals): New option.
3694 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3695
3696 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3697 Ensure, that the temp directory is local.
3698
3699 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3700 `temporary-file-directory'.
3701
3702 * progmodes/python.el (python-send-region): Ensure, that the
3703 temporary file is created also in the remote case.
3704
3705 2012-06-06 Glenn Morris <rgm@gnu.org>
3706
3707 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3708 (vc-rcs-update-changelog): Use it.
3709
3710 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3711
3712 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3713 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3714 (vc-sccs-diff): Replace use of the external vcdiff script.
3715
3716 2012-06-05 Glenn Morris <rgm@gnu.org>
3717
3718 * ledit.el: Move to obsolete/.
3719
3720 2012-06-05 Sam Steingold <sds@gnu.org>
3721
3722 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3723 patch (Bug#11140).
3724
3725 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emacs-lisp/cust-print.el: Move to obsolete.
3728
3729 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3730 compiler-macro expansion.
3731
3732 Add native compiler-macro support.
3733 * emacs-lisp/macroexp.el (macroexpand-all-1):
3734 Support compiler-macros directly. Properly follow aliases and apply
3735 the compiler macros more thoroughly.
3736 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3737 macroexpand now properly follows aliases.
3738 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3739 (cl-compiler-macroexpand): Use new prop.
3740 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3741
3742 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3743
3744 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3745
3746 * window.el (get-lru-window, get-mru-window, get-largest-window):
3747 New argument NOT-SELECTED to avoid picking the selected window.
3748 (window--display-buffer-1, window--display-buffer-2): Replace by
3749 new function window--display-buffer
3750 (display-buffer-same-window, display-buffer-reuse-window)
3751 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3752 Use window--display-buffer.
3753 (display-buffer-use-some-window): Remove temporary dedication
3754 hack by calling get-lru-window and get-largest-window with
3755 NOT-SELECTED argument non-nil. Call window--display-buffer.
3756
3757 2012-06-05 Glenn Morris <rgm@gnu.org>
3758
3759 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3760 Replace external vcdiff script.
3761
3762 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3765
3766 2012-06-04 Chong Yidong <cyd@gnu.org>
3767
3768 * image.el (imagemagick-types-inhibit): Revert last change.
3769 Add INFO and M.
3770 (imagemagick-enabled-types): Remove CIN and EPS*.
3771
3772 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * emacs-lisp/cl-lib.el: Rename from cl.el.
3775 * emacs-lisp/cl.el: New compatibility file.
3776 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3777 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3778 to obey the "cl-" prefix.
3779 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3780
3781 2012-06-03 Glenn Morris <rgm@gnu.org>
3782
3783 * emacs-lisp/authors.el (authors-aliases): Addition.
3784
3785 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3786 Fix :version.
3787
3788 2012-06-03 Stefan Merten <smerten@oekonux.de>
3789
3790 * textmodes/rst.el: Add comments.
3791 (rst-transition, rst-adornment): New faces.
3792 (rst-adornment-faces-alist): Make default safe to reevaluate.
3793 Fixes
3794 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3795 Improve customization tags.
3796 (rst-define-level-faces): Clarify meaning.
3797
3798 2012-06-03 Chong Yidong <cyd@gnu.org>
3799
3800 * progmodes/compile.el (compilation-mode-line-fail)
3801 (compilation-mode-line-run, compilation-mode-line-exit):
3802 New faces.
3803 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3804
3805 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3806
3807 * progmodes/which-func.el (which-func-update-ediff-windows):
3808 New function. Use it in ediff-select-hook (Bug#11478).
3809
3810 2012-06-03 Chong Yidong <cyd@gnu.org>
3811
3812 * bindings.el: Remove explicit help text from format-mode-line.
3813 It is now supplied by mode-line-default-help-echo.
3814 (mode-line-front-space, mode-line-end-spaces)
3815 (mode-line-misc-info): New variables.
3816 (mode-line-modes, mode-line-position): Move the default value to
3817 the variable definition.
3818 (mode-line-default-help-echo): New defcustom.
3819 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3820 (mode-line-modified-help-echo): New functions.
3821 (mode-line-mule-info, mode-line-modified): Use them.
3822 (mode-line-eol-desc, propertized-buffer-identification):
3823 Consistency fixes for help text.
3824 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3825 set-buffer-file-coding-system (Bug#289).
3826 (mode-line-mule-info-help-echo): Update help text.
3827
3828 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * simple.el (execute-extended-command): Set real-this-command
3831 (bug#11506).
3832
3833 2012-06-02 Chong Yidong <cyd@gnu.org>
3834
3835 Remove incorrect uses of "modeline" in comments, docstrings, and
3836 function/variable names (Bug#10329).
3837
3838 * cus-edit.el (mode-line):
3839 * dframe.el (dframe-mouse-hscroll):
3840 * emacs-lisp/re-builder.el:
3841 * emacs-lisp/easy-mmode.el (define-minor-mode):
3842 * frame.el (set-frame-name):
3843 * help.el (lookup-minor-mode-from-indicator):
3844 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3845 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3846 (c-toggle-hungry-state):
3847 * progmodes/antlr-mode.el (antlr-language-alist):
3848 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3849 * progmodes/vhdl-mode.el (vhdl-mode):
3850 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3851 * term/ns-win.el (ns-face-at-pos):
3852 * term/sup-mouse.el (sup-mouse-report):
3853 * textmodes/flyspell.el (flyspell-mode-line-string):
3854 * textmodes/ispell.el (ispell-highlight-face):
3855 * textmodes/reftex-global.el:
3856 * vc/vc-arch.el (vc-arch-mode-line-string):
3857 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3858 * vc/vc-git.el (vc-git-mode-line-string):
3859 * vc/vc-hooks.el (vc-display-status)
3860 (vc-default-mode-line-string):
3861 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3862
3863 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3864
3865 * dired.el (dired-sort-set-mode-line): Rename from
3866 dired-sort-set-modeline. All callers changed.
3867
3868 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3869 eshell-status-in-modeline.
3870
3871 * foldout.el (foldout-mode-line-string): Rename from
3872 foldout-modeline-string. All callers changed.
3873 (foldout-update-mode-line): Rename from foldout-update-modeline.
3874
3875 * subr.el (redraw-modeline): Make into obsolete alias.
3876
3877 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3878 timeclock-modeline-display. Make old name an alias.
3879 (timeclock-update-mode-line): Likewise. All callers changed.
3880 (timeclock-mode-line-display): No need to check before using
3881 add-hook.
3882 (timeclock-relative, timeclock-day-over-hook)
3883 (timeclock-use-elapsed, timeclock-mode-string)
3884 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3885
3886 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3887 crisp-mode-modeline-string.
3888
3889 * play/solitaire.el (solitaire-build-mode-line): Rename from
3890 solitaire-build-modeline. All callers changed.
3891
3892 * play/zone.el (zone-hiding-mode-line): Rename from
3893 zone-hiding-modeline. All callers changed.
3894 (zone): Remove unusued `modeline-hidden-level' property.
3895
3896 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3897 xscheme-modeline-initialize. All callers changed.
3898
3899 * strokes.el (strokes-lighter): Rename from
3900 strokes-modeline-string.
3901
3902 * textmodes/sgml-mode.el (html-face-tag-alist)
3903 (html-tag-face-alist): Use mode-line face instead of obsolete
3904 alias modeline.
3905
3906 2012-06-02 Stefan Merten <smerten@oekonux.de>
3907
3908 * textmodes/rst.el: Always require `cl'.
3909 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3910
3911 2012-06-02 Chong Yidong <cyd@gnu.org>
3912
3913 * image.el (imagemagick-enabled-types): Rename from
3914 imagemagick-types-enable. Add many more types.
3915 (imagemagick-types-inhibit): Change default to nil.
3916 (imagemagick-filter-types): Caller changed.
3917
3918 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * emacs-lisp/cl-macs.el: Use backquotes.
3921 (cl-transform-function-property): Use eval-and-compile rather than
3922 abusing `require'.
3923 (defstruct): Use declare-function instead of with-no-warnings.
3924
3925 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3926 (byte-compile-output-docform): Re-add the print-circle bindings.
3927 (byte-compile-fix-header): Use #$ just because it's shorter.
3928 (byte-compile-output-file-form): Remove defun/defmacro.
3929
3930 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3931
3932 * simple.el (choose-completion): Remove now obsolete binding for
3933 owindow.
3934
3935 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3936
3937 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3938 in order to avoid "Stack overflow in regexp matcher".
3939
3940 2012-05-31 Glenn Morris <rgm@gnu.org>
3941
3942 * image.el: For clarity, call imagemagick-register-types at
3943 top-level, rather than relying on a custom :initialize.
3944 (imagemagick-types-enable): New option. (Bug#11557)
3945 (imagemagick-filter-types): New function. (Bug#7406)
3946 (imagemagick-register-types): Use imagemagick-filter-types.
3947 If disabling support, remove elements altogether rather
3948 than using an impossible regexp.
3949 (imagemagick-types-inhibit): Give it the default init function.
3950
3951 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3954 Handle arbitrary file name lengths (Bug#11585).
3955
3956 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3957
3958 * desktop.el (desktop-read): Clear previous and next buffers for
3959 all windows and bury *Messages* buffer (bug#11556).
3960
3961 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 Add `declare' for `defun'. Align `defmacro's with it.
3964 * emacs-lisp/easy-mmode.el (define-minor-mode)
3965 (define-globalized-minor-mode): Don't autoload the var definitions.
3966 * emacs-lisp/byte-run.el: Use lexical-binding.
3967 (defun-declarations-alist, macro-declarations-alist): New vars.
3968 (defmacro, defun): Use them.
3969 (make-obsolete, define-obsolete-function-alias)
3970 (make-obsolete-variable, define-obsolete-variable-alias):
3971 Use `declare'.
3972 (macro-declaration-function): Mark obsolete.
3973 * emacs-lisp/autoload.el: Use lexical-binding.
3974 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3975
3976 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3977
3978 * textmodes/ispell.el (ispell-with-no-warnings):
3979 Define as a macro.
3980 (ispell-kill-ispell, ispell-change-dictionary):
3981 Use `called-interactively-p' for Emacs instead of obsolete
3982 `interactive-p'.
3983
3984 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3987 (macro-declaration-function): Move var from C code.
3988 (macro-declaration-function): Define function with defalias.
3989 * emacs-lisp/macroexp.el (macroexpand-all-1):
3990 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3991 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3992 defun/defmacro any more.
3993 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3994 Provide fallback for unknown arglist.
3995 (byte-compile-arglist-warn): Change calling convention.
3996 (byte-compile-output-file-form): Move print-vars binding.
3997 (byte-compile-output-docform): Simplify accordingly.
3998 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3999 (byte-compile-defmacro-declaration): Remove.
4000 (byte-compile-file-form-defmumble): Generalize to defalias.
4001 (byte-compile-output-as-comment): Return byte-positions.
4002 Simplify callers accordingly.
4003 (byte-compile-lambda): Use `assert'.
4004 (byte-compile-defun, byte-compile-defmacro): Remove.
4005 (byte-compile-file-form-defalias):
4006 Use byte-compile-file-form-defmumble.
4007 (byte-compile-defalias-warn): Remove.
4008
4009 2012-05-29 Stefan Merten <smerten@oekonux.de>
4010
4011 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4012 possible. Fix authors. Improve comments. Improve loading of `cl'.
4013
4014 (rst-mode-abbrev-table): Merge definition.
4015 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4016 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4017
4018 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
4019
4020 * calendar/icalendar.el
4021 (icalendar-export-region): Export UID properly.
4022
4023 2012-05-29 Leo Liu <sdl.web@gmail.com>
4024 * calendar/icalendar.el (icalendar-import-format):
4025 Add `icalendar-import-format-uid' (Bug#11525).
4026 (icalendar-import-format-uid): New.
4027 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4028 Export UID.
4029
4030 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4033 different alternative patterns.
4034 (pcase-codegen): Be more careful to preserve identity.
4035 (pcase--u1): Don't forget to mark vars as used.
4036
4037 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4038 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4039 (byte-compile-from-buffer): ...rather than here.
4040
4041 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4042 functions from byte-compile-function-environment.
4043
4044 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
4045
4046 * window.el (window-deletable-p): Avoid deleting the root window
4047 of a frame with an active minibuffer.
4048
4049 2012-05-29 Martin Rudalics <rudalics@gmx.at>
4050
4051 * simple.el (choose-completion): Use quit-window (Bug#11567).
4052
4053 2012-05-29 Chong Yidong <cyd@gnu.org>
4054
4055 * whitespace.el (whitespace-cleanup): Fix usage of
4056 whitespace-empty-at-bob-regexp (Bug#11492).
4057
4058 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4059
4060 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4061 revert (Bug#11488).
4062
4063 2012-05-29 Juri Linkov <juri@jurta.org>
4064
4065 * isearch.el (isearch-mode-map): Bind `M-s _' to
4066 `isearch-toggle-symbol'. Bind `M-s c' to
4067 `isearch-toggle-case-fold'.
4068 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4069 (isearch-forward): Add `M-s _' to the docstring.
4070 (isearch-forward-symbol, isearch-toggle-case-fold)
4071 (isearch-symbol-regexp): New functions. (Bug#11381)
4072
4073 2012-05-29 Juri Linkov <juri@jurta.org>
4074
4075 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4076 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4077 a function, call it to get the regexp.
4078 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4079 property `isearch-message-prefix' instead of the string "word ".
4080 (isearch-search-fun-default): For the case of `isearch-word',
4081 return a lambda that calls re-search-forward/re-search-backward
4082 with a regexp returned by `word-search-regexp' or by the function
4083 in `isearch-word'.
4084
4085 2012-05-29 Juri Linkov <juri@jurta.org>
4086
4087 * isearch.el (isearch-search-fun-default): New function.
4088 (isearch-search-fun): Move default part to the new function
4089 `isearch-search-fun-default'.
4090 (isearch-search-fun-function): Set the default value to
4091 `isearch-search-fun-default'. (Bug#11381)
4092
4093 * comint.el (comint-history-isearch-end):
4094 Use `isearch-search-fun-default'.
4095 (comint-history-isearch-search): Use `isearch-search-fun-default'
4096 and remove spacial case for `isearch-word'.
4097 (comint-history-isearch-wrap): Remove spacial case for
4098 `isearch-word'.
4099
4100 * hexl.el (hexl-isearch-search-function):
4101 Use `isearch-search-fun-default'.
4102
4103 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4104 Use `word-search-regexp' for `isearch-word'.
4105
4106 * misearch.el (multi-isearch-search-fun):
4107 Use `isearch-search-fun-default'.
4108
4109 * simple.el (minibuffer-history-isearch-search):
4110 Use `isearch-search-fun-default' and remove spacial case for
4111 `isearch-word'.
4112 (minibuffer-history-isearch-wrap): Remove spacial case for
4113 `isearch-word'.
4114
4115 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4116 Remove spacial case for `isearch-word'.
4117 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4118
4119 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4120
4121 Decrease XEmacs incompatibilities.
4122 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4123 Use `string-match'.
4124 (flyspell-delete-region-overlays): Use alternative definition for
4125 XEmacs.
4126 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4127 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4128 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4129 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4130 `define-obsolete-face-alias' under XEmacs, but old method.
4131
4132 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4133 `with-no-warnings' definition or Emacs alias.
4134 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4135 (ispell-word): Do not use `region-p' if XEmacs.
4136
4137 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4138
4139 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4140 Check for `ispell-dictionary-base-alist' instead of full
4141 `ispell-dictionary-alist'.
4142 (ispell-init-process): Show spellchecker when starting new Ispell
4143 process.
4144
4145 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4148 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4149
4150 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4151
4152 * version.el (motif-version-string, gtk-version-string)
4153 (ns-version-string): Declare.
4154
4155 2012-05-27 Juri Linkov <juri@jurta.org>
4156
4157 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4158 after the `eval-defun-1' specialcaseing
4159 like in `edebug-eval-defun' (bug#10181).
4160
4161 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4162 like in `eval-defun-1'.
4163
4164 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4165
4166 * mail/sendmail.el (mail-yank-region):
4167 Recognize rmail-yank-current-message in addition to insert-buffer.
4168 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4169 a *mail* buffer created through rmail-start-mail with sendmail as
4170 mail-user-agent.
4171
4172 2012-05-27 Chong Yidong <cyd@gnu.org>
4173
4174 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4175 Default to 256 (Bug#11267).
4176
4177 * help.el (describe-mode): Doc fix.
4178
4179 2012-05-26 Glenn Morris <rgm@gnu.org>
4180
4181 * w32-fns.el (w32-init-info): Remove.
4182 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4183
4184 * info.el (info-initialize): For self-contained NS builds, put the
4185 included info/ directory at the front. (Bug#2791)
4186
4187 * paths.el (Info-default-directory-list): Make it a defcustom,
4188 mainly so that we can use custom-initialize-delay.
4189
4190 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * subr.el (buffer-has-markers-at): Mark obsolete.
4193
4194 * subr.el (lambda): Use declare.
4195
4196 * emacs-lisp/lisp-mode.el (lambda):
4197 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4198
4199 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4200
4201 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4202
4203 2012-05-26 Glenn Morris <rgm@gnu.org>
4204
4205 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4206
4207 2012-05-25 Glenn Morris <rgm@gnu.org>
4208
4209 * paths.el: Remove no-byte-compile.
4210 * loadup.el: No need to load paths.el uncompiled.
4211
4212 * image.el (imagemagick-types-inhibit): Doc fix.
4213
4214 * version.el: Remove no-byte-compile and associated formatting.
4215 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4216 is ancient code from when there was an "inc-vers.el".
4217
4218 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * progmodes/gdb-mi.el: Minor style changes.
4221 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4222 Turn into minor modes.
4223 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4224 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4225 (gdb-shell): Remove unneeded let-binding.
4226 (gdb-get-many-fields): Eliminate O(n²) behavior.
4227
4228 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4229
4230 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4231 platforms that don't link in fontset.c.
4232
4233 2012-05-25 Juri Linkov <juri@jurta.org>
4234
4235 Use the same diff color scheme as in modern VCSes (bug#10181).
4236
4237 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4238 to avoid confusion with `diff-added' that now uses green colors.
4239 (diff-removed): Use shades of red.
4240 (diff-added): Use shades of green.
4241 (diff-changed): Leave just the yellow color.
4242 (diff-use-changed-face): New variable.
4243 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4244 how to highlight context diff changes.
4245 (diff-refine-change): Use shades of yellow.
4246 (diff-refine-removed): New face that uses shades of red.
4247 (diff-refine-added): New face that uses shades of green.
4248 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4249 `diff-refine-removed' in the call to `smerge-refine-subst'
4250 depending on the value of `diff-use-changed-face'.
4251
4252 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4253 (smerge-other): Use shades of green.
4254 (smerge-base): Use shades of yellow.
4255 (smerge-refined-change): Empty face.
4256 (smerge-refined-removed): New face that uses shades of red.
4257 (smerge-refined-added): New face that uses shades of green.
4258 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4259 args `props-r' and `props-a', and use them. Doc fix.
4260 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4261 on its value use different faces `smerge-refined-change',
4262 `smerge-refined-removed', `smerge-refined-added' in the call to
4263 `smerge-refine-subst'.
4264
4265 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4266 Add face condition `min-colors 88' with shades of red.
4267 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4268 `min-colors 88' with shades of green.
4269 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4270 `min-colors 88' with shades of yellow.
4271
4272 2012-05-24 Glenn Morris <rgm@gnu.org>
4273
4274 * paths.el (prune-directory-list, remote-shell-program): Move to...
4275 * files.el (prune-directory-list, remote-shell-program): ...here.
4276 For the latter, delay initialization, prefer ssh, just search PATH.
4277
4278 * paths.el (term-file-prefix): Move to faces.el (the only user).
4279 * faces.el (term-file-prefix): Move here, make it a defcustom.
4280
4281 * paths.el (news-directory, news-path, news-inews-program):
4282 Move to gnus/nnspool.el.
4283
4284 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4285
4286 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4287 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4288 Make the latter a defcustom, with a delayed initialization.
4289
4290 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4291 These were deleted from Gnus itself late 2010.
4292
4293 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4294
4295 * progmodes/which-func.el (which-func-ff-hook):
4296 Check against user-error, not error.
4297
4298 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4299 cl-specs.el, which no longer exists.
4300
4301 2012-05-22 Glenn Morris <rgm@gnu.org>
4302
4303 * info.el (info-emacs-bug): New command.
4304 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4305 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4306
4307 2012-05-21 Glenn Morris <rgm@gnu.org>
4308
4309 * makefile.w32-in (update-subdirs-SH):
4310 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4311
4312 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4315
4316 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4317 Simplify Maven regexp, and make sure the file can't start with a space
4318 (bug#11517).
4319
4320 2012-05-21 Glenn Morris <rgm@gnu.org>
4321
4322 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4323 Scrap superfluous subshells.
4324
4325 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4328 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4329
4330 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4331
4332 * calc/calc.el (calc-ensure-consistent-units): New variable.
4333
4334 * calc/calc-units.el (math-consistent-units-p)
4335 (math-check-unit-consistency): New functions.
4336 (calc-quick-units, calc-convert-units):
4337 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4338 is non-nil.
4339 (calc-extract-units): Fix typo.
4340
4341 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4344
4345 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4346 (flyspell-default-deplacement-commands): Don't spell check after
4347 repeated window/frame switches (e.g. triggered by mouse-movement).
4348 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4349 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4350 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4351 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4352 Remove unused vars.
4353 (flyspell-get-casechars, flyspell-get-not-casechars):
4354 Simplify; Don't bother removing a ] just to add it back.
4355 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4356
4357 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4358
4359 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4360 New functions.
4361 (math-function-table): Add support for more C functions.
4362
4363 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4364
4365 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4366 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4367 Protect delay handling for otherchars against empty otherchars.
4368
4369 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4372 their respective macro declarations.
4373 * skeleton.el (define-skeleton):
4374 * progmodes/compile.el (define-compilation-mode):
4375 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4376 (define-ibuffer-filter):
4377 * emacs-lisp/generic.el (define-generic-mode):
4378 * emacs-lisp/easy-mmode.el (define-minor-mode)
4379 (define-globalized-minor-mode):
4380 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4381 * emacs-lisp/byte-run.el (defsubst):
4382 * custom.el (deftheme): Add doc-string metadata.
4383
4384 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4387
4388 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4391
4392 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4393 * emacs-lisp/cl-macs.el: Idem.
4394 * emacs-lisp/cl-specs.el: Remove.
4395
4396 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 Minor renaming of internal CL functions and variables.
4399 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4400 (cl--position): Rename from cl-position.
4401 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4402 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4403 (cl--random-state): Rename from *random-state*.
4404
4405 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4408 parens around the arg list (bug#11499).
4409
4410 2012-05-17 Juri Linkov <juri@jurta.org>
4411
4412 * isearch.el (word-search-regexp, word-search-backward)
4413 (word-search-forward, word-search-backward-lax)
4414 (word-search-forward-lax): Move functions from search.c
4415 (bug#10145, bug#11381).
4416
4417 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4418
4419 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4420 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4421 Delay for otherchars as for normal word components.
4422
4423 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4424
4425 * minibuffer.el (completion--sifn-requote): Fix last change.
4426 (minibuffer-local-must-match-filename-map):
4427 Move define-obsolete-variable-alias before its var.
4428
4429 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4432
4433 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4434 behavior.
4435 (completion--string-equal-p): New function.
4436 (completion--twq-all): Use it to get better assertion failure data.
4437
4438 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4439 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4440 (shell--requote-argument): New functions.
4441 (shell-completion-vars): Use them.
4442 (shell--parse-pcomplete-arguments): Rename from
4443 shell-parse-pcomplete-arguments.
4444 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4445 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4446 Obey comint-file-name-quote-list.
4447
4448 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4449 (smie-indent-keyword): Use it.
4450
4451 2012-05-14 Stefan Merten <smerten@oekonux.de>
4452
4453 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4454
4455 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * net/rlogin.el (rlogin-mode-map): Fix last change.
4458
4459 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4460
4461 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4462 the following \r\n using a single `process-send-string', since the
4463 Lotus SMTP server refuses to accept any commands if they are sent
4464 with two `process-send-string's (Bug#11444).
4465
4466 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * shell.el (shell-parse-pcomplete-arguments):
4469 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4470
4471 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4472
4473 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4474 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4475 (image-transform-width, image-transform-fit-width): New functions.
4476 (image-transform-properties): Use them.
4477 (image-transform-check-size): New function.
4478 (image-toggle-display-image): Use it (for testing).
4479 (image-transform-set-rotation): Reduce angle mod 360.
4480 Delete obsolete comment.
4481
4482 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4483
4484 * image-mode.el: Fix scaling (bug#11399).
4485 (image-transform-resize): Doc fix.
4486 (image-transform-properties): Default scale is 1 and height should
4487 be an integer.
4488
4489 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4490
4491 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4492 than hard-coding `car', to fix misbehavior when moving forward.
4493
4494 2012-05-13 Chong Yidong <cyd@gnu.org>
4495
4496 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4497 (tabulated-list-entries, tabulated-list-padding)
4498 (tabulated-list-sort-key): Make permanent-local.
4499
4500 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4501 (electric-buffer-list): Put electric buffer menu
4502 command descriptions in this docstring, instead of the docstring
4503 of electric-buffer-menu-mode. Code cleanups.
4504 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4505 Electric-buffer-menu-mode.
4506 (electric-buffer-update-highlight): Minor code cleanup.
4507
4508 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4511 (Bug#11447)
4512
4513 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 Move define-obsolete-variable-alias before the var's definition.
4516 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4517 * tooltip.el (tooltip-hook):
4518 * textmodes/reftex-toc.el (reftex-toc-map):
4519 * textmodes/reftex-sel.el (reftex-select-label-map)
4520 (reftex-select-bib-map):
4521 * textmodes/reftex-index.el (reftex-index-map)
4522 (reftex-index-phrases-map):
4523 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4524 * progmodes/meta-mode.el (meta-mode-map):
4525 * novice.el (disabled-command-hook):
4526 * loadhist.el (unload-hook-features-list):
4527 * frame.el (blink-cursor):
4528 * files.el (find-file-not-found-hooks, write-file-hooks)
4529 (write-contents-hooks):
4530 * emulation/tpu-edt.el (GOLD-map):
4531 * emacs-lock.el (emacs-lock-from-exiting):
4532 * emacs-lisp/generic.el (generic-font-lock-defaults):
4533 * emacs-lisp/chart.el (chart-map):
4534 * dos-fns.el (register-name-alist):
4535 * dired-x.el (dired-omit-files-p):
4536 * desktop.el (desktop-enable):
4537 * cus-edit.el (custom-mode-hook):
4538 * buff-menu.el (buffer-menu-mode-hook):
4539 * bookmark.el (bookmark-read-annotation-text-func)
4540 (bookmark-exit-hooks):
4541 * allout.el (allout-mode-deactivate-hook)
4542 (allout-exposure-change-hook, allout-structure-added-hook)
4543 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4544 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4545 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4546 comes before the corresponding variable's definition.
4547
4548 2012-05-12 Chong Yidong <cyd@gnu.org>
4549
4550 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4551 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4552 (Buffer-menu-mode-map): Bind it.
4553 (Buffer-menu--pretty-name): Add a mouse-face property.
4554
4555 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4558 (prolog-upper-case-string, prolog-lower-case-string)
4559 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4560 (prolog-use-smie, prolog-smie-grammar): New vars.
4561 (prolog-smie-forward-token, prolog-smie-backward-token)
4562 (prolog-smie-rules): New funs.
4563 (prolog-comment-indent): Remove.
4564 (prolog-mode-variables): Use default comment indentation instead.
4565 Setup SMIE.
4566 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4567 (prolog-mode): Don't call them any more.
4568 (prolog-electric-colon, prolog-electric-dash)
4569 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4570
4571 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4572
4573 * minibuffer.el (completion--twq-all): Again, allow case differences.
4574
4575 * term.el: Move keymap initialization code to be more idiomatic.
4576 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4577 (term-terminal-menu): Move initialization into declaration.
4578 (term-escape-char): Let the user set it in her .emacs.
4579
4580 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4581 Provide SMIE-based indentation (not enabled by default yet).
4582 (sh-mode-map): Don't bind electric keys.
4583 Use electric-pair-mode instead of skeleton-pair.
4584 (sh-assignment-regexp): Fit within 80 columns.
4585 (sh-indent-supported): Specify actual shell name instead of boolean.
4586 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4587 (sh-maybe-here-document): Use it. Make obsolete.
4588 (sh-electric-here-document-mode) New minor mode.
4589 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4590 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4591 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4592 (sh-smie-rc-grammar, sh-use-smie): New vars.
4593 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4594 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4595 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4596 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4597 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4598 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4599 (sh-set-shell): Use smie-setup if requested.
4600
4601 * term.el (term-set-escape-char): Properly set term-escape-char.
4602 See http://stackoverflow.com/questions/10524656.
4603
4604 2012-05-10 Chong Yidong <cyd@gnu.org>
4605
4606 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4607 Use url-generic-parse-url, and handle host names and Windows
4608 filenames properly.
4609 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4610 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4611 URL schemes to work on.
4612 (ffap--toggle-read-only): New function.
4613 (ffap-read-only, ffap-read-only-other-window)
4614 (ffap-read-only-other-frame): Use it.
4615 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4616 necessary for ffap-url-unwrap-remote.
4617
4618 2012-05-10 Dave Abrahams <dave@boostpro.com>
4619
4620 * cus-start.el (create-lockfiles): Add it.
4621
4622 2012-05-09 Chong Yidong <cyd@gnu.org>
4623
4624 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4625 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4626
4627 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4630
4631 2012-05-09 Chong Yidong <cyd@gnu.org>
4632
4633 * ansi-color.el (ansi-color-process-output): Check for validity of
4634 comint-last-output-start before using it. This avoids a bad
4635 interaction with gdb-mi's input/output buffer.
4636
4637 2012-05-09 Glenn Morris <rgm@gnu.org>
4638
4639 * files.el (dir-locals-read-from-file):
4640 Mention dir-locals in any error message.
4641
4642 2012-05-09 Chong Yidong <cyd@gnu.org>
4643
4644 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4645 package (Bug#11410).
4646
4647 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4648 variables into description.
4649
4650 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4653 shell-delimiter-argument-list (bug#11348).
4654 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4655
4656 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
4657
4658 * textmodes/rst.el: Silence byte-compiler warnings.
4659 (rst-re-alist, rst-reset-section-caches): Move around.
4660 (rst-re): Use `characterp', not `char-valid-p'.
4661 (font-lock-beg, font-lock-end): Declare.
4662
4663 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4664 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4665
4666 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4667
4668 2012-05-08 Glenn Morris <rgm@gnu.org>
4669
4670 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4671
4672 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * vc/log-edit.el: Add GNU coding standards highlighting.
4675 (log-edit-font-lock-gnu-style)
4676 (log-edit-font-lock-gnu-keywords): New vars.
4677 (log-edit-font-lock-keywords): New fun.
4678 (log-edit-mode): Don't fold case in font-lock.
4679 (log-edit-font-lock-keywords): Do not assume case-folding.
4680
4681 * imenu.el: Misc cleanup. Make docstrings out of comments.
4682 Use lexical-binding.
4683 (imenu--index-alist, imenu--last-menubar-index-alist)
4684 (imenu-menubar-modified-tick): Use defvar-local.
4685 (imenu--split-menu): Remove unused var.
4686 (imenu--cleanup-seen): Declare as global.
4687 (imenu--cleanup): Use dolist.
4688
4689 * subr.el (defvar-local): Add debug spec and doc-string position.
4690
4691 2012-05-08 Glenn Morris <rgm@gnu.org>
4692
4693 * language/burmese.el, language/cham.el, language/czech.el:
4694 * language/english.el, language/georgian.el, language/greek.el:
4695 * language/japanese.el, language/khmer.el, language/korean.el:
4696 * language/lao.el, language/misc-lang.el, language/romanian.el:
4697 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4698 * language/thai.el, language/utf-8-lang.el:
4699 Remove no-byte-compile setting.
4700
4701 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4702
4703 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4704
4705 * progmodes/make-mode.el (makefile-browse):
4706 Remove unnecessary interactive. (Bug#11324)
4707
4708 2012-05-07 Glenn Morris <rgm@gnu.org>
4709
4710 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4711
4712 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4713
4714 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * loadup.el: Preload newcomment.el.
4717 * newcomment.el: Move autoload-only code to toplevel.
4718
4719 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4720 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4721 Handle new :right-align column property.
4722 (tabulated-list-print-col): Idem, plus use `display' text-property to
4723 try and preserve alignment for variable pitch fonts.
4724
4725 2012-05-07 Chong Yidong <cyd@gnu.org>
4726
4727 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4728 (tabulated-list-use-header-line): New var.
4729 (tabulated-list-init-header): Use it.
4730 (tabulated-list-print-fake-header): New function.
4731 (tabulated-list-print): Use it.
4732 (tabulated-list-sort-button-map): Add non-header-line commands.
4733 (tabulated-list-init-header): Add column name property to basic
4734 labels as well.
4735 (tabulated-list-col-sort): Handle non-header-line button case.
4736 (tabulated-list--sort-by-column-name): Fix a corner case.
4737
4738 * buff-menu.el (list-buffers--refresh):
4739 Handle Buffer-menu-use-header-line.
4740
4741 2012-05-06 Chong Yidong <cyd@gnu.org>
4742
4743 * buff-menu.el: Convert to Tabulated List mode.
4744 (Buffer-menu-buffer+size-width): Make obsolete.
4745 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4746 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4747 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4748 documentation into docstring of buffer-menu.
4749 (Buffer-menu-toggle-files-only): Add an informative message.
4750 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4751 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4752 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4753 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4754 (Buffer-menu-execute, Buffer-menu-select)
4755 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4756 (Buffer-menu-bury): Use Tabulated List machinery.
4757 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4758 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4759 Delete.
4760 (list-buffers--refresh): New function.
4761 (list-buffers-noselect): Use it.
4762 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4763 (Buffer-menu--pretty-file-name): New helper functions.
4764
4765 * loadup.el: Preload tabulated-list.
4766
4767 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4768 tabulated-list-sort-column.
4769 (tabulated-list-init-header): Add the initial aligning space even
4770 if tabulated-list-padding is zero.
4771
4772 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4773
4774 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4775 whose cdr is not a cons cell correctly (bug#11038).
4776
4777 2012-05-06 Chong Yidong <cyd@gnu.org>
4778
4779 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4780 Accept additional plist in column descriptors.
4781 (tabulated-list-init-header): Obey it.
4782 (tabulated-list-get-entry): New function.
4783 (tabulated-list-put-tag): Use it. Use string-width instead of
4784 length.
4785 (tabulated-list--column-number): New function.
4786 (tabulated-list-print): Use it.
4787 (tabulated-list-print-col): New function.
4788 Set `tabulated-list-column-name' property on each column's text.
4789 (tabulated-list-print-entry): Use it.
4790 (tabulated-list-delete-entry, tabulated-list-set-col):
4791 New functions.
4792 (tabulated-list-sort-column): New command (Bug#11337).
4793
4794 * buff-menu.el (list-buffers): Move C-x C-b binding from
4795 buff-menu.el to bindings.el.
4796
4797 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4798 :advertised-binding feature.
4799
4800 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4801
4802 * progmodes/compile.el (compilation-internal-error-properties):
4803 Calculate start position correctly when end-col is set but
4804 end-line is not (Bug#11382).
4805
4806 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4807
4808 * man.el (Man-unindent): Use text-property-default-nonsticky to
4809 prevent untabify from inheriting face properties (Bug#11408).
4810
4811 2012-05-05 Stefan Merten <smerten@oekonux.de>
4812
4813 * textmodes/rst.el: Major merge with upstream development up to
4814 Docutils SVN r7399 / rst.el V1.2.1.
4815
4816 Clarify maintainership and authors.
4817
4818 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4819 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4820 (rst-official-version, rst-official-cvs-rev, rst-version)
4821 (rst-package-emacs-version-alist): New functions and variables
4822 for version information.
4823
4824 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4825 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4826 (rst-mode-syntax-table, rst-mode): New and corrected functions
4827 and variables representing reStructuredText features.
4828
4829 (rst-re): New function for reStructuredText regexes. Use in
4830 many places.
4831
4832 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4833 (rst-mode-map): Rebind keys.
4834
4835 (rst-mode-lazy, rst-font-lock-keywords)
4836 (rst-font-lock-extend-region)
4837 (rst-font-lock-extend-region-internal)
4838 (rst-font-lock-extend-region-extend)
4839 (rst-font-lock-find-unindented-line-limit)
4840 (rst-font-lock-find-unindented-line-match)
4841 (rst-adornment-level, rst-font-lock-adornment-level)
4842 (rst-font-lock-adornment-match)
4843 (rst-font-lock-handle-adornment-pre-match-form)
4844 (rst-font-lock-handle-adornment-matcher): Major revision of
4845 font-locking. Integrate with other code. Use `jit-lock-mode'.
4846
4847 (rst-preferred-adornments, rst-adjust-hook)
4848 (rst-new-adornment-down, rst-preferred-bullets)
4849 (rst-preferred-bullets, rst-indent, rst-indent-width)
4850 (rst-indent-field, rst-indent-literal-normal)
4851 (rst-indent-literal-minimized, rst-indent-comment): Change,
4852 extend and improve customization.
4853
4854 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4855 (rst-normalize-cursor-position, rst-get-decoration)
4856 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4857 (rst-rstrip, rst-toc-insert-find-delete-contents)
4858 (rst-shift-fill-region, rst-compute-bullet-tabs)
4859 (rst-debug-print-tabs, rst-debug-mark-found)
4860 (rst-shift-region-guts, rst-shift-region-right)
4861 (rst-shift-region-left, rst-use-char-classes)
4862 (rst-font-lock-keywords-function)
4863 (rst-font-lock-indentation-point)
4864 (rst-font-lock-find-unindented-line-begin)
4865 (rst-font-lock-find-unindented-line-end)
4866 (rst-font-lock-find-unindented-line)
4867 (rst-font-lock-adornment-point, rst-font-lock-level)
4868 (rst-adornment-level-alist): Remove functions and variables.
4869
4870 (rst-compare-adornments, rst-get-adornment-match)
4871 (rst-suggest-new-adornment, rst-get-adornments-around)
4872 (rst-adornment-complete-p, rst-get-next-adornment)
4873 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4874 (rst-straighten-adornments): Standardize function names to
4875 use "adornment" instead of "decoration". Correct callers.
4876 Similar standardizing in many places.
4877
4878 (rst-update-section, rst-adjust, rst-promote-region)
4879 (rst-enumerate-region, rst-bullet-list-region)
4880 (rst-repeat-last-character): Correct use of `interactive'.
4881
4882 (rst-classify-adornment, rst-find-all-adornments)
4883 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4884 (rst-find-leftmost-column, rst-repeat-last-character):
4885 Refactor functions.
4886
4887 (rst-find-title-line, rst-reset-section-caches)
4888 (rst-get-adornments-around, rst-adjust-adornment-work)
4889 (rst-arabic-to-roman, rst-roman-to-arabic)
4890 (rst-insert-list-pos, rst-insert-list-new-item)
4891 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4892 New functions.
4893
4894 (rst-all-sections, rst-section-hierarchy)
4895 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4896 New variables.
4897
4898 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4899 configuration instead of only buffer. Change where necessary.
4900
4901 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4902 (rst-shift-region, rst-adaptive-fill): New functions for
4903 indentation and filling.
4904
4905 (rst-comment-line-break, rst-comment-indent)
4906 (rst-comment-insert-comment, rst-comment-region)
4907 (rst-uncomment-region): New functions for handling comments.
4908
4909 (rst-compile): Quote shell arguments.
4910
4911 (rst-compile-pdf-preview, rst-compile-slides-preview):
4912 Delete temporary files after use.
4913
4914 2012-05-05 Glenn Morris <rgm@gnu.org>
4915
4916 * calendar/cal-html.el: Optionally include holidays in the output.
4917 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4918 (cal-html-holidays): New option.
4919 (cal-html-css-default): Add holiday entry.
4920 (holiday-in-range): Autoload it.
4921 (cal-html-htmlify-entry): Add optional class argument.
4922 (cal-html-htmlify-list): Add optional holidays argument.
4923 (cal-html-insert-agenda-days): Include holidays in the output.
4924 (cal-html-one-month): Maybe include holidays.
4925
4926 * calendar/holidays.el (holiday-in-range):
4927 Move here from cal-tex-list-holidays.
4928 * calendar/cal-tex.el (cal-tex-list-holidays):
4929 Make it an obsolete alias for holiday-in-range. Update all callers.
4930
4931 2012-05-05 Chong Yidong <cyd@gnu.org>
4932
4933 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4934 Nextstep.
4935
4936 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4937
4938 * files.el (file-auto-mode-skip): New var.
4939 (set-auto-mode-1): Use it.
4940
4941 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * repeat.el: Use lexical-binding.
4944 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4945 (repeat-undo-count): Remove.
4946 (repeat):
4947 * progmodes/octave-mod.el (octave-abbrev-start):
4948 * progmodes/f90.el (f90-abbrev-start):
4949 * face-remap.el (text-scale-adjust):
4950 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4951
4952 * emacs-lisp/pcase.el (pcase--let*): New function.
4953 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4954 a bit more.
4955 (pcase--split-pred): Be more clever about ruling out overlap between
4956 a predicate and some constant pattern.
4957 (pcase--q1): Use `null' instead of (eq foo nil).
4958
4959 * subr.el (setq-local, defvar-local): New macros.
4960 (kbd): Redefine as an alias.
4961 (with-selected-window): Leave unrelated frames alone.
4962 (set-temporary-overlay-map): New function.
4963
4964 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * subr.el (user-error): New function.
4967 * window.el (switch-to-buffer):
4968 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4969 (smerge-match-conflict):
4970 * simple.el (previous-matching-history-element)
4971 (next-matching-history-element, goto-history-element, undo-more)
4972 (undo-start):
4973 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4974 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4975 (next-file, tags-loop-scan, list-tags, complete-tag):
4976 * progmodes/compile.el (compilation-loop):
4977 * mouse.el (mouse-minibuffer-check):
4978 * man.el (Man-bgproc-sentinel, Man-goto-page):
4979 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4980 (Info-history-forward, Info-follow-reference, Info-menu)
4981 (Info-extract-menu-item, Info-extract-menu-counting)
4982 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4983 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4984 (Info-next-reference, Info-prev-reference, Info-index)
4985 (Info-index-next, Info-follow-nearest-node)
4986 (Info-copy-current-node-name):
4987 * imenu.el (imenu--make-index-alist)
4988 (imenu-default-create-index-function, imenu-add-to-menubar):
4989 * files.el (basic-save-buffer, recover-file):
4990 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4991 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4992 (checkdoc-message-text, checkdoc-defun):
4993 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4994 * cus-edit.el (customize-changed-options, customize-rogue)
4995 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4996 (custom-variable-mark-to-reset-standard)
4997 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4998 (custom-file):
4999 * completion.el (check-completion-length):
5000 * comint.el (comint-search-arg)
5001 (comint-previous-matching-input-string-position)
5002 (comint-previous-matching-input)
5003 (comint-replace-by-expanded-history-before-point, comint-send-input)
5004 (comint-copy-old-input, comint-backward-matching-input)
5005 (comint-goto-process-mark, comint-set-process-mark):
5006 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5007 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5008
5009 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * dabbrev.el (dabbrev--ignore-case-p): New function.
5012 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5013 Use it.
5014
5015 * files.el (automount-dir-prefix): Mark as obsolete.
5016
5017 2012-05-04 Glenn Morris <rgm@gnu.org>
5018
5019 * patcomp.el, play/bruce.el: Move to obsolete/.
5020
5021 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5022
5023 Fix minor Y10k bugs.
5024 * arc-mode.el (archive-unixdate):
5025 * autoinsert.el (auto-insert-alist):
5026 * calc/calc-forms.el (math-this-year):
5027 * emacs-lisp/copyright.el (copyright-current-year)
5028 (copyright-update-year, copyright):
5029 * tar-mode.el (tar-clip-time-string):
5030 * time.el (display-time-update):
5031 Don't assume years have 4 digits.
5032
5033 2012-05-04 Chong Yidong <cyd@gnu.org>
5034
5035 * dos-w32.el (file-name-buffer-file-type-alist)
5036 (direct-print-region-use-command-dot-com):
5037 * ffap.el (ffap-menu-regexp):
5038 * find-file.el (ff-special-constructs):
5039 * follow.el (follow-debug):
5040 * forms.el (forms--debug):
5041 * iswitchb.el (iswitchb-all-frames):
5042 * ido.el (ido-all-frames):
5043 * emacs-lisp/timer.el (timer-max-repeats):
5044 * mail/feedmail.el (feedmail-mail-send-hook)
5045 (feedmail-mail-send-hook-queued):
5046 * mail/footnote.el (footnote-signature-separator):
5047 * mail/mailabbrev.el (mail-alias-separator-string)
5048 (mail-abbrev-mode-regexp):
5049 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5050 * progmodes/idlwave.el (idlwave-libinfo-file)
5051 (idlwave-default-completion-case-is-down)
5052 (idlwave-library-routines): Convert defvars to defcustoms.
5053
5054 * mail/rmail.el (rmail-decode-mime-charset):
5055 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5056 (idlwave-shell-fix-inserted-breaks)
5057 (idlwave-shell-activate-alt-keybindings)
5058 (idlwave-shell-use-breakpoint-glyph):
5059 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5060
5061 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5064
5065 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5066
5067 * progmodes/verilog-mode.el (font-lock-keywords):
5068 Fix mis-highligting auto. Reported by Craig Barner.
5069 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5070 defines from global name space. Reported by Dan Dever.
5071 (verilog-auto-reset, verilog-auto-reset-widths)
5072 (verilog-auto-tieoff): Support using unbased numbers for
5073 AUTORESET and AUTOTIEOFF.
5074 (verilog-submit-bug-report): Update variable list.
5075 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5076 parenthesis from not matching. Reported by Michael Rytting.
5077 (verilog-auto-template-lint): Fix hash error when linting modules
5078 with no used templates.
5079 (verilog-warn, verilog-warn-error)
5080 (verilog-warn-fatal): When non-interactive report multiple
5081 warnings before exiting. Suggested by Brad Dobbie.
5082 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5083 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5084 to report unused template errors. Reported by Brad Dobbie.
5085 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5086 nets, bug438. Reported by Vns Blore.
5087 (verilog-auto-inout-module, verilog-auto-reg)
5088 (verilog-read-decls, verilog-read-sub-decls-sig)
5089 (verilog-signals-edit-wire-reg, verilog-signals-with):
5090 Fix passing of Verilog data types in ANSI input/output ports
5091 such as "output logic" into the AUTOs. Special case "wire" and
5092 "reg" for backwards compatibility presuming Verilog 2001.
5093 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5094 (verilog-preprocess): Fix replication of preprocess output.
5095 Reported by Brad Dobbie.
5096 (verilog-auto-inst-interfaced-ports):
5097 Create verilog-auto-inst-interfaced-ports, bug429.
5098 Reported by Julian Gorfajn.
5099 (verilog-after-save-font-hook)
5100 (verilog-before-save-font-hook): New variable.
5101 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5102 (verilog-save-font-mods): Wrap disabling fontification, reported
5103 by David Rogoff.
5104 (verilog-do-indent, verilog-pretty-declarations-auto)
5105 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5106 Reported by Pierre-David Pfister.
5107 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5108 of class declarations, bug292. Reported by Kevin Heilman.
5109 (verilog-read-decls): Fix 'parameter type' not appearing in
5110 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5111 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5112 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5113 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5114 Reported by David Kravitz.
5115
5116 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5117
5118 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5119 assignment with tests in ifs and for loops.
5120 (verilog-extended-complete-re, verilog-complete-reg): Change so
5121 that DPI inport functions don't look like fuction declarations.
5122 (verilog-pretty-expr): Don't line up assignment
5123 operations to the test and increment in if and for loops
5124 (verilog-extended-complete-re, verilog-complete-reg): Change so
5125 that DPI inport functions don't look like fuction declarations.
5126
5127 2012-05-03 Kenichi Handa <handa@m17n.org>
5128
5129 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5130 decoding, and show a warning message without signaling an error
5131 (Bug#11282).
5132
5133 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * emacs-lisp/bytecomp.el
5136 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5137 since cconv.el might have introduced :fun-body, internal-make-closure,
5138 and friends for bytecomp to handle (bug#11391).
5139 * custom.el (defcustom): Avoid ((λ ..) ..).
5140
5141 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5144
5145 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5146
5147 * notifications.el (dbus-debug):
5148 * term/linux.el (gpm-mouse-enable):
5149 * term/screen.el (xterm-register-default-colors): Declare.
5150
5151 2012-05-02 Chong Yidong <cyd@gnu.org>
5152
5153 * cus-start.el (gc-cons-percentage, exec-suffixes)
5154 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5155 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5156 (make-cursor-line-fully-visible, void-text-area-pointer)
5157 (font-list-limit): Add customization data.
5158
5159 * allout.el (allout-exposure-change-functions)
5160 (allout-structure-added-functions)
5161 (allout-structure-deleted-functions)
5162 (allout-structure-shifted-functions): Rename abnormal hooks from
5163 *-hook, and convert to defcustoms.
5164 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5165 Convert to defcustoms.
5166 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5167
5168 * allout-widgets.el: Hook callers changed.
5169
5170 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5171
5172 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5173 the yanked message in preference to the default value of
5174 buffer-file-coding-system.
5175
5176 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5177
5178 * window.el (display-buffer--action-function-custom-type):
5179 Fix entry.
5180
5181 2012-05-02 Alan Mackenzie <acm@muc.de>
5182
5183 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5184
5185 2012-05-01 Glenn Morris <rgm@gnu.org>
5186
5187 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5188
5189 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5190
5191 * cus-edit.el (custom-variable-documentation): Simplify with format.
5192
5193 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5194 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * simple.el (suggest-key-bindings, execute-extended-command):
5197 Move from keyboard.c.
5198
5199 2012-05-01 Chong Yidong <cyd@gnu.org>
5200
5201 * follow.el: Eliminate advice.
5202 (set-process-filter, process-filter, sit-for): Advice deleted.
5203 (follow-mode-off-hook): Obsolete hook removed.
5204 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5205 Vars deleted.
5206 (follow-auto): Use a :set function.
5207 (follow-mode): Rewritten. Don't advise process filters.
5208 (follow-switch-to-current-buffer-all, follow-scroll-up)
5209 (follow-scroll-down): Assume follow-mode is bound.
5210 (follow-comint-scroll-to-bottom)
5211 (follow-align-compilation-windows): New functions.
5212 (follow--window-sorter): New function.
5213 (follow-all-followers): Use it to explicitly sort windows by their
5214 positions; don't make assumptions about next-window order.
5215 (follow-windows-start-end, follow-delete-other-windows-and-split)
5216 (follow-calc-win-start): Doc fix.
5217 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5218 vertical-motion unnecessarily.
5219 (follow-adjust-window): New function.
5220 (follow-post-command-hook): Use it.
5221 (follow-call-set-process-filter, follow-call-process-filter)
5222 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5223 (follow-stop-intercept-process-output, follow-generic-filter):
5224 Functions deleted.
5225 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5226 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5227 New functions, replacing advice on scroll-bar-* commands.
5228 (follow-mwheel-scroll): New function (Bug#4112).
5229
5230 * comint.el (comint-adjust-point): New function.
5231 (comint-postoutput-scroll-to-bottom): Use it.
5232 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5233
5234 2012-05-01 Glenn Morris <rgm@gnu.org>
5235
5236 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5237 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5238 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5239 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5240 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5241 Remove no-byte-compile setting.
5242
5243 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5246 all-completions code to not return a number in the last cdr.
5247
5248 2012-04-30 Leo Liu <sdl.web@gmail.com>
5249
5250 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5251 read-only error.
5252
5253 2012-04-29 Chong Yidong <cyd@gnu.org>
5254
5255 * follow.el (follow-calc-win-end): Rewrite to handle partial
5256 screen lines correctly (Bug#8390).
5257 (follow-avoid-tail-recenter): Minor cleanup.
5258
5259 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 Avoid the obsolete `assoc' package.
5262 * speedbar.el (speedbar-refresh): Avoid adelete.
5263 (speedbar-file-lists): Simplify and avoid aput.
5264 * man.el (Man--sections, Man--refpages): New vars, replacing
5265 Man-sections-alist and Man-refpages-alist.
5266 (Man-build-section-alist, Man-build-references-alist):
5267 Use them; avoid aput.
5268 (Man--last-section, Man--last-refpage): New vars.
5269 (Man-follow-manual-reference): Use them.
5270 Use the `default' arg of completing-read.
5271 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5272
5273 2012-04-27 Chong Yidong <cyd@gnu.org>
5274
5275 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5276
5277 * startup.el (x-apply-session-resources): New function.
5278
5279 * term/ns-win.el (ns-initialize-window-system):
5280 * term/w32-win.el (w32-initialize-window-system):
5281 * term/x-win.el (x-initialize-window-system): Use it to properly
5282 set menu-bar-mode and other vars from X resources, even if the
5283 initial frame is not a window-system frame (Bug#2299).
5284
5285 * subr.el (read-key): Avoid running filter function when setting
5286 up temporary tool bar entries (Bug#9922).
5287
5288 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5289
5290 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5291 (Bug#11344)
5292
5293 2012-04-27 Chong Yidong <cyd@gnu.org>
5294
5295 * select.el (xselect--encode-string): New function, split from
5296 xselect-convert-to-string.
5297 (xselect-convert-to-string): Use it.
5298 (xselect-convert-to-filename, xselect-convert-to-os)
5299 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5300 returned strings are properly encoded (Bug#11315).
5301
5302 2012-04-27 Chong Yidong <cyd@gnu.org>
5303
5304 * simple.el (delete-active-region): Move to killing custom group.
5305
5306 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5307
5308 * progmodes/which-func.el (which-func-current): Quote %
5309 characters for mode-line processing.
5310
5311 2012-04-27 Chong Yidong <cyd@gnu.org>
5312
5313 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5314 reaching eob (Bug#11286).
5315
5316 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5317
5318 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5319 (gdb): Make it buffer-local and init to zero.
5320 (gdb-control-commands-regexp): New variable.
5321 (gdb-send): Don't wrap in "-interpreter-exec console" if
5322 gdb-control-level is positive. Increment gdb-control-level
5323 whenever the command matches gdb-control-commands-regexp, and
5324 decrement it each time the command is "end". (Bug#11279)
5325
5326 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5327
5328 * window.el (adjust-window-trailing-edge, enlarge-window)
5329 (shrink-window, window-resize):
5330 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5331 windows (Bug#11276).
5332
5333 2012-04-27 Chong Yidong <cyd@gnu.org>
5334
5335 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5336 fix "missing prefix" warning. All callers changed.
5337
5338 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * emacs-lisp/assoc.el: Move to obsolete/.
5341
5342 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5345
5346 * term/ns-win.el (ns-define-service):
5347 * progmodes/pascal.el (pascal-goto-defun):
5348 * progmodes/js.el (js--read-tab):
5349 * progmodes/etags.el (tags-lazy-completion-table):
5350 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5351 * emacs-lisp/ewoc.el (ewoc--wrap):
5352 * emacs-lisp/assoc.el (aput, adelete, amake):
5353 * doc-view.el (doc-view-convert-current-doc):
5354 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5355
5356 2012-04-26 Chong Yidong <cyd@gnu.org>
5357
5358 * image.el (image-type-from-buffer): Only return supported image
5359 type (Bug#9045).
5360
5361 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5362 value, for symmetry with diff-end-of-hunk.
5363 (diff-split-hunk, diff-find-source-location)
5364 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5365 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5366 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5367 compute the relevant hunk or file properly (Bug#6005).
5368 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5369
5370 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * vc/vc-mtn.el:
5373 * vc/vc-hg.el:
5374 * vc/vc-git.el:
5375 * vc/vc-dir.el:
5376 * vc/vc-cvs.el:
5377 * vc/vc-bzr.el:
5378 * vc/vc-arch.el:
5379 * vc/vc.el: Replace lexical-let by lexical-binding.
5380 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5381 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5382 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5383
5384 2012-04-26 Chong Yidong <cyd@gnu.org>
5385
5386 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5387 (diff-mode-shared-map): Bind it to / and [remap undo].
5388
5389 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5390 (ediff-window-setup-function): Use it as the default, to set up
5391 windows based on whether the current frame is graphical (Bug#2138).
5392 (ediff-choose-window-setup-function-automatically): Make obsolete.
5393
5394 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5395
5396 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * ffap.el: Remove old code for obsolete package.
5399 (ffap-complete-as-file-p): Remove.
5400
5401 Use completion-table-with-quoting for comint and pcomplete.
5402 * comint.el (comint--unquote&requote-argument)
5403 (comint--unquote-argument, comint--requote-argument): New functions.
5404 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5405 (comint-quote-filename): Use regexp-opt-charset.
5406 (comint--common-suffix, comint--common-quoted-suffix)
5407 (comint--table-subvert): Remove.
5408 (comint-unquote-function, comint-requote-function): New vars.
5409 (comint--complete-file-name-data): Use them with
5410 completion-table-with-quoting.
5411 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5412 * pcomplete.el (pcomplete-arg-quote-list)
5413 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5414 (pcomplete-unquote-argument-function): Default to non-nil.
5415 (pcomplete-unquote-argument): Simplify.
5416 (pcomplete--common-quoted-suffix): Remove.
5417 (pcomplete-requote-argument-function): New var.
5418 (pcomplete--common-suffix): New function.
5419 (pcomplete-completions-at-point): Use completion-table-with-quoting
5420 and completion-table-subvert.
5421
5422 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5423 (minibuffer--double-dollars): Preserve properties.
5424 (completion--sifn-requote): New function.
5425 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5426
5427 * minibuffer.el: Add support for completion of quoted/escaped data.
5428 (completion-table-with-quoting, completion-table-subvert): New funs.
5429 (completion--twq-try, completion--twq-all): New functions.
5430 (completion--nth-completion): New function.
5431 (completion-try-completion, completion-all-completions): Use it.
5432
5433 2012-04-25 Leo Liu <sdl.web@gmail.com>
5434
5435 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5436 Use compilation-message if available to find real filename.
5437
5438 2012-04-25 Chong Yidong <cyd@gnu.org>
5439
5440 * vc/diff-mode.el (diff-setup-whitespace): New function.
5441 (diff-mode): Use it.
5442
5443 * vc/diff.el (diff-sentinel):
5444 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5445 Whitespace mode variables based on diff style (Bug#8612).
5446
5447 2012-04-25 Leo Liu <sdl.web@gmail.com>
5448
5449 * progmodes/python.el (python-send-region): Add suffix .py to the
5450 temp file.
5451
5452 * files.el (auto-mode-alist): Use javascript-mode instead.
5453
5454 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5455
5456 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5457
5458 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5459 (soap-resolve-references-for-array-type): Hack to prevent self
5460 references, see Bug#9.
5461 (soap-parse-envelope): Report the contents of the 'detail' node
5462 when receiving a fault reply.
5463 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5464
5465 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5466 (soap-inspect-simple-type): New function.
5467
5468 * net/soap-client.el (soap-simple-type): New struct.
5469 (soap-default-xsd-types, soap-default-soapenc-types)
5470 (soap-decode-basic-type, soap-encode-basic-type):
5471 support unsignedInt and double basic types.
5472 (soap-resolve-references-for-simple-type)
5473 (soap-parse-simple-type, soap-encode-simple-type): New function.
5474 (soap-parse-schema): Parse xsd:simpleType declarations.
5475
5476 * net/soap-client.el (soap-default-xsd-types)
5477 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5478 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5479 the local name of "soapenc:Array".
5480 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5481 decoding integer, byte and anyURI xsd types.
5482
5483 2012-04-25 Chong Yidong <cyd@gnu.org>
5484
5485 * cus-edit.el (custom-buffer-create-internal): Update header text.
5486
5487 2012-04-25 Eli Zaretskii <eliz@gnu.org>
5488
5489 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5490 settings on 'system-type', not on 'window-system'. On MS-Windows,
5491 set interactive-mode on in GDB.
5492
5493 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5496 (ruby-syntax-propertize-regexp): Remove.
5497 (ruby-syntax-propertize-function): Split regexp into chunks.
5498 Match following code directly.
5499
5500 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5501
5502 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5503 (ruby-syntax-propertize-regexp): New function.
5504 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5505 by a special keyword.
5506
5507 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5508 (ruby-syntax-general-delimiters-goto-beg)
5509 (ruby-syntax-propertize-general-delimiters): New functions.
5510 (ruby-syntax-propertize-function): Use them to handle GDL.
5511 (ruby-font-lock-keywords): Move old handling of GDL...
5512 (ruby-font-lock-syntactic-keywords): .. to here.
5513 (ruby-calculate-indent): Adjust indentation for GDL.
5514
5515 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * notifications.el (top): Remove unneeded declarations.
5518 (notifications-specification-version): Change to "1.2".
5519 (notifications-interface, notifications-notify-method)
5520 (notifications-close-notification-method): Fix docstring.
5521 (notifications-get-capabilities-method): New defconst.
5522 (notifications-notify): Add :action-items, :resident and
5523 :transient hints. Change "image_data" to "image-data" and
5524 "image_path" to "image-path".
5525 (notifications-get-capabilities): New defun.
5526
5527 2012-04-24 Leo Liu <sdl.web@gmail.com>
5528
5529 * progmodes/python.el: Move hideshow setup to the end.
5530
5531 2012-04-24 Martin Rudalics <rudalics@gmx.at>
5532
5533 * window.el (handle-select-window): Clear echo area since this is
5534 no more done by read_char (Bug#11304).
5535
5536 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5539 and `/ M' to filter-derived-mode.
5540 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5541 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5542 (ibuffer-mark-by-mode): Use default rather than initial-input.
5543 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5544
5545 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5546
5547 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5548 (ibuffer-filter-by-derived-mode): New filter.
5549 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5550
5551 2012-04-23 Andreas Politz <politza@fh-trier.de>
5552
5553 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5554
5555 2012-04-23 Chong Yidong <cyd@gnu.org>
5556
5557 * cus-edit.el (customize-apropos, customize-apropos-options):
5558 Disable matching of non-option variables (Bug#11176).
5559 (customize-option, customize-option-other-window)
5560 (customize-changed-options): Doc fix.
5561 (customize-apropos-options, customize-apropos-faces)
5562 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5563
5564 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5565 Fix word list splitting (Bug#11132).
5566 (apropos-symbol, apropos-keybinding, apropos-label)
5567 (apropos-property, apropos-function-button)
5568 (apropos-variable-button, apropos-misc-button): New faces.
5569 (apropos-symbol-face, apropos-keybinding-face)
5570 (apropos-label-face, apropos-property-face, apropos-match-face):
5571 Variables removed (Bug#8396).
5572 (apropos-library-button, apropos-format-plist, apropos-print)
5573 (apropos-print-doc, apropos-describe-plist): Callers changed.
5574
5575 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
5576
5577 * net/xesam.el (xesam-mode-map): Use let-bound map in
5578 initialization. (Bug#11292)
5579
5580 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5581
5582 Preserve ispell session localwords when switching back to
5583 original buffer.
5584
5585 * textmodes/ispell.el (ispell-buffer-session-localwords):
5586 New buffer-local variable to hold buffer session localwords.
5587 (ispell-kill-ispell): Add option 'clear to delete session
5588 localwords.
5589 (ispell-command-loop, ispell-change-dictionary)
5590 (ispell-buffer-local-words): Preserve session localwords when
5591 needed.
5592
5593 * textmodes/flyspell.el (flyspell-process-localwords)
5594 (flyspell-do-correct): Preserve session localwords when needed.
5595
5596 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5597
5598 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5599 using obsolete `translation-table-for-input'.
5600 (ispell-word, ispell-process-line, ispell-complete-word):
5601 Use plain `insert' instead of removed `ispell-insert-word'.
5602
5603 2012-04-22 Chong Yidong <cyd@gnu.org>
5604
5605 * cus-edit.el (custom-variable-menu)
5606 (custom-variable-reset-saved, custom-face-menu)
5607 (custom-face-reset-saved): If there is no saved value, make the
5608 "reset-saved" operation bring back the default (Bug#9509).
5609 (custom-face-state): Properly detect themed faces.
5610
5611 * faces.el (face-spec-set): Stop supporting deprecated form of
5612 third arg.
5613
5614 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
5615
5616 Move functions from C to Lisp. Make non-blocking method calls
5617 the default. Implement further D-Bus standard interfaces.
5618
5619 * net/dbus.el (dbus-message-internal): Declare function.
5620 Remove unneeded function declarations.
5621 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5622 (dbus-message-type-method-return, dbus-message-type-error)
5623 (dbus-message-type-signal): Declare variables. Remove local
5624 definitions.
5625 (dbus-interface-dbus, dbus-interface-peer)
5626 (dbus-interface-introspectable, dbus-interface-properties)
5627 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5628 Adapt docstring.
5629 (dbus-interface-objectmanager): New defconst.
5630 (dbus-call-method, dbus-call-method-asynchronously)
5631 (dbus-send-signal, dbus-method-return-internal)
5632 (dbus-method-error-internal, dbus-register-service)
5633 (dbus-register-signal, dbus-register-method): New defuns, moved
5634 from dbusbind.c
5635 (dbus-call-method-handler, dbus-setenv)
5636 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5637 New defuns.
5638 (dbus-call-method-non-blocking): Make it an obsolete function.
5639 (dbus-unregister-object, dbus-unregister-service)
5640 (dbus-handle-event, dbus-register-property)
5641 (dbus-property-handler): Obey the new structure of
5642 `bus-registered-objects'.
5643 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5644 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5645 Use `dbus-call-method'.
5646
5647 2012-04-22 Chong Yidong <cyd@gnu.org>
5648
5649 * cus-edit.el (custom-commands, custom-reset-menu)
5650 (Custom-reset-standard): Tweak labels.
5651 (custom-reset-button-menu): Change default to t.
5652 (custom-buffer-create-internal): For the custom-reset-button-menu
5653 case, put the revert button first.
5654 (custom-group-subtitle): New face.
5655 (custom-group-value-create): Align docstring to a specific column.
5656
5657 * wid-edit.el (widget-documentation-link-add): Don't handle
5658 indentation in this function.
5659 (widget-documentation-string-indent-to): New function.
5660 (widget-documentation-string-value-create): Use it.
5661
5662 * autorevert.el (auto-revert):
5663 * epg-config.el (epg):
5664 * ibuffer.el (ibuffer):
5665 * mpc.el (mpc):
5666 * ses.el (ses):
5667 * eshell/eshell.el (eshell):
5668 * net/ange-ftp.el (ange-ftp):
5669 * progmodes/ebnf2ps.el (postscript):
5670 * progmodes/flymake.el (flymake):
5671 * progmodes/prolog.el (prolog):
5672 * progmodes/verilog-mode.el (verilog-mode):
5673 * progmodes/which-func.el (which-func):
5674 * term/xterm.el (xterm):
5675 * textmodes/picture.el (picture):
5676 * textmodes/tildify.el (tildify):
5677 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5678 customization buffers.
5679
5680 2012-04-22 Alan Mackenzie <acm@muc.de>
5681
5682 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5683 Adding a ) can hide the resulting (..) from searches. Fix it.
5684 Bound the backward search to the position of the existing (.
5685
5686 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5687
5688 * progmodes/verilog-mode.el (verilog-mode): Check whether
5689 which-func-modes is t before adding verilog-mode.
5690 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5691
5692 2012-04-21 Leo Liu <sdl.web@gmail.com>
5693
5694 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5695
5696 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5697
5698 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5699 filling of the last column of a table (Bug#5635).
5700 (woman-find-next-control-line): New arg, specifying an additional
5701 regexp component for the control line.
5702 (woman2-roff-buffer): Use it.
5703 (woman-break-table): New function.
5704 (woman2-TS): Use it.
5705
5706 2012-04-21 Chong Yidong <cyd@gnu.org>
5707
5708 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5709 (woman-horizontal-escapes, woman-negative-vertical-space)
5710 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5711 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5712
5713 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * minibuffer.el (completion-file-name-table): Complete user names.
5716
5717 2012-04-20 Leo Liu <sdl.web@gmail.com>
5718
5719 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5720 and pcase-let*.
5721
5722 2012-04-20 Chong Yidong <cyd@gnu.org>
5723
5724 * server.el (server-execute): Respect initial-buffer-choice if it
5725 is a string and there are no files to open (Bug#2825).
5726 (server-create-window-system-frame, server-create-tty-frame):
5727 Don't switch buffers here.
5728 (server-process-filter): Only try to open a window system frame if
5729 compiled with graphical support (Bug#8314).
5730
5731 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5732
5733 * battery.el (battery-echo-area-format): Display remaining time
5734 for sysfs backend too (Bug#11269).
5735 (battery-linux-sysfs): Fix conditional for the charge.
5736
5737 2012-04-20 Chong Yidong <cyd@gnu.org>
5738
5739 * progmodes/gdb-mi.el (gdb): Revert previous change.
5740 (gdb-inferior-io--init-proc): New function.
5741 (gdb-init-1): Use it.
5742 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5743 responsible for allocating a new pty and hooking it to gdb when
5744 the old pty gets an EIO due to process exit.
5745 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5746 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5747 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5748
5749 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5750
5751 * window.el (window-min-size, window-sizable, window-min-delta)
5752 (window-max-delta, window--resizable, window-resizable)
5753 (window-total-size, window-full-height-p, window-full-width-p)
5754 (window-in-direction, window--resize-mini-window, window-resize)
5755 (window--resize-child-windows-normal)
5756 (window--resize-child-windows, window--resize-siblings)
5757 (window--resize-this-window, adjust-window-trailing-edge)
5758 (enlarge-window, shrink-window): Doc fixes.
5759
5760 2012-04-20 Chong Yidong <cyd@gnu.org>
5761
5762 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5763 New function to call delete-process on the gdb-inferior buffer's pty.
5764 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5765 pty process (Bug#11273).
5766 (gdb-update): New arg to suppress talking to the gdb process.
5767 (gdb-done-or-error): Use it.
5768 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5769 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5770 sentinel not being called.
5771
5772 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5773
5774 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5775
5776 2012-04-20 Glenn Morris <rgm@gnu.org>
5777
5778 * net/network-stream.el (open-network-stream): Doc fix.
5779
5780 2012-04-20 Chong Yidong <cyd@gnu.org>
5781
5782 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5783
5784 2012-04-20 Alan Mackenzie <acm@muc.de>
5785
5786 Ensure searching for keywords is case sensitive.
5787
5788 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5789 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5790 (c-defun-name, c-mark-function, c-cpp-define-name)
5791 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5792 (c-context-line-break): Bind case-fold-search to nil.
5793
5794 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5795 Bind case-fold-search to nil.
5796
5797 2012-04-20 Chong Yidong <cyd@gnu.org>
5798
5799 * mail/sendmail.el (mail-bury): Call return action with the right
5800 Rmail buffer (Bug#11242).
5801
5802 * server.el (server-process-filter): Handle corner case where both
5803 tty and nowait options are present (Bug#11102).
5804
5805 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5806
5807 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5808 (top level): Put into the executable the ident-style '$Id:' tag on
5809 windows-nt as well.
5810
5811 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * electric.el (electric-indent-post-self-insert-function): Check that
5814 electric-indent-mode is enabled in current buffer.
5815
5816 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5817
5818 * imenu.el (imenu-progress-message): Restore; it is "used" in
5819 erc/erc-imenu.el and net/snmp-mode.el.
5820
5821 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5824 (mouse-avoidance-nudge-mouse): Remove unused binding.
5825
5826 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5827
5828 * descr-text.el (describe-char):
5829 * progmodes/python.el (python-describe-symbol):
5830 Don't call `toggle-read-only', set `buffer-read-only'.
5831
5832 * imenu.el (imenu-default-goto-function): Mark unused args.
5833 (imenu-progress-message): Remove obsolete macro; all callers changed.
5834
5835 * subr.el (keymap-canonicalize): Remove unused binding.
5836 (read-passwd): Mark unused arg.
5837
5838 * tutorial.el (tutorial--display-changes): Remove unused binding.
5839 (tutorial--save-tutorial-to): Remove unused variable.
5840
5841 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5842 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5843 (package-generate-autoloads, package-menu--generate)
5844 (package-menu--find-upgrades): Remove unused bindings.
5845
5846 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5847 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5848 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5849 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5850 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5851 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5852 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5853 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5854 (cua-delete-char-rectangle): Mark unused args.
5855 (cua-align-rectangle): Remove unused binding.
5856
5857 * mail/rmail.el (compilation--message->loc)
5858 (epa--find-coding-system-for-mime-charset): Declare.
5859
5860 * net/dbus.el (dbus-register-service): Declare.
5861 (dbus-name-owner-changed-handler): Remove unused binding.
5862
5863 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5864 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5865 (nxml-scan-backward-within): Mark unused arg.
5866 (nxml-dynamic-markup-word): Remove unused binding.
5867
5868 * mouse.el (mouse-menu-major-mode-map):
5869 * emacs-lisp/authors.el (authors-scan-change-log)
5870 (authors-add-to-author-list):
5871 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5872 * emacs-lisp/smie.el (smie-auto-fill):
5873 * mail/sendmail.el (mail-bury):
5874 * mail/unrmail.el (unrmail):
5875 * net/tls.el (open-tls-stream):
5876 * textmodes/picture.el (picture-mouse-set-point):
5877 Remove unused bindings.
5878
5879 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * net/tramp.el (tramp-action-password): Let-bind
5882 `enable-recursive-minibuffers' to t.
5883
5884 2012-04-18 Sam Steingold <sds@gnu.org>
5885
5886 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5887 instead of 'string to accommodate values like [f11].
5888 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5889 * progmodes/gdb-mi.el: Likewise.
5890
5891 2012-04-18 Leo Liu <sdl.web@gmail.com>
5892
5893 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5894 current buffer.
5895 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5896 LOCAL is nil.
5897
5898 2012-04-18 Chong Yidong <cyd@gnu.org>
5899
5900 * simple.el (line-move): Use forward-line if in batch mode
5901 (Bug#11053).
5902
5903 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5904
5905 * files.el (after-find-file): Do not try to add a final newline if
5906 the buffer is read-only (Bug#11156).
5907
5908 2012-04-17 Richard Stallman <rms@gnu.org>
5909
5910 * mail/rmail.el (rmail-start-mail):
5911 Pass (rmail-mail-return...) for the return-action.
5912 Pass (rmail-yank-current-message...) for the yank-action.
5913 (rmail-yank-current-message): New function.
5914 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5915 (rmail-reply): Likewise.
5916 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5917
5918 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5919 buffer, not the last. Reject temp buffers. Use the rmail-mode
5920 buffer, not newbuf.
5921
5922 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5923
5924 * server.el (server-ensure-safe-dir): Simplify.
5925
5926 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * emacs-lisp/smie.el: Provide smarter auto-filling.
5929 (smie-auto-fill): New function.
5930 (smie-setup): Use it.
5931
5932 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5933
5934 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5935
5936 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5937 (comment-indent): Use it.
5938
5939 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5940
5941 * ses.el: The overall change is to add cell renaming, that is
5942 setting fancy names for cell symbols other than name matching
5943 "\\`[A-Z]+[0-9]+\\'" regexp .
5944 (ses-localvars): Add ses--renamed-cell-symb-list.
5945 (ses-create-cell-variable): New defun.
5946 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5947 (ses-relocate-formula): Relocate formulas only for cells the
5948 symbols of which are not renamed, i.e. symbols whose names do not
5949 match regexp "\\`[A-Z]+[0-9]+\\'".
5950 (ses-relocate-all): Relocate values only for cells the symbols of
5951 which are not renamed.
5952 (ses-load): Create cells variables as the (ses-cell ...) are read,
5953 in order to check row col consistency with cell symbol name only
5954 for cells that are not renamed.
5955 (ses-replace-name-in-formula): New defun.
5956 (ses-rename-cell): New defun.
5957
5958 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5959
5960 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5961 New option (bug#11118).
5962 (perl-calculate-indent): Respect it.
5963
5964 2012-04-17 Glenn Morris <rgm@gnu.org>
5965
5966 * dired-aux.el (dired-mark-read-string): Doc fix.
5967
5968 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5969
5970 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5971 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5972
5973 2012-04-17 Glenn Morris <rgm@gnu.org>
5974
5975 * mouse.el (mouse-drag-track):
5976 * speedbar.el (speedbar-frame-mode):
5977 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5978
5979 2012-04-16 Leo Liu <sdl.web@gmail.com>
5980
5981 * progmodes/python.el: Trivial cleanup.
5982
5983 2012-04-16 Glenn Morris <rgm@gnu.org>
5984
5985 * vc/vc.el (vc-string-prefix-p):
5986 * vc/pcvs-util.el (cvs-string-prefix-p):
5987 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5988 * mpc.el (mpc-string-prefix-p):
5989 Make all of these into obsolete aliases for string-prefix-p.
5990 Update callers.
5991 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5992
5993 * textmodes/two-column.el: Move custom options to the start.
5994 (frame-width): Remove compat definition.
5995 (2C-associate-buffer, 2C-dissociate):
5996 Use with-current-buffer rather than save-excursion.
5997 (2C-dissociate): Force a mode-line update.
5998 (2C-autoscroll): Use ignore-errors.
5999
6000 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6001 Autoload trivia.
6002
6003 * emacs-lisp/cl-extra.el (*random-state*):
6004 Remove unnecessary declaration.
6005
6006 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6007
6008 * play/cookie1.el (cookie-snarf):
6009 Give an explicit error if input file cannot be read.
6010
6011 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6012
6013 * progmodes/perl-mode.el (c-macro-expand):
6014 Remove unnecessary autoload (it is in loaddefs.el).
6015
6016 * textmodes/picture.el (picture-desired-column)
6017 (picture-update-desired-column): Convert comments to doc-strings.
6018 (picture-substitute): Remove function.
6019 (picture-mode-map): Initialize in the defvar.
6020
6021 * woman.el: Remove eval-after-load for tar-mode.
6022 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6023 (woman-tar-extract-file): Autoload it.
6024
6025 * frame.el (automatic-hscrolling): Make this alias obsolete.
6026
6027 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6028
6029 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6030 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6031 (ispell-dictionary-base-alist): Revert to original XEmacs
6032 friendly version for default. [:alpha:] will be added in
6033 `ispell-set-spellchecker-params' if needed.
6034
6035 2012-04-16 Chong Yidong <cyd@gnu.org>
6036
6037 * image.el (imagemagick--file-regexp): New variable.
6038 (imagemagick-register-types): Use it.
6039 (imagemagick-types-inhibit): Add :set function. Allow new value
6040 of t to inhibit all types.
6041
6042 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6043 so we can preload it.
6044
6045 * loadup.el (fboundp): Preload regexp-opt, needed by
6046 imagemagick-register-types.
6047
6048 2012-04-15 Chong Yidong <cyd@gnu.org>
6049
6050 * frame.el (scrolling): Remove nearly unused customization group.
6051
6052 * scroll-all.el (scroll-all-mode): Move to windows group.
6053
6054 2012-04-15 Chong Yidong <cyd@gnu.org>
6055
6056 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6057
6058 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 Avoid the use of ((lambda ...) ...) in lexical-binding code.
6061 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6062
6063 2012-04-15 Glenn Morris <rgm@gnu.org>
6064
6065 * simple.el (process-file-side-effects): Doc fix.
6066
6067 2012-04-15 Glenn Morris <rgm@gnu.org>
6068
6069 * international/mule-cmds.el (set-language-environment): Doc fix.
6070
6071 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * server.el (server-auth-key, server-generate-key): Doc fixes.
6074 (server-get-auth-key): Doc fix. Use `string-match-p'.
6075 (server-start): Reflow docstring.
6076
6077 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6078
6079 * server.el (server-generate-key): `called-interactively-p'
6080 requires a parameter.
6081
6082 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
6083
6084 * server.el (server-auth-key): New variable.
6085 (server-generate-key, server-get-auth-key): New function.
6086 (server-start): Use the new variable and functions to allow
6087 setting a permanent server key (bug#9423).
6088
6089 2012-04-14 Leo Liu <sdl.web@gmail.com>
6090
6091 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6092
6093 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6094
6095 Spelling fixes.
6096 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6097 Emacs uses American spelling.
6098
6099 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6102 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6103 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6104 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6105
6106 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * progmodes/which-func.el (which-func-modes): Change default.
6109
6110 2012-04-14 Kim F. Storm <storm@cua.dk>
6111
6112 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6113 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6114
6115 2012-04-14 Chong Yidong <cyd@gnu.org>
6116
6117 * custom.el (custom-theme-set-variables): Doc fix.
6118
6119 2012-04-14 Glenn Morris <rgm@gnu.org>
6120
6121 * international/mule.el (set-auto-coding-for-load): Doc fix.
6122
6123 2012-04-14 Alan Mackenzie <acm@muc.de>
6124
6125 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6126 imenu work again for Objective C Mode. Correct the *-index values,
6127 these having been disturbed by a previous change in 2011-08.
6128
6129 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6130 Correct two search limits.
6131
6132 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6135
6136 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6137
6138 * international/characters.el: Fix sorting.
6139
6140 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6141
6142 * international/characters.el: Add more missing Latin case pairs.
6143
6144 2012-04-14 Glenn Morris <rgm@gnu.org>
6145
6146 * files.el (dir-locals-set-class-variables): Doc fix.
6147
6148 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6149
6150 * international/characters.el: Add set-case-syntax-pair call for
6151 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6152 counterpart. (Bug#11209)
6153
6154 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6155
6156 2012-04-14 Glenn Morris <rgm@gnu.org>
6157
6158 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6159
6160 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6161
6162 * textmodes/ispell.el (ispell-dictionary-base-alist):
6163 Add data for Hebrew.
6164
6165 2012-04-14 Chong Yidong <cyd@gnu.org>
6166
6167 * net/rcirc.el (rcirc-cmd-quit):
6168 Revert 2012-03-18 change (Bug#11192).
6169
6170 2012-04-14 Glenn Morris <rgm@gnu.org>
6171
6172 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6173
6174 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6175
6176 * minibuffer.el (completion-in-region-mode-map):
6177 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6178
6179 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6180
6181 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6182
6183 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6184
6185 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6186 to allow `C-M-f' and `C-M-b' to move to the nearest path
6187 separator (bug#9511).
6188
6189 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6190
6191 * avoid.el: Require cl when compiling. And also move the
6192 `provide' to the end.
6193
6194 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6195
6196 * avoid.el (mouse-avoidance-banish-position): New variable.
6197 (mouse-avoidance-banish-destination): Use it (bug#10165).
6198
6199 2012-04-13 Leo Liu <sdl.web@gmail.com>
6200
6201 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6202
6203 2012-04-13 Ken Brown <kbrown@cornell.edu>
6204
6205 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6206 this is no longer needed now that cygstart understands file:// URLs.
6207 (browse-url-filename-alist): For the same reason, don't modify
6208 file:// URLs on Cygwin.
6209
6210 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6213 the region on shift if the binding is already shifted (bug#11221).
6214
6215 2012-04-12 Glenn Morris <rgm@gnu.org>
6216
6217 * mail/mailpost.el: Move to obsolete/.
6218
6219 2012-04-12 Drew Adams <drew.adams@oracle.com>
6220
6221 * imenu.el (imenu--generic-function): Ignore invisible definitions
6222 (bug#10123).
6223
6224 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6225
6226 * hexl.el (hexl-bits): New variable.
6227 (hexl-options): Mention the variable in the doc string.
6228 (hexl-rulerise, hexl-line-displen): New functions.
6229 (hexl-mode): Mention the new variable.
6230 (hexl-mode, hexl-current-address, hexl-current-address):
6231 Use the displen.
6232 (hexl-ascii-start-column): New function.
6233 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6234 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6235
6236 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6237
6238 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6239 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6240 the encoding, as expected by hunspell.
6241
6242 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * battery.el (battery--linux-sysfs-regexp): New const.
6245 (battery-status-function): Use it. Remove yeeloong special case.
6246 (battery-yeeloong-sysfs): Remove.
6247 (battery-echo-area-format): Remove yeeloong special case.
6248
6249 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6252 Reported by Noah Friedman.
6253
6254 * subr.el (read-passwd): Use read-string.
6255
6256 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6257
6258 * vcursor.el (vcursor-move): Increase the priority of the overlay
6259 (bug#9663).
6260
6261 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6262
6263 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6264 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6265
6266 2012-04-11 William Stevenson <yhvh2000@gmail.com>
6267
6268 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6269 define-minor-mode (bug#10760).
6270
6271 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6272
6273 * progmodes/grep.el (rgrep): Tweak the find command line so
6274 that directories matching `grep-find-ignored-files' won't be
6275 pruned (bug#10351).
6276
6277 2012-04-11 Chong Yidong <cyd@gnu.org>
6278
6279 * startup.el (command-line): Remove support for long-obsolete
6280 variable font-lock-face-attributes.
6281
6282 2012-04-11 Glenn Morris <rgm@gnu.org>
6283
6284 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6285
6286 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * window.el (window--state-get-1): Obey window-point-insertion-type.
6289
6290 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6291
6292 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6293 to previous function when point is on the first character of a
6294 function. Take care of that in `narrow-to-defun' (bug#6157).
6295
6296 2012-04-11 Glenn Morris <rgm@gnu.org>
6297
6298 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6299 not just file-errors.
6300
6301 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6302 (vc-bzr-sha1): Use internal sha1.
6303
6304 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6307
6308 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6309
6310 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6311 that start in the middle of the line (bug#10496).
6312
6313 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6314
6315 * battery.el (battery-linux-proc-acpi): Only one battery is
6316 discharged at a time, but that seems to confuse battery.el when
6317 computing `rate-type' for the battery not being discharged
6318 (bug#10332).
6319
6320 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6323
6324 * international/quail.el: Use dolist and simplify.
6325 (quail-define-package, quail-update-keyboard-layout)
6326 (quail-define-rules): Use dolist.
6327 (quail-insert-kbd-layout, quail-get-translation): CSE.
6328
6329 * tmm.el: Use dolist, remove left over hook.
6330 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6331 Use dolist.
6332 (calendar-load-hook): Don't mess with it.
6333
6334 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6335 Use derived-mode-p. Run the diff asynchronously.
6336
6337 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6338
6339 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6340
6341 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6342
6343 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6344 (list-dynamic-libraries--loaded): New function.
6345 (list-dynamic-libraries--refresh): Use it.
6346
6347 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6348
6349 * progmodes/python.el (python-fill-paragraph):
6350 Make python-fill-region in a multiline string work when font-lock is
6351 disabled (bug#7018).
6352
6353 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6354
6355 * language/european.el (cp775): Add oem/legacy (en)coding on
6356 DOS/MS Windows for the Baltic languages. There are still plenty
6357 of texts written in this encoding/codepage (bug#6519).
6358
6359 2012-04-10 Glenn Morris <rgm@gnu.org>
6360
6361 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6362 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6363
6364 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6365
6366 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6367 next-line "n" and previous-line "p" in order to make recentf more
6368 consistent with ibuffer, dired or org-mode (bug#9387).
6369
6370 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
6372 * image.el (put-image): Return the overlay created instead of the
6373 optional input string (bug#7834). Note that this may break code
6374 that is (for some reason or other) depending on `put-image'
6375 returning the string.
6376
6377 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6378
6379 * simple.el (zap-to-char): Allow zapping using input methods
6380 (bug#1580).
6381
6382 * textmodes/fill.el (fill-region): Leave point and mark where they
6383 were before filling (bug#5399).
6384
6385 2012-04-09 Glenn Morris <rgm@gnu.org>
6386
6387 * version.el (emacs-bzr-get-version):
6388 Handle lightweight checkouts of local branches.
6389
6390 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6391
6392 * international/characters.el: Recover lost case pairs. (Bug#11209)
6393
6394 2012-04-09 Chong Yidong <cyd@gnu.org>
6395
6396 * custom.el (custom-variable-p): Return nil for non-symbol
6397 arguments instead of signaling an error.
6398 (user-variable-p): Obsolete alias for custom-variable-p.
6399
6400 * apropos.el (apropos-variable):
6401 * files-x.el (read-file-local-variable):
6402 * simple.el (set-variable):
6403 * woman.el (woman-mini-help):
6404 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6405
6406 2012-04-09 Glenn Morris <rgm@gnu.org>
6407
6408 * startup.el (normal-top-level): Don't look for leim-list.el
6409 in places where it will not be found. (Bug#910)
6410
6411 * international/mule-cmds.el (set-default-coding-systems):
6412 * files.el (normal-mode):
6413 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6414 This function was removed with ucs-tables.el in 2008.
6415
6416 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6417
6418 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6419 ispell-encoding8-command to "-i", without a trailing space.
6420 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6421 separate command-line arguments, to specify the encoding, since
6422 that's how hunspell expects it.
6423
6424 2012-04-08 Glenn Morris <rgm@gnu.org>
6425
6426 * loadup.el: Load bindings before cus-start.
6427 This reduces somewhat the number of "rogue" settings in emacs -Q.
6428
6429 2012-04-07 Glenn Morris <rgm@gnu.org>
6430
6431 * version.el (emacs-bzr-get-version): New function.
6432 (emacs-bzr-version): New variable.
6433 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6434 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6435
6436 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6437
6438 * international/uni-bidi.el, international/uni-category.el:
6439 * international/uni-combining.el, international/uni-decimal.el:
6440 * international/uni-decomposition.el, international/uni-digit.el:
6441 * international/uni-lowercase.el, international/uni-mirrored.el:
6442 * international/uni-name.el, international/uni-numeric.el:
6443 * international/uni-titlecase.el, international/uni-uppercase.el:
6444 Update for Unicode 6.1.
6445
6446 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6447
6448 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6449
6450 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6451
6452 * window.el (shrink-window): Mention the `window-min-height'
6453 variable in the doc string.
6454
6455 2012-04-05 Bastien Guerry <bzg@altern.org>
6456
6457 * color.el (color-lighten-name): Fix typo.
6458
6459 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6460
6461 * server.el (server--on-display-p): New function.
6462 (server--on-display-p): Use it.
6463
6464 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6465
6466 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6467 (bug#11145).
6468
6469 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * comint.el (comint--common-quoted-suffix): Check string boundary
6472 before comparing (bug#11158).
6473 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6474
6475 2012-04-04 Chong Yidong <cyd@gnu.org>
6476
6477 * minibuffer.el (completion-extra-properties): Doc fix.
6478
6479 * subr.el (delayed-warnings-hook): Doc fix.
6480
6481 2012-04-04 Daiki Ueno <ueno@unixuser.org>
6482
6483 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6484 selection (Bug#11159).
6485 (epa-insert-keys): Inform that the default public key will be
6486 exported if no key is selected.
6487
6488 2012-04-04 Richard Stallman <rms@gnu.org>
6489
6490 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6491
6492 2012-04-03 Chong Yidong <cyd@gnu.org>
6493
6494 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6495 mail-insert-file, not its obsolete alias mail-attach-file.
6496
6497 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
6498
6499 * notifications.el (notifications-notify): Fix docstring.
6500
6501 2012-04-02 Glenn Morris <rgm@gnu.org>
6502
6503 * emacs-lisp/authors.el (authors-aliases): Another addition.
6504
6505 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
6506
6507 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6508 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6509 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6510
6511 2012-04-01 Chong Yidong <cyd@gnu.org>
6512
6513 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6514 Handle root directory properly.
6515 (copy-directory): Caller changed.
6516
6517 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6518 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6519
6520 2012-03-31 Glenn Morris <rgm@gnu.org>
6521
6522 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6523
6524 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6525
6526 * calendar/calendar.el (calendar-window-list)
6527 (calendar-hide-window): Restore. (Bug#11140)
6528 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6529
6530 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6531
6532 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6533
6534 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6535 Check if file is a symlink (Bug#10489).
6536
6537 * files.el (copy-directory): Likewise.
6538
6539 2012-03-30 Chong Yidong <cyd@gnu.org>
6540
6541 * image.el (imagemagick-types-inhibit)
6542 (imagemagick-register-types): Doc fix.
6543
6544 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6545
6546 * textmodes/ispell.el (ispell-get-extended-character-mode):
6547 Disable extended-char-mode for hunspell. hunspell does not support it
6548 and treats ~word as ordinary words in pipe mode.
6549
6550 2012-03-30 Glenn Morris <rgm@gnu.org>
6551
6552 * tutorial.el (help-with-tutorial): Ensure local variables don't
6553 happen to make the buffer read-only. (Bug#11127)
6554
6555 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6558 (perl-calculate-indent): Return `noindent' in strings.
6559
6560 2012-03-28 Sam Steingold <sds@gnu.org>
6561
6562 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6563 instead of the broken adhockery which does not prevent calendar
6564 buffers from being displayed at random after exit.
6565 (calendar-window-list, calendar-hide-window): Remove the broken
6566 adhockery.
6567
6568 2012-03-28 Glenn Morris <rgm@gnu.org>
6569
6570 * replace.el (query-replace-map): Doc fix.
6571
6572 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6573
6574 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6575 contents. (Bug#11109)
6576
6577 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6580 (bug#11077).
6581 (avl-tree--check, avl-tree--check-node): New funs.
6582
6583 2012-03-27 Martin Rudalics <rudalics@gmx.at>
6584
6585 * window.el (switch-to-visible-buffer): New option.
6586 (switch-to-prev-buffer, switch-to-next-buffer):
6587 Observe switch-to-visible-buffer. Make sure that checking for a window
6588 showing a buffer already is done on the same frame.
6589
6590 2012-03-27 Glenn Morris <rgm@gnu.org>
6591
6592 * startup.el (mail-host-address): Doc fix.
6593
6594 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6597 than 197 variables.
6598
6599 2012-03-26 Ami Fischman <ami@fischman.org>
6600
6601 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6602
6603 2012-03-26 Glenn Morris <rgm@gnu.org>
6604
6605 * files.el (save-buffers-kill-emacs): Doc fix.
6606
6607 * startup.el (normal-top-level, command-line, command-line-1):
6608 Give them doc strings.
6609
6610 2012-03-25 Eli Zaretskii <eliz@gnu.org>
6611
6612 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6613 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6614
6615 2012-03-25 Chong Yidong <cyd@gnu.org>
6616
6617 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6618 theme if it was previously enabled before (Bug#11031).
6619
6620 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6621 spec with custom-face-get-current-spec if its :shown-value is not
6622 determined yet (Bug#9337).
6623 (customize-create-theme, custom-theme-revert): Doc fixes.
6624
6625 * button.el (button-at): Minor addition to docstring.
6626
6627 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
6628
6629 * vc/vc.el (vc-merge): Fix a prompt.
6630
6631 2012-03-24 Chong Yidong <cyd@gnu.org>
6632
6633 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6634 point (Bug#9623).
6635
6636 * button.el (button-at): Minor addition to docstring.
6637
6638 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 * newcomment.el (comment-choose-indent): No space after BOL.
6641
6642 2012-03-22 Sam Steingold <sds@gnu.org>
6643
6644 * window.el (switch-to-prev-buffer): Revert last patch because the
6645 bug turned out to be an advertised feature (Elisp manual 28.14).
6646
6647 2012-03-22 Glenn Morris <rgm@gnu.org>
6648
6649 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6650 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6651
6652 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653
6654 * net/network-stream.el (network-stream-open-starttls): Make error
6655 message under Windows be less misleading.
6656
6657 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6658
6659 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6660 understands (bug#9942).
6661
6662 2012-03-22 Chong Yidong <cyd@gnu.org>
6663
6664 * simple.el (end-of-visible-line): Handle return value of
6665 next-single-property-change properly (Bug#9371).
6666
6667 2012-03-22 Kenichi Handa <handa@m17n.org>
6668
6669 * international/quail.el (quail-insert-kbd-layout): Fix previous
6670 change. To avoid unwanted bidi reordering, use
6671 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6672
6673 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6674
6675 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6676 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6677 (ruby-beginning-of-indent): Be more careful with the difference
6678 between word-boundary and symbol boundary.
6679 (ruby-mode-syntax-table): Make : a symbol constituent.
6680
6681 2012-03-21 Andreas Politz <politza@fh-trier.de>
6682
6683 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6684
6685 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * progmodes/etags.el (tags-completion-at-point-function):
6688 Improve last fix.
6689
6690 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6691
6692 2012-03-21 Sam Steingold <sds@gnu.org>
6693
6694 * progmodes/etags.el (tags-completion-at-point-function):
6695 Avoid the error when point is inside the pattern.
6696
6697 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6698
6699 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6700 line (Bug#10855).
6701
6702 2012-03-21 Drew Adams <drew.adams@oracle.com>
6703
6704 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6705
6706 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6707
6708 * ido.el (ido-set-current-directory, ido-read-internal)
6709 (ido-choose-completion-string, ido-completion-help): Handle nil
6710 value of ido-completion-buffer (Bug#11008).
6711
6712 2012-03-21 Sam Steingold <sds@gnu.org>
6713
6714 * window.el (switch-to-prev-buffer): Do not switch to a visible
6715 window previous buffer, just like with the frame previous buffers.
6716
6717 2012-03-21 Chong Yidong <cyd@gnu.org>
6718
6719 * faces.el (make-face, make-empty-face, copy-face):
6720 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6721 Doc fixes.
6722
6723 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6726 (widget-complete): Remove broken use of it.
6727
6728 2012-03-20 Chong Yidong <cyd@gnu.org>
6729
6730 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6731 Use string-width and truncate-string-width to handle arbitrary
6732 characters.
6733
6734 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6735
6736 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6737 to draw rectangles, not squares. (Regression introduced by revno
6738 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6739
6740 2012-03-18 Chong Yidong <cyd@gnu.org>
6741
6742 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6743 it is not yet defined (for temacs).
6744
6745 2012-03-18 Leo Liu <sdl.web@gmail.com>
6746
6747 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6748
6749 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6750
6751 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6752 (ispell-choices-win-default-height, ispell-silently-savep)
6753 (ispell-dictionary-alist, ispell-encoding8-command)
6754 (ispell-check-version, ispell-aspell-find-dictionary)
6755 (ispell-valid-dictionary-list, ispell-words-keyword)
6756 (ispell-get-word, ispell-internal-change-dictionary)
6757 (ispell-region, ispell-skip-region-list)
6758 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6759 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6760 (ispell-message-text-end, ispell-message)
6761 (ispell-buffer-local-parsing): Doc fix.
6762
6763 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6764
6765 * htmlfontify.el: Add support for code block fontification for ODT
6766 export (Bug #9914).
6767 (hfy-optimisations): Define new option
6768 `body-text-only'
6769 (hfy-fontify-buffer): Honor above setting.
6770 (hfy-begin-span, hfy-end-span): New routines factored out form
6771 `hfy-fontify-buffer'.
6772 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6773 that permit insertion of custom tags.
6774 (hfy-fontify-buffer): Use above handlers.
6775 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6776 (hfy-face-to-css): Re-defined to be a variable.
6777 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6778 over multiple runs. This is made possible by having the caller let
6779 bind a special variable `hfy-user-sheet-assoc'.
6780 (htmlfontify-string): New defun.
6781 (hfy-compile-face-map): Make sure that the last char in the
6782 buffer is correctly fontified.
6783 (hfy-face-resolve-face): Whitespace only change.
6784
6785 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6786
6787 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6788 message more clear.
6789
6790 2012-03-16 Leo Liu <sdl.web@gmail.com>
6791
6792 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6793
6794 2012-03-16 Alan Mackenzie <acm@muc.de>
6795
6796 Further optimise the handling of large macros.
6797
6798 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6799 limit to a call of `c-literal-limits'.
6800 (c-determine-+ve-limit): New function.
6801 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6802 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6803 In CASE 5B, restrict a search limit to 500.
6804 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6805
6806 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6807 Restrict macro bounds to +-500 from after-change's BEG END.
6808
6809 2012-03-16 Leo Liu <sdl.web@gmail.com>
6810
6811 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6812
6813 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6814
6815 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6816 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6817
6818 2012-03-16 Glenn Morris <rgm@gnu.org>
6819
6820 * view.el (view-buffer, view-buffer-other-window)
6821 (view-buffer-other-frame): Doc fixes re special mode-class.
6822
6823 * subr.el (eval-after-load): If named feature is provided not from
6824 a file, run after-load forms. (Bug#10946)
6825
6826 * calendar/calendar.el (calendar-insert-at-column):
6827 Handle non-unit-width characters a bit better. (Bug#10978)
6828
6829 2012-03-15 Chong Yidong <cyd@gnu.org>
6830
6831 * emacs-lisp/ring.el (ring-extend): New function.
6832 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6833
6834 * comint.el (comint-read-input-ring)
6835 (comint-add-to-input-history): Grow comint-input-ring lazily.
6836
6837 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6840 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6841
6842 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6843 (imenu-add-to-menubar): Don't add a redundant index.
6844 (imenu-update-menubar): Handle a dynamically composed keymap.
6845
6846 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6847
6848 * mail/sendmail.el (mail-encode-header):
6849 Bind rfc2047-encode-encoded-words to nil.
6850
6851 2012-03-13 Glenn Morris <rgm@gnu.org>
6852
6853 * calendar/calendar.el (calendar-string-spread):
6854 Handle non-unit-width characters a bit better. (Bug#10978)
6855
6856 2012-03-13 Leo Liu <sdl.web@gmail.com>
6857
6858 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6859 directory and file as argument (Bug#10822).
6860
6861 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6862
6863 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6864 For dynamically generated code, follow $PC.
6865 (gdb-disassembly-handler-custom): Handle no function name case.
6866
6867 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6868
6869 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6870 * emulation/ws-mode.el (ws-query-replace):
6871 * sort.el (sort-regexp-fields):
6872 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6873
6874 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * dabbrev.el: Fix cycle completion order (bug#10963).
6877 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6878 (dabbrev-completion): Don't use an obarray; provide
6879 a cycle-sort-function.
6880
6881 2012-03-12 Leo Liu <sdl.web@gmail.com>
6882
6883 * simple.el (kill-new): Use equal-including-properties for comparison.
6884 (kill-do-not-save-duplicates): Doc fix.
6885
6886 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * dabbrev.el: Fix cycle completion (bug#10963).
6889 Use lexical binding and wrap to 80 columns.
6890 (dabbrev-completion): Delay computing the list of completions.
6891
6892 2012-03-12 Kenichi Handa <handa@m17n.org>
6893
6894 * international/quail.el (quail-insert-kbd-layout): Surround each
6895 row by LRO and PDF instead of inserting many LRMs. Pad the left
6896 and right of each non-spacing marks. Insert invisible space
6897 between lower and upper characters to prevent composition.
6898
6899 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * minibuffer.el (minibuffer-complete): Don't get confused when the
6902 function is run twice via different commands (bug#10958).
6903 (complete-with-action): Fix docstring.
6904
6905 2012-03-12 Chong Yidong <cyd@gnu.org>
6906
6907 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6908 (nxml-completion-at-point-function): New function.
6909 (nxml-mode): Use it.
6910 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6911
6912 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6913 Load generated autoloads file before byte compiling (Bug#10970).
6914 (package--make-autoloads-and-compile): New helper fun.
6915
6916 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6917
6918 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6919
6920 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6921
6922 * autorevert.el (auto-revert-handler): Ensure, that
6923 file-readable-p is applied only for local files or in
6924 auto-revert-tail-mode.
6925
6926 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6927
6928 * server.el (server-eval-at): Handle non-tcp connections.
6929 Decode result string.
6930
6931 * server.el (server-msg-size): New constant.
6932 (server-reply-print): New function.
6933 (server-eval-and-print): Use it.
6934 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6935 Handle -print-nonl.
6936
6937 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6938
6939 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6940 (Bug#10987).
6941
6942 2012-03-11 Chong Yidong <cyd@gnu.org>
6943
6944 * simple.el (goto-line): Doc fix (Bug#9938).
6945
6946 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6947
6948 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6949 when finished (Bug#10963).
6950
6951 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6952
6953 * window.el (split-window-below): Fix bug in case where
6954 split-window-keep-point is nil (Bug#10971).
6955
6956 2012-03-11 Juri Linkov <juri@jurta.org>
6957
6958 * replace.el (replace-highlight): Set isearch-word to nil
6959 unconditionally. (Bug#10887)
6960
6961 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6962
6963 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6964 mairix-replace-illegal-chars; all callers changed. Don't remove
6965 ^, ~, and = characters: they are meaningful in mairix search specs.
6966 (mairix-widget-create-query): Add usage information about mairix
6967 search forms: negating words, searching for substrings, etc.
6968
6969 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6970
6971 * international/fontset.el (font-encoding-alist): Add an entry for
6972 ksx1001 (Bug#5667).
6973
6974 2012-03-10 Richard Stallman <rms@gnu.org>
6975
6976 * mail/sendmail.el (mail-encode-header):
6977 Set rfc2047-encode-encoded-words.
6978
6979 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6980
6981 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6982 view buffer means not swapped.
6983 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6984 (rmail-write-region-annotate): Error if real text has disappeared.
6985
6986 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6987
6988 2012-03-10 Chong Yidong <cyd@gnu.org>
6989
6990 * emulation/cua-rect.el (cua--init-rectangles):
6991 * emulation/cua-base.el (cua--init-keymaps):
6992 Add delete-forward-char to remappings (Bug#9666).
6993
6994 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6995
6996 * speedbar.el (speedbar-unhighlight-one-tag-line):
6997 Avoid unhighlighting due to frame switching (Bug#10275).
6998
6999 2012-03-10 Chong Yidong <cyd@gnu.org>
7000
7001 * minibuffer.el (completion-in-region, completion-help-at-point):
7002 Give the completion field overlay a high priority (Bug#6830).
7003
7004 * dired.el (dired-goto-file): Recognize absolute file name
7005 listings (Bug#7126).
7006 (dired-goto-file-1): New helper function.
7007 (dired-toggle-read-only): Inhibit warnings.
7008
7009 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
7010
7011 * net/dbus.el (dbus-property-handler): Return empty array if
7012 there are no properties.
7013
7014 2012-03-09 Leo Liu <sdl.web@gmail.com>
7015
7016 * savehist.el (savehist-printable): Stricter check for string
7017 value (Bug#10937).
7018
7019 2012-03-09 Eli Zaretskii <eliz@gnu.org>
7020
7021 * mail/smtpmail.el (smtpmail-send-it):
7022 Bind coding-system-for-write to *-unix, so that FCC files are kept in
7023 valid mbox format.
7024
7025 2012-03-09 Glenn Morris <rgm@gnu.org>
7026
7027 * files.el (dir-locals-find-file):
7028 Don't check result is regular, readable.
7029 (dir-locals-read-from-file): Demote errors.
7030
7031 2012-03-08 Eli Zaretskii <eliz@gnu.org>
7032
7033 * international/quail.el (quail-insert-kbd-layout):
7034 Insert invisible LRM characters before each character in a keyboard
7035 layout cell, to prevent their reordering by bidi display engine.
7036 For details, see the discussion in
7037 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7038
7039 2012-03-08 Alan Mackenzie <acm@muc.de>
7040
7041 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7042 the starting position; make it extend the marked region when
7043 invoked repeatedly - all under appropriate circumstances.
7044 Fixes bugs #5525, #10906.
7045
7046 2012-03-08 Glenn Morris <rgm@gnu.org>
7047
7048 * files.el (locate-dominating-file, dir-locals-find-file):
7049 Undo 2012-03-06 change.
7050
7051 2012-03-07 Eli Zaretskii <eliz@gnu.org>
7052
7053 * international/quail.el (quail-help):
7054 Force bidi-paragraph-direction be left-to-right. See discussion in
7055 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7056 for the reason.
7057
7058 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
7059
7060 Avoid superfluous registering of signals. (Bug#10807)
7061
7062 * notifications.el (notifications-on-action-object)
7063 (notifications-on-close-object): New defvars.
7064 (notifications-on-action-signal, notifications-on-closed-signal):
7065 Unregister the signal if not needed any longer.
7066 (notifications-notify): Register `notifications-action-signal' or
7067 `notifications-closed-signal', if :on-action or :on-close has been
7068 passed as argument.
7069
7070 2012-03-07 Chong Yidong <cyd@gnu.org>
7071
7072 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7073 non-X platforms.
7074
7075 2012-03-06 Glenn Morris <rgm@gnu.org>
7076
7077 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7078 (x-disown-selection-internal, x-get-selection-internal):
7079 Doc fix (add arglist signatures). (Bug#10783)
7080
7081 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7082
7083 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7084 Handle breakpoints with no "type".
7085
7086 2012-03-06 Glenn Morris <rgm@gnu.org>
7087
7088 * files.el (locate-dominating-file): Add optional predicate argument.
7089 (dir-locals-find-file): Make use of above change.
7090
7091 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7092
7093 * info.el (Info-insert-dir): Also try "dir.gz".
7094
7095 2012-03-06 Glenn Morris <rgm@gnu.org>
7096
7097 * files.el (dir-locals-find-file):
7098 Ignore non-readable or non-regular files. (Bug#10928)
7099
7100 * files.el (locate-dominating-file): Doc fix.
7101
7102 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7103
7104 * calendar/calendar.el (calendar-set-mode-line):
7105 `getenv' returns a string. (Bug#10951)
7106
7107 2012-03-05 Leo Liu <sdl.web@gmail.com>
7108
7109 * simple.el (backward-delete-char-untabify): Constrain point to
7110 field (Bug#10939).
7111
7112 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7113
7114 2012-03-05 Chong Yidong <cyd@gnu.org>
7115
7116 * simple.el (count-words): If called from Lisp, return the word
7117 count, for symmetry with `count-lines'. Arglist changed.
7118 (count-words--message): Args changed. Consolidate counting code
7119 from count-words and count-words-region.
7120 (count-words-region): Caller changed.
7121 (count-lines-region): Make it an obsolete alias.
7122
7123 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7124
7125 * saveplace.el (save-place-to-alist)
7126 (save-place-ignore-files-regexp): Allow value nil to disable this
7127 feature.
7128
7129 2012-03-04 Chong Yidong <cyd@gnu.org>
7130
7131 * faces.el (face-spec-reset-face): For the default face, reset the
7132 attributes to default values (Bug#10748).
7133
7134 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7135
7136 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7137 previous patch: Check `message-send-mail-function', and not the
7138 default function (bug#10897).
7139
7140 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7141
7142 * notifications.el (notifications-on-action-signal)
7143 (notifications-on-closed-signal): Check for unique service name of
7144 incoming event. Fix error in removing entry.
7145 (top): Register for signals with wildcard service name.
7146 (notifications-notify): Use daemon unique service name for map entries.
7147
7148 2012-03-04 Chong Yidong <cyd@gnu.org>
7149
7150 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7151
7152 2012-03-04 Glenn Morris <rgm@gnu.org>
7153
7154 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7155 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7156 (expand-abbrev, define-abbrev-table): Doc fixes.
7157
7158 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7159
7160 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7161 `message-default-send-mail-function' and not `send-mail-function'
7162 when doing the prompting for `sendmail-query-once' before sending
7163 in Message buffers (bug#10897).
7164
7165 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7166 This is inconsistent with all the other stream functions, which leave
7167 the setting up to the higher levels (if so wanted) (bug#10931).
7168
7169 2012-03-02 Alan Mackenzie <acm@muc.de>
7170
7171 Depessimize the handling of very large macros.
7172
7173 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7174 (c-macro-cache-syntactic): New variables to implement a one
7175 element macro cache.
7176 (c-invalidate-macro-cache): New function.
7177 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7178 Adapt to use the new cache.
7179 (c-state-safe-place): Use better the cache of safe positions.
7180 (c-state-semi-nonlit-pos-cache)
7181 (c-state-semi-nonlit-pos-cache-limit):
7182 New variables for...
7183 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7184 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7185 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7186 Use c-state-semi-safe-place.
7187
7188 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7189 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7190
7191 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7192
7193 * jka-compr.el (jka-compr-call-process):
7194 Apply `file-accessible-directory-p' only when the default directory is
7195 not remote.
7196
7197 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7198
7199 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7200 access of FILE2, if FILE1 does not exist.
7201
7202 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7203 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7204
7205 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7206 Add "PAGER=" to `process-environment'.
7207
7208 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7209
7210 * progmodes/sql.el: Bug fix
7211 (sql-get-login-ext): Save login values in globals.
7212 (sql-get-login): Use new version of `sql-get-login-ext'.
7213 (sql-interactive-mode): Set global `sql-connection' to nil.
7214 (sql-connect): Set global values for connection.
7215 (sql-product-interactive): Save global values as buffer local.
7216
7217 2012-02-29 Leo Liu <sdl.web@gmail.com>
7218
7219 * abbrev.el (define-abbrevs): Reset sys to nil.
7220
7221 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7222
7223 * files.el (file-equal-p): Rename from `files-equal-p'.
7224 Return nil when one or both files don't exist.
7225 (file-subdir-of-p): Now only top directory must exists,
7226 return nil if it doesn't.
7227 (copy-directory): No need to test with `file-subdir-of-p' after
7228 creating dir.
7229 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7230 to `file-equal-p'.
7231
7232 2012-02-28 Glenn Morris <rgm@gnu.org>
7233
7234 * shell.el (shell-mode):
7235 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7236 * play/landmark.el (landmark-font-lock-face-O):
7237 * play/handwrite.el (handwrite):
7238 * play/gomoku.el (gomoku-O):
7239 * net/browse-url.el (browse-url-browser-display):
7240 * international/mule.el (define-charset):
7241 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7242 * filesets.el (filesets-find-file-delay):
7243 * eshell/em-xtra.el (eshell-xtra):
7244 * eshell/em-unix.el (eshell-grep):
7245 * emulation/viper.el (viper-mode):
7246 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7247 * emacs-lisp/easymenu.el (easy-menu-define):
7248 * calendar/timeclock.el (timeclock-use-display-time):
7249 * bs.el (bs-mode):
7250 * bookmark.el (bookmark-save-flag):
7251 Doc fix (standardize possessive apostrophe usage).
7252
7253 2012-02-27 Chong Yidong <cyd@gnu.org>
7254
7255 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7256 Fix key-binding lookup for ESC key (Bug#9146).
7257
7258 * font-lock.el (font-lock-specified-p): Rename from
7259 font-lock-spec-present. Callers changed.
7260
7261 2012-02-27 Daniel Hackney <dan@haxney.org>
7262
7263 * emacs-lisp/package.el (package-compute-transaction):
7264 Handle holding a package version to t in package-load-list.
7265
7266 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
7267
7268 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7269 (tramp-get-inode, tramp-get-device): Use cached values.
7270
7271 2012-02-26 Alan Mackenzie <acm@muc.de>
7272
7273 Check there is a font-lock specification before doing initial
7274 fontification.
7275
7276 * font-core.el (font-lock-mode): Move the conditional from
7277 :after-hook to font-lock-initial-fontify.
7278 (font-lock-default-function): Move the check for a specification
7279 to font-lock-spec-present.
7280
7281 * font-lock.el (font-lock-initial-fontify): Call ...
7282 (font-lock-spec-present): New function.
7283
7284 2012-02-26 Jim Blandy <jimb@red-bean.com>
7285
7286 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7287 (gdb-send): Apply it to the operand of the '-interpreter-exec
7288 console' command, so that we can pass arguments with (say) quotes
7289 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7290
7291 2012-02-26 Chong Yidong <cyd@gnu.org>
7292
7293 * help-fns.el (describe-function-1): Clarify description of
7294 remapping (Bug#10844).
7295
7296 * files.el (files-equal-p): Doc fix.
7297 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7298 and quit the loop once a mismatch is found.
7299
7300 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7301
7302 * bs.el (bs--show-with-configuration): Don't throw an error
7303 if the window cannot be split; otherwise, subsequent calls to
7304 bs-show fail, restoring a stale window config. (Bug#10882)
7305
7306 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7307
7308 * term/ns-win.el (global-map): Bind ns-drag-file to
7309 ns-find-file (Bug#5855, Bug#10050).
7310
7311 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7312
7313 * calendar/parse-time.el (parse-time-string): Allow extractor to
7314 return nil.
7315
7316 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7317
7318 * net/tramp.el (tramp-file-name-for-operation):
7319 Add `files-equal-p' and `file-subdir-of-p'.
7320
7321 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7322 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7323 Add COPY-CONTENTS argument.
7324
7325 2012-02-25 Chong Yidong <cyd@gnu.org>
7326
7327 Add custom groups for VC backends, for consistency with vc-bzr.
7328
7329 * vc/vc-arch.el (vc-arch):
7330 * vc/vc-cvs.el (vc-cvs):
7331 * vc/vc-git.el (vc-git):
7332 * vc/vc-hg.el (vc-hg):
7333 * vc/vc-mtn.el (vc-mtn):
7334 * vc/vc-rcs.el (vc-rcs):
7335 * vc/vc-sccs.el (vc-sccs):
7336 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7337 All relevant defcustoms reassigned.
7338
7339 2012-02-25 Chong Yidong <cyd@gnu.org>
7340
7341 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7342
7343 * term/x-win.el (x-initialize-window-system): Reduce default for
7344 x-selection-timeout to 5 seconds (Bug#8869).
7345
7346 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7347
7348 * files.el (files-equal-p, file-subdir-of-p): New functions.
7349 (copy-directory): Error when trying to copy a directory on itself.
7350 Add missing copy-contents arg to tramp handler.
7351 * dired-aux.el (dired-copy-file-recursive): Same.
7352 (dired-create-files): Modify destination when source is equal to
7353 dest when copying files.
7354 Return also when dest is a subdir of source. (Bug#10489)
7355
7356 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7357
7358 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7359 (Bug#10874)
7360
7361 2012-02-23 Alan Mackenzie <acm@muc.de>
7362
7363 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7364 parameter "after-hook:" to allow the expansion to run code after
7365 the execution of the mode hooks.
7366
7367 * font-lock.el (font-lock-initial-fontify): New function extracted
7368 from font-lock-mode-internal.
7369
7370 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7371 :after-hook.
7372
7373 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7376 (completion--cache-all-sorted-completions): New function.
7377 (completion-all-sorted-completions): Use it.
7378 (completion--do-completion, minibuffer-force-complete):
7379 Use it to re-instate the flush hook.
7380
7381 * icomplete.el (icomplete-completions): Replace last fix with a better
7382 one (bug#10850).
7383
7384 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7385
7386 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7387 when it might call us back infinitely (bug#10797).
7388
7389 2012-02-23 Glenn Morris <rgm@gnu.org>
7390
7391 * minibuffer.el (completion-category-overrides): Doc fix.
7392
7393 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7396 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7397
7398 2012-02-23 Glenn Morris <rgm@gnu.org>
7399
7400 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7401 (authors-obsolete-files-regexps, authors-ignored-files)
7402 (authors-ambiguous-files, authors-renamed-files-alist):
7403 Add more entries.
7404
7405 2012-02-23 Juri Linkov <juri@jurta.org>
7406
7407 * isearch.el (isearch-occur): Sync interactive spec with occur's
7408 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7409
7410 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7411
7412 2012-02-22 Juri Linkov <juri@jurta.org>
7413
7414 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7415 (ucs-insert): Doc fix. Check for hex digits in the string.
7416 Don't display `nil' in the error message. (Bug#10857)
7417
7418 2012-02-22 Alan Mackenzie <acm@muc.de>
7419
7420 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7421
7422 2012-02-22 Glenn Morris <rgm@gnu.org>
7423
7424 * ffap.el (ffap-c-path):
7425 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7426
7427 2012-02-22 Chong Yidong <cyd@gnu.org>
7428
7429 * custom.el (load-theme): Doc fix.
7430
7431 2012-02-22 Glenn Morris <rgm@gnu.org>
7432
7433 * dired-x.el (dired-guess-shell-alist-default):
7434 Remove escape sequences from nroff output. (Bug#172)
7435
7436 2012-02-21 Glenn Morris <rgm@gnu.org>
7437
7438 * vc/emerge.el (emerge-defvar-local):
7439 Set `permanent-local' property rather than unused `preserved'.
7440
7441 * textmodes/picture.el (picture-delete-char): New alias.
7442 (picture-mode-map): Use it. (Bug#10860)
7443 (picture-mode): Doc fix.
7444
7445 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7446
7447 * newcomment.el (uncomment-region-default): Remove unused binding.
7448
7449 2012-02-21 Glenn Morris <rgm@gnu.org>
7450
7451 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7452 (picture-self-insert, picture-tab-chars): Doc fix.
7453 (picture-mode-map): Fix C-a, C-e.
7454
7455 2012-02-20 Glenn Morris <rgm@gnu.org>
7456
7457 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7458
7459 2012-02-20 Leo Liu <sdl.web@gmail.com>
7460
7461 * icomplete.el (icomplete-completions): Check FROM arg before
7462 passing to substring (Bug#10850).
7463
7464 2012-02-19 Chong Yidong <cyd@gnu.org>
7465
7466 * comint.el: Require ansi-color.
7467 (comint-output-filter-functions): Add ansi-color-process-output.
7468
7469 * ansi-color.el: Don't set comint-output-filter-functions; it is
7470 now in the initial value defined in comint.el.
7471 (ansi-color-apply-face-function): New variable.
7472 (ansi-color-apply-on-region): Use it.
7473 (ansi-color-apply-overlay-face): New function.
7474
7475 * shell.el (shell): No need to require ansi-color.
7476 (shell-mode): Use ansi-color-apply-face-function to highlight
7477 color escapes using font-lock-face property (Bug#10835).
7478
7479 2012-02-19 Chong Yidong <cyd@gnu.org>
7480
7481 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7482 mode-line formats (Bug#10839).
7483
7484 2012-02-18 Glenn Morris <rgm@gnu.org>
7485
7486 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7487
7488 * mail/undigest.el (unforward-rmail-message): Doc fix.
7489
7490 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7491
7492 2012-02-18 Eli Zaretskii <eliz@gnu.org>
7493
7494 * international/characters.el (script-list): Sync with the latest
7495 Unicode Character Database.
7496
7497 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7498
7499 * international/titdic-cnv.el: Remove duplicate coding tag.
7500 * language/cham.el: Likewise.
7501 * language/tai-viet.el: Likewise.
7502
7503 2012-02-18 Glenn Morris <rgm@gnu.org>
7504
7505 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7506 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7507 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7508 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7509 * calendar/holidays.el (holiday-bahai-holidays)
7510 (calendar-holidays, list-holidays):
7511 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
7512
7513 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7514
7515 * saveplace.el (save-place-ignore-files-regexp): New variable
7516 allowing for excluding files from saving their location of point.
7517 The default value matches the temporary commit message editing
7518 files from Git, SVN, Bazaar, and Mercurial.
7519 (save-place-to-alist): Use it.
7520
7521 2012-02-17 Lawrence Mitchell <wence@gmx.li>
7522 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * newcomment.el (uncomment-region-default): Don't leave extra space
7525 when an arg is provided (bug#8150).
7526
7527 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7528
7529 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7530
7531 2012-02-17 Glenn Morris <rgm@gnu.org>
7532
7533 * net/socks.el: Require network-stream. (Bug#10599)
7534
7535 2012-02-17 Kenichi Handa <handa@m17n.org>
7536
7537 * international/charprop.el:
7538 * international/uni-name.el:
7539 * international/uni-old-name.el:
7540 * international/uni-comment.el: Regenerate.
7541
7542 2012-02-16 Glenn Morris <rgm@gnu.org>
7543
7544 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7545 Interactively in calendar buffer, give an error if not on a date.
7546
7547 2012-02-15 Glenn Morris <rgm@gnu.org>
7548
7549 * shell.el (shell-delimiter-argument-list):
7550 Revert 2011-02-17 change. (Bug#8027)
7551
7552 2012-02-15 Chong Yidong <cyd@gnu.org>
7553
7554 * minibuffer.el (completion-at-point-functions): Doc fix.
7555
7556 * custom.el (defcustom): Doc fix; note use of defvar.
7557
7558 2012-02-15 Glenn Morris <rgm@gnu.org>
7559
7560 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7561 Doc fixes.
7562
7563 2012-02-14 Glenn Morris <rgm@gnu.org>
7564
7565 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7566
7567 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7568
7569 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7570 way the ports list is computed.
7571 (smtpmail-query-smtp-server): Prompt the user for a port number if
7572 we can't connect to any of the standard ports (bug#10810).
7573
7574 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7575
7576 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7577
7578 2012-02-13 Glenn Morris <rgm@gnu.org>
7579
7580 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7581
7582 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7583
7584 * net/gnutls.el (gnutls-trustfiles): New variable.
7585 (gnutls-negotiate): Use it.
7586
7587 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7588
7589 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7590 does its stuff if Gnus is running.
7591
7592 2012-02-13 Alan Mackenzie <acm@muc.de>
7593
7594 Fix a loop in c-set-fl-decl-start.
7595
7596 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7597 c-backward-syntactic-ws actually moves backwards.
7598
7599 2012-02-13 Leo Liu <sdl.web@gmail.com>
7600
7601 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7602 beginning so that all \C-o chars are removed.
7603
7604 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7605
7606 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7607
7608 2012-02-12 Alan Mackenzie <acm@muc.de>
7609
7610 Fix infinite loop with long macros.
7611 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7612
7613 2012-02-12 Chong Yidong <cyd@gnu.org>
7614
7615 * window.el (display-buffer): Doc fix (Bug#10785).
7616
7617 2012-02-12 Glenn Morris <rgm@gnu.org>
7618
7619 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7620 (x-disown-selection-internal, x-get-selection-internal):
7621 Sync docs with the xselect.c versions.
7622
7623 * allout-widgets.el: Add missing license notice.
7624
7625 2012-02-11 Glenn Morris <rgm@gnu.org>
7626
7627 * select.el (x-get-selection-internal, x-own-selection-internal)
7628 (x-disown-selection-internal):
7629 * x-dnd.el (x-get-selection-internal): Update declarations.
7630
7631 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7632
7633 * window.el (window-sides-slots):
7634 * tool-bar.el (tool-bar-position):
7635 * term/xterm.el (xterm-extra-capabilities):
7636 * ses.el (ses-self-reference-early-detection):
7637 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7638 (verilog-auto-wire-type)
7639 (verilog-auto-delete-trailing-whitespace)
7640 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7641 (verilog-auto-tieoff-declaration):
7642 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7643 (sql-oracle-statement-starters, sql-oracle-scan-on):
7644 * progmodes/prolog.el (prolog-align-comments-flag)
7645 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7646 (prolog-left-indent-regexp, prolog-paren-indent-p)
7647 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7648 (prolog-types, prolog-mode-specificators)
7649 (prolog-determinism-specificators, prolog-directives)
7650 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7651 (prolog-electric-dot-flag)
7652 (prolog-electric-dot-full-predicate-template)
7653 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7654 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7655 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7656 (prolog-program-switches, prolog-prompt-regexp)
7657 (prolog-debug-on-string, prolog-debug-off-string)
7658 (prolog-trace-on-string, prolog-trace-off-string)
7659 (prolog-zip-on-string, prolog-zip-off-string)
7660 (prolog-use-standard-consult-compile-method-flag)
7661 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7662 (prolog-imenu-max-lines, prolog-info-predicate-index)
7663 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7664 (prolog-char-quote-workaround):
7665 * progmodes/cc-vars.el (c-defun-tactic):
7666 * net/tramp.el (tramp-encoding-command-interactive)
7667 (tramp-local-end-of-line):
7668 * net/soap-client.el (soap-client):
7669 * net/netrc.el (netrc-file):
7670 * net/gnutls.el (gnutls):
7671 * minibuffer.el (completion-category-overrides)
7672 (completion-cycle-threshold)
7673 (completion-pcm-complete-word-inserts-delimiters):
7674 * man.el (Man-name-local-regexp):
7675 * mail/feedmail.el (feedmail-display-full-frame):
7676 * international/characters.el (glyphless-char-display-control):
7677 * eshell/em-ls.el (eshell-ls-date-format):
7678 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7679 (lisp-lambda-list-keyword-parameter-indentation)
7680 (lisp-lambda-list-keyword-parameter-alignment):
7681 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7682 * dired-x.el (dired-omit-verbose):
7683 * cus-theme.el (custom-theme-allow-multiple-selections):
7684 * calc/calc.el (calc-highlight-selections-with-faces)
7685 (calc-lu-field-reference, calc-lu-power-reference)
7686 (calc-note-threshold):
7687 * battery.el (battery-mode-line-limit):
7688 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7689 (archive-7z-update):
7690 * allout.el (allout-prefixed-keybindings)
7691 (allout-unprefixed-keybindings)
7692 (allout-inhibit-auto-fill-on-headline)
7693 (allout-flattened-numbering-abbreviation):
7694 * allout-widgets.el (allout-widgets-auto-activation)
7695 (allout-widgets-icons-dark-subdir)
7696 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7697 (allout-widgets-theme-dark-background)
7698 (allout-widgets-theme-light-background)
7699 (allout-widgets-item-image-properties-emacs)
7700 (allout-widgets-item-image-properties-xemacs)
7701 (allout-widgets-run-unit-tests-on-load)
7702 (allout-widgets-time-decoration-activity)
7703 (allout-widgets-hook-error-post-time)
7704 (allout-widgets-track-decoration):
7705 Add missing :version tags to new defcustoms and defgroups.
7706
7707 * progmodes/sql.el (sql-ansi-statement-starters)
7708 (sql-oracle-statement-starters): Add custom type.
7709
7710 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7711 (prolog-system-version): Give it a type.
7712
7713 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7714
7715 * term/pc-win.el (x-select-text, x-selection-owner-p)
7716 (x-own-selection-internal, x-disown-selection-internal)
7717 (x-get-selection-internal): Sync doc strings and argument lists
7718 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7719
7720 2012-02-11 Leo Liu <sdl.web@gmail.com>
7721
7722 * progmodes/python.el (python-end-of-statement): Fix infinite
7723 loop. (Bug#10788)
7724
7725 2012-02-10 Glenn Morris <rgm@gnu.org>
7726
7727 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7728 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7729
7730 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7731
7732 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7733 about SMTP before checking the From header.
7734
7735 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7736 into own function for reuse by emacsbug.el.
7737
7738 2012-02-10 Leo Liu <sdl.web@gmail.com>
7739
7740 * subr.el (condition-case-unless-debug): Rename from
7741 condition-case-no-debug. All callers changed.
7742 (with-demoted-errors): Fix caller.
7743
7744 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7745 * nxml/rng-valid.el (rng-do-some-validation):
7746 * emacs-lisp/package.el (package-refresh-contents)
7747 (package-menu-execute):
7748 * desktop.el (desktop-create-buffer):
7749 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7750
7751 2012-02-10 Glenn Morris <rgm@gnu.org>
7752
7753 * textmodes/bibtex.el:
7754 Add missing :version tags for new/changed defcustoms.
7755
7756 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7757
7758 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7759
7760 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7761 (smtpmail-via-smtp): Use it, or fall back on the From address.
7762 (smtpmail-send-it): Ditto.
7763
7764 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7767 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7768 (byte-compile-tmp-var): New const.
7769 (byte-compile-defvar): Use it to minimize .elc size.
7770 Just use `defvar' rather than simulate it (bug#10761).
7771
7772 2012-02-09 Glenn Morris <rgm@gnu.org>
7773
7774 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7775
7776 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7777 Add :version tags.
7778
7779 * progmodes/compile.el (compilation-error-screen-columns)
7780 (compilation-first-column, compilation-filter-start): Doc fixes.
7781
7782 * vc/log-view.el (log-view-toggle-entry-display):
7783 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7784
7785 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7786 (report-emacs-bug-can-use-xdg-email):
7787 (report-emacs-bug-insert-to-mailer): Doc fixes.
7788 (report-emacs-bug): Message fix.
7789
7790 * net/browse-url.el (browse-url-can-use-xdg-open)
7791 (browse-url-xdg-open): Doc fixes.
7792
7793 * electric.el (electric-indent-mode, electric-pair-mode)
7794 (electric-layout-rules, electric-layout-mode): Doc fixes.
7795 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7796
7797 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7798
7799 * server.el (server-unselect-display): Don't inadvertently kill
7800 the current buffer. (Bug#10729)
7801
7802 2012-02-08 Glenn Morris <rgm@gnu.org>
7803
7804 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7805 (sql-list-table): Doc fixes.
7806
7807 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7808 Comment out (does nothing).
7809
7810 * completion.el (dynamic-completion-mode):
7811 * dirtrack.el (dirtrack-debug-mode):
7812 * electric.el (electric-layout-mode):
7813 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7814 * face-remap.el (text-scale-mode, buffer-face-mode):
7815 * iimage.el (iimage-mode):
7816 * image-mode.el (image-transform-mode):
7817 * minibuffer.el (completion-in-region-mode):
7818 * scroll-lock.el (scroll-lock-mode):
7819 * simple.el (next-error-follow-minor-mode):
7820 * tar-mode.el (tar-subfile-mode):
7821 * tooltip.el (tooltip-mode):
7822 * vcursor.el (vcursor-use-vcursor-map):
7823 * wid-browse.el (widget-minor-mode):
7824 * emulation/tpu-edt.el (tpu-edt-mode):
7825 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7826 * international/iso-ascii.el (iso-ascii-mode):
7827 * language/thai-util.el (thai-word-mode):
7828 * mail/supercite.el (sc-minor-mode):
7829 * net/goto-addr.el (goto-address-mode):
7830 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7831 * progmodes/cwarn.el (cwarn-mode):
7832 * progmodes/flymake.el (flymake-mode):
7833 * progmodes/glasses.el (glasses-mode):
7834 * progmodes/hideshow.el (hs-minor-mode):
7835 * progmodes/pascal.el (pascal-outline-mode):
7836 * textmodes/enriched.el (enriched-mode):
7837 * vc/smerge-mode.el (smerge-mode):
7838 Doc fixes (minor mode argument).
7839
7840 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7841
7842 * ls-lisp.el (ls-lisp-sanitize): New function.
7843 (ls-lisp-insert-directory): Use it to fix or remove any elements
7844 in file-alist with missing attributes. (Bug#4673)
7845
7846 2012-02-07 Alan Mackenzie <acm@muc.de>
7847
7848 Fix spurious recognition of c-in-knr-argdecl.
7849
7850 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7851 putative K&R region.
7852
7853 2012-02-07 Alan Mackenzie <acm@muc.de>
7854
7855 * progmodes/cc-engine.el (c-forward-objc-directive):
7856 Prevent looping in "#pragma mark @implementation".
7857
7858 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7859
7860 * notifications.el (notifications-on-closed-signal): Make `reason'
7861 optional. (Bug#10744)
7862
7863 2012-02-07 Glenn Morris <rgm@gnu.org>
7864
7865 * emacs-lisp/easy-mmode.el (define-minor-mode):
7866 Doc fixes for the macro and the mode it defines.
7867
7868 * image.el (imagemagick-types-inhibit): Doc fix.
7869
7870 * cus-start.el (imagemagick-render-type): Add it.
7871
7872 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7873
7874 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7875 Set the default at load time, too, so that `font-lock-fontify-buffer'
7876 can be called without setting up the entire mode first. This fixes
7877 a bug in `mm-inline-text' with C MIME parts.
7878
7879 2012-02-06 Chong Yidong <cyd@gnu.org>
7880
7881 * simple.el (list-processes--refresh): Delete exited processes
7882 (Bug#8094).
7883
7884 * comint.el (comint-next-prompt): next-single-char-property-change
7885 and prev-single-char-property-change never return nil (Bug#8657).
7886
7887 * custom.el (defcustom): Doc fix (Bug#9711).
7888
7889 2012-02-05 Chong Yidong <cyd@gnu.org>
7890
7891 * cus-edit.el (custom-variable-reset-backup): Quote the value
7892 before storing it in the customized-value property (Bug#6712).
7893 (custom-display): Add a customization type tag.
7894 (custom-buffer-create-internal): Improve tooltip message.
7895
7896 * wid-edit.el (widget-field-value-get): New optional arg to
7897 suppress trailing whitespace truncation.
7898 (character): Use it (Bug#2689).
7899
7900 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7901
7902 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7903 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7904
7905 2012-02-05 Chong Yidong <cyd@gnu.org>
7906
7907 * cus-edit.el (custom-variable-value-create): For mismatched
7908 types, show the current value (Bug#7600).
7909
7910 * custom.el (defcustom): Doc fix.
7911
7912 2012-02-05 Glenn Morris <rgm@gnu.org>
7913
7914 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7915
7916 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7917
7918 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7919 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7920 (pp-last-sexp): Use `looking-at-p'.
7921
7922 2012-02-04 Glenn Morris <rgm@gnu.org>
7923
7924 * files.el (revert-buffer):
7925 Doc fix (mention revert-buffer-in-progress-p).
7926
7927 * emacs-lisp/ert-x.el (ert-simulate-command):
7928 Check deferred-action-list (which is obsolete) is bound.
7929
7930 * subr.el (with-wrapper-hook): Doc fixes.
7931
7932 * simple.el (filter-buffer-substring-functions)
7933 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7934
7935 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7936
7937 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7938 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7939
7940 2012-02-04 Leo Liu <sdl.web@gmail.com>
7941
7942 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7943
7944 2012-02-04 Glenn Morris <rgm@gnu.org>
7945
7946 * image.el (image-extension-data): Add obsolete alias.
7947
7948 * isearch.el (isearch-update): Doc fix.
7949
7950 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7951
7952 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7953
7954 2012-02-03 Glenn Morris <rgm@gnu.org>
7955
7956 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7957 (image-animate-timeout): Doc fix.
7958
7959 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7960
7961 2012-02-02 Glenn Morris <rgm@gnu.org>
7962
7963 * server.el (server-auth-dir): Doc fix.
7964 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7965
7966 * subr.el (run-mode-hooks): Doc fix.
7967
7968 2012-02-02 Juri Linkov <juri@jurta.org>
7969
7970 * image-mode.el (image-toggle-display-image): Remove tautological
7971 `major-mode' from the `derived-mode-p' test.
7972
7973 2012-02-02 Kenichi Handa <handa@m17n.org>
7974
7975 * composite.el (compose-region): Cancel previous change.
7976
7977 2012-02-02 Kenichi Handa <handa@m17n.org>
7978
7979 * composite.el (compose-region, compose-string): Signal error for
7980 a null string component (Bug#6988).
7981
7982 2012-02-01 Chong Yidong <cyd@gnu.org>
7983
7984 * view.el (view-buffer-other-window, view-buffer-other-frame):
7985 Handle special modes like view-buffer (Bug#10650).
7986 (view-buffer): Simplify.
7987
7988 * frame.el (set-frame-font): Tweak meaning of third argument.
7989
7990 * dynamic-setting.el (font-setting-change-default-font):
7991 Use set-frame-font (Bug#9982).
7992
7993 2012-02-01 Glenn Morris <rgm@gnu.org>
7994
7995 * progmodes/compile.el (compilation-internal-error-properties):
7996 Respect compilation-first-column in the "*compilation*" buffer.
7997
7998 * emacs-lisp/easy-mmode.el (define-minor-mode):
7999 Relax :variable's test for a named function.
8000
8001 2012-01-31 Alan Mackenzie <acm@muc.de>
8002
8003 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8004 off by one error.
8005
8006 2012-01-31 Chong Yidong <cyd@gnu.org>
8007
8008 * frame.el (set-frame-font): New arg ALL-FRAMES.
8009
8010 * menu-bar.el (menu-set-font): Use set-frame-font.
8011
8012 * faces.el (face-spec-reset-face): Don't apply unspecified
8013 attribute values to the default face.
8014
8015 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
8016
8017 * progmodes/cwarn.el (cwarn): Remove dead link.
8018 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8019 Remove * from defcustom docstrings.
8020 (turn-on-cwarn-mode): Make obsolete.
8021 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8022 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8023
8024 2012-01-31 Glenn Morris <rgm@gnu.org>
8025
8026 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8027 Fix :variable handling of mode a symbol not equal to modefun.
8028 Allow named functions to be used as the cdr of :variable.
8029
8030 2012-01-30 Glenn Morris <rgm@gnu.org>
8031
8032 * emacs-lisp/authors.el (authors-fixed-entries):
8033 Remove reference to deleted file rnewspost.el.
8034
8035 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
8036
8037 * window.el (window-with-parameter): Remove unused variable `windows'.
8038 (window--side-check): Remove unused variable `code'.
8039 (window--resize-siblings): Remove unused variable `first'.
8040 (adjust-window-trailing-edge): Remove unused variable `failed'.
8041 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8042 Use `let', not `let*'.
8043 (balance-windows-2): Remove unused variable `found'.
8044 (window--state-put-2): Remove unused variable `splits'.
8045 (window-state-put): Remove unused variable `selected'.
8046 (same-window-p): Use `string-match-p'.
8047 (display-buffer-assq-regexp): Remove unused variable `value'.
8048 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8049 Mark argument ALIST as ignored.
8050 (pop-to-buffer): Remove unused variable `old-window'.
8051
8052 2012-01-29 Eli Zaretskii <eliz@gnu.org>
8053
8054 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8055 and .lzma compressed files.
8056
8057 2012-01-29 Chong Yidong <cyd@gnu.org>
8058
8059 * frame.el (window-system-default-frame-alist): Doc fix.
8060
8061 * dynamic-setting.el (font-setting-change-default-font): Don't
8062 change the default face if SET-FONT argument is non-nil (Bug#9982).
8063
8064 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8065
8066 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8067
8068 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
8069
8070 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8071 breakpoints in files outside current directory (Bug#6098).
8072
8073 2012-01-29 Chong Yidong <cyd@gnu.org>
8074
8075 * progmodes/python.el: Require ansi-color at top-level.
8076
8077 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8078 Define and use in Emacs Lisp mode (Bug#9360).
8079 (lisp-mode-abbrev-table): Add doc.
8080 (lisp-mode-variables): Don't set local-abbrev-table.
8081 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8082
8083 2012-01-28 Roland Winkler <winkler@gnu.org>
8084
8085 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8086
8087 2012-01-28 Roland Winkler <winkler@gnu.org>
8088
8089 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8090 (bibtex-set-dialect): Use it. Either set global values of
8091 dialect-dependent variables or bind these variables buffer-locally
8092 (Bug#10254).
8093 (bibtex-mode): Call bibtex-set-dialect via
8094 hack-local-variables-hook.
8095 (bibtex-dialect): Update docstring.
8096 Add safe-local-variable predicate.
8097 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8098 bibtex-set-dialect.
8099 (bibtex-mode-map): Define menu for each dialect.
8100 (bibtex-entry): Fix docstring.
8101
8102 2012-01-28 Chong Yidong <cyd@gnu.org>
8103
8104 * eshell/esh-arg.el (eshell-quote-argument): New function.
8105
8106 * eshell/esh-ext.el (eshell-invoke-batch-file):
8107 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8108 first arg to eshell-parse-command (Bug#10523).
8109
8110 2012-01-28 Drew Adams <drew.adams@oracle.com>
8111
8112 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8113 `default-directory' is non-nil.
8114
8115 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8116
8117 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8118 line that displays system-configuration-options. (Bug#9924)
8119
8120 2012-01-28 Drew Adams <drew.adams@oracle.com>
8121
8122 * descr-text.el (describe-char): Show information about POS, in
8123 addition to information about the character at POS. Improve and
8124 update the doc string. Change "code point" to "code point in
8125 charset", to avoid confusion with the character's Unicode code
8126 point shown above that. (Bug#10129)
8127
8128 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8129
8130 * descr-text.el (describe-char): Show the raw character, not only
8131 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8132 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8133 for the reasons.
8134
8135 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8136
8137 * emacs-lisp/package.el (package-install):
8138 Run package-refresh-contents if there is no archive yet (Bug#9798).
8139
8140 2012-01-28 Chong Yidong <cyd@gnu.org>
8141
8142 * emacs-lisp/package.el (package-maybe-load-descriptor):
8143 New function, split from package-maybe-load-descriptor.
8144 (package-maybe-load-descriptor): Use it.
8145 (package-download-transaction): Fully load required packages
8146 inside the loop, so that `require' calls work (Bug#10593).
8147 (package-install): No need to call package-initialize now.
8148
8149 2012-01-28 Chong Yidong <cyd@gnu.org>
8150
8151 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8152
8153 * tooltip.el (tooltip-mode): Doc fix.
8154 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8155
8156 * frame.el (set-cursor-color): Doc fix (Bug#352).
8157
8158 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8159 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8160
8161 * cus-edit.el (custom-buffer-create-internal): Fix search button
8162 action (Bug#10542).
8163 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8164
8165 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8166
8167 * dired.el (dired-mark-files-regexp):
8168 Include any subdirectory components. (Bug#10445)
8169
8170 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8171
8172 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8173 Handle [host]:port syntax. (Bug#10533)
8174
8175 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8176
8177 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8178
8179 2012-01-26 Glenn Morris <rgm@gnu.org>
8180
8181 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8182 * term.el (term-raw-escape-map): Use Control-X-prefix.
8183 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8184
8185 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8186
8187 * window.el (window-state-get, window--state-get-1): Don't deal
8188 with fixed-sizeness of windows. Simplify code.
8189
8190 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8191
8192 * window.el (window--state-get-1, window--state-put-2):
8193 Don't save and restore the mark.
8194
8195 2012-01-25 Chong Yidong <cyd@gnu.org>
8196
8197 * custom.el (custom-variable-p): Doc fix.
8198
8199 2012-01-25 Glenn Morris <rgm@gnu.org>
8200
8201 * dired.el (dired-goto-file): Handle some of the more common
8202 characters that `ls -b' escapes. (Bug#10596)
8203
8204 * progmodes/compile.el (compilation-next-error-function):
8205 Respect compilation-first-column in the "*compilation*" buffer.
8206 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8207
8208 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8209
8210 2012-01-24 Glenn Morris <rgm@gnu.org>
8211
8212 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8213
8214 2012-01-24 Julien Danjou <julien@danjou.info>
8215
8216 * color.el (color-rgb-to-hsl): Fix value computing.
8217 (color-hue-to-rgb): New function.
8218 (color-hsl-to-rgb): New function.
8219 (color-clamp, color-saturate-hsl, color-saturate-name)
8220 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8221 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8222
8223 2012-01-24 Glenn Morris <rgm@gnu.org>
8224
8225 * vc/vc-rcs.el (vc-rcs-create-tag):
8226 * vc/vc-sccs.el (vc-sccs-create-tag):
8227 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8228
8229 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8230
8231 * eshell/esh-util.el (eshell-read-hosts-file):
8232 Skip comment lines. (Bug#10549)
8233
8234 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8235
8236 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8237
8238 * subr.el (display-delayed-warnings): Doc fix.
8239 (collapse-delayed-warnings): New function to collapse identical
8240 adjacent warnings.
8241 (delayed-warnings-hook): Add it.
8242
8243 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8244
8245 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8246
8247 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8248 (tramp-default-user-alist): Don't add "pscp".
8249 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8250 property "login-as", if set. (Bug#10530)
8251
8252 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8253
8254 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8255 "plink1" and "psftp". (Bug#10530)
8256
8257 2012-01-21 Kenichi Handa <handa@m17n.org>
8258
8259 * international/mule-cmds.el (prefer-coding-system): Show a
8260 warning message if the default value of file-name-coding-system
8261 was not changed.
8262
8263 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8264
8265 * windmove.el (windmove-reference-loc):
8266 Fix windmove-reference-loc miscalculation.
8267
8268 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8269
8270 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8271 default unit.
8272
8273 2012-01-21 Glenn Morris <rgm@gnu.org>
8274
8275 * international/mule.el (auto-coding-alist): Add .tbz.
8276
8277 * files.el (local-enable-local-variables): Doc fix.
8278 (inhibit-local-variables-regexps): Rename from
8279 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8280 Doc fix. Add some extensions from auto-coding-alist.
8281 (inhibit-local-variables-suffixes):
8282 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8283 (inhibit-local-variables-p):
8284 New function, extracted from set-auto-mode-1.
8285 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8286 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8287 (hack-local-variables): Doc fix. Make the mode-only case
8288 respect enable-local-variables and friends.
8289 Respect inhibit-local-variables-regexps for file-locals, but
8290 not for directory-locals.
8291 (set-visited-file-name):
8292 Take account of inhibit-local-variables-regexps.
8293 Whether it applies may change as the file name is changed.
8294 * jka-cmpr-hook.el (jka-compr-install):
8295 * jka-compr.el (jka-compr-uninstall):
8296 Update for inhibit-first-line-modes-suffixes name change.
8297
8298 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8299
8300 * help-macro.el (make-help-screen): Temporarily restore original
8301 binding for minor-mode-map-alist (Bug#10454).
8302
8303 2012-01-19 Julien Danjou <julien@danjou.info>
8304
8305 * color.el (color-name-to-rgb): Use the white color to find the max
8306 color component value and return correctly computed values.
8307 (color-name-to-rgb): Add missing float conversion for max value.
8308
8309 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8310
8311 * window.el (window--state-get-1, window-state-get): Do not use
8312 special state value for window-persistent-parameters.
8313 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8314 (window--state-put-2): Reset all window parameters to nil before
8315 assigning values of persistent parameters.
8316
8317 2012-01-18 Alan Mackenzie <acm@muc.de>
8318
8319 Eliminate sluggishness and hangs in fontification of "semicolon
8320 deserts".
8321
8322 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8323 Change value 10000 -> 3000.
8324 (c-state-safe-place): Reformulate so it doesn't stack up an
8325 infinite number of wrong entries in c-state-nonlit-pos-cache.
8326 (c-determine-limit-get-base, c-determine-limit): New functions to
8327 determine backward search limits disregarding literals.
8328 (c-find-decl-spots): Amend commenting.
8329 (c-cheap-inside-bracelist-p): New function which detects "={".
8330
8331 * progmodes/cc-fonts.el
8332 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8333 backward search.
8334 (c-font-lock-declarations): Fix an occurrence of point being
8335 undefined. Check additionally for point being in a bracelist or
8336 near a macro invocation without a semicolon so as to avoid a
8337 fruitless time consuming search for a declarator. Give a more
8338 precise search limit for declarators using the new
8339 c-determine-limit.
8340
8341 2012-01-18 Glenn Morris <rgm@gnu.org>
8342
8343 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8344 (set-auto-mode): Doc fixes.
8345
8346 2012-01-17 Glenn Morris <rgm@gnu.org>
8347
8348 * isearch.el (search-nonincremental-instead): Fix doc typo.
8349
8350 * dired.el (dired-insert-directory): Handle newlines in directory name.
8351 (dired-build-subdir-alist): Unescape newlines in directory name.
8352
8353 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8354
8355 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8356 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8357 (tramp-action-terminal): Use it. (Bug#10530)
8358
8359 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8362
8363 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8364
8365 * window.el (window-state-ignored-parameters): Remove variable.
8366 (window--state-get-1): Rename argument MARKERS to IGNORE.
8367 Handle persistent window parameters. Make copy of clone-of
8368 parameter only if requested. (Bug#10348)
8369 (window--state-put-2): Install a window parameter only if it has
8370 a non-nil value or an existing parameter shall be overwritten.
8371
8372 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8373
8374 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8375
8376 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8377
8378 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8379 don't pass the (nil) value of `upnode' to string-match.
8380
8381 2012-01-14 Chong Yidong <cyd@gnu.org>
8382
8383 * startup.el (command-line): Fix X resource class for cursorColor.
8384 Fix values recognized by the cursorBlink resource.
8385
8386 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8387
8388 * epg.el (epg--make-temp-file): Avoid permission race condition
8389 when running on old Emacs versions (bug#10403).
8390
8391 2012-01-14 Glenn Morris <rgm@gnu.org>
8392
8393 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8394
8395 2012-01-13 Alan Mackenzie <acm@muc.de>
8396
8397 Fix filling for when filladapt mode is enabled.
8398
8399 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8400 c-mask-paragraph, pass in `fill-paragraph' rather than
8401 `fill-region-as-paragraph'. (This is a reversion of a previous
8402 change.)
8403 * progmodes/cc-mode.el (c-basic-common-init):
8404 Make fill-paragraph-handle-comment buffer local and set it to nil.
8405
8406 2012-01-13 Glenn Morris <rgm@gnu.org>
8407
8408 * dired.el (dired-switches-escape-p): New function.
8409 (dired-insert-directory): Use dired-switches-escape-p.
8410 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8411
8412 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8413
8414 2012-01-12 Glenn Morris <rgm@gnu.org>
8415
8416 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8417 changes in adaptive-fill-regexp. (Bug#10276)
8418
8419 2012-01-11 Alan Mackenzie <acm@muc.de>
8420
8421 Fix Emacs bug #10463 - put `widen's around the critical spots.
8422
8423 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8424 widen around each invocation of c-state-pp-to-literal. Remove an
8425 unused let variable.
8426
8427 2012-01-11 Glenn Morris <rgm@gnu.org>
8428
8429 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8430 Doc fix.
8431
8432 2012-01-10 Chong Yidong <cyd@gnu.org>
8433
8434 * net/network-stream.el (network-stream-open-starttls):
8435 Avoid emitting a confusing error message when the server gives a bad
8436 response to the capability command.
8437
8438 2012-01-10 Glenn Morris <rgm@gnu.org>
8439
8440 * mail/unrmail.el (unrmail): Tweak previous change.
8441
8442 2012-01-09 Chong Yidong <cyd@gnu.org>
8443
8444 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8445
8446 2012-01-08 Alan Mackenzie <acm@muc.de>
8447
8448 Optimise font locking in long enum definitions.
8449
8450 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8451 arm to a cond form to handle enums.
8452 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8453 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8454
8455 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8456
8457 * files.el (move-file-to-trash): Preserve default file modes on error.
8458 (Bug#10401)
8459
8460 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8461
8462 * faces.el (set-face-attribute): Clarify the meaning of the nil
8463 frame (bug#10294).
8464
8465 * subr.el (with-selected-frame): Mention that the selected frame
8466 is restored (bug#9980).
8467
8468 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8469 (bug#9759).
8470
8471 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8472 (password-read): Don't autoload unused function.
8473
8474 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * progmodes/which-func.el (which-func-mode): Turn into a
8477 non-interactive function and mark as obsolete (bug#10428).
8478
8479 2012-01-06 Chong Yidong <cyd@gnu.org>
8480
8481 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8482 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8483 functions, along with 1 and -1.
8484
8485 2012-01-06 Eli Zaretskii <eliz@gnu.org>
8486
8487 * time.el (display-time-load-average)
8488 (display-time-default-load-average): Doc fixes. See the thread
8489 starting at
8490 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8491 for the details.
8492
8493 2012-01-06 Glenn Morris <rgm@gnu.org>
8494
8495 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8496 has no messages. (Bug#10377)
8497
8498 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8499 than Info-edit. (Bug#10385)
8500
8501 * time.el (display-time-load-average, display-time-next-load-average):
8502 Doc fixes.
8503
8504 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8505 local setting of buffer-read-only to the input buffer. (Bug#10419)
8506
8507 * calendar/calendar.el (calendar-mode):
8508 Locally set scroll-margin to 0. (Bug#10379)
8509
8510 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
8511
8512 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8513
8514 2012-01-05 Glenn Morris <rgm@gnu.org>
8515
8516 * eshell/em-unix.el (diff-no-select): Autoload it.
8517 (eshell/diff): Use diff-no-select. (Bug#10420)
8518
8519 2012-01-05 Chong Yidong <cyd@gnu.org>
8520
8521 * shell.el (shell-dynamic-complete-functions): Revert last change.
8522 (shell-command-completion-function): New function.
8523 (shell-completion-vars): Use it to implement
8524 shell-completion-execonly (Bug#10417).
8525
8526 * custom.el (enable-theme): Don't set custom-safe-themes.
8527
8528 * cus-theme.el (custom-theme-merge-theme):
8529 Ignore custom-enabled-themes and custom-safe-themes.
8530
8531 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8532
8533 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8534 first prompt in `sql-interacive-mode'.
8535 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8536 keywords.
8537 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8538 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8539 context of original buffer. Invoke `sql-login-hook'.
8540
8541 2012-01-04 Eli Zaretskii <eliz@gnu.org>
8542
8543 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8544 letters in cite-prefix.
8545
8546 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547
8548 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8549
8550 2012-01-03 Chong Yidong <cyd@gnu.org>
8551
8552 * shell.el (shell-dynamic-complete-functions):
8553 Put pcomplete-completions-at-point, so as to try
8554 comint-filename-completion first (Bug#10417).
8555
8556 2012-01-02 Richard Stallman <rms@gnu.org>
8557
8558 * battery.el (battery-status-function):
8559 Detect when to use battery-yeeloong-sysfs.
8560 (battery-echo-area-format): Add string for Yeeloong.
8561 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8562 (battery-yeeloong-sysfs): New function.
8563
8564 2012-01-02 Chong Yidong <cyd@gnu.org>
8565
8566 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8567 (dirtrack): Merge code for handling relative filenames in prompt
8568 from shell-dir-cookie-watcher.
8569 (dirtrack-debug-message): New arg to avoid excess format calls.
8570
8571 * shell.el (shell-dir-cookie-re): Variable deleted.
8572 (shell-dir-cookie-watcher): Function deleted.
8573 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8574 with dirtrack-mode.
8575
8576 2012-01-01 Eli Zaretskii <eliz@gnu.org>
8577
8578 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8579 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8580 libgnutls-26.dll.
8581
8582 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8583
8584 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8585
8586 2011-12-31 Eli Zaretskii <eliz@gnu.org>
8587
8588 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8589 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8590
8591 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
8592
8593 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8594 also for alternative shells.
8595 (tramp-open-connection-setup-interactive-shell): Check, whether
8596 the shell is a busybox.
8597 (tramp-send-command): Don't suppress multiple prompts for
8598 busyboxes, it hurts.
8599
8600 2011-12-28 Chong Yidong <cyd@gnu.org>
8601
8602 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8603 (gdb-get-source-file): Move mode line update to
8604 gdb-get-source-file (Bug#10087).
8605
8606 2011-12-25 Chong Yidong <cyd@gnu.org>
8607
8608 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8609 gud-gdb-marker-filter without taking it as an argument.
8610 (gud-gdb-run-command-fetch-lines): Caller changed.
8611 (gud-gdb-completion-function): New variable.
8612 (gud-gdb-completion-at-point): Use it.
8613 (gud-gdb-completions-1): Split from gud-gdb-completions.
8614
8615 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8616 function as separate arguments.
8617 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8618 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8619 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8620 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8621 (gdb-stopped, def-gdb-auto-update-trigger)
8622 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8623 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8624 Callers changed.
8625 (gud-gdbmi-completions): New function.
8626 (gdb): Use it for generating the completion table.
8627
8628 2011-12-24 Alan Mackenzie <acm@muc.de>
8629
8630 Introduce a mechanism to widen the region used in context font
8631 locking. Use this to protect declarations from losing their contexts.
8632
8633 * progmodes/cc-langs.el (c-before-font-lock-functions):
8634 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8635 (c-before-context-fontification-functions): New defvar, a list of
8636 functions to be run just before context (etc.) font locking.
8637
8638 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8639 New, functionality extracted from
8640 c-neutralize-syntax-in-and-mark-CPP.
8641 (c-in-after-change-fontification): New variable.
8642 (c-after-change): Set c-in-after-change-fontification.
8643 (c-set-fl-decl-start): Rejig its interface, so it can be called
8644 from both after-change and context fontifying.
8645 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8646 New functions.
8647 (c-standard-font-lock-fontify-region-function): New variable.
8648 (c-font-lock-fontify-region): New function.
8649
8650 2011-12-24 Juri Linkov <juri@jurta.org>
8651
8652 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8653 (Bug#10348)
8654
8655 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
8656
8657 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8658 existence of source file. (Bug#10325)
8659
8660 2011-12-23 Alan Mackenzie <acm@muc.de>
8661
8662 Fix unstable fontification inside templates.
8663
8664 * progmodes/cc-langs.el (c-before-font-lock-functions):
8665 Newly created from the singular version. The (c c++ objc) entry now
8666 additionally has c-set-fl-decl-start. The other languages (apart
8667 from AWK) have that as a single entry.
8668
8669 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8670 The functionality for "local" declarations has been extracted to
8671 c-set-fl-decl-start.
8672
8673 * progmodes/cc-mode.el (c-common-init, c-after-change):
8674 Changes due to pluralisation of c-before-font-lock-functions.
8675 (c-set-fl-decl-start): New function, extracted from
8676 c-font-lock-enclosing-decls and enhanced.
8677
8678 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
8679
8680 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8681
8682 2011-12-22 Juri Linkov <juri@jurta.org>
8683
8684 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8685
8686 2011-12-22 Chong Yidong <cyd@gnu.org>
8687
8688 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8689
8690 2011-12-21 Drew Adams <drew.adams@oracle.com>
8691
8692 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8693
8694 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8695
8696 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8697
8698 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8699
8700 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8701 highlighting and support. Fix up comments for capitalization.
8702 (cfengine-mode-debug): New var.
8703 (cfengine3-mode): Change the modeline indicator to "CFE3".
8704 (cfengine3-font-lock-keywords): Improve defun highlighting.
8705 (cfengine2-actions): Rename from `cfengine-actions'.
8706 (cfengine2-font-lock-keywords): Rename from
8707 `cfengine-font-lock-keywords'.
8708 (cfengine2-imenu-expression): Rename from
8709 `cfengine-imenu-expression'.
8710 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8711 (cfengine2-beginning-of-defun): Rename from
8712 `cfengine-beginning-of-defun'.
8713 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8714 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8715 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8716 modeline indicator to "CFE2".
8717 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8718 (cfengine-mode-abbrevs): Mark obsolete.
8719
8720 2011-12-21 Chong Yidong <cyd@gnu.org>
8721
8722 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8723 filename argument.
8724
8725 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8726
8727 * window.el (window-normalize-buffer-to-display): Remove.
8728 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8729
8730 2011-12-19 Chong Yidong <cyd@gnu.org>
8731
8732 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8733 Don't signal an error in a predicate function; return non-nil.
8734 (vc-dir-mark-file): Move the error here.
8735 (vc-dir-mark-unmark): If acting on the region, keep going if one
8736 of the entries cannot be marked/unmarked.
8737 (vc-dir-mark-all-files): If current entry is a directory, mark
8738 only child files, as documented.
8739
8740 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8741
8742 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8743 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8744 addition.
8745
8746 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8747
8748 * term/ns-win.el (ns-get-selection-internal)
8749 (ns-store-selection-internal): Declare.
8750 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8751 Declare as obsolete.
8752 (ns-get-pasteboard, ns-paste-secondary):
8753 Use ns-get-selection-internal.
8754 (ns-set-pasteboard, ns-copy-including-secondary):
8755 Use ns-store-selection-internal.
8756
8757 2011-12-17 Chong Yidong <cyd@gnu.org>
8758
8759 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8760 (vc-deduce-fileset): Doc fix.
8761
8762 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8763
8764 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8765
8766 2011-12-13 Sam Steingold <sds@gnu.org>
8767
8768 * man.el (Man-getpage-in-background): When running under a
8769 window-system, ignore $MANWIDTH and $COLUMNS.
8770
8771 2011-12-15 Kenichi Handa <handa@m17n.org>
8772
8773 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8774 (setup-ethiopic-environment-internal): Comment out key-binding for
8775 ethio-toggle-punctuation.
8776
8777 2011-12-13 Alan Mackenzie <acm@muc.de>
8778
8779 Add the switch statement to AWK Mode.
8780
8781 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8782 "default" to the keywords regexp.
8783
8784 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8785 expression as the rest.
8786 (c-nonlabel-token-key): Allow string literals for AWK.
8787 Refactor for the other modes.
8788
8789 Large brace-block initialisation makes CC Mode slow: Fix.
8790 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8791 routines. Limit backward searching in c-font-lock-enclosing.decl.
8792
8793 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8794 pp-state and literal type in addition to the limits.
8795 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8796 (c-state-literal-at): Use the above new defun.
8797 (c-slow-in-literal, c-fast-in-literal): Remove.
8798 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8799
8800 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8801 being in a literal. Add a limit for backward searching.
8802
8803 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8804 c-slow-in-literal.
8805
8806 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8809
8810 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8811
8812 * window.el (delete-other-windows): Use correct frame in call to
8813 window-with-parameter.
8814
8815 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8816
8817 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8818 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8819 (makefile-gmake-statements, makefile-makepp-statements):
8820 Use it and add new makepp keywords.
8821 (makefile-makepp-font-lock-keywords): Add new patterns.
8822 (makefile-match-function-end): Match new [...] and [[...]].
8823
8824 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8825
8826 * ses.el (ses-call-printer-return, ses-cell-property-get)
8827 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8828 (ses-create-cell-variable, ses-reset-header-string)
8829 (ses-cell-set-formula, ses-repair-cell-reference-all)
8830 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8831 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8832 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8833 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8834 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8835 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8836 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8837 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8838 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8839 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8840 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8841 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8842
8843 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8844
8845 * ses.el: The overall change is to add cell renaming, that is
8846 setting fancy names for cell symbols other than name matching
8847 "\\`[A-Z]+[0-9]+\\'" regexp .
8848 (ses-create-cell-variable): New defun.
8849 (ses-relocate-formula): Relocate formulas only for cells the
8850 symbols of which are not renamed, i.e. symbols whose names do not
8851 match regexp "\\`[A-Z]+[0-9]+\\'".
8852 (ses-relocate-all): Relocate values only for cells the symbols of
8853 which are not renamed.
8854 (ses-load): Create cells variables as the (ses-cell ...) are read,
8855 in order to check row col consistency with cell symbol name only
8856 for cells that are not renamed.
8857 (ses-replace-name-in-formula): New defun.
8858 (ses-rename-cell): New defun.
8859
8860 2011-12-11 Chong Yidong <cyd@gnu.org>
8861
8862 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8863 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8864
8865 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8866
8867 * window.el (other-window): Fix docstring.
8868
8869 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8870
8871 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8872 `from' or `to' address before taking its substring.
8873 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8874 encoded name is chopped in the middle of the encoded string, and
8875 thus displayed encoded.
8876
8877 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8880
8881 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8882
8883 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8884 to use texinfo-update-node and commands that call it if the
8885 Texinfo file uses @node lines without next/prev/up pointers.
8886 Correct outdated description about texinfo-master-menu.
8887 (texinfo-all-menus-update, texinfo-master-menu)
8888 (texinfo-update-node, texinfo-every-node-update)
8889 (texinfo-multiple-files-update): Doc fix. Warn against updating
8890 all the @node lines.
8891 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8892 argument is numeric. Explain better in the doc string what the
8893 function really does.
8894 (texinfo-insert-master-menu-list): Improve the error message
8895 displayed if there's no menu in the Top node.
8896 (Bug#2975) See also this thread:
8897 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8898
8899 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
8900
8901 * speedbar.el (speedbar-supported-extension-expressions):
8902 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8903
8904 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8905
8906 * printing.el (pr-mode-alist):
8907 * simple.el (filter-buffer-substring-functions)
8908 (completion-list-insert-choice-function):
8909 * window.el (window-with-parameter, window-atom-root)
8910 (window-sides-slots, window-size-fixed, window-min-delta)
8911 (window-max-delta, window--resize-mini-window)
8912 (window--resize-child-windows-normal, window-tree)
8913 (delete-other-windows, quit-window, split-window)
8914 (display-buffer-record-window, special-display-buffer-names)
8915 (special-display-regexps, special-display-popup-frame)
8916 (same-window-p, split-window-sensibly)
8917 (display-buffer-overriding-action, display-buffer-alist)
8918 (display-buffer-base-action, display-buffer, switch-to-buffer)
8919 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8920 (fit-window-to-buffer, recenter-positions)
8921 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8922 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8923 and remove unneeded backslashes in docstrings.
8924
8925 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8928
8929 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8930 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8931 end in ".mk".
8932 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8933 when reading the makefile (bug#10116).
8934
8935 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8938 (bug#10116).
8939
8940 2011-12-06 Glenn Morris <rgm@gnu.org>
8941
8942 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8943
8944 2011-12-06 Chong Yidong <cyd@gnu.org>
8945
8946 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8947
8948 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8949
8950 * textmodes/table.el (table-shorten-cell): Fix typo.
8951
8952 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8953
8954 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8955
8956 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8957
8958 * descr-text.el (describe-char): Fix display of strong
8959 right-to-left characters and directional embeddings and overrides.
8960
8961 * simple.el (what-cursor-position): Fix display of codepoints of
8962 strong right-to-left characters.
8963
8964 2011-12-05 Chong Yidong <cyd@gnu.org>
8965
8966 * faces.el (read-color): Doc fix.
8967
8968 2011-12-05 Glenn Morris <rgm@gnu.org>
8969
8970 * align.el (align--set-marker): Add doc-string.
8971 Don't try to move something that is not a marker. (Bug#10216)
8972
8973 2011-12-04 Glenn Morris <rgm@gnu.org>
8974
8975 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8976 overly zealous deletion of trailing whitespace.
8977
8978 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * server.el (server-delete-client): On Windows, do not try to delete
8981 the only terminal.
8982 (server-process-filter): On Windows, treat requests for a tty frame as
8983 if they were for a GUI frame if the running server is in GUI mode.
8984
8985 2011-12-03 Glenn Morris <rgm@gnu.org>
8986
8987 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8988
8989 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * electric.el: Streamline electric-indent's hook.
8992 (electric-indent-chars): Revert to simple list.
8993 (electric-indent-functions): New var.
8994 (electric-indent-post-self-insert-function): Use it.
8995
8996 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8997 there's no inferior buffer (bug#10196).
8998 (prolog-consult-compile): Don't use toggle-read-only.
8999
9000 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
9001
9002 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9003 interrupt. (Bug#10187)
9004
9005 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9008 (bug#9160).
9009
9010 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9011 (bug#10191).
9012
9013 2011-12-02 Juri Linkov <juri@jurta.org>
9014
9015 * info.el (Info-search): Display "end of manual" when Isearch
9016 reaches the end of single-file Info manual. (Bug#9918)
9017
9018 2011-12-02 Eli Zaretskii <eliz@gnu.org>
9019
9020 * isearch.el (isearch-message-prefix): Run the input method part
9021 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9022
9023 2011-12-02 Juri Linkov <juri@jurta.org>
9024
9025 * isearch.el (isearch-occur): Use `word-search-regexp' for
9026 `isearch-word'.
9027 (isearch-search-and-update): Add condition for `isearch-word' and
9028 call `word-search-regexp'. (Bug#10145)
9029
9030 2011-12-01 Glenn Morris <rgm@gnu.org>
9031
9032 * eshell/em-hist.el (eshell-hist-initialize):
9033 Handle eshell-history-size nil and HISTSIZE set or unset.
9034 (eshell-history-file-name, eshell-history-size): Fix custom type.
9035
9036 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9039
9040 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
9041
9042 * progmodes/verilog-mode.el (verilog-pretty-expr):
9043 Rework verilog-pretty-expr to handle new assignment operators in system
9044 verilog, such as += *= and the like.
9045 (verilog-assignment-operator-re): Regular expression to find the
9046 assigment operator in a verilog assignment.
9047 (verilog-assignment-operation-re): Regular expression to find an
9048 assignment statement for pretty-expr.
9049 (verilog-in-attribute-p): Query returns true if point is in an
9050 attribute context; used to skip these for expression line up from
9051 pretty-expr.
9052 (verilog-in-parameter-p): Query returns true if point is in an
9053 parameter definition context; used to skip these for expression
9054 line up from pretty-expr.
9055 (verilog-in-parenthesis-p): Query returns true if point is in a
9056 parenthetical expression, specifically ( ) but not [ ] or { };
9057 used by pretty-expr.
9058 (verilog-just-one-space): If there is no space, don't add one.
9059 (verilog-get-lineup-indent-2): Specifically skip just attribute
9060 contexts for expression lineup, rather than skipping all
9061 parenthetical expressions.
9062 (verilog-calculate-indent): Fix comment, and fix indent.
9063 (verilog-do-indent): Indent declarations in lists (suggested by
9064 Joachim Lechner).
9065 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9066 skeleton items.
9067 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9068 by Alain Mellan).
9069
9070 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
9071
9072 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9073 parameters with embedded comments. Reported by Ray Stevens.
9074 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9075 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9076 Reported by Tim Holt.
9077 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9078 instantiated by upper module causing wrong expansion until AUTOed a
9079 second time. Reported by K C Buckenmaier.
9080 (verilog-diff-auto): Fix showing .* as a difference when
9081 `verilog-auto-star-save' off. Reported by Dan Dever.
9082 (verilog-auto-reset, verilog-read-always-signals)
9083 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9084 temporary signals in reset list if
9085 verilog-auto-reset-blocking-in-non is nil, and match assignment
9086 style to each signal's assignment type, bug381.
9087 Reported by Thomas Esposito.
9088 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9089 (verilog-uvm-statement-re): Support UVM indentation and
9090 highlighting, with old OVM keywords only.
9091 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9092 Support AUTOTIEOFF creating non-wire data types.
9093 Suggested by Jonathan Greenlaw.
9094 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9095 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9096 (verilog-inject-sense, verilog-read-inst-pins)
9097 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9098 Fix mismatching parenthesis inside commented out code when deleting
9099 AUTOINST, bug383. Reported by Jonathan Greenlaw.
9100 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9101 non-numeric vector width. Reported by Alex Reed.
9102 (verilog-auto-ascii-enum): Add "onehot" option to work around not
9103 detecting signals with parameter widths. Reported by Alex Reed.
9104 (verilog-auto-delete-trailing-whitespace):
9105 With `verilog-auto-delete-trailing-whitespace' remove trailing
9106 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9107 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9108 Fix verilog-scan-cache corruption when running user AUTO expansion
9109 hooks that call indentation routines.
9110 (verilog-simplify-range-expression): Fix typo ignoring lower case
9111 identifiers.
9112 (verilog-delete-auto): Fix delete-autos to also remove user created
9113 automatics, as long as they start with AUTO.
9114 (verilog-batch-diff-auto, verilog-diff-auto)
9115 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9116 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9117 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9118 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9119 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9120 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9121 is disabled and its cache will get corrupt, causing AUTOS not to
9122 expand. Instead use only -quick functions.
9123 (verilog-scan-region): Fix scanning over escaped quotes.
9124 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9125 (verilog-re-search-backward-quick)
9126 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9127 related functions now ignore strings, to fix misparsing of strings
9128 with magic comments embedded in them.
9129 (verilog-read-auto-template):
9130 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9131 Reported by Brad Dobbie.
9132 (verilog-read-auto-template):
9133 Fix 'verilog-auto-inst-template-numbers' with comments.
9134 Reported by Brad Dobbie.
9135 (verilog-auto-inst, verilog-auto-inst-param)
9136 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9137 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9138 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9139 debugging templates without merge conflicts, bug357.
9140 Reported by Brad Dobbie.
9141 (verilog-read-auto-template):
9142 Fix verilog-auto-inst-template-numbers with multiple templates.
9143 Reported by Brad Dobbie.
9144 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9145 abbrevs so user won't be asked to save.
9146 (verilog-read-auto-lisp-present): Fix to start at beginning of
9147 buffer in case called outside of verilog-auto.
9148 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9149 to "X-2". Reported by Matthew Myers.
9150 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9151 all inputs from module templates. Reported by Leith Johnson.
9152 (verilog-module-inside-filename-p): Fix locating programs as with
9153 modules.
9154 (verilog-auto-inst-port): Fix vl-width expressions when using
9155 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9156 (verilog-decls-get-regs, verilog-decls-get-signals,
9157 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9158 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9159 verilog-read-decls): Combine reg and wire structures into one var
9160 structure to represent SystemVerilog concepts.
9161 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9162 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9163 (verilog-auto-wire-type, verilog-insert-definition):
9164 Add verilog-auto-wire-type and AUTOLOGIC to support using
9165 SystemVerilog "logic" keyword instead of "wire"/"reg".
9166 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9167 to declares outputs that also have assignments (presumably in an
9168 ifdef or generate if so there's not a driver conflict).
9169 Reported by Matthew Myers.
9170 (verilog-auto-declare-nettype, verilog-insert-definition):
9171 Add verilog-auto-declare-nettype to fix declarations using
9172 `default_nettype none. Reported by Julian Gorfajn.
9173 (verilog-read-always-signals-recurse, verilog-read-decls)
9174 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9175 malformed end statement, bug325. Reported by Joshua Wise and
9176 Andrew Drake.
9177 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9178 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9179 when expanding .* in interfaces, bug320.
9180 Reported by Pierre-David Pfister.
9181 (verilog-read-module-name): Fix import statements between module
9182 name and open parenthesis, bug317.
9183 Reported by Pierre-David Pfister.
9184 (verilog-simplify-range-expression): Fix simplification of
9185 multiplications inside AUTOWIRE connections, bug303.
9186 (verilog-auto-inst-port): Support parameter expansion in
9187 multidimensional arrays.
9188 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9189 after "assert property". Reported by Julian Gorfajn.
9190 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9191 with multiplication, bug303.
9192 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9193 Reported by Jan Frode Lonnum.
9194
9195 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9196
9197 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9198 (hfy-shell-file-name, hfy-shell):
9199 * international/fontset.el (x-decompose-font-name): Fix typos.
9200
9201 2011-11-29 Ken Brown <kbrown@cornell.edu>
9202
9203 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9204 (gdb-version): Remove defvar.
9205 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9206 (gdb-gud-context-command, gdb-non-stop-handler)
9207 (gdb-current-context-command, gdb-stopped): Use it.
9208 (gdb-init-1): Enable pretty printing here.
9209 (gdb-non-stop-handler): Don't enable pretty-printing here.
9210 Check to see if the target supports non-stop mode; if not, turn off
9211 non-stop mode. Use the following.
9212 (gdb-check-target-async): New defun.
9213 (gud-watch, gdb-stopped): Fix whitespace.
9214 (gdb-get-source-file): Don't try to display the source file if
9215 `gdb-main-file' is nil.
9216
9217 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * align.el: Try to generate fewer markers (bug#10047).
9220 (align--set-marker): New macro.
9221 (align-region): Use it.
9222
9223 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9226
9227 2011-11-29 Chong Yidong <cyd@gnu.org>
9228
9229 * indent.el (indent-for-tab-command, indent-according-to-mode):
9230 Doc fix.
9231 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9232
9233 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9234
9235 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9236 aware of remote file names. (Bug#10124)
9237
9238 2011-11-29 Chong Yidong <cyd@gnu.org>
9239
9240 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9241
9242 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * files.el (find-file): Don't use force-same-window (bug#10144).
9245 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9246 use pop-to-buffer if the selected window can't be used.
9247 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9248
9249 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9250
9251 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9252 special-mode-map.
9253
9254 2011-11-28 Chong Yidong <cyd@gnu.org>
9255
9256 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9257
9258 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
9259
9260 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9261 gdb-get-source-file-list on gdb-create-source-file-list.
9262
9263 2011-11-26 Eli Zaretskii <eliz@gnu.org>
9264
9265 * whitespace.el (whitespace-newline): Use a different foreground
9266 color for 16-color light-background displays.
9267
9268 2011-11-24 Chong Yidong <cyd@gnu.org>
9269
9270 * window.el (display-buffer--special-action): Doc fix.
9271
9272 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
9273
9274 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9275 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9276 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9277 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9278 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9279 (avl-tree-stack-first):
9280 * emacs-lisp/cconv.el (cconv--analyse-use):
9281 * net/gnutls.el (gnutls-negotiate): Fix typos.
9282
9283 2011-11-24 Glenn Morris <rgm@gnu.org>
9284
9285 * lpr.el (lpr-windows-system, lpr-lp-system):
9286 * mail/binhex.el (binhex-begin-line):
9287 * progmodes/grep.el (grep-history, grep-find-history):
9288 * textmodes/flyspell.el:
9289 * vc/pcvs-defs.el (cvs-global-menu):
9290 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9291 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9292 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9293
9294 * net/tls.el: Fix case of "GnuTLS".
9295
9296 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9297
9298 * version.el (emacs-build-system): Give it a doc-string.
9299
9300 2011-11-24 Juri Linkov <juri@jurta.org>
9301
9302 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9303
9304 2011-11-24 Glenn Morris <rgm@gnu.org>
9305
9306 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9307 if called on a non-mime message just toggle the headers. (Bug#8006)
9308
9309 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9310
9311 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9312 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9313 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9314 (allout-rebullet-heading, allout-open-sibtopic)
9315 (allout-toggle-current-subtree-encryption)
9316 (allout-toggle-subtree-encryption, allout-encrypt-string)
9317 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9318 (allout-distinctive-bullets-string, allout-auto-activation):
9319 * window.el (window-normalize-buffer-to-display):
9320 * progmodes/verilog-mode.el (verilog-batch-indent):
9321 * textmodes/bibtex.el (bibtex-field-braces-opt)
9322 (bibtex-field-strings-opt):
9323 * vc/cvs-status.el (cvs-tree-merge):
9324 Fix typos.
9325
9326 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9327
9328 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9329 `non-essential' to t, in order to avoid remote connections.
9330
9331 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9332
9333 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9334 On MS-DOS and MS-Windows, compare with loaddefs.el
9335 case-insensitively.
9336
9337 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9338
9339 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9340
9341 2011-11-23 Glenn Morris <rgm@gnu.org>
9342
9343 * paths.el (rmail-file-name): Reformat the doc-string so that it
9344 is picked up.
9345
9346 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9347 (rmail-auto-file): Ignore case in the "special" field names,
9348 as mail-fetch-field does for all others.
9349
9350 * mail/rmail.el (rmail-forward):
9351 * mail/rmailkwd.el (rmail-set-label):
9352 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9353 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9354
9355 * mail/rmail.el (rmail-current-message): Doc fix.
9356
9357 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9358
9359 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9362
9363 2011-11-22 Glenn Morris <rgm@gnu.org>
9364
9365 * mail/rmailmm.el (test-rmail-mime-handler)
9366 (test-rmail-mime-bulk-handler)
9367 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9368
9369 2011-11-21 Juri Linkov <juri@jurta.org>
9370
9371 * calc/calc.el (calc-read-key-sequence):
9372 Let-bind `input-method-function' to nil. (Bug#10018)
9373
9374 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9375
9376 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9377 Tell the caller that the next line needs recomputation, even
9378 though it doesn't start a sexp (bug#10094).
9379
9380 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9383
9384 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9385
9386 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9387 Use force-same-window.
9388
9389 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9390
9391 * descr-text.el (describe-char-unicode-data):
9392 * json.el (json-string-escape):
9393 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9394 (Footnote-unicode, Footnote-style-p):
9395 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9396
9397 2011-11-20 Chong Yidong <cyd@gnu.org>
9398
9399 * window.el (replace-buffer-in-windows): Restore interactive spec.
9400
9401 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9404
9405 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9406 (byte-compile-global-not-obsolete-vars): New var.
9407 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9408 Use it.
9409 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9410
9411 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9412
9413 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9414 * progmodes/pascal.el (electric-pascal-equal):
9415 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9416 * xml.el (xml-substitute-special): Fix typos.
9417
9418 2011-11-20 Glenn Morris <rgm@gnu.org>
9419
9420 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9421 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9422 Doc fixes.
9423 (rmail-decode-mime-charset): Mark as obsolete.
9424
9425 * mail/rmailsum.el (rmail-message-regexp-p-1):
9426 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9427 Before using mime functions, check they are set. (Bug#10077)
9428
9429 2011-11-19 Juri Linkov <juri@jurta.org>
9430
9431 * info.el (Info-finder-find-node): Use `package--builtins' instead
9432 of `package-alist'. Use node names formed by the pattern "Keyword "
9433 and the keyword name.
9434
9435 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9436
9437 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9438
9439 2011-11-19 Juri Linkov <juri@jurta.org>
9440
9441 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9442 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9443 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9444 `old-history', `old-history-forward'. Add let-binding
9445 `window-selected'. Remove calls to `kill-buffer',
9446 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9447 before calling `Info-find-node', so `Info-find-node-2' will reread
9448 the Info file. Restore window positions only when `window-selected'
9449 is non-nil.
9450
9451 2011-11-19 Juri Linkov <juri@jurta.org>
9452
9453 * isearch.el (isearch-lazy-highlight-new-loop):
9454 Remove condition `(not isearch-error)'. (Bug#9918)
9455
9456 * misearch.el (multi-isearch-search-fun): Add condition
9457 `(not bound)' to ignore lazy-highlighting search.
9458 Add the search-failed message "end of multi" when the end of
9459 multi-sequence is reached. Uncapitalize the search-failed
9460 message "Repeat for next buffer".
9461
9462 * info.el (Info-search): Add the search-failed message
9463 "end of the manual" when the end of the manual is reached
9464 in Isearch mode.
9465
9466 2011-11-19 Juri Linkov <juri@jurta.org>
9467
9468 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9469 Use non-destructive `remove' instead of `delete' because
9470 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9471 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9472
9473 2011-11-19 Juri Linkov <juri@jurta.org>
9474
9475 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9476 to nil instead of binding `search-ring' and `regexp-search-ring'.
9477 (Bug#9185)
9478
9479 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9480
9481 * simple.el (line-move): Force movement by logical lines for any
9482 hscrolled window, not only when auto-hscroll-mode is on.
9483 (line-move-visual): Update doc string to that effect. (Bug#10076)
9484
9485 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9486
9487 * language/european.el (macintosh): Define as alias for mac-roman.
9488
9489 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9490
9491 * mail/rmailmm.el (rmail-mime-display-header)
9492 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9493 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9494 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9495 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9496 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9497 of a raw aref.
9498 (rmail-mime-entity-segment): To get past the tagline, move forward
9499 2 more lines, to account for the 2 empty lines that precede and
9500 follow the line with the buttons.
9501 (rmail-mime-update-tagline): Move one more line, to get past the
9502 empty line that follows the buttons in the tagline. (Bug#9520)
9503
9504 2011-11-19 Martin Rudalics <rudalics@gmx.at>
9505
9506 * window.el (window-max-delta-1, window-min-delta-1)
9507 (window-min-size-1, window-state-get-1, window-state-put-1)
9508 (window-state-put-2): Use "window--" prefix.
9509
9510 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9513 (smie-warning-count): New var.
9514 (smie-set-prec2tab): Use it.
9515 (smie-bnf->prec2): Improve warnings. Add docstring.
9516 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9517 (smie-bnf--set-class): New function.
9518 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9519 corner case.
9520
9521 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9522 (compilation-error-properties, compilation-move-to-column):
9523 Handle compilation-first-column while in the target buffer.
9524
9525 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9526 Don't hardcode point-min==1.
9527
9528 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9529 (eshell-rewrite-for-command): Remove workaround.
9530 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9531 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9532 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9533
9534 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9535
9536 2011-11-17 Glenn Morris <rgm@gnu.org>
9537
9538 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9539 Ignore buffer-local generated-autoload-file if it is the same
9540 as the global value. (Bug#10049)
9541
9542 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9545 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9546 (reftex-toc-previous-heading, reftex-toc-max-level)
9547 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9548 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9549 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9550 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9551 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9552 (reftex-toc-rename-label, reftex-toc-visit-location)
9553 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9554 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9555 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9556 leaving "*toc*" only for references to the buffer.
9557
9558 2011-11-17 Martin Rudalics <rudalics@gmx.at>
9559
9560 * window.el (window-resize, delete-window, split-window):
9561 Replace window-splits by window-combination-resize.
9562 * cus-start.el (window-splits): Replace by window-combination-resize.
9563
9564 2011-11-17 Glenn Morris <rgm@gnu.org>
9565
9566 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9567 Make bash entry derive from sh entry, not shell entry.
9568
9569 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
9570
9571 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9572 local file name.
9573
9574 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9575
9576 * menu-bar.el (menu-bar-file-menu):
9577 * printing.el (pr-ps-utility):
9578 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9579 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9580 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9581 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9582 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9583 (icalendar--convert-cyclic-to-ical)
9584 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9585 (icalendar--convert-ical-to-diary)
9586 (icalendar--convert-recurring-to-diary)
9587 (icalendar--convert-non-recurring-all-day-to-diary)
9588 (icalendar-import-format-sample):
9589 * progmodes/idlw-shell.el (idlwave-shell-mode):
9590 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9591 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9592 (vhdl-ps-print-init): Fix typos.
9593
9594 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9595
9596 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9597 FSF and collapse date sequence, obscure author/maintainer email address
9598 better, remove extra version line, track relocation of author's webpage.
9599
9600 * progmodes/python.el (python-pdbtrack-input-prompt)
9601 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9602 regular python pdb prompts. Adjustments shamelessly taken exactly as
9603 suggested in EmacsWiki page (tiny change):
9604 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9605
9606 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * expand.el (expand-pos, expand-index, expand-point):
9609 Remove redundant info from docstring.
9610 (expand-add-abbrevs): Doc fix.
9611 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9612 (expand-sample-perl-mode-expand-list): Fix typos.
9613
9614 * net/dbus.el (dbus-event-member-name):
9615 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9616 * term/pc-win.el (msdos-create-frame-with-faces):
9617 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9618
9619 2011-11-16 Martin Rudalics <rudalics@gmx.at>
9620
9621 * window.el (split-window, window-state-get-1)
9622 (window-state-put-1, window-state-put-2): Rename occurrences of
9623 window-nest to window-combination-limit.
9624 * cus-start.el (window-nest): Rename to window-combination-limit.
9625
9626 2011-11-16 Chong Yidong <cyd@gnu.org>
9627
9628 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9629 regexp (Bug#10033).
9630
9631 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9634 `completing-read' will remove *Completions* and will preserve
9635 current-buffer for us.
9636 (tmm-add-prompt): Users of *Completions* will always (re)set its
9637 major mode.
9638 (tmm-old-comp-map): Remove.
9639
9640 2011-11-16 Glenn Morris <rgm@gnu.org>
9641
9642 * mail/rmailedit.el: Require rmailmm when compiling.
9643 (rmail-old-mime-state): New declaration.
9644 (rmail-edit-current-message): If editing a mime message,
9645 edit the "raw" message from the mbox buffer.
9646 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9647
9648 2011-11-15 Glenn Morris <rgm@gnu.org>
9649
9650 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9651 which wasn't being used. Add optional arg to force given state.
9652 (rmail-mime): Add optional arg to force given state.
9653
9654 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9655
9656 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9657 * frame.el (display-mm-dimensions-alist):
9658 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9659 (outline-move-subtree-down):
9660 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9661 (newsticker--treeview-do-get-node):
9662 * net/quickurl.el (quickurl-list-buffer-name):
9663 * progmodes/dcl-mode.el (dcl-mode):
9664 * progmodes/gdb-mi.el (gdb-mapcar*):
9665 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9666
9667 2011-11-15 Glenn Morris <rgm@gnu.org>
9668
9669 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9670 in a boolean sense, so just make it a boolean, and fix the doc.
9671 (rmail-show-mime-function, rmail-mime-feature)
9672 (rmail-require-mime-maybe): Doc fixes.
9673 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9674
9675 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9676
9677 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9678
9679 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9680 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9681 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9682 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9683
9684 2011-11-15 Glenn Morris <rgm@gnu.org>
9685
9686 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9687 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9688 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9689 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9690 (rmail-mime, rmail-show-mime): Doc fixes.
9691
9692 * term/ns-win.el (mode-line-frame-identification):
9693 Leave it alone. (Bug#10051)
9694
9695 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9696
9697 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9698 Handle empty buffers. (Bug#9978)
9699
9700 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9701
9702 * international/mule.el (define-charset):
9703 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9704 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9705 * progmodes/verilog-mode.el (verilog-backward-token):
9706 * textmodes/ispell.el (lookup-words):
9707 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9708
9709 2011-11-14 Glenn Morris <rgm@gnu.org>
9710
9711 * progmodes/executable.el
9712 (executable-make-buffer-file-executable-if-script-p):
9713 Handle file-modes returning nil.
9714
9715 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9716 message - not necessary, and causes problems. (Bug#9831)
9717
9718 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9719
9720 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9721
9722 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9723 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9724 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9725
9726 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9727
9728 * window.el (window-resize, delete-window): Use window-splits
9729 variable instead of function.
9730 (window-state-get-1, window-state-put-2, window-state-put):
9731 Don't deal with windows' splits status.
9732
9733 2011-11-12 Glenn Morris <rgm@gnu.org>
9734
9735 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9736 (apropos-documentation): Doc fixes.
9737
9738 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9741 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9742
9743 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * electric.el (electric-indent-post-self-insert-function): Make it
9746 possible for a char to only indent in some circumstances.
9747 (electric-indent-mode): Simplify.
9748
9749 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9750
9751 * window.el (windows-with-parameter): Remove unused function.
9752 (windows-at-side): Rename to window-at-side-list.
9753 (window-check, window-atom-check, window-atom-check-1)
9754 (window-side-check, window-size-ignore, window-size-fixed-1)
9755 (window-in-direction-2): Prefix with "window--".
9756 (window-tree-1): Rename to window--subtree, fix doc-string.
9757
9758 2011-11-11 Glenn Morris <rgm@gnu.org>
9759
9760 * subr.el (eval-after-load): If FILE is already loaded,
9761 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9762
9763 2011-11-10 Glenn Morris <rgm@gnu.org>
9764
9765 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9766 Call svn via vc-svn-command rather than vc-do-command.
9767 (vc-svn-command): Add --non-interactive. (Bug#9993)
9768 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9769
9770 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9771 Add toggle-read-only. (Bug#7292)
9772 * files.el (toggle-read-only): Mention that it should only
9773 be used interactively. (Bug#10006)
9774
9775 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9776
9777 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9778 Adjust regexp for OCaml warnings.
9779
9780 * electric.el (electric-pair-post-self-insert-function): Let user
9781 turn it off buffer-locally (bug#9932).
9782
9783 * progmodes/python.el (python-beginning-of-statement):
9784 Rewrite (bug#2703).
9785
9786 * progmodes/compile.el: Better handle TABs (bug#9749).
9787 (compilation-internal-error-properties)
9788 (compilation-next-error-function): Obey the target buffer's
9789 compilation-error-screen-columns.
9790
9791 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * progmodes/meta-mode.el: Remove obsolete comments.
9794 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9795 Fix typos in docstrings.
9796
9797 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9798
9799 * window.el (window-size-fixed-p): Rewrite doc-string.
9800 (window-resizable-p): Rename to window--resizable-p. Update callers.
9801 (window--resizable): New function. Make all callers of
9802 window-resizable call window--resizable instead.
9803 (window-resizable): Rewrite in terms of window--resizable.
9804
9805 2011-11-08 Glenn Morris <rgm@gnu.org>
9806
9807 * progmodes/delphi.el (delphi-mode-syntax-table):
9808 Let define-derived-mode define a proper syntax table. (Bug#9994)
9809
9810 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * window.el: Stay away from defsubst.
9813 (window-list-no-nils): Remove.
9814 (window-state-get-1, window-state-get): Use backquote instead.
9815
9816 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9817
9818 * emacs-lisp/find-func.el (find-function-read):
9819 Fix incorrect use of default argument in `completing-read'.
9820
9821 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9822
9823 * window.el (display-buffer-function, special-display-function):
9824 Mention display-buffer-record-window but do not mention
9825 help-setup parameter in doc-strings.
9826 (window-min-delta): Fix doc-string typo.
9827
9828 2011-11-08 Chong Yidong <cyd@gnu.org>
9829
9830 * window.el (window-total-height, window-total-width): Doc fix.
9831 (window-body-size): Move from C.
9832 (window-body-height, window-body-width): Move to C.
9833
9834 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * window.el: Make special-display like display-buffer-alist (bug#9532).
9837 (display-buffer--special-action): New function, morphed
9838 from display-buffer--special.
9839 (display-buffer): Use it to handle special-display-buffers at higher
9840 priority (just after display-buffer-alist).
9841 (display-buffer-fallback-action, display-buffer--other-frame-action)
9842 (pop-to-buffer-same-window): Remove display-buffer--special.
9843
9844 2011-11-07 Glenn Morris <rgm@gnu.org>
9845
9846 * calendar/cal-menu.el (cal-menu-set-date-title):
9847 Do nothing if not in a calendar. (Bug#9976)
9848
9849 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * files.el (find-file): Always use selected-window.
9852
9853 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9854
9855 * window.el (window-combinations): Make WINDOW argument
9856 mandatory. Rewrite doc-string.
9857 (walk-window-subtree, window-atom-check, window-min-delta)
9858 (window-max-delta, window--resize-this-window)
9859 (window--resize-root-window-vertically, window-tree)
9860 (balance-windows, window-state-put): Rewrite doc-strings as to
9861 not mention the term "subwindow".
9862 (window--resize-subwindows-skip-p): Rename to
9863 window--resize-child-windows-skip-p.
9864 (window--resize-subwindows-normal): Rename to
9865 window--resize-child-windows-normal.
9866 (window--resize-subwindows): Rename to
9867 window--resize-child-windows.
9868 (window-or-subwindow-p): Rename to window--in-subtree-p.
9869
9870 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9871
9872 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9873 Ensure that mbox format messages end in two newlines (Bug#9974).
9874
9875 2011-11-06 Chong Yidong <cyd@gnu.org>
9876
9877 * window.el (window-combination-p): Function deleted; its
9878 side-effect is not used in any existing code.
9879 (window-combinations, window-combined-p): Call window-*-child
9880 directly.
9881
9882 2011-11-05 Chong Yidong <cyd@gnu.org>
9883
9884 * window.el (window-valid-p): Rename from window-any-p.
9885 (window-size-ignore, window-state-get): Callers changed.
9886 (window-normalize-window): Rename from window-normalize-any-window.
9887 New arg LIVE-ONLY, replacing window-normalize-live-window.
9888 (window-normalize-live-window): Delete.
9889 (window-combination-p, window-combined-p, window-combinations)
9890 (walk-window-subtree, window-atom-root, window-min-size)
9891 (window-sizable, window-sizable-p, window-size-fixed-p)
9892 (window-min-delta, window-max-delta, window-resizable)
9893 (window-resizable-p, window-full-height-p, window-full-width-p)
9894 (window-current-scroll-bars, window-point-1, set-window-point-1)
9895 (window-at-side-p, window-in-direction, window-resize)
9896 (adjust-window-trailing-edge, maximize-window, minimize-window)
9897 (window-deletable-p, delete-window, delete-other-windows)
9898 (record-window-buffer, unrecord-window-buffer)
9899 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9900 (quit-window, split-window, window-state-put)
9901 (set-window-text-height, fit-window-to-buffer)
9902 (shrink-window-if-larger-than-buffer): Callers changed.
9903
9904 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9905
9906 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9907 rfc2047-decode-string.
9908 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9909 warnings.
9910
9911 * window.el (window-body-height, window-body-width): Mention in
9912 the doc string that the return values are in frame's canonical
9913 units. (Bug#9949)
9914
9915 2011-11-03 Alan Mackenzie <acm@muc.de>
9916
9917 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9918 change in cc-engine.el.
9919
9920 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9923
9924 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9925
9926 * window.el (quit-window): Call unrecord-window-buffer after
9927 showing another buffer in the window. (Bug#9937)
9928 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9929
9930 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9931
9932 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9933 Accept status with more than 9 shelves. (Bug#9935)
9934 Reported by Colin D Bennett <colin@gibibit.com>.
9935
9936 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9937
9938 * help.el (with-help-window): Don't reference
9939 temp-buffer-show-specifiers in doc-string.
9940
9941 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9942
9943 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9944 menu-item.
9945
9946 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9947
9948 * whitespace.el: New version 13.2.2.
9949 (whitespace-newline-mode): Disable properly. Reported by Sarah
9950 <EmacsWiki>.
9951
9952 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9953
9954 * net/newst-treeview.el: Remove "Time-stamp".
9955 (newsticker--group-manage-orphan-feeds): Do not call
9956 newsticker--treeview-tree-update.
9957 (newsticker-treeview-update, newsticker-treeview):
9958 Call newsticker--treeview-tree-update if necessary.
9959
9960 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9961
9962 * window.el (window-iso-combination-p, window-iso-combined-p)
9963 (window-iso-combinations): Remove "iso-" infix.
9964 Suggested by Chong Yidong.
9965 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9966 (window-max-delta-1, window-resize, window--resize-siblings)
9967 (window--resize-this-window, adjust-window-trailing-edge)
9968 (split-window, balance-windows-1)
9969 (shrink-window-if-larger-than-buffer):
9970 * calendar/calendar.el (calendar-generate-window):
9971 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9972
9973 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9976 in place (bug#9907).
9977 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9978 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9979 (eshell-structure-basic-command, eshell-rewrite-while-command)
9980 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9981 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9982 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9983 (eshell-do-pipelines-synchronously, eshell-eval-command):
9984 Use backquotes and prefer setq to set.
9985 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9986 (eshell-macrop): Use functionp.
9987 (eshell-do-eval): Handle multiple expressions in `while' body.
9988
9989 2011-10-30 Chong Yidong <cyd@gnu.org>
9990
9991 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9992 instead of set-mark (Bug#9810).
9993
9994 2011-10-30 Chong Yidong <cyd@gnu.org>
9995
9996 * window.el (split-window-below, split-window-right): Rename from
9997 split-window-above-each-other and split-window-side-by-side
9998 respectively. All callers changed.
9999 (split-window-sensibly, split-window-sensibly): Use them.
10000 (split-window-keep-point): Doc fix.
10001
10002 * isearch.el: Add isearch-scroll property to split-window-below
10003 and split-window-right.
10004
10005 * follow.el (follow-mode):
10006 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10007 * progmodes/ada-xref.el (ada-gdb-application):
10008 * emulation/vip.el (vip-buffer-in-two-windows):
10009 * image-dired.el (image-dired-dired-with-window-configuration):
10010 * dired-x.el (dired-do-find-marked-files):
10011 * dired.el (dired-pop-to-buffer):
10012 * bs.el (bs--show-with-configuration):
10013 * vc/emerge.el (emerge-setup-windows):
10014 * textmodes/two-column.el (2C-two-columns):
10015 * textmodes/reftex-toc.el (reftex-toc):
10016 * progmodes/gdb-mi.el (gdb-setup-windows):
10017 * progmodes/fortran.el (fortran-window-create):
10018 * net/newst-treeview.el (newsticker--treeview-window-init):
10019 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10020 * emulation/tpu-edt.el (tpu-gold-map):
10021 * emulation/crisp.el (crisp-mode-map):
10022 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10023
10024 2011-10-29 Chong Yidong <cyd@gnu.org>
10025
10026 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10027
10028 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10029
10030 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10031 forged Ispell output (Bug#7904).
10032
10033 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10034
10035 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * doc-view.el: Avoid ugly errors about not finding nil.
10038 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10039 (doc-view-dvipdf-program, doc-view-unoconv-program)
10040 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10041 Avoid nil or absolute file name as default value.
10042 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10043
10044 2011-10-28 Alan Mackenzie <acm@muc.de>
10045
10046 * progmodes/cc-defs.el (c-version): -> 5.32.2.
10047
10048 2011-10-28 Alan Mackenzie <acm@muc.de>
10049
10050 Amend the handling of c-beginning/end-of-defun in nested declaration
10051 scopes.
10052
10053 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10054 cc-langs.el. Change it to a defcustom.
10055
10056 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10057 cc-vars.el.
10058
10059 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10060 Prevent "class foo : bar" being spuriously recognized as a label.
10061
10062 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10063 Add parameter `inclusive' (to include enclosing braces in the region).
10064 (c-widen-to-enclosing-decl-scope): New function.
10065 (c-while-widening-to-decl-block): New macro.
10066 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10067 outward for defun boundaries, and correspondingly change symbol
10068 `respect-enclosure' to `go-outward'.
10069 (c-declaration-limits): Change algorithm to report only the "innermost"
10070 defun's boundaries.
10071
10072 2011-10-28 Deniz Dogan <deniz@dogan.se>
10073
10074 * net/rcirc.el (rcirc-mode): Use hard newlines.
10075
10076 2011-10-28 Alan Mackenzie <acm@muc.de>
10077
10078 Amend to indent and fontify macros "which include their own semicolon"
10079 correctly, using the "virtual semicolon" mechanism.
10080
10081 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10082
10083 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10084 Recode to scan one line at a time rather than having \n and \r
10085 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10086 (c-forward-label): Amend for virtual semicolons.
10087 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10088
10089 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10090 of the new C macros.
10091
10092 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10093 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10094 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10095 (c-opt-cpp-macro-define): Make into a full language variable.
10096 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10097 AWK Mode (including \n, \r) removed, no longer needed.
10098
10099 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10100 Invoke c-make-macro-with-semi-re.
10101
10102 * progmodes/cc-vars.el (c-macro-with-semi-re):
10103 (c-macro-names-with-semicolon): New variables.
10104 (c-make-macro-with-semi-re): New function.
10105
10106 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10107
10108 * vc/log-edit.el: Fill empty field rather than adding new one.
10109 (log-edit-add-field): New function.
10110 (log-edit-insert-changelog): Use it.
10111
10112 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10113
10114 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10115
10116 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10119 (gdb--check-interpreter): New function.
10120 (gdb): Use it.
10121
10122 2011-10-27 Glenn Morris <rgm@gnu.org>
10123
10124 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10125 (least-positive-float, least-negative-float)
10126 (least-positive-normalized-float, least-negative-normalized-float)
10127 (float-epsilon, float-negative-epsilon):
10128 Remove unnecessary declarations.
10129
10130 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10131 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10132 (least-positive-float, least-negative-float)
10133 (least-positive-normalized-float, least-negative-normalized-float)
10134 (float-epsilon, float-negative-epsilon): Add doc-strings,
10135 based on those in cl.texi.
10136
10137 * files.el (set-visited-file-name): If the major-mode changed,
10138 reload the local variables. (Bug#9796)
10139
10140 2011-10-27 Chong Yidong <cyd@gnu.org>
10141
10142 * subr.el (change-major-mode-after-body-hook): New hook.
10143 (run-mode-hooks): Run it.
10144
10145 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10146 Use change-major-mode-before-body-hook.
10147
10148 * simple.el (fundamental-mode):
10149 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10150 change introducing fundamental-mode-hook.
10151
10152 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10153
10154 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10155
10156 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10157
10158 * ido.el (ido-file-name-all-completions-1): Do not require
10159 tramp.el explicitly. (Bug#7583)
10160
10161 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * progmodes/octave-mod.el:
10164 * progmodes/octave-inf.el: Update maintainer.
10165
10166 2011-10-26 Chong Yidong <cyd@gnu.org>
10167
10168 * subr.el (with-wrapper-hook): Rewrite doc.
10169
10170 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10171
10172 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10173 filenames "/method:foo:". (Bug#9793)
10174
10175 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10178 (bug#9865).
10179
10180 2011-10-24 Glenn Morris <rgm@gnu.org>
10181
10182 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10183
10184 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10185
10186 * notifications.el: Add the requirement of a running D-Bus session
10187 bus to the Commentary.
10188
10189 2011-10-24 Juri Linkov <juri@jurta.org>
10190
10191 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10192 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10193 (Bug#9364)
10194
10195 2011-10-24 Juri Linkov <juri@jurta.org>
10196
10197 * info.el (Info-following-node-name-re): Add newline to the list
10198 of allowed characters for leading space. (Bug#9824)
10199
10200 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 * progmodes/octave-inf.el (inferior-octave-mode-map):
10203 Fix C-c C-h binding.
10204 * progmodes/octave-mod.el (octave-help): Remove.
10205
10206 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10207
10208 Sync with Tramp 2.2.3.
10209
10210 * net/tramp-cache.el (top): Pacify byte-compiler using
10211 `init-file-user' and `site-run-file'.
10212
10213 * net/trampver.el: Update release number.
10214
10215 2011-10-23 Chong Yidong <cyd@gnu.org>
10216
10217 * files.el (toggle-read-only): Remove obsolete comment about
10218 version control.
10219
10220 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10221 for toggle-read-only. Note that this hasn't called vc-next-action
10222 since 2008-05-02, though it wasn't documented at the time.
10223
10224 * vc/ediff-init.el (ediff-toggle-read-only-function):
10225 Use toggle-read-only.
10226
10227 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10228
10229 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10230 of c-parse-state.
10231
10232 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10233 correct faulty logical expression.
10234 (c-parse-state-state, c-record-parse-state-state):
10235 (c-replay-parse-state-state): New defvar/defuns.
10236 (c-debug-parse-state): Use new functions.
10237
10238 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10239
10240 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10241 last fix. Use window-in-direction correctly.
10242
10243 2011-10-21 Chong Yidong <cyd@gnu.org>
10244
10245 * progmodes/idlwave.el (idlwave-mode):
10246 * progmodes/vera-mode.el (vera-mode): No need to set
10247 require-final-newline; that's done in prog-mode.
10248 Suggested by Stefan Monnier.
10249
10250 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10251
10252 * mouse.el (mouse-drag-window-above)
10253 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10254 (mouse-drag-mode-line-1, mouse-drag-header-line)
10255 (mouse-drag-vertical-line-rightward-window): Remove.
10256 (mouse-drag-line): New function.
10257 (mouse-drag-mode-line, mouse-drag-header-line)
10258 (mouse-drag-vertical-line): Call mouse-drag-line.
10259 * window.el (window-at-side-p, windows-at-side): New functions.
10260
10261 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
10262
10263 * tar-mode.el (tar-grind-file-mode):
10264 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10265
10266 2011-10-21 Chong Yidong <cyd@gnu.org>
10267
10268 * progmodes/idlwave.el (idlwave-mode):
10269 * progmodes/vera-mode.el (vera-mode):
10270 Use mode-require-final-newline.
10271
10272 2011-10-20 Glenn Morris <rgm@gnu.org>
10273
10274 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
10275
10276 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10277
10278 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10279
10280 2011-10-20 Chong Yidong <cyd@gnu.org>
10281
10282 * emulation/cua-base.el (cua-mode):
10283 * mail/footnote.el (footnote-mode):
10284 * mail/mailabbrev.el (mail-abbrevs-mode):
10285 * net/xesam.el (xesam-minor-mode):
10286 * progmodes/bug-reference.el (bug-reference-mode):
10287 * progmodes/cap-words.el (capitalized-words-mode):
10288 * progmodes/compile.el (compilation-minor-mode)
10289 (compilation-shell-minor-mode):
10290 * progmodes/gud.el (gud-tooltip-mode):
10291 * progmodes/hideif.el (hide-ifdef-mode):
10292 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10293 * progmodes/subword.el (subword-mode):
10294 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10295 * progmodes/which-func.el (which-function-mode):
10296 * term/tvi970.el (tvi970-set-keypad-mode):
10297 * term/vt100.el (vt100-wide-mode):
10298 * textmodes/flyspell.el (flyspell-mode):
10299 * textmodes/ispell.el (ispell-minor-mode):
10300 * textmodes/nroff-mode.el (nroff-electric-mode):
10301 * textmodes/paragraphs.el (use-hard-newlines):
10302 * textmodes/refill.el (refill-mode):
10303 * textmodes/reftex.el (reftex-mode):
10304 * textmodes/rst.el (rst-minor-mode):
10305 * textmodes/sgml-mode.el (html-autoview-mode)
10306 (sgml-electric-tag-pair-mode):
10307 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10308 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10309 * emulation/crisp.el (crisp-mode):
10310 * emacs-lisp/eldoc.el (eldoc-mode):
10311 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10312 minor mode behavior.
10313
10314 2011-10-19 Juri Linkov <juri@jurta.org>
10315
10316 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10317 the list of hard-coded chars with escape-glyph face.
10318
10319 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10322
10323 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10326 running process.
10327
10328 2011-10-19 Glenn Morris <rgm@gnu.org>
10329
10330 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10331 Ignore ignored files. (Bug#9726)
10332
10333 2011-10-19 Chong Yidong <cyd@gnu.org>
10334
10335 Doc fix for minor modes, stating that an omitted argument enables
10336 the mode unconditionally when called from Lisp.
10337
10338 * abbrev.el (abbrev-mode):
10339 * allout.el (allout-mode):
10340 * autoinsert.el (auto-insert-mode):
10341 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10342 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10343 (global-auto-revert-mode):
10344 * battery.el (display-battery-mode):
10345 * composite.el (global-auto-composition-mode)
10346 (auto-composition-mode):
10347 * delsel.el (delete-selection-mode):
10348 * desktop.el (desktop-save-mode):
10349 * dired-x.el (dired-omit-mode):
10350 * dirtrack.el (dirtrack-mode):
10351 * doc-view.el (doc-view-minor-mode):
10352 * double.el (double-mode):
10353 * electric.el (electric-indent-mode, electric-pair-mode):
10354 * emacs-lock.el (emacs-lock-mode):
10355 * epa-hook.el (auto-encryption-mode):
10356 * follow.el (follow-mode):
10357 * font-core.el (font-lock-mode):
10358 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10359 * help.el (temp-buffer-resize-mode):
10360 * hilit-chg.el (highlight-changes-mode)
10361 (highlight-changes-visible-mode):
10362 * hi-lock.el (hi-lock-mode):
10363 * hl-line.el (hl-line-mode, global-hl-line-mode):
10364 * icomplete.el (icomplete-mode):
10365 * ido.el (ido-everywhere):
10366 * image-file.el (auto-image-file-mode):
10367 * image-mode.el (image-minor-mode):
10368 * iswitchb.el (iswitchb-mode):
10369 * jka-cmpr-hook.el (auto-compression-mode):
10370 * linum.el (linum-mode):
10371 * longlines.el (longlines-mode):
10372 * master.el (master-mode):
10373 * mb-depth.el (minibuffer-depth-indicate-mode):
10374 * menu-bar.el (menu-bar-mode):
10375 * minibuf-eldef.el (minibuffer-electric-default-mode):
10376 * mouse-sel.el (mouse-sel-mode):
10377 * msb.el (msb-mode):
10378 * mwheel.el (mouse-wheel-mode):
10379 * outline.el (outline-minor-mode):
10380 * paren.el (show-paren-mode):
10381 * recentf.el (recentf-mode):
10382 * reveal.el (reveal-mode, global-reveal-mode):
10383 * rfn-eshadow.el (file-name-shadow-mode):
10384 * ruler-mode.el (ruler-mode):
10385 * savehist.el (savehist-mode):
10386 * scroll-all.el (scroll-all-mode):
10387 * scroll-bar.el (scroll-bar-mode):
10388 * server.el (server-mode):
10389 * shell.el (shell-dirtrack-mode):
10390 * simple.el (auto-fill-mode, transient-mark-mode)
10391 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10392 (line-number-mode, column-number-mode, size-indication-mode)
10393 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10394 * strokes.el (strokes-mode):
10395 * time.el (display-time-mode):
10396 * t-mouse.el (gpm-mouse-mode):
10397 * tool-bar.el (tool-bar-mode):
10398 * tooltip.el (tooltip-mode):
10399 * type-break.el (type-break-mode-line-message-mode)
10400 (type-break-query-mode):
10401 * view.el (view-mode):
10402 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10403 (global-whitespace-mode, global-whitespace-newline-mode):
10404 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10405
10406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10407 Fix autogenerated docstring.
10408
10409 2011-10-19 Juri Linkov <juri@jurta.org>
10410
10411 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10412 by checking environment variables "DESKTOP_SESSION" and
10413 "XDG_CURRENT_DESKTOP". (Bug#9779)
10414
10415 2011-10-19 Juri Linkov <juri@jurta.org>
10416
10417 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10418 (browse-url-chromium-program, browse-url-chromium-arguments):
10419 New defcustoms.
10420 (browse-url-default-browser): Check for `browse-url-chromium' and
10421 call `browse-url-chromium-program'.
10422 (browse-url-chromium): New command. (Bug#9779)
10423
10424 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * facemenu.el (list-colors-duplicates): On Windows, detect more
10427 duplicates by assuming that only colors matching "^System" are
10428 special "system colors". (Bug#9722)
10429
10430 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10433 to distinguish the author from the committer.
10434
10435 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10436
10437 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10438
10439 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10440
10441 * international/mule.el (sgml-html-meta-auto-coding-function):
10442 Add support for detecting encoding in HTML5 specified only as
10443 <meta charset="UTF-8">. Implementation just makes http-equiv and
10444 content-type parts from HTML4 encoding string optional. (Bug#9716)
10445
10446 2011-10-18 Glenn Morris <rgm@gnu.org>
10447
10448 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10449
10450 2011-10-18 Chong Yidong <cyd@gnu.org>
10451
10452 * faces.el (cursor): Doc fix.
10453
10454 2011-10-17 Chong Yidong <cyd@gnu.org>
10455
10456 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10457
10458 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10459
10460 * dirtrack.el (dirtrack): Support shell buffers with path
10461 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10462
10463 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10464
10465 * json.el: Bump version to 1.3 and note change in History.
10466 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10467
10468 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * comint.el (comint-insert-input, comint-send-input)
10471 (comint-get-old-input-default, comint-backward-matching-input)
10472 (comint-next-prompt): Use nil instead of `input' for field property of
10473 past user input (bug#114).
10474
10475 * minibuffer.el (completion--replace): Inherit surrounding properties
10476 (bug#114).
10477 (minibuffer-complete-and-exit): Use it.
10478
10479 * comint.el (comint--table-subvert): Quote the all-completions output
10480 (bug#9160).
10481
10482 2011-10-17 Martin Rudalics <rudalics@gmx.at>
10483
10484 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10485
10486 * menu-bar.el (menu-bar-file-menu): Add entry for making new
10487 window on right of selected. (Bug#9350) Reword other window
10488 entries and separate them from frame entries.
10489
10490 2011-10-15 Glenn Morris <rgm@gnu.org>
10491
10492 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10493 Doc fixes.
10494
10495 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
10496
10497 * net/network-stream.el (network-stream-open-starttls):
10498 Improve detection of failure due to lack of TLS support.
10499
10500 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10501 putting the input text in front and in bold.
10502
10503 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10506
10507 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10508 empty buffer.
10509
10510 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10511 unread-command-events rather than pushing yet-another event.
10512
10513 2011-10-14 Eli Zaretskii <eliz@gnu.org>
10514
10515 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10516 the explanation of the possible choices. Make the options passed
10517 to completing-read shorter.
10518
10519 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10520
10521 * textmodes/flyspell.el (flyspell-large-region): Make sure
10522 extended character mode is used if defined (Bug#1339).
10523
10524 2011-10-13 Eli Zaretskii <eliz@gnu.org>
10525
10526 * simple.el (what-cursor-position): Fix the display of the
10527 character info for LRE, LRO, RLE, and RLO characters by appending
10528 an invisible PDF.
10529
10530 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10533 even in case of error; add debug spec; simplify data flow.
10534 (with-timeout-handler): Remove.
10535
10536 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
10537
10538 Fix Bug#6019, Bug#9315.
10539
10540 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10541 complete `buffer-file-name', the local file name part could look
10542 remotely (for example on VMS).
10543
10544 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10545 `tramp-run-real-handler'.
10546 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10547 already quoted by '"'.
10548
10549 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10550 Let `file-name-handler-alist' be nil, the local file name part
10551 could look remotely (for example on VMS).
10552
10553 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10556 from here...
10557 (flyspell-post-command-hook): ...to here.
10558
10559 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10562 if not needed.
10563 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10564 using completion. Protect against "slow" callers.
10565 Remove the "message hack".
10566
10567 2011-10-11 Juri Linkov <juri@jurta.org>
10568
10569 * isearch.el (isearch-lazy-highlight-word): New variable.
10570 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10571 Use it. (Bug#9727)
10572
10573 2011-10-11 Glenn Morris <rgm@gnu.org>
10574
10575 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10576 like f90-previous-statement does.
10577
10578 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10579
10580 * eshell/eshell.el (eshell-command): History should be saved
10581 only in interactive use, to avoid error.
10582
10583 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10584
10585 * minibuffer.el (completion-file-name-table): Fix last change,
10586 i.e. ignore normal errors but not the other ones.
10587
10588 2011-10-10 Martin Rudalics <rudalics@gmx.at>
10589
10590 * window.el (special-display-buffer-names)
10591 (special-display-regexps): Remove some remnants of earlier
10592 changes from doc-strings.
10593 (quit-windows-on): New function.
10594
10595 * vc/vc.el (vc-revert, vc-rollback):
10596 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10597 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
10598 (Bug#6183) (Bug#7074) (Bug#7447)
10599
10600 2011-10-09 Martin Rudalics <rudalics@gmx.at>
10601
10602 * window.el (frame-auto-hide-function): Add version tag.
10603 (Bug#9699)
10604
10605 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
10606
10607 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10608 condition.
10609
10610 2011-10-09 Leo Liu <sdl.web@gmail.com>
10611
10612 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10613 (Bug#9701)
10614
10615 2011-10-08 Glenn Morris <rgm@gnu.org>
10616
10617 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10618 before the first code statement zero indent. (Bug#9690)
10619
10620 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
10621
10622 * simple.el (count-words-region): Always count in the region.
10623 Report the number of lines and characters too.
10624 (count-words): New command, which counts in the buffer if the
10625 region is inactive, as count-words-region used to.
10626 (count-words--message): New function. Handle plurals.
10627 (count-lines-region): Make it an alias for count-words-region.
10628
10629 * bindings.el (esc-map): Replace count-lines-region with
10630 count-words-region.
10631
10632 2011-10-08 Martin Rudalics <rudalics@gmx.at>
10633
10634 * window.el (window--delete): Delete dedicated frame
10635 unconditionally when argument KILL is non-nil. (Bug#9699)
10636 (switch-to-buffer): Fix doc-string typo.
10637
10638 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10639
10640 * eshell/eshell.el (eshell-command): Avoid using hooks.
10641
10642 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
10643
10644 * bindings.el ([M-left],[M-right]): Bind to left-word and
10645 right-word respectively.
10646
10647 2011-10-07 Glenn Morris <rgm@gnu.org>
10648
10649 * cus-start.el (debug-on-quit): Fix custom type.
10650
10651 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10652
10653 * subr.el (define-key-after): Clarify that the function is not
10654 useful for non-menu keymaps.
10655
10656 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10657
10658 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10659
10660 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10661 in current minibuffer (Fix bug with recursive minibuffers).
10662
10663 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
10664
10665 * progmodes/gdb-mi.el (gdb): Doc fix.
10666
10667 2011-10-05 Martin Rudalics <rudalics@gmx.at>
10668
10669 * window.el (frame-auto-hide-function): New option replacing
10670 frame-auto-delete. Suggested by Stefan Monnier.
10671 (window--delete): Call frame-auto-hide-function instead of
10672 investigating frame-auto-delete.
10673 (window-point-1, set-window-point-1): New functions.
10674 (window-in-direction, record-window-buffer, window-state-get-1)
10675 (display-buffer-record-window): Use window-point-1 instead of
10676 window-point.
10677 (set-window-buffer-start-and-point): Use set-window-point-1.
10678
10679 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10680
10681 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10682
10683 2011-10-05 Glenn Morris <rgm@gnu.org>
10684
10685 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10686 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10687
10688 2011-10-05 Leo Liu <sdl.web@gmail.com>
10689
10690 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10691 works with buffer object.
10692
10693 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * mpc.el (mpc-tool-bar-map): Add labels.
10696
10697 2011-10-04 Glenn Morris <rgm@gnu.org>
10698
10699 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10700
10701 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10702
10703 * window.el (window--delete): New function.
10704 (frame-auto-delete): Resuscitate option.
10705 (bury-buffer, replace-buffer-in-windows)
10706 (quit-window): Rewrite using window--delete.
10707 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10708 Pass display-buffer-mark-dedicated to window--display-buffer-2
10709 (Bug#9639).
10710
10711 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10714 returns a list (bug#9554). Add remote file name completion.
10715 * comint.el (comint--table-subvert): Curry and get quote&unquote
10716 functions as arguments.
10717 (comint--complete-file-name-data): Adjust call accordingly.
10718 * pcomplete.el (pcomplete--table-subvert): Remove.
10719 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10720
10721 * minibuffer.el (completion-table-case-fold): Use currying.
10722 (completion--styles-type, completion--cycling-threshold-type):
10723 New constants.
10724 (completion-styles, completion-category-overrides)
10725 (completion-cycle-threshold): Use them.
10726 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10727 completion-table-case-fold.
10728
10729 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10730
10731 * minibuffer.el (completion-category-overrides): Fix type of styles
10732 and add more user friendly tags (bug#9660).
10733
10734 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10737 (mule-input-method-string): New widget.
10738 (default-input-method, language-info-custom-alist): Use it.
10739
10740 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * pcomplete.el: Require comint.
10743 (pcomplete--common-suffix): Remove.
10744 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10745 (pcomplete--table-subvert): Sync with comint--table-subvert.
10746 (pcomplete--entries): Use comint-completion-file-name-table.
10747 * comint.el (comint-unquote-filename): Simplify.
10748 (comint-completion-file-name-table): New function (bug#9616).
10749 (comint--complete-file-name-data): Use it.
10750
10751 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10752 (pcmpl-gnu-tar-buffer): Remove.
10753 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10754 around. Make sure pcomplete-suffix-list is only changed temporarily.
10755 Don't look inside the tar's file if it's too large.
10756
10757 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10758
10759 * cus-edit.el (custom-mode-map):
10760 * epa.el (epa-key-list-mode-map):
10761 * man.el (Man-mode-map):
10762 * startup.el (splash-screen-keymap):
10763 * simple.el (special-mode-map): Use scroll-up-command and
10764 scroll-down-command.
10765
10766 * progmodes/idlw-help.el (idlwave-help-mode-map):
10767 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10768 * net/newst-plainview.el (newsticker-mode-map):
10769 * emulation/ws-mode.el (wordstar-mode-map):
10770 * emulation/vi.el (vi-com-map):
10771 * calc/calc-graph.el (calc-graph-show-dumb):
10772 * term/sun.el (terminal-init-sun):
10773 * term/ns-win.el (global-map):
10774 * progmodes/grep.el (grep-mode-map):
10775 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10776 * mail/rmail.el (rmail-mode-map):
10777 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10778
10779 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10780 custom-safe-themes as special.
10781
10782 2011-10-01 Julien Danjou <julien@danjou.info>
10783
10784 * notifications.el (notifications-notify): Fix docstring.
10785
10786 2011-10-01 Per Starbäck <per@starback.se>
10787
10788 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10789
10790 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10791
10792 * startup.el (command-line-1): Fix last fix by inserting
10793 initial-scratch-message into *scratch* before displaying it.
10794 (Bug#9605) and (Bug#9636)
10795
10796 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10797
10798 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10799 window is hscrolled, move by logical lines. (Bug#9607)
10800 (line-move-visual): Update the doc string to the above effect.
10801
10802 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10803
10804 * window.el (display-buffer-record-window): When WINDOW is the
10805 selected window use `point' instead of `window-point'. (Bug#9626)
10806
10807 * startup.el (command-line-1): Use insert-before-markers when
10808 inserting initial-scratch-message. (Bug#9605)
10809
10810 * help.el (help-window): Remove variable.
10811
10812 2011-09-29 Glenn Morris <rgm@gnu.org>
10813
10814 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10815
10816 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10817
10818 * descr-text.el (describe-char-categories): Accept category
10819 descriptions more than one line long.
10820
10821 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * simple.el (delete-trailing-whitespace): Fix last change.
10824
10825 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10826 Don't confuse "y => 3" as the beginning of a `y' operation.
10827
10828 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10829 object has more than 4 slots (bug#9613).
10830
10831 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * subr.el (with-output-to-temp-buffer):
10834 * net/quickurl.el (quickurl, quickurl-browse-url):
10835 Fix typos in docstrings.
10836
10837 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10838
10839 * minibuffer.el (completion-styles)
10840 (completion-category-overrides): Cross reference each other in doc
10841 strings.
10842
10843 2011-09-27 Glenn Morris <rgm@gnu.org>
10844
10845 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10846 to split-string. (Bug#9606)
10847
10848 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10849
10850 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10851 (bug#9615).
10852
10853 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10854
10855 * emacs-lisp/package.el (list-packages): Fix echo area message.
10856
10857 2011-09-27 Leo Liu <sdl.web@gmail.com>
10858
10859 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10860
10861 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10862
10863 * net/dbus.el (dbus-unregister-object): Don't release services for
10864 registered signals. (Bug#9581)
10865
10866 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10867
10868 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10869 function that picks between cfengine 2 and 3 support
10870 automatically. Update docs accordingly.
10871
10872 2011-09-22 Kenichi Handa <handa@m17n.org>
10873
10874 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10875 ZERO.
10876 (indian-itrans-v5-table-for-tamil): New variable.
10877 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10878
10879 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10880
10881 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10882 that's true if the current command involved collapsing of text.
10883 It's reset to false at the beginning of the next command.
10884 (allout-post-command-business): Move the cursor to the beginning
10885 of entry if the cursor is hidden and collapsing activity just
10886 happened.
10887
10888 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10889
10890 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10891 tracking (Bug#9541).
10892
10893 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10894
10895 * net/newst-reader.el (newsticker-html-renderer)
10896 (newsticker-show-news): Automatically load html rendering package
10897 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10898 because w3m-fill-column is let-bound" and the error "Symbol's value
10899 as variable is void: w3m-fill-column".
10900
10901 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10902
10903 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10904 Release services only if they are defined. (Bug#9581)
10905
10906 2011-09-23 Richard Stallman <rms@gnu.org>
10907
10908 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10909 distinguish start of paragraph from start of its text.
10910
10911 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10912
10913 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10914 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10915 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10916
10917 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10918
10919 * international/mule-diag.el (mule-diag): Insert a newline after
10920 each fontset description.
10921
10922 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * simple.el (delete-trailing-whitespace):
10925 Document last change; simplify.
10926
10927 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10928
10929 * simple.el (delete-trailing-whitespace): Also delete
10930 extra newlines at the end of the buffer.
10931
10932 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10933 (picture-newline): Use forward-line so as to ignore fields.
10934
10935 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * subr.el (with-wrapper-hook): Fix edebug spec.
10938
10939 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10940
10941 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10942 (bug#4538).
10943
10944 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10945
10946 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10947 Fix nasty bug using wrong cached values.
10948
10949 2011-09-23 Alan Mackenzie <acm@muc.de>
10950
10951 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10952
10953 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10954
10955 * window.el (pop-to-buffer): Ensure right window is selected if we
10956 chose another frame.
10957
10958 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10959
10960 * simple.el (what-cursor-position): Use get-char-property-change
10961 and next-single-char-property-change, to be able to show display
10962 properties that come from overlays as well as text properties.
10963
10964 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10965
10966 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10967
10968 * cmuscheme.el (run-scheme, switch-to-scheme):
10969 * cus-edit.el (customize-group, custom-buffer-create)
10970 (customize-browse):
10971 * info.el (info):
10972 * shell.el (shell):
10973 * mail/sendmail.el (mail):
10974 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10975
10976 2011-09-22 Richard Stallman <rms@gnu.org>
10977
10978 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10979 move back only to line beg, don't move back over blank lines.
10980
10981 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10982
10983 * files.el (copy-directory): Set directory attributes only in case
10984 they could be retrieved from the source directory. (Bug#9565)
10985
10986 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10987
10988 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10989 (hs-find-block-beginning, hs-hide-level-recursive):
10990 Ignore strings as well as comments. (Bug#9502)
10991
10992 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10993
10994 * progmodes/sql.el (sql-comint-postgres):
10995 Convert port number to a string. (Bug#9566)
10996
10997 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10998
10999 * window.el (quit-window): Undedicate window when switching to
11000 previous buffer. Reported by Thierry Volpiatto
11001 <thierry.volpiatto@gmail.com>.
11002 (special-display-popup-frame): When popping up a new frame reset
11003 its previous buffers to nil. Simplify code.
11004
11005 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
11006
11007 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11008 and process filter, as done also in `shell-command'.
11009
11010 2011-09-21 Martin Rudalics <rudalics@gmx.at>
11011
11012 * window.el (set-window-buffer-start-and-point):
11013 Call set-window-start with NOFORCE argument t.
11014 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11015 (quit-window): Reword doc-string. Handle new format of
11016 quit-restore parameter. Don't delete window if it has a
11017 previous buffer we can show instead of the present one.
11018 (display-buffer-record-window): Rewrite using a new format for
11019 the quit-restore window parameter
11020 (special-display-popup-frame, display-buffer-same-window)
11021 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11022 (display-buffer-pop-up-window, display-buffer-use-some-window):
11023 Adapt symbol passed to display-buffer-record-window.
11024 * help.el (help-window-setup): Handle new format of quit-restore
11025 parameter.
11026
11027 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * faces.el (face-list): Fix docstring (bug#9564).
11030
11031 * window.el (display-buffer--action-function-custom-type):
11032 Don't include internal functions in the Custom interface.
11033
11034 2011-09-20 Juri Linkov <juri@jurta.org>
11035
11036 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11037 (Info-forward-node, Info-backward-node, Info-next-preorder)
11038 (Info-last-preorder): Use it. (Bug#9528)
11039
11040 2011-09-20 Juri Linkov <juri@jurta.org>
11041
11042 * info.el (Info-last-preorder): Visit last menu item only when
11043 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11044
11045 2011-09-20 Julien Danjou <julien@danjou.info>
11046
11047 * password-cache.el (password-cache-remove): Remove entries even if the
11048 value is nil, so that password with a nil value (negative caching) is
11049 possible to invalidate.
11050
11051 2011-09-20 Lawrence Mitchell <wence@gmx.li>
11052
11053 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11054 all whitespace around breakpoint. (Bug#9553)
11055 (f90-find-breakpoint): Only break at whitespace inside a comment.
11056
11057 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * minibuffer.el (completion-file-name-table): Keep track of errors.
11060 (completion-table-with-predicate): Handle the case where pred1 is nil.
11061 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11062
11063 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11066 (debugger-return-value): Signal an error if the debugging context does
11067 not await any return value.
11068
11069 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11070 * image-mode.el (image-toggle-display-text)
11071 (image-toggle-display-image): Stay away from evil `intangible'.
11072
11073 2011-09-19 Leo Liu <sdl.web@gmail.com>
11074
11075 * replace.el (occur-revert-arguments): Make it permanent-local.
11076 (occur-mode): Don't call font-lock-defontify.
11077
11078 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
11079
11080 * net/ldap.el (ldap-search-internal): Don't push empty search
11081 result (Bug#9508).
11082
11083 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11086
11087 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
11088
11089 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11090 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11091
11092 2011-09-18 Juri Linkov <juri@jurta.org>
11093
11094 * buff-menu.el (Buffer-menu-mode-map):
11095 * dired.el (dired-mode-map):
11096 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11097 (lisp-interaction-mode-map):
11098 * emacs-lisp/package.el (package-menu-mode-map):
11099 * epa.el (epa-key-list-mode-map):
11100 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11101 (menu-bar-options-menu):
11102 * outline.el (outline-mode-menu-bar-map):
11103 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11104 * vc/vc-dir.el (vc-dir-menu-map):
11105 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11106 Capitalize non-function content words in menu item strings.
11107
11108 * dired.el (dired-mode-map): Add menu item for
11109 `image-dired-dired-toggle-marked-thumbs'.
11110
11111 2011-09-18 Juri Linkov <juri@jurta.org>
11112
11113 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11114 to `isearch-case-fold-search' and restore its original value
11115 after the `isearch-mode' call.
11116
11117 2011-09-18 Juri Linkov <juri@jurta.org>
11118
11119 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11120 because `zgrep' returns 1 for successful matches (bug#9226).
11121
11122 2011-09-18 Juri Linkov <juri@jurta.org>
11123
11124 * info.el (Info-extract-menu-node-name): Check the second match
11125 for empty string (second test-case of bug#9528).
11126 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11127 intermediate nodes to the history (first test-case of bug#9528).
11128
11129 2011-09-18 Juri Linkov <juri@jurta.org>
11130
11131 * info.el (Info-mode-syntax-table): New variable.
11132 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11133
11134 2011-09-18 Juri Linkov <juri@jurta.org>
11135
11136 * info.el (Info-file-supports-index-cookies):
11137 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11138 outputs one more line for long file names (bug#4142).
11139
11140 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11141
11142 * newcomment.el (comment-normalize-vars): If prompting for
11143 comment-start, set comment-start-skip too (Bug#8424).
11144
11145 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11146
11147 * icomplete.el: Fix previous fix of Bug#5849.
11148 (icomplete-mode): Don't set completion-show-inline-help.
11149 (icomplete-minibuffer-setup): Set completion-show-inline-help
11150 locally during icompletion.
11151
11152 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11153
11154 * woman.el (woman2-process-escapes): Don't delete unrecognized
11155 escapes (Bug#7843).
11156
11157 * files.el (inhibit-first-line-modes-regexps): Add image files.
11158 (hack-local-variables-prop-line): Return nil for malformed
11159 prop-lines (Bug#9044).
11160
11161 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11162
11163 * net/tramp.el (top): Don't require 'shell.
11164 (tramp-methods): Fix docstring.
11165 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11166 Return complete remote file name. Handle "smb" case.
11167 Use `tramp-tmpdir', if defined for the respective method.
11168 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11169
11170 * net/tramp-compat.el (top): Require 'shell.
11171
11172 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11173 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11174 `tramp-current-host'.
11175 (tramp-get-remote-tmpdir): Remove.
11176
11177 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11178 `tramp-tmpdir' entries.
11179 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11180 (tramp-smb-handle-file-attributes): Ignore errors.
11181 (tramp-smb-wait-for-output): Check also for process end.
11182
11183 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11184
11185 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11186 when sending QUIT (bug#9312).
11187
11188 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11189
11190 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11191 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11192 occur-mode-display-occurrence.
11193 (occur-edit-mode): Add usage message.
11194 (occur-cease-edit): New command.
11195 (occur-after-change-function): Use text properties to find the
11196 position of the prefix text.
11197 (occur-engine): Set stickiness of prefix text properties.
11198
11199 2011-09-17 Glenn Morris <rgm@gnu.org>
11200
11201 * progmodes/etags.el (complete-tag):
11202 Fix call to completion-in-region. (Bug#9526)
11203
11204 2011-09-17 Juri Linkov <juri@jurta.org>
11205
11206 * textmodes/ispell.el (ispell-word): Add to the error message
11207 the word, ispell program name and current dictionary (bug#9121).
11208 (ispell-tex-arg-end): Capitalize "error" in the error message.
11209
11210 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11211
11212 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11213 check. (Bug#4251)
11214
11215 2011-09-17 Juri Linkov <juri@jurta.org>
11216
11217 * window.el (window-safe-min-height, window-safe-min-width):
11218 Fix typos (followup to bug#9522).
11219
11220 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11221
11222 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11223
11224 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11225
11226 * simple.el (line-move): If goal-column is set, move by logical
11227 lines, not by display lines. (Bug#971)
11228 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11229 to reflect the above change.
11230
11231 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11232
11233 * image.el (imagemagick-register-types): Use regexp-opt.
11234
11235 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11236
11237 * window.el (display-buffer-base-action): Rename from
11238 display-buffer-default-action. Make default value empty.
11239 (display-buffer-overriding-action): Convert to defvar.
11240 (display-buffer-fallback-action): New var.
11241
11242 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11245 declaration.
11246 (package--add-to-archive-contents): If there is a duplicate entry
11247 with an older version, remove it.
11248 (package-menu-mark-delete, package-menu-mark-install)
11249 (package-menu-mark-unmark): Make unused args optional.
11250 (package-menu-mark-obsolete-for-deletion):
11251 Use package-menu-get-status instead of a regexp search.
11252 (package-menu-get-status): Use tabulated-list-entry.
11253 (package-menu-mark-upgrades): New command.
11254 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11255 (package-menu-execute): Do installation before deletion.
11256 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11257 instead of checking major-mode.
11258 (package-menu--find-upgrades): New function.
11259
11260 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11261
11262 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11263 passwords in the log buffer.
11264 (smtpmail-process-filter): Update the process marker so that the
11265 "broken by peer" status message is inserted in the right place.
11266
11267 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11270 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11271 bibtex-completion-at-point-function.
11272 (bibtex-completion-at-point-function): Use them.
11273
11274 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11275
11276 * mpc.el (mpc-constraints-tag-lookup): New function.
11277 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11278 also to browser "album|playlist".
11279
11280 2011-09-14 Juri Linkov <juri@jurta.org>
11281
11282 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11283 (isearch-edit-string): Use length of `isearch-string' when
11284 `isearch-fail-pos' returns nil.
11285 (isearch-message): Remove duplicate code and call
11286 `isearch-fail-pos' with arg `t'.
11287
11288 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11289
11290 * replace.el (occur-mode-goto-occurrence): Don't force using other
11291 window (Bug#9499).
11292
11293 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11294
11295 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11296
11297 * window.el (display-buffer-window): Remove.
11298 (display-buffer-record-window): Use help-setup window parameter
11299 instead of variable display-buffer-window.
11300 (display-buffer-function, special-display-buffer-names)
11301 (special-display-function): Mention help-setup parameter instead
11302 of display-buffer-window in doc-string.
11303 * help.el (help-window-setup): New argument help-window.
11304 Use help-window-setup parameter instead of display-buffer-window.
11305 Reword some messages.
11306 (with-help-window): Pass window used for displaying the buffer
11307 to help-window-setup. Don't set display-buffer-window.
11308
11309 2011-09-13 Glenn Morris <rgm@gnu.org>
11310
11311 * emacs-lisp/debug.el (debugger-make-xrefs):
11312 Preserve point. (Bug#9462)
11313
11314 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11315
11316 * window.el (window-deletable-p): Use next-frame.
11317
11318 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11319
11320 * window.el (window-auto-delete): Remove.
11321 (window-deletable-p): Remove argument FORCE. Don't deal with
11322 dedication and previous buffers.
11323 (switch-to-prev-buffer): Don't delete window.
11324 (delete-windows-on): Delete a window's frame if and only if the
11325 window is dedicated.
11326 (replace-buffer-in-windows): Delete buffer's window or frame if
11327 and only if window is dedicated.
11328 (quit-window): Handle quit-restore as before last change.
11329 (bury-buffer): Delete window only if window-deletable-p returns t.
11330
11331 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11332
11333 * window.el (window-deletable-p): Never delete the last frame on a
11334 given terminal.
11335
11336 2011-09-13 Glenn Morris <rgm@gnu.org>
11337
11338 * help.el (describe-key-briefly): Copy previous standard-output change.
11339
11340 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11341
11342 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11343
11344 2011-09-13 Glenn Morris <rgm@gnu.org>
11345
11346 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11347 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11348
11349 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11350
11351 * dired-aux.el (dired-mark-read-string): Don't return default
11352 value on empty input (Bug#9361).
11353 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11354 Omit initial minibuffer contents.
11355 (dired-do-chmod): Signal an error on empty input.
11356 (dired-mark-read-string): Don't return default on empty input.
11357
11358 * files.el (file-modes-symbolic-to-number): Doc fix.
11359
11360 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11361
11362 * international/mule-cmds.el (ucs-completions): Remove.
11363 (read-char-by-name): Use complete-with-action instead; add metadata.
11364
11365 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11366
11367 * window.el (display-buffer--action-function-custom-type)
11368 (display-buffer--action-custom-type): New vars.
11369 (display-buffer-alist, display-buffer-default-action)
11370 (display-buffer-overriding-action): Add defcustom types.
11371
11372 * frame.el (delete-other-frames): Doc fix (Bug#276).
11373
11374 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11375
11376 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11377
11378 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11379
11380 Change modes that used same-window-* vars to use switch-to-buffer.
11381
11382 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11383 Use switch-to-buffer.
11384
11385 * cus-edit.el (customize-group, custom-buffer-create)
11386 (customize-browse, custom-buffer-create-other-window):
11387 Use switch-to-buffer or switch-to-buffer-other-window.
11388
11389 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11390 (Info-prev, Info-up, Info-speedbar-goto-node)
11391 (info-display-manual): Use switch-to-buffer.
11392 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11393
11394 * mail/sendmail.el (mail): Use switch-to-buffer.
11395 (mail-recover): Use switch-to-buffer-other-window.
11396
11397 * cmuscheme.el (run-scheme, switch-to-scheme):
11398 * ielm.el (ielm):
11399 * shell.el (shell):
11400 * net/rlogin.el (rlogin):
11401 * net/telnet.el (telnet, rsh):
11402 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11403
11404 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11405
11406 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11407
11408 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11409
11410 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11411 so don't mention it (bug#9301).
11412 (dired-sort-toggle-or-edit): Clarify string further.
11413
11414 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11415 match `x', `w32' and `ns', like the manual says (bug#9029).
11416
11417 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11418 (process-kill-buffer-query-function): Mention the buffer name in
11419 the query.
11420
11421 * image-mode.el (image-next-line): The line parameter is mandatory
11422 (bug#9258).
11423
11424 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11425 which can be useful (bug#9301).
11426
11427 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11428
11429 * subr.el (match-string): Mention that the current buffer should
11430 be the same as the search was done in (bug#9282).
11431
11432 * facemenu.el: Disable the remove-* commands if the mark isn't
11433 active (bug#9162).
11434
11435 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11436
11437 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11438 of display-buffer.
11439 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11440
11441 * replace.el (occur-mode-goto-occurrence)
11442 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11443 and display-buffer.
11444
11445 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11446 display-buffer.
11447
11448 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11449 special-display and same-window variables.
11450 (mail-other-window): Use switch-to-buffer-other-window.
11451 (mail-other-frame): USe switch-to-buffer-other-frame.
11452
11453 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11454 Use display-buffer-other-frame.
11455 (gdb-display-gdb-buffer): Use pop-to-buffer.
11456
11457 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11458
11459 * progmodes/python.el: Don't set same-window-buffer-names.
11460
11461 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11462
11463 * window.el (display-buffer-alist): Add *Python*.
11464
11465 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11466
11467 * window.el (display-buffer-alist): Add entry for buffers
11468 previously handled same-window-*.
11469 (display-buffer-alist, display-buffer-default-action)
11470 (display-buffer-overriding-action): Mark as risky.
11471 (display-buffer-alist): Document action function changes.
11472 (display-buffer--same-window-action)
11473 (display-buffer--other-frame-action): New variables.
11474 (switch-to-buffer, display-buffer-other-frame): Use them.
11475 (display-buffer): Rename reuse-frame entry to reusable-frames.
11476 (display-buffer-reuse-selected-window): Function deleted.
11477 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11478 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11479 (display-buffer-special): New function.
11480 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11481 display-buffer-reuse-or-pop-window. Split off special-display
11482 part into display-buffer-special.
11483 (display-buffer-use-some-window): Don't perform any special
11484 pop-up-frames handling.
11485 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11486 (display-buffer--maybe-same-window): Rename from
11487 display-buffer-maybe-same-window.
11488
11489 * info.el: Don't set same-window-regexps.
11490 (info-setup): New function.
11491 (info-other-window, info): Call it.
11492
11493 * cus-edit.el: Don't set same-window-regexps.
11494 (customize-group): New argument.
11495 (customize-group-other-window): Use it.
11496 (customize-face, customize-face-other-window): Likewise.
11497 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11498
11499 * net/rlogin.el:
11500 * net/telnet.el:
11501 * progmodes/gud.el: Don't set same-window-regexps.
11502
11503 * cmuscheme.el:
11504 * ielm.el:
11505 * shell.el:
11506 * mail/sendmail.el:
11507 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11508
11509 2011-09-10 Juri Linkov <juri@jurta.org>
11510
11511 * isearch.el (isearch-edit-string): Remove obsolete mention of
11512 `C-w' (`isearch-yank-word-or-char') from docstring.
11513 (isearch-query-replace): Fix typo in docstring (bug#9466).
11514
11515 2011-09-10 Juri Linkov <juri@jurta.org>
11516
11517 * paren.el (show-paren-function): Don't show escaped parens.
11518 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11519
11520 2011-09-10 Eli Zaretskii <eliz@gnu.org>
11521
11522 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11523 (mm-default-file-encoding): Remove autoload forms, they are
11524 replaced with autoload cookies in mml.el and mm-encode.el.
11525 (mail-add-attachment): New command.
11526 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11527 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11528 the doc string.
11529 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11530
11531 2011-09-10 Reuben Thomas <rrt@sc3d.org>
11532
11533 * simple.el (count-words-region): Use buffer if there's no region
11534 (bug#9429).
11535
11536 2011-09-09 Juri Linkov <juri@jurta.org>
11537
11538 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11539 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11540 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11541
11542 2011-09-09 Alan Mackenzie <acm@muc.de>
11543
11544 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11545 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11546
11547 2011-09-09 Eli Zaretskii <eliz@gnu.org>
11548
11549 Fix for Savannah bug#9392.
11550 * simple.el (mail-encode-mml): New defvar.
11551
11552 * mail/rmail.el (mail-encode-mml): Add a defvar.
11553 (rmail-enable-mime-composing): Default to t.
11554 (rmail-forward): Use MIME method of forwarding only if both
11555 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11556 Set mail-encode-mml non-nil if the MIME method was used.
11557
11558 * mail/sendmail.el (mml-to-mime): Add autoload form.
11559 (mail-encode-mml): Add a defvar.
11560 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11561 to nil.
11562 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11563 message through mml-to-mime, and reset mail-encode-mml to nil.
11564
11565 2011-09-09 Glenn Morris <rgm@gnu.org>
11566
11567 * woman.el (woman-if-body): When processing an .el block,
11568 do not delete the next .el block as well. (Bug#9447)
11569 (woman-special-characters): Add oq, cq, and hy characters.
11570
11571 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11572
11573 * window.el (window-deletable-p): Make sure window is live before
11574 invoking window-prev-buffers.
11575
11576 2011-09-08 Leo Liu <sdl.web@gmail.com>
11577
11578 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11579
11580 2011-09-08 Juri Linkov <juri@jurta.org>
11581
11582 * progmodes/compile.el (compilation-environment): Make it
11583 a defcustom (bug#8340).
11584
11585 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11586
11587 * window.el (frame-auto-delete): Rename to window-auto-delete.
11588 Make it control auto-deletion of windows and/or frames.
11589 (window-deletable-p): New argument FORCE. Rewrite conditions
11590 for deleting window/frame. (Bug#9419)
11591 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11592 Rewrite handling of case when window/frame can be deleted.
11593 (delete-windows-on): Call window-deletable-p with new FORCE
11594 argument t. (Bug#9456)
11595
11596 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
11597
11598 * help-mode.el (help-mode): Restore autoload.
11599
11600 2011-09-07 Juri Linkov <juri@jurta.org>
11601
11602 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11603 `compilation-environment'. Set buffer-local
11604 `compilation-environment' to `thisenv' later after (funcall mode).
11605 (Bug#8340)
11606
11607 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11608 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11609 instead of replacing its value. (Bug#8340)
11610
11611 2011-09-07 Juri Linkov <juri@jurta.org>
11612
11613 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11614 based on text properties put by `grep-filter' instead of matching
11615 escape sequences.
11616 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11617 to the value of `grep-error-screen-columns' (bug#9438).
11618
11619 2011-09-07 Juri Linkov <juri@jurta.org>
11620
11621 * simple.el (next-error-highlight, next-error-highlight-no-select):
11622 Doc fix (bug#9432).
11623
11624 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11625
11626 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11627 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11628
11629 2011-09-07 Leo Liu <sdl.web@gmail.com>
11630
11631 * net/rcirc.el (rcirc-mode): Conditionally initialize
11632 rcirc-input-ring.
11633
11634 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11635
11636 * emacs-lisp/find-func.el (find-function-C-source): Only set
11637 find-function-C-source-directory after checking that we found a source
11638 file there (bug#9440).
11639
11640 2011-09-06 Alan Mackenzie <acm@muc.de>
11641
11642 * isearch.el (isearch-other-meta-char): Wherever a key list is
11643 unread, "unread" the prefix arg, too. This fixes bug #8901.
11644
11645 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11646
11647 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11648
11649 2011-09-05 Juri Linkov <juri@jurta.org>
11650
11651 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11652
11653 2011-09-05 Juri Linkov <juri@jurta.org>
11654
11655 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11656 keeping point where processing of grep matches begins, and
11657 continue to delete remaining escape sequences from the same point.
11658 (grep-filter): Make leading zero optional in "0?1;31m" because
11659 git-grep emits "\033[1;31m" escape sequences unlike expected
11660 "\033[01;31m" as GNU Grep does (bug#9408).
11661 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11662
11663 2011-09-05 Juri Linkov <juri@jurta.org>
11664
11665 * subr.el (y-or-n-p): Capitalize "yes".
11666
11667 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
11668
11669 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11670 `tramp-cache-unload-hook' where appropriate.
11671 (tramp-methods): Rename `tramp-remote-sh' to
11672 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11673 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11674
11675 * net/tramp-sh.el (top): Don't require 'shell.
11676 (tramp-methods): Add `tramp-remote-shell' and
11677 `tramp-remote-shell-args' entries.
11678 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11679 (tramp-sh-handle-shell-command): Remove.
11680 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11681 Use `tramp-remote-shell'.
11682
11683 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11684
11685 * mail/sendmail.el (sendmail-query-once-function): Delete.
11686 (sendmail-query-once): Save directly to send-mail-function.
11687 Update message-send-mail-function too.
11688
11689 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11690
11691 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11692
11693 * progmodes/python.el (python-mode-map): Use correct function to
11694 start python interpreter from menu-bar (as reported by Geert
11695 Kloosterman).
11696 (inferior-python-mode-map): Fix typo.
11697 (python-shell-map): Remove.
11698
11699 2011-09-03 Deniz Dogan <deniz@dogan.se>
11700
11701 * net/rcirc.el (rcirc-print): Simplify code for
11702 rcirc-scroll-show-maximum-output. There is no need to walk
11703 through all windows to find the right one.
11704
11705 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11706
11707 * help.el (help-return-method): Doc fix.
11708
11709 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11710
11711 * window.el (window-deletable-p): Don't return a non-nil value
11712 when there's a buffer that was shown in the window before.
11713 (Bug#9419)
11714 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11715 Set window's previous buffers to nil.
11716
11717 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11718
11719 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11720 newline before and after the tag line, so it doesn't interfere
11721 with determining the paragraph direction of bidirectional text.
11722
11723 2011-09-03 Leo Liu <sdl.web@gmail.com>
11724
11725 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11726
11727 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11728
11729 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11730 (pop-to-buffer): Change interactive spec. Pass second argument
11731 directly to display-buffer.
11732 (display-buffer): Fix interactive spec. Use functionp to
11733 distinguish between a function and a list of functions.
11734
11735 * abbrev.el (edit-abbrevs):
11736 * arc-mode.el (archive-extract):
11737 * autoinsert.el (auto-insert):
11738 * bookmark.el (bookmark-bmenu-list):
11739 * files.el (find-file):
11740 * view.el (view-buffer):
11741 * progmodes/compile.el (compilation-goto-locus):
11742 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11743
11744 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * window.el (display-buffer-alist): Doc fix.
11747 (display-buffer): Add docstring. Don't treat
11748 display-buffer-default specially.
11749 (display-buffer-reuse-selected-window)
11750 (display-buffer-same-window, display-buffer-maybe-same-window)
11751 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11752 (display-buffer-pop-up-window)
11753 (display-buffer-reuse-or-pop-window)
11754 (display-buffer-use-some-window): New functions.
11755 (display-buffer-default-action): Use them.
11756 (display-buffer-default): Delete.
11757 (pop-to-buffer-1): Fix choice of actions.
11758
11759 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * minibuffer.el (completion--insert-strings): Don't get confused by
11762 completion entries that end with an LF char.
11763
11764 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11765
11766 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11767
11768 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11769
11770 * window.el (display-buffer): Restore interactive spec.
11771 (display-buffer-same-window, display-buffer-other-window):
11772 New functions.
11773 (pop-to-buffer-1): New function. Use the above.
11774 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11775 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11776
11777 * view.el (view-buffer-other-window, view-buffer-other-frame):
11778 Just use pop-to-buffer.
11779
11780 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11781
11782 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11783
11784 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11785
11786 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11787
11788 2011-08-31 Richard Stallman <rms@gnu.org>
11789
11790 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11791 of the separation of rmail-view-buffer from rmail-buffer.
11792 If you say no to "replace original", the decrypt is in the
11793 view buffer. If you say yes, the decrypt goes into the
11794 rmail buffer also.
11795
11796 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11797
11798 * window.el (display-buffer-window): Rewrite doc-string.
11799 (display-buffer-record-window): New function.
11800 (display-buffer-macro-specifiers)
11801 (display-buffer-even-window-sizes, display-buffer-set-height)
11802 (display-buffer-set-width, display-buffer-in-window)
11803 (display-buffer-reuse-window, display-buffer-split-specifiers)
11804 (display-buffer-side-specifiers, display-buffer-split-window-1)
11805 (display-buffer-split-window, display-buffer-split-atom-window)
11806 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11807 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11808 (display-buffer-other-window-means-other-frame)
11809 (display-buffer-normalize-special)
11810 (display-buffer-normalize-default)
11811 (display-buffer-normalize-argument)
11812 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11813 (display-buffer-normalize-specifiers, display-buffer-frame)
11814 (display-buffer-same-window, display-buffer-same-frame)
11815 (display-buffer-other-window)
11816 (display-buffer-same-frame-other-window)
11817 (display-buffer-other-frame, pop-to-buffer-same-window)
11818 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11819 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11820 (switch-to-buffer-same-frame)
11821 (switch-to-buffer-other-window-same-frame)
11822 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11823 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11824 (display-buffer-alist-set): Remove.
11825 (display-buffer-function, special-display-buffer-names)
11826 (special-display-regexps, special-display-function):
11827 In doc-string refer to display-buffer-window and quit-restore
11828 parameter.
11829 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11830 (special-display-frame-alist, special-display-popup-frame)
11831 (same-window-buffer-names, same-window-regexps, same-window-p)
11832 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11833 (split-window-preferred-function, split-height-threshold)
11834 (split-width-threshold, window-splittable-p)
11835 (split-window-sensibly, window--try-to-split-window)
11836 (window--frame-usable-p, even-window-heights)
11837 (window--even-window-heights, window--display-buffer-1)
11838 (window--display-buffer-2, display-buffer-other-frame):
11839 Restore old Emacs 23 code, order and doc-strings where applicable.
11840 (display-buffer-default, display-buffer-assq-regexp): New functions.
11841 (display-buffer-alist): Rewrite doc-string.
11842 (display-buffer-default-action)
11843 (display-buffer-overriding-action): New variables.
11844 (display-buffer, switch-to-buffer): Rewrite.
11845 (pop-to-buffer): Restore Emacs 23 behavior but use
11846 window-normalize-buffer-to-display.
11847 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11848 Restore Emacs 23 behavior but use
11849 window-normalize-buffer-to-switch-to.
11850 (pop-to-buffer-same-window): Rewrite.
11851 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11852 Rewrite using Emacs 23 options.
11853
11854 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11855
11856 * net/tramp.el (tramp-root-regexp): Remove.
11857 (tramp-completion-file-name-regexp-unified)
11858 (tramp-completion-file-name-regexp-separate)
11859 (tramp-completion-file-name-regexp-url): Don't use leading volume
11860 letter on w32 systems. (Bug#5303, Bug#9311)
11861 (tramp-drop-volume-letter): Simplify definition.
11862 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11863
11864 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11867 (bug#9356).
11868
11869 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11870
11871 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11872
11873 2011-08-29 Juri Linkov <juri@jurta.org>
11874
11875 * isearch.el (isearch-done): Don't display message "Mark saved"
11876 when arg `edit' is non-nil to prevent its flicker in the echo area.
11877
11878 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11879
11880 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11881 obsolete packages for deletion.
11882
11883 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11884
11885 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11886 (help-mode): Derive help-mode from special-mode. Don't invoke
11887 view-mode from help-mode.
11888 (help-xref-override-view-map): Remove.
11889 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11890 view-mode is not used anymore.
11891
11892 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11893
11894 * server.el (server-port): Doc fix.
11895
11896 * cus-theme.el (custom-theme-choose-mode): Inherit from
11897 special-mode (Bug#9124).
11898 (custom-theme-choose-mode-map): Add special-mode to parent.
11899
11900 2011-08-28 Alan Mackenzie <acm@muc.de>
11901
11902 * progmodes/cc-fonts.el
11903 (c-make-font-lock-BO-decl-search-function): New function.
11904 (c-basic-matchers-after - "Fontify the clauses after various
11905 keywords"): Extract the three keyword lists for the 3 erroneous
11906 constructs from the list of four, and use the new function above
11907 in place of an old one.
11908
11909 2011-08-28 Deniz Dogan <deniz@dogan.se>
11910
11911 * net/rcirc.el (rcirc-insert-prev-input)
11912 (rcirc-insert-next-input): Remove unused argument.
11913
11914 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11915
11916 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11917
11918 2011-08-27 Alan Mackenzie <acm@muc.de>
11919
11920 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11921 handle function pointer parameters properly.
11922
11923 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11924
11925 * window.el (display-buffer-reuse-window): Fix case where
11926 selected window was reused with non-nil OTHER-WINDOW argument.
11927 (Bug#9381)
11928
11929 2011-08-27 Deniz Dogan <deniz@dogan.se>
11930
11931 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11932 oftc's NickServ messages.
11933
11934 2011-08-27 Glenn Morris <rgm@gnu.org>
11935
11936 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11937
11938 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11939
11940 * emacs-lisp/package.el (package-install): Call package-initialize
11941 if called interactively.
11942
11943 2011-08-26 Leo Liu <sdl.web@gmail.com>
11944
11945 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11946
11947 2011-08-25 Juri Linkov <juri@jurta.org>
11948
11949 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11950 `search-whitespace-regexp' (bug#9364).
11951
11952 2011-08-25 Juri Linkov <juri@jurta.org>
11953
11954 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11955 `regexp-search-ring' to their global values to protect from
11956 updating by `read-from-minibuffer' (bug#9185).
11957
11958 2011-08-25 Juri Linkov <juri@jurta.org>
11959
11960 * textmodes/ispell.el (ispell-command-loop): Add newline
11961 at the end of the "Use option `i'..." line.
11962
11963 2011-08-25 Juri Linkov <juri@jurta.org>
11964
11965 * battery.el (display-battery-mode): If `battery-status-function'
11966 or `battery-mode-line-format' is nil, display the message and set
11967 `display-battery-mode' to nil (bug#9363).
11968
11969 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11970
11971 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11972 bidi-string-mark-left-to-right; they are unnecessary now.
11973
11974 2011-08-25 Deniz Dogan <deniz@dogan.se>
11975
11976 * net/quickurl.el: Documentation typo fixes.
11977
11978 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11979
11980 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11981
11982 2011-08-25 Glenn Morris <rgm@gnu.org>
11983
11984 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11985
11986 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11987 (smtpmail-via-smtp): Handle nil response from smtp.
11988
11989 2011-08-24 Juri Linkov <juri@jurta.org>
11990
11991 * proced.el (proced-marked): Inherit from `error' instead of
11992 `font-lock-warning-face'.
11993
11994 * ibuffer.el (ibuffer-marked-face): Change default face from
11995 `font-lock-warning-face' to `warning'.
11996 (ibuffer-deletion-face): Change default face from
11997 `font-lock-type-face' to `error'.
11998
11999 * battery.el (battery-update): Use the face `error' instead of
12000 `font-lock-warning-face' (bug#6117).
12001
12002 2011-08-24 Juri Linkov <juri@jurta.org>
12003
12004 * faces.el (success): Change face color from "Green3" to
12005 "ForestGreen" on light background (bug#9353).
12006
12007 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
12008
12009 * window.el (quit-window): Rename from quit-restore-window.
12010 Use same arglist as old quit-window.
12011 (frame-auto-delete): Doc fix.
12012
12013 * view.el (view-mode-exit): Use quit-window.
12014
12015 2011-08-24 Juri Linkov <juri@jurta.org>
12016
12017 * isearch.el (isearch-ring-adjust1): Start visiting previous
12018 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12019 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12020 for empty search string (when the last search string is reused
12021 automatically) to adjust the isearch ring to the last element and
12022 prepare the correct index for further M-p commands (bug#9185).
12023
12024 2011-08-24 Kenichi Handa <handa@m17n.org>
12025
12026 * international/ucs-normalize.el: If decomposition property of
12027 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12028 nil.
12029 (nfd, nfkd): Likewise.
12030
12031 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12034 from process filters aren't reliably transmitted to the surrounding
12035 accept-process-output.
12036 (mpc-proc-check): New function.
12037 (mpc-proc-sync): Use it (bug#8293)
12038
12039 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12042 Add compatibility functions (bug#9313).
12043
12044 2011-08-23 Eli Zaretskii <eliz@gnu.org>
12045
12046 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12047
12048 * international/uni-bidi.el: Regenerate.
12049
12050 2011-08-23 Kenichi Handa <handa@m17n.org>
12051
12052 * international/charprop.el:
12053 * international/uni-bidi.el:
12054 * international/uni-category.el:
12055 * international/uni-combining.el:
12056 * international/uni-comment.el:
12057 * international/uni-decimal.el:
12058 * international/uni-decomposition.el:
12059 * international/uni-digit.el:
12060 * international/uni-lowercase.el:
12061 * international/uni-mirrored.el:
12062 * international/uni-name.el:
12063 * international/uni-numeric.el:
12064 * international/uni-old-name.el:
12065 * international/uni-titlecase.el:
12066 * international/uni-uppercase.el: Regenerate.
12067
12068 2011-08-23 Martin Rudalics <rudalics@gmx.at>
12069
12070 * help.el (help-window-setup): Fix message displayed when other
12071 window is reused. (Bug#9341)
12072
12073 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12076 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12077
12078 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12079 Mark obsolete.
12080 * shell.el (shell-parse-pcomplete-arguments): New function.
12081 (shell-completion-vars): Use it instead (bug#9160).
12082
12083 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12086 strings and comments (bug#9333).
12087
12088 * emacs-lisp/debug.el (debug-arglist): New function.
12089 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12090 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12091
12092 2011-08-22 Juri Linkov <juri@jurta.org>
12093
12094 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12095 Revert regexp that highlights output switches to its old
12096 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12097
12098 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12099 to check for empty output (bug#9226).
12100
12101 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
12102
12103 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12104 symbol-constituent as the default, as that stops font-lock from
12105 working properly (Bug#8843).
12106
12107 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12108
12109 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12110 `coding-system-for-*' around the process open call to avoid
12111 auth-source side effects.
12112 (smtpmail-try-auth-methods): Expand the secret password.
12113 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12114 probe hangs.
12115
12116 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12119
12120 * emacs-lisp/find-func.el (find-function-noselect): New arg
12121 lisp-only.
12122
12123 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12124 signal an error for built-in functions (Bug#6664).
12125
12126 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12127
12128 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12129 (smtpmail-try-auth-methods): Use it.
12130
12131 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12132
12133 * font-lock.el (font-lock-fontify-region)
12134 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12135 (font-lock-default-unfontify-buffer)
12136 (font-lock-default-fontify-region)
12137 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12138
12139 * progmodes/compile.el (compilation-error-properties):
12140 Fix confusion between file struct and message struct (Bug#9319).
12141 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12142 `ant' regexp.
12143
12144 * net/browse-url.el (browse-url-firefox): Don't call
12145 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12146
12147 2011-08-20 Glenn Morris <rgm@gnu.org>
12148
12149 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12150
12151 * tutorial.el (tutorial--default-keys): Update some default bindings.
12152
12153 * files.el (hack-local-variables): Fully ignore case for "mode:".
12154
12155 2011-08-20 Alan Mackenzie <acm@muc.de>
12156
12157 Resolve invalid use of a regexp in regexp-opt.
12158
12159 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12160 detection for a java annotation.
12161
12162 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12163 detection for a java annotation.
12164
12165 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12166 handling for java.
12167 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12168
12169 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12170
12171 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12172 (Bug#9274).
12173
12174 2011-08-20 Alan Mackenzie <acm@muc.de>
12175
12176 Fontify CPP expressions correctly when starting in the middle of
12177 such a construct. Mainly for when jit-lock etc. starts a chunk
12178 here.
12179
12180 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12181 variable.
12182 (c-make-font-lock-search-form): New function, extracted from
12183 c-make-font-lock-search-function.
12184 (c-make-font-lock-search-function): Use the above function.
12185 (c-make-font-lock-context-search-function): New function.
12186 (c-cpp-matchers): Enhance the preprocessor expression case with
12187 the above function
12188 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12189 which takes an expression.
12190
12191 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12192
12193 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12194
12195 * window.el (display-buffer-reuse-window)
12196 (display-buffer-pop-up-window): Don't reuse or split a side
12197 window.
12198
12199 2011-08-19 Glenn Morris <rgm@gnu.org>
12200
12201 * files.el (hack-local-variables-prop-line, hack-local-variables):
12202 Downcase "Mode:". (Bug#9331)
12203
12204 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12205
12206 * international/characters.el: Add L and R categories.
12207
12208 * subr.el (bidi-string-mark-left-to-right): Rename from
12209 string-mark-left-to-right. Use category search.
12210
12211 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12212
12213 2011-08-18 Juri Linkov <juri@jurta.org>
12214
12215 * faces.el (error, warning, success): New faces with definitions
12216 copied from old default values of `font-lock-warning-face',
12217 `compilation-warning', `compilation-info' (bug#6117).
12218
12219 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12220
12221 * progmodes/compile.el (compilation-error): Inherit from `error'.
12222 (compilation-warning): Inherit from `warning'.
12223 (compilation-info): Inherit from `success'.
12224
12225 * dired.el (dired-marked): Inherit from `warning'.
12226 (dired-flagged): Inherit from `error'.
12227
12228 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12229
12230 * mail/smtpmail.el (auth-source): Require to avoid problems with
12231 binding variables (bug#9298). Also clean up some unused
12232 autoloads.
12233
12234 * net/network-stream.el (network-stream-open-starttls):
12235 Support using starttls.el without using gnutls-cli.
12236
12237 2011-08-17 Juri Linkov <juri@jurta.org>
12238
12239 * progmodes/grep.el (rgrep): Handle the case when
12240 `grep-find-command' is a cons cell (bug#9278).
12241
12242 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12243
12244 * window.el (display-buffer-pop-up-frame): Run frame creation
12245 function with BUFFER current (as special-display-popup-frame
12246 does). Reported by Drew Adams.
12247
12248 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12249
12250 * epa-mail.el: Simplify GnuPG group expansion using
12251 epg-expand-group.
12252 (epa-mail-group-alist, epa-mail-group-modtime)
12253 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12254 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12255 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12256 Remove.
12257
12258 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
12259
12260 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12261
12262 2011-08-16 Alan Mackenzie <acm@muc.de>
12263
12264 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12265 Correct, to avoid the inside of macros.
12266
12267 2011-08-16 Richard Stallman <rms@gnu.org>
12268
12269 * epa-mail.el: Handle GnuPG group definitions.
12270 (epa-mail-group-alist, epa-mail-group-modtime)
12271 (epa-mail-gnupg-conf-file): New variables.
12272 (epa-mail-parse-groups, epa-mail-sync-groups)
12273 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12274 (epa-mail-expand-recipients): New functions.
12275 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12276
12277 * mail/rmail.el (rmail-epa-decrypt): New command.
12278
12279 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12280 Don't bind buffer-read-only, just inhibit-read-only.
12281 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12282 (epa-decrypt-armor-in-region): Make error message clearer.
12283
12284 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12287 and "a2b" to "ab" for `prefix'.
12288
12289 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12290
12291 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12292 filter groups.
12293 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12294 Fourquet (Bug#8804).
12295
12296 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12297
12298 * startup.el (argi): Declare as global variable (bug#9275).
12299
12300 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12301
12302 * subr.el (string-mark-left-to-right): Search the entire string
12303 for RTL script, not just the terminating character. Doc fix.
12304
12305 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12308 New function.
12309 (js--regexp-literal, js-syntax-propertize-function): Remove.
12310 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12311 (js-mode-map): Don't rebind electric keys.
12312 (js-insert-and-indent): Remove.
12313 (js-mode): Setup electric-layout and electric-indent instead.
12314
12315 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12316
12317 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12318
12319 * epa.el (epa-progress-callback-function): Fix the logic of
12320 displaying progress.
12321 * epa-file.el (epa-file-insert-file-contents): Make progress
12322 display more user-friendly.
12323 (epa-file-write-region): Ditto.
12324
12325 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12326
12327 * subr.el (string-mark-left-to-right): New function.
12328
12329 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12330 Use string-mark-left-to-right.
12331 (list-buffers-noselect): Caller changed.
12332
12333 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12334 Use string-mark-left-to-right.
12335 (tabulated-list-print): Recenter after moving point.
12336
12337 2011-08-10 Juri Linkov <juri@jurta.org>
12338
12339 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12340 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12341 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12342
12343 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12344
12345 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12346 (Bug#7554).
12347
12348 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12349
12350 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12351 character. (Bug#6594)
12352
12353 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12354
12355 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12356 (image-dired--with-db-file): New macro.
12357 (image-dired-write-tags, image-dired-remove-tag)
12358 (image-dired-create-gallery-lists, image-dired-write-comments)
12359 (image-dired-get-comment, image-dired-mark-tagged-files)
12360 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12361 (image-dired-gallery-generate): Use insert-file-contents.
12362
12363 * time.el (display-time-world-list, display-time-world-display):
12364 * time-stamp.el (time-stamp-string):
12365 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12366 set-time-zone-rule (Bug#7337).
12367
12368 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12369
12370 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12371 (epg-error-to-string, epg-errors-to-string): New function.
12372 (epg-wait-for-completion): Reverse errors list.
12373 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12374 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12375 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12376 (epg-sign-keys, epg-generate-key-from-file)
12377 (epg-generate-key-from-string): Format errors by using
12378 epg-errors-to-string (bug#9255).
12379 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12380
12381 2011-08-07 Juri Linkov <juri@jurta.org>
12382
12383 * faces.el (list-faces-display): Remove extra angle bracket
12384 from `help-mode-map'.
12385
12386 * info.el (Info-history-toc-nodes): Doc fix.
12387
12388 * longlines.el (longlines-mode): Doc fix.
12389
12390 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12393 of statements and in a few more cases (bug#9183).
12394
12395 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12396 New functions.
12397 (cl-transform-lambda): Use them (bug#9239).
12398
12399 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12400
12401 * window.el (display-buffer-same-window)
12402 (display-buffer-same-frame, display-buffer-other-window)
12403 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12404 (pop-to-buffer-other-window)
12405 (pop-to-buffer-same-frame-other-window)
12406 (pop-to-buffer-other-frame): Make them defuns.
12407 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12408
12409 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * subr.el (make-composed-keymap): Move from C. Change calling
12412 convention, and improve docstring to bring attention to a subtle point.
12413 * minibuffer.el (completing-read-default): Adjust accordingly.
12414
12415 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12416
12417 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12418 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12419
12420 * net/trampver.el: Update release number.
12421
12422 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12423
12424 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12425 "in" (bug#9190).
12426
12427 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12428
12429 * mail/sendmail.el (sendmail-query-once): Restore the current
12430 buffer after querying (bug#9074).
12431
12432 * dired.el (dired-flagged): Use different faces for marked and
12433 flagged files (bug#6117).
12434
12435 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12436 (bug#4433).
12437
12438 * ido.el (ido-mode): Switch off the message if called
12439 non-interactively.
12440
12441 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12442 before 587, since it appears that that's more likely to work for
12443 more people.
12444
12445 * cus-edit.el (custom-file): When running under emacs -q, always
12446 refuse to save the customizations, even if the .emacs file doesn't
12447 exist.
12448
12449 * info.el: Remove the `Info-beginning-of-buffer' function
12450 (bug#8325).
12451
12452 * net/network-stream.el (network-stream-open-starttls):
12453 Use `starttls-available-p' to see whether starttls.el can be used.
12454
12455 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12456
12457 * window.el (display-buffer-in-window): Don't set dedicated status
12458 of window here (Bug#9215).
12459 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12460 (display-buffer-pop-up-side-window)
12461 (display-buffer-in-side-window): Set dedicated status of window here.
12462
12463 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12466 before binding generated-autoload-file.
12467
12468 2011-08-01 Deniz Dogan <deniz@dogan.se>
12469
12470 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12471
12472 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12473
12474 Sync with Tramp 2.2.2.
12475
12476 * net/trampver.el: Update release number.
12477
12478 2011-07-30 Juri Linkov <juri@jurta.org>
12479
12480 * dired-aux.el (dired-touch-initial): Remove function.
12481 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12482 current time, and `default' to the last modification time of the
12483 current marked file (bug#6887).
12484
12485 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12486
12487 * simple.el (goto-line): Use string-to-number to provide a
12488 numeric argument to read-number (bug#9163).
12489
12490 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
12491
12492 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12493 connection process, it could be nil.
12494
12495 2011-07-27 Leo Liu <sdl.web@gmail.com>
12496
12497 Simplify url handling in rcirc-mode.
12498
12499 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12500 (rcirc-browse-url-at-mouse): Remove.
12501 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12502
12503 2011-07-26 Alan Mackenzie <acm@muc.de>
12504
12505 Fontify bitfield declarations properly.
12506
12507 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12508 (c-symbol-chars): Now exported as a lang variable.
12509 (c-not-primitive-type-keywords): New lang variable.
12510
12511 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12512 QT keyword "more" to prevent "more slots: ...." being spuriously
12513 parsed as a bitfield declaration.
12514
12515 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12516 Refactor and enhance to handle bitfield declarations.
12517 (c-punctuation-in): New function.
12518 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12519 declarations properly.
12520
12521 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
12522
12523 * calendar/icalendar.el (icalendar--all-events): Take care of
12524 multiple vcalendars in a single file.
12525 (icalendar--convert-float-to-ical): Checkdoc fixes.
12526
12527 2011-07-25 Deniz Dogan <deniz@dogan.se>
12528
12529 * image.el (insert-image): Clarifying docstring.
12530
12531 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
12532
12533 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12534 `tramp-send-command-and-check' if there is no error.
12535 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12536
12537 2011-07-22 Alan Mackenzie <acm@muc.de>
12538
12539 Prevent cc-langs.elc being loaded at run time.
12540
12541 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12542 cc-langs.
12543
12544 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12545 "(require 'cc-langs)". Quote a form so it will evaluate at
12546 (cc-mode's) compilation time.
12547
12548 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
12549
12550 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12551 loading. (Bug#9114)
12552
12553 2011-07-21 Martin Rudalics <rudalics@gmx.at>
12554
12555 * window.el (display-buffer-pop-up-window)
12556 (display-buffer-pop-up-side-window)
12557 (display-buffer-in-side-window): Call display-buffer-set-height
12558 and display-buffer-set-width after setting the new window's
12559 buffer so `fit-window-to-buffer' and friends work on the right buffer.
12560
12561 2011-07-20 Sam Steingold <sds@gnu.org>
12562
12563 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12564 (etags-tags-included-tables): Call `convert-standard-filename' on
12565 the file names contained in TAGS so that windows Emacs can handle
12566 TAGS files created by cygwin ctags.
12567
12568 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12569
12570 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12571 which apparently didn't work.
12572
12573 2011-07-19 Roland Winkler <winkler@gnu.org>
12574
12575 * proced.el (proced-send-signal): For *Marked Processes* buffer
12576 put point at beginning of buffer.
12577
12578 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
12579
12580 * proced.el (proced-format): Make header lines align with the text
12581 (bug#1779).
12582
12583 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12584
12585 * view.el (view-buffer): Allow running in `special' modes if we're
12586 visiting a file (bug#8615).
12587
12588 2011-07-19 Martin Rudalics <rudalics@gmx.at>
12589
12590 * window.el (display-buffer-alist-of-strings-p)
12591 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12592 New functions.
12593 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12594 more accurately.
12595
12596 2011-07-18 Alan Mackenzie <acm@muc.de>
12597
12598 Fontify declarators properly when, e.g., a jit-lock chunk begins
12599 inside a declaration.
12600
12601 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12602
12603 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12604 New function.
12605 (c-complex-decl-matchers): Insert reference to
12606 c-font-lock-enclosing-decls.
12607
12608 * progmodes/cc-engine.el (c-backward-single-comment):
12609 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12610 to nil around calls to (forward-comment -1).
12611
12612 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12613
12614 * image.el (put-image): Doc typo fix.
12615
12616 * progmodes/etags.el (tags-search): Doc typo fix.
12617
12618 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12619 password if we get errors 550 to 554.
12620
12621 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12622
12623 * net/gnutls.el (gnutls-log-level): Remove.
12624
12625 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12626 indentation character (bug#6380).
12627
12628 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12629
12630 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12631 to clarify what the problem is (bug#4291).
12632
12633 * simple.el (current-kill): Clarify what
12634 `interprogram-paste-function' does (bug#7500).
12635 (auto-fill-mode): Document `auto-fill-function' in relation to
12636 `auto-fill-mode' (bug#2470).
12637
12638 2011-07-16 Lawrence Mitchell <wence@gmx.li>
12639
12640 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12641 method if slot is read-only (bug#9035).
12642
12643 2011-07-16 Martin Rudalics <rudalics@gmx.at>
12644
12645 * frame.el (select-frame-set-input-focus): New argument NORECORD.
12646 * window.el (pop-to-buffer): Select window used even if it was
12647 selected before, see discussion of (Bug#8615), (Bug#6954).
12648 Pass argument NORECORD on to select-frame-set-input-focus.
12649
12650 2011-07-15 Glenn Morris <rgm@gnu.org>
12651
12652 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
12653 Respect help-form.
12654
12655 2011-07-09 Lawrence Mitchell <wence@gmx.li>
12656
12657 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12658 (gnutls-negotiate): Use it.
12659
12660 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12661
12662 * net/gnutls.el (gnutls-negotiate):
12663 Upcase `gnutls-algorithm-priority'.
12664
12665 2011-07-15 Glenn Morris <rgm@gnu.org>
12666
12667 * jka-compr.el (jka-compr-verbose): Move from here...
12668 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12669 Add missing :version tag.
12670 * info.el: No need to require jka-compr when compiling.
12671
12672 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12673
12674 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12675 (gnutls-negotiate): Use it.
12676
12677 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12678
12679 * info.el (Info-beginning-of-buffer): New command.
12680 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12681 announcing `b' as the key (bug#8325).
12682 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12683
12684 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12685
12686 * international/mule-cmds.el
12687 (describe-specified-language-support): Make the error message
12688 clearer (bug#8905).
12689
12690 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12691
12692 * isearch.el (isearch-barrier): Add a doc string, since it's
12693 mentioned in a function doc string (bug#8678).
12694
12695 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12696
12697 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12698 buffer argument (Bug#9083) and self-identifying label argument.
12699
12700 2011-07-15 Glenn Morris <rgm@gnu.org>
12701
12702 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12703
12704 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12705
12706 * man.el (Man-fontify-manpage): Fix message when formatting the
12707 man page (bug#7929).
12708
12709 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12710
12711 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12712 argument LRM; if non-nil, append an invisible LRM character to the
12713 buffer name.
12714 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12715 last argument non-nil, when formatting buffer names.
12716 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12717 paragraph direction.
12718
12719 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12720
12721 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12722 the man page name (bug#7929).
12723
12724 * image.el (put-image): Mention the `put-image' overlay property
12725 (bug#7834).
12726
12727 * scroll-bar.el (set-scroll-bar-mode): Mention that
12728 `scroll-bar-mode' lists the values (bug#7772).
12729
12730 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12731 command (bug#7729).
12732
12733 * rect.el (apply-on-rectangle): Return the point after the last
12734 operation.
12735 (string-rectangle): Go to the point after the last operation
12736 (bug#7522).
12737
12738 * printing.el (pr-toggle-region): Clarify the documentation
12739 slightly (bug#7493).
12740
12741 * time.el (display-time-update):
12742 Allow `display-time-mail-function' to return nil (bug#7158).
12743 Fix suggested by Detlev Zundel.
12744
12745 * vc/diff.el (diff): Clarify the order the file names are read
12746 (bug#7111).
12747
12748 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12749 the doc string (bug#7015).
12750
12751 * font-lock.el (font-lock-maximum-decoration): Mention what
12752 numeric levels mean (bug#6935).
12753
12754 * startup.el (initial-buffer-choice): Don't mention the `none'
12755 selection, which is against policy.
12756
12757 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12758
12759 * window.el (display-buffer-normalize-special):
12760 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12761
12762 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12763
12764 * subr.el (version<, version<=, version=): Mention "-CVS" and
12765 "-12345" alpha version numbers.
12766
12767 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12768
12769 * bindings.el: Add advertised binding for set-mark-command
12770 (Bug#5772).
12771
12772 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12773
12774 * bindings.el (mode-line-other-buffer):
12775 * bookmark.el (bookmark-bmenu-2-window):
12776 * bs.el (bs-cycle-next, bs-cycle-previous):
12777 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12778 switch-to-buffer.
12779
12780 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12781 Delete.
12782
12783 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12784
12785 * follow.el (follow-debug-message, follow-redisplay):
12786 * jka-cmpr-hook.el (with-auto-compression-mode):
12787 Fix typos in docstrings.
12788
12789 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790
12791 * subr.el (with-silent-modifications): Clarify somewhat what the
12792 macro inhibits (bug#6525).
12793
12794 * simple.el (eval-expression): Note what it does if called
12795 interactively (bug#6495).
12796
12797 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12798
12799 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12800 Use pop-to-buffer buffer-or-name if it is nil.
12801
12802 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12803 Remove switch-to-buffer.
12804
12805 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12806
12807 * files.el (make-directory): Clarify that an error will be raised
12808 if there's an error (bug#6397).
12809
12810 * startup.el (initial-buffer-choice): Add `none' as a choice
12811 (bug#6234).
12812
12813 * subr.el (add-hook): Clarify section about buffer-local hooks
12814 (bug#6218).
12815
12816 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12817
12818 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12819
12820 * tabify.el (untabify): Preserve the current column so that point
12821 doesn't move (bug#6032).
12822
12823 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12824
12825 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12826 Rewrite to avoid awkward possessive "s" (bug#5986).
12827
12828 2011-07-13 Glenn Morris <rgm@gnu.org>
12829
12830 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12831 (dired-insert-directory): Give a message the first time
12832 if ls is found not to support --dired.
12833
12834 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12835
12836 * simple.el (toggle-truncate-lines): Clarify what is toggled
12837 (bug#5580). Text by Drew Adams.
12838
12839 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12840
12841 * simple.el (blink-matching-open): Make the error message from the
12842 last change less verbose.
12843
12844 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12845
12846 * font-lock.el (font-lock-comment-face): Use the high contrast
12847 "yellow" color for font-lock-comment-face on low color terminals
12848 using a dark background color (bug#4221).
12849
12850 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12851
12852 * dired.el (dired-insert-set-properties): Make the doc string
12853 reflect what it does now (bug#5325).
12854
12855 * simple.el (blink-matching-open): Say that we were unable to find
12856 the match within the limit, if we're limited (bug#5122).
12857
12858 * international/mule-cmds.el (prefer-coding-system): Add an
12859 example (bug#4869).
12860
12861 * progmodes/etags.el (tags-search): Document `file-list-form'
12862 (bug#4731).
12863
12864 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12865
12866 * net/browse-url.el (browse-url-default-browser)
12867 (browse-url-browser-function): Make the default browser choice a
12868 bit more logical (bug#4300). Also clean up the doc string.
12869
12870 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12871
12872 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12873 binary endings (bug#4440).
12874
12875 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12876
12877 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12878 which can be pretty annoying (bug#8971).
12879
12880 * jka-compr.el (jka-compr-verbose): New variable, and use
12881 throughout (bug#8971).
12882
12883 * info.el (Info-find-file): Fall back on the installation
12884 directory if we can't find the info node anywhere else.
12885
12886 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12887
12888 * vc/vc.el (vc-revert-file):
12889 Don't set file time-stamp in the past. (Bug#5181)
12890
12891 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12892
12893 * files.el (after-find-file): Give a better error message when
12894 trying to find a symlink that points to a file that doesn't exist
12895 (bug#4398).
12896
12897 * progmodes/cc-vars.el: Remove (probably) misleading comment
12898 (bug#4396).
12899
12900 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12901
12902 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12903
12904 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12905
12906 * mouse-sel.el: Hack restoring functionality, while keeping
12907 compatibility with 2010-07-03 changes to mouse selection.
12908 (mouse-sel-primary-overlay): New var.
12909 (mouse-sel-selection-alist): Use it.
12910 (mouse-sel-mode): Doc fix; remove points that are default features
12911 of mouse.el.
12912
12913 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12914
12915 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12916 Fix previous fix (bug#2490).
12917
12918 2011-07-12 Roland Winkler <winkler@gnu.org>
12919
12920 * textmodes/bibtex.el (bibtex-initialize):
12921 Use pop-to-buffer-same-window.
12922 (bibtex-search-entries): Fix interactive call.
12923
12924 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12925
12926 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12927 Fontise bytecomp Error lines more correctly (bug#2490).
12928 Fix suggested by Johan BockgĂ¥rd.
12929
12930 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12931
12932 * dired-x.el (dired-guess-default): Use `delete-dups'.
12933
12934 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12935
12936 * dired.el (dired-mark-prompt):
12937 * dired-aux.el (dired-read-shell-command): Doc fix.
12938
12939 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12940
12941 * mail/sendmail.el (sendmail-query-once):
12942 Use `customize-save-variable' unconditionally, now that it works under
12943 emacs -Q.
12944
12945 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12946
12947 * cus-edit.el (custom-file): Take an optional no-error variable.
12948 (customize-save-variable): Set the variable, and give a warning if
12949 running under "emacs -q".
12950
12951 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12952
12953 * loadhist.el (unload-feature-special-hooks):
12954 Add `auto-coding-functions', `fill-nobreak-predicate' and
12955 `find-directory-functions' (bug#5327).
12956
12957 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12958
12959 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12960
12961 * cus-edit.el (custom-guess-name-alist): -alist variables should
12962 use the `alist' type (bug#3120). Suggested by Drew Adams.
12963
12964 * printing.el: Add documentation to all the `pr-toggle-' commands.
12965
12966 2011-07-11 Leo Liu <sdl.web@gmail.com>
12967
12968 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12969 backends where it makes sense (bug#2623).
12970
12971 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12972
12973 * dired-x.el (dired-guess-default): Remove duplicate shell command
12974 entries (bug#2028).
12975 (dired-guess-default): Fix grammar in doc string (bug#2028).
12976 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12977
12978 * subr.el (remove-duplicates): New conveniency function.
12979
12980 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12981
12982 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12983 (bug#1526).
12984
12985 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12986
12987 * window.el (display-buffer-normalize-default): Don't invert
12988 meaning of even-window-heights. Reported by Eli Zaretskii
12989 <eliz@gnu.org>.
12990
12991 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12992
12993 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12994
12995 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12996
12997 * window.el (display-buffer): Fix arguments to
12998 display-buffer-reuse-window in last change.
12999
13000 * faces.el (link): Use a less saturated blue on light backgrounds.
13001
13002 * startup.el (fancy-startup-text, fancy-about-text)
13003 (fancy-startup-tail): Use font-lock faces, for background safety.
13004
13005 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13006
13007 * emulation/viper-cmd.el (viper-change-state-to-vi):
13008 Limit triggering of abbrev expansion (Bug#9038).
13009
13010 2011-07-09 Martin Rudalics <rudalics@gmx.at>
13011
13012 * window.el (display-buffer-default-specifiers): Remove.
13013 (display-buffer-macro-specifiers): Remove default specifiers.
13014 (display-buffer-alist): Default to nil.
13015 (display-buffer-reuse-window): New optional argument other-window.
13016 (display-buffer-pop-up-window): Allow splitting internal
13017 windows. Check whether a live window was created.
13018 (display-buffer-other-window-means-other-frame)
13019 (display-buffer-normalize-arguments): Rename to
13020 display-buffer-normalize-argument and rewrite. Set the
13021 other-window specifier.
13022 (display-buffer-normalize-special): New function.
13023 (display-buffer-normalize-options): Rename to
13024 display-buffer-normalize-default and rewrite.
13025 (display-buffer-normalize-options-inhibit): Remove.
13026 (display-buffer-normalize-specifiers): Rewrite.
13027 (display-buffer): Process other-window specifier and call
13028 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13029 more faithfully.
13030 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13031 (display-buffer-alist-set): Don't handle 'unset default values.
13032 (display-buffer-in-window, display-buffer-alist-set):
13033 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
13034 <tassilo@member.fsf.org>.
13035
13036 2011-07-09 Leo Liu <sdl.web@gmail.com>
13037
13038 * register.el (insert-register): Restore accidental change on
13039 2011-06-26. (Bug#9028)
13040
13041 2011-07-09 Glenn Morris <rgm@gnu.org>
13042
13043 * subr.el (remq): Handle the empty list. (Bug#9024)
13044
13045 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13046
13047 * mail/sendmail.el (send-mail-function): No longer delay custom
13048 initialization.
13049 * custom.el (custom-initialize-delay): Doc fix.
13050
13051 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13054
13055 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
13056
13057 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13058 human-friendly prompt.
13059
13060 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13061
13062 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13063 provided by a particular plugin.
13064
13065 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13066
13067 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13068 save customizations (with "emacs -Q"), just set the variable
13069 instead of erroring out.
13070
13071 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13072
13073 2011-07-08 Juri Linkov <juri@jurta.org>
13074
13075 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13076 (archive-zip-update-case): Use 7z if found by `executable-find'.
13077 The order of searching the available programs is the same as in
13078 `archive-zip-extract' (bug#8968).
13079
13080 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13081
13082 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13083 (menu-bar-options-menu): Tweak descriptions.
13084
13085 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13086
13087 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13088 menu items into verb phrases (bug#1421). Also refill to fit under
13089 80 columns.
13090
13091 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13092
13093 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13094 (Info-read-node-name): Doc fix (Bug#1084).
13095
13096 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13097 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13098 (end-of-sexp, beginning-of-sexp)
13099 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13100 (forward-symbol, forward-same-syntax, word-at-point)
13101 (sentence-at-point): Doc fix (Bug#1144).
13102
13103 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13104
13105 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13106 should cover it (bug#1281).
13107
13108 * cus-edit.el (custom-show): Mark as obsolete.
13109
13110 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13111 negotiation fails, then possibly try again with a non-encrypted
13112 connection (bug#9017).
13113
13114 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13115 be used.
13116
13117 2011-07-07 Richard Stallman <rms@gnu.org>
13118
13119 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13120 property, and handle its changed format.
13121 Look for the correct line number.
13122 Use file's line contents (but not past first =) to find
13123 correct line in message.
13124
13125 2011-07-07 Kenichi Handa <handa@m17n.org>
13126
13127 * international/characters.el (build-unicode-category-table):
13128 Delete it.
13129 (unicode-category-table): Set it by unicode-property-table-internal.
13130
13131 * international/mule-cmds.el (char-code-property-alist): Move to
13132 to src/chartab.c.
13133 (get-char-code-property): Call unicode-property-table-internal to
13134 load a file. Call get-unicode-property-internal where necessary.
13135 (put-char-code-property): Call unicode-property-table-internal to
13136 load a file. Call put-unicode-property-internal where necessary.
13137 put-unicode-property-internal where necessary.
13138 (char-code-property-description):
13139 Call unicode-property-table-internal to load a file.
13140
13141 * international/charprop.el:
13142 * international/uni-bidi.el:
13143 * international/uni-category.el:
13144 * international/uni-combining.el:
13145 * international/uni-comment.el:
13146 * international/uni-decimal.el:
13147 * international/uni-decomposition.el:
13148 * international/uni-digit.el:
13149 * international/uni-lowercase.el:
13150 * international/uni-mirrored.el:
13151 * international/uni-name.el:
13152 * international/uni-numeric.el:
13153 * international/uni-old-name.el:
13154 * international/uni-titlecase.el:
13155 * international/uni-uppercase.el: Regenerate.
13156
13157 * loadup.el: Load international/charprop.el before
13158 international/characters.
13159
13160 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13161
13162 * window.el (next-buffer, previous-buffer): Signal an error if
13163 called from a minibuffer window.
13164
13165 * bindings.el: Revert 2011-07-04 change.
13166
13167 2011-07-06 Richard Stallman <rms@gnu.org>
13168
13169 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13170 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13171 Treat markers like ints.
13172 (rmail-mime-entity): Doc fix.
13173
13174 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13175
13176 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13177 defcustom again for backwards compatibility.
13178
13179 * simple.el (shell-command-on-region): Fill.
13180
13181 * dired-aux.el (dired-kill-line): Add a doc string.
13182
13183 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13184 to "\\sw\\|\\s_" (bug#358).
13185
13186 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13187 (dired-unmark-backward): Ditto.
13188 (dired-flag-backup-files): Ditto.
13189
13190 * dired-x.el (dired-mark-sexp): Ditto.
13191
13192 2011-07-06 Richard Stallman <rms@gnu.org>
13193
13194 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13195 (rmail-mime-entity): New arg TRUNCATED.
13196 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13197 New functions.
13198 (rmail-mime-save): Warn if entity is truncated.
13199 (rmail-mime-toggle-hidden): Likewise, for showing.
13200 (rmail-mime-process-multipart): Record when an entity is truncated.
13201
13202 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13203 if ENTITY is a string.
13204
13205 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13206
13207 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13208 of faces when `M-C-x'-ing their definitions (bug#8378).
13209 Also clean up the code slightly.
13210
13211 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13212 because that makes the colors go away.
13213
13214 * mail/sendmail.el (send-mail-function): Change the default to
13215 `sendmail-query-once'.
13216 (sendmail-query-once): Add an autoload cookie.
13217
13218 * net/network-stream.el (network-stream-open-starttls): Try using
13219 a plain connection even if the server offered STARTTLS, and we
13220 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13221 capability. This should make smtpmail.el work in slightly more
13222 configurations.
13223
13224 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13225
13226 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13227 New defun.
13228 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13229
13230 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13231
13232 * progmodes/sql.el: Version 3.0
13233 (sql-product-alist): Add product :completion-object,
13234 :completion-column, and :statement attributes.
13235 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13236 (sql-mode-syntax-table): Mark all punctuation.
13237 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13238 ansi keywords.
13239 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13240 (sql-mode-oracle-font-lock-keywords): Improve.
13241 (sql-oracle-show-reserved-words): New function for development.
13242 (sql-product-font-lock): Simplify for source code buffers.
13243 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13244 New functions.
13245 (sql-highlight-product): Set product specific syntax table.
13246 (sql-mode-map): Add statement movement functions.
13247 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13248 New variable.
13249 (sql-statement-regexp, sql-beginning-of-statement)
13250 (sql-end-of-statement, sql-signum): New functions.
13251 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13252 (sql-show-sqli-buffer): Bug fix.
13253 (sql-interactive-mode): Store connection data as buffer local.
13254 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13255 with sql-interactive-mode.
13256 (sql-save-connection): Save buffer local settings.
13257 (sql-connection-menu-filter): Change menu entry name.
13258 (sql-product-interactive): Bug fix.
13259 (sql-preoutput-hold): New variable.
13260 (sql-interactive-remove-continuation-prompt): Bug fixes.
13261 (sql-debug-redirect): New variable.
13262 (sql-str-literal): New function.
13263 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13264 Redesign.
13265 (sql-oracle-save-settings, sql-oracle-restore-settings)
13266 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13267 (sql-completion-object, sql-completion-column)
13268 (sql-completion-sqlbuf): New variables.
13269 (sql-build-completions-1, sql-build-completions)
13270 (sql-try-completion): New functions.
13271 (sql-read-table-name): Use them.
13272 (sql-contains-names): New buffer local variable.
13273 (sql-list-all, sql-list-table): Use it.
13274 (sql-oracle-completion-types): New variable.
13275 (sql-oracle-completion-object, sql-sqlite-completion-object)
13276 (sql-postgres-completion-object): New functions.
13277
13278 2011-07-06 Glenn Morris <rgm@gnu.org>
13279
13280 * window.el (pop-to-buffer): Doc fix.
13281
13282 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13283
13284 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13285
13286 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13287
13288 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13289
13290 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13291
13292 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13293
13294 * button.el (button): Inherit from link face. Suggested by Dan
13295 Nicolaescu.
13296
13297 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * progmodes/gdb-mi.el: Fit in 80 columns.
13300 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13301 switch-to-buffer.
13302
13303 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13304 if imenu is simply not configured (bug#8941).
13305
13306 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13307
13308 * allout.el (allout-post-undo-hook): New allout outline-change
13309 event hook to signal undo activity.
13310 (allout-post-command-business): Run allout-post-undo-hook if an
13311 undo just occurred.
13312 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13313 * allout-widgets.el (allout-widgets-after-undo-function):
13314 Ensure the integrity of the current item's decoration after it has been
13315 in the vicinity of an undo.
13316 (allout-widgets-mode): Include allout-widgets-after-undo-function
13317 on the new allout-post-undo-hook.
13318
13319 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13322 Let define-derived-mode define it.
13323 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13324 cycles of abbrev-table inheritance (bug#8998).
13325
13326 2011-07-05 Roland Winkler <winkler@gnu.org>
13327
13328 * textmodes/bibtex.el: Add support for biblatex.
13329 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13330 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13331 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13332 (bibtex-entry-alist, bibtex-field-alist): New variables.
13333 (bibtex-entry-field-alist): Obsolete alias for
13334 bibtex-BibTeX-entry-alist.
13335 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13336 (bibtex-set-dialect): New command.
13337 (bibtex-entry-type, bibtex-entry-head)
13338 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13339 Bind via bibtex-set-dialect.
13340 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13341 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13342 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13343 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13344 Define via bibtex-set-dialect.
13345 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13346 Obey bibtex-no-opt-remove-re.
13347 (bibtex-vec-push, bibtex-vec-incr): New functions.
13348 (bibtex-format-entry, bibtex-field-list)
13349 (bibtex-print-help-message, bibtex-validate)
13350 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13351
13352 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * progmodes/compile.el (compilation-goto-locus):
13355 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13356 * bs.el (bs-cycle-next, bs-cycle-previous):
13357 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13358 * bindings.el (mode-line-other-buffer):
13359 * autoinsert.el (auto-insert):
13360 * arc-mode.el (archive-extract):
13361 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13362
13363 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13364
13365 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13366 Fix check of `emacs-lock-unlockable-modes'.
13367 Coerce true values of `emacs-lock--try-unlocking' to t.
13368
13369 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13370
13371 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13372 * emacs-lock.el: New file.
13373
13374 2011-07-05 Julien Danjou <julien@danjou.info>
13375
13376 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13377 than `boundp' to check if face is set.
13378
13379 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13380
13381 * register.el (registerv-make):
13382 * window.el (window-min-height): Fix typos in docstrings.
13383
13384 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13385
13386 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13387 Update doc string.
13388
13389 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13390
13391 * server.el (server-execute): Catch quit and call
13392 `server-return-error' to pass the error back to emacsclient and
13393 close the connection (bug#8942).
13394
13395 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13396
13397 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13398 insecure exception for current topic. Also note that auto-saves
13399 are handled differently.
13400
13401 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13402 State variables for tracking auto-save inhibition situation.
13403
13404 (allout-write-contents-hook-handler): Rename from
13405 'allout-write-file-hook-handler', and describe how it depends on
13406 write-contents-functions sensitivity to non-nil value to prevent
13407 file write.
13408
13409 (allout-auto-save-hook-handler): Remove. auto-save does not check
13410 this in individual buffers, only in the starting buffer, so this
13411 is not the right way for us to inhibit auto-save in a buffer
13412 according to its condition.
13413
13414 (allout-mode): Use new allout-write-contents-hook-handler, and
13415 only with write-contents-functions. Remove auto-save provisions -
13416 they're implemented elsewhere.
13417
13418 (allout-before-change-handler): If undo is in progress, note that
13419 for attention of allout-post-command-business.
13420
13421 (allout-post-command-business): If the command we're following was
13422 an undo, check for change in the status of encrypted items and
13423 adjust auto-save inhibitions accordingly.
13424
13425 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13426 according to whether there are or aren't any plain-text topics
13427 pending encryption.
13428
13429 (allout-inhibit-auto-save-info-for-decryption):
13430 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13431 if there are plain-text topics pending encryption.
13432
13433 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13434 buffer-saved-size and some allout state to not inhibit auto-saves
13435 if there are no longer any plain-text topics pending encryption.
13436
13437 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13438 No longer provide for exemption of the current topic.
13439
13440 2011-07-04 Juri Linkov <juri@jurta.org>
13441
13442 Add 7z operations to delete and save changed members (bug#8968).
13443 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13444 New defcustoms.
13445 (archive-7z-write-file-member): New function.
13446 (archive-7z-summarize): Fix the number of dashes in the
13447 listing output.
13448
13449 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13450
13451 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13452 (bug#8958).
13453
13454 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13455
13456 * bindings.el: Ignore next-buffer and previous-buffer in
13457 minibuffer-local-map.
13458
13459 * font-lock.el (font-lock-builtin-face): Change light background
13460 color to dark slate blue (Bug#6693).
13461
13462 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13463
13464 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13465
13466 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13469 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13470 Add switch-to-buffer.
13471
13472 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13473
13474 * isearch.el (isearch-search-fun-function): Clarify further the
13475 meaning of the function returned.
13476
13477 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
13478
13479 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13480
13481 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13482 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13483 Use it.
13484 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13485 `tramp-default-remote-path' does not exist.
13486 (tramp-send-command-and-read): New optional argument NOERROR.
13487 (tramp-open-connection-setup-interactive-shell)
13488 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13489 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13490 (tramp-process-sentinel): Flush also process' connection property.
13491 (tramp-sh-handle-start-file-process): Do not set process
13492 sentinel. It is done now ...
13493 (tramp-maybe-open-connection): ... here. (Bug#8929)
13494
13495 2011-07-04 MON KEY <monkey@sandpframing.com>
13496
13497 * play/animate.el (animate-string): Doc fixes and allow changing
13498 the buffer name (bug#5417).
13499
13500 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13501
13502 * play/animate.el (animation-buffer-name): Rename from *animate*.
13503
13504 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13505
13506 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13507 This is simpler and helps future-proof the code.
13508 (timer-until): Use time-subtract and float-time.
13509 (timer--time-less-p): Use time-less-p.
13510
13511 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13512
13513 * type-break.el (timep): Use the value of `float-time' to avoid a
13514 byte-compiler warning.
13515
13516 * server.el (server-eval-and-print): Return any result, even nil.
13517
13518 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13519
13520 * type-break.el: Accept time formats that the builtins accept.
13521 (timep, type-break-time-difference): Accept any format that
13522 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13523 This is simpler and helps future-proof the code.
13524 (type-break-time-difference): Round rather than ignoring
13525 subseconds components.
13526
13527 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13528
13529 * info.el (Info-apropos-matches): Make non-interactive, since it
13530 doesn't seem to do anything useful as a command (bug#8829).
13531
13532 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
13533
13534 * frame.el (frame-background-mode, frame-set-background-mode):
13535 Move from faces.el.
13536 (frame-default-terminal-background): New function.
13537
13538 * custom.el (custom-push-theme): Don't record faces in `changed'
13539 theme; this doesn't work correctly for per-frame face settings.
13540 (disable-theme): Use face-set-after-frame-default to reset faces.
13541 (custom--frame-color-default): New function.
13542
13543 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13544
13545 * dired.el (dired-flagging-regexp): Remove unused variable
13546 (bug#8769).
13547
13548 2011-03-29 Kevin Ryde <user42@zip.com.au>
13549
13550 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13551 `perl-Test2' extend to match possible "fail #N" rep count
13552 (bug#8377).
13553
13554 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13555
13556 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13557 `smtpmail-via-smtp' now returns the error instead of nil.
13558
13559 * isearch.el (isearch-search-fun-function): Clarify the doc string
13560 (bug#8101).
13561
13562 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
13563
13564 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13565 unnecessary spaces (bug#8987).
13566
13567 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13568
13569 * net/network-stream.el (open-network-stream): Use the
13570 :end-of-capability command thoughout.
13571
13572 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13573
13574 * net/network-stream.el (open-network-stream): Add the
13575 :end-of-capability command parameter, used by pop3.el.
13576
13577 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13578
13579 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13580
13581 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13582 for list)" (bug#6475).
13583
13584 * files.el (file-expand-wildcards): Ignore non-readable
13585 sub-directories while trying to find matches instead of signaling
13586 an error (bug#6297).
13587
13588 * man.el (Man-reference-regexp): Allow matching possible
13589 word-wrapped references (bug#6289).
13590
13591 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13592 for consistency with the other vc buffers (bug#6197).
13593 (vc-checkin): Ditto.
13594
13595 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13596
13597 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13598
13599 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13600
13601 * custom.el (defcustom): Clarify that :set is only used in the
13602 Customize user interface (bug#6089).
13603
13604 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13605 associated with a file, refuse to run instead of erroring out
13606 (bug#6084).
13607
13608 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13609 the doc string, since it appears that using `fill-column' always
13610 controls the width (bug#7845).
13611
13612 * simple.el (shell-command-on-region): Say where the error output
13613 went if `shell-command-default-error-buffer' is set (bug#6857).
13614
13615 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13616
13617 * allout.el (allout-yank-processing): Adjust cursor position for
13618 backwards-deleted space.
13619
13620 (allout-rebullet-heading): Register changes with
13621 allout-exposure-changed-hook, so the modified topic is properly
13622 decorated.
13623
13624 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13625
13626 * minibuffer.el (completion-in-region): Document PREDICATE
13627 (bug#7136).
13628
13629 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13630 of keyword/argument pairs (bug#6904).
13631
13632 * replace.el (multi-occur):
13633 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13634
13635 2011-07-02 Drew Adams <drew.adams@oracle.com>
13636
13637 * dired.el (dired-mark-if): Make the message about whether it's
13638 marking or unmarking clearer (bug#8523).
13639
13640 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13641
13642 * disp-table.el (display-table-print-array): New function.
13643 (describe-display-table): Use it to print the vectors more pretty
13644 (Bug#8859).
13645
13646 2011-07-02 Martin Rudalics <rudalics@gmx.at>
13647
13648 * window.el (window-state-get-1): Don't assign clone numbers.
13649 Add clone-of item to list of window parameters.
13650 (window-state-put-2): Don't process clone numbers.
13651 (display-buffer-alist): Fix doc-string.
13652
13653 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * subr.el (remq): Don't allocate if it's not needed.
13656 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13657 (keymap--merge-bindings): New functions.
13658 (keymap-canonicalize): Use them to refine the canonicalization.
13659 * minibuffer.el (minibuffer-local-completion-map)
13660 (minibuffer-local-must-match-map): Move initialization from C.
13661 (minibuffer-local-filename-completion-map): Move initialization from C;
13662 don't inherit from anything here.
13663 (minibuffer-local-filename-must-match-map): Make obsolete.
13664 (completing-read-default): Use make-composed-keymap to combine
13665 minibuffer-local-filename-completion-map with either
13666 minibuffer-local-must-match-map or
13667 minibuffer-local-filename-completion-map.
13668
13669 2011-07-01 Glenn Morris <rgm@gnu.org>
13670
13671 * type-break.el (type-break-time-sum): Use dolist.
13672
13673 * textmodes/flyspell.el (flyspell-word-search-backward):
13674 Replace CL function.
13675
13676 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * mouse.el (mouse--strip-first-event): New function.
13679 (function-key-map): Use it to map fringe clicks to normal clicks
13680 by default.
13681
13682 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13683 (vc-bzr-revision-completion-table): Add support for annotate and date.
13684
13685 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13686 inherit from parent.
13687
13688 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13689
13690 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13691 (dired-show-file-type): Doc fixup (bug#8818).
13692
13693 * dired.el (dired-mode): Fix up the doc string as suggested by
13694 Drew Adams (bug#8817).
13695
13696 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13697 cookie, since the manual says that it should be possible to add
13698 this function to `find-file-hook' (bug#8709).
13699
13700 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13701
13702 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13703 here. Noted Ted Zlatanov as the maintainer.
13704 (cfengine-common-settings, cfengine-common-syntax): New functions
13705 to set up common things between `cfengine-mode' and
13706 `cfengine3-mode'.
13707 (cfengine3-mode): New mode.
13708 (cfengine3-defuns cfengine3-defuns-regex
13709 (cfengine3-class-selector-regex cfengine3-category-regex)
13710 (cfengine3-vartypes cfengine3-font-lock-keywords)
13711 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13712 (cfengine3-indent-line): Add from cfengine3.el.
13713
13714 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13715
13716 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13717
13718 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13719
13720 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13721
13722 * window.el (same-window-buffer-names, same-window-regexps)
13723 (same-window-p, special-display-frame-alist)
13724 (special-display-popup-frame, special-display-function)
13725 (special-display-buffer-names, special-display-regexps)
13726 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13727 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13728 (split-window-preferred-function, split-height-threshold)
13729 (split-width-threshold, even-window-heights)
13730 (display-buffer-mark-dedicated, window-splittable-p)
13731 (split-window-sensibly, window-safely-shrinkable-p):
13732 Un-obsolete.
13733 (display-buffer): Don't spread args with function specifier
13734 because special-display-popup-frame won't like it.
13735
13736 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13737
13738 Time-stamp simplifications and fixes.
13739 These improve accuracy slightly, and future-proof the code
13740 against some potential changes to current-time format.
13741
13742 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13743 by using time-since and float-time.
13744
13745 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13746 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13747 + NNN microseconds".
13748
13749 * type-break.el (type-break-time-sum): Rewrite using time-add.
13750
13751 * play/hanoi.el (hanoi-current-time-float): Remove.
13752 All uses replaced by float-time.
13753
13754 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13755 This yields a more-accurate answer.
13756 (rng-time-to-float): Remove; no longer needed.
13757
13758 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13759
13760 * calendar/timeclock.el (timeclock-seconds-to-time):
13761 Defalias to seconds-to-time, since they're the same thing.
13762
13763 * emacs-lisp/elp.el (elp-elapsed-time):
13764 * emacs-lisp/benchmark.el (benchmark-elapse):
13765 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13766
13767 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * window.el (bury-buffer): Don't iconify the only frame.
13770 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13771 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13772
13773 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13774
13775 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13776 Add mouse-yank-primary.
13777
13778 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13779
13780 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13781
13782 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13785 (find-library-name): Use it to find relative load names when provided
13786 absolute file name (bug#8803).
13787
13788 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13789
13790 * textmodes/flyspell.el (flyspell-word): Consider words that
13791 differ only in case as potential doublons (bug#5687).
13792
13793 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13794 Remove two rather uninteresting debugging-like messages to make
13795 debbugs.el more silent.
13796
13797 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13798 a password-like phrase.
13799
13800 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13801
13802 * progmodes/cc-guess.el: New file.
13803
13804 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13805
13806 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13807 derived from `c-basic-common-init'.
13808
13809 * progmodes/cc-mode.el (top-level): Require cc-guess.
13810 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13811
13812 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13813
13814 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13815
13816 2011-06-30 Alan Mackenzie <acm@muc.de>
13817
13818 * progmodes/cc-engine.el (c-guess-continued-construct):
13819 Correct the handling of template-args-cont, particularly for when font
13820 lock is disabled. Name this case as "CASE G".
13821
13822 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13823
13824 * allout.el (allout-yank-processing): Fix injection of extra space
13825 between bullet and non-whitespace character in first topic when
13826 pasting, ensuring that the actual spacing in the pasted topic
13827 following the bullet char is preserved. This extra space was
13828 causing pasted encrypted topics to get a decrypted status even
13829 when the content was actually still encrypted. Now the decryption
13830 status from before the paste is preserved.
13831
13832 (allout-flag-region): Set all allout overlays so they evaporate
13833 when reduced to zero length (evanescent), to prevent overlay
13834 leakage.
13835
13836 2011-06-30 Glenn Morris <rgm@gnu.org>
13837
13838 * w32-fns.el (w32-charset-info-alist): Declare.
13839
13840 * find-dired.el (find-grep-options): Simplify.
13841
13842 * term/ns-win.el (ns-set-resource): Declare.
13843
13844 * ses.el (row, col): Declare dynamic variables honestly.
13845
13846 * textmodes/reftex-parse.el (index-tags): Declare.
13847
13848 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13849
13850 * cus-edit.el (customize-push-and-save): New function.
13851
13852 * files.el (hack-local-variables-confirm): Use it.
13853
13854 * custom.el (load-theme): New arg NO-CONFIRM.
13855 Use customize-push-and-save (Bug#8720).
13856 (custom-enabled-themes): Doc fix.
13857
13858 * cus-theme.el (customize-create-theme)
13859 (custom-theme-merge-theme): Callers to load-theme changed.
13860
13861 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13862
13863 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13864 short URLs have at least one dot in them (bug #7614).
13865
13866 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13867 nil, because using a pty is apparently too slow (bug #895).
13868
13869 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13870
13871 * mail/sendmail.el (sendmail-query-once): New function.
13872 (sendmail-query-once-function): New variable.
13873
13874 2011-06-29 Glenn Morris <rgm@gnu.org>
13875
13876 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13877
13878 * ses.el (top-level): Require cl when compiling.
13879 (ses-set-localvars): Fix error statement.
13880 Call it at compile time to silence a storm of warnings.
13881
13882 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13883
13884 * window.el (normalize-live-buffer): Rename to
13885 window-normalize-buffer.
13886 (normalize-live-frame): Rename to window-normalize-frame.
13887 (normalize-any-window): Rename to window-normalize-any-window.
13888 (normalize-live-window): Rename to window-normalize-live-window.
13889 (make-window-atom): Rename to window-make-atom.
13890 (window-resize-reset): Rename to window--resize-reset.
13891 (window-resize-reset-1): Rename to window--resize-reset-1.
13892 (resize-mini-window): Rename to window--resize-mini-window.
13893 (resize-subwindows-skip-p): Rename to
13894 window--resize-subwindows-skip-p.
13895 (resize-subwindows-normal): Rename to
13896 window--resize-subwindows-normal.
13897 (resize-subwindows): Rename to window--resize-subwindows.
13898 (resize-other-windows): Rename to window--resize-siblings.
13899 (resize-this-window): Rename to window--resize-this-window.
13900 (resize-root-window): Rename to window--resize-root-window.
13901 (resize-root-window-vertically): Rename to
13902 window--resize-root-window-vertically.
13903 (normalize-buffer-to-display): Rename to
13904 window-normalize-buffer-to-display.
13905 (normalize-buffer-to-switch-to): Rename to
13906 window-normalize-buffer-to-switch-to.
13907 Correspondingly update all callers of the functions listed
13908 above.
13909 (display-buffer-alist, display-buffer-normalize-arguments)
13910 (display-buffer-normalize-options, display-buffer)
13911 (display-buffer-alist-set): Use "function" instead of
13912 "fun-with-args".
13913
13914 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13917 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13918 debbugs.gnu.org. Mention acknowledgment email.
13919
13920 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13921
13922 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13923 buffer multibyteness, since it shouldn't matter.
13924
13925 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13926
13927 * window.el (display-buffer-in-side-window): Handle dedicated
13928 windows as in display-buffer-reuse-window.
13929 (display-buffer-normalize-alist): Use value of override
13930 specifier.
13931 (display-buffer-normalize-specifiers): Use value of
13932 other-window-means-other-frame specifier.
13933 (display-buffer-alist): Rewrite some texts in widgets.
13934 (display-buffer): Spread arguments when calling function
13935 specified by fun-with-args.
13936
13937 2011-06-28 Deniz Dogan <deniz@dogan.se>
13938
13939 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13940 Unnest `let'.
13941
13942 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13943 selectors (Bug#5732).
13944 (css-proprietary-nmstart-re): Use `regexp-opt'.
13945
13946 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13947
13948 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13949 (eshell-ls-date-format): New defcustom.
13950 (eshell-ls-file): Use it.
13951
13952 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13955
13956 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13957
13958 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13959 (ange-ftp-make-tmp-name): New arg.
13960 (ange-ftp-file-local-copy): Use it.
13961
13962 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13963
13964 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13965 no-conversion (Bug#8870).
13966
13967 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13968
13969 * window.el (window-right, window-left, window-child)
13970 (window-child-count, window-last-child)
13971 (window-iso-combination-p, walk-window-tree-1)
13972 (window-atom-check-1, window-tree-1, delete-window)
13973 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13974 new naming conventions - window-vchild, window-hchild,
13975 window-next and window-prev are now called window-top-child,
13976 window-left-child, window-next-sibling and window-prev-sibling
13977 respectively.
13978 (resize-window-reset): Rename to window-resize-reset.
13979 (resize-window-reset-1): Rename to window-resize-reset-1.
13980 (resize-window): Rename to window-resize.
13981 (window-min-height, window-min-width)
13982 (resize-mini-window, resize-this-window, resize-root-window)
13983 (resize-root-window-vertically, adjust-window-trailing-edge)
13984 (enlarge-window, shrink-window, maximize-window)
13985 (minimize-window, delete-window, quit-restore-window)
13986 (split-window, balance-windows, balance-windows-area-adjust)
13987 (balance-windows-area, window-state-put-2)
13988 (display-buffer-even-window-sizes, display-buffer-set-height)
13989 (display-buffer-set-width, set-window-text-height)
13990 (fit-window-to-buffer): Rename all "resize-window" prefixed
13991 calls to use the "window-resize" prefix convention.
13992 (display-buffer-alist): Fix symbol for label specifier.
13993 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13994 corresponding specifier.
13995 Reported by Juanma Barranquero <lekktu@gmail.com>.
13996
13997 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
13998
13999 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14000 convention.
14001 (ses-call-printer): Does not pass an empty string to formatter when the
14002 cell is empty to keep from barking printer Calc math-format-value.
14003
14004 2011-06-27 Richard Stallman <rms@gnu.org>
14005
14006 * battery.el (battery-mode-line-limit): New variable.
14007 (battery-update): Handle it.
14008
14009 * mail/rmailmm.el (rmail-mime-process-multipart):
14010 Handle truncated messages.
14011
14012 2011-06-27 Glenn Morris <rgm@gnu.org>
14013
14014 * progmodes/flymake.el (flymake-err-line-patterns):
14015 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14016
14017 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14018
14019 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14020 (ses--clean-!, ses--clean-_): New functions.
14021 (ses-range): Add configurability of readout order, and conversion
14022 to Calc vector.
14023
14024 * ses.el (ses-repair-cell-reference-all): New function.
14025 (ses-cell-symbol): Set macro as safe, so that it can be used in
14026 formulas.
14027
14028 * ses.el: Update cycle detection algorithm.
14029 (ses-localvars): Add ses--Dijkstra-attempt-nb and
14030 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14031 (ses-set-localvars): New function.
14032 (ses-make-cell): Add property-list as a cell element.
14033 (ses-cell-property-get-fun, ses-cell-property-get)
14034 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14035 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14036 New functions.
14037 (ses-cell-property-set, ses-cell-property-pop)
14038 (ses-cell-property-get-handle): New macro.
14039 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14040 New aliases, used for code readability.
14041 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14042 cycle detection.
14043 (ses-self-reference-early-detection): New defcustom.
14044 (ses-formula-references): Robustify against self-referring cells.
14045 (ses-mode): Use ses-set-localvars.
14046 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14047 before lauching the update processing.
14048 (ses-initialize-Dijkstra-attempt): New function.
14049 (ses-recalculate-cell): Update for cycle detection based on
14050 Dijkstra algorithm.
14051
14052 * ses.el: Fix commenting and indenting convention.
14053
14054 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * bs.el (bs-cycle-next): Complete last change.
14057
14058 2011-06-27 Drew Adams <drew.adams@oracle.com>
14059
14060 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14061
14062 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14063
14064 * net/network-stream.el (network-stream-open-starttls):
14065 Don't re-get capabilities unless we've reestablished connection.
14066 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14067
14068 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14069 to binary to possibly avoid line encoding issues on Windows (among
14070 other things).
14071
14072 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14073
14074 * net/network-stream.el (open-network-stream): Return an :error
14075 saying what the problem was, if possible.
14076
14077 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14078 server.
14079
14080 * net/network-stream.el (network-stream-open-starttls): If we
14081 wanted to use STARTTLS, and the server offered it, but we weren't
14082 able to because we had no STARTTLS support, then close the connection.
14083 (open-network-stream): Return an :error element, if present.
14084
14085 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14086
14087 * hl-line.el (hl-line-sticky-flag): Doc fix.
14088 (global-hl-line-sticky-flag): New option (Bug#8323).
14089 (global-hl-line-highlight): Obey it.
14090
14091 * vc/vc.el (vc-revert-show-diff): Default to t.
14092
14093 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14094
14095 * allout-widgets.el (allout-widgets-post-command-business):
14096 Stop decorating intermediate isearch matches. They're not being
14097 undecorated when an isearch is continued past, and isearch
14098 automatically collapses them. This leads to "widget leaks", where
14099 decorated items accumulate in collapsed areas. Lines with lots of
14100 hidden widgets can slow down cursor travel, substantially.
14101 Too much complicated machinery would be needed to ensure undecoration,
14102 so we're doing without this nicety.
14103
14104 (allout-widgets-tally-string): Don't try to do a hash-table-count
14105 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14106 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14107 *Messages* when allout-widgets-maintain-tally is t.
14108
14109 2011-06-26 Martin Rudalics <rudalics@gmx.at>
14110
14111 * window.el (display-buffer-normalize-argument): Rename to
14112 display-buffer-normalize-arguments. Handle special meaning of
14113 LABEL argument. Respect special-display-function when popping up
14114 a new frame. Fix code searching for a window showing the buffer
14115 on another frame.
14116 (display-buffer-normalize-specifiers):
14117 Call display-buffer-normalize-arguments.
14118 (display-buffer-in-window): Don't undedicate the window if its
14119 buffer remains the same.
14120 Reported by Drew Adams <drew.adams@oracle.com>.
14121 (display-buffer-alist): Add choice for same-window macro
14122 specfier.
14123 (display-buffer): Mention special meaning of LABEL argument in
14124 doc-string. Fix quoting. Don't pop up a new frame even as
14125 fallback.
14126
14127 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14128
14129 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14130 avoid deleting the current window in some cases (bug#8911).
14131
14132 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14133
14134 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14135 (Bug#8934)
14136
14137 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14138
14139 * net/network-stream.el (network-stream-open-starttls):
14140 Use built-in TLS support if `gnutls-available-p' is true.
14141 (network-stream-open-tls): Ditto.
14142
14143 2011-06-26 Leo Liu <sdl.web@gmail.com>
14144
14145 * register.el (registerv): New struct.
14146 (registerv-make): New function.
14147 (jump-to-register, describe-register-1, insert-register):
14148 Support the jump-func, print-func and insert-func slot of a registerv
14149 struct. (Bug#8415)
14150
14151 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14152
14153 * vc/vc.el (vc-revert-show-diff): New defcustom.
14154 (vc-diff-internal): New arg specifying diff buffer.
14155 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14156 reuse an existing *vc-diff* buffer (Bug#8927).
14157
14158 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14159
14160 2011-06-26 Glenn Morris <rgm@gnu.org>
14161
14162 * progmodes/f90.el (f90-critical-indent): New option.
14163 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14164 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14165 (f90-mode): Doc fix.
14166 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14167 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14168 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14169 (f90-match-end): Handle block, critical.
14170
14171 2011-06-25 Glenn Morris <rgm@gnu.org>
14172
14173 * calendar/diary-lib.el (diary-included-files): Doc fix.
14174 (diary-include-files): New function, extracted from
14175 diary-include-other-diary-files and diary-mark-included-diary-files.
14176 (diary-include-other-diary-files, diary-mark-included-diary-files):
14177 Just call diary-include-files.
14178 (diary-mark-entries): Reset diary-included-files on first call.
14179
14180 * calendar/diary-lib.el (diary-mark-entries)
14181 (diary-mark-included-diary-files):
14182 Visit included diary-files in temp buffers.
14183
14184 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14185 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14186 (f90-start-block-re, f90-imenu-generic-expression)
14187 (f90-looking-at-program-block-start, f90-no-block-limit):
14188 Add support for submodules.
14189
14190 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14191 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14192
14193 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14194
14195 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14196 buffer-file-type before setting its value, to avoid disastrous
14197 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14198
14199 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14200
14201 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14202
14203 * ses.el (ses-unload-function):
14204 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14205
14206 * proced.el (proced-unload-function):
14207 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14208
14209 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14210
14211 * server.el (server-create-window-system-frame): Add parameters arg.
14212 (server-process-filter): Doc fix. Handle frame-parameters.
14213
14214 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14215
14216 Fix bug#8730, bug#8781.
14217
14218 * loadhist.el (unload--set-major-mode): New function.
14219 (unload-feature): Use it.
14220
14221 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14222 (python-unload-function): New function.
14223
14224 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14227
14228 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14229
14230 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14231 the candidates list.
14232
14233 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14234
14235 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14236
14237 2011-06-23 Richard Stallman <rms@gnu.org>
14238
14239 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14240 (rmail-variables): Set next-error-move-function.
14241 (rmail-what-message): Take argument POS.
14242 (rmail-next-error-move): New function.
14243
14244 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14247 messages for adjacent non-terminals.
14248
14249 2011-06-23 Richard Stallman <rms@gnu.org>
14250
14251 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14252 (rmail-show-message-1): Preserve buffer modified flag.
14253 (rmail-start-mail): Don't specify use of rmail-mail-return;
14254 that's done by mail-bury now.
14255 (rmail-mail-return): Handle arg NEWBUF.
14256
14257 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
14258
14259 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14260 SIZE is a number.
14261
14262 2011-06-23 Martin Rudalics <rudalics@gmx.at>
14263
14264 * window.el (get-lru-window, get-mru-window)
14265 (get-largest-window): Never return a minibuffer window.
14266 (display-buffer-pop-up-window): Fix a bug that could lead to
14267 reusing the minibuffer window.
14268 (display-buffer): Pass original specifier argument to
14269 display-buffer-function instead of the normalized one.
14270 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14271
14272 2011-06-22 Leo Liu <sdl.web@gmail.com>
14273
14274 * minibuffer.el (completing-read-function)
14275 (completing-read-default): Move from minibuf.c
14276
14277 2011-06-22 Richard Stallman <rms@gnu.org>
14278
14279 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14280 to Rmail even if not started by a special Rmail command.
14281
14282 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14283 Copy the buffer currently showing just one message.
14284
14285 2011-06-22 Roland Winkler <winkler@gnu.org>
14286
14287 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14288 (bibtex-clean-entry): First delete the old key so that a
14289 customized algorithm for generating the new key does not get
14290 confused by the old key.
14291 (bibtex-url): Obey regexp of first step.
14292 (bibtex-search-entries): Do not use add-to-list with local
14293 list-var.
14294
14295 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14296
14297 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14298 stored a user name, then query for the password first, instead of
14299 waiting for SMTP to give an error message and the trying again.
14300
14301 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14302
14303 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14304 BUFFER in call-process.
14305
14306 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14307
14308 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14309 QUIT twice.
14310 (smtpmail-try-auth-methods): Require user name and password from
14311 auth-source.
14312
14313 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14314
14315 * window.el (display-buffer-default-specifiers)
14316 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14317 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14318 (split-window): Normalize SIDE argument (Bug#8916).
14319
14320 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14321 (special-display-frame-alist, special-display-popup-frame):
14322 Remove duplicate declarations. These are now in window.el.
14323
14324 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14325
14326 * mail/smtpmail.el (smtpmail-via-smtp):
14327 Set :use-starttls-if-possible so that we always use STARTTLS if the
14328 server supports it. SMTP servers that support STARTTLS commonly
14329 require it.
14330
14331 * net/network-stream.el (network-stream-open-starttls): Support
14332 upgrading to STARTTLS always, even if we don't have built-in support.
14333 (open-network-stream): Add the :always-query-capabilities keyword.
14334
14335 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14336 upgrades with `open-network-stream', and rely solely on
14337 auth-source for all credentials. Big changes throughout the file,
14338 but in particular:
14339 (smtpmail-auth-credentials): Remove.
14340 (smtpmail-starttls-credentials): Remove.
14341 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14342 MAIL FROM, too.
14343
14344 * net/network-stream.el (network-stream-open-starttls):
14345 Provide support for client certificates both for external and built-in
14346 STARTTLS.
14347 (auth-source): Require.
14348 (open-network-stream): Document the :client-certificate keyword.
14349 (network-stream-certificate): Change cert-cert to cert and
14350 cert-key to key.
14351
14352 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14353
14354 * net/tramp-cache.el (top): Don't load the persistency file when
14355 "emacs -Q" has been called.
14356
14357 2011-06-21 Tim Harper <timcharper@gmail.com>
14358
14359 * term/ns-win.el (ns-initialize-window-system):
14360 Set application-specific `ApplePressAndHoldEnabled' system
14361 resource to NO as it is not yet supported by the NS port.
14362
14363 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14364
14365 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14366 (list-dynamic-libraries): ...not here.
14367
14368 2011-06-21 Leo Liu <sdl.web@gmail.com>
14369
14370 * subr.el (sha1): Implement sha1 using secure-hash.
14371
14372 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14373
14374 * window.el (display-buffer-alist): In default value do not
14375 enforce searching a window on any but the selected frame.
14376 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14377 (display-buffer-select-window): Remove function.
14378 (display-buffer-in-window): When a window on another frame gets
14379 reused, do not select it any more but just raise its frame if
14380 necessary (Bug#8851) and (Bug#8856).
14381 (display-buffer-normalize-options): Handle pop-up-frames related
14382 options more faithfully.
14383 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14384 window if it is on another frame.
14385 (display-buffer-alist, display-buffer-default-specifiers):
14386 Don't make new frame unsplittable by default.
14387 (display-buffer-normalize-argument): Fix doc-string typo and use
14388 'same-frame-other-window instead of 'other-window when associating
14389 with display-buffer-macro-specifiers.
14390
14391 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14392
14393 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14394 New functions.
14395 (5x5-mode-map, 5x5-mode-menu): Bind them.
14396 (5x5-draw-grid): Tweak the solver's rendering.
14397
14398 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14401 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14402
14403 2011-06-21 Drew Adams <drew.adams@oracle.com>
14404
14405 * menu-bar.el: Use function variable instead of switch-to-buffer.
14406 (menu-bar-select-buffer-function): New variable.
14407 (menu-bar-update-buffers): Use it (bug#8876).
14408
14409 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14412 variable's status.
14413
14414 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14415
14416 * x-dnd.el (x-dnd-version-from-flags)
14417 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14418 and long as number (Bug#8899).
14419 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14420
14421 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14424 (completion-try-completion, completion-all-completions): Compute the
14425 metadata argument if it's missing; make it optional (bug#8795).
14426
14427 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14428 (widget-complete): Use new :completion-function property.
14429 (widget-completions-at-point): New function.
14430 (default): Use :completion-function instead of :complete.
14431 (widget-default-completions): Rename from widget-default-complete;
14432 Rewrite.
14433 (widget-string-complete, widget-file-complete, widget-color-complete):
14434 Remove functions.
14435 (file, symbol, function, variable, coding-system, color):
14436 * international/mule-cmds.el (default-input-method, charset)
14437 (language-info-custom-alist):
14438 * cus-edit.el (face): Use new property :completions.
14439
14440 * progmodes/pascal.el (pascal-completions-at-point): New function.
14441 (pascal-mode): Use it.
14442 (pascal-mode-map): Use completion-at-point.
14443 (pascal-toggle-completions): Make obsolete.
14444 (pascal-complete-word, pascal-show-completions):
14445 * progmodes/octave-mod.el (octave-complete-symbol):
14446 Redefine as obsolete alias.
14447 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14448 Signal absence of completion info for old Octave,
14449 (inferior-octave-complete): Redefine as obsolete alias.
14450 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14451 (meta-completions-at-point): Rename from meta-complete-symbol and
14452 adapt it for use on completion-at-point-functions.
14453 (meta-common-mode): Use it.
14454 (meta-looking-at-backward, meta-match-buffer): Remove.
14455 (meta-complete-symbol): Redefine as obsolete alias.
14456 (meta-common-mode-map): Use completion-at-point.
14457 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14458 (makefile-mode-map): Use completion-at-point.
14459 (makefile-completions-at-point): Rename from makefile-complete and
14460 adapt it for use on completion-at-point-functions.
14461 (makefile-mode): Use it.
14462 (makefile-complete): Redefine as obsolete alias.
14463
14464 2011-06-20 Deniz Dogan <deniz@dogan.se>
14465
14466 * net/rcirc.el: Delete trailing whitespaces once and for all.
14467
14468 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14469
14470 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14471
14472 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14473
14474 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14475
14476 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14477
14478 2011-06-19 Martin Rudalics <rudalics@gmx.at>
14479
14480 * window.el (display-buffer-other-window-means-other-frame):
14481 Call display-buffer-normalize-alist.
14482 (display-buffer-normalize-specifiers-1): Rename to
14483 display-buffer-normalize-argument. New argument other-frame.
14484 Rewrite.
14485 (display-buffer-normalize-specifiers-2): Rename to
14486 display-buffer-normalize-options.
14487 (display-buffer-normalize-alist-1): New function.
14488 (display-buffer-normalize-specifiers-3): Rename to
14489 display-buffer-normalize-alist.
14490 Call display-buffer-normalize-alist-1.
14491 (display-buffer-normalize-options-inhibit): New variable.
14492 (display-buffer-normalize-specifiers): Rewrite calling
14493 display-buffer-normalize-alist,
14494 display-buffer-normalize-argument, and
14495 display-buffer-normalize-options. Don't call the latter if
14496 display-buffer-normalize-options-inhibit is non-nil.
14497 (frame-auto-delete): New option.
14498 (window-deletable-p): Use frame-auto-delete.
14499 (window-list-no-nils, window-state-ignored-parameters)
14500 (window-state-get-1, window-state-get, window-state-put-list)
14501 (window-state-put-1, window-state-put-2, window-state-put):
14502 New functions.
14503 (display-buffer-normalize-options): Move special-display-p group
14504 after pop-up-frame group (Bug#8851) and (Bug#8856).
14505
14506 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
14507
14508 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14509 groups (Bug#8776).
14510 (rx-submatch-n): New function.
14511 (rx): Document it.
14512
14513 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14514 (Bug#8768).
14515
14516 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14517
14518 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14519
14520 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14521 anytime existing face settings are present (Bug#8889).
14522
14523 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14524 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14525 Remove unused argument.
14526
14527 2011-06-18 Martin Rudalics <rudalics@gmx.at>
14528
14529 * window.el (display-buffer-default-specifiers):
14530 Remove pop-up-frame. Add pop-up-window-min-height,
14531 pop-up-window-min-width, and another reuse-window specifier
14532 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
14533 (display-buffer-normalize-specifiers-2):
14534 Handle split-height-threshold and split-width-threshold also when
14535 pop-up-windows is unset. Add a reuse-window specifier for the
14536 case popping up a new window fails.
14537 (special-display-popup-frame): Remove double quoting.
14538 (display-buffer-normalize-specifiers-1): Fix thinko.
14539
14540 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14543 according to comint-completion-addsuffix.
14544
14545 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14546 (pcomplete-suffix-list): Mark as obsolete.
14547 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14548 pcomplete-seen in the closure.
14549 (pcomplete-comint-setup): Setup completion-at-point as well.
14550 (pcomplete--entries): New function.
14551 (pcomplete--env-regexp): New var.
14552 (pcomplete-entries): Rewrite to work with partial-completion and
14553 without relying on pcomplete-suffix-list.
14554 (pcomplete-pare-list): Remove, unused.
14555
14556 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14557
14558 * window.el (display-buffer-alist): Set pop-up-window-min-height
14559 and pop-up-window-min-width in default value. Reported by
14560 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14561 other-window-means-other-frame.
14562 (display-buffer-macro-specifiers): Comment out entry for
14563 other-window specifier.
14564 (display-buffer-other-window-means-other-frame): New function.
14565 (display-buffer-normalize-specifiers-1): New arguments
14566 buffer-name and label. Treat other-window case specially.
14567 (display-buffer-normalize-specifiers-2): Treat other-window case
14568 specially.
14569 (display-buffer-normalize-specifiers-3): New function.
14570 (display-buffer-normalize-specifiers):
14571 Call display-buffer-normalize-specifiers-3.
14572
14573 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14574
14575 * window.el (same-window-p): Fix two typos introduced when
14576 adding with-no-warnings.
14577 (display-buffer-normalize-specifiers-1): Don't check
14578 pop-up-frames for 'unset initialization.
14579 (display-buffer-normalize-specifiers-2): Major rewrite using
14580 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14581 (pop-up-frames, display-buffer-reuse-frames)
14582 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14583 Suggested by David Engster <deng@randomsample.de>.
14584 (even-window-heights): Initialize to 'unset.
14585 (display-buffer-alist-set): Handle new 'unset initializations.
14586 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14587 other window case.
14588
14589 2011-06-16 Martin Rudalics <rudalics@gmx.at>
14590
14591 * window.el (display-buffer-normalize-specifiers-1):
14592 Respect current value of pop-up-frames for most reasonable values of
14593 second argument of display-buffer (Bug#8865).
14594 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14595 (switch-to-buffer-other-window-same-frame)
14596 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14597 Adams (Bug#8875).
14598 (display-buffer): Don't check noninteractive when calling
14599 display-buffer-pop-up-frame.
14600 (display-buffer-pop-up-frame): Never pop up a frame in
14601 noninteractive mode (Bug#8857).
14602 (enlarge-window, shrink-window): Don't report an error when the
14603 window can't be resized as requested (Bug#8862).
14604
14605 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14606
14607 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14608
14609 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14610
14611 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14612
14613 2011-06-15 Alan Mackenzie <acm@muc.de>
14614
14615 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14616 for declarators, disable knr checking to speed up for normal files.
14617 2: Refactor, replacing a sequence of nested if forms by a cond form.
14618
14619 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14620
14621 * net/network-stream.el (open-network-stream): Add the keyword
14622 :always-query-capabilities for the case where you want to force a
14623 `plain' network connection, but the protocol still requires the
14624 capabilitiy command (i.e., SMTP and EHLO).
14625
14626 * subr.el (process-live-p): Rename from `process-alive-p' for
14627 consistency with other `-live-p' functions.
14628
14629 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 * window.el (same-window-buffer-names, same-window-regexps)
14632 (special-display-frame-alist, special-display-popup-frame)
14633 (special-display-function, special-display-buffer-names)
14634 (special-display-regexps, pop-up-frame-alist)
14635 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14636 (pop-up-windows, split-window-preferred-function)
14637 (split-height-threshold, split-width-threshold, even-window-heights)
14638 (display-buffer-mark-dedicated): Don't encourage the use of
14639 display-buffer-alist from Elisp code.
14640
14641 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14642
14643 * progmodes/python.el (python-mode): Derive from prog-mode.
14644 * progmodes/ps-mode.el (ps-mode):
14645 * progmodes/mixal-mode.el (mixal-mode):
14646 * progmodes/cfengine.el (cfengine-mode):
14647 * progmodes/ld-script.el (ld-script-mode): Likewise.
14648
14649 2011-06-15 Martin Rudalics <rudalics@gmx.at>
14650
14651 * window.el (display-buffer-alist): Trim default value to avoid
14652 popping up a new frame (Bug#8857) or reusing an arbitrary window
14653 on another frame.
14654 (display-buffer): Do not fall back on popping up a new frame in
14655 batch mode (Bug#8857).
14656
14657 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
14658
14659 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14660 (custom-theme-summary): New function.
14661 (customize-themes): Use it.
14662
14663 2011-06-13 Glenn Morris <rgm@gnu.org>
14664
14665 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14666
14667 2011-06-13 Martin Rudalics <rudalics@gmx.at>
14668
14669 * help.el (help-window): Remove variable.
14670 (help-window-point-marker, temp-buffer-max-height)
14671 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14672 (help-print-return-message): Don't set help-window.
14673 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14674 (help-window-setup-finish): Remove.
14675 (help-window-display-message, help-window-setup)
14676 (with-help-window): Major rewrite based on new
14677 display-buffer-window variable.
14678
14679 * help-mode.el (help-mode-finish): Remove help-window related
14680 code.
14681
14682 * view.el (view-exits-all-viewing-windows): Remove reference to
14683 view-return-to-alist in doc-string.
14684 (view-return-to-alist): Make obsolete.
14685 (view-buffer): Call pop-to-buffer-same-window and remove
14686 undo-window code.
14687 (view-buffer-other-window): Call pop-to-buffer-other-window and
14688 simplify code. Ignore second argument.
14689 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14690 simplify code. Ignore second argument.
14691 (view-return-to-alist-update): Make obsolete.
14692 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14693 Rewrite using quit-restore window parameters.
14694 (view-mode-exit): Rename second argument to EXIT-ONLY.
14695 Rewrite using quit-restore-window.
14696 (View-exit, View-exit-and-edit, View-leave, View-quit)
14697 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14698 appropriate arguments.
14699 (view-end-message): Use quit-restore window parameter.
14700
14701 * window.el (display-buffer-function): Rewrite doc-string.
14702 (display-buffer-window, display-buffer-alist): New variables.
14703 (display-buffer-split-specifiers)
14704 (display-buffer-side-specifiers)
14705 (display-buffer-macro-specifiers): New constants.
14706 (display-buffer-even-window-sizes, display-buffer-set-height)
14707 (display-buffer-set-width, display-buffer-select-window)
14708 (display-buffer-in-window, display-buffer-reuse-window)
14709 (display-buffer-split-window-1, display-buffer-split-window)
14710 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14711 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14712 (display-buffer-in-side-window, normalize-buffer-to-display)
14713 (display-buffer-normalize-specifiers-1)
14714 (display-buffer-normalize-specifiers-2)
14715 (display-buffer-normalize-specifiers, display-buffer-frame):
14716 New functions.
14717 (display-buffer): Major rewrite.
14718 (display-buffer-other-window, display-buffer-other-frame)
14719 (pop-to-buffer, switch-to-buffer-other-window)
14720 (switch-to-buffer-other-frame): Rewrite.
14721 (display-buffer-same-window, display-buffer-same-frame)
14722 (display-buffer-same-frame-other-window)
14723 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14724 (pop-to-buffer-other-window)
14725 (pop-to-buffer-same-frame-other-window)
14726 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14727 (switch-to-buffer-other-window-same-frame): New functions.
14728 (same-window-p, special-display-p): Rewrite disabling warnings.
14729 Make obsolete.
14730 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14731 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14732 Make obsolete
14733 (same-window-buffer-names, same-window-regexps)
14734 (special-display-frame-alist, special-display-popup-frame)
14735 (special-display-function, special-display-buffer-names)
14736 (special-display-regexps, pop-up-frame-alist)
14737 (pop-up-frame-function, split-window-preferred-function)
14738 (split-height-threshold, split-width-threshold)
14739 (even-window-heights): Make obsolete.
14740
14741 2011-06-12 Glenn Morris <rgm@gnu.org>
14742
14743 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14744 Misc simplifications.
14745
14746 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14747
14748 * window.el (window-safely-shrinkable-p): Restore function which
14749 was inadvertently removed in change from 2011-06-11. Declare as
14750 obsolete.
14751
14752 * calendar/calendar.el (calendar-generate-window):
14753 Use window-iso-combined-p instead of combination of one-window-p and
14754 window-safely-shrinkable-p.
14755
14756 2011-06-12 Glenn Morris <rgm@gnu.org>
14757
14758 * progmodes/fortran.el (fortran-mode-syntax-table):
14759 * progmodes/f90.el (f90-mode-syntax-table):
14760 Set % to punctuation. (Bug#8820)
14761 (f90-find-tag-default): Remove, no longer needed.
14762
14763 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14764
14765 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14766
14767 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14768
14769 * image.el (image-animated-p): Return animation delay in seconds.
14770 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14771 (image-animate-timeout): Remove DELAY argument. Don't assume
14772 every subimage has the same delay; get it from image-animated-p.
14773 (image-animate): Caller changed.
14774
14775 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14776
14777 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14778 to ignored backtrace functions.
14779
14780 2011-06-11 Glenn Morris <rgm@gnu.org>
14781
14782 * calendar/appt.el (appt-disp-window-function): Doc fix.
14783 (appt-check): Handle overlapping appointments. (Bug#8337)
14784
14785 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14786
14787 * window.el (window-tree-1, window-tree): New functions, moving
14788 the latter to window.el.
14789 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14790 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14791 (bw-refresh-edges): Remove.
14792 (balance-windows-1, balance-windows-2): New functions.
14793 (balance-windows): Rewrite in terms of window tree functions,
14794 balance-windows-1 and balance-windows-2.
14795 (bw-adjust-window): Remove.
14796 (balance-windows-area-adjust): New function with functionality of
14797 bw-adjust-window but using resize-window.
14798 (set-window-text-height): Rewrite doc-string.
14799 Use normalize-live-window and resize-window.
14800 (enlarge-window-horizontally, shrink-window-horizontally):
14801 Rename argument to DELTA.
14802 (window-buffer-height): New function.
14803 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14804 Rewrite using new window resize routines.
14805 (kill-buffer-and-window, mouse-autoselect-window-select):
14806 Use ignore-errors instead of condition-case.
14807 (quit-window): Call delete-frame instead of delete-windows-on
14808 for the only buffer on frame.
14809
14810 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14811
14812 * loadup.el (top-level): Load window before files for the sake
14813 of replace-buffer-in-windows.
14814
14815 * files.el (read-buffer-to-switch)
14816 (switch-to-buffer-other-window)
14817 (switch-to-buffer-other-frame, display-buffer-other-frame):
14818 Move to window.el.
14819
14820 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14821 (previous-buffer): Move to window.el.
14822
14823 * bindings.el (unbury-buffer): Move to window.el.
14824
14825 * window.el (delete-other-windows-vertically): Move after
14826 definition of delete-other-windows.
14827 (other-window, delete-windows-on, replace-buffer-in-windows):
14828 Move here from window.c.
14829 (record-window-buffer, unrecord-window-buffer)
14830 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14831 (switch-to-next-buffer): New functions.
14832 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14833 from simple.el. Call switch-to-next-buffer.
14834 (previous-buffer): Move here from simple.el.
14835 Call switch-to-prev-buffer.
14836 (bury-buffer): Move here from buffer.c. Switch to previous
14837 buffer when window cannot be deleted.
14838 (unbury-buffer): Move here from bindings.el.
14839 (ctl-x-map): Move binding for other-window from window.c to
14840 here.
14841 (read-buffer-to-switch, switch-to-buffer-other-window)
14842 (switch-to-buffer-other-frame): Move here from files.el.
14843 (normalize-buffer-to-switch-to): New functions.
14844 (switch-to-buffer): Move here from buffer.c.
14845 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14846
14847 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14848
14849 * window.el (window-min-height, window-min-width): Move here
14850 from window.c. Add defcustoms and rewrite doc-strings.
14851 (resize-mini-window, resize-window): New functions.
14852 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14853 Move here from window.c.
14854 (maximize-window, minimize-window): New functions.
14855 (delete-window, delete-other-windows, split-window): Move here
14856 from window.c.
14857 (window-split-min-size): New function.
14858 (split-window-keep-point): Mention split-window-above-each-other
14859 instead of split-window-vertically.
14860 (split-window-above-each-other, split-window-vertically):
14861 Rename split-window-vertically to split-window-above-each-other
14862 and provide defalias for old definition.
14863 (split-window-side-by-side, split-window-horizontally):
14864 Rename split-window-horizontally to split-window-side-by-side
14865 and provide defalias for the old definition.
14866 (ctl-x-map): Move bindings for delete-window,
14867 delete-other-windows and enlarge-window here from window.c.
14868 Replace bindings for split-window-vertically and
14869 split-window-horizontally by bindings for
14870 split-window-above-each-other and split-window-side-by-side.
14871
14872 * cus-start.el (all): Remove entries for window-min-height and
14873 window-min-width. Add entries for window-splits and
14874 window-nest.
14875
14876 2011-06-09 Glenn Morris <rgm@gnu.org>
14877
14878 * calendar/appt.el (appt-mode-line): New function.
14879 (appt-check, appt-disp-window): Use it.
14880
14881 * files.el (hack-one-local-variable-eval-safep):
14882 Allow minor-modes with explicit +/-1 arguments.
14883
14884 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14885
14886 * term/xterm.el (xterm): Add defgroup.
14887 (xterm-extra-capabilities): Add defcustom to supply known xterm
14888 capabilities, skip querying them, or query them (default).
14889 (terminal-init-xterm): Use it.
14890 (terminal-init-xterm-modify-other-keys): New function to set up
14891 modifyOtherKeys support to simplify `terminal-init-xterm'.
14892
14893 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14894
14895 * window.el (resize-window-reset, resize-window-reset-1)
14896 (resize-subwindows-skip-p, resize-subwindows-normal)
14897 (resize-subwindows, resize-other-windows, resize-this-window)
14898 (resize-root-window, resize-root-window-vertically)
14899 (window-deletable-p, window-or-subwindow-p)
14900 (frame-root-window-p): New functions.
14901
14902 2011-06-09 Glenn Morris <rgm@gnu.org>
14903
14904 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14905 (ange-ftp-get-files): Use it.
14906
14907 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14908
14909 * mail/sendmail.el (mail-recover-1, mail-recover):
14910 * files.el (recover-file, recover-session):
14911 Handle dired-listing-switches not being just a single short option.
14912
14913 2011-06-09 Glenn Morris <rgm@gnu.org>
14914
14915 * calendar/appt.el (appt-display-message, appt-disp-window):
14916 Handle lists of appointments.
14917
14918 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14919
14920 * window.el (one-window-p): Move down in code.
14921 Rewrite doc-string.
14922 (window-current-scroll-bars): Rewrite doc-string.
14923 Normalize live window argument.
14924 (walk-windows, get-window-with-predicate, count-windows):
14925 Rewrite doc-string. Use window-list-1.
14926 (window-in-direction-2, window-in-direction, get-mru-window):
14927 New functions.
14928
14929 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14930
14931 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14932 Doc fix (Bug#8713).
14933
14934 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14935
14936 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14937
14938 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14939
14940 * loadhist.el (unload-feature-special-hooks):
14941 Add `comint-output-filter-functions'.
14942
14943 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14944
14945 * calendar/appt.el (appt-check): Move some initializations into the let.
14946
14947 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14948
14949 * window.el (window-height): Defalias to window-total-height.
14950 (window-width): Defalias to window-body-width.
14951
14952 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14953
14954 * image-mode.el (image-toggle-animation): New command.
14955 (image-mode-map): Bind it to RET.
14956 (image-mode): Update message.
14957 (image-toggle-display-image): Avoid a spurious cache flush.
14958 (image-transform-rotation): Doc fix.
14959 (image-transform-properties): Return quickly in the normal case.
14960 (image-animate-loop): Rename from image-animate-max-time.
14961
14962 * image.el (image-animate-max-time): Move to image-mode.el.
14963 (create-animated-image): Remove unnecessary function.
14964 (image-animate): Rename from image-animate-start. New arg.
14965 (image-animate-stop): Remove; just use image-animate-timer.
14966 (image-animate-timer): Use car-safe.
14967 (image-animate-timeout): Rename argument.
14968
14969 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14970
14971 * window.el (get-lru-window, get-largest-window): Move here from
14972 window.c. Rename first argument to ALL-FRAMES.
14973 Rephrase doc-strings.
14974 (get-buffer-window-list): Rewrite using window-list-1.
14975 Rephrase doc-string.
14976 (window-safe-min-height, window-safe-min-width): New constants.
14977 (window-size-ignore, window-min-size, window-min-size-1)
14978 (window-sizable, window-sizable-p, window-size-fixed-1)
14979 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14980 (window-max-delta-1, window-max-delta, window-resizable)
14981 (window-resizable-p, window-total-height, window-total-width)
14982 (window-body-width): New functions.
14983 (window-full-height-p, window-full-width-p): Rewrite using
14984 window-total-size.
14985 (window-body-height): Rewrite using window-body-size.
14986
14987 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14988
14989 * window.el (window-right, window-left, window-child)
14990 (window-child-count, window-last-child, window-any-p)
14991 (normalize-live-buffer, normalize-live-frame)
14992 (normalize-any-window, normalize-live-window)
14993 (window-iso-combination-p, window-iso-combined-p)
14994 (window-iso-combinations)
14995 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14996 (windows-with-parameter, window-with-parameter)
14997 (window-atom-root, make-window-atom, window-atom-check-1)
14998 (window-atom-check, window-side-check, window-check):
14999 New functions.
15000 (ignore-window-parameters, window-sides, window-sides-vertical)
15001 (window-sides-slots): New variables.
15002 (window-size-fixed): Move down in code. Minor doc-string fix.
15003
15004 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15005
15006 * comint.el (comint-dynamic-complete-as-filename)
15007 (comint-dynamic-complete-filename): Correctly call
15008 completion-in-region.
15009
15010 2011-06-05 Deniz Dogan <deniz@dogan.se>
15011
15012 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15013 in last change.
15014
15015 2011-06-05 Deniz Dogan <deniz@dogan.se>
15016
15017 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15018 (rcirc): Use it to prompt for encryption.
15019
15020 2011-06-05 Roland Winkler <winkler@gnu.org>
15021
15022 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15023 (bibtex-search-entries): New command bound to C-c C-a.
15024 (bibtex-display-entries): New function.
15025
15026 2011-06-05 Roland Winkler <winkler@gnu.org>
15027
15028 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15029 (bibtex-insert-kill): After yanking insert newline if necessary.
15030 (bibtex-initialize): Call bibtex-string-files-init only once.
15031 (bibtex-mode): Do not call easy-menu-add.
15032 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15033 (bibtex-yank): Set arg properly if nil.
15034
15035 2011-06-05 Roland Winkler <winkler@gnu.org>
15036
15037 * textmodes/bibtex.el (bibtex-search-entry-globally):
15038 New variable.
15039 (bibtex-search-entry): Use it.
15040
15041 2011-06-05 Roland Winkler <winkler@gnu.org>
15042
15043 * textmodes/bibtex.el (bibtex-entry-format): New option
15044 sort-fields.
15045 (bibtex-format-entry, bibtex-reformat): Honor this option.
15046 (bibtex-parse-entry): Return fields in proper order.
15047
15048 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
15049
15050 * doc-view.el (doc-view-remove-if): Move computation of result out
15051 of `dolist' to silence misleading lexical-binding warning.
15052
15053 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15056 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15057
15058 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15059
15060 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15061 "SunOS 5.10".
15062
15063 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15064
15065 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15066 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15067 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15068 (tramp-parse-putty):
15069 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15070 (tramp-completion-function-alist-ssh)
15071 (tramp-completion-function-alist-telnet)
15072 (tramp-completion-function-alist-su)
15073 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15074 cookie.
15075
15076 * net/tramp-ftp.el:
15077 * net/tramp-sh.el:
15078 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15079 load "tramp.el" `tramp-set-completion-function'.
15080
15081 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * shell.el: Require and use pcomplete.
15084 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15085 (shell-completion-vars): Set pcomplete-default-completion-function.
15086
15087 2011-06-04 Deniz Dogan <deniz@dogan.se>
15088
15089 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15090 `memq' (Bug#8799).
15091
15092 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15095
15096 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
15097
15098 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15099 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15100 * vc/log-view.el (log-view-beginning-of-defun):
15101 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15102 (smerge-refine-forward, smerge-refine-chopup-region):
15103 Silence warning for unused `dotimes' counter variables.
15104
15105 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15106
15107 * net/tramp.el (tramp-with-progress-reporter): Rename from
15108 with-progress-reporter. Use `declare'.
15109 * net/tramp-smb.el:
15110 * net/tramp-sh.el:
15111 * net/tramp-gvfs.el: Update all uses.
15112
15113 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15114
15115 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15116 buffer isn't killed before making it current.
15117
15118 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15119
15120 Silence various byte-compiler warnings.
15121 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15122 `access-type' and new obsolescence format.
15123 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15124 new format.
15125 (byte-compile-check-variable): New `access-type' argument.
15126 Only warn if the access-type is obsolete.
15127 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15128 (byte-compile-variable-set): Adjust callers.
15129 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15130 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15131 setting it as obsolete.
15132 * simple.el (minibuffer-completing-symbol):
15133 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15134 access as obsolete.
15135 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15136 obsolete yet.
15137 * international/quail.el (quail-mouse-choose-completion): Remove unused
15138 code referring to obsolete var.
15139 (quail-choose-completion-string): Remove.
15140 * server.el (server-clients-with, server-kill-buffer-query-function)
15141 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15142 * proced.el (proced-send-signal):
15143 * emacs-lisp/lisp.el (lisp-complete-symbol):
15144 Replace completion-annotate-function with completion-extra-properties.
15145
15146 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15147
15148 * simple.el (goto-line): Use read-number.
15149 (overriding-map-is-bound): Remove.
15150 (saved-overriding-map): Change default.
15151 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15152 Take the map as argument.
15153 (universal-argument, negative-argument, digit-argument): Use it.
15154 (restore-overriding-map): Adjust.
15155 (do-auto-fill): Use fill-forward-paragraph.
15156 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15157
15158 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15159 (minibuffer-inactive-mode): New major mode.
15160 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15161 the *Messages* buffer" hack.
15162 (mouse-popup-menubar): Don't burp if the event is a normal key.
15163
15164 Miscellaneous tweaks.
15165 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15166 lexical scoping as in subr.el's dolist and dotimes.
15167 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15168 Silence compiler warning.
15169 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15170 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15171 * international/ccl.el (ccl-compile): Trivial simplification.
15172 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15173 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15174 `printflag' argument.
15175 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15176 Purecopy the whole obsolescence data.
15177
15178 2011-06-01 Leo Liu <sdl.web@gmail.com>
15179
15180 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15181 improve doc-string as suggested by Marco Pessotto
15182 <melmothx@gmail.com>.
15183 (rcirc-print): Fix last change.
15184
15185 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * minibuffer.el (complete-with-action): Return nil for the metadata and
15188 boundaries of non-functional tables.
15189 (completion-table-dynamic): Return nil for the metadata.
15190 (completion-table-with-terminator): Add default case, using
15191 complete-with-action.
15192 (completion--metadata): New function.
15193 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15194 to try and avoid pathological performance problems.
15195 (completion--embedded-envvar-table): Return `category' metadata.
15196
15197 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15198
15199 * subr.el (process-alive-p): New tiny convenience function.
15200
15201 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15202
15203 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15204 content but also its previous major mode.
15205
15206 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15207
15208 * emacs-lisp/debug.el (debug): Restore the previous content of the
15209 *Backtrace* buffer when we exit with C-M-c.
15210
15211 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15212
15213 * minibuffer.el: Add metadata method to completion tables.
15214 (completion-category-overrides): New defcustom.
15215 (completion-metadata, completion--field-metadata)
15216 (completion-metadata-get, completion--styles)
15217 (completion--cycle-threshold): New functions.
15218 (completion-try-completion, completion-all-completions):
15219 Add `metadata' argument to choose completion-styles.
15220 (completion--do-completion): Use metadata to choose cycling.
15221 (completion-all-sorted-completions): Use metadata for sorting.
15222 Remove :completion-cycle-penalty which is not needed any more.
15223 (completion--try-word-completion): Add `metadata' argument.
15224 (minibuffer-completion-help): Check metadata for annotation function
15225 and sorting.
15226 (completion-file-name-table): Return `category' metadata.
15227 (minibuffer-completing-file-name): Make obsolete.
15228 * simple.el (minibuffer-completing-symbol): Make obsolete.
15229 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15230 completion-try-completion.
15231
15232 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15233
15234 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15235
15236 2011-05-30 Leo Liu <sdl.web@gmail.com>
15237
15238 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15239 (rcirc-print): Decode all incoming messages (bug#8744).
15240 (rcirc-decode-coding-system): Allow value nil for automatic coding
15241 system detection.
15242
15243 2011-06-01 Glenn Morris <rgm@gnu.org>
15244
15245 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15246
15247 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15248
15249 * image.el (image-animate-max-time): Allow nil and t values.
15250 Default to nil.
15251 (create-animated-image): Doc fix.
15252 (image-animate-start): Remove second arg; just use
15253 image-animate-max-time.
15254 (image-animate-timeout): Doc fix. Args changed.
15255
15256 * image-mode.el (image-toggle-display-image): Ensure that the
15257 image spec passed to the animate timer is the same object as in
15258 the buffer's display property (Bug#6981).
15259 (image-transform-properties): Doc fix.
15260
15261 * image.el (image-animate-max-time): Default to nil.
15262
15263 2011-05-29 Martin Rudalics <rudalics@gmx.at>
15264
15265 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15266 entire buffer list (Bug#8184).
15267
15268 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15269
15270 * image.el (imagemagick-types-inhibit)
15271 (imagemagick-register-types): Doc fix.
15272
15273 2011-05-29 Deniz Dogan <deniz@dogan.se>
15274
15275 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15276 default.
15277
15278 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15279
15280 * select.el: Don't perform clipboard-manager saving in hooks;
15281 leave the hooks empty.
15282
15283 2011-05-28 Leo Liu <sdl.web@gmail.com>
15284
15285 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15286 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15287 (occur-edit-mode): New major mode (Bug#8463).
15288 (occur-after-change-function): New function.
15289 (occur-engine): Give Occur tags a read-only property.
15290
15291 2011-05-28 Kevin Ryde <user42@zip.com.au>
15292
15293 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15294
15295 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15296
15297 * bindings.el (help-echo): Make the initial non-indicator dash
15298 empty on graphical terminals (Bug#7295).
15299
15300 * files.el (auto-mode-alist): Move config rule after the
15301 in-stripping one (Bug#8547).
15302
15303 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15304
15305 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15306 setting (Bug#8740).
15307
15308 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15309
15310 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15311 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15312 (Bug#8539).
15313
15314 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15315
15316 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15317
15318 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15319
15320 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15321 (hs-hide-block-at-point, hs-find-block-beginning)
15322 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15323 (Bug#8279).
15324
15325 2011-05-28 Glenn Morris <rgm@gnu.org>
15326
15327 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15328
15329 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15330
15331 * help-fns.el (describe-function-1): If the function is a derived
15332 major mode, print the parent mode.
15333
15334 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15335 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15336
15337 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * minibuffer.el (completion--capf-wrapper): Check applicability before
15340 returning non-nil for non-exclusive completion data.
15341 * progmodes/etags.el (tags-completion-at-point-function):
15342 * info-look.el (info-lookup-completions-at-point): Mark as
15343 non-exclusive.
15344 (info-complete): Adjust accordingly.
15345
15346 * info-look.el: Convert to lexical-binding and completion-at-point.
15347 (info-lookup-completions-at-point): New function.
15348 (info-complete): Use it and completion-in-region.
15349
15350 2011-05-28 Drew Adams <drew.adams@oracle.com>
15351
15352 * isearch.el: Let M-e start with point at the first mismatched char.
15353 (isearch-fail-pos): New function.
15354 (isearch-edit-string): Use it.
15355
15356 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15357
15358 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15359
15360 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15361
15362 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15363 traversal functions for avl-trees.
15364 (avl-tree--stack): New struct.
15365 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15366 (avl-tree-enter): Add optional `updatefun' arg.
15367 (avl-tree--do-enter): Add optional `updatefun' arg.
15368 Change return value.
15369 (avl-tree-delete): Add optional `test' and `nilflag' args.
15370 (avl-tree--do-delete): Add `test' and `nilflag' args.
15371 Change return value.
15372 (avl-tree-member): Add optional `nilflag'
15373 (avl-tree-member-p): New function.
15374 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15375 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15376 (avl-tree-stack-empty-p): New functions.
15377
15378 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15379 avl-tree--del-balance1 and make it work both ways.
15380 (avl-tree--del-balance2): Remove.
15381 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15382 make it work both ways.
15383 (avl-tree--enter-balance2): Remove.
15384 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15385 New macros.
15386 (avl-tree--mapc, avl-tree-map): Add direction argument.
15387
15388 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15389
15390 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15391
15392 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15393
15394 * select.el: Support clipboard managers with built-in function
15395 x-clipboard-manager-save, via delete-frame-functions and
15396 kill-emacs-hook.
15397 (xselect-convert-to-targets): Add MULTIPLE target to list.
15398 (xselect-convert-to-save-targets): New function.
15399
15400 2011-05-27 Kenichi Handa <handa@m17n.org>
15401
15402 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15403 let-binding rfc2047-encode-encoded-words to nil.
15404
15405 2011-05-27 Glenn Morris <rgm@gnu.org>
15406
15407 * mail/emacsbug.el: Don't require url-util.
15408
15409 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15410
15411 * files.el (set-auto-mode):
15412 Also respect mode: entries at the end of the file. (Bug#8586)
15413
15414 2011-05-26 Glenn Morris <rgm@gnu.org>
15415
15416 * files.el (hack-local-variables-prop-line, hack-local-variables):
15417 Downcase mode names, as seems to be traditional.
15418 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15419
15420 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15421 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15422
15423 2011-05-25 Julien Danjou <julien@danjou.info>
15424
15425 * textmodes/rst.el (rst-define-level-faces): Do not define face
15426 symbol if it is already defined.
15427
15428 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15429
15430 * play/5x5.el (5x5-new-game, 5x5-randomize):
15431 Reset 5x5-solver-output to nil when a new grid is cast.
15432 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15433 these debugging traces, as defmacro breaks the compiled code.
15434
15435 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15436
15437 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15438
15439 2011-05-24 Leo Liu <sdl.web@gmail.com>
15440
15441 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15442 (vc-bzr-sha1): Adapt.
15443
15444 * sha1.el: Remove. Function `sha1' is now builtin.
15445
15446 * bindings.el: Provide sha1 feature.
15447
15448 2011-05-24 Kenichi Handa <handa@m17n.org>
15449
15450 * mail/sendmail.el: Require `rfc2047'.
15451 (mail-insert-from-field): Do not perform RFC2047 encoding.
15452 (mail-encode-header): New function.
15453 (sendmail-send-it): Set buffer-file-coding-system of the work
15454 buffer to the return value of select-message-coding-system.
15455 Call mail-encode-header.
15456
15457 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15458
15459 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15460
15461 * mail/supercite.el (sc-default-cite-frame):
15462 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15463
15464 2011-05-24 Glenn Morris <rgm@gnu.org>
15465
15466 * progmodes/python.el (brm-menu): Declare.
15467
15468 * emulation/viper.el (viper-set-hooks): Declare.
15469
15470 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15471 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15472 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15473 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15474 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15475 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15476
15477 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 Add an :exit-function for completion-at-point.
15480
15481 * minibuffer.el (completion--done): New fun.
15482 (completion--do-completion): Use it. New arg `expect-exact'.
15483 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15484 since completion--do-completion does it for us now.
15485 (minibuffer-force-complete): Use completion--done and
15486 completion--replace. Handle sole-completion case with more care.
15487 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15488 (completion-extra-properties): New var.
15489 (completion-annotate-function): Make obsolete.
15490 (minibuffer-completion-help): Adjust accordingly.
15491 Use completion-list-insert-choice-function.
15492 (completion-at-point, completion-help-at-point):
15493 Bind completion-extra-properties.
15494 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15495 * simple.el (completion-list-insert-choice-function): New var.
15496 (completion-setup-function): Preserve it.
15497 (choose-completion): Pay attention to it, shuffle the code a bit.
15498 (choose-completion-string): New arg `insert-function'.
15499
15500 * textmodes/bibtex.el: Convert to lexical binding.
15501 (bibtex-mode-map): Use completion-at-point.
15502 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15503 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15504 (bibtex-complete): Define as obsolete alias.
15505 (bibtex-complete-internal): Remove.
15506 (bibtex-format-entry): Remove unused sub-group in regexp.
15507 * shell.el (shell--command-completion-data)
15508 (shell-environment-variable-completion):
15509 * pcomplete.el (pcomplete-completions-at-point):
15510 * comint.el (comint--complete-file-name-data): Use :exit-function
15511 instead of completion-table-with-terminator so it also works for
15512 choose-completion.
15513
15514 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15515
15516 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15517
15518 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15519 (bug#8710).
15520
15521 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15522
15523 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15524
15525 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15526 customization variable and implement: If non-nil, auto-fill will
15527 be inhibited while on topic's header line.
15528
15529 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15530
15531 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15532 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
15533 always have a solution in grid size = 5 cases.
15534 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15535 (5x5-solver-output, 5x5-log-buffer): New vars.
15536 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15537 Make these variables buffer local to achieve 5x5 multi-session-ness.
15538 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15539 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15540 (5x5-solve-suggest): New funs.
15541 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15542 randomize a grid so that we ensure that there is always a solution.
15543 (5x5-make-random-grid): Allow other movement than flipping.
15544
15545 2011-05-23 Kevin Ryde <user42@zip.com.au>
15546
15547 * emacs-lisp/advice.el (ad-read-advised-function):
15548 Use `function-called-at-point' as the default, if it has
15549 advice and passes PREDICATE.
15550
15551 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15552
15553 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15554 byte-compile-lambda if it's actually a lambda.
15555
15556 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15557 Fix function quoting. Use backquote better.
15558
15559 2011-05-22 Yuanle Song <sylecn@gmail.com>
15560
15561 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15562 matching (Bug#8516).
15563
15564 2011-01-22 Jari Aalto <jari.aalto@cante.net>
15565
15566 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15567 different face (Bug#8178).
15568
15569 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
15570
15571 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15572 defface (Bug#8144).
15573
15574 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15577 funcall as well (bug#8712). Warn when performing those conversions.
15578 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15579
15580 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15581
15582 2011-05-22 Glenn Morris <rgm@gnu.org>
15583
15584 * files.el (hack-local-variables-prop-line): Small simplifications.
15585 (hack-local-variables, hack-local-variables-prop-line):
15586 If MODE-ONLY, return the mode, rather than just `t'.
15587
15588 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15589
15590 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15591
15592 2011-05-21 Glenn Morris <rgm@gnu.org>
15593
15594 * files.el (hack-local-variables-prop-line, hack-local-variables):
15595 If only interested in the mode, don't bother doing the other stuff.
15596
15597 * image-mode.el (image-after-revert-hook):
15598 Redraw all frames on which the image is visible. (Bug#8567)
15599
15600 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15601
15602 * wid-edit.el (widget-checklist-match-inline):
15603 Fix 2011-04-19 change. (Bug#8649)
15604
15605 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15606
15607 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15608 Also allow singlespace after single-letter capitals followed by a dot.
15609
15610 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15611 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15612
15613 2011-05-20 Nix <nix@esperi.org.uk>
15614
15615 * files.el (basic-save-buffer-2):
15616 Fix handling of break-hardlink-on-save with non-existent files.
15617
15618 2011-05-19 Deniz Dogan <deniz@dogan.se>
15619
15620 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15621 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15622
15623 2011-05-19 Glenn Morris <rgm@gnu.org>
15624
15625 * progmodes/f90.el (f90-type-def-re):
15626 Handle "type, bind(c)". (Bug#8691)
15627
15628 * emacs-lisp/autoload.el (batch-update-autoloads):
15629 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15630
15631 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
15632
15633 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15634 property for the correct connection in case of multihops.
15635
15636 2011-05-18 Glenn Morris <rgm@gnu.org>
15637
15638 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15639 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15640
15641 Rationalize calendar handling of day and month abbrev-arrays.
15642 * calendar/calendar.el (calendar-customized-p): New function.
15643 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15644 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15645 Add :set function.
15646 (calendar-abbrev-length, calendar-day-abbrev-array)
15647 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15648 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15649 Elements may no longer be nil.
15650 (calendar-day-name, calendar-month-name):
15651 Update for changed nature of abbrev arrays.
15652 * calendar/diary-lib.el (diary-name-pattern):
15653 Update for changed nature of abbrev arrays.
15654 (diary-mark-entries-1): Update calendar-make-alist calls.
15655 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15656 * calendar/cal-html.el (cal-html-day-abbrev-array):
15657 Simply inherit from calendar-day-abbrev-array.
15658
15659 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15660
15661 * progmodes/grep.el (grep-mode): Disable default
15662 compilation-directory-matcher setting (bug#8684).
15663
15664 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
15665
15666 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15667 instead of "head" and "tail". There were problems with SunOS 5.9,
15668 and it performs better.
15669
15670 2011-05-17 Glenn Morris <rgm@gnu.org>
15671
15672 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15673
15674 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15675 Replace obsolete function.
15676
15677 * shell.el (pcomplete-parse-arguments-function): Declare.
15678
15679 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15680 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15681 (appt-check): Doc fixes.
15682 (appt-disp-window-function, appt-delete-window-function):
15683 Remove needless special case in custom :type.
15684 (appt-display-count): Default to 0, not nil.
15685 (appt-check): Reset appt-display-count to 0, not nil.
15686
15687 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15688
15689 * progmodes/python.el (python-font-lock-keywords):
15690 Add the Python 3.X keyword "nonlocal" (bug#8639).
15691
15692 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15695
15696 2011-05-16 Kevin Ryde <user42@zip.com.au>
15697
15698 * info-look.el (makefile-automake-mode): New setups, looking in
15699 automake manual, then makefile-mode.
15700 (makefile-mode): Remove automake manual, have it just in
15701 makefile-automake-mode since there's various things different or
15702 not relevant to plain make.
15703 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15704 believe a hypothetical automake-mode would go to makefile-mode,
15705 not the other way around.
15706
15707 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15708
15709 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15710 hunk-end tags (Bug#8672).
15711
15712 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15713 vc-annotate-show-diff-revision-at-line (Bug#8671).
15714
15715 2011-05-14 Glenn Morris <rgm@gnu.org>
15716
15717 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15718 in the middle of an existing one with multiple authors. (Bug#8645)
15719 (change-log-font-lock-keywords): Also handle multiple author lines
15720 with leading tabs. (Bug#8644)
15721
15722 * calendar/appt.el (appt-check): Rename some local variables.
15723 Some simplification/reordering.
15724
15725 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15726 (feedmail-sendmail-f-doesnt-sell-me-out)
15727 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15728 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15729 (feedmail-queue-runner-message-sender): Set :version.
15730 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15731 (bbdb-dwim-net-address, vm-mail): Declare.
15732 (feedmail-binmail-gnulinuxish-template):
15733 Rename from feedmail-binmail-linuxish-template.
15734 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15735 Use insert-buffer-substring.
15736
15737 2011-05-14 Bill Carpenter <bill@carpenter.org>
15738
15739 * mail/feedmail.el (feedmail-patch-level): Increase.
15740 (feedmail-debug): New custom group.
15741 (feedmail-confirm-outgoing-timeout)
15742 (feedmail-sendmail-f-doesnt-sell-me-out)
15743 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15744 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15745 (feedmail-sender-line, feedmail-from-line)
15746 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15747 (feedmail-spray-this-address)
15748 (feedmail-spray-address-fiddle-plex-list)
15749 (feedmail-queue-use-send-time-for-date)
15750 (feedmail-queue-use-send-time-for-message-id)
15751 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15752 (feedmail-buffer-eating-function):
15753 Doc fixes.
15754 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15755 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15756 (feedmail-message-action-scroll-down): New functions.
15757 (feedmail-queue-directory, feedmail-queue-draft-directory):
15758 Use expand-file-name.
15759 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15760 Remove C-v help entry.
15761 (feedmail-queue-buffer-file-name): New variable.
15762 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15763 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15764 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15765 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15766 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15767 (feedmail-message-action-toggle-spray)
15768 (feedmail-run-the-queue-no-prompts)
15769 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15770 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15771 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15772 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15773 (feedmail-envelope-deducer, feedmail-fiddle-from)
15774 (feedmail-fiddle-sender, feedmail-default-date-generator)
15775 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15776 (feedmail-fiddle-spray-address)
15777 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15778 (feedmail-fiddle-list-of-fiddle-plexes)
15779 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15780 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15781 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15782 Change default. Doc fix.
15783 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15784 (feedmail-binmail-linuxish-template): New constant.
15785 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15786 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15787 (feedmail-send-it): Add debug call.
15788 Use feedmail-queue-buffer-file-name, and
15789 feedmail-send-it-immediately-wrapper.
15790 (feedmail-message-action-send): Add debug call.
15791 Use feedmail-send-it-immediately-wrapper.
15792 (feedmail-queue-express-to-queue): Add debug call.
15793 Run feedmail-queue-express-hook.
15794 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15795 (feedmail-message-action-help-blat):
15796 Rename from feedmail-queue-send-edit-prompt-help-first.
15797 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15798 Check line-endings. Handle errors better.
15799 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15800 Doc fix. Add debug call.
15801 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15802 Use feedmail-queue-send-edit-prompt-inner.
15803 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15804 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15805 from feedmail-queue-send-edit-prompt.
15806 (feedmail-queue-send-edit-prompt-help)
15807 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15808 (feedmail-tidy-up-slug): Add debug call.
15809 Respect feedmail-queue-slug-suspect-regexp.
15810 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15811 (feedmail-dump-message-to-queue): Add debug call.
15812 Expand queue-directory.
15813 (feedmail-dump-message-to-queue): Change message slightly.
15814 Use feedmail-say-chatter.
15815 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15816 (feedmail-send-it-immediately-wrapper): New function.
15817 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15818 Insert empty string rather than newline. Handle full-frame case.
15819 Use catch/throw. Use feedmail-say-chatter.
15820 (feedmail-fiddle-from): Try mail-host-address.
15821 (feedmail-default-message-id-generator): Doc fix.
15822 Bind system-time-locale. Handle missing end.
15823 (feedmail-fiddle-x-mailer): Add debug call.
15824 Handle feedmail-x-mailer-line being nil.
15825 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15826 Add debug call. Use buffer-substring-no-properties.
15827 (feedmail-say-debug, feedmail-say-chatter): New functions.
15828 (feedmail-find-eoh): Give an explicit error.
15829
15830 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15831
15832 * net/newst-treeview.el (newsticker-treeview-face): Change default
15833 family from helvetica to sans.
15834 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15835 etc/images/newsticker.
15836
15837 * net/newst-reader.el (newsticker-feed-face): Change default
15838 family from helvetica to sans.
15839
15840 * net/newst-plainview.el (newsticker-new-item-face)
15841 (newsticker-old-item-face, newsticker-immortal-item-face)
15842 (newsticker-obsolete-item-face, newsticker-date-face)
15843 (newsticker-statistics-face): Change default family from
15844 helvetica to sans.
15845 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15846 etc/images/newsticker.
15847
15848 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15849 (newsticker--process-auto-mark-filter-match): Tell user about
15850 auto-marking.
15851
15852 2011-05-13 Didier Verna <didier@xemacs.org>
15853
15854 Common Lisp indentation improvements on defmethod and lambda-lists.
15855 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15856 TODO entries.
15857 (lisp-lambda-list-keyword-parameter-indentation)
15858 (lisp-lambda-list-keyword-parameter-alignment)
15859 (lisp-lambda-list-keyword-alignment): New customizable user options.
15860 (lisp-indent-defun-method): Improve docstring.
15861 (extended-loop-p): Fix comment.
15862 (lisp-indent-lambda-list-keywords-regexp): New variable.
15863 (lisp-indent-lambda-list): New function.
15864 (lisp-indent-259): Use it.
15865 (lisp-indent-defmethod): Support for more than one
15866 method qualifier and properly indent methods lambda-lists.
15867 (defgeneric): Provide a missing common-lisp-indent-function property.
15868
15869 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15872 bounds for the empty string (bug#8667).
15873
15874 2011-05-13 Glenn Morris <rgm@gnu.org>
15875
15876 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15877
15878 * mail/sendmail.el (sendmail-program): Try executable-find first.
15879 (sendmail-send-it): `sendmail-program' cannot be unbound.
15880
15881 * calendar/appt.el (appt-make-list): Simplify.
15882 (appt-time-msg-list): Doc fix.
15883 (appt-check): Change mode-line message at the time of the appointment.
15884
15885 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15886
15887 * progmodes/ld-script.el (ld-script-keywords)
15888 (ld-script-builtins): Update keywords list.
15889
15890 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15893
15894 * shell.el (shell-completion-vars): New function.
15895 (shell-mode):
15896 * simple.el (read-shell-command): Use it.
15897 (blink-matching-open): No need for " [...]" in minibuffer-message.
15898
15899 2011-05-12 Glenn Morris <rgm@gnu.org>
15900
15901 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15902 (appt-check): Simplify.
15903
15904 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15905
15906 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15907 literal "/dev/null".
15908
15909 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15910
15911 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15912 Fix typo.
15913
15914 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15915
15916 * progmodes/which-func.el (which-function):
15917 Use add-log-current-defun instead of add-log-current-defun-function,
15918 which might not be defined (Bug#8260).
15919
15920 2011-05-12 Glenn Morris <rgm@gnu.org>
15921
15922 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15923 Let byte-compile-initial-macro-environment always take precedence.
15924
15925 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15926
15927 * net/rcirc.el: Add support for SSL/TLS connections.
15928 (rcirc-server-alist): New field `encryption'.
15929 (rcirc): Check `encryption' settings.
15930 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15931 Merge make-local-variable into `set'.
15932 (rcirc--connection-open-p): New function.
15933 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15934 the process is not a network process (e.g. running gnutls-cli).
15935 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15936 Make rcirc-(en|de)code-coding-system local here.
15937 (rcirc-mode): Merge make-local-variable into `set'.
15938 (rcirc-parent-buffer): Make permanent buffer-local.
15939 (rcirc-multiline-minor-mode): Don't do it here.
15940 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15941 there's no server buffer.
15942
15943 2011-05-11 Glenn Morris <rgm@gnu.org>
15944
15945 * newcomment.el (comment-kill): Prefix "unused" local.
15946
15947 * term/w32console.el (get-screen-color): Declare.
15948
15949 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15950 Handle symbol elements of byte-compile-initial-macro-environment.
15951
15952 2011-05-10 Leo Liu <sdl.web@gmail.com>
15953
15954 * bookmark.el (bookmark-bmenu-mode-map):
15955 Bind bookmark-bmenu-search to `/'.
15956
15957 * mail/footnote.el: Convert to utf-8 encoding.
15958 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15959 (Footnote-unicode): New function.
15960 (footnote-style-alist): Add unicode style to the list.
15961 (footnote-style): Doc fix.
15962
15963 2011-05-10 Jim Meyering <meyering@redhat.com>
15964
15965 Fix doubled-word typos.
15966 * international/quail.el (quail-insert-kbd-layout): and and -> and
15967 * kermit.el: and and -> and
15968 * net/ldap.el (ldap-search-internal): to to -> to
15969 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15970 * progmodes/js.el (js-mode): and and -> and
15971 * textmodes/artist.el (artist-move-to-xy): at at -> at
15972 (artist-draw-region-trim-line-endings): if if -> if
15973 And Safetyc -> Safety.
15974 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15975
15976 2011-05-10 Glenn Morris <rgm@gnu.org>
15977 Stefan Monnier <monnier@iro.umontreal.ca>
15978
15979 * files.el (hack-one-local-variable-eval-safep):
15980 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15981
15982 2011-05-10 Glenn Morris <rgm@gnu.org>
15983
15984 * calendar/diary-lib.el (diary-list-entries-hook)
15985 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15986 (diary-nongregorian-marking-hook, diary-list-entries)
15987 (diary-include-other-diary-files, diary-mark-entries)
15988 (diary-mark-included-diary-files): Doc fixes.
15989
15990 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15991
15992 * misc.el: Require tabulated-list.el during compilation.
15993
15994 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15995
15996 * progmodes/compile.el (compilation-start):
15997 Run compilation-filter-hook for the async case too.
15998 (compilation-filter-hook): Doc fix.
15999
16000 2011-05-09 Deniz Dogan <deniz@dogan.se>
16001
16002 * wdired.el: Remove outdated installation comment. Fix usage
16003 comment.
16004
16005 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16006
16007 * misc.el: Implement new command `list-dynamic-libraries'.
16008 (list-dynamic-libraries--loaded-only-p): New variable.
16009 (list-dynamic-libraries--refresh): New function.
16010 (list-dynamic-libraries): New command.
16011
16012 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16013
16014 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16015 Fix the ant regexp to handle end-line and end-column info from jikes.
16016 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16017 higher priority to avoid clobbering by gnu.
16018
16019 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16020
16021 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16022 if the face has existing theme settings (Bug#8454).
16023
16024 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16025
16026 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16027 Only match variables declared via `my' or `our' (Bug#8261).
16028
16029 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16030 special file names `.' and `..' (Bug#8259).
16031
16032 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16033
16034 * progmodes/grep.el (grep-mode-font-lock-keywords):
16035 Remove buffer-changing entries.
16036 (grep-filter): New function.
16037 (grep-mode): Add it to compilation-filter-hook.
16038
16039 * progmodes/compile.el (compilation-filter-hook)
16040 (compilation-filter-start): New defvars.
16041 (compilation-filter): Call compilation-filter-hook prior to
16042 updating the process mark.
16043
16044 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16047
16048 2011-05-07 Eli Zaretskii <eliz@gnu.org>
16049
16050 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16051 mailclient-send-it even if window-system is nil. (Bug#8595)
16052
16053 * term/w32console.el (terminal-init-w32console):
16054 Call get-screen-color and use its output to set the frame
16055 background-mode. (Bug#8597)
16056
16057 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16058
16059 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16060 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16061 New functions.
16062 (defgeneric, eieio--defmethod): Use them.
16063 (eieio-defgeneric): Remove.
16064 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16065
16066 2011-05-07 Glenn Morris <rgm@gnu.org>
16067
16068 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16069 Use let rather than let*.
16070 (timeclock-find-discrep): Remove unused local.
16071
16072 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16073
16074 * calendar/appt.el (appt-time-msg-list): Doc fix.
16075
16076 2011-05-06 Noah Friedman <friedman@splode.com>
16077
16078 * apropos.el (apropos-print-doc): Only use
16079 emacs-lisp-docstring-fill-column when it is bound to an integer,
16080 per that variable's documentation.
16081
16082 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16083
16084 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16085 and warnings are not silently discarded (e.g. use -d instead of -P).
16086
16087 2011-05-06 Glenn Morris <rgm@gnu.org>
16088
16089 * calendar/appt.el (appt-message-warning-time): Doc fix.
16090 (appt-warning-time-regexp): New option.
16091 (appt-make-list): Respect appt-message-warning-time.
16092
16093 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16094 New options.
16095 (diary-add-to-list): Strip comments from the displayed string.
16096 (diary-mode): Set comment-start and comment-end.
16097
16098 * vc/diff-mode.el (smerge-refine-subst): Declare.
16099 (diff-refine-hunk): Don't require smerge-mode when compiling.
16100
16101 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
16102
16103 * simple.el (list-processes): Return nil as the docstring says.
16104
16105 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16106
16107 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16108 to "".
16109 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16110 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16111 determining of binary transfer. (Bug#7383)
16112
16113 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16114
16115 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16116 Fix port computation bug. (Bug#8618)
16117
16118 2011-05-05 Glenn Morris <rgm@gnu.org>
16119
16120 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16121
16122 * simple.el (shell-dynamic-complete-functions)
16123 (comint-dynamic-complete-functions): Declare.
16124
16125 * net/network-stream.el (gnutls-negotiate):
16126 * simple.el (tabulated-list-print): Fix declarations.
16127
16128 * progmodes/gud.el (syntax-symbol, syntax-point):
16129 Remove unnecessary and incorrect declarations.
16130
16131 * emacs-lisp/check-declare.el (check-declare-scan):
16132 Handle byte-compile-initial-macro-environment in bytecomp.el
16133
16134 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 Fix earlier half-done eieio-defmethod change (bug#8338).
16137 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16138 Streamline and change calling convention.
16139 (defmethod): Adjust accordingly and simplify.
16140 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16141 new eieio--defmethod.
16142 (slot-boundp): Minor CSE simplification.
16143
16144 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16145
16146 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16147 (glasses-make-readable): Use glasses-separate-capital-groups.
16148
16149 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16150
16151 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16152 (warning-series): Doc fix.
16153 (display-warning): Don't try to create the buffer if we just found it.
16154
16155 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16156
16157 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16158 (autoload-find-generated-file): New function.
16159 (generate-file-autoloads): Bind generated-autoload-file to
16160 buffer-file-name.
16161 (update-file-autoloads, update-directory-autoloads):
16162 Use autoload-find-generated-file. If called interactively, prompt for
16163 output file (Bug#7989).
16164 (batch-update-autoloads): Doc fix.
16165
16166 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16167
16168 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16169
16170 2011-05-04 Glenn Morris <rgm@gnu.org>
16171
16172 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16173 function, so it follows changes in calendar-date-style.
16174 (diary-fancy-date-matcher): New function.
16175 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16176 (diary-fancy-font-lock-fontify-region-function):
16177 Use diary-fancy-date-pattern as a function.
16178
16179 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16180 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16181
16182 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16183
16184 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16185 instead of positional arguments. Allow :keylist and :crlfiles
16186 arguments.
16187 (open-gnutls-stream): Call it.
16188
16189 * net/network-stream.el (network-stream-open-starttls): Adjust to
16190 call `gnutls-negotiate' with :process and :hostname arguments.
16191
16192 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16193
16194 * minibuffer.el (completion--message): New function.
16195 (completion--do-completion, minibuffer-complete)
16196 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16197 (completion--do-completion): Don't ignore completion-auto-help when in
16198 icomplete-mode.
16199
16200 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16201 internal encoding (e.g. tibetan zero is not whitespace).
16202 (global-whitespace-mode): Prefer save-current-buffer.
16203 (whitespace-trailing-regexp): Remove useless save-match-data.
16204 (whitespace-empty-at-bob-regexp): Minor simplification.
16205
16206 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16207
16208 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16209
16210 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16211
16212 * textmodes/ispell.el (ispell-add-per-file-word-list):
16213 Use `concat' to create string for insertion.
16214
16215 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16216
16217 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16218 Avoid open-line which runs post-self-insert-hook.
16219 (bibtex-fill-entry): Remove unused `end' var.
16220
16221 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16222
16223 * textmodes/ispell.el (ispell-add-per-file-word-list):
16224 Protect against `nil' value of `comment-start' (Bug#8579).
16225
16226 2011-05-03 Leo Liu <sdl.web@gmail.com>
16227
16228 * isearch.el (isearch-yank-pop): New command.
16229 (isearch-mode-map): Bind it to `M-y'.
16230 (isearch-forward): Mention it.
16231
16232 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * simple.el (minibuffer-complete-shell-command): Remove.
16235 (minibuffer-local-shell-command-map): Use completion-at-point.
16236 (read-shell-command): Setup completion vars here instead.
16237 (read-expression-map): Bind TAB to symbol completion.
16238
16239 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16240 error directly rather via storing it into `results'.
16241
16242 2011-05-02 Leo Liu <sdl.web@gmail.com>
16243
16244 * vc/diff.el: Fix description.
16245
16246 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16247
16248 * server.el (server-eval-at): New function.
16249
16250 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16251
16252 * net/network-stream.el (open-network-stream): Take a :nowait
16253 parameter and pass it on to `make-network-process'.
16254 (network-stream-open-plain): Ditto.
16255
16256 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16257
16258 * faces.el (face-spec-set-match-display): Don't match toolkit
16259 options on terminal frames.
16260
16261 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16262
16263 * progmodes/pascal.el: Use lexical binding.
16264 (pascal-mode-map): Remove author preferences.
16265
16266 * pcomplete.el (pcomplete-std-complete): Don't abuse
16267 completion-at-point.
16268
16269 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16270
16271 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16272 removing code that has been dead since 1991 or so.
16273
16274 * startup.el (command-line): When warning about "_emacs", use a
16275 delayed warning to allow the user to filter it out.
16276
16277 2011-04-28 Deniz Dogan <deniz@dogan.se>
16278
16279 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16280 user has not joined.
16281
16282 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16283
16284 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16285 aren't any completions at point.
16286
16287 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16288
16289 * subr.el (display-delayed-warnings): New function.
16290 (delayed-warnings-hook): New variable.
16291
16292 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16293
16294 * minibuffer.el (completion-at-point, completion-help-at-point):
16295 Don't presume that a given completion-at-point-function will always
16296 use the same calling convention.
16297
16298 * pcomplete.el (pcomplete-completions-at-point):
16299 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16300 pcomplete-seen is non-nil.
16301 (pcomplete-comint-setup): Also recognize the new comint/shell
16302 completion functions.
16303 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16304 pcomplete-seen is non-nil.
16305
16306 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16307
16308 * calendar/icalendar.el (diary-lib): Add require statement.
16309 (icalendar--create-uid): Read out a uid from a text-property on
16310 the first character in the entry. This allows for code to add its
16311 own uid to the entry.
16312 (icalendar--convert-float-to-ical): Add export of
16313 `diary-float'-entries save for those with the optional DAY
16314 argument.
16315
16316 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16317
16318 * subr.el (shell-quote-argument): Use alternate escaping strategy
16319 when we spot a variable reference in a string.
16320
16321 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16322
16323 * cus-start.el (all): Define customization for debug-on-event.
16324
16325 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16326
16327 * subr.el (shell-quote-argument): Escape correctly under Windows.
16328
16329 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16332
16333 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16334
16335 * net/tramp.el (tramp-process-actions): Add POS argument.
16336 Delete region between POS and (pos).
16337
16338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16339 Use `nil' position in `tramp-process-actions' call.
16340 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16341
16342 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16343 position in `tramp-process-actions' call.
16344
16345 * net/trampver.el: Update release number.
16346
16347 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16348
16349 * custom.el (defcustom): Obey lexical-binding.
16350
16351 Fix octave-inf completion problems reported by Alexander Klimov.
16352 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16353 Inherit from octave-mode-syntax-table.
16354 (inferior-octave-mode): Set info-lookup-mode.
16355 (inferior-octave-completion-at-point): New function.
16356 (inferior-octave-complete): Use it and completion-in-region.
16357 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16358 comint-filename-completion.
16359 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16360 symbol elements which shouldn't be word elements.
16361 (octave-font-lock-keywords, octave-beginning-of-defun)
16362 (octave-function-header-regexp): Adjust regexps accordingly.
16363 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16364
16365 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16366
16367 * net/gnutls.el (gnutls-errorp): Declare before first use.
16368
16369 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16370
16371 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16372 verify-error, and verify-hostname-error parameters. Check whether
16373 default trustfile exists before going to use it. Add missing
16374 argument to gnutls-message-maybe call. Return value.
16375 Reported by Claudio Bley <claudio.bley@gmail.com>.
16376 (open-gnutls-stream): Add usage example.
16377
16378 * net/network-stream.el (network-stream-open-starttls): Give host
16379 parameter to `gnutls-negotiate'.
16380 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16381 * subr.el (shell-quote-argument): Escape correctly under Windows.
16382
16383 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16384
16385 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16386 Use correct match group (bug#8438).
16387
16388 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16389
16390 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16391 (package-menu--generate): New arg specifying packages to show.
16392 (package-menu-refresh, package-menu-execute, list-packages):
16393 Callers changed.
16394 (package-show-package-list): New function, replacing deleted
16395 package--list-packages (renamed because it is non-internal).
16396
16397 * finder.el (finder-list-matches): Use package-show-package-list
16398 instead of deleted package--list-packages.
16399
16400 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16401 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16402 (vc-annotate-mode-map): Bind it to RET.
16403
16404 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16405
16406 * progmodes/etags.el (next-file): Don't use set-buffer to change
16407 buffers (Bug#8478).
16408
16409 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16410
16411 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16412
16413 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16414 (apropos-accumulator): Doc fix.
16415 (apropos-function, apropos-macro, apropos-command)
16416 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16417 (apropos-plist): Add face property.
16418 (apropos-symbols-internal): Fix indentation.
16419 (apropos-print): Simplify help, and recognize apropos-multi-type.
16420 (apropos-print-doc): Use button-type-get to extract the button's
16421 face property. Fill docstring (Bug#8352).
16422
16423 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16424
16425 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16426
16427 * play/mpuz.el (mpuz-silent): Doc fix.
16428 (mpuz-mode-map): Use mapc.
16429 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16430 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16431 Fix typos in docstrings.
16432
16433 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16434 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16435
16436 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16437
16438 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * minibuffer.el (completion--do-completion): Avoid the "Next char
16441 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16442
16443 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16444 mouse-2 into unread-command-events, it is interpreted correctly.
16445
16446 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16447 (image-toggle-display): Doc fix.
16448
16449 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16450
16451 * textmodes/page.el (what-page): Use line-number-at-pos to
16452 calculate line number (Bug#6825).
16453
16454 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16455
16456 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16457 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16458 Pass argument NO-DEFAULT to `find-tag-interactive'.
16459
16460 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16461
16462 Lexical-binding cleanup.
16463
16464 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16465 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16466 * progmodes/ada-prj.el (ada-prj-initialize-values)
16467 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16468 (ada-prj-show-value):
16469 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16470 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16471 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16472 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16473 * progmodes/bug-reference.el (bug-reference-push-button):
16474 * progmodes/fortran.el (fortran-line-length):
16475 * progmodes/glasses.el (glasses-change):
16476 * progmodes/octave-mod.el (octave-fill-paragraph):
16477 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16478 (python-pdbtrack-grub-for-buffer, python-sentinel):
16479 * progmodes/sql.el (sql-save-connection):
16480 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16481 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16482 Mark unused parameters.
16483
16484 * progmodes/compile.el (compilation--flush-directory-cache)
16485 (compilation--flush-parse, compile-internal): Mark unused parameters.
16486 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16487 (compilation-next-error-function): Remove unused variable `timestamp'.
16488
16489 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16490 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16491
16492 * progmodes/dcl-mode.el (dcl-end-of-command):
16493 Remove unused variable `start'.
16494 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16495 (dcl-option-value-basic, dcl-option-value-offset)
16496 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16497 Mark unused parameters.
16498 (dcl-save-local-variable): Remove unused variable `val'.
16499 (mode): Declare.
16500
16501 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16502 Mark unused parameters.
16503 (delphi-ignore-changes): Move before first use.
16504 (delphi-charset-token-at): Remove unused variable `start'.
16505 (delphi-else-start): Remove unused variable `if-count'.
16506 (delphi-comment-block-start, delphi-comment-block-end):
16507 Remove unused variable `kind'.
16508 (delphi-indent-line): Remove unused variable `new-point'.
16509
16510 * progmodes/ebrowse.el (ebrowse-files-list)
16511 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16512 Mark unused parameters. Don't quote `lambda'.
16513 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16514 Don't quote `lambda'.
16515 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16516 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16517 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16518 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16519 Use `ignore-errors'.
16520 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16521 (ebrowse-view/find-file-and-search-pattern)
16522 (ebrowse-view/find-member-declaration/definition):
16523 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16524 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16525 Rename parameter PREFIX-ARG to PREFIX.
16526 (ebrowse-tags-read-name): Remove unused variables `start' and
16527 `member-info'.
16528 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16529 to `tags-file'.
16530
16531 * progmodes/etags.el (local-find-tag-hook): Declare.
16532 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16533 Mark unused parameters.
16534
16535 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16536 (executable-interpret): Mark unused parameter.
16537
16538 * progmodes/flymake.el (flymake-process-sentinel)
16539 (flymake-after-change-function)
16540 (flymake-create-temp-with-folder-structure)
16541 (flymake-get-include-dirs-dot): Mark unused parameters.
16542 (flymake-safe-delete-directory): Remove unused variable `err'.
16543
16544 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16545 (speedbar-timer-fn, speedbar-line-text)
16546 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16547 (speedbar-center-buffer-smartly): Declare functions.
16548 (gdb-find-watch-expression): Remove unused variable `array'.
16549 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16550 (gdb-starting): Mark unused parameters.
16551 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16552 (gdb-table-string): Remove unused variable `res'.
16553 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16554 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16555 (gdb-display-buffer): Remove unused variable `cur-size'.
16556
16557 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16558 allow lexical-binding compilation.
16559 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16560 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16561 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16562 Mark unused parameters.
16563 (gud-gdb-marker-filter): Remove unused variable `match'.
16564 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16565 lambda expressions and funcall them, instead of using `fset'.
16566
16567 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16568 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16569
16570 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16571 variable `header-beg'; use `let'.
16572
16573 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16574 `restart', `last-sexp' and `at-do'.
16575
16576 * progmodes/js.el (js--debug): Mark unused parameter.
16577 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16578 (js--splice-into-items): Remove unused variable `item'.
16579 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16580
16581 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16582 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16583 (makefile-complete): Remove unused variable `try'.
16584 (makefile-fill-paragraph, makefile-match-function-end):
16585 Mark unused parameters.
16586
16587 * progmodes/octave-inf.el (inferior-octave-complete):
16588 Remove unused variable `proc'.
16589 (inferior-octave-output-digest): Mark unused parameter.
16590
16591 * progmodes/perl-mode.el (perl-calculate-indent):
16592 Remove unused variable `err'.
16593
16594 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16595 (prolog-indent-line): Mark unused parameters.
16596 (prolog-indent-line): Remove unused variable `beg'.
16597
16598 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16599 (reporter-dont-compact-list): Declare.
16600
16601 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16602 Remove unused variable `char'.
16603 (sh-debug): Mark unused parameter.
16604 (sh-get-indent-info): Remove unused variable `start'.
16605 (sh-calculate-indent): Remove unused variable `var'.
16606
16607 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16608 (simula-electric-keyword): Remove unused variable `null'.
16609 (simula-search-backward, simula-search-forward): Remove unused
16610 variables `begin' and `end'.
16611
16612 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16613 Remove unused variable `pos'.
16614 (vera-electric-tab, vera-comment-uncomment-region):
16615 Mark unused parameters.
16616 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16617
16618 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
16619
16620 * emacs-lisp/package.el (package--builtins, package-alist)
16621 (package-load-descriptor, package-built-in-p, package-activate)
16622 (define-package, package-installed-p)
16623 (package-compute-transaction, package-buffer-info)
16624 (package--push): Doc fix. Distinguish more clearly between
16625 version strings and version lists.
16626
16627 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
16628
16629 Lexical-binding cleanup.
16630
16631 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16632 (5x5-make-mutate-best):
16633 * play/fortune.el (fortune-in-buffer):
16634 * play/gomoku.el (gomoku-init-display):
16635 * play/solitaire.el (solitaire, solitaire-do-check):
16636 * play/tetris.el (tetris-default-update-speed-function):
16637 Mark unused parameters.
16638
16639 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16640 (bubbles--shift): Remove unused variable `char-org'.
16641 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16642 (bubbles--show-images): Remove unused variable `char'.
16643
16644 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16645 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16646 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16647 (decipher-analyze-buffer): Use ?\s.
16648 (decipher-make-checkpoint): Remove unused variable `mapping'.
16649
16650 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16651
16652 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16653 Remove unused variable `result'; use `let'.
16654
16655 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16656 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16657 (gametree-children-shown-p, gametree-compute-reduced-score):
16658 Use `ignore-errors'.
16659
16660 * play/handwrite.el (ps-lpr-switches): Declare.
16661 (handwrite): Remove unused variables `pmin' and `lastp'.
16662
16663 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16664
16665 * play/landmark.el (landmark-init-display)
16666 (landmark-update-naught-weights): Mark unused parameters.
16667 (landmark-y): Remove unused variable `noise'. Simplify.
16668 (landmark-human-plays): Remove unused variable `score'.
16669
16670 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16671 (mpuz-try-proposal): Remove unused variable `game'.
16672
16673 * play/zone.el (life-patterns): Declare.
16674
16675 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
16676
16677 * vc/vc.el (ediff-vc-internal): Declare function.
16678
16679 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16680
16681 * shell.el: Use lexical-binding and std completion UI.
16682 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16683 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16684 comint-preoutput-filter-functions rather than on
16685 comint-output-filter-functions.
16686 (shell-command-completion, shell--command-completion-data)
16687 (shell-filename-completion, shell-environment-variable-completion)
16688 (shell-c-a-p-replace-by-expanded-directory): New functions.
16689 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16690 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16691 (shell-dynamic-complete-environment-variable): Use them.
16692 (shell-dynamic-complete-as-environment-variable)
16693 (shell-dynamic-complete-as-command): Remove.
16694 (shell-match-partial-variable): Match past point.
16695 * comint.el: Clean up use of completion-at-point-functions.
16696 (comint-completion-at-point): New function.
16697 (comint-mode): Use it completion-at-point-functions.
16698 (comint-dynamic-complete): Make it obsolete.
16699 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16700 (comint-c-a-p-replace-by-expanded-history): New function.
16701 (comint-dynamic-complete-functions)
16702 (comint-replace-by-expanded-history): Use it.
16703 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16704 termination strings. Try harder to avoid second try-completion.
16705 (completion-in-region-mode-map): Disable bindings that don't work yet.
16706
16707 * comint.el: Use lexical-binding. Require CL.
16708 (comint-dynamic-complete-functions): Use comint-filename-completion.
16709 (comint-completion-addsuffix): Tweak custom type.
16710 (comint-filename-completion, comint--common-suffix)
16711 (comint--common-quoted-suffix, comint--table-subvert)
16712 (comint--complete-file-name-data): New functions.
16713 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16714 (comint-dynamic-list-filename-completions): Use them.
16715 (comint-dynamic-simple-complete): Make obsolete.
16716
16717 * minibuffer.el (completion-in-region-mode):
16718 Keep completion-in-region-mode--predicate global.
16719 (completion-in-region--postch):
16720 Assume completion-in-region-mode--predicate is not null.
16721
16722 * progmodes/flymake.el (flymake-start-syntax-check-process):
16723 Obey `dir'. Simplify.
16724
16725 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16726 we're in VC after all.
16727
16728 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16729
16730 * vc/vc.el (vc-diff-build-argument-list-internal)
16731 (vc-version-ediff, vc-ediff): New commands.
16732 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16733
16734 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16735
16736 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16737 add sanity check.
16738
16739 * obsolete/erc-hecomplete.el: Make obsolete.
16740 * obsolete/: Standardize obsolescence info in the header.
16741
16742 2011-04-20 Glenn Morris <rgm@gnu.org>
16743
16744 * calendar/solar.el (solar-horizontal-coordinates):
16745 Use the longitude argument rather than `calendar-longitude'.
16746 (solar-date-next-longitude): Remove unused locals.
16747
16748 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16749
16750 * whitespace.el: New version 13.2.1.
16751
16752 2011-04-20 felix <EmacsWiki> (tiny change)
16753
16754 * whitespace.el (global-whitespace-mode): Keep highlight when
16755 switching between major modes on a file.
16756
16757 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16758
16759 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16760 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16761 multi-line comments as well.
16762
16763 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16764
16765 Lexical-binding cleanup.
16766
16767 * arc-mode.el (archive-mode-revert):
16768 * cmuscheme.el (scheme-interactively-start-process):
16769 * custom.el (custom-initialize-delay):
16770 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16771 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16772 * emacs-lock.el (emacs-lock-clear-sentinel):
16773 * ezimage.el (defezimage):
16774 * follow.el (follow-avoid-tail-recenter):
16775 * fringe.el (set-fringe-mode-1):
16776 * generic-x.el (bat-generic-mode-compile):
16777 * help-mode.el (help-info-variable, help-do-xref)
16778 (help-mode-revert-buffer):
16779 * help.el (view-emacs-todo):
16780 * iswitchb.el (iswitchb-completion-help):
16781 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16782 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16783 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16784 * locate.el (locate-update):
16785 * longlines.el (longlines-encode-region)
16786 (longlines-after-change-function):
16787 * outline.el (outline-isearch-open-invisible):
16788 * ps-def.el (declare-function, charset-dimension, char-width)
16789 (encode-char):
16790 * ps-mule.el (ps-mule-plot-string):
16791 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16792 (recentf-edit-list-select, recentf-edit-list-validate)
16793 (recentf-open-files-action):
16794 * rect.el (delete-whitespace-rectangle-line)
16795 (rectangle-number-line-callback):
16796 * register.el (window-configuration-to-register)
16797 (frame-configuration-to-register):
16798 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16799 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16800 (xselect-convert-to-targets, xselect-convert-to-delete)
16801 (xselect-convert-to-filename, xselect-convert-to-charpos)
16802 (xselect-convert-to-lineno, xselect-convert-to-colno)
16803 (xselect-convert-to-os, xselect-convert-to-host)
16804 (xselect-convert-to-user, xselect-convert-to-class)
16805 (xselect-convert-to-name, xselect-convert-to-integer)
16806 (xselect-convert-to-atom, xselect-convert-to-identity):
16807 * subr.el (declare, ignore, process-kill-without-query)
16808 (text-clone-maintain):
16809 * terminal.el (te-get-char, te-tic-sentinel):
16810 * tool-bar.el (tool-bar-make-keymap):
16811 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16812 * type-break.el (type-break-mode, type-break-noninteractive-query):
16813 * view.el (View-back-to-mark):
16814 * wid-browse.el (widget-browse-action, widget-browse-widget)
16815 (widget-browse-widgets, widget-browse-sexp):
16816 * widget.el (define-widget-keywords):
16817 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16818 Mark unused parameters.
16819
16820 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16821 (align-areas): Remove unused variable `look'.
16822 (align-region): Remove unused variables `real-end' and `pos-list'.
16823
16824 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16825
16826 * bindings.el (mode-line-modified, mode-line-remote):
16827 Mark unused parameters.
16828 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16829
16830 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16831 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16832
16833 * comint.el (comint-history-isearch-pop-state)
16834 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16835 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16836 (comint-substitute-in-file-name): Doc fix.
16837
16838 * completion.el (cmpl-statistics-block): Mark unused parameter.
16839 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16840 (save-completions-to-file, load-completions-from-file):
16841 Remove unused local variable `e'.
16842
16843 * composite.el (compose-chars): Remove unused variable `len'.
16844 (lgstring-insert-glyph): Remove unused variable `g'.
16845 (compose-glyph-string): Remove unused variables `ascent',
16846 `descent', `lbearing' and `rbearing'.
16847 (compose-glyph-string-relative): Remove unused variables
16848 `lbearing', `rbearing' and `wadjust'.
16849 (compose-gstring-for-graphic): Remove unused variables `header',
16850 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16851 (compose-gstring-for-terminal): Remove unused variables `header'
16852 and `nchars'. Use `let', not `let*'.
16853
16854 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16855 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16856 (Custom-buffer-done, custom-buffer-create-internal)
16857 (custom-browse-visibility-action, custom-browse-group-tag-action)
16858 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16859 (widget-magic-mouse-down-action, custom-toggle-parent)
16860 (custom-add-parent-links, custom-toggle-hide-variable)
16861 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16862 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16863 (custom-face-menu-create, custom-variable-menu-create, get)
16864 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16865 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16866 (customize-apropos): Remove unused variable `tests'.
16867 (custom-group-value-create): Remove unused variable `hidden-p'.
16868 (sort-fold-case): Declare.
16869
16870 * cus-theme.el (custom-reset-standard-faces-list)
16871 (custom-reset-standard-variables-list): Declare.
16872 (customize-create-theme, custom-theme-revert, custom-theme-write)
16873 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16874 Mark unused parameters.
16875
16876 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16877
16878 * delim-col.el (delimit-columns-max): Move defvar before first use.
16879
16880 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16881 (describe-char): Don't quote `lambda'. Mark unused parameter.
16882
16883 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16884 (auto-insert): Declare.
16885 (desktop-restore-file-buffer): Rename desktop-* parameters;
16886 mark unused ones.
16887 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16888 (desktop-buffer): Rename desktop-* parameters.
16889
16890 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16891 (dframe-reposition-frame-xemacs, dframe-help-echo)
16892 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16893 Mark unused parameters.
16894
16895 * dired-aux.el (backup-extract-version-start, overwrite-query)
16896 (overwrite-backup-query, rename-regexp-query)
16897 (rename-non-directory-query): Declare.
16898 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16899 (dired-add-entry): Remove unused variable `orig-file-name'.
16900 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16901 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16902 `dired-copy-preserve-time' directly.
16903 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16904 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16905
16906 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16907 (dired-virtual-revert, dired-make-relative-symlink):
16908 Mark unused parameters.
16909 (manual-program): Declare.
16910 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16911 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16912 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16913
16914 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16915
16916 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16917
16918 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16919 Declare.
16920
16921 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16922
16923 * electric.el (Electric-command-loop): Rename parameter
16924 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16925
16926 * expand.el (expand-in-literal): Remove unused variable `here'.
16927
16928 * facemenu.el (facemenu-add-new-color):
16929 Remove unused variable `docstring'.
16930
16931 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16932 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16933 (face-attr-construct): Mark unused parameter. Doc fix.
16934 (read-color): Remove unused variable `hex-string'.
16935
16936 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16937 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16938 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16939 (display-buffer-other-frame): Remove unused variable `old-window'.
16940 (kill-buffer-hook): Declare.
16941 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16942 Mark unused parameters.
16943 (after-find-file): Pass 1 to `auto-save-mode', not t.
16944
16945 * files-x.el (auto-insert): Declare.
16946 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16947
16948 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16949 variable `buf'. Mark unused parameter.
16950 (find-lisp-insert-directory): Mark unused parameter.
16951
16952 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16953 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16954 (format-common-tail): Remove, unused.
16955 (format-deannotate-region): Remove unused variable `loc'.
16956 (format-annotate-region): Remove unused variable `p'.
16957 (format-annotate-single-property-change): Remove unused variables
16958 `default' and `tail'.
16959
16960 * forms.el (read-file-filter): Declare.
16961 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16962
16963 * frame.el (frame-creation-function-alist): Mark unused parameter.
16964 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16965
16966 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16967 Remove unused parameters.
16968 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16969 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16970
16971 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16972 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16973 (hfy-prepare-tag-map): Mark unused parameters.
16974 (htmlfontify-buffer): Use `called-interactively-p'.
16975
16976 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16977 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16978 (ibuffer-do-occur): Mark unused parameters.
16979 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16980 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16981
16982 * ibuffer.el: Don't quote `lambda'.
16983 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16984 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16985 Mark unused parameters.
16986
16987 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16988 (ido-completing-read): Mark unused parameters.
16989 (ido-copy-current-word): Mark unused parameters;
16990 remove unused variable `name'.
16991 (ido-sort-merged-list): Remove unused parameter `dirs'.
16992
16993 * ielm.el (ielm-input-sender): Mark unused parameter.
16994 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16995 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16996 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16997 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16998 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16999
17000 * image-dired.el (image-dired-display-thumbs): Remove unused
17001 variables `curr-file' and `count'.
17002 (image-dired-remove-tag): Remove unused variable `start'.
17003 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17004 variable `curr-file'
17005 (image-dired-rotate-original): Remove unused variable `temp-file'.
17006 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17007 Remove unused variable `file'.
17008 (image-dired-gallery-generate): Remove unused variable `curr'.
17009 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17010
17011 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17012
17013 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17014
17015 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17016
17017 * isearch.el (minibuffer-history-symbol): Declare.
17018 (isearch-edit-string): Remove unused variable `err'.
17019 (isearch-message-prefix, isearch-message-suffix):
17020 Mark unused parameters.
17021
17022 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17023
17024 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17025
17026 * makesum.el (double-column): Remove unused variable `cnt'.
17027
17028 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17029 (ido-ignore-item-temp-list): Declare.
17030
17031 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17032 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17033 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17034 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17035 `mouse-col-delta'.
17036
17037 * mouse-sel.el (mouse-extend-internal):
17038 Remove unused variable `orig-window-frame'.
17039
17040 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17041 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17042 Move declarations before first use.
17043 (pcomplete-opt): Mark unused parameters; doc fix.
17044
17045 * proced.el (proced-revert): Mark unused parameter.
17046 (proced-send-signal): Remove unused variable `err'.
17047
17048 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17049 Rename parameter PREFIX-ARG to ARG.
17050 (ps-basic-plot-string, ps-basic-plot-whitespace):
17051 Mark unused parameters.
17052
17053 * replace.el (replace-count): Define.
17054 (occur-revert-function): Mark unused parameters.
17055 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17056 (isearch-case-fold-search, isearch-string): Declare.
17057 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17058 bind `case-fold-search'. Remove unused variables `beg' and `end',
17059 and simplify.
17060 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17061 COUNT and bind `replace-count'.
17062 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17063 to COUNT.
17064
17065 * savehist.el (print-readably, print-string-length): Declare.
17066
17067 * shadowfile.el (shadow-expand-cluster-in-file-name):
17068 Remove unused variable `cluster'.
17069 (shadow-copy-file): Remove unused variable `i'.
17070 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17071 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17072 (shadow-define-literal-group, shadow-define-regexp-group)
17073 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17074
17075 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17076 (shell): Use `called-interactively-p'.
17077 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17078
17079 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17080 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17081 (delete-backward-char): Remove unused variable `ocol'.
17082 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17083 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17084 (event-apply-hyper-modifier, event-apply-shift-modifier)
17085 (event-apply-control-modifier, event-apply-meta-modifier):
17086 Mark unused parameters.
17087 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17088 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17089
17090 * speedbar.el (speedbar-ignored-directory-expressions)
17091 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17092 (speedbar-find-file, speedbar-dir-follow)
17093 (speedbar-directory-buttons-follow, speedbar-tag-find)
17094 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17095 (speedbar-buffers-line-directory, speedbar-buffer-click):
17096 Mark unused parameters.
17097 (speedbar-tag-file): Remove unused variable `mode'.
17098 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17099
17100 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17101
17102 * talk.el (talk): Remove unused variable `display'.
17103
17104 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17105 (tar-write-region-annotate): Mark unused parameter.
17106
17107 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17108 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17109 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17110 warning by another.
17111
17112 * time-stamp.el (time-stamp-string-preprocess):
17113 Remove unused variable `require-padding'.
17114
17115 * tree-widget.el (widget-glyph-enable): Declare.
17116 (tree-widget-action): Mark unused parameter.
17117
17118 * w32-fns.el (x-get-selection): Mark unused parameter.
17119 (autoload-make-program, generated-autoload-file): Declare.
17120
17121 * wdired.el (wdired-revert): Mark unused parameters.
17122 (wdired-xcase-word): Remove unused variable `err'.
17123
17124 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17125 (whitespace-help-scroll): Remove unused variable `data-help'.
17126
17127 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17128 (widget-image-insert, widget-after-change, default)
17129 (widget-default-format-handler, widget-default-notify)
17130 (widget-default-prompt-value, widget-info-link-action)
17131 (widget-url-link-action, widget-function-link-action)
17132 (widget-variable-link-action, widget-file-link-action)
17133 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17134 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17135 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17136 (widget-insert-button-action, widget-delete-button-action, visibility)
17137 (widget-documentation-link-action, widget-documentation-string-action)
17138 (widget-const-prompt-value, widget-regexp-match, symbol)
17139 (widget-coding-system-prompt-value)
17140 (widget-key-sequence-value-to-external, sexp)
17141 (widget-sexp-value-to-internal, character, vector, cons)
17142 (widget-choice-prompt-value, widget-boolean-prompt-value)
17143 (widget-color--choose-action): Mark unused parameters.
17144 (widget-item-match-inline, widget-choice-match-inline)
17145 (widget-checklist-match, widget-checklist-match-inline)
17146 (widget-group-match): Rename parameter VALUES to VALS.
17147 (widget-field-value-set): Remove unused variable `size'.
17148 (widget-color-action): Remove unused variables `value' and `start'.
17149
17150 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17151 variable `dir'. Doc fix.
17152 (windmove-find-other-window): Don't pass it.
17153
17154 * window.el (count-windows): Mark unused parameter.
17155 (bw-adjust-window): Remove unused variable `err'.
17156
17157 * woman.el (woman-file-name): Remove unused variable `default'.
17158 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17159 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17160 (global-font-lock-mode): Declare.
17161 (woman-decode-region): Mark unused parameter.
17162 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17163
17164 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17165 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17166 (x-dnd-handle-moz-url): Remove unused variable `title'.
17167 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17168
17169 * xml.el (xml-parse-tag, xml-parse-attlist):
17170 Remove unused variable `pos'.
17171
17172 2011-04-19 Glenn Morris <rgm@gnu.org>
17173
17174 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17175 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17176 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17177 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17178 * calendar/cal-html.el (cal-html-insert-minical):
17179 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17180 (calendar-mark-date-pattern):
17181 Prefix "unused" locals.
17182
17183 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17184 optional argument `style'.
17185
17186 * calendar/appt.el (appt-make-list):
17187 * calendar/cal-china.el (calendar-chinese-date-string):
17188 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17189 (diary-hebrew-yahrzeit):
17190 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17191 * calendar/calendar.el (calendar-generate-window):
17192 * calendar/time-date.el (time-to-days):
17193 Remove unused local variables.
17194
17195 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17196
17197 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17198 glyphless-char-display table.
17199 (tabulated-list-glyphless-char-display): New var.
17200
17201 2011-04-18 Sam Steingold <sds@gnu.org>
17202
17203 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17204 to acknowledgments.
17205
17206 2011-04-17 Glenn Morris <rgm@gnu.org>
17207
17208 * calendar/diary-lib.el (diary-sexp-entry):
17209 * calendar/holidays.el (holiday-sexp):
17210 Set debug-on-error rather than the removed stack-trace-on-error.
17211
17212 2011-04-16 Glenn Morris <rgm@gnu.org>
17213
17214 * progmodes/f90.el: Use lexical-binding.
17215 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17216
17217 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17218
17219 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17220 (mail-mode): Setup mailalias completion here instead.
17221 * mail/mailalias.el: Use lexical-binding.
17222 (pattern, mailalias-done): Declare dynamic.
17223 (mail-completion-at-point-function): New function, from mail-complete.
17224 (mail-complete): Use it.
17225 (mail-completion-expand): New function.
17226 (mail-get-names): Use it.
17227 (mail-directory, mail-directory-process, mail-directory-stream):
17228 Don't use `pattern' for lexically bound arg.
17229
17230 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17231
17232 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17233 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17234 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17235
17236 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17237 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17238 (byte-interactive-p): Define them again, for use when inlining
17239 old code.
17240
17241 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17242
17243 * loadup.el: Use `string-to-number', not `string-to-int'.
17244
17245 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17248 gud-gdb-complete-command.
17249 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17250 (gud-gdb-completion-at-point): New function.
17251 (gud-gdb-completions): Remove.
17252
17253 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17254
17255 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17256 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17257 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17258 whether `executable-find' is bound.
17259
17260 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17261
17262 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17263
17264 * minibuffer.el (completion-in-region-mode-predicate)
17265 (completion-in-region-mode--predicate): New vars.
17266 (completion-in-region, completion-in-region--postch)
17267 (completion-in-region-mode): Use them.
17268 (completion--capf-wrapper): Also return the hook function.
17269 (completion-at-point, completion-help-at-point):
17270 Adjust and provide a predicate.
17271
17272 Preserve arg names for advice of subr and lexical functions (bug#8457).
17273 * help-fns.el (help-function-arglist): Consolidate the subr and
17274 new-byte-code cases. Add argument `preserve-names' to extract names
17275 from the docstring when needed.
17276 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17277 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17278 (ad-arglist): Use help-function-arglist's new arg.
17279 (ad-definition-type): Use cond.
17280
17281 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17282
17283 * autorevert.el (auto-revert-handler):
17284 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17285 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17286 Don't quote lambda.
17287
17288 * image-mode.el (image-transform-set-scale):
17289 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17290
17291 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17292
17293 * net/network-stream.el (network-stream-open-starttls): Only do
17294 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17295 Upgrades via gnutls-cli are too slow to be done opportunistically.
17296
17297 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17298
17299 * dframe.el (dframe-current-frame): Remove spurious quote.
17300
17301 2011-04-12 Glenn Morris <rgm@gnu.org>
17302
17303 * calendar/cal-tex.el (cal-tex-end-document):
17304 Try to automatically use latin1 input if needed.
17305
17306 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17307 Don't try to cons a mark onto an empty element.
17308
17309 2011-04-11 Leo Liu <sdl.web@gmail.com>
17310
17311 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17312 buffers.
17313 (ido-kill-buffer-at-head): Support killing virtual buffers.
17314
17315 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17316
17317 * minibuffer.el (completion-show-inline-help): New var.
17318 (completion--do-completion, minibuffer-complete)
17319 (minibuffer-force-complete, minibuffer-complete-word):
17320 Inhibit minibuffer messages if completion-show-inline-help is nil.
17321
17322 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17323 to avoid interference from inline help (Bug#5849).
17324
17325 2011-04-10 Leo Liu <sdl.web@gmail.com>
17326
17327 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17328 Fix typo.
17329
17330 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17331
17332 * image-mode.el (image-toggle-display-image): Signal an error if
17333 not in Image mode.
17334 (image-transform-mode, image-transform-resize)
17335 (image-transform-set-rotation): Doc fix.
17336 (image-transform-set-resize): Delete.
17337 (image-transform-set-scale, image-transform-fit-to-height)
17338 (image-transform-fit-to-width): Handle image-toggle-display-image
17339 and image-transform-resize directly.
17340
17341 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17342
17343 * doc-view.el (doc-view-fit-width-to-window)
17344 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17345 New functions for fitting the shown image to the Emacs window size.
17346 (doc-view-mode-map): Add bindings for the new functions.
17347
17348 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17349
17350 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17351 Fix typo in docstring.
17352
17353 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17354
17355 * files.el (file-size-human-readable): Produce one digit after
17356 decimal, like "ls -lh" does.
17357
17358 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17359 the file size representation.
17360
17361 * simple.el (list-processes): If async subprocesses are not
17362 available, error out with a clear error message.
17363
17364 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17365
17366 * help.el (help-form-show): New function, to be called from C.
17367 Put help-form output in a buffer named differently than *Help*.
17368
17369 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17370
17371 * files.el (file-size-human-readable): New function.
17372
17373 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17374 computing the representation inline. Don't require `cl'.
17375
17376 2011-04-08 Glenn Morris <rgm@gnu.org>
17377
17378 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17379
17380 * net/browse-url.el (browse-url-firefox):
17381 Test system-type, not system-configuration.
17382
17383 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17384 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17385 Use log-edit-empty-buffer-p. (Bug#7598)
17386
17387 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17388 (rlogin-mode-map): Initialize in the defvar.
17389 (rlogin): Use ignore-errors.
17390
17391 * replace.el (occur-mode-map): Some fixes for menu items.
17392
17393 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17394
17395 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17396
17397 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17398
17399 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17400 issuing unused warnings.
17401
17402 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17403 macro directly.
17404
17405 * simple.el: Lisp reimplement of list-processes. Based on an
17406 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17407 (process-menu-mode): New major mode.
17408 (list-processes--refresh, list-processes):
17409 (process-menu-visit-buffer): New functions.
17410
17411 * files.el (save-buffers-kill-emacs): Don't assume any return
17412 value of list-processes, which is undocumented anyway.
17413
17414 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17415
17416 * emacs-lisp/tabulated-list.el: New file.
17417
17418 * emacs-lisp/package.el: Use Tabulated List mode.
17419 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17420 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17421 table format using Tabulated List mode variables.
17422 (package--push): New macro, replacing package-list-maybe-add.
17423 (package-menu--generate): Use package--push. Renamed from
17424 package--generate-package-list.
17425 (package-menu-refresh, list-packages): Use it.
17426 (package-menu--print-info): Rename from package-print-package.
17427 Return insertion data instead of inserting it directly.
17428 (package-menu-describe-package, package-menu-execute):
17429 Use tabulated-list-get-id.
17430 (package-menu-mark-delete, package-menu-mark-install)
17431 (package-menu-mark-unmark, package-menu-backup-unmark)
17432 (package-menu-mark-obsolete-for-deletion):
17433 Use tabulated-list-put-tag.
17434 (package--list-packages, package-menu-revert)
17435 (package-menu-get-package, package-menu-get-version)
17436 (package-menu-sort-by-column): Functions deleted.
17437 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17438 (package-menu--status-predicate, package-menu--version-predicate)
17439 (package-menu--name-predicate)
17440 (package-menu--description-predicate): Handle arguments in the
17441 Tabulated List format.
17442 (package-list-packages-no-fetch): Call list-packages.
17443
17444 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17445
17446 * files.el (after-find-file-from-revert-buffer): Remove variable.
17447 (after-find-file): Don't bind it.
17448 (revert-buffer-in-progress-p): New variable.
17449 (revert-buffer): Bind it.
17450 Pass nil for `after-find-file-from-revert-buffer'.
17451
17452 * saveplace.el (save-place-find-file-hook): Use new variable
17453 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17454
17455 2011-04-06 Glenn Morris <rgm@gnu.org>
17456
17457 * Makefile.in (AUTOGEN_VCS): New variable.
17458 (autoloads): Use $AUTOGEN_VCS.
17459
17460 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17461 * calendar/calendar.el (calendar-mode-map):
17462 Check for toolkit scroll bars. (Bug#8305)
17463
17464 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17465
17466 * minibuffer.el (completion-in-region--postch)
17467 (completion-in-region-mode): Remove unnecessary messages.
17468
17469 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17470
17471 * font-lock.el (font-lock-refresh-defaults):
17472 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17473 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17474
17475 * info.el (Info-directory-list, Info-read-node-name-2)
17476 (Info-split-parameter-string): Doc fixes.
17477 (Info-virtual-nodes): Reflow docstring.
17478 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17479 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17480 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17481 Fix typos in docstrings.
17482 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17483 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17484 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17485 (Info-restore-desktop-buffer): Mark unused parameters.
17486 (Info-directory-find-file, Info-directory-find-node)
17487 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17488 (Info-virtual-index-find-node, Info-apropos-find-file)
17489 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17490 Mark unused parameters; fix typos in docstrings.
17491 (Info-virtual-index): Remove unused local variable `nodename'.
17492
17493 2011-04-05 Deniz Dogan <deniz@dogan.se>
17494
17495 * net/rcirc.el: Update my e-mail address.
17496 (rcirc-mode-map): Remove M-o binding.
17497
17498 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17499
17500 * startup.el (command-line): Save the cursor's theme-face
17501 directly, instead of using face-override-spec.
17502
17503 * custom.el (load-theme): Minor optimization in assigning faces.
17504
17505 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17506
17507 * help-fns.el (describe-variable): Complete all variables having
17508 documentation, including keywords.
17509 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17510
17511 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17512
17513 Convert to lexical-binding.
17514
17515 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17516 (bs--get-marked-string, bs--get-modified-string)
17517 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17518 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17519 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17520
17521 * ehelp.el (electric-help-execute-extended)
17522 (electric-help-ctrl-x-prefix):
17523 * hexl.el (hexl-revert-buffer-function):
17524 * linum.el (linum-after-change, linum-after-scroll):
17525 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17526
17527 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17528
17529 2011-04-04 Daiki Ueno <ueno@unixuser.org>
17530
17531 * epa-dired.el:
17532 * epa-mail.el:
17533 * epa-hook.el:
17534 * epa-file.el:
17535 * epa.el:
17536 * epg.el: Use lexical binding.
17537
17538 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
17539
17540 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17541
17542 * textmodes/flyspell.el (flyspell-word): Recognize default
17543 dictionary case for flyspell-mark-duplications-exceptions.
17544 Use regexp matching for languages.
17545 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17546 default dictionary (Bug#7926).
17547
17548 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
17549
17550 * emacs-lisp/package.el (package--with-work-buffer):
17551 Recognize https URLs.
17552
17553 * net/network-stream.el: Move from gnus/proto-stream.el.
17554 Change prefix to network-stream throughout.
17555 (open-protocol-stream): Merge into open-network-stream, leaving
17556 open-protocol-stream as an alias. Handle nil BUFFER args.
17557
17558 * subr.el (open-network-stream): Move to net/network-stream.el.
17559
17560 2011-04-02 Glenn Morris <rgm@gnu.org>
17561
17562 * find-dired.el (find-exec-terminator): New option.
17563 (find-ls-option): Test for -ls support.
17564 (find-ls-subdir-switches): Test for -b in find-ls-option.
17565 (find-dired, find-grep-dired): Doc fixes.
17566 (find-dired): Use find-exec-terminator.
17567
17568 * find-dired.el (find-ls-option, find-ls-subdir-switches)
17569 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17570 (find-name-arg): Remove purecopy.
17571
17572 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17573 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17574 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17575 accordingly. Don't add the null-device if not needed.
17576
17577 * files.el (save-some-buffers): Doc fix.
17578
17579 2011-04-02 Eli Zaretskii <eliz@gnu.org>
17580
17581 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17582
17583 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17586 Use `dolist' rather than `mapcar'.
17587
17588 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17589
17590 Add lexical binding.
17591
17592 * subr.el (apply-partially): Use new closures rather than CL.
17593 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17594 (dolist, dotimes): Use slightly different expansion for lexical code.
17595 (functionp): Move to C.
17596 (letrec): New macro.
17597 (with-wrapper-hook): Use it and apply-partially instead of CL.
17598 (eval-after-load): Preserve lexical-binding.
17599 (save-window-excursion, with-output-to-temp-buffer): Turn them
17600 into macros.
17601
17602 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17603
17604 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17605 than the arglist.
17606 (help-add-fundoc-usage): Don't add `Not documented'.
17607 (help-function-arglist): Handle closures, subroutines, and new
17608 byte-code-functions.
17609 (help-make-usage): Remove leading underscores.
17610 (describe-function-1): Handle closures.
17611 (describe-variable): Use special-variable-p for completion.
17612
17613 * files.el (lexical-binding): Declare safe.
17614
17615 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17616 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17617 (pcase): Add `let' pattern.
17618 Change memoization so it actually works.
17619 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17620 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17621 <let>: New case.
17622
17623 * emacs-lisp/macroexp.el: Use lexical binding.
17624 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17625 Don't convert ' to #' without checking that it's indeed quoting
17626 a lambda.
17627
17628 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17629 Use eval-sexp-add-defvars.
17630 (eval-sexp-add-defvars): New fun.
17631
17632 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17633
17634 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17635 Don't autoload.
17636 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17637 than the internal `byte-compile-lambda'.
17638 (defmethod): Don't hide code under quotes.
17639 (eieio-defmethod): New `code' argument.
17640
17641 * emacs-lisp/eieio-comp.el: Remove.
17642
17643 * emacs-lisp/edebug.el (edebug-eval-defun)
17644 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17645 (edebug-toggle): Avoid `eval'.
17646
17647 * emacs-lisp/disass.el (disassemble-internal): Handle new
17648 `closure' objects.
17649 (disassemble-1): Handle new byte codes.
17650
17651 * emacs-lisp/cl.el (pushnew): Silence warning.
17652
17653 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17654 (cl-byte-compile-throw): Remove.
17655 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17656
17657 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17658 closures.
17659
17660 * emacs-lisp/cconv.el: New file.
17661
17662 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17663 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17664 (byte-compile-initial-macro-environment):
17665 Handle declare-function here.
17666 (byte-compile--lexical-environment): New var.
17667 (byte-stack-ref, byte-stack-set, byte-discardN)
17668 (byte-discardN-preserve-tos): New lap codes.
17669 (byte-interactive-p): Don't use any more.
17670 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17671 New macros.
17672 (byte-compile-lapcode): Use them and handle new lap codes.
17673 (byte-compile-obsolete): Remove.
17674 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17675 (byte-compile-arglist-warn): Check late def of inlinable funs.
17676 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17677 since they should have been expanded by now.
17678 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17679 (byte-compile-from-buffer): Remove unused second arg.
17680 (byte-compile-preprocess): New function.
17681 (byte-compile-toplevel-file-form): New function to distinguish
17682 file-form calls from outside from file-form calls from hunk-handlers.
17683 (byte-compile-file-form): Simplify.
17684 (byte-compile-file-form-defsubst): Remove.
17685 (byte-compile-file-form-defmumble): Simplify now that
17686 byte-compile-lambda always returns a byte-code-function.
17687 (byte-compile): Preprocess.
17688 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17689 Remove, not used any more.
17690 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17691 (byte-compile-make-args-desc): New funs.
17692 (byte-compile-lambda): Handle lexical functions. Always return
17693 a byte-code-function.
17694 (byte-compile-reserved-constants): New var, to make up room for
17695 closed-over variables.
17696 (byte-compile-constants-vector): Obey it.
17697 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17698 (byte-compile-macroexpand-declare-function): New function.
17699 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17700 byte-code-functions.
17701 (byte-compile-form): Check obsolescence here.
17702 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17703 (byte-compile-variable-ref): Remove.
17704 (byte-compile-dynamic-variable-op): New fun.
17705 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17706 (byte-compile-variable-set): New funs.
17707 (byte-compile-discard): Add 2 args.
17708 (byte-compile-stack-ref, byte-compile-stack-set)
17709 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17710 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17711 macroexpand-all instead.
17712 (byte-compile-quote-form): Remove.
17713 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17714 (byte-compile-bind, byte-compile-unbind): New funs.
17715 (byte-compile-let): Handle let* and lexical binding.
17716 (byte-compile-let*): Remove.
17717 (byte-compile-catch, byte-compile-unwind-protect)
17718 (byte-compile-track-mouse, byte-compile-condition-case):
17719 Handle a new :fun-body form, used for lexical scoping.
17720 (byte-compile-save-window-excursion)
17721 (byte-compile-with-output-to-temp-buffer): Remove.
17722 (byte-compile-defun): Simplify.
17723 (byte-compile-stack-adjustment): New fun.
17724 (byte-compile-out): Use it.
17725 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17726
17727 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17728 handler any more.
17729
17730 * emacs-lisp/byte-opt.el: Use lexical binding.
17731 (byte-inline-lapcode): Remove (to bytecomp).
17732 (byte-compile-inline-expand): Pay attention to inlining to/from
17733 lexically bound code.
17734 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17735 any more.
17736 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17737 any more and don't call compiler-macros.
17738 (byte-compile-splice-in-already-compiled-code): Remove.
17739 (byte-code): Don't inline any more.
17740 (disassemble-offset): Receive `bytes' as argument rather than via
17741 dynamic scoping.
17742 (byte-compile-tag-number): Declare before first use.
17743 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17744 `return' even if make-spliceable.
17745 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17746 obsolete interactive-p.
17747 (byte-optimize-lapcode): Optimize new lap-codes.
17748 Don't trip up on new form of `byte-constant' lap code.
17749
17750 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17751
17752 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17753
17754 * custom.el (custom-initialize-default, custom-declare-variable):
17755 Use `defvar'.
17756
17757 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17758 New variables.
17759 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17760 (COMPILE_FIRST): Add macroexp and cconv.
17761 * makefile.w32-in: Mirror changes in Makefile.in.
17762
17763 * vc/cvs-status.el:
17764 * vc/diff-mode.el:
17765 * vc/log-edit.el:
17766 * vc/log-view.el:
17767 * vc/smerge-mode.el:
17768 * textmodes/bibtex-style.el:
17769 * textmodes/css-mode.el:
17770 * startup.el:
17771 * uniquify.el:
17772 * minibuffer.el:
17773 * newcomment.el:
17774 * reveal.el:
17775 * server.el:
17776 * mpc.el:
17777 * emacs-lisp/smie.el:
17778 * doc-view.el:
17779 * dired.el:
17780 * abbrev.el: Use lexical binding.
17781
17782 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17783
17784 * info.el (info-display-manual): New function.
17785
17786 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17787
17788 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17789
17790 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17791
17792 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17793 an entry for that server in rcirc-authinfo. (Bug#8385)
17794
17795 2011-03-31 Glenn Morris <rgm@gnu.org>
17796
17797 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17798
17799 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17800
17801 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17802
17803 * progmodes/python.el (python-default-interpreter)
17804 (python-python-command-args, python-jython-command-args)
17805 (python-which-shell, python-which-args, python-which-bufname)
17806 (python-file-queue, python-comint-output-filter-function)
17807 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17808 variables and functions.
17809
17810 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17811
17812 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17813 (completion-in-region-mode): New minor mode.
17814 (completion-in-region): Use it.
17815 (completion-in-region--data, completion-in-region-mode-map): New vars.
17816 (completion-in-region--postch): New function.
17817 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17818 New vars.
17819 (completion--capf-wrapper): New function.
17820 (completion-at-point): Use it to track well-behavedness of
17821 hook functions.
17822 (completion-help-at-point): New command.
17823
17824 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17825
17826 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17827 syntax class to search for whitespace on a single line
17828 (Message-ID: <4D938140.4030905@redhat.com>).
17829
17830 2011-03-30 Leo Liu <sdl.web@gmail.com>
17831
17832 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17833 New commands.
17834 (edit-abbrevs-map): Bind them here.
17835 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17836
17837 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17838
17839 * allout.el (allout-hide-by-annotation, allout-flag-region):
17840 Reduce possibility of overlay leakage by making them volatile.
17841
17842 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17843 hash is not shared between buffers. Mode initialization is
17844 responsible for giving it a useful starting value.
17845 (allout-item-span): Reduce possibility of overlay leakage by
17846 making them volatile.
17847 (allout-widgets-count-buttons-in-region): Add diagnostic function
17848 for tracking down button overlay leaks.
17849
17850 2011-03-29 Leo Liu <sdl.web@gmail.com>
17851
17852 * ido.el (ido-read-internal): Use the default history var
17853 minibuffer-history if no HISTORY is specified.
17854
17855 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17856
17857 * net/imap.el (imap-shell-open, imap-process-connection-type):
17858 Use imap-process-connection-type for 'shell' streams as well as
17859 Kerberos, SSL, other subprocesses.
17860
17861 2011-03-28 Leo Liu <sdl.web@gmail.com>
17862
17863 * abbrev.el (abbrev-table-empty-p): New function.
17864 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17865 nonempty ones. (Bug#5937)
17866
17867 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17868
17869 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17870
17871 2011-03-27 Leo Liu <sdl.web@gmail.com>
17872
17873 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17874 for foreground and background colors.
17875 (ansi-color-make-color-map): Adapt.
17876
17877 2011-03-25 Leo Liu <sdl.web@gmail.com>
17878
17879 * midnight.el (midnight-time-float): Remove. Note it calculates
17880 the microsecond component incorrectly and seconds-to-time does the
17881 same job.
17882 Remove redundant (require 'timer).
17883
17884 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17885 (ido-completions): Remove unused arguments. (Bug#8329)
17886
17887 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17888
17889 * minibuffer.el (completion--flush-all-sorted-completions):
17890 Remove itself from hook.
17891 (completion-at-point): Let the functions perform the completion
17892 immediately and return nil or t.
17893 * comint.el (comint-dynamic-complete-functions): Now identical to
17894 completion-at-point-functions.
17895 (comint-dynamic-list-input-ring): Remove unused var `index'.
17896 (comint--match-partial-filename, comint--unquote&expand-filename):
17897 New funs, split from comint-match-partial-filename.
17898 (comint-dynamic-complete): Use completion-at-point.
17899 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17900
17901 2011-03-24 Drew Adams <drew.adams@oracle.com>
17902
17903 * thingatpt.el: Support `defun'.
17904
17905 2011-03-23 Leo Liu <sdl.web@gmail.com>
17906
17907 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17908
17909 * help-mode.el (help-mode-finish): Tweak regexp.
17910
17911 2011-03-23 Glenn Morris <rgm@gnu.org>
17912
17913 * eshell/esh-opt.el (eshell-eval-using-options):
17914 Do not bind unused local variable `eshell-option-stub'.
17915
17916 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17917
17918 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17919
17920 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17921 keymap variable in `with-no-warnings' to avoid a warning when the
17922 keymap has been already `defconst'ed.
17923
17924 2011-03-22 Leo Liu <sdl.web@gmail.com>
17925
17926 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17927 encode all chars in abbrevs; otherwise use emacs-mule or
17928 utf-8-emacs. (Bug#8308)
17929
17930 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * simple.el (backward-delete-char-untabify):
17933 Avoid warning about using `delete-backward-char'.
17934
17935 * image.el (image-type-file-name-regexps): Make it variable.
17936 `imagemagick-register-types' modifies it, and the user may want
17937 to add new extensions for known image types.
17938 (imagemagick-register-types): Throw error if not using ImageMagick.
17939
17940 2011-03-22 Leo Liu <sdl.web@gmail.com>
17941
17942 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17943 located before rcirc-prompt-end-marker.
17944 (rcirc-complete): Error if point is not after rcirc prompt.
17945 Handle the case when table is nil.
17946 (rcirc-user-authenticated): Define to fix compiler warning.
17947
17948 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17949
17950 * custom.el (custom--inhibit-theme-enable): Make it affect only
17951 custom-theme-set-variables and custom-theme-set-faces.
17952 (provide-theme): Ignore custom--inhibit-theme-enable.
17953 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17954 (custom-enabling-themes): Delete variable.
17955 (enable-theme): Accept only loaded themes as arguments.
17956 Ignore the special custom-enabled-themes variable.
17957 (custom-enabled-themes): Forbid themes from setting this.
17958 Eliminate use of custom-enabling-themes.
17959 (custom-push-theme): Quote "changed" custom var entry.
17960
17961 2011-03-21 Leo Liu <sdl.web@gmail.com>
17962
17963 * ido.el (ido-read-internal): Add ido-selected to history instead
17964 of user input.
17965
17966 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17967
17968 * subr.el (deferred-action-list, deferred-action-function):
17969 Mark obsolete.
17970
17971 2011-03-21 Leo Liu <sdl.web@gmail.com>
17972
17973 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17974 change on 2011-02-13 (bug#8309).
17975
17976 * minibuffer.el (read-file-name-function): Change default value.
17977 (read-file-name--defaults): Rename from read-file-name-defaults.
17978 (read-file-name-default): Rename from read-file-name.
17979 (read-file-name): Call read-file-name-function.
17980
17981 2011-03-21 Glenn Morris <rgm@gnu.org>
17982
17983 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17984 Doc fixes.
17985
17986 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17987
17988 * cus-theme.el: Add missing provide statement.
17989 (customize-create-theme): Extract theme value correctly.
17990 (custom-theme-visit-theme): Autoload.
17991 (customize-create-theme): Prompt before inserting default faces.
17992
17993 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17994
17995 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17996 units and musical notes.
17997
17998 2011-03-20 Leo Liu <sdl.web@gmail.com>
17999
18000 * ido.el (ido-read-internal): Use completing-read-default.
18001 (ido-completing-read): Fix compatibility with completing-read.
18002
18003 2011-03-20 Christian Ohler <ohler@gnu.org>
18004
18005 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18006 (ert-delete-all-tests): Use `called-interactively-p' rather than
18007 `interactive-p'.
18008 (ert--make-xrefs-region): Respect END.
18009
18010 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18011
18012 * dired-aux.el (dired-create-directory): Signal an error if the
18013 directory already exists (Bug#8246).
18014
18015 * facemenu.el (list-colors-display): Call list-faces-display
18016 inside with-help-window.
18017 (list-colors-print): Use display property to align the final
18018 column, instead of checking window-width.
18019
18020 2011-03-19 Eli Zaretskii <eliz@gnu.org>
18021
18022 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18023 windows-nt systems.
18024 (emerge-protect-metachars): Quote correctly for ms-dos and
18025 windows-nt systems.
18026
18027 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
18028
18029 * info.el (info-initialize): Replace all uses of `:' with
18030 path-separator for compatibility with non-Unix systems.
18031 Cache quoting of path-separator. (Bug#8258)
18032
18033 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
18034
18035 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18036 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18037 (mouse-avoidance-mode): Fix typos in docstrings.
18038
18039 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18040
18041 * startup.el (package-subdirectory-regexp): Move from package.el.
18042 Omit \\` and \\', and let callers add them.
18043
18044 * emacs-lisp/package.el (package-strip-version)
18045 (package-load-all-descriptors): Add \\` and \\' to
18046 package-subdirectory-regexp before using it.
18047 (package-untar-buffer): New arg DIR; ensure that file untars only
18048 into this expected directory. Remove superfluous delete-region.
18049 (package-unpack): Caller changed.
18050 (package-tar-file-info): Use package-subdirectory-regexp.
18051
18052 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18053
18054 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18055 diff-mode-shared-map (bug#8284).
18056 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18057
18058 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18059
18060 * calendar/time-date.el (format-seconds): Use assoc instead of
18061 assoc-string, since assoc-string doesn't exist in XEmacs.
18062
18063 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
18064
18065 * custom.el (custom-known-themes): Reflow docstring.
18066 (custom-theme-load-path): Fix typo in docstring.
18067 (load-theme): Fix typo in error message.
18068 (custom-available-themes, custom-variable-theme-value):
18069 Use `let', not `let*'.
18070
18071 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18072
18073 * calc/README: Mention inclusion of musical notes.
18074
18075 * calc/calc-units.el (calc-lu-quant): Rename from
18076 `calc-logunits-quantity'.
18077 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18078 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18079 (calc-db): Rename from `calc-dblevel'.
18080 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18081 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18082 (calc-np): Rename from `calc-nplevel'.
18083 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18084 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18085 (calc-lu-plus): Rename from `calc-logunits-add'.
18086 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18087 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18088 (calc-lu-minus): Rename from `calc-logunits-sub'.
18089 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18090 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18091 (calc-lu-times): Rename from `calc-logunits-mul'.
18092 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18093 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18094 (calc-lu-divide): Rename from `calc-logunits-div'.
18095 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18096 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18097
18098 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18099 functions being autoloaded.
18100
18101 * calc/calc.el (calc-lu-power-reference): Rename from
18102 `calc-logunits-power-reference'.
18103 (calc-lu-field-reference): Rename from
18104 `calc-logunits-field-reference'.
18105
18106 * calc/calc-help.el (calc-l-prefix-help):
18107 Mention musical note functions.
18108
18109 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18110
18111 * minibuffer.el (completion-all-sorted-completions):
18112 Use :completion-cycle-penalty text property if present.
18113
18114 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18115
18116 * allout.el (allout-yank-processing): Adjust for new rebulleting
18117 regime so bullet being yanked is used without prompting the user
18118 for a choice.
18119
18120 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18121
18122 * startup.el (command-line): Warn the user that _emacs is deprecated.
18123
18124 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18125
18126 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18127 (delphi-verbose, delphi-comment-face, delphi-string-face)
18128 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18129 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18130 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18131 (delphi-new-comment-line, delphi-font-lock-defaults)
18132 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18133 Fix typos in docstrings.
18134
18135 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18136
18137 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18138 Invert the roles of character and string values for INSTEAD, so a
18139 string is used for the more common case of a defaulting prompt.
18140
18141 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18142
18143 * progmodes/ruby-mode.el (ruby-backward-sexp):
18144 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18145 * play/gamegrid.el (gamegrid-make-face):
18146 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18147 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18148 * notifications.el (notifications-notify):
18149 * net/xesam.el (xesam-search-engines):
18150 * net/quickurl.el (quickurl-list-insert):
18151 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18152
18153 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18154
18155 * startup.el (command-line): Update package subdirectory regexp.
18156
18157 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18158
18159 * allout.el (allout-abbreviate-flattened-numbering)
18160 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18161
18162 * subr.el (read-char-choice): Only show the cursor after the prompt,
18163 not after the answer.
18164
18165 2011-03-15 Kevin Ryde <user42@zip.com.au>
18166
18167 * help-fns.el (variable-at-point): Skip leading quotes, if any
18168 (bug#8253).
18169
18170 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18173 warning message.
18174
18175 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18176
18177 * shell.el (shell): When called interactively, offer to change the
18178 shell file name on remote hosts.
18179
18180 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18181
18182 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18183 integration for LDAP parameters. The host, base, user or binddn,
18184 and secret tokens can be specified in a netrc file, for instance.
18185 This is optional because an `auth-source' parameter must be
18186 specified in the search attributes.
18187
18188 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18189
18190 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18191
18192 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18193
18194 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18195 into declaration. Remove redundant and harmful binding.
18196
18197 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18198
18199 * files.el (file-ownership-preserved-p): Pass `integer' as an
18200 explicit 2nd argument to `file-attributes'. If the file's owner
18201 is the Administrators group on Windows, and the current user is
18202 Administrator, consider that a match.
18203
18204 * server.el (server-ensure-safe-dir): Consider server directory
18205 safe on MS-Windows if its owner is the Administrators group while
18206 the current Emacs user is Administrator. Use `=' to compare
18207 numerical UIDs, since they could be integers or floats.
18208
18209 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18210
18211 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18212
18213 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18214
18215 Sync with Tramp 2.2.1.
18216
18217 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18218
18219 * net/trampver.el: Update release number.
18220
18221 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * progmodes/compile.el (compilation--previous-directory): Fix up
18224 various nil/dead-marker mismatches (bug#8014).
18225 (compilation-directory-properties, compilation-error-properties):
18226 Don't call it at a position past the one we're about to change.
18227
18228 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18229 Disable obsolescence warnings in the file that declares it.
18230
18231 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18232
18233 * allout-widgets.el (allout-widgets-tally):
18234 Initialize allout-widgets-tally as a hash table rather than nil to
18235 prevent mode-line redisplay warnings. Also, clarify the module
18236 description and fix a comment typo.
18237
18238 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18239
18240 * help-fns.el (describe-variable): Don't complete keywords.
18241 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18242
18243 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18244
18245 * emacs-lisp/package.el (package-version-join): Impose a standard
18246 string representation for pre/alpha/beta version lists.
18247 (package-unpack-single): Standardize the directory name by passing
18248 it through package-version-join.
18249 (package-strip-rcs-id): Accept any version string that does not
18250 signal an error in version-to-list.
18251
18252 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18253
18254 * simple.el (delete-trailing-whitespace): Return nil for the
18255 benefit of `write-file-functions'.
18256
18257 2011-03-10 Glenn Morris <rgm@gnu.org>
18258
18259 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18260
18261 * vc/vc-git.el (vc-git-program): New option.
18262 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18263 (vc-git--call): Use it.
18264
18265 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18266
18267 * cus-edit.el (Custom-newline): If no button at point, look
18268 for a subgroup button at start-of-line. (Bug#2298)
18269
18270 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18271
18272 2011-03-10 Julien Danjou <julien@danjou.info>
18273
18274 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18275 `cursor-type' is nil.
18276
18277 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18278
18279 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18280
18281 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18282
18283 * allout.el: Change so yank of distinctive-bullet items
18284 preserves the existing header prefix, rebulleting it if necessary,
18285 rather than replacing it. This is necessary for proper operation
18286 of cooperative addons like allout-widgets.
18287 (allout-make-topic-prefix, allout-rebullet-heading):
18288 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18289 value as alternate bullet to be used, instead of prompting the user
18290 for a bullet character.
18291
18292 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18293
18294 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18295 Do not use `tramp-file-name-port', because this returns also
18296 `tramp-default-port'.
18297
18298 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18299
18300 * net/rcirc.el (rcirc-handler-001): Remove useless
18301 with-rcirc-process-buffer.
18302 (rcirc-check-auth-status): Swap arguments to string-match.
18303
18304 2011-03-09 Glenn Morris <rgm@gnu.org>
18305
18306 * shell.el (shell-mode):
18307 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18308
18309 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18310 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18311
18312 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18313
18314 * emacs-lisp/package.el (package-refresh-contents)
18315 (package-menu-execute): Use condition-case-no-debug.
18316
18317 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18318
18319 * simple.el (shell-command-to-string): Use `process-file'.
18320
18321 * emacs-lisp/package.el (package-tar-file-info): Handle also
18322 remote files.
18323
18324 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18325 Use `equal' for upload base check.
18326
18327 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18328
18329 * textmodes/texinfo.el (texinfo-environments):
18330 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18331
18332 2011-03-08 Glenn Morris <rgm@gnu.org>
18333
18334 * cus-start.el (cursor-in-non-selected-windows):
18335 Fix :set quoting oddness. (Bug#8192)
18336
18337 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18338 in some setf expressions. (Bug#2159)
18339
18340 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18341
18342 * custom.el (custom-available-themes): Return themes in
18343 alphabetical order.
18344
18345 See ChangeLog.15 for earlier changes.
18346
18347 ;; Local Variables:
18348 ;; coding: utf-8
18349 ;; End:
18350
18351 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18352
18353 This file is part of GNU Emacs.
18354
18355 GNU Emacs is free software: you can redistribute it and/or modify
18356 it under the terms of the GNU General Public License as published by
18357 the Free Software Foundation, either version 3 of the License, or
18358 (at your option) any later version.
18359
18360 GNU Emacs is distributed in the hope that it will be useful,
18361 but WITHOUT ANY WARRANTY; without even the implied warranty of
18362 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18363 GNU General Public License for more details.
18364
18365 You should have received a copy of the GNU General Public License
18366 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.