]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
ChangeLog fixes
[gnu-emacs] / lisp / ChangeLog
1 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * loadup.el: Load macroexp. Remove hack.
4 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5 (macroexp--expand-all): Use it to get better warnings.
6 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7 (internal-macroexpand-for-load): New functions.
8 (macroexp--pending-eager-loads): New var.
9 (emacs-startup-hook): New hack to replace one in loadup.el.
10 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
11 (cl--compiler-macro-cXXr): Move to top, before they can be used.
12 (cl-psetf): Simplify.
13 (cl-defstruct): Add indent rule.
14
15 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
16
17 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
18 over `user-mail-address' for the SMTP MAIL FROM envelope.
19 (smtpmail-via-smtp): Ditto.
20
21 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el: Clean up keybindings.
24 (ruby-mode-map): Don't bind ruby-electric-brace,
25 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
26 backward-kill-word, reindent-then-newline-and-indent.
27 (ruby-mark-defun): Remove.
28 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
29 (ruby-mode): Set local beginning-of-defun-function and
30 end-of-defun-function values.
31
32 2012-09-03 Martin Rudalics <rudalics@gmx.at>
33
34 * window.el (temp-buffer-window-setup-hook)
35 (temp-buffer-window-show-hook): New hooks.
36 (temp-buffer-window-setup, temp-buffer-window-show)
37 (with-temp-buffer-window): New functions.
38 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
39 (special-display-popup-frame): Make sure the window used shows BUFFER.
40
41 * help.el (temp-buffer-resize-mode): Fix doc-string.
42 (resize-temp-buffer-window): New optional argument WINDOW.
43
44 * files.el (recover-file, save-buffers-kill-emacs):
45 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
46
47 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
48
49 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
50 remote definition of `default-directory', ensure we can connect.
51
52 2012-09-02 Juri Linkov <juri@jurta.org>
53
54 Toggle whitespace matching mode with M-s SPC.
55 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
56
57 * isearch.el (search-whitespace-regexp): Doc fix.
58 Remove cons cell customization.
59 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
60 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
61 New variables.
62 (isearch-forward, isearch-forward-regexp): Doc fix.
63 (isearch-toggle-lax-whitespace): New command.
64 (search-forward-lax-whitespace, search-backward-lax-whitespace)
65 (re-search-forward-lax-whitespace)
66 (re-search-backward-lax-whitespace): New functions.
67 (isearch-whitespace-regexp): Remove function.
68 (isearch-query-replace): Let-bind replace-search-function and
69 replace-re-search-function.
70 (isearch-occur): Let-bind search-spaces-regexp according to the
71 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
72 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
73 condition for C-q SPC.
74 (isearch-search-fun-default): Use new functions mentioned above.
75 (isearch-search-forward, isearch-search-backward): Remove functions.
76 (isearch-search): Don't let-bind search-spaces-regexp.
77 (isearch-lazy-highlight-space-regexp): Remove variable.
78 (isearch-lazy-highlight-lax-whitespace)
79 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
80 (isearch-lazy-highlight-new-loop): Use them.
81 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
82
83 2012-09-02 Chong Yidong <cyd@gnu.org>
84
85 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
86
87 2012-09-02 Glenn Morris <rgm@gnu.org>
88
89 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
90
91 2012-09-01 Glenn Morris <rgm@gnu.org>
92
93 * term.el: Tidy up menu definitions.
94 (term-mode-map): Use easymenu for In/Out, Complete menus.
95 (term-pager-break-map): Initialize in the defvar.
96 (term-terminal-menu, term-signals-menu): Define with easymenu.
97 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
98 (term-pager-menu): New, extracted from term-process-pager.
99 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
100 (term-update-mode-line): Propertize line/char and page items.
101 (term-process-pager): Move keymap initialization elsewhere.
102
103 2012-09-01 Martin Rudalics <rudalics@gmx.at>
104
105 * window.el (switch-to-prev-buffer): Handle additional values of
106 BURY-OR-KILL argument. Don't switch in minibuffer window.
107 (switch-to-next-buffer): Don't switch in minibuffer window.
108 (quit-restore-window): New function based on quit-window.
109 Handle additional values of former KILL argument.
110 (quit-window): Call quit-restore-window with appropriate
111 interpretation of KILL argument.
112 (display-buffer-below-selected): New buffer display action
113 function.
114
115 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
116
117 * minibuffer.el (completion-at-point-functions): Complete docstring
118 (bug#12254).
119
120 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
121
122 Better seed support for (random).
123 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
124 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
125 * play/mpuz.el, play/tetris.el, play/zone.el:
126 * calc/calc-comb.el (math-init-random-base):
127 * play/blackbox.el (bb-init-board):
128 * play/life.el (life):
129 * server.el (server-use-tcp):
130 * type-break.el (type-break):
131 Remove unnecessary call to (random t).
132 * net/sasl.el (sasl-unique-id-function):
133 Change (random t) to (random), now that the latter is more random.
134 * play/life.el (life-initialized): Remove no-longer-needed var.
135
136 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
137
138 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
139 Consider frame's buffer predicate when choosing the buffer.
140 (Bug#12081)
141
142 2012-08-30 Richard Stallman <rms@gnu.org>
143
144 * simple.el (special-mode-map): Delete binding for `z'.
145
146 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
147
148 * progmodes/compile.el (compilation-always-kill): Doc fix.
149
150 2012-08-30 Chong Yidong <cyd@gnu.org>
151
152 * window.el (display-buffer-reuse-frames): Make the obsolescence
153 message more informative.
154
155 2012-08-30 Glenn Morris <rgm@gnu.org>
156
157 * paren.el (show-paren-delay):
158 Add a :set function. Doc fix. (Bug#12297)
159
160 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
161
162 * progmodes/compile.el (compilation-always-kill): New var.
163 (compilation-start): Use it.
164
165 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * simple.el (read-only-mode): Move from files.el for bootstrapping.
168 * files.el (read-only-mode): Move to simple.el.
169
170 * files.el (read-only-mode): New minor mode.
171 (toggle-read-only): Use it and mark obsolete.
172 (find-file--read-only):
173 * vc/vc.el (vc-next-action, vc-checkout):
174 * vc/vc-cvs.el (vc-cvs-checkout):
175 * obsolete/vc-mcvs.el (vc-mcvs-update):
176 * ffap.el (ffap--toggle-read-only): Update callers.
177
178 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
179
180 * eshell/esh-ext.el (eshell-external-command): Do not examine
181 remote shell scripts.
182 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
183
184 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
185 "/usr/local/sbin".
186
187 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
190
191 2012-08-28 Leo Liu <sdl.web@gmail.com>
192
193 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
194 completion-at-point. (Bug#12220)
195
196 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
197
198 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
199
200 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
203 be buffer-local; add delete-trailing-whitespace (bug#12259).
204
205 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
206
207 * progmodes/hideif.el (hif-compress-define-list):
208 Fix typo. (Bug#11951)
209
210 2012-08-28 Dan Nicolaescu <dann@gnu.org>
211
212 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
213 buffer local setting.
214
215 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
216 rcirc-encode-coding-system.
217
218 2012-08-28 Leo Liu <sdl.web@gmail.com>
219
220 * net/rcirc.el (rcirc-split-message): New function.
221 (rcirc-send-message): Use it. (Bug#12051)
222
223 2012-08-28 Juri Linkov <juri@jurta.org>
224
225 * info.el (Info-fontify-node): Hide empty lines at the end of
226 the node. (Bug#12272)
227
228 2012-08-27 Drew Adams <drew.adams@oracle.com>
229
230 * dired.el (dired-pop-to-buffer): Make window start at beginning
231 of buffer (Bug#12281).
232
233 2012-08-26 Chong Yidong <cyd@gnu.org>
234
235 * window.el (special-display-regexps, special-display-frame-alist)
236 (special-display-buffer-names, special-display-function)
237 (display-buffer-reuse-frames): Mark as obsolete.
238
239 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
240
241 * help.el (help-print-return-message): Don't treat
242 display-buffer-reuse-frames specially.
243
244 2012-08-26 Chong Yidong <cyd@gnu.org>
245
246 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
247 New variable, replacing gdb-frame-parameters.
248 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
249 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
250 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
251 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
252 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
253 the functions directly with gdb-display-buffer-other-frame-action.
254 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
255 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
256 (gdb-display-stack-buffer, gdb-display-locals-buffer)
257 (gdb-display-registers-buffer): Define directly.
258 (def-gdb-display-buffer): Macro deleted.
259 (gdb-display-buffer): Remove second and third args, callers don't
260 use them. Defer to the default display-buffer behavior, apart
261 from making windows dedicated.
262 (gdb-setup-windows): Don't call display-buffer unnecessarily.
263
264 * progmodes/gud.el (gud-display-line): Just use display-buffer.
265
266 * window.el (display-buffer-pop-up-frame): Handle a
267 pop-up-frame-parameters alist entry.
268 (display-buffer): Document it.
269
270 2012-08-26 Chong Yidong <cyd@gnu.org>
271
272 * isearch.el (search-whitespace-regexp): Make string and nil
273 values apply to both ordinary and regexp search. Allow a cons
274 cell value to distinguish between the two.
275 (isearch-whitespace-regexp, isearch-search-forward)
276 (isearch-search-backward): New functions.
277 (isearch-occur, isearch-search-fun-default, isearch-search)
278 (isearch-lazy-highlight-new-loop): Use them.
279 (isearch-forward, isearch-forward-regexp): Doc fix.
280
281 2012-08-26 Chong Yidong <cyd@gnu.org>
282
283 * faces.el (help-argument-name): Always inherit from italic
284 (Bug#12213).
285
286 2012-08-25 Martin Rudalics <rudalics@gmx.at>
287
288 * window.el (window--even-window-heights): Even heights when
289 WINDOW and the selected window form a vertical combination.
290 (display-buffer-use-some-window): Provide that window used gets
291 sized back by quit-window. (Bug#11880) and (Bug#12091)
292
293 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
294
295 Fix file time stamp problem with bzr and CVS (Bug#12001).
296 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
297 in the file's time stamp, since the version control system loses
298 that information.
299
300 2012-08-22 Juri Linkov <juri@jurta.org>
301
302 * info.el (Info-fontify-node): Hide the suffix of the
303 Info file name in the header line. (Bug#12187)
304
305 2012-08-22 Glenn Morris <rgm@gnu.org>
306
307 * calendar/cal-tex.el (cal-tex-weekly-common):
308 Restore leading blank page.
309
310 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
311
312 * misc.el (forward-to-word, backward-to-word): Activate or extend
313 the region under `shift-select-mode'. (Bug#12231)
314
315 2012-08-22 Bastien Guerry <bzg@gnu.org>
316
317 * progmodes/executable.el (executable-prefix): Set to "#!" instead
318 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
319 gives details on why the space is never needed.
320
321 2012-08-22 Martin Rudalics <rudalics@gmx.at>
322
323 * window.el (walk-window-tree, window-with-parameter):
324 New optional argument MINIBUF to control whether these functions
325 should run on the minibuffer window.
326 (window-at-side-list): Don't operate on minibuffer window.
327 (window-in-direction): Simplify and rewrite doc-string.
328 (window--size-ignore): Rename to window--size-ignore-p.
329 Update callers.
330 (display-buffer-in-atom-window, window--major-non-side-window)
331 (window--major-side-window, display-buffer-in-major-side-window)
332 (delete-side-window, display-buffer-in-side-window):
333 New functions.
334 (window--side-check, window-deletable-p, delete-window)
335 (delete-other-windows, split-window): Handle side windows and
336 atomic windows appropriately.
337 (window--display-buffer): Call display-buffer-record-window also
338 when the window buffer did not change.
339
340 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
341
342 * help-fns.el (help-fns--key-bindings):
343 Abbreviate non-symbol remap targets. (Bug#12174)
344
345 2012-08-22 Martin Rudalics <rudalics@gmx.at>
346
347 * dired.el (dired-mark-remembered): Don't clobber point.
348 (Bug#11795)
349
350 2012-08-22 Glenn Morris <rgm@gnu.org>
351
352 * progmodes/bug-reference.el (bug-reference): New custom group.
353 (bug-reference-bug-regexp): Make it a defcustom.
354
355 2012-08-22 Daiki Ueno <ueno@unixuser.org>
356
357 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
358 (js-paren-indent-offset, js-square-indent-offset)
359 (js-curly-indent-offset): Add :safe (Bug#12257).
360
361 2012-08-22 Edward O'Connor <hober0@gmail.com>
362
363 * json.el (json-key-format): Add error properties.
364 (json-encode-key): New function.
365 (json-encode-hash-table, json-encode-alist, json-encode-plist):
366 Use json-encode-key.
367
368 2012-08-22 Glenn Morris <rgm@gnu.org>
369
370 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
371 (cal-tex-leftday, cal-tex-rightday): Remove functions.
372 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
373 Update for above change.
374
375 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
376
377 * cus-face.el (custom-face-attributes): Fix customize type for the
378 :underline attribute. (Bug#11805)
379
380 2012-08-21 Martin Rudalics <rudalics@gmx.at>
381
382 * window.el (window-point-1, set-window-point-1): Remove.
383 (window-in-direction, record-window-buffer)
384 (set-window-buffer-start-and-point, split-window-below)
385 (window--state-get-1, display-buffer-record-window):
386 Replace calls to window-point-1 and set-window-point-1 by calls to
387 window-point and set-window-point respectively.
388
389 2012-08-21 Glenn Morris <rgm@gnu.org>
390
391 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
392 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
393 Use it.
394
395 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
396 (cal-tex-shortday): New function.
397 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
398 (cal-tex-cursor-filofax-daily): Use the above.
399
400 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
401 New functions.
402 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
403 (cal-tex-cursor-filofax-week): Use them.
404
405 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
406 New constants.
407 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
408 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
409
410 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
411 (cal-tex-end-document): Don't rely on buffer name.
412
413 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
414 Use cal-tex-vspace.
415 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
416 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
417 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
418 Use cal-tex-arg.
419
420 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
421 (cal-tex-cursor-week, cal-tex-cursor-week2)
422 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
423 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
424 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
425 (cal-tex-insert-preamble, cal-tex-b-document)
426 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
427 Improve cal-tex-cmd usage.
428
429 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
430 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
431 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
432 (cal-tex-weekly-paper): New function.
433 (cal-tex-cursor-week, cal-tex-cursor-week2)
434 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
435 (cal-tex-cursor-day): Use it.
436
437 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
438 (cal-tex-cursor-filofax-week): Remove leading blank page.
439
440 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
441 Add autoload cookie. For now at least, don't use color, since
442 no other cal-tex function does.
443
444 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
445 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
446 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
447
448 2012-08-21 Juri Linkov <juri@jurta.org>
449
450 * info.el (Info-file-attributes): New variable.
451 (info-insert-file-contents): Add file attributes to
452 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
453 `Info-toc-nodes' when previous modtime of the Info file is less
454 than new modtime.
455 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
456 of info.el. (Bug#12230)
457
458 2012-08-20 Glenn Morris <rgm@gnu.org>
459
460 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
461 * calendar/holidays.el (calendar-holiday-list):
462 Report errors with display-warning rather than beep'n'sleep.
463
464 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp.el (tramp-accept-process-output): Accept only output
467 from PROC. Otherwise, process filters and sentinels might be
468 confused. (Bug#12145)
469
470 2012-08-20 Chong Yidong <cyd@gnu.org>
471
472 * descr-text.el (describe-text-properties-1): Use overlays-in to
473 report on empty overlays (Bug#3322).
474
475 2012-08-20 Glenn Morris <rgm@gnu.org>
476
477 * mail/rmailout.el (rmail-output-read-file-name):
478 Trap and report errors in rmail-output-file-alist elements.
479
480 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
481 since most non-font-lock faces are not also variables).
482
483 2012-08-20 Edward Reingold <reingold@iit.edu>
484
485 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
486 New function. (Bug12160)
487
488 2012-08-19 Glenn Morris <rgm@gnu.org>
489
490 * mail/rmailout.el (rmail-output-read-file-name):
491 Fix previous change (when the alist is nil or does not match).
492
493 2012-08-19 Chong Yidong <cyd@gnu.org>
494
495 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
496 (Bug#12228).
497
498 2012-08-18 Chong Yidong <cyd@gnu.org>
499
500 * simple.el (yank-handled-properties): New defcustom.
501 (yank-excluded-properties): Add font-lock-face and category.
502 (yank): Doc fix.
503
504 * subr.el (remove-yank-excluded-properties):
505 Obey yank-handled-properties. The special handling of font-lock-face
506 and category is now done this way, instead of being hard-coded.
507 (insert-for-yank-1): Remove font-lock-face handling.
508 (yank-handle-font-lock-face-property)
509 (yank-handle-category-property): New function.
510
511 2012-08-17 Glenn Morris <rgm@gnu.org>
512
513 * mail/rmailout.el (rmail-output-read-file-name):
514 Check rmail-output-file-alist against the full message body
515 in the correct rmail buffer. (Bug#12214)
516
517 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
518
519 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
520 Eliminate superfluous prompt. (Bug#12203)
521
522 2012-08-17 Chong Yidong <cyd@gnu.org>
523
524 * mouse.el (mouse-appearance-menu): If x-select-font returns a
525 font spec, set the font directly (Bug#3228).
526
527 2012-08-17 Martin Rudalics <rudalics@gmx.at>
528
529 * window.el (delete-window): Fix last fix.
530
531 2012-08-16 Martin Rudalics <rudalics@gmx.at>
532
533 * window.el (window-valid-p): Move to window.c.
534 (window-child, window-child-count, window-last-child)
535 (window-normalize-window, window-combined-p)
536 (window-combinations, window-atom-root, window-min-size)
537 (window-sizable, window-sizable-p, window-size-fixed-p)
538 (window-min-delta, window-max-delta, window--resizable)
539 (window--resizable-p, window-resizable, window-total-size)
540 (window-full-height-p, window-full-width-p, window-body-size)
541 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
542 (minimize-window, window-deletable-p, delete-window)
543 (delete-other-windows, set-window-buffer-start-and-point)
544 (next-buffer, previous-buffer, split-window, balance-windows-2)
545 (set-window-text-height, window-buffer-height)
546 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
547 (truncated-partial-width-window-p): Minor code adjustments.
548 In doc-strings state whether the argument window has to denote a
549 live, valid or any window.
550
551 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
552
553 * progmodes/subword.el (subword-forward-function)
554 (subword-backward-function, subword-forward-regexp)
555 (subword-backward-regexp): New variables.
556 (subword-forward, subword-forward-internal, subword-backward-internal):
557 Use new variables, eg so that different "word" definitions
558 can be easily used. (Bug#11411)
559
560 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
563 for composite selectors.
564 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
565 operation just because we can't find a previous revision.
566
567 2012-08-15 Chong Yidong <cyd@gnu.org>
568
569 * frame.el (set-frame-font): Accept font objects.
570
571 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
574
575 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
576
577 * man.el (Man-overstrike-face, Man-underline-face)
578 (Man-reverse-face): Remove variables.
579 (Man-overstrike, Man-underline, Man-reverse): New faces.
580 (Man-fontify-manpage): Use them instead of the variables.
581 (Man-cleanup-manpage): Comment change.
582 (Man-ansi-color-map): New variable.
583 (Man-fontify-manpage): Use it.
584 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
585
586 Implement ANSI SGR parameters 22-27 (bug#12146).
587 * ansi-color.el (ansi-colors): Doc fix.
588 (ansi-color-context, ansi-color-context-region): Doc fix.
589 (ansi-color--find-face): New function.
590 (ansi-color-apply, ansi-color-apply-on-region): Use it.
591 Rename the local variable `face' to `codes' since it is now a list of
592 ansi codes. Doc fix.
593 (ansi-color-get-face): Remove.
594 (ansi-color-parse-sequence): New function, derived from
595 ansi-color-get-face.
596 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
597 codes 22-27.
598
599 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * subr.el (read-passwd): Allow use from a minibuffer.
602
603 2012-08-14 Eli Zaretskii <eliz@gnu.org>
604
605 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
606 inside comments and strings as identifiers.
607
608 * progmodes/gud.el (gud-tooltip-print-command): Quote the
609 expression to evaluate. This allows to evaluate expressions with
610 embedded whitespace.
611 (gud-tooltip-tips): Add a blank before the newline in the
612 message-box text, for the benefit of message-box emulation on
613 MS-Windows.
614
615 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
616 messages from GDB, pop them up in a tooltip to give feedback to
617 user.
618 (gdb-tooltip-print-1): Quote the expression to evaluate.
619 This allows to evaluate expressions with embedded whitespace.
620 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
621 if the TTY name is nil or empty (which happens when communicating
622 with the inferior via pipes, e.g. on MS-Windows).
623 (gdb-internals): If GDB sends a "&\n" empty debugging message,
624 don't send that to the GUD buffer.
625
626 2012-08-14 Glenn Morris <rgm@gnu.org>
627
628 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
629 Optimize away setq-default with no args, as for setq. (Bug#12195)
630
631 2012-08-14 Chong Yidong <cyd@gnu.org>
632
633 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
634
635 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
636 (Bug#12085).
637
638 2012-08-14 Glenn Morris <rgm@gnu.org>
639
640 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
641
642 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
643
644 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
645 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
646 Use cached shell name.
647
648 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
649
650 * progmodes/python.el (python-shell-send-string):
651 (python-shell-send-setup-code): Do not use `format' with `message'.
652
653 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
654
655 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
656 (ruby-percent-literal-beg-re): New constant.
657 (ruby-syntax-general-delimiters-goto-beg): Rename to
658 `ruby-syntax-enclosing-percent-literal', improve literal type check.
659 (ruby-syntax-propertize-general-delimiters): Rename to
660 `ruby-syntax-propertize-percent-literal', it's a shorter and more
661 popular term. Adjust comments everywhere.
662 (ruby-syntax-propertize-percent-literal): Only propertize when not
663 inside a simple string or comment. When the literal is unclosed,
664 leave the text after it unpropertized.
665 (ruby-syntax-methods-before-regexp): New constant.
666 (ruby-syntax-propertize-function): Use it to recognize regexps.
667 Don't look at the text after regexp, just use the whitelist.
668
669 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
670
671 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
672 non-nil always load the compiled file if it exists. (Bug#12197)
673
674 2012-08-14 Chong Yidong <cyd@gnu.org>
675
676 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
677 (hi-lock-set-pattern): When deciding whether to use font lock or
678 overlays, look at font-lock-mode instead of font-lock-fontified
679 (Bug#12168).
680 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
681 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
682
683 2012-08-14 Daiki Ueno <ueno@unixuser.org>
684
685 * subr.el (internal--after-with-selected-window): Fix typo
686 (Bug#12193).
687
688 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
689
690 Use `completion-table-dynamic' for completion functions.
691 * progmodes/python.el
692 (python-shell-completion--do-completion-at-point)
693 (python-shell-completion--get-completions):
694 Remove functions.
695 (python-shell-completion-complete-at-point): New function.
696 (python-completion-complete-at-point): Use it.
697
698 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
699
700 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
701 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
702
703 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * subr.el (function-get): Refine `autoload' arg so it can also
706 autoload functions for gv.el (bug#12191).
707 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
708 autoloads macros.
709
710 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
711 Prefer pcase-let over destructuring-bind.
712 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
713 Also, remove whitespace as we go, rather than after accumulating the
714 various places.
715
716 * subr.el (internal--before-with-selected-window)
717 (internal--after-with-selected-window): Fix typo seleted->selected.
718 (with-selected-window): Adjust callers.
719 Reported by Dmitry Gutov <dgutov@yandex.ru>.
720
721 2012-08-13 Bastien Guerry <bzg@gnu.org>
722
723 * window.el (special-display-popup-frame): Minor docstring
724 enhancement. (Bug#12172)
725
726 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
727
728 * tar-mode.el (tar-header-data-end): Only ignore size for files of
729 type 1-6.
730 (tar-header-block-summarize, tar-get-descriptor): Handle pax
731 extended headers.
732
733 * files.el (hack-local-variables-filter): Remove useless eval.
734
735 2012-08-13 Martin Rudalics <rudalics@gmx.at>
736
737 * subr.el (with-selected-window): Fix last change.
738
739 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * subr.el (internal--before-with-seleted-window)
742 (internal--after-with-seleted-window): New functions.
743 (with-selected-window): Use them, to replace dependency on
744 tty-top-frame.
745
746 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
747
748 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
749 binding for `newline'.
750 (ruby-move-to-block): When moving backward, stop at block opening,
751 not indentation.
752 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
753 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
754 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
755 `ruby-toggle-block'.
756
757 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * ibuffer.el (ibuffer-do-toggle-read-only):
760 * dired.el (dired-toggle-read-only):
761 * buff-menu.el (Buffer-menu-toggle-read-only):
762 * bindings.el (mode-line-toggle-read-only):
763 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
764
765 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
766
767 * descr-text.el (describe-char): Put the overlays over the
768 "displayed as" character.
769
770 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
771
772 * calc/calc-units.el (math-default-units-table): Give an
773 initial value.
774 (math-put-default-units): Add options to put composite units and
775 unit systems in the default units table.
776 (calc-convert-units): Send composite units to
777 `math-put-default-units' when appropriate.
778
779 2012-08-11 Glenn Morris <rgm@gnu.org>
780
781 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
782
783 * tutorial.el (help-with-tutorial):
784 * emacs-lisp/copyright.el (copyright-update-directory):
785 * emacs-lisp/autoload.el (autoload-find-generated-file)
786 (autoload-find-file): Disable local eval: (for insurance).
787
788 * files.el (hack-local-variables-filter): If an eval: form is not
789 known to be safe, and enable-local-variables is :safe, then ignore
790 the form totally, as is done for non-eval forms. (Bug#12155)
791 This is CVE-2012-3479.
792
793 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
796 (rx-form): Simplify.
797
798 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
799
800 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
801 ?, _, and : are symbol constituents, ! is not (but kinda should be).
802 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
803 (ruby-syntax-propertize-function): Adjust for changes in
804 `ruby-syntax-propertize-heredoc'.
805
806 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
807
808 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
809 binding (use `M-;' instead).
810 (ruby-singleton-class-p): New function.
811 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
812
813 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
816
817 2012-08-10 Chong Yidong <cyd@gnu.org>
818
819 * progmodes/python.el (python-shell-get-process-name): Don't mess
820 with same-window-buffer-names.
821
822 * eshell/eshell.el (eshell-add-to-window-buffer-names)
823 (eshell-remove-from-window-buffer-names): Make obsolete.
824 (eshell-buffer-name, eshell-unload-hook): Don't use them.
825 (eshell): Just use pop-to-buffer-same-window instead.
826
827 2012-08-10 Chong Yidong <cyd@gnu.org>
828
829 * bindings.el: Bind M-= back to count-words-region.
830
831 * simple.el (count-words-region): Accept a prefix arg for acting
832 on the entire buffer.
833 (count-words--buffer-message): New helper function.
834
835 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
838 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
839 (event-start, event-end): Use posn-at-point to return a more
840 informative posn.
841 (posnp): New function.
842 * mouse.el (popup-menu-normalize-position): Use it.
843
844 2012-08-10 Masatake YAMATO <yamato@redhat.com>
845
846 * mouse.el (popup-menu-normalize-position): New function.
847 (popup-menu): Use `popup-menu-normalize-position' to normalize
848 the form for POSITION argument.
849
850 * term/x-win.el (x-menu-bar-open):
851 Use the value returend from (posn-at-point) as position
852 passed to `popup-menu'.
853
854 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
855
856 * calc/calccomp.el (math-compose-expr): Add extra argument
857 indicating that parentheses should be put around products in
858 denominators. Give multiplication precedence over division during
859 composition.
860
861 2012-08-09 Chong Yidong <cyd@gnu.org>
862
863 * man.el (Man-switches, Man-sed-command, Man-awk-command)
864 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
865 (Man-untabify-command, manual-program): Convert to defcustom
866 (Bug#10429).
867
868 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
869
870 * descr-text.el (describe-char): Don't insert extra newlines
871 (Bug#10127).
872
873 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
874 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
875
876 * align.el (align-region): Delete temporary markers (Bug#10047).
877 Plus some code cleanups.
878
879 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
880
881 * progmodes/python.el (python-pdbtrack-tracked-buffer)
882 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
883 (python-shell-internal-last-output): Use make-local-variable
884 instead of make-variable-buffer-local.
885
886 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
887
888 * progmodes/python.el: Enhancements to forward-sexp.
889 (python-nav-forward-sexp): Rename from
890 python-nav-forward-sexp-function.
891 (python-nav--forward-sexp, python-nav--backward-sexp):
892 New functions.
893
894 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
895
896 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
897 modes and simplification modes.
898
899 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * delsel.el (delete-selection-pre-hook): Don't propagate the
902 file-supersession signals (bug#12161).
903
904 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
907 (cl-map-extents): Add compatibility aliases (bug#12135).
908
909 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
910
911 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
912 tests by `ignore-error'.
913 (tramp-find-shell): Open also a new shell, when cache is already
914 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
915
916 2012-08-08 Juri Linkov <juri@jurta.org>
917
918 * bookmark.el: Add `defaults' property to the bookmark record.
919 (bookmark-current-buffer): Doc fix.
920 (bookmark-make-record): Add `defaults' property with default values
921 to the bookmark record.
922 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
923 with `bookmark-insert-current-bookmark'.
924 (bookmark-set): Get `defaults' property from the bookmark record
925 and use it in `read-from-minibuffer'.
926 (bookmark-insert-current-bookmark): Remove function.
927
928 * info.el (Info-bookmark-make-record): Add `defaults' property
929 with values of canonical Info node name, the current Info file
930 name and the current Info node name. (Bug#12107)
931
932 2012-08-08 Juri Linkov <juri@jurta.org>
933
934 * files.el (basic-save-buffer): Use `buffer-name' as the default
935 of `read-file-name' when buffer is not visiting a file (bug#12128).
936
937 2012-08-08 Juri Linkov <juri@jurta.org>
938
939 * info.el (Info-isearch-search): Doc fix.
940 (Info-search): Change search-failed message from "initial node" to
941 "end of node" (bug#12078).
942 (Info-isearch-search): Change `isearch-string-state' to
943 `isearch--state-string'.
944
945 2012-08-08 Glenn Morris <rgm@gnu.org>
946
947 * language/persian.el: Remove file.
948 * language/misc-lang.el: Move unique part of persian.el here.
949 * loadup.el: Remove language/persian.
950
951 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
952
953 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
954
955 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
956
957 * progmodes/python.el Fixed defsubst warning.
958 (python-syntax-context) Rename from python-info-ppss-context.
959 (python-syntax-context-type): Rename from
960 python-info-ppss-context-type.
961 (python-syntax-comment-or-string-p): Rename from
962 python-info-ppss-comment-or-string-p.
963
964 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
965
966 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
967
968 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
969
970 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
971 a defcustom that is quoted with backquote.
972
973 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
974 Fix handling of interactive spec when the body uses return.
975 (math-do-arg-check, math-define-function-body): Use backquote forms.
976 * calc/calc-ext.el (math-defcache): Likewise.
977 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
978 * allout.el (allout-new-exposure): Likewise.
979 * calc/calcalg2.el (math-tracing-integral): Likewise.
980 * info.el (Info-last-menu-item): Likewise.
981 * emulation/vip.el (vip-loop): Likewise.
982 * textmodes/artist.el (artist-funcall): Likewise.
983 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
984 Construct menu-item directly.
985
986 * progmodes/autoconf.el (font-lock-syntactic-keywords):
987 Don't declare.
988
989 2012-08-07 Chong Yidong <cyd@gnu.org>
990
991 * simple.el (deactivate-mark): Preserve text properties when
992 saving the primary selection (Bug#8384).
993
994 2012-08-07 Kevin Ryde <user42@zip.com.au>
995
996 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
997 (woman-parse-numeric-value): On a bad .IP line, issue a warning
998 and continue processing (Bug#12110).
999
1000 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1003 syntax-propertize-function (bug#10095).
1004
1005 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1008 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1009 describe-function-1.
1010 (describe-function-1): Use them. Move compiler macro after sig.
1011 (help-fns--compiler-macro): Use function-get. Assume we're already in
1012 standard-output. Adjust layout to new call order.
1013
1014 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1015 re-binding a symbol that has a symbol-macro (bug#12119).
1016
1017 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1018
1019 * language/persian.el: New file. (Bug#11812)
1020 * loadup.el: Add language/persian.el.
1021
1022 2012-08-06 Chong Yidong <cyd@gnu.org>
1023
1024 * window.el (window--maybe-raise-frame): New function.
1025 (window--display-buffer): Split off from here.
1026 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1027 (display-buffer-pop-up-window, display-buffer-use-some-window):
1028 Obey an inhibit-switch-frame action alist entry.
1029 (display-buffer): Update doc.
1030
1031 * replace.el (occur-after-change-function): Avoid losing focus by
1032 using the inhibit-switch-frame display parameter (Bug#12139).
1033
1034 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1035
1036 Make internal shell process buffer names start with space.
1037 * progmodes/python.el (python-shell-make-comint): Add optional
1038 argument INTERNAL.
1039 (run-python-internal): Use it.
1040 (python-shell-internal-get-or-create-process): Check for new
1041 internal buffer names.
1042
1043 2012-08-06 Glenn Morris <rgm@gnu.org>
1044
1045 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1046 Do less getting and setting of environment variables.
1047
1048 2012-08-05 Chong Yidong <cyd@gnu.org>
1049
1050 * proced.el (proced): Add substitution string to docstring to
1051 trigger autoloading of the proced library on C-h f (Bug#1768).
1052
1053 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1054 Don't show defvars which have no second argument (Bug#8638).
1055
1056 * imenu.el (imenu-generic-expression): Move documentation here
1057 from imenu--generic-function.
1058 (imenu--generic-function): Refer to imenu-generic-expression.
1059
1060 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
1061
1062 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1063 indentation declaration.
1064 (viper-loop): Add indentation declaration (Bug#7025).
1065
1066 2012-08-05 Chong Yidong <cyd@gnu.org>
1067
1068 * help-fns.el (describe-variable): Add hyperlink for
1069 directory-local variables files. Improve buffer-local and
1070 permanent-local reporting; suggested by MON KEY (Bug#6644).
1071
1072 * help-mode.el (help-dir-local-var-def): New button type.
1073
1074 * files.el (kill-buffer-hook): Provide a defvar.
1075
1076 2012-08-05 Glenn Morris <rgm@gnu.org>
1077
1078 * eshell/esh-ext.el (eshell/addpath):
1079 Also update eshell-path-env. (Bug#12013)
1080
1081 2012-08-05 Chong Yidong <cyd@gnu.org>
1082
1083 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1084
1085 * fringe.el (fringe-styles): Add docstring.
1086 (fringe--check-mode): New function.
1087 (set-fringe-mode, set-fringe-style): Use it.
1088 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1089
1090 * files.el (set-auto-mode): Fix invalid setq call.
1091
1092 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * isearch.el: Misc simplification; use defstruct.
1095 (isearch-mode-map): Dense maps now work like sparse ones.
1096 (isearch--state): New defstruct.
1097 (isearch-string-state, isearch-message-state, isearch-point-state)
1098 (isearch-success-state, isearch-forward-state)
1099 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1100 (isearch-wrapped-state, isearch-barrier-state)
1101 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1102 replaced by defstruct's accessors.
1103 (isearch--set-state): Rename from isearch-top-state and change
1104 calling convention.
1105 (isearch-push-state): Use new isearch--get-state.
1106 (isearch-toggle-word): Disable regexp when enabling word.
1107 (isearch-message-prefix): Remove unused arg _c-q-hack.
1108 (isearch-message-suffix): Remove unused arg _ellipsis.
1109
1110 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1111
1112 * simple.el (list-processes--refresh): For a server use :host or
1113 :local as the address.
1114 (list-processes): Doc fix.
1115
1116 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1117
1118 * lisp/mpc.el: Support password in host argument.
1119 (mpc--proc-connect): Parse and use new password element.
1120 Set mpc-proc variable instead of returning process.
1121 (mpc-proc): Adjust accordingly.
1122
1123 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1124
1125 * whitespace.el (whitespace-display-mappings): Use Unicode
1126 codepoints, instead of emacs-mule codepoints. See
1127 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1128 for the details.
1129
1130 * files.el (file-truename): Don't skip symlink-chasing part on
1131 windows-nt. Incorporate the resolution of 8+3 short aliases on
1132 Windows into the loop that recursively chases symlinks.
1133 Compare directory and its parent case-insensitively on MS-Windows and
1134 MS-DOS.
1135
1136 2012-08-03 Chong Yidong <cyd@gnu.org>
1137
1138 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1139
1140 * sort.el (sort-regexp-fields): Doc fix.
1141
1142 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1143
1144 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1145 labels regex position point at the expected place.
1146
1147 2012-08-03 MON KEY <monkey@sandpframing.com>
1148
1149 * net/imap.el (imap-interactive-login, imap-authenticate)
1150 (imap-mailbox-lsub, imap-mailbox-list)
1151 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1152 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1153 (imap-parse-response): Doc fix.
1154
1155 2012-08-03 João Távora <joaotavora@gmail.com>
1156
1157 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1158 if sexp scanning does not move point (Bug#5734).
1159
1160 2012-08-02 Tassilo Horn <tsdh@gnu.org>
1161
1162 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1163 Add listings, minted, and ctable packages.
1164 (reftex-label-alist-builtin): Move listings, minted, and ctable
1165 entries before LaTeX.
1166 (reftex-label-alist): Docfix.
1167
1168 2012-08-02 Bastien Guerry <bzg@gnu.org>
1169
1170 * replace.el (occur): Fix docstring (bug#12122).
1171
1172 2012-08-02 Glenn Morris <rgm@gnu.org>
1173
1174 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1175
1176 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1177
1178 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1179 * international/mule-cmds.el: Create
1180 inactivate-current-input-method-function as an obsolete alias for
1181 deactivate-current-input-method-function. See Katsumi Yamaoka in
1182 <http://bugs.gnu.org/10150#46>.
1183
1184 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1185
1186 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1187 of nested `if's.
1188
1189 2012-08-01 Glenn Morris <rgm@gnu.org>
1190
1191 * progmodes/autoconf.el (autoconf-definition-regexp):
1192 Add AH_TEMPLATE, adjust submatch numbering.
1193 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1194 (autoconf-current-defun-function): Update for above change.
1195 (autoconf-current-defun-function): First skip to end of current word.
1196
1197 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1198
1199 * calendar/cal-html.el (cal-html-insert-agenda-days):
1200 Fix typo. (Bug#12018)
1201
1202 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1203
1204 Shell processes: enhancements to startup and CEDET compatibility.
1205 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1206 (python-shell-make-comint): accept-process-output at startup.
1207 (run-python-internal): Set inferior-python-mode-hook to nil.
1208 (python-shell-internal-get-or-create-process): call sit-for.
1209 (python-preoutput-result): Add obsolete alias.
1210 (python-shell-internal-send-string): Use it.
1211 (python-shell-send-setup-code): Remove call to
1212 accept-process-output.
1213
1214 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1215
1216 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1217 (Bug#12108)
1218
1219 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1220
1221 * calc-mode.el (calc-basic-simplification-mode): Rename from
1222 `calc-limited-simplification-mode'.
1223 (calc-alg-simplification-mode): New function.
1224 (calc-set-simplify-mode): Adjust message.
1225
1226 * calc.el (calc-set-mode-line): Adjust mode line display for
1227 basic simplification mode.
1228
1229 * calc-help.el (calc-m-prefix-help): Update help message.
1230
1231 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1232 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1233
1234 2012-07-31 Bastien Guerry <bzg@gnu.org>
1235
1236 * man.el (man): Fix comment. (bug#12101)
1237
1238 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1239
1240 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1241 Don't return a non-nil value when no suitable buffer was found.
1242
1243 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1244
1245 * progmodes/python.el (run-python-internal): Disable font lock for
1246 internal shells.
1247
1248 2012-07-30 Stefan Merten <smerten@oekonux.de>
1249
1250 * rst.el: Silence `checkdoc-ispell'.
1251 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1252 (rst-official-version, rst-official-cvs-rev)
1253 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1254 (rst-mode-map): New key binding.
1255
1256 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1257
1258 Update .PHONY listings in makefiles.
1259 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1260 autoloads, update-subdirs, updates, bzr-update, update-authors,
1261 compile-onefile, compile-calc, backup-compiled-files,
1262 compile-after-backup, compile-one-process, mh-autoloads,
1263 bootstrap-clean, distclean, maintainer-clean.
1264
1265 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1266
1267 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1268 (calc-set-mode-line): Don't display "AlgSimp ".
1269
1270 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1271 (calc-lim-simplify-mode): New function.
1272 (calc-set-simplify-mode): Default to 'alg.
1273 (calc-default-simplify-mode): Make algebraic simplifications
1274 the default.
1275
1276 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1277 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1278
1279 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1280 indicate new simplification modes.
1281
1282 * calc/README: Mention new default simplification mode.
1283
1284 * calc/calc.el (math-normalize-error): New variable.
1285 (math-normalize): Set `math-normalize-error' to t
1286 when there's an error.
1287
1288 * calc/calc-alg.el (math-simplify): Don't simplify when
1289 `math-normalize' returns an error.
1290
1291 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1292
1293 * international/mule-cmds.el (set-locale-environment): Revert last
1294 change, since display-graphic-p returns nil when this function is
1295 called during startup. Instead...
1296
1297 * term/w32console.el (terminal-init-w32console): ...setup the
1298 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1299
1300 2012-07-29 Juri Linkov <juri@jurta.org>
1301
1302 * simple.el (goto-line): Don't display default line number in the
1303 prompt because it should be displayed by `read-number' (bug#9952).
1304 Add the current line number to the defaults of `goto-line' to
1305 allow its easier modification by users with `M-n' (bug#9201).
1306
1307 * subr.el (read-number): Support multiple default values like in
1308 other minibuffer reading functions. Replace `read' with
1309 `string-to-number' for consistency with `number-to-string'.
1310
1311 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1312
1313 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1314 * emulation/viper-init.el (viper-deactivate-input-method-action):
1315 Rename from viper-inactivate-input-method-action.
1316 (viper-deactivate-input-method):
1317 Rename from viper-inactivate-input-method.
1318 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1319 * international/mule-cmds.el (deactivate-input-method):
1320 Rename from inactivate-input-method.
1321 Also run input-method-deactivate-hook.
1322 (deactivate-current-input-method-function):
1323 Rename from inactivate-current-input-method-function.
1324 (input-method-deactivate-hook): New hook.
1325 (input-method-inactivate-hook): Mark obsolete.
1326 (inactivate-input-method): Mark obsolete.
1327
1328 * international/quail.el (quail-activate):
1329 Also run quail-deactivate-hook.
1330 (quail-deactivate): Rename from quail-inactivate.
1331 * international/robin.el (robin-activate):
1332 Also run robin-deactivate-hook.
1333 (robin-deactivate): Rename from robin-inactivate.
1334
1335 2012-07-29 Chong Yidong <cyd@gnu.org>
1336
1337 * simple.el (indicate-copied-region): New function.
1338 (kill-ring-save): Split off from here.
1339
1340 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1341 (kill-rectangle): Set deactivate-mark to t on read-only error.
1342
1343 * register.el (copy-to-register, copy-rectangle-to-register):
1344 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1345 (append-to-register, prepend-to-register):
1346 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1347
1348 * simple.el (async-shell-command-buffer): New defcustom.
1349 (shell-command): Use it. (Bug#4719)
1350
1351 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1352
1353 * international/mule-cmds.el (set-locale-environment): In a
1354 console session on MS-Windows, set up keyboard and terminal
1355 encoding from the OEM codepage, not the ANSI codepage.
1356 (Bug#12055)
1357
1358 2012-07-28 Chong Yidong <cyd@gnu.org>
1359
1360 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1361 gdb-get-location.
1362
1363 2012-07-28 Leo Liu <sdl.web@gmail.com>
1364
1365 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1366 the alist (bug#12029).
1367
1368 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1369
1370 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1371 (compile-always, compile-first)
1372 ($(lisp)/calendar/cal-loaddefs.el)
1373 ($(lisp)/calendar/diary-loaddefs.el)
1374 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1375 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1376 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1377 instead of on update-subdirs.
1378 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1379
1380 2012-07-28 Chong Yidong <cyd@gnu.org>
1381
1382 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1383 directory if vc-deduce-backend returns nil (Bug#7350).
1384
1385 * simple.el (delete-trailing-lines): New option.
1386 (delete-trailing-whitespace): Obey it (Bug#11879).
1387
1388 2012-07-28 David Engster <deng@randomsample.de>
1389
1390 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1391 Explanation of new 'symbol-qnames feature in doc-strings.
1392 (xml-maybe-do-ns): Return expanded names as plain symbols if
1393 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1394 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1395
1396 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1397
1398 Consistent completion in inferior python with emacs -nw.
1399 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1400 binding in inferior-python-mode-map with "\t".
1401 (python-shell-completion-complete-at-point)
1402 (python-completion-complete-at-point): Remove interactive spec.
1403
1404 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1405
1406 * calc/calccomp.el (math-compose-expr): Undo previous change.
1407
1408 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1409
1410 * progmodes/python.el (python-mode-map): Add keybinding for
1411 run-python.
1412 (python-shell-make-comint): Fix pop-to-buffer call.
1413 (run-python): Autoload. New arg SHOW.
1414 (python-shell-get-or-create-process): Do not pop python process
1415 buffer.
1416
1417 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
1418
1419 * notifications.el (notifications-on-action-signal)
1420 (notifications-on-closed-signal): Use also the bus address for the map.
1421 (notifications-notify, notifications-close-notification)
1422 (notifications-get-capabilities): Add optional argument BUS.
1423
1424 2012-07-27 Tassilo Horn <tsdh@gnu.org>
1425
1426 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1427 Add support for the lstlisting and minted environments, and for the
1428 ctable macro.
1429 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1430 labels written in keyvals syntax.
1431
1432 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1433
1434 * calc/calccomp.el (math-compose-expr): Use parentheses when
1435 there is a product in the denominator of a fraction.
1436
1437 2012-07-26 Eli Zaretskii <eliz@gnu.org>
1438
1439 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1440 ($(lisp)/calendar/diary-loaddefs.el)
1441 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1442 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1443 Fixes failures in parallel bootstrap because subdirs.el is being
1444 rewritten while the autoload files are built at the same time,
1445 which needs to load subdirs.el.
1446
1447 2012-07-26 Martin Rudalics <rudalics@gmx.at>
1448
1449 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1450 (mouse-drag-line): Don't exit tracking when a switch-frame or
1451 switch-window event occurs (Bug#12006).
1452
1453 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * mouse.el (popup-menu): Fix last change.
1456
1457 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 Autoload from Lisp with more care. Follow aliases when looking for
1460 function properties.
1461 * subr.el (autoloadp): New function.
1462 (symbol-file): Use it.
1463 (function-get): New function.
1464 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1465 autoload-do-load.
1466 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1467 (lisp-indent-function):
1468 * emacs-lisp/gv.el (gv-get):
1469 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1470 * emacs-lisp/byte-opt.el (byte-optimize-form):
1471 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1472 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1473 Use function-get.
1474 * emacs-lisp/cl.el: Don't propagate function properties any more.
1475
1476 * speedbar.el (speedbar-add-localized-speedbar-support):
1477 * emacs-lisp/disass.el (disassemble-internal):
1478 * desktop.el (desktop-load-file):
1479 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1480 (describe-function-1):
1481 * emacs-lisp/find-func.el (find-function-noselect):
1482 * emacs-lisp/elp.el (elp-instrument-function):
1483 * emacs-lisp/advice.el (ad-has-proper-definition):
1484 * apropos.el (apropos-safe-documentation, apropos-macrop):
1485 * emacs-lisp/debug.el (debug-on-entry):
1486 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1487 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1488 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1489
1490 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1491
1492 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1493 function, not an obsolete variable (Bug#12046).
1494
1495 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1496
1497 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1498
1499 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1500
1501 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1502 window only if it is still live (Bug#12034).
1503
1504 2012-07-25 Martin Rudalics <rudalics@gmx.at>
1505
1506 * subr.el (redirect-frame-focus): Add advertised calling
1507 convention (Bug#12030).
1508
1509 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1510
1511 Prefer typical American spelling for "acknowledgment".
1512 * vc/add-log.el (change-log-acknowledgment): Rename from
1513 change-log-acknowledgement, with an alias for the old name.
1514
1515 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1516
1517 * calc-alg.el (math-simplify-divide): Don't cross multiply
1518 in an equation when the lhs is a variable.
1519
1520 2012-07-24 Julien Danjou <julien@danjou.info>
1521
1522 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1523 Remove, unused.
1524
1525 2012-07-23 Eli Zaretskii <eliz@gnu.org>
1526
1527 * startup.el (command-line): Don't display an empty user name in
1528 the error message about non-existent home directory, when
1529 init-file-user was set to an empty string. See
1530 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1531 for the details and context.
1532
1533 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1534
1535 * ses.el (ses-cell-formula-aset): New macro.
1536 (ses-cell-references-aset): New macro.
1537 (ses-cell-p): New function.
1538 (ses-rename-cell): Do no longer rely on complex operations like
1539 ses-cell-set-formula or ses-set-cell to change the cell and handle
1540 the undo at the same time, but rather use lower level new macros
1541 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1542 the undo directly. Refresh the mode line.
1543
1544 2012-07-21 Leo Liu <sdl.web@gmail.com>
1545
1546 * progmodes/cc-cmds.el (c-defun-name):
1547 Use match-string-no-properties instead for consistency.
1548
1549 2012-07-20 Leo Liu <sdl.web@gmail.com>
1550
1551 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1552 (Bug#7879)
1553
1554 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1555
1556 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1559 * progmodes/bug-reference.el, misearch.el: Provide themselves
1560 (bug#11915).
1561
1562 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1563 of narrowed buffer (bug#11966).
1564
1565 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1566
1567 * ses.el (ses-rename-cell): Set new name also in reference list of
1568 cells of which the renamed cell depends.
1569
1570 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1571
1572 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1573 to check whether menu-bar is shown or not. If not shown,
1574 show the menu-bar as a popup menu instead of using tmm.
1575 * mouse.el (popup-menu): Accept `point' as `position' argument.
1576
1577 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1580 up inside string symbol literal (bug#11923).
1581
1582 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1583
1584 * startup.el (fancy-startup-text): Read the whole tutorial, not
1585 just its first 256 bytes. Prevents gibberish in display of the
1586 tutorial title.
1587
1588 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1589
1590 Drop idle buffer compaction due to an absence of the
1591 proved efficiency.
1592 * compact.el: Remove.
1593
1594 2012-07-19 Sam Steingold <sds@gnu.org>
1595
1596 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1597 vc-bzr-pull & vc-bzr-merge-branch.
1598 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1599 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1600 for consistency with compilation-error-regexp-alist.
1601 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1602 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1603 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1604 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1605
1606 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/chart.el: Use lexical-binding.
1609 (chart-emacs-storage): Don't hardcode the list of entries.
1610
1611 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1612
1613 Next round of tweaks caused by Fgarbage_collect changes.
1614 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1615
1616 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1617
1618 Compact buffers when idle.
1619 * compact.el: New file.
1620
1621 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * subr.el (eventp): Presume that if it looks vaguely like an event,
1624 it's an event (bug#10190).
1625
1626 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1627
1628 Enhancements to ppss related code (thanks Stefan).
1629 * progmodes/python.el (python-indent-context)
1630 (python-indent-calculate-indentation, python-indent-dedent-line)
1631 (python-indent-electric-colon, python-nav-forward-block)
1632 (python-mode-abbrev-table)
1633 (python-info-assignment-continuation-line-p): Simplify checks
1634 for ppss context.
1635 (python-info-continuation-line-p): Cleanup.
1636 (python-info-ppss-context): Do not catch 'quote.
1637 (python-info-ppss-context-type)
1638 (python-info-ppss-comment-or-string-p): Simplify.
1639
1640 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1641
1642 * progmodes/python.el: Enhancements to eldoc support.
1643 (python-info-current-symbol): New function.
1644 (python-eldoc-at-point): Use python-info-current-symbol.
1645 (python-info-current-defun): Fix cornercase on first defun scan.
1646 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1647 and signal error when no inferior python process is available.
1648
1649 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1650
1651 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1652 assume it's always t.
1653 (vc-git-registered): Remove caching, the function is only called
1654 once.
1655 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1656
1657 2012-07-18 Chong Yidong <cyd@gnu.org>
1658
1659 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1660
1661 * simple.el (count-words): Report on narrowing (Bug#9959).
1662
1663 * bindings.el: Bind M-= to count-words.
1664
1665 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1666
1667 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1668
1669 * progmodes/sh-script.el (sh-imenu-generic-expression):
1670 Capture a function with `function' keyword and without parentheses
1671 like "function FOO" (bug#11856).
1672
1673 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1674
1675 * window.el (split-window-sensibly): Make WINDOW argument
1676 optional.
1677
1678 2012-07-18 Chong Yidong <cyd@gnu.org>
1679
1680 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1681
1682 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1683 and make C-x 8 RET exit isearch (Bug#11439).
1684
1685 * international/iso-transl.el: Move isearch-mode-map key
1686 definitions to isearch.el.
1687
1688 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1691 (eieio-defclass): Use gv-define-setter when possible.
1692
1693 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1694
1695 Reflect recent changes in Fgarbage_collect.
1696 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1697 reflect new format of data returned by Fgarbage_collect.
1698
1699 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1700
1701 New utility functions + python-info-ppss-context fix (Bug#11910).
1702 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1703 (python-info-ppss-comment-or-string-p): New functions.
1704 (python-info-ppss-context): Small fix for string check.
1705
1706 2012-07-17 Juri Linkov <juri@jurta.org>
1707
1708 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1709 (dired-do-async-shell-command): Don't add `*' at the end of the
1710 command (Bug#11815).
1711 (dired-do-shell-command): Doc fix.
1712 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1713 Join the individual commands using either "&" or ";" as the
1714 separator depending on the values of these trailing characters.
1715 At the end re-add the trailing "&". (Bug#10598)
1716
1717 * simple.el (async-shell-command): Sync the interactive spec with
1718 `shell-command'. Doc fix.
1719 (shell-command): Doc fix.
1720
1721 2012-07-17 Juri Linkov <juri@jurta.org>
1722
1723 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1724
1725 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1726
1727 Final renames and doc fixes for movement commands (bug#11899).
1728 * progmodes/python.el (python-nav-beginning-of-statement):
1729 Rename from python-nav-statement-start.
1730 (python-nav-end-of-statement): Rename from
1731 python-nav-statement-end.
1732 (python-nav-beginning-of-block): Rename from
1733 python-nav-block-start.
1734 (python-nav-end-of-block): Rename from python-nav-block-end.
1735
1736 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1737
1738 * progmodes/python.el (python-shell-send-string-no-output):
1739 Allow accept-process-output to quit, keeping shell process ready for
1740 future interactions (Bug#11868).
1741
1742 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1745
1746 * emacs-lisp/elint.el (elint-find-args-in-code):
1747 Use help-function-arglist, so as to handle lexical byte-code.
1748
1749 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1750 change (bug#11826).
1751
1752 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1755 Avoid spuriously marking the buffer as modified because of c-is-sws.
1756
1757 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1758 as not-a-comment (bug#11946).
1759
1760 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1761 for uninterned vars.
1762
1763 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1764 Use read-event since we don't really want to read chars but bytes.
1765
1766 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1767 $$..$$ but also $..$ using regexps (bug#11953).
1768 Use tex-verbatim for \url and \path.
1769 (tex-font-lock-keywords): Define as defconst like the others.
1770 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1771
1772 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1773
1774 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1775 alias for insert-char.
1776
1777 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1778
1779 * progmodes/python.el: Simplified imenu implementation.
1780 (python-nav-jump-to-defun): Remove command.
1781 (python-mode-map): Use `imenu' instead.
1782 (python-nav-list-defun-positions-cache)
1783 (python-imenu-include-defun-type, python-imenu-make-tree)
1784 (python-imenu-subtree-root-label, python-imenu-index-alist):
1785 Remove vars.
1786 (python-nav-list-defun-positions, python-nav-read-defun)
1787 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1788 (python-imenu-make-tree, python-imenu-create-index):
1789 Remove functions.
1790 (python-mode): Update to interact with imenu by setting
1791 `imenu-extract-index-name-function' only.
1792
1793 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1794
1795 * progmodes/python.el: Enhancements to navigation commands.
1796 (python-nav-backward-sentence)
1797 (python-nav-forward-sentence): Remove.
1798 (python-nav-backward-statement, python-nav-forward-statement)
1799 (python-nav-statement-start, python-nav-statement-end)
1800 (python-nav-backward-block, python-nav-forward-block)
1801 (python-nav-block-start, python-nav-block-end)
1802 (python-nav-forward-sexp-function)
1803 (python-info-current-line-comment-p)
1804 (python-info-current-line-empty-p): New functions.
1805 (python-indent-context): Use `python-nav-statement-start'.
1806
1807 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1808
1809 * eshell/em-ls.el (eshell/ls): Use `apply'.
1810
1811 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1812 multi-hops, instead of Tramp internals.
1813
1814 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1815
1816 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1817 when F1 and F2 are located on different hosts.
1818
1819 2012-07-14 Chong Yidong <cyd@gnu.org>
1820
1821 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1822 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1823 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1824 (xterm-mouse--read-event-sequence-1000)
1825 (xterm-mouse--read-event-sequence-1006): New functions. For old
1826 mouse protocol, handle M-mouse-X events correctly.
1827 (xterm-mouse-event): New arg specifying mouse protocol.
1828 (turn-on-xterm-mouse-tracking-on-terminal)
1829 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1830 sequence to toggle extended coordinates on newer XTerms.
1831 This appears to be harmless on terminals which do not support this.
1832
1833 2012-07-14 Leo Liu <sdl.web@gmail.com>
1834
1835 Add fringe bitmap indicators for flymake. (Bug#11253)
1836 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1837 (flymake-make-overlay): New arg BITMAP.
1838 (flymake-error-bitmap, flymake-warning-bitmap)
1839 (flymake-fringe-indicator-position): New user variables.
1840
1841 * fringe.el: New bitmap exclamation-mark.
1842
1843 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1844
1845 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1846 also (Bug#7879).
1847
1848 2012-07-14 Chong Yidong <cyd@gnu.org>
1849
1850 * electric.el (electric-pair-post-self-insert-function): Fix pair
1851 insertion in empty-region case (Bug#11520).
1852
1853 2012-07-14 Chong Yidong <cyd@gnu.org>
1854
1855 * bindings.el: Consolidate ctl-x-r-map bindings.
1856 Bind copy-rectangle-as-kill to C-x r w.
1857
1858 * rect.el, register.el: Move bindings to bindings.el.
1859
1860 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1861
1862 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1863
1864 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1865
1866 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1867
1868 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1869
1870 * bindings.el (top): Use `mapc' instead of `mapcar'.
1871
1872 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1873
1874 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1875
1876 * progmodes/sql.el (sql-comint): Suppress the check for program on
1877 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1878 (Bug#11908)
1879
1880 2012-07-13 Chong Yidong <cyd@gnu.org>
1881
1882 * bindings.el: Assign a non-nil permanent-local property to
1883 per-buffer variables which lack a default value (Bug#11930).
1884
1885 * help-fns.el (describe-variable): In the "automatically becomes
1886 local" notice, take note of permanent-local variables.
1887
1888 2012-07-13 Chong Yidong <cyd@gnu.org>
1889
1890 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1891 to allow printing the message when called from Lisp.
1892
1893 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1894 Remove toggle-read-only.
1895
1896 * bs.el (bs-toggle-readonly):
1897 * buff-menu.el (Buffer-menu-toggle-read-only):
1898 Remove with-no-warnings around toggle-read-only.
1899
1900 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1901 Remove with-no-warnings around toggle-read-only.
1902 (ffap-read-only, ffap-read-only-other-window)
1903 (ffap-read-only-other-frame): Callers changed.
1904
1905 * help-mode.el: Don't require view package.
1906 (help-mode-finish): Set buffer-read-only instead of calling
1907 toggle-read-only.
1908
1909 * bindings.el (mode-line-toggle-read-only):
1910 * dired.el (dired-toggle-read-only):
1911 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1912 with non-nil second arg.
1913
1914 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1915 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1916 directly.
1917
1918 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1919
1920 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1921 not incf.
1922
1923 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 More CL cleanups and reduction of use of cl.el.
1926 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1927 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1928 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1929 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1930 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1931 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1932 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1933 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1934 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1935 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1936 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1937 * eshell/em-cmpl.el, eshell/em-banner.el:
1938 * calendar/parse-time.el: Use cl-lib.
1939 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1940 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1941 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1942 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1943 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1944 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1945 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1946 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1947 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1948 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1949 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1950 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1951 `lambda' rather than with `quote'.
1952 (eshell-do-opt): Adjust accordingly.
1953 (eshell-process-option): Simplify.
1954 * eshell/esh-var.el:
1955 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1956 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1957 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1958 to `pcase--dontcare'.
1959 * emacs-lisp/cl.el (labels): Mark obsolete.
1960 (cl--letf, letf): Move to cl-lib.
1961 (cl--letf*, letf*): Remove.
1962 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1963 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1964 (cl-progv): Rewrite.
1965 (cl--letf, cl-letf): Move from cl.el.
1966 (cl-letf*): New macro.
1967 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1968
1969 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1970
1971 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1972
1973 2012-07-11 Chong Yidong <cyd@gnu.org>
1974
1975 * vc/log-edit.el (log-edit-vc-backend): New variable.
1976 (log-edit): Doc fix.
1977
1978 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1979 argument of log-edit to set up all local variables.
1980 (vc-start-logentry): New optional arg specifying VC backend.
1981
1982 * vc/vc.el (vc-checkin): Use it.
1983 (vc-deduce-fileset): Handle Log Edit buffers.
1984 (vc-diff): Make first argument optional too.
1985
1986 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1987
1988 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1989
1990 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1991 command, just in case. The function is not needed anymore.
1992 (eshell-external-command): Do not call `eshell-remote-command'.
1993
1994 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 Reduce use of (require 'cl).
1997 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1998 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1999 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2000 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2001 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2002 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2003 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2004 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2005 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2006 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2007 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2008 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2009 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2010 (byte-compile-unfold-bcf, byte-compile-check-variable):
2011 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2012 (byte-compile-nilconstp):
2013 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2014 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2015
2016 * emacs-lisp/gv.el (cond): Make it a valid place.
2017 (if): Simplify slightly.
2018
2019 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2020 (pcase--self-quoting-p): New function.
2021 (pcase--u1): Use it.
2022
2023 2012-07-10 Glenn Morris <rgm@gnu.org>
2024
2025 * emacs-lisp/authors.el (authors-fixed-entries):
2026 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2027
2028 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2029
2030 Rename configure.in to configure.ac (Bug#11603).
2031 * emacs-lisp/authors.el (authors-canonical-file-name):
2032 * progmodes/autoconf.el (autoconf-mode):
2033 Prefer configure.ac to configure.in.
2034
2035 2012-07-08 Chong Yidong <cyd@gnu.org>
2036
2037 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2038 Implement the mouse-1-click-follows-link handling properly.
2039
2040 * info.el (Info-link-keymap): Use follow-link mechanism for
2041 header-line links (Bug#374).
2042
2043 * simple.el (deactivate-mark): Do not set the primary selection
2044 if another program has acquired it (Bug#11772).
2045
2046 2012-07-07 Kevin Ryde <user42@zip.com.au>
2047
2048 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2049 (woman-decode-region): Replace escaped-escapes without destroying
2050 bold or underline (Bug#11552).
2051 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2052
2053 2012-07-07 Chong Yidong <cyd@gnu.org>
2054
2055 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2056 (interprogram-cut-function, interprogram-paste-function):
2057 Mention that we typically mean the clipboard.
2058
2059 2012-07-06 Glenn Morris <rgm@gnu.org>
2060
2061 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2062
2063 * files.el (toggle-read-only): Restrict message to interactive use.
2064
2065 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2066
2067 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2068
2069 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2070
2071 2012-07-06 Glenn Morris <rgm@gnu.org>
2072
2073 * Makefile.in (compile-one-process): Rename from "recompile".
2074
2075 * Makefile.in (bzr-update): "compile" is the same as "recompile
2076 autoloads", but parallelizable, so use that instead.
2077
2078 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2079
2080 * window.el (quit-window): Always restore window height when
2081 it's saved in quit-restore parameter (Bug#11810).
2082
2083 2012-07-06 Glenn Morris <rgm@gnu.org>
2084
2085 * simple.el (kill-whole-line): Doc tweak.
2086
2087 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2088
2089 * files.el (file-relative-name): Compare file names
2090 case-insensitively if on MS-Windows or MS-DOS, or if
2091 read-file-name-completion-ignore-case is non-nil. Don't use
2092 case-fold-search for this purpose. (Bug#11827)
2093
2094 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2095
2096 * calendar/cal-dst.el (calendar-current-time-zone):
2097 Return calendar-current-time-zone-cache if non-nil.
2098
2099 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2100 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2101
2102 * calendar/cal-dst.el (calendar-current-time-zone):
2103 Return calendar-current-time-zone-cache if non-nil.
2104
2105 2012-07-06 Glenn Morris <rgm@gnu.org>
2106
2107 * Makefile.in (cvs-update): Remove old alias.
2108
2109 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2110
2111 Sync with Tramp 2.2.6-pre.
2112
2113 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2114 compatible declaration.
2115
2116 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2117 Protect `list-load-path-shadows' call.
2118
2119 * net/tramp-compat.el (top): Require packages, which aren't
2120 autoloaded anymore for XEmacs. Protect call of
2121 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2122 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2123 it hurts at least for SXEmacs.
2124 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2125 standard-value for `temporary-file-directory'.
2126
2127 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2128 Redirect stderr to /dev/null.
2129 (tramp-sh-handle-write-region): uid and gid can be floats.
2130 Reported by Russell Sim <russell.sim@gmail.com>.
2131 (tramp-sh-handle-vc-registered): Hide errors.
2132 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2133 and `start-file-process'.
2134 (tramp-maybe-open-connection): Check also whether `non-essential'
2135 is bound.
2136
2137 2012-07-04 Chong Yidong <cyd@gnu.org>
2138
2139 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2140 (xml-parse-tag): Likewise, and avoid changing entity tables.
2141 (xml-syntax-table): Define from scratch, making sure not to give
2142 x2000 and other Unicode spaces whitespace syntax, since those are
2143 not spaces in XML.
2144 (xml-parse-fragment): Delete unused function.
2145 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2146 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2147 (xml-entity-ref, xml-pe-reference-re)
2148 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2149 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2150 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2151 (xml-entity-value-re): Use syntax references in regexps where
2152 possible; no need to define inside a let-binding.
2153 (xml-parse-dtd): Use xml-pe-reference-re.
2154 (xml-entity-or-char-ref-re): New defconst.
2155 (xml-parse-string, xml-substitute-special): Use it.
2156
2157 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2160 (find-file--read-only): New function.
2161 (find-file-read-only, find-file-read-only-other-window)
2162 (find-file-read-only-other-frame): Use it.
2163 (insert-file-contents-literally): Don't `fset'.
2164 (get-free-disk-space): Use locate-dominating-file.
2165
2166 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2167 function is already compiled.
2168
2169 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2170
2171 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2172
2173 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2174 files on the same host.
2175
2176 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2177
2178 * help-fns.el (describe-function-1): Only call
2179 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2180
2181 2012-07-03 Chong Yidong <cyd@gnu.org>
2182
2183 * xml.el: Protect parser against XML bombs.
2184 (xml-entity-expansion-limit): New variable.
2185 (xml-parse-string, xml-substitute-special): Use it.
2186 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2187
2188 2012-07-03 Glenn Morris <rgm@gnu.org>
2189
2190 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2191 Allow linking to specific messages in debbugs reports (eg 123#5).
2192
2193 2012-07-02 Chong Yidong <cyd@gnu.org>
2194
2195 * xml.el: Fix entity and character reference expansion, allowing
2196 them to expand into markup as per XML spec.
2197 (xml-default-ns): New variable.
2198 (xml-entity-alist): Use XML spec definitions for lt and amp.
2199 (xml-parse-region): Make first two arguments optional.
2200 Discard text properties.
2201 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2202 All callers changed.
2203 (xml-parse-tag): Call xml-parse-tag-1. For backward
2204 compatibility, this function should not modify buffer contents.
2205 (xml-parse-tag-1): Fix opening-tag regexp.
2206 (xml-parse-string): Rewrite, handling entity and character
2207 references properly.
2208 (xml--entity-replacement-text): Signal an error if a parameter
2209 entity is undefined.
2210
2211 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * comint.el (comint-output-filter): Filter out repeated prompts.
2214
2215 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2216 and file-name-absolute-p.
2217 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2218 internal calls.
2219
2220 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2221
2222 Spelling fixes.
2223 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2224 Rename from byte-compile--refiy-function. All uses changed.
2225
2226 2012-07-01 Chong Yidong <cyd@gnu.org>
2227
2228 * xml.el (xml--parse-buffer): New function. Move most of
2229 xml-parse-region here.
2230 (xml-parse-region): Copy region into a temporary buffer, since
2231 parameter entity substitution requires changing buffer contents.
2232 Use xml--parse-buffer.
2233 (xml-parse-file): Use xml--parse-buffer.
2234 (xml-parse-dtd): Make parameter entity substitution work right.
2235 Use proper regexps for ELEMENT declarations (Bug#7172).
2236
2237 2012-06-30 Glenn Morris <rgm@gnu.org>
2238
2239 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2240
2241 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2242 Remove outdated and unnecessary dbus declarations.
2243
2244 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2245
2246 * emacs-lisp/timer.el (timer-until): Subtract results of
2247 float-time, instead of taking float-time of the result of
2248 time-subtract, since float-time signals an error for negative time
2249 arguments.
2250
2251 2012-06-30 Chong Yidong <cyd@gnu.org>
2252
2253 * xml.el (xml-*-re): Convert defvars into defconsts, and
2254 eval-and-compile them so eval-and-compile works on derivatives.
2255 (xml--entity-replacement-text): Use eval-and-comple.
2256
2257 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2258
2259 * vc/vc-git.el (vc-git-registered): Use cache property
2260 `git-registered'.
2261 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2262 `vc-git-working-revision' in order to benefit from the cache.
2263 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2264
2265 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2268 removed (likely outside Emacs). (Bug#11757)
2269
2270 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * emacs-lisp/cl-lib.el: Require macroexp.
2273
2274 2012-06-30 Chong Yidong <cyd@gnu.org>
2275
2276 * xml.el: Implement XML parameter entities.
2277 (xml-parameter-entity-alist): New variable.
2278 (xml-parse-region, xml-parse-fragment): Preserve previous values
2279 of xml-entity-alist and xml-parameter-entity-alist, so that
2280 repeated calls on different documents do not change them.
2281 (xml-parse-tag): Fix doctype regexp.
2282 (xml--entity-replacement-text): New function.
2283 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2284 properly requires url retrieval which is unimplemented.
2285 (xml-escape-string): Doc fix.
2286
2287 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2290
2291 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2292
2293 * fringe.el (fringe-mode): Doc fix.
2294
2295 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2298 is non-nil.
2299 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2300 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2301
2302 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2303
2304 * calendar/cal-dst.el (calendar-current-time-zone):
2305 Return calendar-current-time-zone-cache if non-nil.
2306
2307 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2308
2309 * progmodes/which-func.el (which-func-format):
2310 Add mouse-face. (Bug#11698)
2311
2312 2012-06-29 Leo Liu <sdl.web@gmail.com>
2313
2314 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2315
2316 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * minibuffer.el (minibuffer-confirm-exit-commands):
2319 Add completion-at-point (bug#11725).
2320
2321 2012-06-29 Glenn Morris <rgm@gnu.org>
2322
2323 * progmodes/f90.el (f90-font-lock-keywords-2):
2324 Add some preprocessor elements. (Bug#10499)
2325
2326 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2329 Use syntax-propertize (bug#11739).
2330
2331 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2332
2333 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2334
2335 2012-06-28 Julien Danjou <julien@danjou.info>
2336
2337 * term.el (term-handle-colors-array): Use a set of new faces to
2338 color the terminal. Also uses :inverse-video property.
2339 (term-default-fg-color): Set to nil by default, deprecate in favor
2340 of `term-face'.
2341 (term-default-bg-color): Set to nil by default, deprecate in favor
2342 of `term-face'.
2343 (term-current-face): Use `term-face' by default.
2344 (term-bold-attribute): Variable deleted.
2345
2346 2012-06-28 Glenn Morris <rgm@gnu.org>
2347
2348 * simple.el (completion-list-mode-finish):
2349 Don't use toggle-read-only. (Since completion-list-mode has
2350 a special mode-class, it wasn't doing anything extra anyway.)
2351
2352 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 Make inlining of other-mode interpreted functions work (bug#11799).
2355 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2356 (byte-compile): Use it to fix compilation of lexical-binding closures.
2357 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2358 function, if needed.
2359
2360 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * help-mode.el (help-make-xrefs): Don't just withstand
2363 cyclic-variable-indirection but any error in documentation-property.
2364
2365 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2366 memory use.
2367 * bindings.el (bindings--define-key): New function.
2368 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2369 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2370 * bindings.el: Use it to purecopy define-key bindings.
2371
2372 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2373
2374 * emacs-lisp/cl.el (flet): Mark obsolete.
2375 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2376 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2377 * progmodes/js.el (js-c-fill-paragraph):
2378 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2379 (ebrowse-switch-member-buffer-to-derived-class):
2380 * play/5x5.el (5x5-solver): Use cl-flet.
2381
2382 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2383 (cl--symbol-function): New macro.
2384 (cl--letf, cl--letf*): Use it.
2385
2386 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2387 Strip "toggle-" if any.
2388
2389 2012-06-27 Glenn Morris <rgm@gnu.org>
2390
2391 * info.el (Info-default-directory-list): Move here from paths.el.
2392 * paths.el: Remove file, which is now empty.
2393 * loadup.el: No longer load "paths".
2394
2395 * custom.el (custom-initialize-delay): Doc fix.
2396
2397 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2398 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2399 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2400 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2401 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2402 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2403 * eshell/eshell.el (eshell-defgroup): Remove alias.
2404
2405 2012-06-27 Chong Yidong <cyd@gnu.org>
2406
2407 * help.el (help-enable-auto-load): New variable.
2408
2409 * help-fns.el (help-fns--autoloaded-p): New function.
2410 (describe-function-1): Refer to a function as "autoloaded" if it
2411 was autoloaded at any time in the past. Perform autoloading if
2412 help-enable-auto-load is non-nil.
2413
2414 2012-06-26 Eli Zaretskii <eliz@gnu.org>
2415
2416 * makefile.w32-in (compile, compile-always): Depend on
2417 update-subdirs, not on subdirs.el. Otherwise, several different
2418 sub-targets of 'bootstrap' running in parallel could
2419 simultaneously write to subdirs.el, producing a garbled file.
2420
2421 2012-06-26 Sam Steingold <sds@gnu.org>
2422
2423 * files.el (file-name-base): New convenience function.
2424 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2425 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2426 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2427 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2428 * textmodes/ispell.el, textmodes/reftex-ref.el:
2429 * textmodes/tex-mode.el: Use it.
2430 Did not touch cedet and org because they are maintained elsewhere.
2431
2432 2012-06-26 Martin Rudalics <rudalics@gmx.at>
2433
2434 * calendar/calendar.el (calendar-exit): Don't try to delete or
2435 iconify last frame. See:
2436 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2437
2438 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2439
2440 * server.el (server-process-filter): Remember dir in the
2441 process's `server-client-directory' properties.
2442
2443 2012-06-24 Chong Yidong <cyd@gnu.org>
2444
2445 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2446 non-tag text.
2447
2448 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
2449
2450 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2451
2452 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * help-fns.el (describe-variable): Don't croak when doc is not found.
2455 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2456 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2457 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2458 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2459 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2460 ((lambda ..) ..).
2461 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2462
2463 2012-06-23 Chong Yidong <cyd@gnu.org>
2464
2465 * info.el (Info-mouse-follow-link): Accept symbol values of
2466 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
2467 (Info-fontify-node): Use Info-link-keymap for all navigation
2468 buttons, with link-args property to perform the desired action.
2469 (Info-link-keymap): Doc fix.
2470 (Info-next-link-keymap, Info-prev-link-keymap)
2471 (Info-up-link-keymap): Delete now-unused keymaps.
2472
2473 2012-06-23 Chong Yidong <cyd@gnu.org>
2474
2475 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2476
2477 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2478 system abbrevs.
2479
2480 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2481
2482 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2485 (bug#11719).
2486
2487 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2488 the requote function doesn't work properly (bug#11714).
2489
2490 2012-06-23 Glenn Morris <rgm@gnu.org>
2491
2492 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2493
2494 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 Further GV/CL cleanups.
2497 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2498 gv-expander.
2499 (gv--defun-declaration): New function.
2500 (defun-declarations-alist): Use it.
2501 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2502 (gv-place): Autoload.
2503 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2504 original definition of dotimes and dolist.
2505 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2506 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2507 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2508 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2509 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2510 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2511 to the function's definition.
2512 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2513 * window.el:
2514 * files.el:
2515 * faces.el:
2516 * env.el: Don't use CL.
2517
2518 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2519
2520 Support higher-resolution time stamps (Bug#9000).
2521
2522 * calendar/time-date.el (with-decoded-time-value): New arg
2523 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2524 (encode-time-value): New optional arg PICO. New type 3.
2525 (time-to-seconds) [!float-time]: Support the new picoseconds
2526 component if it's used.
2527 (seconds-to-time, time-subtract, time-add):
2528 Support ps-resolution time stamps as well.
2529
2530 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2531 (timerp): Timer vectors now have length 9, not 8.
2532 (timer--time): Support new-style (4-part) time stamps.
2533 (timer-next-integral-multiple-of-time): Time stamps now have
2534 picosecond resolution, so take a bit more care about rounding.
2535 (timer-relative-time, timer-inc-time): New optional arg psecs.
2536 (timer-set-time-with-usecs): Set psecs to 0.
2537 (timer--activate): Check psecs component, too.
2538
2539 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2540
2541 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2544 Move the non-essential binding to the post/pre-command-hook where it is
2545 more obviously correct.
2546
2547 * subr.el (read-passwd): Don't use a history at all.
2548 * savehist.el (savehist-save): Remove password saved accidentally
2549 because of the above bug.
2550
2551 2012-06-22 Bastien Guerry <bzg@gnu.org>
2552
2553 * files.el (toggle-read-only): Display a message telling whether
2554 the buffer is read-only or not (bug#11726).
2555
2556 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * emacs-lisp/gv.el: New file.
2559 * subr.el (push, pop): Extend to generalized variables.
2560 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2561 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2562 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2563 gv-define-simple-setter, and gv-define-expander.
2564 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2565 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2566 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2567 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2568 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2569 gv-letplace.
2570 (cl-defstruct): Don't define setf-method any more.
2571 * emacs-lisp/cl.el (flet): Don't autoload.
2572 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2573 (define-setf-expander, defsetf, define-modify-macro)
2574 (cl-struct-setf-expander): Move from cl-lib.el.
2575 * emacs-lisp/syntax.el:
2576 * emacs-lisp/ewoc.el:
2577 * emacs-lisp/smie.el:
2578 * emacs-lisp/cconv.el:
2579 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2580 (timer--time): Use gv-define-simple-setter.
2581 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2582 to avoid coding-system problems in subr.el. Adjust all users.
2583 (macroexp--maxsize, macroexp-small-p): New functions.
2584 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2585 * scroll-bar.el (scroll-bar-mode):
2586 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2587 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2588 * winner.el (winner-configuration, winner-make-point-alist)
2589 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2590 * files.el (locate-file-completion-table): Avoid list*.
2591
2592 2012-06-22 Chong Yidong <cyd@gnu.org>
2593
2594 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2595 (dired-create-files): Doc fix (Bug#11329).
2596 (dired-do-copy): Doc fix (Bug#11334).
2597 (dired-mark-read-string): Doc fix (Bug#11553).
2598
2599 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2600 Doc fix (Bug#11326).
2601 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2602 (dired-dwim-target): Doc fix.
2603
2604 * wdired.el (wdired-mode): Doc fix.
2605
2606 2012-06-22 Glenn Morris <rgm@gnu.org>
2607
2608 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2609 (pcmpl-rpm-cache-stamp-file): New constant.
2610 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2611 (pcmpl-rpm-packages): Optionally cache list of packages.
2612
2613 * pcmpl-rpm.el (pcmpl-rpm): New group.
2614 (pcmpl-rpm-query-options): New option.
2615 (pcmpl-rpm-packages): No need to inline it.
2616 Use pcmpl-rpm-query-options.
2617
2618 * calendar/calendar.el (calendar-in-read-only-buffer):
2619 Avoid some needless mode changes.
2620
2621 2012-06-21 Chong Yidong <cyd@gnu.org>
2622
2623 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2624 (desktop-path): Remove . from the default value (Bug#10977).
2625 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2626
2627 2012-06-20 Chong Yidong <cyd@gnu.org>
2628
2629 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2630
2631 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2632
2633 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2634 (bug#11201).
2635
2636 2012-06-20 Chong Yidong <cyd@gnu.org>
2637
2638 * term.el (term-window-width): Handle the case of a missing right
2639 fringe (Bug#8837).
2640 (term-check-size): Use window-text-height (Bug#5445).
2641 (term-mode): Use define-derived-mode. Minor cleanups.
2642 Set font-lock-defaults (Bug#7692).
2643 (term-move-columns, term-insert-char, term-emulate-terminal)
2644 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2645
2646 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2647
2648 * net/ange-ftp.el (ange-ftp-get-passwd):
2649 Bind `enable-recursive-minibuffers'.
2650 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2651
2652 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2653
2654 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2655
2656 2012-06-19 Glenn Morris <rgm@gnu.org>
2657
2658 * progmodes/python.el (python-mode): Derive from prog-mode.
2659
2660 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2661
2662 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2663 (edt-user-menu-bar-update-buffers): New functions.
2664 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2665
2666 2012-06-19 Chong Yidong <cyd@gnu.org>
2667
2668 * subr.el (with-selected-window): Preserve the selected window's
2669 terminal's top-frame (Bug#4702).
2670
2671 * window.el (save-selected-window): Likewise.
2672
2673 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * progmodes/python.el (python-rx-constituents): Move backquote.
2676 (python-skeleton-define, python-define-auxiliary-skeleton):
2677 Use `declare'.
2678
2679 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2680
2681 * minibuffer.el (read-file-name-default): Revert the patch from
2682 2012-06-17.
2683
2684 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2687 (pcase--u1, pcase--q1): Don't use apply-partially.
2688
2689 2012-06-18 Glenn Morris <rgm@gnu.org>
2690
2691 * progmodes/python.el (python-proc, python-buffer)
2692 (python-send-receive, python-send-string): Fix obsolete versions.
2693
2694 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (special-display-p): Completely remove stringp
2697 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2698
2699 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2702
2703 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2704
2705 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2706 * net/tramp-sh.el (tramp-maybe-open-connection):
2707 Throw if `non-essential' is non-nil.
2708
2709 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2710
2711 * window.el (special-display-p): Signal an error if BUFFER-NAME
2712 is not a string (Bug#11713).
2713
2714 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2715
2716 * progmodes/python.el (python-info-beginning-of-backslash):
2717 Rename from python-info-beginning-of-backlash, as a spelling fix.
2718
2719 2012-06-17 Chong Yidong <cyd@gnu.org>
2720
2721 * term.el (term-emulate-terminal): If term-check-size is called,
2722 move point to the process mark without resetting point (Bug#4635).
2723
2724 2012-06-17 Glenn Morris <rgm@gnu.org>
2725
2726 * international/mule-cmds.el (mule-menu-keymap)
2727 (set-language-environment, set-locale-environment): Doc tweaks.
2728
2729 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2730
2731 * cus-face.el (custom-face-attributes): Add wave-style underline
2732 attribute.
2733 * faces.el (set-face-attribute): Update docstring to describe
2734 wave-style underline attribute.
2735
2736 2012-06-16 Chong Yidong <cyd@gnu.org>
2737
2738 * term/xterm.el (terminal-init-xterm): Discard input before
2739 querying background mode (Bug#10959).
2740
2741 2012-06-16 Stefan Merten <smerten@oekonux.de>
2742
2743 * textmodes/rst.el: Added and corrected some comments.
2744 (rst-re-alist-def): Improve symbol syntax.
2745 (rst-mode-syntax-table): Correct syntax entries.
2746 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2747 (rst-official-version, rst-official-cvs-rev): Update version
2748 information.
2749
2750 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2751
2752 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2753 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2754
2755 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2756
2757 * progmodes/python.el: New python.el merge.
2758 (python-guess-indent): Obsolete var.
2759 (python-indent-guess-indent-offset): New defcustom.
2760 (python-indent): Obsolete var.
2761 (python-indent-offset): New defcustom.
2762 (python-python-command, python-jython-command): Delete var.
2763 (python-shell-interpreter): New defcustom.
2764 (python-pdbtrack-do-tracking-p): Delete var.
2765 (python-pdbtrack-activate): New defcustom.
2766 (python-use-skeletons): Obsolete var.
2767 (python-skeleton-autoinsert): New defcustom.
2768 (inferior-python-filter-regexp, python-continuation-offset)
2769 (python-honour-comment-indentation, python-indent-string-contents)
2770 (python-jython-packages, python-mode-hook)
2771 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2772 (python-shell-prompt-alist)
2773 (python-source-modes): Delete defcustoms.
2774 (python-check-buffer-name, python-eldoc-setup-code)
2775 (python-eldoc-string-code, python-ffap-setup-code)
2776 (python-ffap-string-code, python-fill-comment-function)
2777 (python-fill-decorator-function, python-fill-paren-function)
2778 (python-fill-string-function, python-imenu-include-defun-type)
2779 (python-imenu-make-tree, python-imenu-subtree-root-label)
2780 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2781 (python-shell-compilation-regexp-alist)
2782 (python-shell-completion-module-string-code)
2783 (python-shell-completion-pdb-string-code)
2784 (python-shell-completion-setup-code)
2785 (python-shell-completion-string-code)
2786 (python-shell-enable-font-lock, python-shell-exec-path)
2787 (python-shell-extra-pythonpaths)
2788 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2789 (python-shell-process-environment)
2790 (python-shell-prompt-block-regexp)
2791 (python-shell-prompt-output-regexp)
2792 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2793 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2794 (python-shell-virtualenv-path): New defcustoms.
2795 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2796 (inferior-python-mode-syntax-table, python--prompt-regexp)
2797 (python-buffer, python-command python-python-command)
2798 (python-default-template, python-imports, python-indent-index)
2799 (python-indent-list, python-indent-list-length)
2800 (python-mode-running, python-pdbtrack-is-tracking-p)
2801 (python-preoutput-continuation, python-preoutput-leftover)
2802 (python-preoutput-result, python-preoutput-skip-next-prompt)
2803 (python-prev-dir/file, python-recursing)
2804 (python-saved-check-command, python-version-checked)
2805 (python-which-func-length-limit)
2806 (view-return-to-alist): Delete vars.
2807 (python-check-custom-command, python-dotty-syntax-table)
2808 (python-imenu-index-alist, python-indent-current-level)
2809 (python-indent-dedenters, python-indent-levels)
2810 (python-nav-beginning-of-defun-regexp)
2811 (python-nav-list-defun-positions-cache)
2812 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2813 (python-shell-internal-buffer)
2814 (python-skeleton-available): New vars.
2815 (def-python-skeleton): Delete macro.
2816 (python-skeleton-define): New macro.
2817 (python-define-auxiliary-skeleton, python-rx): New macros.
2818 (python-insert-class): Delete command.
2819 (python-skeleton-class): New command.
2820 (python-insert-def): Delete command.
2821 (python-skeleton-def): New command.
2822 (python-insert-for): Delete command.
2823 (python-skeleton-for): New command.
2824 (python-insert-if): Delete command.
2825 (python-skeleton-if): New command.
2826 (python-insert-try/except, python-insert-try/finally): Delete commands.
2827 (python-skeleton-try): New command.
2828 (python-insert-while): Delete command.
2829 (python-skeleton-while): New command.
2830 (python-backspace): Delete command.
2831 (python-indent-dedent-line-backspace): New command.
2832 (python-electric-colon): Delete command.
2833 (python-indent-electric-colon): New command.
2834 (python-guess-indent): Delete command.
2835 (python-indent-guess-indent-offset): New command.
2836 (python-shift-left): Delete command.
2837 (python-indent-shift-left): New command.
2838 (python-shift-right): Delete command.
2839 (python-indent-shift-right): New command.
2840 (python-find-function): Delete command.
2841 (python-nav-jump-to-defun): New command.
2842 (python-next-statement): Delete command.
2843 (python-nav-forward-sentence): New command.
2844 (python-previous-statement): Delete command.
2845 (python-nav-backward-sentence): New command.
2846 (python-fill-paragraph): Delete command.
2847 (python-fill-paragraph-function): New command.
2848 (python-send-buffer): Delete command.
2849 (python-shell-send-buffer): New command.
2850 (python-send-defun): Delete command.
2851 (python-shell-send-defun): New command.
2852 (python-send-region, python-send-region-and-go): Delete commands.
2853 (python-shell-send-region)
2854 (python-shell-switch-to-shell): New commands.
2855 (python-send-string): Delete command.
2856 (python-shell-send-string): New command.
2857 (python-switch-to-python): Delete command.
2858 (python-shell-switch-to-shell): New command.
2859 (python-describe-symbol): Delete command.
2860 (python-eldoc-at-point): New command.
2861 (python--set-prompt-regexp, python-args-to-list)
2862 (python-after-info-look, python-check-version)
2863 (python-check-comint-prompt, python-find-imports)
2864 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2865 (python-unload-function, python-expand-template)
2866 (python-maybe-jython, python-preoutput-filter)
2867 (python-pdbtrack-get-source-buffer)
2868 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2869 (python-pdbtrack-toggle-stack-tracking)
2870 (python-pdbtrack-track-stack-file, python-initial-text)
2871 (python-first-word, python-comment-line-p, python-send-command)
2872 (python-setup-brm, python-sentinel, python-set-proc)
2873 (python-skip-out, python-input-filter, python-outdent-p)
2874 (python-outline-level, python-backslash-continuation-line-p)
2875 (python-end-of-block, python-end-of-statement, python-mark-block)
2876 (python-beginning-of-block, python-beginning-of-statement)
2877 (python-blank-line-p, python-beginning-of-string)
2878 (python-open-block-statement-p): Delete functions.
2879 (python-indent-line, python-indent-line-1): Delete functions.
2880 (python-indent-line): New function.
2881 (python-indentation-levels): Delete function.
2882 (python-indent-calculate-levels): New function.
2883 (python-proc): Delete function.
2884 (python-shell-get-process): New function.
2885 (python-send-receive): Delete function.
2886 (python-shell-send-string-no-output): New function.
2887 (python-module-path): Delete function.
2888 (python-ffap-module-path): New function.
2889 (python-completion-at-point)
2890 (python-symbol-completions): Delete functions.
2891 (python-completion-complete-at-point): New function.
2892 (python-load-file): Delete function.
2893 (python-shell-send-file): New function.
2894 (python-calculate-indentation): Delete function.
2895 (python-indent-calculate-indentation): New function.
2896 (python-skip-comments/blanks): Delete function.
2897 (python-util-forward-comment): New function.
2898 (python-continuation-line-p): Delete function.
2899 (python-info-continuation-line-p): New function.
2900 (python-which-func, python-current-defun): Delete function.
2901 (python-info-current-defun): New function.
2902 (python-beginning-of-defun): Delete function.
2903 (python-nav-beginning-of-defun): New function.
2904 (python-close-block-statement-p)
2905 (python-block-end-p): Delete function.
2906 (python-info-closing-block): New function.
2907 (python-comint-output-filter-function)
2908 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2909 (python-fill-comment, python-fill-decorator, python-fill-paren)
2910 (python-fill-string, python-imenu-make-element-tree)
2911 (python-imenu-make-tree, python-imenu-tree-assoc)
2912 (python-indent-context, python-indent-dedent-line)
2913 (python-indent-line-function)
2914 (python-indent-post-self-insert-function)
2915 (python-indent-toggle-levels)
2916 (python-info-assignment-continuation-line-p)
2917 (python-info-beginning-of-backlash)
2918 (python-info-block-continuation-line-p)
2919 (python-info-closing-block-message)
2920 (python-info-line-ends-backslash-p)
2921 (python-info-looking-at-beginning-of-defun)
2922 (python-info-ppss-context, python-info-ppss-context-type)
2923 (python-nav-list-defun-positions, python-nav-read-defun)
2924 (python-nav-sentence-end, python-nav-sentence-start)
2925 (python-pdbtrack-comint-output-filter-function)
2926 (python-pdbtrack-set-tracked-buffer)
2927 (python-shell-calculate-exec-path)
2928 (python-shell-calculate-process-environment)
2929 (python-shell-completion--do-completion-at-point)
2930 (python-shell-completion--get-completions)
2931 (python-shell-completion-complete-at-point)
2932 (python-shell-completion-complete-or-indent)
2933 (python-shell-get-or-create-process)
2934 (python-shell-get-process-name)
2935 (python-shell-internal-get-or-create-process)
2936 (python-shell-internal-get-process-name)
2937 (python-shell-internal-send-string, python-shell-make-comint)
2938 (python-shell-parse-command, python-shell-send-setup-code)
2939 (python-skeleton-add-menu-items)
2940 (python-util-clone-local-variables, python-util-position)
2941 (run-python-internal, python-indentation-levels)
2942 (python-nav-beginning-of-defun)
2943 (python-completion-complete-at-point): New functions.
2944 (run-python): Change arguments. New API requirements.
2945
2946 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2949 (bug#11649).
2950
2951 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2952 (macroexp--expand-all): Use it.
2953
2954 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2955 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2956 Use `cl-function' instead.
2957
2958 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2959
2960 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2961 Suggested by Stefan Monnier while discussing bug#11657.
2962
2963 2012-06-14 Sam Steingold <sds@gnu.org>
2964
2965 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2966
2967 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2968
2969 * play/doctor.el (doctor-doc): Remove parameter and use
2970 doctor-sent instead of sent.
2971 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2972
2973 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * files.el: Require cl-lib.
2976 (file-name-non-special): Replace case -> cl-case.
2977
2978 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2979
2980 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2981 mapping from #' to function*.
2982
2983 2012-06-13 Chong Yidong <cyd@gnu.org>
2984
2985 * mouse.el (mouse-drag-track): Do not set the mark if the user
2986 releases the mouse without selecting anything (Bug#11588).
2987
2988 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2991 as well (bug#11646).
2992
2993 * loadup.el: Count byte-code functions as well.
2994
2995 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2996 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2997
2998 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2999 (bug#11649). Add cl-defun and cl-defmacro.
3000
3001 2012-06-13 Drew Adams <drew.adams@oracle.com>
3002
3003 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3004 Fix last change.
3005
3006 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3007
3008 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3009 Otherwise, it blocks in batch mode.
3010
3011 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3012
3013 * help-mode.el (bookmark-make-record-default): Declare.
3014
3015 2012-06-13 Chong Yidong <cyd@gnu.org>
3016
3017 * emacs-lisp/package.el (list-packages): Compute a list of
3018 packages that are newly-available since the last list-packages
3019 invocation.
3020 (package-menu--new-package-list): New var.
3021 (package-menu--generate, package-menu--print-info)
3022 (package-menu--status-predicate, package-menu-mark-install):
3023 Handle new status label "new".
3024
3025 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3028 conversion to backquotes.
3029
3030 2012-06-12 Chong Yidong <cyd@gnu.org>
3031
3032 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3033 Rename from gud-inhibit-global-bindings.
3034
3035 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3036
3037 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3038 hook from nxml-glyph-set-hook.
3039
3040 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3041 declaration.
3042
3043 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3044
3045 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3046 Convert to defcustom.
3047
3048 2012-06-12 Drew Adams <drew.adams@oracle.com>
3049
3050 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3051 New functions.
3052 (help-mode): Use them.
3053
3054 2012-06-11 Glenn Morris <rgm@gnu.org>
3055
3056 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3057 Use preprocessor face for directives.
3058 (fortran-directive-re): Doc fix.
3059
3060 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3063 conversion to backquotes (bug#11652).
3064
3065 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3066 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3067 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3068 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3069 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3070 (cl-ninth, cl-tenth): Mark them as inlinable.
3071 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3072 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3073 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3074 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3075 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3076 (cl-list*, cl-adjoin): Don't put an autoload manually.
3077 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3078 (cl--compiler-macro-list*): Add autoload cookie.
3079 (cl--compiler-macro-cXXr): New function.
3080
3081 * help-fns.el (help-fns--compiler-macro): New function extracted from
3082 describe-function-1; follow aliases and use `compiler-macro' property.
3083 (describe-function-1): Use it.
3084
3085 2012-06-11 Chong Yidong <cyd@gnu.org>
3086
3087 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3088 is uninstalled, if imagemagick is installed.
3089
3090 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * emacs-lisp/cl-lib.el: Use lexical-binding.
3093 (cl-map-extents, cl-maclisp-member): Remove.
3094 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3095 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3096 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3097 * emacs-lisp/cl-extra.el: Use lexical-binding.
3098 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3099 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3100 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3101 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3102 * emacs-lisp/cl-seq.el: Use lexical-binding.
3103 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3104 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3105 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3106 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3107 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3108 CL's internals.
3109
3110 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3111
3112 Sync with Tramp 2.2.6-pre.
3113
3114 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3115 `print-length' and `print-level' to nil, in order to avoid
3116 truncation. Reported by Christopher Schmidt
3117 <christopher@ristopher.com>.
3118
3119 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3120
3121 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3122 New defmacro.
3123 (tramp-compat-copy-directory): Add optional argument
3124 COPY-CONTENTS. It is not handled yet.
3125
3126 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3127 (tramp-ftp-file-name-p): Simplify.
3128
3129 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3130 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3131 connection vector.
3132
3133 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3134 (tramp-methods): Do not use `tramp-password-end-of-line'.
3135 (tramp-completion-function-alist-putty): Handle UNIX case.
3136 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3137 (tramp-do-file-attributes-with-stat)
3138 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3139 gid as real numbers. They could run out of integer range on cygwin.
3140 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3141 (tramp-sh-handle-expand-file-name): Handle hops.
3142 (tramp-open-connection-setup-interactive-shell):
3143 Use `tramp-cleanup'. Move check for busyboxes ...
3144 (tramp-find-shell): ... here. Simplify implementation.
3145 Set "remote-shell" property also for alternative shells.
3146 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3147 If failing, a regular file would be written otherwise.
3148 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3149 (tramp-find-inline-encoding): Cache the coding commands in the
3150 process cache. Apply test command on the remote side, if defined.
3151 (tramp-find-inline-compress): Cache the compress commands in the
3152 process cache.
3153 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3154 when requested. Handle hops.
3155 (tramp-current-connection): New defvar.
3156 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3157 Throw `suppress', if there was a failed connection shortly before.
3158 Handle user interrupt. (Bug#10187)
3159 (tramp-get-inline-compress, tramp-get-inline-coding):
3160 Read connection properties from the process cache.
3161
3162 * net/tramp-smb.el (tramp-smb-server-version)
3163 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3164 New defconsts.
3165 (tramp-smb-prompt): Extend for powershell prompt.
3166 (tramp-smb-file-name-handler-alist): Add handlers for
3167 `process-file', `shell-command' and `start-file-process'.
3168 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3169 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3170 (tramp-smb-file-name-p): Simplify.
3171 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3172 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3173 (tramp-smb-shell-quote-argument): New defuns.
3174 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3175 Implement using "tar". By this, time-stamps are preserved.
3176 (tramp-smb-handle-copy-file): Handle also the case of directories.
3177 (tramp-smb-do-file-attributes-with-stat)
3178 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3179 Use `tramp-get-connection-buffer').
3180 (tramp-smb-handle-rename-file): Use "rename", when source and
3181 target are on the same share.
3182 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3183 Use `tramp-smb-server-version'.
3184 (tramp-smb-wait-for-output): Remove prompt.
3185
3186 * net/tramp.el (top): Require 'cl.
3187 (tramp-methods, tramp-rsh-end-of-line):
3188 Remove `tramp-password-end-of-line' from docstring.
3189 (tramp-save-ad-hoc-proxies): New defcustom.
3190 (tramp-completion-function-alist): Adapt docstring.
3191 (tramp-default-password-end-of-line): Remove defcustom.
3192 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3193 (tramp-user-regexp, tramp-file-name-regexp-unified)
3194 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3195 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3196 (tramp-remote-file-name-spec-regexp): New defconst.
3197 (tramp-file-name-structure): Extend structure for hops.
3198 (tramp-get-method-parameter): Move up.
3199 (tramp-file-name-p, tramp-dissect-file-name)
3200 (with-parsed-tramp-file-name): Handle hops.
3201 (tramp-file-name-hop): New defun.
3202 (tramp-make-tramp-file-name): New optional arg HOP.
3203 (tramp-message-show-progress-reporter-message): New defvar.
3204 (tramp-with-progress-reporter): Use it. We cannot use
3205 `tramp-message-show-message' here, because this suppresses also
3206 error buffers.
3207 (tramp-error-with-buffer): Suppress buffer view, if
3208 `tramp-message-show-message' is nil.
3209 Use `tramp-get-connection-buffer'.
3210 (tramp-cleanup): New defun.
3211 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3212 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3213 an error unchanged.
3214 (tramp-completion-handle-file-name-all-completions): Handle hops.
3215 Fix an error when called from ido.
3216 (tramp-completion-dissect-file-name): Use better local variable
3217 name. Add hop to the vector.
3218 (tramp-handle-insert-file-contents): Use progress-reporter for the
3219 whole scenario.
3220 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3221 to `t'.
3222 (tramp-check-for-regexp): Simplify search.
3223 (tramp-enter-password): Remove it. Move implementation ...
3224 (tramp-action-password): ... here.
3225 (tramp-mode-string-to-int, tramp-local-host-p)
3226 (tramp-make-tramp-temp-file, tramp-read-passwd)
3227 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3228 Set tramp-autoload cookie.
3229
3230 * net/trampver.el: Update release number.
3231
3232 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3233 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3236 (tramp-parse-group, tramp-parse-file)
3237 (tramp-parse-shostkeys-sknownhosts): New defuns.
3238 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3239 (tramp-parse-shosts-group, tramp-parse-sconfig)
3240 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3241 (tramp-parse-sknownhosts, tramp-parse-hosts)
3242 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3243 Use them.
3244 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3245 (tramp-parse-putty-group): Don't narrow.
3246 (tramp-parse-putty): Make a loop.
3247 (tramp-file-name-handler): Catch the `suppress' signal.
3248
3249 2012-06-11 Chong Yidong <cyd@gnu.org>
3250
3251 * image.el (imagemagick-register-types): Put the ImageMagick entry
3252 at the end of image-type-file-name-regexps.
3253
3254 2012-06-11 Johan Bockgård <bojohan@gnu.org>
3255
3256 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3257 (pcase, pcase-let*, pcase-dolist): Use them.
3258
3259 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * emacs-lisp/pcase.el (pcase--let*): New function.
3262 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3263 (pcase--expand): Use macroexp-let².
3264
3265 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3268 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3269 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3270 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3271 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3272 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3273
3274 2012-06-10 Glenn Morris <rgm@gnu.org>
3275
3276 * mail/rmail.el (rmail-yank-current-message): Leave point at
3277 correct position. (Bug#11660)
3278
3279 2012-06-10 Chong Yidong <cyd@gnu.org>
3280
3281 * allout-widgets.el: Fix code header.
3282
3283 2012-06-10 Chong Yidong <cyd@gnu.org>
3284
3285 * cus-edit.el (customize-changed-options-previous-release):
3286 Bump to 24.1.
3287
3288 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3289
3290 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3291
3292 2012-06-09 Chong Yidong <cyd@gnu.org>
3293
3294 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3295
3296 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3297
3298 * window.el (special-display-popup-frame): Don't use
3299 window--display-buffer (Bug#11651).
3300
3301 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3302
3303 Fix parallel builds: make sure loaddefs.el is not being written
3304 while Lisp files are compiled.
3305 (compile): Don't depend on 'mh-autoloads'.
3306 (compile-CMD, compile-SH): Depend on 'autoloads'.
3307 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3308
3309 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3310
3311 2012-06-09 Chong Yidong <cyd@gnu.org>
3312
3313 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3314 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3315 Doc fixes (Bug#11225).
3316
3317 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3320 a function if there's a clear indication that it has a compiler-macro.
3321 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3322 (macro-declarations-alist): Add arglist to declaration functions.
3323 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3324 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3325 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3326 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3327 Also add autoload to find the compiler macro.
3328 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3329 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3330 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3331 (cl--compiler-macro-get): New functions, replacing calls to
3332 cl-define-compiler-macro.
3333 (cl-typep) [compiler-macro]: Use macroexp-let².
3334
3335 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3336
3337 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3338 string properly, fixes Bug#11473.
3339
3340 2012-06-08 Chong Yidong <cyd@gnu.org>
3341
3342 * faces.el (set-face-attribute): Doc fix.
3343 (modify-face): Don't use :bold and :italic.
3344 (error, warning, success): Tweak definitions.
3345
3346 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3347 (custom-modified, custom-set, custom-changed, custom-themed)
3348 (custom-saved, custom-button, custom-button-mouse)
3349 (custom-button-pressed, custom-state, custom-comment-tag)
3350 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3351 (custom-group-subtitle): Use new-style face specs.
3352 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3353 (custom-set-face, custom-changed-face, custom-saved-face)
3354 (custom-button-face, custom-button-pressed-face)
3355 (custom-documentation-face, custom-state-face)
3356 (custom-comment-face, custom-comment-tag-face)
3357 (custom-variable-tag-face, custom-variable-button-face)
3358 (custom-face-tag-face, custom-group-tag-face-1)
3359 (custom-group-tag-face): Remove obsolete face alias.
3360
3361 * epa.el (epa-validity-high, epa-validity-medium)
3362 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3363 (epa-field-name, epa-field-body):
3364 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3365 (font-lock-keyword-face, font-lock-builtin-face)
3366 (font-lock-function-name-face, font-lock-variable-name-face)
3367 (font-lock-type-face, font-lock-constant-face):
3368 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3369 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3370 * speedbar.el (speedbar-button-face, speedbar-file-face)
3371 (speedbar-directory-face, speedbar-tag-face)
3372 (speedbar-selected-face, speedbar-highlight-face)
3373 (speedbar-separator-face):
3374 * whitespace.el (whitespace-newline, whitespace-space)
3375 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3376 (whitespace-line, whitespace-space-before-tab)
3377 (whitespace-space-after-tab, whitespace-indentation)
3378 (whitespace-empty):
3379 * emulation/cua-base.el (cua-global-mark):
3380 * eshell/em-prompt.el (eshell-prompt):
3381 * net/newst-plainview.el (newsticker-new-item-face)
3382 (newsticker-old-item-face, newsticker-immortal-item-face)
3383 (newsticker-obsolete-item-face, newsticker-date-face)
3384 (newsticker-statistics-face, newsticker-default-face):
3385 * net/newst-reader.el (newsticker-feed-face)
3386 (newsticker-extra-face, newsticker-enclosure-face):
3387 * net/newst-treeview.el (newsticker-treeview-face)
3388 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3389 (newsticker-treeview-immortal-face)
3390 (newsticker-treeview-obsolete-face)
3391 (newsticker-treeview-selection-face):
3392 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3393 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3394 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3395 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3396 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3397 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3398 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3399 (mpuz-text):
3400 * progmodes/vera-mode.el (vera-font-lock-number)
3401 (vera-font-lock-function, vera-font-lock-interface):
3402 * textmodes/table.el (table-cell): Use new-style face specs, and
3403 don't use the old :bold and :italic attributes.
3404
3405 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3406 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3407 (ebrowse-member-class, ebrowse-progress): Likewise.
3408 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3409 (ebrowse-file-name-face, ebrowse-default-face)
3410 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3411 (ebrowse-progress-face): Remove obsolete faces.
3412
3413 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3414 Inherit from error and warning faces respectively.
3415
3416 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3417 Likewise.
3418 (flyspell-incorrect-face, flyspell-duplicate-face):
3419 Remove obsolete aliases.
3420
3421 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
3422
3423 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3424 Avoid infloop.
3425
3426 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * startup.el (argv, argi): Make lexically scoped.
3429 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3430 * emacs-lisp/cl-macs.el: Use lexical-binding.
3431 Rename cl-bind-* to cl--bind-*.
3432 * files.el: Don't require `cl' since it doesn't use it.
3433 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3434
3435 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3436
3437 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3438 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3439 instead of calling external sort utility.
3440 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3441
3442 2012-06-08 Eli Zaretskii <eliz@gnu.org>
3443
3444 * descr-text.el (describe-char): Mention how to insert the
3445 character, if the current input method doesn't support it.
3446 See the discussion in this thread for the details:
3447 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3448
3449 2012-06-08 Sam Steingold <sds@gnu.org>
3450
3451 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3452 XF86Back to previous-buffer.
3453 (minibuffer-local-map): Bind them to next-history-element and
3454 previous-history-element respectively.
3455 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3456 help-go-back respectively.
3457 * info.el (Info-mode-map): Bind them to Info-history-forward and
3458 Info-history-back respectively.
3459 These are the keys next to Up on the ThinkPad keyboard.
3460
3461 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3464 * emacs-lisp/cl-macs.el: Provide itself.
3465 (cl--labels-convert-cache): New var.
3466 (cl--labels-convert): New function.
3467 (cl-flet, cl-labels): New implementation with new semantics, relying on
3468 lexical-binding.
3469 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3470 (cl-closure-vars, cl--function-convert-cache)
3471 (cl--function-convert): Move from cl-macs.el.
3472 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3473 rename by removing the "cl-" prefix.
3474 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3475
3476 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3479 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3480 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3481 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3482 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3483 (cl-hash-table-count): Add old compatibility aliases.
3484
3485 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3486 Use macroexpand-all-environment instead.
3487 (cl--old-macroexpand): New var.
3488 (cl--sm-macroexpand): New function.
3489 (cl-symbol-macrolet): Use it during macro expansion.
3490 (cl--function-convert-cache): New var.
3491 (cl--function-convert): New function, extracted from
3492 cl-macroexpand-all.
3493 (cl-lexical-let): Use it.
3494
3495 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3496 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3497 (cl-member): Remove old alias.
3498
3499 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3500 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3501 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3502 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3503 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3504 (cl-macroexpand-cmacs): Remove var.
3505 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3506 Use macroexpand-all instead.
3507
3508 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3511 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3512 (macroexp-copyable-p): New functions and macros.
3513 * emacs-lisp/edebug.el (edebug-unwrap):
3514 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3515 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3516 (pcase--let*): Remove.
3517 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3518 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3519 macroexp-const-p instead.
3520 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3521
3522 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3523 instead of "cl-" for internal definitions. Use macroexp-const-p.
3524 (cl-old-bc-file-form): Remove var.
3525 (cl-const-exprs-p): Remove fun.
3526 (cl-labels, cl-macrolet): Use backquote.
3527 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3528 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3529 (cl-define-setf-expander): Rename from cl-define-setf-method.
3530 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3531
3532 * international/mule-cmds.el: Don't require CL.
3533 (view-hello-file): Don't use `letf'.
3534
3535 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * tmm.el (tmm-prompt): Use string-prefix-p.
3538 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3539 (tmm-add-prompt): Use minibuffer-completion-help.
3540 (tmm-delete-map): Remove.
3541
3542 * subr.el (kbd): Make it its own function.
3543
3544 2012-06-07 Stefan Merten <smerten@oekonux.de>
3545
3546 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3547 Silence compiler warnings. Fix versions.
3548 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3549 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3550 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3551 (rst-package-emacs-version-alist): Correct Emacs version to
3552 represent major merge with upstream.
3553 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3554
3555 2012-06-06 Glenn Morris <rgm@gnu.org>
3556
3557 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3558 Only print environment variables if set.
3559
3560 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3563 (macroexp--cons): Rename from maybe-cons.
3564 (macroexp--accumulate): Rename from macroexp-accumulate.
3565 (macroexp--all-forms): Rename from macroexpand-all-forms.
3566 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3567 (macroexp--expand-all): Rename from macroexpand-all-1.
3568
3569 2012-06-06 Sam Steingold <sds@gnu.org>
3570
3571 * calendar/calendar.el (calendar-in-read-only-buffer):
3572 Call `special-mode' to enable the standard read-only keybindings.
3573
3574 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3577 with "loading" messages (bug#11635).
3578
3579 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3580
3581 * files.el (enable-remote-dir-locals): New option.
3582 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3583
3584 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3585 Ensure, that the temp directory is local.
3586
3587 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3588 `temporary-file-directory'.
3589
3590 * progmodes/python.el (python-send-region): Ensure, that the
3591 temporary file is created also in the remote case.
3592
3593 2012-06-06 Glenn Morris <rgm@gnu.org>
3594
3595 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3596 (vc-rcs-update-changelog): Use it.
3597
3598 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3599
3600 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3601 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3602 (vc-sccs-diff): Replace use of the external vcdiff script.
3603
3604 2012-06-05 Glenn Morris <rgm@gnu.org>
3605
3606 * ledit.el: Move to obsolete/.
3607
3608 2012-06-05 Sam Steingold <sds@gnu.org>
3609
3610 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3611 patch (Bug#11140).
3612
3613 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * emacs-lisp/cust-print.el: Move to obsolete.
3616
3617 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3618 compiler-macro expansion.
3619
3620 Add native compiler-macro support.
3621 * emacs-lisp/macroexp.el (macroexpand-all-1):
3622 Support compiler-macros directly. Properly follow aliases and apply
3623 the compiler macros more thoroughly.
3624 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3625 macroexpand now properly follows aliases.
3626 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3627 (cl-compiler-macroexpand): Use new prop.
3628 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3629
3630 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3631
3632 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3633
3634 * window.el (get-lru-window, get-mru-window, get-largest-window):
3635 New argument NOT-SELECTED to avoid picking the selected window.
3636 (window--display-buffer-1, window--display-buffer-2): Replace by
3637 new function window--display-buffer
3638 (display-buffer-same-window, display-buffer-reuse-window)
3639 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3640 Use window--display-buffer.
3641 (display-buffer-use-some-window): Remove temporary dedication
3642 hack by calling get-lru-window and get-largest-window with
3643 NOT-SELECTED argument non-nil. Call window--display-buffer.
3644
3645 2012-06-05 Glenn Morris <rgm@gnu.org>
3646
3647 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3648 Replace external vcdiff script.
3649
3650 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3653
3654 2012-06-04 Chong Yidong <cyd@gnu.org>
3655
3656 * image.el (imagemagick-types-inhibit): Revert last change.
3657 Add INFO and M.
3658 (imagemagick-enabled-types): Remove CIN and EPS*.
3659
3660 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * emacs-lisp/cl-lib.el: Rename from cl.el.
3663 * emacs-lisp/cl.el: New compatibility file.
3664 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3665 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3666 to obey the "cl-" prefix.
3667 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3668
3669 2012-06-03 Glenn Morris <rgm@gnu.org>
3670
3671 * emacs-lisp/authors.el (authors-aliases): Addition.
3672
3673 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3674 Fix :version.
3675
3676 2012-06-03 Stefan Merten <smerten@oekonux.de>
3677
3678 * textmodes/rst.el: Add comments.
3679 (rst-transition, rst-adornment): New faces.
3680 (rst-adornment-faces-alist): Make default safe to reevaluate.
3681 Fixes
3682 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3683 Improve customization tags.
3684 (rst-define-level-faces): Clarify meaning.
3685
3686 2012-06-03 Chong Yidong <cyd@gnu.org>
3687
3688 * progmodes/compile.el (compilation-mode-line-fail)
3689 (compilation-mode-line-run, compilation-mode-line-exit):
3690 New faces.
3691 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3692
3693 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3694
3695 * progmodes/which-func.el (which-func-update-ediff-windows):
3696 New function. Use it in ediff-select-hook (Bug#11478).
3697
3698 2012-06-03 Chong Yidong <cyd@gnu.org>
3699
3700 * bindings.el: Remove explicit help text from format-mode-line.
3701 It is now supplied by mode-line-default-help-echo.
3702 (mode-line-front-space, mode-line-end-spaces)
3703 (mode-line-misc-info): New variables.
3704 (mode-line-modes, mode-line-position): Move the default value to
3705 the variable definition.
3706 (mode-line-default-help-echo): New defcustom.
3707 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3708 (mode-line-modified-help-echo): New functions.
3709 (mode-line-mule-info, mode-line-modified): Use them.
3710 (mode-line-eol-desc, propertized-buffer-identification):
3711 Consistency fixes for help text.
3712 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3713 set-buffer-file-coding-system (Bug#289).
3714 (mode-line-mule-info-help-echo): Update help text.
3715
3716 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * simple.el (execute-extended-command): Set real-this-command
3719 (bug#11506).
3720
3721 2012-06-02 Chong Yidong <cyd@gnu.org>
3722
3723 Remove incorrect uses of "modeline" in comments, docstrings, and
3724 function/variable names (Bug#10329).
3725
3726 * cus-edit.el (mode-line):
3727 * dframe.el (dframe-mouse-hscroll):
3728 * emacs-lisp/re-builder.el:
3729 * emacs-lisp/easy-mmode.el (define-minor-mode):
3730 * frame.el (set-frame-name):
3731 * help.el (lookup-minor-mode-from-indicator):
3732 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3733 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3734 (c-toggle-hungry-state):
3735 * progmodes/antlr-mode.el (antlr-language-alist):
3736 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3737 * progmodes/vhdl-mode.el (vhdl-mode):
3738 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3739 * term/ns-win.el (ns-face-at-pos):
3740 * term/sup-mouse.el (sup-mouse-report):
3741 * textmodes/flyspell.el (flyspell-mode-line-string):
3742 * textmodes/ispell.el (ispell-highlight-face):
3743 * textmodes/reftex-global.el:
3744 * vc/vc-arch.el (vc-arch-mode-line-string):
3745 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3746 * vc/vc-git.el (vc-git-mode-line-string):
3747 * vc/vc-hooks.el (vc-display-status)
3748 (vc-default-mode-line-string):
3749 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3750
3751 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3752
3753 * dired.el (dired-sort-set-mode-line): Rename from
3754 dired-sort-set-modeline. All callers changed.
3755
3756 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3757 eshell-status-in-modeline.
3758
3759 * foldout.el (foldout-mode-line-string): Rename from
3760 foldout-modeline-string. All callers changed.
3761 (foldout-update-mode-line): Rename from foldout-update-modeline.
3762
3763 * subr.el (redraw-modeline): Make into obsolete alias.
3764
3765 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3766 timeclock-modeline-display. Make old name an alias.
3767 (timeclock-update-mode-line): Likewise. All callers changed.
3768 (timeclock-mode-line-display): No need to check before using
3769 add-hook.
3770 (timeclock-relative, timeclock-day-over-hook)
3771 (timeclock-use-elapsed, timeclock-mode-string)
3772 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3773
3774 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3775 crisp-mode-modeline-string.
3776
3777 * play/solitaire.el (solitaire-build-mode-line): Rename from
3778 solitaire-build-modeline. All callers changed.
3779
3780 * play/zone.el (zone-hiding-mode-line): Rename from
3781 zone-hiding-modeline. All callers changed.
3782 (zone): Remove unusued `modeline-hidden-level' property.
3783
3784 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3785 xscheme-modeline-initialize. All callers changed.
3786
3787 * strokes.el (strokes-lighter): Rename from
3788 strokes-modeline-string.
3789
3790 * textmodes/sgml-mode.el (html-face-tag-alist)
3791 (html-tag-face-alist): Use mode-line face instead of obsolete
3792 alias modeline.
3793
3794 2012-06-02 Stefan Merten <smerten@oekonux.de>
3795
3796 * textmodes/rst.el: Always require `cl'.
3797 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3798
3799 2012-06-02 Chong Yidong <cyd@gnu.org>
3800
3801 * image.el (imagemagick-enabled-types): Rename from
3802 imagemagick-types-enable. Add many more types.
3803 (imagemagick-types-inhibit): Change default to nil.
3804 (imagemagick-filter-types): Caller changed.
3805
3806 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * emacs-lisp/cl-macs.el: Use backquotes.
3809 (cl-transform-function-property): Use eval-and-compile rather than
3810 abusing `require'.
3811 (defstruct): Use declare-function instead of with-no-warnings.
3812
3813 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3814 (byte-compile-output-docform): Re-add the print-circle bindings.
3815 (byte-compile-fix-header): Use #$ just because it's shorter.
3816 (byte-compile-output-file-form): Remove defun/defmacro.
3817
3818 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3819
3820 * simple.el (choose-completion): Remove now obsolete binding for
3821 owindow.
3822
3823 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3824
3825 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3826 in order to avoid "Stack overflow in regexp matcher".
3827
3828 2012-05-31 Glenn Morris <rgm@gnu.org>
3829
3830 * image.el: For clarity, call imagemagick-register-types at
3831 top-level, rather than relying on a custom :initialize.
3832 (imagemagick-types-enable): New option. (Bug#11557)
3833 (imagemagick-filter-types): New function. (Bug#7406)
3834 (imagemagick-register-types): Use imagemagick-filter-types.
3835 If disabling support, remove elements altogether rather
3836 than using an impossible regexp.
3837 (imagemagick-types-inhibit): Give it the default init function.
3838
3839 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3842 Handle arbitrary file name lengths (Bug#11585).
3843
3844 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3845
3846 * desktop.el (desktop-read): Clear previous and next buffers for
3847 all windows and bury *Messages* buffer (bug#11556).
3848
3849 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 Add `declare' for `defun'. Align `defmacro's with it.
3852 * emacs-lisp/easy-mmode.el (define-minor-mode)
3853 (define-globalized-minor-mode): Don't autoload the var definitions.
3854 * emacs-lisp/byte-run.el: Use lexical-binding.
3855 (defun-declarations-alist, macro-declarations-alist): New vars.
3856 (defmacro, defun): Use them.
3857 (make-obsolete, define-obsolete-function-alias)
3858 (make-obsolete-variable, define-obsolete-variable-alias):
3859 Use `declare'.
3860 (macro-declaration-function): Mark obsolete.
3861 * emacs-lisp/autoload.el: Use lexical-binding.
3862 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3863
3864 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3865
3866 * textmodes/ispell.el (ispell-with-no-warnings):
3867 Define as a macro.
3868 (ispell-kill-ispell, ispell-change-dictionary):
3869 Use `called-interactively-p' for Emacs instead of obsolete
3870 `interactive-p'.
3871
3872 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3875 (macro-declaration-function): Move var from C code.
3876 (macro-declaration-function): Define function with defalias.
3877 * emacs-lisp/macroexp.el (macroexpand-all-1):
3878 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3879 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3880 defun/defmacro any more.
3881 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3882 Provide fallback for unknown arglist.
3883 (byte-compile-arglist-warn): Change calling convention.
3884 (byte-compile-output-file-form): Move print-vars binding.
3885 (byte-compile-output-docform): Simplify accordingly.
3886 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3887 (byte-compile-defmacro-declaration): Remove.
3888 (byte-compile-file-form-defmumble): Generalize to defalias.
3889 (byte-compile-output-as-comment): Return byte-positions.
3890 Simplify callers accordingly.
3891 (byte-compile-lambda): Use `assert'.
3892 (byte-compile-defun, byte-compile-defmacro): Remove.
3893 (byte-compile-file-form-defalias):
3894 Use byte-compile-file-form-defmumble.
3895 (byte-compile-defalias-warn): Remove.
3896
3897 2012-05-29 Stefan Merten <smerten@oekonux.de>
3898
3899 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3900 possible. Fix authors. Improve comments. Improve loading of `cl'.
3901
3902 (rst-mode-abbrev-table): Merge definition.
3903 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3904 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3905
3906 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3907
3908 * calendar/icalendar.el
3909 (icalendar-export-region): Export UID properly.
3910
3911 2012-05-29 Leo Liu <sdl.web@gmail.com>
3912 * calendar/icalendar.el (icalendar-import-format):
3913 Add `icalendar-import-format-uid' (Bug#11525).
3914 (icalendar-import-format-uid): New.
3915 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3916 Export UID.
3917
3918 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3921 different alternative patterns.
3922 (pcase-codegen): Be more careful to preserve identity.
3923 (pcase--u1): Don't forget to mark vars as used.
3924
3925 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3926 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3927 (byte-compile-from-buffer): ...rather than here.
3928
3929 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3930 functions from byte-compile-function-environment.
3931
3932 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
3933
3934 * window.el (window-deletable-p): Avoid deleting the root window
3935 of a frame with an active minibuffer.
3936
3937 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3938
3939 * simple.el (choose-completion): Use quit-window (Bug#11567).
3940
3941 2012-05-29 Chong Yidong <cyd@gnu.org>
3942
3943 * whitespace.el (whitespace-cleanup): Fix usage of
3944 whitespace-empty-at-bob-regexp (Bug#11492).
3945
3946 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3947
3948 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3949 revert (Bug#11488).
3950
3951 2012-05-29 Juri Linkov <juri@jurta.org>
3952
3953 * isearch.el (isearch-mode-map): Bind `M-s _' to
3954 `isearch-toggle-symbol'. Bind `M-s c' to
3955 `isearch-toggle-case-fold'.
3956 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3957 (isearch-forward): Add `M-s _' to the docstring.
3958 (isearch-forward-symbol, isearch-toggle-case-fold)
3959 (isearch-symbol-regexp): New functions. (Bug#11381)
3960
3961 2012-05-29 Juri Linkov <juri@jurta.org>
3962
3963 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3964 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3965 a function, call it to get the regexp.
3966 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3967 property `isearch-message-prefix' instead of the string "word ".
3968 (isearch-search-fun-default): For the case of `isearch-word',
3969 return a lambda that calls re-search-forward/re-search-backward
3970 with a regexp returned by `word-search-regexp' or by the function
3971 in `isearch-word'.
3972
3973 2012-05-29 Juri Linkov <juri@jurta.org>
3974
3975 * isearch.el (isearch-search-fun-default): New function.
3976 (isearch-search-fun): Move default part to the new function
3977 `isearch-search-fun-default'.
3978 (isearch-search-fun-function): Set the default value to
3979 `isearch-search-fun-default'. (Bug#11381)
3980
3981 * comint.el (comint-history-isearch-end):
3982 Use `isearch-search-fun-default'.
3983 (comint-history-isearch-search): Use `isearch-search-fun-default'
3984 and remove spacial case for `isearch-word'.
3985 (comint-history-isearch-wrap): Remove spacial case for
3986 `isearch-word'.
3987
3988 * hexl.el (hexl-isearch-search-function):
3989 Use `isearch-search-fun-default'.
3990
3991 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3992 Use `word-search-regexp' for `isearch-word'.
3993
3994 * misearch.el (multi-isearch-search-fun):
3995 Use `isearch-search-fun-default'.
3996
3997 * simple.el (minibuffer-history-isearch-search):
3998 Use `isearch-search-fun-default' and remove spacial case for
3999 `isearch-word'.
4000 (minibuffer-history-isearch-wrap): Remove spacial case for
4001 `isearch-word'.
4002
4003 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4004 Remove spacial case for `isearch-word'.
4005 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4006
4007 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4008
4009 Decrease XEmacs incompatibilities.
4010 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4011 Use `string-match'.
4012 (flyspell-delete-region-overlays): Use alternative definition for
4013 XEmacs.
4014 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4015 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4016 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4017 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4018 `define-obsolete-face-alias' under XEmacs, but old method.
4019
4020 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4021 `with-no-warnings' definition or Emacs alias.
4022 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4023 (ispell-word): Do not use `region-p' if XEmacs.
4024
4025 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4026
4027 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4028 Check for `ispell-dictionary-base-alist' instead of full
4029 `ispell-dictionary-alist'.
4030 (ispell-init-process): Show spellchecker when starting new Ispell
4031 process.
4032
4033 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4036 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4037
4038 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4039
4040 * version.el (motif-version-string, gtk-version-string)
4041 (ns-version-string): Declare.
4042
4043 2012-05-27 Juri Linkov <juri@jurta.org>
4044
4045 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4046 after the `eval-defun-1' specialcaseing
4047 like in `edebug-eval-defun' (bug#10181).
4048
4049 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4050 like in `eval-defun-1'.
4051
4052 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4053
4054 * mail/sendmail.el (mail-yank-region):
4055 Recognize rmail-yank-current-message in addition to insert-buffer.
4056 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4057 a *mail* buffer created through rmail-start-mail with sendmail as
4058 mail-user-agent.
4059
4060 2012-05-27 Chong Yidong <cyd@gnu.org>
4061
4062 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4063 Default to 256 (Bug#11267).
4064
4065 * help.el (describe-mode): Doc fix.
4066
4067 2012-05-26 Glenn Morris <rgm@gnu.org>
4068
4069 * w32-fns.el (w32-init-info): Remove.
4070 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4071
4072 * info.el (info-initialize): For self-contained NS builds, put the
4073 included info/ directory at the front. (Bug#2791)
4074
4075 * paths.el (Info-default-directory-list): Make it a defcustom,
4076 mainly so that we can use custom-initialize-delay.
4077
4078 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * subr.el (buffer-has-markers-at): Mark obsolete.
4081
4082 * subr.el (lambda): Use declare.
4083
4084 * emacs-lisp/lisp-mode.el (lambda):
4085 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4086
4087 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4088
4089 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4090
4091 2012-05-26 Glenn Morris <rgm@gnu.org>
4092
4093 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4094
4095 2012-05-25 Glenn Morris <rgm@gnu.org>
4096
4097 * paths.el: Remove no-byte-compile.
4098 * loadup.el: No need to load paths.el uncompiled.
4099
4100 * image.el (imagemagick-types-inhibit): Doc fix.
4101
4102 * version.el: Remove no-byte-compile and associated formatting.
4103 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4104 is ancient code from when there was an "inc-vers.el".
4105
4106 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * progmodes/gdb-mi.el: Minor style changes.
4109 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4110 Turn into minor modes.
4111 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4112 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4113 (gdb-shell): Remove unneeded let-binding.
4114 (gdb-get-many-fields): Eliminate O(n²) behavior.
4115
4116 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4117
4118 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4119 platforms that don't link in fontset.c.
4120
4121 2012-05-25 Juri Linkov <juri@jurta.org>
4122
4123 Use the same diff color scheme as in modern VCSes (bug#10181).
4124
4125 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4126 to avoid confusion with `diff-added' that now uses green colors.
4127 (diff-removed): Use shades of red.
4128 (diff-added): Use shades of green.
4129 (diff-changed): Leave just the yellow color.
4130 (diff-use-changed-face): New variable.
4131 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4132 how to highlight context diff changes.
4133 (diff-refine-change): Use shades of yellow.
4134 (diff-refine-removed): New face that uses shades of red.
4135 (diff-refine-added): New face that uses shades of green.
4136 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4137 `diff-refine-removed' in the call to `smerge-refine-subst'
4138 depending on the value of `diff-use-changed-face'.
4139
4140 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4141 (smerge-other): Use shades of green.
4142 (smerge-base): Use shades of yellow.
4143 (smerge-refined-change): Empty face.
4144 (smerge-refined-removed): New face that uses shades of red.
4145 (smerge-refined-added): New face that uses shades of green.
4146 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4147 args `props-r' and `props-a', and use them. Doc fix.
4148 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4149 on its value use different faces `smerge-refined-change',
4150 `smerge-refined-removed', `smerge-refined-added' in the call to
4151 `smerge-refine-subst'.
4152
4153 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4154 Add face condition `min-colors 88' with shades of red.
4155 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4156 `min-colors 88' with shades of green.
4157 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4158 `min-colors 88' with shades of yellow.
4159
4160 2012-05-24 Glenn Morris <rgm@gnu.org>
4161
4162 * paths.el (prune-directory-list, remote-shell-program): Move to...
4163 * files.el (prune-directory-list, remote-shell-program): ...here.
4164 For the latter, delay initialization, prefer ssh, just search PATH.
4165
4166 * paths.el (term-file-prefix): Move to faces.el (the only user).
4167 * faces.el (term-file-prefix): Move here, make it a defcustom.
4168
4169 * paths.el (news-directory, news-path, news-inews-program):
4170 Move to gnus/nnspool.el.
4171
4172 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4173
4174 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4175 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4176 Make the latter a defcustom, with a delayed initialization.
4177
4178 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4179 These were deleted from Gnus itself late 2010.
4180
4181 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4182
4183 * progmodes/which-func.el (which-func-ff-hook):
4184 Check against user-error, not error.
4185
4186 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4187 cl-specs.el, which no longer exists.
4188
4189 2012-05-22 Glenn Morris <rgm@gnu.org>
4190
4191 * info.el (info-emacs-bug): New command.
4192 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4193 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4194
4195 2012-05-21 Glenn Morris <rgm@gnu.org>
4196
4197 * makefile.w32-in (update-subdirs-SH):
4198 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4199
4200 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4203
4204 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4205 Simplify Maven regexp, and make sure the file can't start with a space
4206 (bug#11517).
4207
4208 2012-05-21 Glenn Morris <rgm@gnu.org>
4209
4210 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4211 Scrap superfluous subshells.
4212
4213 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4216 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4217
4218 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4219
4220 * calc/calc.el (calc-ensure-consistent-units): New variable.
4221
4222 * calc/calc-units.el (math-consistent-units-p)
4223 (math-check-unit-consistency): New functions.
4224 (calc-quick-units, calc-convert-units):
4225 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4226 is non-nil.
4227 (calc-extract-units): Fix typo.
4228
4229 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4232
4233 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4234 (flyspell-default-deplacement-commands): Don't spell check after
4235 repeated window/frame switches (e.g. triggered by mouse-movement).
4236 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4237 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4238 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4239 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4240 Remove unused vars.
4241 (flyspell-get-casechars, flyspell-get-not-casechars):
4242 Simplify; Don't bother removing a ] just to add it back.
4243 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4244
4245 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4246
4247 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4248 New functions.
4249 (math-function-table): Add support for more C functions.
4250
4251 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4252
4253 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4254 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4255 Protect delay handling for otherchars against empty otherchars.
4256
4257 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4260 their respective macro declarations.
4261 * skeleton.el (define-skeleton):
4262 * progmodes/compile.el (define-compilation-mode):
4263 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4264 (define-ibuffer-filter):
4265 * emacs-lisp/generic.el (define-generic-mode):
4266 * emacs-lisp/easy-mmode.el (define-minor-mode)
4267 (define-globalized-minor-mode):
4268 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4269 * emacs-lisp/byte-run.el (defsubst):
4270 * custom.el (deftheme): Add doc-string metadata.
4271
4272 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4275
4276 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4279
4280 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4281 * emacs-lisp/cl-macs.el: Idem.
4282 * emacs-lisp/cl-specs.el: Remove.
4283
4284 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 Minor renaming of internal CL functions and variables.
4287 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4288 (cl--position): Rename from cl-position.
4289 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4290 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4291 (cl--random-state): Rename from *random-state*.
4292
4293 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4296 parens around the arg list (bug#11499).
4297
4298 2012-05-17 Juri Linkov <juri@jurta.org>
4299
4300 * isearch.el (word-search-regexp, word-search-backward)
4301 (word-search-forward, word-search-backward-lax)
4302 (word-search-forward-lax): Move functions from search.c
4303 (bug#10145, bug#11381).
4304
4305 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4306
4307 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4308 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4309 Delay for otherchars as for normal word components.
4310
4311 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * minibuffer.el (completion--sifn-requote): Fix last change.
4314 (minibuffer-local-must-match-filename-map):
4315 Move define-obsolete-variable-alias before its var.
4316
4317 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4320
4321 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4322 behavior.
4323 (completion--string-equal-p): New function.
4324 (completion--twq-all): Use it to get better assertion failure data.
4325
4326 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4327 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4328 (shell--requote-argument): New functions.
4329 (shell-completion-vars): Use them.
4330 (shell--parse-pcomplete-arguments): Rename from
4331 shell-parse-pcomplete-arguments.
4332 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4333 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4334 Obey comint-file-name-quote-list.
4335
4336 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4337 (smie-indent-keyword): Use it.
4338
4339 2012-05-14 Stefan Merten <smerten@oekonux.de>
4340
4341 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4342
4343 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * net/rlogin.el (rlogin-mode-map): Fix last change.
4346
4347 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4348
4349 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4350 the following \r\n using a single `process-send-string', since the
4351 Lotus SMTP server refuses to accept any commands if they are sent
4352 with two `process-send-string's (Bug#11444).
4353
4354 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * shell.el (shell-parse-pcomplete-arguments):
4357 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4358
4359 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4360
4361 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4362 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4363 (image-transform-width, image-transform-fit-width): New functions.
4364 (image-transform-properties): Use them.
4365 (image-transform-check-size): New function.
4366 (image-toggle-display-image): Use it (for testing).
4367 (image-transform-set-rotation): Reduce angle mod 360.
4368 Delete obsolete comment.
4369
4370 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4371
4372 * image-mode.el: Fix scaling (bug#11399).
4373 (image-transform-resize): Doc fix.
4374 (image-transform-properties): Default scale is 1 and height should
4375 be an integer.
4376
4377 2012-05-13 Johan Bockgård <bojohan@gnu.org>
4378
4379 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4380 than hard-coding `car', to fix misbehavior when moving forward.
4381
4382 2012-05-13 Chong Yidong <cyd@gnu.org>
4383
4384 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4385 (tabulated-list-entries, tabulated-list-padding)
4386 (tabulated-list-sort-key): Make permanent-local.
4387
4388 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4389 (electric-buffer-list): Put electric buffer menu
4390 command descriptions in this docstring, instead of the docstring
4391 of electric-buffer-menu-mode. Code cleanups.
4392 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4393 Electric-buffer-menu-mode.
4394 (electric-buffer-update-highlight): Minor code cleanup.
4395
4396 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
4397
4398 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4399 (Bug#11447)
4400
4401 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 Move define-obsolete-variable-alias before the var's definition.
4404 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4405 * tooltip.el (tooltip-hook):
4406 * textmodes/reftex-toc.el (reftex-toc-map):
4407 * textmodes/reftex-sel.el (reftex-select-label-map)
4408 (reftex-select-bib-map):
4409 * textmodes/reftex-index.el (reftex-index-map)
4410 (reftex-index-phrases-map):
4411 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4412 * progmodes/meta-mode.el (meta-mode-map):
4413 * novice.el (disabled-command-hook):
4414 * loadhist.el (unload-hook-features-list):
4415 * frame.el (blink-cursor):
4416 * files.el (find-file-not-found-hooks, write-file-hooks)
4417 (write-contents-hooks):
4418 * emulation/tpu-edt.el (GOLD-map):
4419 * emacs-lock.el (emacs-lock-from-exiting):
4420 * emacs-lisp/generic.el (generic-font-lock-defaults):
4421 * emacs-lisp/chart.el (chart-map):
4422 * dos-fns.el (register-name-alist):
4423 * dired-x.el (dired-omit-files-p):
4424 * desktop.el (desktop-enable):
4425 * cus-edit.el (custom-mode-hook):
4426 * buff-menu.el (buffer-menu-mode-hook):
4427 * bookmark.el (bookmark-read-annotation-text-func)
4428 (bookmark-exit-hooks):
4429 * allout.el (allout-mode-deactivate-hook)
4430 (allout-exposure-change-hook, allout-structure-added-hook)
4431 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4432 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4433 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4434 comes before the corresponding variable's definition.
4435
4436 2012-05-12 Chong Yidong <cyd@gnu.org>
4437
4438 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4439 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4440 (Buffer-menu-mode-map): Bind it.
4441 (Buffer-menu--pretty-name): Add a mouse-face property.
4442
4443 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4446 (prolog-upper-case-string, prolog-lower-case-string)
4447 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4448 (prolog-use-smie, prolog-smie-grammar): New vars.
4449 (prolog-smie-forward-token, prolog-smie-backward-token)
4450 (prolog-smie-rules): New funs.
4451 (prolog-comment-indent): Remove.
4452 (prolog-mode-variables): Use default comment indentation instead.
4453 Setup SMIE.
4454 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4455 (prolog-mode): Don't call them any more.
4456 (prolog-electric-colon, prolog-electric-dash)
4457 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4458
4459 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4460
4461 * minibuffer.el (completion--twq-all): Again, allow case differences.
4462
4463 * term.el: Move keymap initialization code to be more idiomatic.
4464 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4465 (term-terminal-menu): Move initialization into declaration.
4466 (term-escape-char): Let the user set it in her .emacs.
4467
4468 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4469 Provide SMIE-based indentation (not enabled by default yet).
4470 (sh-mode-map): Don't bind electric keys.
4471 Use electric-pair-mode instead of skeleton-pair.
4472 (sh-assignment-regexp): Fit within 80 columns.
4473 (sh-indent-supported): Specify actual shell name instead of boolean.
4474 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4475 (sh-maybe-here-document): Use it. Make obsolete.
4476 (sh-electric-here-document-mode) New minor mode.
4477 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4478 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4479 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4480 (sh-smie-rc-grammar, sh-use-smie): New vars.
4481 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4482 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4483 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4484 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4485 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4486 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4487 (sh-set-shell): Use smie-setup if requested.
4488
4489 * term.el (term-set-escape-char): Properly set term-escape-char.
4490 See http://stackoverflow.com/questions/10524656.
4491
4492 2012-05-10 Chong Yidong <cyd@gnu.org>
4493
4494 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4495 Use url-generic-parse-url, and handle host names and Windows
4496 filenames properly.
4497 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4498 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4499 URL schemes to work on.
4500 (ffap--toggle-read-only): New function.
4501 (ffap-read-only, ffap-read-only-other-window)
4502 (ffap-read-only-other-frame): Use it.
4503 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4504 necessary for ffap-url-unwrap-remote.
4505
4506 2012-05-10 Dave Abrahams <dave@boostpro.com>
4507
4508 * cus-start.el (create-lockfiles): Add it.
4509
4510 2012-05-09 Chong Yidong <cyd@gnu.org>
4511
4512 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4513 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4514
4515 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4518
4519 2012-05-09 Chong Yidong <cyd@gnu.org>
4520
4521 * ansi-color.el (ansi-color-process-output): Check for validity of
4522 comint-last-output-start before using it. This avoids a bad
4523 interaction with gdb-mi's input/output buffer.
4524
4525 2012-05-09 Glenn Morris <rgm@gnu.org>
4526
4527 * files.el (dir-locals-read-from-file):
4528 Mention dir-locals in any error message.
4529
4530 2012-05-09 Chong Yidong <cyd@gnu.org>
4531
4532 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4533 package (Bug#11410).
4534
4535 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4536 variables into description.
4537
4538 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4541 shell-delimiter-argument-list (bug#11348).
4542 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4543
4544 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
4545
4546 * textmodes/rst.el: Silence byte-compiler warnings.
4547 (rst-re-alist, rst-reset-section-caches): Move around.
4548 (rst-re): Use `characterp', not `char-valid-p'.
4549 (font-lock-beg, font-lock-end): Declare.
4550
4551 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4552 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4553
4554 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4555
4556 2012-05-08 Glenn Morris <rgm@gnu.org>
4557
4558 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4559
4560 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * vc/log-edit.el: Add GNU coding standards highlighting.
4563 (log-edit-font-lock-gnu-style)
4564 (log-edit-font-lock-gnu-keywords): New vars.
4565 (log-edit-font-lock-keywords): New fun.
4566 (log-edit-mode): Don't fold case in font-lock.
4567 (log-edit-font-lock-keywords): Do not assume case-folding.
4568
4569 * imenu.el: Misc cleanup. Make docstrings out of comments.
4570 Use lexical-binding.
4571 (imenu--index-alist, imenu--last-menubar-index-alist)
4572 (imenu-menubar-modified-tick): Use defvar-local.
4573 (imenu--split-menu): Remove unused var.
4574 (imenu--cleanup-seen): Declare as global.
4575 (imenu--cleanup): Use dolist.
4576
4577 * subr.el (defvar-local): Add debug spec and doc-string position.
4578
4579 2012-05-08 Glenn Morris <rgm@gnu.org>
4580
4581 * language/burmese.el, language/cham.el, language/czech.el:
4582 * language/english.el, language/georgian.el, language/greek.el:
4583 * language/japanese.el, language/khmer.el, language/korean.el:
4584 * language/lao.el, language/misc-lang.el, language/romanian.el:
4585 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4586 * language/thai.el, language/utf-8-lang.el:
4587 Remove no-byte-compile setting.
4588
4589 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4590
4591 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4592
4593 * progmodes/make-mode.el (makefile-browse):
4594 Remove unnecessary interactive. (Bug#11324)
4595
4596 2012-05-07 Glenn Morris <rgm@gnu.org>
4597
4598 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4599
4600 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4601
4602 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * loadup.el: Preload newcomment.el.
4605 * newcomment.el: Move autoload-only code to toplevel.
4606
4607 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4608 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4609 Handle new :right-align column property.
4610 (tabulated-list-print-col): Idem, plus use `display' text-property to
4611 try and preserve alignment for variable pitch fonts.
4612
4613 2012-05-07 Chong Yidong <cyd@gnu.org>
4614
4615 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4616 (tabulated-list-use-header-line): New var.
4617 (tabulated-list-init-header): Use it.
4618 (tabulated-list-print-fake-header): New function.
4619 (tabulated-list-print): Use it.
4620 (tabulated-list-sort-button-map): Add non-header-line commands.
4621 (tabulated-list-init-header): Add column name property to basic
4622 labels as well.
4623 (tabulated-list-col-sort): Handle non-header-line button case.
4624 (tabulated-list--sort-by-column-name): Fix a corner case.
4625
4626 * buff-menu.el (list-buffers--refresh):
4627 Handle Buffer-menu-use-header-line.
4628
4629 2012-05-06 Chong Yidong <cyd@gnu.org>
4630
4631 * buff-menu.el: Convert to Tabulated List mode.
4632 (Buffer-menu-buffer+size-width): Make obsolete.
4633 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4634 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4635 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4636 documentation into docstring of buffer-menu.
4637 (Buffer-menu-toggle-files-only): Add an informative message.
4638 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4639 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4640 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4641 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4642 (Buffer-menu-execute, Buffer-menu-select)
4643 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4644 (Buffer-menu-bury): Use Tabulated List machinery.
4645 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4646 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4647 Delete.
4648 (list-buffers--refresh): New function.
4649 (list-buffers-noselect): Use it.
4650 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4651 (Buffer-menu--pretty-file-name): New helper functions.
4652
4653 * loadup.el: Preload tabulated-list.
4654
4655 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4656 tabulated-list-sort-column.
4657 (tabulated-list-init-header): Add the initial aligning space even
4658 if tabulated-list-padding is zero.
4659
4660 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4661
4662 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4663 whose cdr is not a cons cell correctly (bug#11038).
4664
4665 2012-05-06 Chong Yidong <cyd@gnu.org>
4666
4667 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4668 Accept additional plist in column descriptors.
4669 (tabulated-list-init-header): Obey it.
4670 (tabulated-list-get-entry): New function.
4671 (tabulated-list-put-tag): Use it. Use string-width instead of
4672 length.
4673 (tabulated-list--column-number): New function.
4674 (tabulated-list-print): Use it.
4675 (tabulated-list-print-col): New function.
4676 Set `tabulated-list-column-name' property on each column's text.
4677 (tabulated-list-print-entry): Use it.
4678 (tabulated-list-delete-entry, tabulated-list-set-col):
4679 New functions.
4680 (tabulated-list-sort-column): New command (Bug#11337).
4681
4682 * buff-menu.el (list-buffers): Move C-x C-b binding from
4683 buff-menu.el to bindings.el.
4684
4685 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4686 :advertised-binding feature.
4687
4688 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4689
4690 * progmodes/compile.el (compilation-internal-error-properties):
4691 Calculate start position correctly when end-col is set but
4692 end-line is not (Bug#11382).
4693
4694 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4695
4696 * man.el (Man-unindent): Use text-property-default-nonsticky to
4697 prevent untabify from inheriting face properties (Bug#11408).
4698
4699 2012-05-05 Stefan Merten <smerten@oekonux.de>
4700
4701 * textmodes/rst.el: Major merge with upstream development up to
4702 Docutils SVN r7399 / rst.el V1.2.1.
4703
4704 Clarify maintainership and authors.
4705
4706 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4707 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4708 (rst-official-version, rst-official-cvs-rev, rst-version)
4709 (rst-package-emacs-version-alist): New functions and variables
4710 for version information.
4711
4712 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4713 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4714 (rst-mode-syntax-table, rst-mode): New and corrected functions
4715 and variables representing reStructuredText features.
4716
4717 (rst-re): New function for reStructuredText regexes. Use in
4718 many places.
4719
4720 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4721 (rst-mode-map): Rebind keys.
4722
4723 (rst-mode-lazy, rst-font-lock-keywords)
4724 (rst-font-lock-extend-region)
4725 (rst-font-lock-extend-region-internal)
4726 (rst-font-lock-extend-region-extend)
4727 (rst-font-lock-find-unindented-line-limit)
4728 (rst-font-lock-find-unindented-line-match)
4729 (rst-adornment-level, rst-font-lock-adornment-level)
4730 (rst-font-lock-adornment-match)
4731 (rst-font-lock-handle-adornment-pre-match-form)
4732 (rst-font-lock-handle-adornment-matcher): Major revision of
4733 font-locking. Integrate with other code. Use `jit-lock-mode'.
4734
4735 (rst-preferred-adornments, rst-adjust-hook)
4736 (rst-new-adornment-down, rst-preferred-bullets)
4737 (rst-preferred-bullets, rst-indent, rst-indent-width)
4738 (rst-indent-field, rst-indent-literal-normal)
4739 (rst-indent-literal-minimized, rst-indent-comment): Change,
4740 extend and improve customization.
4741
4742 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4743 (rst-normalize-cursor-position, rst-get-decoration)
4744 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4745 (rst-rstrip, rst-toc-insert-find-delete-contents)
4746 (rst-shift-fill-region, rst-compute-bullet-tabs)
4747 (rst-debug-print-tabs, rst-debug-mark-found)
4748 (rst-shift-region-guts, rst-shift-region-right)
4749 (rst-shift-region-left, rst-use-char-classes)
4750 (rst-font-lock-keywords-function)
4751 (rst-font-lock-indentation-point)
4752 (rst-font-lock-find-unindented-line-begin)
4753 (rst-font-lock-find-unindented-line-end)
4754 (rst-font-lock-find-unindented-line)
4755 (rst-font-lock-adornment-point, rst-font-lock-level)
4756 (rst-adornment-level-alist): Remove functions and variables.
4757
4758 (rst-compare-adornments, rst-get-adornment-match)
4759 (rst-suggest-new-adornment, rst-get-adornments-around)
4760 (rst-adornment-complete-p, rst-get-next-adornment)
4761 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4762 (rst-straighten-adornments): Standardize function names to
4763 use "adornment" instead of "decoration". Correct callers.
4764 Similar standardizing in many places.
4765
4766 (rst-update-section, rst-adjust, rst-promote-region)
4767 (rst-enumerate-region, rst-bullet-list-region)
4768 (rst-repeat-last-character): Correct use of `interactive'.
4769
4770 (rst-classify-adornment, rst-find-all-adornments)
4771 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4772 (rst-find-leftmost-column, rst-repeat-last-character):
4773 Refactor functions.
4774
4775 (rst-find-title-line, rst-reset-section-caches)
4776 (rst-get-adornments-around, rst-adjust-adornment-work)
4777 (rst-arabic-to-roman, rst-roman-to-arabic)
4778 (rst-insert-list-pos, rst-insert-list-new-item)
4779 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4780 New functions.
4781
4782 (rst-all-sections, rst-section-hierarchy)
4783 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4784 New variables.
4785
4786 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4787 configuration instead of only buffer. Change where necessary.
4788
4789 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4790 (rst-shift-region, rst-adaptive-fill): New functions for
4791 indentation and filling.
4792
4793 (rst-comment-line-break, rst-comment-indent)
4794 (rst-comment-insert-comment, rst-comment-region)
4795 (rst-uncomment-region): New functions for handling comments.
4796
4797 (rst-compile): Quote shell arguments.
4798
4799 (rst-compile-pdf-preview, rst-compile-slides-preview):
4800 Delete temporary files after use.
4801
4802 2012-05-05 Glenn Morris <rgm@gnu.org>
4803
4804 * calendar/cal-html.el: Optionally include holidays in the output.
4805 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4806 (cal-html-holidays): New option.
4807 (cal-html-css-default): Add holiday entry.
4808 (holiday-in-range): Autoload it.
4809 (cal-html-htmlify-entry): Add optional class argument.
4810 (cal-html-htmlify-list): Add optional holidays argument.
4811 (cal-html-insert-agenda-days): Include holidays in the output.
4812 (cal-html-one-month): Maybe include holidays.
4813
4814 * calendar/holidays.el (holiday-in-range):
4815 Move here from cal-tex-list-holidays.
4816 * calendar/cal-tex.el (cal-tex-list-holidays):
4817 Make it an obsolete alias for holiday-in-range. Update all callers.
4818
4819 2012-05-05 Chong Yidong <cyd@gnu.org>
4820
4821 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4822 Nextstep.
4823
4824 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4825
4826 * files.el (file-auto-mode-skip): New var.
4827 (set-auto-mode-1): Use it.
4828
4829 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * repeat.el: Use lexical-binding.
4832 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4833 (repeat-undo-count): Remove.
4834 (repeat):
4835 * progmodes/octave-mod.el (octave-abbrev-start):
4836 * progmodes/f90.el (f90-abbrev-start):
4837 * face-remap.el (text-scale-adjust):
4838 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4839
4840 * emacs-lisp/pcase.el (pcase--let*): New function.
4841 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4842 a bit more.
4843 (pcase--split-pred): Be more clever about ruling out overlap between
4844 a predicate and some constant pattern.
4845 (pcase--q1): Use `null' instead of (eq foo nil).
4846
4847 * subr.el (setq-local, defvar-local): New macros.
4848 (kbd): Redefine as an alias.
4849 (with-selected-window): Leave unrelated frames alone.
4850 (set-temporary-overlay-map): New function.
4851
4852 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * subr.el (user-error): New function.
4855 * window.el (switch-to-buffer):
4856 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4857 (smerge-match-conflict):
4858 * simple.el (previous-matching-history-element)
4859 (next-matching-history-element, goto-history-element, undo-more)
4860 (undo-start):
4861 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4862 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4863 (next-file, tags-loop-scan, list-tags, complete-tag):
4864 * progmodes/compile.el (compilation-loop):
4865 * mouse.el (mouse-minibuffer-check):
4866 * man.el (Man-bgproc-sentinel, Man-goto-page):
4867 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4868 (Info-history-forward, Info-follow-reference, Info-menu)
4869 (Info-extract-menu-item, Info-extract-menu-counting)
4870 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4871 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4872 (Info-next-reference, Info-prev-reference, Info-index)
4873 (Info-index-next, Info-follow-nearest-node)
4874 (Info-copy-current-node-name):
4875 * imenu.el (imenu--make-index-alist)
4876 (imenu-default-create-index-function, imenu-add-to-menubar):
4877 * files.el (basic-save-buffer, recover-file):
4878 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4879 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4880 (checkdoc-message-text, checkdoc-defun):
4881 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4882 * cus-edit.el (customize-changed-options, customize-rogue)
4883 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4884 (custom-variable-mark-to-reset-standard)
4885 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4886 (custom-file):
4887 * completion.el (check-completion-length):
4888 * comint.el (comint-search-arg)
4889 (comint-previous-matching-input-string-position)
4890 (comint-previous-matching-input)
4891 (comint-replace-by-expanded-history-before-point, comint-send-input)
4892 (comint-copy-old-input, comint-backward-matching-input)
4893 (comint-goto-process-mark, comint-set-process-mark):
4894 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4895 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4896
4897 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * dabbrev.el (dabbrev--ignore-case-p): New function.
4900 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4901 Use it.
4902
4903 * files.el (automount-dir-prefix): Mark as obsolete.
4904
4905 2012-05-04 Glenn Morris <rgm@gnu.org>
4906
4907 * patcomp.el, play/bruce.el: Move to obsolete/.
4908
4909 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4910
4911 Fix minor Y10k bugs.
4912 * arc-mode.el (archive-unixdate):
4913 * autoinsert.el (auto-insert-alist):
4914 * calc/calc-forms.el (math-this-year):
4915 * emacs-lisp/copyright.el (copyright-current-year)
4916 (copyright-update-year, copyright):
4917 * tar-mode.el (tar-clip-time-string):
4918 * time.el (display-time-update):
4919 Don't assume years have 4 digits.
4920
4921 2012-05-04 Chong Yidong <cyd@gnu.org>
4922
4923 * dos-w32.el (file-name-buffer-file-type-alist)
4924 (direct-print-region-use-command-dot-com):
4925 * ffap.el (ffap-menu-regexp):
4926 * find-file.el (ff-special-constructs):
4927 * follow.el (follow-debug):
4928 * forms.el (forms--debug):
4929 * iswitchb.el (iswitchb-all-frames):
4930 * ido.el (ido-all-frames):
4931 * emacs-lisp/timer.el (timer-max-repeats):
4932 * mail/feedmail.el (feedmail-mail-send-hook)
4933 (feedmail-mail-send-hook-queued):
4934 * mail/footnote.el (footnote-signature-separator):
4935 * mail/mailabbrev.el (mail-alias-separator-string)
4936 (mail-abbrev-mode-regexp):
4937 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4938 * progmodes/idlwave.el (idlwave-libinfo-file)
4939 (idlwave-default-completion-case-is-down)
4940 (idlwave-library-routines): Convert defvars to defcustoms.
4941
4942 * mail/rmail.el (rmail-decode-mime-charset):
4943 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4944 (idlwave-shell-fix-inserted-breaks)
4945 (idlwave-shell-activate-alt-keybindings)
4946 (idlwave-shell-use-breakpoint-glyph):
4947 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4948
4949 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4952
4953 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4954
4955 * progmodes/verilog-mode.el (font-lock-keywords):
4956 Fix mis-highligting auto. Reported by Craig Barner.
4957 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4958 defines from global name space. Reported by Dan Dever.
4959 (verilog-auto-reset, verilog-auto-reset-widths)
4960 (verilog-auto-tieoff): Support using unbased numbers for
4961 AUTORESET and AUTOTIEOFF.
4962 (verilog-submit-bug-report): Update variable list.
4963 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4964 parenthesis from not matching. Reported by Michael Rytting.
4965 (verilog-auto-template-lint): Fix hash error when linting modules
4966 with no used templates.
4967 (verilog-warn, verilog-warn-error)
4968 (verilog-warn-fatal): When non-interactive report multiple
4969 warnings before exiting. Suggested by Brad Dobbie.
4970 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4971 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4972 to report unused template errors. Reported by Brad Dobbie.
4973 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4974 nets, bug438. Reported by Vns Blore.
4975 (verilog-auto-inout-module, verilog-auto-reg)
4976 (verilog-read-decls, verilog-read-sub-decls-sig)
4977 (verilog-signals-edit-wire-reg, verilog-signals-with):
4978 Fix passing of Verilog data types in ANSI input/output ports
4979 such as "output logic" into the AUTOs. Special case "wire" and
4980 "reg" for backwards compatibility presuming Verilog 2001.
4981 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4982 (verilog-preprocess): Fix replication of preprocess output.
4983 Reported by Brad Dobbie.
4984 (verilog-auto-inst-interfaced-ports):
4985 Create verilog-auto-inst-interfaced-ports, bug429.
4986 Reported by Julian Gorfajn.
4987 (verilog-after-save-font-hook)
4988 (verilog-before-save-font-hook): New variable.
4989 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4990 (verilog-save-font-mods): Wrap disabling fontification, reported
4991 by David Rogoff.
4992 (verilog-do-indent, verilog-pretty-declarations-auto)
4993 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4994 Reported by Pierre-David Pfister.
4995 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4996 of class declarations, bug292. Reported by Kevin Heilman.
4997 (verilog-read-decls): Fix 'parameter type' not appearing in
4998 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4999 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5000 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5001 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5002 Reported by David Kravitz.
5003
5004 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5005
5006 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5007 assignment with tests in ifs and for loops.
5008 (verilog-extended-complete-re, verilog-complete-reg): Change so
5009 that DPI inport functions don't look like fuction declarations.
5010 (verilog-pretty-expr): Don't line up assignment
5011 operations to the test and increment in if and for loops
5012 (verilog-extended-complete-re, verilog-complete-reg): Change so
5013 that DPI inport functions don't look like fuction declarations.
5014
5015 2012-05-03 Kenichi Handa <handa@m17n.org>
5016
5017 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5018 decoding, and show a warning message without signaling an error
5019 (Bug#11282).
5020
5021 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * emacs-lisp/bytecomp.el
5024 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5025 since cconv.el might have introduced :fun-body, internal-make-closure,
5026 and friends for bytecomp to handle (bug#11391).
5027 * custom.el (defcustom): Avoid ((λ ..) ..).
5028
5029 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5032
5033 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * notifications.el (dbus-debug):
5036 * term/linux.el (gpm-mouse-enable):
5037 * term/screen.el (xterm-register-default-colors): Declare.
5038
5039 2012-05-02 Chong Yidong <cyd@gnu.org>
5040
5041 * cus-start.el (gc-cons-percentage, exec-suffixes)
5042 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5043 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5044 (make-cursor-line-fully-visible, void-text-area-pointer)
5045 (font-list-limit): Add customization data.
5046
5047 * allout.el (allout-exposure-change-functions)
5048 (allout-structure-added-functions)
5049 (allout-structure-deleted-functions)
5050 (allout-structure-shifted-functions): Rename abnormal hooks from
5051 *-hook, and convert to defcustoms.
5052 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5053 Convert to defcustoms.
5054 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5055
5056 * allout-widgets.el: Hook callers changed.
5057
5058 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5059
5060 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5061 the yanked message in preference to the default value of
5062 buffer-file-coding-system.
5063
5064 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5065
5066 * window.el (display-buffer--action-function-custom-type):
5067 Fix entry.
5068
5069 2012-05-02 Alan Mackenzie <acm@muc.de>
5070
5071 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5072
5073 2012-05-01 Glenn Morris <rgm@gnu.org>
5074
5075 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5076
5077 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5078
5079 * cus-edit.el (custom-variable-documentation): Simplify with format.
5080
5081 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5082 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * simple.el (suggest-key-bindings, execute-extended-command):
5085 Move from keyboard.c.
5086
5087 2012-05-01 Chong Yidong <cyd@gnu.org>
5088
5089 * follow.el: Eliminate advice.
5090 (set-process-filter, process-filter, sit-for): Advice deleted.
5091 (follow-mode-off-hook): Obsolete hook removed.
5092 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5093 Vars deleted.
5094 (follow-auto): Use a :set function.
5095 (follow-mode): Rewritten. Don't advise process filters.
5096 (follow-switch-to-current-buffer-all, follow-scroll-up)
5097 (follow-scroll-down): Assume follow-mode is bound.
5098 (follow-comint-scroll-to-bottom)
5099 (follow-align-compilation-windows): New functions.
5100 (follow--window-sorter): New function.
5101 (follow-all-followers): Use it to explicitly sort windows by their
5102 positions; don't make assumptions about next-window order.
5103 (follow-windows-start-end, follow-delete-other-windows-and-split)
5104 (follow-calc-win-start): Doc fix.
5105 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5106 vertical-motion unnecessarily.
5107 (follow-adjust-window): New function.
5108 (follow-post-command-hook): Use it.
5109 (follow-call-set-process-filter, follow-call-process-filter)
5110 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5111 (follow-stop-intercept-process-output, follow-generic-filter):
5112 Functions deleted.
5113 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5114 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5115 New functions, replacing advice on scroll-bar-* commands.
5116 (follow-mwheel-scroll): New function (Bug#4112).
5117
5118 * comint.el (comint-adjust-point): New function.
5119 (comint-postoutput-scroll-to-bottom): Use it.
5120 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5121
5122 2012-05-01 Glenn Morris <rgm@gnu.org>
5123
5124 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5125 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5126 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5127 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5128 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5129 Remove no-byte-compile setting.
5130
5131 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5134 all-completions code to not return a number in the last cdr.
5135
5136 2012-04-30 Leo Liu <sdl.web@gmail.com>
5137
5138 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5139 read-only error.
5140
5141 2012-04-29 Chong Yidong <cyd@gnu.org>
5142
5143 * follow.el (follow-calc-win-end): Rewrite to handle partial
5144 screen lines correctly (Bug#8390).
5145 (follow-avoid-tail-recenter): Minor cleanup.
5146
5147 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 Avoid the obsolete `assoc' package.
5150 * speedbar.el (speedbar-refresh): Avoid adelete.
5151 (speedbar-file-lists): Simplify and avoid aput.
5152 * man.el (Man--sections, Man--refpages): New vars, replacing
5153 Man-sections-alist and Man-refpages-alist.
5154 (Man-build-section-alist, Man-build-references-alist):
5155 Use them; avoid aput.
5156 (Man--last-section, Man--last-refpage): New vars.
5157 (Man-follow-manual-reference): Use them.
5158 Use the `default' arg of completing-read.
5159 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5160
5161 2012-04-27 Chong Yidong <cyd@gnu.org>
5162
5163 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5164
5165 * startup.el (x-apply-session-resources): New function.
5166
5167 * term/ns-win.el (ns-initialize-window-system):
5168 * term/w32-win.el (w32-initialize-window-system):
5169 * term/x-win.el (x-initialize-window-system): Use it to properly
5170 set menu-bar-mode and other vars from X resources, even if the
5171 initial frame is not a window-system frame (Bug#2299).
5172
5173 * subr.el (read-key): Avoid running filter function when setting
5174 up temporary tool bar entries (Bug#9922).
5175
5176 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5177
5178 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5179 (Bug#11344)
5180
5181 2012-04-27 Chong Yidong <cyd@gnu.org>
5182
5183 * select.el (xselect--encode-string): New function, split from
5184 xselect-convert-to-string.
5185 (xselect-convert-to-string): Use it.
5186 (xselect-convert-to-filename, xselect-convert-to-os)
5187 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5188 returned strings are properly encoded (Bug#11315).
5189
5190 2012-04-27 Chong Yidong <cyd@gnu.org>
5191
5192 * simple.el (delete-active-region): Move to killing custom group.
5193
5194 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5195
5196 * progmodes/which-func.el (which-func-current): Quote %
5197 characters for mode-line processing.
5198
5199 2012-04-27 Chong Yidong <cyd@gnu.org>
5200
5201 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5202 reaching eob (Bug#11286).
5203
5204 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5205
5206 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5207 (gdb): Make it buffer-local and init to zero.
5208 (gdb-control-commands-regexp): New variable.
5209 (gdb-send): Don't wrap in "-interpreter-exec console" if
5210 gdb-control-level is positive. Increment gdb-control-level
5211 whenever the command matches gdb-control-commands-regexp, and
5212 decrement it each time the command is "end". (Bug#11279)
5213
5214 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5215
5216 * window.el (adjust-window-trailing-edge, enlarge-window)
5217 (shrink-window, window-resize):
5218 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5219 windows (Bug#11276).
5220
5221 2012-04-27 Chong Yidong <cyd@gnu.org>
5222
5223 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5224 fix "missing prefix" warning. All callers changed.
5225
5226 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emacs-lisp/assoc.el: Move to obsolete/.
5229
5230 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5233
5234 * term/ns-win.el (ns-define-service):
5235 * progmodes/pascal.el (pascal-goto-defun):
5236 * progmodes/js.el (js--read-tab):
5237 * progmodes/etags.el (tags-lazy-completion-table):
5238 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5239 * emacs-lisp/ewoc.el (ewoc--wrap):
5240 * emacs-lisp/assoc.el (aput, adelete, amake):
5241 * doc-view.el (doc-view-convert-current-doc):
5242 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5243
5244 2012-04-26 Chong Yidong <cyd@gnu.org>
5245
5246 * image.el (image-type-from-buffer): Only return supported image
5247 type (Bug#9045).
5248
5249 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5250 value, for symmetry with diff-end-of-hunk.
5251 (diff-split-hunk, diff-find-source-location)
5252 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5253 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5254 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5255 compute the relevant hunk or file properly (Bug#6005).
5256 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5257
5258 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * vc/vc-mtn.el:
5261 * vc/vc-hg.el:
5262 * vc/vc-git.el:
5263 * vc/vc-dir.el:
5264 * vc/vc-cvs.el:
5265 * vc/vc-bzr.el:
5266 * vc/vc-arch.el:
5267 * vc/vc.el: Replace lexical-let by lexical-binding.
5268 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5269 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5270 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5271
5272 2012-04-26 Chong Yidong <cyd@gnu.org>
5273
5274 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5275 (diff-mode-shared-map): Bind it to / and [remap undo].
5276
5277 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5278 (ediff-window-setup-function): Use it as the default, to set up
5279 windows based on whether the current frame is graphical (Bug#2138).
5280 (ediff-choose-window-setup-function-automatically): Make obsolete.
5281
5282 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5283
5284 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * ffap.el: Remove old code for obsolete package.
5287 (ffap-complete-as-file-p): Remove.
5288
5289 Use completion-table-with-quoting for comint and pcomplete.
5290 * comint.el (comint--unquote&requote-argument)
5291 (comint--unquote-argument, comint--requote-argument): New functions.
5292 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5293 (comint-quote-filename): Use regexp-opt-charset.
5294 (comint--common-suffix, comint--common-quoted-suffix)
5295 (comint--table-subvert): Remove.
5296 (comint-unquote-function, comint-requote-function): New vars.
5297 (comint--complete-file-name-data): Use them with
5298 completion-table-with-quoting.
5299 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5300 * pcomplete.el (pcomplete-arg-quote-list)
5301 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5302 (pcomplete-unquote-argument-function): Default to non-nil.
5303 (pcomplete-unquote-argument): Simplify.
5304 (pcomplete--common-quoted-suffix): Remove.
5305 (pcomplete-requote-argument-function): New var.
5306 (pcomplete--common-suffix): New function.
5307 (pcomplete-completions-at-point): Use completion-table-with-quoting
5308 and completion-table-subvert.
5309
5310 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5311 (minibuffer--double-dollars): Preserve properties.
5312 (completion--sifn-requote): New function.
5313 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5314
5315 * minibuffer.el: Add support for completion of quoted/escaped data.
5316 (completion-table-with-quoting, completion-table-subvert): New funs.
5317 (completion--twq-try, completion--twq-all): New functions.
5318 (completion--nth-completion): New function.
5319 (completion-try-completion, completion-all-completions): Use it.
5320
5321 2012-04-25 Leo Liu <sdl.web@gmail.com>
5322
5323 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5324 Use compilation-message if available to find real filename.
5325
5326 2012-04-25 Chong Yidong <cyd@gnu.org>
5327
5328 * vc/diff-mode.el (diff-setup-whitespace): New function.
5329 (diff-mode): Use it.
5330
5331 * vc/diff.el (diff-sentinel):
5332 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5333 Whitespace mode variables based on diff style (Bug#8612).
5334
5335 2012-04-25 Leo Liu <sdl.web@gmail.com>
5336
5337 * progmodes/python.el (python-send-region): Add suffix .py to the
5338 temp file.
5339
5340 * files.el (auto-mode-alist): Use javascript-mode instead.
5341
5342 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5343
5344 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5345
5346 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5347 (soap-resolve-references-for-array-type): Hack to prevent self
5348 references, see Bug#9.
5349 (soap-parse-envelope): Report the contents of the 'detail' node
5350 when receiving a fault reply.
5351 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5352
5353 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5354 (soap-inspect-simple-type): New function.
5355
5356 * net/soap-client.el (soap-simple-type): New struct.
5357 (soap-default-xsd-types, soap-default-soapenc-types)
5358 (soap-decode-basic-type, soap-encode-basic-type):
5359 support unsignedInt and double basic types.
5360 (soap-resolve-references-for-simple-type)
5361 (soap-parse-simple-type, soap-encode-simple-type): New function.
5362 (soap-parse-schema): Parse xsd:simpleType declarations.
5363
5364 * net/soap-client.el (soap-default-xsd-types)
5365 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5366 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5367 the local name of "soapenc:Array".
5368 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5369 decoding integer, byte and anyURI xsd types.
5370
5371 2012-04-25 Chong Yidong <cyd@gnu.org>
5372
5373 * cus-edit.el (custom-buffer-create-internal): Update header text.
5374
5375 2012-04-25 Eli Zaretskii <eliz@gnu.org>
5376
5377 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5378 settings on 'system-type', not on 'window-system'. On MS-Windows,
5379 set interactive-mode on in GDB.
5380
5381 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5384 (ruby-syntax-propertize-regexp): Remove.
5385 (ruby-syntax-propertize-function): Split regexp into chunks.
5386 Match following code directly.
5387
5388 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5389
5390 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5391 (ruby-syntax-propertize-regexp): New function.
5392 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5393 by a special keyword.
5394
5395 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5396 (ruby-syntax-general-delimiters-goto-beg)
5397 (ruby-syntax-propertize-general-delimiters): New functions.
5398 (ruby-syntax-propertize-function): Use them to handle GDL.
5399 (ruby-font-lock-keywords): Move old handling of GDL...
5400 (ruby-font-lock-syntactic-keywords): .. to here.
5401 (ruby-calculate-indent): Adjust indentation for GDL.
5402
5403 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
5404
5405 * notifications.el (top): Remove unneeded declarations.
5406 (notifications-specification-version): Change to "1.2".
5407 (notifications-interface, notifications-notify-method)
5408 (notifications-close-notification-method): Fix docstring.
5409 (notifications-get-capabilities-method): New defconst.
5410 (notifications-notify): Add :action-items, :resident and
5411 :transient hints. Change "image_data" to "image-data" and
5412 "image_path" to "image-path".
5413 (notifications-get-capabilities): New defun.
5414
5415 2012-04-24 Leo Liu <sdl.web@gmail.com>
5416
5417 * progmodes/python.el: Move hideshow setup to the end.
5418
5419 2012-04-24 Martin Rudalics <rudalics@gmx.at>
5420
5421 * window.el (handle-select-window): Clear echo area since this is
5422 no more done by read_char (Bug#11304).
5423
5424 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5427 and `/ M' to filter-derived-mode.
5428 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5429 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5430 (ibuffer-mark-by-mode): Use default rather than initial-input.
5431 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5432
5433 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5434
5435 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5436 (ibuffer-filter-by-derived-mode): New filter.
5437 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5438
5439 2012-04-23 Andreas Politz <politza@fh-trier.de>
5440
5441 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5442
5443 2012-04-23 Chong Yidong <cyd@gnu.org>
5444
5445 * cus-edit.el (customize-apropos, customize-apropos-options):
5446 Disable matching of non-option variables (Bug#11176).
5447 (customize-option, customize-option-other-window)
5448 (customize-changed-options): Doc fix.
5449 (customize-apropos-options, customize-apropos-faces)
5450 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5451
5452 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5453 Fix word list splitting (Bug#11132).
5454 (apropos-symbol, apropos-keybinding, apropos-label)
5455 (apropos-property, apropos-function-button)
5456 (apropos-variable-button, apropos-misc-button): New faces.
5457 (apropos-symbol-face, apropos-keybinding-face)
5458 (apropos-label-face, apropos-property-face, apropos-match-face):
5459 Variables removed (Bug#8396).
5460 (apropos-library-button, apropos-format-plist, apropos-print)
5461 (apropos-print-doc, apropos-describe-plist): Callers changed.
5462
5463 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
5464
5465 * net/xesam.el (xesam-mode-map): Use let-bound map in
5466 initialization. (Bug#11292)
5467
5468 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5469
5470 Preserve ispell session localwords when switching back to
5471 original buffer.
5472
5473 * textmodes/ispell.el (ispell-buffer-session-localwords):
5474 New buffer-local variable to hold buffer session localwords.
5475 (ispell-kill-ispell): Add option 'clear to delete session
5476 localwords.
5477 (ispell-command-loop, ispell-change-dictionary)
5478 (ispell-buffer-local-words): Preserve session localwords when
5479 needed.
5480
5481 * textmodes/flyspell.el (flyspell-process-localwords)
5482 (flyspell-do-correct): Preserve session localwords when needed.
5483
5484 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5485
5486 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5487 using obsolete `translation-table-for-input'.
5488 (ispell-word, ispell-process-line, ispell-complete-word):
5489 Use plain `insert' instead of removed `ispell-insert-word'.
5490
5491 2012-04-22 Chong Yidong <cyd@gnu.org>
5492
5493 * cus-edit.el (custom-variable-menu)
5494 (custom-variable-reset-saved, custom-face-menu)
5495 (custom-face-reset-saved): If there is no saved value, make the
5496 "reset-saved" operation bring back the default (Bug#9509).
5497 (custom-face-state): Properly detect themed faces.
5498
5499 * faces.el (face-spec-set): Stop supporting deprecated form of
5500 third arg.
5501
5502 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
5503
5504 Move functions from C to Lisp. Make non-blocking method calls
5505 the default. Implement further D-Bus standard interfaces.
5506
5507 * net/dbus.el (dbus-message-internal): Declare function.
5508 Remove unneeded function declarations.
5509 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5510 (dbus-message-type-method-return, dbus-message-type-error)
5511 (dbus-message-type-signal): Declare variables. Remove local
5512 definitions.
5513 (dbus-interface-dbus, dbus-interface-peer)
5514 (dbus-interface-introspectable, dbus-interface-properties)
5515 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5516 Adapt docstring.
5517 (dbus-interface-objectmanager): New defconst.
5518 (dbus-call-method, dbus-call-method-asynchronously)
5519 (dbus-send-signal, dbus-method-return-internal)
5520 (dbus-method-error-internal, dbus-register-service)
5521 (dbus-register-signal, dbus-register-method): New defuns, moved
5522 from dbusbind.c
5523 (dbus-call-method-handler, dbus-setenv)
5524 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5525 New defuns.
5526 (dbus-call-method-non-blocking): Make it an obsolete function.
5527 (dbus-unregister-object, dbus-unregister-service)
5528 (dbus-handle-event, dbus-register-property)
5529 (dbus-property-handler): Obey the new structure of
5530 `bus-registered-objects'.
5531 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5532 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5533 Use `dbus-call-method'.
5534
5535 2012-04-22 Chong Yidong <cyd@gnu.org>
5536
5537 * cus-edit.el (custom-commands, custom-reset-menu)
5538 (Custom-reset-standard): Tweak labels.
5539 (custom-reset-button-menu): Change default to t.
5540 (custom-buffer-create-internal): For the custom-reset-button-menu
5541 case, put the revert button first.
5542 (custom-group-subtitle): New face.
5543 (custom-group-value-create): Align docstring to a specific column.
5544
5545 * wid-edit.el (widget-documentation-link-add): Don't handle
5546 indentation in this function.
5547 (widget-documentation-string-indent-to): New function.
5548 (widget-documentation-string-value-create): Use it.
5549
5550 * autorevert.el (auto-revert):
5551 * epg-config.el (epg):
5552 * ibuffer.el (ibuffer):
5553 * mpc.el (mpc):
5554 * ses.el (ses):
5555 * eshell/eshell.el (eshell):
5556 * net/ange-ftp.el (ange-ftp):
5557 * progmodes/ebnf2ps.el (postscript):
5558 * progmodes/flymake.el (flymake):
5559 * progmodes/prolog.el (prolog):
5560 * progmodes/verilog-mode.el (verilog-mode):
5561 * progmodes/which-func.el (which-func):
5562 * term/xterm.el (xterm):
5563 * textmodes/picture.el (picture):
5564 * textmodes/tildify.el (tildify):
5565 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5566 customization buffers.
5567
5568 2012-04-22 Alan Mackenzie <acm@muc.de>
5569
5570 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5571 Adding a ) can hide the resulting (..) from searches. Fix it.
5572 Bound the backward search to the position of the existing (.
5573
5574 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5575
5576 * progmodes/verilog-mode.el (verilog-mode): Check whether
5577 which-func-modes is t before adding verilog-mode.
5578 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5579
5580 2012-04-21 Leo Liu <sdl.web@gmail.com>
5581
5582 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5583
5584 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5585
5586 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5587 filling of the last column of a table (Bug#5635).
5588 (woman-find-next-control-line): New arg, specifying an additional
5589 regexp component for the control line.
5590 (woman2-roff-buffer): Use it.
5591 (woman-break-table): New function.
5592 (woman2-TS): Use it.
5593
5594 2012-04-21 Chong Yidong <cyd@gnu.org>
5595
5596 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5597 (woman-horizontal-escapes, woman-negative-vertical-space)
5598 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5599 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5600
5601 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * minibuffer.el (completion-file-name-table): Complete user names.
5604
5605 2012-04-20 Leo Liu <sdl.web@gmail.com>
5606
5607 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5608 and pcase-let*.
5609
5610 2012-04-20 Chong Yidong <cyd@gnu.org>
5611
5612 * server.el (server-execute): Respect initial-buffer-choice if it
5613 is a string and there are no files to open (Bug#2825).
5614 (server-create-window-system-frame, server-create-tty-frame):
5615 Don't switch buffers here.
5616 (server-process-filter): Only try to open a window system frame if
5617 compiled with graphical support (Bug#8314).
5618
5619 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5620
5621 * battery.el (battery-echo-area-format): Display remaining time
5622 for sysfs backend too (Bug#11269).
5623 (battery-linux-sysfs): Fix conditional for the charge.
5624
5625 2012-04-20 Chong Yidong <cyd@gnu.org>
5626
5627 * progmodes/gdb-mi.el (gdb): Revert previous change.
5628 (gdb-inferior-io--init-proc): New function.
5629 (gdb-init-1): Use it.
5630 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5631 responsible for allocating a new pty and hooking it to gdb when
5632 the old pty gets an EIO due to process exit.
5633 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5634 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5635 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5636
5637 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5638
5639 * window.el (window-min-size, window-sizable, window-min-delta)
5640 (window-max-delta, window--resizable, window-resizable)
5641 (window-total-size, window-full-height-p, window-full-width-p)
5642 (window-in-direction, window--resize-mini-window, window-resize)
5643 (window--resize-child-windows-normal)
5644 (window--resize-child-windows, window--resize-siblings)
5645 (window--resize-this-window, adjust-window-trailing-edge)
5646 (enlarge-window, shrink-window): Doc fixes.
5647
5648 2012-04-20 Chong Yidong <cyd@gnu.org>
5649
5650 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5651 New function to call delete-process on the gdb-inferior buffer's pty.
5652 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5653 pty process (Bug#11273).
5654 (gdb-update): New arg to suppress talking to the gdb process.
5655 (gdb-done-or-error): Use it.
5656 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5657 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5658 sentinel not being called.
5659
5660 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5661
5662 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5663
5664 2012-04-20 Glenn Morris <rgm@gnu.org>
5665
5666 * net/network-stream.el (open-network-stream): Doc fix.
5667
5668 2012-04-20 Chong Yidong <cyd@gnu.org>
5669
5670 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5671
5672 2012-04-20 Alan Mackenzie <acm@muc.de>
5673
5674 Ensure searching for keywords is case sensitive.
5675
5676 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5677 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5678 (c-defun-name, c-mark-function, c-cpp-define-name)
5679 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5680 (c-context-line-break): Bind case-fold-search to nil.
5681
5682 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5683 Bind case-fold-search to nil.
5684
5685 2012-04-20 Chong Yidong <cyd@gnu.org>
5686
5687 * mail/sendmail.el (mail-bury): Call return action with the right
5688 Rmail buffer (Bug#11242).
5689
5690 * server.el (server-process-filter): Handle corner case where both
5691 tty and nowait options are present (Bug#11102).
5692
5693 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5694
5695 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5696 (top level): Put into the executable the ident-style '$Id:' tag on
5697 windows-nt as well.
5698
5699 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * electric.el (electric-indent-post-self-insert-function): Check that
5702 electric-indent-mode is enabled in current buffer.
5703
5704 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5705
5706 * imenu.el (imenu-progress-message): Restore; it is "used" in
5707 erc/erc-imenu.el and net/snmp-mode.el.
5708
5709 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5710
5711 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5712 (mouse-avoidance-nudge-mouse): Remove unused binding.
5713
5714 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5715
5716 * descr-text.el (describe-char):
5717 * progmodes/python.el (python-describe-symbol):
5718 Don't call `toggle-read-only', set `buffer-read-only'.
5719
5720 * imenu.el (imenu-default-goto-function): Mark unused args.
5721 (imenu-progress-message): Remove obsolete macro; all callers changed.
5722
5723 * subr.el (keymap-canonicalize): Remove unused binding.
5724 (read-passwd): Mark unused arg.
5725
5726 * tutorial.el (tutorial--display-changes): Remove unused binding.
5727 (tutorial--save-tutorial-to): Remove unused variable.
5728
5729 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5730 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5731 (package-generate-autoloads, package-menu--generate)
5732 (package-menu--find-upgrades): Remove unused bindings.
5733
5734 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5735 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5736 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5737 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5738 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5739 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5740 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5741 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5742 (cua-delete-char-rectangle): Mark unused args.
5743 (cua-align-rectangle): Remove unused binding.
5744
5745 * mail/rmail.el (compilation--message->loc)
5746 (epa--find-coding-system-for-mime-charset): Declare.
5747
5748 * net/dbus.el (dbus-register-service): Declare.
5749 (dbus-name-owner-changed-handler): Remove unused binding.
5750
5751 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5752 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5753 (nxml-scan-backward-within): Mark unused arg.
5754 (nxml-dynamic-markup-word): Remove unused binding.
5755
5756 * mouse.el (mouse-menu-major-mode-map):
5757 * emacs-lisp/authors.el (authors-scan-change-log)
5758 (authors-add-to-author-list):
5759 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5760 * emacs-lisp/smie.el (smie-auto-fill):
5761 * mail/sendmail.el (mail-bury):
5762 * mail/unrmail.el (unrmail):
5763 * net/tls.el (open-tls-stream):
5764 * textmodes/picture.el (picture-mouse-set-point):
5765 Remove unused bindings.
5766
5767 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5768
5769 * net/tramp.el (tramp-action-password): Let-bind
5770 `enable-recursive-minibuffers' to t.
5771
5772 2012-04-18 Sam Steingold <sds@gnu.org>
5773
5774 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5775 instead of 'string to accommodate values like [f11].
5776 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5777 * progmodes/gdb-mi.el: Likewise.
5778
5779 2012-04-18 Leo Liu <sdl.web@gmail.com>
5780
5781 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5782 current buffer.
5783 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5784 LOCAL is nil.
5785
5786 2012-04-18 Chong Yidong <cyd@gnu.org>
5787
5788 * simple.el (line-move): Use forward-line if in batch mode
5789 (Bug#11053).
5790
5791 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5792
5793 * files.el (after-find-file): Do not try to add a final newline if
5794 the buffer is read-only (Bug#11156).
5795
5796 2012-04-17 Richard Stallman <rms@gnu.org>
5797
5798 * mail/rmail.el (rmail-start-mail):
5799 Pass (rmail-mail-return...) for the return-action.
5800 Pass (rmail-yank-current-message...) for the yank-action.
5801 (rmail-yank-current-message): New function.
5802 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5803 (rmail-reply): Likewise.
5804 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5805
5806 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5807 buffer, not the last. Reject temp buffers. Use the rmail-mode
5808 buffer, not newbuf.
5809
5810 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5811
5812 * server.el (server-ensure-safe-dir): Simplify.
5813
5814 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * emacs-lisp/smie.el: Provide smarter auto-filling.
5817 (smie-auto-fill): New function.
5818 (smie-setup): Use it.
5819
5820 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5821
5822 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5823
5824 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5825 (comment-indent): Use it.
5826
5827 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
5828
5829 * ses.el: The overall change is to add cell renaming, that is
5830 setting fancy names for cell symbols other than name matching
5831 "\\`[A-Z]+[0-9]+\\'" regexp .
5832 (ses-localvars): Add ses--renamed-cell-symb-list.
5833 (ses-create-cell-variable): New defun.
5834 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5835 (ses-relocate-formula): Relocate formulas only for cells the
5836 symbols of which are not renamed, i.e. symbols whose names do not
5837 match regexp "\\`[A-Z]+[0-9]+\\'".
5838 (ses-relocate-all): Relocate values only for cells the symbols of
5839 which are not renamed.
5840 (ses-load): Create cells variables as the (ses-cell ...) are read,
5841 in order to check row col consistency with cell symbol name only
5842 for cells that are not renamed.
5843 (ses-replace-name-in-formula): New defun.
5844 (ses-rename-cell): New defun.
5845
5846 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5847
5848 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5849 New option (bug#11118).
5850 (perl-calculate-indent): Respect it.
5851
5852 2012-04-17 Glenn Morris <rgm@gnu.org>
5853
5854 * dired-aux.el (dired-mark-read-string): Doc fix.
5855
5856 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5857
5858 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5859 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5860
5861 2012-04-17 Glenn Morris <rgm@gnu.org>
5862
5863 * mouse.el (mouse-drag-track):
5864 * speedbar.el (speedbar-frame-mode):
5865 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5866
5867 2012-04-16 Leo Liu <sdl.web@gmail.com>
5868
5869 * progmodes/python.el: Trivial cleanup.
5870
5871 2012-04-16 Glenn Morris <rgm@gnu.org>
5872
5873 * vc/vc.el (vc-string-prefix-p):
5874 * vc/pcvs-util.el (cvs-string-prefix-p):
5875 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5876 * mpc.el (mpc-string-prefix-p):
5877 Make all of these into obsolete aliases for string-prefix-p.
5878 Update callers.
5879 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5880
5881 * textmodes/two-column.el: Move custom options to the start.
5882 (frame-width): Remove compat definition.
5883 (2C-associate-buffer, 2C-dissociate):
5884 Use with-current-buffer rather than save-excursion.
5885 (2C-dissociate): Force a mode-line update.
5886 (2C-autoscroll): Use ignore-errors.
5887
5888 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5889 Autoload trivia.
5890
5891 * emacs-lisp/cl-extra.el (*random-state*):
5892 Remove unnecessary declaration.
5893
5894 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5895
5896 * play/cookie1.el (cookie-snarf):
5897 Give an explicit error if input file cannot be read.
5898
5899 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5900
5901 * progmodes/perl-mode.el (c-macro-expand):
5902 Remove unnecessary autoload (it is in loaddefs.el).
5903
5904 * textmodes/picture.el (picture-desired-column)
5905 (picture-update-desired-column): Convert comments to doc-strings.
5906 (picture-substitute): Remove function.
5907 (picture-mode-map): Initialize in the defvar.
5908
5909 * woman.el: Remove eval-after-load for tar-mode.
5910 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5911 (woman-tar-extract-file): Autoload it.
5912
5913 * frame.el (automatic-hscrolling): Make this alias obsolete.
5914
5915 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5916
5917 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5918 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5919 (ispell-dictionary-base-alist): Revert to original XEmacs
5920 friendly version for default. [:alpha:] will be added in
5921 `ispell-set-spellchecker-params' if needed.
5922
5923 2012-04-16 Chong Yidong <cyd@gnu.org>
5924
5925 * image.el (imagemagick--file-regexp): New variable.
5926 (imagemagick-register-types): Use it.
5927 (imagemagick-types-inhibit): Add :set function. Allow new value
5928 of t to inhibit all types.
5929
5930 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5931 so we can preload it.
5932
5933 * loadup.el (fboundp): Preload regexp-opt, needed by
5934 imagemagick-register-types.
5935
5936 2012-04-15 Chong Yidong <cyd@gnu.org>
5937
5938 * frame.el (scrolling): Remove nearly unused customization group.
5939
5940 * scroll-all.el (scroll-all-mode): Move to windows group.
5941
5942 2012-04-15 Chong Yidong <cyd@gnu.org>
5943
5944 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5945
5946 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5947
5948 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5949 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5950
5951 2012-04-15 Glenn Morris <rgm@gnu.org>
5952
5953 * simple.el (process-file-side-effects): Doc fix.
5954
5955 2012-04-15 Glenn Morris <rgm@gnu.org>
5956
5957 * international/mule-cmds.el (set-language-environment): Doc fix.
5958
5959 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5960
5961 * server.el (server-auth-key, server-generate-key): Doc fixes.
5962 (server-get-auth-key): Doc fix. Use `string-match-p'.
5963 (server-start): Reflow docstring.
5964
5965 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5966
5967 * server.el (server-generate-key): `called-interactively-p'
5968 requires a parameter.
5969
5970 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5971
5972 * server.el (server-auth-key): New variable.
5973 (server-generate-key, server-get-auth-key): New function.
5974 (server-start): Use the new variable and functions to allow
5975 setting a permanent server key (bug#9423).
5976
5977 2012-04-14 Leo Liu <sdl.web@gmail.com>
5978
5979 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5980
5981 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5982
5983 Spelling fixes.
5984 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5985 Emacs uses American spelling.
5986
5987 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5988
5989 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5990 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5991 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5992 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5993
5994 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5995
5996 * progmodes/which-func.el (which-func-modes): Change default.
5997
5998 2012-04-14 Kim F. Storm <storm@cua.dk>
5999
6000 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6001 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6002
6003 2012-04-14 Chong Yidong <cyd@gnu.org>
6004
6005 * custom.el (custom-theme-set-variables): Doc fix.
6006
6007 2012-04-14 Glenn Morris <rgm@gnu.org>
6008
6009 * international/mule.el (set-auto-coding-for-load): Doc fix.
6010
6011 2012-04-14 Alan Mackenzie <acm@muc.de>
6012
6013 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6014 imenu work again for Objective C Mode. Correct the *-index values,
6015 these having been disturbed by a previous change in 2011-08.
6016
6017 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6018 Correct two search limits.
6019
6020 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6023
6024 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6025
6026 * international/characters.el: Fix sorting.
6027
6028 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6029
6030 * international/characters.el: Add more missing Latin case pairs.
6031
6032 2012-04-14 Glenn Morris <rgm@gnu.org>
6033
6034 * files.el (dir-locals-set-class-variables): Doc fix.
6035
6036 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6037
6038 * international/characters.el: Add set-case-syntax-pair call for
6039 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6040 counterpart. (Bug#11209)
6041
6042 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6043
6044 2012-04-14 Glenn Morris <rgm@gnu.org>
6045
6046 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6047
6048 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6049
6050 * textmodes/ispell.el (ispell-dictionary-base-alist):
6051 Add data for Hebrew.
6052
6053 2012-04-14 Chong Yidong <cyd@gnu.org>
6054
6055 * net/rcirc.el (rcirc-cmd-quit):
6056 Revert 2012-03-18 change (Bug#11192).
6057
6058 2012-04-14 Glenn Morris <rgm@gnu.org>
6059
6060 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6061
6062 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6063
6064 * minibuffer.el (completion-in-region-mode-map):
6065 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6066
6067 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6068
6069 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6070
6071 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6072
6073 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6074 to allow `C-M-f' and `C-M-b' to move to the nearest path
6075 separator (bug#9511).
6076
6077 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6078
6079 * avoid.el: Require cl when compiling. And also move the
6080 `provide' to the end.
6081
6082 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6083
6084 * avoid.el (mouse-avoidance-banish-position): New variable.
6085 (mouse-avoidance-banish-destination): Use it (bug#10165).
6086
6087 2012-04-13 Leo Liu <sdl.web@gmail.com>
6088
6089 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6090
6091 2012-04-13 Ken Brown <kbrown@cornell.edu>
6092
6093 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6094 this is no longer needed now that cygstart understands file:// URLs.
6095 (browse-url-filename-alist): For the same reason, don't modify
6096 file:// URLs on Cygwin.
6097
6098 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6099
6100 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6101 the region on shift if the binding is already shifted (bug#11221).
6102
6103 2012-04-12 Glenn Morris <rgm@gnu.org>
6104
6105 * mail/mailpost.el: Move to obsolete/.
6106
6107 2012-04-12 Drew Adams <drew.adams@oracle.com>
6108
6109 * imenu.el (imenu--generic-function): Ignore invisible definitions
6110 (bug#10123).
6111
6112 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6113
6114 * hexl.el (hexl-bits): New variable.
6115 (hexl-options): Mention the variable in the doc string.
6116 (hexl-rulerise, hexl-line-displen): New functions.
6117 (hexl-mode): Mention the new variable.
6118 (hexl-mode, hexl-current-address, hexl-current-address):
6119 Use the displen.
6120 (hexl-ascii-start-column): New function.
6121 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6122 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6123
6124 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6125
6126 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6127 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6128 the encoding, as expected by hunspell.
6129
6130 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * battery.el (battery--linux-sysfs-regexp): New const.
6133 (battery-status-function): Use it. Remove yeeloong special case.
6134 (battery-yeeloong-sysfs): Remove.
6135 (battery-echo-area-format): Remove yeeloong special case.
6136
6137 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6140 Reported by Noah Friedman.
6141
6142 * subr.el (read-passwd): Use read-string.
6143
6144 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6145
6146 * vcursor.el (vcursor-move): Increase the priority of the overlay
6147 (bug#9663).
6148
6149 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6150
6151 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6152 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6153
6154 2012-04-11 William Stevenson <yhvh2000@gmail.com>
6155
6156 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6157 define-minor-mode (bug#10760).
6158
6159 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6160
6161 * progmodes/grep.el (rgrep): Tweak the find command line so
6162 that directories matching `grep-find-ignored-files' won't be
6163 pruned (bug#10351).
6164
6165 2012-04-11 Chong Yidong <cyd@gnu.org>
6166
6167 * startup.el (command-line): Remove support for long-obsolete
6168 variable font-lock-face-attributes.
6169
6170 2012-04-11 Glenn Morris <rgm@gnu.org>
6171
6172 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6173
6174 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * window.el (window--state-get-1): Obey window-point-insertion-type.
6177
6178 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6179
6180 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6181 to previous function when point is on the first character of a
6182 function. Take care of that in `narrow-to-defun' (bug#6157).
6183
6184 2012-04-11 Glenn Morris <rgm@gnu.org>
6185
6186 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6187 not just file-errors.
6188
6189 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6190 (vc-bzr-sha1): Use internal sha1.
6191
6192 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6195
6196 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6197
6198 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6199 that start in the middle of the line (bug#10496).
6200
6201 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6202
6203 * battery.el (battery-linux-proc-acpi): Only one battery is
6204 discharged at a time, but that seems to confuse battery.el when
6205 computing `rate-type' for the battery not being discharged
6206 (bug#10332).
6207
6208 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6211
6212 * international/quail.el: Use dolist and simplify.
6213 (quail-define-package, quail-update-keyboard-layout)
6214 (quail-define-rules): Use dolist.
6215 (quail-insert-kbd-layout, quail-get-translation): CSE.
6216
6217 * tmm.el: Use dolist, remove left over hook.
6218 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6219 Use dolist.
6220 (calendar-load-hook): Don't mess with it.
6221
6222 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6223 Use derived-mode-p. Run the diff asynchronously.
6224
6225 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226
6227 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6228
6229 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6230
6231 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6232 (list-dynamic-libraries--loaded): New function.
6233 (list-dynamic-libraries--refresh): Use it.
6234
6235 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6236
6237 * progmodes/python.el (python-fill-paragraph):
6238 Make python-fill-region in a multiline string work when font-lock is
6239 disabled (bug#7018).
6240
6241 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6242
6243 * language/european.el (cp775): Add oem/legacy (en)coding on
6244 DOS/MS Windows for the Baltic languages. There are still plenty
6245 of texts written in this encoding/codepage (bug#6519).
6246
6247 2012-04-10 Glenn Morris <rgm@gnu.org>
6248
6249 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6250 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6251
6252 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6253
6254 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6255 next-line "n" and previous-line "p" in order to make recentf more
6256 consistent with ibuffer, dired or org-mode (bug#9387).
6257
6258 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259
6260 * image.el (put-image): Return the overlay created instead of the
6261 optional input string (bug#7834). Note that this may break code
6262 that is (for some reason or other) depending on `put-image'
6263 returning the string.
6264
6265 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6266
6267 * simple.el (zap-to-char): Allow zapping using input methods
6268 (bug#1580).
6269
6270 * textmodes/fill.el (fill-region): Leave point and mark where they
6271 were before filling (bug#5399).
6272
6273 2012-04-09 Glenn Morris <rgm@gnu.org>
6274
6275 * version.el (emacs-bzr-get-version):
6276 Handle lightweight checkouts of local branches.
6277
6278 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6279
6280 * international/characters.el: Recover lost case pairs. (Bug#11209)
6281
6282 2012-04-09 Chong Yidong <cyd@gnu.org>
6283
6284 * custom.el (custom-variable-p): Return nil for non-symbol
6285 arguments instead of signaling an error.
6286 (user-variable-p): Obsolete alias for custom-variable-p.
6287
6288 * apropos.el (apropos-variable):
6289 * files-x.el (read-file-local-variable):
6290 * simple.el (set-variable):
6291 * woman.el (woman-mini-help):
6292 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6293
6294 2012-04-09 Glenn Morris <rgm@gnu.org>
6295
6296 * startup.el (normal-top-level): Don't look for leim-list.el
6297 in places where it will not be found. (Bug#910)
6298
6299 * international/mule-cmds.el (set-default-coding-systems):
6300 * files.el (normal-mode):
6301 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6302 This function was removed with ucs-tables.el in 2008.
6303
6304 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6305
6306 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6307 ispell-encoding8-command to "-i", without a trailing space.
6308 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6309 separate command-line arguments, to specify the encoding, since
6310 that's how hunspell expects it.
6311
6312 2012-04-08 Glenn Morris <rgm@gnu.org>
6313
6314 * loadup.el: Load bindings before cus-start.
6315 This reduces somewhat the number of "rogue" settings in emacs -Q.
6316
6317 2012-04-07 Glenn Morris <rgm@gnu.org>
6318
6319 * version.el (emacs-bzr-get-version): New function.
6320 (emacs-bzr-version): New variable.
6321 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6322 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6323
6324 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6325
6326 * international/uni-bidi.el, international/uni-category.el:
6327 * international/uni-combining.el, international/uni-decimal.el:
6328 * international/uni-decomposition.el, international/uni-digit.el:
6329 * international/uni-lowercase.el, international/uni-mirrored.el:
6330 * international/uni-name.el, international/uni-numeric.el:
6331 * international/uni-titlecase.el, international/uni-uppercase.el:
6332 Update for Unicode 6.1.
6333
6334 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6335
6336 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6337
6338 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6339
6340 * window.el (shrink-window): Mention the `window-min-height'
6341 variable in the doc string.
6342
6343 2012-04-05 Bastien Guerry <bzg@altern.org>
6344
6345 * color.el (color-lighten-name): Fix typo.
6346
6347 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * server.el (server--on-display-p): New function.
6350 (server--on-display-p): Use it.
6351
6352 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6353
6354 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6355 (bug#11145).
6356
6357 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * comint.el (comint--common-quoted-suffix): Check string boundary
6360 before comparing (bug#11158).
6361 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6362
6363 2012-04-04 Chong Yidong <cyd@gnu.org>
6364
6365 * minibuffer.el (completion-extra-properties): Doc fix.
6366
6367 * subr.el (delayed-warnings-hook): Doc fix.
6368
6369 2012-04-04 Daiki Ueno <ueno@unixuser.org>
6370
6371 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6372 selection (Bug#11159).
6373 (epa-insert-keys): Inform that the default public key will be
6374 exported if no key is selected.
6375
6376 2012-04-04 Richard Stallman <rms@gnu.org>
6377
6378 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6379
6380 2012-04-03 Chong Yidong <cyd@gnu.org>
6381
6382 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6383 mail-insert-file, not its obsolete alias mail-attach-file.
6384
6385 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
6386
6387 * notifications.el (notifications-notify): Fix docstring.
6388
6389 2012-04-02 Glenn Morris <rgm@gnu.org>
6390
6391 * emacs-lisp/authors.el (authors-aliases): Another addition.
6392
6393 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
6394
6395 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6396 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6397 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6398
6399 2012-04-01 Chong Yidong <cyd@gnu.org>
6400
6401 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6402 Handle root directory properly.
6403 (copy-directory): Caller changed.
6404
6405 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6406 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6407
6408 2012-03-31 Glenn Morris <rgm@gnu.org>
6409
6410 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6411
6412 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6413
6414 * calendar/calendar.el (calendar-window-list)
6415 (calendar-hide-window): Restore. (Bug#11140)
6416 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6417
6418 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6419
6420 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6421
6422 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6423 Check if file is a symlink (Bug#10489).
6424
6425 * files.el (copy-directory): Likewise.
6426
6427 2012-03-30 Chong Yidong <cyd@gnu.org>
6428
6429 * image.el (imagemagick-types-inhibit)
6430 (imagemagick-register-types): Doc fix.
6431
6432 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6433
6434 * textmodes/ispell.el (ispell-get-extended-character-mode):
6435 Disable extended-char-mode for hunspell. hunspell does not support it
6436 and treats ~word as ordinary words in pipe mode.
6437
6438 2012-03-30 Glenn Morris <rgm@gnu.org>
6439
6440 * tutorial.el (help-with-tutorial): Ensure local variables don't
6441 happen to make the buffer read-only. (Bug#11127)
6442
6443 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6446 (perl-calculate-indent): Return `noindent' in strings.
6447
6448 2012-03-28 Sam Steingold <sds@gnu.org>
6449
6450 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6451 instead of the broken adhockery which does not prevent calendar
6452 buffers from being displayed at random after exit.
6453 (calendar-window-list, calendar-hide-window): Remove the broken
6454 adhockery.
6455
6456 2012-03-28 Glenn Morris <rgm@gnu.org>
6457
6458 * replace.el (query-replace-map): Doc fix.
6459
6460 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6461
6462 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6463 contents. (Bug#11109)
6464
6465 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6468 (bug#11077).
6469 (avl-tree--check, avl-tree--check-node): New funs.
6470
6471 2012-03-27 Martin Rudalics <rudalics@gmx.at>
6472
6473 * window.el (switch-to-visible-buffer): New option.
6474 (switch-to-prev-buffer, switch-to-next-buffer):
6475 Observe switch-to-visible-buffer. Make sure that checking for a window
6476 showing a buffer already is done on the same frame.
6477
6478 2012-03-27 Glenn Morris <rgm@gnu.org>
6479
6480 * startup.el (mail-host-address): Doc fix.
6481
6482 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6485 than 197 variables.
6486
6487 2012-03-26 Ami Fischman <ami@fischman.org>
6488
6489 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6490
6491 2012-03-26 Glenn Morris <rgm@gnu.org>
6492
6493 * files.el (save-buffers-kill-emacs): Doc fix.
6494
6495 * startup.el (normal-top-level, command-line, command-line-1):
6496 Give them doc strings.
6497
6498 2012-03-25 Eli Zaretskii <eliz@gnu.org>
6499
6500 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6501 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6502
6503 2012-03-25 Chong Yidong <cyd@gnu.org>
6504
6505 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6506 theme if it was previously enabled before (Bug#11031).
6507
6508 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6509 spec with custom-face-get-current-spec if its :shown-value is not
6510 determined yet (Bug#9337).
6511 (customize-create-theme, custom-theme-revert): Doc fixes.
6512
6513 * button.el (button-at): Minor addition to docstring.
6514
6515 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
6516
6517 * vc/vc.el (vc-merge): Fix a prompt.
6518
6519 2012-03-24 Chong Yidong <cyd@gnu.org>
6520
6521 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6522 point (Bug#9623).
6523
6524 * button.el (button-at): Minor addition to docstring.
6525
6526 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * newcomment.el (comment-choose-indent): No space after BOL.
6529
6530 2012-03-22 Sam Steingold <sds@gnu.org>
6531
6532 * window.el (switch-to-prev-buffer): Revert last patch because the
6533 bug turned out to be an advertised feature (Elisp manual 28.14).
6534
6535 2012-03-22 Glenn Morris <rgm@gnu.org>
6536
6537 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6538 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6539
6540 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6541
6542 * net/network-stream.el (network-stream-open-starttls): Make error
6543 message under Windows be less misleading.
6544
6545 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6546
6547 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6548 understands (bug#9942).
6549
6550 2012-03-22 Chong Yidong <cyd@gnu.org>
6551
6552 * simple.el (end-of-visible-line): Handle return value of
6553 next-single-property-change properly (Bug#9371).
6554
6555 2012-03-22 Kenichi Handa <handa@m17n.org>
6556
6557 * international/quail.el (quail-insert-kbd-layout): Fix previous
6558 change. To avoid unwanted bidi reordering, use
6559 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6560
6561 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6564 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6565 (ruby-beginning-of-indent): Be more careful with the difference
6566 between word-boundary and symbol boundary.
6567 (ruby-mode-syntax-table): Make : a symbol constituent.
6568
6569 2012-03-21 Andreas Politz <politza@fh-trier.de>
6570
6571 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6572
6573 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * progmodes/etags.el (tags-completion-at-point-function):
6576 Improve last fix.
6577
6578 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6579
6580 2012-03-21 Sam Steingold <sds@gnu.org>
6581
6582 * progmodes/etags.el (tags-completion-at-point-function):
6583 Avoid the error when point is inside the pattern.
6584
6585 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6586
6587 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6588 line (Bug#10855).
6589
6590 2012-03-21 Drew Adams <drew.adams@oracle.com>
6591
6592 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6593
6594 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6595
6596 * ido.el (ido-set-current-directory, ido-read-internal)
6597 (ido-choose-completion-string, ido-completion-help): Handle nil
6598 value of ido-completion-buffer (Bug#11008).
6599
6600 2012-03-21 Sam Steingold <sds@gnu.org>
6601
6602 * window.el (switch-to-prev-buffer): Do not switch to a visible
6603 window previous buffer, just like with the frame previous buffers.
6604
6605 2012-03-21 Chong Yidong <cyd@gnu.org>
6606
6607 * faces.el (make-face, make-empty-face, copy-face):
6608 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6609 Doc fixes.
6610
6611 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6614 (widget-complete): Remove broken use of it.
6615
6616 2012-03-20 Chong Yidong <cyd@gnu.org>
6617
6618 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6619 Use string-width and truncate-string-width to handle arbitrary
6620 characters.
6621
6622 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6623
6624 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6625 to draw rectangles, not squares. (Regression introduced by revno
6626 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6627
6628 2012-03-18 Chong Yidong <cyd@gnu.org>
6629
6630 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6631 it is not yet defined (for temacs).
6632
6633 2012-03-18 Leo Liu <sdl.web@gmail.com>
6634
6635 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6636
6637 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6638
6639 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6640 (ispell-choices-win-default-height, ispell-silently-savep)
6641 (ispell-dictionary-alist, ispell-encoding8-command)
6642 (ispell-check-version, ispell-aspell-find-dictionary)
6643 (ispell-valid-dictionary-list, ispell-words-keyword)
6644 (ispell-get-word, ispell-internal-change-dictionary)
6645 (ispell-region, ispell-skip-region-list)
6646 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6647 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6648 (ispell-message-text-end, ispell-message)
6649 (ispell-buffer-local-parsing): Doc fix.
6650
6651 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6652
6653 * htmlfontify.el: Add support for code block fontification for ODT
6654 export (Bug #9914).
6655 (hfy-optimisations): Define new option
6656 `body-text-only'
6657 (hfy-fontify-buffer): Honor above setting.
6658 (hfy-begin-span, hfy-end-span): New routines factored out form
6659 `hfy-fontify-buffer'.
6660 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6661 that permit insertion of custom tags.
6662 (hfy-fontify-buffer): Use above handlers.
6663 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6664 (hfy-face-to-css): Re-defined to be a variable.
6665 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6666 over multiple runs. This is made possible by having the caller let
6667 bind a special variable `hfy-user-sheet-assoc'.
6668 (htmlfontify-string): New defun.
6669 (hfy-compile-face-map): Make sure that the last char in the
6670 buffer is correctly fontified.
6671 (hfy-face-resolve-face): Whitespace only change.
6672
6673 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6674
6675 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6676 message more clear.
6677
6678 2012-03-16 Leo Liu <sdl.web@gmail.com>
6679
6680 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6681
6682 2012-03-16 Alan Mackenzie <acm@muc.de>
6683
6684 Further optimise the handling of large macros.
6685
6686 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6687 limit to a call of `c-literal-limits'.
6688 (c-determine-+ve-limit): New function.
6689 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6690 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6691 In CASE 5B, restrict a search limit to 500.
6692 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6693
6694 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6695 Restrict macro bounds to +-500 from after-change's BEG END.
6696
6697 2012-03-16 Leo Liu <sdl.web@gmail.com>
6698
6699 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6700
6701 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6702
6703 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6704 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6705
6706 2012-03-16 Glenn Morris <rgm@gnu.org>
6707
6708 * view.el (view-buffer, view-buffer-other-window)
6709 (view-buffer-other-frame): Doc fixes re special mode-class.
6710
6711 * subr.el (eval-after-load): If named feature is provided not from
6712 a file, run after-load forms. (Bug#10946)
6713
6714 * calendar/calendar.el (calendar-insert-at-column):
6715 Handle non-unit-width characters a bit better. (Bug#10978)
6716
6717 2012-03-15 Chong Yidong <cyd@gnu.org>
6718
6719 * emacs-lisp/ring.el (ring-extend): New function.
6720 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6721
6722 * comint.el (comint-read-input-ring)
6723 (comint-add-to-input-history): Grow comint-input-ring lazily.
6724
6725 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6728 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6729
6730 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6731 (imenu-add-to-menubar): Don't add a redundant index.
6732 (imenu-update-menubar): Handle a dynamically composed keymap.
6733
6734 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6735
6736 * mail/sendmail.el (mail-encode-header):
6737 Bind rfc2047-encode-encoded-words to nil.
6738
6739 2012-03-13 Glenn Morris <rgm@gnu.org>
6740
6741 * calendar/calendar.el (calendar-string-spread):
6742 Handle non-unit-width characters a bit better. (Bug#10978)
6743
6744 2012-03-13 Leo Liu <sdl.web@gmail.com>
6745
6746 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6747 directory and file as argument (Bug#10822).
6748
6749 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6750
6751 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6752 For dynamically generated code, follow $PC.
6753 (gdb-disassembly-handler-custom): Handle no function name case.
6754
6755 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6756
6757 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6758 * emulation/ws-mode.el (ws-query-replace):
6759 * sort.el (sort-regexp-fields):
6760 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6761
6762 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * dabbrev.el: Fix cycle completion order (bug#10963).
6765 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6766 (dabbrev-completion): Don't use an obarray; provide
6767 a cycle-sort-function.
6768
6769 2012-03-12 Leo Liu <sdl.web@gmail.com>
6770
6771 * simple.el (kill-new): Use equal-including-properties for comparison.
6772 (kill-do-not-save-duplicates): Doc fix.
6773
6774 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6775
6776 * dabbrev.el: Fix cycle completion (bug#10963).
6777 Use lexical binding and wrap to 80 columns.
6778 (dabbrev-completion): Delay computing the list of completions.
6779
6780 2012-03-12 Kenichi Handa <handa@m17n.org>
6781
6782 * international/quail.el (quail-insert-kbd-layout): Surround each
6783 row by LRO and PDF instead of inserting many LRMs. Pad the left
6784 and right of each non-spacing marks. Insert invisible space
6785 between lower and upper characters to prevent composition.
6786
6787 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * minibuffer.el (minibuffer-complete): Don't get confused when the
6790 function is run twice via different commands (bug#10958).
6791 (complete-with-action): Fix docstring.
6792
6793 2012-03-12 Chong Yidong <cyd@gnu.org>
6794
6795 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6796 (nxml-completion-at-point-function): New function.
6797 (nxml-mode): Use it.
6798 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6799
6800 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6801 Load generated autoloads file before byte compiling (Bug#10970).
6802 (package--make-autoloads-and-compile): New helper fun.
6803
6804 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6805
6806 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6807
6808 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6809
6810 * autorevert.el (auto-revert-handler): Ensure, that
6811 file-readable-p is applied only for local files or in
6812 auto-revert-tail-mode.
6813
6814 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6815
6816 * server.el (server-eval-at): Handle non-tcp connections.
6817 Decode result string.
6818
6819 * server.el (server-msg-size): New constant.
6820 (server-reply-print): New function.
6821 (server-eval-and-print): Use it.
6822 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6823 Handle -print-nonl.
6824
6825 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6826
6827 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6828 (Bug#10987).
6829
6830 2012-03-11 Chong Yidong <cyd@gnu.org>
6831
6832 * simple.el (goto-line): Doc fix (Bug#9938).
6833
6834 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6835
6836 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6837 when finished (Bug#10963).
6838
6839 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6840
6841 * window.el (split-window-below): Fix bug in case where
6842 split-window-keep-point is nil (Bug#10971).
6843
6844 2012-03-11 Juri Linkov <juri@jurta.org>
6845
6846 * replace.el (replace-highlight): Set isearch-word to nil
6847 unconditionally. (Bug#10887)
6848
6849 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6850
6851 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6852 mairix-replace-illegal-chars; all callers changed. Don't remove
6853 ^, ~, and = characters: they are meaningful in mairix search specs.
6854 (mairix-widget-create-query): Add usage information about mairix
6855 search forms: negating words, searching for substrings, etc.
6856
6857 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6858
6859 * international/fontset.el (font-encoding-alist): Add an entry for
6860 ksx1001 (Bug#5667).
6861
6862 2012-03-10 Richard Stallman <rms@gnu.org>
6863
6864 * mail/sendmail.el (mail-encode-header):
6865 Set rfc2047-encode-encoded-words.
6866
6867 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6868
6869 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6870 view buffer means not swapped.
6871 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6872 (rmail-write-region-annotate): Error if real text has disappeared.
6873
6874 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6875
6876 2012-03-10 Chong Yidong <cyd@gnu.org>
6877
6878 * emulation/cua-rect.el (cua--init-rectangles):
6879 * emulation/cua-base.el (cua--init-keymaps):
6880 Add delete-forward-char to remappings (Bug#9666).
6881
6882 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6883
6884 * speedbar.el (speedbar-unhighlight-one-tag-line):
6885 Avoid unhighlighting due to frame switching (Bug#10275).
6886
6887 2012-03-10 Chong Yidong <cyd@gnu.org>
6888
6889 * minibuffer.el (completion-in-region, completion-help-at-point):
6890 Give the completion field overlay a high priority (Bug#6830).
6891
6892 * dired.el (dired-goto-file): Recognize absolute file name
6893 listings (Bug#7126).
6894 (dired-goto-file-1): New helper function.
6895 (dired-toggle-read-only): Inhibit warnings.
6896
6897 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6898
6899 * net/dbus.el (dbus-property-handler): Return empty array if
6900 there are no properties.
6901
6902 2012-03-09 Leo Liu <sdl.web@gmail.com>
6903
6904 * savehist.el (savehist-printable): Stricter check for string
6905 value (Bug#10937).
6906
6907 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6908
6909 * mail/smtpmail.el (smtpmail-send-it):
6910 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6911 valid mbox format.
6912
6913 2012-03-09 Glenn Morris <rgm@gnu.org>
6914
6915 * files.el (dir-locals-find-file):
6916 Don't check result is regular, readable.
6917 (dir-locals-read-from-file): Demote errors.
6918
6919 2012-03-08 Eli Zaretskii <eliz@gnu.org>
6920
6921 * international/quail.el (quail-insert-kbd-layout):
6922 Insert invisible LRM characters before each character in a keyboard
6923 layout cell, to prevent their reordering by bidi display engine.
6924 For details, see the discussion in
6925 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6926
6927 2012-03-08 Alan Mackenzie <acm@muc.de>
6928
6929 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6930 the starting position; make it extend the marked region when
6931 invoked repeatedly - all under appropriate circumstances.
6932 Fixes bugs #5525, #10906.
6933
6934 2012-03-08 Glenn Morris <rgm@gnu.org>
6935
6936 * files.el (locate-dominating-file, dir-locals-find-file):
6937 Undo 2012-03-06 change.
6938
6939 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6940
6941 * international/quail.el (quail-help):
6942 Force bidi-paragraph-direction be left-to-right. See discussion in
6943 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6944 for the reason.
6945
6946 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6947
6948 Avoid superfluous registering of signals. (Bug#10807)
6949
6950 * notifications.el (notifications-on-action-object)
6951 (notifications-on-close-object): New defvars.
6952 (notifications-on-action-signal, notifications-on-closed-signal):
6953 Unregister the signal if not needed any longer.
6954 (notifications-notify): Register `notifications-action-signal' or
6955 `notifications-closed-signal', if :on-action or :on-close has been
6956 passed as argument.
6957
6958 2012-03-07 Chong Yidong <cyd@gnu.org>
6959
6960 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6961 non-X platforms.
6962
6963 2012-03-06 Glenn Morris <rgm@gnu.org>
6964
6965 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6966 (x-disown-selection-internal, x-get-selection-internal):
6967 Doc fix (add arglist signatures). (Bug#10783)
6968
6969 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6970
6971 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6972 Handle breakpoints with no "type".
6973
6974 2012-03-06 Glenn Morris <rgm@gnu.org>
6975
6976 * files.el (locate-dominating-file): Add optional predicate argument.
6977 (dir-locals-find-file): Make use of above change.
6978
6979 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6980
6981 * info.el (Info-insert-dir): Also try "dir.gz".
6982
6983 2012-03-06 Glenn Morris <rgm@gnu.org>
6984
6985 * files.el (dir-locals-find-file):
6986 Ignore non-readable or non-regular files. (Bug#10928)
6987
6988 * files.el (locate-dominating-file): Doc fix.
6989
6990 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6991
6992 * calendar/calendar.el (calendar-set-mode-line):
6993 `getenv' returns a string. (Bug#10951)
6994
6995 2012-03-05 Leo Liu <sdl.web@gmail.com>
6996
6997 * simple.el (backward-delete-char-untabify): Constrain point to
6998 field (Bug#10939).
6999
7000 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7001
7002 2012-03-05 Chong Yidong <cyd@gnu.org>
7003
7004 * simple.el (count-words): If called from Lisp, return the word
7005 count, for symmetry with `count-lines'. Arglist changed.
7006 (count-words--message): Args changed. Consolidate counting code
7007 from count-words and count-words-region.
7008 (count-words-region): Caller changed.
7009 (count-lines-region): Make it an obsolete alias.
7010
7011 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7012
7013 * saveplace.el (save-place-to-alist)
7014 (save-place-ignore-files-regexp): Allow value nil to disable this
7015 feature.
7016
7017 2012-03-04 Chong Yidong <cyd@gnu.org>
7018
7019 * faces.el (face-spec-reset-face): For the default face, reset the
7020 attributes to default values (Bug#10748).
7021
7022 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7023
7024 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7025 previous patch: Check `message-send-mail-function', and not the
7026 default function (bug#10897).
7027
7028 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * notifications.el (notifications-on-action-signal)
7031 (notifications-on-closed-signal): Check for unique service name of
7032 incoming event. Fix error in removing entry.
7033 (top): Register for signals with wildcard service name.
7034 (notifications-notify): Use daemon unique service name for map entries.
7035
7036 2012-03-04 Chong Yidong <cyd@gnu.org>
7037
7038 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7039
7040 2012-03-04 Glenn Morris <rgm@gnu.org>
7041
7042 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7043 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7044 (expand-abbrev, define-abbrev-table): Doc fixes.
7045
7046 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7047
7048 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7049 `message-default-send-mail-function' and not `send-mail-function'
7050 when doing the prompting for `sendmail-query-once' before sending
7051 in Message buffers (bug#10897).
7052
7053 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7054 This is inconsistent with all the other stream functions, which leave
7055 the setting up to the higher levels (if so wanted) (bug#10931).
7056
7057 2012-03-02 Alan Mackenzie <acm@muc.de>
7058
7059 Depessimize the handling of very large macros.
7060
7061 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7062 (c-macro-cache-syntactic): New variables to implement a one
7063 element macro cache.
7064 (c-invalidate-macro-cache): New function.
7065 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7066 Adapt to use the new cache.
7067 (c-state-safe-place): Use better the cache of safe positions.
7068 (c-state-semi-nonlit-pos-cache)
7069 (c-state-semi-nonlit-pos-cache-limit):
7070 New variables for...
7071 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7072 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7073 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7074 Use c-state-semi-safe-place.
7075
7076 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7077 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7078
7079 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7080
7081 * jka-compr.el (jka-compr-call-process):
7082 Apply `file-accessible-directory-p' only when the default directory is
7083 not remote.
7084
7085 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7086
7087 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7088 access of FILE2, if FILE1 does not exist.
7089
7090 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7091 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7092
7093 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7094 Add "PAGER=" to `process-environment'.
7095
7096 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7097
7098 * progmodes/sql.el: Bug fix
7099 (sql-get-login-ext): Save login values in globals.
7100 (sql-get-login): Use new version of `sql-get-login-ext'.
7101 (sql-interactive-mode): Set global `sql-connection' to nil.
7102 (sql-connect): Set global values for connection.
7103 (sql-product-interactive): Save global values as buffer local.
7104
7105 2012-02-29 Leo Liu <sdl.web@gmail.com>
7106
7107 * abbrev.el (define-abbrevs): Reset sys to nil.
7108
7109 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7110
7111 * files.el (file-equal-p): Rename from `files-equal-p'.
7112 Return nil when one or both files don't exist.
7113 (file-subdir-of-p): Now only top directory must exists,
7114 return nil if it doesn't.
7115 (copy-directory): No need to test with `file-subdir-of-p' after
7116 creating dir.
7117 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7118 to `file-equal-p'.
7119
7120 2012-02-28 Glenn Morris <rgm@gnu.org>
7121
7122 * shell.el (shell-mode):
7123 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7124 * play/landmark.el (landmark-font-lock-face-O):
7125 * play/handwrite.el (handwrite):
7126 * play/gomoku.el (gomoku-O):
7127 * net/browse-url.el (browse-url-browser-display):
7128 * international/mule.el (define-charset):
7129 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7130 * filesets.el (filesets-find-file-delay):
7131 * eshell/em-xtra.el (eshell-xtra):
7132 * eshell/em-unix.el (eshell-grep):
7133 * emulation/viper.el (viper-mode):
7134 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7135 * emacs-lisp/easymenu.el (easy-menu-define):
7136 * calendar/timeclock.el (timeclock-use-display-time):
7137 * bs.el (bs-mode):
7138 * bookmark.el (bookmark-save-flag):
7139 Doc fix (standardize possessive apostrophe usage).
7140
7141 2012-02-27 Chong Yidong <cyd@gnu.org>
7142
7143 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7144 Fix key-binding lookup for ESC key (Bug#9146).
7145
7146 * font-lock.el (font-lock-specified-p): Rename from
7147 font-lock-spec-present. Callers changed.
7148
7149 2012-02-27 Daniel Hackney <dan@haxney.org>
7150
7151 * emacs-lisp/package.el (package-compute-transaction):
7152 Handle holding a package version to t in package-load-list.
7153
7154 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
7155
7156 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7157 (tramp-get-inode, tramp-get-device): Use cached values.
7158
7159 2012-02-26 Alan Mackenzie <acm@muc.de>
7160
7161 Check there is a font-lock specification before doing initial
7162 fontification.
7163
7164 * font-core.el (font-lock-mode): Move the conditional from
7165 :after-hook to font-lock-initial-fontify.
7166 (font-lock-default-function): Move the check for a specification
7167 to font-lock-spec-present.
7168
7169 * font-lock.el (font-lock-initial-fontify): Call ...
7170 (font-lock-spec-present): New function.
7171
7172 2012-02-26 Jim Blandy <jimb@red-bean.com>
7173
7174 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7175 (gdb-send): Apply it to the operand of the '-interpreter-exec
7176 console' command, so that we can pass arguments with (say) quotes
7177 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7178
7179 2012-02-26 Chong Yidong <cyd@gnu.org>
7180
7181 * help-fns.el (describe-function-1): Clarify description of
7182 remapping (Bug#10844).
7183
7184 * files.el (files-equal-p): Doc fix.
7185 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7186 and quit the loop once a mismatch is found.
7187
7188 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * bs.el (bs--show-with-configuration): Don't throw an error
7191 if the window cannot be split; otherwise, subsequent calls to
7192 bs-show fail, restoring a stale window config. (Bug#10882)
7193
7194 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7195
7196 * term/ns-win.el (global-map): Bind ns-drag-file to
7197 ns-find-file (Bug#5855, Bug#10050).
7198
7199 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7200
7201 * calendar/parse-time.el (parse-time-string): Allow extractor to
7202 return nil.
7203
7204 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7205
7206 * net/tramp.el (tramp-file-name-for-operation):
7207 Add `files-equal-p' and `file-subdir-of-p'.
7208
7209 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7210 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7211 Add COPY-CONTENTS argument.
7212
7213 2012-02-25 Chong Yidong <cyd@gnu.org>
7214
7215 Add custom groups for VC backends, for consistency with vc-bzr.
7216
7217 * vc/vc-arch.el (vc-arch):
7218 * vc/vc-cvs.el (vc-cvs):
7219 * vc/vc-git.el (vc-git):
7220 * vc/vc-hg.el (vc-hg):
7221 * vc/vc-mtn.el (vc-mtn):
7222 * vc/vc-rcs.el (vc-rcs):
7223 * vc/vc-sccs.el (vc-sccs):
7224 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7225 All relevant defcustoms reassigned.
7226
7227 2012-02-25 Chong Yidong <cyd@gnu.org>
7228
7229 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7230
7231 * term/x-win.el (x-initialize-window-system): Reduce default for
7232 x-selection-timeout to 5 seconds (Bug#8869).
7233
7234 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7235
7236 * files.el (files-equal-p, file-subdir-of-p): New functions.
7237 (copy-directory): Error when trying to copy a directory on itself.
7238 Add missing copy-contents arg to tramp handler.
7239 * dired-aux.el (dired-copy-file-recursive): Same.
7240 (dired-create-files): Modify destination when source is equal to
7241 dest when copying files.
7242 Return also when dest is a subdir of source. (Bug#10489)
7243
7244 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7245
7246 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7247 (Bug#10874)
7248
7249 2012-02-23 Alan Mackenzie <acm@muc.de>
7250
7251 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7252 parameter "after-hook:" to allow the expansion to run code after
7253 the execution of the mode hooks.
7254
7255 * font-lock.el (font-lock-initial-fontify): New function extracted
7256 from font-lock-mode-internal.
7257
7258 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7259 :after-hook.
7260
7261 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7264 (completion--cache-all-sorted-completions): New function.
7265 (completion-all-sorted-completions): Use it.
7266 (completion--do-completion, minibuffer-force-complete):
7267 Use it to re-instate the flush hook.
7268
7269 * icomplete.el (icomplete-completions): Replace last fix with a better
7270 one (bug#10850).
7271
7272 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7273
7274 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7275 when it might call us back infinitely (bug#10797).
7276
7277 2012-02-23 Glenn Morris <rgm@gnu.org>
7278
7279 * minibuffer.el (completion-category-overrides): Doc fix.
7280
7281 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7284 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7285
7286 2012-02-23 Glenn Morris <rgm@gnu.org>
7287
7288 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7289 (authors-obsolete-files-regexps, authors-ignored-files)
7290 (authors-ambiguous-files, authors-renamed-files-alist):
7291 Add more entries.
7292
7293 2012-02-23 Juri Linkov <juri@jurta.org>
7294
7295 * isearch.el (isearch-occur): Sync interactive spec with occur's
7296 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7297
7298 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7299
7300 2012-02-22 Juri Linkov <juri@jurta.org>
7301
7302 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7303 (ucs-insert): Doc fix. Check for hex digits in the string.
7304 Don't display `nil' in the error message. (Bug#10857)
7305
7306 2012-02-22 Alan Mackenzie <acm@muc.de>
7307
7308 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7309
7310 2012-02-22 Glenn Morris <rgm@gnu.org>
7311
7312 * ffap.el (ffap-c-path):
7313 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7314
7315 2012-02-22 Chong Yidong <cyd@gnu.org>
7316
7317 * custom.el (load-theme): Doc fix.
7318
7319 2012-02-22 Glenn Morris <rgm@gnu.org>
7320
7321 * dired-x.el (dired-guess-shell-alist-default):
7322 Remove escape sequences from nroff output. (Bug#172)
7323
7324 2012-02-21 Glenn Morris <rgm@gnu.org>
7325
7326 * vc/emerge.el (emerge-defvar-local):
7327 Set `permanent-local' property rather than unused `preserved'.
7328
7329 * textmodes/picture.el (picture-delete-char): New alias.
7330 (picture-mode-map): Use it. (Bug#10860)
7331 (picture-mode): Doc fix.
7332
7333 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7334
7335 * newcomment.el (uncomment-region-default): Remove unused binding.
7336
7337 2012-02-21 Glenn Morris <rgm@gnu.org>
7338
7339 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7340 (picture-self-insert, picture-tab-chars): Doc fix.
7341 (picture-mode-map): Fix C-a, C-e.
7342
7343 2012-02-20 Glenn Morris <rgm@gnu.org>
7344
7345 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7346
7347 2012-02-20 Leo Liu <sdl.web@gmail.com>
7348
7349 * icomplete.el (icomplete-completions): Check FROM arg before
7350 passing to substring (Bug#10850).
7351
7352 2012-02-19 Chong Yidong <cyd@gnu.org>
7353
7354 * comint.el: Require ansi-color.
7355 (comint-output-filter-functions): Add ansi-color-process-output.
7356
7357 * ansi-color.el: Don't set comint-output-filter-functions; it is
7358 now in the initial value defined in comint.el.
7359 (ansi-color-apply-face-function): New variable.
7360 (ansi-color-apply-on-region): Use it.
7361 (ansi-color-apply-overlay-face): New function.
7362
7363 * shell.el (shell): No need to require ansi-color.
7364 (shell-mode): Use ansi-color-apply-face-function to highlight
7365 color escapes using font-lock-face property (Bug#10835).
7366
7367 2012-02-19 Chong Yidong <cyd@gnu.org>
7368
7369 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7370 mode-line formats (Bug#10839).
7371
7372 2012-02-18 Glenn Morris <rgm@gnu.org>
7373
7374 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7375
7376 * mail/undigest.el (unforward-rmail-message): Doc fix.
7377
7378 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7379
7380 2012-02-18 Eli Zaretskii <eliz@gnu.org>
7381
7382 * international/characters.el (script-list): Sync with the latest
7383 Unicode Character Database.
7384
7385 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7386
7387 * international/titdic-cnv.el: Remove duplicate coding tag.
7388 * language/cham.el: Likewise.
7389 * language/tai-viet.el: Likewise.
7390
7391 2012-02-18 Glenn Morris <rgm@gnu.org>
7392
7393 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7394 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7395 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7396 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7397 * calendar/holidays.el (holiday-bahai-holidays)
7398 (calendar-holidays, list-holidays):
7399 Use utf-8 Bahá'í in doc-strings, menus, etc.
7400
7401 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7402
7403 * saveplace.el (save-place-ignore-files-regexp): New variable
7404 allowing for excluding files from saving their location of point.
7405 The default value matches the temporary commit message editing
7406 files from Git, SVN, Bazaar, and Mercurial.
7407 (save-place-to-alist): Use it.
7408
7409 2012-02-17 Lawrence Mitchell <wence@gmx.li>
7410 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * newcomment.el (uncomment-region-default): Don't leave extra space
7413 when an arg is provided (bug#8150).
7414
7415 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7416
7417 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7418
7419 2012-02-17 Glenn Morris <rgm@gnu.org>
7420
7421 * net/socks.el: Require network-stream. (Bug#10599)
7422
7423 2012-02-17 Kenichi Handa <handa@m17n.org>
7424
7425 * international/charprop.el:
7426 * international/uni-name.el:
7427 * international/uni-old-name.el:
7428 * international/uni-comment.el: Regenerate.
7429
7430 2012-02-16 Glenn Morris <rgm@gnu.org>
7431
7432 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7433 Interactively in calendar buffer, give an error if not on a date.
7434
7435 2012-02-15 Glenn Morris <rgm@gnu.org>
7436
7437 * shell.el (shell-delimiter-argument-list):
7438 Revert 2011-02-17 change. (Bug#8027)
7439
7440 2012-02-15 Chong Yidong <cyd@gnu.org>
7441
7442 * minibuffer.el (completion-at-point-functions): Doc fix.
7443
7444 * custom.el (defcustom): Doc fix; note use of defvar.
7445
7446 2012-02-15 Glenn Morris <rgm@gnu.org>
7447
7448 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7449 Doc fixes.
7450
7451 2012-02-14 Glenn Morris <rgm@gnu.org>
7452
7453 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7454
7455 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7456
7457 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7458 way the ports list is computed.
7459 (smtpmail-query-smtp-server): Prompt the user for a port number if
7460 we can't connect to any of the standard ports (bug#10810).
7461
7462 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7463
7464 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7465
7466 2012-02-13 Glenn Morris <rgm@gnu.org>
7467
7468 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7469
7470 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7471
7472 * net/gnutls.el (gnutls-trustfiles): New variable.
7473 (gnutls-negotiate): Use it.
7474
7475 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7476
7477 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7478 does its stuff if Gnus is running.
7479
7480 2012-02-13 Alan Mackenzie <acm@muc.de>
7481
7482 Fix a loop in c-set-fl-decl-start.
7483
7484 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7485 c-backward-syntactic-ws actually moves backwards.
7486
7487 2012-02-13 Leo Liu <sdl.web@gmail.com>
7488
7489 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7490 beginning so that all \C-o chars are removed.
7491
7492 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7493
7494 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7495
7496 2012-02-12 Alan Mackenzie <acm@muc.de>
7497
7498 Fix infinite loop with long macros.
7499 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7500
7501 2012-02-12 Chong Yidong <cyd@gnu.org>
7502
7503 * window.el (display-buffer): Doc fix (Bug#10785).
7504
7505 2012-02-12 Glenn Morris <rgm@gnu.org>
7506
7507 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7508 (x-disown-selection-internal, x-get-selection-internal):
7509 Sync docs with the xselect.c versions.
7510
7511 * allout-widgets.el: Add missing license notice.
7512
7513 2012-02-11 Glenn Morris <rgm@gnu.org>
7514
7515 * select.el (x-get-selection-internal, x-own-selection-internal)
7516 (x-disown-selection-internal):
7517 * x-dnd.el (x-get-selection-internal): Update declarations.
7518
7519 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7520
7521 * window.el (window-sides-slots):
7522 * tool-bar.el (tool-bar-position):
7523 * term/xterm.el (xterm-extra-capabilities):
7524 * ses.el (ses-self-reference-early-detection):
7525 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7526 (verilog-auto-wire-type)
7527 (verilog-auto-delete-trailing-whitespace)
7528 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7529 (verilog-auto-tieoff-declaration):
7530 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7531 (sql-oracle-statement-starters, sql-oracle-scan-on):
7532 * progmodes/prolog.el (prolog-align-comments-flag)
7533 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7534 (prolog-left-indent-regexp, prolog-paren-indent-p)
7535 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7536 (prolog-types, prolog-mode-specificators)
7537 (prolog-determinism-specificators, prolog-directives)
7538 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7539 (prolog-electric-dot-flag)
7540 (prolog-electric-dot-full-predicate-template)
7541 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7542 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7543 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7544 (prolog-program-switches, prolog-prompt-regexp)
7545 (prolog-debug-on-string, prolog-debug-off-string)
7546 (prolog-trace-on-string, prolog-trace-off-string)
7547 (prolog-zip-on-string, prolog-zip-off-string)
7548 (prolog-use-standard-consult-compile-method-flag)
7549 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7550 (prolog-imenu-max-lines, prolog-info-predicate-index)
7551 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7552 (prolog-char-quote-workaround):
7553 * progmodes/cc-vars.el (c-defun-tactic):
7554 * net/tramp.el (tramp-encoding-command-interactive)
7555 (tramp-local-end-of-line):
7556 * net/soap-client.el (soap-client):
7557 * net/netrc.el (netrc-file):
7558 * net/gnutls.el (gnutls):
7559 * minibuffer.el (completion-category-overrides)
7560 (completion-cycle-threshold)
7561 (completion-pcm-complete-word-inserts-delimiters):
7562 * man.el (Man-name-local-regexp):
7563 * mail/feedmail.el (feedmail-display-full-frame):
7564 * international/characters.el (glyphless-char-display-control):
7565 * eshell/em-ls.el (eshell-ls-date-format):
7566 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7567 (lisp-lambda-list-keyword-parameter-indentation)
7568 (lisp-lambda-list-keyword-parameter-alignment):
7569 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7570 * dired-x.el (dired-omit-verbose):
7571 * cus-theme.el (custom-theme-allow-multiple-selections):
7572 * calc/calc.el (calc-highlight-selections-with-faces)
7573 (calc-lu-field-reference, calc-lu-power-reference)
7574 (calc-note-threshold):
7575 * battery.el (battery-mode-line-limit):
7576 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7577 (archive-7z-update):
7578 * allout.el (allout-prefixed-keybindings)
7579 (allout-unprefixed-keybindings)
7580 (allout-inhibit-auto-fill-on-headline)
7581 (allout-flattened-numbering-abbreviation):
7582 * allout-widgets.el (allout-widgets-auto-activation)
7583 (allout-widgets-icons-dark-subdir)
7584 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7585 (allout-widgets-theme-dark-background)
7586 (allout-widgets-theme-light-background)
7587 (allout-widgets-item-image-properties-emacs)
7588 (allout-widgets-item-image-properties-xemacs)
7589 (allout-widgets-run-unit-tests-on-load)
7590 (allout-widgets-time-decoration-activity)
7591 (allout-widgets-hook-error-post-time)
7592 (allout-widgets-track-decoration):
7593 Add missing :version tags to new defcustoms and defgroups.
7594
7595 * progmodes/sql.el (sql-ansi-statement-starters)
7596 (sql-oracle-statement-starters): Add custom type.
7597
7598 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7599 (prolog-system-version): Give it a type.
7600
7601 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7602
7603 * term/pc-win.el (x-select-text, x-selection-owner-p)
7604 (x-own-selection-internal, x-disown-selection-internal)
7605 (x-get-selection-internal): Sync doc strings and argument lists
7606 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7607
7608 2012-02-11 Leo Liu <sdl.web@gmail.com>
7609
7610 * progmodes/python.el (python-end-of-statement): Fix infinite
7611 loop. (Bug#10788)
7612
7613 2012-02-10 Glenn Morris <rgm@gnu.org>
7614
7615 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7616 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7617
7618 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7619
7620 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7621 about SMTP before checking the From header.
7622
7623 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7624 into own function for reuse by emacsbug.el.
7625
7626 2012-02-10 Leo Liu <sdl.web@gmail.com>
7627
7628 * subr.el (condition-case-unless-debug): Rename from
7629 condition-case-no-debug. All callers changed.
7630 (with-demoted-errors): Fix caller.
7631
7632 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7633 * nxml/rng-valid.el (rng-do-some-validation):
7634 * emacs-lisp/package.el (package-refresh-contents)
7635 (package-menu-execute):
7636 * desktop.el (desktop-create-buffer):
7637 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7638
7639 2012-02-10 Glenn Morris <rgm@gnu.org>
7640
7641 * textmodes/bibtex.el:
7642 Add missing :version tags for new/changed defcustoms.
7643
7644 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7645
7646 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7647
7648 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7649 (smtpmail-via-smtp): Use it, or fall back on the From address.
7650 (smtpmail-send-it): Ditto.
7651
7652 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7655 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7656 (byte-compile-tmp-var): New const.
7657 (byte-compile-defvar): Use it to minimize .elc size.
7658 Just use `defvar' rather than simulate it (bug#10761).
7659
7660 2012-02-09 Glenn Morris <rgm@gnu.org>
7661
7662 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7663
7664 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7665 Add :version tags.
7666
7667 * progmodes/compile.el (compilation-error-screen-columns)
7668 (compilation-first-column, compilation-filter-start): Doc fixes.
7669
7670 * vc/log-view.el (log-view-toggle-entry-display):
7671 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7672
7673 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7674 (report-emacs-bug-can-use-xdg-email):
7675 (report-emacs-bug-insert-to-mailer): Doc fixes.
7676 (report-emacs-bug): Message fix.
7677
7678 * net/browse-url.el (browse-url-can-use-xdg-open)
7679 (browse-url-xdg-open): Doc fixes.
7680
7681 * electric.el (electric-indent-mode, electric-pair-mode)
7682 (electric-layout-rules, electric-layout-mode): Doc fixes.
7683 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7684
7685 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7686
7687 * server.el (server-unselect-display): Don't inadvertently kill
7688 the current buffer. (Bug#10729)
7689
7690 2012-02-08 Glenn Morris <rgm@gnu.org>
7691
7692 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7693 (sql-list-table): Doc fixes.
7694
7695 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7696 Comment out (does nothing).
7697
7698 * completion.el (dynamic-completion-mode):
7699 * dirtrack.el (dirtrack-debug-mode):
7700 * electric.el (electric-layout-mode):
7701 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7702 * face-remap.el (text-scale-mode, buffer-face-mode):
7703 * iimage.el (iimage-mode):
7704 * image-mode.el (image-transform-mode):
7705 * minibuffer.el (completion-in-region-mode):
7706 * scroll-lock.el (scroll-lock-mode):
7707 * simple.el (next-error-follow-minor-mode):
7708 * tar-mode.el (tar-subfile-mode):
7709 * tooltip.el (tooltip-mode):
7710 * vcursor.el (vcursor-use-vcursor-map):
7711 * wid-browse.el (widget-minor-mode):
7712 * emulation/tpu-edt.el (tpu-edt-mode):
7713 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7714 * international/iso-ascii.el (iso-ascii-mode):
7715 * language/thai-util.el (thai-word-mode):
7716 * mail/supercite.el (sc-minor-mode):
7717 * net/goto-addr.el (goto-address-mode):
7718 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7719 * progmodes/cwarn.el (cwarn-mode):
7720 * progmodes/flymake.el (flymake-mode):
7721 * progmodes/glasses.el (glasses-mode):
7722 * progmodes/hideshow.el (hs-minor-mode):
7723 * progmodes/pascal.el (pascal-outline-mode):
7724 * textmodes/enriched.el (enriched-mode):
7725 * vc/smerge-mode.el (smerge-mode):
7726 Doc fixes (minor mode argument).
7727
7728 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7729
7730 * ls-lisp.el (ls-lisp-sanitize): New function.
7731 (ls-lisp-insert-directory): Use it to fix or remove any elements
7732 in file-alist with missing attributes. (Bug#4673)
7733
7734 2012-02-07 Alan Mackenzie <acm@muc.de>
7735
7736 Fix spurious recognition of c-in-knr-argdecl.
7737
7738 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7739 putative K&R region.
7740
7741 2012-02-07 Alan Mackenzie <acm@muc.de>
7742
7743 * progmodes/cc-engine.el (c-forward-objc-directive):
7744 Prevent looping in "#pragma mark @implementation".
7745
7746 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7747
7748 * notifications.el (notifications-on-closed-signal): Make `reason'
7749 optional. (Bug#10744)
7750
7751 2012-02-07 Glenn Morris <rgm@gnu.org>
7752
7753 * emacs-lisp/easy-mmode.el (define-minor-mode):
7754 Doc fixes for the macro and the mode it defines.
7755
7756 * image.el (imagemagick-types-inhibit): Doc fix.
7757
7758 * cus-start.el (imagemagick-render-type): Add it.
7759
7760 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7761
7762 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7763 Set the default at load time, too, so that `font-lock-fontify-buffer'
7764 can be called without setting up the entire mode first. This fixes
7765 a bug in `mm-inline-text' with C MIME parts.
7766
7767 2012-02-06 Chong Yidong <cyd@gnu.org>
7768
7769 * simple.el (list-processes--refresh): Delete exited processes
7770 (Bug#8094).
7771
7772 * comint.el (comint-next-prompt): next-single-char-property-change
7773 and prev-single-char-property-change never return nil (Bug#8657).
7774
7775 * custom.el (defcustom): Doc fix (Bug#9711).
7776
7777 2012-02-05 Chong Yidong <cyd@gnu.org>
7778
7779 * cus-edit.el (custom-variable-reset-backup): Quote the value
7780 before storing it in the customized-value property (Bug#6712).
7781 (custom-display): Add a customization type tag.
7782 (custom-buffer-create-internal): Improve tooltip message.
7783
7784 * wid-edit.el (widget-field-value-get): New optional arg to
7785 suppress trailing whitespace truncation.
7786 (character): Use it (Bug#2689).
7787
7788 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7789
7790 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7791 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7792
7793 2012-02-05 Chong Yidong <cyd@gnu.org>
7794
7795 * cus-edit.el (custom-variable-value-create): For mismatched
7796 types, show the current value (Bug#7600).
7797
7798 * custom.el (defcustom): Doc fix.
7799
7800 2012-02-05 Glenn Morris <rgm@gnu.org>
7801
7802 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7803
7804 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7807 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7808 (pp-last-sexp): Use `looking-at-p'.
7809
7810 2012-02-04 Glenn Morris <rgm@gnu.org>
7811
7812 * files.el (revert-buffer):
7813 Doc fix (mention revert-buffer-in-progress-p).
7814
7815 * emacs-lisp/ert-x.el (ert-simulate-command):
7816 Check deferred-action-list (which is obsolete) is bound.
7817
7818 * subr.el (with-wrapper-hook): Doc fixes.
7819
7820 * simple.el (filter-buffer-substring-functions)
7821 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7822
7823 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7824
7825 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7826 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7827
7828 2012-02-04 Leo Liu <sdl.web@gmail.com>
7829
7830 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7831
7832 2012-02-04 Glenn Morris <rgm@gnu.org>
7833
7834 * image.el (image-extension-data): Add obsolete alias.
7835
7836 * isearch.el (isearch-update): Doc fix.
7837
7838 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7839
7840 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7841
7842 2012-02-03 Glenn Morris <rgm@gnu.org>
7843
7844 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7845 (image-animate-timeout): Doc fix.
7846
7847 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7848
7849 2012-02-02 Glenn Morris <rgm@gnu.org>
7850
7851 * server.el (server-auth-dir): Doc fix.
7852 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7853
7854 * subr.el (run-mode-hooks): Doc fix.
7855
7856 2012-02-02 Juri Linkov <juri@jurta.org>
7857
7858 * image-mode.el (image-toggle-display-image): Remove tautological
7859 `major-mode' from the `derived-mode-p' test.
7860
7861 2012-02-02 Kenichi Handa <handa@m17n.org>
7862
7863 * composite.el (compose-region): Cancel previous change.
7864
7865 2012-02-02 Kenichi Handa <handa@m17n.org>
7866
7867 * composite.el (compose-region, compose-string): Signal error for
7868 a null string component (Bug#6988).
7869
7870 2012-02-01 Chong Yidong <cyd@gnu.org>
7871
7872 * view.el (view-buffer-other-window, view-buffer-other-frame):
7873 Handle special modes like view-buffer (Bug#10650).
7874 (view-buffer): Simplify.
7875
7876 * frame.el (set-frame-font): Tweak meaning of third argument.
7877
7878 * dynamic-setting.el (font-setting-change-default-font):
7879 Use set-frame-font (Bug#9982).
7880
7881 2012-02-01 Glenn Morris <rgm@gnu.org>
7882
7883 * progmodes/compile.el (compilation-internal-error-properties):
7884 Respect compilation-first-column in the "*compilation*" buffer.
7885
7886 * emacs-lisp/easy-mmode.el (define-minor-mode):
7887 Relax :variable's test for a named function.
7888
7889 2012-01-31 Alan Mackenzie <acm@muc.de>
7890
7891 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7892 off by one error.
7893
7894 2012-01-31 Chong Yidong <cyd@gnu.org>
7895
7896 * frame.el (set-frame-font): New arg ALL-FRAMES.
7897
7898 * menu-bar.el (menu-set-font): Use set-frame-font.
7899
7900 * faces.el (face-spec-reset-face): Don't apply unspecified
7901 attribute values to the default face.
7902
7903 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7904
7905 * progmodes/cwarn.el (cwarn): Remove dead link.
7906 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7907 Remove * from defcustom docstrings.
7908 (turn-on-cwarn-mode): Make obsolete.
7909 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7910 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7911
7912 2012-01-31 Glenn Morris <rgm@gnu.org>
7913
7914 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7915 Fix :variable handling of mode a symbol not equal to modefun.
7916 Allow named functions to be used as the cdr of :variable.
7917
7918 2012-01-30 Glenn Morris <rgm@gnu.org>
7919
7920 * emacs-lisp/authors.el (authors-fixed-entries):
7921 Remove reference to deleted file rnewspost.el.
7922
7923 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
7924
7925 * window.el (window-with-parameter): Remove unused variable `windows'.
7926 (window--side-check): Remove unused variable `code'.
7927 (window--resize-siblings): Remove unused variable `first'.
7928 (adjust-window-trailing-edge): Remove unused variable `failed'.
7929 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7930 Use `let', not `let*'.
7931 (balance-windows-2): Remove unused variable `found'.
7932 (window--state-put-2): Remove unused variable `splits'.
7933 (window-state-put): Remove unused variable `selected'.
7934 (same-window-p): Use `string-match-p'.
7935 (display-buffer-assq-regexp): Remove unused variable `value'.
7936 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7937 Mark argument ALIST as ignored.
7938 (pop-to-buffer): Remove unused variable `old-window'.
7939
7940 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7941
7942 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7943 and .lzma compressed files.
7944
7945 2012-01-29 Chong Yidong <cyd@gnu.org>
7946
7947 * frame.el (window-system-default-frame-alist): Doc fix.
7948
7949 * dynamic-setting.el (font-setting-change-default-font): Don't
7950 change the default face if SET-FONT argument is non-nil (Bug#9982).
7951
7952 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7953
7954 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7955
7956 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7957
7958 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7959 breakpoints in files outside current directory (Bug#6098).
7960
7961 2012-01-29 Chong Yidong <cyd@gnu.org>
7962
7963 * progmodes/python.el: Require ansi-color at top-level.
7964
7965 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7966 Define and use in Emacs Lisp mode (Bug#9360).
7967 (lisp-mode-abbrev-table): Add doc.
7968 (lisp-mode-variables): Don't set local-abbrev-table.
7969 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7970
7971 2012-01-28 Roland Winkler <winkler@gnu.org>
7972
7973 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7974
7975 2012-01-28 Roland Winkler <winkler@gnu.org>
7976
7977 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7978 (bibtex-set-dialect): Use it. Either set global values of
7979 dialect-dependent variables or bind these variables buffer-locally
7980 (Bug#10254).
7981 (bibtex-mode): Call bibtex-set-dialect via
7982 hack-local-variables-hook.
7983 (bibtex-dialect): Update docstring.
7984 Add safe-local-variable predicate.
7985 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7986 bibtex-set-dialect.
7987 (bibtex-mode-map): Define menu for each dialect.
7988 (bibtex-entry): Fix docstring.
7989
7990 2012-01-28 Chong Yidong <cyd@gnu.org>
7991
7992 * eshell/esh-arg.el (eshell-quote-argument): New function.
7993
7994 * eshell/esh-ext.el (eshell-invoke-batch-file):
7995 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7996 first arg to eshell-parse-command (Bug#10523).
7997
7998 2012-01-28 Drew Adams <drew.adams@oracle.com>
7999
8000 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8001 `default-directory' is non-nil.
8002
8003 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8004
8005 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8006 line that displays system-configuration-options. (Bug#9924)
8007
8008 2012-01-28 Drew Adams <drew.adams@oracle.com>
8009
8010 * descr-text.el (describe-char): Show information about POS, in
8011 addition to information about the character at POS. Improve and
8012 update the doc string. Change "code point" to "code point in
8013 charset", to avoid confusion with the character's Unicode code
8014 point shown above that. (Bug#10129)
8015
8016 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8017
8018 * descr-text.el (describe-char): Show the raw character, not only
8019 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8020 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8021 for the reasons.
8022
8023 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8024
8025 * emacs-lisp/package.el (package-install):
8026 Run package-refresh-contents if there is no archive yet (Bug#9798).
8027
8028 2012-01-28 Chong Yidong <cyd@gnu.org>
8029
8030 * emacs-lisp/package.el (package-maybe-load-descriptor):
8031 New function, split from package-maybe-load-descriptor.
8032 (package-maybe-load-descriptor): Use it.
8033 (package-download-transaction): Fully load required packages
8034 inside the loop, so that `require' calls work (Bug#10593).
8035 (package-install): No need to call package-initialize now.
8036
8037 2012-01-28 Chong Yidong <cyd@gnu.org>
8038
8039 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8040
8041 * tooltip.el (tooltip-mode): Doc fix.
8042 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8043
8044 * frame.el (set-cursor-color): Doc fix (Bug#352).
8045
8046 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8047 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8048
8049 * cus-edit.el (custom-buffer-create-internal): Fix search button
8050 action (Bug#10542).
8051 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8052
8053 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8054
8055 * dired.el (dired-mark-files-regexp):
8056 Include any subdirectory components. (Bug#10445)
8057
8058 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8059
8060 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8061 Handle [host]:port syntax. (Bug#10533)
8062
8063 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8064
8065 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8066
8067 2012-01-26 Glenn Morris <rgm@gnu.org>
8068
8069 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8070 * term.el (term-raw-escape-map): Use Control-X-prefix.
8071 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8072
8073 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8074
8075 * window.el (window-state-get, window--state-get-1): Don't deal
8076 with fixed-sizeness of windows. Simplify code.
8077
8078 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8079
8080 * window.el (window--state-get-1, window--state-put-2):
8081 Don't save and restore the mark.
8082
8083 2012-01-25 Chong Yidong <cyd@gnu.org>
8084
8085 * custom.el (custom-variable-p): Doc fix.
8086
8087 2012-01-25 Glenn Morris <rgm@gnu.org>
8088
8089 * dired.el (dired-goto-file): Handle some of the more common
8090 characters that `ls -b' escapes. (Bug#10596)
8091
8092 * progmodes/compile.el (compilation-next-error-function):
8093 Respect compilation-first-column in the "*compilation*" buffer.
8094 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8095
8096 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8097
8098 2012-01-24 Glenn Morris <rgm@gnu.org>
8099
8100 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8101
8102 2012-01-24 Julien Danjou <julien@danjou.info>
8103
8104 * color.el (color-rgb-to-hsl): Fix value computing.
8105 (color-hue-to-rgb): New function.
8106 (color-hsl-to-rgb): New function.
8107 (color-clamp, color-saturate-hsl, color-saturate-name)
8108 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8109 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8110
8111 2012-01-24 Glenn Morris <rgm@gnu.org>
8112
8113 * vc/vc-rcs.el (vc-rcs-create-tag):
8114 * vc/vc-sccs.el (vc-sccs-create-tag):
8115 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8116
8117 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8118
8119 * eshell/esh-util.el (eshell-read-hosts-file):
8120 Skip comment lines. (Bug#10549)
8121
8122 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8123
8124 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8125
8126 * subr.el (display-delayed-warnings): Doc fix.
8127 (collapse-delayed-warnings): New function to collapse identical
8128 adjacent warnings.
8129 (delayed-warnings-hook): Add it.
8130
8131 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8132
8133 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8134
8135 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8136 (tramp-default-user-alist): Don't add "pscp".
8137 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8138 property "login-as", if set. (Bug#10530)
8139
8140 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8141
8142 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8143 "plink1" and "psftp". (Bug#10530)
8144
8145 2012-01-21 Kenichi Handa <handa@m17n.org>
8146
8147 * international/mule-cmds.el (prefer-coding-system): Show a
8148 warning message if the default value of file-name-coding-system
8149 was not changed.
8150
8151 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8152
8153 * windmove.el (windmove-reference-loc):
8154 Fix windmove-reference-loc miscalculation.
8155
8156 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8157
8158 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8159 default unit.
8160
8161 2012-01-21 Glenn Morris <rgm@gnu.org>
8162
8163 * international/mule.el (auto-coding-alist): Add .tbz.
8164
8165 * files.el (local-enable-local-variables): Doc fix.
8166 (inhibit-local-variables-regexps): Rename from
8167 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8168 Doc fix. Add some extensions from auto-coding-alist.
8169 (inhibit-local-variables-suffixes):
8170 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8171 (inhibit-local-variables-p):
8172 New function, extracted from set-auto-mode-1.
8173 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8174 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8175 (hack-local-variables): Doc fix. Make the mode-only case
8176 respect enable-local-variables and friends.
8177 Respect inhibit-local-variables-regexps for file-locals, but
8178 not for directory-locals.
8179 (set-visited-file-name):
8180 Take account of inhibit-local-variables-regexps.
8181 Whether it applies may change as the file name is changed.
8182 * jka-cmpr-hook.el (jka-compr-install):
8183 * jka-compr.el (jka-compr-uninstall):
8184 Update for inhibit-first-line-modes-suffixes name change.
8185
8186 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8187
8188 * help-macro.el (make-help-screen): Temporarily restore original
8189 binding for minor-mode-map-alist (Bug#10454).
8190
8191 2012-01-19 Julien Danjou <julien@danjou.info>
8192
8193 * color.el (color-name-to-rgb): Use the white color to find the max
8194 color component value and return correctly computed values.
8195 (color-name-to-rgb): Add missing float conversion for max value.
8196
8197 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8198
8199 * window.el (window--state-get-1, window-state-get): Do not use
8200 special state value for window-persistent-parameters.
8201 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8202 (window--state-put-2): Reset all window parameters to nil before
8203 assigning values of persistent parameters.
8204
8205 2012-01-18 Alan Mackenzie <acm@muc.de>
8206
8207 Eliminate sluggishness and hangs in fontification of "semicolon
8208 deserts".
8209
8210 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8211 Change value 10000 -> 3000.
8212 (c-state-safe-place): Reformulate so it doesn't stack up an
8213 infinite number of wrong entries in c-state-nonlit-pos-cache.
8214 (c-determine-limit-get-base, c-determine-limit): New functions to
8215 determine backward search limits disregarding literals.
8216 (c-find-decl-spots): Amend commenting.
8217 (c-cheap-inside-bracelist-p): New function which detects "={".
8218
8219 * progmodes/cc-fonts.el
8220 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8221 backward search.
8222 (c-font-lock-declarations): Fix an occurrence of point being
8223 undefined. Check additionally for point being in a bracelist or
8224 near a macro invocation without a semicolon so as to avoid a
8225 fruitless time consuming search for a declarator. Give a more
8226 precise search limit for declarators using the new
8227 c-determine-limit.
8228
8229 2012-01-18 Glenn Morris <rgm@gnu.org>
8230
8231 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8232 (set-auto-mode): Doc fixes.
8233
8234 2012-01-17 Glenn Morris <rgm@gnu.org>
8235
8236 * isearch.el (search-nonincremental-instead): Fix doc typo.
8237
8238 * dired.el (dired-insert-directory): Handle newlines in directory name.
8239 (dired-build-subdir-alist): Unescape newlines in directory name.
8240
8241 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8242
8243 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8244 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8245 (tramp-action-terminal): Use it. (Bug#10530)
8246
8247 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8250
8251 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8252
8253 * window.el (window-state-ignored-parameters): Remove variable.
8254 (window--state-get-1): Rename argument MARKERS to IGNORE.
8255 Handle persistent window parameters. Make copy of clone-of
8256 parameter only if requested. (Bug#10348)
8257 (window--state-put-2): Install a window parameter only if it has
8258 a non-nil value or an existing parameter shall be overwritten.
8259
8260 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8263
8264 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8265
8266 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8267 don't pass the (nil) value of `upnode' to string-match.
8268
8269 2012-01-14 Chong Yidong <cyd@gnu.org>
8270
8271 * startup.el (command-line): Fix X resource class for cursorColor.
8272 Fix values recognized by the cursorBlink resource.
8273
8274 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8275
8276 * epg.el (epg--make-temp-file): Avoid permission race condition
8277 when running on old Emacs versions (bug#10403).
8278
8279 2012-01-14 Glenn Morris <rgm@gnu.org>
8280
8281 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8282
8283 2012-01-13 Alan Mackenzie <acm@muc.de>
8284
8285 Fix filling for when filladapt mode is enabled.
8286
8287 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8288 c-mask-paragraph, pass in `fill-paragraph' rather than
8289 `fill-region-as-paragraph'. (This is a reversion of a previous
8290 change.)
8291 * progmodes/cc-mode.el (c-basic-common-init):
8292 Make fill-paragraph-handle-comment buffer local and set it to nil.
8293
8294 2012-01-13 Glenn Morris <rgm@gnu.org>
8295
8296 * dired.el (dired-switches-escape-p): New function.
8297 (dired-insert-directory): Use dired-switches-escape-p.
8298 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8299
8300 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8301
8302 2012-01-12 Glenn Morris <rgm@gnu.org>
8303
8304 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8305 changes in adaptive-fill-regexp. (Bug#10276)
8306
8307 2012-01-11 Alan Mackenzie <acm@muc.de>
8308
8309 Fix Emacs bug #10463 - put `widen's around the critical spots.
8310
8311 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8312 widen around each invocation of c-state-pp-to-literal. Remove an
8313 unused let variable.
8314
8315 2012-01-11 Glenn Morris <rgm@gnu.org>
8316
8317 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8318 Doc fix.
8319
8320 2012-01-10 Chong Yidong <cyd@gnu.org>
8321
8322 * net/network-stream.el (network-stream-open-starttls):
8323 Avoid emitting a confusing error message when the server gives a bad
8324 response to the capability command.
8325
8326 2012-01-10 Glenn Morris <rgm@gnu.org>
8327
8328 * mail/unrmail.el (unrmail): Tweak previous change.
8329
8330 2012-01-09 Chong Yidong <cyd@gnu.org>
8331
8332 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8333
8334 2012-01-08 Alan Mackenzie <acm@muc.de>
8335
8336 Optimise font locking in long enum definitions.
8337
8338 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8339 arm to a cond form to handle enums.
8340 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8341 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8342
8343 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8344
8345 * files.el (move-file-to-trash): Preserve default file modes on error.
8346 (Bug#10401)
8347
8348 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * faces.el (set-face-attribute): Clarify the meaning of the nil
8351 frame (bug#10294).
8352
8353 * subr.el (with-selected-frame): Mention that the selected frame
8354 is restored (bug#9980).
8355
8356 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8357 (bug#9759).
8358
8359 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8360 (password-read): Don't autoload unused function.
8361
8362 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
8363
8364 * progmodes/which-func.el (which-func-mode): Turn into a
8365 non-interactive function and mark as obsolete (bug#10428).
8366
8367 2012-01-06 Chong Yidong <cyd@gnu.org>
8368
8369 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8370 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8371 functions, along with 1 and -1.
8372
8373 2012-01-06 Eli Zaretskii <eliz@gnu.org>
8374
8375 * time.el (display-time-load-average)
8376 (display-time-default-load-average): Doc fixes. See the thread
8377 starting at
8378 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8379 for the details.
8380
8381 2012-01-06 Glenn Morris <rgm@gnu.org>
8382
8383 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8384 has no messages. (Bug#10377)
8385
8386 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8387 than Info-edit. (Bug#10385)
8388
8389 * time.el (display-time-load-average, display-time-next-load-average):
8390 Doc fixes.
8391
8392 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8393 local setting of buffer-read-only to the input buffer. (Bug#10419)
8394
8395 * calendar/calendar.el (calendar-mode):
8396 Locally set scroll-margin to 0. (Bug#10379)
8397
8398 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
8399
8400 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8401
8402 2012-01-05 Glenn Morris <rgm@gnu.org>
8403
8404 * eshell/em-unix.el (diff-no-select): Autoload it.
8405 (eshell/diff): Use diff-no-select. (Bug#10420)
8406
8407 2012-01-05 Chong Yidong <cyd@gnu.org>
8408
8409 * shell.el (shell-dynamic-complete-functions): Revert last change.
8410 (shell-command-completion-function): New function.
8411 (shell-completion-vars): Use it to implement
8412 shell-completion-execonly (Bug#10417).
8413
8414 * custom.el (enable-theme): Don't set custom-safe-themes.
8415
8416 * cus-theme.el (custom-theme-merge-theme):
8417 Ignore custom-enabled-themes and custom-safe-themes.
8418
8419 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8420
8421 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8422 first prompt in `sql-interacive-mode'.
8423 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8424 keywords.
8425 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8426 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8427 context of original buffer. Invoke `sql-login-hook'.
8428
8429 2012-01-04 Eli Zaretskii <eliz@gnu.org>
8430
8431 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8432 letters in cite-prefix.
8433
8434 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8435
8436 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8437
8438 2012-01-03 Chong Yidong <cyd@gnu.org>
8439
8440 * shell.el (shell-dynamic-complete-functions):
8441 Put pcomplete-completions-at-point, so as to try
8442 comint-filename-completion first (Bug#10417).
8443
8444 2012-01-02 Richard Stallman <rms@gnu.org>
8445
8446 * battery.el (battery-status-function):
8447 Detect when to use battery-yeeloong-sysfs.
8448 (battery-echo-area-format): Add string for Yeeloong.
8449 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8450 (battery-yeeloong-sysfs): New function.
8451
8452 2012-01-02 Chong Yidong <cyd@gnu.org>
8453
8454 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8455 (dirtrack): Merge code for handling relative filenames in prompt
8456 from shell-dir-cookie-watcher.
8457 (dirtrack-debug-message): New arg to avoid excess format calls.
8458
8459 * shell.el (shell-dir-cookie-re): Variable deleted.
8460 (shell-dir-cookie-watcher): Function deleted.
8461 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8462 with dirtrack-mode.
8463
8464 2012-01-01 Eli Zaretskii <eliz@gnu.org>
8465
8466 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8467 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8468 libgnutls-26.dll.
8469
8470 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8471
8472 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8473
8474 2011-12-31 Eli Zaretskii <eliz@gnu.org>
8475
8476 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8477 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8478
8479 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
8480
8481 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8482 also for alternative shells.
8483 (tramp-open-connection-setup-interactive-shell): Check, whether
8484 the shell is a busybox.
8485 (tramp-send-command): Don't suppress multiple prompts for
8486 busyboxes, it hurts.
8487
8488 2011-12-28 Chong Yidong <cyd@gnu.org>
8489
8490 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8491 (gdb-get-source-file): Move mode line update to
8492 gdb-get-source-file (Bug#10087).
8493
8494 2011-12-25 Chong Yidong <cyd@gnu.org>
8495
8496 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8497 gud-gdb-marker-filter without taking it as an argument.
8498 (gud-gdb-run-command-fetch-lines): Caller changed.
8499 (gud-gdb-completion-function): New variable.
8500 (gud-gdb-completion-at-point): Use it.
8501 (gud-gdb-completions-1): Split from gud-gdb-completions.
8502
8503 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8504 function as separate arguments.
8505 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8506 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8507 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8508 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8509 (gdb-stopped, def-gdb-auto-update-trigger)
8510 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8511 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8512 Callers changed.
8513 (gud-gdbmi-completions): New function.
8514 (gdb): Use it for generating the completion table.
8515
8516 2011-12-24 Alan Mackenzie <acm@muc.de>
8517
8518 Introduce a mechanism to widen the region used in context font
8519 locking. Use this to protect declarations from losing their contexts.
8520
8521 * progmodes/cc-langs.el (c-before-font-lock-functions):
8522 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8523 (c-before-context-fontification-functions): New defvar, a list of
8524 functions to be run just before context (etc.) font locking.
8525
8526 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8527 New, functionality extracted from
8528 c-neutralize-syntax-in-and-mark-CPP.
8529 (c-in-after-change-fontification): New variable.
8530 (c-after-change): Set c-in-after-change-fontification.
8531 (c-set-fl-decl-start): Rejig its interface, so it can be called
8532 from both after-change and context fontifying.
8533 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8534 New functions.
8535 (c-standard-font-lock-fontify-region-function): New variable.
8536 (c-font-lock-fontify-region): New function.
8537
8538 2011-12-24 Juri Linkov <juri@jurta.org>
8539
8540 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8541 (Bug#10348)
8542
8543 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
8544
8545 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8546 existence of source file. (Bug#10325)
8547
8548 2011-12-23 Alan Mackenzie <acm@muc.de>
8549
8550 Fix unstable fontification inside templates.
8551
8552 * progmodes/cc-langs.el (c-before-font-lock-functions):
8553 Newly created from the singular version. The (c c++ objc) entry now
8554 additionally has c-set-fl-decl-start. The other languages (apart
8555 from AWK) have that as a single entry.
8556
8557 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8558 The functionality for "local" declarations has been extracted to
8559 c-set-fl-decl-start.
8560
8561 * progmodes/cc-mode.el (c-common-init, c-after-change):
8562 Changes due to pluralisation of c-before-font-lock-functions.
8563 (c-set-fl-decl-start): New function, extracted from
8564 c-font-lock-enclosing-decls and enhanced.
8565
8566 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
8567
8568 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8569
8570 2011-12-22 Juri Linkov <juri@jurta.org>
8571
8572 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8573
8574 2011-12-22 Chong Yidong <cyd@gnu.org>
8575
8576 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8577
8578 2011-12-21 Drew Adams <drew.adams@oracle.com>
8579
8580 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8581
8582 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8583
8584 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8585
8586 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8587
8588 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8589 highlighting and support. Fix up comments for capitalization.
8590 (cfengine-mode-debug): New var.
8591 (cfengine3-mode): Change the modeline indicator to "CFE3".
8592 (cfengine3-font-lock-keywords): Improve defun highlighting.
8593 (cfengine2-actions): Rename from `cfengine-actions'.
8594 (cfengine2-font-lock-keywords): Rename from
8595 `cfengine-font-lock-keywords'.
8596 (cfengine2-imenu-expression): Rename from
8597 `cfengine-imenu-expression'.
8598 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8599 (cfengine2-beginning-of-defun): Rename from
8600 `cfengine-beginning-of-defun'.
8601 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8602 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8603 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8604 modeline indicator to "CFE2".
8605 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8606 (cfengine-mode-abbrevs): Mark obsolete.
8607
8608 2011-12-21 Chong Yidong <cyd@gnu.org>
8609
8610 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8611 filename argument.
8612
8613 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8614
8615 * window.el (window-normalize-buffer-to-display): Remove.
8616 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8617
8618 2011-12-19 Chong Yidong <cyd@gnu.org>
8619
8620 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8621 Don't signal an error in a predicate function; return non-nil.
8622 (vc-dir-mark-file): Move the error here.
8623 (vc-dir-mark-unmark): If acting on the region, keep going if one
8624 of the entries cannot be marked/unmarked.
8625 (vc-dir-mark-all-files): If current entry is a directory, mark
8626 only child files, as documented.
8627
8628 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8629
8630 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8631 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8632 addition.
8633
8634 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8635
8636 * term/ns-win.el (ns-get-selection-internal)
8637 (ns-store-selection-internal): Declare.
8638 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8639 Declare as obsolete.
8640 (ns-get-pasteboard, ns-paste-secondary):
8641 Use ns-get-selection-internal.
8642 (ns-set-pasteboard, ns-copy-including-secondary):
8643 Use ns-store-selection-internal.
8644
8645 2011-12-17 Chong Yidong <cyd@gnu.org>
8646
8647 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8648 (vc-deduce-fileset): Doc fix.
8649
8650 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8651
8652 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8653
8654 2011-12-13 Sam Steingold <sds@gnu.org>
8655
8656 * man.el (Man-getpage-in-background): When running under a
8657 window-system, ignore $MANWIDTH and $COLUMNS.
8658
8659 2011-12-15 Kenichi Handa <handa@m17n.org>
8660
8661 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8662 (setup-ethiopic-environment-internal): Comment out key-binding for
8663 ethio-toggle-punctuation.
8664
8665 2011-12-13 Alan Mackenzie <acm@muc.de>
8666
8667 Add the switch statement to AWK Mode.
8668
8669 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8670 "default" to the keywords regexp.
8671
8672 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8673 expression as the rest.
8674 (c-nonlabel-token-key): Allow string literals for AWK.
8675 Refactor for the other modes.
8676
8677 Large brace-block initialisation makes CC Mode slow: Fix.
8678 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8679 routines. Limit backward searching in c-font-lock-enclosing.decl.
8680
8681 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8682 pp-state and literal type in addition to the limits.
8683 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8684 (c-state-literal-at): Use the above new defun.
8685 (c-slow-in-literal, c-fast-in-literal): Remove.
8686 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8687
8688 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8689 being in a literal. Add a limit for backward searching.
8690
8691 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8692 c-slow-in-literal.
8693
8694 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8697
8698 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8699
8700 * window.el (delete-other-windows): Use correct frame in call to
8701 window-with-parameter.
8702
8703 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8704
8705 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8706 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8707 (makefile-gmake-statements, makefile-makepp-statements):
8708 Use it and add new makepp keywords.
8709 (makefile-makepp-font-lock-keywords): Add new patterns.
8710 (makefile-match-function-end): Match new [...] and [[...]].
8711
8712 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8713
8714 * ses.el (ses-call-printer-return, ses-cell-property-get)
8715 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8716 (ses-create-cell-variable, ses-reset-header-string)
8717 (ses-cell-set-formula, ses-repair-cell-reference-all)
8718 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8719 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8720 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8721 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8722 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8723 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8724 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8725 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8726 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8727 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8728 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8729 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8730
8731 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8732
8733 * ses.el: The overall change is to add cell renaming, that is
8734 setting fancy names for cell symbols other than name matching
8735 "\\`[A-Z]+[0-9]+\\'" regexp .
8736 (ses-create-cell-variable): New defun.
8737 (ses-relocate-formula): Relocate formulas only for cells the
8738 symbols of which are not renamed, i.e. symbols whose names do not
8739 match regexp "\\`[A-Z]+[0-9]+\\'".
8740 (ses-relocate-all): Relocate values only for cells the symbols of
8741 which are not renamed.
8742 (ses-load): Create cells variables as the (ses-cell ...) are read,
8743 in order to check row col consistency with cell symbol name only
8744 for cells that are not renamed.
8745 (ses-replace-name-in-formula): New defun.
8746 (ses-rename-cell): New defun.
8747
8748 2011-12-11 Chong Yidong <cyd@gnu.org>
8749
8750 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8751 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8752
8753 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8754
8755 * window.el (other-window): Fix docstring.
8756
8757 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8758
8759 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8760 `from' or `to' address before taking its substring.
8761 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8762 encoded name is chopped in the middle of the encoded string, and
8763 thus displayed encoded.
8764
8765 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8766
8767 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8768
8769 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8770
8771 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8772 to use texinfo-update-node and commands that call it if the
8773 Texinfo file uses @node lines without next/prev/up pointers.
8774 Correct outdated description about texinfo-master-menu.
8775 (texinfo-all-menus-update, texinfo-master-menu)
8776 (texinfo-update-node, texinfo-every-node-update)
8777 (texinfo-multiple-files-update): Doc fix. Warn against updating
8778 all the @node lines.
8779 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8780 argument is numeric. Explain better in the doc string what the
8781 function really does.
8782 (texinfo-insert-master-menu-list): Improve the error message
8783 displayed if there's no menu in the Top node.
8784 (Bug#2975) See also this thread:
8785 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8786
8787 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8788
8789 * speedbar.el (speedbar-supported-extension-expressions):
8790 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8791
8792 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8793
8794 * printing.el (pr-mode-alist):
8795 * simple.el (filter-buffer-substring-functions)
8796 (completion-list-insert-choice-function):
8797 * window.el (window-with-parameter, window-atom-root)
8798 (window-sides-slots, window-size-fixed, window-min-delta)
8799 (window-max-delta, window--resize-mini-window)
8800 (window--resize-child-windows-normal, window-tree)
8801 (delete-other-windows, quit-window, split-window)
8802 (display-buffer-record-window, special-display-buffer-names)
8803 (special-display-regexps, special-display-popup-frame)
8804 (same-window-p, split-window-sensibly)
8805 (display-buffer-overriding-action, display-buffer-alist)
8806 (display-buffer-base-action, display-buffer, switch-to-buffer)
8807 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8808 (fit-window-to-buffer, recenter-positions)
8809 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8810 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8811 and remove unneeded backslashes in docstrings.
8812
8813 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8816
8817 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8818 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8819 end in ".mk".
8820 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8821 when reading the makefile (bug#10116).
8822
8823 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8826 (bug#10116).
8827
8828 2011-12-06 Glenn Morris <rgm@gnu.org>
8829
8830 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8831
8832 2011-12-06 Chong Yidong <cyd@gnu.org>
8833
8834 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8835
8836 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8837
8838 * textmodes/table.el (table-shorten-cell): Fix typo.
8839
8840 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8841
8842 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8843
8844 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8845
8846 * descr-text.el (describe-char): Fix display of strong
8847 right-to-left characters and directional embeddings and overrides.
8848
8849 * simple.el (what-cursor-position): Fix display of codepoints of
8850 strong right-to-left characters.
8851
8852 2011-12-05 Chong Yidong <cyd@gnu.org>
8853
8854 * faces.el (read-color): Doc fix.
8855
8856 2011-12-05 Glenn Morris <rgm@gnu.org>
8857
8858 * align.el (align--set-marker): Add doc-string.
8859 Don't try to move something that is not a marker. (Bug#10216)
8860
8861 2011-12-04 Glenn Morris <rgm@gnu.org>
8862
8863 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8864 overly zealous deletion of trailing whitespace.
8865
8866 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8867
8868 * server.el (server-delete-client): On Windows, do not try to delete
8869 the only terminal.
8870 (server-process-filter): On Windows, treat requests for a tty frame as
8871 if they were for a GUI frame if the running server is in GUI mode.
8872
8873 2011-12-03 Glenn Morris <rgm@gnu.org>
8874
8875 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8876
8877 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * electric.el: Streamline electric-indent's hook.
8880 (electric-indent-chars): Revert to simple list.
8881 (electric-indent-functions): New var.
8882 (electric-indent-post-self-insert-function): Use it.
8883
8884 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8885 there's no inferior buffer (bug#10196).
8886 (prolog-consult-compile): Don't use toggle-read-only.
8887
8888 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8889
8890 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8891 interrupt. (Bug#10187)
8892
8893 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8896 (bug#9160).
8897
8898 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8899 (bug#10191).
8900
8901 2011-12-02 Juri Linkov <juri@jurta.org>
8902
8903 * info.el (Info-search): Display "end of manual" when Isearch
8904 reaches the end of single-file Info manual. (Bug#9918)
8905
8906 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8907
8908 * isearch.el (isearch-message-prefix): Run the input method part
8909 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8910
8911 2011-12-02 Juri Linkov <juri@jurta.org>
8912
8913 * isearch.el (isearch-occur): Use `word-search-regexp' for
8914 `isearch-word'.
8915 (isearch-search-and-update): Add condition for `isearch-word' and
8916 call `word-search-regexp'. (Bug#10145)
8917
8918 2011-12-01 Glenn Morris <rgm@gnu.org>
8919
8920 * eshell/em-hist.el (eshell-hist-initialize):
8921 Handle eshell-history-size nil and HISTSIZE set or unset.
8922 (eshell-history-file-name, eshell-history-size): Fix custom type.
8923
8924 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8927
8928 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
8929
8930 * progmodes/verilog-mode.el (verilog-pretty-expr):
8931 Rework verilog-pretty-expr to handle new assignment operators in system
8932 verilog, such as += *= and the like.
8933 (verilog-assignment-operator-re): Regular expression to find the
8934 assigment operator in a verilog assignment.
8935 (verilog-assignment-operation-re): Regular expression to find an
8936 assignment statement for pretty-expr.
8937 (verilog-in-attribute-p): Query returns true if point is in an
8938 attribute context; used to skip these for expression line up from
8939 pretty-expr.
8940 (verilog-in-parameter-p): Query returns true if point is in an
8941 parameter definition context; used to skip these for expression
8942 line up from pretty-expr.
8943 (verilog-in-parenthesis-p): Query returns true if point is in a
8944 parenthetical expression, specifically ( ) but not [ ] or { };
8945 used by pretty-expr.
8946 (verilog-just-one-space): If there is no space, don't add one.
8947 (verilog-get-lineup-indent-2): Specifically skip just attribute
8948 contexts for expression lineup, rather than skipping all
8949 parenthetical expressions.
8950 (verilog-calculate-indent): Fix comment, and fix indent.
8951 (verilog-do-indent): Indent declarations in lists (suggested by
8952 Joachim Lechner).
8953 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8954 skeleton items.
8955 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8956 by Alain Mellan).
8957
8958 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8959
8960 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8961 parameters with embedded comments. Reported by Ray Stevens.
8962 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8963 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8964 Reported by Tim Holt.
8965 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8966 instantiated by upper module causing wrong expansion until AUTOed a
8967 second time. Reported by K C Buckenmaier.
8968 (verilog-diff-auto): Fix showing .* as a difference when
8969 `verilog-auto-star-save' off. Reported by Dan Dever.
8970 (verilog-auto-reset, verilog-read-always-signals)
8971 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8972 temporary signals in reset list if
8973 verilog-auto-reset-blocking-in-non is nil, and match assignment
8974 style to each signal's assignment type, bug381.
8975 Reported by Thomas Esposito.
8976 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8977 (verilog-uvm-statement-re): Support UVM indentation and
8978 highlighting, with old OVM keywords only.
8979 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8980 Support AUTOTIEOFF creating non-wire data types.
8981 Suggested by Jonathan Greenlaw.
8982 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8983 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8984 (verilog-inject-sense, verilog-read-inst-pins)
8985 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8986 Fix mismatching parenthesis inside commented out code when deleting
8987 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8988 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8989 non-numeric vector width. Reported by Alex Reed.
8990 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8991 detecting signals with parameter widths. Reported by Alex Reed.
8992 (verilog-auto-delete-trailing-whitespace):
8993 With `verilog-auto-delete-trailing-whitespace' remove trailing
8994 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8995 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8996 Fix verilog-scan-cache corruption when running user AUTO expansion
8997 hooks that call indentation routines.
8998 (verilog-simplify-range-expression): Fix typo ignoring lower case
8999 identifiers.
9000 (verilog-delete-auto): Fix delete-autos to also remove user created
9001 automatics, as long as they start with AUTO.
9002 (verilog-batch-diff-auto, verilog-diff-auto)
9003 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9004 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9005 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9006 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9007 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9008 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9009 is disabled and its cache will get corrupt, causing AUTOS not to
9010 expand. Instead use only -quick functions.
9011 (verilog-scan-region): Fix scanning over escaped quotes.
9012 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9013 (verilog-re-search-backward-quick)
9014 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9015 related functions now ignore strings, to fix misparsing of strings
9016 with magic comments embedded in them.
9017 (verilog-read-auto-template):
9018 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9019 Reported by Brad Dobbie.
9020 (verilog-read-auto-template):
9021 Fix 'verilog-auto-inst-template-numbers' with comments.
9022 Reported by Brad Dobbie.
9023 (verilog-auto-inst, verilog-auto-inst-param)
9024 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9025 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9026 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9027 debugging templates without merge conflicts, bug357.
9028 Reported by Brad Dobbie.
9029 (verilog-read-auto-template):
9030 Fix verilog-auto-inst-template-numbers with multiple templates.
9031 Reported by Brad Dobbie.
9032 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9033 abbrevs so user won't be asked to save.
9034 (verilog-read-auto-lisp-present): Fix to start at beginning of
9035 buffer in case called outside of verilog-auto.
9036 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9037 to "X-2". Reported by Matthew Myers.
9038 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9039 all inputs from module templates. Reported by Leith Johnson.
9040 (verilog-module-inside-filename-p): Fix locating programs as with
9041 modules.
9042 (verilog-auto-inst-port): Fix vl-width expressions when using
9043 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9044 (verilog-decls-get-regs, verilog-decls-get-signals,
9045 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9046 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9047 verilog-read-decls): Combine reg and wire structures into one var
9048 structure to represent SystemVerilog concepts.
9049 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9050 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9051 (verilog-auto-wire-type, verilog-insert-definition):
9052 Add verilog-auto-wire-type and AUTOLOGIC to support using
9053 SystemVerilog "logic" keyword instead of "wire"/"reg".
9054 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9055 to declares outputs that also have assignments (presumably in an
9056 ifdef or generate if so there's not a driver conflict).
9057 Reported by Matthew Myers.
9058 (verilog-auto-declare-nettype, verilog-insert-definition):
9059 Add verilog-auto-declare-nettype to fix declarations using
9060 `default_nettype none. Reported by Julian Gorfajn.
9061 (verilog-read-always-signals-recurse, verilog-read-decls)
9062 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9063 malformed end statement, bug325. Reported by Joshua Wise and
9064 Andrew Drake.
9065 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9066 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9067 when expanding .* in interfaces, bug320.
9068 Reported by Pierre-David Pfister.
9069 (verilog-read-module-name): Fix import statements between module
9070 name and open parenthesis, bug317.
9071 Reported by Pierre-David Pfister.
9072 (verilog-simplify-range-expression): Fix simplification of
9073 multiplications inside AUTOWIRE connections, bug303.
9074 (verilog-auto-inst-port): Support parameter expansion in
9075 multidimensional arrays.
9076 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9077 after "assert property". Reported by Julian Gorfajn.
9078 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9079 with multiplication, bug303.
9080 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9081 Reported by Jan Frode Lonnum.
9082
9083 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9084
9085 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9086 (hfy-shell-file-name, hfy-shell):
9087 * international/fontset.el (x-decompose-font-name): Fix typos.
9088
9089 2011-11-29 Ken Brown <kbrown@cornell.edu>
9090
9091 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9092 (gdb-version): Remove defvar.
9093 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9094 (gdb-gud-context-command, gdb-non-stop-handler)
9095 (gdb-current-context-command, gdb-stopped): Use it.
9096 (gdb-init-1): Enable pretty printing here.
9097 (gdb-non-stop-handler): Don't enable pretty-printing here.
9098 Check to see if the target supports non-stop mode; if not, turn off
9099 non-stop mode. Use the following.
9100 (gdb-check-target-async): New defun.
9101 (gud-watch, gdb-stopped): Fix whitespace.
9102 (gdb-get-source-file): Don't try to display the source file if
9103 `gdb-main-file' is nil.
9104
9105 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 * align.el: Try to generate fewer markers (bug#10047).
9108 (align--set-marker): New macro.
9109 (align-region): Use it.
9110
9111 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9114
9115 2011-11-29 Chong Yidong <cyd@gnu.org>
9116
9117 * indent.el (indent-for-tab-command, indent-according-to-mode):
9118 Doc fix.
9119 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9120
9121 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9122
9123 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9124 aware of remote file names. (Bug#10124)
9125
9126 2011-11-29 Chong Yidong <cyd@gnu.org>
9127
9128 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9129
9130 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * files.el (find-file): Don't use force-same-window (bug#10144).
9133 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9134 use pop-to-buffer if the selected window can't be used.
9135 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9136
9137 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9138
9139 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9140 special-mode-map.
9141
9142 2011-11-28 Chong Yidong <cyd@gnu.org>
9143
9144 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9145
9146 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
9147
9148 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9149 gdb-get-source-file-list on gdb-create-source-file-list.
9150
9151 2011-11-26 Eli Zaretskii <eliz@gnu.org>
9152
9153 * whitespace.el (whitespace-newline): Use a different foreground
9154 color for 16-color light-background displays.
9155
9156 2011-11-24 Chong Yidong <cyd@gnu.org>
9157
9158 * window.el (display-buffer--special-action): Doc fix.
9159
9160 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9163 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9164 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9165 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9166 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9167 (avl-tree-stack-first):
9168 * emacs-lisp/cconv.el (cconv--analyse-use):
9169 * net/gnutls.el (gnutls-negotiate): Fix typos.
9170
9171 2011-11-24 Glenn Morris <rgm@gnu.org>
9172
9173 * lpr.el (lpr-windows-system, lpr-lp-system):
9174 * mail/binhex.el (binhex-begin-line):
9175 * progmodes/grep.el (grep-history, grep-find-history):
9176 * textmodes/flyspell.el:
9177 * vc/pcvs-defs.el (cvs-global-menu):
9178 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9179 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9180 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9181
9182 * net/tls.el: Fix case of "GnuTLS".
9183
9184 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9185
9186 * version.el (emacs-build-system): Give it a doc-string.
9187
9188 2011-11-24 Juri Linkov <juri@jurta.org>
9189
9190 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9191
9192 2011-11-24 Glenn Morris <rgm@gnu.org>
9193
9194 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9195 if called on a non-mime message just toggle the headers. (Bug#8006)
9196
9197 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9200 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9201 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9202 (allout-rebullet-heading, allout-open-sibtopic)
9203 (allout-toggle-current-subtree-encryption)
9204 (allout-toggle-subtree-encryption, allout-encrypt-string)
9205 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9206 (allout-distinctive-bullets-string, allout-auto-activation):
9207 * window.el (window-normalize-buffer-to-display):
9208 * progmodes/verilog-mode.el (verilog-batch-indent):
9209 * textmodes/bibtex.el (bibtex-field-braces-opt)
9210 (bibtex-field-strings-opt):
9211 * vc/cvs-status.el (cvs-tree-merge):
9212 Fix typos.
9213
9214 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9215
9216 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9217 `non-essential' to t, in order to avoid remote connections.
9218
9219 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9220
9221 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9222 On MS-DOS and MS-Windows, compare with loaddefs.el
9223 case-insensitively.
9224
9225 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9226
9227 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9228
9229 2011-11-23 Glenn Morris <rgm@gnu.org>
9230
9231 * paths.el (rmail-file-name): Reformat the doc-string so that it
9232 is picked up.
9233
9234 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9235 (rmail-auto-file): Ignore case in the "special" field names,
9236 as mail-fetch-field does for all others.
9237
9238 * mail/rmail.el (rmail-forward):
9239 * mail/rmailkwd.el (rmail-set-label):
9240 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9241 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9242
9243 * mail/rmail.el (rmail-current-message): Doc fix.
9244
9245 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9246
9247 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9250
9251 2011-11-22 Glenn Morris <rgm@gnu.org>
9252
9253 * mail/rmailmm.el (test-rmail-mime-handler)
9254 (test-rmail-mime-bulk-handler)
9255 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9256
9257 2011-11-21 Juri Linkov <juri@jurta.org>
9258
9259 * calc/calc.el (calc-read-key-sequence):
9260 Let-bind `input-method-function' to nil. (Bug#10018)
9261
9262 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9263
9264 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9265 Tell the caller that the next line needs recomputation, even
9266 though it doesn't start a sexp (bug#10094).
9267
9268 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9271
9272 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9275 Use force-same-window.
9276
9277 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9278
9279 * descr-text.el (describe-char-unicode-data):
9280 * json.el (json-string-escape):
9281 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9282 (Footnote-unicode, Footnote-style-p):
9283 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9284
9285 2011-11-20 Chong Yidong <cyd@gnu.org>
9286
9287 * window.el (replace-buffer-in-windows): Restore interactive spec.
9288
9289 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9292
9293 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9294 (byte-compile-global-not-obsolete-vars): New var.
9295 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9296 Use it.
9297 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9298
9299 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9300
9301 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9302 * progmodes/pascal.el (electric-pascal-equal):
9303 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9304 * xml.el (xml-substitute-special): Fix typos.
9305
9306 2011-11-20 Glenn Morris <rgm@gnu.org>
9307
9308 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9309 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9310 Doc fixes.
9311 (rmail-decode-mime-charset): Mark as obsolete.
9312
9313 * mail/rmailsum.el (rmail-message-regexp-p-1):
9314 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9315 Before using mime functions, check they are set. (Bug#10077)
9316
9317 2011-11-19 Juri Linkov <juri@jurta.org>
9318
9319 * info.el (Info-finder-find-node): Use `package--builtins' instead
9320 of `package-alist'. Use node names formed by the pattern "Keyword "
9321 and the keyword name.
9322
9323 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9324
9325 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9326
9327 2011-11-19 Juri Linkov <juri@jurta.org>
9328
9329 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9330 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9331 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9332 `old-history', `old-history-forward'. Add let-binding
9333 `window-selected'. Remove calls to `kill-buffer',
9334 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9335 before calling `Info-find-node', so `Info-find-node-2' will reread
9336 the Info file. Restore window positions only when `window-selected'
9337 is non-nil.
9338
9339 2011-11-19 Juri Linkov <juri@jurta.org>
9340
9341 * isearch.el (isearch-lazy-highlight-new-loop):
9342 Remove condition `(not isearch-error)'. (Bug#9918)
9343
9344 * misearch.el (multi-isearch-search-fun): Add condition
9345 `(not bound)' to ignore lazy-highlighting search.
9346 Add the search-failed message "end of multi" when the end of
9347 multi-sequence is reached. Uncapitalize the search-failed
9348 message "Repeat for next buffer".
9349
9350 * info.el (Info-search): Add the search-failed message
9351 "end of the manual" when the end of the manual is reached
9352 in Isearch mode.
9353
9354 2011-11-19 Juri Linkov <juri@jurta.org>
9355
9356 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9357 Use non-destructive `remove' instead of `delete' because
9358 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9359 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9360
9361 2011-11-19 Juri Linkov <juri@jurta.org>
9362
9363 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9364 to nil instead of binding `search-ring' and `regexp-search-ring'.
9365 (Bug#9185)
9366
9367 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9368
9369 * simple.el (line-move): Force movement by logical lines for any
9370 hscrolled window, not only when auto-hscroll-mode is on.
9371 (line-move-visual): Update doc string to that effect. (Bug#10076)
9372
9373 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9374
9375 * language/european.el (macintosh): Define as alias for mac-roman.
9376
9377 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9378
9379 * mail/rmailmm.el (rmail-mime-display-header)
9380 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9381 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9382 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9383 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9384 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9385 of a raw aref.
9386 (rmail-mime-entity-segment): To get past the tagline, move forward
9387 2 more lines, to account for the 2 empty lines that precede and
9388 follow the line with the buttons.
9389 (rmail-mime-update-tagline): Move one more line, to get past the
9390 empty line that follows the buttons in the tagline. (Bug#9520)
9391
9392 2011-11-19 Martin Rudalics <rudalics@gmx.at>
9393
9394 * window.el (window-max-delta-1, window-min-delta-1)
9395 (window-min-size-1, window-state-get-1, window-state-put-1)
9396 (window-state-put-2): Use "window--" prefix.
9397
9398 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9399
9400 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9401 (smie-warning-count): New var.
9402 (smie-set-prec2tab): Use it.
9403 (smie-bnf->prec2): Improve warnings. Add docstring.
9404 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9405 (smie-bnf--set-class): New function.
9406 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9407 corner case.
9408
9409 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9410 (compilation-error-properties, compilation-move-to-column):
9411 Handle compilation-first-column while in the target buffer.
9412
9413 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9414 Don't hardcode point-min==1.
9415
9416 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9417 (eshell-rewrite-for-command): Remove workaround.
9418 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9419 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9420 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9421
9422 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9423
9424 2011-11-17 Glenn Morris <rgm@gnu.org>
9425
9426 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9427 Ignore buffer-local generated-autoload-file if it is the same
9428 as the global value. (Bug#10049)
9429
9430 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
9431
9432 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9433 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9434 (reftex-toc-previous-heading, reftex-toc-max-level)
9435 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9436 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9437 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9438 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9439 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9440 (reftex-toc-rename-label, reftex-toc-visit-location)
9441 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9442 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9443 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9444 leaving "*toc*" only for references to the buffer.
9445
9446 2011-11-17 Martin Rudalics <rudalics@gmx.at>
9447
9448 * window.el (window-resize, delete-window, split-window):
9449 Replace window-splits by window-combination-resize.
9450 * cus-start.el (window-splits): Replace by window-combination-resize.
9451
9452 2011-11-17 Glenn Morris <rgm@gnu.org>
9453
9454 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9455 Make bash entry derive from sh entry, not shell entry.
9456
9457 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
9458
9459 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9460 local file name.
9461
9462 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9463
9464 * menu-bar.el (menu-bar-file-menu):
9465 * printing.el (pr-ps-utility):
9466 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9467 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9468 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9469 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9470 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9471 (icalendar--convert-cyclic-to-ical)
9472 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9473 (icalendar--convert-ical-to-diary)
9474 (icalendar--convert-recurring-to-diary)
9475 (icalendar--convert-non-recurring-all-day-to-diary)
9476 (icalendar-import-format-sample):
9477 * progmodes/idlw-shell.el (idlwave-shell-mode):
9478 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9479 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9480 (vhdl-ps-print-init): Fix typos.
9481
9482 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9483
9484 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9485 FSF and collapse date sequence, obscure author/maintainer email address
9486 better, remove extra version line, track relocation of author's webpage.
9487
9488 * progmodes/python.el (python-pdbtrack-input-prompt)
9489 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9490 regular python pdb prompts. Adjustments shamelessly taken exactly as
9491 suggested in EmacsWiki page (tiny change):
9492 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9493
9494 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9495
9496 * expand.el (expand-pos, expand-index, expand-point):
9497 Remove redundant info from docstring.
9498 (expand-add-abbrevs): Doc fix.
9499 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9500 (expand-sample-perl-mode-expand-list): Fix typos.
9501
9502 * net/dbus.el (dbus-event-member-name):
9503 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9504 * term/pc-win.el (msdos-create-frame-with-faces):
9505 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9506
9507 2011-11-16 Martin Rudalics <rudalics@gmx.at>
9508
9509 * window.el (split-window, window-state-get-1)
9510 (window-state-put-1, window-state-put-2): Rename occurrences of
9511 window-nest to window-combination-limit.
9512 * cus-start.el (window-nest): Rename to window-combination-limit.
9513
9514 2011-11-16 Chong Yidong <cyd@gnu.org>
9515
9516 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9517 regexp (Bug#10033).
9518
9519 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9522 `completing-read' will remove *Completions* and will preserve
9523 current-buffer for us.
9524 (tmm-add-prompt): Users of *Completions* will always (re)set its
9525 major mode.
9526 (tmm-old-comp-map): Remove.
9527
9528 2011-11-16 Glenn Morris <rgm@gnu.org>
9529
9530 * mail/rmailedit.el: Require rmailmm when compiling.
9531 (rmail-old-mime-state): New declaration.
9532 (rmail-edit-current-message): If editing a mime message,
9533 edit the "raw" message from the mbox buffer.
9534 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9535
9536 2011-11-15 Glenn Morris <rgm@gnu.org>
9537
9538 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9539 which wasn't being used. Add optional arg to force given state.
9540 (rmail-mime): Add optional arg to force given state.
9541
9542 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9545 * frame.el (display-mm-dimensions-alist):
9546 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9547 (outline-move-subtree-down):
9548 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9549 (newsticker--treeview-do-get-node):
9550 * net/quickurl.el (quickurl-list-buffer-name):
9551 * progmodes/dcl-mode.el (dcl-mode):
9552 * progmodes/gdb-mi.el (gdb-mapcar*):
9553 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9554
9555 2011-11-15 Glenn Morris <rgm@gnu.org>
9556
9557 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9558 in a boolean sense, so just make it a boolean, and fix the doc.
9559 (rmail-show-mime-function, rmail-mime-feature)
9560 (rmail-require-mime-maybe): Doc fixes.
9561 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9562
9563 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9564
9565 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9566
9567 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9568 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9569 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9570 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9571
9572 2011-11-15 Glenn Morris <rgm@gnu.org>
9573
9574 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9575 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9576 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9577 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9578 (rmail-mime, rmail-show-mime): Doc fixes.
9579
9580 * term/ns-win.el (mode-line-frame-identification):
9581 Leave it alone. (Bug#10051)
9582
9583 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9584
9585 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9586 Handle empty buffers. (Bug#9978)
9587
9588 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9589
9590 * international/mule.el (define-charset):
9591 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9592 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9593 * progmodes/verilog-mode.el (verilog-backward-token):
9594 * textmodes/ispell.el (lookup-words):
9595 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9596
9597 2011-11-14 Glenn Morris <rgm@gnu.org>
9598
9599 * progmodes/executable.el
9600 (executable-make-buffer-file-executable-if-script-p):
9601 Handle file-modes returning nil.
9602
9603 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9604 message - not necessary, and causes problems. (Bug#9831)
9605
9606 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9607
9608 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9609
9610 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9611 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9612 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9613
9614 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9615
9616 * window.el (window-resize, delete-window): Use window-splits
9617 variable instead of function.
9618 (window-state-get-1, window-state-put-2, window-state-put):
9619 Don't deal with windows' splits status.
9620
9621 2011-11-12 Glenn Morris <rgm@gnu.org>
9622
9623 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9624 (apropos-documentation): Doc fixes.
9625
9626 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9627
9628 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9629 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9630
9631 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * electric.el (electric-indent-post-self-insert-function): Make it
9634 possible for a char to only indent in some circumstances.
9635 (electric-indent-mode): Simplify.
9636
9637 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9638
9639 * window.el (windows-with-parameter): Remove unused function.
9640 (windows-at-side): Rename to window-at-side-list.
9641 (window-check, window-atom-check, window-atom-check-1)
9642 (window-side-check, window-size-ignore, window-size-fixed-1)
9643 (window-in-direction-2): Prefix with "window--".
9644 (window-tree-1): Rename to window--subtree, fix doc-string.
9645
9646 2011-11-11 Glenn Morris <rgm@gnu.org>
9647
9648 * subr.el (eval-after-load): If FILE is already loaded,
9649 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9650
9651 2011-11-10 Glenn Morris <rgm@gnu.org>
9652
9653 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9654 Call svn via vc-svn-command rather than vc-do-command.
9655 (vc-svn-command): Add --non-interactive. (Bug#9993)
9656 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9657
9658 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9659 Add toggle-read-only. (Bug#7292)
9660 * files.el (toggle-read-only): Mention that it should only
9661 be used interactively. (Bug#10006)
9662
9663 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9666 Adjust regexp for OCaml warnings.
9667
9668 * electric.el (electric-pair-post-self-insert-function): Let user
9669 turn it off buffer-locally (bug#9932).
9670
9671 * progmodes/python.el (python-beginning-of-statement):
9672 Rewrite (bug#2703).
9673
9674 * progmodes/compile.el: Better handle TABs (bug#9749).
9675 (compilation-internal-error-properties)
9676 (compilation-next-error-function): Obey the target buffer's
9677 compilation-error-screen-columns.
9678
9679 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9680
9681 * progmodes/meta-mode.el: Remove obsolete comments.
9682 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9683 Fix typos in docstrings.
9684
9685 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9686
9687 * window.el (window-size-fixed-p): Rewrite doc-string.
9688 (window-resizable-p): Rename to window--resizable-p. Update callers.
9689 (window--resizable): New function. Make all callers of
9690 window-resizable call window--resizable instead.
9691 (window-resizable): Rewrite in terms of window--resizable.
9692
9693 2011-11-08 Glenn Morris <rgm@gnu.org>
9694
9695 * progmodes/delphi.el (delphi-mode-syntax-table):
9696 Let define-derived-mode define a proper syntax table. (Bug#9994)
9697
9698 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * window.el: Stay away from defsubst.
9701 (window-list-no-nils): Remove.
9702 (window-state-get-1, window-state-get): Use backquote instead.
9703
9704 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9705
9706 * emacs-lisp/find-func.el (find-function-read):
9707 Fix incorrect use of default argument in `completing-read'.
9708
9709 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9710
9711 * window.el (display-buffer-function, special-display-function):
9712 Mention display-buffer-record-window but do not mention
9713 help-setup parameter in doc-strings.
9714 (window-min-delta): Fix doc-string typo.
9715
9716 2011-11-08 Chong Yidong <cyd@gnu.org>
9717
9718 * window.el (window-total-height, window-total-width): Doc fix.
9719 (window-body-size): Move from C.
9720 (window-body-height, window-body-width): Move to C.
9721
9722 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * window.el: Make special-display like display-buffer-alist (bug#9532).
9725 (display-buffer--special-action): New function, morphed
9726 from display-buffer--special.
9727 (display-buffer): Use it to handle special-display-buffers at higher
9728 priority (just after display-buffer-alist).
9729 (display-buffer-fallback-action, display-buffer--other-frame-action)
9730 (pop-to-buffer-same-window): Remove display-buffer--special.
9731
9732 2011-11-07 Glenn Morris <rgm@gnu.org>
9733
9734 * calendar/cal-menu.el (cal-menu-set-date-title):
9735 Do nothing if not in a calendar. (Bug#9976)
9736
9737 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * files.el (find-file): Always use selected-window.
9740
9741 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9742
9743 * window.el (window-combinations): Make WINDOW argument
9744 mandatory. Rewrite doc-string.
9745 (walk-window-subtree, window-atom-check, window-min-delta)
9746 (window-max-delta, window--resize-this-window)
9747 (window--resize-root-window-vertically, window-tree)
9748 (balance-windows, window-state-put): Rewrite doc-strings as to
9749 not mention the term "subwindow".
9750 (window--resize-subwindows-skip-p): Rename to
9751 window--resize-child-windows-skip-p.
9752 (window--resize-subwindows-normal): Rename to
9753 window--resize-child-windows-normal.
9754 (window--resize-subwindows): Rename to
9755 window--resize-child-windows.
9756 (window-or-subwindow-p): Rename to window--in-subtree-p.
9757
9758 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9759
9760 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9761 Ensure that mbox format messages end in two newlines (Bug#9974).
9762
9763 2011-11-06 Chong Yidong <cyd@gnu.org>
9764
9765 * window.el (window-combination-p): Function deleted; its
9766 side-effect is not used in any existing code.
9767 (window-combinations, window-combined-p): Call window-*-child
9768 directly.
9769
9770 2011-11-05 Chong Yidong <cyd@gnu.org>
9771
9772 * window.el (window-valid-p): Rename from window-any-p.
9773 (window-size-ignore, window-state-get): Callers changed.
9774 (window-normalize-window): Rename from window-normalize-any-window.
9775 New arg LIVE-ONLY, replacing window-normalize-live-window.
9776 (window-normalize-live-window): Delete.
9777 (window-combination-p, window-combined-p, window-combinations)
9778 (walk-window-subtree, window-atom-root, window-min-size)
9779 (window-sizable, window-sizable-p, window-size-fixed-p)
9780 (window-min-delta, window-max-delta, window-resizable)
9781 (window-resizable-p, window-full-height-p, window-full-width-p)
9782 (window-current-scroll-bars, window-point-1, set-window-point-1)
9783 (window-at-side-p, window-in-direction, window-resize)
9784 (adjust-window-trailing-edge, maximize-window, minimize-window)
9785 (window-deletable-p, delete-window, delete-other-windows)
9786 (record-window-buffer, unrecord-window-buffer)
9787 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9788 (quit-window, split-window, window-state-put)
9789 (set-window-text-height, fit-window-to-buffer)
9790 (shrink-window-if-larger-than-buffer): Callers changed.
9791
9792 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9793
9794 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9795 rfc2047-decode-string.
9796 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9797 warnings.
9798
9799 * window.el (window-body-height, window-body-width): Mention in
9800 the doc string that the return values are in frame's canonical
9801 units. (Bug#9949)
9802
9803 2011-11-03 Alan Mackenzie <acm@muc.de>
9804
9805 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9806 change in cc-engine.el.
9807
9808 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9811
9812 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9813
9814 * window.el (quit-window): Call unrecord-window-buffer after
9815 showing another buffer in the window. (Bug#9937)
9816 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9817
9818 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9819
9820 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9821 Accept status with more than 9 shelves. (Bug#9935)
9822 Reported by Colin D Bennett <colin@gibibit.com>.
9823
9824 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9825
9826 * help.el (with-help-window): Don't reference
9827 temp-buffer-show-specifiers in doc-string.
9828
9829 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9830
9831 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9832 menu-item.
9833
9834 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9835
9836 * whitespace.el: New version 13.2.2.
9837 (whitespace-newline-mode): Disable properly. Reported by Sarah
9838 <EmacsWiki>.
9839
9840 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9841
9842 * net/newst-treeview.el: Remove "Time-stamp".
9843 (newsticker--group-manage-orphan-feeds): Do not call
9844 newsticker--treeview-tree-update.
9845 (newsticker-treeview-update, newsticker-treeview):
9846 Call newsticker--treeview-tree-update if necessary.
9847
9848 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9849
9850 * window.el (window-iso-combination-p, window-iso-combined-p)
9851 (window-iso-combinations): Remove "iso-" infix.
9852 Suggested by Chong Yidong.
9853 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9854 (window-max-delta-1, window-resize, window--resize-siblings)
9855 (window--resize-this-window, adjust-window-trailing-edge)
9856 (split-window, balance-windows-1)
9857 (shrink-window-if-larger-than-buffer):
9858 * calendar/calendar.el (calendar-generate-window):
9859 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9860
9861 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9864 in place (bug#9907).
9865 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9866 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9867 (eshell-structure-basic-command, eshell-rewrite-while-command)
9868 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9869 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9870 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9871 (eshell-do-pipelines-synchronously, eshell-eval-command):
9872 Use backquotes and prefer setq to set.
9873 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9874 (eshell-macrop): Use functionp.
9875 (eshell-do-eval): Handle multiple expressions in `while' body.
9876
9877 2011-10-30 Chong Yidong <cyd@gnu.org>
9878
9879 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9880 instead of set-mark (Bug#9810).
9881
9882 2011-10-30 Chong Yidong <cyd@gnu.org>
9883
9884 * window.el (split-window-below, split-window-right): Rename from
9885 split-window-above-each-other and split-window-side-by-side
9886 respectively. All callers changed.
9887 (split-window-sensibly, split-window-sensibly): Use them.
9888 (split-window-keep-point): Doc fix.
9889
9890 * isearch.el: Add isearch-scroll property to split-window-below
9891 and split-window-right.
9892
9893 * follow.el (follow-mode):
9894 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9895 * progmodes/ada-xref.el (ada-gdb-application):
9896 * emulation/vip.el (vip-buffer-in-two-windows):
9897 * image-dired.el (image-dired-dired-with-window-configuration):
9898 * dired-x.el (dired-do-find-marked-files):
9899 * dired.el (dired-pop-to-buffer):
9900 * bs.el (bs--show-with-configuration):
9901 * vc/emerge.el (emerge-setup-windows):
9902 * textmodes/two-column.el (2C-two-columns):
9903 * textmodes/reftex-toc.el (reftex-toc):
9904 * progmodes/gdb-mi.el (gdb-setup-windows):
9905 * progmodes/fortran.el (fortran-window-create):
9906 * net/newst-treeview.el (newsticker--treeview-window-init):
9907 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9908 * emulation/tpu-edt.el (tpu-gold-map):
9909 * emulation/crisp.el (crisp-mode-map):
9910 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9911
9912 2011-10-29 Chong Yidong <cyd@gnu.org>
9913
9914 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9915
9916 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9917
9918 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9919 forged Ispell output (Bug#7904).
9920
9921 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9922
9923 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * doc-view.el: Avoid ugly errors about not finding nil.
9926 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9927 (doc-view-dvipdf-program, doc-view-unoconv-program)
9928 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9929 Avoid nil or absolute file name as default value.
9930 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9931
9932 2011-10-28 Alan Mackenzie <acm@muc.de>
9933
9934 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9935
9936 2011-10-28 Alan Mackenzie <acm@muc.de>
9937
9938 Amend the handling of c-beginning/end-of-defun in nested declaration
9939 scopes.
9940
9941 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9942 cc-langs.el. Change it to a defcustom.
9943
9944 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9945 cc-vars.el.
9946
9947 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9948 Prevent "class foo : bar" being spuriously recognized as a label.
9949
9950 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9951 Add parameter `inclusive' (to include enclosing braces in the region).
9952 (c-widen-to-enclosing-decl-scope): New function.
9953 (c-while-widening-to-decl-block): New macro.
9954 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9955 outward for defun boundaries, and correspondingly change symbol
9956 `respect-enclosure' to `go-outward'.
9957 (c-declaration-limits): Change algorithm to report only the "innermost"
9958 defun's boundaries.
9959
9960 2011-10-28 Deniz Dogan <deniz@dogan.se>
9961
9962 * net/rcirc.el (rcirc-mode): Use hard newlines.
9963
9964 2011-10-28 Alan Mackenzie <acm@muc.de>
9965
9966 Amend to indent and fontify macros "which include their own semicolon"
9967 correctly, using the "virtual semicolon" mechanism.
9968
9969 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9970
9971 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9972 Recode to scan one line at a time rather than having \n and \r
9973 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9974 (c-forward-label): Amend for virtual semicolons.
9975 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9976
9977 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9978 of the new C macros.
9979
9980 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9981 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9982 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9983 (c-opt-cpp-macro-define): Make into a full language variable.
9984 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9985 AWK Mode (including \n, \r) removed, no longer needed.
9986
9987 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9988 Invoke c-make-macro-with-semi-re.
9989
9990 * progmodes/cc-vars.el (c-macro-with-semi-re):
9991 (c-macro-names-with-semicolon): New variables.
9992 (c-make-macro-with-semi-re): New function.
9993
9994 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * vc/log-edit.el: Fill empty field rather than adding new one.
9997 (log-edit-add-field): New function.
9998 (log-edit-insert-changelog): Use it.
9999
10000 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10001
10002 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10003
10004 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10007 (gdb--check-interpreter): New function.
10008 (gdb): Use it.
10009
10010 2011-10-27 Glenn Morris <rgm@gnu.org>
10011
10012 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10013 (least-positive-float, least-negative-float)
10014 (least-positive-normalized-float, least-negative-normalized-float)
10015 (float-epsilon, float-negative-epsilon):
10016 Remove unnecessary declarations.
10017
10018 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10019 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10020 (least-positive-float, least-negative-float)
10021 (least-positive-normalized-float, least-negative-normalized-float)
10022 (float-epsilon, float-negative-epsilon): Add doc-strings,
10023 based on those in cl.texi.
10024
10025 * files.el (set-visited-file-name): If the major-mode changed,
10026 reload the local variables. (Bug#9796)
10027
10028 2011-10-27 Chong Yidong <cyd@gnu.org>
10029
10030 * subr.el (change-major-mode-after-body-hook): New hook.
10031 (run-mode-hooks): Run it.
10032
10033 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10034 Use change-major-mode-before-body-hook.
10035
10036 * simple.el (fundamental-mode):
10037 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10038 change introducing fundamental-mode-hook.
10039
10040 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10041
10042 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10043
10044 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10045
10046 * ido.el (ido-file-name-all-completions-1): Do not require
10047 tramp.el explicitly. (Bug#7583)
10048
10049 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * progmodes/octave-mod.el:
10052 * progmodes/octave-inf.el: Update maintainer.
10053
10054 2011-10-26 Chong Yidong <cyd@gnu.org>
10055
10056 * subr.el (with-wrapper-hook): Rewrite doc.
10057
10058 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10059
10060 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10061 filenames "/method:foo:". (Bug#9793)
10062
10063 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10066 (bug#9865).
10067
10068 2011-10-24 Glenn Morris <rgm@gnu.org>
10069
10070 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10071
10072 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10073
10074 * notifications.el: Add the requirement of a running D-Bus session
10075 bus to the Commentary.
10076
10077 2011-10-24 Juri Linkov <juri@jurta.org>
10078
10079 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10080 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10081 (Bug#9364)
10082
10083 2011-10-24 Juri Linkov <juri@jurta.org>
10084
10085 * info.el (Info-following-node-name-re): Add newline to the list
10086 of allowed characters for leading space. (Bug#9824)
10087
10088 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * progmodes/octave-inf.el (inferior-octave-mode-map):
10091 Fix C-c C-h binding.
10092 * progmodes/octave-mod.el (octave-help): Remove.
10093
10094 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10095
10096 Sync with Tramp 2.2.3.
10097
10098 * net/tramp-cache.el (top): Pacify byte-compiler using
10099 `init-file-user' and `site-run-file'.
10100
10101 * net/trampver.el: Update release number.
10102
10103 2011-10-23 Chong Yidong <cyd@gnu.org>
10104
10105 * files.el (toggle-read-only): Remove obsolete comment about
10106 version control.
10107
10108 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10109 for toggle-read-only. Note that this hasn't called vc-next-action
10110 since 2008-05-02, though it wasn't documented at the time.
10111
10112 * vc/ediff-init.el (ediff-toggle-read-only-function):
10113 Use toggle-read-only.
10114
10115 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10116
10117 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10118 of c-parse-state.
10119
10120 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10121 correct faulty logical expression.
10122 (c-parse-state-state, c-record-parse-state-state):
10123 (c-replay-parse-state-state): New defvar/defuns.
10124 (c-debug-parse-state): Use new functions.
10125
10126 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10127
10128 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10129 last fix. Use window-in-direction correctly.
10130
10131 2011-10-21 Chong Yidong <cyd@gnu.org>
10132
10133 * progmodes/idlwave.el (idlwave-mode):
10134 * progmodes/vera-mode.el (vera-mode): No need to set
10135 require-final-newline; that's done in prog-mode.
10136 Suggested by Stefan Monnier.
10137
10138 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10139
10140 * mouse.el (mouse-drag-window-above)
10141 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10142 (mouse-drag-mode-line-1, mouse-drag-header-line)
10143 (mouse-drag-vertical-line-rightward-window): Remove.
10144 (mouse-drag-line): New function.
10145 (mouse-drag-mode-line, mouse-drag-header-line)
10146 (mouse-drag-vertical-line): Call mouse-drag-line.
10147 * window.el (window-at-side-p, windows-at-side): New functions.
10148
10149 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
10150
10151 * tar-mode.el (tar-grind-file-mode):
10152 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10153
10154 2011-10-21 Chong Yidong <cyd@gnu.org>
10155
10156 * progmodes/idlwave.el (idlwave-mode):
10157 * progmodes/vera-mode.el (vera-mode):
10158 Use mode-require-final-newline.
10159
10160 2011-10-20 Glenn Morris <rgm@gnu.org>
10161
10162 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
10163
10164 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10165
10166 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10167
10168 2011-10-20 Chong Yidong <cyd@gnu.org>
10169
10170 * emulation/cua-base.el (cua-mode):
10171 * mail/footnote.el (footnote-mode):
10172 * mail/mailabbrev.el (mail-abbrevs-mode):
10173 * net/xesam.el (xesam-minor-mode):
10174 * progmodes/bug-reference.el (bug-reference-mode):
10175 * progmodes/cap-words.el (capitalized-words-mode):
10176 * progmodes/compile.el (compilation-minor-mode)
10177 (compilation-shell-minor-mode):
10178 * progmodes/gud.el (gud-tooltip-mode):
10179 * progmodes/hideif.el (hide-ifdef-mode):
10180 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10181 * progmodes/subword.el (subword-mode):
10182 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10183 * progmodes/which-func.el (which-function-mode):
10184 * term/tvi970.el (tvi970-set-keypad-mode):
10185 * term/vt100.el (vt100-wide-mode):
10186 * textmodes/flyspell.el (flyspell-mode):
10187 * textmodes/ispell.el (ispell-minor-mode):
10188 * textmodes/nroff-mode.el (nroff-electric-mode):
10189 * textmodes/paragraphs.el (use-hard-newlines):
10190 * textmodes/refill.el (refill-mode):
10191 * textmodes/reftex.el (reftex-mode):
10192 * textmodes/rst.el (rst-minor-mode):
10193 * textmodes/sgml-mode.el (html-autoview-mode)
10194 (sgml-electric-tag-pair-mode):
10195 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10196 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10197 * emulation/crisp.el (crisp-mode):
10198 * emacs-lisp/eldoc.el (eldoc-mode):
10199 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10200 minor mode behavior.
10201
10202 2011-10-19 Juri Linkov <juri@jurta.org>
10203
10204 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10205 the list of hard-coded chars with escape-glyph face.
10206
10207 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10210
10211 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10212
10213 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10214 running process.
10215
10216 2011-10-19 Glenn Morris <rgm@gnu.org>
10217
10218 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10219 Ignore ignored files. (Bug#9726)
10220
10221 2011-10-19 Chong Yidong <cyd@gnu.org>
10222
10223 Doc fix for minor modes, stating that an omitted argument enables
10224 the mode unconditionally when called from Lisp.
10225
10226 * abbrev.el (abbrev-mode):
10227 * allout.el (allout-mode):
10228 * autoinsert.el (auto-insert-mode):
10229 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10230 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10231 (global-auto-revert-mode):
10232 * battery.el (display-battery-mode):
10233 * composite.el (global-auto-composition-mode)
10234 (auto-composition-mode):
10235 * delsel.el (delete-selection-mode):
10236 * desktop.el (desktop-save-mode):
10237 * dired-x.el (dired-omit-mode):
10238 * dirtrack.el (dirtrack-mode):
10239 * doc-view.el (doc-view-minor-mode):
10240 * double.el (double-mode):
10241 * electric.el (electric-indent-mode, electric-pair-mode):
10242 * emacs-lock.el (emacs-lock-mode):
10243 * epa-hook.el (auto-encryption-mode):
10244 * follow.el (follow-mode):
10245 * font-core.el (font-lock-mode):
10246 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10247 * help.el (temp-buffer-resize-mode):
10248 * hilit-chg.el (highlight-changes-mode)
10249 (highlight-changes-visible-mode):
10250 * hi-lock.el (hi-lock-mode):
10251 * hl-line.el (hl-line-mode, global-hl-line-mode):
10252 * icomplete.el (icomplete-mode):
10253 * ido.el (ido-everywhere):
10254 * image-file.el (auto-image-file-mode):
10255 * image-mode.el (image-minor-mode):
10256 * iswitchb.el (iswitchb-mode):
10257 * jka-cmpr-hook.el (auto-compression-mode):
10258 * linum.el (linum-mode):
10259 * longlines.el (longlines-mode):
10260 * master.el (master-mode):
10261 * mb-depth.el (minibuffer-depth-indicate-mode):
10262 * menu-bar.el (menu-bar-mode):
10263 * minibuf-eldef.el (minibuffer-electric-default-mode):
10264 * mouse-sel.el (mouse-sel-mode):
10265 * msb.el (msb-mode):
10266 * mwheel.el (mouse-wheel-mode):
10267 * outline.el (outline-minor-mode):
10268 * paren.el (show-paren-mode):
10269 * recentf.el (recentf-mode):
10270 * reveal.el (reveal-mode, global-reveal-mode):
10271 * rfn-eshadow.el (file-name-shadow-mode):
10272 * ruler-mode.el (ruler-mode):
10273 * savehist.el (savehist-mode):
10274 * scroll-all.el (scroll-all-mode):
10275 * scroll-bar.el (scroll-bar-mode):
10276 * server.el (server-mode):
10277 * shell.el (shell-dirtrack-mode):
10278 * simple.el (auto-fill-mode, transient-mark-mode)
10279 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10280 (line-number-mode, column-number-mode, size-indication-mode)
10281 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10282 * strokes.el (strokes-mode):
10283 * time.el (display-time-mode):
10284 * t-mouse.el (gpm-mouse-mode):
10285 * tool-bar.el (tool-bar-mode):
10286 * tooltip.el (tooltip-mode):
10287 * type-break.el (type-break-mode-line-message-mode)
10288 (type-break-query-mode):
10289 * view.el (view-mode):
10290 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10291 (global-whitespace-mode, global-whitespace-newline-mode):
10292 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10293
10294 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10295 Fix autogenerated docstring.
10296
10297 2011-10-19 Juri Linkov <juri@jurta.org>
10298
10299 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10300 by checking environment variables "DESKTOP_SESSION" and
10301 "XDG_CURRENT_DESKTOP". (Bug#9779)
10302
10303 2011-10-19 Juri Linkov <juri@jurta.org>
10304
10305 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10306 (browse-url-chromium-program, browse-url-chromium-arguments):
10307 New defcustoms.
10308 (browse-url-default-browser): Check for `browse-url-chromium' and
10309 call `browse-url-chromium-program'.
10310 (browse-url-chromium): New command. (Bug#9779)
10311
10312 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10313
10314 * facemenu.el (list-colors-duplicates): On Windows, detect more
10315 duplicates by assuming that only colors matching "^System" are
10316 special "system colors". (Bug#9722)
10317
10318 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10321 to distinguish the author from the committer.
10322
10323 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10326
10327 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10328
10329 * international/mule.el (sgml-html-meta-auto-coding-function):
10330 Add support for detecting encoding in HTML5 specified only as
10331 <meta charset="UTF-8">. Implementation just makes http-equiv and
10332 content-type parts from HTML4 encoding string optional. (Bug#9716)
10333
10334 2011-10-18 Glenn Morris <rgm@gnu.org>
10335
10336 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10337
10338 2011-10-18 Chong Yidong <cyd@gnu.org>
10339
10340 * faces.el (cursor): Doc fix.
10341
10342 2011-10-17 Chong Yidong <cyd@gnu.org>
10343
10344 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10345
10346 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10347
10348 * dirtrack.el (dirtrack): Support shell buffers with path
10349 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10350
10351 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10352
10353 * json.el: Bump version to 1.3 and note change in History.
10354 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10355
10356 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * comint.el (comint-insert-input, comint-send-input)
10359 (comint-get-old-input-default, comint-backward-matching-input)
10360 (comint-next-prompt): Use nil instead of `input' for field property of
10361 past user input (bug#114).
10362
10363 * minibuffer.el (completion--replace): Inherit surrounding properties
10364 (bug#114).
10365 (minibuffer-complete-and-exit): Use it.
10366
10367 * comint.el (comint--table-subvert): Quote the all-completions output
10368 (bug#9160).
10369
10370 2011-10-17 Martin Rudalics <rudalics@gmx.at>
10371
10372 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10373
10374 * menu-bar.el (menu-bar-file-menu): Add entry for making new
10375 window on right of selected. (Bug#9350) Reword other window
10376 entries and separate them from frame entries.
10377
10378 2011-10-15 Glenn Morris <rgm@gnu.org>
10379
10380 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10381 Doc fixes.
10382
10383 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
10384
10385 * net/network-stream.el (network-stream-open-starttls):
10386 Improve detection of failure due to lack of TLS support.
10387
10388 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10389 putting the input text in front and in bold.
10390
10391 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10394
10395 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10396 empty buffer.
10397
10398 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10399 unread-command-events rather than pushing yet-another event.
10400
10401 2011-10-14 Eli Zaretskii <eliz@gnu.org>
10402
10403 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10404 the explanation of the possible choices. Make the options passed
10405 to completing-read shorter.
10406
10407 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10408
10409 * textmodes/flyspell.el (flyspell-large-region): Make sure
10410 extended character mode is used if defined (Bug#1339).
10411
10412 2011-10-13 Eli Zaretskii <eliz@gnu.org>
10413
10414 * simple.el (what-cursor-position): Fix the display of the
10415 character info for LRE, LRO, RLE, and RLO characters by appending
10416 an invisible PDF.
10417
10418 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10421 even in case of error; add debug spec; simplify data flow.
10422 (with-timeout-handler): Remove.
10423
10424 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
10425
10426 Fix Bug#6019, Bug#9315.
10427
10428 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10429 complete `buffer-file-name', the local file name part could look
10430 remotely (for example on VMS).
10431
10432 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10433 `tramp-run-real-handler'.
10434 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10435 already quoted by '"'.
10436
10437 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10438 Let `file-name-handler-alist' be nil, the local file name part
10439 could look remotely (for example on VMS).
10440
10441 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10444 from here...
10445 (flyspell-post-command-hook): ...to here.
10446
10447 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10450 if not needed.
10451 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10452 using completion. Protect against "slow" callers.
10453 Remove the "message hack".
10454
10455 2011-10-11 Juri Linkov <juri@jurta.org>
10456
10457 * isearch.el (isearch-lazy-highlight-word): New variable.
10458 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10459 Use it. (Bug#9727)
10460
10461 2011-10-11 Glenn Morris <rgm@gnu.org>
10462
10463 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10464 like f90-previous-statement does.
10465
10466 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10467
10468 * eshell/eshell.el (eshell-command): History should be saved
10469 only in interactive use, to avoid error.
10470
10471 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * minibuffer.el (completion-file-name-table): Fix last change,
10474 i.e. ignore normal errors but not the other ones.
10475
10476 2011-10-10 Martin Rudalics <rudalics@gmx.at>
10477
10478 * window.el (special-display-buffer-names)
10479 (special-display-regexps): Remove some remnants of earlier
10480 changes from doc-strings.
10481 (quit-windows-on): New function.
10482
10483 * vc/vc.el (vc-revert, vc-rollback):
10484 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10485 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
10486 (Bug#6183) (Bug#7074) (Bug#7447)
10487
10488 2011-10-09 Martin Rudalics <rudalics@gmx.at>
10489
10490 * window.el (frame-auto-hide-function): Add version tag.
10491 (Bug#9699)
10492
10493 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
10494
10495 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10496 condition.
10497
10498 2011-10-09 Leo Liu <sdl.web@gmail.com>
10499
10500 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10501 (Bug#9701)
10502
10503 2011-10-08 Glenn Morris <rgm@gnu.org>
10504
10505 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10506 before the first code statement zero indent. (Bug#9690)
10507
10508 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
10509
10510 * simple.el (count-words-region): Always count in the region.
10511 Report the number of lines and characters too.
10512 (count-words): New command, which counts in the buffer if the
10513 region is inactive, as count-words-region used to.
10514 (count-words--message): New function. Handle plurals.
10515 (count-lines-region): Make it an alias for count-words-region.
10516
10517 * bindings.el (esc-map): Replace count-lines-region with
10518 count-words-region.
10519
10520 2011-10-08 Martin Rudalics <rudalics@gmx.at>
10521
10522 * window.el (window--delete): Delete dedicated frame
10523 unconditionally when argument KILL is non-nil. (Bug#9699)
10524 (switch-to-buffer): Fix doc-string typo.
10525
10526 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10527
10528 * eshell/eshell.el (eshell-command): Avoid using hooks.
10529
10530 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
10531
10532 * bindings.el ([M-left],[M-right]): Bind to left-word and
10533 right-word respectively.
10534
10535 2011-10-07 Glenn Morris <rgm@gnu.org>
10536
10537 * cus-start.el (debug-on-quit): Fix custom type.
10538
10539 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10540
10541 * subr.el (define-key-after): Clarify that the function is not
10542 useful for non-menu keymaps.
10543
10544 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10545
10546 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10547
10548 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10549 in current minibuffer (Fix bug with recursive minibuffers).
10550
10551 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
10552
10553 * progmodes/gdb-mi.el (gdb): Doc fix.
10554
10555 2011-10-05 Martin Rudalics <rudalics@gmx.at>
10556
10557 * window.el (frame-auto-hide-function): New option replacing
10558 frame-auto-delete. Suggested by Stefan Monnier.
10559 (window--delete): Call frame-auto-hide-function instead of
10560 investigating frame-auto-delete.
10561 (window-point-1, set-window-point-1): New functions.
10562 (window-in-direction, record-window-buffer, window-state-get-1)
10563 (display-buffer-record-window): Use window-point-1 instead of
10564 window-point.
10565 (set-window-buffer-start-and-point): Use set-window-point-1.
10566
10567 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10568
10569 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10570
10571 2011-10-05 Glenn Morris <rgm@gnu.org>
10572
10573 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10574 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10575
10576 2011-10-05 Leo Liu <sdl.web@gmail.com>
10577
10578 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10579 works with buffer object.
10580
10581 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * mpc.el (mpc-tool-bar-map): Add labels.
10584
10585 2011-10-04 Glenn Morris <rgm@gnu.org>
10586
10587 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10588
10589 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10590
10591 * window.el (window--delete): New function.
10592 (frame-auto-delete): Resuscitate option.
10593 (bury-buffer, replace-buffer-in-windows)
10594 (quit-window): Rewrite using window--delete.
10595 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10596 Pass display-buffer-mark-dedicated to window--display-buffer-2
10597 (Bug#9639).
10598
10599 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10602 returns a list (bug#9554). Add remote file name completion.
10603 * comint.el (comint--table-subvert): Curry and get quote&unquote
10604 functions as arguments.
10605 (comint--complete-file-name-data): Adjust call accordingly.
10606 * pcomplete.el (pcomplete--table-subvert): Remove.
10607 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10608
10609 * minibuffer.el (completion-table-case-fold): Use currying.
10610 (completion--styles-type, completion--cycling-threshold-type):
10611 New constants.
10612 (completion-styles, completion-category-overrides)
10613 (completion-cycle-threshold): Use them.
10614 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10615 completion-table-case-fold.
10616
10617 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10618
10619 * minibuffer.el (completion-category-overrides): Fix type of styles
10620 and add more user friendly tags (bug#9660).
10621
10622 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10625 (mule-input-method-string): New widget.
10626 (default-input-method, language-info-custom-alist): Use it.
10627
10628 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * pcomplete.el: Require comint.
10631 (pcomplete--common-suffix): Remove.
10632 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10633 (pcomplete--table-subvert): Sync with comint--table-subvert.
10634 (pcomplete--entries): Use comint-completion-file-name-table.
10635 * comint.el (comint-unquote-filename): Simplify.
10636 (comint-completion-file-name-table): New function (bug#9616).
10637 (comint--complete-file-name-data): Use it.
10638
10639 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10640 (pcmpl-gnu-tar-buffer): Remove.
10641 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10642 around. Make sure pcomplete-suffix-list is only changed temporarily.
10643 Don't look inside the tar's file if it's too large.
10644
10645 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10646
10647 * cus-edit.el (custom-mode-map):
10648 * epa.el (epa-key-list-mode-map):
10649 * man.el (Man-mode-map):
10650 * startup.el (splash-screen-keymap):
10651 * simple.el (special-mode-map): Use scroll-up-command and
10652 scroll-down-command.
10653
10654 * progmodes/idlw-help.el (idlwave-help-mode-map):
10655 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10656 * net/newst-plainview.el (newsticker-mode-map):
10657 * emulation/ws-mode.el (wordstar-mode-map):
10658 * emulation/vi.el (vi-com-map):
10659 * calc/calc-graph.el (calc-graph-show-dumb):
10660 * term/sun.el (terminal-init-sun):
10661 * term/ns-win.el (global-map):
10662 * progmodes/grep.el (grep-mode-map):
10663 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10664 * mail/rmail.el (rmail-mode-map):
10665 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10666
10667 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10668 custom-safe-themes as special.
10669
10670 2011-10-01 Julien Danjou <julien@danjou.info>
10671
10672 * notifications.el (notifications-notify): Fix docstring.
10673
10674 2011-10-01 Per Starbäck <per@starback.se>
10675
10676 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10677
10678 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10679
10680 * startup.el (command-line-1): Fix last fix by inserting
10681 initial-scratch-message into *scratch* before displaying it.
10682 (Bug#9605) and (Bug#9636)
10683
10684 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10685
10686 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10687 window is hscrolled, move by logical lines. (Bug#9607)
10688 (line-move-visual): Update the doc string to the above effect.
10689
10690 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10691
10692 * window.el (display-buffer-record-window): When WINDOW is the
10693 selected window use `point' instead of `window-point'. (Bug#9626)
10694
10695 * startup.el (command-line-1): Use insert-before-markers when
10696 inserting initial-scratch-message. (Bug#9605)
10697
10698 * help.el (help-window): Remove variable.
10699
10700 2011-09-29 Glenn Morris <rgm@gnu.org>
10701
10702 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10703
10704 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10705
10706 * descr-text.el (describe-char-categories): Accept category
10707 descriptions more than one line long.
10708
10709 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * simple.el (delete-trailing-whitespace): Fix last change.
10712
10713 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10714 Don't confuse "y => 3" as the beginning of a `y' operation.
10715
10716 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10717 object has more than 4 slots (bug#9613).
10718
10719 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * subr.el (with-output-to-temp-buffer):
10722 * net/quickurl.el (quickurl, quickurl-browse-url):
10723 Fix typos in docstrings.
10724
10725 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10726
10727 * minibuffer.el (completion-styles)
10728 (completion-category-overrides): Cross reference each other in doc
10729 strings.
10730
10731 2011-09-27 Glenn Morris <rgm@gnu.org>
10732
10733 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10734 to split-string. (Bug#9606)
10735
10736 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10737
10738 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10739 (bug#9615).
10740
10741 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10742
10743 * emacs-lisp/package.el (list-packages): Fix echo area message.
10744
10745 2011-09-27 Leo Liu <sdl.web@gmail.com>
10746
10747 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10748
10749 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10750
10751 * net/dbus.el (dbus-unregister-object): Don't release services for
10752 registered signals. (Bug#9581)
10753
10754 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10755
10756 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10757 function that picks between cfengine 2 and 3 support
10758 automatically. Update docs accordingly.
10759
10760 2011-09-22 Kenichi Handa <handa@m17n.org>
10761
10762 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10763 ZERO.
10764 (indian-itrans-v5-table-for-tamil): New variable.
10765 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10766
10767 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10768
10769 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10770 that's true if the current command involved collapsing of text.
10771 It's reset to false at the beginning of the next command.
10772 (allout-post-command-business): Move the cursor to the beginning
10773 of entry if the cursor is hidden and collapsing activity just
10774 happened.
10775
10776 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10777
10778 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10779 tracking (Bug#9541).
10780
10781 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10782
10783 * net/newst-reader.el (newsticker-html-renderer)
10784 (newsticker-show-news): Automatically load html rendering package
10785 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10786 because w3m-fill-column is let-bound" and the error "Symbol's value
10787 as variable is void: w3m-fill-column".
10788
10789 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10792 Release services only if they are defined. (Bug#9581)
10793
10794 2011-09-23 Richard Stallman <rms@gnu.org>
10795
10796 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10797 distinguish start of paragraph from start of its text.
10798
10799 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10800
10801 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10802 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10803 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10804
10805 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * international/mule-diag.el (mule-diag): Insert a newline after
10808 each fontset description.
10809
10810 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * simple.el (delete-trailing-whitespace):
10813 Document last change; simplify.
10814
10815 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10816
10817 * simple.el (delete-trailing-whitespace): Also delete
10818 extra newlines at the end of the buffer.
10819
10820 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10821 (picture-newline): Use forward-line so as to ignore fields.
10822
10823 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * subr.el (with-wrapper-hook): Fix edebug spec.
10826
10827 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10828
10829 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10830 (bug#4538).
10831
10832 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10833
10834 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10835 Fix nasty bug using wrong cached values.
10836
10837 2011-09-23 Alan Mackenzie <acm@muc.de>
10838
10839 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10840
10841 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10842
10843 * window.el (pop-to-buffer): Ensure right window is selected if we
10844 chose another frame.
10845
10846 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10847
10848 * simple.el (what-cursor-position): Use get-char-property-change
10849 and next-single-char-property-change, to be able to show display
10850 properties that come from overlays as well as text properties.
10851
10852 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10853
10854 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10855
10856 * cmuscheme.el (run-scheme, switch-to-scheme):
10857 * cus-edit.el (customize-group, custom-buffer-create)
10858 (customize-browse):
10859 * info.el (info):
10860 * shell.el (shell):
10861 * mail/sendmail.el (mail):
10862 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10863
10864 2011-09-22 Richard Stallman <rms@gnu.org>
10865
10866 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10867 move back only to line beg, don't move back over blank lines.
10868
10869 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10870
10871 * files.el (copy-directory): Set directory attributes only in case
10872 they could be retrieved from the source directory. (Bug#9565)
10873
10874 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10875
10876 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10877 (hs-find-block-beginning, hs-hide-level-recursive):
10878 Ignore strings as well as comments. (Bug#9502)
10879
10880 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10881
10882 * progmodes/sql.el (sql-comint-postgres):
10883 Convert port number to a string. (Bug#9566)
10884
10885 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10886
10887 * window.el (quit-window): Undedicate window when switching to
10888 previous buffer. Reported by Thierry Volpiatto
10889 <thierry.volpiatto@gmail.com>.
10890 (special-display-popup-frame): When popping up a new frame reset
10891 its previous buffers to nil. Simplify code.
10892
10893 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10894
10895 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10896 and process filter, as done also in `shell-command'.
10897
10898 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10899
10900 * window.el (set-window-buffer-start-and-point):
10901 Call set-window-start with NOFORCE argument t.
10902 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10903 (quit-window): Reword doc-string. Handle new format of
10904 quit-restore parameter. Don't delete window if it has a
10905 previous buffer we can show instead of the present one.
10906 (display-buffer-record-window): Rewrite using a new format for
10907 the quit-restore window parameter
10908 (special-display-popup-frame, display-buffer-same-window)
10909 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10910 (display-buffer-pop-up-window, display-buffer-use-some-window):
10911 Adapt symbol passed to display-buffer-record-window.
10912 * help.el (help-window-setup): Handle new format of quit-restore
10913 parameter.
10914
10915 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * faces.el (face-list): Fix docstring (bug#9564).
10918
10919 * window.el (display-buffer--action-function-custom-type):
10920 Don't include internal functions in the Custom interface.
10921
10922 2011-09-20 Juri Linkov <juri@jurta.org>
10923
10924 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10925 (Info-forward-node, Info-backward-node, Info-next-preorder)
10926 (Info-last-preorder): Use it. (Bug#9528)
10927
10928 2011-09-20 Juri Linkov <juri@jurta.org>
10929
10930 * info.el (Info-last-preorder): Visit last menu item only when
10931 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10932
10933 2011-09-20 Julien Danjou <julien@danjou.info>
10934
10935 * password-cache.el (password-cache-remove): Remove entries even if the
10936 value is nil, so that password with a nil value (negative caching) is
10937 possible to invalidate.
10938
10939 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10940
10941 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10942 all whitespace around breakpoint. (Bug#9553)
10943 (f90-find-breakpoint): Only break at whitespace inside a comment.
10944
10945 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * minibuffer.el (completion-file-name-table): Keep track of errors.
10948 (completion-table-with-predicate): Handle the case where pred1 is nil.
10949 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10950
10951 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10954 (debugger-return-value): Signal an error if the debugging context does
10955 not await any return value.
10956
10957 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10958 * image-mode.el (image-toggle-display-text)
10959 (image-toggle-display-image): Stay away from evil `intangible'.
10960
10961 2011-09-19 Leo Liu <sdl.web@gmail.com>
10962
10963 * replace.el (occur-revert-arguments): Make it permanent-local.
10964 (occur-mode): Don't call font-lock-defontify.
10965
10966 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10967
10968 * net/ldap.el (ldap-search-internal): Don't push empty search
10969 result (Bug#9508).
10970
10971 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10972
10973 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10974
10975 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10976
10977 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10978 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10979
10980 2011-09-18 Juri Linkov <juri@jurta.org>
10981
10982 * buff-menu.el (Buffer-menu-mode-map):
10983 * dired.el (dired-mode-map):
10984 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10985 (lisp-interaction-mode-map):
10986 * emacs-lisp/package.el (package-menu-mode-map):
10987 * epa.el (epa-key-list-mode-map):
10988 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10989 (menu-bar-options-menu):
10990 * outline.el (outline-mode-menu-bar-map):
10991 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10992 * vc/vc-dir.el (vc-dir-menu-map):
10993 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10994 Capitalize non-function content words in menu item strings.
10995
10996 * dired.el (dired-mode-map): Add menu item for
10997 `image-dired-dired-toggle-marked-thumbs'.
10998
10999 2011-09-18 Juri Linkov <juri@jurta.org>
11000
11001 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11002 to `isearch-case-fold-search' and restore its original value
11003 after the `isearch-mode' call.
11004
11005 2011-09-18 Juri Linkov <juri@jurta.org>
11006
11007 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11008 because `zgrep' returns 1 for successful matches (bug#9226).
11009
11010 2011-09-18 Juri Linkov <juri@jurta.org>
11011
11012 * info.el (Info-extract-menu-node-name): Check the second match
11013 for empty string (second test-case of bug#9528).
11014 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11015 intermediate nodes to the history (first test-case of bug#9528).
11016
11017 2011-09-18 Juri Linkov <juri@jurta.org>
11018
11019 * info.el (Info-mode-syntax-table): New variable.
11020 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11021
11022 2011-09-18 Juri Linkov <juri@jurta.org>
11023
11024 * info.el (Info-file-supports-index-cookies):
11025 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11026 outputs one more line for long file names (bug#4142).
11027
11028 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11029
11030 * newcomment.el (comment-normalize-vars): If prompting for
11031 comment-start, set comment-start-skip too (Bug#8424).
11032
11033 2011-09-18 Johan Bockgård <bojohan@gnu.org>
11034
11035 * icomplete.el: Fix previous fix of Bug#5849.
11036 (icomplete-mode): Don't set completion-show-inline-help.
11037 (icomplete-minibuffer-setup): Set completion-show-inline-help
11038 locally during icompletion.
11039
11040 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11041
11042 * woman.el (woman2-process-escapes): Don't delete unrecognized
11043 escapes (Bug#7843).
11044
11045 * files.el (inhibit-first-line-modes-regexps): Add image files.
11046 (hack-local-variables-prop-line): Return nil for malformed
11047 prop-lines (Bug#9044).
11048
11049 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11050
11051 * net/tramp.el (top): Don't require 'shell.
11052 (tramp-methods): Fix docstring.
11053 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11054 Return complete remote file name. Handle "smb" case.
11055 Use `tramp-tmpdir', if defined for the respective method.
11056 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11057
11058 * net/tramp-compat.el (top): Require 'shell.
11059
11060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11061 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11062 `tramp-current-host'.
11063 (tramp-get-remote-tmpdir): Remove.
11064
11065 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11066 `tramp-tmpdir' entries.
11067 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11068 (tramp-smb-handle-file-attributes): Ignore errors.
11069 (tramp-smb-wait-for-output): Check also for process end.
11070
11071 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11072
11073 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11074 when sending QUIT (bug#9312).
11075
11076 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11077
11078 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11079 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11080 occur-mode-display-occurrence.
11081 (occur-edit-mode): Add usage message.
11082 (occur-cease-edit): New command.
11083 (occur-after-change-function): Use text properties to find the
11084 position of the prefix text.
11085 (occur-engine): Set stickiness of prefix text properties.
11086
11087 2011-09-17 Glenn Morris <rgm@gnu.org>
11088
11089 * progmodes/etags.el (complete-tag):
11090 Fix call to completion-in-region. (Bug#9526)
11091
11092 2011-09-17 Juri Linkov <juri@jurta.org>
11093
11094 * textmodes/ispell.el (ispell-word): Add to the error message
11095 the word, ispell program name and current dictionary (bug#9121).
11096 (ispell-tex-arg-end): Capitalize "error" in the error message.
11097
11098 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11099
11100 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11101 check. (Bug#4251)
11102
11103 2011-09-17 Juri Linkov <juri@jurta.org>
11104
11105 * window.el (window-safe-min-height, window-safe-min-width):
11106 Fix typos (followup to bug#9522).
11107
11108 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11109
11110 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11111
11112 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11113
11114 * simple.el (line-move): If goal-column is set, move by logical
11115 lines, not by display lines. (Bug#971)
11116 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11117 to reflect the above change.
11118
11119 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11120
11121 * image.el (imagemagick-register-types): Use regexp-opt.
11122
11123 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11124
11125 * window.el (display-buffer-base-action): Rename from
11126 display-buffer-default-action. Make default value empty.
11127 (display-buffer-overriding-action): Convert to defvar.
11128 (display-buffer-fallback-action): New var.
11129
11130 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11133 declaration.
11134 (package--add-to-archive-contents): If there is a duplicate entry
11135 with an older version, remove it.
11136 (package-menu-mark-delete, package-menu-mark-install)
11137 (package-menu-mark-unmark): Make unused args optional.
11138 (package-menu-mark-obsolete-for-deletion):
11139 Use package-menu-get-status instead of a regexp search.
11140 (package-menu-get-status): Use tabulated-list-entry.
11141 (package-menu-mark-upgrades): New command.
11142 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11143 (package-menu-execute): Do installation before deletion.
11144 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11145 instead of checking major-mode.
11146 (package-menu--find-upgrades): New function.
11147
11148 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11149
11150 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11151 passwords in the log buffer.
11152 (smtpmail-process-filter): Update the process marker so that the
11153 "broken by peer" status message is inserted in the right place.
11154
11155 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11158 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11159 bibtex-completion-at-point-function.
11160 (bibtex-completion-at-point-function): Use them.
11161
11162 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11163
11164 * mpc.el (mpc-constraints-tag-lookup): New function.
11165 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11166 also to browser "album|playlist".
11167
11168 2011-09-14 Juri Linkov <juri@jurta.org>
11169
11170 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11171 (isearch-edit-string): Use length of `isearch-string' when
11172 `isearch-fail-pos' returns nil.
11173 (isearch-message): Remove duplicate code and call
11174 `isearch-fail-pos' with arg `t'.
11175
11176 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11177
11178 * replace.el (occur-mode-goto-occurrence): Don't force using other
11179 window (Bug#9499).
11180
11181 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11182
11183 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11184
11185 * window.el (display-buffer-window): Remove.
11186 (display-buffer-record-window): Use help-setup window parameter
11187 instead of variable display-buffer-window.
11188 (display-buffer-function, special-display-buffer-names)
11189 (special-display-function): Mention help-setup parameter instead
11190 of display-buffer-window in doc-string.
11191 * help.el (help-window-setup): New argument help-window.
11192 Use help-window-setup parameter instead of display-buffer-window.
11193 Reword some messages.
11194 (with-help-window): Pass window used for displaying the buffer
11195 to help-window-setup. Don't set display-buffer-window.
11196
11197 2011-09-13 Glenn Morris <rgm@gnu.org>
11198
11199 * emacs-lisp/debug.el (debugger-make-xrefs):
11200 Preserve point. (Bug#9462)
11201
11202 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11203
11204 * window.el (window-deletable-p): Use next-frame.
11205
11206 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11207
11208 * window.el (window-auto-delete): Remove.
11209 (window-deletable-p): Remove argument FORCE. Don't deal with
11210 dedication and previous buffers.
11211 (switch-to-prev-buffer): Don't delete window.
11212 (delete-windows-on): Delete a window's frame if and only if the
11213 window is dedicated.
11214 (replace-buffer-in-windows): Delete buffer's window or frame if
11215 and only if window is dedicated.
11216 (quit-window): Handle quit-restore as before last change.
11217 (bury-buffer): Delete window only if window-deletable-p returns t.
11218
11219 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11220
11221 * window.el (window-deletable-p): Never delete the last frame on a
11222 given terminal.
11223
11224 2011-09-13 Glenn Morris <rgm@gnu.org>
11225
11226 * help.el (describe-key-briefly): Copy previous standard-output change.
11227
11228 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11229
11230 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11231
11232 2011-09-13 Glenn Morris <rgm@gnu.org>
11233
11234 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11235 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11236
11237 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11238
11239 * dired-aux.el (dired-mark-read-string): Don't return default
11240 value on empty input (Bug#9361).
11241 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11242 Omit initial minibuffer contents.
11243 (dired-do-chmod): Signal an error on empty input.
11244 (dired-mark-read-string): Don't return default on empty input.
11245
11246 * files.el (file-modes-symbolic-to-number): Doc fix.
11247
11248 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11249
11250 * international/mule-cmds.el (ucs-completions): Remove.
11251 (read-char-by-name): Use complete-with-action instead; add metadata.
11252
11253 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11254
11255 * window.el (display-buffer--action-function-custom-type)
11256 (display-buffer--action-custom-type): New vars.
11257 (display-buffer-alist, display-buffer-default-action)
11258 (display-buffer-overriding-action): Add defcustom types.
11259
11260 * frame.el (delete-other-frames): Doc fix (Bug#276).
11261
11262 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11263
11264 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11265
11266 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11267
11268 Change modes that used same-window-* vars to use switch-to-buffer.
11269
11270 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11271 Use switch-to-buffer.
11272
11273 * cus-edit.el (customize-group, custom-buffer-create)
11274 (customize-browse, custom-buffer-create-other-window):
11275 Use switch-to-buffer or switch-to-buffer-other-window.
11276
11277 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11278 (Info-prev, Info-up, Info-speedbar-goto-node)
11279 (info-display-manual): Use switch-to-buffer.
11280 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11281
11282 * mail/sendmail.el (mail): Use switch-to-buffer.
11283 (mail-recover): Use switch-to-buffer-other-window.
11284
11285 * cmuscheme.el (run-scheme, switch-to-scheme):
11286 * ielm.el (ielm):
11287 * shell.el (shell):
11288 * net/rlogin.el (rlogin):
11289 * net/telnet.el (telnet, rsh):
11290 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11291
11292 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11293
11294 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11295
11296 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11297
11298 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11299 so don't mention it (bug#9301).
11300 (dired-sort-toggle-or-edit): Clarify string further.
11301
11302 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11303 match `x', `w32' and `ns', like the manual says (bug#9029).
11304
11305 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11306 (process-kill-buffer-query-function): Mention the buffer name in
11307 the query.
11308
11309 * image-mode.el (image-next-line): The line parameter is mandatory
11310 (bug#9258).
11311
11312 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11313 which can be useful (bug#9301).
11314
11315 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11316
11317 * subr.el (match-string): Mention that the current buffer should
11318 be the same as the search was done in (bug#9282).
11319
11320 * facemenu.el: Disable the remove-* commands if the mark isn't
11321 active (bug#9162).
11322
11323 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11324
11325 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11326 of display-buffer.
11327 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11328
11329 * replace.el (occur-mode-goto-occurrence)
11330 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11331 and display-buffer.
11332
11333 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11334 display-buffer.
11335
11336 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11337 special-display and same-window variables.
11338 (mail-other-window): Use switch-to-buffer-other-window.
11339 (mail-other-frame): USe switch-to-buffer-other-frame.
11340
11341 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11342 Use display-buffer-other-frame.
11343 (gdb-display-gdb-buffer): Use pop-to-buffer.
11344
11345 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11346
11347 * progmodes/python.el: Don't set same-window-buffer-names.
11348
11349 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11350
11351 * window.el (display-buffer-alist): Add *Python*.
11352
11353 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11354
11355 * window.el (display-buffer-alist): Add entry for buffers
11356 previously handled same-window-*.
11357 (display-buffer-alist, display-buffer-default-action)
11358 (display-buffer-overriding-action): Mark as risky.
11359 (display-buffer-alist): Document action function changes.
11360 (display-buffer--same-window-action)
11361 (display-buffer--other-frame-action): New variables.
11362 (switch-to-buffer, display-buffer-other-frame): Use them.
11363 (display-buffer): Rename reuse-frame entry to reusable-frames.
11364 (display-buffer-reuse-selected-window): Function deleted.
11365 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11366 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11367 (display-buffer-special): New function.
11368 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11369 display-buffer-reuse-or-pop-window. Split off special-display
11370 part into display-buffer-special.
11371 (display-buffer-use-some-window): Don't perform any special
11372 pop-up-frames handling.
11373 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11374 (display-buffer--maybe-same-window): Rename from
11375 display-buffer-maybe-same-window.
11376
11377 * info.el: Don't set same-window-regexps.
11378 (info-setup): New function.
11379 (info-other-window, info): Call it.
11380
11381 * cus-edit.el: Don't set same-window-regexps.
11382 (customize-group): New argument.
11383 (customize-group-other-window): Use it.
11384 (customize-face, customize-face-other-window): Likewise.
11385 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11386
11387 * net/rlogin.el:
11388 * net/telnet.el:
11389 * progmodes/gud.el: Don't set same-window-regexps.
11390
11391 * cmuscheme.el:
11392 * ielm.el:
11393 * shell.el:
11394 * mail/sendmail.el:
11395 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11396
11397 2011-09-10 Juri Linkov <juri@jurta.org>
11398
11399 * isearch.el (isearch-edit-string): Remove obsolete mention of
11400 `C-w' (`isearch-yank-word-or-char') from docstring.
11401 (isearch-query-replace): Fix typo in docstring (bug#9466).
11402
11403 2011-09-10 Juri Linkov <juri@jurta.org>
11404
11405 * paren.el (show-paren-function): Don't show escaped parens.
11406 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11407
11408 2011-09-10 Eli Zaretskii <eliz@gnu.org>
11409
11410 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11411 (mm-default-file-encoding): Remove autoload forms, they are
11412 replaced with autoload cookies in mml.el and mm-encode.el.
11413 (mail-add-attachment): New command.
11414 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11415 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11416 the doc string.
11417 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11418
11419 2011-09-10 Reuben Thomas <rrt@sc3d.org>
11420
11421 * simple.el (count-words-region): Use buffer if there's no region
11422 (bug#9429).
11423
11424 2011-09-09 Juri Linkov <juri@jurta.org>
11425
11426 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11427 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11428 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11429
11430 2011-09-09 Alan Mackenzie <acm@muc.de>
11431
11432 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11433 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11434
11435 2011-09-09 Eli Zaretskii <eliz@gnu.org>
11436
11437 Fix for Savannah bug#9392.
11438 * simple.el (mail-encode-mml): New defvar.
11439
11440 * mail/rmail.el (mail-encode-mml): Add a defvar.
11441 (rmail-enable-mime-composing): Default to t.
11442 (rmail-forward): Use MIME method of forwarding only if both
11443 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11444 Set mail-encode-mml non-nil if the MIME method was used.
11445
11446 * mail/sendmail.el (mml-to-mime): Add autoload form.
11447 (mail-encode-mml): Add a defvar.
11448 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11449 to nil.
11450 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11451 message through mml-to-mime, and reset mail-encode-mml to nil.
11452
11453 2011-09-09 Glenn Morris <rgm@gnu.org>
11454
11455 * woman.el (woman-if-body): When processing an .el block,
11456 do not delete the next .el block as well. (Bug#9447)
11457 (woman-special-characters): Add oq, cq, and hy characters.
11458
11459 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11460
11461 * window.el (window-deletable-p): Make sure window is live before
11462 invoking window-prev-buffers.
11463
11464 2011-09-08 Leo Liu <sdl.web@gmail.com>
11465
11466 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11467
11468 2011-09-08 Juri Linkov <juri@jurta.org>
11469
11470 * progmodes/compile.el (compilation-environment): Make it
11471 a defcustom (bug#8340).
11472
11473 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11474
11475 * window.el (frame-auto-delete): Rename to window-auto-delete.
11476 Make it control auto-deletion of windows and/or frames.
11477 (window-deletable-p): New argument FORCE. Rewrite conditions
11478 for deleting window/frame. (Bug#9419)
11479 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11480 Rewrite handling of case when window/frame can be deleted.
11481 (delete-windows-on): Call window-deletable-p with new FORCE
11482 argument t. (Bug#9456)
11483
11484 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
11485
11486 * help-mode.el (help-mode): Restore autoload.
11487
11488 2011-09-07 Juri Linkov <juri@jurta.org>
11489
11490 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11491 `compilation-environment'. Set buffer-local
11492 `compilation-environment' to `thisenv' later after (funcall mode).
11493 (Bug#8340)
11494
11495 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11496 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11497 instead of replacing its value. (Bug#8340)
11498
11499 2011-09-07 Juri Linkov <juri@jurta.org>
11500
11501 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11502 based on text properties put by `grep-filter' instead of matching
11503 escape sequences.
11504 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11505 to the value of `grep-error-screen-columns' (bug#9438).
11506
11507 2011-09-07 Juri Linkov <juri@jurta.org>
11508
11509 * simple.el (next-error-highlight, next-error-highlight-no-select):
11510 Doc fix (bug#9432).
11511
11512 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11513
11514 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11515 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11516
11517 2011-09-07 Leo Liu <sdl.web@gmail.com>
11518
11519 * net/rcirc.el (rcirc-mode): Conditionally initialize
11520 rcirc-input-ring.
11521
11522 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * emacs-lisp/find-func.el (find-function-C-source): Only set
11525 find-function-C-source-directory after checking that we found a source
11526 file there (bug#9440).
11527
11528 2011-09-06 Alan Mackenzie <acm@muc.de>
11529
11530 * isearch.el (isearch-other-meta-char): Wherever a key list is
11531 unread, "unread" the prefix arg, too. This fixes bug #8901.
11532
11533 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11534
11535 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11536
11537 2011-09-05 Juri Linkov <juri@jurta.org>
11538
11539 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11540
11541 2011-09-05 Juri Linkov <juri@jurta.org>
11542
11543 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11544 keeping point where processing of grep matches begins, and
11545 continue to delete remaining escape sequences from the same point.
11546 (grep-filter): Make leading zero optional in "0?1;31m" because
11547 git-grep emits "\033[1;31m" escape sequences unlike expected
11548 "\033[01;31m" as GNU Grep does (bug#9408).
11549 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11550
11551 2011-09-05 Juri Linkov <juri@jurta.org>
11552
11553 * subr.el (y-or-n-p): Capitalize "yes".
11554
11555 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
11556
11557 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11558 `tramp-cache-unload-hook' where appropriate.
11559 (tramp-methods): Rename `tramp-remote-sh' to
11560 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11561 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11562
11563 * net/tramp-sh.el (top): Don't require 'shell.
11564 (tramp-methods): Add `tramp-remote-shell' and
11565 `tramp-remote-shell-args' entries.
11566 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11567 (tramp-sh-handle-shell-command): Remove.
11568 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11569 Use `tramp-remote-shell'.
11570
11571 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11572
11573 * mail/sendmail.el (sendmail-query-once-function): Delete.
11574 (sendmail-query-once): Save directly to send-mail-function.
11575 Update message-send-mail-function too.
11576
11577 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11578
11579 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11580
11581 * progmodes/python.el (python-mode-map): Use correct function to
11582 start python interpreter from menu-bar (as reported by Geert
11583 Kloosterman).
11584 (inferior-python-mode-map): Fix typo.
11585 (python-shell-map): Remove.
11586
11587 2011-09-03 Deniz Dogan <deniz@dogan.se>
11588
11589 * net/rcirc.el (rcirc-print): Simplify code for
11590 rcirc-scroll-show-maximum-output. There is no need to walk
11591 through all windows to find the right one.
11592
11593 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11594
11595 * help.el (help-return-method): Doc fix.
11596
11597 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11598
11599 * window.el (window-deletable-p): Don't return a non-nil value
11600 when there's a buffer that was shown in the window before.
11601 (Bug#9419)
11602 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11603 Set window's previous buffers to nil.
11604
11605 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11606
11607 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11608 newline before and after the tag line, so it doesn't interfere
11609 with determining the paragraph direction of bidirectional text.
11610
11611 2011-09-03 Leo Liu <sdl.web@gmail.com>
11612
11613 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11614
11615 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11616
11617 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11618 (pop-to-buffer): Change interactive spec. Pass second argument
11619 directly to display-buffer.
11620 (display-buffer): Fix interactive spec. Use functionp to
11621 distinguish between a function and a list of functions.
11622
11623 * abbrev.el (edit-abbrevs):
11624 * arc-mode.el (archive-extract):
11625 * autoinsert.el (auto-insert):
11626 * bookmark.el (bookmark-bmenu-list):
11627 * files.el (find-file):
11628 * view.el (view-buffer):
11629 * progmodes/compile.el (compilation-goto-locus):
11630 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11631
11632 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11633
11634 * window.el (display-buffer-alist): Doc fix.
11635 (display-buffer): Add docstring. Don't treat
11636 display-buffer-default specially.
11637 (display-buffer-reuse-selected-window)
11638 (display-buffer-same-window, display-buffer-maybe-same-window)
11639 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11640 (display-buffer-pop-up-window)
11641 (display-buffer-reuse-or-pop-window)
11642 (display-buffer-use-some-window): New functions.
11643 (display-buffer-default-action): Use them.
11644 (display-buffer-default): Delete.
11645 (pop-to-buffer-1): Fix choice of actions.
11646
11647 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11648
11649 * minibuffer.el (completion--insert-strings): Don't get confused by
11650 completion entries that end with an LF char.
11651
11652 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11653
11654 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11655
11656 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11657
11658 * window.el (display-buffer): Restore interactive spec.
11659 (display-buffer-same-window, display-buffer-other-window):
11660 New functions.
11661 (pop-to-buffer-1): New function. Use the above.
11662 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11663 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11664
11665 * view.el (view-buffer-other-window, view-buffer-other-frame):
11666 Just use pop-to-buffer.
11667
11668 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11669
11670 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11671
11672 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11673
11674 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11675
11676 2011-08-31 Richard Stallman <rms@gnu.org>
11677
11678 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11679 of the separation of rmail-view-buffer from rmail-buffer.
11680 If you say no to "replace original", the decrypt is in the
11681 view buffer. If you say yes, the decrypt goes into the
11682 rmail buffer also.
11683
11684 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11685
11686 * window.el (display-buffer-window): Rewrite doc-string.
11687 (display-buffer-record-window): New function.
11688 (display-buffer-macro-specifiers)
11689 (display-buffer-even-window-sizes, display-buffer-set-height)
11690 (display-buffer-set-width, display-buffer-in-window)
11691 (display-buffer-reuse-window, display-buffer-split-specifiers)
11692 (display-buffer-side-specifiers, display-buffer-split-window-1)
11693 (display-buffer-split-window, display-buffer-split-atom-window)
11694 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11695 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11696 (display-buffer-other-window-means-other-frame)
11697 (display-buffer-normalize-special)
11698 (display-buffer-normalize-default)
11699 (display-buffer-normalize-argument)
11700 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11701 (display-buffer-normalize-specifiers, display-buffer-frame)
11702 (display-buffer-same-window, display-buffer-same-frame)
11703 (display-buffer-other-window)
11704 (display-buffer-same-frame-other-window)
11705 (display-buffer-other-frame, pop-to-buffer-same-window)
11706 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11707 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11708 (switch-to-buffer-same-frame)
11709 (switch-to-buffer-other-window-same-frame)
11710 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11711 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11712 (display-buffer-alist-set): Remove.
11713 (display-buffer-function, special-display-buffer-names)
11714 (special-display-regexps, special-display-function):
11715 In doc-string refer to display-buffer-window and quit-restore
11716 parameter.
11717 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11718 (special-display-frame-alist, special-display-popup-frame)
11719 (same-window-buffer-names, same-window-regexps, same-window-p)
11720 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11721 (split-window-preferred-function, split-height-threshold)
11722 (split-width-threshold, window-splittable-p)
11723 (split-window-sensibly, window--try-to-split-window)
11724 (window--frame-usable-p, even-window-heights)
11725 (window--even-window-heights, window--display-buffer-1)
11726 (window--display-buffer-2, display-buffer-other-frame):
11727 Restore old Emacs 23 code, order and doc-strings where applicable.
11728 (display-buffer-default, display-buffer-assq-regexp): New functions.
11729 (display-buffer-alist): Rewrite doc-string.
11730 (display-buffer-default-action)
11731 (display-buffer-overriding-action): New variables.
11732 (display-buffer, switch-to-buffer): Rewrite.
11733 (pop-to-buffer): Restore Emacs 23 behavior but use
11734 window-normalize-buffer-to-display.
11735 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11736 Restore Emacs 23 behavior but use
11737 window-normalize-buffer-to-switch-to.
11738 (pop-to-buffer-same-window): Rewrite.
11739 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11740 Rewrite using Emacs 23 options.
11741
11742 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11743
11744 * net/tramp.el (tramp-root-regexp): Remove.
11745 (tramp-completion-file-name-regexp-unified)
11746 (tramp-completion-file-name-regexp-separate)
11747 (tramp-completion-file-name-regexp-url): Don't use leading volume
11748 letter on w32 systems. (Bug#5303, Bug#9311)
11749 (tramp-drop-volume-letter): Simplify definition.
11750 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11751
11752 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11753
11754 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11755 (bug#9356).
11756
11757 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11758
11759 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11760
11761 2011-08-29 Juri Linkov <juri@jurta.org>
11762
11763 * isearch.el (isearch-done): Don't display message "Mark saved"
11764 when arg `edit' is non-nil to prevent its flicker in the echo area.
11765
11766 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11767
11768 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11769 obsolete packages for deletion.
11770
11771 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11772
11773 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11774 (help-mode): Derive help-mode from special-mode. Don't invoke
11775 view-mode from help-mode.
11776 (help-xref-override-view-map): Remove.
11777 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11778 view-mode is not used anymore.
11779
11780 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11781
11782 * server.el (server-port): Doc fix.
11783
11784 * cus-theme.el (custom-theme-choose-mode): Inherit from
11785 special-mode (Bug#9124).
11786 (custom-theme-choose-mode-map): Add special-mode to parent.
11787
11788 2011-08-28 Alan Mackenzie <acm@muc.de>
11789
11790 * progmodes/cc-fonts.el
11791 (c-make-font-lock-BO-decl-search-function): New function.
11792 (c-basic-matchers-after - "Fontify the clauses after various
11793 keywords"): Extract the three keyword lists for the 3 erroneous
11794 constructs from the list of four, and use the new function above
11795 in place of an old one.
11796
11797 2011-08-28 Deniz Dogan <deniz@dogan.se>
11798
11799 * net/rcirc.el (rcirc-insert-prev-input)
11800 (rcirc-insert-next-input): Remove unused argument.
11801
11802 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11805
11806 2011-08-27 Alan Mackenzie <acm@muc.de>
11807
11808 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11809 handle function pointer parameters properly.
11810
11811 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11812
11813 * window.el (display-buffer-reuse-window): Fix case where
11814 selected window was reused with non-nil OTHER-WINDOW argument.
11815 (Bug#9381)
11816
11817 2011-08-27 Deniz Dogan <deniz@dogan.se>
11818
11819 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11820 oftc's NickServ messages.
11821
11822 2011-08-27 Glenn Morris <rgm@gnu.org>
11823
11824 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11825
11826 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11827
11828 * emacs-lisp/package.el (package-install): Call package-initialize
11829 if called interactively.
11830
11831 2011-08-26 Leo Liu <sdl.web@gmail.com>
11832
11833 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11834
11835 2011-08-25 Juri Linkov <juri@jurta.org>
11836
11837 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11838 `search-whitespace-regexp' (bug#9364).
11839
11840 2011-08-25 Juri Linkov <juri@jurta.org>
11841
11842 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11843 `regexp-search-ring' to their global values to protect from
11844 updating by `read-from-minibuffer' (bug#9185).
11845
11846 2011-08-25 Juri Linkov <juri@jurta.org>
11847
11848 * textmodes/ispell.el (ispell-command-loop): Add newline
11849 at the end of the "Use option `i'..." line.
11850
11851 2011-08-25 Juri Linkov <juri@jurta.org>
11852
11853 * battery.el (display-battery-mode): If `battery-status-function'
11854 or `battery-mode-line-format' is nil, display the message and set
11855 `display-battery-mode' to nil (bug#9363).
11856
11857 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11858
11859 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11860 bidi-string-mark-left-to-right; they are unnecessary now.
11861
11862 2011-08-25 Deniz Dogan <deniz@dogan.se>
11863
11864 * net/quickurl.el: Documentation typo fixes.
11865
11866 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11867
11868 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11869
11870 2011-08-25 Glenn Morris <rgm@gnu.org>
11871
11872 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11873
11874 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11875 (smtpmail-via-smtp): Handle nil response from smtp.
11876
11877 2011-08-24 Juri Linkov <juri@jurta.org>
11878
11879 * proced.el (proced-marked): Inherit from `error' instead of
11880 `font-lock-warning-face'.
11881
11882 * ibuffer.el (ibuffer-marked-face): Change default face from
11883 `font-lock-warning-face' to `warning'.
11884 (ibuffer-deletion-face): Change default face from
11885 `font-lock-type-face' to `error'.
11886
11887 * battery.el (battery-update): Use the face `error' instead of
11888 `font-lock-warning-face' (bug#6117).
11889
11890 2011-08-24 Juri Linkov <juri@jurta.org>
11891
11892 * faces.el (success): Change face color from "Green3" to
11893 "ForestGreen" on light background (bug#9353).
11894
11895 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11896
11897 * window.el (quit-window): Rename from quit-restore-window.
11898 Use same arglist as old quit-window.
11899 (frame-auto-delete): Doc fix.
11900
11901 * view.el (view-mode-exit): Use quit-window.
11902
11903 2011-08-24 Juri Linkov <juri@jurta.org>
11904
11905 * isearch.el (isearch-ring-adjust1): Start visiting previous
11906 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11907 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11908 for empty search string (when the last search string is reused
11909 automatically) to adjust the isearch ring to the last element and
11910 prepare the correct index for further M-p commands (bug#9185).
11911
11912 2011-08-24 Kenichi Handa <handa@m17n.org>
11913
11914 * international/ucs-normalize.el: If decomposition property of
11915 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11916 nil.
11917 (nfd, nfkd): Likewise.
11918
11919 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11922 from process filters aren't reliably transmitted to the surrounding
11923 accept-process-output.
11924 (mpc-proc-check): New function.
11925 (mpc-proc-sync): Use it (bug#8293)
11926
11927 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11930 Add compatibility functions (bug#9313).
11931
11932 2011-08-23 Eli Zaretskii <eliz@gnu.org>
11933
11934 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11935
11936 * international/uni-bidi.el: Regenerate.
11937
11938 2011-08-23 Kenichi Handa <handa@m17n.org>
11939
11940 * international/charprop.el:
11941 * international/uni-bidi.el:
11942 * international/uni-category.el:
11943 * international/uni-combining.el:
11944 * international/uni-comment.el:
11945 * international/uni-decimal.el:
11946 * international/uni-decomposition.el:
11947 * international/uni-digit.el:
11948 * international/uni-lowercase.el:
11949 * international/uni-mirrored.el:
11950 * international/uni-name.el:
11951 * international/uni-numeric.el:
11952 * international/uni-old-name.el:
11953 * international/uni-titlecase.el:
11954 * international/uni-uppercase.el: Regenerate.
11955
11956 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11957
11958 * help.el (help-window-setup): Fix message displayed when other
11959 window is reused. (Bug#9341)
11960
11961 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11964 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11965
11966 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11967 Mark obsolete.
11968 * shell.el (shell-parse-pcomplete-arguments): New function.
11969 (shell-completion-vars): Use it instead (bug#9160).
11970
11971 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11974 strings and comments (bug#9333).
11975
11976 * emacs-lisp/debug.el (debug-arglist): New function.
11977 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11978 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11979
11980 2011-08-22 Juri Linkov <juri@jurta.org>
11981
11982 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11983 Revert regexp that highlights output switches to its old
11984 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11985
11986 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11987 to check for empty output (bug#9226).
11988
11989 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11990
11991 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11992 symbol-constituent as the default, as that stops font-lock from
11993 working properly (Bug#8843).
11994
11995 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996
11997 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11998 `coding-system-for-*' around the process open call to avoid
11999 auth-source side effects.
12000 (smtpmail-try-auth-methods): Expand the secret password.
12001 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12002 probe hangs.
12003
12004 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12005
12006 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12007
12008 * emacs-lisp/find-func.el (find-function-noselect): New arg
12009 lisp-only.
12010
12011 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12012 signal an error for built-in functions (Bug#6664).
12013
12014 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12015
12016 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12017 (smtpmail-try-auth-methods): Use it.
12018
12019 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12020
12021 * font-lock.el (font-lock-fontify-region)
12022 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12023 (font-lock-default-unfontify-buffer)
12024 (font-lock-default-fontify-region)
12025 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12026
12027 * progmodes/compile.el (compilation-error-properties):
12028 Fix confusion between file struct and message struct (Bug#9319).
12029 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12030 `ant' regexp.
12031
12032 * net/browse-url.el (browse-url-firefox): Don't call
12033 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12034
12035 2011-08-20 Glenn Morris <rgm@gnu.org>
12036
12037 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12038
12039 * tutorial.el (tutorial--default-keys): Update some default bindings.
12040
12041 * files.el (hack-local-variables): Fully ignore case for "mode:".
12042
12043 2011-08-20 Alan Mackenzie <acm@muc.de>
12044
12045 Resolve invalid use of a regexp in regexp-opt.
12046
12047 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12048 detection for a java annotation.
12049
12050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12051 detection for a java annotation.
12052
12053 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12054 handling for java.
12055 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12056
12057 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12058
12059 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12060 (Bug#9274).
12061
12062 2011-08-20 Alan Mackenzie <acm@muc.de>
12063
12064 Fontify CPP expressions correctly when starting in the middle of
12065 such a construct. Mainly for when jit-lock etc. starts a chunk
12066 here.
12067
12068 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12069 variable.
12070 (c-make-font-lock-search-form): New function, extracted from
12071 c-make-font-lock-search-function.
12072 (c-make-font-lock-search-function): Use the above function.
12073 (c-make-font-lock-context-search-function): New function.
12074 (c-cpp-matchers): Enhance the preprocessor expression case with
12075 the above function
12076 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12077 which takes an expression.
12078
12079 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12080
12081 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12082
12083 * window.el (display-buffer-reuse-window)
12084 (display-buffer-pop-up-window): Don't reuse or split a side
12085 window.
12086
12087 2011-08-19 Glenn Morris <rgm@gnu.org>
12088
12089 * files.el (hack-local-variables-prop-line, hack-local-variables):
12090 Downcase "Mode:". (Bug#9331)
12091
12092 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12093
12094 * international/characters.el: Add L and R categories.
12095
12096 * subr.el (bidi-string-mark-left-to-right): Rename from
12097 string-mark-left-to-right. Use category search.
12098
12099 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12100
12101 2011-08-18 Juri Linkov <juri@jurta.org>
12102
12103 * faces.el (error, warning, success): New faces with definitions
12104 copied from old default values of `font-lock-warning-face',
12105 `compilation-warning', `compilation-info' (bug#6117).
12106
12107 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12108
12109 * progmodes/compile.el (compilation-error): Inherit from `error'.
12110 (compilation-warning): Inherit from `warning'.
12111 (compilation-info): Inherit from `success'.
12112
12113 * dired.el (dired-marked): Inherit from `warning'.
12114 (dired-flagged): Inherit from `error'.
12115
12116 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12117
12118 * mail/smtpmail.el (auth-source): Require to avoid problems with
12119 binding variables (bug#9298). Also clean up some unused
12120 autoloads.
12121
12122 * net/network-stream.el (network-stream-open-starttls):
12123 Support using starttls.el without using gnutls-cli.
12124
12125 2011-08-17 Juri Linkov <juri@jurta.org>
12126
12127 * progmodes/grep.el (rgrep): Handle the case when
12128 `grep-find-command' is a cons cell (bug#9278).
12129
12130 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12131
12132 * window.el (display-buffer-pop-up-frame): Run frame creation
12133 function with BUFFER current (as special-display-popup-frame
12134 does). Reported by Drew Adams.
12135
12136 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12137
12138 * epa-mail.el: Simplify GnuPG group expansion using
12139 epg-expand-group.
12140 (epa-mail-group-alist, epa-mail-group-modtime)
12141 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12142 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12143 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12144 Remove.
12145
12146 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
12147
12148 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12149
12150 2011-08-16 Alan Mackenzie <acm@muc.de>
12151
12152 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12153 Correct, to avoid the inside of macros.
12154
12155 2011-08-16 Richard Stallman <rms@gnu.org>
12156
12157 * epa-mail.el: Handle GnuPG group definitions.
12158 (epa-mail-group-alist, epa-mail-group-modtime)
12159 (epa-mail-gnupg-conf-file): New variables.
12160 (epa-mail-parse-groups, epa-mail-sync-groups)
12161 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12162 (epa-mail-expand-recipients): New functions.
12163 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12164
12165 * mail/rmail.el (rmail-epa-decrypt): New command.
12166
12167 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12168 Don't bind buffer-read-only, just inhibit-read-only.
12169 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12170 (epa-decrypt-armor-in-region): Make error message clearer.
12171
12172 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12175 and "a2b" to "ab" for `prefix'.
12176
12177 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12178
12179 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12180 filter groups.
12181 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12182 Fourquet (Bug#8804).
12183
12184 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12185
12186 * startup.el (argi): Declare as global variable (bug#9275).
12187
12188 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12189
12190 * subr.el (string-mark-left-to-right): Search the entire string
12191 for RTL script, not just the terminating character. Doc fix.
12192
12193 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12196 New function.
12197 (js--regexp-literal, js-syntax-propertize-function): Remove.
12198 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12199 (js-mode-map): Don't rebind electric keys.
12200 (js-insert-and-indent): Remove.
12201 (js-mode): Setup electric-layout and electric-indent instead.
12202
12203 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12204
12205 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12206
12207 * epa.el (epa-progress-callback-function): Fix the logic of
12208 displaying progress.
12209 * epa-file.el (epa-file-insert-file-contents): Make progress
12210 display more user-friendly.
12211 (epa-file-write-region): Ditto.
12212
12213 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12214
12215 * subr.el (string-mark-left-to-right): New function.
12216
12217 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12218 Use string-mark-left-to-right.
12219 (list-buffers-noselect): Caller changed.
12220
12221 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12222 Use string-mark-left-to-right.
12223 (tabulated-list-print): Recenter after moving point.
12224
12225 2011-08-10 Juri Linkov <juri@jurta.org>
12226
12227 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12228 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12229 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12230
12231 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12232
12233 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12234 (Bug#7554).
12235
12236 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12237
12238 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12239 character. (Bug#6594)
12240
12241 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12242
12243 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12244 (image-dired--with-db-file): New macro.
12245 (image-dired-write-tags, image-dired-remove-tag)
12246 (image-dired-create-gallery-lists, image-dired-write-comments)
12247 (image-dired-get-comment, image-dired-mark-tagged-files)
12248 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12249 (image-dired-gallery-generate): Use insert-file-contents.
12250
12251 * time.el (display-time-world-list, display-time-world-display):
12252 * time-stamp.el (time-stamp-string):
12253 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12254 set-time-zone-rule (Bug#7337).
12255
12256 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12257
12258 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12259 (epg-error-to-string, epg-errors-to-string): New function.
12260 (epg-wait-for-completion): Reverse errors list.
12261 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12262 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12263 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12264 (epg-sign-keys, epg-generate-key-from-file)
12265 (epg-generate-key-from-string): Format errors by using
12266 epg-errors-to-string (bug#9255).
12267 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12268
12269 2011-08-07 Juri Linkov <juri@jurta.org>
12270
12271 * faces.el (list-faces-display): Remove extra angle bracket
12272 from `help-mode-map'.
12273
12274 * info.el (Info-history-toc-nodes): Doc fix.
12275
12276 * longlines.el (longlines-mode): Doc fix.
12277
12278 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12281 of statements and in a few more cases (bug#9183).
12282
12283 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12284 New functions.
12285 (cl-transform-lambda): Use them (bug#9239).
12286
12287 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12288
12289 * window.el (display-buffer-same-window)
12290 (display-buffer-same-frame, display-buffer-other-window)
12291 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12292 (pop-to-buffer-other-window)
12293 (pop-to-buffer-same-frame-other-window)
12294 (pop-to-buffer-other-frame): Make them defuns.
12295 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12296
12297 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * subr.el (make-composed-keymap): Move from C. Change calling
12300 convention, and improve docstring to bring attention to a subtle point.
12301 * minibuffer.el (completing-read-default): Adjust accordingly.
12302
12303 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12304
12305 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12306 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12307
12308 * net/trampver.el: Update release number.
12309
12310 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12313 "in" (bug#9190).
12314
12315 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12316
12317 * mail/sendmail.el (sendmail-query-once): Restore the current
12318 buffer after querying (bug#9074).
12319
12320 * dired.el (dired-flagged): Use different faces for marked and
12321 flagged files (bug#6117).
12322
12323 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12324 (bug#4433).
12325
12326 * ido.el (ido-mode): Switch off the message if called
12327 non-interactively.
12328
12329 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12330 before 587, since it appears that that's more likely to work for
12331 more people.
12332
12333 * cus-edit.el (custom-file): When running under emacs -q, always
12334 refuse to save the customizations, even if the .emacs file doesn't
12335 exist.
12336
12337 * info.el: Remove the `Info-beginning-of-buffer' function
12338 (bug#8325).
12339
12340 * net/network-stream.el (network-stream-open-starttls):
12341 Use `starttls-available-p' to see whether starttls.el can be used.
12342
12343 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12344
12345 * window.el (display-buffer-in-window): Don't set dedicated status
12346 of window here (Bug#9215).
12347 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12348 (display-buffer-pop-up-side-window)
12349 (display-buffer-in-side-window): Set dedicated status of window here.
12350
12351 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12354 before binding generated-autoload-file.
12355
12356 2011-08-01 Deniz Dogan <deniz@dogan.se>
12357
12358 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12359
12360 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12361
12362 Sync with Tramp 2.2.2.
12363
12364 * net/trampver.el: Update release number.
12365
12366 2011-07-30 Juri Linkov <juri@jurta.org>
12367
12368 * dired-aux.el (dired-touch-initial): Remove function.
12369 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12370 current time, and `default' to the last modification time of the
12371 current marked file (bug#6887).
12372
12373 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12374
12375 * simple.el (goto-line): Use string-to-number to provide a
12376 numeric argument to read-number (bug#9163).
12377
12378 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
12379
12380 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12381 connection process, it could be nil.
12382
12383 2011-07-27 Leo Liu <sdl.web@gmail.com>
12384
12385 Simplify url handling in rcirc-mode.
12386
12387 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12388 (rcirc-browse-url-at-mouse): Remove.
12389 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12390
12391 2011-07-26 Alan Mackenzie <acm@muc.de>
12392
12393 Fontify bitfield declarations properly.
12394
12395 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12396 (c-symbol-chars): Now exported as a lang variable.
12397 (c-not-primitive-type-keywords): New lang variable.
12398
12399 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12400 QT keyword "more" to prevent "more slots: ...." being spuriously
12401 parsed as a bitfield declaration.
12402
12403 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12404 Refactor and enhance to handle bitfield declarations.
12405 (c-punctuation-in): New function.
12406 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12407 declarations properly.
12408
12409 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
12410
12411 * calendar/icalendar.el (icalendar--all-events): Take care of
12412 multiple vcalendars in a single file.
12413 (icalendar--convert-float-to-ical): Checkdoc fixes.
12414
12415 2011-07-25 Deniz Dogan <deniz@dogan.se>
12416
12417 * image.el (insert-image): Clarifying docstring.
12418
12419 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
12420
12421 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12422 `tramp-send-command-and-check' if there is no error.
12423 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12424
12425 2011-07-22 Alan Mackenzie <acm@muc.de>
12426
12427 Prevent cc-langs.elc being loaded at run time.
12428
12429 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12430 cc-langs.
12431
12432 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12433 "(require 'cc-langs)". Quote a form so it will evaluate at
12434 (cc-mode's) compilation time.
12435
12436 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
12437
12438 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12439 loading. (Bug#9114)
12440
12441 2011-07-21 Martin Rudalics <rudalics@gmx.at>
12442
12443 * window.el (display-buffer-pop-up-window)
12444 (display-buffer-pop-up-side-window)
12445 (display-buffer-in-side-window): Call display-buffer-set-height
12446 and display-buffer-set-width after setting the new window's
12447 buffer so `fit-window-to-buffer' and friends work on the right buffer.
12448
12449 2011-07-20 Sam Steingold <sds@gnu.org>
12450
12451 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12452 (etags-tags-included-tables): Call `convert-standard-filename' on
12453 the file names contained in TAGS so that windows Emacs can handle
12454 TAGS files created by cygwin ctags.
12455
12456 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12457
12458 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12459 which apparently didn't work.
12460
12461 2011-07-19 Roland Winkler <winkler@gnu.org>
12462
12463 * proced.el (proced-send-signal): For *Marked Processes* buffer
12464 put point at beginning of buffer.
12465
12466 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
12467
12468 * proced.el (proced-format): Make header lines align with the text
12469 (bug#1779).
12470
12471 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12472
12473 * view.el (view-buffer): Allow running in `special' modes if we're
12474 visiting a file (bug#8615).
12475
12476 2011-07-19 Martin Rudalics <rudalics@gmx.at>
12477
12478 * window.el (display-buffer-alist-of-strings-p)
12479 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12480 New functions.
12481 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12482 more accurately.
12483
12484 2011-07-18 Alan Mackenzie <acm@muc.de>
12485
12486 Fontify declarators properly when, e.g., a jit-lock chunk begins
12487 inside a declaration.
12488
12489 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12490
12491 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12492 New function.
12493 (c-complex-decl-matchers): Insert reference to
12494 c-font-lock-enclosing-decls.
12495
12496 * progmodes/cc-engine.el (c-backward-single-comment):
12497 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12498 to nil around calls to (forward-comment -1).
12499
12500 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12501
12502 * image.el (put-image): Doc typo fix.
12503
12504 * progmodes/etags.el (tags-search): Doc typo fix.
12505
12506 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12507 password if we get errors 550 to 554.
12508
12509 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12510
12511 * net/gnutls.el (gnutls-log-level): Remove.
12512
12513 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12514 indentation character (bug#6380).
12515
12516 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12517
12518 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12519 to clarify what the problem is (bug#4291).
12520
12521 * simple.el (current-kill): Clarify what
12522 `interprogram-paste-function' does (bug#7500).
12523 (auto-fill-mode): Document `auto-fill-function' in relation to
12524 `auto-fill-mode' (bug#2470).
12525
12526 2011-07-16 Lawrence Mitchell <wence@gmx.li>
12527
12528 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12529 method if slot is read-only (bug#9035).
12530
12531 2011-07-16 Martin Rudalics <rudalics@gmx.at>
12532
12533 * frame.el (select-frame-set-input-focus): New argument NORECORD.
12534 * window.el (pop-to-buffer): Select window used even if it was
12535 selected before, see discussion of (Bug#8615), (Bug#6954).
12536 Pass argument NORECORD on to select-frame-set-input-focus.
12537
12538 2011-07-15 Glenn Morris <rgm@gnu.org>
12539
12540 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
12541 Respect help-form.
12542
12543 2011-07-09 Lawrence Mitchell <wence@gmx.li>
12544
12545 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12546 (gnutls-negotiate): Use it.
12547
12548 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12549
12550 * net/gnutls.el (gnutls-negotiate):
12551 Upcase `gnutls-algorithm-priority'.
12552
12553 2011-07-15 Glenn Morris <rgm@gnu.org>
12554
12555 * jka-compr.el (jka-compr-verbose): Move from here...
12556 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12557 Add missing :version tag.
12558 * info.el: No need to require jka-compr when compiling.
12559
12560 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12561
12562 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12563 (gnutls-negotiate): Use it.
12564
12565 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12566
12567 * info.el (Info-beginning-of-buffer): New command.
12568 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12569 announcing `b' as the key (bug#8325).
12570 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12571
12572 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12573
12574 * international/mule-cmds.el
12575 (describe-specified-language-support): Make the error message
12576 clearer (bug#8905).
12577
12578 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12579
12580 * isearch.el (isearch-barrier): Add a doc string, since it's
12581 mentioned in a function doc string (bug#8678).
12582
12583 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12584
12585 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12586 buffer argument (Bug#9083) and self-identifying label argument.
12587
12588 2011-07-15 Glenn Morris <rgm@gnu.org>
12589
12590 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12591
12592 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12593
12594 * man.el (Man-fontify-manpage): Fix message when formatting the
12595 man page (bug#7929).
12596
12597 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12598
12599 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12600 argument LRM; if non-nil, append an invisible LRM character to the
12601 buffer name.
12602 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12603 last argument non-nil, when formatting buffer names.
12604 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12605 paragraph direction.
12606
12607 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12608
12609 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12610 the man page name (bug#7929).
12611
12612 * image.el (put-image): Mention the `put-image' overlay property
12613 (bug#7834).
12614
12615 * scroll-bar.el (set-scroll-bar-mode): Mention that
12616 `scroll-bar-mode' lists the values (bug#7772).
12617
12618 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12619 command (bug#7729).
12620
12621 * rect.el (apply-on-rectangle): Return the point after the last
12622 operation.
12623 (string-rectangle): Go to the point after the last operation
12624 (bug#7522).
12625
12626 * printing.el (pr-toggle-region): Clarify the documentation
12627 slightly (bug#7493).
12628
12629 * time.el (display-time-update):
12630 Allow `display-time-mail-function' to return nil (bug#7158).
12631 Fix suggested by Detlev Zundel.
12632
12633 * vc/diff.el (diff): Clarify the order the file names are read
12634 (bug#7111).
12635
12636 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12637 the doc string (bug#7015).
12638
12639 * font-lock.el (font-lock-maximum-decoration): Mention what
12640 numeric levels mean (bug#6935).
12641
12642 * startup.el (initial-buffer-choice): Don't mention the `none'
12643 selection, which is against policy.
12644
12645 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12646
12647 * window.el (display-buffer-normalize-special):
12648 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12649
12650 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12651
12652 * subr.el (version<, version<=, version=): Mention "-CVS" and
12653 "-12345" alpha version numbers.
12654
12655 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12656
12657 * bindings.el: Add advertised binding for set-mark-command
12658 (Bug#5772).
12659
12660 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12661
12662 * bindings.el (mode-line-other-buffer):
12663 * bookmark.el (bookmark-bmenu-2-window):
12664 * bs.el (bs-cycle-next, bs-cycle-previous):
12665 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12666 switch-to-buffer.
12667
12668 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12669 Delete.
12670
12671 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12672
12673 * follow.el (follow-debug-message, follow-redisplay):
12674 * jka-cmpr-hook.el (with-auto-compression-mode):
12675 Fix typos in docstrings.
12676
12677 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12678
12679 * subr.el (with-silent-modifications): Clarify somewhat what the
12680 macro inhibits (bug#6525).
12681
12682 * simple.el (eval-expression): Note what it does if called
12683 interactively (bug#6495).
12684
12685 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12686
12687 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12688 Use pop-to-buffer buffer-or-name if it is nil.
12689
12690 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12691 Remove switch-to-buffer.
12692
12693 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694
12695 * files.el (make-directory): Clarify that an error will be raised
12696 if there's an error (bug#6397).
12697
12698 * startup.el (initial-buffer-choice): Add `none' as a choice
12699 (bug#6234).
12700
12701 * subr.el (add-hook): Clarify section about buffer-local hooks
12702 (bug#6218).
12703
12704 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12705
12706 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * tabify.el (untabify): Preserve the current column so that point
12709 doesn't move (bug#6032).
12710
12711 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12712
12713 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12714 Rewrite to avoid awkward possessive "s" (bug#5986).
12715
12716 2011-07-13 Glenn Morris <rgm@gnu.org>
12717
12718 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12719 (dired-insert-directory): Give a message the first time
12720 if ls is found not to support --dired.
12721
12722 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12723
12724 * simple.el (toggle-truncate-lines): Clarify what is toggled
12725 (bug#5580). Text by Drew Adams.
12726
12727 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12728
12729 * simple.el (blink-matching-open): Make the error message from the
12730 last change less verbose.
12731
12732 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12733
12734 * font-lock.el (font-lock-comment-face): Use the high contrast
12735 "yellow" color for font-lock-comment-face on low color terminals
12736 using a dark background color (bug#4221).
12737
12738 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12739
12740 * dired.el (dired-insert-set-properties): Make the doc string
12741 reflect what it does now (bug#5325).
12742
12743 * simple.el (blink-matching-open): Say that we were unable to find
12744 the match within the limit, if we're limited (bug#5122).
12745
12746 * international/mule-cmds.el (prefer-coding-system): Add an
12747 example (bug#4869).
12748
12749 * progmodes/etags.el (tags-search): Document `file-list-form'
12750 (bug#4731).
12751
12752 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12753
12754 * net/browse-url.el (browse-url-default-browser)
12755 (browse-url-browser-function): Make the default browser choice a
12756 bit more logical (bug#4300). Also clean up the doc string.
12757
12758 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12759
12760 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12761 binary endings (bug#4440).
12762
12763 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12764
12765 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12766 which can be pretty annoying (bug#8971).
12767
12768 * jka-compr.el (jka-compr-verbose): New variable, and use
12769 throughout (bug#8971).
12770
12771 * info.el (Info-find-file): Fall back on the installation
12772 directory if we can't find the info node anywhere else.
12773
12774 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12775
12776 * vc/vc.el (vc-revert-file):
12777 Don't set file time-stamp in the past. (Bug#5181)
12778
12779 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12780
12781 * files.el (after-find-file): Give a better error message when
12782 trying to find a symlink that points to a file that doesn't exist
12783 (bug#4398).
12784
12785 * progmodes/cc-vars.el: Remove (probably) misleading comment
12786 (bug#4396).
12787
12788 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12789
12790 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12791
12792 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12793
12794 * mouse-sel.el: Hack restoring functionality, while keeping
12795 compatibility with 2010-07-03 changes to mouse selection.
12796 (mouse-sel-primary-overlay): New var.
12797 (mouse-sel-selection-alist): Use it.
12798 (mouse-sel-mode): Doc fix; remove points that are default features
12799 of mouse.el.
12800
12801 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12802
12803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12804 Fix previous fix (bug#2490).
12805
12806 2011-07-12 Roland Winkler <winkler@gnu.org>
12807
12808 * textmodes/bibtex.el (bibtex-initialize):
12809 Use pop-to-buffer-same-window.
12810 (bibtex-search-entries): Fix interactive call.
12811
12812 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12813
12814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12815 Fontise bytecomp Error lines more correctly (bug#2490).
12816 Fix suggested by Johan Bockgård.
12817
12818 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12819
12820 * dired-x.el (dired-guess-default): Use `delete-dups'.
12821
12822 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12823
12824 * dired.el (dired-mark-prompt):
12825 * dired-aux.el (dired-read-shell-command): Doc fix.
12826
12827 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828
12829 * mail/sendmail.el (sendmail-query-once):
12830 Use `customize-save-variable' unconditionally, now that it works under
12831 emacs -Q.
12832
12833 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12834
12835 * cus-edit.el (custom-file): Take an optional no-error variable.
12836 (customize-save-variable): Set the variable, and give a warning if
12837 running under "emacs -q".
12838
12839 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12840
12841 * loadhist.el (unload-feature-special-hooks):
12842 Add `auto-coding-functions', `fill-nobreak-predicate' and
12843 `find-directory-functions' (bug#5327).
12844
12845 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12846
12847 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12848
12849 * cus-edit.el (custom-guess-name-alist): -alist variables should
12850 use the `alist' type (bug#3120). Suggested by Drew Adams.
12851
12852 * printing.el: Add documentation to all the `pr-toggle-' commands.
12853
12854 2011-07-11 Leo Liu <sdl.web@gmail.com>
12855
12856 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12857 backends where it makes sense (bug#2623).
12858
12859 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860
12861 * dired-x.el (dired-guess-default): Remove duplicate shell command
12862 entries (bug#2028).
12863 (dired-guess-default): Fix grammar in doc string (bug#2028).
12864 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12865
12866 * subr.el (remove-duplicates): New conveniency function.
12867
12868 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12869
12870 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12871 (bug#1526).
12872
12873 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12874
12875 * window.el (display-buffer-normalize-default): Don't invert
12876 meaning of even-window-heights. Reported by Eli Zaretskii
12877 <eliz@gnu.org>.
12878
12879 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12880
12881 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12882
12883 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12884
12885 * window.el (display-buffer): Fix arguments to
12886 display-buffer-reuse-window in last change.
12887
12888 * faces.el (link): Use a less saturated blue on light backgrounds.
12889
12890 * startup.el (fancy-startup-text, fancy-about-text)
12891 (fancy-startup-tail): Use font-lock faces, for background safety.
12892
12893 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12894
12895 * emulation/viper-cmd.el (viper-change-state-to-vi):
12896 Limit triggering of abbrev expansion (Bug#9038).
12897
12898 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12899
12900 * window.el (display-buffer-default-specifiers): Remove.
12901 (display-buffer-macro-specifiers): Remove default specifiers.
12902 (display-buffer-alist): Default to nil.
12903 (display-buffer-reuse-window): New optional argument other-window.
12904 (display-buffer-pop-up-window): Allow splitting internal
12905 windows. Check whether a live window was created.
12906 (display-buffer-other-window-means-other-frame)
12907 (display-buffer-normalize-arguments): Rename to
12908 display-buffer-normalize-argument and rewrite. Set the
12909 other-window specifier.
12910 (display-buffer-normalize-special): New function.
12911 (display-buffer-normalize-options): Rename to
12912 display-buffer-normalize-default and rewrite.
12913 (display-buffer-normalize-options-inhibit): Remove.
12914 (display-buffer-normalize-specifiers): Rewrite.
12915 (display-buffer): Process other-window specifier and call
12916 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12917 more faithfully.
12918 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12919 (display-buffer-alist-set): Don't handle 'unset default values.
12920 (display-buffer-in-window, display-buffer-alist-set):
12921 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
12922 <tassilo@member.fsf.org>.
12923
12924 2011-07-09 Leo Liu <sdl.web@gmail.com>
12925
12926 * register.el (insert-register): Restore accidental change on
12927 2011-06-26. (Bug#9028)
12928
12929 2011-07-09 Glenn Morris <rgm@gnu.org>
12930
12931 * subr.el (remq): Handle the empty list. (Bug#9024)
12932
12933 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12934
12935 * mail/sendmail.el (send-mail-function): No longer delay custom
12936 initialization.
12937 * custom.el (custom-initialize-delay): Doc fix.
12938
12939 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12940
12941 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12942
12943 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12944
12945 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12946 human-friendly prompt.
12947
12948 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12951 provided by a particular plugin.
12952
12953 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12954
12955 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12956 save customizations (with "emacs -Q"), just set the variable
12957 instead of erroring out.
12958
12959 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12960
12961 2011-07-08 Juri Linkov <juri@jurta.org>
12962
12963 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12964 (archive-zip-update-case): Use 7z if found by `executable-find'.
12965 The order of searching the available programs is the same as in
12966 `archive-zip-extract' (bug#8968).
12967
12968 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12969
12970 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12971 (menu-bar-options-menu): Tweak descriptions.
12972
12973 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12974
12975 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12976 menu items into verb phrases (bug#1421). Also refill to fit under
12977 80 columns.
12978
12979 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12980
12981 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12982 (Info-read-node-name): Doc fix (Bug#1084).
12983
12984 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12985 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12986 (end-of-sexp, beginning-of-sexp)
12987 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12988 (forward-symbol, forward-same-syntax, word-at-point)
12989 (sentence-at-point): Doc fix (Bug#1144).
12990
12991 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12992
12993 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12994 should cover it (bug#1281).
12995
12996 * cus-edit.el (custom-show): Mark as obsolete.
12997
12998 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12999 negotiation fails, then possibly try again with a non-encrypted
13000 connection (bug#9017).
13001
13002 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13003 be used.
13004
13005 2011-07-07 Richard Stallman <rms@gnu.org>
13006
13007 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13008 property, and handle its changed format.
13009 Look for the correct line number.
13010 Use file's line contents (but not past first =) to find
13011 correct line in message.
13012
13013 2011-07-07 Kenichi Handa <handa@m17n.org>
13014
13015 * international/characters.el (build-unicode-category-table):
13016 Delete it.
13017 (unicode-category-table): Set it by unicode-property-table-internal.
13018
13019 * international/mule-cmds.el (char-code-property-alist): Move to
13020 to src/chartab.c.
13021 (get-char-code-property): Call unicode-property-table-internal to
13022 load a file. Call get-unicode-property-internal where necessary.
13023 (put-char-code-property): Call unicode-property-table-internal to
13024 load a file. Call put-unicode-property-internal where necessary.
13025 put-unicode-property-internal where necessary.
13026 (char-code-property-description):
13027 Call unicode-property-table-internal to load a file.
13028
13029 * international/charprop.el:
13030 * international/uni-bidi.el:
13031 * international/uni-category.el:
13032 * international/uni-combining.el:
13033 * international/uni-comment.el:
13034 * international/uni-decimal.el:
13035 * international/uni-decomposition.el:
13036 * international/uni-digit.el:
13037 * international/uni-lowercase.el:
13038 * international/uni-mirrored.el:
13039 * international/uni-name.el:
13040 * international/uni-numeric.el:
13041 * international/uni-old-name.el:
13042 * international/uni-titlecase.el:
13043 * international/uni-uppercase.el: Regenerate.
13044
13045 * loadup.el: Load international/charprop.el before
13046 international/characters.
13047
13048 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13049
13050 * window.el (next-buffer, previous-buffer): Signal an error if
13051 called from a minibuffer window.
13052
13053 * bindings.el: Revert 2011-07-04 change.
13054
13055 2011-07-06 Richard Stallman <rms@gnu.org>
13056
13057 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13058 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13059 Treat markers like ints.
13060 (rmail-mime-entity): Doc fix.
13061
13062 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13063
13064 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13065 defcustom again for backwards compatibility.
13066
13067 * simple.el (shell-command-on-region): Fill.
13068
13069 * dired-aux.el (dired-kill-line): Add a doc string.
13070
13071 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13072 to "\\sw\\|\\s_" (bug#358).
13073
13074 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13075 (dired-unmark-backward): Ditto.
13076 (dired-flag-backup-files): Ditto.
13077
13078 * dired-x.el (dired-mark-sexp): Ditto.
13079
13080 2011-07-06 Richard Stallman <rms@gnu.org>
13081
13082 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13083 (rmail-mime-entity): New arg TRUNCATED.
13084 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13085 New functions.
13086 (rmail-mime-save): Warn if entity is truncated.
13087 (rmail-mime-toggle-hidden): Likewise, for showing.
13088 (rmail-mime-process-multipart): Record when an entity is truncated.
13089
13090 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13091 if ENTITY is a string.
13092
13093 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13094
13095 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13096 of faces when `M-C-x'-ing their definitions (bug#8378).
13097 Also clean up the code slightly.
13098
13099 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13100 because that makes the colors go away.
13101
13102 * mail/sendmail.el (send-mail-function): Change the default to
13103 `sendmail-query-once'.
13104 (sendmail-query-once): Add an autoload cookie.
13105
13106 * net/network-stream.el (network-stream-open-starttls): Try using
13107 a plain connection even if the server offered STARTTLS, and we
13108 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13109 capability. This should make smtpmail.el work in slightly more
13110 configurations.
13111
13112 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13113
13114 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13115 New defun.
13116 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13117
13118 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13119
13120 * progmodes/sql.el: Version 3.0
13121 (sql-product-alist): Add product :completion-object,
13122 :completion-column, and :statement attributes.
13123 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13124 (sql-mode-syntax-table): Mark all punctuation.
13125 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13126 ansi keywords.
13127 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13128 (sql-mode-oracle-font-lock-keywords): Improve.
13129 (sql-oracle-show-reserved-words): New function for development.
13130 (sql-product-font-lock): Simplify for source code buffers.
13131 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13132 New functions.
13133 (sql-highlight-product): Set product specific syntax table.
13134 (sql-mode-map): Add statement movement functions.
13135 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13136 New variable.
13137 (sql-statement-regexp, sql-beginning-of-statement)
13138 (sql-end-of-statement, sql-signum): New functions.
13139 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13140 (sql-show-sqli-buffer): Bug fix.
13141 (sql-interactive-mode): Store connection data as buffer local.
13142 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13143 with sql-interactive-mode.
13144 (sql-save-connection): Save buffer local settings.
13145 (sql-connection-menu-filter): Change menu entry name.
13146 (sql-product-interactive): Bug fix.
13147 (sql-preoutput-hold): New variable.
13148 (sql-interactive-remove-continuation-prompt): Bug fixes.
13149 (sql-debug-redirect): New variable.
13150 (sql-str-literal): New function.
13151 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13152 Redesign.
13153 (sql-oracle-save-settings, sql-oracle-restore-settings)
13154 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13155 (sql-completion-object, sql-completion-column)
13156 (sql-completion-sqlbuf): New variables.
13157 (sql-build-completions-1, sql-build-completions)
13158 (sql-try-completion): New functions.
13159 (sql-read-table-name): Use them.
13160 (sql-contains-names): New buffer local variable.
13161 (sql-list-all, sql-list-table): Use it.
13162 (sql-oracle-completion-types): New variable.
13163 (sql-oracle-completion-object, sql-sqlite-completion-object)
13164 (sql-postgres-completion-object): New functions.
13165
13166 2011-07-06 Glenn Morris <rgm@gnu.org>
13167
13168 * window.el (pop-to-buffer): Doc fix.
13169
13170 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13171
13172 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13173
13174 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13175
13176 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13177
13178 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13179
13180 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13181
13182 * button.el (button): Inherit from link face. Suggested by Dan
13183 Nicolaescu.
13184
13185 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * progmodes/gdb-mi.el: Fit in 80 columns.
13188 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13189 switch-to-buffer.
13190
13191 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13192 if imenu is simply not configured (bug#8941).
13193
13194 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13195
13196 * allout.el (allout-post-undo-hook): New allout outline-change
13197 event hook to signal undo activity.
13198 (allout-post-command-business): Run allout-post-undo-hook if an
13199 undo just occurred.
13200 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13201 * allout-widgets.el (allout-widgets-after-undo-function):
13202 Ensure the integrity of the current item's decoration after it has been
13203 in the vicinity of an undo.
13204 (allout-widgets-mode): Include allout-widgets-after-undo-function
13205 on the new allout-post-undo-hook.
13206
13207 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13210 Let define-derived-mode define it.
13211 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13212 cycles of abbrev-table inheritance (bug#8998).
13213
13214 2011-07-05 Roland Winkler <winkler@gnu.org>
13215
13216 * textmodes/bibtex.el: Add support for biblatex.
13217 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13218 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13219 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13220 (bibtex-entry-alist, bibtex-field-alist): New variables.
13221 (bibtex-entry-field-alist): Obsolete alias for
13222 bibtex-BibTeX-entry-alist.
13223 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13224 (bibtex-set-dialect): New command.
13225 (bibtex-entry-type, bibtex-entry-head)
13226 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13227 Bind via bibtex-set-dialect.
13228 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13229 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13230 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13231 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13232 Define via bibtex-set-dialect.
13233 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13234 Obey bibtex-no-opt-remove-re.
13235 (bibtex-vec-push, bibtex-vec-incr): New functions.
13236 (bibtex-format-entry, bibtex-field-list)
13237 (bibtex-print-help-message, bibtex-validate)
13238 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13239
13240 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * progmodes/compile.el (compilation-goto-locus):
13243 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13244 * bs.el (bs-cycle-next, bs-cycle-previous):
13245 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13246 * bindings.el (mode-line-other-buffer):
13247 * autoinsert.el (auto-insert):
13248 * arc-mode.el (archive-extract):
13249 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13250
13251 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13252
13253 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13254 Fix check of `emacs-lock-unlockable-modes'.
13255 Coerce true values of `emacs-lock--try-unlocking' to t.
13256
13257 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13258
13259 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13260 * emacs-lock.el: New file.
13261
13262 2011-07-05 Julien Danjou <julien@danjou.info>
13263
13264 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13265 than `boundp' to check if face is set.
13266
13267 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13268
13269 * register.el (registerv-make):
13270 * window.el (window-min-height): Fix typos in docstrings.
13271
13272 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13273
13274 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13275 Update doc string.
13276
13277 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13278
13279 * server.el (server-execute): Catch quit and call
13280 `server-return-error' to pass the error back to emacsclient and
13281 close the connection (bug#8942).
13282
13283 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13284
13285 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13286 insecure exception for current topic. Also note that auto-saves
13287 are handled differently.
13288
13289 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13290 State variables for tracking auto-save inhibition situation.
13291
13292 (allout-write-contents-hook-handler): Rename from
13293 'allout-write-file-hook-handler', and describe how it depends on
13294 write-contents-functions sensitivity to non-nil value to prevent
13295 file write.
13296
13297 (allout-auto-save-hook-handler): Remove. auto-save does not check
13298 this in individual buffers, only in the starting buffer, so this
13299 is not the right way for us to inhibit auto-save in a buffer
13300 according to its condition.
13301
13302 (allout-mode): Use new allout-write-contents-hook-handler, and
13303 only with write-contents-functions. Remove auto-save provisions -
13304 they're implemented elsewhere.
13305
13306 (allout-before-change-handler): If undo is in progress, note that
13307 for attention of allout-post-command-business.
13308
13309 (allout-post-command-business): If the command we're following was
13310 an undo, check for change in the status of encrypted items and
13311 adjust auto-save inhibitions accordingly.
13312
13313 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13314 according to whether there are or aren't any plain-text topics
13315 pending encryption.
13316
13317 (allout-inhibit-auto-save-info-for-decryption):
13318 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13319 if there are plain-text topics pending encryption.
13320
13321 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13322 buffer-saved-size and some allout state to not inhibit auto-saves
13323 if there are no longer any plain-text topics pending encryption.
13324
13325 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13326 No longer provide for exemption of the current topic.
13327
13328 2011-07-04 Juri Linkov <juri@jurta.org>
13329
13330 Add 7z operations to delete and save changed members (bug#8968).
13331 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13332 New defcustoms.
13333 (archive-7z-write-file-member): New function.
13334 (archive-7z-summarize): Fix the number of dashes in the
13335 listing output.
13336
13337 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13340 (bug#8958).
13341
13342 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13343
13344 * bindings.el: Ignore next-buffer and previous-buffer in
13345 minibuffer-local-map.
13346
13347 * font-lock.el (font-lock-builtin-face): Change light background
13348 color to dark slate blue (Bug#6693).
13349
13350 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13351
13352 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13353
13354 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13355
13356 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13357 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13358 Add switch-to-buffer.
13359
13360 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13361
13362 * isearch.el (isearch-search-fun-function): Clarify further the
13363 meaning of the function returned.
13364
13365 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
13366
13367 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13368
13369 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13370 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13371 Use it.
13372 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13373 `tramp-default-remote-path' does not exist.
13374 (tramp-send-command-and-read): New optional argument NOERROR.
13375 (tramp-open-connection-setup-interactive-shell)
13376 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13377 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13378 (tramp-process-sentinel): Flush also process' connection property.
13379 (tramp-sh-handle-start-file-process): Do not set process
13380 sentinel. It is done now ...
13381 (tramp-maybe-open-connection): ... here. (Bug#8929)
13382
13383 2011-07-04 MON KEY <monkey@sandpframing.com>
13384
13385 * play/animate.el (animate-string): Doc fixes and allow changing
13386 the buffer name (bug#5417).
13387
13388 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13389
13390 * play/animate.el (animation-buffer-name): Rename from *animate*.
13391
13392 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13393
13394 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13395 This is simpler and helps future-proof the code.
13396 (timer-until): Use time-subtract and float-time.
13397 (timer--time-less-p): Use time-less-p.
13398
13399 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13400
13401 * type-break.el (timep): Use the value of `float-time' to avoid a
13402 byte-compiler warning.
13403
13404 * server.el (server-eval-and-print): Return any result, even nil.
13405
13406 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13407
13408 * type-break.el: Accept time formats that the builtins accept.
13409 (timep, type-break-time-difference): Accept any format that
13410 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13411 This is simpler and helps future-proof the code.
13412 (type-break-time-difference): Round rather than ignoring
13413 subseconds components.
13414
13415 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13416
13417 * info.el (Info-apropos-matches): Make non-interactive, since it
13418 doesn't seem to do anything useful as a command (bug#8829).
13419
13420 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
13421
13422 * frame.el (frame-background-mode, frame-set-background-mode):
13423 Move from faces.el.
13424 (frame-default-terminal-background): New function.
13425
13426 * custom.el (custom-push-theme): Don't record faces in `changed'
13427 theme; this doesn't work correctly for per-frame face settings.
13428 (disable-theme): Use face-set-after-frame-default to reset faces.
13429 (custom--frame-color-default): New function.
13430
13431 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13432
13433 * dired.el (dired-flagging-regexp): Remove unused variable
13434 (bug#8769).
13435
13436 2011-03-29 Kevin Ryde <user42@zip.com.au>
13437
13438 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13439 `perl-Test2' extend to match possible "fail #N" rep count
13440 (bug#8377).
13441
13442 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13443
13444 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13445 `smtpmail-via-smtp' now returns the error instead of nil.
13446
13447 * isearch.el (isearch-search-fun-function): Clarify the doc string
13448 (bug#8101).
13449
13450 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
13451
13452 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13453 unnecessary spaces (bug#8987).
13454
13455 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13456
13457 * net/network-stream.el (open-network-stream): Use the
13458 :end-of-capability command thoughout.
13459
13460 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13461
13462 * net/network-stream.el (open-network-stream): Add the
13463 :end-of-capability command parameter, used by pop3.el.
13464
13465 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13466
13467 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13468
13469 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13470 for list)" (bug#6475).
13471
13472 * files.el (file-expand-wildcards): Ignore non-readable
13473 sub-directories while trying to find matches instead of signaling
13474 an error (bug#6297).
13475
13476 * man.el (Man-reference-regexp): Allow matching possible
13477 word-wrapped references (bug#6289).
13478
13479 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13480 for consistency with the other vc buffers (bug#6197).
13481 (vc-checkin): Ditto.
13482
13483 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13484
13485 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13486
13487 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13488
13489 * custom.el (defcustom): Clarify that :set is only used in the
13490 Customize user interface (bug#6089).
13491
13492 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13493 associated with a file, refuse to run instead of erroring out
13494 (bug#6084).
13495
13496 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13497 the doc string, since it appears that using `fill-column' always
13498 controls the width (bug#7845).
13499
13500 * simple.el (shell-command-on-region): Say where the error output
13501 went if `shell-command-default-error-buffer' is set (bug#6857).
13502
13503 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13504
13505 * allout.el (allout-yank-processing): Adjust cursor position for
13506 backwards-deleted space.
13507
13508 (allout-rebullet-heading): Register changes with
13509 allout-exposure-changed-hook, so the modified topic is properly
13510 decorated.
13511
13512 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13513
13514 * minibuffer.el (completion-in-region): Document PREDICATE
13515 (bug#7136).
13516
13517 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13518 of keyword/argument pairs (bug#6904).
13519
13520 * replace.el (multi-occur):
13521 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13522
13523 2011-07-02 Drew Adams <drew.adams@oracle.com>
13524
13525 * dired.el (dired-mark-if): Make the message about whether it's
13526 marking or unmarking clearer (bug#8523).
13527
13528 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13529
13530 * disp-table.el (display-table-print-array): New function.
13531 (describe-display-table): Use it to print the vectors more pretty
13532 (Bug#8859).
13533
13534 2011-07-02 Martin Rudalics <rudalics@gmx.at>
13535
13536 * window.el (window-state-get-1): Don't assign clone numbers.
13537 Add clone-of item to list of window parameters.
13538 (window-state-put-2): Don't process clone numbers.
13539 (display-buffer-alist): Fix doc-string.
13540
13541 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13542
13543 * subr.el (remq): Don't allocate if it's not needed.
13544 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13545 (keymap--merge-bindings): New functions.
13546 (keymap-canonicalize): Use them to refine the canonicalization.
13547 * minibuffer.el (minibuffer-local-completion-map)
13548 (minibuffer-local-must-match-map): Move initialization from C.
13549 (minibuffer-local-filename-completion-map): Move initialization from C;
13550 don't inherit from anything here.
13551 (minibuffer-local-filename-must-match-map): Make obsolete.
13552 (completing-read-default): Use make-composed-keymap to combine
13553 minibuffer-local-filename-completion-map with either
13554 minibuffer-local-must-match-map or
13555 minibuffer-local-filename-completion-map.
13556
13557 2011-07-01 Glenn Morris <rgm@gnu.org>
13558
13559 * type-break.el (type-break-time-sum): Use dolist.
13560
13561 * textmodes/flyspell.el (flyspell-word-search-backward):
13562 Replace CL function.
13563
13564 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * mouse.el (mouse--strip-first-event): New function.
13567 (function-key-map): Use it to map fringe clicks to normal clicks
13568 by default.
13569
13570 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13571 (vc-bzr-revision-completion-table): Add support for annotate and date.
13572
13573 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13574 inherit from parent.
13575
13576 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13577
13578 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13579 (dired-show-file-type): Doc fixup (bug#8818).
13580
13581 * dired.el (dired-mode): Fix up the doc string as suggested by
13582 Drew Adams (bug#8817).
13583
13584 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13585 cookie, since the manual says that it should be possible to add
13586 this function to `find-file-hook' (bug#8709).
13587
13588 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13589
13590 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13591 here. Noted Ted Zlatanov as the maintainer.
13592 (cfengine-common-settings, cfengine-common-syntax): New functions
13593 to set up common things between `cfengine-mode' and
13594 `cfengine3-mode'.
13595 (cfengine3-mode): New mode.
13596 (cfengine3-defuns cfengine3-defuns-regex
13597 (cfengine3-class-selector-regex cfengine3-category-regex)
13598 (cfengine3-vartypes cfengine3-font-lock-keywords)
13599 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13600 (cfengine3-indent-line): Add from cfengine3.el.
13601
13602 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13603
13604 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13605
13606 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13607
13608 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13609
13610 * window.el (same-window-buffer-names, same-window-regexps)
13611 (same-window-p, special-display-frame-alist)
13612 (special-display-popup-frame, special-display-function)
13613 (special-display-buffer-names, special-display-regexps)
13614 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13615 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13616 (split-window-preferred-function, split-height-threshold)
13617 (split-width-threshold, even-window-heights)
13618 (display-buffer-mark-dedicated, window-splittable-p)
13619 (split-window-sensibly, window-safely-shrinkable-p):
13620 Un-obsolete.
13621 (display-buffer): Don't spread args with function specifier
13622 because special-display-popup-frame won't like it.
13623
13624 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13625
13626 Time-stamp simplifications and fixes.
13627 These improve accuracy slightly, and future-proof the code
13628 against some potential changes to current-time format.
13629
13630 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13631 by using time-since and float-time.
13632
13633 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13634 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13635 + NNN microseconds".
13636
13637 * type-break.el (type-break-time-sum): Rewrite using time-add.
13638
13639 * play/hanoi.el (hanoi-current-time-float): Remove.
13640 All uses replaced by float-time.
13641
13642 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13643 This yields a more-accurate answer.
13644 (rng-time-to-float): Remove; no longer needed.
13645
13646 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13647
13648 * calendar/timeclock.el (timeclock-seconds-to-time):
13649 Defalias to seconds-to-time, since they're the same thing.
13650
13651 * emacs-lisp/elp.el (elp-elapsed-time):
13652 * emacs-lisp/benchmark.el (benchmark-elapse):
13653 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13654
13655 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13656
13657 * window.el (bury-buffer): Don't iconify the only frame.
13658 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13659 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13660
13661 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13662
13663 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13664 Add mouse-yank-primary.
13665
13666 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13667
13668 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13669
13670 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13671
13672 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13673 (find-library-name): Use it to find relative load names when provided
13674 absolute file name (bug#8803).
13675
13676 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13677
13678 * textmodes/flyspell.el (flyspell-word): Consider words that
13679 differ only in case as potential doublons (bug#5687).
13680
13681 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13682 Remove two rather uninteresting debugging-like messages to make
13683 debbugs.el more silent.
13684
13685 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13686 a password-like phrase.
13687
13688 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13689
13690 * progmodes/cc-guess.el: New file.
13691
13692 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13693
13694 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13695 derived from `c-basic-common-init'.
13696
13697 * progmodes/cc-mode.el (top-level): Require cc-guess.
13698 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13699
13700 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13701
13702 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13703
13704 2011-06-30 Alan Mackenzie <acm@muc.de>
13705
13706 * progmodes/cc-engine.el (c-guess-continued-construct):
13707 Correct the handling of template-args-cont, particularly for when font
13708 lock is disabled. Name this case as "CASE G".
13709
13710 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13711
13712 * allout.el (allout-yank-processing): Fix injection of extra space
13713 between bullet and non-whitespace character in first topic when
13714 pasting, ensuring that the actual spacing in the pasted topic
13715 following the bullet char is preserved. This extra space was
13716 causing pasted encrypted topics to get a decrypted status even
13717 when the content was actually still encrypted. Now the decryption
13718 status from before the paste is preserved.
13719
13720 (allout-flag-region): Set all allout overlays so they evaporate
13721 when reduced to zero length (evanescent), to prevent overlay
13722 leakage.
13723
13724 2011-06-30 Glenn Morris <rgm@gnu.org>
13725
13726 * w32-fns.el (w32-charset-info-alist): Declare.
13727
13728 * find-dired.el (find-grep-options): Simplify.
13729
13730 * term/ns-win.el (ns-set-resource): Declare.
13731
13732 * ses.el (row, col): Declare dynamic variables honestly.
13733
13734 * textmodes/reftex-parse.el (index-tags): Declare.
13735
13736 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13737
13738 * cus-edit.el (customize-push-and-save): New function.
13739
13740 * files.el (hack-local-variables-confirm): Use it.
13741
13742 * custom.el (load-theme): New arg NO-CONFIRM.
13743 Use customize-push-and-save (Bug#8720).
13744 (custom-enabled-themes): Doc fix.
13745
13746 * cus-theme.el (customize-create-theme)
13747 (custom-theme-merge-theme): Callers to load-theme changed.
13748
13749 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13750
13751 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13752 short URLs have at least one dot in them (bug #7614).
13753
13754 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13755 nil, because using a pty is apparently too slow (bug #895).
13756
13757 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13758
13759 * mail/sendmail.el (sendmail-query-once): New function.
13760 (sendmail-query-once-function): New variable.
13761
13762 2011-06-29 Glenn Morris <rgm@gnu.org>
13763
13764 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13765
13766 * ses.el (top-level): Require cl when compiling.
13767 (ses-set-localvars): Fix error statement.
13768 Call it at compile time to silence a storm of warnings.
13769
13770 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13771
13772 * window.el (normalize-live-buffer): Rename to
13773 window-normalize-buffer.
13774 (normalize-live-frame): Rename to window-normalize-frame.
13775 (normalize-any-window): Rename to window-normalize-any-window.
13776 (normalize-live-window): Rename to window-normalize-live-window.
13777 (make-window-atom): Rename to window-make-atom.
13778 (window-resize-reset): Rename to window--resize-reset.
13779 (window-resize-reset-1): Rename to window--resize-reset-1.
13780 (resize-mini-window): Rename to window--resize-mini-window.
13781 (resize-subwindows-skip-p): Rename to
13782 window--resize-subwindows-skip-p.
13783 (resize-subwindows-normal): Rename to
13784 window--resize-subwindows-normal.
13785 (resize-subwindows): Rename to window--resize-subwindows.
13786 (resize-other-windows): Rename to window--resize-siblings.
13787 (resize-this-window): Rename to window--resize-this-window.
13788 (resize-root-window): Rename to window--resize-root-window.
13789 (resize-root-window-vertically): Rename to
13790 window--resize-root-window-vertically.
13791 (normalize-buffer-to-display): Rename to
13792 window-normalize-buffer-to-display.
13793 (normalize-buffer-to-switch-to): Rename to
13794 window-normalize-buffer-to-switch-to.
13795 Correspondingly update all callers of the functions listed
13796 above.
13797 (display-buffer-alist, display-buffer-normalize-arguments)
13798 (display-buffer-normalize-options, display-buffer)
13799 (display-buffer-alist-set): Use "function" instead of
13800 "fun-with-args".
13801
13802 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13803
13804 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13805 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13806 debbugs.gnu.org. Mention acknowledgment email.
13807
13808 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13809
13810 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13811 buffer multibyteness, since it shouldn't matter.
13812
13813 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13814
13815 * window.el (display-buffer-in-side-window): Handle dedicated
13816 windows as in display-buffer-reuse-window.
13817 (display-buffer-normalize-alist): Use value of override
13818 specifier.
13819 (display-buffer-normalize-specifiers): Use value of
13820 other-window-means-other-frame specifier.
13821 (display-buffer-alist): Rewrite some texts in widgets.
13822 (display-buffer): Spread arguments when calling function
13823 specified by fun-with-args.
13824
13825 2011-06-28 Deniz Dogan <deniz@dogan.se>
13826
13827 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13828 Unnest `let'.
13829
13830 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13831 selectors (Bug#5732).
13832 (css-proprietary-nmstart-re): Use `regexp-opt'.
13833
13834 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13835
13836 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13837 (eshell-ls-date-format): New defcustom.
13838 (eshell-ls-file): Use it.
13839
13840 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13843
13844 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13845
13846 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13847 (ange-ftp-make-tmp-name): New arg.
13848 (ange-ftp-file-local-copy): Use it.
13849
13850 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13851
13852 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13853 no-conversion (Bug#8870).
13854
13855 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13856
13857 * window.el (window-right, window-left, window-child)
13858 (window-child-count, window-last-child)
13859 (window-iso-combination-p, walk-window-tree-1)
13860 (window-atom-check-1, window-tree-1, delete-window)
13861 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13862 new naming conventions - window-vchild, window-hchild,
13863 window-next and window-prev are now called window-top-child,
13864 window-left-child, window-next-sibling and window-prev-sibling
13865 respectively.
13866 (resize-window-reset): Rename to window-resize-reset.
13867 (resize-window-reset-1): Rename to window-resize-reset-1.
13868 (resize-window): Rename to window-resize.
13869 (window-min-height, window-min-width)
13870 (resize-mini-window, resize-this-window, resize-root-window)
13871 (resize-root-window-vertically, adjust-window-trailing-edge)
13872 (enlarge-window, shrink-window, maximize-window)
13873 (minimize-window, delete-window, quit-restore-window)
13874 (split-window, balance-windows, balance-windows-area-adjust)
13875 (balance-windows-area, window-state-put-2)
13876 (display-buffer-even-window-sizes, display-buffer-set-height)
13877 (display-buffer-set-width, set-window-text-height)
13878 (fit-window-to-buffer): Rename all "resize-window" prefixed
13879 calls to use the "window-resize" prefix convention.
13880 (display-buffer-alist): Fix symbol for label specifier.
13881 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13882 corresponding specifier.
13883 Reported by Juanma Barranquero <lekktu@gmail.com>.
13884
13885 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13886
13887 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13888 convention.
13889 (ses-call-printer): Does not pass an empty string to formatter when the
13890 cell is empty to keep from barking printer Calc math-format-value.
13891
13892 2011-06-27 Richard Stallman <rms@gnu.org>
13893
13894 * battery.el (battery-mode-line-limit): New variable.
13895 (battery-update): Handle it.
13896
13897 * mail/rmailmm.el (rmail-mime-process-multipart):
13898 Handle truncated messages.
13899
13900 2011-06-27 Glenn Morris <rgm@gnu.org>
13901
13902 * progmodes/flymake.el (flymake-err-line-patterns):
13903 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13904
13905 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13906
13907 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13908 (ses--clean-!, ses--clean-_): New functions.
13909 (ses-range): Add configurability of readout order, and conversion
13910 to Calc vector.
13911
13912 * ses.el (ses-repair-cell-reference-all): New function.
13913 (ses-cell-symbol): Set macro as safe, so that it can be used in
13914 formulas.
13915
13916 * ses.el: Update cycle detection algorithm.
13917 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13918 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13919 (ses-set-localvars): New function.
13920 (ses-make-cell): Add property-list as a cell element.
13921 (ses-cell-property-get-fun, ses-cell-property-get)
13922 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13923 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13924 New functions.
13925 (ses-cell-property-set, ses-cell-property-pop)
13926 (ses-cell-property-get-handle): New macro.
13927 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13928 New aliases, used for code readability.
13929 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13930 cycle detection.
13931 (ses-self-reference-early-detection): New defcustom.
13932 (ses-formula-references): Robustify against self-referring cells.
13933 (ses-mode): Use ses-set-localvars.
13934 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13935 before lauching the update processing.
13936 (ses-initialize-Dijkstra-attempt): New function.
13937 (ses-recalculate-cell): Update for cycle detection based on
13938 Dijkstra algorithm.
13939
13940 * ses.el: Fix commenting and indenting convention.
13941
13942 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * bs.el (bs-cycle-next): Complete last change.
13945
13946 2011-06-27 Drew Adams <drew.adams@oracle.com>
13947
13948 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13949
13950 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13951
13952 * net/network-stream.el (network-stream-open-starttls):
13953 Don't re-get capabilities unless we've reestablished connection.
13954 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13955
13956 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13957 to binary to possibly avoid line encoding issues on Windows (among
13958 other things).
13959
13960 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13961
13962 * net/network-stream.el (open-network-stream): Return an :error
13963 saying what the problem was, if possible.
13964
13965 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13966 server.
13967
13968 * net/network-stream.el (network-stream-open-starttls): If we
13969 wanted to use STARTTLS, and the server offered it, but we weren't
13970 able to because we had no STARTTLS support, then close the connection.
13971 (open-network-stream): Return an :error element, if present.
13972
13973 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13974
13975 * hl-line.el (hl-line-sticky-flag): Doc fix.
13976 (global-hl-line-sticky-flag): New option (Bug#8323).
13977 (global-hl-line-highlight): Obey it.
13978
13979 * vc/vc.el (vc-revert-show-diff): Default to t.
13980
13981 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13982
13983 * allout-widgets.el (allout-widgets-post-command-business):
13984 Stop decorating intermediate isearch matches. They're not being
13985 undecorated when an isearch is continued past, and isearch
13986 automatically collapses them. This leads to "widget leaks", where
13987 decorated items accumulate in collapsed areas. Lines with lots of
13988 hidden widgets can slow down cursor travel, substantially.
13989 Too much complicated machinery would be needed to ensure undecoration,
13990 so we're doing without this nicety.
13991
13992 (allout-widgets-tally-string): Don't try to do a hash-table-count
13993 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13994 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13995 *Messages* when allout-widgets-maintain-tally is t.
13996
13997 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13998
13999 * window.el (display-buffer-normalize-argument): Rename to
14000 display-buffer-normalize-arguments. Handle special meaning of
14001 LABEL argument. Respect special-display-function when popping up
14002 a new frame. Fix code searching for a window showing the buffer
14003 on another frame.
14004 (display-buffer-normalize-specifiers):
14005 Call display-buffer-normalize-arguments.
14006 (display-buffer-in-window): Don't undedicate the window if its
14007 buffer remains the same.
14008 Reported by Drew Adams <drew.adams@oracle.com>.
14009 (display-buffer-alist): Add choice for same-window macro
14010 specfier.
14011 (display-buffer): Mention special meaning of LABEL argument in
14012 doc-string. Fix quoting. Don't pop up a new frame even as
14013 fallback.
14014
14015 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14016
14017 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14018 avoid deleting the current window in some cases (bug#8911).
14019
14020 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14021
14022 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14023 (Bug#8934)
14024
14025 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14026
14027 * net/network-stream.el (network-stream-open-starttls):
14028 Use built-in TLS support if `gnutls-available-p' is true.
14029 (network-stream-open-tls): Ditto.
14030
14031 2011-06-26 Leo Liu <sdl.web@gmail.com>
14032
14033 * register.el (registerv): New struct.
14034 (registerv-make): New function.
14035 (jump-to-register, describe-register-1, insert-register):
14036 Support the jump-func, print-func and insert-func slot of a registerv
14037 struct. (Bug#8415)
14038
14039 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14040
14041 * vc/vc.el (vc-revert-show-diff): New defcustom.
14042 (vc-diff-internal): New arg specifying diff buffer.
14043 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14044 reuse an existing *vc-diff* buffer (Bug#8927).
14045
14046 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14047
14048 2011-06-26 Glenn Morris <rgm@gnu.org>
14049
14050 * progmodes/f90.el (f90-critical-indent): New option.
14051 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14052 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14053 (f90-mode): Doc fix.
14054 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14055 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14056 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14057 (f90-match-end): Handle block, critical.
14058
14059 2011-06-25 Glenn Morris <rgm@gnu.org>
14060
14061 * calendar/diary-lib.el (diary-included-files): Doc fix.
14062 (diary-include-files): New function, extracted from
14063 diary-include-other-diary-files and diary-mark-included-diary-files.
14064 (diary-include-other-diary-files, diary-mark-included-diary-files):
14065 Just call diary-include-files.
14066 (diary-mark-entries): Reset diary-included-files on first call.
14067
14068 * calendar/diary-lib.el (diary-mark-entries)
14069 (diary-mark-included-diary-files):
14070 Visit included diary-files in temp buffers.
14071
14072 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14073 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14074 (f90-start-block-re, f90-imenu-generic-expression)
14075 (f90-looking-at-program-block-start, f90-no-block-limit):
14076 Add support for submodules.
14077
14078 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14079 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14080
14081 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14082
14083 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14084 buffer-file-type before setting its value, to avoid disastrous
14085 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14086
14087 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14088
14089 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14090
14091 * ses.el (ses-unload-function):
14092 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14093
14094 * proced.el (proced-unload-function):
14095 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14096
14097 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14098
14099 * server.el (server-create-window-system-frame): Add parameters arg.
14100 (server-process-filter): Doc fix. Handle frame-parameters.
14101
14102 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14103
14104 Fix bug#8730, bug#8781.
14105
14106 * loadhist.el (unload--set-major-mode): New function.
14107 (unload-feature): Use it.
14108
14109 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14110 (python-unload-function): New function.
14111
14112 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14113
14114 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14115
14116 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14117
14118 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14119 the candidates list.
14120
14121 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14122
14123 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14124
14125 2011-06-23 Richard Stallman <rms@gnu.org>
14126
14127 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14128 (rmail-variables): Set next-error-move-function.
14129 (rmail-what-message): Take argument POS.
14130 (rmail-next-error-move): New function.
14131
14132 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14135 messages for adjacent non-terminals.
14136
14137 2011-06-23 Richard Stallman <rms@gnu.org>
14138
14139 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14140 (rmail-show-message-1): Preserve buffer modified flag.
14141 (rmail-start-mail): Don't specify use of rmail-mail-return;
14142 that's done by mail-bury now.
14143 (rmail-mail-return): Handle arg NEWBUF.
14144
14145 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
14146
14147 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14148 SIZE is a number.
14149
14150 2011-06-23 Martin Rudalics <rudalics@gmx.at>
14151
14152 * window.el (get-lru-window, get-mru-window)
14153 (get-largest-window): Never return a minibuffer window.
14154 (display-buffer-pop-up-window): Fix a bug that could lead to
14155 reusing the minibuffer window.
14156 (display-buffer): Pass original specifier argument to
14157 display-buffer-function instead of the normalized one.
14158 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14159
14160 2011-06-22 Leo Liu <sdl.web@gmail.com>
14161
14162 * minibuffer.el (completing-read-function)
14163 (completing-read-default): Move from minibuf.c
14164
14165 2011-06-22 Richard Stallman <rms@gnu.org>
14166
14167 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14168 to Rmail even if not started by a special Rmail command.
14169
14170 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14171 Copy the buffer currently showing just one message.
14172
14173 2011-06-22 Roland Winkler <winkler@gnu.org>
14174
14175 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14176 (bibtex-clean-entry): First delete the old key so that a
14177 customized algorithm for generating the new key does not get
14178 confused by the old key.
14179 (bibtex-url): Obey regexp of first step.
14180 (bibtex-search-entries): Do not use add-to-list with local
14181 list-var.
14182
14183 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14184
14185 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14186 stored a user name, then query for the password first, instead of
14187 waiting for SMTP to give an error message and the trying again.
14188
14189 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14190
14191 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14192 BUFFER in call-process.
14193
14194 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14195
14196 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14197 QUIT twice.
14198 (smtpmail-try-auth-methods): Require user name and password from
14199 auth-source.
14200
14201 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14202
14203 * window.el (display-buffer-default-specifiers)
14204 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14205 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14206 (split-window): Normalize SIDE argument (Bug#8916).
14207
14208 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14209 (special-display-frame-alist, special-display-popup-frame):
14210 Remove duplicate declarations. These are now in window.el.
14211
14212 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14213
14214 * mail/smtpmail.el (smtpmail-via-smtp):
14215 Set :use-starttls-if-possible so that we always use STARTTLS if the
14216 server supports it. SMTP servers that support STARTTLS commonly
14217 require it.
14218
14219 * net/network-stream.el (network-stream-open-starttls): Support
14220 upgrading to STARTTLS always, even if we don't have built-in support.
14221 (open-network-stream): Add the :always-query-capabilities keyword.
14222
14223 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14224 upgrades with `open-network-stream', and rely solely on
14225 auth-source for all credentials. Big changes throughout the file,
14226 but in particular:
14227 (smtpmail-auth-credentials): Remove.
14228 (smtpmail-starttls-credentials): Remove.
14229 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14230 MAIL FROM, too.
14231
14232 * net/network-stream.el (network-stream-open-starttls):
14233 Provide support for client certificates both for external and built-in
14234 STARTTLS.
14235 (auth-source): Require.
14236 (open-network-stream): Document the :client-certificate keyword.
14237 (network-stream-certificate): Change cert-cert to cert and
14238 cert-key to key.
14239
14240 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14241
14242 * net/tramp-cache.el (top): Don't load the persistency file when
14243 "emacs -Q" has been called.
14244
14245 2011-06-21 Tim Harper <timcharper@gmail.com>
14246
14247 * term/ns-win.el (ns-initialize-window-system):
14248 Set application-specific `ApplePressAndHoldEnabled' system
14249 resource to NO as it is not yet supported by the NS port.
14250
14251 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14252
14253 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14254 (list-dynamic-libraries): ...not here.
14255
14256 2011-06-21 Leo Liu <sdl.web@gmail.com>
14257
14258 * subr.el (sha1): Implement sha1 using secure-hash.
14259
14260 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14261
14262 * window.el (display-buffer-alist): In default value do not
14263 enforce searching a window on any but the selected frame.
14264 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14265 (display-buffer-select-window): Remove function.
14266 (display-buffer-in-window): When a window on another frame gets
14267 reused, do not select it any more but just raise its frame if
14268 necessary (Bug#8851) and (Bug#8856).
14269 (display-buffer-normalize-options): Handle pop-up-frames related
14270 options more faithfully.
14271 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14272 window if it is on another frame.
14273 (display-buffer-alist, display-buffer-default-specifiers):
14274 Don't make new frame unsplittable by default.
14275 (display-buffer-normalize-argument): Fix doc-string typo and use
14276 'same-frame-other-window instead of 'other-window when associating
14277 with display-buffer-macro-specifiers.
14278
14279 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14280
14281 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14282 New functions.
14283 (5x5-mode-map, 5x5-mode-menu): Bind them.
14284 (5x5-draw-grid): Tweak the solver's rendering.
14285
14286 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14287
14288 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14289 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14290
14291 2011-06-21 Drew Adams <drew.adams@oracle.com>
14292
14293 * menu-bar.el: Use function variable instead of switch-to-buffer.
14294 (menu-bar-select-buffer-function): New variable.
14295 (menu-bar-update-buffers): Use it (bug#8876).
14296
14297 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14300 variable's status.
14301
14302 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14303
14304 * x-dnd.el (x-dnd-version-from-flags)
14305 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14306 and long as number (Bug#8899).
14307 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14308
14309 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14312 (completion-try-completion, completion-all-completions): Compute the
14313 metadata argument if it's missing; make it optional (bug#8795).
14314
14315 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14316 (widget-complete): Use new :completion-function property.
14317 (widget-completions-at-point): New function.
14318 (default): Use :completion-function instead of :complete.
14319 (widget-default-completions): Rename from widget-default-complete;
14320 Rewrite.
14321 (widget-string-complete, widget-file-complete, widget-color-complete):
14322 Remove functions.
14323 (file, symbol, function, variable, coding-system, color):
14324 * international/mule-cmds.el (default-input-method, charset)
14325 (language-info-custom-alist):
14326 * cus-edit.el (face): Use new property :completions.
14327
14328 * progmodes/pascal.el (pascal-completions-at-point): New function.
14329 (pascal-mode): Use it.
14330 (pascal-mode-map): Use completion-at-point.
14331 (pascal-toggle-completions): Make obsolete.
14332 (pascal-complete-word, pascal-show-completions):
14333 * progmodes/octave-mod.el (octave-complete-symbol):
14334 Redefine as obsolete alias.
14335 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14336 Signal absence of completion info for old Octave,
14337 (inferior-octave-complete): Redefine as obsolete alias.
14338 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14339 (meta-completions-at-point): Rename from meta-complete-symbol and
14340 adapt it for use on completion-at-point-functions.
14341 (meta-common-mode): Use it.
14342 (meta-looking-at-backward, meta-match-buffer): Remove.
14343 (meta-complete-symbol): Redefine as obsolete alias.
14344 (meta-common-mode-map): Use completion-at-point.
14345 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14346 (makefile-mode-map): Use completion-at-point.
14347 (makefile-completions-at-point): Rename from makefile-complete and
14348 adapt it for use on completion-at-point-functions.
14349 (makefile-mode): Use it.
14350 (makefile-complete): Redefine as obsolete alias.
14351
14352 2011-06-20 Deniz Dogan <deniz@dogan.se>
14353
14354 * net/rcirc.el: Delete trailing whitespaces once and for all.
14355
14356 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14357
14358 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14359
14360 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14361
14362 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14363
14364 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14365
14366 2011-06-19 Martin Rudalics <rudalics@gmx.at>
14367
14368 * window.el (display-buffer-other-window-means-other-frame):
14369 Call display-buffer-normalize-alist.
14370 (display-buffer-normalize-specifiers-1): Rename to
14371 display-buffer-normalize-argument. New argument other-frame.
14372 Rewrite.
14373 (display-buffer-normalize-specifiers-2): Rename to
14374 display-buffer-normalize-options.
14375 (display-buffer-normalize-alist-1): New function.
14376 (display-buffer-normalize-specifiers-3): Rename to
14377 display-buffer-normalize-alist.
14378 Call display-buffer-normalize-alist-1.
14379 (display-buffer-normalize-options-inhibit): New variable.
14380 (display-buffer-normalize-specifiers): Rewrite calling
14381 display-buffer-normalize-alist,
14382 display-buffer-normalize-argument, and
14383 display-buffer-normalize-options. Don't call the latter if
14384 display-buffer-normalize-options-inhibit is non-nil.
14385 (frame-auto-delete): New option.
14386 (window-deletable-p): Use frame-auto-delete.
14387 (window-list-no-nils, window-state-ignored-parameters)
14388 (window-state-get-1, window-state-get, window-state-put-list)
14389 (window-state-put-1, window-state-put-2, window-state-put):
14390 New functions.
14391 (display-buffer-normalize-options): Move special-display-p group
14392 after pop-up-frame group (Bug#8851) and (Bug#8856).
14393
14394 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
14395
14396 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14397 groups (Bug#8776).
14398 (rx-submatch-n): New function.
14399 (rx): Document it.
14400
14401 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14402 (Bug#8768).
14403
14404 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14405
14406 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14407
14408 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14409 anytime existing face settings are present (Bug#8889).
14410
14411 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14412 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14413 Remove unused argument.
14414
14415 2011-06-18 Martin Rudalics <rudalics@gmx.at>
14416
14417 * window.el (display-buffer-default-specifiers):
14418 Remove pop-up-frame. Add pop-up-window-min-height,
14419 pop-up-window-min-width, and another reuse-window specifier
14420 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
14421 (display-buffer-normalize-specifiers-2):
14422 Handle split-height-threshold and split-width-threshold also when
14423 pop-up-windows is unset. Add a reuse-window specifier for the
14424 case popping up a new window fails.
14425 (special-display-popup-frame): Remove double quoting.
14426 (display-buffer-normalize-specifiers-1): Fix thinko.
14427
14428 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14431 according to comint-completion-addsuffix.
14432
14433 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14434 (pcomplete-suffix-list): Mark as obsolete.
14435 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14436 pcomplete-seen in the closure.
14437 (pcomplete-comint-setup): Setup completion-at-point as well.
14438 (pcomplete--entries): New function.
14439 (pcomplete--env-regexp): New var.
14440 (pcomplete-entries): Rewrite to work with partial-completion and
14441 without relying on pcomplete-suffix-list.
14442 (pcomplete-pare-list): Remove, unused.
14443
14444 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14445
14446 * window.el (display-buffer-alist): Set pop-up-window-min-height
14447 and pop-up-window-min-width in default value. Reported by
14448 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14449 other-window-means-other-frame.
14450 (display-buffer-macro-specifiers): Comment out entry for
14451 other-window specifier.
14452 (display-buffer-other-window-means-other-frame): New function.
14453 (display-buffer-normalize-specifiers-1): New arguments
14454 buffer-name and label. Treat other-window case specially.
14455 (display-buffer-normalize-specifiers-2): Treat other-window case
14456 specially.
14457 (display-buffer-normalize-specifiers-3): New function.
14458 (display-buffer-normalize-specifiers):
14459 Call display-buffer-normalize-specifiers-3.
14460
14461 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14462
14463 * window.el (same-window-p): Fix two typos introduced when
14464 adding with-no-warnings.
14465 (display-buffer-normalize-specifiers-1): Don't check
14466 pop-up-frames for 'unset initialization.
14467 (display-buffer-normalize-specifiers-2): Major rewrite using
14468 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14469 (pop-up-frames, display-buffer-reuse-frames)
14470 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14471 Suggested by David Engster <deng@randomsample.de>.
14472 (even-window-heights): Initialize to 'unset.
14473 (display-buffer-alist-set): Handle new 'unset initializations.
14474 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14475 other window case.
14476
14477 2011-06-16 Martin Rudalics <rudalics@gmx.at>
14478
14479 * window.el (display-buffer-normalize-specifiers-1):
14480 Respect current value of pop-up-frames for most reasonable values of
14481 second argument of display-buffer (Bug#8865).
14482 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14483 (switch-to-buffer-other-window-same-frame)
14484 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14485 Adams (Bug#8875).
14486 (display-buffer): Don't check noninteractive when calling
14487 display-buffer-pop-up-frame.
14488 (display-buffer-pop-up-frame): Never pop up a frame in
14489 noninteractive mode (Bug#8857).
14490 (enlarge-window, shrink-window): Don't report an error when the
14491 window can't be resized as requested (Bug#8862).
14492
14493 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14496
14497 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14498
14499 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14500
14501 2011-06-15 Alan Mackenzie <acm@muc.de>
14502
14503 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14504 for declarators, disable knr checking to speed up for normal files.
14505 2: Refactor, replacing a sequence of nested if forms by a cond form.
14506
14507 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14508
14509 * net/network-stream.el (open-network-stream): Add the keyword
14510 :always-query-capabilities for the case where you want to force a
14511 `plain' network connection, but the protocol still requires the
14512 capabilitiy command (i.e., SMTP and EHLO).
14513
14514 * subr.el (process-live-p): Rename from `process-alive-p' for
14515 consistency with other `-live-p' functions.
14516
14517 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * window.el (same-window-buffer-names, same-window-regexps)
14520 (special-display-frame-alist, special-display-popup-frame)
14521 (special-display-function, special-display-buffer-names)
14522 (special-display-regexps, pop-up-frame-alist)
14523 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14524 (pop-up-windows, split-window-preferred-function)
14525 (split-height-threshold, split-width-threshold, even-window-heights)
14526 (display-buffer-mark-dedicated): Don't encourage the use of
14527 display-buffer-alist from Elisp code.
14528
14529 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14530
14531 * progmodes/python.el (python-mode): Derive from prog-mode.
14532 * progmodes/ps-mode.el (ps-mode):
14533 * progmodes/mixal-mode.el (mixal-mode):
14534 * progmodes/cfengine.el (cfengine-mode):
14535 * progmodes/ld-script.el (ld-script-mode): Likewise.
14536
14537 2011-06-15 Martin Rudalics <rudalics@gmx.at>
14538
14539 * window.el (display-buffer-alist): Trim default value to avoid
14540 popping up a new frame (Bug#8857) or reusing an arbitrary window
14541 on another frame.
14542 (display-buffer): Do not fall back on popping up a new frame in
14543 batch mode (Bug#8857).
14544
14545 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
14546
14547 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14548 (custom-theme-summary): New function.
14549 (customize-themes): Use it.
14550
14551 2011-06-13 Glenn Morris <rgm@gnu.org>
14552
14553 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14554
14555 2011-06-13 Martin Rudalics <rudalics@gmx.at>
14556
14557 * help.el (help-window): Remove variable.
14558 (help-window-point-marker, temp-buffer-max-height)
14559 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14560 (help-print-return-message): Don't set help-window.
14561 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14562 (help-window-setup-finish): Remove.
14563 (help-window-display-message, help-window-setup)
14564 (with-help-window): Major rewrite based on new
14565 display-buffer-window variable.
14566
14567 * help-mode.el (help-mode-finish): Remove help-window related
14568 code.
14569
14570 * view.el (view-exits-all-viewing-windows): Remove reference to
14571 view-return-to-alist in doc-string.
14572 (view-return-to-alist): Make obsolete.
14573 (view-buffer): Call pop-to-buffer-same-window and remove
14574 undo-window code.
14575 (view-buffer-other-window): Call pop-to-buffer-other-window and
14576 simplify code. Ignore second argument.
14577 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14578 simplify code. Ignore second argument.
14579 (view-return-to-alist-update): Make obsolete.
14580 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14581 Rewrite using quit-restore window parameters.
14582 (view-mode-exit): Rename second argument to EXIT-ONLY.
14583 Rewrite using quit-restore-window.
14584 (View-exit, View-exit-and-edit, View-leave, View-quit)
14585 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14586 appropriate arguments.
14587 (view-end-message): Use quit-restore window parameter.
14588
14589 * window.el (display-buffer-function): Rewrite doc-string.
14590 (display-buffer-window, display-buffer-alist): New variables.
14591 (display-buffer-split-specifiers)
14592 (display-buffer-side-specifiers)
14593 (display-buffer-macro-specifiers): New constants.
14594 (display-buffer-even-window-sizes, display-buffer-set-height)
14595 (display-buffer-set-width, display-buffer-select-window)
14596 (display-buffer-in-window, display-buffer-reuse-window)
14597 (display-buffer-split-window-1, display-buffer-split-window)
14598 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14599 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14600 (display-buffer-in-side-window, normalize-buffer-to-display)
14601 (display-buffer-normalize-specifiers-1)
14602 (display-buffer-normalize-specifiers-2)
14603 (display-buffer-normalize-specifiers, display-buffer-frame):
14604 New functions.
14605 (display-buffer): Major rewrite.
14606 (display-buffer-other-window, display-buffer-other-frame)
14607 (pop-to-buffer, switch-to-buffer-other-window)
14608 (switch-to-buffer-other-frame): Rewrite.
14609 (display-buffer-same-window, display-buffer-same-frame)
14610 (display-buffer-same-frame-other-window)
14611 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14612 (pop-to-buffer-other-window)
14613 (pop-to-buffer-same-frame-other-window)
14614 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14615 (switch-to-buffer-other-window-same-frame): New functions.
14616 (same-window-p, special-display-p): Rewrite disabling warnings.
14617 Make obsolete.
14618 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14619 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14620 Make obsolete
14621 (same-window-buffer-names, same-window-regexps)
14622 (special-display-frame-alist, special-display-popup-frame)
14623 (special-display-function, special-display-buffer-names)
14624 (special-display-regexps, pop-up-frame-alist)
14625 (pop-up-frame-function, split-window-preferred-function)
14626 (split-height-threshold, split-width-threshold)
14627 (even-window-heights): Make obsolete.
14628
14629 2011-06-12 Glenn Morris <rgm@gnu.org>
14630
14631 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14632 Misc simplifications.
14633
14634 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14635
14636 * window.el (window-safely-shrinkable-p): Restore function which
14637 was inadvertently removed in change from 2011-06-11. Declare as
14638 obsolete.
14639
14640 * calendar/calendar.el (calendar-generate-window):
14641 Use window-iso-combined-p instead of combination of one-window-p and
14642 window-safely-shrinkable-p.
14643
14644 2011-06-12 Glenn Morris <rgm@gnu.org>
14645
14646 * progmodes/fortran.el (fortran-mode-syntax-table):
14647 * progmodes/f90.el (f90-mode-syntax-table):
14648 Set % to punctuation. (Bug#8820)
14649 (f90-find-tag-default): Remove, no longer needed.
14650
14651 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14652
14653 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14654
14655 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14656
14657 * image.el (image-animated-p): Return animation delay in seconds.
14658 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14659 (image-animate-timeout): Remove DELAY argument. Don't assume
14660 every subimage has the same delay; get it from image-animated-p.
14661 (image-animate): Caller changed.
14662
14663 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14664
14665 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14666 to ignored backtrace functions.
14667
14668 2011-06-11 Glenn Morris <rgm@gnu.org>
14669
14670 * calendar/appt.el (appt-disp-window-function): Doc fix.
14671 (appt-check): Handle overlapping appointments. (Bug#8337)
14672
14673 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14674
14675 * window.el (window-tree-1, window-tree): New functions, moving
14676 the latter to window.el.
14677 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14678 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14679 (bw-refresh-edges): Remove.
14680 (balance-windows-1, balance-windows-2): New functions.
14681 (balance-windows): Rewrite in terms of window tree functions,
14682 balance-windows-1 and balance-windows-2.
14683 (bw-adjust-window): Remove.
14684 (balance-windows-area-adjust): New function with functionality of
14685 bw-adjust-window but using resize-window.
14686 (set-window-text-height): Rewrite doc-string.
14687 Use normalize-live-window and resize-window.
14688 (enlarge-window-horizontally, shrink-window-horizontally):
14689 Rename argument to DELTA.
14690 (window-buffer-height): New function.
14691 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14692 Rewrite using new window resize routines.
14693 (kill-buffer-and-window, mouse-autoselect-window-select):
14694 Use ignore-errors instead of condition-case.
14695 (quit-window): Call delete-frame instead of delete-windows-on
14696 for the only buffer on frame.
14697
14698 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14699
14700 * loadup.el (top-level): Load window before files for the sake
14701 of replace-buffer-in-windows.
14702
14703 * files.el (read-buffer-to-switch)
14704 (switch-to-buffer-other-window)
14705 (switch-to-buffer-other-frame, display-buffer-other-frame):
14706 Move to window.el.
14707
14708 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14709 (previous-buffer): Move to window.el.
14710
14711 * bindings.el (unbury-buffer): Move to window.el.
14712
14713 * window.el (delete-other-windows-vertically): Move after
14714 definition of delete-other-windows.
14715 (other-window, delete-windows-on, replace-buffer-in-windows):
14716 Move here from window.c.
14717 (record-window-buffer, unrecord-window-buffer)
14718 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14719 (switch-to-next-buffer): New functions.
14720 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14721 from simple.el. Call switch-to-next-buffer.
14722 (previous-buffer): Move here from simple.el.
14723 Call switch-to-prev-buffer.
14724 (bury-buffer): Move here from buffer.c. Switch to previous
14725 buffer when window cannot be deleted.
14726 (unbury-buffer): Move here from bindings.el.
14727 (ctl-x-map): Move binding for other-window from window.c to
14728 here.
14729 (read-buffer-to-switch, switch-to-buffer-other-window)
14730 (switch-to-buffer-other-frame): Move here from files.el.
14731 (normalize-buffer-to-switch-to): New functions.
14732 (switch-to-buffer): Move here from buffer.c.
14733 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14734
14735 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14736
14737 * window.el (window-min-height, window-min-width): Move here
14738 from window.c. Add defcustoms and rewrite doc-strings.
14739 (resize-mini-window, resize-window): New functions.
14740 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14741 Move here from window.c.
14742 (maximize-window, minimize-window): New functions.
14743 (delete-window, delete-other-windows, split-window): Move here
14744 from window.c.
14745 (window-split-min-size): New function.
14746 (split-window-keep-point): Mention split-window-above-each-other
14747 instead of split-window-vertically.
14748 (split-window-above-each-other, split-window-vertically):
14749 Rename split-window-vertically to split-window-above-each-other
14750 and provide defalias for old definition.
14751 (split-window-side-by-side, split-window-horizontally):
14752 Rename split-window-horizontally to split-window-side-by-side
14753 and provide defalias for the old definition.
14754 (ctl-x-map): Move bindings for delete-window,
14755 delete-other-windows and enlarge-window here from window.c.
14756 Replace bindings for split-window-vertically and
14757 split-window-horizontally by bindings for
14758 split-window-above-each-other and split-window-side-by-side.
14759
14760 * cus-start.el (all): Remove entries for window-min-height and
14761 window-min-width. Add entries for window-splits and
14762 window-nest.
14763
14764 2011-06-09 Glenn Morris <rgm@gnu.org>
14765
14766 * calendar/appt.el (appt-mode-line): New function.
14767 (appt-check, appt-disp-window): Use it.
14768
14769 * files.el (hack-one-local-variable-eval-safep):
14770 Allow minor-modes with explicit +/-1 arguments.
14771
14772 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14773
14774 * term/xterm.el (xterm): Add defgroup.
14775 (xterm-extra-capabilities): Add defcustom to supply known xterm
14776 capabilities, skip querying them, or query them (default).
14777 (terminal-init-xterm): Use it.
14778 (terminal-init-xterm-modify-other-keys): New function to set up
14779 modifyOtherKeys support to simplify `terminal-init-xterm'.
14780
14781 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14782
14783 * window.el (resize-window-reset, resize-window-reset-1)
14784 (resize-subwindows-skip-p, resize-subwindows-normal)
14785 (resize-subwindows, resize-other-windows, resize-this-window)
14786 (resize-root-window, resize-root-window-vertically)
14787 (window-deletable-p, window-or-subwindow-p)
14788 (frame-root-window-p): New functions.
14789
14790 2011-06-09 Glenn Morris <rgm@gnu.org>
14791
14792 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14793 (ange-ftp-get-files): Use it.
14794
14795 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14796
14797 * mail/sendmail.el (mail-recover-1, mail-recover):
14798 * files.el (recover-file, recover-session):
14799 Handle dired-listing-switches not being just a single short option.
14800
14801 2011-06-09 Glenn Morris <rgm@gnu.org>
14802
14803 * calendar/appt.el (appt-display-message, appt-disp-window):
14804 Handle lists of appointments.
14805
14806 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14807
14808 * window.el (one-window-p): Move down in code.
14809 Rewrite doc-string.
14810 (window-current-scroll-bars): Rewrite doc-string.
14811 Normalize live window argument.
14812 (walk-windows, get-window-with-predicate, count-windows):
14813 Rewrite doc-string. Use window-list-1.
14814 (window-in-direction-2, window-in-direction, get-mru-window):
14815 New functions.
14816
14817 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14818
14819 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14820 Doc fix (Bug#8713).
14821
14822 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14823
14824 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14825
14826 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14827
14828 * loadhist.el (unload-feature-special-hooks):
14829 Add `comint-output-filter-functions'.
14830
14831 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14832
14833 * calendar/appt.el (appt-check): Move some initializations into the let.
14834
14835 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14836
14837 * window.el (window-height): Defalias to window-total-height.
14838 (window-width): Defalias to window-body-width.
14839
14840 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14841
14842 * image-mode.el (image-toggle-animation): New command.
14843 (image-mode-map): Bind it to RET.
14844 (image-mode): Update message.
14845 (image-toggle-display-image): Avoid a spurious cache flush.
14846 (image-transform-rotation): Doc fix.
14847 (image-transform-properties): Return quickly in the normal case.
14848 (image-animate-loop): Rename from image-animate-max-time.
14849
14850 * image.el (image-animate-max-time): Move to image-mode.el.
14851 (create-animated-image): Remove unnecessary function.
14852 (image-animate): Rename from image-animate-start. New arg.
14853 (image-animate-stop): Remove; just use image-animate-timer.
14854 (image-animate-timer): Use car-safe.
14855 (image-animate-timeout): Rename argument.
14856
14857 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14858
14859 * window.el (get-lru-window, get-largest-window): Move here from
14860 window.c. Rename first argument to ALL-FRAMES.
14861 Rephrase doc-strings.
14862 (get-buffer-window-list): Rewrite using window-list-1.
14863 Rephrase doc-string.
14864 (window-safe-min-height, window-safe-min-width): New constants.
14865 (window-size-ignore, window-min-size, window-min-size-1)
14866 (window-sizable, window-sizable-p, window-size-fixed-1)
14867 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14868 (window-max-delta-1, window-max-delta, window-resizable)
14869 (window-resizable-p, window-total-height, window-total-width)
14870 (window-body-width): New functions.
14871 (window-full-height-p, window-full-width-p): Rewrite using
14872 window-total-size.
14873 (window-body-height): Rewrite using window-body-size.
14874
14875 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14876
14877 * window.el (window-right, window-left, window-child)
14878 (window-child-count, window-last-child, window-any-p)
14879 (normalize-live-buffer, normalize-live-frame)
14880 (normalize-any-window, normalize-live-window)
14881 (window-iso-combination-p, window-iso-combined-p)
14882 (window-iso-combinations)
14883 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14884 (windows-with-parameter, window-with-parameter)
14885 (window-atom-root, make-window-atom, window-atom-check-1)
14886 (window-atom-check, window-side-check, window-check):
14887 New functions.
14888 (ignore-window-parameters, window-sides, window-sides-vertical)
14889 (window-sides-slots): New variables.
14890 (window-size-fixed): Move down in code. Minor doc-string fix.
14891
14892 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14893
14894 * comint.el (comint-dynamic-complete-as-filename)
14895 (comint-dynamic-complete-filename): Correctly call
14896 completion-in-region.
14897
14898 2011-06-05 Deniz Dogan <deniz@dogan.se>
14899
14900 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14901 in last change.
14902
14903 2011-06-05 Deniz Dogan <deniz@dogan.se>
14904
14905 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14906 (rcirc): Use it to prompt for encryption.
14907
14908 2011-06-05 Roland Winkler <winkler@gnu.org>
14909
14910 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14911 (bibtex-search-entries): New command bound to C-c C-a.
14912 (bibtex-display-entries): New function.
14913
14914 2011-06-05 Roland Winkler <winkler@gnu.org>
14915
14916 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14917 (bibtex-insert-kill): After yanking insert newline if necessary.
14918 (bibtex-initialize): Call bibtex-string-files-init only once.
14919 (bibtex-mode): Do not call easy-menu-add.
14920 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14921 (bibtex-yank): Set arg properly if nil.
14922
14923 2011-06-05 Roland Winkler <winkler@gnu.org>
14924
14925 * textmodes/bibtex.el (bibtex-search-entry-globally):
14926 New variable.
14927 (bibtex-search-entry): Use it.
14928
14929 2011-06-05 Roland Winkler <winkler@gnu.org>
14930
14931 * textmodes/bibtex.el (bibtex-entry-format): New option
14932 sort-fields.
14933 (bibtex-format-entry, bibtex-reformat): Honor this option.
14934 (bibtex-parse-entry): Return fields in proper order.
14935
14936 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14937
14938 * doc-view.el (doc-view-remove-if): Move computation of result out
14939 of `dolist' to silence misleading lexical-binding warning.
14940
14941 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14942
14943 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14944 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14945
14946 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14947
14948 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14949 "SunOS 5.10".
14950
14951 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14952
14953 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14954 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14955 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14956 (tramp-parse-putty):
14957 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14958 (tramp-completion-function-alist-ssh)
14959 (tramp-completion-function-alist-telnet)
14960 (tramp-completion-function-alist-su)
14961 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14962 cookie.
14963
14964 * net/tramp-ftp.el:
14965 * net/tramp-sh.el:
14966 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14967 load "tramp.el" `tramp-set-completion-function'.
14968
14969 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * shell.el: Require and use pcomplete.
14972 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14973 (shell-completion-vars): Set pcomplete-default-completion-function.
14974
14975 2011-06-04 Deniz Dogan <deniz@dogan.se>
14976
14977 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14978 `memq' (Bug#8799).
14979
14980 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14983
14984 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14985
14986 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14987 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14988 * vc/log-view.el (log-view-beginning-of-defun):
14989 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14990 (smerge-refine-forward, smerge-refine-chopup-region):
14991 Silence warning for unused `dotimes' counter variables.
14992
14993 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14994
14995 * net/tramp.el (tramp-with-progress-reporter): Rename from
14996 with-progress-reporter. Use `declare'.
14997 * net/tramp-smb.el:
14998 * net/tramp-sh.el:
14999 * net/tramp-gvfs.el: Update all uses.
15000
15001 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15002
15003 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15004 buffer isn't killed before making it current.
15005
15006 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15007
15008 Silence various byte-compiler warnings.
15009 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15010 `access-type' and new obsolescence format.
15011 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15012 new format.
15013 (byte-compile-check-variable): New `access-type' argument.
15014 Only warn if the access-type is obsolete.
15015 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15016 (byte-compile-variable-set): Adjust callers.
15017 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15018 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15019 setting it as obsolete.
15020 * simple.el (minibuffer-completing-symbol):
15021 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15022 access as obsolete.
15023 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15024 obsolete yet.
15025 * international/quail.el (quail-mouse-choose-completion): Remove unused
15026 code referring to obsolete var.
15027 (quail-choose-completion-string): Remove.
15028 * server.el (server-clients-with, server-kill-buffer-query-function)
15029 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15030 * proced.el (proced-send-signal):
15031 * emacs-lisp/lisp.el (lisp-complete-symbol):
15032 Replace completion-annotate-function with completion-extra-properties.
15033
15034 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15035
15036 * simple.el (goto-line): Use read-number.
15037 (overriding-map-is-bound): Remove.
15038 (saved-overriding-map): Change default.
15039 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15040 Take the map as argument.
15041 (universal-argument, negative-argument, digit-argument): Use it.
15042 (restore-overriding-map): Adjust.
15043 (do-auto-fill): Use fill-forward-paragraph.
15044 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15045
15046 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15047 (minibuffer-inactive-mode): New major mode.
15048 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15049 the *Messages* buffer" hack.
15050 (mouse-popup-menubar): Don't burp if the event is a normal key.
15051
15052 Miscellaneous tweaks.
15053 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15054 lexical scoping as in subr.el's dolist and dotimes.
15055 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15056 Silence compiler warning.
15057 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15058 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15059 * international/ccl.el (ccl-compile): Trivial simplification.
15060 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15061 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15062 `printflag' argument.
15063 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15064 Purecopy the whole obsolescence data.
15065
15066 2011-06-01 Leo Liu <sdl.web@gmail.com>
15067
15068 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15069 improve doc-string as suggested by Marco Pessotto
15070 <melmothx@gmail.com>.
15071 (rcirc-print): Fix last change.
15072
15073 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 * minibuffer.el (complete-with-action): Return nil for the metadata and
15076 boundaries of non-functional tables.
15077 (completion-table-dynamic): Return nil for the metadata.
15078 (completion-table-with-terminator): Add default case, using
15079 complete-with-action.
15080 (completion--metadata): New function.
15081 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15082 to try and avoid pathological performance problems.
15083 (completion--embedded-envvar-table): Return `category' metadata.
15084
15085 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15086
15087 * subr.el (process-alive-p): New tiny convenience function.
15088
15089 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15090
15091 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15092 content but also its previous major mode.
15093
15094 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15095
15096 * emacs-lisp/debug.el (debug): Restore the previous content of the
15097 *Backtrace* buffer when we exit with C-M-c.
15098
15099 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * minibuffer.el: Add metadata method to completion tables.
15102 (completion-category-overrides): New defcustom.
15103 (completion-metadata, completion--field-metadata)
15104 (completion-metadata-get, completion--styles)
15105 (completion--cycle-threshold): New functions.
15106 (completion-try-completion, completion-all-completions):
15107 Add `metadata' argument to choose completion-styles.
15108 (completion--do-completion): Use metadata to choose cycling.
15109 (completion-all-sorted-completions): Use metadata for sorting.
15110 Remove :completion-cycle-penalty which is not needed any more.
15111 (completion--try-word-completion): Add `metadata' argument.
15112 (minibuffer-completion-help): Check metadata for annotation function
15113 and sorting.
15114 (completion-file-name-table): Return `category' metadata.
15115 (minibuffer-completing-file-name): Make obsolete.
15116 * simple.el (minibuffer-completing-symbol): Make obsolete.
15117 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15118 completion-try-completion.
15119
15120 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15123
15124 2011-05-30 Leo Liu <sdl.web@gmail.com>
15125
15126 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15127 (rcirc-print): Decode all incoming messages (bug#8744).
15128 (rcirc-decode-coding-system): Allow value nil for automatic coding
15129 system detection.
15130
15131 2011-06-01 Glenn Morris <rgm@gnu.org>
15132
15133 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15134
15135 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15136
15137 * image.el (image-animate-max-time): Allow nil and t values.
15138 Default to nil.
15139 (create-animated-image): Doc fix.
15140 (image-animate-start): Remove second arg; just use
15141 image-animate-max-time.
15142 (image-animate-timeout): Doc fix. Args changed.
15143
15144 * image-mode.el (image-toggle-display-image): Ensure that the
15145 image spec passed to the animate timer is the same object as in
15146 the buffer's display property (Bug#6981).
15147 (image-transform-properties): Doc fix.
15148
15149 * image.el (image-animate-max-time): Default to nil.
15150
15151 2011-05-29 Martin Rudalics <rudalics@gmx.at>
15152
15153 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15154 entire buffer list (Bug#8184).
15155
15156 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15157
15158 * image.el (imagemagick-types-inhibit)
15159 (imagemagick-register-types): Doc fix.
15160
15161 2011-05-29 Deniz Dogan <deniz@dogan.se>
15162
15163 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15164 default.
15165
15166 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15167
15168 * select.el: Don't perform clipboard-manager saving in hooks;
15169 leave the hooks empty.
15170
15171 2011-05-28 Leo Liu <sdl.web@gmail.com>
15172
15173 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15174 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15175 (occur-edit-mode): New major mode (Bug#8463).
15176 (occur-after-change-function): New function.
15177 (occur-engine): Give Occur tags a read-only property.
15178
15179 2011-05-28 Kevin Ryde <user42@zip.com.au>
15180
15181 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15182
15183 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15184
15185 * bindings.el (help-echo): Make the initial non-indicator dash
15186 empty on graphical terminals (Bug#7295).
15187
15188 * files.el (auto-mode-alist): Move config rule after the
15189 in-stripping one (Bug#8547).
15190
15191 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15192
15193 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15194 setting (Bug#8740).
15195
15196 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15197
15198 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15199 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15200 (Bug#8539).
15201
15202 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15203
15204 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15205
15206 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15207
15208 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15209 (hs-hide-block-at-point, hs-find-block-beginning)
15210 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15211 (Bug#8279).
15212
15213 2011-05-28 Glenn Morris <rgm@gnu.org>
15214
15215 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15216
15217 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15218
15219 * help-fns.el (describe-function-1): If the function is a derived
15220 major mode, print the parent mode.
15221
15222 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15223 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15224
15225 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 * minibuffer.el (completion--capf-wrapper): Check applicability before
15228 returning non-nil for non-exclusive completion data.
15229 * progmodes/etags.el (tags-completion-at-point-function):
15230 * info-look.el (info-lookup-completions-at-point): Mark as
15231 non-exclusive.
15232 (info-complete): Adjust accordingly.
15233
15234 * info-look.el: Convert to lexical-binding and completion-at-point.
15235 (info-lookup-completions-at-point): New function.
15236 (info-complete): Use it and completion-in-region.
15237
15238 2011-05-28 Drew Adams <drew.adams@oracle.com>
15239
15240 * isearch.el: Let M-e start with point at the first mismatched char.
15241 (isearch-fail-pos): New function.
15242 (isearch-edit-string): Use it.
15243
15244 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15245
15246 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15247
15248 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15249
15250 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15251 traversal functions for avl-trees.
15252 (avl-tree--stack): New struct.
15253 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15254 (avl-tree-enter): Add optional `updatefun' arg.
15255 (avl-tree--do-enter): Add optional `updatefun' arg.
15256 Change return value.
15257 (avl-tree-delete): Add optional `test' and `nilflag' args.
15258 (avl-tree--do-delete): Add `test' and `nilflag' args.
15259 Change return value.
15260 (avl-tree-member): Add optional `nilflag'
15261 (avl-tree-member-p): New function.
15262 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15263 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15264 (avl-tree-stack-empty-p): New functions.
15265
15266 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15267 avl-tree--del-balance1 and make it work both ways.
15268 (avl-tree--del-balance2): Remove.
15269 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15270 make it work both ways.
15271 (avl-tree--enter-balance2): Remove.
15272 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15273 New macros.
15274 (avl-tree--mapc, avl-tree-map): Add direction argument.
15275
15276 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15277
15278 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15279
15280 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15281
15282 * select.el: Support clipboard managers with built-in function
15283 x-clipboard-manager-save, via delete-frame-functions and
15284 kill-emacs-hook.
15285 (xselect-convert-to-targets): Add MULTIPLE target to list.
15286 (xselect-convert-to-save-targets): New function.
15287
15288 2011-05-27 Kenichi Handa <handa@m17n.org>
15289
15290 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15291 let-binding rfc2047-encode-encoded-words to nil.
15292
15293 2011-05-27 Glenn Morris <rgm@gnu.org>
15294
15295 * mail/emacsbug.el: Don't require url-util.
15296
15297 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15298
15299 * files.el (set-auto-mode):
15300 Also respect mode: entries at the end of the file. (Bug#8586)
15301
15302 2011-05-26 Glenn Morris <rgm@gnu.org>
15303
15304 * files.el (hack-local-variables-prop-line, hack-local-variables):
15305 Downcase mode names, as seems to be traditional.
15306 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15307
15308 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15309 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15310
15311 2011-05-25 Julien Danjou <julien@danjou.info>
15312
15313 * textmodes/rst.el (rst-define-level-faces): Do not define face
15314 symbol if it is already defined.
15315
15316 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15317
15318 * play/5x5.el (5x5-new-game, 5x5-randomize):
15319 Reset 5x5-solver-output to nil when a new grid is cast.
15320 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15321 these debugging traces, as defmacro breaks the compiled code.
15322
15323 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15324
15325 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15326
15327 2011-05-24 Leo Liu <sdl.web@gmail.com>
15328
15329 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15330 (vc-bzr-sha1): Adapt.
15331
15332 * sha1.el: Remove. Function `sha1' is now builtin.
15333
15334 * bindings.el: Provide sha1 feature.
15335
15336 2011-05-24 Kenichi Handa <handa@m17n.org>
15337
15338 * mail/sendmail.el: Require `rfc2047'.
15339 (mail-insert-from-field): Do not perform RFC2047 encoding.
15340 (mail-encode-header): New function.
15341 (sendmail-send-it): Set buffer-file-coding-system of the work
15342 buffer to the return value of select-message-coding-system.
15343 Call mail-encode-header.
15344
15345 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15346
15347 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15348
15349 * mail/supercite.el (sc-default-cite-frame):
15350 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15351
15352 2011-05-24 Glenn Morris <rgm@gnu.org>
15353
15354 * progmodes/python.el (brm-menu): Declare.
15355
15356 * emulation/viper.el (viper-set-hooks): Declare.
15357
15358 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15359 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15360 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15361 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15362 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15363 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15364
15365 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 Add an :exit-function for completion-at-point.
15368
15369 * minibuffer.el (completion--done): New fun.
15370 (completion--do-completion): Use it. New arg `expect-exact'.
15371 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15372 since completion--do-completion does it for us now.
15373 (minibuffer-force-complete): Use completion--done and
15374 completion--replace. Handle sole-completion case with more care.
15375 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15376 (completion-extra-properties): New var.
15377 (completion-annotate-function): Make obsolete.
15378 (minibuffer-completion-help): Adjust accordingly.
15379 Use completion-list-insert-choice-function.
15380 (completion-at-point, completion-help-at-point):
15381 Bind completion-extra-properties.
15382 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15383 * simple.el (completion-list-insert-choice-function): New var.
15384 (completion-setup-function): Preserve it.
15385 (choose-completion): Pay attention to it, shuffle the code a bit.
15386 (choose-completion-string): New arg `insert-function'.
15387
15388 * textmodes/bibtex.el: Convert to lexical binding.
15389 (bibtex-mode-map): Use completion-at-point.
15390 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15391 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15392 (bibtex-complete): Define as obsolete alias.
15393 (bibtex-complete-internal): Remove.
15394 (bibtex-format-entry): Remove unused sub-group in regexp.
15395 * shell.el (shell--command-completion-data)
15396 (shell-environment-variable-completion):
15397 * pcomplete.el (pcomplete-completions-at-point):
15398 * comint.el (comint--complete-file-name-data): Use :exit-function
15399 instead of completion-table-with-terminator so it also works for
15400 choose-completion.
15401
15402 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15403
15404 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15405
15406 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15407 (bug#8710).
15408
15409 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15410
15411 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15412
15413 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15414 customization variable and implement: If non-nil, auto-fill will
15415 be inhibited while on topic's header line.
15416
15417 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15418
15419 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15420 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
15421 always have a solution in grid size = 5 cases.
15422 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15423 (5x5-solver-output, 5x5-log-buffer): New vars.
15424 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15425 Make these variables buffer local to achieve 5x5 multi-session-ness.
15426 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15427 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15428 (5x5-solve-suggest): New funs.
15429 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15430 randomize a grid so that we ensure that there is always a solution.
15431 (5x5-make-random-grid): Allow other movement than flipping.
15432
15433 2011-05-23 Kevin Ryde <user42@zip.com.au>
15434
15435 * emacs-lisp/advice.el (ad-read-advised-function):
15436 Use `function-called-at-point' as the default, if it has
15437 advice and passes PREDICATE.
15438
15439 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15440
15441 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15442 byte-compile-lambda if it's actually a lambda.
15443
15444 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15445 Fix function quoting. Use backquote better.
15446
15447 2011-05-22 Yuanle Song <sylecn@gmail.com>
15448
15449 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15450 matching (Bug#8516).
15451
15452 2011-01-22 Jari Aalto <jari.aalto@cante.net>
15453
15454 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15455 different face (Bug#8178).
15456
15457 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
15458
15459 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15460 defface (Bug#8144).
15461
15462 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15463
15464 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15465 funcall as well (bug#8712). Warn when performing those conversions.
15466 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15467
15468 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15469
15470 2011-05-22 Glenn Morris <rgm@gnu.org>
15471
15472 * files.el (hack-local-variables-prop-line): Small simplifications.
15473 (hack-local-variables, hack-local-variables-prop-line):
15474 If MODE-ONLY, return the mode, rather than just `t'.
15475
15476 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15477
15478 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15479
15480 2011-05-21 Glenn Morris <rgm@gnu.org>
15481
15482 * files.el (hack-local-variables-prop-line, hack-local-variables):
15483 If only interested in the mode, don't bother doing the other stuff.
15484
15485 * image-mode.el (image-after-revert-hook):
15486 Redraw all frames on which the image is visible. (Bug#8567)
15487
15488 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15489
15490 * wid-edit.el (widget-checklist-match-inline):
15491 Fix 2011-04-19 change. (Bug#8649)
15492
15493 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15494
15495 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15496 Also allow singlespace after single-letter capitals followed by a dot.
15497
15498 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15499 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15500
15501 2011-05-20 Nix <nix@esperi.org.uk>
15502
15503 * files.el (basic-save-buffer-2):
15504 Fix handling of break-hardlink-on-save with non-existent files.
15505
15506 2011-05-19 Deniz Dogan <deniz@dogan.se>
15507
15508 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15509 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15510
15511 2011-05-19 Glenn Morris <rgm@gnu.org>
15512
15513 * progmodes/f90.el (f90-type-def-re):
15514 Handle "type, bind(c)". (Bug#8691)
15515
15516 * emacs-lisp/autoload.el (batch-update-autoloads):
15517 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15518
15519 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
15520
15521 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15522 property for the correct connection in case of multihops.
15523
15524 2011-05-18 Glenn Morris <rgm@gnu.org>
15525
15526 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15527 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15528
15529 Rationalize calendar handling of day and month abbrev-arrays.
15530 * calendar/calendar.el (calendar-customized-p): New function.
15531 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15532 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15533 Add :set function.
15534 (calendar-abbrev-length, calendar-day-abbrev-array)
15535 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15536 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15537 Elements may no longer be nil.
15538 (calendar-day-name, calendar-month-name):
15539 Update for changed nature of abbrev arrays.
15540 * calendar/diary-lib.el (diary-name-pattern):
15541 Update for changed nature of abbrev arrays.
15542 (diary-mark-entries-1): Update calendar-make-alist calls.
15543 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15544 * calendar/cal-html.el (cal-html-day-abbrev-array):
15545 Simply inherit from calendar-day-abbrev-array.
15546
15547 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15548
15549 * progmodes/grep.el (grep-mode): Disable default
15550 compilation-directory-matcher setting (bug#8684).
15551
15552 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
15553
15554 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15555 instead of "head" and "tail". There were problems with SunOS 5.9,
15556 and it performs better.
15557
15558 2011-05-17 Glenn Morris <rgm@gnu.org>
15559
15560 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15561
15562 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15563 Replace obsolete function.
15564
15565 * shell.el (pcomplete-parse-arguments-function): Declare.
15566
15567 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15568 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15569 (appt-check): Doc fixes.
15570 (appt-disp-window-function, appt-delete-window-function):
15571 Remove needless special case in custom :type.
15572 (appt-display-count): Default to 0, not nil.
15573 (appt-check): Reset appt-display-count to 0, not nil.
15574
15575 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15576
15577 * progmodes/python.el (python-font-lock-keywords):
15578 Add the Python 3.X keyword "nonlocal" (bug#8639).
15579
15580 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15581
15582 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15583
15584 2011-05-16 Kevin Ryde <user42@zip.com.au>
15585
15586 * info-look.el (makefile-automake-mode): New setups, looking in
15587 automake manual, then makefile-mode.
15588 (makefile-mode): Remove automake manual, have it just in
15589 makefile-automake-mode since there's various things different or
15590 not relevant to plain make.
15591 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15592 believe a hypothetical automake-mode would go to makefile-mode,
15593 not the other way around.
15594
15595 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15596
15597 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15598 hunk-end tags (Bug#8672).
15599
15600 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15601 vc-annotate-show-diff-revision-at-line (Bug#8671).
15602
15603 2011-05-14 Glenn Morris <rgm@gnu.org>
15604
15605 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15606 in the middle of an existing one with multiple authors. (Bug#8645)
15607 (change-log-font-lock-keywords): Also handle multiple author lines
15608 with leading tabs. (Bug#8644)
15609
15610 * calendar/appt.el (appt-check): Rename some local variables.
15611 Some simplification/reordering.
15612
15613 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15614 (feedmail-sendmail-f-doesnt-sell-me-out)
15615 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15616 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15617 (feedmail-queue-runner-message-sender): Set :version.
15618 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15619 (bbdb-dwim-net-address, vm-mail): Declare.
15620 (feedmail-binmail-gnulinuxish-template):
15621 Rename from feedmail-binmail-linuxish-template.
15622 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15623 Use insert-buffer-substring.
15624
15625 2011-05-14 Bill Carpenter <bill@carpenter.org>
15626
15627 * mail/feedmail.el (feedmail-patch-level): Increase.
15628 (feedmail-debug): New custom group.
15629 (feedmail-confirm-outgoing-timeout)
15630 (feedmail-sendmail-f-doesnt-sell-me-out)
15631 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15632 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15633 (feedmail-sender-line, feedmail-from-line)
15634 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15635 (feedmail-spray-this-address)
15636 (feedmail-spray-address-fiddle-plex-list)
15637 (feedmail-queue-use-send-time-for-date)
15638 (feedmail-queue-use-send-time-for-message-id)
15639 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15640 (feedmail-buffer-eating-function):
15641 Doc fixes.
15642 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15643 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15644 (feedmail-message-action-scroll-down): New functions.
15645 (feedmail-queue-directory, feedmail-queue-draft-directory):
15646 Use expand-file-name.
15647 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15648 Remove C-v help entry.
15649 (feedmail-queue-buffer-file-name): New variable.
15650 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15651 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15652 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15653 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15654 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15655 (feedmail-message-action-toggle-spray)
15656 (feedmail-run-the-queue-no-prompts)
15657 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15658 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15659 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15660 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15661 (feedmail-envelope-deducer, feedmail-fiddle-from)
15662 (feedmail-fiddle-sender, feedmail-default-date-generator)
15663 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15664 (feedmail-fiddle-spray-address)
15665 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15666 (feedmail-fiddle-list-of-fiddle-plexes)
15667 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15668 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15669 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15670 Change default. Doc fix.
15671 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15672 (feedmail-binmail-linuxish-template): New constant.
15673 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15674 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15675 (feedmail-send-it): Add debug call.
15676 Use feedmail-queue-buffer-file-name, and
15677 feedmail-send-it-immediately-wrapper.
15678 (feedmail-message-action-send): Add debug call.
15679 Use feedmail-send-it-immediately-wrapper.
15680 (feedmail-queue-express-to-queue): Add debug call.
15681 Run feedmail-queue-express-hook.
15682 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15683 (feedmail-message-action-help-blat):
15684 Rename from feedmail-queue-send-edit-prompt-help-first.
15685 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15686 Check line-endings. Handle errors better.
15687 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15688 Doc fix. Add debug call.
15689 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15690 Use feedmail-queue-send-edit-prompt-inner.
15691 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15692 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15693 from feedmail-queue-send-edit-prompt.
15694 (feedmail-queue-send-edit-prompt-help)
15695 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15696 (feedmail-tidy-up-slug): Add debug call.
15697 Respect feedmail-queue-slug-suspect-regexp.
15698 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15699 (feedmail-dump-message-to-queue): Add debug call.
15700 Expand queue-directory.
15701 (feedmail-dump-message-to-queue): Change message slightly.
15702 Use feedmail-say-chatter.
15703 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15704 (feedmail-send-it-immediately-wrapper): New function.
15705 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15706 Insert empty string rather than newline. Handle full-frame case.
15707 Use catch/throw. Use feedmail-say-chatter.
15708 (feedmail-fiddle-from): Try mail-host-address.
15709 (feedmail-default-message-id-generator): Doc fix.
15710 Bind system-time-locale. Handle missing end.
15711 (feedmail-fiddle-x-mailer): Add debug call.
15712 Handle feedmail-x-mailer-line being nil.
15713 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15714 Add debug call. Use buffer-substring-no-properties.
15715 (feedmail-say-debug, feedmail-say-chatter): New functions.
15716 (feedmail-find-eoh): Give an explicit error.
15717
15718 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15719
15720 * net/newst-treeview.el (newsticker-treeview-face): Change default
15721 family from helvetica to sans.
15722 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15723 etc/images/newsticker.
15724
15725 * net/newst-reader.el (newsticker-feed-face): Change default
15726 family from helvetica to sans.
15727
15728 * net/newst-plainview.el (newsticker-new-item-face)
15729 (newsticker-old-item-face, newsticker-immortal-item-face)
15730 (newsticker-obsolete-item-face, newsticker-date-face)
15731 (newsticker-statistics-face): Change default family from
15732 helvetica to sans.
15733 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15734 etc/images/newsticker.
15735
15736 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15737 (newsticker--process-auto-mark-filter-match): Tell user about
15738 auto-marking.
15739
15740 2011-05-13 Didier Verna <didier@xemacs.org>
15741
15742 Common Lisp indentation improvements on defmethod and lambda-lists.
15743 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15744 TODO entries.
15745 (lisp-lambda-list-keyword-parameter-indentation)
15746 (lisp-lambda-list-keyword-parameter-alignment)
15747 (lisp-lambda-list-keyword-alignment): New customizable user options.
15748 (lisp-indent-defun-method): Improve docstring.
15749 (extended-loop-p): Fix comment.
15750 (lisp-indent-lambda-list-keywords-regexp): New variable.
15751 (lisp-indent-lambda-list): New function.
15752 (lisp-indent-259): Use it.
15753 (lisp-indent-defmethod): Support for more than one
15754 method qualifier and properly indent methods lambda-lists.
15755 (defgeneric): Provide a missing common-lisp-indent-function property.
15756
15757 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15758
15759 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15760 bounds for the empty string (bug#8667).
15761
15762 2011-05-13 Glenn Morris <rgm@gnu.org>
15763
15764 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15765
15766 * mail/sendmail.el (sendmail-program): Try executable-find first.
15767 (sendmail-send-it): `sendmail-program' cannot be unbound.
15768
15769 * calendar/appt.el (appt-make-list): Simplify.
15770 (appt-time-msg-list): Doc fix.
15771 (appt-check): Change mode-line message at the time of the appointment.
15772
15773 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15774
15775 * progmodes/ld-script.el (ld-script-keywords)
15776 (ld-script-builtins): Update keywords list.
15777
15778 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15779
15780 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15781
15782 * shell.el (shell-completion-vars): New function.
15783 (shell-mode):
15784 * simple.el (read-shell-command): Use it.
15785 (blink-matching-open): No need for " [...]" in minibuffer-message.
15786
15787 2011-05-12 Glenn Morris <rgm@gnu.org>
15788
15789 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15790 (appt-check): Simplify.
15791
15792 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15793
15794 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15795 literal "/dev/null".
15796
15797 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15800 Fix typo.
15801
15802 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15803
15804 * progmodes/which-func.el (which-function):
15805 Use add-log-current-defun instead of add-log-current-defun-function,
15806 which might not be defined (Bug#8260).
15807
15808 2011-05-12 Glenn Morris <rgm@gnu.org>
15809
15810 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15811 Let byte-compile-initial-macro-environment always take precedence.
15812
15813 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15814
15815 * net/rcirc.el: Add support for SSL/TLS connections.
15816 (rcirc-server-alist): New field `encryption'.
15817 (rcirc): Check `encryption' settings.
15818 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15819 Merge make-local-variable into `set'.
15820 (rcirc--connection-open-p): New function.
15821 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15822 the process is not a network process (e.g. running gnutls-cli).
15823 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15824 Make rcirc-(en|de)code-coding-system local here.
15825 (rcirc-mode): Merge make-local-variable into `set'.
15826 (rcirc-parent-buffer): Make permanent buffer-local.
15827 (rcirc-multiline-minor-mode): Don't do it here.
15828 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15829 there's no server buffer.
15830
15831 2011-05-11 Glenn Morris <rgm@gnu.org>
15832
15833 * newcomment.el (comment-kill): Prefix "unused" local.
15834
15835 * term/w32console.el (get-screen-color): Declare.
15836
15837 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15838 Handle symbol elements of byte-compile-initial-macro-environment.
15839
15840 2011-05-10 Leo Liu <sdl.web@gmail.com>
15841
15842 * bookmark.el (bookmark-bmenu-mode-map):
15843 Bind bookmark-bmenu-search to `/'.
15844
15845 * mail/footnote.el: Convert to utf-8 encoding.
15846 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15847 (Footnote-unicode): New function.
15848 (footnote-style-alist): Add unicode style to the list.
15849 (footnote-style): Doc fix.
15850
15851 2011-05-10 Jim Meyering <meyering@redhat.com>
15852
15853 Fix doubled-word typos.
15854 * international/quail.el (quail-insert-kbd-layout): and and -> and
15855 * kermit.el: and and -> and
15856 * net/ldap.el (ldap-search-internal): to to -> to
15857 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15858 * progmodes/js.el (js-mode): and and -> and
15859 * textmodes/artist.el (artist-move-to-xy): at at -> at
15860 (artist-draw-region-trim-line-endings): if if -> if
15861 And Safetyc -> Safety.
15862 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15863
15864 2011-05-10 Glenn Morris <rgm@gnu.org>
15865 Stefan Monnier <monnier@iro.umontreal.ca>
15866
15867 * files.el (hack-one-local-variable-eval-safep):
15868 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15869
15870 2011-05-10 Glenn Morris <rgm@gnu.org>
15871
15872 * calendar/diary-lib.el (diary-list-entries-hook)
15873 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15874 (diary-nongregorian-marking-hook, diary-list-entries)
15875 (diary-include-other-diary-files, diary-mark-entries)
15876 (diary-mark-included-diary-files): Doc fixes.
15877
15878 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15879
15880 * misc.el: Require tabulated-list.el during compilation.
15881
15882 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15883
15884 * progmodes/compile.el (compilation-start):
15885 Run compilation-filter-hook for the async case too.
15886 (compilation-filter-hook): Doc fix.
15887
15888 2011-05-09 Deniz Dogan <deniz@dogan.se>
15889
15890 * wdired.el: Remove outdated installation comment. Fix usage
15891 comment.
15892
15893 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15894
15895 * misc.el: Implement new command `list-dynamic-libraries'.
15896 (list-dynamic-libraries--loaded-only-p): New variable.
15897 (list-dynamic-libraries--refresh): New function.
15898 (list-dynamic-libraries): New command.
15899
15900 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15901
15902 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15903 Fix the ant regexp to handle end-line and end-column info from jikes.
15904 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15905 higher priority to avoid clobbering by gnu.
15906
15907 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15908
15909 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15910 if the face has existing theme settings (Bug#8454).
15911
15912 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15913
15914 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15915 Only match variables declared via `my' or `our' (Bug#8261).
15916
15917 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15918 special file names `.' and `..' (Bug#8259).
15919
15920 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15921
15922 * progmodes/grep.el (grep-mode-font-lock-keywords):
15923 Remove buffer-changing entries.
15924 (grep-filter): New function.
15925 (grep-mode): Add it to compilation-filter-hook.
15926
15927 * progmodes/compile.el (compilation-filter-hook)
15928 (compilation-filter-start): New defvars.
15929 (compilation-filter): Call compilation-filter-hook prior to
15930 updating the process mark.
15931
15932 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15935
15936 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15937
15938 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15939 mailclient-send-it even if window-system is nil. (Bug#8595)
15940
15941 * term/w32console.el (terminal-init-w32console):
15942 Call get-screen-color and use its output to set the frame
15943 background-mode. (Bug#8597)
15944
15945 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15948 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15949 New functions.
15950 (defgeneric, eieio--defmethod): Use them.
15951 (eieio-defgeneric): Remove.
15952 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15953
15954 2011-05-07 Glenn Morris <rgm@gnu.org>
15955
15956 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15957 Use let rather than let*.
15958 (timeclock-find-discrep): Remove unused local.
15959
15960 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15961
15962 * calendar/appt.el (appt-time-msg-list): Doc fix.
15963
15964 2011-05-06 Noah Friedman <friedman@splode.com>
15965
15966 * apropos.el (apropos-print-doc): Only use
15967 emacs-lisp-docstring-fill-column when it is bound to an integer,
15968 per that variable's documentation.
15969
15970 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15971
15972 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15973 and warnings are not silently discarded (e.g. use -d instead of -P).
15974
15975 2011-05-06 Glenn Morris <rgm@gnu.org>
15976
15977 * calendar/appt.el (appt-message-warning-time): Doc fix.
15978 (appt-warning-time-regexp): New option.
15979 (appt-make-list): Respect appt-message-warning-time.
15980
15981 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15982 New options.
15983 (diary-add-to-list): Strip comments from the displayed string.
15984 (diary-mode): Set comment-start and comment-end.
15985
15986 * vc/diff-mode.el (smerge-refine-subst): Declare.
15987 (diff-refine-hunk): Don't require smerge-mode when compiling.
15988
15989 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15990
15991 * simple.el (list-processes): Return nil as the docstring says.
15992
15993 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15994
15995 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15996 to "".
15997 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15998 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15999 determining of binary transfer. (Bug#7383)
16000
16001 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16002
16003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16004 Fix port computation bug. (Bug#8618)
16005
16006 2011-05-05 Glenn Morris <rgm@gnu.org>
16007
16008 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16009
16010 * simple.el (shell-dynamic-complete-functions)
16011 (comint-dynamic-complete-functions): Declare.
16012
16013 * net/network-stream.el (gnutls-negotiate):
16014 * simple.el (tabulated-list-print): Fix declarations.
16015
16016 * progmodes/gud.el (syntax-symbol, syntax-point):
16017 Remove unnecessary and incorrect declarations.
16018
16019 * emacs-lisp/check-declare.el (check-declare-scan):
16020 Handle byte-compile-initial-macro-environment in bytecomp.el
16021
16022 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16023
16024 Fix earlier half-done eieio-defmethod change (bug#8338).
16025 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16026 Streamline and change calling convention.
16027 (defmethod): Adjust accordingly and simplify.
16028 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16029 new eieio--defmethod.
16030 (slot-boundp): Minor CSE simplification.
16031
16032 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16033
16034 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16035 (glasses-make-readable): Use glasses-separate-capital-groups.
16036
16037 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16038
16039 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16040 (warning-series): Doc fix.
16041 (display-warning): Don't try to create the buffer if we just found it.
16042
16043 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16044
16045 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16046 (autoload-find-generated-file): New function.
16047 (generate-file-autoloads): Bind generated-autoload-file to
16048 buffer-file-name.
16049 (update-file-autoloads, update-directory-autoloads):
16050 Use autoload-find-generated-file. If called interactively, prompt for
16051 output file (Bug#7989).
16052 (batch-update-autoloads): Doc fix.
16053
16054 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16055
16056 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16057
16058 2011-05-04 Glenn Morris <rgm@gnu.org>
16059
16060 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16061 function, so it follows changes in calendar-date-style.
16062 (diary-fancy-date-matcher): New function.
16063 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16064 (diary-fancy-font-lock-fontify-region-function):
16065 Use diary-fancy-date-pattern as a function.
16066
16067 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16068 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16069
16070 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16071
16072 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16073 instead of positional arguments. Allow :keylist and :crlfiles
16074 arguments.
16075 (open-gnutls-stream): Call it.
16076
16077 * net/network-stream.el (network-stream-open-starttls): Adjust to
16078 call `gnutls-negotiate' with :process and :hostname arguments.
16079
16080 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16081
16082 * minibuffer.el (completion--message): New function.
16083 (completion--do-completion, minibuffer-complete)
16084 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16085 (completion--do-completion): Don't ignore completion-auto-help when in
16086 icomplete-mode.
16087
16088 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16089 internal encoding (e.g. tibetan zero is not whitespace).
16090 (global-whitespace-mode): Prefer save-current-buffer.
16091 (whitespace-trailing-regexp): Remove useless save-match-data.
16092 (whitespace-empty-at-bob-regexp): Minor simplification.
16093
16094 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16095
16096 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16097
16098 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16099
16100 * textmodes/ispell.el (ispell-add-per-file-word-list):
16101 Use `concat' to create string for insertion.
16102
16103 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16104
16105 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16106 Avoid open-line which runs post-self-insert-hook.
16107 (bibtex-fill-entry): Remove unused `end' var.
16108
16109 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16110
16111 * textmodes/ispell.el (ispell-add-per-file-word-list):
16112 Protect against `nil' value of `comment-start' (Bug#8579).
16113
16114 2011-05-03 Leo Liu <sdl.web@gmail.com>
16115
16116 * isearch.el (isearch-yank-pop): New command.
16117 (isearch-mode-map): Bind it to `M-y'.
16118 (isearch-forward): Mention it.
16119
16120 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * simple.el (minibuffer-complete-shell-command): Remove.
16123 (minibuffer-local-shell-command-map): Use completion-at-point.
16124 (read-shell-command): Setup completion vars here instead.
16125 (read-expression-map): Bind TAB to symbol completion.
16126
16127 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16128 error directly rather via storing it into `results'.
16129
16130 2011-05-02 Leo Liu <sdl.web@gmail.com>
16131
16132 * vc/diff.el: Fix description.
16133
16134 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
16136 * server.el (server-eval-at): New function.
16137
16138 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16139
16140 * net/network-stream.el (open-network-stream): Take a :nowait
16141 parameter and pass it on to `make-network-process'.
16142 (network-stream-open-plain): Ditto.
16143
16144 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16145
16146 * faces.el (face-spec-set-match-display): Don't match toolkit
16147 options on terminal frames.
16148
16149 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16150
16151 * progmodes/pascal.el: Use lexical binding.
16152 (pascal-mode-map): Remove author preferences.
16153
16154 * pcomplete.el (pcomplete-std-complete): Don't abuse
16155 completion-at-point.
16156
16157 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16158
16159 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16160 removing code that has been dead since 1991 or so.
16161
16162 * startup.el (command-line): When warning about "_emacs", use a
16163 delayed warning to allow the user to filter it out.
16164
16165 2011-04-28 Deniz Dogan <deniz@dogan.se>
16166
16167 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16168 user has not joined.
16169
16170 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16173 aren't any completions at point.
16174
16175 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16176
16177 * subr.el (display-delayed-warnings): New function.
16178 (delayed-warnings-hook): New variable.
16179
16180 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * minibuffer.el (completion-at-point, completion-help-at-point):
16183 Don't presume that a given completion-at-point-function will always
16184 use the same calling convention.
16185
16186 * pcomplete.el (pcomplete-completions-at-point):
16187 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16188 pcomplete-seen is non-nil.
16189 (pcomplete-comint-setup): Also recognize the new comint/shell
16190 completion functions.
16191 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16192 pcomplete-seen is non-nil.
16193
16194 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16195
16196 * calendar/icalendar.el (diary-lib): Add require statement.
16197 (icalendar--create-uid): Read out a uid from a text-property on
16198 the first character in the entry. This allows for code to add its
16199 own uid to the entry.
16200 (icalendar--convert-float-to-ical): Add export of
16201 `diary-float'-entries save for those with the optional DAY
16202 argument.
16203
16204 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16205
16206 * subr.el (shell-quote-argument): Use alternate escaping strategy
16207 when we spot a variable reference in a string.
16208
16209 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16210
16211 * cus-start.el (all): Define customization for debug-on-event.
16212
16213 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16214
16215 * subr.el (shell-quote-argument): Escape correctly under Windows.
16216
16217 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16218
16219 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16220
16221 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16222
16223 * net/tramp.el (tramp-process-actions): Add POS argument.
16224 Delete region between POS and (pos).
16225
16226 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16227 Use `nil' position in `tramp-process-actions' call.
16228 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16229
16230 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16231 position in `tramp-process-actions' call.
16232
16233 * net/trampver.el: Update release number.
16234
16235 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16236
16237 * custom.el (defcustom): Obey lexical-binding.
16238
16239 Fix octave-inf completion problems reported by Alexander Klimov.
16240 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16241 Inherit from octave-mode-syntax-table.
16242 (inferior-octave-mode): Set info-lookup-mode.
16243 (inferior-octave-completion-at-point): New function.
16244 (inferior-octave-complete): Use it and completion-in-region.
16245 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16246 comint-filename-completion.
16247 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16248 symbol elements which shouldn't be word elements.
16249 (octave-font-lock-keywords, octave-beginning-of-defun)
16250 (octave-function-header-regexp): Adjust regexps accordingly.
16251 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16252
16253 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16254
16255 * net/gnutls.el (gnutls-errorp): Declare before first use.
16256
16257 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16258
16259 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16260 verify-error, and verify-hostname-error parameters. Check whether
16261 default trustfile exists before going to use it. Add missing
16262 argument to gnutls-message-maybe call. Return value.
16263 Reported by Claudio Bley <claudio.bley@gmail.com>.
16264 (open-gnutls-stream): Add usage example.
16265
16266 * net/network-stream.el (network-stream-open-starttls): Give host
16267 parameter to `gnutls-negotiate'.
16268 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16269 * subr.el (shell-quote-argument): Escape correctly under Windows.
16270
16271 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16272
16273 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16274 Use correct match group (bug#8438).
16275
16276 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16277
16278 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16279 (package-menu--generate): New arg specifying packages to show.
16280 (package-menu-refresh, package-menu-execute, list-packages):
16281 Callers changed.
16282 (package-show-package-list): New function, replacing deleted
16283 package--list-packages (renamed because it is non-internal).
16284
16285 * finder.el (finder-list-matches): Use package-show-package-list
16286 instead of deleted package--list-packages.
16287
16288 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16289 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16290 (vc-annotate-mode-map): Bind it to RET.
16291
16292 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16293
16294 * progmodes/etags.el (next-file): Don't use set-buffer to change
16295 buffers (Bug#8478).
16296
16297 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16298
16299 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16300
16301 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16302 (apropos-accumulator): Doc fix.
16303 (apropos-function, apropos-macro, apropos-command)
16304 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16305 (apropos-plist): Add face property.
16306 (apropos-symbols-internal): Fix indentation.
16307 (apropos-print): Simplify help, and recognize apropos-multi-type.
16308 (apropos-print-doc): Use button-type-get to extract the button's
16309 face property. Fill docstring (Bug#8352).
16310
16311 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16312
16313 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16314
16315 * play/mpuz.el (mpuz-silent): Doc fix.
16316 (mpuz-mode-map): Use mapc.
16317 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16318 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16319 Fix typos in docstrings.
16320
16321 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16322 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16323
16324 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16325
16326 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16327
16328 * minibuffer.el (completion--do-completion): Avoid the "Next char
16329 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16330
16331 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16332 mouse-2 into unread-command-events, it is interpreted correctly.
16333
16334 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16335 (image-toggle-display): Doc fix.
16336
16337 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16338
16339 * textmodes/page.el (what-page): Use line-number-at-pos to
16340 calculate line number (Bug#6825).
16341
16342 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16343
16344 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16345 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16346 Pass argument NO-DEFAULT to `find-tag-interactive'.
16347
16348 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16349
16350 Lexical-binding cleanup.
16351
16352 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16353 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16354 * progmodes/ada-prj.el (ada-prj-initialize-values)
16355 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16356 (ada-prj-show-value):
16357 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16358 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16359 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16360 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16361 * progmodes/bug-reference.el (bug-reference-push-button):
16362 * progmodes/fortran.el (fortran-line-length):
16363 * progmodes/glasses.el (glasses-change):
16364 * progmodes/octave-mod.el (octave-fill-paragraph):
16365 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16366 (python-pdbtrack-grub-for-buffer, python-sentinel):
16367 * progmodes/sql.el (sql-save-connection):
16368 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16369 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16370 Mark unused parameters.
16371
16372 * progmodes/compile.el (compilation--flush-directory-cache)
16373 (compilation--flush-parse, compile-internal): Mark unused parameters.
16374 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16375 (compilation-next-error-function): Remove unused variable `timestamp'.
16376
16377 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16378 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16379
16380 * progmodes/dcl-mode.el (dcl-end-of-command):
16381 Remove unused variable `start'.
16382 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16383 (dcl-option-value-basic, dcl-option-value-offset)
16384 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16385 Mark unused parameters.
16386 (dcl-save-local-variable): Remove unused variable `val'.
16387 (mode): Declare.
16388
16389 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16390 Mark unused parameters.
16391 (delphi-ignore-changes): Move before first use.
16392 (delphi-charset-token-at): Remove unused variable `start'.
16393 (delphi-else-start): Remove unused variable `if-count'.
16394 (delphi-comment-block-start, delphi-comment-block-end):
16395 Remove unused variable `kind'.
16396 (delphi-indent-line): Remove unused variable `new-point'.
16397
16398 * progmodes/ebrowse.el (ebrowse-files-list)
16399 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16400 Mark unused parameters. Don't quote `lambda'.
16401 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16402 Don't quote `lambda'.
16403 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16404 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16405 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16406 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16407 Use `ignore-errors'.
16408 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16409 (ebrowse-view/find-file-and-search-pattern)
16410 (ebrowse-view/find-member-declaration/definition):
16411 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16412 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16413 Rename parameter PREFIX-ARG to PREFIX.
16414 (ebrowse-tags-read-name): Remove unused variables `start' and
16415 `member-info'.
16416 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16417 to `tags-file'.
16418
16419 * progmodes/etags.el (local-find-tag-hook): Declare.
16420 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16421 Mark unused parameters.
16422
16423 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16424 (executable-interpret): Mark unused parameter.
16425
16426 * progmodes/flymake.el (flymake-process-sentinel)
16427 (flymake-after-change-function)
16428 (flymake-create-temp-with-folder-structure)
16429 (flymake-get-include-dirs-dot): Mark unused parameters.
16430 (flymake-safe-delete-directory): Remove unused variable `err'.
16431
16432 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16433 (speedbar-timer-fn, speedbar-line-text)
16434 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16435 (speedbar-center-buffer-smartly): Declare functions.
16436 (gdb-find-watch-expression): Remove unused variable `array'.
16437 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16438 (gdb-starting): Mark unused parameters.
16439 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16440 (gdb-table-string): Remove unused variable `res'.
16441 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16442 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16443 (gdb-display-buffer): Remove unused variable `cur-size'.
16444
16445 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16446 allow lexical-binding compilation.
16447 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16448 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16449 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16450 Mark unused parameters.
16451 (gud-gdb-marker-filter): Remove unused variable `match'.
16452 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16453 lambda expressions and funcall them, instead of using `fset'.
16454
16455 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16456 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16457
16458 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16459 variable `header-beg'; use `let'.
16460
16461 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16462 `restart', `last-sexp' and `at-do'.
16463
16464 * progmodes/js.el (js--debug): Mark unused parameter.
16465 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16466 (js--splice-into-items): Remove unused variable `item'.
16467 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16468
16469 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16470 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16471 (makefile-complete): Remove unused variable `try'.
16472 (makefile-fill-paragraph, makefile-match-function-end):
16473 Mark unused parameters.
16474
16475 * progmodes/octave-inf.el (inferior-octave-complete):
16476 Remove unused variable `proc'.
16477 (inferior-octave-output-digest): Mark unused parameter.
16478
16479 * progmodes/perl-mode.el (perl-calculate-indent):
16480 Remove unused variable `err'.
16481
16482 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16483 (prolog-indent-line): Mark unused parameters.
16484 (prolog-indent-line): Remove unused variable `beg'.
16485
16486 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16487 (reporter-dont-compact-list): Declare.
16488
16489 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16490 Remove unused variable `char'.
16491 (sh-debug): Mark unused parameter.
16492 (sh-get-indent-info): Remove unused variable `start'.
16493 (sh-calculate-indent): Remove unused variable `var'.
16494
16495 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16496 (simula-electric-keyword): Remove unused variable `null'.
16497 (simula-search-backward, simula-search-forward): Remove unused
16498 variables `begin' and `end'.
16499
16500 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16501 Remove unused variable `pos'.
16502 (vera-electric-tab, vera-comment-uncomment-region):
16503 Mark unused parameters.
16504 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16505
16506 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
16507
16508 * emacs-lisp/package.el (package--builtins, package-alist)
16509 (package-load-descriptor, package-built-in-p, package-activate)
16510 (define-package, package-installed-p)
16511 (package-compute-transaction, package-buffer-info)
16512 (package--push): Doc fix. Distinguish more clearly between
16513 version strings and version lists.
16514
16515 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
16516
16517 Lexical-binding cleanup.
16518
16519 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16520 (5x5-make-mutate-best):
16521 * play/fortune.el (fortune-in-buffer):
16522 * play/gomoku.el (gomoku-init-display):
16523 * play/solitaire.el (solitaire, solitaire-do-check):
16524 * play/tetris.el (tetris-default-update-speed-function):
16525 Mark unused parameters.
16526
16527 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16528 (bubbles--shift): Remove unused variable `char-org'.
16529 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16530 (bubbles--show-images): Remove unused variable `char'.
16531
16532 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16533 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16534 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16535 (decipher-analyze-buffer): Use ?\s.
16536 (decipher-make-checkpoint): Remove unused variable `mapping'.
16537
16538 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16539
16540 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16541 Remove unused variable `result'; use `let'.
16542
16543 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16544 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16545 (gametree-children-shown-p, gametree-compute-reduced-score):
16546 Use `ignore-errors'.
16547
16548 * play/handwrite.el (ps-lpr-switches): Declare.
16549 (handwrite): Remove unused variables `pmin' and `lastp'.
16550
16551 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16552
16553 * play/landmark.el (landmark-init-display)
16554 (landmark-update-naught-weights): Mark unused parameters.
16555 (landmark-y): Remove unused variable `noise'. Simplify.
16556 (landmark-human-plays): Remove unused variable `score'.
16557
16558 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16559 (mpuz-try-proposal): Remove unused variable `game'.
16560
16561 * play/zone.el (life-patterns): Declare.
16562
16563 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
16564
16565 * vc/vc.el (ediff-vc-internal): Declare function.
16566
16567 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16568
16569 * shell.el: Use lexical-binding and std completion UI.
16570 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16571 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16572 comint-preoutput-filter-functions rather than on
16573 comint-output-filter-functions.
16574 (shell-command-completion, shell--command-completion-data)
16575 (shell-filename-completion, shell-environment-variable-completion)
16576 (shell-c-a-p-replace-by-expanded-directory): New functions.
16577 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16578 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16579 (shell-dynamic-complete-environment-variable): Use them.
16580 (shell-dynamic-complete-as-environment-variable)
16581 (shell-dynamic-complete-as-command): Remove.
16582 (shell-match-partial-variable): Match past point.
16583 * comint.el: Clean up use of completion-at-point-functions.
16584 (comint-completion-at-point): New function.
16585 (comint-mode): Use it completion-at-point-functions.
16586 (comint-dynamic-complete): Make it obsolete.
16587 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16588 (comint-c-a-p-replace-by-expanded-history): New function.
16589 (comint-dynamic-complete-functions)
16590 (comint-replace-by-expanded-history): Use it.
16591 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16592 termination strings. Try harder to avoid second try-completion.
16593 (completion-in-region-mode-map): Disable bindings that don't work yet.
16594
16595 * comint.el: Use lexical-binding. Require CL.
16596 (comint-dynamic-complete-functions): Use comint-filename-completion.
16597 (comint-completion-addsuffix): Tweak custom type.
16598 (comint-filename-completion, comint--common-suffix)
16599 (comint--common-quoted-suffix, comint--table-subvert)
16600 (comint--complete-file-name-data): New functions.
16601 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16602 (comint-dynamic-list-filename-completions): Use them.
16603 (comint-dynamic-simple-complete): Make obsolete.
16604
16605 * minibuffer.el (completion-in-region-mode):
16606 Keep completion-in-region-mode--predicate global.
16607 (completion-in-region--postch):
16608 Assume completion-in-region-mode--predicate is not null.
16609
16610 * progmodes/flymake.el (flymake-start-syntax-check-process):
16611 Obey `dir'. Simplify.
16612
16613 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16614 we're in VC after all.
16615
16616 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16617
16618 * vc/vc.el (vc-diff-build-argument-list-internal)
16619 (vc-version-ediff, vc-ediff): New commands.
16620 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16621
16622 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16625 add sanity check.
16626
16627 * obsolete/erc-hecomplete.el: Make obsolete.
16628 * obsolete/: Standardize obsolescence info in the header.
16629
16630 2011-04-20 Glenn Morris <rgm@gnu.org>
16631
16632 * calendar/solar.el (solar-horizontal-coordinates):
16633 Use the longitude argument rather than `calendar-longitude'.
16634 (solar-date-next-longitude): Remove unused locals.
16635
16636 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16637
16638 * whitespace.el: New version 13.2.1.
16639
16640 2011-04-20 felix <EmacsWiki> (tiny change)
16641
16642 * whitespace.el (global-whitespace-mode): Keep highlight when
16643 switching between major modes on a file.
16644
16645 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16646
16647 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16648 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16649 multi-line comments as well.
16650
16651 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16652
16653 Lexical-binding cleanup.
16654
16655 * arc-mode.el (archive-mode-revert):
16656 * cmuscheme.el (scheme-interactively-start-process):
16657 * custom.el (custom-initialize-delay):
16658 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16659 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16660 * emacs-lock.el (emacs-lock-clear-sentinel):
16661 * ezimage.el (defezimage):
16662 * follow.el (follow-avoid-tail-recenter):
16663 * fringe.el (set-fringe-mode-1):
16664 * generic-x.el (bat-generic-mode-compile):
16665 * help-mode.el (help-info-variable, help-do-xref)
16666 (help-mode-revert-buffer):
16667 * help.el (view-emacs-todo):
16668 * iswitchb.el (iswitchb-completion-help):
16669 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16670 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16671 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16672 * locate.el (locate-update):
16673 * longlines.el (longlines-encode-region)
16674 (longlines-after-change-function):
16675 * outline.el (outline-isearch-open-invisible):
16676 * ps-def.el (declare-function, charset-dimension, char-width)
16677 (encode-char):
16678 * ps-mule.el (ps-mule-plot-string):
16679 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16680 (recentf-edit-list-select, recentf-edit-list-validate)
16681 (recentf-open-files-action):
16682 * rect.el (delete-whitespace-rectangle-line)
16683 (rectangle-number-line-callback):
16684 * register.el (window-configuration-to-register)
16685 (frame-configuration-to-register):
16686 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16687 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16688 (xselect-convert-to-targets, xselect-convert-to-delete)
16689 (xselect-convert-to-filename, xselect-convert-to-charpos)
16690 (xselect-convert-to-lineno, xselect-convert-to-colno)
16691 (xselect-convert-to-os, xselect-convert-to-host)
16692 (xselect-convert-to-user, xselect-convert-to-class)
16693 (xselect-convert-to-name, xselect-convert-to-integer)
16694 (xselect-convert-to-atom, xselect-convert-to-identity):
16695 * subr.el (declare, ignore, process-kill-without-query)
16696 (text-clone-maintain):
16697 * terminal.el (te-get-char, te-tic-sentinel):
16698 * tool-bar.el (tool-bar-make-keymap):
16699 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16700 * type-break.el (type-break-mode, type-break-noninteractive-query):
16701 * view.el (View-back-to-mark):
16702 * wid-browse.el (widget-browse-action, widget-browse-widget)
16703 (widget-browse-widgets, widget-browse-sexp):
16704 * widget.el (define-widget-keywords):
16705 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16706 Mark unused parameters.
16707
16708 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16709 (align-areas): Remove unused variable `look'.
16710 (align-region): Remove unused variables `real-end' and `pos-list'.
16711
16712 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16713
16714 * bindings.el (mode-line-modified, mode-line-remote):
16715 Mark unused parameters.
16716 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16717
16718 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16719 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16720
16721 * comint.el (comint-history-isearch-pop-state)
16722 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16723 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16724 (comint-substitute-in-file-name): Doc fix.
16725
16726 * completion.el (cmpl-statistics-block): Mark unused parameter.
16727 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16728 (save-completions-to-file, load-completions-from-file):
16729 Remove unused local variable `e'.
16730
16731 * composite.el (compose-chars): Remove unused variable `len'.
16732 (lgstring-insert-glyph): Remove unused variable `g'.
16733 (compose-glyph-string): Remove unused variables `ascent',
16734 `descent', `lbearing' and `rbearing'.
16735 (compose-glyph-string-relative): Remove unused variables
16736 `lbearing', `rbearing' and `wadjust'.
16737 (compose-gstring-for-graphic): Remove unused variables `header',
16738 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16739 (compose-gstring-for-terminal): Remove unused variables `header'
16740 and `nchars'. Use `let', not `let*'.
16741
16742 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16743 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16744 (Custom-buffer-done, custom-buffer-create-internal)
16745 (custom-browse-visibility-action, custom-browse-group-tag-action)
16746 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16747 (widget-magic-mouse-down-action, custom-toggle-parent)
16748 (custom-add-parent-links, custom-toggle-hide-variable)
16749 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16750 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16751 (custom-face-menu-create, custom-variable-menu-create, get)
16752 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16753 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16754 (customize-apropos): Remove unused variable `tests'.
16755 (custom-group-value-create): Remove unused variable `hidden-p'.
16756 (sort-fold-case): Declare.
16757
16758 * cus-theme.el (custom-reset-standard-faces-list)
16759 (custom-reset-standard-variables-list): Declare.
16760 (customize-create-theme, custom-theme-revert, custom-theme-write)
16761 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16762 Mark unused parameters.
16763
16764 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16765
16766 * delim-col.el (delimit-columns-max): Move defvar before first use.
16767
16768 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16769 (describe-char): Don't quote `lambda'. Mark unused parameter.
16770
16771 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16772 (auto-insert): Declare.
16773 (desktop-restore-file-buffer): Rename desktop-* parameters;
16774 mark unused ones.
16775 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16776 (desktop-buffer): Rename desktop-* parameters.
16777
16778 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16779 (dframe-reposition-frame-xemacs, dframe-help-echo)
16780 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16781 Mark unused parameters.
16782
16783 * dired-aux.el (backup-extract-version-start, overwrite-query)
16784 (overwrite-backup-query, rename-regexp-query)
16785 (rename-non-directory-query): Declare.
16786 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16787 (dired-add-entry): Remove unused variable `orig-file-name'.
16788 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16789 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16790 `dired-copy-preserve-time' directly.
16791 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16792 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16793
16794 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16795 (dired-virtual-revert, dired-make-relative-symlink):
16796 Mark unused parameters.
16797 (manual-program): Declare.
16798 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16799 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16800 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16801
16802 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16803
16804 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16805
16806 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16807 Declare.
16808
16809 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16810
16811 * electric.el (Electric-command-loop): Rename parameter
16812 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16813
16814 * expand.el (expand-in-literal): Remove unused variable `here'.
16815
16816 * facemenu.el (facemenu-add-new-color):
16817 Remove unused variable `docstring'.
16818
16819 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16820 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16821 (face-attr-construct): Mark unused parameter. Doc fix.
16822 (read-color): Remove unused variable `hex-string'.
16823
16824 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16825 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16826 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16827 (display-buffer-other-frame): Remove unused variable `old-window'.
16828 (kill-buffer-hook): Declare.
16829 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16830 Mark unused parameters.
16831 (after-find-file): Pass 1 to `auto-save-mode', not t.
16832
16833 * files-x.el (auto-insert): Declare.
16834 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16835
16836 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16837 variable `buf'. Mark unused parameter.
16838 (find-lisp-insert-directory): Mark unused parameter.
16839
16840 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16841 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16842 (format-common-tail): Remove, unused.
16843 (format-deannotate-region): Remove unused variable `loc'.
16844 (format-annotate-region): Remove unused variable `p'.
16845 (format-annotate-single-property-change): Remove unused variables
16846 `default' and `tail'.
16847
16848 * forms.el (read-file-filter): Declare.
16849 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16850
16851 * frame.el (frame-creation-function-alist): Mark unused parameter.
16852 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16853
16854 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16855 Remove unused parameters.
16856 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16857 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16858
16859 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16860 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16861 (hfy-prepare-tag-map): Mark unused parameters.
16862 (htmlfontify-buffer): Use `called-interactively-p'.
16863
16864 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16865 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16866 (ibuffer-do-occur): Mark unused parameters.
16867 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16868 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16869
16870 * ibuffer.el: Don't quote `lambda'.
16871 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16872 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16873 Mark unused parameters.
16874
16875 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16876 (ido-completing-read): Mark unused parameters.
16877 (ido-copy-current-word): Mark unused parameters;
16878 remove unused variable `name'.
16879 (ido-sort-merged-list): Remove unused parameter `dirs'.
16880
16881 * ielm.el (ielm-input-sender): Mark unused parameter.
16882 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16883 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16884 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16885 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16886 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16887
16888 * image-dired.el (image-dired-display-thumbs): Remove unused
16889 variables `curr-file' and `count'.
16890 (image-dired-remove-tag): Remove unused variable `start'.
16891 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16892 variable `curr-file'
16893 (image-dired-rotate-original): Remove unused variable `temp-file'.
16894 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16895 Remove unused variable `file'.
16896 (image-dired-gallery-generate): Remove unused variable `curr'.
16897 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16898
16899 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16900
16901 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16902
16903 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16904
16905 * isearch.el (minibuffer-history-symbol): Declare.
16906 (isearch-edit-string): Remove unused variable `err'.
16907 (isearch-message-prefix, isearch-message-suffix):
16908 Mark unused parameters.
16909
16910 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16911
16912 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16913
16914 * makesum.el (double-column): Remove unused variable `cnt'.
16915
16916 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16917 (ido-ignore-item-temp-list): Declare.
16918
16919 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16920 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16921 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16922 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16923 `mouse-col-delta'.
16924
16925 * mouse-sel.el (mouse-extend-internal):
16926 Remove unused variable `orig-window-frame'.
16927
16928 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16929 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16930 Move declarations before first use.
16931 (pcomplete-opt): Mark unused parameters; doc fix.
16932
16933 * proced.el (proced-revert): Mark unused parameter.
16934 (proced-send-signal): Remove unused variable `err'.
16935
16936 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16937 Rename parameter PREFIX-ARG to ARG.
16938 (ps-basic-plot-string, ps-basic-plot-whitespace):
16939 Mark unused parameters.
16940
16941 * replace.el (replace-count): Define.
16942 (occur-revert-function): Mark unused parameters.
16943 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16944 (isearch-case-fold-search, isearch-string): Declare.
16945 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16946 bind `case-fold-search'. Remove unused variables `beg' and `end',
16947 and simplify.
16948 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16949 COUNT and bind `replace-count'.
16950 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16951 to COUNT.
16952
16953 * savehist.el (print-readably, print-string-length): Declare.
16954
16955 * shadowfile.el (shadow-expand-cluster-in-file-name):
16956 Remove unused variable `cluster'.
16957 (shadow-copy-file): Remove unused variable `i'.
16958 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16959 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16960 (shadow-define-literal-group, shadow-define-regexp-group)
16961 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16962
16963 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16964 (shell): Use `called-interactively-p'.
16965 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16966
16967 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16968 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16969 (delete-backward-char): Remove unused variable `ocol'.
16970 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16971 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16972 (event-apply-hyper-modifier, event-apply-shift-modifier)
16973 (event-apply-control-modifier, event-apply-meta-modifier):
16974 Mark unused parameters.
16975 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16976 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16977
16978 * speedbar.el (speedbar-ignored-directory-expressions)
16979 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16980 (speedbar-find-file, speedbar-dir-follow)
16981 (speedbar-directory-buttons-follow, speedbar-tag-find)
16982 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16983 (speedbar-buffers-line-directory, speedbar-buffer-click):
16984 Mark unused parameters.
16985 (speedbar-tag-file): Remove unused variable `mode'.
16986 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16987
16988 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16989
16990 * talk.el (talk): Remove unused variable `display'.
16991
16992 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16993 (tar-write-region-annotate): Mark unused parameter.
16994
16995 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16996 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16997 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16998 warning by another.
16999
17000 * time-stamp.el (time-stamp-string-preprocess):
17001 Remove unused variable `require-padding'.
17002
17003 * tree-widget.el (widget-glyph-enable): Declare.
17004 (tree-widget-action): Mark unused parameter.
17005
17006 * w32-fns.el (x-get-selection): Mark unused parameter.
17007 (autoload-make-program, generated-autoload-file): Declare.
17008
17009 * wdired.el (wdired-revert): Mark unused parameters.
17010 (wdired-xcase-word): Remove unused variable `err'.
17011
17012 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17013 (whitespace-help-scroll): Remove unused variable `data-help'.
17014
17015 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17016 (widget-image-insert, widget-after-change, default)
17017 (widget-default-format-handler, widget-default-notify)
17018 (widget-default-prompt-value, widget-info-link-action)
17019 (widget-url-link-action, widget-function-link-action)
17020 (widget-variable-link-action, widget-file-link-action)
17021 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17022 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17023 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17024 (widget-insert-button-action, widget-delete-button-action, visibility)
17025 (widget-documentation-link-action, widget-documentation-string-action)
17026 (widget-const-prompt-value, widget-regexp-match, symbol)
17027 (widget-coding-system-prompt-value)
17028 (widget-key-sequence-value-to-external, sexp)
17029 (widget-sexp-value-to-internal, character, vector, cons)
17030 (widget-choice-prompt-value, widget-boolean-prompt-value)
17031 (widget-color--choose-action): Mark unused parameters.
17032 (widget-item-match-inline, widget-choice-match-inline)
17033 (widget-checklist-match, widget-checklist-match-inline)
17034 (widget-group-match): Rename parameter VALUES to VALS.
17035 (widget-field-value-set): Remove unused variable `size'.
17036 (widget-color-action): Remove unused variables `value' and `start'.
17037
17038 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17039 variable `dir'. Doc fix.
17040 (windmove-find-other-window): Don't pass it.
17041
17042 * window.el (count-windows): Mark unused parameter.
17043 (bw-adjust-window): Remove unused variable `err'.
17044
17045 * woman.el (woman-file-name): Remove unused variable `default'.
17046 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17047 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17048 (global-font-lock-mode): Declare.
17049 (woman-decode-region): Mark unused parameter.
17050 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17051
17052 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17053 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17054 (x-dnd-handle-moz-url): Remove unused variable `title'.
17055 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17056
17057 * xml.el (xml-parse-tag, xml-parse-attlist):
17058 Remove unused variable `pos'.
17059
17060 2011-04-19 Glenn Morris <rgm@gnu.org>
17061
17062 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17063 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17064 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17065 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17066 * calendar/cal-html.el (cal-html-insert-minical):
17067 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17068 (calendar-mark-date-pattern):
17069 Prefix "unused" locals.
17070
17071 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17072 optional argument `style'.
17073
17074 * calendar/appt.el (appt-make-list):
17075 * calendar/cal-china.el (calendar-chinese-date-string):
17076 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17077 (diary-hebrew-yahrzeit):
17078 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17079 * calendar/calendar.el (calendar-generate-window):
17080 * calendar/time-date.el (time-to-days):
17081 Remove unused local variables.
17082
17083 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17084
17085 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17086 glyphless-char-display table.
17087 (tabulated-list-glyphless-char-display): New var.
17088
17089 2011-04-18 Sam Steingold <sds@gnu.org>
17090
17091 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17092 to acknowledgments.
17093
17094 2011-04-17 Glenn Morris <rgm@gnu.org>
17095
17096 * calendar/diary-lib.el (diary-sexp-entry):
17097 * calendar/holidays.el (holiday-sexp):
17098 Set debug-on-error rather than the removed stack-trace-on-error.
17099
17100 2011-04-16 Glenn Morris <rgm@gnu.org>
17101
17102 * progmodes/f90.el: Use lexical-binding.
17103 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17104
17105 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17106
17107 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17108 (mail-mode): Setup mailalias completion here instead.
17109 * mail/mailalias.el: Use lexical-binding.
17110 (pattern, mailalias-done): Declare dynamic.
17111 (mail-completion-at-point-function): New function, from mail-complete.
17112 (mail-complete): Use it.
17113 (mail-completion-expand): New function.
17114 (mail-get-names): Use it.
17115 (mail-directory, mail-directory-process, mail-directory-stream):
17116 Don't use `pattern' for lexically bound arg.
17117
17118 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17119
17120 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17121 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17122 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17123
17124 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17125 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17126 (byte-interactive-p): Define them again, for use when inlining
17127 old code.
17128
17129 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17130
17131 * loadup.el: Use `string-to-number', not `string-to-int'.
17132
17133 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17136 gud-gdb-complete-command.
17137 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17138 (gud-gdb-completion-at-point): New function.
17139 (gud-gdb-completions): Remove.
17140
17141 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17142
17143 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17144 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17145 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17146 whether `executable-find' is bound.
17147
17148 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17149
17150 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17151
17152 * minibuffer.el (completion-in-region-mode-predicate)
17153 (completion-in-region-mode--predicate): New vars.
17154 (completion-in-region, completion-in-region--postch)
17155 (completion-in-region-mode): Use them.
17156 (completion--capf-wrapper): Also return the hook function.
17157 (completion-at-point, completion-help-at-point):
17158 Adjust and provide a predicate.
17159
17160 Preserve arg names for advice of subr and lexical functions (bug#8457).
17161 * help-fns.el (help-function-arglist): Consolidate the subr and
17162 new-byte-code cases. Add argument `preserve-names' to extract names
17163 from the docstring when needed.
17164 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17165 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17166 (ad-arglist): Use help-function-arglist's new arg.
17167 (ad-definition-type): Use cond.
17168
17169 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17170
17171 * autorevert.el (auto-revert-handler):
17172 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17173 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17174 Don't quote lambda.
17175
17176 * image-mode.el (image-transform-set-scale):
17177 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17178
17179 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17180
17181 * net/network-stream.el (network-stream-open-starttls): Only do
17182 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17183 Upgrades via gnutls-cli are too slow to be done opportunistically.
17184
17185 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17186
17187 * dframe.el (dframe-current-frame): Remove spurious quote.
17188
17189 2011-04-12 Glenn Morris <rgm@gnu.org>
17190
17191 * calendar/cal-tex.el (cal-tex-end-document):
17192 Try to automatically use latin1 input if needed.
17193
17194 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17195 Don't try to cons a mark onto an empty element.
17196
17197 2011-04-11 Leo Liu <sdl.web@gmail.com>
17198
17199 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17200 buffers.
17201 (ido-kill-buffer-at-head): Support killing virtual buffers.
17202
17203 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17204
17205 * minibuffer.el (completion-show-inline-help): New var.
17206 (completion--do-completion, minibuffer-complete)
17207 (minibuffer-force-complete, minibuffer-complete-word):
17208 Inhibit minibuffer messages if completion-show-inline-help is nil.
17209
17210 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17211 to avoid interference from inline help (Bug#5849).
17212
17213 2011-04-10 Leo Liu <sdl.web@gmail.com>
17214
17215 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17216 Fix typo.
17217
17218 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17219
17220 * image-mode.el (image-toggle-display-image): Signal an error if
17221 not in Image mode.
17222 (image-transform-mode, image-transform-resize)
17223 (image-transform-set-rotation): Doc fix.
17224 (image-transform-set-resize): Delete.
17225 (image-transform-set-scale, image-transform-fit-to-height)
17226 (image-transform-fit-to-width): Handle image-toggle-display-image
17227 and image-transform-resize directly.
17228
17229 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17230
17231 * doc-view.el (doc-view-fit-width-to-window)
17232 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17233 New functions for fitting the shown image to the Emacs window size.
17234 (doc-view-mode-map): Add bindings for the new functions.
17235
17236 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17237
17238 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17239 Fix typo in docstring.
17240
17241 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17242
17243 * files.el (file-size-human-readable): Produce one digit after
17244 decimal, like "ls -lh" does.
17245
17246 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17247 the file size representation.
17248
17249 * simple.el (list-processes): If async subprocesses are not
17250 available, error out with a clear error message.
17251
17252 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17253
17254 * help.el (help-form-show): New function, to be called from C.
17255 Put help-form output in a buffer named differently than *Help*.
17256
17257 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17258
17259 * files.el (file-size-human-readable): New function.
17260
17261 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17262 computing the representation inline. Don't require `cl'.
17263
17264 2011-04-08 Glenn Morris <rgm@gnu.org>
17265
17266 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17267
17268 * net/browse-url.el (browse-url-firefox):
17269 Test system-type, not system-configuration.
17270
17271 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17272 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17273 Use log-edit-empty-buffer-p. (Bug#7598)
17274
17275 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17276 (rlogin-mode-map): Initialize in the defvar.
17277 (rlogin): Use ignore-errors.
17278
17279 * replace.el (occur-mode-map): Some fixes for menu items.
17280
17281 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17282
17283 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17284
17285 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17286
17287 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17288 issuing unused warnings.
17289
17290 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17291 macro directly.
17292
17293 * simple.el: Lisp reimplement of list-processes. Based on an
17294 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17295 (process-menu-mode): New major mode.
17296 (list-processes--refresh, list-processes):
17297 (process-menu-visit-buffer): New functions.
17298
17299 * files.el (save-buffers-kill-emacs): Don't assume any return
17300 value of list-processes, which is undocumented anyway.
17301
17302 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17303
17304 * emacs-lisp/tabulated-list.el: New file.
17305
17306 * emacs-lisp/package.el: Use Tabulated List mode.
17307 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17308 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17309 table format using Tabulated List mode variables.
17310 (package--push): New macro, replacing package-list-maybe-add.
17311 (package-menu--generate): Use package--push. Renamed from
17312 package--generate-package-list.
17313 (package-menu-refresh, list-packages): Use it.
17314 (package-menu--print-info): Rename from package-print-package.
17315 Return insertion data instead of inserting it directly.
17316 (package-menu-describe-package, package-menu-execute):
17317 Use tabulated-list-get-id.
17318 (package-menu-mark-delete, package-menu-mark-install)
17319 (package-menu-mark-unmark, package-menu-backup-unmark)
17320 (package-menu-mark-obsolete-for-deletion):
17321 Use tabulated-list-put-tag.
17322 (package--list-packages, package-menu-revert)
17323 (package-menu-get-package, package-menu-get-version)
17324 (package-menu-sort-by-column): Functions deleted.
17325 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17326 (package-menu--status-predicate, package-menu--version-predicate)
17327 (package-menu--name-predicate)
17328 (package-menu--description-predicate): Handle arguments in the
17329 Tabulated List format.
17330 (package-list-packages-no-fetch): Call list-packages.
17331
17332 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17333
17334 * files.el (after-find-file-from-revert-buffer): Remove variable.
17335 (after-find-file): Don't bind it.
17336 (revert-buffer-in-progress-p): New variable.
17337 (revert-buffer): Bind it.
17338 Pass nil for `after-find-file-from-revert-buffer'.
17339
17340 * saveplace.el (save-place-find-file-hook): Use new variable
17341 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17342
17343 2011-04-06 Glenn Morris <rgm@gnu.org>
17344
17345 * Makefile.in (AUTOGEN_VCS): New variable.
17346 (autoloads): Use $AUTOGEN_VCS.
17347
17348 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17349 * calendar/calendar.el (calendar-mode-map):
17350 Check for toolkit scroll bars. (Bug#8305)
17351
17352 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17353
17354 * minibuffer.el (completion-in-region--postch)
17355 (completion-in-region-mode): Remove unnecessary messages.
17356
17357 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17358
17359 * font-lock.el (font-lock-refresh-defaults):
17360 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17361 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17362
17363 * info.el (Info-directory-list, Info-read-node-name-2)
17364 (Info-split-parameter-string): Doc fixes.
17365 (Info-virtual-nodes): Reflow docstring.
17366 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17367 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17368 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17369 Fix typos in docstrings.
17370 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17371 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17372 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17373 (Info-restore-desktop-buffer): Mark unused parameters.
17374 (Info-directory-find-file, Info-directory-find-node)
17375 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17376 (Info-virtual-index-find-node, Info-apropos-find-file)
17377 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17378 Mark unused parameters; fix typos in docstrings.
17379 (Info-virtual-index): Remove unused local variable `nodename'.
17380
17381 2011-04-05 Deniz Dogan <deniz@dogan.se>
17382
17383 * net/rcirc.el: Update my e-mail address.
17384 (rcirc-mode-map): Remove M-o binding.
17385
17386 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17387
17388 * startup.el (command-line): Save the cursor's theme-face
17389 directly, instead of using face-override-spec.
17390
17391 * custom.el (load-theme): Minor optimization in assigning faces.
17392
17393 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17394
17395 * help-fns.el (describe-variable): Complete all variables having
17396 documentation, including keywords.
17397 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17398
17399 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17400
17401 Convert to lexical-binding.
17402
17403 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17404 (bs--get-marked-string, bs--get-modified-string)
17405 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17406 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17407 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17408
17409 * ehelp.el (electric-help-execute-extended)
17410 (electric-help-ctrl-x-prefix):
17411 * hexl.el (hexl-revert-buffer-function):
17412 * linum.el (linum-after-change, linum-after-scroll):
17413 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17414
17415 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17416
17417 2011-04-04 Daiki Ueno <ueno@unixuser.org>
17418
17419 * epa-dired.el:
17420 * epa-mail.el:
17421 * epa-hook.el:
17422 * epa-file.el:
17423 * epa.el:
17424 * epg.el: Use lexical binding.
17425
17426 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
17427
17428 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17429
17430 * textmodes/flyspell.el (flyspell-word): Recognize default
17431 dictionary case for flyspell-mark-duplications-exceptions.
17432 Use regexp matching for languages.
17433 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17434 default dictionary (Bug#7926).
17435
17436 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
17437
17438 * emacs-lisp/package.el (package--with-work-buffer):
17439 Recognize https URLs.
17440
17441 * net/network-stream.el: Move from gnus/proto-stream.el.
17442 Change prefix to network-stream throughout.
17443 (open-protocol-stream): Merge into open-network-stream, leaving
17444 open-protocol-stream as an alias. Handle nil BUFFER args.
17445
17446 * subr.el (open-network-stream): Move to net/network-stream.el.
17447
17448 2011-04-02 Glenn Morris <rgm@gnu.org>
17449
17450 * find-dired.el (find-exec-terminator): New option.
17451 (find-ls-option): Test for -ls support.
17452 (find-ls-subdir-switches): Test for -b in find-ls-option.
17453 (find-dired, find-grep-dired): Doc fixes.
17454 (find-dired): Use find-exec-terminator.
17455
17456 * find-dired.el (find-ls-option, find-ls-subdir-switches)
17457 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17458 (find-name-arg): Remove purecopy.
17459
17460 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17461 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17462 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17463 accordingly. Don't add the null-device if not needed.
17464
17465 * files.el (save-some-buffers): Doc fix.
17466
17467 2011-04-02 Eli Zaretskii <eliz@gnu.org>
17468
17469 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17470
17471 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
17472
17473 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17474 Use `dolist' rather than `mapcar'.
17475
17476 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17477
17478 Add lexical binding.
17479
17480 * subr.el (apply-partially): Use new closures rather than CL.
17481 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17482 (dolist, dotimes): Use slightly different expansion for lexical code.
17483 (functionp): Move to C.
17484 (letrec): New macro.
17485 (with-wrapper-hook): Use it and apply-partially instead of CL.
17486 (eval-after-load): Preserve lexical-binding.
17487 (save-window-excursion, with-output-to-temp-buffer): Turn them
17488 into macros.
17489
17490 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17491
17492 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17493 than the arglist.
17494 (help-add-fundoc-usage): Don't add `Not documented'.
17495 (help-function-arglist): Handle closures, subroutines, and new
17496 byte-code-functions.
17497 (help-make-usage): Remove leading underscores.
17498 (describe-function-1): Handle closures.
17499 (describe-variable): Use special-variable-p for completion.
17500
17501 * files.el (lexical-binding): Declare safe.
17502
17503 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17504 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17505 (pcase): Add `let' pattern.
17506 Change memoization so it actually works.
17507 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17508 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17509 <let>: New case.
17510
17511 * emacs-lisp/macroexp.el: Use lexical binding.
17512 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17513 Don't convert ' to #' without checking that it's indeed quoting
17514 a lambda.
17515
17516 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17517 Use eval-sexp-add-defvars.
17518 (eval-sexp-add-defvars): New fun.
17519
17520 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17521
17522 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17523 Don't autoload.
17524 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17525 than the internal `byte-compile-lambda'.
17526 (defmethod): Don't hide code under quotes.
17527 (eieio-defmethod): New `code' argument.
17528
17529 * emacs-lisp/eieio-comp.el: Remove.
17530
17531 * emacs-lisp/edebug.el (edebug-eval-defun)
17532 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17533 (edebug-toggle): Avoid `eval'.
17534
17535 * emacs-lisp/disass.el (disassemble-internal): Handle new
17536 `closure' objects.
17537 (disassemble-1): Handle new byte codes.
17538
17539 * emacs-lisp/cl.el (pushnew): Silence warning.
17540
17541 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17542 (cl-byte-compile-throw): Remove.
17543 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17544
17545 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17546 closures.
17547
17548 * emacs-lisp/cconv.el: New file.
17549
17550 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17551 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17552 (byte-compile-initial-macro-environment):
17553 Handle declare-function here.
17554 (byte-compile--lexical-environment): New var.
17555 (byte-stack-ref, byte-stack-set, byte-discardN)
17556 (byte-discardN-preserve-tos): New lap codes.
17557 (byte-interactive-p): Don't use any more.
17558 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17559 New macros.
17560 (byte-compile-lapcode): Use them and handle new lap codes.
17561 (byte-compile-obsolete): Remove.
17562 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17563 (byte-compile-arglist-warn): Check late def of inlinable funs.
17564 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17565 since they should have been expanded by now.
17566 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17567 (byte-compile-from-buffer): Remove unused second arg.
17568 (byte-compile-preprocess): New function.
17569 (byte-compile-toplevel-file-form): New function to distinguish
17570 file-form calls from outside from file-form calls from hunk-handlers.
17571 (byte-compile-file-form): Simplify.
17572 (byte-compile-file-form-defsubst): Remove.
17573 (byte-compile-file-form-defmumble): Simplify now that
17574 byte-compile-lambda always returns a byte-code-function.
17575 (byte-compile): Preprocess.
17576 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17577 Remove, not used any more.
17578 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17579 (byte-compile-make-args-desc): New funs.
17580 (byte-compile-lambda): Handle lexical functions. Always return
17581 a byte-code-function.
17582 (byte-compile-reserved-constants): New var, to make up room for
17583 closed-over variables.
17584 (byte-compile-constants-vector): Obey it.
17585 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17586 (byte-compile-macroexpand-declare-function): New function.
17587 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17588 byte-code-functions.
17589 (byte-compile-form): Check obsolescence here.
17590 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17591 (byte-compile-variable-ref): Remove.
17592 (byte-compile-dynamic-variable-op): New fun.
17593 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17594 (byte-compile-variable-set): New funs.
17595 (byte-compile-discard): Add 2 args.
17596 (byte-compile-stack-ref, byte-compile-stack-set)
17597 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17598 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17599 macroexpand-all instead.
17600 (byte-compile-quote-form): Remove.
17601 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17602 (byte-compile-bind, byte-compile-unbind): New funs.
17603 (byte-compile-let): Handle let* and lexical binding.
17604 (byte-compile-let*): Remove.
17605 (byte-compile-catch, byte-compile-unwind-protect)
17606 (byte-compile-track-mouse, byte-compile-condition-case):
17607 Handle a new :fun-body form, used for lexical scoping.
17608 (byte-compile-save-window-excursion)
17609 (byte-compile-with-output-to-temp-buffer): Remove.
17610 (byte-compile-defun): Simplify.
17611 (byte-compile-stack-adjustment): New fun.
17612 (byte-compile-out): Use it.
17613 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17614
17615 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17616 handler any more.
17617
17618 * emacs-lisp/byte-opt.el: Use lexical binding.
17619 (byte-inline-lapcode): Remove (to bytecomp).
17620 (byte-compile-inline-expand): Pay attention to inlining to/from
17621 lexically bound code.
17622 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17623 any more.
17624 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17625 any more and don't call compiler-macros.
17626 (byte-compile-splice-in-already-compiled-code): Remove.
17627 (byte-code): Don't inline any more.
17628 (disassemble-offset): Receive `bytes' as argument rather than via
17629 dynamic scoping.
17630 (byte-compile-tag-number): Declare before first use.
17631 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17632 `return' even if make-spliceable.
17633 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17634 obsolete interactive-p.
17635 (byte-optimize-lapcode): Optimize new lap-codes.
17636 Don't trip up on new form of `byte-constant' lap code.
17637
17638 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17639
17640 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17641
17642 * custom.el (custom-initialize-default, custom-declare-variable):
17643 Use `defvar'.
17644
17645 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17646 New variables.
17647 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17648 (COMPILE_FIRST): Add macroexp and cconv.
17649 * makefile.w32-in: Mirror changes in Makefile.in.
17650
17651 * vc/cvs-status.el:
17652 * vc/diff-mode.el:
17653 * vc/log-edit.el:
17654 * vc/log-view.el:
17655 * vc/smerge-mode.el:
17656 * textmodes/bibtex-style.el:
17657 * textmodes/css-mode.el:
17658 * startup.el:
17659 * uniquify.el:
17660 * minibuffer.el:
17661 * newcomment.el:
17662 * reveal.el:
17663 * server.el:
17664 * mpc.el:
17665 * emacs-lisp/smie.el:
17666 * doc-view.el:
17667 * dired.el:
17668 * abbrev.el: Use lexical binding.
17669
17670 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17671
17672 * info.el (info-display-manual): New function.
17673
17674 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17675
17676 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17677
17678 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17679
17680 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17681 an entry for that server in rcirc-authinfo. (Bug#8385)
17682
17683 2011-03-31 Glenn Morris <rgm@gnu.org>
17684
17685 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17686
17687 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17688
17689 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17690
17691 * progmodes/python.el (python-default-interpreter)
17692 (python-python-command-args, python-jython-command-args)
17693 (python-which-shell, python-which-args, python-which-bufname)
17694 (python-file-queue, python-comint-output-filter-function)
17695 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17696 variables and functions.
17697
17698 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17699
17700 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17701 (completion-in-region-mode): New minor mode.
17702 (completion-in-region): Use it.
17703 (completion-in-region--data, completion-in-region-mode-map): New vars.
17704 (completion-in-region--postch): New function.
17705 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17706 New vars.
17707 (completion--capf-wrapper): New function.
17708 (completion-at-point): Use it to track well-behavedness of
17709 hook functions.
17710 (completion-help-at-point): New command.
17711
17712 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17713
17714 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17715 syntax class to search for whitespace on a single line
17716 (Message-ID: <4D938140.4030905@redhat.com>).
17717
17718 2011-03-30 Leo Liu <sdl.web@gmail.com>
17719
17720 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17721 New commands.
17722 (edit-abbrevs-map): Bind them here.
17723 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17724
17725 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17726
17727 * allout.el (allout-hide-by-annotation, allout-flag-region):
17728 Reduce possibility of overlay leakage by making them volatile.
17729
17730 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17731 hash is not shared between buffers. Mode initialization is
17732 responsible for giving it a useful starting value.
17733 (allout-item-span): Reduce possibility of overlay leakage by
17734 making them volatile.
17735 (allout-widgets-count-buttons-in-region): Add diagnostic function
17736 for tracking down button overlay leaks.
17737
17738 2011-03-29 Leo Liu <sdl.web@gmail.com>
17739
17740 * ido.el (ido-read-internal): Use the default history var
17741 minibuffer-history if no HISTORY is specified.
17742
17743 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17744
17745 * net/imap.el (imap-shell-open, imap-process-connection-type):
17746 Use imap-process-connection-type for 'shell' streams as well as
17747 Kerberos, SSL, other subprocesses.
17748
17749 2011-03-28 Leo Liu <sdl.web@gmail.com>
17750
17751 * abbrev.el (abbrev-table-empty-p): New function.
17752 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17753 nonempty ones. (Bug#5937)
17754
17755 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17756
17757 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17758
17759 2011-03-27 Leo Liu <sdl.web@gmail.com>
17760
17761 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17762 for foreground and background colors.
17763 (ansi-color-make-color-map): Adapt.
17764
17765 2011-03-25 Leo Liu <sdl.web@gmail.com>
17766
17767 * midnight.el (midnight-time-float): Remove. Note it calculates
17768 the microsecond component incorrectly and seconds-to-time does the
17769 same job.
17770 Remove redundant (require 'timer).
17771
17772 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17773 (ido-completions): Remove unused arguments. (Bug#8329)
17774
17775 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17776
17777 * minibuffer.el (completion--flush-all-sorted-completions):
17778 Remove itself from hook.
17779 (completion-at-point): Let the functions perform the completion
17780 immediately and return nil or t.
17781 * comint.el (comint-dynamic-complete-functions): Now identical to
17782 completion-at-point-functions.
17783 (comint-dynamic-list-input-ring): Remove unused var `index'.
17784 (comint--match-partial-filename, comint--unquote&expand-filename):
17785 New funs, split from comint-match-partial-filename.
17786 (comint-dynamic-complete): Use completion-at-point.
17787 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17788
17789 2011-03-24 Drew Adams <drew.adams@oracle.com>
17790
17791 * thingatpt.el: Support `defun'.
17792
17793 2011-03-23 Leo Liu <sdl.web@gmail.com>
17794
17795 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17796
17797 * help-mode.el (help-mode-finish): Tweak regexp.
17798
17799 2011-03-23 Glenn Morris <rgm@gnu.org>
17800
17801 * eshell/esh-opt.el (eshell-eval-using-options):
17802 Do not bind unused local variable `eshell-option-stub'.
17803
17804 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17805
17806 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17807
17808 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17809 keymap variable in `with-no-warnings' to avoid a warning when the
17810 keymap has been already `defconst'ed.
17811
17812 2011-03-22 Leo Liu <sdl.web@gmail.com>
17813
17814 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17815 encode all chars in abbrevs; otherwise use emacs-mule or
17816 utf-8-emacs. (Bug#8308)
17817
17818 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17819
17820 * simple.el (backward-delete-char-untabify):
17821 Avoid warning about using `delete-backward-char'.
17822
17823 * image.el (image-type-file-name-regexps): Make it variable.
17824 `imagemagick-register-types' modifies it, and the user may want
17825 to add new extensions for known image types.
17826 (imagemagick-register-types): Throw error if not using ImageMagick.
17827
17828 2011-03-22 Leo Liu <sdl.web@gmail.com>
17829
17830 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17831 located before rcirc-prompt-end-marker.
17832 (rcirc-complete): Error if point is not after rcirc prompt.
17833 Handle the case when table is nil.
17834 (rcirc-user-authenticated): Define to fix compiler warning.
17835
17836 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17837
17838 * custom.el (custom--inhibit-theme-enable): Make it affect only
17839 custom-theme-set-variables and custom-theme-set-faces.
17840 (provide-theme): Ignore custom--inhibit-theme-enable.
17841 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17842 (custom-enabling-themes): Delete variable.
17843 (enable-theme): Accept only loaded themes as arguments.
17844 Ignore the special custom-enabled-themes variable.
17845 (custom-enabled-themes): Forbid themes from setting this.
17846 Eliminate use of custom-enabling-themes.
17847 (custom-push-theme): Quote "changed" custom var entry.
17848
17849 2011-03-21 Leo Liu <sdl.web@gmail.com>
17850
17851 * ido.el (ido-read-internal): Add ido-selected to history instead
17852 of user input.
17853
17854 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17855
17856 * subr.el (deferred-action-list, deferred-action-function):
17857 Mark obsolete.
17858
17859 2011-03-21 Leo Liu <sdl.web@gmail.com>
17860
17861 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17862 change on 2011-02-13 (bug#8309).
17863
17864 * minibuffer.el (read-file-name-function): Change default value.
17865 (read-file-name--defaults): Rename from read-file-name-defaults.
17866 (read-file-name-default): Rename from read-file-name.
17867 (read-file-name): Call read-file-name-function.
17868
17869 2011-03-21 Glenn Morris <rgm@gnu.org>
17870
17871 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17872 Doc fixes.
17873
17874 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17875
17876 * cus-theme.el: Add missing provide statement.
17877 (customize-create-theme): Extract theme value correctly.
17878 (custom-theme-visit-theme): Autoload.
17879 (customize-create-theme): Prompt before inserting default faces.
17880
17881 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17882
17883 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17884 units and musical notes.
17885
17886 2011-03-20 Leo Liu <sdl.web@gmail.com>
17887
17888 * ido.el (ido-read-internal): Use completing-read-default.
17889 (ido-completing-read): Fix compatibility with completing-read.
17890
17891 2011-03-20 Christian Ohler <ohler@gnu.org>
17892
17893 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17894 (ert-delete-all-tests): Use `called-interactively-p' rather than
17895 `interactive-p'.
17896 (ert--make-xrefs-region): Respect END.
17897
17898 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17899
17900 * dired-aux.el (dired-create-directory): Signal an error if the
17901 directory already exists (Bug#8246).
17902
17903 * facemenu.el (list-colors-display): Call list-faces-display
17904 inside with-help-window.
17905 (list-colors-print): Use display property to align the final
17906 column, instead of checking window-width.
17907
17908 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17909
17910 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17911 windows-nt systems.
17912 (emerge-protect-metachars): Quote correctly for ms-dos and
17913 windows-nt systems.
17914
17915 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17916
17917 * info.el (info-initialize): Replace all uses of `:' with
17918 path-separator for compatibility with non-Unix systems.
17919 Cache quoting of path-separator. (Bug#8258)
17920
17921 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
17922
17923 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17924 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17925 (mouse-avoidance-mode): Fix typos in docstrings.
17926
17927 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17928
17929 * startup.el (package-subdirectory-regexp): Move from package.el.
17930 Omit \\` and \\', and let callers add them.
17931
17932 * emacs-lisp/package.el (package-strip-version)
17933 (package-load-all-descriptors): Add \\` and \\' to
17934 package-subdirectory-regexp before using it.
17935 (package-untar-buffer): New arg DIR; ensure that file untars only
17936 into this expected directory. Remove superfluous delete-region.
17937 (package-unpack): Caller changed.
17938 (package-tar-file-info): Use package-subdirectory-regexp.
17939
17940 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17941
17942 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17943 diff-mode-shared-map (bug#8284).
17944 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17945
17946 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17947
17948 * calendar/time-date.el (format-seconds): Use assoc instead of
17949 assoc-string, since assoc-string doesn't exist in XEmacs.
17950
17951 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17952
17953 * custom.el (custom-known-themes): Reflow docstring.
17954 (custom-theme-load-path): Fix typo in docstring.
17955 (load-theme): Fix typo in error message.
17956 (custom-available-themes, custom-variable-theme-value):
17957 Use `let', not `let*'.
17958
17959 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17960
17961 * calc/README: Mention inclusion of musical notes.
17962
17963 * calc/calc-units.el (calc-lu-quant): Rename from
17964 `calc-logunits-quantity'.
17965 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17966 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17967 (calc-db): Rename from `calc-dblevel'.
17968 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17969 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17970 (calc-np): Rename from `calc-nplevel'.
17971 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17972 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17973 (calc-lu-plus): Rename from `calc-logunits-add'.
17974 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17975 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17976 (calc-lu-minus): Rename from `calc-logunits-sub'.
17977 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17978 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17979 (calc-lu-times): Rename from `calc-logunits-mul'.
17980 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17981 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17982 (calc-lu-divide): Rename from `calc-logunits-div'.
17983 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17984 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17985
17986 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17987 functions being autoloaded.
17988
17989 * calc/calc.el (calc-lu-power-reference): Rename from
17990 `calc-logunits-power-reference'.
17991 (calc-lu-field-reference): Rename from
17992 `calc-logunits-field-reference'.
17993
17994 * calc/calc-help.el (calc-l-prefix-help):
17995 Mention musical note functions.
17996
17997 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 * minibuffer.el (completion-all-sorted-completions):
18000 Use :completion-cycle-penalty text property if present.
18001
18002 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18003
18004 * allout.el (allout-yank-processing): Adjust for new rebulleting
18005 regime so bullet being yanked is used without prompting the user
18006 for a choice.
18007
18008 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18009
18010 * startup.el (command-line): Warn the user that _emacs is deprecated.
18011
18012 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18013
18014 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18015 (delphi-verbose, delphi-comment-face, delphi-string-face)
18016 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18017 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18018 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18019 (delphi-new-comment-line, delphi-font-lock-defaults)
18020 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18021 Fix typos in docstrings.
18022
18023 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18024
18025 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18026 Invert the roles of character and string values for INSTEAD, so a
18027 string is used for the more common case of a defaulting prompt.
18028
18029 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18030
18031 * progmodes/ruby-mode.el (ruby-backward-sexp):
18032 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18033 * play/gamegrid.el (gamegrid-make-face):
18034 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18035 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18036 * notifications.el (notifications-notify):
18037 * net/xesam.el (xesam-search-engines):
18038 * net/quickurl.el (quickurl-list-insert):
18039 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18040
18041 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18042
18043 * startup.el (command-line): Update package subdirectory regexp.
18044
18045 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18046
18047 * allout.el (allout-abbreviate-flattened-numbering)
18048 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18049
18050 * subr.el (read-char-choice): Only show the cursor after the prompt,
18051 not after the answer.
18052
18053 2011-03-15 Kevin Ryde <user42@zip.com.au>
18054
18055 * help-fns.el (variable-at-point): Skip leading quotes, if any
18056 (bug#8253).
18057
18058 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18059
18060 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18061 warning message.
18062
18063 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18064
18065 * shell.el (shell): When called interactively, offer to change the
18066 shell file name on remote hosts.
18067
18068 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18069
18070 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18071 integration for LDAP parameters. The host, base, user or binddn,
18072 and secret tokens can be specified in a netrc file, for instance.
18073 This is optional because an `auth-source' parameter must be
18074 specified in the search attributes.
18075
18076 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18077
18078 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18079
18080 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18081
18082 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18083 into declaration. Remove redundant and harmful binding.
18084
18085 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18086
18087 * files.el (file-ownership-preserved-p): Pass `integer' as an
18088 explicit 2nd argument to `file-attributes'. If the file's owner
18089 is the Administrators group on Windows, and the current user is
18090 Administrator, consider that a match.
18091
18092 * server.el (server-ensure-safe-dir): Consider server directory
18093 safe on MS-Windows if its owner is the Administrators group while
18094 the current Emacs user is Administrator. Use `=' to compare
18095 numerical UIDs, since they could be integers or floats.
18096
18097 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18098
18099 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18100
18101 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18102
18103 Sync with Tramp 2.2.1.
18104
18105 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18106
18107 * net/trampver.el: Update release number.
18108
18109 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18110
18111 * progmodes/compile.el (compilation--previous-directory): Fix up
18112 various nil/dead-marker mismatches (bug#8014).
18113 (compilation-directory-properties, compilation-error-properties):
18114 Don't call it at a position past the one we're about to change.
18115
18116 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18117 Disable obsolescence warnings in the file that declares it.
18118
18119 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18120
18121 * allout-widgets.el (allout-widgets-tally):
18122 Initialize allout-widgets-tally as a hash table rather than nil to
18123 prevent mode-line redisplay warnings. Also, clarify the module
18124 description and fix a comment typo.
18125
18126 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18127
18128 * help-fns.el (describe-variable): Don't complete keywords.
18129 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18130
18131 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18132
18133 * emacs-lisp/package.el (package-version-join): Impose a standard
18134 string representation for pre/alpha/beta version lists.
18135 (package-unpack-single): Standardize the directory name by passing
18136 it through package-version-join.
18137 (package-strip-rcs-id): Accept any version string that does not
18138 signal an error in version-to-list.
18139
18140 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18141
18142 * simple.el (delete-trailing-whitespace): Return nil for the
18143 benefit of `write-file-functions'.
18144
18145 2011-03-10 Glenn Morris <rgm@gnu.org>
18146
18147 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18148
18149 * vc/vc-git.el (vc-git-program): New option.
18150 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18151 (vc-git--call): Use it.
18152
18153 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18154
18155 * cus-edit.el (Custom-newline): If no button at point, look
18156 for a subgroup button at start-of-line. (Bug#2298)
18157
18158 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18159
18160 2011-03-10 Julien Danjou <julien@danjou.info>
18161
18162 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18163 `cursor-type' is nil.
18164
18165 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18166
18167 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18168
18169 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18170
18171 * allout.el: Change so yank of distinctive-bullet items
18172 preserves the existing header prefix, rebulleting it if necessary,
18173 rather than replacing it. This is necessary for proper operation
18174 of cooperative addons like allout-widgets.
18175 (allout-make-topic-prefix, allout-rebullet-heading):
18176 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18177 value as alternate bullet to be used, instead of prompting the user
18178 for a bullet character.
18179
18180 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18181
18182 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18183 Do not use `tramp-file-name-port', because this returns also
18184 `tramp-default-port'.
18185
18186 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18187
18188 * net/rcirc.el (rcirc-handler-001): Remove useless
18189 with-rcirc-process-buffer.
18190 (rcirc-check-auth-status): Swap arguments to string-match.
18191
18192 2011-03-09 Glenn Morris <rgm@gnu.org>
18193
18194 * shell.el (shell-mode):
18195 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18196
18197 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18198 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18199
18200 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18201
18202 * emacs-lisp/package.el (package-refresh-contents)
18203 (package-menu-execute): Use condition-case-no-debug.
18204
18205 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18206
18207 * simple.el (shell-command-to-string): Use `process-file'.
18208
18209 * emacs-lisp/package.el (package-tar-file-info): Handle also
18210 remote files.
18211
18212 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18213 Use `equal' for upload base check.
18214
18215 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18216
18217 * textmodes/texinfo.el (texinfo-environments):
18218 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18219
18220 2011-03-08 Glenn Morris <rgm@gnu.org>
18221
18222 * cus-start.el (cursor-in-non-selected-windows):
18223 Fix :set quoting oddness. (Bug#8192)
18224
18225 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18226 in some setf expressions. (Bug#2159)
18227
18228 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18229
18230 * custom.el (custom-available-themes): Return themes in
18231 alphabetical order.
18232
18233 See ChangeLog.15 for earlier changes.
18234
18235 ;; Local Variables:
18236 ;; coding: utf-8
18237 ;; End:
18238
18239 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18240
18241 This file is part of GNU Emacs.
18242
18243 GNU Emacs is free software: you can redistribute it and/or modify
18244 it under the terms of the GNU General Public License as published by
18245 the Free Software Foundation, either version 3 of the License, or
18246 (at your option) any later version.
18247
18248 GNU Emacs is distributed in the hope that it will be useful,
18249 but WITHOUT ANY WARRANTY; without even the implied warranty of
18250 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18251 GNU General Public License for more details.
18252
18253 You should have received a copy of the GNU General Public License
18254 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.