* emacs.c (main): Convert three 'signal' calls to 'sigaction' calls.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
74c582e6
CY
12012-09-07 Chong Yidong <cyd@gnu.org>
2
c640e87d
CY
3 * simple.el (count-words--buffer-message): Fix narrowing check.
4
74c582e6
CY
5 * help.el (describe-key-briefly): Allow the message to be seen
6 when invoked from the minibuffer (Bug#7014).
7
d81ceaaf
DG
82012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9
10 * progmodes/ruby-mode.el (ruby-end-of-defun)
11 (ruby-beginning-of-defun): Simplify, allow indentation before
12 block beginning and end keywords.
8f06acce
DG
13 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
14 (ruby-end-of-defun): Expect that the point is at the beginning of
15 the defun.
d81ceaaf 16
d458ef98
SM
172012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
20 (bug#12367).
21 (cl--make-usage-args): Strip _ from argument names.
22
20367d28
RS
232012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
24
25 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
26 obsolete alias speedbar-key-map.
27 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
28 (vhdl-index-menu-init): Don't use obsolete variable
29 font-lock-maximum-size.
30
3424a4f6
CY
312012-09-06 Chong Yidong <cyd@gnu.org>
32
33 * frame.el (window-system-version): Mark as obsolete.
34
fcbfbdea
CY
35 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
36 of obsolete variable speedbar-key-map.
37
826b3235
JL
382012-09-06 Juri Linkov <juri@jurta.org>
39
40 * replace.el (replace-lax-whitespace): New defcustom.
41 (query-replace, query-replace-regexp, query-replace-regexp-eval)
42 (replace-string, replace-regexp): Mention it in docstrings.
43 (perform-replace, replace-highlight): Let-bind
44 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
45 to the values of replace-lax-whitespace and regexp-flag.
46 Don't let-bind search-whitespace-regexp. (Bug#10885)
47
48 * isearch.el (isearch-query-replace): Let-bind
49 replace-lax-whitespace instead of let-binding
50 replace-search-function and replace-re-search-function.
51 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
52 and isearch-regexp-lax-whitespace to lazy-highlight variables.
53 (isearch-toggle-symbol): Set isearch-regexp to nil
54 in isearch-word mode (like in isearch-toggle-word).
55
1ec5e41d
JL
562012-09-06 Juri Linkov <juri@jurta.org>
57
58 * replace.el (replace-search-function)
59 (replace-re-search-function): Set default values to nil.
60 (perform-replace): Let-bind isearch-related variables based on
61 replace-related values, call `isearch-search-fun' and let-bind
62 the result to `search-function'. Remove code that sets
63 `search-function' and `search-string' separately for
64 `delimited-flag'.
65 (replace-highlight): Add new argument `delimited-flag' and
66 rename other arguments to the names used in `perform-replace'.
67 Let-bind `isearch-word' to the argument `delimited-flag'.
68 (Bug#10885, bug#10887)
69
0ba2d4b6
DG
702012-09-07 Dmitry Gutov <dgutov@yandex.ru>
71
72 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
73 ruby-beginning-of-indent, simplify, allow all keywords to have
74 indentation before them.
75 (ruby-beginning-of-indent): Adjust for above. Search until the
76 found point is not inside a string or comment.
77 (ruby-font-lock-keywords): Allow symbols to start with "@"
78 character, give them higher priority than variables.
79 (ruby-syntax-propertize-function)
80 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
81 matchers. Expression expansions are not comments when inside a
82 string, and there comment syntax status is irrelevant.
83 (ruby-match-expression-expansion): New function. Check that
84 expression expansion is inside a string, and it's not escaped.
85 (ruby-font-lock-keywords): Use it.
86
ef654460
MR
872012-09-05 Martin Rudalics <rudalics@gmx.at>
88
89 * help.el (temp-buffer-max-height): New default value.
90 (temp-buffer-resize-frames): New option.
91 (resize-temp-buffer-window): Optionally resize frame.
92
93 * window.el (fit-frame-to-buffer-bottom-margin): New option.
94 (fit-frame-to-buffer): New function.
95
7e570fbf 962012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
97
98 * emulation/cua-rect.el (cua--init-rectangles):
99 * textmodes/picture.el (picture-mode-map):
100 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
101 like forward-char and backward-char. (Bug#12317)
102
7e570fbf 1032012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
104
105 * progmodes/flymake.el (flymake-warning-re): New variable.
106 (flymake-parse-line): Use it.
107
7e570fbf 1082012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
109
110 * calendar/holidays.el (holiday-christian-holidays):
111 Rename an entry. (Bug#12289)
112
7e570fbf 1132012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
114
115 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
116 (bug#12222).
117
972debf2
SM
1182012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * loadup.el: Load macroexp. Remove hack.
121 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
122 (macroexp--expand-all): Use it to get better warnings.
123 (macroexp--backtrace, macroexp--trim-backtrace-frame)
124 (internal-macroexpand-for-load): New functions.
125 (macroexp--pending-eager-loads): New var.
126 (emacs-startup-hook): New hack to replace one in loadup.el.
127 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
128 (cl--compiler-macro-cXXr): Move to top, before they can be used.
129 (cl-psetf): Simplify.
130 (cl-defstruct): Add indent rule.
131
8ce192e3
LI
1322012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
133
134 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
135 over `user-mail-address' for the SMTP MAIL FROM envelope.
136 (smtpmail-via-smtp): Ditto.
137
6578b4d8
DG
1382012-09-04 Dmitry Gutov <dgutov@yandex.ru>
139
140 * progmodes/ruby-mode.el: Clean up keybindings.
141 (ruby-mode-map): Don't bind ruby-electric-brace,
142 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
143 backward-kill-word, reindent-then-newline-and-indent.
144 (ruby-mark-defun): Remove.
145 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
146 (ruby-mode): Set local beginning-of-defun-function and
147 end-of-defun-function values.
148
c5e28e39
MR
1492012-09-03 Martin Rudalics <rudalics@gmx.at>
150
151 * window.el (temp-buffer-window-setup-hook)
152 (temp-buffer-window-show-hook): New hooks.
153 (temp-buffer-window-setup, temp-buffer-window-show)
154 (with-temp-buffer-window): New functions.
972debf2
SM
155 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
156 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
157
158 * help.el (temp-buffer-resize-mode): Fix doc-string.
159 (resize-temp-buffer-window): New optional argument WINDOW.
160
161 * files.el (recover-file, save-buffers-kill-emacs):
162 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
163
73406194
MA
1642012-09-02 Michael Albinus <michael.albinus@gmx.de>
165
166 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
167 remote definition of `default-directory', ensure we can connect.
168
63dd1c6f
JL
1692012-09-02 Juri Linkov <juri@jurta.org>
170
171 Toggle whitespace matching mode with M-s SPC.
172 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
173
174 * isearch.el (search-whitespace-regexp): Doc fix.
175 Remove cons cell customization.
176 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
177 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
178 New variables.
179 (isearch-forward, isearch-forward-regexp): Doc fix.
180 (isearch-toggle-lax-whitespace): New command.
181 (search-forward-lax-whitespace, search-backward-lax-whitespace)
182 (re-search-forward-lax-whitespace)
183 (re-search-backward-lax-whitespace): New functions.
184 (isearch-whitespace-regexp): Remove function.
185 (isearch-query-replace): Let-bind replace-search-function and
186 replace-re-search-function.
187 (isearch-occur): Let-bind search-spaces-regexp according to the
188 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
189 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
190 condition for C-q SPC.
191 (isearch-search-fun-default): Use new functions mentioned above.
192 (isearch-search-forward, isearch-search-backward): Remove functions.
193 (isearch-search): Don't let-bind search-spaces-regexp.
194 (isearch-lazy-highlight-space-regexp): Remove variable.
195 (isearch-lazy-highlight-lax-whitespace)
196 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
197 (isearch-lazy-highlight-new-loop): Use them.
198 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
199
af7dda05
CY
2002012-09-02 Chong Yidong <cyd@gnu.org>
201
202 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
203
d67d3afd
GM
2042012-09-02 Glenn Morris <rgm@gnu.org>
205
206 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
207
69678719
GM
2082012-09-01 Glenn Morris <rgm@gnu.org>
209
210 * term.el: Tidy up menu definitions.
211 (term-mode-map): Use easymenu for In/Out, Complete menus.
212 (term-pager-break-map): Initialize in the defvar.
213 (term-terminal-menu, term-signals-menu): Define with easymenu.
214 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
215 (term-pager-menu): New, extracted from term-process-pager.
216 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
217 (term-update-mode-line): Propertize line/char and page items.
218 (term-process-pager): Move keymap initialization elsewhere.
219
78dd6ab1
MR
2202012-09-01 Martin Rudalics <rudalics@gmx.at>
221
222 * window.el (switch-to-prev-buffer): Handle additional values of
223 BURY-OR-KILL argument. Don't switch in minibuffer window.
224 (switch-to-next-buffer): Don't switch in minibuffer window.
225 (quit-restore-window): New function based on quit-window.
226 Handle additional values of former KILL argument.
227 (quit-window): Call quit-restore-window with appropriate
228 interpretation of KILL argument.
229 (display-buffer-below-selected): New buffer display action
230 function.
231
3d10e134
SM
2322012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * minibuffer.el (completion-at-point-functions): Complete docstring
235 (bug#12254).
236
0e23ef9d
PE
2372012-09-01 Paul Eggert <eggert@cs.ucla.edu>
238
239 Better seed support for (random).
240 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
241 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
242 * play/mpuz.el, play/tetris.el, play/zone.el:
243 * calc/calc-comb.el (math-init-random-base):
244 * play/blackbox.el (bb-init-board):
245 * play/life.el (life):
246 * server.el (server-use-tcp):
247 * type-break.el (type-break):
248 Remove unnecessary call to (random t).
249 * net/sasl.el (sasl-unique-id-function):
250 Change (random t) to (random), now that the latter is more random.
251 * play/life.el (life-initialized): Remove no-longer-needed var.
252
862382df
MR
2532012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
254
255 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
256 Consider frame's buffer predicate when choosing the buffer.
257 (Bug#12081)
258
262a66e1
RS
2592012-08-30 Richard Stallman <rms@gnu.org>
260
261 * simple.el (special-mode-map): Delete binding for `z'.
262
f17e1d00
AS
2632012-08-30 Andreas Schwab <schwab@linux-m68k.org>
264
265 * progmodes/compile.el (compilation-always-kill): Doc fix.
266
24777832
CY
2672012-08-30 Chong Yidong <cyd@gnu.org>
268
269 * window.el (display-buffer-reuse-frames): Make the obsolescence
270 message more informative.
271
69ba1f04
GM
2722012-08-30 Glenn Morris <rgm@gnu.org>
273
274 * paren.el (show-paren-delay):
275 Add a :set function. Doc fix. (Bug#12297)
276
f0019ede
MB
2772012-08-29 Martin Blais <blais@furius.ca> (tiny change)
278
279 * progmodes/compile.el (compilation-always-kill): New var.
280 (compilation-start): Use it.
281
35e62fc9
SM
2822012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
283
af070a1c
SM
284 * simple.el (read-only-mode): Move from files.el for bootstrapping.
285 * files.el (read-only-mode): Move to simple.el.
286
35e62fc9
SM
287 * files.el (read-only-mode): New minor mode.
288 (toggle-read-only): Use it and mark obsolete.
289 (find-file--read-only):
290 * vc/vc.el (vc-next-action, vc-checkout):
291 * vc/vc-cvs.el (vc-cvs-checkout):
292 * obsolete/vc-mcvs.el (vc-mcvs-update):
293 * ffap.el (ffap--toggle-read-only): Update callers.
294
c2c43c23
MA
2952012-08-29 Michael Albinus <michael.albinus@gmx.de>
296
297 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
298 remote shell scripts.
299 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
300
301 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
302 "/usr/local/sbin".
303
9fba804b
SM
3042012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
307
eada0861 3082012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 309
806f0cc7
LL
310 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
311 completion-at-point. (Bug#12220)
312
3bb213b9
LL
313 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
314
22ab32ef
LL
315 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
316
eada0861 3172012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 318
19c17fc1
CY
319 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
320 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 321
eada0861 3222012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
323
324 * progmodes/hideif.el (hif-compress-define-list):
325 Fix typo. (Bug#11951)
326
eada0861 3272012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
328
329 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
330 buffer local setting.
331
27d6c5a8
LL
332 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
333 rcirc-encode-coding-system.
334
eada0861 3352012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
336
337 * net/rcirc.el (rcirc-split-message): New function.
338 (rcirc-send-message): Use it. (Bug#12051)
339
d44688e4
JL
3402012-08-28 Juri Linkov <juri@jurta.org>
341
342 * info.el (Info-fontify-node): Hide empty lines at the end of
343 the node. (Bug#12272)
344
34f10d41
MR
3452012-08-27 Drew Adams <drew.adams@oracle.com>
346
347 * dired.el (dired-pop-to-buffer): Make window start at beginning
348 of buffer (Bug#12281).
349
77f1f99c
CY
3502012-08-26 Chong Yidong <cyd@gnu.org>
351
352 * window.el (special-display-regexps, special-display-frame-alist)
353 (special-display-buffer-names, special-display-function)
354 (display-buffer-reuse-frames): Mark as obsolete.
355
356 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
357
358 * help.el (help-print-return-message): Don't treat
359 display-buffer-reuse-frames specially.
360
d97af5a0
CY
3612012-08-26 Chong Yidong <cyd@gnu.org>
362
9fba804b
SM
363 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
364 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
365 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
366 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
367 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
368 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
369 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
370 the functions directly with gdb-display-buffer-other-frame-action.
371 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
372 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
373 (gdb-display-stack-buffer, gdb-display-locals-buffer)
374 (gdb-display-registers-buffer): Define directly.
375 (def-gdb-display-buffer): Macro deleted.
376 (gdb-display-buffer): Remove second and third args, callers don't
377 use them. Defer to the default display-buffer behavior, apart
378 from making windows dedicated.
379 (gdb-setup-windows): Don't call display-buffer unnecessarily.
380
381 * progmodes/gud.el (gud-display-line): Just use display-buffer.
382
383 * window.el (display-buffer-pop-up-frame): Handle a
384 pop-up-frame-parameters alist entry.
385 (display-buffer): Document it.
386
dd7ffad6
CY
3872012-08-26 Chong Yidong <cyd@gnu.org>
388
389 * isearch.el (search-whitespace-regexp): Make string and nil
390 values apply to both ordinary and regexp search. Allow a cons
391 cell value to distinguish between the two.
392 (isearch-whitespace-regexp, isearch-search-forward)
393 (isearch-search-backward): New functions.
394 (isearch-occur, isearch-search-fun-default, isearch-search)
395 (isearch-lazy-highlight-new-loop): Use them.
396 (isearch-forward, isearch-forward-regexp): Doc fix.
397
4c47bd1e
CY
3982012-08-26 Chong Yidong <cyd@gnu.org>
399
400 * faces.el (help-argument-name): Always inherit from italic
401 (Bug#12213).
402
9aba119d
MR
4032012-08-25 Martin Rudalics <rudalics@gmx.at>
404
405 * window.el (window--even-window-heights): Even heights when
406 WINDOW and the selected window form a vertical combination.
407 (display-buffer-use-some-window): Provide that window used gets
408 sized back by quit-window. (Bug#11880) and (Bug#12091)
409
ca5256ad
PE
4102012-08-24 Paul Eggert <eggert@cs.ucla.edu>
411
412 Fix file time stamp problem with bzr and CVS (Bug#12001).
413 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
414 in the file's time stamp, since the version control system loses
415 that information.
416
d1c0d176
JL
4172012-08-22 Juri Linkov <juri@jurta.org>
418
419 * info.el (Info-fontify-node): Hide the suffix of the
420 Info file name in the header line. (Bug#12187)
421
141562ff
GM
4222012-08-22 Glenn Morris <rgm@gnu.org>
423
424 * calendar/cal-tex.el (cal-tex-weekly-common):
425 Restore leading blank page.
426
61a48e19 4272012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
428
429 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
430 the region under `shift-select-mode'. (Bug#12231)
431
4322012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
433
434 * progmodes/executable.el (executable-prefix): Set to "#!" instead
435 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
436 gives details on why the space is never needed.
437
ea95074e
MR
4382012-08-22 Martin Rudalics <rudalics@gmx.at>
439
9fba804b
SM
440 * window.el (walk-window-tree, window-with-parameter):
441 New optional argument MINIBUF to control whether these functions
ea95074e
MR
442 should run on the minibuffer window.
443 (window-at-side-list): Don't operate on minibuffer window.
444 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
445 (window--size-ignore): Rename to window--size-ignore-p.
446 Update callers.
caceae25
MR
447 (display-buffer-in-atom-window, window--major-non-side-window)
448 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
449 (delete-side-window, display-buffer-in-side-window):
450 New functions.
caceae25
MR
451 (window--side-check, window-deletable-p, delete-window)
452 (delete-other-windows, split-window): Handle side windows and
453 atomic windows appropriately.
454 (window--display-buffer): Call display-buffer-record-window also
455 when the window buffer did not change.
ea95074e 456
80a51fa0
CS
4572012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
458
459 * help-fns.el (help-fns--key-bindings):
460 Abbreviate non-symbol remap targets. (Bug#12174)
461
fbb6300b
MR
4622012-08-22 Martin Rudalics <rudalics@gmx.at>
463
464 * dired.el (dired-mark-remembered): Don't clobber point.
465 (Bug#11795)
466
2b2c0794
GM
4672012-08-22 Glenn Morris <rgm@gnu.org>
468
469 * progmodes/bug-reference.el (bug-reference): New custom group.
470 (bug-reference-bug-regexp): Make it a defcustom.
471
37219830
DU
4722012-08-22 Daiki Ueno <ueno@unixuser.org>
473
474 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
475 (js-paren-indent-offset, js-square-indent-offset)
476 (js-curly-indent-offset): Add :safe (Bug#12257).
477
94e0e559
EC
4782012-08-22 Edward O'Connor <hober0@gmail.com>
479
480 * json.el (json-key-format): Add error properties.
481 (json-encode-key): New function.
482 (json-encode-hash-table, json-encode-alist, json-encode-plist):
483 Use json-encode-key.
484
da485f5e
GM
4852012-08-22 Glenn Morris <rgm@gnu.org>
486
487 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
488 (cal-tex-leftday, cal-tex-rightday): Remove functions.
489 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
490 Update for above change.
491
c6cc78b8
AS
4922012-08-21 Andreas Schwab <schwab@linux-m68k.org>
493
494 * cus-face.el (custom-face-attributes): Fix customize type for the
495 :underline attribute. (Bug#11805)
496
5481664a
MR
4972012-08-21 Martin Rudalics <rudalics@gmx.at>
498
499 * window.el (window-point-1, set-window-point-1): Remove.
500 (window-in-direction, record-window-buffer)
501 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
502 (window--state-get-1, display-buffer-record-window):
503 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
504 window-point and set-window-point respectively.
505
6d74698e
GM
5062012-08-21 Glenn Morris <rgm@gnu.org>
507
b7fa2691
GM
508 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
509 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
510 Use it.
511
52f56d5a
GM
512 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
513 (cal-tex-shortday): New function.
514 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
515 (cal-tex-cursor-filofax-daily): Use the above.
516
9f1ee09e
GM
517 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
518 New functions.
519 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
520 (cal-tex-cursor-filofax-week): Use them.
521
79858159
GM
522 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
523 New constants.
524 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
525 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
526
d346b2b4
GM
527 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
528 (cal-tex-end-document): Don't rely on buffer name.
529
b2403709
GM
530 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
531 Use cal-tex-vspace.
532 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
533 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
534 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
535 Use cal-tex-arg.
b2403709 536
1cebb5c0
GM
537 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
538 (cal-tex-cursor-week, cal-tex-cursor-week2)
539 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
540 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
541 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
542 (cal-tex-insert-preamble, cal-tex-b-document)
543 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
544 Improve cal-tex-cmd usage.
545
c68cd5d4
GM
546 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
547 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
548 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
549 (cal-tex-weekly-paper): New function.
550 (cal-tex-cursor-week, cal-tex-cursor-week2)
551 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
552 (cal-tex-cursor-day): Use it.
553
9dca4801
GM
554 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
555 (cal-tex-cursor-filofax-week): Remove leading blank page.
556
1941e134
GM
557 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
558 Add autoload cookie. For now at least, don't use color, since
559 no other cal-tex function does.
560
6d74698e
GM
561 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
562 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
563 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
564
64cde199
JL
5652012-08-21 Juri Linkov <juri@jurta.org>
566
567 * info.el (Info-file-attributes): New variable.
568 (info-insert-file-contents): Add file attributes to
569 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
570 `Info-toc-nodes' when previous modtime of the Info file is less
571 than new modtime.
572 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
573 of info.el. (Bug#12230)
574
32757648
GM
5752012-08-20 Glenn Morris <rgm@gnu.org>
576
577 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
578 * calendar/holidays.el (calendar-holiday-list):
579 Report errors with display-warning rather than beep'n'sleep.
580
a32fbbcf
MA
5812012-08-20 Michael Albinus <michael.albinus@gmx.de>
582
583 * net/tramp.el (tramp-accept-process-output): Accept only output
584 from PROC. Otherwise, process filters and sentinels might be
585 confused. (Bug#12145)
586
a05731a0
CY
5872012-08-20 Chong Yidong <cyd@gnu.org>
588
589 * descr-text.el (describe-text-properties-1): Use overlays-in to
590 report on empty overlays (Bug#3322).
591
36e8d1eb
GM
5922012-08-20 Glenn Morris <rgm@gnu.org>
593
3d300447
GM
594 * mail/rmailout.el (rmail-output-read-file-name):
595 Trap and report errors in rmail-output-file-alist elements.
596
36e8d1eb
GM
597 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
598 since most non-font-lock faces are not also variables).
599
b96e5814
ER
6002012-08-20 Edward Reingold <reingold@iit.edu>
601
602 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
603 New function. (Bug12160)
604
7cef3569
GM
6052012-08-19 Glenn Morris <rgm@gnu.org>
606
607 * mail/rmailout.el (rmail-output-read-file-name):
608 Fix previous change (when the alist is nil or does not match).
609
17975d7f
CY
6102012-08-19 Chong Yidong <cyd@gnu.org>
611
612 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
613 (Bug#12228).
614
2170b1bd
CY
6152012-08-18 Chong Yidong <cyd@gnu.org>
616
617 * simple.el (yank-handled-properties): New defcustom.
618 (yank-excluded-properties): Add font-lock-face and category.
619 (yank): Doc fix.
620
9fba804b
SM
621 * subr.el (remove-yank-excluded-properties):
622 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
623 and category is now done this way, instead of being hard-coded.
624 (insert-for-yank-1): Remove font-lock-face handling.
625 (yank-handle-font-lock-face-property)
626 (yank-handle-category-property): New function.
627
ee218151
GM
6282012-08-17 Glenn Morris <rgm@gnu.org>
629
630 * mail/rmailout.el (rmail-output-read-file-name):
631 Check rmail-output-file-alist against the full message body
632 in the correct rmail buffer. (Bug#12214)
633
4a6bc3fd
MA
6342012-08-17 Michael Albinus <michael.albinus@gmx.de>
635
9fba804b
SM
636 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
637 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 638
383dcbf9
CY
6392012-08-17 Chong Yidong <cyd@gnu.org>
640
641 * mouse.el (mouse-appearance-menu): If x-select-font returns a
642 font spec, set the font directly (Bug#3228).
643
998c4a6a
MR
6442012-08-17 Martin Rudalics <rudalics@gmx.at>
645
646 * window.el (delete-window): Fix last fix.
647
52162052
MR
6482012-08-16 Martin Rudalics <rudalics@gmx.at>
649
650 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
651 (window-child, window-child-count, window-last-child)
652 (window-normalize-window, window-combined-p)
653 (window-combinations, window-atom-root, window-min-size)
654 (window-sizable, window-sizable-p, window-size-fixed-p)
655 (window-min-delta, window-max-delta, window--resizable)
656 (window--resizable-p, window-resizable, window-total-size)
657 (window-full-height-p, window-full-width-p, window-body-size)
658 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
659 (minimize-window, window-deletable-p, delete-window)
660 (delete-other-windows, set-window-buffer-start-and-point)
661 (next-buffer, previous-buffer, split-window, balance-windows-2)
662 (set-window-text-height, window-buffer-height)
663 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
664 (truncated-partial-width-window-p): Minor code adjustments.
665 In doc-strings state whether the argument window has to denote a
85c2386b 666 live, valid or any window.
52162052 667
1c308380
PS
6682012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
669
670 * progmodes/subword.el (subword-forward-function)
671 (subword-backward-function, subword-forward-regexp)
672 (subword-backward-regexp): New variables.
673 (subword-forward, subword-forward-internal, subword-backward-internal):
674 Use new variables, eg so that different "word" definitions
675 can be easily used. (Bug#11411)
676
94c9ece1
SM
6772012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
680 for composite selectors.
681 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
682 operation just because we can't find a previous revision.
683
f2045622
CY
6842012-08-15 Chong Yidong <cyd@gnu.org>
685
686 * frame.el (set-frame-font): Accept font objects.
687
582db660
SM
6882012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
691
2f29c200
WJ
6922012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
693
456e62c2
WJ
694 * man.el (Man-overstrike-face, Man-underline-face)
695 (Man-reverse-face): Remove variables.
696 (Man-overstrike, Man-underline, Man-reverse): New faces.
697 (Man-fontify-manpage): Use them instead of the variables.
698 (Man-cleanup-manpage): Comment change.
699 (Man-ansi-color-map): New variable.
700 (Man-fontify-manpage): Use it.
701 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
702
2f29c200
WJ
703 Implement ANSI SGR parameters 22-27 (bug#12146).
704 * ansi-color.el (ansi-colors): Doc fix.
705 (ansi-color-context, ansi-color-context-region): Doc fix.
706 (ansi-color--find-face): New function.
707 (ansi-color-apply, ansi-color-apply-on-region): Use it.
708 Rename the local variable `face' to `codes' since it is now a list of
709 ansi codes. Doc fix.
710 (ansi-color-get-face): Remove.
711 (ansi-color-parse-sequence): New function, derived from
712 ansi-color-get-face.
713 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
714 codes 22-27.
715
b4f5e9df
SM
7162012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * subr.el (read-passwd): Allow use from a minibuffer.
719
ba025fbd
EZ
7202012-08-14 Eli Zaretskii <eliz@gnu.org>
721
722 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
723 inside comments and strings as identifiers.
724
725 * progmodes/gud.el (gud-tooltip-print-command): Quote the
726 expression to evaluate. This allows to evaluate expressions with
727 embedded whitespace.
728 (gud-tooltip-tips): Add a blank before the newline in the
729 message-box text, for the benefit of message-box emulation on
730 MS-Windows.
731
732 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
733 messages from GDB, pop them up in a tooltip to give feedback to
734 user.
b4f5e9df
SM
735 (gdb-tooltip-print-1): Quote the expression to evaluate.
736 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
737 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
738 if the TTY name is nil or empty (which happens when communicating
739 with the inferior via pipes, e.g. on MS-Windows).
740 (gdb-internals): If GDB sends a "&\n" empty debugging message,
741 don't send that to the GUD buffer.
742
c548f821
GM
7432012-08-14 Glenn Morris <rgm@gnu.org>
744
745 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
746 Optimize away setq-default with no args, as for setq. (Bug#12195)
747
55802e4a
CY
7482012-08-14 Chong Yidong <cyd@gnu.org>
749
4abcdac8
CY
750 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
751
55802e4a
CY
752 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
753 (Bug#12085).
754
3c3cda1a
GM
7552012-08-14 Glenn Morris <rgm@gnu.org>
756
757 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
758
e1873bd0
MA
7592012-08-14 Michael Albinus <michael.albinus@gmx.de>
760
761 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
762 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
763 Use cached shell name.
764
925411b4
FEG
7652012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
766
767 * progmodes/python.el (python-shell-send-string):
3c3cda1a 768 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 769
e636fafe
DG
7702012-08-14 Dmitry Gutov <dgutov@yandex.ru>
771
772 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
773 (ruby-percent-literal-beg-re): New constant.
774 (ruby-syntax-general-delimiters-goto-beg): Rename to
775 `ruby-syntax-enclosing-percent-literal', improve literal type check.
776 (ruby-syntax-propertize-general-delimiters): Rename to
777 `ruby-syntax-propertize-percent-literal', it's a shorter and more
778 popular term. Adjust comments everywhere.
779 (ruby-syntax-propertize-percent-literal): Only propertize when not
780 inside a simple string or comment. When the literal is unclosed,
781 leave the text after it unpropertized.
f063063a
DG
782 (ruby-syntax-methods-before-regexp): New constant.
783 (ruby-syntax-propertize-function): Use it to recognize regexps.
784 Don't look at the text after regexp, just use the whitelist.
e636fafe 785
e5b19827
AS
7862012-08-14 Andreas Schwab <schwab@linux-m68k.org>
787
788 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
789 non-nil always load the compiled file if it exists. (Bug#12197)
790
a9f6f311
CY
7912012-08-14 Chong Yidong <cyd@gnu.org>
792
793 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
794 (hi-lock-set-pattern): When deciding whether to use font lock or
795 overlays, look at font-lock-mode instead of font-lock-fontified
796 (Bug#12168).
797 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
798 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
799
7d806b1e
DU
8002012-08-14 Daiki Ueno <ueno@unixuser.org>
801
802 * subr.el (internal--after-with-selected-window): Fix typo
803 (Bug#12193).
804
5beed586
FEG
8052012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
806
807 Use `completion-table-dynamic' for completion functions.
808 * progmodes/python.el
809 (python-shell-completion--do-completion-at-point)
e636fafe
DG
810 (python-shell-completion--get-completions):
811 Remove functions.
5beed586
FEG
812 (python-shell-completion-complete-at-point): New function.
813 (python-completion-complete-at-point): Use it.
814
92cb3b04
J
8152012-08-13 Jambunathan K <kjambunathan@gmail.com>
816
817 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
818 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
819
89660017
SM
8202012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
821
3c98c962
SM
822 * subr.el (function-get): Refine `autoload' arg so it can also
823 autoload functions for gv.el (bug#12191).
824 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
825 autoloads macros.
826
aa7c6dbe
SM
827 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
828 Prefer pcase-let over destructuring-bind.
829 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
830 Also, remove whitespace as we go, rather than after accumulating the
831 various places.
832
89660017
SM
833 * subr.el (internal--before-with-selected-window)
834 (internal--after-with-selected-window): Fix typo seleted->selected.
835 (with-selected-window): Adjust callers.
836 Reported by Dmitry Gutov <dgutov@yandex.ru>.
837
31cd32c9
BG
8382012-08-13 Bastien Guerry <bzg@gnu.org>
839
0fcd3d9f 840 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
841 enhancement. (Bug#12172)
842
1b15d8ad
AS
8432012-08-13 Andreas Schwab <schwab@linux-m68k.org>
844
31e54db0
AS
845 * tar-mode.el (tar-header-data-end): Only ignore size for files of
846 type 1-6.
847 (tar-header-block-summarize, tar-get-descriptor): Handle pax
848 extended headers.
849
1b15d8ad
AS
850 * files.el (hack-local-variables-filter): Remove useless eval.
851
35cb9c06
MR
8522012-08-13 Martin Rudalics <rudalics@gmx.at>
853
854 * subr.el (with-selected-window): Fix last change.
855
1439443b
SM
8562012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * subr.el (internal--before-with-seleted-window)
859 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
860 (with-selected-window): Use them, to replace dependency on
861 tty-top-frame.
1439443b 862
0d9e2599
NN
8632012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
864
865 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
866 binding for `newline'.
867 (ruby-move-to-block): When moving backward, stop at block opening,
868 not indentation.
869 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
870 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
871 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
872 `ruby-toggle-block'.
873
ba10c48c
SM
8742012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * ibuffer.el (ibuffer-do-toggle-read-only):
877 * dired.el (dired-toggle-read-only):
878 * buff-menu.el (Buffer-menu-toggle-read-only):
879 * bindings.el (mode-line-toggle-read-only):
880 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
881
9229c658
AS
8822012-08-12 Andreas Schwab <schwab@linux-m68k.org>
883
884 * descr-text.el (describe-char): Put the overlays over the
885 "displayed as" character.
886
0fd09128
JB
8872012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
888
889 * calc/calc-units.el (math-default-units-table): Give an
890 initial value.
891 (math-put-default-units): Add options to put composite units and
892 unit systems in the default units table.
893 (calc-convert-units): Send composite units to
894 `math-put-default-units' when appropriate.
895
9ff9402d 8962012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 897
fbb5e336
GM
898 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
899
7aacaf15
GM
900 * tutorial.el (help-with-tutorial):
901 * emacs-lisp/copyright.el (copyright-update-directory):
902 * emacs-lisp/autoload.el (autoload-find-generated-file)
903 (autoload-find-file): Disable local eval: (for insurance).
904
f40b9f10
GM
905 * files.el (hack-local-variables-filter): If an eval: form is not
906 known to be safe, and enable-local-variables is :safe, then ignore
907 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 908 This is CVE-2012-3479.
f40b9f10 909
daa9f1a6
SM
9102012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
913 (rx-form): Simplify.
914
9cd80478
DG
9152012-08-09 Dmitry Gutov <dgutov@yandex.ru>
916
0d9e2599
NN
917 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
918 ?, _, and : are symbol constituents, ! is not (but kinda should be).
919 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
920 (ruby-syntax-propertize-function): Adjust for changes in
921 `ruby-syntax-propertize-heredoc'.
922
9232012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
924
9cd80478
DG
925 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
926 binding (use `M-;' instead).
9cd80478 927 (ruby-singleton-class-p): New function.
0d9e2599 928 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 929
d301b413
SM
9302012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
933
1530c98e
CY
9342012-08-10 Chong Yidong <cyd@gnu.org>
935
936 * progmodes/python.el (python-shell-get-process-name): Don't mess
937 with same-window-buffer-names.
938
939 * eshell/eshell.el (eshell-add-to-window-buffer-names)
940 (eshell-remove-from-window-buffer-names): Make obsolete.
941 (eshell-buffer-name, eshell-unload-hook): Don't use them.
942 (eshell): Just use pop-to-buffer-same-window instead.
943
e1293765
CY
9442012-08-10 Chong Yidong <cyd@gnu.org>
945
946 * bindings.el: Bind M-= back to count-words-region.
947
948 * simple.el (count-words-region): Accept a prefix arg for acting
949 on the entire buffer.
950 (count-words--buffer-message): New helper function.
951
e1894109
SM
9522012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
955 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
956 (event-start, event-end): Use posn-at-point to return a more
957 informative posn.
958 (posnp): New function.
959 * mouse.el (popup-menu-normalize-position): Use it.
960
c69f56a2
MY
9612012-08-10 Masatake YAMATO <yamato@redhat.com>
962
963 * mouse.el (popup-menu-normalize-position): New function.
964 (popup-menu): Use `popup-menu-normalize-position' to normalize
965 the form for POSITION argument.
966
967 * term/x-win.el (x-menu-bar-open):
968 Use the value returend from (posn-at-point) as position
969 passed to `popup-menu'.
970
31673780
JB
9712012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
972
973 * calc/calccomp.el (math-compose-expr): Add extra argument
974 indicating that parentheses should be put around products in
975 denominators. Give multiplication precedence over division during
976 composition.
977
dab7711b
CY
9782012-08-09 Chong Yidong <cyd@gnu.org>
979
dee4ef93
CY
980 * man.el (Man-switches, Man-sed-command, Man-awk-command)
981 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
982 (Man-untabify-command, manual-program): Convert to defcustom
983 (Bug#10429).
984
73e2bbc5
CY
985 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
986
3e861c8a
CY
987 * descr-text.el (describe-char): Don't insert extra newlines
988 (Bug#10127).
989
a9f5a649
CY
990 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
991 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
992
dab7711b
CY
993 * align.el (align-region): Delete temporary markers (Bug#10047).
994 Plus some code cleanups.
995
e0cc4efa
FEG
9962012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
997
998 * progmodes/python.el (python-pdbtrack-tracked-buffer)
999 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1000 (python-shell-internal-last-output): Use make-local-variable
1001 instead of make-variable-buffer-local.
1002
489af14f
FEG
10032012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1004
1005 * progmodes/python.el: Enhancements to forward-sexp.
1006 (python-nav-forward-sexp): Rename from
1007 python-nav-forward-sexp-function.
c69f56a2
MY
1008 (python-nav--forward-sexp, python-nav--backward-sexp):
1009 New functions.
489af14f 1010
0fc50303
JB
10112012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1012
1013 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1014 modes and simplification modes.
1015
5d65606a
SM
10162012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * delsel.el (delete-selection-pre-hook): Don't propagate the
1019 file-supersession signals (bug#12161).
1020
4250fdf5
SM
10212012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1024 (cl-map-extents): Add compatibility aliases (bug#12135).
1025
d9f9b465
MA
10262012-08-08 Michael Albinus <michael.albinus@gmx.de>
1027
1028 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1029 tests by `ignore-error'.
1030 (tramp-find-shell): Open also a new shell, when cache is already
1031 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1032
ce0fcefa
JL
10332012-08-08 Juri Linkov <juri@jurta.org>
1034
1035 * bookmark.el: Add `defaults' property to the bookmark record.
1036 (bookmark-current-buffer): Doc fix.
1037 (bookmark-make-record): Add `defaults' property with default values
1038 to the bookmark record.
1039 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1040 with `bookmark-insert-current-bookmark'.
1041 (bookmark-set): Get `defaults' property from the bookmark record
1042 and use it in `read-from-minibuffer'.
1043 (bookmark-insert-current-bookmark): Remove function.
1044
1045 * info.el (Info-bookmark-make-record): Add `defaults' property
1046 with values of canonical Info node name, the current Info file
1047 name and the current Info node name. (Bug#12107)
1048
53fa8652
JL
10492012-08-08 Juri Linkov <juri@jurta.org>
1050
1051 * files.el (basic-save-buffer): Use `buffer-name' as the default
1052 of `read-file-name' when buffer is not visiting a file (bug#12128).
1053
242c0a95
JL
10542012-08-08 Juri Linkov <juri@jurta.org>
1055
1056 * info.el (Info-isearch-search): Doc fix.
1057 (Info-search): Change search-failed message from "initial node" to
1058 "end of node" (bug#12078).
1059 (Info-isearch-search): Change `isearch-string-state' to
1060 `isearch--state-string'.
1061
32ac3a6b
GM
10622012-08-08 Glenn Morris <rgm@gnu.org>
1063
1064 * language/persian.el: Remove file.
f8c1afd5 1065 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1066 * loadup.el: Remove language/persian.
1067
2c2d9c9c
OF
10682012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1069
1070 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1071
2d79ec42
FEG
10722012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1073
1074 * progmodes/python.el Fixed defsubst warning.
1075 (python-syntax-context) Rename from python-info-ppss-context.
1076 (python-syntax-context-type): Rename from
1077 python-info-ppss-context-type.
1078 (python-syntax-comment-or-string-p): Rename from
1079 python-info-ppss-comment-or-string-p.
1080
2bd255dd
JB
10812012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1082
1083 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1084
c395097f
AS
10852012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1086
6125983e
AS
1087 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1088 a defcustom that is quoted with backquote.
1089
4250fdf5
SM
1090 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1091 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1092 (math-do-arg-check, math-define-function-body): Use backquote forms.
1093 * calc/calc-ext.el (math-defcache): Likewise.
1094 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1095 * allout.el (allout-new-exposure): Likewise.
1096 * calc/calcalg2.el (math-tracing-integral): Likewise.
1097 * info.el (Info-last-menu-item): Likewise.
1098 * emulation/vip.el (vip-loop): Likewise.
1099 * textmodes/artist.el (artist-funcall): Likewise.
1100 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1101 Construct menu-item directly.
1102
4250fdf5
SM
1103 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1104 Don't declare.
c395097f 1105
5fb50dd3
CY
11062012-08-07 Chong Yidong <cyd@gnu.org>
1107
1108 * simple.el (deactivate-mark): Preserve text properties when
1109 saving the primary selection (Bug#8384).
1110
54eea618
KR
11112012-08-07 Kevin Ryde <user42@zip.com.au>
1112
1113 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1114 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1115 and continue processing (Bug#12110).
1116
638eaeb9
SM
11172012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1120 syntax-propertize-function (bug#10095).
1121
ea376861
SM
11222012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1123
f91b35be
SM
1124 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1125 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1126 describe-function-1.
1127 (describe-function-1): Use them. Move compiler macro after sig.
1128 (help-fns--compiler-macro): Use function-get. Assume we're already in
1129 standard-output. Adjust layout to new call order.
1130
ea376861
SM
1131 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1132 re-binding a symbol that has a symbol-macro (bug#12119).
1133
d5be7bd0
MB
11342012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1135
1136 * language/persian.el: New file. (Bug#11812)
1137 * loadup.el: Add language/persian.el.
1138
90749b53
CY
11392012-08-06 Chong Yidong <cyd@gnu.org>
1140
1141 * window.el (window--maybe-raise-frame): New function.
1142 (window--display-buffer): Split off from here.
1143 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1144 (display-buffer-pop-up-window, display-buffer-use-some-window):
1145 Obey an inhibit-switch-frame action alist entry.
1146 (display-buffer): Update doc.
1147
1148 * replace.el (occur-after-change-function): Avoid losing focus by
1149 using the inhibit-switch-frame display parameter (Bug#12139).
1150
ba7b0154
FEG
11512012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1152
1153 Make internal shell process buffer names start with space.
1154 * progmodes/python.el (python-shell-make-comint): Add optional
1155 argument INTERNAL.
1156 (run-python-internal): Use it.
1157 (python-shell-internal-get-or-create-process): Check for new
1158 internal buffer names.
1159
5eaeacb5
GM
11602012-08-06 Glenn Morris <rgm@gnu.org>
1161
e296d94b 1162 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1163 Do less getting and setting of environment variables.
1164
b7ccbdc2
CY
11652012-08-05 Chong Yidong <cyd@gnu.org>
1166
777fe95e
CY
1167 * proced.el (proced): Add substitution string to docstring to
1168 trigger autoloading of the proced library on C-h f (Bug#1768).
1169
4250fdf5
SM
1170 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1171 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1172
1173 * imenu.el (imenu-generic-expression): Move documentation here
1174 from imenu--generic-function.
1175 (imenu--generic-function): Refer to imenu-generic-expression.
1176
9e3b7800 11772012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VĂ˜
1178
1179 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1180 indentation declaration.
1181 (viper-loop): Add indentation declaration (Bug#7025).
1182
e5d9c0d1
CY
11832012-08-05 Chong Yidong <cyd@gnu.org>
1184
f0422feb
CY
1185 * help-fns.el (describe-variable): Add hyperlink for
1186 directory-local variables files. Improve buffer-local and
1187 permanent-local reporting; suggested by MON KEY (Bug#6644).
1188
1189 * help-mode.el (help-dir-local-var-def): New button type.
1190
e5d9c0d1
CY
1191 * files.el (kill-buffer-hook): Provide a defvar.
1192
a4f2deaa
GM
11932012-08-05 Glenn Morris <rgm@gnu.org>
1194
1195 * eshell/esh-ext.el (eshell/addpath):
1196 Also update eshell-path-env. (Bug#12013)
1197
a9dd5754
CY
11982012-08-05 Chong Yidong <cyd@gnu.org>
1199
a4f2deaa 1200 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1201
d014c740
CY
1202 * fringe.el (fringe-styles): Add docstring.
1203 (fringe--check-mode): New function.
1204 (set-fringe-mode, set-fringe-style): Use it.
1205 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1206
a9dd5754
CY
1207 * files.el (set-auto-mode): Fix invalid setq call.
1208
7c2dc8bd
SM
12092012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * isearch.el: Misc simplification; use defstruct.
1212 (isearch-mode-map): Dense maps now work like sparse ones.
1213 (isearch--state): New defstruct.
1214 (isearch-string-state, isearch-message-state, isearch-point-state)
1215 (isearch-success-state, isearch-forward-state)
1216 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1217 (isearch-wrapped-state, isearch-barrier-state)
1218 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1219 replaced by defstruct's accessors.
1220 (isearch--set-state): Rename from isearch-top-state and change
1221 calling convention.
1222 (isearch-push-state): Use new isearch--get-state.
1223 (isearch-toggle-word): Disable regexp when enabling word.
1224 (isearch-message-prefix): Remove unused arg _c-q-hack.
1225 (isearch-message-suffix): Remove unused arg _ellipsis.
1226
7fcc0070
AS
12272012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1228
1229 * simple.el (list-processes--refresh): For a server use :host or
1230 :local as the address.
97ad0769 1231 (list-processes): Doc fix.
7fcc0070 1232
00340faf
MN
12332012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1234
1235 * lisp/mpc.el: Support password in host argument.
1236 (mpc--proc-connect): Parse and use new password element.
1237 Set mpc-proc variable instead of returning process.
1238 (mpc-proc): Adjust accordingly.
1239
6dad7178
EZ
12402012-08-03 Eli Zaretskii <eliz@gnu.org>
1241
18949c2f
EZ
1242 * whitespace.el (whitespace-display-mappings): Use Unicode
1243 codepoints, instead of emacs-mule codepoints. See
1244 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1245 for the details.
1246
6dad7178
EZ
1247 * files.el (file-truename): Don't skip symlink-chasing part on
1248 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1249 Windows into the loop that recursively chases symlinks.
1250 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1251 MS-DOS.
1252
385b0198
CY
12532012-08-03 Chong Yidong <cyd@gnu.org>
1254
6200f3c4
CY
1255 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1256
385b0198
CY
1257 * sort.el (sort-regexp-fields): Doc fix.
1258
b9e74744
TH
12592012-08-03 Tassilo Horn <tsdh@gnu.org>
1260
1261 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1262 labels regex position point at the expected place.
1263
41013cb4
MK
12642012-08-03 MON KEY <monkey@sandpframing.com>
1265
1266 * net/imap.el (imap-interactive-login, imap-authenticate)
1267 (imap-mailbox-lsub, imap-mailbox-list)
1268 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1269 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1270 (imap-parse-response): Doc fix.
1271
0ffee616
JT
12722012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1273
1274 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1275 if sexp scanning does not move point (Bug#5734).
1276
cfcc9cc8
TH
12772012-08-02 Tassilo Horn <tsdh@gnu.org>
1278
1279 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1280 Add listings, minted, and ctable packages.
1281 (reftex-label-alist-builtin): Move listings, minted, and ctable
1282 entries before LaTeX.
a01bbb84 1283 (reftex-label-alist): Docfix.
cfcc9cc8 1284
66ec2442
BG
12852012-08-02 Bastien Guerry <bzg@gnu.org>
1286
1287 * replace.el (occur): Fix docstring (bug#12122).
1288
837b365b
GM
12892012-08-02 Glenn Morris <rgm@gnu.org>
1290
1291 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1292
e098de97
PE
12932012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1294
1295 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1296 * international/mule-cmds.el: Create
1297 inactivate-current-input-method-function as an obsolete alias for
1298 deactivate-current-input-method-function. See Katsumi Yamaoka in
1299 <http://bugs.gnu.org/10150#46>.
1300
a0f95636
JB
13012012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1302
1303 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1304 of nested `if's.
1305
0d26d7c4
GM
13062012-08-01 Glenn Morris <rgm@gnu.org>
1307
1308 * progmodes/autoconf.el (autoconf-definition-regexp):
1309 Add AH_TEMPLATE, adjust submatch numbering.
1310 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1311 (autoconf-current-defun-function): Update for above change.
1312 (autoconf-current-defun-function): First skip to end of current word.
1313
b686ba06
RS
13142012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1315
1316 * calendar/cal-html.el (cal-html-insert-agenda-days):
1317 Fix typo. (Bug#12018)
1318
0d49da68
FEG
13192012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1320
1321 Shell processes: enhancements to startup and CEDET compatibility.
1322 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1323 (python-shell-make-comint): accept-process-output at startup.
1324 (run-python-internal): Set inferior-python-mode-hook to nil.
1325 (python-shell-internal-get-or-create-process): call sit-for.
1326 (python-preoutput-result): Add obsolete alias.
1327 (python-shell-internal-send-string): Use it.
1328 (python-shell-send-setup-code): Remove call to
1329 accept-process-output.
1330
f1a71c6e
AS
13312012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1332
1333 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1334 (Bug#12108)
1335
d2605269
JB
13362012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1337
1338 * calc-mode.el (calc-basic-simplification-mode): Rename from
1339 `calc-limited-simplification-mode'.
1340 (calc-alg-simplification-mode): New function.
d66060f8 1341 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1342
d2605269
JB
1343 * calc.el (calc-set-mode-line): Adjust mode line display for
1344 basic simplification mode.
1345
1346 * calc-help.el (calc-m-prefix-help): Update help message.
1347
1348 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1349 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1350
a3827a43
BG
13512012-07-31 Bastien Guerry <bzg@gnu.org>
1352
1353 * man.el (man): Fix comment. (bug#12101)
1354
502e3f89
MR
13552012-07-31 Martin Rudalics <rudalics@gmx.at>
1356
1357 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1358 Don't return a non-nil value when no suitable buffer was found.
1359
d7714961
FEG
13602012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1361
1362 * progmodes/python.el (run-python-internal): Disable font lock for
1363 internal shells.
1364
1f45e27e
SM
13652012-07-30 Stefan Merten <smerten@oekonux.de>
1366
1367 * rst.el: Silence `checkdoc-ispell'.
1368 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1369 (rst-official-version, rst-official-cvs-rev)
1370 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1371 (rst-mode-map): New key binding.
1372
0aee6912
PE
13732012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1374
1375 Update .PHONY listings in makefiles.
1376 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1377 autoloads, update-subdirs, updates, bzr-update, update-authors,
1378 compile-onefile, compile-calc, backup-compiled-files,
1379 compile-after-backup, compile-one-process, mh-autoloads,
1380 bootstrap-clean, distclean, maintainer-clean.
1381
9052f9f0
JB
13822012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1383
1823ac5a
JB
1384 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1385 (calc-set-mode-line): Don't display "AlgSimp ".
1386
1387 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1388 (calc-lim-simplify-mode): New function.
1389 (calc-set-simplify-mode): Default to 'alg.
1390 (calc-default-simplify-mode): Make algebraic simplifications
1391 the default.
1392
1393 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1394 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1395
8d7c7eed 1396 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1397 indicate new simplification modes.
1398
1823ac5a
JB
1399 * calc/README: Mention new default simplification mode.
1400
9052f9f0
JB
1401 * calc/calc.el (math-normalize-error): New variable.
1402 (math-normalize): Set `math-normalize-error' to t
1403 when there's an error.
1404
1405 * calc/calc-alg.el (math-simplify): Don't simplify when
1406 `math-normalize' returns an error.
1407
20ba0cb4
EZ
14082012-07-29 Eli Zaretskii <eliz@gnu.org>
1409
1410 * international/mule-cmds.el (set-locale-environment): Revert last
1411 change, since display-graphic-p returns nil when this function is
1412 called during startup. Instead...
1413
1414 * term/w32console.el (terminal-init-w32console): ...setup the
1415 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1416
a5dcc929
JL
14172012-07-29 Juri Linkov <juri@jurta.org>
1418
1419 * simple.el (goto-line): Don't display default line number in the
1420 prompt because it should be displayed by `read-number' (bug#9952).
1421 Add the current line number to the defaults of `goto-line' to
1422 allow its easier modification by users with `M-n' (bug#9201).
1423
1424 * subr.el (read-number): Support multiple default values like in
1425 other minibuffer reading functions. Replace `read' with
1426 `string-to-number' for consistency with `number-to-string'.
1427
72b255c7
PE
14282012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1429
1430 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1431 * emulation/viper-init.el (viper-deactivate-input-method-action):
1432 Rename from viper-inactivate-input-method-action.
1433 (viper-deactivate-input-method):
1434 Rename from viper-inactivate-input-method.
1435 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1436 * international/mule-cmds.el (deactivate-input-method):
1437 Rename from inactivate-input-method.
1438 Also run input-method-deactivate-hook.
1439 (deactivate-current-input-method-function):
1440 Rename from inactivate-current-input-method-function.
1441 (input-method-deactivate-hook): New hook.
1442 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1443 (inactivate-input-method): Mark obsolete.
1444
72b255c7
PE
1445 * international/quail.el (quail-activate):
1446 Also run quail-deactivate-hook.
1447 (quail-deactivate): Rename from quail-inactivate.
1448 * international/robin.el (robin-activate):
1449 Also run robin-deactivate-hook.
1450 (robin-deactivate): Rename from robin-inactivate.
1451
2549c068
CY
14522012-07-29 Chong Yidong <cyd@gnu.org>
1453
1454 * simple.el (indicate-copied-region): New function.
1455 (kill-ring-save): Split off from here.
1456
1457 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1458 (kill-rectangle): Set deactivate-mark to t on read-only error.
1459
1460 * register.el (copy-to-register, copy-rectangle-to-register):
1461 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1462 (append-to-register, prepend-to-register):
1463 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1464
1465 * simple.el (async-shell-command-buffer): New defcustom.
1466 (shell-command): Use it. (Bug#4719)
1467
01bd1b0d
EZ
14682012-07-28 Eli Zaretskii <eliz@gnu.org>
1469
1470 * international/mule-cmds.el (set-locale-environment): In a
1471 console session on MS-Windows, set up keyboard and terminal
1472 encoding from the OEM codepage, not the ANSI codepage.
1473 (Bug#12055)
1474
a55739d3
CY
14752012-07-28 Chong Yidong <cyd@gnu.org>
1476
1477 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1478 gdb-get-location.
1479
0e1a094f 14802012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1481
1482 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1483 the alist (bug#12029).
1484
20329d73
EZ
14852012-07-28 Eli Zaretskii <eliz@gnu.org>
1486
1487 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1488 (compile-always, compile-first)
1489 ($(lisp)/calendar/cal-loaddefs.el)
1490 ($(lisp)/calendar/diary-loaddefs.el)
1491 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1492 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1493 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1494 instead of on update-subdirs.
1495 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1496
345a2258
CY
14972012-07-28 Chong Yidong <cyd@gnu.org>
1498
1eee6341
CY
1499 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1500 directory if vc-deduce-backend returns nil (Bug#7350).
1501
345a2258
CY
1502 * simple.el (delete-trailing-lines): New option.
1503 (delete-trailing-whitespace): Obey it (Bug#11879).
1504
049a0936
DE
15052012-07-28 David Engster <deng@randomsample.de>
1506
1507 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1508 Explanation of new 'symbol-qnames feature in doc-strings.
1509 (xml-maybe-do-ns): Return expanded names as plain symbols if
1510 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1511 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1512
aa81af71
FEG
15132012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1514
1515 Consistent completion in inferior python with emacs -nw.
1516 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1517 binding in inferior-python-mode-map with "\t".
1518 (python-shell-completion-complete-at-point)
1519 (python-completion-complete-at-point): Remove interactive spec.
1520
e827b1eb
JB
15212012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1522
1523 * calc/calccomp.el (math-compose-expr): Undo previous change.
1524
a90dfb95
FEG
15252012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1526
4250fdf5 1527 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1528 run-python.
1529 (python-shell-make-comint): Fix pop-to-buffer call.
1530 (run-python): Autoload. New arg SHOW.
1531 (python-shell-get-or-create-process): Do not pop python process
1532 buffer.
1533
32770973 15342012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1535
1536 * notifications.el (notifications-on-action-signal)
1537 (notifications-on-closed-signal): Use also the bus address for the map.
1538 (notifications-notify, notifications-close-notification)
1539 (notifications-get-capabilities): Add optional argument BUS.
1540
86332df2
TH
15412012-07-27 Tassilo Horn <tsdh@gnu.org>
1542
4250fdf5
SM
1543 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1544 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1545 ctable macro.
1546 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1547 labels written in keyvals syntax.
1548
ca1302a4
JB
15492012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1550
1551 * calc/calccomp.el (math-compose-expr): Use parentheses when
1552 there is a product in the denominator of a fraction.
1553
f8b91036
EZ
15542012-07-26 Eli Zaretskii <eliz@gnu.org>
1555
1556 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1557 ($(lisp)/calendar/diary-loaddefs.el)
1558 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1559 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1560 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1561 rewritten while the autoload files are built at the same time,
1562 which needs to load subdirs.el.
1563
c8e5a42c
MR
15642012-07-26 Martin Rudalics <rudalics@gmx.at>
1565
1566 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1567 (mouse-drag-line): Don't exit tracking when a switch-frame or
1568 switch-window event occurs (Bug#12006).
1569
670d85ea
SM
15702012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * mouse.el (popup-menu): Fix last change.
1573
7abaf5cc
SM
15742012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 Autoload from Lisp with more care. Follow aliases when looking for
1577 function properties.
1578 * subr.el (autoloadp): New function.
1579 (symbol-file): Use it.
1580 (function-get): New function.
1581 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1582 autoload-do-load.
1583 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1584 (lisp-indent-function):
1585 * emacs-lisp/gv.el (gv-get):
1586 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1587 * emacs-lisp/byte-opt.el (byte-optimize-form):
1588 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1589 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1590 Use function-get.
1591 * emacs-lisp/cl.el: Don't propagate function properties any more.
1592
1593 * speedbar.el (speedbar-add-localized-speedbar-support):
1594 * emacs-lisp/disass.el (disassemble-internal):
1595 * desktop.el (desktop-load-file):
1596 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1597 (describe-function-1):
1598 * emacs-lisp/find-func.el (find-function-noselect):
1599 * emacs-lisp/elp.el (elp-instrument-function):
1600 * emacs-lisp/advice.el (ad-has-proper-definition):
1601 * apropos.el (apropos-safe-documentation, apropos-macrop):
1602 * emacs-lisp/debug.el (debug-on-entry):
1603 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1604 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1605 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1606
b1364986
AA
16072012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1608
1609 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1610 function, not an obsolete variable (Bug#12046).
1611
67ada220
AS
16122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1613
1614 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1615
f08088e3
CS
16162012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1617
1618 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1619 window only if it is still live (Bug#12034).
1620
8137e7b3
MR
16212012-07-25 Martin Rudalics <rudalics@gmx.at>
1622
1623 * subr.el (redirect-frame-focus): Add advertised calling
1624 convention (Bug#12030).
1625
09ae5da1
PE
16262012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1627
1628 Prefer typical American spelling for "acknowledgment".
1629 * vc/add-log.el (change-log-acknowledgment): Rename from
1630 change-log-acknowledgement, with an alias for the old name.
1631
3cc5a3a8
JB
16322012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1633
1634 * calc-alg.el (math-simplify-divide): Don't cross multiply
1635 in an equation when the lhs is a variable.
1636
b7af7f62
JD
16372012-07-24 Julien Danjou <julien@danjou.info>
1638
1639 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1640 Remove, unused.
1641
ec1b09b1
EZ
16422012-07-23 Eli Zaretskii <eliz@gnu.org>
1643
1644 * startup.el (command-line): Don't display an empty user name in
1645 the error message about non-existent home directory, when
1646 init-file-user was set to an empty string. See
1647 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1648 for the details and context.
1649
b525fd8a
VB
16502012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1651
1652 * ses.el (ses-cell-formula-aset): New macro.
1653 (ses-cell-references-aset): New macro.
1654 (ses-cell-p): New function.
1655 (ses-rename-cell): Do no longer rely on complex operations like
1656 ses-cell-set-formula or ses-set-cell to change the cell and handle
1657 the undo at the same time, but rather use lower level new macros
1658 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1659 the undo directly. Refresh the mode line.
1660
2c73e345
LL
16612012-07-21 Leo Liu <sdl.web@gmail.com>
1662
670d85ea
SM
1663 * progmodes/cc-cmds.el (c-defun-name):
1664 Use match-string-no-properties instead for consistency.
2c73e345 1665
542dfbde
LL
16662012-07-20 Leo Liu <sdl.web@gmail.com>
1667
3646bcd6
LL
1668 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1669 (Bug#7879)
1670
542dfbde
LL
1671 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1672
25721031
CY
16732012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1676 * progmodes/bug-reference.el, misearch.el: Provide themselves
1677 (bug#11915).
1678
1679 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1680 of narrowed buffer (bug#11966).
1681
316e68a7
VB
16822012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1683
1684 * ses.el (ses-rename-cell): Set new name also in reference list of
1685 cells of which the renamed cell depends.
1686
bbf0e7d9
MY
16872012-07-20 Masatake YAMATO <yamato@redhat.com>
1688
1689 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1690 to check whether menu-bar is shown or not. If not shown,
1691 show the menu-bar as a popup menu instead of using tmm.
1692 * mouse.el (popup-menu): Accept `point' as `position' argument.
1693
c28662a8
DG
16942012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1697 up inside string symbol literal (bug#11923).
1698
87ab808f
EZ
16992012-07-20 Eli Zaretskii <eliz@gnu.org>
1700
1701 * startup.el (fancy-startup-text): Read the whole tutorial, not
1702 just its first 256 bytes. Prevents gibberish in display of the
1703 tutorial title.
1704
89dea803
DA
17052012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1706
1707 Drop idle buffer compaction due to an absence of the
1708 proved efficiency.
1709 * compact.el: Remove.
1710
8a4e6db8
SS
17112012-07-19 Sam Steingold <sds@gnu.org>
1712
1713 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1714 vc-bzr-pull & vc-bzr-merge-branch.
1715 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1716 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1717 for consistency with compilation-error-regexp-alist.
1718 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1719 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1720 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1721 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1722
5db81e33
SM
17232012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * emacs-lisp/chart.el: Use lexical-binding.
1726 (chart-emacs-storage): Don't hardcode the list of entries.
1727
5b835e1d
DA
17282012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1729
1730 Next round of tweaks caused by Fgarbage_collect changes.
1731 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1732
9cd47b72
DA
17332012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1734
1735 Compact buffers when idle.
1736 * compact.el: New file.
1737
1d6fc0df
SM
17382012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * subr.el (eventp): Presume that if it looks vaguely like an event,
1741 it's an event (bug#10190).
1742
1d29cc7d
FEG
17432012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1744
1745 Enhancements to ppss related code (thanks Stefan).
1746 * progmodes/python.el (python-indent-context)
1747 (python-indent-calculate-indentation, python-indent-dedent-line)
1748 (python-indent-electric-colon, python-nav-forward-block)
1749 (python-mode-abbrev-table)
1d6fc0df 1750 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1751 for ppss context.
1752 (python-info-continuation-line-p): Cleanup.
1753 (python-info-ppss-context): Do not catch 'quote.
1754 (python-info-ppss-context-type)
1755 (python-info-ppss-comment-or-string-p): Simplify.
1756
d583cbe6
FEG
17572012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1758
1759 * progmodes/python.el: Enhancements to eldoc support.
1760 (python-info-current-symbol): New function.
1761 (python-eldoc-at-point): Use python-info-current-symbol.
1762 (python-info-current-defun): Fix cornercase on first defun scan.
1763 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1764 and signal error when no inferior python process is available.
1765
eceb6feb
DG
17662012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1767
1768 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1769 assume it's always t.
1770 (vc-git-registered): Remove caching, the function is only called
1771 once.
1772 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1773
4c8ff0fe
CY
17742012-07-18 Chong Yidong <cyd@gnu.org>
1775
19fb7186
CY
1776 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1777
9587c688
CY
1778 * simple.el (count-words): Report on narrowing (Bug#9959).
1779
0fe776a1
CY
1780 * bindings.el: Bind M-= to count-words.
1781
4c8ff0fe
CY
1782 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1783
7f5331cc
MY
17842012-07-18 Masatake YAMATO <yamato@redhat.com>
1785
1786 * progmodes/sh-script.el (sh-imenu-generic-expression):
1787 Capture a function with `function' keyword and without parentheses
1788 like "function FOO" (bug#11856).
1789
2dc2a609
TH
17902012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1791
1792 * window.el (split-window-sensibly): Make WINDOW argument
1793 optional.
1794
439f7677
CY
17952012-07-18 Chong Yidong <cyd@gnu.org>
1796
9aeb25a6
CY
1797 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1798
439f7677
CY
1799 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1800 and make C-x 8 RET exit isearch (Bug#11439).
1801
1802 * international/iso-transl.el: Move isearch-mode-map key
1803 definitions to isearch.el.
1804
12999ea8
SM
18052012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1808 (eieio-defclass): Use gv-define-setter when possible.
1809
3ab6e069
DA
18102012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1811
1812 Reflect recent changes in Fgarbage_collect.
1813 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1814 reflect new format of data returned by Fgarbage_collect.
1815
0a60bc10
FEG
18162012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1817
1818 New utility functions + python-info-ppss-context fix (Bug#11910).
1819 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1820 (python-info-ppss-comment-or-string-p): New functions.
1821 (python-info-ppss-context): Small fix for string check.
1822
6dafa0d5
JL
18232012-07-17 Juri Linkov <juri@jurta.org>
1824
1825 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1826 (dired-do-async-shell-command): Don't add `*' at the end of the
1827 command (Bug#11815).
1828 (dired-do-shell-command): Doc fix.
1829 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1830 Join the individual commands using either "&" or ";" as the
1831 separator depending on the values of these trailing characters.
1832 At the end re-add the trailing "&". (Bug#10598)
1833
1834 * simple.el (async-shell-command): Sync the interactive spec with
1835 `shell-command'. Doc fix.
1836 (shell-command): Doc fix.
1837
b19dd9d1
JL
18382012-07-17 Juri Linkov <juri@jurta.org>
1839
1840 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1841
bcdc27d7 18422012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7f5331cc 1843
bcdc27d7 1844 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1845 * progmodes/python.el (python-nav-beginning-of-statement):
1846 Rename from python-nav-statement-start.
bcdc27d7
FEG
1847 (python-nav-end-of-statement): Rename from
1848 python-nav-statement-end.
1849 (python-nav-beginning-of-block): Rename from
1850 python-nav-block-start.
1851 (python-nav-end-of-block): Rename from python-nav-block-end.
1852
191da00e
FEG
18532012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1854
7f5331cc
MY
1855 * progmodes/python.el (python-shell-send-string-no-output):
1856 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1857 future interactions (Bug#11868).
1858
4dc7c8d5 18592012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1860
88ecaf8f
SM
1861 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1862
ef501ef0
SM
1863 * emacs-lisp/elint.el (elint-find-args-in-code):
1864 Use help-function-arglist, so as to handle lexical byte-code.
1865
aa7aaf8f
SM
1866 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1867 change (bug#11826).
1868
45fd731c
SM
18692012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1870
2143fa32
SM
1871 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1872 Avoid spuriously marking the buffer as modified because of c-is-sws.
1873
efc26dbe
SM
1874 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1875 as not-a-comment (bug#11946).
1876
f5695c9a
SM
1877 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1878 for uninterned vars.
1879
1880 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1881 Use read-event since we don't really want to read chars but bytes.
1882
45fd731c
SM
1883 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1884 $$..$$ but also $..$ using regexps (bug#11953).
1885 Use tex-verbatim for \url and \path.
1886 (tex-font-lock-keywords): Define as defconst like the others.
1887 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1888
ddfc8813
RK
18892012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1890
1891 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1892 alias for insert-char.
1893
758e556a
FEG
18942012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1895
1896 * progmodes/python.el: Simplified imenu implementation.
1897 (python-nav-jump-to-defun): Remove command.
1898 (python-mode-map): Use `imenu' instead.
1899 (python-nav-list-defun-positions-cache)
1900 (python-imenu-include-defun-type, python-imenu-make-tree)
1901 (python-imenu-subtree-root-label, python-imenu-index-alist):
1902 Remove vars.
1903 (python-nav-list-defun-positions, python-nav-read-defun)
1904 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1905 (python-imenu-make-tree, python-imenu-create-index):
1906 Remove functions.
758e556a
FEG
1907 (python-mode): Update to interact with imenu by setting
1908 `imenu-extract-index-name-function' only.
1909
032d23ab
FEG
19102012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1911
1912 * progmodes/python.el: Enhancements to navigation commands.
1913 (python-nav-backward-sentence)
1914 (python-nav-forward-sentence): Remove.
1915 (python-nav-backward-statement, python-nav-forward-statement)
1916 (python-nav-statement-start, python-nav-statement-end)
1917 (python-nav-backward-block, python-nav-forward-block)
1918 (python-nav-block-start, python-nav-block-end)
1919 (python-nav-forward-sexp-function)
1920 (python-info-current-line-comment-p)
1921 (python-info-current-line-empty-p): New functions.
1922 (python-indent-context): Use `python-nav-statement-start'.
1923
01795a1b
MA
19242012-07-16 Michael Albinus <michael.albinus@gmx.de>
1925
9328d9aa
MA
1926 * eshell/em-ls.el (eshell/ls): Use `apply'.
1927
1928 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1929 multi-hops, instead of Tramp internals.
1930
01795a1b
MA
1931 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1932
1933 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1934 when F1 and F2 are located on different hosts.
1935
63408057
CY
19362012-07-14 Chong Yidong <cyd@gnu.org>
1937
1938 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1939 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1940 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1941 (xterm-mouse--read-event-sequence-1000)
1942 (xterm-mouse--read-event-sequence-1006): New functions. For old
1943 mouse protocol, handle M-mouse-X events correctly.
1944 (xterm-mouse-event): New arg specifying mouse protocol.
1945 (turn-on-xterm-mouse-tracking-on-terminal)
1946 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1947 sequence to toggle extended coordinates on newer XTerms.
1948 This appears to be harmless on terminals which do not support this.
63408057 1949
cd276f6e
LL
19502012-07-14 Leo Liu <sdl.web@gmail.com>
1951
28ca98ac
LL
1952 Add fringe bitmap indicators for flymake. (Bug#11253)
1953 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1954 (flymake-make-overlay): New arg BITMAP.
1955 (flymake-error-bitmap, flymake-warning-bitmap)
1956 (flymake-fringe-indicator-position): New user variables.
1957
cd276f6e
LL
1958 * fringe.el: New bitmap exclamation-mark.
1959
04408072
JD
19602012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1961
1962 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1963 also (Bug#7879).
1964
b5cf7fc4
CY
19652012-07-14 Chong Yidong <cyd@gnu.org>
1966
1967 * electric.el (electric-pair-post-self-insert-function): Fix pair
1968 insertion in empty-region case (Bug#11520).
1969
be755c79
RT
19702012-07-14 Chong Yidong <cyd@gnu.org>
1971
45fd731c
SM
1972 * bindings.el: Consolidate ctl-x-r-map bindings.
1973 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1974
1975 * rect.el, register.el: Move bindings to bindings.el.
1976
19772012-07-14 Reuben Thomas <rrt@sc3d.org>
1978
1979 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1980
7f5b3198
AS
19812012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1982
1983 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1984
97662200
JB
19852012-07-13 Juanma Barranquero <lekktu@gmail.com>
1986
80185fed
JB
1987 * bindings.el (top): Use `mapc' instead of `mapcar'.
1988
97662200
JB
1989 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1990
2bb1ae55
MA
19912012-07-13 Michael Albinus <michael.albinus@gmx.de>
1992
1993 * progmodes/sql.el (sql-comint): Suppress the check for program on
1994 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1995 (Bug#11908)
1996
dea31bd3
CY
19972012-07-13 Chong Yidong <cyd@gnu.org>
1998
1999 * bindings.el: Assign a non-nil permanent-local property to
2000 per-buffer variables which lack a default value (Bug#11930).
2001
2002 * help-fns.el (describe-variable): In the "automatically becomes
2003 local" notice, take note of permanent-local variables.
2004
b68b3337
CY
20052012-07-13 Chong Yidong <cyd@gnu.org>
2006
2007 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2008 to allow printing the message when called from Lisp.
2009
2010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2011 Remove toggle-read-only.
2012
2013 * bs.el (bs-toggle-readonly):
45fd731c
SM
2014 * buff-menu.el (Buffer-menu-toggle-read-only):
2015 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2016
2017 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2018 Remove with-no-warnings around toggle-read-only.
2019 (ffap-read-only, ffap-read-only-other-window)
2020 (ffap-read-only-other-frame): Callers changed.
2021
2022 * help-mode.el: Don't require view package.
2023 (help-mode-finish): Set buffer-read-only instead of calling
2024 toggle-read-only.
2025
2026 * bindings.el (mode-line-toggle-read-only):
2027 * dired.el (dired-toggle-read-only):
2028 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2029 with non-nil second arg.
2030
2031 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2032 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2033 directly.
2034
56bc1586
EZ
20352012-07-12 Eli Zaretskii <eliz@gnu.org>
2036
2037 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2038 not incf.
2039
a464a6c7
SM
20402012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 More CL cleanups and reduction of use of cl.el.
2043 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2044 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2045 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2046 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2047 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2048 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2049 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2050 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2051 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2052 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2053 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2054 * eshell/em-cmpl.el, eshell/em-banner.el:
2055 * calendar/parse-time.el: Use cl-lib.
2056 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2057 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2058 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2059 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2060 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2061 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2062 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2063 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2064 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2065 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2066 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2067 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2068 `lambda' rather than with `quote'.
2069 (eshell-do-opt): Adjust accordingly.
2070 (eshell-process-option): Simplify.
2071 * eshell/esh-var.el:
2072 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2073 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2074 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2075 to `pcase--dontcare'.
2076 * emacs-lisp/cl.el (labels): Mark obsolete.
2077 (cl--letf, letf): Move to cl-lib.
2078 (cl--letf*, letf*): Remove.
2079 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2080 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2081 (cl-progv): Rewrite.
2082 (cl--letf, cl-letf): Move from cl.el.
2083 (cl-letf*): New macro.
2084 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2085
7ad4afe1
MA
20862012-07-11 Michael Albinus <michael.albinus@gmx.de>
2087
2088 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2089
9af57756
CY
20902012-07-11 Chong Yidong <cyd@gnu.org>
2091
2092 * vc/log-edit.el (log-edit-vc-backend): New variable.
2093 (log-edit): Doc fix.
2094
2095 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2096 argument of log-edit to set up all local variables.
2097 (vc-start-logentry): New optional arg specifying VC backend.
2098
2099 * vc/vc.el (vc-checkin): Use it.
2100 (vc-deduce-fileset): Handle Log Edit buffers.
2101 (vc-diff): Make first argument optional too.
2102
2103 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2104
8477cc7a
MA
21052012-07-10 Michael Albinus <michael.albinus@gmx.de>
2106
2107 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2108 command, just in case. The function is not needed anymore.
2109 (eshell-external-command): Do not call `eshell-remote-command'.
2110
19faa8e8
SM
21112012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2112
f58e0fd5
SM
2113 Reduce use of (require 'cl).
2114 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2115 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2116 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2117 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2118 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2119 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2120 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2121 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2122 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2123 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2124 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2125 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2126 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2127 (byte-compile-unfold-bcf, byte-compile-check-variable):
2128 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2129 (byte-compile-nilconstp):
2130 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2131 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2132
2519d43a
SM
2133 * emacs-lisp/gv.el (cond): Make it a valid place.
2134 (if): Simplify slightly.
2135
19faa8e8
SM
2136 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2137 (pcase--self-quoting-p): New function.
2138 (pcase--u1): Use it.
2139
c4907a5e
GM
21402012-07-10 Glenn Morris <rgm@gnu.org>
2141
2142 * emacs-lisp/authors.el (authors-fixed-entries):
2143 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2144
c4444d16
PE
21452012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2146
2147 Rename configure.in to configure.ac (Bug#11603).
2148 * emacs-lisp/authors.el (authors-canonical-file-name):
2149 * progmodes/autoconf.el (autoconf-mode):
2150 Prefer configure.ac to configure.in.
2151
d75be97d
CY
21522012-07-08 Chong Yidong <cyd@gnu.org>
2153
01ac65bd
CY
2154 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2155 Implement the mouse-1-click-follows-link handling properly.
2156
2157 * info.el (Info-link-keymap): Use follow-link mechanism for
2158 header-line links (Bug#374).
2159
d75be97d
CY
2160 * simple.el (deactivate-mark): Do not set the primary selection
2161 if another program has acquired it (Bug#11772).
2162
87a92845 21632012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2164
2165 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2166 (woman-decode-region): Replace escaped-escapes without destroying
2167 bold or underline (Bug#11552).
87a92845 2168 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2169
621b9d6c
CY
21702012-07-07 Chong Yidong <cyd@gnu.org>
2171
2172 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2173 (interprogram-cut-function, interprogram-paste-function):
2174 Mention that we typically mean the clipboard.
621b9d6c 2175
133a11fc
GM
21762012-07-06 Glenn Morris <rgm@gnu.org>
2177
0d27a45e
GM
2178 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2179
133a11fc
GM
2180 * files.el (toggle-read-only): Restrict message to interactive use.
2181
07b151f1
MA
21822012-07-06 Michael Albinus <michael.albinus@gmx.de>
2183
2184 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2185
2186 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2187
211b896b
GM
21882012-07-06 Glenn Morris <rgm@gnu.org>
2189
50394322
GM
2190 * Makefile.in (compile-one-process): Rename from "recompile".
2191
211b896b
GM
2192 * Makefile.in (bzr-update): "compile" is the same as "recompile
2193 autoloads", but parallelizable, so use that instead.
2194
4737eec9
DG
21952012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2196
2197 * window.el (quit-window): Always restore window height when
8137e7b3 2198 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2199
226c3633 22002012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2201
2202 * simple.el (kill-whole-line): Doc tweak.
2203
226c3633 22042012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2205
2206 * files.el (file-relative-name): Compare file names
2207 case-insensitively if on MS-Windows or MS-DOS, or if
2208 read-file-name-completion-ignore-case is non-nil. Don't use
2209 case-fold-search for this purpose. (Bug#11827)
2210
4dc7c8d5
SM
22112012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2212
2213 * calendar/cal-dst.el (calendar-current-time-zone):
2214 Return calendar-current-time-zone-cache if non-nil.
2215
22162012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 22172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2218
19faa8e8
SM
2219 * calendar/cal-dst.el (calendar-current-time-zone):
2220 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2221
60198fc9
GM
22222012-07-06 Glenn Morris <rgm@gnu.org>
2223
2224 * Makefile.in (cvs-update): Remove old alias.
2225
957b3189
MA
22262012-07-05 Michael Albinus <michael.albinus@gmx.de>
2227
2228 Sync with Tramp 2.2.6-pre.
2229
2230 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2231 compatible declaration.
2232
19faa8e8
SM
2233 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2234 Protect `list-load-path-shadows' call.
957b3189
MA
2235
2236 * net/tramp-compat.el (top): Require packages, which aren't
2237 autoloaded anymore for XEmacs. Protect call of
2238 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2239 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2240 it hurts at least for SXEmacs.
2241 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2242 standard-value for `temporary-file-directory'.
2243
2244 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2245 Redirect stderr to /dev/null.
2246 (tramp-sh-handle-write-region): uid and gid can be floats.
2247 Reported by Russell Sim <russell.sim@gmail.com>.
2248 (tramp-sh-handle-vc-registered): Hide errors.
2249 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2250 and `start-file-process'.
2251 (tramp-maybe-open-connection): Check also whether `non-essential'
2252 is bound.
2253
566df3fc
CY
22542012-07-04 Chong Yidong <cyd@gnu.org>
2255
2256 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2257 (xml-parse-tag): Likewise, and avoid changing entity tables.
2258 (xml-syntax-table): Define from scratch, making sure not to give
2259 x2000 and other Unicode spaces whitespace syntax, since those are
2260 not spaces in XML.
2261 (xml-parse-fragment): Delete unused function.
2262 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2263 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2264 (xml-entity-ref, xml-pe-reference-re)
2265 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2266 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2267 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2268 (xml-entity-value-re): Use syntax references in regexps where
2269 possible; no need to define inside a let-binding.
2270 (xml-parse-dtd): Use xml-pe-reference-re.
2271 (xml-entity-or-char-ref-re): New defconst.
2272 (xml-parse-string, xml-substitute-special): Use it.
2273
30eabd7a
SM
22742012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2275
0781098a
SM
2276 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2277 (find-file--read-only): New function.
2278 (find-file-read-only, find-file-read-only-other-window)
2279 (find-file-read-only-other-frame): Use it.
2280 (insert-file-contents-literally): Don't `fset'.
2281 (get-free-disk-space): Use locate-dominating-file.
2282
b5771c0d
SM
2283 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2284 function is already compiled.
2285
30eabd7a
SM
2286 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2287
b4886f6e
MA
22882012-07-03 Michael Albinus <michael.albinus@gmx.de>
2289
2290 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2291 files on the same host.
2292
b9d82339
AS
22932012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2294
2295 * help-fns.el (describe-function-1): Only call
2296 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2297
a76e6535
CY
22982012-07-03 Chong Yidong <cyd@gnu.org>
2299
2300 * xml.el: Protect parser against XML bombs.
2301 (xml-entity-expansion-limit): New variable.
2302 (xml-parse-string, xml-substitute-special): Use it.
2303 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2304
b544fef2
GM
23052012-07-03 Glenn Morris <rgm@gnu.org>
2306
2307 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2308 Allow linking to specific messages in debbugs reports (eg 123#5).
2309
a7aef6f5
CY
23102012-07-02 Chong Yidong <cyd@gnu.org>
2311
2312 * xml.el: Fix entity and character reference expansion, allowing
2313 them to expand into markup as per XML spec.
2314 (xml-default-ns): New variable.
2315 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2316 (xml-parse-region): Make first two arguments optional.
2317 Discard text properties.
2318 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2319 All callers changed.
a7aef6f5
CY
2320 (xml-parse-tag): Call xml-parse-tag-1. For backward
2321 compatibility, this function should not modify buffer contents.
2322 (xml-parse-tag-1): Fix opening-tag regexp.
2323 (xml-parse-string): Rewrite, handling entity and character
2324 references properly.
2325 (xml--entity-replacement-text): Signal an error if a parameter
2326 entity is undefined.
2327
3df31c9f
SM
23282012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2b5208f1
SM
2330 * comint.el (comint-output-filter): Filter out repeated prompts.
2331
3df31c9f
SM
2332 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2333 and file-name-absolute-p.
2334 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2335 internal calls.
2336
e3ac1281
PE
23372012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2338
2339 Spelling fixes.
2340 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2341 Rename from byte-compile--refiy-function. All uses changed.
2342
fbf2e7ad
CY
23432012-07-01 Chong Yidong <cyd@gnu.org>
2344
2345 * xml.el (xml--parse-buffer): New function. Move most of
2346 xml-parse-region here.
2347 (xml-parse-region): Copy region into a temporary buffer, since
2348 parameter entity substitution requires changing buffer contents.
2349 Use xml--parse-buffer.
2350 (xml-parse-file): Use xml--parse-buffer.
2351 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2352 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2353
9bf0aa15
GM
23542012-06-30 Glenn Morris <rgm@gnu.org>
2355
bbce2853
GM
2356 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2357
9bf0aa15
GM
2358 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2359 Remove outdated and unnecessary dbus declarations.
2360
0d23c240
EZ
23612012-06-30 Eli Zaretskii <eliz@gnu.org>
2362
2363 * emacs-lisp/timer.el (timer-until): Subtract results of
2364 float-time, instead of taking float-time of the result of
2365 time-subtract, since float-time signals an error for negative time
2366 arguments.
2367
b3218de1
CY
23682012-06-30 Chong Yidong <cyd@gnu.org>
2369
2370 * xml.el (xml-*-re): Convert defvars into defconsts, and
2371 eval-and-compile them so eval-and-compile works on derivatives.
2372 (xml--entity-replacement-text): Use eval-and-comple.
2373
a40c87a0
MA
23742012-06-30 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * vc/vc-git.el (vc-git-registered): Use cache property
2377 `git-registered'.
2378 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2379 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2380 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2381
ac87de97
DG
23822012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2383
2384 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2385 removed (likely outside Emacs). (Bug#11757)
ac87de97 2386
ac10fe06
SM
23872012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2388
3df31c9f 2389 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2390
7f3fbd5d
CY
23912012-06-30 Chong Yidong <cyd@gnu.org>
2392
2393 * xml.el: Implement XML parameter entities.
2394 (xml-parameter-entity-alist): New variable.
2395 (xml-parse-region, xml-parse-fragment): Preserve previous values
2396 of xml-entity-alist and xml-parameter-entity-alist, so that
2397 repeated calls on different documents do not change them.
2398 (xml-parse-tag): Fix doctype regexp.
2399 (xml--entity-replacement-text): New function.
2400 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2401 properly requires url retrieval which is unimplemented.
2402 (xml-escape-string): Doc fix.
2403
3cfbebba
SM
24042012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2407
2af3565e
DA
24082012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2409
2410 * fringe.el (fringe-mode): Doc fix.
2411
929df0e7
MA
24122012-06-29 Michael Albinus <michael.albinus@gmx.de>
2413
2414 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2415 is non-nil.
2416 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2417 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2418
c8d3a25c 24192012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2420
c8d3a25c
GM
2421 * calendar/cal-dst.el (calendar-current-time-zone):
2422 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2423
c8d3a25c 24242012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2425
2426 * progmodes/which-func.el (which-func-format):
2427 Add mouse-face. (Bug#11698)
2428
c8d3a25c
GM
24292012-06-29 Leo Liu <sdl.web@gmail.com>
2430
2431 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2432
24332012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * minibuffer.el (minibuffer-confirm-exit-commands):
2436 Add completion-at-point (bug#11725).
2437
24382012-06-29 Glenn Morris <rgm@gnu.org>
2439
2440 * progmodes/f90.el (f90-font-lock-keywords-2):
2441 Add some preprocessor elements. (Bug#10499)
2442
24432012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2446 Use syntax-propertize (bug#11739).
2447
2badeec4
JB
24482012-06-28 Juanma Barranquero <lekktu@gmail.com>
2449
2450 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2451
ae4969c2
JD
24522012-06-28 Julien Danjou <julien@danjou.info>
2453
2454 * term.el (term-handle-colors-array): Use a set of new faces to
2455 color the terminal. Also uses :inverse-video property.
2456 (term-default-fg-color): Set to nil by default, deprecate in favor
2457 of `term-face'.
2458 (term-default-bg-color): Set to nil by default, deprecate in favor
2459 of `term-face'.
2460 (term-current-face): Use `term-face' by default.
2461 (term-bold-attribute): Variable deleted.
2462
1c9bd870
GM
24632012-06-28 Glenn Morris <rgm@gnu.org>
2464
2465 * simple.el (completion-list-mode-finish):
2466 Don't use toggle-read-only. (Since completion-list-mode has
2467 a special mode-class, it wasn't doing anything extra anyway.)
2468
c207708c
SM
24692012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 Make inlining of other-mode interpreted functions work (bug#11799).
2472 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2473 (byte-compile): Use it to fix compilation of lexical-binding closures.
2474 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2475 function, if needed.
2476
3fd56834
SM
24772012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2478
04901786
SM
2479 * help-mode.el (help-make-xrefs): Don't just withstand
2480 cyclic-variable-indirection but any error in documentation-property.
2481
1ec4b7b2
SM
2482 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2483 memory use.
2484 * bindings.el (bindings--define-key): New function.
2485 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2486 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2487 * bindings.el: Use it to purecopy define-key bindings.
2488
e309e2a5
SM
2489 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2490
d5c6faf9
SM
2491 * emacs-lisp/cl.el (flet): Mark obsolete.
2492 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2493 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2494 * progmodes/js.el (js-c-fill-paragraph):
2495 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2496 (ebrowse-switch-member-buffer-to-derived-class):
2497 * play/5x5.el (5x5-solver): Use cl-flet.
2498
6e9590e2
SM
2499 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2500 (cl--symbol-function): New macro.
2501 (cl--letf, cl--letf*): Use it.
2502
3fd56834
SM
2503 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2504 Strip "toggle-" if any.
2505
35ff222c
GM
25062012-06-27 Glenn Morris <rgm@gnu.org>
2507
1ba6038a
GM
2508 * info.el (Info-default-directory-list): Move here from paths.el.
2509 * paths.el: Remove file, which is now empty.
2510 * loadup.el: No longer load "paths".
2511
0ea0e51b
GM
2512 * custom.el (custom-initialize-delay): Doc fix.
2513
35ff222c
GM
2514 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2515 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2516 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2517 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2518 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2519 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2520 * eshell/eshell.el (eshell-defgroup): Remove alias.
2521
c89926a5
CY
25222012-06-27 Chong Yidong <cyd@gnu.org>
2523
2524 * help.el (help-enable-auto-load): New variable.
2525
2526 * help-fns.el (help-fns--autoloaded-p): New function.
2527 (describe-function-1): Refer to a function as "autoloaded" if it
2528 was autoloaded at any time in the past. Perform autoloading if
2529 help-enable-auto-load is non-nil.
2530
cc06e7e7
EZ
25312012-06-26 Eli Zaretskii <eliz@gnu.org>
2532
2533 * makefile.w32-in (compile, compile-always): Depend on
2534 update-subdirs, not on subdirs.el. Otherwise, several different
2535 sub-targets of 'bootstrap' running in parallel could
2536 simultaneously write to subdirs.el, producing a garbled file.
2537
d2c32364
SS
25382012-06-26 Sam Steingold <sds@gnu.org>
2539
2540 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2541 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2542 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2543 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2544 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2545 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2546 * textmodes/tex-mode.el: Use it.
2547 Did not touch cedet and org because they are maintained elsewhere.
2548
5cf983b2
MR
25492012-06-26 Martin Rudalics <rudalics@gmx.at>
2550
2551 * calendar/calendar.el (calendar-exit): Don't try to delete or
2552 iconify last frame. See:
2553 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2554
8c4f2952
JD
25552012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2556
2557 * server.el (server-process-filter): Remember dir in the
2558 process's `server-client-directory' properties.
2559
772b2e2c
CY
25602012-06-24 Chong Yidong <cyd@gnu.org>
2561
2562 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2563 non-tag text.
2564
711b11e1
JB
25652012-06-23 Juanma Barranquero <lekktu@gmail.com>
2566
2567 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2568
dc5d230c
SM
25692012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * help-fns.el (describe-variable): Don't croak when doc is not found.
2572 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2573 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2574 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2575 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2576 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2577 ((lambda ..) ..).
2578 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2579
136e1c1d
CY
25802012-06-23 Chong Yidong <cyd@gnu.org>
2581
e8c1cabf
CY
2582 * info.el (Info-mouse-follow-link): Accept symbol values of
2583 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2584 (Info-fontify-node): Use Info-link-keymap for all navigation
2585 buttons, with link-args property to perform the desired action.
2586 (Info-link-keymap): Doc fix.
2587 (Info-next-link-keymap, Info-prev-link-keymap)
2588 (Info-up-link-keymap): Delete now-unused keymaps.
2589
0e9e6c6a
CY
25902012-06-23 Chong Yidong <cyd@gnu.org>
2591
05e89fea
CY
2592 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2593
0e9e6c6a
CY
2594 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2595 system abbrevs.
2596
2597 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2598
e33c6771
SM
25992012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2600
b68581e2
SM
2601 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2602 (bug#11719).
2603
e33c6771
SM
2604 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2605 the requote function doesn't work properly (bug#11714).
2606
7117e105
GM
26072012-06-23 Glenn Morris <rgm@gnu.org>
2608
2609 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2610
36cec983
SM
26112012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 Further GV/CL cleanups.
2614 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2615 gv-expander.
2616 (gv--defun-declaration): New function.
2617 (defun-declarations-alist): Use it.
2618 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2619 (gv-place): Autoload.
2620 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2621 original definition of dotimes and dolist.
2622 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2623 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2624 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2625 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2626 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2627 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2628 to the function's definition.
2629 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2630 * window.el:
2631 * files.el:
2632 * faces.el:
2633 * env.el: Don't use CL.
2634
d35af63c
PE
26352012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2636
2637 Support higher-resolution time stamps (Bug#9000).
2638
2639 * calendar/time-date.el (with-decoded-time-value): New arg
2640 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2641 (encode-time-value): New optional arg PICO. New type 3.
2642 (time-to-seconds) [!float-time]: Support the new picoseconds
2643 component if it's used.
2644 (seconds-to-time, time-subtract, time-add):
2645 Support ps-resolution time stamps as well.
2646
2647 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2648 (timerp): Timer vectors now have length 9, not 8.
2649 (timer--time): Support new-style (4-part) time stamps.
2650 (timer-next-integral-multiple-of-time): Time stamps now have
2651 picosecond resolution, so take a bit more care about rounding.
2652 (timer-relative-time, timer-inc-time): New optional arg psecs.
2653 (timer-set-time-with-usecs): Set psecs to 0.
2654 (timer--activate): Check psecs component, too.
2655
2656 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2657
ac77b21a
SM
26582012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2659
f143bfe3
SM
2660 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2661 Move the non-essential binding to the post/pre-command-hook where it is
2662 more obviously correct.
2663
ac77b21a
SM
2664 * subr.el (read-passwd): Don't use a history at all.
2665 * savehist.el (savehist-save): Remove password saved accidentally
2666 because of the above bug.
2667
76386c5a
BG
26682012-06-22 Bastien Guerry <bzg@gnu.org>
2669
2670 * files.el (toggle-read-only): Display a message telling whether
2671 the buffer is read-only or not (bug#11726).
2672
2ee3d7f0
SM
26732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * emacs-lisp/gv.el: New file.
2676 * subr.el (push, pop): Extend to generalized variables.
2677 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2678 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2679 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2680 gv-define-simple-setter, and gv-define-expander.
2681 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2682 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2683 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2684 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2685 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2686 gv-letplace.
2687 (cl-defstruct): Don't define setf-method any more.
2688 * emacs-lisp/cl.el (flet): Don't autoload.
2689 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2690 (define-setf-expander, defsetf, define-modify-macro)
2691 (cl-struct-setf-expander): Move from cl-lib.el.
2692 * emacs-lisp/syntax.el:
2693 * emacs-lisp/ewoc.el:
2694 * emacs-lisp/smie.el:
2695 * emacs-lisp/cconv.el:
2696 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2697 (timer--time): Use gv-define-simple-setter.
2698 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2699 to avoid coding-system problems in subr.el. Adjust all users.
2700 (macroexp--maxsize, macroexp-small-p): New functions.
2701 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2702 * scroll-bar.el (scroll-bar-mode):
2703 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2704 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2705 * winner.el (winner-configuration, winner-make-point-alist)
2706 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2707 * files.el (locate-file-completion-table): Avoid list*.
2708
c5695d1d
CY
27092012-06-22 Chong Yidong <cyd@gnu.org>
2710
2711 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2712 (dired-create-files): Doc fix (Bug#11329).
2713 (dired-do-copy): Doc fix (Bug#11334).
2714 (dired-mark-read-string): Doc fix (Bug#11553).
2715
2ee3d7f0
SM
2716 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2717 Doc fix (Bug#11326).
c5695d1d
CY
2718 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2719 (dired-dwim-target): Doc fix.
2720
2721 * wdired.el (wdired-mode): Doc fix.
2722
89b5595a
GM
27232012-06-22 Glenn Morris <rgm@gnu.org>
2724
575db3f1
GM
2725 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2726 (pcmpl-rpm-cache-stamp-file): New constant.
2727 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2728 (pcmpl-rpm-packages): Optionally cache list of packages.
2729
a4c8dd51
GM
2730 * pcmpl-rpm.el (pcmpl-rpm): New group.
2731 (pcmpl-rpm-query-options): New option.
2732 (pcmpl-rpm-packages): No need to inline it.
2733 Use pcmpl-rpm-query-options.
2734
89b5595a
GM
2735 * calendar/calendar.el (calendar-in-read-only-buffer):
2736 Avoid some needless mode changes.
2737
e76f0800
CY
27382012-06-21 Chong Yidong <cyd@gnu.org>
2739
2740 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2741 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2742 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2743
297a8f1d
CY
27442012-06-20 Chong Yidong <cyd@gnu.org>
2745
2746 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2747
d34c18b1
DR
27482012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2749
2750 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2751 (bug#11201).
2752
32f7f28e
CY
27532012-06-20 Chong Yidong <cyd@gnu.org>
2754
2755 * term.el (term-window-width): Handle the case of a missing right
2756 fringe (Bug#8837).
2757 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2758 (term-mode): Use define-derived-mode. Minor cleanups.
2759 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2760 (term-move-columns, term-insert-char, term-emulate-terminal)
2761 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2762
493c6688
MA
27632012-06-20 Michael Albinus <michael.albinus@gmx.de>
2764
d34c18b1
DR
2765 * net/ange-ftp.el (ange-ftp-get-passwd):
2766 Bind `enable-recursive-minibuffers'.
493c6688
MA
2767 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2768
3f06ecf4
DR
27692012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2770
2771 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2772
68f12411
GM
27732012-06-19 Glenn Morris <rgm@gnu.org>
2774
2775 * progmodes/python.el (python-mode): Derive from prog-mode.
2776
b3820318
KG
27772012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2778
2779 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2780 (edt-user-menu-bar-update-buffers): New functions.
2781 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2782
c6bf3022
CY
27832012-06-19 Chong Yidong <cyd@gnu.org>
2784
2785 * subr.el (with-selected-window): Preserve the selected window's
2786 terminal's top-frame (Bug#4702).
2787
2788 * window.el (save-selected-window): Likewise.
2789
25f09295
SM
27902012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * progmodes/python.el (python-rx-constituents): Move backquote.
2793 (python-skeleton-define, python-define-auxiliary-skeleton):
2794 Use `declare'.
2795
6b11952a
MA
27962012-06-18 Michael Albinus <michael.albinus@gmx.de>
2797
2798 * minibuffer.el (read-file-name-default): Revert the patch from
2799 2012-06-17.
2800
ee4b1330
SM
28012012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2804 (pcase--u1, pcase--q1): Don't use apply-partially.
2805
35647f79
GM
28062012-06-18 Glenn Morris <rgm@gnu.org>
2807
2808 * progmodes/python.el (python-proc, python-buffer)
2809 (python-send-receive, python-send-string): Fix obsolete versions.
2810
24b0cff0
MR
28112012-06-18 Martin Rudalics <rudalics@gmx.at>
2812
2813 * window.el (special-display-p): Completely remove stringp
2814 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2815
29855149
MA
28162012-06-17 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2819
2820 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2821
2822 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2823 * net/tramp-sh.el (tramp-maybe-open-connection):
2824 Throw if `non-essential' is non-nil.
2825
07463363
MR
28262012-06-17 Martin Rudalics <rudalics@gmx.at>
2827
2828 * window.el (special-display-p): Signal an error if BUFFER-NAME
2829 is not a string (Bug#11713).
2830
48d1354e
PE
28312012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2832
2833 * progmodes/python.el (python-info-beginning-of-backslash):
2834 Rename from python-info-beginning-of-backlash, as a spelling fix.
2835
eb4a8a9a
CY
28362012-06-17 Chong Yidong <cyd@gnu.org>
2837
2838 * term.el (term-emulate-terminal): If term-check-size is called,
2839 move point to the process mark without resetting point (Bug#4635).
2840
ddfbf826 28412012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2842
2843 * international/mule-cmds.el (mule-menu-keymap)
2844 (set-language-environment, set-locale-environment): Doc tweaks.
2845
9b0e3eba
AA
28462012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2847
2848 * cus-face.el (custom-face-attributes): Add wave-style underline
2849 attribute.
2850 * faces.el (set-face-attribute): Update docstring to describe
2851 wave-style underline attribute.
2852
771e3eae
CY
28532012-06-16 Chong Yidong <cyd@gnu.org>
2854
2855 * term/xterm.el (terminal-init-xterm): Discard input before
2856 querying background mode (Bug#10959).
2857
7ae2ea10
SM
28582012-06-16 Stefan Merten <smerten@oekonux.de>
2859
2860 * textmodes/rst.el: Added and corrected some comments.
2861 (rst-re-alist-def): Improve symbol syntax.
2862 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2863 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2864 (rst-official-version, rst-official-cvs-rev): Update version
2865 information.
7ae2ea10 2866
b6974efa
JB
28672012-06-15 Juanma Barranquero <lekktu@gmail.com>
2868
2869 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2870 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2871
8826d473
GM
28722012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2873
2874 * progmodes/python.el: New python.el merge.
2875 (python-guess-indent): Obsolete var.
2876 (python-indent-guess-indent-offset): New defcustom.
2877 (python-indent): Obsolete var.
2878 (python-indent-offset): New defcustom.
2879 (python-python-command, python-jython-command): Delete var.
2880 (python-shell-interpreter): New defcustom.
2881 (python-pdbtrack-do-tracking-p): Delete var.
2882 (python-pdbtrack-activate): New defcustom.
2883 (python-use-skeletons): Obsolete var.
2884 (python-skeleton-autoinsert): New defcustom.
2885 (inferior-python-filter-regexp, python-continuation-offset)
2886 (python-honour-comment-indentation, python-indent-string-contents)
2887 (python-jython-packages, python-mode-hook)
2888 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2889 (python-shell-prompt-alist)
2890 (python-source-modes): Delete defcustoms.
2891 (python-check-buffer-name, python-eldoc-setup-code)
2892 (python-eldoc-string-code, python-ffap-setup-code)
2893 (python-ffap-string-code, python-fill-comment-function)
2894 (python-fill-decorator-function, python-fill-paren-function)
2895 (python-fill-string-function, python-imenu-include-defun-type)
2896 (python-imenu-make-tree, python-imenu-subtree-root-label)
2897 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2898 (python-shell-compilation-regexp-alist)
2899 (python-shell-completion-module-string-code)
2900 (python-shell-completion-pdb-string-code)
2901 (python-shell-completion-setup-code)
2902 (python-shell-completion-string-code)
2903 (python-shell-enable-font-lock, python-shell-exec-path)
2904 (python-shell-extra-pythonpaths)
2905 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2906 (python-shell-process-environment)
2907 (python-shell-prompt-block-regexp)
2908 (python-shell-prompt-output-regexp)
2909 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2910 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2911 (python-shell-virtualenv-path): New defcustoms.
2912 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2913 (inferior-python-mode-syntax-table, python--prompt-regexp)
2914 (python-buffer, python-command python-python-command)
2915 (python-default-template, python-imports, python-indent-index)
2916 (python-indent-list, python-indent-list-length)
2917 (python-mode-running, python-pdbtrack-is-tracking-p)
2918 (python-preoutput-continuation, python-preoutput-leftover)
2919 (python-preoutput-result, python-preoutput-skip-next-prompt)
2920 (python-prev-dir/file, python-recursing)
2921 (python-saved-check-command, python-version-checked)
2922 (python-which-func-length-limit)
2923 (view-return-to-alist): Delete vars.
2924 (python-check-custom-command, python-dotty-syntax-table)
2925 (python-imenu-index-alist, python-indent-current-level)
2926 (python-indent-dedenters, python-indent-levels)
2927 (python-nav-beginning-of-defun-regexp)
2928 (python-nav-list-defun-positions-cache)
2929 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2930 (python-shell-internal-buffer)
2931 (python-skeleton-available): New vars.
2932 (def-python-skeleton): Delete macro.
2933 (python-skeleton-define): New macro.
2934 (python-define-auxiliary-skeleton, python-rx): New macros.
2935 (python-insert-class): Delete command.
2936 (python-skeleton-class): New command.
2937 (python-insert-def): Delete command.
2938 (python-skeleton-def): New command.
2939 (python-insert-for): Delete command.
2940 (python-skeleton-for): New command.
2941 (python-insert-if): Delete command.
2942 (python-skeleton-if): New command.
2943 (python-insert-try/except, python-insert-try/finally): Delete commands.
2944 (python-skeleton-try): New command.
2945 (python-insert-while): Delete command.
2946 (python-skeleton-while): New command.
2947 (python-backspace): Delete command.
2948 (python-indent-dedent-line-backspace): New command.
2949 (python-electric-colon): Delete command.
2950 (python-indent-electric-colon): New command.
2951 (python-guess-indent): Delete command.
2952 (python-indent-guess-indent-offset): New command.
2953 (python-shift-left): Delete command.
2954 (python-indent-shift-left): New command.
2955 (python-shift-right): Delete command.
2956 (python-indent-shift-right): New command.
2957 (python-find-function): Delete command.
2958 (python-nav-jump-to-defun): New command.
2959 (python-next-statement): Delete command.
2960 (python-nav-forward-sentence): New command.
2961 (python-previous-statement): Delete command.
2962 (python-nav-backward-sentence): New command.
2963 (python-fill-paragraph): Delete command.
2964 (python-fill-paragraph-function): New command.
2965 (python-send-buffer): Delete command.
2966 (python-shell-send-buffer): New command.
2967 (python-send-defun): Delete command.
2968 (python-shell-send-defun): New command.
2969 (python-send-region, python-send-region-and-go): Delete commands.
2970 (python-shell-send-region)
2971 (python-shell-switch-to-shell): New commands.
2972 (python-send-string): Delete command.
2973 (python-shell-send-string): New command.
2974 (python-switch-to-python): Delete command.
2975 (python-shell-switch-to-shell): New command.
2976 (python-describe-symbol): Delete command.
2977 (python-eldoc-at-point): New command.
2978 (python--set-prompt-regexp, python-args-to-list)
2979 (python-after-info-look, python-check-version)
2980 (python-check-comint-prompt, python-find-imports)
2981 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2982 (python-unload-function, python-expand-template)
2983 (python-maybe-jython, python-preoutput-filter)
2984 (python-pdbtrack-get-source-buffer)
2985 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2986 (python-pdbtrack-toggle-stack-tracking)
2987 (python-pdbtrack-track-stack-file, python-initial-text)
2988 (python-first-word, python-comment-line-p, python-send-command)
2989 (python-setup-brm, python-sentinel, python-set-proc)
2990 (python-skip-out, python-input-filter, python-outdent-p)
2991 (python-outline-level, python-backslash-continuation-line-p)
2992 (python-end-of-block, python-end-of-statement, python-mark-block)
2993 (python-beginning-of-block, python-beginning-of-statement)
2994 (python-blank-line-p, python-beginning-of-string)
2995 (python-open-block-statement-p): Delete functions.
2996 (python-indent-line, python-indent-line-1): Delete functions.
2997 (python-indent-line): New function.
2998 (python-indentation-levels): Delete function.
2999 (python-indent-calculate-levels): New function.
3000 (python-proc): Delete function.
3001 (python-shell-get-process): New function.
3002 (python-send-receive): Delete function.
3003 (python-shell-send-string-no-output): New function.
3004 (python-module-path): Delete function.
3005 (python-ffap-module-path): New function.
3006 (python-completion-at-point)
3007 (python-symbol-completions): Delete functions.
3008 (python-completion-complete-at-point): New function.
3009 (python-load-file): Delete function.
3010 (python-shell-send-file): New function.
3011 (python-calculate-indentation): Delete function.
3012 (python-indent-calculate-indentation): New function.
3013 (python-skip-comments/blanks): Delete function.
3014 (python-util-forward-comment): New function.
3015 (python-continuation-line-p): Delete function.
3016 (python-info-continuation-line-p): New function.
3017 (python-which-func, python-current-defun): Delete function.
3018 (python-info-current-defun): New function.
3019 (python-beginning-of-defun): Delete function.
3020 (python-nav-beginning-of-defun): New function.
3021 (python-close-block-statement-p)
3022 (python-block-end-p): Delete function.
3023 (python-info-closing-block): New function.
3024 (python-comint-output-filter-function)
3025 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3026 (python-fill-comment, python-fill-decorator, python-fill-paren)
3027 (python-fill-string, python-imenu-make-element-tree)
3028 (python-imenu-make-tree, python-imenu-tree-assoc)
3029 (python-indent-context, python-indent-dedent-line)
3030 (python-indent-line-function)
3031 (python-indent-post-self-insert-function)
3032 (python-indent-toggle-levels)
3033 (python-info-assignment-continuation-line-p)
3034 (python-info-beginning-of-backlash)
3035 (python-info-block-continuation-line-p)
3036 (python-info-closing-block-message)
3037 (python-info-line-ends-backslash-p)
3038 (python-info-looking-at-beginning-of-defun)
3039 (python-info-ppss-context, python-info-ppss-context-type)
3040 (python-nav-list-defun-positions, python-nav-read-defun)
3041 (python-nav-sentence-end, python-nav-sentence-start)
3042 (python-pdbtrack-comint-output-filter-function)
3043 (python-pdbtrack-set-tracked-buffer)
3044 (python-shell-calculate-exec-path)
3045 (python-shell-calculate-process-environment)
3046 (python-shell-completion--do-completion-at-point)
3047 (python-shell-completion--get-completions)
3048 (python-shell-completion-complete-at-point)
3049 (python-shell-completion-complete-or-indent)
3050 (python-shell-get-or-create-process)
3051 (python-shell-get-process-name)
3052 (python-shell-internal-get-or-create-process)
3053 (python-shell-internal-get-process-name)
3054 (python-shell-internal-send-string, python-shell-make-comint)
3055 (python-shell-parse-command, python-shell-send-setup-code)
3056 (python-skeleton-add-menu-items)
3057 (python-util-clone-local-variables, python-util-position)
3058 (run-python-internal, python-indentation-levels)
3059 (python-nav-beginning-of-defun)
3060 (python-completion-complete-at-point): New functions.
3061 (run-python): Change arguments. New API requirements.
3062
4302f5ba
SM
30632012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3064
f38ea36d
SM
3065 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3066 (bug#11649).
3067
3068 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3069 (macroexp--expand-all): Use it.
3070
4302f5ba
SM
3071 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3072 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3073 Use `cl-function' instead.
3074
33377562
JB
30752012-06-14 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3078 Suggested by Stefan Monnier while discussing bug#11657.
3079
54c5ba1a
SS
30802012-06-14 Sam Steingold <sds@gnu.org>
3081
3082 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3083
f9f1b1fe
AS
30842012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3085
3086 * play/doctor.el (doctor-doc): Remove parameter and use
3087 doctor-sent instead of sent.
3088 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3089
a81068ba
SM
30902012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3091
5a315f9c
SM
3092 * files.el: Require cl-lib.
3093 (file-name-non-special): Replace case -> cl-case.
3094
3095 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3096
a81068ba
SM
3097 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3098 mapping from #' to function*.
3099
8cca9703
CY
31002012-06-13 Chong Yidong <cyd@gnu.org>
3101
3102 * mouse.el (mouse-drag-track): Do not set the mark if the user
3103 releases the mouse without selecting anything (Bug#11588).
3104
a12ac9d7
SM
31052012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3106
ccf1dc18
SM
3107 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3108 as well (bug#11646).
3109
ef62b23d
SM
3110 * loadup.el: Count byte-code functions as well.
3111
c4c8444a
SM
3112 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3113 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3114
a12ac9d7
SM
3115 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3116 (bug#11649). Add cl-defun and cl-defmacro.
3117
87e6e64f
DA
31182012-06-13 Drew Adams <drew.adams@oracle.com>
3119
3120 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3121 Fix last change.
3122
682cefaf
MA
31232012-06-13 Michael Albinus <michael.albinus@gmx.de>
3124
3125 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3126 Otherwise, it blocks in batch mode.
3127
773e1f08
JB
31282012-06-13 Juanma Barranquero <lekktu@gmail.com>
3129
3130 * help-mode.el (bookmark-make-record-default): Declare.
3131
60057926
CY
31322012-06-13 Chong Yidong <cyd@gnu.org>
3133
3134 * emacs-lisp/package.el (list-packages): Compute a list of
3135 packages that are newly-available since the last list-packages
3136 invocation.
3137 (package-menu--new-package-list): New var.
3138 (package-menu--generate, package-menu--print-info)
3139 (package-menu--status-predicate, package-menu-mark-install):
3140 Handle new status label "new".
3141
ad4d226c
SM
31422012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3145 conversion to backquotes.
3146
f1a4e679
CY
31472012-06-12 Chong Yidong <cyd@gnu.org>
3148
3149 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3150 Rename from gud-inhibit-global-bindings.
3151
3152 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3153
3154 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3155 hook from nxml-glyph-set-hook.
3156
3157 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3158 declaration.
3159
3160 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3161
3162 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3163 Convert to defcustom.
3164
0c9e42b5
DA
31652012-06-12 Drew Adams <drew.adams@oracle.com>
3166
3167 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3168 New functions.
3169 (help-mode): Use them.
3170
09e06855
GM
31712012-06-11 Glenn Morris <rgm@gnu.org>
3172
3173 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3174 Use preprocessor face for directives.
3175 (fortran-directive-re): Doc fix.
3176
71adb94b
SM
31772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3178
2eb87922
SM
3179 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3180 conversion to backquotes (bug#11652).
3181
71adb94b
SM
3182 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3183 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3184 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3185 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3186 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3187 (cl-ninth, cl-tenth): Mark them as inlinable.
3188 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3189 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3190 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3191 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3192 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3193 (cl-list*, cl-adjoin): Don't put an autoload manually.
3194 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3195 (cl--compiler-macro-list*): Add autoload cookie.
3196 (cl--compiler-macro-cXXr): New function.
2eb87922 3197
71adb94b
SM
3198 * help-fns.el (help-fns--compiler-macro): New function extracted from
3199 describe-function-1; follow aliases and use `compiler-macro' property.
3200 (describe-function-1): Use it.
3201
a6674402
CY
32022012-06-11 Chong Yidong <cyd@gnu.org>
3203
3204 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3205 is uninstalled, if imagemagick is installed.
3206
bb3faf5b
SM
32072012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * emacs-lisp/cl-lib.el: Use lexical-binding.
3210 (cl-map-extents, cl-maclisp-member): Remove.
3211 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3212 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3213 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3214 * emacs-lisp/cl-extra.el: Use lexical-binding.
3215 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3216 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3217 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3218 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3219 * emacs-lisp/cl-seq.el: Use lexical-binding.
3220 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3221 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3222 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3223 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3224 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3225 CL's internals.
3226
2fe4b125
MA
32272012-06-11 Michael Albinus <michael.albinus@gmx.de>
3228
3229 Sync with Tramp 2.2.6-pre.
3230
3231 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3232 `print-length' and `print-level' to nil, in order to avoid
3233 truncation. Reported by Christopher Schmidt
3234 <christopher@ristopher.com>.
3235
3236 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3237
3238 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3239 New defmacro.
3240 (tramp-compat-copy-directory): Add optional argument
3241 COPY-CONTENTS. It is not handled yet.
3242
3243 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3244 (tramp-ftp-file-name-p): Simplify.
3245
3246 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3247 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3248 connection vector.
3249
3250 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3251 (tramp-methods): Do not use `tramp-password-end-of-line'.
3252 (tramp-completion-function-alist-putty): Handle UNIX case.
3253 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3254 (tramp-do-file-attributes-with-stat)
3255 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3256 gid as real numbers. They could run out of integer range on cygwin.
3257 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3258 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3259 (tramp-open-connection-setup-interactive-shell):
3260 Use `tramp-cleanup'. Move check for busyboxes ...
3261 (tramp-find-shell): ... here. Simplify implementation.
3262 Set "remote-shell" property also for alternative shells.
3263 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3264 If failing, a regular file would be written otherwise.
3265 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3266 (tramp-find-inline-encoding): Cache the coding commands in the
3267 process cache. Apply test command on the remote side, if defined.
3268 (tramp-find-inline-compress): Cache the compress commands in the
3269 process cache.
3270 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3271 when requested. Handle hops.
3272 (tramp-current-connection): New defvar.
87e6e64f
DA
3273 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3274 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3275 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3276 (tramp-get-inline-compress, tramp-get-inline-coding):
3277 Read connection properties from the process cache.
2fe4b125
MA
3278
3279 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3280 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3281 New defconsts.
2fe4b125
MA
3282 (tramp-smb-prompt): Extend for powershell prompt.
3283 (tramp-smb-file-name-handler-alist): Add handlers for
3284 `process-file', `shell-command' and `start-file-process'.
3285 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3286 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3287 (tramp-smb-file-name-p): Simplify.
3288 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3289 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3290 (tramp-smb-shell-quote-argument): New defuns.
3291 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3292 Implement using "tar". By this, time-stamps are preserved.
3293 (tramp-smb-handle-copy-file): Handle also the case of directories.
3294 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3295 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3296 Use `tramp-get-connection-buffer').
2fe4b125
MA
3297 (tramp-smb-handle-rename-file): Use "rename", when source and
3298 target are on the same share.
87e6e64f
DA
3299 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3300 Use `tramp-smb-server-version'.
2fe4b125
MA
3301 (tramp-smb-wait-for-output): Remove prompt.
3302
3303 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3304 (tramp-methods, tramp-rsh-end-of-line):
3305 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3306 (tramp-save-ad-hoc-proxies): New defcustom.
3307 (tramp-completion-function-alist): Adapt docstring.
3308 (tramp-default-password-end-of-line): Remove defcustom.
3309 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3310 (tramp-user-regexp, tramp-file-name-regexp-unified)
3311 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3312 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3313 (tramp-remote-file-name-spec-regexp): New defconst.
3314 (tramp-file-name-structure): Extend structure for hops.
3315 (tramp-get-method-parameter): Move up.
3316 (tramp-file-name-p, tramp-dissect-file-name)
3317 (with-parsed-tramp-file-name): Handle hops.
3318 (tramp-file-name-hop): New defun.
3319 (tramp-make-tramp-file-name): New optional arg HOP.
3320 (tramp-message-show-progress-reporter-message): New defvar.
3321 (tramp-with-progress-reporter): Use it. We cannot use
3322 `tramp-message-show-message' here, because this suppresses also
3323 error buffers.
3324 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3325 `tramp-message-show-message' is nil.
3326 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3327 (tramp-cleanup): New defun.
3328 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3329 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3330 an error unchanged.
3331 (tramp-completion-handle-file-name-all-completions): Handle hops.
3332 Fix an error when called from ido.
3333 (tramp-completion-dissect-file-name): Use better local variable
3334 name. Add hop to the vector.
3335 (tramp-handle-insert-file-contents): Use progress-reporter for the
3336 whole scenario.
3337 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3338 to `t'.
3339 (tramp-check-for-regexp): Simplify search.
3340 (tramp-enter-password): Remove it. Move implementation ...
3341 (tramp-action-password): ... here.
3342 (tramp-mode-string-to-int, tramp-local-host-p)
3343 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3344 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3345 Set tramp-autoload cookie.
2fe4b125
MA
3346
3347 * net/trampver.el: Update release number.
3348
33492012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3350 Michael Albinus <michael.albinus@gmx.de>
3351
3352 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3353 (tramp-parse-group, tramp-parse-file)
3354 (tramp-parse-shostkeys-sknownhosts): New defuns.
3355 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3356 (tramp-parse-shosts-group, tramp-parse-sconfig)
3357 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3358 (tramp-parse-sknownhosts, tramp-parse-hosts)
3359 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3360 Use them.
3361 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3362 (tramp-parse-putty-group): Don't narrow.
3363 (tramp-parse-putty): Make a loop.
3364 (tramp-file-name-handler): Catch the `suppress' signal.
3365
72834e10
CY
33662012-06-11 Chong Yidong <cyd@gnu.org>
3367
3368 * image.el (imagemagick-register-types): Put the ImageMagick entry
3369 at the end of image-type-file-name-regexps.
3370
a4712e11
JB
33712012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3372
3373 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3374 (pcase, pcase-let*, pcase-dolist): Use them.
3375
82ad98e3
SM
33762012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * emacs-lisp/pcase.el (pcase--let*): New function.
3379 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3380 (pcase--expand): Use macroexp-let².
3381
f80efb86
SM
33822012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3385 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3386 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3387 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3388 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3389 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3390
31ca4639 33912012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3392
31ca4639
CY
3393 * mail/rmail.el (rmail-yank-current-message): Leave point at
3394 correct position. (Bug#11660)
94f0aa34 3395
31ca4639 33962012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3397
31ca4639 3398 * allout-widgets.el: Fix code header.
9e1b8ec4 3399
31ca4639 34002012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3401
f80efb86
SM
3402 * cus-edit.el (customize-changed-options-previous-release):
3403 Bump to 24.1.
31ca4639 3404
642b6d30
AS
34052012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3406
3407 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3408
4f5d2ba1
CY
34092012-06-09 Chong Yidong <cyd@gnu.org>
3410
3411 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3412
e75852fd
MR
34132012-06-09 Martin Rudalics <rudalics@gmx.at>
3414
3415 * window.el (special-display-popup-frame): Don't use
3416 window--display-buffer (Bug#11651).
3417
1e48e282
EZ
34182012-06-09 Eli Zaretskii <eliz@gnu.org>
3419
8a26b487
EZ
3420 Fix parallel builds: make sure loaddefs.el is not being written
3421 while Lisp files are compiled.
3422 (compile): Don't depend on 'mh-autoloads'.
3423 (compile-CMD, compile-SH): Depend on 'autoloads'.
3424 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3425
1e48e282
EZ
3426 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3427
6175e34b
CY
34282012-06-09 Chong Yidong <cyd@gnu.org>
3429
3430 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3431 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3432 Doc fixes (Bug#11225).
3433
d9857e53
SM
34342012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3437 a function if there's a clear indication that it has a compiler-macro.
3438 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3439 (macro-declarations-alist): Add arglist to declaration functions.
3440 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3441 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3442 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3443 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3444 Also add autoload to find the compiler macro.
3445 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3446 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3447 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3448 (cl--compiler-macro-get): New functions, replacing calls to
3449 cl-define-compiler-macro.
3450 (cl-typep) [compiler-macro]: Use macroexp-let².
3451
f81298f8 34522012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3453
3454 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3455 string properly, fixes Bug#11473.
3456
4b56d0fe
CY
34572012-06-08 Chong Yidong <cyd@gnu.org>
3458
3459 * faces.el (set-face-attribute): Doc fix.
3460 (modify-face): Don't use :bold and :italic.
3461 (error, warning, success): Tweak definitions.
3462
3463 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3464 (custom-modified, custom-set, custom-changed, custom-themed)
3465 (custom-saved, custom-button, custom-button-mouse)
3466 (custom-button-pressed, custom-state, custom-comment-tag)
3467 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3468 (custom-group-subtitle): Use new-style face specs.
3469 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3470 (custom-set-face, custom-changed-face, custom-saved-face)
3471 (custom-button-face, custom-button-pressed-face)
3472 (custom-documentation-face, custom-state-face)
3473 (custom-comment-face, custom-comment-tag-face)
3474 (custom-variable-tag-face, custom-variable-button-face)
3475 (custom-face-tag-face, custom-group-tag-face-1)
3476 (custom-group-tag-face): Remove obsolete face alias.
3477
3478 * epa.el (epa-validity-high, epa-validity-medium)
3479 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3480 (epa-field-name, epa-field-body):
3481 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3482 (font-lock-keyword-face, font-lock-builtin-face)
3483 (font-lock-function-name-face, font-lock-variable-name-face)
3484 (font-lock-type-face, font-lock-constant-face):
3485 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3486 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3487 * speedbar.el (speedbar-button-face, speedbar-file-face)
3488 (speedbar-directory-face, speedbar-tag-face)
3489 (speedbar-selected-face, speedbar-highlight-face)
3490 (speedbar-separator-face):
3491 * whitespace.el (whitespace-newline, whitespace-space)
3492 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3493 (whitespace-line, whitespace-space-before-tab)
3494 (whitespace-space-after-tab, whitespace-indentation)
3495 (whitespace-empty):
3496 * emulation/cua-base.el (cua-global-mark):
3497 * eshell/em-prompt.el (eshell-prompt):
3498 * net/newst-plainview.el (newsticker-new-item-face)
3499 (newsticker-old-item-face, newsticker-immortal-item-face)
3500 (newsticker-obsolete-item-face, newsticker-date-face)
3501 (newsticker-statistics-face, newsticker-default-face):
3502 * net/newst-reader.el (newsticker-feed-face)
3503 (newsticker-extra-face, newsticker-enclosure-face):
3504 * net/newst-treeview.el (newsticker-treeview-face)
3505 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3506 (newsticker-treeview-immortal-face)
3507 (newsticker-treeview-obsolete-face)
3508 (newsticker-treeview-selection-face):
3509 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3510 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3511 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3512 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3513 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3514 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3515 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3516 (mpuz-text):
3517 * progmodes/vera-mode.el (vera-font-lock-number)
3518 (vera-font-lock-function, vera-font-lock-interface):
3519 * textmodes/table.el (table-cell): Use new-style face specs, and
3520 don't use the old :bold and :italic attributes.
3521
3522 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3523 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3524 (ebrowse-member-class, ebrowse-progress): Likewise.
3525 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3526 (ebrowse-file-name-face, ebrowse-default-face)
3527 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3528 (ebrowse-progress-face): Remove obsolete faces.
3529
3530 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3531 Inherit from error and warning faces respectively.
3532
3533 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3534 Likewise.
f80efb86
SM
3535 (flyspell-incorrect-face, flyspell-duplicate-face):
3536 Remove obsolete aliases.
4b56d0fe 3537
03310646
MA
35382012-06-08 Michael Albinus <michael.albinus@gmx.de>
3539
3540 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3541 Avoid infloop.
3542
513749ee
SM
35432012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * startup.el (argv, argi): Make lexically scoped.
3546 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3547 * emacs-lisp/cl-macs.el: Use lexical-binding.
3548 Rename cl-bind-* to cl--bind-*.
3549 * files.el: Don't require `cl' since it doesn't use it.
3550 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3551
595ef4ad
JB
35522012-06-08 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3555 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3556 instead of calling external sort utility.
3557 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3558
e9f66fcb
EZ
35592012-06-08 Eli Zaretskii <eliz@gnu.org>
3560
3561 * descr-text.el (describe-char): Mention how to insert the
3562 character, if the current input method doesn't support it.
3563 See the discussion in this thread for the details:
3564 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3565
3d10db47
SS
35662012-06-08 Sam Steingold <sds@gnu.org>
3567
3568 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3569 XF86Back to previous-buffer.
3570 (minibuffer-local-map): Bind them to next-history-element and
3571 previous-history-element respectively.
3572 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3573 help-go-back respectively.
3574 * info.el (Info-mode-map): Bind them to Info-history-forward and
3575 Info-history-back respectively.
3576 These are the keys next to Up on the ThinkPad keyboard.
3577
de7e2b36
SM
35782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3581 * emacs-lisp/cl-macs.el: Provide itself.
3582 (cl--labels-convert-cache): New var.
3583 (cl--labels-convert): New function.
3584 (cl-flet, cl-labels): New implementation with new semantics, relying on
3585 lexical-binding.
3586 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3587 (cl-closure-vars, cl--function-convert-cache)
3588 (cl--function-convert): Move from cl-macs.el.
3589 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3590 rename by removing the "cl-" prefix.
3591 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3592
6fa6c4ae
SM
35932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3596 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3597 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3598 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3599 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3600 (cl-hash-table-count): Add old compatibility aliases.
3601
3602 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3603 Use macroexpand-all-environment instead.
3604 (cl--old-macroexpand): New var.
3605 (cl--sm-macroexpand): New function.
3606 (cl-symbol-macrolet): Use it during macro expansion.
3607 (cl--function-convert-cache): New var.
3608 (cl--function-convert): New function, extracted from
3609 cl-macroexpand-all.
3610 (cl-lexical-let): Use it.
3611
3612 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3613 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3614 (cl-member): Remove old alias.
3615
3616 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3617 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3618 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3619 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3620 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3621 (cl-macroexpand-cmacs): Remove var.
3622 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3623 Use macroexpand-all instead.
3624
4dd1c416
SM
36252012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3628 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3629 (macroexp-copyable-p): New functions and macros.
3630 * emacs-lisp/edebug.el (edebug-unwrap):
3631 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3632 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3633 (pcase--let*): Remove.
3634 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3635 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3636 macroexp-const-p instead.
3637 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3638
3639 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3640 instead of "cl-" for internal definitions. Use macroexp-const-p.
3641 (cl-old-bc-file-form): Remove var.
3642 (cl-const-exprs-p): Remove fun.
3643 (cl-labels, cl-macrolet): Use backquote.
3644 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3645 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3646 (cl-define-setf-expander): Rename from cl-define-setf-method.
3647 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3648
3649 * international/mule-cmds.el: Don't require CL.
3650 (view-hello-file): Don't use `letf'.
3651
ed8bd4d7
SM
36522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3653
7287f2f3
SM
3654 * tmm.el (tmm-prompt): Use string-prefix-p.
3655 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3656 (tmm-add-prompt): Use minibuffer-completion-help.
3657 (tmm-delete-map): Remove.
3658
ed8bd4d7
SM
3659 * subr.el (kbd): Make it its own function.
3660
7b4cdbf4
SM
36612012-06-07 Stefan Merten <smerten@oekonux.de>
3662
3663 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3664 Silence compiler warnings. Fix versions.
ed8bd4d7 3665 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3666 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3667 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3668 (rst-package-emacs-version-alist): Correct Emacs version to
3669 represent major merge with upstream.
ed8bd4d7 3670 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3671
2b48d721
GM
36722012-06-06 Glenn Morris <rgm@gnu.org>
3673
3674 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3675 Only print environment variables if set.
3676
fa779ab0
SM
36772012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3680 (macroexp--cons): Rename from maybe-cons.
3681 (macroexp--accumulate): Rename from macroexp-accumulate.
3682 (macroexp--all-forms): Rename from macroexpand-all-forms.
3683 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3684 (macroexp--expand-all): Rename from macroexpand-all-1.
3685
628299e0
SS
36862012-06-06 Sam Steingold <sds@gnu.org>
3687
3688 * calendar/calendar.el (calendar-in-read-only-buffer):
3689 Call `special-mode' to enable the standard read-only keybindings.
3690
b7bb5838
SM
36912012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3694 with "loading" messages (bug#11635).
3695
dfb308ba
MA
36962012-06-06 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * files.el (enable-remote-dir-locals): New option.
3699 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3700
0372ee92
MA
3701 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3702 Ensure, that the temp directory is local.
3703
3704 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3705 `temporary-file-directory'.
3706
eed0bb91
MA
3707 * progmodes/python.el (python-send-region): Ensure, that the
3708 temporary file is created also in the remote case.
3709
7a58f64d
GM
37102012-06-06 Glenn Morris <rgm@gnu.org>
3711
f7dd4e98
GM
3712 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3713 (vc-rcs-update-changelog): Use it.
3714
090bd7cb 3715 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3716
7a58f64d
GM
3717 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3718 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3719 (vc-sccs-diff): Replace use of the external vcdiff script.
3720
daed4003
GM
37212012-06-05 Glenn Morris <rgm@gnu.org>
3722
3723 * ledit.el: Move to obsolete/.
3724
48c455c7
SS
37252012-06-05 Sam Steingold <sds@gnu.org>
3726
ed9265fc 3727 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3728 patch (Bug#11140).
3729
57a7d507
SM
37302012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3731
090bd7cb 3732 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3733
53aacf21
SM
3734 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3735 compiler-macro expansion.
3736
57a7d507
SM
3737 Add native compiler-macro support.
3738 * emacs-lisp/macroexp.el (macroexpand-all-1):
3739 Support compiler-macros directly. Properly follow aliases and apply
3740 the compiler macros more thoroughly.
3741 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3742 macroexpand now properly follows aliases.
3743 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3744 (cl-compiler-macroexpand): Use new prop.
3745 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3746
3747 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3748
51a5f9d8
MR
37492012-06-05 Martin Rudalics <rudalics@gmx.at>
3750
3751 * window.el (get-lru-window, get-mru-window, get-largest-window):
3752 New argument NOT-SELECTED to avoid picking the selected window.
3753 (window--display-buffer-1, window--display-buffer-2): Replace by
3754 new function window--display-buffer
3755 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3756 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3757 Use window--display-buffer.
51a5f9d8
MR
3758 (display-buffer-use-some-window): Remove temporary dedication
3759 hack by calling get-lru-window and get-largest-window with
3760 NOT-SELECTED argument non-nil. Call window--display-buffer.
3761
08f9f738
GM
37622012-06-05 Glenn Morris <rgm@gnu.org>
3763
3764 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3765 Replace external vcdiff script.
3766
e364a2b7
SM
37672012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3770
041df390
CY
37712012-06-04 Chong Yidong <cyd@gnu.org>
3772
e364a2b7
SM
3773 * image.el (imagemagick-types-inhibit): Revert last change.
3774 Add INFO and M.
47b36b94 3775 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3776
7c1898a7
SM
37772012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * emacs-lisp/cl-lib.el: Rename from cl.el.
3780 * emacs-lisp/cl.el: New compatibility file.
3781 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3782 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3783 to obey the "cl-" prefix.
3784 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3785
0c3461de
GM
37862012-06-03 Glenn Morris <rgm@gnu.org>
3787
1e266c88
GM
3788 * emacs-lisp/authors.el (authors-aliases): Addition.
3789
0c3461de
GM
3790 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3791 Fix :version.
3792
d8a52e15
SM
37932012-06-03 Stefan Merten <smerten@oekonux.de>
3794
3795 * textmodes/rst.el: Add comments.
3796 (rst-transition, rst-adornment): New faces.
3797 (rst-adornment-faces-alist): Make default safe to reevaluate.
3798 Fixes
3799 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3800 Improve customization tags.
3801 (rst-define-level-faces): Clarify meaning.
3802
5205d6f6
CY
38032012-06-03 Chong Yidong <cyd@gnu.org>
3804
3805 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3806 (compilation-mode-line-run, compilation-mode-line-exit):
3807 New faces.
5205d6f6
CY
3808 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3809
757ee657
JD
38102012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3811
7c1898a7
SM
3812 * progmodes/which-func.el (which-func-update-ediff-windows):
3813 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3814
5f2c76c6
CY
38152012-06-03 Chong Yidong <cyd@gnu.org>
3816
3817 * bindings.el: Remove explicit help text from format-mode-line.
3818 It is now supplied by mode-line-default-help-echo.
3819 (mode-line-front-space, mode-line-end-spaces)
3820 (mode-line-misc-info): New variables.
3821 (mode-line-modes, mode-line-position): Move the default value to
3822 the variable definition.
3823 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3824 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3825 (mode-line-modified-help-echo): New functions.
3826 (mode-line-mule-info, mode-line-modified): Use them.
3827 (mode-line-eol-desc, propertized-buffer-identification):
3828 Consistency fixes for help text.
cbe46e5f
CY
3829 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3830 set-buffer-file-coding-system (Bug#289).
3831 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3832
f2d6a3df
SM
38332012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * simple.el (execute-extended-command): Set real-this-command
3836 (bug#11506).
3837
37269466
CY
38382012-06-02 Chong Yidong <cyd@gnu.org>
3839
3840 Remove incorrect uses of "modeline" in comments, docstrings, and
3841 function/variable names (Bug#10329).
3842
3843 * cus-edit.el (mode-line):
3844 * dframe.el (dframe-mouse-hscroll):
3845 * emacs-lisp/re-builder.el:
3846 * emacs-lisp/easy-mmode.el (define-minor-mode):
3847 * frame.el (set-frame-name):
3848 * help.el (lookup-minor-mode-from-indicator):
3849 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3850 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3851 (c-toggle-hungry-state):
3852 * progmodes/antlr-mode.el (antlr-language-alist):
3853 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3854 * progmodes/vhdl-mode.el (vhdl-mode):
3855 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3856 * term/ns-win.el (ns-face-at-pos):
3857 * term/sup-mouse.el (sup-mouse-report):
3858 * textmodes/flyspell.el (flyspell-mode-line-string):
3859 * textmodes/ispell.el (ispell-highlight-face):
3860 * textmodes/reftex-global.el:
3861 * vc/vc-arch.el (vc-arch-mode-line-string):
3862 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3863 * vc/vc-git.el (vc-git-mode-line-string):
3864 * vc/vc-hooks.el (vc-display-status)
3865 (vc-default-mode-line-string):
3866 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3867
3868 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3869
3870 * dired.el (dired-sort-set-mode-line): Rename from
3871 dired-sort-set-modeline. All callers changed.
3872
3873 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3874 eshell-status-in-modeline.
3875
3876 * foldout.el (foldout-mode-line-string): Rename from
3877 foldout-modeline-string. All callers changed.
3878 (foldout-update-mode-line): Rename from foldout-update-modeline.
3879
3880 * subr.el (redraw-modeline): Make into obsolete alias.
3881
3882 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3883 timeclock-modeline-display. Make old name an alias.
3884 (timeclock-update-mode-line): Likewise. All callers changed.
3885 (timeclock-mode-line-display): No need to check before using
3886 add-hook.
3887 (timeclock-relative, timeclock-day-over-hook)
3888 (timeclock-use-elapsed, timeclock-mode-string)
3889 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3890
3891 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3892 crisp-mode-modeline-string.
3893
3894 * play/solitaire.el (solitaire-build-mode-line): Rename from
3895 solitaire-build-modeline. All callers changed.
3896
3897 * play/zone.el (zone-hiding-mode-line): Rename from
3898 zone-hiding-modeline. All callers changed.
3899 (zone): Remove unusued `modeline-hidden-level' property.
3900
3901 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3902 xscheme-modeline-initialize. All callers changed.
3903
3904 * strokes.el (strokes-lighter): Rename from
3905 strokes-modeline-string.
3906
3907 * textmodes/sgml-mode.el (html-face-tag-alist)
3908 (html-tag-face-alist): Use mode-line face instead of obsolete
3909 alias modeline.
3910
42152ee4
SM
39112012-06-02 Stefan Merten <smerten@oekonux.de>
3912
3913 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3914 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3915
95f520b5
CY
39162012-06-02 Chong Yidong <cyd@gnu.org>
3917
3918 * image.el (imagemagick-enabled-types): Rename from
3919 imagemagick-types-enable. Add many more types.
3920 (imagemagick-types-inhibit): Change default to nil.
3921 (imagemagick-filter-types): Caller changed.
3922
4a5f187a
SM
39232012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3924
03fef3e6
SM
3925 * emacs-lisp/cl-macs.el: Use backquotes.
3926 (cl-transform-function-property): Use eval-and-compile rather than
3927 abusing `require'.
3928 (defstruct): Use declare-function instead of with-no-warnings.
3929
4a5f187a
SM
3930 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3931 (byte-compile-output-docform): Re-add the print-circle bindings.
3932 (byte-compile-fix-header): Use #$ just because it's shorter.
3933 (byte-compile-output-file-form): Remove defun/defmacro.
3934
bd56924f
MR
39352012-06-01 Martin Rudalics <rudalics@gmx.at>
3936
3937 * simple.el (choose-completion): Remove now obsolete binding for
3938 owindow.
3939
046e38ce
MA
39402012-06-01 Michael Albinus <michael.albinus@gmx.de>
3941
3942 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3943 in order to avoid "Stack overflow in regexp matcher".
3944
32d72c2f
GM
39452012-05-31 Glenn Morris <rgm@gnu.org>
3946
3947 * image.el: For clarity, call imagemagick-register-types at
3948 top-level, rather than relying on a custom :initialize.
3949 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3950 (imagemagick-filter-types): New function. (Bug#7406)
3951 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3952 If disabling support, remove elements altogether rather
3953 than using an impossible regexp.
3954 (imagemagick-types-inhibit): Give it the default init function.
3955
dd41169b
SM
39562012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3957
4a5f187a
SM
3958 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3959 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3960
efc00ab1 39612012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3962
3963 * desktop.el (desktop-read): Clear previous and next buffers for
3964 all windows and bury *Messages* buffer (bug#11556).
3965
500fcedc
SM
39662012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3967
3968 Add `declare' for `defun'. Align `defmacro's with it.
3969 * emacs-lisp/easy-mmode.el (define-minor-mode)
3970 (define-globalized-minor-mode): Don't autoload the var definitions.
3971 * emacs-lisp/byte-run.el: Use lexical-binding.
3972 (defun-declarations-alist, macro-declarations-alist): New vars.
3973 (defmacro, defun): Use them.
3974 (make-obsolete, define-obsolete-function-alias)
3975 (make-obsolete-variable, define-obsolete-variable-alias):
3976 Use `declare'.
3977 (macro-declaration-function): Mark obsolete.
3978 * emacs-lisp/autoload.el: Use lexical-binding.
3979 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3980
6e8a1786
AM
39812012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3982
3983 * textmodes/ispell.el (ispell-with-no-warnings):
3984 Define as a macro.
500fcedc
SM
3985 (ispell-kill-ispell, ispell-change-dictionary):
3986 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3987 `interactive-p'.
3988
61b108cc
SM
39892012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3992 (macro-declaration-function): Move var from C code.
3993 (macro-declaration-function): Define function with defalias.
3994 * emacs-lisp/macroexp.el (macroexpand-all-1):
3995 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3996 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3997 defun/defmacro any more.
3998 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3999 Provide fallback for unknown arglist.
4000 (byte-compile-arglist-warn): Change calling convention.
4001 (byte-compile-output-file-form): Move print-vars binding.
4002 (byte-compile-output-docform): Simplify accordingly.
4003 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4004 (byte-compile-defmacro-declaration): Remove.
4005 (byte-compile-file-form-defmumble): Generalize to defalias.
4006 (byte-compile-output-as-comment): Return byte-positions.
4007 Simplify callers accordingly.
4008 (byte-compile-lambda): Use `assert'.
4009 (byte-compile-defun, byte-compile-defmacro): Remove.
4010 (byte-compile-file-form-defalias):
4011 Use byte-compile-file-form-defmumble.
4012 (byte-compile-defalias-warn): Remove.
4013
6d3f7c2f
SM
40142012-05-29 Stefan Merten <smerten@oekonux.de>
4015
4016 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4017 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4018
4019 (rst-mode-abbrev-table): Merge definition.
4020 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4021 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4022
6dbaa1c7
UJ
40232012-05-29 Ulf Jasper <ulf.jasper@web.de>
4024
4025 * calendar/icalendar.el
4026 (icalendar-export-region): Export UID properly.
4027
d209e2fb 40282012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4029 * calendar/icalendar.el (icalendar-import-format):
4030 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4031 (icalendar-import-format-uid): New.
4032 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4033 Export UID.
4034
6876a58d
SM
40352012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4038 different alternative patterns.
4039 (pcase-codegen): Be more careful to preserve identity.
4040 (pcase--u1): Don't forget to mark vars as used.
4041
4042 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4043 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4044 (byte-compile-from-buffer): ...rather than here.
4045
4046 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4047 functions from byte-compile-function-environment.
4048
46b7967e
TN
40492012-05-29 Troels Nielsen <bn.troels@gmail.com>
4050
4051 * window.el (window-deletable-p): Avoid deleting the root window
4052 of a frame with an active minibuffer.
4053
69d565e2
MR
40542012-05-29 Martin Rudalics <rudalics@gmx.at>
4055
4056 * simple.el (choose-completion): Use quit-window (Bug#11567).
4057
a149fa51
CY
40582012-05-29 Chong Yidong <cyd@gnu.org>
4059
4060 * whitespace.el (whitespace-cleanup): Fix usage of
4061 whitespace-empty-at-bob-regexp (Bug#11492).
4062
2b311310
AH
40632012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4064
4065 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4066 revert (Bug#11488).
4067
b9cb2387
JL
40682012-05-29 Juri Linkov <juri@jurta.org>
4069
4070 * isearch.el (isearch-mode-map): Bind `M-s _' to
4071 `isearch-toggle-symbol'. Bind `M-s c' to
4072 `isearch-toggle-case-fold'.
4073 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4074 (isearch-forward): Add `M-s _' to the docstring.
4075 (isearch-forward-symbol, isearch-toggle-case-fold)
4076 (isearch-symbol-regexp): New functions. (Bug#11381)
4077
d5e61c1c
JL
40782012-05-29 Juri Linkov <juri@jurta.org>
4079
4080 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4081 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4082 a function, call it to get the regexp.
4083 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4084 property `isearch-message-prefix' instead of the string "word ".
4085 (isearch-search-fun-default): For the case of `isearch-word',
4086 return a lambda that calls re-search-forward/re-search-backward
4087 with a regexp returned by `word-search-regexp' or by the function
4088 in `isearch-word'.
4089
8cbd80f7
JL
40902012-05-29 Juri Linkov <juri@jurta.org>
4091
4092 * isearch.el (isearch-search-fun-default): New function.
4093 (isearch-search-fun): Move default part to the new function
4094 `isearch-search-fun-default'.
4095 (isearch-search-fun-function): Set the default value to
4096 `isearch-search-fun-default'. (Bug#11381)
4097
4098 * comint.el (comint-history-isearch-end):
4099 Use `isearch-search-fun-default'.
4100 (comint-history-isearch-search): Use `isearch-search-fun-default'
4101 and remove spacial case for `isearch-word'.
4102 (comint-history-isearch-wrap): Remove spacial case for
4103 `isearch-word'.
4104
4105 * hexl.el (hexl-isearch-search-function):
4106 Use `isearch-search-fun-default'.
4107
4108 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4109 Use `word-search-regexp' for `isearch-word'.
4110
4111 * misearch.el (multi-isearch-search-fun):
4112 Use `isearch-search-fun-default'.
4113
4114 * simple.el (minibuffer-history-isearch-search):
4115 Use `isearch-search-fun-default' and remove spacial case for
4116 `isearch-word'.
4117 (minibuffer-history-isearch-wrap): Remove spacial case for
4118 `isearch-word'.
4119
4120 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4121 Remove spacial case for `isearch-word'.
4122 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4123
85c8c5b6
AM
41242012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4125
4126 Decrease XEmacs incompatibilities.
4127 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4128 Use `string-match'.
4129 (flyspell-delete-region-overlays): Use alternative definition for
4130 XEmacs.
4131 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4132 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4133 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4134 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4135 `define-obsolete-face-alias' under XEmacs, but old method.
4136
4137 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4138 `with-no-warnings' definition or Emacs alias.
4139 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4140 (ispell-word): Do not use `region-p' if XEmacs.
4141
8cab9efc
AM
41422012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4143
4144 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4145 Check for `ispell-dictionary-base-alist' instead of full
4146 `ispell-dictionary-alist'.
4147 (ispell-init-process): Show spellchecker when starting new Ispell
4148 process.
4149
fda91268
RZ
41502012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4153 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4154
694ea8e3
JB
41552012-05-27 Juanma Barranquero <lekktu@gmail.com>
4156
4157 * version.el (motif-version-string, gtk-version-string)
4158 (ns-version-string): Declare.
4159
e4d4f539
JL
41602012-05-27 Juri Linkov <juri@jurta.org>
4161
4162 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4163 after the `eval-defun-1' specialcaseing
4164 like in `edebug-eval-defun' (bug#10181).
4165
4166 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4167 like in `eval-defun-1'.
4168
33017faf 41692012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4170
fda91268
RZ
4171 * mail/sendmail.el (mail-yank-region):
4172 Recognize rmail-yank-current-message in addition to insert-buffer.
4173 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4174 a *mail* buffer created through rmail-start-mail with sendmail as
4175 mail-user-agent.
4176
33017faf
GM
41772012-05-27 Chong Yidong <cyd@gnu.org>
4178
4179 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4180 Default to 256 (Bug#11267).
4181
4182 * help.el (describe-mode): Doc fix.
4183
04188bb9
GM
41842012-05-26 Glenn Morris <rgm@gnu.org>
4185
38264cc9
GM
4186 * w32-fns.el (w32-init-info): Remove.
4187 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4188
eb7afdad
GM
4189 * info.el (info-initialize): For self-contained NS builds, put the
4190 included info/ directory at the front. (Bug#2791)
4191
04188bb9
GM
4192 * paths.el (Info-default-directory-list): Make it a defcustom,
4193 mainly so that we can use custom-initialize-delay.
4194
a179e3f7
SM
41952012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4196
43416392
SM
4197 * subr.el (buffer-has-markers-at): Mark obsolete.
4198
a179e3f7 4199 * subr.el (lambda): Use declare.
43416392 4200
a179e3f7
SM
4201 * emacs-lisp/lisp-mode.el (lambda):
4202 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4203
34a008d9
AH
42042012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4205
4206 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4207
0a3b289f
GM
42082012-05-26 Glenn Morris <rgm@gnu.org>
4209
4210 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4211
758c81e8
GM
42122012-05-25 Glenn Morris <rgm@gnu.org>
4213
f9f334f0
GM
4214 * paths.el: Remove no-byte-compile.
4215 * loadup.el: No need to load paths.el uncompiled.
4216
87eb79c2
GM
4217 * image.el (imagemagick-types-inhibit): Doc fix.
4218
758c81e8
GM
4219 * version.el: Remove no-byte-compile and associated formatting.
4220 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4221 is ancient code from when there was an "inc-vers.el".
4222
e7e85dc0
SM
42232012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * progmodes/gdb-mi.el: Minor style changes.
4226 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4227 Turn into minor modes.
4228 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4229 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4230 (gdb-shell): Remove unneeded let-binding.
4231 (gdb-get-many-fields): Eliminate O(n²) behavior.
4232
f31237a4
EZ
42332012-05-25 Eli Zaretskii <eliz@gnu.org>
4234
4235 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4236 platforms that don't link in fontset.c.
4237
bc1b21bb
JL
42382012-05-25 Juri Linkov <juri@jurta.org>
4239
4240 Use the same diff color scheme as in modern VCSes (bug#10181).
4241
4242 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4243 to avoid confusion with `diff-added' that now uses green colors.
4244 (diff-removed): Use shades of red.
4245 (diff-added): Use shades of green.
4246 (diff-changed): Leave just the yellow color.
4247 (diff-use-changed-face): New variable.
4248 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4249 how to highlight context diff changes.
4250 (diff-refine-change): Use shades of yellow.
4251 (diff-refine-removed): New face that uses shades of red.
4252 (diff-refine-added): New face that uses shades of green.
4253 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4254 `diff-refine-removed' in the call to `smerge-refine-subst'
4255 depending on the value of `diff-use-changed-face'.
4256
4257 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4258 (smerge-other): Use shades of green.
4259 (smerge-base): Use shades of yellow.
4260 (smerge-refined-change): Empty face.
4261 (smerge-refined-removed): New face that uses shades of red.
4262 (smerge-refined-added): New face that uses shades of green.
4263 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4264 args `props-r' and `props-a', and use them. Doc fix.
4265 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4266 on its value use different faces `smerge-refined-change',
4267 `smerge-refined-removed', `smerge-refined-added' in the call to
4268 `smerge-refine-subst'.
4269
4270 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4271 Add face condition `min-colors 88' with shades of red.
4272 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4273 `min-colors 88' with shades of green.
4274 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4275 `min-colors 88' with shades of yellow.
4276
6df9112c
GM
42772012-05-24 Glenn Morris <rgm@gnu.org>
4278
ead5edc0
GM
4279 * paths.el (prune-directory-list, remote-shell-program): Move to...
4280 * files.el (prune-directory-list, remote-shell-program): ...here.
4281 For the latter, delay initialization, prefer ssh, just search PATH.
4282
f18b81e6
GM
4283 * paths.el (term-file-prefix): Move to faces.el (the only user).
4284 * faces.el (term-file-prefix): Move here, make it a defcustom.
4285
ee2f89a6
GM
4286 * paths.el (news-directory, news-path, news-inews-program):
4287 Move to gnus/nnspool.el.
61a583ca 4288
f8815e4c
GM
4289 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4290
c8f3b42c
GM
4291 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4292 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4293 Make the latter a defcustom, with a delayed initialization.
4294
6df9112c
GM
4295 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4296 These were deleted from Gnus itself late 2010.
4297
5dadff36
JB
42982012-05-22 Juanma Barranquero <lekktu@gmail.com>
4299
9e1701c6
JB
4300 * progmodes/which-func.el (which-func-ff-hook):
4301 Check against user-error, not error.
4302
bd7239f5 4303 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4304 cl-specs.el, which no longer exists.
4305
3290526d
GM
43062012-05-22 Glenn Morris <rgm@gnu.org>
4307
4308 * info.el (info-emacs-bug): New command.
4309 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4310 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4311
ff0c3cfb
GM
43122012-05-21 Glenn Morris <rgm@gnu.org>
4313
4314 * makefile.w32-in (update-subdirs-SH):
4315 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4316
5814f126
SM
43172012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4318
a52c0aa0
SM
4319 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4320
5814f126
SM
4321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4322 Simplify Maven regexp, and make sure the file can't start with a space
4323 (bug#11517).
4324
b847032c
GM
43252012-05-21 Glenn Morris <rgm@gnu.org>
4326
4327 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4328 Scrap superfluous subshells.
4329
3858bfe7
SM
43302012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4333 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4334
d14b0029
JB
43352012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4336
4337 * calc/calc.el (calc-ensure-consistent-units): New variable.
4338
a52c0aa0
SM
4339 * calc/calc-units.el (math-consistent-units-p)
4340 (math-check-unit-consistency): New functions.
4341 (calc-quick-units, calc-convert-units):
4342 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4343 is non-nil.
d14b0029
JB
4344 (calc-extract-units): Fix typo.
4345
60c4db3a
SM
43462012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4347
77f3b62e
SM
4348 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4349
60c4db3a
SM
4350 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4351 (flyspell-default-deplacement-commands): Don't spell check after
4352 repeated window/frame switches (e.g. triggered by mouse-movement).
4353 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4354 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4355 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4356 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4357 Remove unused vars.
4358 (flyspell-get-casechars, flyspell-get-not-casechars):
4359 Simplify; Don't bother removing a ] just to add it back.
4360 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4361
d209e2fb 43622012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4363
4364 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4365 New functions.
bd7239f5 4366 (math-function-table): Add support for more C functions.
b1a10716 4367
3f1b25b5
AM
43682012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4369
090bd7cb
JB
4370 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4371 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4372 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4373
b581bb5c
SM
43742012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4377 their respective macro declarations.
4378 * skeleton.el (define-skeleton):
4379 * progmodes/compile.el (define-compilation-mode):
4380 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4381 (define-ibuffer-filter):
4382 * emacs-lisp/generic.el (define-generic-mode):
4383 * emacs-lisp/easy-mmode.el (define-minor-mode)
4384 (define-globalized-minor-mode):
4385 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4386 * emacs-lisp/byte-run.el (defsubst):
4387 * custom.el (deftheme): Add doc-string metadata.
4388
70b8ef8f
SM
43892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4392
b1198e17
SM
43932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4394
9abdc45d
SM
4395 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4396
b1198e17
SM
4397 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4398 * emacs-lisp/cl-macs.el: Idem.
4399 * emacs-lisp/cl-specs.el: Remove.
4400
4735906a
SM
44012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 Minor renaming of internal CL functions and variables.
4404 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4405 (cl--position): Rename from cl-position.
4406 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4407 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4408 (cl--random-state): Rename from *random-state*.
4409
ac348012
SM
44102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4413 parens around the arg list (bug#11499).
4414
a0a79cde
JL
44152012-05-17 Juri Linkov <juri@jurta.org>
4416
4417 * isearch.el (word-search-regexp, word-search-backward)
4418 (word-search-forward, word-search-backward-lax)
4419 (word-search-forward-lax): Move functions from search.c
4420 (bug#10145, bug#11381).
4421
65034a51
AM
44222012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4423
090bd7cb
JB
4424 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4425 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4426 Delay for otherchars as for normal word components.
65034a51 4427
1a72a195
SM
44282012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * minibuffer.el (completion--sifn-requote): Fix last change.
4431 (minibuffer-local-must-match-filename-map):
4432 Move define-obsolete-variable-alias before its var.
4433
fdb058c2
SM
44342012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4435
c41045e6
SM
4436 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4437
036dfb8b
SM
4438 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4439 behavior.
4440 (completion--string-equal-p): New function.
4441 (completion--twq-all): Use it to get better assertion failure data.
4442
2473256d
SM
4443 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4444 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4445 (shell--requote-argument): New functions.
4446 (shell-completion-vars): Use them.
4447 (shell--parse-pcomplete-arguments): Rename from
4448 shell-parse-pcomplete-arguments.
4449 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4450 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4451 Obey comint-file-name-quote-list.
4452
fdb058c2
SM
4453 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4454 (smie-indent-keyword): Use it.
4455
51fa99f1
SM
44562012-05-14 Stefan Merten <smerten@oekonux.de>
4457
4458 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4459
e18afed7 44602012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4461
4462 * net/rlogin.el (rlogin-mode-map): Fix last change.
4463
e18afed7 44642012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4465
4466 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4467 the following \r\n using a single `process-send-string', since the
4468 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4469 with two `process-send-string's (Bug#11444).
8633b1f4 4470
e18afed7 44712012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4472
fdb058c2
SM
4473 * shell.el (shell-parse-pcomplete-arguments):
4474 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4475
2d21d7f6
WJ
44762012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4477
e18afed7 4478 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4479 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4480 (image-transform-width, image-transform-fit-width): New functions.
4481 (image-transform-properties): Use them.
4482 (image-transform-check-size): New function.
4483 (image-toggle-display-image): Use it (for testing).
4484 (image-transform-set-rotation): Reduce angle mod 360.
4485 Delete obsolete comment.
4486
7102e6d0
WJ
44872012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4488
4489 * image-mode.el: Fix scaling (bug#11399).
4490 (image-transform-resize): Doc fix.
4491 (image-transform-properties): Default scale is 1 and height should
4492 be an integer.
4493
06bc5e6e
SM
44942012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4495
4496 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4497 than hard-coding `car', to fix misbehavior when moving forward.
4498
0ae03b6a
CY
44992012-05-13 Chong Yidong <cyd@gnu.org>
4500
4501 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4502 (tabulated-list-entries, tabulated-list-padding)
4503 (tabulated-list-sort-key): Make permanent-local.
4504
4505 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4506 (electric-buffer-list): Put electric buffer menu
4507 command descriptions in this docstring, instead of the docstring
4508 of electric-buffer-menu-mode. Code cleanups.
4509 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4510 Electric-buffer-menu-mode.
4511 (electric-buffer-update-highlight): Minor code cleanup.
4512
205a7391
MA
45132012-05-13 Michael Albinus <michael.albinus@gmx.de>
4514
4515 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4516 (Bug#11447)
4517
e5bd0a28
SM
45182012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 Move define-obsolete-variable-alias before the var's definition.
4521 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4522 * tooltip.el (tooltip-hook):
4523 * textmodes/reftex-toc.el (reftex-toc-map):
4524 * textmodes/reftex-sel.el (reftex-select-label-map)
4525 (reftex-select-bib-map):
4526 * textmodes/reftex-index.el (reftex-index-map)
4527 (reftex-index-phrases-map):
4528 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4529 * progmodes/meta-mode.el (meta-mode-map):
4530 * novice.el (disabled-command-hook):
4531 * loadhist.el (unload-hook-features-list):
4532 * frame.el (blink-cursor):
4533 * files.el (find-file-not-found-hooks, write-file-hooks)
4534 (write-contents-hooks):
4535 * emulation/tpu-edt.el (GOLD-map):
4536 * emacs-lock.el (emacs-lock-from-exiting):
4537 * emacs-lisp/generic.el (generic-font-lock-defaults):
4538 * emacs-lisp/chart.el (chart-map):
4539 * dos-fns.el (register-name-alist):
4540 * dired-x.el (dired-omit-files-p):
4541 * desktop.el (desktop-enable):
4542 * cus-edit.el (custom-mode-hook):
4543 * buff-menu.el (buffer-menu-mode-hook):
4544 * bookmark.el (bookmark-read-annotation-text-func)
4545 (bookmark-exit-hooks):
4546 * allout.el (allout-mode-deactivate-hook)
4547 (allout-exposure-change-hook, allout-structure-added-hook)
4548 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4549 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4550 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4551 comes before the corresponding variable's definition.
4552
ac59c2f6
CY
45532012-05-12 Chong Yidong <cyd@gnu.org>
4554
4555 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4556 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4557 (Buffer-menu-mode-map): Bind it.
4558 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4559
dee6c9a3
SM
45602012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4561
2171cea5
SM
4562 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4563 (prolog-upper-case-string, prolog-lower-case-string)
4564 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4565 (prolog-use-smie, prolog-smie-grammar): New vars.
4566 (prolog-smie-forward-token, prolog-smie-backward-token)
4567 (prolog-smie-rules): New funs.
4568 (prolog-comment-indent): Remove.
4569 (prolog-mode-variables): Use default comment indentation instead.
4570 Setup SMIE.
4571 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4572 (prolog-mode): Don't call them any more.
4573 (prolog-electric-colon, prolog-electric-dash)
4574 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4575
aa0382bd
SM
4576 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4577
dbacb4bd
SM
4578 * minibuffer.el (completion--twq-all): Again, allow case differences.
4579
13bdd94c
SM
4580 * term.el: Move keymap initialization code to be more idiomatic.
4581 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4582 (term-terminal-menu): Move initialization into declaration.
4583 (term-escape-char): Let the user set it in her .emacs.
4584
ff46c759
SM
4585 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4586 Provide SMIE-based indentation (not enabled by default yet).
4587 (sh-mode-map): Don't bind electric keys.
4588 Use electric-pair-mode instead of skeleton-pair.
4589 (sh-assignment-regexp): Fit within 80 columns.
4590 (sh-indent-supported): Specify actual shell name instead of boolean.
4591 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4592 (sh-maybe-here-document): Use it. Make obsolete.
4593 (sh-electric-here-document-mode) New minor mode.
4594 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4595 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4596 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4597 (sh-smie-rc-grammar, sh-use-smie): New vars.
4598 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4599 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4600 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4601 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4602 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4603 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4604 (sh-set-shell): Use smie-setup if requested.
4605
dee6c9a3
SM
4606 * term.el (term-set-escape-char): Properly set term-escape-char.
4607 See http://stackoverflow.com/questions/10524656.
4608
9f9aa044
CY
46092012-05-10 Chong Yidong <cyd@gnu.org>
4610
4611 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4612 Use url-generic-parse-url, and handle host names and Windows
4613 filenames properly.
4614 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4615 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4616 URL schemes to work on.
4617 (ffap--toggle-read-only): New function.
4618 (ffap-read-only, ffap-read-only-other-window)
4619 (ffap-read-only-other-frame): Use it.
4620 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4621 necessary for ffap-url-unwrap-remote.
4622
836d29b3
DA
46232012-05-10 Dave Abrahams <dave@boostpro.com>
4624
4625 * cus-start.el (create-lockfiles): Add it.
4626
00fd78ed
CY
46272012-05-09 Chong Yidong <cyd@gnu.org>
4628
4629 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4630 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4631
666b903b 46322012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4633
4634 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4635
666b903b 46362012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4637
4638 * ansi-color.el (ansi-color-process-output): Check for validity of
4639 comint-last-output-start before using it. This avoids a bad
4640 interaction with gdb-mi's input/output buffer.
4641
666b903b 46422012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4643
4644 * files.el (dir-locals-read-from-file):
4645 Mention dir-locals in any error message.
4646
666b903b 46472012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4648
4649 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4650 package (Bug#11410).
4651
f677562b
CY
4652 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4653 variables into description.
4654
666b903b 46552012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4656
4657 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4658 shell-delimiter-argument-list (bug#11348).
4659 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4660
b499d8d0
JB
46612012-05-09 Juanma Barranquero <lekktu@gmail.com>
4662
8f6b6da8
JB
4663 * textmodes/rst.el: Silence byte-compiler warnings.
4664 (rst-re-alist, rst-reset-section-caches): Move around.
4665 (rst-re): Use `characterp', not `char-valid-p'.
4666 (font-lock-beg, font-lock-end): Declare.
4667
4824146a
JB
4668 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4669 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4670
b499d8d0
JB
4671 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4672
ad89bb83
GM
46732012-05-08 Glenn Morris <rgm@gnu.org>
4674
4675 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4676
8bba5a75
SM
46772012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4678
49ed9c8e
SM
4679 * vc/log-edit.el: Add GNU coding standards highlighting.
4680 (log-edit-font-lock-gnu-style)
4681 (log-edit-font-lock-gnu-keywords): New vars.
4682 (log-edit-font-lock-keywords): New fun.
4683 (log-edit-mode): Don't fold case in font-lock.
4684 (log-edit-font-lock-keywords): Do not assume case-folding.
4685
07d00b56
SM
4686 * imenu.el: Misc cleanup. Make docstrings out of comments.
4687 Use lexical-binding.
4688 (imenu--index-alist, imenu--last-menubar-index-alist)
4689 (imenu-menubar-modified-tick): Use defvar-local.
4690 (imenu--split-menu): Remove unused var.
4691 (imenu--cleanup-seen): Declare as global.
4692 (imenu--cleanup): Use dolist.
4693
8bba5a75
SM
4694 * subr.el (defvar-local): Add debug spec and doc-string position.
4695
5075bdb5
GM
46962012-05-08 Glenn Morris <rgm@gnu.org>
4697
090bd7cb 4698 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4699 * language/english.el, language/georgian.el, language/greek.el:
4700 * language/japanese.el, language/khmer.el, language/korean.el:
4701 * language/lao.el, language/misc-lang.el, language/romanian.el:
4702 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4703 * language/thai.el, language/utf-8-lang.el:
4704 Remove no-byte-compile setting.
4705
5075bdb5
GM
4706 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4707
06f679a7
AH
47082012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4709
4710 * progmodes/make-mode.el (makefile-browse):
4711 Remove unnecessary interactive. (Bug#11324)
4712
03794570
GM
47132012-05-07 Glenn Morris <rgm@gnu.org>
4714
af8630f4
GM
4715 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4716
03794570
GM
4717 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4718
f0809a9d
SM
47192012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4720
28be5ce7
SM
4721 * loadup.el: Preload newcomment.el.
4722 * newcomment.el: Move autoload-only code to toplevel.
4723
f0809a9d
SM
4724 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4725 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4726 Handle new :right-align column property.
4727 (tabulated-list-print-col): Idem, plus use `display' text-property to
4728 try and preserve alignment for variable pitch fonts.
4729
1241b724
CY
47302012-05-07 Chong Yidong <cyd@gnu.org>
4731
4732 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4733 (tabulated-list-use-header-line): New var.
4734 (tabulated-list-init-header): Use it.
4735 (tabulated-list-print-fake-header): New function.
4736 (tabulated-list-print): Use it.
4737 (tabulated-list-sort-button-map): Add non-header-line commands.
4738 (tabulated-list-init-header): Add column name property to basic
4739 labels as well.
4740 (tabulated-list-col-sort): Handle non-header-line button case.
4741 (tabulated-list--sort-by-column-name): Fix a corner case.
4742
f0809a9d
SM
4743 * buff-menu.el (list-buffers--refresh):
4744 Handle Buffer-menu-use-header-line.
1241b724 4745
e5f9458f
CY
47462012-05-06 Chong Yidong <cyd@gnu.org>
4747
4748 * buff-menu.el: Convert to Tabulated List mode.
4749 (Buffer-menu-buffer+size-width): Make obsolete.
4750 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4751 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4752 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4753 documentation into docstring of buffer-menu.
4754 (Buffer-menu-toggle-files-only): Add an informative message.
4755 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4756 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4757 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4758 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4759 (Buffer-menu-execute, Buffer-menu-select)
4760 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4761 (Buffer-menu-bury): Use Tabulated List machinery.
4762 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4763 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4764 Delete.
e5f9458f
CY
4765 (list-buffers--refresh): New function.
4766 (list-buffers-noselect): Use it.
4767 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4768 (Buffer-menu--pretty-file-name): New helper functions.
4769
4770 * loadup.el: Preload tabulated-list.
4771
4772 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4773 tabulated-list-sort-column.
4774 (tabulated-list-init-header): Add the initial aligning space even
4775 if tabulated-list-padding is zero.
4776
e129292c
CS
47772012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4778
4779 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4780 whose cdr is not a cons cell correctly (bug#11038).
4781
6632d361
CY
47822012-05-06 Chong Yidong <cyd@gnu.org>
4783
e129292c
CS
4784 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4785 Accept additional plist in column descriptors.
6632d361
CY
4786 (tabulated-list-init-header): Obey it.
4787 (tabulated-list-get-entry): New function.
4788 (tabulated-list-put-tag): Use it. Use string-width instead of
4789 length.
4790 (tabulated-list--column-number): New function.
4791 (tabulated-list-print): Use it.
e129292c
CS
4792 (tabulated-list-print-col): New function.
4793 Set `tabulated-list-column-name' property on each column's text.
6632d361 4794 (tabulated-list-print-entry): Use it.
e129292c
CS
4795 (tabulated-list-delete-entry, tabulated-list-set-col):
4796 New functions.
6632d361
CY
4797 (tabulated-list-sort-column): New command (Bug#11337).
4798
3cc99f68
CY
4799 * buff-menu.el (list-buffers): Move C-x C-b binding from
4800 buff-menu.el to bindings.el.
4801
4802 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4803 :advertised-binding feature.
4804
52b61776
TN
48052012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4806
4807 * progmodes/compile.el (compilation-internal-error-properties):
4808 Calculate start position correctly when end-col is set but
4809 end-line is not (Bug#11382).
4810
ebfe2597
WJ
48112012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4812
4813 * man.el (Man-unindent): Use text-property-default-nonsticky to
4814 prevent untabify from inheriting face properties (Bug#11408).
4815
6d3f7c2f
SM
48162012-05-05 Stefan Merten <smerten@oekonux.de>
4817
4818 * textmodes/rst.el: Major merge with upstream development up to
4819 Docutils SVN r7399 / rst.el V1.2.1.
4820
4821 Clarify maintainership and authors.
4822
4823 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4824 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4825 (rst-official-version, rst-official-cvs-rev, rst-version)
4826 (rst-package-emacs-version-alist): New functions and variables
4827 for version information.
4828
4829 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4830 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4831 (rst-mode-syntax-table, rst-mode): New and corrected functions
4832 and variables representing reStructuredText features.
4833
4834 (rst-re): New function for reStructuredText regexes. Use in
4835 many places.
4836
4837 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4838 (rst-mode-map): Rebind keys.
4839
4840 (rst-mode-lazy, rst-font-lock-keywords)
4841 (rst-font-lock-extend-region)
4842 (rst-font-lock-extend-region-internal)
4843 (rst-font-lock-extend-region-extend)
4844 (rst-font-lock-find-unindented-line-limit)
4845 (rst-font-lock-find-unindented-line-match)
4846 (rst-adornment-level, rst-font-lock-adornment-level)
4847 (rst-font-lock-adornment-match)
4848 (rst-font-lock-handle-adornment-pre-match-form)
4849 (rst-font-lock-handle-adornment-matcher): Major revision of
4850 font-locking. Integrate with other code. Use `jit-lock-mode'.
4851
4852 (rst-preferred-adornments, rst-adjust-hook)
4853 (rst-new-adornment-down, rst-preferred-bullets)
4854 (rst-preferred-bullets, rst-indent, rst-indent-width)
4855 (rst-indent-field, rst-indent-literal-normal)
4856 (rst-indent-literal-minimized, rst-indent-comment): Change,
4857 extend and improve customization.
4858
4859 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4860 (rst-normalize-cursor-position, rst-get-decoration)
4861 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4862 (rst-rstrip, rst-toc-insert-find-delete-contents)
4863 (rst-shift-fill-region, rst-compute-bullet-tabs)
4864 (rst-debug-print-tabs, rst-debug-mark-found)
4865 (rst-shift-region-guts, rst-shift-region-right)
4866 (rst-shift-region-left, rst-use-char-classes)
4867 (rst-font-lock-keywords-function)
4868 (rst-font-lock-indentation-point)
4869 (rst-font-lock-find-unindented-line-begin)
4870 (rst-font-lock-find-unindented-line-end)
4871 (rst-font-lock-find-unindented-line)
4872 (rst-font-lock-adornment-point, rst-font-lock-level)
4873 (rst-adornment-level-alist): Remove functions and variables.
4874
4875 (rst-compare-adornments, rst-get-adornment-match)
4876 (rst-suggest-new-adornment, rst-get-adornments-around)
4877 (rst-adornment-complete-p, rst-get-next-adornment)
4878 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4879 (rst-straighten-adornments): Standardize function names to
4880 use "adornment" instead of "decoration". Correct callers.
4881 Similar standardizing in many places.
4882
4883 (rst-update-section, rst-adjust, rst-promote-region)
4884 (rst-enumerate-region, rst-bullet-list-region)
4885 (rst-repeat-last-character): Correct use of `interactive'.
4886
4887 (rst-classify-adornment, rst-find-all-adornments)
4888 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4889 (rst-find-leftmost-column, rst-repeat-last-character):
4890 Refactor functions.
4891
4892 (rst-find-title-line, rst-reset-section-caches)
4893 (rst-get-adornments-around, rst-adjust-adornment-work)
4894 (rst-arabic-to-roman, rst-roman-to-arabic)
4895 (rst-insert-list-pos, rst-insert-list-new-item)
4896 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4897 New functions.
4898
4899 (rst-all-sections, rst-section-hierarchy)
4900 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4901 New variables.
4902
4903 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4904 configuration instead of only buffer. Change where necessary.
4905
4906 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4907 (rst-shift-region, rst-adaptive-fill): New functions for
4908 indentation and filling.
4909
4910 (rst-comment-line-break, rst-comment-indent)
4911 (rst-comment-insert-comment, rst-comment-region)
4912 (rst-uncomment-region): New functions for handling comments.
4913
4914 (rst-compile): Quote shell arguments.
4915
4916 (rst-compile-pdf-preview, rst-compile-slides-preview):
4917 Delete temporary files after use.
4918
a43f98b3
GM
49192012-05-05 Glenn Morris <rgm@gnu.org>
4920
48176e8b
GM
4921 * calendar/cal-html.el: Optionally include holidays in the output.
4922 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4923 (cal-html-holidays): New option.
4924 (cal-html-css-default): Add holiday entry.
4925 (holiday-in-range): Autoload it.
4926 (cal-html-htmlify-entry): Add optional class argument.
4927 (cal-html-htmlify-list): Add optional holidays argument.
4928 (cal-html-insert-agenda-days): Include holidays in the output.
4929 (cal-html-one-month): Maybe include holidays.
4930
a43f98b3
GM
4931 * calendar/holidays.el (holiday-in-range):
4932 Move here from cal-tex-list-holidays.
4933 * calendar/cal-tex.el (cal-tex-list-holidays):
4934 Make it an obsolete alias for holiday-in-range. Update all callers.
4935
fef9d149 49362012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4937
4938 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4939 Nextstep.
4940
248da2f4
RW
49412012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4942
4943 * files.el (file-auto-mode-skip): New var.
4944 (set-auto-mode-1): Use it.
4945
f95e9344
SM
49462012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4947
df96ab1e
SM
4948 * repeat.el: Use lexical-binding.
4949 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4950 (repeat-undo-count): Remove.
4951 (repeat):
4952 * progmodes/octave-mod.el (octave-abbrev-start):
4953 * progmodes/f90.el (f90-abbrev-start):
4954 * face-remap.el (text-scale-adjust):
4955 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4956
5342bb06
SM
4957 * emacs-lisp/pcase.el (pcase--let*): New function.
4958 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4959 a bit more.
4960 (pcase--split-pred): Be more clever about ruling out overlap between
4961 a predicate and some constant pattern.
4962 (pcase--q1): Use `null' instead of (eq foo nil).
4963
f95e9344
SM
4964 * subr.el (setq-local, defvar-local): New macros.
4965 (kbd): Redefine as an alias.
4966 (with-selected-window): Leave unrelated frames alone.
4967 (set-temporary-overlay-map): New function.
4968
71873e2b
SM
49692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * subr.el (user-error): New function.
4972 * window.el (switch-to-buffer):
4973 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4974 (smerge-match-conflict):
4975 * simple.el (previous-matching-history-element)
4976 (next-matching-history-element, goto-history-element, undo-more)
4977 (undo-start):
4978 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4979 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4980 (next-file, tags-loop-scan, list-tags, complete-tag):
4981 * progmodes/compile.el (compilation-loop):
4982 * mouse.el (mouse-minibuffer-check):
4983 * man.el (Man-bgproc-sentinel, Man-goto-page):
4984 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4985 (Info-history-forward, Info-follow-reference, Info-menu)
4986 (Info-extract-menu-item, Info-extract-menu-counting)
4987 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4988 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4989 (Info-next-reference, Info-prev-reference, Info-index)
4990 (Info-index-next, Info-follow-nearest-node)
4991 (Info-copy-current-node-name):
4992 * imenu.el (imenu--make-index-alist)
4993 (imenu-default-create-index-function, imenu-add-to-menubar):
4994 * files.el (basic-save-buffer, recover-file):
4995 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4996 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4997 (checkdoc-message-text, checkdoc-defun):
4998 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4999 * cus-edit.el (customize-changed-options, customize-rogue)
5000 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5001 (custom-variable-mark-to-reset-standard)
5002 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5003 (custom-file):
5004 * completion.el (check-completion-length):
5005 * comint.el (comint-search-arg)
5006 (comint-previous-matching-input-string-position)
5007 (comint-previous-matching-input)
5008 (comint-replace-by-expanded-history-before-point, comint-send-input)
5009 (comint-copy-old-input, comint-backward-matching-input)
5010 (comint-goto-process-mark, comint-set-process-mark):
5011 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5012 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5013
8a61ee22
SM
50142012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5015
66408d1e
SM
5016 * dabbrev.el (dabbrev--ignore-case-p): New function.
5017 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5018 Use it.
5019
8a61ee22
SM
5020 * files.el (automount-dir-prefix): Mark as obsolete.
5021
3c74813a
GM
50222012-05-04 Glenn Morris <rgm@gnu.org>
5023
5024 * patcomp.el, play/bruce.el: Move to obsolete/.
5025
0bfcf5c5
PE
50262012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5027
5028 Fix minor Y10k bugs.
5029 * arc-mode.el (archive-unixdate):
5030 * autoinsert.el (auto-insert-alist):
5031 * calc/calc-forms.el (math-this-year):
5032 * emacs-lisp/copyright.el (copyright-current-year)
5033 (copyright-update-year, copyright):
5034 * tar-mode.el (tar-clip-time-string):
5035 * time.el (display-time-update):
5036 Don't assume years have 4 digits.
5037
78f3273a
CY
50382012-05-04 Chong Yidong <cyd@gnu.org>
5039
5040 * dos-w32.el (file-name-buffer-file-type-alist)
5041 (direct-print-region-use-command-dot-com):
5042 * ffap.el (ffap-menu-regexp):
5043 * find-file.el (ff-special-constructs):
5044 * follow.el (follow-debug):
5045 * forms.el (forms--debug):
5046 * iswitchb.el (iswitchb-all-frames):
5047 * ido.el (ido-all-frames):
5048 * emacs-lisp/timer.el (timer-max-repeats):
5049 * mail/feedmail.el (feedmail-mail-send-hook)
5050 (feedmail-mail-send-hook-queued):
5051 * mail/footnote.el (footnote-signature-separator):
5052 * mail/mailabbrev.el (mail-alias-separator-string)
5053 (mail-abbrev-mode-regexp):
5054 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5055 * progmodes/idlwave.el (idlwave-libinfo-file)
5056 (idlwave-default-completion-case-is-down)
5057 (idlwave-library-routines): Convert defvars to defcustoms.
5058
5059 * mail/rmail.el (rmail-decode-mime-charset):
5060 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5061 (idlwave-shell-fix-inserted-breaks)
5062 (idlwave-shell-activate-alt-keybindings)
5063 (idlwave-shell-use-breakpoint-glyph):
5064 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5065
f7ae6719
SM
50662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5069
47086495
WS
50702012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5071
5072 * progmodes/verilog-mode.el (font-lock-keywords):
5073 Fix mis-highligting auto. Reported by Craig Barner.
5074 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5075 defines from global name space. Reported by Dan Dever.
5076 (verilog-auto-reset, verilog-auto-reset-widths)
5077 (verilog-auto-tieoff): Support using unbased numbers for
5078 AUTORESET and AUTOTIEOFF.
5079 (verilog-submit-bug-report): Update variable list.
5080 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5081 parenthesis from not matching. Reported by Michael Rytting.
5082 (verilog-auto-template-lint): Fix hash error when linting modules
5083 with no used templates.
5084 (verilog-warn, verilog-warn-error)
5085 (verilog-warn-fatal): When non-interactive report multiple
5086 warnings before exiting. Suggested by Brad Dobbie.
5087 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5088 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5089 to report unused template errors. Reported by Brad Dobbie.
5090 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5091 nets, bug438. Reported by Vns Blore.
5092 (verilog-auto-inout-module, verilog-auto-reg)
5093 (verilog-read-decls, verilog-read-sub-decls-sig)
5094 (verilog-signals-edit-wire-reg, verilog-signals-with):
5095 Fix passing of Verilog data types in ANSI input/output ports
5096 such as "output logic" into the AUTOs. Special case "wire" and
5097 "reg" for backwards compatibility presuming Verilog 2001.
5098 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5099 (verilog-preprocess): Fix replication of preprocess output.
5100 Reported by Brad Dobbie.
5101 (verilog-auto-inst-interfaced-ports):
5102 Create verilog-auto-inst-interfaced-ports, bug429.
5103 Reported by Julian Gorfajn.
5104 (verilog-after-save-font-hook)
5105 (verilog-before-save-font-hook): New variable.
5106 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5107 (verilog-save-font-mods): Wrap disabling fontification, reported
5108 by David Rogoff.
5109 (verilog-do-indent, verilog-pretty-declarations-auto)
5110 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5111 Reported by Pierre-David Pfister.
5112 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5113 of class declarations, bug292. Reported by Kevin Heilman.
5114 (verilog-read-decls): Fix 'parameter type' not appearing in
5115 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5116 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5117 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5118 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5119 Reported by David Kravitz.
5120
51212012-05-03 Michael McNamara <mac@mail.brushroad.com>
5122
5123 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5124 assignment with tests in ifs and for loops.
5125 (verilog-extended-complete-re, verilog-complete-reg): Change so
5126 that DPI inport functions don't look like fuction declarations.
5127 (verilog-pretty-expr): Don't line up assignment
5128 operations to the test and increment in if and for loops
5129 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5130 that DPI inport functions don't look like fuction declarations.
47086495 5131
2e51d4b5
KH
51322012-05-03 Kenichi Handa <handa@m17n.org>
5133
5134 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5135 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5136 (Bug#11282).
5137
2bd785a2
SM
51382012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * emacs-lisp/bytecomp.el
5141 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5142 since cconv.el might have introduced :fun-body, internal-make-closure,
5143 and friends for bytecomp to handle (bug#11391).
5144 * custom.el (defcustom): Avoid ((λ ..) ..).
5145
99d27583
SM
51462012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5147
5148 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5149
55a71479
JB
51502012-05-02 Juanma Barranquero <lekktu@gmail.com>
5151
5152 * notifications.el (dbus-debug):
5153 * term/linux.el (gpm-mouse-enable):
5154 * term/screen.el (xterm-register-default-colors): Declare.
5155
7b97c764
CY
51562012-05-02 Chong Yidong <cyd@gnu.org>
5157
2bc356d7
CY
5158 * cus-start.el (gc-cons-percentage, exec-suffixes)
5159 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5160 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5161 (make-cursor-line-fully-visible, void-text-area-pointer)
5162 (font-list-limit): Add customization data.
5163
7b97c764
CY
5164 * allout.el (allout-exposure-change-functions)
5165 (allout-structure-added-functions)
5166 (allout-structure-deleted-functions)
5167 (allout-structure-shifted-functions): Rename abnormal hooks from
5168 *-hook, and convert to defcustoms.
5d3385a0
JB
5169 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5170 Convert to defcustoms.
7b97c764
CY
5171 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5172
5173 * allout-widgets.el: Hook callers changed.
5174
90207a15 51752012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5176
5177 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5178 the yanked message in preference to the default value of
5179 buffer-file-coding-system.
5180
90207a15 51812012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5182
5d3385a0
JB
5183 * window.el (display-buffer--action-function-custom-type):
5184 Fix entry.
d9558cad 5185
90207a15 51862012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5187
5188 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5189
d80ac57b
GM
51902012-05-01 Glenn Morris <rgm@gnu.org>
5191
976f7668
GM
5192 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5193
beb83b5a
GM
5194 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5195
d80ac57b
GM
5196 * cus-edit.el (custom-variable-documentation): Simplify with format.
5197
b593d6a9 51982012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5199 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5200
5201 * simple.el (suggest-key-bindings, execute-extended-command):
5202 Move from keyboard.c.
5203
782fbf2a
CY
52042012-05-01 Chong Yidong <cyd@gnu.org>
5205
5206 * follow.el: Eliminate advice.
5207 (set-process-filter, process-filter, sit-for): Advice deleted.
5208 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5209 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5210 Vars deleted.
782fbf2a
CY
5211 (follow-auto): Use a :set function.
5212 (follow-mode): Rewritten. Don't advise process filters.
5213 (follow-switch-to-current-buffer-all, follow-scroll-up)
5214 (follow-scroll-down): Assume follow-mode is bound.
5215 (follow-comint-scroll-to-bottom)
5216 (follow-align-compilation-windows): New functions.
5217 (follow--window-sorter): New function.
5218 (follow-all-followers): Use it to explicitly sort windows by their
5219 positions; don't make assumptions about next-window order.
5220 (follow-windows-start-end, follow-delete-other-windows-and-split)
5221 (follow-calc-win-start): Doc fix.
5222 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5223 vertical-motion unnecessarily.
5224 (follow-adjust-window): New function.
5225 (follow-post-command-hook): Use it.
5226 (follow-call-set-process-filter, follow-call-process-filter)
5227 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5228 (follow-stop-intercept-process-output, follow-generic-filter):
5229 Functions deleted.
5230 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5231 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5232 New functions, replacing advice on scroll-bar-* commands.
87233a14 5233 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5234
5235 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5236 (comint-postoutput-scroll-to-bottom): Use it.
5237 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5238
290af740
GM
52392012-05-01 Glenn Morris <rgm@gnu.org>
5240
5241 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5242 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5243 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5244 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5245 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5246 Remove no-byte-compile setting.
5247
6eac8dc9
SM
52482012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5251 all-completions code to not return a number in the last cdr.
5252
9cc7819c
LL
52532012-04-30 Leo Liu <sdl.web@gmail.com>
5254
5255 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5256 read-only error.
5257
c93b886f
CY
52582012-04-29 Chong Yidong <cyd@gnu.org>
5259
5260 * follow.el (follow-calc-win-end): Rewrite to handle partial
5261 screen lines correctly (Bug#8390).
5262 (follow-avoid-tail-recenter): Minor cleanup.
5263
8b6c19f4
SM
52642012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5265
5266 Avoid the obsolete `assoc' package.
5267 * speedbar.el (speedbar-refresh): Avoid adelete.
5268 (speedbar-file-lists): Simplify and avoid aput.
5269 * man.el (Man--sections, Man--refpages): New vars, replacing
5270 Man-sections-alist and Man-refpages-alist.
5271 (Man-build-section-alist, Man-build-references-alist):
5272 Use them; avoid aput.
5273 (Man--last-section, Man--last-refpage): New vars.
5274 (Man-follow-manual-reference): Use them.
5275 Use the `default' arg of completing-read.
5276 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5277
c5bb7569
CY
52782012-04-27 Chong Yidong <cyd@gnu.org>
5279
d1d2e2e8
CY
5280 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5281
15cd8efd
CY
5282 * startup.el (x-apply-session-resources): New function.
5283
5284 * term/ns-win.el (ns-initialize-window-system):
5285 * term/w32-win.el (w32-initialize-window-system):
5286 * term/x-win.el (x-initialize-window-system): Use it to properly
5287 set menu-bar-mode and other vars from X resources, even if the
5288 initial frame is not a window-system frame (Bug#2299).
5289
c5bb7569
CY
5290 * subr.el (read-key): Avoid running filter function when setting
5291 up temporary tool bar entries (Bug#9922).
5292
a8e7d6d7 52932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5294
5295 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5296 (Bug#11344)
5297
a8e7d6d7 52982012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5299
5300 * select.el (xselect--encode-string): New function, split from
5301 xselect-convert-to-string.
5302 (xselect-convert-to-string): Use it.
5303 (xselect-convert-to-filename, xselect-convert-to-os)
5304 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5305 returned strings are properly encoded (Bug#11315).
5306
a8e7d6d7 53072012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5308
5309 * simple.el (delete-active-region): Move to killing custom group.
5310
a8e7d6d7 53112012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5312
5313 * progmodes/which-func.el (which-func-current): Quote %
5314 characters for mode-line processing.
5315
578c1d4b 53162012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5317
5318 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5319 reaching eob (Bug#11286).
5320
a8e7d6d7 53212012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5322
5323 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5324 (gdb): Make it buffer-local and init to zero.
5325 (gdb-control-commands-regexp): New variable.
5326 (gdb-send): Don't wrap in "-interpreter-exec console" if
5327 gdb-control-level is positive. Increment gdb-control-level
5328 whenever the command matches gdb-control-commands-regexp, and
5329 decrement it each time the command is "end". (Bug#11279)
5330
a8e7d6d7 53312012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5332
5333 * window.el (adjust-window-trailing-edge, enlarge-window)
5334 (shrink-window, window-resize):
5335 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5336 windows (Bug#11276).
5337
b3608390
CY
53382012-04-27 Chong Yidong <cyd@gnu.org>
5339
5340 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5341 fix "missing prefix" warning. All callers changed.
b3608390 5342
797e6e88
SM
53432012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * emacs-lisp/assoc.el: Move to obsolete/.
5346
e95a67dc
SM
53472012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5348
657c21e4 5349 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5350
5351 * term/ns-win.el (ns-define-service):
5352 * progmodes/pascal.el (pascal-goto-defun):
5353 * progmodes/js.el (js--read-tab):
5354 * progmodes/etags.el (tags-lazy-completion-table):
5355 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5356 * emacs-lisp/ewoc.el (ewoc--wrap):
5357 * emacs-lisp/assoc.el (aput, adelete, amake):
5358 * doc-view.el (doc-view-convert-current-doc):
5359 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5360
cb3e7ae0
CY
53612012-04-26 Chong Yidong <cyd@gnu.org>
5362
dce04f7f
CY
5363 * image.el (image-type-from-buffer): Only return supported image
5364 type (Bug#9045).
5365
cb3e7ae0
CY
5366 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5367 value, for symmetry with diff-end-of-hunk.
5368 (diff-split-hunk, diff-find-source-location)
5369 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5370 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5371 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5372 compute the relevant hunk or file properly (Bug#6005).
5373 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5374
0d42eb3e
SM
53752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * vc/vc-mtn.el:
5378 * vc/vc-hg.el:
5379 * vc/vc-git.el:
5380 * vc/vc-dir.el:
5381 * vc/vc-cvs.el:
5382 * vc/vc-bzr.el:
5383 * vc/vc-arch.el:
5384 * vc/vc.el: Replace lexical-let by lexical-binding.
5385 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5386 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5387 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5388
f08ae1c9
CY
53892012-04-26 Chong Yidong <cyd@gnu.org>
5390
8b71081d
CY
5391 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5392 (diff-mode-shared-map): Bind it to / and [remap undo].
5393
f08ae1c9
CY
5394 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5395 (ediff-window-setup-function): Use it as the default, to set up
5396 windows based on whether the current frame is graphical (Bug#2138).
5397 (ediff-choose-window-setup-function-automatically): Make obsolete.
5398
5399 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5400
ef24141c
SM
54012012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5402
cc356a5d
SM
5403 * ffap.el: Remove old code for obsolete package.
5404 (ffap-complete-as-file-p): Remove.
5405
b4ff4f1f
SM
5406 Use completion-table-with-quoting for comint and pcomplete.
5407 * comint.el (comint--unquote&requote-argument)
5408 (comint--unquote-argument, comint--requote-argument): New functions.
5409 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5410 (comint-quote-filename): Use regexp-opt-charset.
5411 (comint--common-suffix, comint--common-quoted-suffix)
5412 (comint--table-subvert): Remove.
5413 (comint-unquote-function, comint-requote-function): New vars.
5414 (comint--complete-file-name-data): Use them with
5415 completion-table-with-quoting.
5416 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5417 * pcomplete.el (pcomplete-arg-quote-list)
5418 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5419 (pcomplete-unquote-argument-function): Default to non-nil.
5420 (pcomplete-unquote-argument): Simplify.
5421 (pcomplete--common-quoted-suffix): Remove.
5422 (pcomplete-requote-argument-function): New var.
5423 (pcomplete--common-suffix): New function.
5424 (pcomplete-completions-at-point): Use completion-table-with-quoting
5425 and completion-table-subvert.
5426
79c4eeb4
SM
5427 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5428 (minibuffer--double-dollars): Preserve properties.
5429 (completion--sifn-requote): New function.
5430 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5431
ef24141c
SM
5432 * minibuffer.el: Add support for completion of quoted/escaped data.
5433 (completion-table-with-quoting, completion-table-subvert): New funs.
5434 (completion--twq-try, completion--twq-all): New functions.
5435 (completion--nth-completion): New function.
5436 (completion-try-completion, completion-all-completions): Use it.
5437
784e7d6e
LL
54382012-04-25 Leo Liu <sdl.web@gmail.com>
5439
dd2ac746
SM
5440 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5441 Use compilation-message if available to find real filename.
784e7d6e 5442
07875ee7
CY
54432012-04-25 Chong Yidong <cyd@gnu.org>
5444
5445 * vc/diff-mode.el (diff-setup-whitespace): New function.
5446 (diff-mode): Use it.
5447
5448 * vc/diff.el (diff-sentinel):
5449 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5450 Whitespace mode variables based on diff style (Bug#8612).
5451
5055880d
LL
54522012-04-25 Leo Liu <sdl.web@gmail.com>
5453
daf75653
LL
5454 * progmodes/python.el (python-send-region): Add suffix .py to the
5455 temp file.
5456
5055880d
LL
5457 * files.el (auto-mode-alist): Use javascript-mode instead.
5458
db9b177b
AH
54592012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5460
ef24141c 5461 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5462
090bd7cb 5463 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5464 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5465 references, see Bug#9.
ef24141c 5466 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5467 when receiving a fault reply.
ef24141c 5468 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5469
090bd7cb 5470 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5471 (soap-inspect-simple-type): New function.
db9b177b 5472
090bd7cb 5473 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5474 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5475 (soap-decode-basic-type, soap-encode-basic-type):
5476 support unsignedInt and double basic types.
db9b177b 5477 (soap-resolve-references-for-simple-type)
ef24141c
SM
5478 (soap-parse-simple-type, soap-encode-simple-type): New function.
5479 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5480
090bd7cb 5481 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5482 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5483 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5484 the local name of "soapenc:Array".
5485 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5486 decoding integer, byte and anyURI xsd types.
5487
1fc6097b
CY
54882012-04-25 Chong Yidong <cyd@gnu.org>
5489
5490 * cus-edit.el (custom-buffer-create-internal): Update header text.
5491
afc6df87
EZ
54922012-04-25 Eli Zaretskii <eliz@gnu.org>
5493
5494 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5495 settings on 'system-type', not on 'window-system'. On MS-Windows,
5496 set interactive-mode on in GDB.
5497
dfbd787f
SM
54982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5501 (ruby-syntax-propertize-regexp): Remove.
5502 (ruby-syntax-propertize-function): Split regexp into chunks.
5503 Match following code directly.
5504
85222d44
DG
55052012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5506
51a8ea2a
DG
5507 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5508 (ruby-syntax-propertize-regexp): New function.
5509 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5510 by a special keyword.
5511
85222d44
DG
5512 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5513 (ruby-syntax-general-delimiters-goto-beg)
5514 (ruby-syntax-propertize-general-delimiters): New functions.
5515 (ruby-syntax-propertize-function): Use them to handle GDL.
5516 (ruby-font-lock-keywords): Move old handling of GDL...
5517 (ruby-font-lock-syntactic-keywords): .. to here.
5518 (ruby-calculate-indent): Adjust indentation for GDL.
5519
b613912b
MA
55202012-04-24 Michael Albinus <michael.albinus@gmx.de>
5521
b5380639
MA
5522 * notifications.el (top): Remove unneeded declarations.
5523 (notifications-specification-version): Change to "1.2".
e43042fe 5524 (notifications-interface, notifications-notify-method)
b613912b
MA
5525 (notifications-close-notification-method): Fix docstring.
5526 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5527 (notifications-notify): Add :action-items, :resident and
5528 :transient hints. Change "image_data" to "image-data" and
5529 "image_path" to "image-path".
b613912b
MA
5530 (notifications-get-capabilities): New defun.
5531
257440aa
LL
55322012-04-24 Leo Liu <sdl.web@gmail.com>
5533
5534 * progmodes/python.el: Move hideshow setup to the end.
5535
b1bac16e
MR
55362012-04-24 Martin Rudalics <rudalics@gmx.at>
5537
5538 * window.el (handle-select-window): Clear echo area since this is
5539 no more done by read_char (Bug#11304).
5540
d81bd059
SM
55412012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5544 and `/ M' to filter-derived-mode.
5545 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5546 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5547 (ibuffer-mark-by-mode): Use default rather than initial-input.
5548 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5549
c4cf6d91
IA
55502012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5551
5552 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5553 (ibuffer-filter-by-derived-mode): New filter.
5554 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5555
7511ded8
CY
55562012-04-23 Andreas Politz <politza@fh-trier.de>
5557
5558 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5559
775c916b
CY
55602012-04-23 Chong Yidong <cyd@gnu.org>
5561
5562 * cus-edit.el (customize-apropos, customize-apropos-options):
5563 Disable matching of non-option variables (Bug#11176).
5564 (customize-option, customize-option-other-window)
5565 (customize-changed-options): Doc fix.
5566 (customize-apropos-options, customize-apropos-faces)
5567 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5568
5569 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5570 Fix word list splitting (Bug#11132).
46c71e23
CY
5571 (apropos-symbol, apropos-keybinding, apropos-label)
5572 (apropos-property, apropos-function-button)
5573 (apropos-variable-button, apropos-misc-button): New faces.
5574 (apropos-symbol-face, apropos-keybinding-face)
5575 (apropos-label-face, apropos-property-face, apropos-match-face):
5576 Variables removed (Bug#8396).
5577 (apropos-library-button, apropos-format-plist, apropos-print)
5578 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5579
2df41f9c
MA
55802012-04-23 Michael Albinus <michael.albinus@gmx.de>
5581
5582 * net/xesam.el (xesam-mode-map): Use let-bound map in
5583 initialization. (Bug#11292)
5584
da00640a
AM
55852012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5586
5587 Preserve ispell session localwords when switching back to
5588 original buffer.
5589
090bd7cb
JB
5590 * textmodes/ispell.el (ispell-buffer-session-localwords):
5591 New buffer-local variable to hold buffer session localwords.
ed9265fc 5592 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5593 localwords.
5594 (ispell-command-loop, ispell-change-dictionary)
5595 (ispell-buffer-local-words): Preserve session localwords when
5596 needed.
5597
090bd7cb
JB
5598 * textmodes/flyspell.el (flyspell-process-localwords)
5599 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5600
f621ccf5
AM
56012012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5602
090bd7cb
JB
5603 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5604 using obsolete `translation-table-for-input'.
ef24141c
SM
5605 (ispell-word, ispell-process-line, ispell-complete-word):
5606 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5607
c2d1019e
CY
56082012-04-22 Chong Yidong <cyd@gnu.org>
5609
5610 * cus-edit.el (custom-variable-menu)
5611 (custom-variable-reset-saved, custom-face-menu)
5612 (custom-face-reset-saved): If there is no saved value, make the
5613 "reset-saved" operation bring back the default (Bug#9509).
5614 (custom-face-state): Properly detect themed faces.
5615
eeddc531
CY
5616 * faces.el (face-spec-set): Stop supporting deprecated form of
5617 third arg.
5618
dcbf5805
MA
56192012-04-22 Michael Albinus <michael.albinus@gmx.de>
5620
5621 Move functions from C to Lisp. Make non-blocking method calls
5622 the default. Implement further D-Bus standard interfaces.
5623
ef24141c
SM
5624 * net/dbus.el (dbus-message-internal): Declare function.
5625 Remove unneeded function declarations.
dcbf5805
MA
5626 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5627 (dbus-message-type-method-return, dbus-message-type-error)
5628 (dbus-message-type-signal): Declare variables. Remove local
5629 definitions.
5630 (dbus-interface-dbus, dbus-interface-peer)
5631 (dbus-interface-introspectable, dbus-interface-properties)
5632 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5633 Adapt docstring.
5634 (dbus-interface-objectmanager): New defconst.
5635 (dbus-call-method, dbus-call-method-asynchronously)
5636 (dbus-send-signal, dbus-method-return-internal)
5637 (dbus-method-error-internal, dbus-register-service)
5638 (dbus-register-signal, dbus-register-method): New defuns, moved
5639 from dbusbind.c
5640 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5641 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5642 New defuns.
dcbf5805
MA
5643 (dbus-call-method-non-blocking): Make it an obsolete function.
5644 (dbus-unregister-object, dbus-unregister-service)
5645 (dbus-handle-event, dbus-register-property)
5646 (dbus-property-handler): Obey the new structure of
5647 `bus-registered-objects'.
5648 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5649 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5650 Use `dbus-call-method'.
5651
cf20dee0
CY
56522012-04-22 Chong Yidong <cyd@gnu.org>
5653
5654 * cus-edit.el (custom-commands, custom-reset-menu)
5655 (Custom-reset-standard): Tweak labels.
5656 (custom-reset-button-menu): Change default to t.
5657 (custom-buffer-create-internal): For the custom-reset-button-menu
5658 case, put the revert button first.
5659 (custom-group-subtitle): New face.
5660 (custom-group-value-create): Align docstring to a specific column.
5661
5662 * wid-edit.el (widget-documentation-link-add): Don't handle
5663 indentation in this function.
5664 (widget-documentation-string-indent-to): New function.
5665 (widget-documentation-string-value-create): Use it.
5666
5667 * autorevert.el (auto-revert):
5668 * epg-config.el (epg):
5669 * ibuffer.el (ibuffer):
5670 * mpc.el (mpc):
5671 * ses.el (ses):
5672 * eshell/eshell.el (eshell):
5673 * net/ange-ftp.el (ange-ftp):
5674 * progmodes/ebnf2ps.el (postscript):
5675 * progmodes/flymake.el (flymake):
5676 * progmodes/prolog.el (prolog):
5677 * progmodes/verilog-mode.el (verilog-mode):
5678 * progmodes/which-func.el (which-func):
5679 * term/xterm.el (xterm):
5680 * textmodes/picture.el (picture):
5681 * textmodes/tildify.el (tildify):
5682 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5683 customization buffers.
5684
583e23bd
AM
56852012-04-22 Alan Mackenzie <acm@muc.de>
5686
5687 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5688 Adding a ) can hide the resulting (..) from searches. Fix it.
5689 Bound the backward search to the position of the existing (.
5690
7dd51bf1
JB
56912012-04-21 Juanma Barranquero <lekktu@gmail.com>
5692
5693 * progmodes/verilog-mode.el (verilog-mode): Check whether
5694 which-func-modes is t before adding verilog-mode.
5695 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5696
d64a438f
LL
56972012-04-21 Leo Liu <sdl.web@gmail.com>
5698
7dd51bf1 5699 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5700
081e8d65
MV
57012012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5702
5703 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5704 filling of the last column of a table (Bug#5635).
5705 (woman-find-next-control-line): New arg, specifying an additional
5706 regexp component for the control line.
5707 (woman2-roff-buffer): Use it.
5708 (woman-break-table): New function.
5709 (woman2-TS): Use it.
5710
57112012-04-21 Chong Yidong <cyd@gnu.org>
5712
5713 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5714 (woman-horizontal-escapes, woman-negative-vertical-space)
5715 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5716 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5717
ed571ccb
SM
57182012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 * minibuffer.el (completion-file-name-table): Complete user names.
5721
39773899
LL
57222012-04-20 Leo Liu <sdl.web@gmail.com>
5723
5724 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5725 and pcase-let*.
5726
de6ff46d
CY
57272012-04-20 Chong Yidong <cyd@gnu.org>
5728
5729 * server.el (server-execute): Respect initial-buffer-choice if it
5730 is a string and there are no files to open (Bug#2825).
5731 (server-create-window-system-frame, server-create-tty-frame):
5732 Don't switch buffers here.
2d0e8e61
CY
5733 (server-process-filter): Only try to open a window system frame if
5734 compiled with graphical support (Bug#8314).
de6ff46d 5735
54071013
DN
57362012-04-20 Dan Nicolaescu <dann@gnu.org>
5737
5738 * battery.el (battery-echo-area-format): Display remaining time
5739 for sysfs backend too (Bug#11269).
5740 (battery-linux-sysfs): Fix conditional for the charge.
5741
f30d612a
CY
57422012-04-20 Chong Yidong <cyd@gnu.org>
5743
c07a4c0b 5744 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5745 (gdb-inferior-io--init-proc): New function.
5746 (gdb-init-1): Use it.
5747 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5748 responsible for allocating a new pty and hooking it to gdb when
5749 the old pty gets an EIO due to process exit.
5750 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5751 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5752 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5753
2116e93c
EZ
57542012-04-20 Eli Zaretskii <eliz@gnu.org>
5755
5756 * window.el (window-min-size, window-sizable, window-min-delta)
5757 (window-max-delta, window--resizable, window-resizable)
5758 (window-total-size, window-full-height-p, window-full-width-p)
5759 (window-in-direction, window--resize-mini-window, window-resize)
5760 (window--resize-child-windows-normal)
5761 (window--resize-child-windows, window--resize-siblings)
5762 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5763 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5764
c07a4c0b 57652012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5766
ef24141c
SM
5767 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5768 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5769 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5770 pty process (Bug#11273).
5771 (gdb-update): New arg to suppress talking to the gdb process.
5772 (gdb-done-or-error): Use it.
5773 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5774 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5775 sentinel not being called.
5776
5777 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5778
d02766ab
CY
5779 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5780
c07a4c0b 57812012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5782
5783 * net/network-stream.el (open-network-stream): Doc fix.
5784
c07a4c0b 57852012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5786
5787 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5788
c07a4c0b 57892012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5790
5791 Ensure searching for keywords is case sensitive.
5792
5793 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5794 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5795 (c-defun-name, c-mark-function, c-cpp-define-name)
5796 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5797 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5798
ef24141c
SM
5799 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5800 Bind case-fold-search to nil.
f0f6bc35 5801
c07a4c0b 58022012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5803
5804 * mail/sendmail.el (mail-bury): Call return action with the right
5805 Rmail buffer (Bug#11242).
5806
9a864fa2
CY
5807 * server.el (server-process-filter): Handle corner case where both
5808 tty and nowait options are present (Bug#11102).
5809
539aa513
EZ
58102012-04-20 Eli Zaretskii <eliz@gnu.org>
5811
5812 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5813 (top level): Put into the executable the ident-style '$Id:' tag on
5814 windows-nt as well.
539aa513 5815
cfc7d5da
SM
58162012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * electric.el (electric-indent-post-self-insert-function): Check that
5819 electric-indent-mode is enabled in current buffer.
5820
5b01685c
JB
58212012-04-19 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * imenu.el (imenu-progress-message): Restore; it is "used" in
5824 erc/erc-imenu.el and net/snmp-mode.el.
5825
4d6769e1
JB
58262012-04-19 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5829 (mouse-avoidance-nudge-mouse): Remove unused binding.
5830
5831 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5832
5833 * descr-text.el (describe-char):
5834 * progmodes/python.el (python-describe-symbol):
5835 Don't call `toggle-read-only', set `buffer-read-only'.
5836
5837 * imenu.el (imenu-default-goto-function): Mark unused args.
5838 (imenu-progress-message): Remove obsolete macro; all callers changed.
5839
5840 * subr.el (keymap-canonicalize): Remove unused binding.
5841 (read-passwd): Mark unused arg.
5842
5843 * tutorial.el (tutorial--display-changes): Remove unused binding.
5844 (tutorial--save-tutorial-to): Remove unused variable.
5845
5846 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5847 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5848 (package-generate-autoloads, package-menu--generate)
5849 (package-menu--find-upgrades): Remove unused bindings.
5850
5851 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5852 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5853 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5854 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5855 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5856 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5857 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5858 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5859 (cua-delete-char-rectangle): Mark unused args.
5860 (cua-align-rectangle): Remove unused binding.
5861
5862 * mail/rmail.el (compilation--message->loc)
5863 (epa--find-coding-system-for-mime-charset): Declare.
5864
5865 * net/dbus.el (dbus-register-service): Declare.
5866 (dbus-name-owner-changed-handler): Remove unused binding.
5867
5868 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5869 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5870 (nxml-scan-backward-within): Mark unused arg.
5871 (nxml-dynamic-markup-word): Remove unused binding.
5872
5873 * mouse.el (mouse-menu-major-mode-map):
5874 * emacs-lisp/authors.el (authors-scan-change-log)
5875 (authors-add-to-author-list):
5876 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5877 * emacs-lisp/smie.el (smie-auto-fill):
5878 * mail/sendmail.el (mail-bury):
5879 * mail/unrmail.el (unrmail):
5880 * net/tls.el (open-tls-stream):
5881 * textmodes/picture.el (picture-mouse-set-point):
5882 Remove unused bindings.
5883
8c8fc5df
MA
58842012-04-19 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * net/tramp.el (tramp-action-password): Let-bind
5887 `enable-recursive-minibuffers' to t.
5888
a77b0ac9
SS
58892012-04-18 Sam Steingold <sds@gnu.org>
5890
5891 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5892 instead of 'string to accommodate values like [f11].
5893 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5894 * progmodes/gdb-mi.el: Likewise.
5895
12a106a9
LL
58962012-04-18 Leo Liu <sdl.web@gmail.com>
5897
5898 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5899 current buffer.
5900 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5901 LOCAL is nil.
5902
bc6494ef
CY
59032012-04-18 Chong Yidong <cyd@gnu.org>
5904
5905 * simple.el (line-move): Use forward-line if in batch mode
5906 (Bug#11053).
5907
c09c46b2
CS
59082012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5909
5910 * files.el (after-find-file): Do not try to add a final newline if
5911 the buffer is read-only (Bug#11156).
5912
5f6530ea
RS
59132012-04-17 Richard Stallman <rms@gnu.org>
5914
5915 * mail/rmail.el (rmail-start-mail):
5916 Pass (rmail-mail-return...) for the return-action.
5917 Pass (rmail-yank-current-message...) for the yank-action.
5918 (rmail-yank-current-message): New function.
5919 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5920 (rmail-reply): Likewise.
5921 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5922
5923 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5924 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5925 buffer, not newbuf.
5926
197b6f3c
JB
59272012-04-17 Juanma Barranquero <lekktu@gmail.com>
5928
5929 * server.el (server-ensure-safe-dir): Simplify.
5930
2311d8e5 59312012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5932
2311d8e5
GM
5933 * emacs-lisp/smie.el: Provide smarter auto-filling.
5934 (smie-auto-fill): New function.
5935 (smie-setup): Use it.
98fb480e 5936
2311d8e5
GM
5937 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5938
59392012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5940
5941 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5942 (comment-indent): Use it.
5943
2311d8e5 59442012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5945
5946 * ses.el: The overall change is to add cell renaming, that is
5947 setting fancy names for cell symbols other than name matching
5948 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5949 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5950 (ses-create-cell-variable): New defun.
2311d8e5 5951 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5952 (ses-relocate-formula): Relocate formulas only for cells the
5953 symbols of which are not renamed, i.e. symbols whose names do not
5954 match regexp "\\`[A-Z]+[0-9]+\\'".
5955 (ses-relocate-all): Relocate values only for cells the symbols of
5956 which are not renamed.
5957 (ses-load): Create cells variables as the (ses-cell ...) are read,
5958 in order to check row col consistency with cell symbol name only
5959 for cells that are not renamed.
5960 (ses-replace-name-in-formula): New defun.
5961 (ses-rename-cell): New defun.
4bdf2ad2 5962
fc72b15c
PO
59632012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5964
5965 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5966 New option (bug#11118).
5967 (perl-calculate-indent): Respect it.
5968
12e10e61
GM
59692012-04-17 Glenn Morris <rgm@gnu.org>
5970
5971 * dired-aux.el (dired-mark-read-string): Doc fix.
5972
30009afd
DA
59732012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5974
5975 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5976 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5977
41f03f4d
GM
59782012-04-17 Glenn Morris <rgm@gnu.org>
5979
5980 * mouse.el (mouse-drag-track):
5981 * speedbar.el (speedbar-frame-mode):
5982 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5983
f45f90f3
LL
59842012-04-16 Leo Liu <sdl.web@gmail.com>
5985
5986 * progmodes/python.el: Trivial cleanup.
5987
94ee8db5
GM
59882012-04-16 Glenn Morris <rgm@gnu.org>
5989
121b8917
GM
5990 * vc/vc.el (vc-string-prefix-p):
5991 * vc/pcvs-util.el (cvs-string-prefix-p):
5992 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5993 * mpc.el (mpc-string-prefix-p):
5994 Make all of these into obsolete aliases for string-prefix-p.
5995 Update callers.
5996 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5997
1197ecfa
GM
5998 * textmodes/two-column.el: Move custom options to the start.
5999 (frame-width): Remove compat definition.
6000 (2C-associate-buffer, 2C-dissociate):
6001 Use with-current-buffer rather than save-excursion.
6002 (2C-dissociate): Force a mode-line update.
6003 (2C-autoscroll): Use ignore-errors.
6004
099e7202
GM
6005 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6006 Autoload trivia.
6007
bf350d6a
GM
6008 * emacs-lisp/cl-extra.el (*random-state*):
6009 Remove unnecessary declaration.
6010
0e829eab
GM
6011 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6012
e3ad7552
GM
6013 * play/cookie1.el (cookie-snarf):
6014 Give an explicit error if input file cannot be read.
6015
68892d27
GM
6016 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6017
20f0c46d
GM
6018 * progmodes/perl-mode.el (c-macro-expand):
6019 Remove unnecessary autoload (it is in loaddefs.el).
6020
5a0978ce
GM
6021 * textmodes/picture.el (picture-desired-column)
6022 (picture-update-desired-column): Convert comments to doc-strings.
6023 (picture-substitute): Remove function.
6024 (picture-mode-map): Initialize in the defvar.
6025
6b955486
GM
6026 * woman.el: Remove eval-after-load for tar-mode.
6027 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6028 (woman-tar-extract-file): Autoload it.
6029
94ee8db5
GM
6030 * frame.el (automatic-hscrolling): Make this alias obsolete.
6031
177eca34
AM
60322012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6033
090bd7cb 6034 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6035 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6036 (ispell-dictionary-base-alist): Revert to original XEmacs
6037 friendly version for default. [:alpha:] will be added in
090bd7cb 6038 `ispell-set-spellchecker-params' if needed.
177eca34 6039
c505aaeb
CY
60402012-04-16 Chong Yidong <cyd@gnu.org>
6041
b19dd9d1 6042 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6043 (imagemagick-register-types): Use it.
6044 (imagemagick-types-inhibit): Add :set function. Allow new value
6045 of t to inhibit all types.
6046
6047 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6048 so we can preload it.
6049
6050 * loadup.el (fboundp): Preload regexp-opt, needed by
6051 imagemagick-register-types.
6052
60efac0f
CY
60532012-04-15 Chong Yidong <cyd@gnu.org>
6054
6055 * frame.el (scrolling): Remove nearly unused customization group.
6056
6057 * scroll-all.el (scroll-all-mode): Move to windows group.
6058
5dd1713e
CY
60592012-04-15 Chong Yidong <cyd@gnu.org>
6060
6061 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6062
e6fd457e
CY
60632012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6066 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6067
e153c136
GM
60682012-04-15 Glenn Morris <rgm@gnu.org>
6069
6070 * simple.el (process-file-side-effects): Doc fix.
6071
e6fd457e 60722012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6073
6074 * international/mule-cmds.el (set-language-environment): Doc fix.
6075
3603c3b1
JB
60762012-04-14 Juanma Barranquero <lekktu@gmail.com>
6077
6078 * server.el (server-auth-key, server-generate-key): Doc fixes.
6079 (server-get-auth-key): Doc fix. Use `string-match-p'.
6080 (server-start): Reflow docstring.
6081
e6de100c
LI
60822012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6083
6084 * server.el (server-generate-key): `called-interactively-p'
6085 requires a parameter.
6086
29734c21
MN
60872012-04-14 Michal Nazarewicz <mina86@mina86.com>
6088
6089 * server.el (server-auth-key): New variable.
75f1671a 6090 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6091 (server-start): Use the new variable and functions to allow
6092 setting a permanent server key (bug#9423).
6093
d65c9521
LL
60942012-04-14 Leo Liu <sdl.web@gmail.com>
6095
6096 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6097
5ae255c7
PE
60982012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6099
6100 Spelling fixes.
6101 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6102 Emacs uses American spelling.
6103
d5e6342e
JB
61042012-04-14 Juanma Barranquero <lekktu@gmail.com>
6105
6106 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6107 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6108 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6109 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6110
ab036cd7
SM
61112012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * progmodes/which-func.el (which-func-modes): Change default.
6114
35dc09a1 61152012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6116
6117 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6118 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6119
35dc09a1 61202012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6121
6122 * custom.el (custom-theme-set-variables): Doc fix.
6123
35dc09a1 61242012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6125
6126 * international/mule.el (set-auto-coding-for-load): Doc fix.
6127
35dc09a1 61282012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6129
35dc09a1
GM
6130 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6131 imenu work again for Objective C Mode. Correct the *-index values,
6132 these having been disturbed by a previous change in 2011-08.
57f845ee 6133
0de3da9f
AM
6134 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6135 Correct two search limits.
6136
35dc09a1 61372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6138
6139 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6140
35dc09a1 61412012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6142
6143 * international/characters.el: Fix sorting.
6144
35dc09a1 61452012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6146
6147 * international/characters.el: Add more missing Latin case pairs.
6148
35dc09a1 61492012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6150
6151 * files.el (dir-locals-set-class-variables): Doc fix.
6152
35dc09a1 61532012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6154
3f1b5bf8
EZ
6155 * international/characters.el: Add set-case-syntax-pair call for
6156 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6157 counterpart. (Bug#11209)
6158
9f847f41
EZ
6159 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6160
35dc09a1 61612012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6162
6163 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6164
35dc09a1 61652012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6166
35dc09a1
GM
6167 * textmodes/ispell.el (ispell-dictionary-base-alist):
6168 Add data for Hebrew.
e2627d21 6169
35dc09a1 61702012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6171
35dc09a1
GM
6172 * net/rcirc.el (rcirc-cmd-quit):
6173 Revert 2012-03-18 change (Bug#11192).
5c14e333 6174
35dc09a1 61752012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6176
6177 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6178
35dc09a1 61792012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6180
4517fe3a
SM
6181 * minibuffer.el (completion-in-region-mode-map):
6182 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6183
b472a594
VD
61842012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6185
6186 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6187
09b95ce3
MY
61882012-04-13 Masatake YAMATO <yamato@redhat.com>
6189
6190 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6191 to allow `C-M-f' and `C-M-b' to move to the nearest path
6192 separator (bug#9511).
6193
4b63a9ca
LI
61942012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6195
6196 * avoid.el: Require cl when compiling. And also move the
6197 `provide' to the end.
6198
7b55b8bf
TV
61992012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6200
6201 * avoid.el (mouse-avoidance-banish-position): New variable.
6202 (mouse-avoidance-banish-destination): Use it (bug#10165).
6203
adedaa1f
LL
62042012-04-13 Leo Liu <sdl.web@gmail.com>
6205
6206 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6207
70e74021
KB
62082012-04-13 Ken Brown <kbrown@cornell.edu>
6209
6210 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6211 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6212 (browse-url-filename-alist): For the same reason, don't modify
6213 file:// URLs on Cygwin.
6214
e75e89ba
SM
62152012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6216
6217 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6218 the region on shift if the binding is already shifted (bug#11221).
6219
82f289a4
GM
62202012-04-12 Glenn Morris <rgm@gnu.org>
6221
6222 * mail/mailpost.el: Move to obsolete/.
6223
d333dc4c
DA
62242012-04-12 Drew Adams <drew.adams@oracle.com>
6225
6226 * imenu.el (imenu--generic-function): Ignore invisible definitions
6227 (bug#10123).
6228
0d15b5ba
VD
62292012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6230
6231 * hexl.el (hexl-bits): New variable.
6232 (hexl-options): Mention the variable in the doc string.
75f1671a 6233 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6234 (hexl-mode): Mention the new variable.
75f1671a
JB
6235 (hexl-mode, hexl-current-address, hexl-current-address):
6236 Use the displen.
0d15b5ba
VD
6237 (hexl-ascii-start-column): New function.
6238 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6239 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6240
64a440db
AM
62412012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6242
6243 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6244 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6245 the encoding, as expected by hunspell.
6246
6decb6c2
SM
62472012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * battery.el (battery--linux-sysfs-regexp): New const.
6250 (battery-status-function): Use it. Remove yeeloong special case.
6251 (battery-yeeloong-sysfs): Remove.
6252 (battery-echo-area-format): Remove yeeloong special case.
6253
088be6fb
SM
62542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6622e416
SM
6256 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6257 Reported by Noah Friedman.
6258
088be6fb
SM
6259 * subr.el (read-passwd): Use read-string.
6260
b49f886e
LMI
62612012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6262
6263 * vcursor.el (vcursor-move): Increase the priority of the overlay
6264 (bug#9663).
6265
a63067fc
DD
62662012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6267
6268 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6269 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6270
ac3cf14a
WS
62712012-04-11 William Stevenson <yhvh2000@gmail.com>
6272
6273 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6274 define-minor-mode (bug#10760).
6275
c4fc691b 62762012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6277
4d6769e1 6278 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6279 that directories matching `grep-find-ignored-files' won't be
6280 pruned (bug#10351).
6281
af23e2e5
CY
62822012-04-11 Chong Yidong <cyd@gnu.org>
6283
6284 * startup.el (command-line): Remove support for long-obsolete
6285 variable font-lock-face-attributes.
6286
ab7ce8c1
GM
62872012-04-11 Glenn Morris <rgm@gnu.org>
6288
6289 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6290
de8c03dc
SM
62912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * window.el (window--state-get-1): Obey window-point-insertion-type.
6294
050cc68b
LB
62952012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6296
6297 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6298 to previous function when point is on the first character of a
75f1671a 6299 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6300
a38c310c
GM
63012012-04-11 Glenn Morris <rgm@gnu.org>
6302
effed0c2
GM
6303 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6304 not just file-errors.
6305
a38c310c
GM
6306 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6307 (vc-bzr-sha1): Use internal sha1.
6308
0221e323
SM
63092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6312
43956923
SG
63132012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6314
6315 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6316 that start in the middle of the line (bug#10496).
6317
6a8c9eaf
DN
63182012-04-10 Dan Nicolaescu <dann@gnu.org>
6319
6320 * battery.el (battery-linux-proc-acpi): Only one battery is
6321 discharged at a time, but that seems to confuse battery.el when
6322 computing `rate-type' for the battery not being discharged
6323 (bug#10332).
6324
1930bf5d
SM
63252012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6326
2a718f6f
SM
6327 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6328
599430d0
SM
6329 * international/quail.el: Use dolist and simplify.
6330 (quail-define-package, quail-update-keyboard-layout)
6331 (quail-define-rules): Use dolist.
6332 (quail-insert-kbd-layout, quail-get-translation): CSE.
6333
a2754b6c
SM
6334 * tmm.el: Use dolist, remove left over hook.
6335 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6336 Use dolist.
6337 (calendar-load-hook): Don't mess with it.
6338
1930bf5d
SM
6339 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6340 Use derived-mode-p. Run the diff asynchronously.
6341
9f67961c
LMI
63422012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343
6344 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6345
2a8ce227
JB
63462012-04-10 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6349 (list-dynamic-libraries--loaded): New function.
6350 (list-dynamic-libraries--refresh): Use it.
6351
8f33b5f8
NW
63522012-04-10 Nathan Weizenbaum <nweiz@google.com>
6353
1930bf5d
SM
6354 * progmodes/python.el (python-fill-paragraph):
6355 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6356 disabled (bug#7018).
6357
b12f0439
L
63582012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6359
1930bf5d 6360 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6361 DOS/MS Windows for the Baltic languages. There are still plenty
6362 of texts written in this encoding/codepage (bug#6519).
b12f0439 6363
57c3bd01
GM
63642012-04-10 Glenn Morris <rgm@gnu.org>
6365
6366 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6367 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6368
6c3eab30
FA
63692012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6370
1930bf5d 6371 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6372 next-line "n" and previous-line "p" in order to make recentf more
6373 consistent with ibuffer, dired or org-mode (bug#9387).
6374
24d78a88
LMI
63752012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6376
bc72b5d9
LMI
6377 * image.el (put-image): Return the overlay created instead of the
6378 optional input string (bug#7834). Note that this may break code
6379 that is (for some reason or other) depending on `put-image'
6380 returning the string.
6381
bd2dba5a
LMI
6382 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6383
74beb59f
LMI
6384 * simple.el (zap-to-char): Allow zapping using input methods
6385 (bug#1580).
6386
24d78a88
LMI
6387 * textmodes/fill.el (fill-region): Leave point and mark where they
6388 were before filling (bug#5399).
6389
263f20cd
GM
63902012-04-09 Glenn Morris <rgm@gnu.org>
6391
6392 * version.el (emacs-bzr-get-version):
6393 Handle lightweight checkouts of local branches.
6394
58d1f797
AS
63952012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6396
263f20cd 6397 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6398
b4d3bc10
CY
63992012-04-09 Chong Yidong <cyd@gnu.org>
6400
6401 * custom.el (custom-variable-p): Return nil for non-symbol
6402 arguments instead of signaling an error.
6403 (user-variable-p): Obsolete alias for custom-variable-p.
6404
6405 * apropos.el (apropos-variable):
6406 * files-x.el (read-file-local-variable):
6407 * simple.el (set-variable):
6408 * woman.el (woman-mini-help):
6409 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6410
fd06db5d
GM
64112012-04-09 Glenn Morris <rgm@gnu.org>
6412
e5fcdb5e
GM
6413 * startup.el (normal-top-level): Don't look for leim-list.el
6414 in places where it will not be found. (Bug#910)
6415
fd06db5d
GM
6416 * international/mule-cmds.el (set-default-coding-systems):
6417 * files.el (normal-mode):
6418 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6419 This function was removed with ucs-tables.el in 2008.
6420
b39bb7e1
EZ
64212012-04-08 Eli Zaretskii <eliz@gnu.org>
6422
6423 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6424 ispell-encoding8-command to "-i", without a trailing space.
6425 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6426 separate command-line arguments, to specify the encoding, since
6427 that's how hunspell expects it.
6428
5c5b8e23
GM
64292012-04-08 Glenn Morris <rgm@gnu.org>
6430
6431 * loadup.el: Load bindings before cus-start.
6432 This reduces somewhat the number of "rogue" settings in emacs -Q.
6433
a1ed8b05
GM
64342012-04-07 Glenn Morris <rgm@gnu.org>
6435
6436 * version.el (emacs-bzr-get-version): New function.
dfae128a 6437 (emacs-bzr-version): New variable.
a1ed8b05
GM
6438 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6439 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6440
b142f158
EZ
64412012-04-07 Eli Zaretskii <eliz@gnu.org>
6442
dfae128a
GM
6443 * international/uni-bidi.el, international/uni-category.el:
6444 * international/uni-combining.el, international/uni-decimal.el:
6445 * international/uni-decomposition.el, international/uni-digit.el:
6446 * international/uni-lowercase.el, international/uni-mirrored.el:
6447 * international/uni-name.el, international/uni-numeric.el:
6448 * international/uni-titlecase.el, international/uni-uppercase.el:
6449 Update for Unicode 6.1.
b142f158 6450
9078ead6
EZ
64512012-04-07 Eli Zaretskii <eliz@gnu.org>
6452
6453 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6454
f23d2c7d
LMI
64552012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6456
6457 * window.el (shrink-window): Mention the `window-min-height'
6458 variable in the doc string.
6459
0a0a3573
BG
64602012-04-05 Bastien Guerry <bzg@altern.org>
6461
6462 * color.el (color-lighten-name): Fix typo.
6463
e5248ac9
SM
64642012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * server.el (server--on-display-p): New function.
6467 (server--on-display-p): Use it.
6468
b4243e22
GV
64692012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6470
6471 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6472 (bug#11145).
6473
305d9f44
SM
64742012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * comint.el (comint--common-quoted-suffix): Check string boundary
6477 before comparing (bug#11158).
6478 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6479
3d439cd1
CY
64802012-04-04 Chong Yidong <cyd@gnu.org>
6481
321cc491
CY
6482 * minibuffer.el (completion-extra-properties): Doc fix.
6483
3d439cd1
CY
6484 * subr.el (delayed-warnings-hook): Doc fix.
6485
2d562c0f
DU
64862012-04-04 Daiki Ueno <ueno@unixuser.org>
6487
6488 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6489 selection (Bug#11159).
6490 (epa-insert-keys): Inform that the default public key will be
6491 exported if no key is selected.
6492
4443f204
RS
64932012-04-04 Richard Stallman <rms@gnu.org>
6494
6495 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6496
529c06b6
CY
64972012-04-03 Chong Yidong <cyd@gnu.org>
6498
6499 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6500 mail-insert-file, not its obsolete alias mail-attach-file.
6501
66b907dc
MA
65022012-04-03 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * notifications.el (notifications-notify): Fix docstring.
6505
c0ea195d
GM
65062012-04-02 Glenn Morris <rgm@gnu.org>
6507
6508 * emacs-lisp/authors.el (authors-aliases): Another addition.
6509
5ca64e00
MA
65102012-04-02 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6513 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6514 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6515
42ee526b
CY
65162012-04-01 Chong Yidong <cyd@gnu.org>
6517
6518 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6519 Handle root directory properly.
6520 (copy-directory): Caller changed.
6521
6522 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6523 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6524
0b021094
GM
65252012-03-31 Glenn Morris <rgm@gnu.org>
6526
40f86458
GM
6527 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6528
7019c177
GM
6529 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6530
a1daddd6
GM
6531 * calendar/calendar.el (calendar-window-list)
6532 (calendar-hide-window): Restore. (Bug#11140)
6533 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6534
0b021094
GM
6535 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6536
40311efc
TV
65372012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6538
6539 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6540 Check if file is a symlink (Bug#10489).
6541
6542 * files.el (copy-directory): Likewise.
6543
5319014e
CY
65442012-03-30 Chong Yidong <cyd@gnu.org>
6545
6546 * image.el (imagemagick-types-inhibit)
6547 (imagemagick-register-types): Doc fix.
6548
935d1290
AM
65492012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6550
090bd7cb 6551 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6552 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6553 and treats ~word as ordinary words in pipe mode.
935d1290 6554
61c6e8fd
GM
65552012-03-30 Glenn Morris <rgm@gnu.org>
6556
6557 * tutorial.el (help-with-tutorial): Ensure local variables don't
6558 happen to make the buffer read-only. (Bug#11127)
6559
81fdff00
SM
65602012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6563 (perl-calculate-indent): Return `noindent' in strings.
6564
6e7a6ec0
SS
65652012-03-28 Sam Steingold <sds@gnu.org>
6566
6567 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6568 instead of the broken adhockery which does not prevent calendar
6569 buffers from being displayed at random after exit.
6570 (calendar-window-list, calendar-hide-window): Remove the broken
6571 adhockery.
6572
fee88ca0
GM
65732012-03-28 Glenn Morris <rgm@gnu.org>
6574
6575 * replace.el (query-replace-map): Doc fix.
6576
38de3354
AS
65772012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6578
6579 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6580 contents. (Bug#11109)
6581
b973155e
SM
65822012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6585 (bug#11077).
6586 (avl-tree--check, avl-tree--check-node): New funs.
6587
dcb6e7b3
MR
65882012-03-27 Martin Rudalics <rudalics@gmx.at>
6589
6590 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6591 (switch-to-prev-buffer, switch-to-next-buffer):
6592 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6593 showing a buffer already is done on the same frame.
6594
b4fa35fa
GM
65952012-03-27 Glenn Morris <rgm@gnu.org>
6596
6597 * startup.el (mail-host-address): Doc fix.
6598
f9210e18
SM
65992012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6602 than 197 variables.
6603
c0bf7753
AF
66042012-03-26 Ami Fischman <ami@fischman.org>
6605
6606 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6607
33da7b16
GM
66082012-03-26 Glenn Morris <rgm@gnu.org>
6609
02243d9d
GM
6610 * files.el (save-buffers-kill-emacs): Doc fix.
6611
33da7b16
GM
6612 * startup.el (normal-top-level, command-line, command-line-1):
6613 Give them doc strings.
6614
e5a69fd0
EZ
66152012-03-25 Eli Zaretskii <eliz@gnu.org>
6616
6617 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6618 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6619
9a69676a
CY
66202012-03-25 Chong Yidong <cyd@gnu.org>
6621
4125cb8b
CY
6622 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6623 theme if it was previously enabled before (Bug#11031).
6624
dd470960
CY
6625 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6626 spec with custom-face-get-current-spec if its :shown-value is not
6627 determined yet (Bug#9337).
4125cb8b 6628 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6629
9a69676a
CY
6630 * button.el (button-at): Minor addition to docstring.
6631
6e7e90fa
SL
66322012-03-24 Simon Leinen <simon.leinen@gmail.com>
6633
6634 * vc/vc.el (vc-merge): Fix a prompt.
6635
f06e2758
CY
66362012-03-24 Chong Yidong <cyd@gnu.org>
6637
6638 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6639 point (Bug#9623).
6640
6e7e90fa
SL
6641 * button.el (button-at): Minor addition to docstring.
6642
b9d0879b
SM
66432012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * newcomment.el (comment-choose-indent): No space after BOL.
6646
e71cebb3
SS
66472012-03-22 Sam Steingold <sds@gnu.org>
6648
6649 * window.el (switch-to-prev-buffer): Revert last patch because the
6650 bug turned out to be an advertised feature (Elisp manual 28.14).
6651
335aff35
GM
66522012-03-22 Glenn Morris <rgm@gnu.org>
6653
6654 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6655 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6656
c676576a
LMI
66572012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6658
6659 * net/network-stream.el (network-stream-open-starttls): Make error
6660 message under Windows be less misleading.
6661
126f3d39
LW
66622012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6663
6664 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6665 understands (bug#9942).
6666
64fee311
CY
66672012-03-22 Chong Yidong <cyd@gnu.org>
6668
6669 * simple.el (end-of-visible-line): Handle return value of
6670 next-single-property-change properly (Bug#9371).
6671
a640d29a
KH
66722012-03-22 Kenichi Handa <handa@m17n.org>
6673
6674 * international/quail.el (quail-insert-kbd-layout): Fix previous
6675 change. To avoid unwanted bidi reordering, use
6676 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6677
39675016
DG
66782012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6679
6680 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6681 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6682 (ruby-beginning-of-indent): Be more careful with the difference
6683 between word-boundary and symbol boundary.
6684 (ruby-mode-syntax-table): Make : a symbol constituent.
6685
0a6934fc 66862012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6687
3d008e4f
SM
6688 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6689
0a6934fc
SM
66902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6691
af67c9d7
SM
6692 * progmodes/etags.el (tags-completion-at-point-function):
6693 Improve last fix.
6694
1acad97c
SM
6695 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6696
e298b5da
SS
66972012-03-21 Sam Steingold <sds@gnu.org>
6698
6699 * progmodes/etags.el (tags-completion-at-point-function):
6700 Avoid the error when point is inside the pattern.
6701
91d82a70
JY
67022012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6703
6704 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6705 line (Bug#10855).
6706
69188b79
CY
67072012-03-21 Drew Adams <drew.adams@oracle.com>
6708
6709 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6710
99fc91fe
AK
67112012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6712
6713 * ido.el (ido-set-current-directory, ido-read-internal)
6714 (ido-choose-completion-string, ido-completion-help): Handle nil
6715 value of ido-completion-buffer (Bug#11008).
6716
087bbb4c
SS
67172012-03-21 Sam Steingold <sds@gnu.org>
6718
6719 * window.el (switch-to-prev-buffer): Do not switch to a visible
6720 window previous buffer, just like with the frame previous buffers.
6721
fb5b8aca
CY
67222012-03-21 Chong Yidong <cyd@gnu.org>
6723
6724 * faces.el (make-face, make-empty-face, copy-face):
6725 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6726 Doc fixes.
6727
dc9924b8
SM
67282012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6731 (widget-complete): Remove broken use of it.
6732
f0bcceb9
CY
67332012-03-20 Chong Yidong <cyd@gnu.org>
6734
dc9924b8
SM
6735 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6736 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6737 characters.
6738
ee52ebf3
TH
67392012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6740
6741 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6742 to draw rectangles, not squares. (Regression introduced by revno
6743 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6744
4c5779ab
CY
67452012-03-18 Chong Yidong <cyd@gnu.org>
6746
6747 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6748 it is not yet defined (for temacs).
6749
15360934
LL
67502012-03-18 Leo Liu <sdl.web@gmail.com>
6751
dc9924b8 6752 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6753
d9a8eb66
EZ
67542012-03-17 Eli Zaretskii <eliz@gnu.org>
6755
6756 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6757 (ispell-choices-win-default-height, ispell-silently-savep)
6758 (ispell-dictionary-alist, ispell-encoding8-command)
6759 (ispell-check-version, ispell-aspell-find-dictionary)
6760 (ispell-valid-dictionary-list, ispell-words-keyword)
6761 (ispell-get-word, ispell-internal-change-dictionary)
6762 (ispell-region, ispell-skip-region-list)
6763 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6764 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6765 (ispell-message-text-end, ispell-message)
6766 (ispell-buffer-local-parsing): Doc fix.
6767
f02ff80d
J
67682012-03-13 Jambunathan K <kjambunathan@gmail.com>
6769
6770 * htmlfontify.el: Add support for code block fontification for ODT
6771 export (Bug #9914).
6772 (hfy-optimisations): Define new option
6773 `body-text-only'
6774 (hfy-fontify-buffer): Honor above setting.
6775 (hfy-begin-span, hfy-end-span): New routines factored out form
6776 `hfy-fontify-buffer'.
6777 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6778 that permit insertion of custom tags.
6779 (hfy-fontify-buffer): Use above handlers.
6780 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6781 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6782 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6783 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6784 bind a special variable `hfy-user-sheet-assoc'.
6785 (htmlfontify-string): New defun.
6786 (hfy-compile-face-map): Make sure that the last char in the
6787 buffer is correctly fontified.
6788 (hfy-face-resolve-face): Whitespace only change.
6789
9ac7a13f
EZ
67902012-03-17 Eli Zaretskii <eliz@gnu.org>
6791
6792 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6793 message more clear.
6794
e2b5bdd7
LL
67952012-03-16 Leo Liu <sdl.web@gmail.com>
6796
6797 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6798
2e492df3
AM
67992012-03-16 Alan Mackenzie <acm@muc.de>
6800
6801 Further optimise the handling of large macros.
6802
6803 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6804 limit to a call of `c-literal-limits'.
6805 (c-determine-+ve-limit): New function.
dc9924b8
SM
6806 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6807 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6808 In CASE 5B, restrict a search limit to 500.
6809 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6810
6811 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6812 Restrict macro bounds to +-500 from after-change's BEG END.
6813
50e94f0c
LL
68142012-03-16 Leo Liu <sdl.web@gmail.com>
6815
6816 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6817
6f09f6ed
AH
68182012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6819
6820 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6821 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6822
c7e73d51
GM
68232012-03-16 Glenn Morris <rgm@gnu.org>
6824
da986230
GM
6825 * view.el (view-buffer, view-buffer-other-window)
6826 (view-buffer-other-frame): Doc fixes re special mode-class.
6827
0835f01e
GM
6828 * subr.el (eval-after-load): If named feature is provided not from
6829 a file, run after-load forms. (Bug#10946)
6830
c7e73d51
GM
6831 * calendar/calendar.el (calendar-insert-at-column):
6832 Handle non-unit-width characters a bit better. (Bug#10978)
6833
3f2eafd1
CY
68342012-03-15 Chong Yidong <cyd@gnu.org>
6835
6836 * emacs-lisp/ring.el (ring-extend): New function.
6837 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6838
6839 * comint.el (comint-read-input-ring)
6840 (comint-add-to-input-history): Grow comint-input-ring lazily.
6841
103af3fe
SM
68422012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6843
663b1677
SM
6844 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6845 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6846
103af3fe
SM
6847 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6848 (imenu-add-to-menubar): Don't add a redundant index.
6849 (imenu-update-menubar): Handle a dynamically composed keymap.
6850
899cb7cb
KY
68512012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6852
6853 * mail/sendmail.el (mail-encode-header):
6854 Bind rfc2047-encode-encoded-words to nil.
6855
3809f91d
GM
68562012-03-13 Glenn Morris <rgm@gnu.org>
6857
6858 * calendar/calendar.el (calendar-string-spread):
6859 Handle non-unit-width characters a bit better. (Bug#10978)
6860
9e345a01
LL
68612012-03-13 Leo Liu <sdl.web@gmail.com>
6862
6863 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6864 directory and file as argument (Bug#10822).
6865
4a07df36
KS
68662012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6867
6868 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6869 For dynamically generated code, follow $PC.
6870 (gdb-disassembly-handler-custom): Handle no function name case.
6871
4aaa9356
TL
68722012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6873
6874 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6875 * emulation/ws-mode.el (ws-query-replace):
6876 * sort.el (sort-regexp-fields):
6877 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6878
225979da
SM
68792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * dabbrev.el: Fix cycle completion order (bug#10963).
6882 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6883 (dabbrev-completion): Don't use an obarray; provide
6884 a cycle-sort-function.
6885
e2f1fdab
LL
68862012-03-12 Leo Liu <sdl.web@gmail.com>
6887
dc9924b8 6888 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6889 (kill-do-not-save-duplicates): Doc fix.
6890
b19490ed
SM
68912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * dabbrev.el: Fix cycle completion (bug#10963).
6894 Use lexical binding and wrap to 80 columns.
6895 (dabbrev-completion): Delay computing the list of completions.
6896
4b05d722
KH
68972012-03-12 Kenichi Handa <handa@m17n.org>
6898
6899 * international/quail.el (quail-insert-kbd-layout): Surround each
6900 row by LRO and PDF instead of inserting many LRMs. Pad the left
6901 and right of each non-spacing marks. Insert invisible space
6902 between lower and upper characters to prevent composition.
6903
dbbc2e69
SM
69042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * minibuffer.el (minibuffer-complete): Don't get confused when the
6907 function is run twice via different commands (bug#10958).
6908 (complete-with-action): Fix docstring.
6909
292112ed
CY
69102012-03-12 Chong Yidong <cyd@gnu.org>
6911
5d1ac394
CY
6912 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6913 (nxml-completion-at-point-function): New function.
6914 (nxml-mode): Use it.
6915 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6916
292112ed
CY
6917 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6918 Load generated autoloads file before byte compiling (Bug#10970).
6919 (package--make-autoloads-and-compile): New helper fun.
6920
4098f8f7
CS
69212012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6922
6923 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6924
8f754691
MA
69252012-03-11 Michael Albinus <michael.albinus@gmx.de>
6926
6927 * autorevert.el (auto-revert-handler): Ensure, that
6928 file-readable-p is applied only for local files or in
6929 auto-revert-tail-mode.
6930
e29ab36b
AS
69312012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6932
dbbc2e69
SM
6933 * server.el (server-eval-at): Handle non-tcp connections.
6934 Decode result string.
ad0bf5b6 6935
e29ab36b
AS
6936 * server.el (server-msg-size): New constant.
6937 (server-reply-print): New function.
6938 (server-eval-and-print): Use it.
6939 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6940 Handle -print-nonl.
6941
de5939ba
CS
69422012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6943
6944 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6945 (Bug#10987).
6946
0c93eabf
CY
69472012-03-11 Chong Yidong <cyd@gnu.org>
6948
397a688f
CY
6949 * simple.el (goto-line): Doc fix (Bug#9938).
6950
2cc775f9
CY
6951 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6952
0c93eabf
CY
6953 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6954 when finished (Bug#10963).
6955
c491fa41
MR
69562012-03-11 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (split-window-below): Fix bug in case where
6959 split-window-keep-point is nil (Bug#10971).
6960
300e8fa5
JL
69612012-03-11 Juri Linkov <juri@jurta.org>
6962
6963 * replace.el (replace-highlight): Set isearch-word to nil
6964 unconditionally. (Bug#10887)
6965
dbf6c5a1
EZ
69662012-03-10 Eli Zaretskii <eliz@gnu.org>
6967
6968 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6969 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6970 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6971 (mairix-widget-create-query): Add usage information about mairix
6972 search forms: negating words, searching for substrings, etc.
6973
b9e501de
JP
69742012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6975
6976 * international/fontset.el (font-encoding-alist): Add an entry for
6977 ksx1001 (Bug#5667).
6978
92795c91
RS
69792012-03-10 Richard Stallman <rms@gnu.org>
6980
1694e6c1
RS
6981 * mail/sendmail.el (mail-encode-header):
6982 Set rfc2047-encode-encoded-words.
6983
607e8555
RS
6984 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6985
de3bc99a
RS
6986 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6987 view buffer means not swapped.
6988 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6989 (rmail-write-region-annotate): Error if real text has disappeared.
6990
92795c91
RS
6991 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6992
699bd04e
CY
69932012-03-10 Chong Yidong <cyd@gnu.org>
6994
6995 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6996 * emulation/cua-base.el (cua--init-keymaps):
6997 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6998
570a1714
MR
69992012-03-10 Martin Rudalics <rudalics@gmx.at>
7000
dbbc2e69
SM
7001 * speedbar.el (speedbar-unhighlight-one-tag-line):
7002 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7003
82dcf4e4
CY
70042012-03-10 Chong Yidong <cyd@gnu.org>
7005
7a2c7ca7
CY
7006 * minibuffer.el (completion-in-region, completion-help-at-point):
7007 Give the completion field overlay a high priority (Bug#6830).
7008
82dcf4e4
CY
7009 * dired.el (dired-goto-file): Recognize absolute file name
7010 listings (Bug#7126).
7011 (dired-goto-file-1): New helper function.
7012 (dired-toggle-read-only): Inhibit warnings.
7013
052e28ac
MA
70142012-03-09 Michael Albinus <michael.albinus@gmx.de>
7015
75f1671a 7016 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7017 there are no properties.
7018
95d5e396
LL
70192012-03-09 Leo Liu <sdl.web@gmail.com>
7020
7021 * savehist.el (savehist-printable): Stricter check for string
7022 value (Bug#10937).
7023
3f018d6d
EZ
70242012-03-09 Eli Zaretskii <eliz@gnu.org>
7025
dbbc2e69
SM
7026 * mail/smtpmail.el (smtpmail-send-it):
7027 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7028 valid mbox format.
7029
f7fd3d79
GM
70302012-03-09 Glenn Morris <rgm@gnu.org>
7031
7032 * files.el (dir-locals-find-file):
7033 Don't check result is regular, readable.
7034 (dir-locals-read-from-file): Demote errors.
7035
6ff6e72f
EZ
70362012-03-08 Eli Zaretskii <eliz@gnu.org>
7037
dbbc2e69
SM
7038 * international/quail.el (quail-insert-kbd-layout):
7039 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7040 layout cell, to prevent their reordering by bidi display engine.
7041 For details, see the discussion in
7042 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7043
9cec7834
AM
70442012-03-08 Alan Mackenzie <acm@muc.de>
7045
7046 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7047 the starting position; make it extend the marked region when
7048 invoked repeatedly - all under appropriate circumstances.
7049 Fixes bugs #5525, #10906.
7050
9a40b8d4
GM
70512012-03-08 Glenn Morris <rgm@gnu.org>
7052
7053 * files.el (locate-dominating-file, dir-locals-find-file):
7054 Undo 2012-03-06 change.
7055
7a08ed35
EZ
70562012-03-07 Eli Zaretskii <eliz@gnu.org>
7057
dbbc2e69
SM
7058 * international/quail.el (quail-help):
7059 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7060 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7061 for the reason.
7062
5aca4f71 70632012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7064
7065 Avoid superfluous registering of signals. (Bug#10807)
7066
7067 * notifications.el (notifications-on-action-object)
7068 (notifications-on-close-object): New defvars.
7069 (notifications-on-action-signal, notifications-on-closed-signal):
7070 Unregister the signal if not needed any longer.
7071 (notifications-notify): Register `notifications-action-signal' or
7072 `notifications-closed-signal', if :on-action or :on-close has been
7073 passed as argument.
7074
78e8b10a
CY
70752012-03-07 Chong Yidong <cyd@gnu.org>
7076
7077 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7078 non-X platforms.
7079
69481eb8
GM
70802012-03-06 Glenn Morris <rgm@gnu.org>
7081
7082 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7083 (x-disown-selection-internal, x-get-selection-internal):
7084 Doc fix (add arglist signatures). (Bug#10783)
7085
133b8e11
KS
70862012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7087
7088 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7089 Handle breakpoints with no "type".
7090
99a83064
GM
70912012-03-06 Glenn Morris <rgm@gnu.org>
7092
7093 * files.el (locate-dominating-file): Add optional predicate argument.
7094 (dir-locals-find-file): Make use of above change.
7095
17798e78
TTN
70962012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7097
7098 * info.el (Info-insert-dir): Also try "dir.gz".
7099
eb182446
GM
71002012-03-06 Glenn Morris <rgm@gnu.org>
7101
8f2114ee
GM
7102 * files.el (dir-locals-find-file):
7103 Ignore non-readable or non-regular files. (Bug#10928)
7104
eb182446
GM
7105 * files.el (locate-dominating-file): Doc fix.
7106
24679323
AS
71072012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7108
7109 * calendar/calendar.el (calendar-set-mode-line):
7110 `getenv' returns a string. (Bug#10951)
7111
01d972a9
LL
71122012-03-05 Leo Liu <sdl.web@gmail.com>
7113
109aa8a9
LL
7114 * simple.el (backward-delete-char-untabify): Constrain point to
7115 field (Bug#10939).
7116
01d972a9
LL
7117 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7118
10607bea
CY
71192012-03-05 Chong Yidong <cyd@gnu.org>
7120
7121 * simple.el (count-words): If called from Lisp, return the word
7122 count, for symmetry with `count-lines'. Arglist changed.
7123 (count-words--message): Args changed. Consolidate counting code
7124 from count-words and count-words-region.
7125 (count-words-region): Caller changed.
7126 (count-lines-region): Make it an obsolete alias.
7127
5dd11cfe
TH
71282012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7129
7130 * saveplace.el (save-place-to-alist)
7131 (save-place-ignore-files-regexp): Allow value nil to disable this
7132 feature.
7133
c349f4e6
CY
71342012-03-04 Chong Yidong <cyd@gnu.org>
7135
7136 * faces.el (face-spec-reset-face): For the default face, reset the
7137 attributes to default values (Bug#10748).
7138
e627be4c
LMI
71392012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7140
7141 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7142 previous patch: Check `message-send-mail-function', and not the
7143 default function (bug#10897).
7144
ebeabff4
MA
71452012-03-04 Michael Albinus <michael.albinus@gmx.de>
7146
a41a6cf4
MA
7147 * notifications.el (notifications-on-action-signal)
7148 (notifications-on-closed-signal): Check for unique service name of
7149 incoming event. Fix error in removing entry.
ebeabff4 7150 (top): Register for signals with wildcard service name.
a41a6cf4 7151 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7152
c1ca42b4
CY
71532012-03-04 Chong Yidong <cyd@gnu.org>
7154
dc9924b8 7155 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7156
ea16568d
GM
71572012-03-04 Glenn Morris <rgm@gnu.org>
7158
7159 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7160 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7161 (expand-abbrev, define-abbrev-table): Doc fixes.
7162
fbae4637
LMI
71632012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7164
7165 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7166 `message-default-send-mail-function' and not `send-mail-function'
7167 when doing the prompting for `sendmail-query-once' before sending
7168 in Message buffers (bug#10897).
7169
a1e7225c
LMI
7170 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7171 This is inconsistent with all the other stream functions, which leave
7172 the setting up to the higher levels (if so wanted) (bug#10931).
7173
56d093a9
AM
71742012-03-02 Alan Mackenzie <acm@muc.de>
7175
7176 Depessimize the handling of very large macros.
7177
7178 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7179 (c-macro-cache-syntactic): New variables to implement a one
7180 element macro cache.
7181 (c-invalidate-macro-cache): New function.
7182 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7183 Adapt to use the new cache.
7184 (c-state-safe-place): Use better the cache of safe positions.
7185 (c-state-semi-nonlit-pos-cache)
7186 (c-state-semi-nonlit-pos-cache-limit):
7187 New variables for...
7188 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7189 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7190 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7191 Use c-state-semi-safe-place.
56d093a9 7192
dbbc2e69
SM
7193 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7194 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7195
817e5c3d
MA
71962012-03-02 Michael Albinus <michael.albinus@gmx.de>
7197
dbbc2e69
SM
7198 * jka-compr.el (jka-compr-call-process):
7199 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7200 not remote.
7201
a032a702
MA
72022012-03-01 Michael Albinus <michael.albinus@gmx.de>
7203
7204 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7205 access of FILE2, if FILE1 does not exist.
7206
99a54f21
MA
7207 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7208 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7209
7210 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7211 Add "PAGER=" to `process-environment'.
7212
f6561e1f
MM
72132012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7214
7215 * progmodes/sql.el: Bug fix
7216 (sql-get-login-ext): Save login values in globals.
7217 (sql-get-login): Use new version of `sql-get-login-ext'.
7218 (sql-interactive-mode): Set global `sql-connection' to nil.
7219 (sql-connect): Set global values for connection.
7220 (sql-product-interactive): Save global values as buffer local.
7221
2d44d9cc
LL
72222012-02-29 Leo Liu <sdl.web@gmail.com>
7223
7224 * abbrev.el (define-abbrevs): Reset sys to nil.
7225
96b49301 72262012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7227
bf7f9bc5
JB
7228 * files.el (file-equal-p): Rename from `files-equal-p'.
7229 Return nil when one or both files don't exist.
96b49301 7230 (file-subdir-of-p): Now only top directory must exists,
7231 return nil if it doesn't.
bf7f9bc5
JB
7232 (copy-directory): No need to test with `file-subdir-of-p' after
7233 creating dir.
7234 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7235 to `file-equal-p'.
96b49301 7236
44e97401
GM
72372012-02-28 Glenn Morris <rgm@gnu.org>
7238
7239 * shell.el (shell-mode):
7240 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7241 * play/landmark.el (landmark-font-lock-face-O):
7242 * play/handwrite.el (handwrite):
7243 * play/gomoku.el (gomoku-O):
7244 * net/browse-url.el (browse-url-browser-display):
7245 * international/mule.el (define-charset):
7246 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7247 * filesets.el (filesets-find-file-delay):
7248 * eshell/em-xtra.el (eshell-xtra):
7249 * eshell/em-unix.el (eshell-grep):
7250 * emulation/viper.el (viper-mode):
7251 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7252 * emacs-lisp/easymenu.el (easy-menu-define):
7253 * calendar/timeclock.el (timeclock-use-display-time):
7254 * bs.el (bs-mode):
7255 * bookmark.el (bookmark-save-flag):
7256 Doc fix (standardize possessive apostrophe usage).
7257
c98c6276
CY
72582012-02-27 Chong Yidong <cyd@gnu.org>
7259
bf7f9bc5
JB
7260 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7261 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7262
c98c6276
CY
7263 * font-lock.el (font-lock-specified-p): Rename from
7264 font-lock-spec-present. Callers changed.
7265
9c62cd04 72662012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7267
bf7f9bc5
JB
7268 * emacs-lisp/package.el (package-compute-transaction):
7269 Handle holding a package version to t in package-load-list.
8ac9e529 7270
530739c9
MA
72712012-02-26 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7274 (tramp-get-inode, tramp-get-device): Use cached values.
7275
487915d7
AM
72762012-02-26 Alan Mackenzie <acm@muc.de>
7277
7278 Check there is a font-lock specification before doing initial
7279 fontification.
7280
7281 * font-core.el (font-lock-mode): Move the conditional from
7282 :after-hook to font-lock-initial-fontify.
7283 (font-lock-default-function): Move the check for a specification
7284 to font-lock-spec-present.
7285
dc9924b8 7286 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7287 (font-lock-spec-present): New function.
7288
4fd96557
JB
72892012-02-26 Jim Blandy <jimb@red-bean.com>
7290
7291 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7292 (gdb-send): Apply it to the operand of the '-interpreter-exec
7293 console' command, so that we can pass arguments with (say) quotes
7294 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7295
9a4888c0
CY
72962012-02-26 Chong Yidong <cyd@gnu.org>
7297
07498861
CY
7298 * help-fns.el (describe-function-1): Clarify description of
7299 remapping (Bug#10844).
7300
9a4888c0
CY
7301 * files.el (files-equal-p): Doc fix.
7302 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7303 and quit the loop once a mismatch is found.
7304
ea8fb88d
JB
73052012-02-25 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * bs.el (bs--show-with-configuration): Don't throw an error
7308 if the window cannot be split; otherwise, subsequent calls to
7309 bs-show fail, restoring a stale window config. (Bug#10882)
7310
525795c1
JD
73112012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7312
7313 * term/ns-win.el (global-map): Bind ns-drag-file to
7314 ns-find-file (Bug#5855, Bug#10050).
7315
f008086f
AS
73162012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7317
7318 * calendar/parse-time.el (parse-time-string): Allow extractor to
7319 return nil.
7320
a3fcfa99
MA
73212012-02-25 Michael Albinus <michael.albinus@gmx.de>
7322
91027d08
JB
7323 * net/tramp.el (tramp-file-name-for-operation):
7324 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7325
7326 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7327 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7328 Add COPY-CONTENTS argument.
a3fcfa99 7329
67b0de11
CY
73302012-02-25 Chong Yidong <cyd@gnu.org>
7331
7332 Add custom groups for VC backends, for consistency with vc-bzr.
7333
7334 * vc/vc-arch.el (vc-arch):
7335 * vc/vc-cvs.el (vc-cvs):
7336 * vc/vc-git.el (vc-git):
7337 * vc/vc-hg.el (vc-hg):
7338 * vc/vc-mtn.el (vc-mtn):
7339 * vc/vc-rcs.el (vc-rcs):
7340 * vc/vc-sccs.el (vc-sccs):
7341 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7342 All relevant defcustoms reassigned.
7343
3c9dfce6
CY
73442012-02-25 Chong Yidong <cyd@gnu.org>
7345
1339bf43
CY
7346 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7347
3c9dfce6
CY
7348 * term/x-win.el (x-initialize-window-system): Reduce default for
7349 x-selection-timeout to 5 seconds (Bug#8869).
7350
25b2e303 73512012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7352
ec70a47d
GM
7353 * files.el (files-equal-p, file-subdir-of-p): New functions.
7354 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7355 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7356 * dired-aux.el (dired-copy-file-recursive): Same.
7357 (dired-create-files): Modify destination when source is equal to
7358 dest when copying files.
53a46cd0 7359 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7360
914260cd
MA
73612012-02-24 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7364 (Bug#10874)
7365
2cb228f7
AM
73662012-02-23 Alan Mackenzie <acm@muc.de>
7367
7368 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7369 parameter "after-hook:" to allow the expansion to run code after
7370 the execution of the mode hooks.
7371
7372 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7373 from font-lock-mode-internal.
2cb228f7 7374
91027d08 7375 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7376 :after-hook.
7377
8f0fde21
SM
73782012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7379
3e88618b
SM
7380 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7381 (completion--cache-all-sorted-completions): New function.
7382 (completion-all-sorted-completions): Use it.
7383 (completion--do-completion, minibuffer-force-complete):
7384 Use it to re-instate the flush hook.
7385
8f0fde21
SM
7386 * icomplete.el (icomplete-completions): Replace last fix with a better
7387 one (bug#10850).
7388
8e911f6f
DG
73892012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7390
7391 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7392 when it might call us back infinitely (bug#10797).
7393
49fe4321
GM
73942012-02-23 Glenn Morris <rgm@gnu.org>
7395
7396 * minibuffer.el (completion-category-overrides): Doc fix.
7397
b291b572
SM
73982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7401 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7402
31a9ef2e
GM
74032012-02-23 Glenn Morris <rgm@gnu.org>
7404
5e6e6794 7405 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7406 (authors-obsolete-files-regexps, authors-ignored-files)
7407 (authors-ambiguous-files, authors-renamed-files-alist):
7408 Add more entries.
7409
0bd1e074
JL
74102012-02-23 Juri Linkov <juri@jurta.org>
7411
7412 * isearch.el (isearch-occur): Sync interactive spec with occur's
7413 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7414
b617673c
JL
7415 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7416
19e9789e
JL
74172012-02-22 Juri Linkov <juri@jurta.org>
7418
7419 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7420 (ucs-insert): Doc fix. Check for hex digits in the string.
7421 Don't display `nil' in the error message. (Bug#10857)
7422
f41ce09d
AM
74232012-02-22 Alan Mackenzie <acm@muc.de>
7424
7a71b18d 7425 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7426
ac2eceee
GM
74272012-02-22 Glenn Morris <rgm@gnu.org>
7428
7429 * ffap.el (ffap-c-path):
7430 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7431
abd1f678
CY
74322012-02-22 Chong Yidong <cyd@gnu.org>
7433
7434 * custom.el (load-theme): Doc fix.
7435
f25aef2e
GM
74362012-02-22 Glenn Morris <rgm@gnu.org>
7437
7438 * dired-x.el (dired-guess-shell-alist-default):
7439 Remove escape sequences from nroff output. (Bug#172)
7440
5f8dc2ca
GM
74412012-02-21 Glenn Morris <rgm@gnu.org>
7442
6ff86ec4
GM
7443 * vc/emerge.el (emerge-defvar-local):
7444 Set `permanent-local' property rather than unused `preserved'.
7445
be3223a3 7446 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7447 (picture-mode-map): Use it. (Bug#10860)
7448 (picture-mode): Doc fix.
7449
3fe58f4f
JB
74502012-02-21 Juanma Barranquero <lekktu@gmail.com>
7451
7452 * newcomment.el (uncomment-region-default): Remove unused binding.
7453
f9a998c3
GM
74542012-02-21 Glenn Morris <rgm@gnu.org>
7455
7456 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7457 (picture-self-insert, picture-tab-chars): Doc fix.
7458 (picture-mode-map): Fix C-a, C-e.
7459
c6029348
GM
74602012-02-20 Glenn Morris <rgm@gnu.org>
7461
7462 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7463
ab1ce9d7
LL
74642012-02-20 Leo Liu <sdl.web@gmail.com>
7465
7466 * icomplete.el (icomplete-completions): Check FROM arg before
7467 passing to substring (Bug#10850).
7468
0fd40f89
CY
74692012-02-19 Chong Yidong <cyd@gnu.org>
7470
7471 * comint.el: Require ansi-color.
7472 (comint-output-filter-functions): Add ansi-color-process-output.
7473
7474 * ansi-color.el: Don't set comint-output-filter-functions; it is
7475 now in the initial value defined in comint.el.
7476 (ansi-color-apply-face-function): New variable.
7477 (ansi-color-apply-on-region): Use it.
7478 (ansi-color-apply-overlay-face): New function.
7479
7480 * shell.el (shell): No need to require ansi-color.
7481 (shell-mode): Use ansi-color-apply-face-function to highlight
7482 color escapes using font-lock-face property (Bug#10835).
7483
20af2394
CY
74842012-02-19 Chong Yidong <cyd@gnu.org>
7485
7486 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7487 mode-line formats (Bug#10839).
7488
e23a3fbe
GM
74892012-02-18 Glenn Morris <rgm@gnu.org>
7490
b474519e
GM
7491 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7492
7493 * mail/undigest.el (unforward-rmail-message): Doc fix.
7494
e23a3fbe
GM
7495 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7496
57939ff4
EZ
74972012-02-18 Eli Zaretskii <eliz@gnu.org>
7498
7499 * international/characters.el (script-list): Sync with the latest
7500 Unicode Character Database.
7501
0c23686e
AS
75022012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7503
7504 * international/titdic-cnv.el: Remove duplicate coding tag.
7505 * language/cham.el: Likewise.
7506 * language/tai-viet.el: Likewise.
7507
6818b449
GM
75082012-02-18 Glenn Morris <rgm@gnu.org>
7509
7510 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7511 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7512 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7513 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7514 * calendar/holidays.el (holiday-bahai-holidays)
7515 (calendar-holidays, list-holidays):
7516 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
7517
0311a3fc
TH
75182012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7519
7520 * saveplace.el (save-place-ignore-files-regexp): New variable
7521 allowing for excluding files from saving their location of point.
7522 The default value matches the temporary commit message editing
7523 files from Git, SVN, Bazaar, and Mercurial.
7524 (save-place-to-alist): Use it.
7525
d209e2fb 75262012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7527 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7528
7529 * newcomment.el (uncomment-region-default): Don't leave extra space
7530 when an arg is provided (bug#8150).
7531
ee0ce425
TZ
75322012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7533
eb864a71 7534 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7535
95ddf442
GM
75362012-02-17 Glenn Morris <rgm@gnu.org>
7537
7538 * net/socks.el: Require network-stream. (Bug#10599)
7539
48dd1e39 75402012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7541
7542 * international/charprop.el:
7543 * international/uni-name.el:
7544 * international/uni-old-name.el:
7545 * international/uni-comment.el: Regenerate.
7546
d68cd087
GM
75472012-02-16 Glenn Morris <rgm@gnu.org>
7548
7549 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7550 Interactively in calendar buffer, give an error if not on a date.
7551
13932042
GM
75522012-02-15 Glenn Morris <rgm@gnu.org>
7553
7554 * shell.el (shell-delimiter-argument-list):
7555 Revert 2011-02-17 change. (Bug#8027)
7556
c3a70e2b
CY
75572012-02-15 Chong Yidong <cyd@gnu.org>
7558
60236b0d
CY
7559 * minibuffer.el (completion-at-point-functions): Doc fix.
7560
c3a70e2b
CY
7561 * custom.el (defcustom): Doc fix; note use of defvar.
7562
9f26dc24
GM
75632012-02-15 Glenn Morris <rgm@gnu.org>
7564
7565 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7566 Doc fixes.
7567
6546b134
GM
75682012-02-14 Glenn Morris <rgm@gnu.org>
7569
7570 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7571
d29b2b4c
LI
75722012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7573
7574 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7575 way the ports list is computed.
835bdcba
LI
7576 (smtpmail-query-smtp-server): Prompt the user for a port number if
7577 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7578
08dcdbc9
TZ
75792012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7580
7581 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7582
2605051a
GM
75832012-02-13 Glenn Morris <rgm@gnu.org>
7584
7585 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7586
7ee99f32
TZ
75872012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7588
7589 * net/gnutls.el (gnutls-trustfiles): New variable.
7590 (gnutls-negotiate): Use it.
7591
5f0af64f
LI
75922012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7593
7594 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7595 does its stuff if Gnus is running.
7596
c14fcc95
AM
75972012-02-13 Alan Mackenzie <acm@muc.de>
7598
7599 Fix a loop in c-set-fl-decl-start.
7600
7a71b18d 7601 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7602 c-backward-syntactic-ws actually moves backwards.
7603
142b4d90
LL
76042012-02-13 Leo Liu <sdl.web@gmail.com>
7605
7606 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7607 beginning so that all \C-o chars are removed.
7608
fa9958a6
TZ
76092012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7610
dc9924b8 7611 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7612
0bc5886a
AM
76132012-02-12 Alan Mackenzie <acm@muc.de>
7614
7615 Fix infinite loop with long macros.
4d6769e1 7616 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7617
d4bd55e7
CY
76182012-02-12 Chong Yidong <cyd@gnu.org>
7619
7620 * window.el (display-buffer): Doc fix (Bug#10785).
7621
66f3fe22
GM
76222012-02-12 Glenn Morris <rgm@gnu.org>
7623
bd7da63e
GM
7624 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7625 (x-disown-selection-internal, x-get-selection-internal):
7626 Sync docs with the xselect.c versions.
7627
66f3fe22
GM
7628 * allout-widgets.el: Add missing license notice.
7629
3e0d2fa7
GM
76302012-02-11 Glenn Morris <rgm@gnu.org>
7631
cfecdf09
GM
7632 * select.el (x-get-selection-internal, x-own-selection-internal)
7633 (x-disown-selection-internal):
7634 * x-dnd.el (x-get-selection-internal): Update declarations.
7635
6d216d7f
GM
7636 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7637
2bed3f04
GM
7638 * window.el (window-sides-slots):
7639 * tool-bar.el (tool-bar-position):
7640 * term/xterm.el (xterm-extra-capabilities):
7641 * ses.el (ses-self-reference-early-detection):
7642 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7643 (verilog-auto-wire-type)
7644 (verilog-auto-delete-trailing-whitespace)
7645 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7646 (verilog-auto-tieoff-declaration):
7647 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7648 (sql-oracle-statement-starters, sql-oracle-scan-on):
7649 * progmodes/prolog.el (prolog-align-comments-flag)
7650 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7651 (prolog-left-indent-regexp, prolog-paren-indent-p)
7652 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7653 (prolog-types, prolog-mode-specificators)
7654 (prolog-determinism-specificators, prolog-directives)
7655 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7656 (prolog-electric-dot-flag)
7657 (prolog-electric-dot-full-predicate-template)
7658 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7659 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7660 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7661 (prolog-program-switches, prolog-prompt-regexp)
7662 (prolog-debug-on-string, prolog-debug-off-string)
7663 (prolog-trace-on-string, prolog-trace-off-string)
7664 (prolog-zip-on-string, prolog-zip-off-string)
7665 (prolog-use-standard-consult-compile-method-flag)
7666 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7667 (prolog-imenu-max-lines, prolog-info-predicate-index)
7668 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7669 (prolog-char-quote-workaround):
7670 * progmodes/cc-vars.el (c-defun-tactic):
7671 * net/tramp.el (tramp-encoding-command-interactive)
7672 (tramp-local-end-of-line):
7673 * net/soap-client.el (soap-client):
7674 * net/netrc.el (netrc-file):
7675 * net/gnutls.el (gnutls):
7676 * minibuffer.el (completion-category-overrides)
7677 (completion-cycle-threshold)
7678 (completion-pcm-complete-word-inserts-delimiters):
7679 * man.el (Man-name-local-regexp):
7680 * mail/feedmail.el (feedmail-display-full-frame):
7681 * international/characters.el (glyphless-char-display-control):
7682 * eshell/em-ls.el (eshell-ls-date-format):
7683 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7684 (lisp-lambda-list-keyword-parameter-indentation)
7685 (lisp-lambda-list-keyword-parameter-alignment):
7686 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7687 * dired-x.el (dired-omit-verbose):
7688 * cus-theme.el (custom-theme-allow-multiple-selections):
7689 * calc/calc.el (calc-highlight-selections-with-faces)
7690 (calc-lu-field-reference, calc-lu-power-reference)
7691 (calc-note-threshold):
7692 * battery.el (battery-mode-line-limit):
7693 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7694 (archive-7z-update):
7695 * allout.el (allout-prefixed-keybindings)
7696 (allout-unprefixed-keybindings)
7697 (allout-inhibit-auto-fill-on-headline)
7698 (allout-flattened-numbering-abbreviation):
7699 * allout-widgets.el (allout-widgets-auto-activation)
7700 (allout-widgets-icons-dark-subdir)
7701 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7702 (allout-widgets-theme-dark-background)
7703 (allout-widgets-theme-light-background)
7704 (allout-widgets-item-image-properties-emacs)
7705 (allout-widgets-item-image-properties-xemacs)
7706 (allout-widgets-run-unit-tests-on-load)
7707 (allout-widgets-time-decoration-activity)
7708 (allout-widgets-hook-error-post-time)
7709 (allout-widgets-track-decoration):
7710 Add missing :version tags to new defcustoms and defgroups.
7711
5fec1b8e
GM
7712 * progmodes/sql.el (sql-ansi-statement-starters)
7713 (sql-oracle-statement-starters): Add custom type.
7714
3e0d2fa7
GM
7715 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7716 (prolog-system-version): Give it a type.
7717
90b671e2
EZ
77182012-02-11 Eli Zaretskii <eliz@gnu.org>
7719
7720 * term/pc-win.el (x-select-text, x-selection-owner-p)
7721 (x-own-selection-internal, x-disown-selection-internal)
7722 (x-get-selection-internal): Sync doc strings and argument lists
7723 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7724
5eac0c02
LL
77252012-02-11 Leo Liu <sdl.web@gmail.com>
7726
7727 * progmodes/python.el (python-end-of-statement): Fix infinite
7728 loop. (Bug#10788)
7729
f82cb659
GM
77302012-02-10 Glenn Morris <rgm@gnu.org>
7731
7732 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7733 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7734
cc26d239
LI
77352012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7736
7737 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7738 about SMTP before checking the From header.
7739
91027d08 7740 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7741 into own function for reuse by emacsbug.el.
7742
1be3ca5a
LL
77432012-02-10 Leo Liu <sdl.web@gmail.com>
7744
7745 * subr.el (condition-case-unless-debug): Rename from
7746 condition-case-no-debug. All callers changed.
7747 (with-demoted-errors): Fix caller.
7748
7749 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7750 * nxml/rng-valid.el (rng-do-some-validation):
7751 * emacs-lisp/package.el (package-refresh-contents)
7752 (package-menu-execute):
7753 * desktop.el (desktop-create-buffer):
91027d08 7754 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7755
b011fbfe
GM
77562012-02-10 Glenn Morris <rgm@gnu.org>
7757
b2096d72
GM
7758 * textmodes/bibtex.el:
7759 Add missing :version tags for new/changed defcustoms.
7760
b011fbfe
GM
7761 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7762
4c7e65bf
LI
77632012-02-09 Lars Ingebrigtsen <larsi@rusty>
7764
7765 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7766 (smtpmail-via-smtp): Use it, or fall back on the From address.
7767 (smtpmail-send-it): Ditto.
7768
f3934f6f
SM
77692012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7772 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7773 (byte-compile-tmp-var): New const.
7774 (byte-compile-defvar): Use it to minimize .elc size.
7775 Just use `defvar' rather than simulate it (bug#10761).
7776
a075a2c5
GM
77772012-02-09 Glenn Morris <rgm@gnu.org>
7778
cf3aa21b
GM
7779 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7780
354998cd
GM
7781 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7782 Add :version tags.
7783
dc9924b8
SM
7784 * progmodes/compile.el (compilation-error-screen-columns)
7785 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7786
dab3703d
GM
7787 * vc/log-view.el (log-view-toggle-entry-display):
7788 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7789
3f88cd72
GM
7790 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7791 (report-emacs-bug-can-use-xdg-email):
7792 (report-emacs-bug-insert-to-mailer): Doc fixes.
7793 (report-emacs-bug): Message fix.
7794
d95b247d
GM
7795 * net/browse-url.el (browse-url-can-use-xdg-open)
7796 (browse-url-xdg-open): Doc fixes.
7797
a075a2c5
GM
7798 * electric.el (electric-indent-mode, electric-pair-mode)
7799 (electric-layout-rules, electric-layout-mode): Doc fixes.
7800 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7801
ffb6157e
MR
78022012-02-08 Martin Rudalics <rudalics@gmx.at>
7803
7804 * server.el (server-unselect-display): Don't inadvertently kill
7805 the current buffer. (Bug#10729)
7806
e1ac4066
GM
78072012-02-08 Glenn Morris <rgm@gnu.org>
7808
34e8a2da
GM
7809 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7810 (sql-list-table): Doc fixes.
7811
b4ac6e8c
GM
7812 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7813 Comment out (does nothing).
7814
e1ac4066
GM
7815 * completion.el (dynamic-completion-mode):
7816 * dirtrack.el (dirtrack-debug-mode):
7817 * electric.el (electric-layout-mode):
7818 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7819 * face-remap.el (text-scale-mode, buffer-face-mode):
7820 * iimage.el (iimage-mode):
7821 * image-mode.el (image-transform-mode):
7822 * minibuffer.el (completion-in-region-mode):
7823 * scroll-lock.el (scroll-lock-mode):
7824 * simple.el (next-error-follow-minor-mode):
7825 * tar-mode.el (tar-subfile-mode):
7826 * tooltip.el (tooltip-mode):
7827 * vcursor.el (vcursor-use-vcursor-map):
7828 * wid-browse.el (widget-minor-mode):
7829 * emulation/tpu-edt.el (tpu-edt-mode):
7830 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7831 * international/iso-ascii.el (iso-ascii-mode):
7832 * language/thai-util.el (thai-word-mode):
7833 * mail/supercite.el (sc-minor-mode):
7834 * net/goto-addr.el (goto-address-mode):
7835 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7836 * progmodes/cwarn.el (cwarn-mode):
7837 * progmodes/flymake.el (flymake-mode):
7838 * progmodes/glasses.el (glasses-mode):
7839 * progmodes/hideshow.el (hs-minor-mode):
7840 * progmodes/pascal.el (pascal-outline-mode):
7841 * textmodes/enriched.el (enriched-mode):
7842 * vc/smerge-mode.el (smerge-mode):
7843 Doc fixes (minor mode argument).
7844
5e0d957f
EZ
78452012-02-07 Eli Zaretskii <eliz@gnu.org>
7846
7847 * ls-lisp.el (ls-lisp-sanitize): New function.
7848 (ls-lisp-insert-directory): Use it to fix or remove any elements
7849 in file-alist with missing attributes. (Bug#4673)
7850
98d7371e
AM
78512012-02-07 Alan Mackenzie <acm@muc.de>
7852
7853 Fix spurious recognition of c-in-knr-argdecl.
7854
7855 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7856 putative K&R region.
7857
667ced3a
AM
78582012-02-07 Alan Mackenzie <acm@muc.de>
7859
eb864a71
LM
7860 * progmodes/cc-engine.el (c-forward-objc-directive):
7861 Prevent looping in "#pragma mark @implementation".
667ced3a 7862
5b77774d
MA
78632012-02-07 Michael Albinus <michael.albinus@gmx.de>
7864
7865 * notifications.el (notifications-on-closed-signal): Make `reason'
7866 optional. (Bug#10744)
7867
af008560
GM
78682012-02-07 Glenn Morris <rgm@gnu.org>
7869
60d47423
GM
7870 * emacs-lisp/easy-mmode.el (define-minor-mode):
7871 Doc fixes for the macro and the mode it defines.
7872
dd605cc4
GM
7873 * image.el (imagemagick-types-inhibit): Doc fix.
7874
af008560
GM
7875 * cus-start.el (imagemagick-render-type): Add it.
7876
5cc59a37
LI
78772012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7878
4d6769e1
JB
7879 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7880 Set the default at load time, too, so that `font-lock-fontify-buffer'
7881 can be called without setting up the entire mode first. This fixes
7882 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7883
9a6dd747
CY
78842012-02-06 Chong Yidong <cyd@gnu.org>
7885
2d16b285
CY
7886 * simple.el (list-processes--refresh): Delete exited processes
7887 (Bug#8094).
7888
171e9b6e
CY
7889 * comint.el (comint-next-prompt): next-single-char-property-change
7890 and prev-single-char-property-change never return nil (Bug#8657).
7891
9a6dd747
CY
7892 * custom.el (defcustom): Doc fix (Bug#9711).
7893
aa4589a7
CY
78942012-02-05 Chong Yidong <cyd@gnu.org>
7895
5c2a252f
CY
7896 * cus-edit.el (custom-variable-reset-backup): Quote the value
7897 before storing it in the customized-value property (Bug#6712).
4aab9006 7898 (custom-display): Add a customization type tag.
983b9602 7899 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7900
aa4589a7
CY
7901 * wid-edit.el (widget-field-value-get): New optional arg to
7902 suppress trailing whitespace truncation.
7903 (character): Use it (Bug#2689).
7904
1ff980ae
AS
79052012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7906
7907 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7908 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7909
03988c98
CY
79102012-02-05 Chong Yidong <cyd@gnu.org>
7911
eeb6cc88
CY
7912 * cus-edit.el (custom-variable-value-create): For mismatched
7913 types, show the current value (Bug#7600).
7914
03988c98
CY
7915 * custom.el (defcustom): Doc fix.
7916
f8cdeef0
GM
79172012-02-05 Glenn Morris <rgm@gnu.org>
7918
7919 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7920
0696d255
JB
79212012-02-05 Juanma Barranquero <lekktu@gmail.com>
7922
7923 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7924 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7925 (pp-last-sexp): Use `looking-at-p'.
7926
34c99998
GM
79272012-02-04 Glenn Morris <rgm@gnu.org>
7928
8f05da42
GM
7929 * files.el (revert-buffer):
7930 Doc fix (mention revert-buffer-in-progress-p).
7931
f160676e
GM
7932 * emacs-lisp/ert-x.el (ert-simulate-command):
7933 Check deferred-action-list (which is obsolete) is bound.
7934
c7291ad9
GM
7935 * subr.el (with-wrapper-hook): Doc fixes.
7936
34c99998
GM
7937 * simple.el (filter-buffer-substring-functions)
7938 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7939
6283a7d3
LL
79402012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7941
7942 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7943 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7944
e96e3013
LL
79452012-02-04 Leo Liu <sdl.web@gmail.com>
7946
7947 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7948
8ded50f2
GM
79492012-02-04 Glenn Morris <rgm@gnu.org>
7950
82ff1d13
GM
7951 * image.el (image-extension-data): Add obsolete alias.
7952
987a0a16
GM
7953 * isearch.el (isearch-update): Doc fix.
7954
ea32ef46
GM
7955 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7956
8ded50f2
GM
7957 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7958
eea14f31
GM
79592012-02-03 Glenn Morris <rgm@gnu.org>
7960
7961 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7962 (image-animate-timeout): Doc fix.
7963
7964 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7965
12f381b7
GM
79662012-02-02 Glenn Morris <rgm@gnu.org>
7967
953cebf5
GM
7968 * server.el (server-auth-dir): Doc fix.
7969 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7970
12f381b7
GM
7971 * subr.el (run-mode-hooks): Doc fix.
7972
953a8c3b
JL
79732012-02-02 Juri Linkov <juri@jurta.org>
7974
7975 * image-mode.el (image-toggle-display-image): Remove tautological
7976 `major-mode' from the `derived-mode-p' test.
7977
c5d3843c
KH
79782012-02-02 Kenichi Handa <handa@m17n.org>
7979
9f6e692e 7980 * composite.el (compose-region): Cancel previous change.
c5d3843c 7981
159462d4 79822012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7983
7984 * composite.el (compose-region, compose-string): Signal error for
7985 a null string component (Bug#6988).
7986
9f562668
CY
79872012-02-01 Chong Yidong <cyd@gnu.org>
7988
e2cef717
CY
7989 * view.el (view-buffer-other-window, view-buffer-other-frame):
7990 Handle special modes like view-buffer (Bug#10650).
7991 (view-buffer): Simplify.
7992
9f562668
CY
7993 * frame.el (set-frame-font): Tweak meaning of third argument.
7994
9f6e692e
JB
7995 * dynamic-setting.el (font-setting-change-default-font):
7996 Use set-frame-font (Bug#9982).
9f562668 7997
781acb9f
GM
79982012-02-01 Glenn Morris <rgm@gnu.org>
7999
6035be52
GM
8000 * progmodes/compile.el (compilation-internal-error-properties):
8001 Respect compilation-first-column in the "*compilation*" buffer.
8002
781acb9f
GM
8003 * emacs-lisp/easy-mmode.el (define-minor-mode):
8004 Relax :variable's test for a named function.
8005
abbceb00
AM
80062012-01-31 Alan Mackenzie <acm@muc.de>
8007
8008 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8009 off by one error.
8010
fce3fdeb
CY
80112012-01-31 Chong Yidong <cyd@gnu.org>
8012
8013 * frame.el (set-frame-font): New arg ALL-FRAMES.
8014
8015 * menu-bar.el (menu-set-font): Use set-frame-font.
8016
8017 * faces.el (face-spec-reset-face): Don't apply unspecified
8018 attribute values to the default face.
8019
47893581
JB
80202012-01-31 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * progmodes/cwarn.el (cwarn): Remove dead link.
8023 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8024 Remove * from defcustom docstrings.
8025 (turn-on-cwarn-mode): Make obsolete.
8026 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8027 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8028
e58e988a
GM
80292012-01-31 Glenn Morris <rgm@gnu.org>
8030
60dc2671 8031 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8032 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8033 Allow named functions to be used as the cdr of :variable.
e58e988a 8034
7a3f511d
GM
80352012-01-30 Glenn Morris <rgm@gnu.org>
8036
8037 * emacs-lisp/authors.el (authors-fixed-entries):
8038 Remove reference to deleted file rnewspost.el.
8039
cb882333
JB
80402012-01-29 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * window.el (window-with-parameter): Remove unused variable `windows'.
8043 (window--side-check): Remove unused variable `code'.
8044 (window--resize-siblings): Remove unused variable `first'.
8045 (adjust-window-trailing-edge): Remove unused variable `failed'.
8046 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8047 Use `let', not `let*'.
8048 (balance-windows-2): Remove unused variable `found'.
8049 (window--state-put-2): Remove unused variable `splits'.
8050 (window-state-put): Remove unused variable `selected'.
8051 (same-window-p): Use `string-match-p'.
8052 (display-buffer-assq-regexp): Remove unused variable `value'.
8053 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8054 Mark argument ALIST as ignored.
8055 (pop-to-buffer): Remove unused variable `old-window'.
8056
907201af
EZ
80572012-01-29 Eli Zaretskii <eliz@gnu.org>
8058
8059 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8060 and .lzma compressed files.
8061
ea162670
CY
80622012-01-29 Chong Yidong <cyd@gnu.org>
8063
5b95ee8a
CY
8064 * frame.el (window-system-default-frame-alist): Doc fix.
8065
ea162670
CY
8066 * dynamic-setting.el (font-setting-change-default-font): Don't
8067 change the default face if SET-FONT argument is non-nil (Bug#9982).
8068
d6e6f4b1
SB
80692012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8070
8071 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8072
0f29fa41 80732012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8074
8075 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8076 breakpoints in files outside current directory (Bug#6098).
8077
db174434
CY
80782012-01-29 Chong Yidong <cyd@gnu.org>
8079
6b25e4e2
SE
8080 * progmodes/python.el: Require ansi-color at top-level.
8081
6df6ae42
JB
8082 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8083 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8084 (lisp-mode-abbrev-table): Add doc.
8085 (lisp-mode-variables): Don't set local-abbrev-table.
8086 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8087
e70ee681
RW
80882012-01-28 Roland Winkler <winkler@gnu.org>
8089
8090 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8091
ace88aa2
RW
80922012-01-28 Roland Winkler <winkler@gnu.org>
8093
8094 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8095 (bibtex-set-dialect): Use it. Either set global values of
8096 dialect-dependent variables or bind these variables buffer-locally
8097 (Bug#10254).
8098 (bibtex-mode): Call bibtex-set-dialect via
8099 hack-local-variables-hook.
eb864a71
LM
8100 (bibtex-dialect): Update docstring.
8101 Add safe-local-variable predicate.
ace88aa2
RW
8102 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8103 bibtex-set-dialect.
8104 (bibtex-mode-map): Define menu for each dialect.
8105 (bibtex-entry): Fix docstring.
8106
93376c5b
CY
81072012-01-28 Chong Yidong <cyd@gnu.org>
8108
8109 * eshell/esh-arg.el (eshell-quote-argument): New function.
8110
8111 * eshell/esh-ext.el (eshell-invoke-batch-file):
8112 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8113 first arg to eshell-parse-command (Bug#10523).
8114
4372494f
DA
81152012-01-28 Drew Adams <drew.adams@oracle.com>
8116
8117 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8118 `default-directory' is non-nil.
8119
4d4ec1f8
EZ
81202012-01-28 Eli Zaretskii <eliz@gnu.org>
8121
8122 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8123 line that displays system-configuration-options. (Bug#9924)
8124
7c188927
DA
81252012-01-28 Drew Adams <drew.adams@oracle.com>
8126
8127 * descr-text.el (describe-char): Show information about POS, in
8128 addition to information about the character at POS. Improve and
8129 update the doc string. Change "code point" to "code point in
8130 charset", to avoid confusion with the character's Unicode code
8131 point shown above that. (Bug#10129)
8132
e0da685a
EZ
81332012-01-28 Eli Zaretskii <eliz@gnu.org>
8134
8135 * descr-text.el (describe-char): Show the raw character, not only
8136 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8137 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8138 for the reasons.
8139
70550acf
PH
81402012-01-28 Phil Hagelberg <phil@hagelb.org>
8141
eb864a71
LM
8142 * emacs-lisp/package.el (package-install):
8143 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8144
0ce8e868
CY
81452012-01-28 Chong Yidong <cyd@gnu.org>
8146
cb882333
JB
8147 * emacs-lisp/package.el (package-maybe-load-descriptor):
8148 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8149 (package-maybe-load-descriptor): Use it.
8150 (package-download-transaction): Fully load required packages
8151 inside the loop, so that `require' calls work (Bug#10593).
8152 (package-install): No need to call package-initialize now.
8153
2e7f3bea
CY
81542012-01-28 Chong Yidong <cyd@gnu.org>
8155
6e9bad14
CY
8156 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8157
f823b8ca
CY
8158 * tooltip.el (tooltip-mode): Doc fix.
8159 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8160
2680c309
CY
8161 * frame.el (set-cursor-color): Doc fix (Bug#352).
8162
d7a9e63b
CY
8163 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8164 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8165
2e7f3bea
CY
8166 * cus-edit.el (custom-buffer-create-internal): Fix search button
8167 action (Bug#10542).
2ae01800 8168 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8169
fc4f7a23
EW
81702012-01-27 Eduard Wiebe <usenet@pusto.de>
8171
8172 * dired.el (dired-mark-files-regexp):
8173 Include any subdirectory components. (Bug#10445)
8174
7dd37071
ML
81752012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8176
8177 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8178 Handle [host]:port syntax. (Bug#10533)
8179
a268160b
AH
81802012-01-27 Alex Harsanyi <harsanyi@mac.com>
8181
8182 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8183
e43273ef
GM
81842012-01-26 Glenn Morris <rgm@gnu.org>
8185
8186 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8187 * term.el (term-raw-escape-map): Use Control-X-prefix.
8188 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8189
1edf595d
MR
81902012-01-25 Martin Rudalics <rudalics@gmx.at>
8191
8192 * window.el (window-state-get, window--state-get-1): Don't deal
8193 with fixed-sizeness of windows. Simplify code.
8194
fa8eafef
JC
81952012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8196
6df6ae42
JB
8197 * window.el (window--state-get-1, window--state-put-2):
8198 Don't save and restore the mark.
fa8eafef 8199
0b21c100
CY
82002012-01-25 Chong Yidong <cyd@gnu.org>
8201
8202 * custom.el (custom-variable-p): Doc fix.
8203
5ae1a6c8
GM
82042012-01-25 Glenn Morris <rgm@gnu.org>
8205
40047858
GM
8206 * dired.el (dired-goto-file): Handle some of the more common
8207 characters that `ls -b' escapes. (Bug#10596)
8208
5ddce96c
GM
8209 * progmodes/compile.el (compilation-next-error-function):
8210 Respect compilation-first-column in the "*compilation*" buffer.
8211 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8212
5ae1a6c8
GM
8213 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8214
b559f1a9
GM
82152012-01-24 Glenn Morris <rgm@gnu.org>
8216
8217 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8218
6725d21a
JD
82192012-01-24 Julien Danjou <julien@danjou.info>
8220
8221 * color.el (color-rgb-to-hsl): Fix value computing.
8222 (color-hue-to-rgb): New function.
8223 (color-hsl-to-rgb): New function.
8224 (color-clamp, color-saturate-hsl, color-saturate-name)
8225 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8226 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8227
70df4bbe
GM
82282012-01-24 Glenn Morris <rgm@gnu.org>
8229
8230 * vc/vc-rcs.el (vc-rcs-create-tag):
8231 * vc/vc-sccs.el (vc-sccs-create-tag):
8232 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8233
802a2ae2
ML
82342012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8235
8236 * eshell/esh-util.el (eshell-read-hosts-file):
8237 Skip comment lines. (Bug#10549)
8238
d7128bb1
ML
8239 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8240
d1a5c3b4
JB
82412012-01-23 Juanma Barranquero <lekktu@gmail.com>
8242
2724d9c7
JB
8243 * subr.el (display-delayed-warnings): Doc fix.
8244 (collapse-delayed-warnings): New function to collapse identical
8245 adjacent warnings.
8246 (delayed-warnings-hook): Add it.
d1a5c3b4 8247
a5509865
MA
82482012-01-22 Michael Albinus <michael.albinus@gmx.de>
8249
8250 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8251
a5509865
MA
8252 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8253 (tramp-default-user-alist): Don't add "pscp".
8254 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8255 property "login-as", if set. (Bug#10530)
8256
cc6d5805
MA
82572012-01-21 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8260 "plink1" and "psftp". (Bug#10530)
8261
82622012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8263
8264 * international/mule-cmds.el (prefer-coding-system): Show a
8265 warning message if the default value of file-name-coding-system
8266 was not changed.
8267
f0960428
JC
82682012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8269
cb882333
JB
8270 * windmove.el (windmove-reference-loc):
8271 Fix windmove-reference-loc miscalculation.
f0960428 8272
dd6f2a63
JB
82732012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8274
8275 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8276 default unit.
8277
7b447e9b
GM
82782012-01-21 Glenn Morris <rgm@gnu.org>
8279
117a9ea1
GM
8280 * international/mule.el (auto-coding-alist): Add .tbz.
8281
7b447e9b
GM
8282 * files.el (local-enable-local-variables): Doc fix.
8283 (inhibit-local-variables-regexps): Rename from
8284 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8285 Doc fix. Add some extensions from auto-coding-alist.
8286 (inhibit-local-variables-suffixes):
8287 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8288 (inhibit-local-variables-p):
8289 New function, extracted from set-auto-mode-1.
8290 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8291 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8292 (hack-local-variables): Doc fix. Make the mode-only case
8293 respect enable-local-variables and friends.
8294 Respect inhibit-local-variables-regexps for file-locals, but
8295 not for directory-locals.
8296 (set-visited-file-name):
8297 Take account of inhibit-local-variables-regexps.
8298 Whether it applies may change as the file name is changed.
8299 * jka-cmpr-hook.el (jka-compr-install):
8300 * jka-compr.el (jka-compr-uninstall):
8301 Update for inhibit-first-line-modes-suffixes name change.
8302
dd6e3cdd
MR
83032012-01-20 Martin Rudalics <rudalics@gmx.at>
8304
8305 * help-macro.el (make-help-screen): Temporarily restore original
8306 binding for minor-mode-map-alist (Bug#10454).
8307
0d0deb38
JD
83082012-01-19 Julien Danjou <julien@danjou.info>
8309
8310 * color.el (color-name-to-rgb): Use the white color to find the max
8311 color component value and return correctly computed values.
8312 (color-name-to-rgb): Add missing float conversion for max value.
8313
34a02f46
MR
83142012-01-19 Martin Rudalics <rudalics@gmx.at>
8315
8316 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8317 special state value for window-persistent-parameters.
8318 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8319 (window--state-put-2): Reset all window parameters to nil before
8320 assigning values of persistent parameters.
8321
606c44c4
AM
83222012-01-18 Alan Mackenzie <acm@muc.de>
8323
8324 Eliminate sluggishness and hangs in fontification of "semicolon
8325 deserts".
8326
cb882333
JB
8327 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8328 Change value 10000 -> 3000.
606c44c4
AM
8329 (c-state-safe-place): Reformulate so it doesn't stack up an
8330 infinite number of wrong entries in c-state-nonlit-pos-cache.
8331 (c-determine-limit-get-base, c-determine-limit): New functions to
8332 determine backward search limits disregarding literals.
8333 (c-find-decl-spots): Amend commenting.
8334 (c-cheap-inside-bracelist-p): New function which detects "={".
8335
8336 * progmodes/cc-fonts.el
8337 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8338 backward search.
8339 (c-font-lock-declarations): Fix an occurrence of point being
8340 undefined. Check additionally for point being in a bracelist or
8341 near a macro invocation without a semicolon so as to avoid a
8342 fruitless time consuming search for a declarator. Give a more
8343 precise search limit for declarators using the new
8344 c-determine-limit.
8345
f3860cea
GM
83462012-01-18 Glenn Morris <rgm@gnu.org>
8347
8348 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8349 (set-auto-mode): Doc fixes.
8350
1db03b16
GM
83512012-01-17 Glenn Morris <rgm@gnu.org>
8352
0e6038be
GM
8353 * isearch.el (search-nonincremental-instead): Fix doc typo.
8354
1db03b16
GM
8355 * dired.el (dired-insert-directory): Handle newlines in directory name.
8356 (dired-build-subdir-alist): Unescape newlines in directory name.
8357
4cb0aa75
MA
83582012-01-17 Michael Albinus <michael.albinus@gmx.de>
8359
8360 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8361 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8362 (tramp-action-terminal): Use it. (Bug#10530)
8363
1d00653d
SM
83642012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8367
6a6ee00d
MR
83682012-01-16 Martin Rudalics <rudalics@gmx.at>
8369
8370 * window.el (window-state-ignored-parameters): Remove variable.
8371 (window--state-get-1): Rename argument MARKERS to IGNORE.
8372 Handle persistent window parameters. Make copy of clone-of
8373 parameter only if requested. (Bug#10348)
8374 (window--state-put-2): Install a window parameter only if it has
8375 a non-nil value or an existing parameter shall be overwritten.
8376
97912def
MA
83772012-01-15 Michael Albinus <michael.albinus@gmx.de>
8378
8379 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8380
688070a5
EZ
83812012-01-14 Eli Zaretskii <eliz@gnu.org>
8382
8383 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8384 don't pass the (nil) value of `upnode' to string-match.
8385
301afadc
CY
83862012-01-14 Chong Yidong <cyd@gnu.org>
8387
8388 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8389 Fix values recognized by the cursorBlink resource.
301afadc 8390
9e5788aa
PE
83912012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8392
8393 * epg.el (epg--make-temp-file): Avoid permission race condition
8394 when running on old Emacs versions (bug#10403).
8395
3cdb7f5a
GM
83962012-01-14 Glenn Morris <rgm@gnu.org>
8397
8398 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8399
8c82b1b4
AM
84002012-01-13 Alan Mackenzie <acm@muc.de>
8401
8402 Fix filling for when filladapt mode is enabled.
8403
8404 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8405 c-mask-paragraph, pass in `fill-paragraph' rather than
8406 `fill-region-as-paragraph'. (This is a reversion of a previous
8407 change.)
eb864a71
LM
8408 * progmodes/cc-mode.el (c-basic-common-init):
8409 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8410
e517eda4
GM
84112012-01-13 Glenn Morris <rgm@gnu.org>
8412
1498536e
GM
8413 * dired.el (dired-switches-escape-p): New function.
8414 (dired-insert-directory): Use dired-switches-escape-p.
8415 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8416
e517eda4
GM
8417 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8418
328f984d
GM
84192012-01-12 Glenn Morris <rgm@gnu.org>
8420
8421 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8422 changes in adaptive-fill-regexp. (Bug#10276)
8423
2cc769a8
AM
84242012-01-11 Alan Mackenzie <acm@muc.de>
8425
8426 Fix Emacs bug #10463 - put `widen's around the critical spots.
8427
1d00653d 8428 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8429 widen around each invocation of c-state-pp-to-literal. Remove an
8430 unused let variable.
8431
e52c37fa
GM
84322012-01-11 Glenn Morris <rgm@gnu.org>
8433
8434 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8435 Doc fix.
e52c37fa 8436
96f8741e
CY
84372012-01-10 Chong Yidong <cyd@gnu.org>
8438
1d00653d
SM
8439 * net/network-stream.el (network-stream-open-starttls):
8440 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8441 response to the capability command.
8442
b09a806e
GM
84432012-01-10 Glenn Morris <rgm@gnu.org>
8444
8445 * mail/unrmail.el (unrmail): Tweak previous change.
8446
7655cb66
CY
84472012-01-09 Chong Yidong <cyd@gnu.org>
8448
8449 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8450
9d5a8f0b
AM
84512012-01-08 Alan Mackenzie <acm@muc.de>
8452
8453 Optimise font locking in long enum definitions.
8454
8455 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8456 arm to a cond form to handle enums.
8457 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8458 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8459
9a0115ab 84602012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8461
8462 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8463 (Bug#10401)
6bb72cbd 8464
f186bb95
LMI
84652012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8466
29232a68
LMI
8467 * faces.el (set-face-attribute): Clarify the meaning of the nil
8468 frame (bug#10294).
8469
4e5d086d
LMI
8470 * subr.el (with-selected-frame): Mention that the selected frame
8471 is restored (bug#9980).
8472
8e66aebe
LMI
8473 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8474 (bug#9759).
8475
cd394be1 8476 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8477 (password-read): Don't autoload unused function.
8478
adf4e762
JB
84792012-01-07 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * progmodes/which-func.el (which-func-mode): Turn into a
8482 non-interactive function and mark as obsolete (bug#10428).
8483
89bd9ccd
CY
84842012-01-06 Chong Yidong <cyd@gnu.org>
8485
8486 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8487 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8488 functions, along with 1 and -1.
8489
4afee9d5
EZ
84902012-01-06 Eli Zaretskii <eliz@gnu.org>
8491
8492 * time.el (display-time-load-average)
8493 (display-time-default-load-average): Doc fixes. See the thread
8494 starting at
8495 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8496 for the details.
8497
536aea70
GM
84982012-01-06 Glenn Morris <rgm@gnu.org>
8499
665ae865
GM
8500 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8501 has no messages. (Bug#10377)
8502
c869783d
GM
8503 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8504 than Info-edit. (Bug#10385)
8505
2bb4227e
GM
8506 * time.el (display-time-load-average, display-time-next-load-average):
8507 Doc fixes.
8508
7d5944b9
GM
8509 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8510 local setting of buffer-read-only to the input buffer. (Bug#10419)
8511
536aea70
GM
8512 * calendar/calendar.el (calendar-mode):
8513 Locally set scroll-margin to 0. (Bug#10379)
8514
7dccca16
UM
85152012-01-06 Ulrich Mueller <ulm@gentoo.org>
8516
8517 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8518
afbb7930
GM
85192012-01-05 Glenn Morris <rgm@gnu.org>
8520
8521 * eshell/em-unix.el (diff-no-select): Autoload it.
8522 (eshell/diff): Use diff-no-select. (Bug#10420)
8523
04482335
CY
85242012-01-05 Chong Yidong <cyd@gnu.org>
8525
7baca3bc
CY
8526 * shell.el (shell-dynamic-complete-functions): Revert last change.
8527 (shell-command-completion-function): New function.
8528 (shell-completion-vars): Use it to implement
8529 shell-completion-execonly (Bug#10417).
8530
04482335
CY
8531 * custom.el (enable-theme): Don't set custom-safe-themes.
8532
1d00653d
SM
8533 * cus-theme.el (custom-theme-merge-theme):
8534 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8535
bb5aa5d6
MM
85362012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8537
8538 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8539 first prompt in `sql-interacive-mode'.
8540 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8541 keywords.
6df6ae42 8542 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8543 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8544 context of original buffer. Invoke `sql-login-hook'.
8545
a7183d7c
EZ
85462012-01-04 Eli Zaretskii <eliz@gnu.org>
8547
8548 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8549 letters in cite-prefix.
8550
a1eacd1e
LMI
85512012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
8553 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8554
787cdb34
CY
85552012-01-03 Chong Yidong <cyd@gnu.org>
8556
1d00653d
SM
8557 * shell.el (shell-dynamic-complete-functions):
8558 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8559 comint-filename-completion first (Bug#10417).
8560
30710442
RS
85612012-01-02 Richard Stallman <rms@gnu.org>
8562
8563 * battery.el (battery-status-function):
8564 Detect when to use battery-yeeloong-sysfs.
8565 (battery-echo-area-format): Add string for Yeeloong.
8566 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8567 (battery-yeeloong-sysfs): New function.
8568
f75bfc33
CY
85692012-01-02 Chong Yidong <cyd@gnu.org>
8570
8571 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8572 (dirtrack): Merge code for handling relative filenames in prompt
8573 from shell-dir-cookie-watcher.
8574 (dirtrack-debug-message): New arg to avoid excess format calls.
8575
8576 * shell.el (shell-dir-cookie-re): Variable deleted.
8577 (shell-dir-cookie-watcher): Function deleted.
8578 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8579 with dirtrack-mode.
8580
651e947e
EZ
85812012-01-01 Eli Zaretskii <eliz@gnu.org>
8582
1d00653d
SM
8583 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8584 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8585 libgnutls-26.dll.
8586
94d4c7dc
AS
85872011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8588
8589 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8590
8d43f3cd
EZ
85912011-12-31 Eli Zaretskii <eliz@gnu.org>
8592
8593 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8594 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8595
98c8795a
MA
85962011-12-29 Michael Albinus <michael.albinus@gmx.de>
8597
8598 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8599 also for alternative shells.
8600 (tramp-open-connection-setup-interactive-shell): Check, whether
8601 the shell is a busybox.
8602 (tramp-send-command): Don't suppress multiple prompts for
8603 busyboxes, it hurts.
8604
51281b32
CY
86052011-12-28 Chong Yidong <cyd@gnu.org>
8606
8607 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8608 (gdb-get-source-file): Move mode line update to
8609 gdb-get-source-file (Bug#10087).
8610
2170cb53
CY
86112011-12-25 Chong Yidong <cyd@gnu.org>
8612
8613 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8614 gud-gdb-marker-filter without taking it as an argument.
8615 (gud-gdb-run-command-fetch-lines): Caller changed.
8616 (gud-gdb-completion-function): New variable.
8617 (gud-gdb-completion-at-point): Use it.
8618 (gud-gdb-completions-1): Split from gud-gdb-completions.
8619
8620 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8621 function as separate arguments.
8622 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8623 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8624 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8625 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8626 (gdb-stopped, def-gdb-auto-update-trigger)
8627 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8628 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8629 Callers changed.
2170cb53
CY
8630 (gud-gdbmi-completions): New function.
8631 (gdb): Use it for generating the completion table.
8632
be8b11bb
AM
86332011-12-24 Alan Mackenzie <acm@muc.de>
8634
8635 Introduce a mechanism to widen the region used in context font
1d00653d 8636 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8637
1d00653d
SM
8638 * progmodes/cc-langs.el (c-before-font-lock-functions):
8639 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8640 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8641 functions to be run just before context (etc.) font locking.
8642
8643 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8644 New, functionality extracted from
be8b11bb 8645 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8646 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8647 (c-after-change): Set c-in-after-change-fontification.
8648 (c-set-fl-decl-start): Rejig its interface, so it can be called
8649 from both after-change and context fontifying.
b81d40f0
JB
8650 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8651 New functions.
8652 (c-standard-font-lock-fontify-region-function): New variable.
8653 (c-font-lock-fontify-region): New function.
be8b11bb 8654
341cf6ac
JL
86552011-12-24 Juri Linkov <juri@jurta.org>
8656
8657 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8658 (Bug#10348)
8659
bffcee0a
MA
86602011-12-23 Michael Albinus <michael.albinus@gmx.de>
8661
8662 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8663 existence of source file. (Bug#10325)
8664
cb5e207c
AM
86652011-12-23 Alan Mackenzie <acm@muc.de>
8666
8667 Fix unstable fontification inside templates.
8668
b81d40f0
JB
8669 * progmodes/cc-langs.el (c-before-font-lock-functions):
8670 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8671 additionally has c-set-fl-decl-start. The other languages (apart
8672 from AWK) have that as a single entry.
8673
b81d40f0
JB
8674 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8675 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8676 c-set-fl-decl-start.
8677
b81d40f0
JB
8678 * progmodes/cc-mode.el (c-common-init, c-after-change):
8679 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8680 (c-set-fl-decl-start): New function, extracted from
8681 c-font-lock-enclosing-decls and enhanced.
8682
60ff536c
JB
86832011-12-23 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8686
1c4757d6
JL
86872011-12-22 Juri Linkov <juri@jurta.org>
8688
8689 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8690
d031f2c7
CY
86912011-12-22 Chong Yidong <cyd@gnu.org>
8692
8693 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8694
bace743a
DA
86952011-12-21 Drew Adams <drew.adams@oracle.com>
8696
8697 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8698
728a1f2b
JC
86992011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8700
8701 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8702
0d373f73
TZ
87032011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8704
fec0aaa4
TZ
8705 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8706 highlighting and support. Fix up comments for capitalization.
8707 (cfengine-mode-debug): New var.
8708 (cfengine3-mode): Change the modeline indicator to "CFE3".
8709 (cfengine3-font-lock-keywords): Improve defun highlighting.
8710 (cfengine2-actions): Rename from `cfengine-actions'.
8711 (cfengine2-font-lock-keywords): Rename from
8712 `cfengine-font-lock-keywords'.
8713 (cfengine2-imenu-expression): Rename from
8714 `cfengine-imenu-expression'.
8715 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8716 (cfengine2-beginning-of-defun): Rename from
8717 `cfengine-beginning-of-defun'.
8718 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8719 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8720 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8721 modeline indicator to "CFE2".
8722 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8723 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8724
bc86f573
CY
87252011-12-21 Chong Yidong <cyd@gnu.org>
8726
8727 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8728 filename argument.
8729
d45ba96b
MR
87302011-12-20 Martin Rudalics <rudalics@gmx.at>
8731
8732 * window.el (window-normalize-buffer-to-display): Remove.
8733 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8734
a6198c90
CY
87352011-12-19 Chong Yidong <cyd@gnu.org>
8736
8737 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8738 Don't signal an error in a predicate function; return non-nil.
8739 (vc-dir-mark-file): Move the error here.
8740 (vc-dir-mark-unmark): If acting on the region, keep going if one
8741 of the entries cannot be marked/unmarked.
8742 (vc-dir-mark-all-files): If current entry is a directory, mark
8743 only child files, as documented.
8744
34c5fb55
VB
87452011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8746
8747 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8748 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8749 addition.
8750
c803b2b7
JD
87512011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8752
8753 * term/ns-win.el (ns-get-selection-internal)
8754 (ns-store-selection-internal): Declare.
1154d12e
JB
8755 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8756 Declare as obsolete.
8757 (ns-get-pasteboard, ns-paste-secondary):
8758 Use ns-get-selection-internal.
8759 (ns-set-pasteboard, ns-copy-including-secondary):
8760 Use ns-store-selection-internal.
c803b2b7 8761
9cff91f8 87622011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8763
8764 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8765 (vc-deduce-fileset): Doc fix.
99a289d9 8766
f16c898a
AS
87672011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8768
8769 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8770
763237c4
SS
87712011-12-13 Sam Steingold <sds@gnu.org>
8772
8773 * man.el (Man-getpage-in-background): When running under a
8774 window-system, ignore $MANWIDTH and $COLUMNS.
8775
5fc1c122
KH
87762011-12-15 Kenichi Handa <handa@m17n.org>
8777
8778 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8779 (setup-ethiopic-environment-internal): Comment out key-binding for
8780 ethio-toggle-punctuation.
8781
13d49cbb
AM
87822011-12-13 Alan Mackenzie <acm@muc.de>
8783
898169a2
AM
8784 Add the switch statement to AWK Mode.
8785
7a71b18d 8786 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8787 "default" to the keywords regexp.
8788
7a71b18d 8789 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8790 expression as the rest.
1d00653d
SM
8791 (c-nonlabel-token-key): Allow string literals for AWK.
8792 Refactor for the other modes.
898169a2 8793
13d49cbb 8794 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8795 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8796 routines. Limit backward searching in c-font-lock-enclosing.decl.
8797
8798 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8799 pp-state and literal type in addition to the limits.
1d00653d 8800 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8801 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8802 (c-slow-in-literal, c-fast-in-literal): Remove.
8803 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8804
8805 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8806 being in a literal. Add a limit for backward searching.
8807
8808 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8809 c-slow-in-literal.
8810
15e0efc7
SM
88112011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8814
454592a6
MR
88152011-12-13 Martin Rudalics <rudalics@gmx.at>
8816
8817 * window.el (delete-other-windows): Use correct frame in call to
8818 window-with-parameter.
8819
87393f26
DP
88202011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8821
8822 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8823 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8824 (makefile-gmake-statements, makefile-makepp-statements):
8825 Use it and add new makepp keywords.
8826 (makefile-makepp-font-lock-keywords): Add new patterns.
8827 (makefile-match-function-end): Match new [...] and [[...]].
8828
11636b22
JB
88292011-12-11 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * ses.el (ses-call-printer-return, ses-cell-property-get)
8832 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8833 (ses-create-cell-variable, ses-reset-header-string)
8834 (ses-cell-set-formula, ses-repair-cell-reference-all)
8835 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8836 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8837 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8838 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8839 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8840 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8841 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8842 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8843 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8844 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8845 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8846 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8847
cf018193
VB
88482011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8849
8850 * ses.el: The overall change is to add cell renaming, that is
8851 setting fancy names for cell symbols other than name matching
8852 "\\`[A-Z]+[0-9]+\\'" regexp .
8853 (ses-create-cell-variable): New defun.
8854 (ses-relocate-formula): Relocate formulas only for cells the
8855 symbols of which are not renamed, i.e. symbols whose names do not
8856 match regexp "\\`[A-Z]+[0-9]+\\'".
8857 (ses-relocate-all): Relocate values only for cells the symbols of
8858 which are not renamed.
8859 (ses-load): Create cells variables as the (ses-cell ...) are read,
8860 in order to check row col consistency with cell symbol name only
8861 for cells that are not renamed.
8862 (ses-replace-name-in-formula): New defun.
8863 (ses-rename-cell): New defun.
8864
ee957461
CY
88652011-12-11 Chong Yidong <cyd@gnu.org>
8866
8867 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8868 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8869
9a9e9ef0
MR
88702011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8871
8872 * window.el (other-window): Fix docstring.
8873
92a8eba5
EZ
88742011-12-10 Eli Zaretskii <eliz@gnu.org>
8875
8876 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8877 `from' or `to' address before taking its substring.
8878 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8879 encoded name is chopped in the middle of the encoded string, and
8880 thus displayed encoded.
8881
e152e577
JB
88822011-12-10 Juanma Barranquero <lekktu@gmail.com>
8883
8884 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8885
e5d84bfe
EZ
88862011-12-10 Eli Zaretskii <eliz@gnu.org>
8887
8888 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8889 to use texinfo-update-node and commands that call it if the
8890 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8891 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8892 (texinfo-all-menus-update, texinfo-master-menu)
8893 (texinfo-update-node, texinfo-every-node-update)
8894 (texinfo-multiple-files-update): Doc fix. Warn against updating
8895 all the @node lines.
8896 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8897 argument is numeric. Explain better in the doc string what the
8898 function really does.
8899 (texinfo-insert-master-menu-list): Improve the error message
8900 displayed if there's no menu in the Top node.
8901 (Bug#2975) See also this thread:
e5d84bfe
EZ
8902 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8903
1d84e9bb
MG
89042011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
8905
8906 * speedbar.el (speedbar-supported-extension-expressions):
8907 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8908
382c953b
JB
89092011-12-09 Juanma Barranquero <lekktu@gmail.com>
8910
8911 * printing.el (pr-mode-alist):
8912 * simple.el (filter-buffer-substring-functions)
8913 (completion-list-insert-choice-function):
8914 * window.el (window-with-parameter, window-atom-root)
8915 (window-sides-slots, window-size-fixed, window-min-delta)
8916 (window-max-delta, window--resize-mini-window)
8917 (window--resize-child-windows-normal, window-tree)
8918 (delete-other-windows, quit-window, split-window)
8919 (display-buffer-record-window, special-display-buffer-names)
8920 (special-display-regexps, special-display-popup-frame)
8921 (same-window-p, split-window-sensibly)
8922 (display-buffer-overriding-action, display-buffer-alist)
8923 (display-buffer-base-action, display-buffer, switch-to-buffer)
8924 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8925 (fit-window-to-buffer, recenter-positions)
8926 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8927 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8928 and remove unneeded backslashes in docstrings.
8929
39c9faef
SM
89302011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8931
98449af8
SM
8932 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8933
39c9faef
SM
8934 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8935 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8936 end in ".mk".
8937 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8938 when reading the makefile (bug#10116).
8939
86ed9fdc
SM
89402011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8943 (bug#10116).
8944
5580f89d
GM
89452011-12-06 Glenn Morris <rgm@gnu.org>
8946
8947 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8948
28d3917c
CY
89492011-12-06 Chong Yidong <cyd@gnu.org>
8950
8951 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8952
a98edce9
JB
89532011-12-06 Juanma Barranquero <lekktu@gmail.com>
8954
8955 * textmodes/table.el (table-shorten-cell): Fix typo.
8956
e65adfac
CG
89572011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8958
8959 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8960
71cc0b74
EZ
89612011-12-05 Eli Zaretskii <eliz@gnu.org>
8962
8963 * descr-text.el (describe-char): Fix display of strong
8964 right-to-left characters and directional embeddings and overrides.
8965
8966 * simple.el (what-cursor-position): Fix display of codepoints of
8967 strong right-to-left characters.
8968
315bc30d
CY
89692011-12-05 Chong Yidong <cyd@gnu.org>
8970
8971 * faces.el (read-color): Doc fix.
8972
58a70b94
GM
89732011-12-05 Glenn Morris <rgm@gnu.org>
8974
8975 * align.el (align--set-marker): Add doc-string.
8976 Don't try to move something that is not a marker. (Bug#10216)
8977
5158face
GM
89782011-12-04 Glenn Morris <rgm@gnu.org>
8979
8980 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8981 overly zealous deletion of trailing whitespace.
8982
520fca41
JB
89832011-12-04 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * server.el (server-delete-client): On Windows, do not try to delete
8986 the only terminal.
8987 (server-process-filter): On Windows, treat requests for a tty frame as
8988 if they were for a GUI frame if the running server is in GUI mode.
8989
5e605a2e
GM
89902011-12-03 Glenn Morris <rgm@gnu.org>
8991
8992 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8993
5c3fe83f
SM
89942011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8995
6f5e57e7
SM
8996 * electric.el: Streamline electric-indent's hook.
8997 (electric-indent-chars): Revert to simple list.
8998 (electric-indent-functions): New var.
8999 (electric-indent-post-self-insert-function): Use it.
9000
5c3fe83f
SM
9001 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9002 there's no inferior buffer (bug#10196).
9003 (prolog-consult-compile): Don't use toggle-read-only.
9004
6bdac736
MA
90052011-12-02 Michael Albinus <michael.albinus@gmx.de>
9006
9007 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9008 interrupt. (Bug#10187)
9009
6131ba7f
SM
90102011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9011
99c79fee
SM
9012 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9013 (bug#9160).
9014
6131ba7f
SM
9015 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9016 (bug#10191).
9017
cb0a02ea
JL
90182011-12-02 Juri Linkov <juri@jurta.org>
9019
9020 * info.el (Info-search): Display "end of manual" when Isearch
9021 reaches the end of single-file Info manual. (Bug#9918)
9022
66e0570c
EZ
90232011-12-02 Eli Zaretskii <eliz@gnu.org>
9024
9025 * isearch.el (isearch-message-prefix): Run the input method part
9026 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9027
02b16839
JL
90282011-12-02 Juri Linkov <juri@jurta.org>
9029
9030 * isearch.el (isearch-occur): Use `word-search-regexp' for
9031 `isearch-word'.
9032 (isearch-search-and-update): Add condition for `isearch-word' and
9033 call `word-search-regexp'. (Bug#10145)
9034
0b950688
GM
90352011-12-01 Glenn Morris <rgm@gnu.org>
9036
9037 * eshell/em-hist.el (eshell-hist-initialize):
9038 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9039 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9040
9505c3c7
SM
90412011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9044
1bbe96b2 90452011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9046
a1beca85
SM
9047 * progmodes/verilog-mode.el (verilog-pretty-expr):
9048 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9049 verilog, such as += *= and the like.
9050 (verilog-assignment-operator-re): Regular expression to find the
9051 assigment operator in a verilog assignment.
9052 (verilog-assignment-operation-re): Regular expression to find an
9053 assignment statement for pretty-expr.
9054 (verilog-in-attribute-p): Query returns true if point is in an
9055 attribute context; used to skip these for expression line up from
9056 pretty-expr.
9057 (verilog-in-parameter-p): Query returns true if point is in an
9058 parameter definition context; used to skip these for expression
9059 line up from pretty-expr.
9060 (verilog-in-parenthesis-p): Query returns true if point is in a
9061 parenthetical expression, specifically ( ) but not [ ] or { };
9062 used by pretty-expr.
9063 (verilog-just-one-space): If there is no space, don't add one.
9064 (verilog-get-lineup-indent-2): Specifically skip just attribute
9065 contexts for expression lineup, rather than skipping all
9066 parenthetical expressions.
9067 (verilog-calculate-indent): Fix comment, and fix indent.
9068 (verilog-do-indent): Indent declarations in lists (suggested by
9069 Joachim Lechner).
9070 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9071 skeleton items.
9072 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9073 by Alain Mellan).
9074
1bbe96b2 90752011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9076
9077 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9078 parameters with embedded comments. Reported by Ray Stevens.
9079 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9080 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9081 Reported by Tim Holt.
9082 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9083 instantiated by upper module causing wrong expansion until AUTOed a
9084 second time. Reported by K C Buckenmaier.
9085 (verilog-diff-auto): Fix showing .* as a difference when
9086 `verilog-auto-star-save' off. Reported by Dan Dever.
9087 (verilog-auto-reset, verilog-read-always-signals)
9088 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9089 temporary signals in reset list if
9090 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9091 style to each signal's assignment type, bug381.
9092 Reported by Thomas Esposito.
6288f0ca
WS
9093 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9094 (verilog-uvm-statement-re): Support UVM indentation and
9095 highlighting, with old OVM keywords only.
a1beca85 9096 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9097 Support AUTOTIEOFF creating non-wire data types.
9098 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9099 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9100 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9101 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9102 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9103 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9104 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9105 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9106 non-numeric vector width. Reported by Alex Reed.
9107 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9108 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9109 (verilog-auto-delete-trailing-whitespace):
9110 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9111 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9112 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9113 Fix verilog-scan-cache corruption when running user AUTO expansion
9114 hooks that call indentation routines.
9115 (verilog-simplify-range-expression): Fix typo ignoring lower case
9116 identifiers.
9117 (verilog-delete-auto): Fix delete-autos to also remove user created
9118 automatics, as long as they start with AUTO.
9119 (verilog-batch-diff-auto, verilog-diff-auto)
9120 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9121 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9122 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9123 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9124 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9125 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9126 is disabled and its cache will get corrupt, causing AUTOS not to
9127 expand. Instead use only -quick functions.
9128 (verilog-scan-region): Fix scanning over escaped quotes.
9129 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9130 (verilog-re-search-backward-quick)
9131 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9132 related functions now ignore strings, to fix misparsing of strings
9133 with magic comments embedded in them.
a1beca85
SM
9134 (verilog-read-auto-template):
9135 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9136 Reported by Brad Dobbie.
9137 (verilog-read-auto-template):
9138 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9139 Reported by Brad Dobbie.
6288f0ca
WS
9140 (verilog-auto-inst, verilog-auto-inst-param)
9141 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9142 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9143 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9144 debugging templates without merge conflicts, bug357.
9145 Reported by Brad Dobbie.
9146 (verilog-read-auto-template):
9147 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9148 Reported by Brad Dobbie.
9149 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9150 abbrevs so user won't be asked to save.
9151 (verilog-read-auto-lisp-present): Fix to start at beginning of
9152 buffer in case called outside of verilog-auto.
9153 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9154 to "X-2". Reported by Matthew Myers.
9155 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9156 all inputs from module templates. Reported by Leith Johnson.
9157 (verilog-module-inside-filename-p): Fix locating programs as with
9158 modules.
9159 (verilog-auto-inst-port): Fix vl-width expressions when using
9160 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9161 (verilog-decls-get-regs, verilog-decls-get-signals,
9162 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9163 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9164 verilog-read-decls): Combine reg and wire structures into one var
9165 structure to represent SystemVerilog concepts.
9166 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9167 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9168 (verilog-auto-wire-type, verilog-insert-definition):
9169 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9170 SystemVerilog "logic" keyword instead of "wire"/"reg".
9171 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9172 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9173 ifdef or generate if so there's not a driver conflict).
9174 Reported by Matthew Myers.
9175 (verilog-auto-declare-nettype, verilog-insert-definition):
9176 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9177 `default_nettype none. Reported by Julian Gorfajn.
9178 (verilog-read-always-signals-recurse, verilog-read-decls)
9179 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9180 malformed end statement, bug325. Reported by Joshua Wise and
9181 Andrew Drake.
9182 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9183 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9184 when expanding .* in interfaces, bug320.
9185 Reported by Pierre-David Pfister.
6288f0ca 9186 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9187 name and open parenthesis, bug317.
9188 Reported by Pierre-David Pfister.
6288f0ca
WS
9189 (verilog-simplify-range-expression): Fix simplification of
9190 multiplications inside AUTOWIRE connections, bug303.
9191 (verilog-auto-inst-port): Support parameter expansion in
9192 multidimensional arrays.
9193 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9194 after "assert property". Reported by Julian Gorfajn.
9195 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9196 with multiplication, bug303.
9197 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9198 Reported by Jan Frode Lonnum.
9199
1bbe96b2
GM
92002011-11-30 Juanma Barranquero <lekktu@gmail.com>
9201
9202 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9203 (hfy-shell-file-name, hfy-shell):
9204 * international/fontset.el (x-decompose-font-name): Fix typos.
9205
92062011-11-29 Ken Brown <kbrown@cornell.edu>
9207
9208 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9209 (gdb-version): Remove defvar.
9210 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9211 (gdb-gud-context-command, gdb-non-stop-handler)
9212 (gdb-current-context-command, gdb-stopped): Use it.
9213 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9214 (gdb-non-stop-handler): Don't enable pretty-printing here.
9215 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9216 non-stop mode. Use the following.
9217 (gdb-check-target-async): New defun.
9218 (gud-watch, gdb-stopped): Fix whitespace.
9219 (gdb-get-source-file): Don't try to display the source file if
9220 `gdb-main-file' is nil.
9221
92222011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * align.el: Try to generate fewer markers (bug#10047).
9225 (align--set-marker): New macro.
9226 (align-region): Use it.
9227
c935221f
SM
92282011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9231
e70b5064
CY
92322011-11-29 Chong Yidong <cyd@gnu.org>
9233
9234 * indent.el (indent-for-tab-command, indent-according-to-mode):
9235 Doc fix.
9236 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9237
f3af92b7
MA
92382011-11-29 Michael Albinus <michael.albinus@gmx.de>
9239
9240 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9241 aware of remote file names. (Bug#10124)
9242
ed472be9
CY
92432011-11-29 Chong Yidong <cyd@gnu.org>
9244
9245 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9246
24510c22
SM
92472011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * files.el (find-file): Don't use force-same-window (bug#10144).
9250 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9251 use pop-to-buffer if the selected window can't be used.
9252 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9253
c60c3703
EZ
92542011-11-28 Eli Zaretskii <eliz@gnu.org>
9255
9256 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9257 special-mode-map.
9258
e95def75
CY
92592011-11-28 Chong Yidong <cyd@gnu.org>
9260
9261 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9262
c3f1c606
NR
92632011-11-27 Nick Roberts <nickrob@snap.net.nz>
9264
9265 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9266 gdb-get-source-file-list on gdb-create-source-file-list.
9267
00db469c
EZ
92682011-11-26 Eli Zaretskii <eliz@gnu.org>
9269
9270 * whitespace.el (whitespace-newline): Use a different foreground
9271 color for 16-color light-background displays.
9272
4ad3bc2a
CY
92732011-11-24 Chong Yidong <cyd@gnu.org>
9274
9275 * window.el (display-buffer--special-action): Doc fix.
9276
e9fce1ac
JB
92772011-11-25 Juanma Barranquero <lekktu@gmail.com>
9278
9279 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9280 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9281 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9282 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9283 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9284 (avl-tree-stack-first):
9285 * emacs-lisp/cconv.el (cconv--analyse-use):
9286 * net/gnutls.el (gnutls-negotiate): Fix typos.
9287
cb825e5d
GM
92882011-11-24 Glenn Morris <rgm@gnu.org>
9289
3adbe224
GM
9290 * lpr.el (lpr-windows-system, lpr-lp-system):
9291 * mail/binhex.el (binhex-begin-line):
9292 * progmodes/grep.el (grep-history, grep-find-history):
9293 * textmodes/flyspell.el:
9294 * vc/pcvs-defs.el (cvs-global-menu):
9295 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9296 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9297 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9298
321decc8
GM
9299 * net/tls.el: Fix case of "GnuTLS".
9300
420b63ad
GM
9301 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9302
cb825e5d
GM
9303 * version.el (emacs-build-system): Give it a doc-string.
9304
a0649f08
JL
93052011-11-24 Juri Linkov <juri@jurta.org>
9306
9307 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9308
c0bc0fd4
GM
93092011-11-24 Glenn Morris <rgm@gnu.org>
9310
9311 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9312 if called on a non-mime message just toggle the headers. (Bug#8006)
9313
20db1522
JB
93142011-11-24 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9317 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9318 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9319 (allout-rebullet-heading, allout-open-sibtopic)
9320 (allout-toggle-current-subtree-encryption)
9321 (allout-toggle-subtree-encryption, allout-encrypt-string)
9322 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9323 (allout-distinctive-bullets-string, allout-auto-activation):
9324 * window.el (window-normalize-buffer-to-display):
9325 * progmodes/verilog-mode.el (verilog-batch-indent):
9326 * textmodes/bibtex.el (bibtex-field-braces-opt)
9327 (bibtex-field-strings-opt):
9328 * vc/cvs-status.el (cvs-tree-merge):
9329 Fix typos.
9330
7262a87c
MA
93312011-11-23 Michael Albinus <michael.albinus@gmx.de>
9332
9333 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9334 `non-essential' to t, in order to avoid remote connections.
9335
283430a1
EZ
93362011-11-23 Eli Zaretskii <eliz@gnu.org>
9337
a1beca85
SM
9338 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9339 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9340 case-insensitively.
9341
d2992a38
ML
93422011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9343
9344 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9345
50419064
GM
93462011-11-23 Glenn Morris <rgm@gnu.org>
9347
da94eca1
GM
9348 * paths.el (rmail-file-name): Reformat the doc-string so that it
9349 is picked up.
9350
9aac4de2
GM
9351 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9352 (rmail-auto-file): Ignore case in the "special" field names,
9353 as mail-fetch-field does for all others.
9354
8038d2d2
GM
9355 * mail/rmail.el (rmail-forward):
9356 * mail/rmailkwd.el (rmail-set-label):
9357 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9358 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9359
f3fe222a
GM
9360 * mail/rmail.el (rmail-current-message): Doc fix.
9361
50419064
GM
9362 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9363
28109f49
SM
93642011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9367
394c65f1
GM
93682011-11-22 Glenn Morris <rgm@gnu.org>
9369
9370 * mail/rmailmm.el (test-rmail-mime-handler)
9371 (test-rmail-mime-bulk-handler)
9372 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9373
f2a0aa3a
JL
93742011-11-21 Juri Linkov <juri@jurta.org>
9375
1154d12e
JB
9376 * calc/calc.el (calc-read-key-sequence):
9377 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9378
9c34a344
LMI
93792011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9380
9381 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9382 Tell the caller that the next line needs recomputation, even
9383 though it doesn't start a sexp (bug#10094).
9384
f04a3be9
SM
93852011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9388
7978747f
SM
93892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9390
f04a3be9
SM
9391 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9392 Use force-same-window.
7978747f 9393
fe7a3057
JB
93942011-11-20 Juanma Barranquero <lekktu@gmail.com>
9395
9396 * descr-text.el (describe-char-unicode-data):
9397 * json.el (json-string-escape):
9398 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9399 (Footnote-unicode, Footnote-style-p):
9400 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9401
24901d61
CY
94022011-11-20 Chong Yidong <cyd@gnu.org>
9403
9404 * window.el (replace-buffer-in-windows): Restore interactive spec.
9405
bac7ff22
SM
94062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9407
24f3d7b9
SM
9408 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9409
bac7ff22
SM
9410 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9411 (byte-compile-global-not-obsolete-vars): New var.
9412 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9413 Use it.
9414 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9415
cd1181db
JB
94162011-11-20 Juanma Barranquero <lekktu@gmail.com>
9417
9418 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9419 * progmodes/pascal.el (electric-pascal-equal):
9420 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9421 * xml.el (xml-substitute-special): Fix typos.
9422
7fb18e9e
GM
94232011-11-20 Glenn Morris <rgm@gnu.org>
9424
9425 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9426 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9427 Doc fixes.
9428 (rmail-decode-mime-charset): Mark as obsolete.
9429
9430 * mail/rmailsum.el (rmail-message-regexp-p-1):
9431 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9432 Before using mime functions, check they are set. (Bug#10077)
9433
d5a6b3ba
JL
94342011-11-19 Juri Linkov <juri@jurta.org>
9435
9436 * info.el (Info-finder-find-node): Use `package--builtins' instead
9437 of `package-alist'. Use node names formed by the pattern "Keyword "
9438 and the keyword name.
9439
e981b61f
AS
94402011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9441
1d00653d 9442 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9443
3ffbc301
JL
94442011-11-19 Juri Linkov <juri@jurta.org>
9445
9446 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9447 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9448 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9449 `old-history', `old-history-forward'. Add let-binding
9450 `window-selected'. Remove calls to `kill-buffer',
9451 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9452 before calling `Info-find-node', so `Info-find-node-2' will reread
9453 the Info file. Restore window positions only when `window-selected'
9454 is non-nil.
9455
30c62133
JL
94562011-11-19 Juri Linkov <juri@jurta.org>
9457
9458 * isearch.el (isearch-lazy-highlight-new-loop):
9459 Remove condition `(not isearch-error)'. (Bug#9918)
9460
9461 * misearch.el (multi-isearch-search-fun): Add condition
9462 `(not bound)' to ignore lazy-highlighting search.
9463 Add the search-failed message "end of multi" when the end of
9464 multi-sequence is reached. Uncapitalize the search-failed
9465 message "Repeat for next buffer".
9466
9467 * info.el (Info-search): Add the search-failed message
9468 "end of the manual" when the end of the manual is reached
9469 in Isearch mode.
9470
645ca9cf
JL
94712011-11-19 Juri Linkov <juri@jurta.org>
9472
9473 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9474 Use non-destructive `remove' instead of `delete' because
9475 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9476 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9477
df754f66
JL
94782011-11-19 Juri Linkov <juri@jurta.org>
9479
9480 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9481 to nil instead of binding `search-ring' and `regexp-search-ring'.
9482 (Bug#9185)
9483
0e23d96a
EZ
94842011-11-19 Eli Zaretskii <eliz@gnu.org>
9485
9486 * simple.el (line-move): Force movement by logical lines for any
9487 hscrolled window, not only when auto-hscroll-mode is on.
9488 (line-move-visual): Update doc string to that effect. (Bug#10076)
9489
8a6ccb66
AS
94902011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9491
9492 * language/european.el (macintosh): Define as alias for mac-roman.
9493
49ae5b39
EZ
94942011-11-19 Eli Zaretskii <eliz@gnu.org>
9495
9496 * mail/rmailmm.el (rmail-mime-display-header)
9497 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9498 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9499 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9500 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9501 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9502 of a raw aref.
9503 (rmail-mime-entity-segment): To get past the tagline, move forward
9504 2 more lines, to account for the 2 empty lines that precede and
9505 follow the line with the buttons.
9506 (rmail-mime-update-tagline): Move one more line, to get past the
9507 empty line that follows the buttons in the tagline. (Bug#9520)
9508
c56cad4a
MR
95092011-11-19 Martin Rudalics <rudalics@gmx.at>
9510
9511 * window.el (window-max-delta-1, window-min-delta-1)
9512 (window-min-size-1, window-state-get-1, window-state-put-1)
9513 (window-state-put-2): Use "window--" prefix.
9514
cbe71af3
SM
95152011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9516
2ad52c60
SM
9517 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9518 (smie-warning-count): New var.
9519 (smie-set-prec2tab): Use it.
9520 (smie-bnf->prec2): Improve warnings. Add docstring.
9521 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9522 (smie-bnf--set-class): New function.
9523 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9524 corner case.
9525
6944dbc1
SM
9526 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9527 (compilation-error-properties, compilation-move-to-column):
9528 Handle compilation-first-column while in the target buffer.
9529
c400c4d7
SM
9530 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9531 Don't hardcode point-min==1.
9532
6dbe3e96
SM
9533 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9534 (eshell-rewrite-for-command): Remove workaround.
9535 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9536 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9537 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9538
cbe71af3
SM
9539 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9540
a8e1496d
GM
95412011-11-17 Glenn Morris <rgm@gnu.org>
9542
9543 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9544 Ignore buffer-local generated-autoload-file if it is the same
9545 as the global value. (Bug#10049)
9546
df85d315
JB
95472011-11-17 Juanma Barranquero <lekktu@gmail.com>
9548
9549 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9550 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9551 (reftex-toc-previous-heading, reftex-toc-max-level)
9552 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9553 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9554 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9555 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9556 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9557 (reftex-toc-rename-label, reftex-toc-visit-location)
9558 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9559 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9560 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9561 leaving "*toc*" only for references to the buffer.
9562
a0c2d0ae
MR
95632011-11-17 Martin Rudalics <rudalics@gmx.at>
9564
9565 * window.el (window-resize, delete-window, split-window):
9566 Replace window-splits by window-combination-resize.
1d00653d 9567 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9568
35c0bac8
GM
95692011-11-17 Glenn Morris <rgm@gnu.org>
9570
9571 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9572 Make bash entry derive from sh entry, not shell entry.
9573
d0c8fc8a
MA
95742011-11-16 Michael Albinus <michael.albinus@gmx.de>
9575
7262a87c
MA
9576 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9577 local file name.
9578
7877f373
JB
95792011-11-16 Juanma Barranquero <lekktu@gmail.com>
9580
9581 * menu-bar.el (menu-bar-file-menu):
9582 * printing.el (pr-ps-utility):
9583 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9584 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9585 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9586 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9587 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9588 (icalendar--convert-cyclic-to-ical)
9589 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9590 (icalendar--convert-ical-to-diary)
9591 (icalendar--convert-recurring-to-diary)
9592 (icalendar--convert-non-recurring-all-day-to-diary)
9593 (icalendar-import-format-sample):
9594 * progmodes/idlw-shell.el (idlwave-shell-mode):
9595 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9596 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9597 (vhdl-ps-print-init): Fix typos.
9598
10649b82
KM
95992011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9600
9d0cfcd6
GM
9601 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9602 FSF and collapse date sequence, obscure author/maintainer email address
9603 better, remove extra version line, track relocation of author's webpage.
10649b82 9604
9d0cfcd6
GM
9605 * progmodes/python.el (python-pdbtrack-input-prompt)
9606 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9607 regular python pdb prompts. Adjustments shamelessly taken exactly as
9608 suggested in EmacsWiki page (tiny change):
9609 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9610
58179cce
JB
96112011-11-16 Juanma Barranquero <lekktu@gmail.com>
9612
9613 * expand.el (expand-pos, expand-index, expand-point):
9614 Remove redundant info from docstring.
9615 (expand-add-abbrevs): Doc fix.
9616 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9617 (expand-sample-perl-mode-expand-list): Fix typos.
9618
9619 * net/dbus.el (dbus-event-member-name):
9620 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9621 * term/pc-win.el (msdos-create-frame-with-faces):
9622 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9623
b6f67890
MR
96242011-11-16 Martin Rudalics <rudalics@gmx.at>
9625
9626 * window.el (split-window, window-state-get-1)
9627 (window-state-put-1, window-state-put-2): Rename occurrences of
9628 window-nest to window-combination-limit.
1d00653d 9629 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9630
ce7ddba0
CY
96312011-11-16 Chong Yidong <cyd@gnu.org>
9632
9633 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9634 regexp (Bug#10033).
9635
3ae704f4
SM
96362011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9639 `completing-read' will remove *Completions* and will preserve
9640 current-buffer for us.
9641 (tmm-add-prompt): Users of *Completions* will always (re)set its
9642 major mode.
9643 (tmm-old-comp-map): Remove.
9644
6ad1cdde
GM
96452011-11-16 Glenn Morris <rgm@gnu.org>
9646
9647 * mail/rmailedit.el: Require rmailmm when compiling.
9648 (rmail-old-mime-state): New declaration.
9649 (rmail-edit-current-message): If editing a mime message,
9650 edit the "raw" message from the mbox buffer.
9651 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9652
d20faa20
GM
96532011-11-15 Glenn Morris <rgm@gnu.org>
9654
9655 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9656 which wasn't being used. Add optional arg to force given state.
9657 (rmail-mime): Add optional arg to force given state.
9658
c7015153
JB
96592011-11-15 Juanma Barranquero <lekktu@gmail.com>
9660
9661 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9662 * frame.el (display-mm-dimensions-alist):
9663 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9664 (outline-move-subtree-down):
9665 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9666 (newsticker--treeview-do-get-node):
9667 * net/quickurl.el (quickurl-list-buffer-name):
9668 * progmodes/dcl-mode.el (dcl-mode):
9669 * progmodes/gdb-mi.el (gdb-mapcar*):
9670 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9671
45261b50
GM
96722011-11-15 Glenn Morris <rgm@gnu.org>
9673
9674 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9675 in a boolean sense, so just make it a boolean, and fix the doc.
9676 (rmail-show-mime-function, rmail-mime-feature)
9677 (rmail-require-mime-maybe): Doc fixes.
9678 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9679
9680 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9681
0d26e0b6
JB
96822011-11-15 Juanma Barranquero <lekktu@gmail.com>
9683
9684 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9685 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9686 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9687 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9688
447f30f6
GM
96892011-11-15 Glenn Morris <rgm@gnu.org>
9690
672b871d
GM
9691 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9692 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9693 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9694 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9695 (rmail-mime, rmail-show-mime): Doc fixes.
9696
f6aa5bb1
GM
9697 * term/ns-win.el (mode-line-frame-identification):
9698 Leave it alone. (Bug#10051)
9699
947cd66b
GM
9700 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9701
447f30f6
GM
9702 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9703 Handle empty buffers. (Bug#9978)
9704
0b381c7e
JB
97052011-11-14 Juanma Barranquero <lekktu@gmail.com>
9706
9707 * international/mule.el (define-charset):
9708 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9709 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9710 * progmodes/verilog-mode.el (verilog-backward-token):
9711 * textmodes/ispell.el (lookup-words):
9712 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9713
71e027ac
GM
97142011-11-14 Glenn Morris <rgm@gnu.org>
9715
56632ce4
GM
9716 * progmodes/executable.el
9717 (executable-make-buffer-file-executable-if-script-p):
9718 Handle file-modes returning nil.
9719
40500957
GM
9720 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9721 message - not necessary, and causes problems. (Bug#9831)
9722
071c2340
GM
9723 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9724
d3cfca60
GM
9725 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9726
71e027ac
GM
9727 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9728 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9729 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9730
89d61221
MR
97312011-11-12 Martin Rudalics <rudalics@gmx.at>
9732
9733 * window.el (window-resize, delete-window): Use window-splits
9734 variable instead of function.
9735 (window-state-get-1, window-state-put-2, window-state-put):
9736 Don't deal with windows' splits status.
9737
98282f6f
GM
97382011-11-12 Glenn Morris <rgm@gnu.org>
9739
9740 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9741 (apropos-documentation): Doc fixes.
9742
40a8bdf6
JB
97432011-11-11 Juanma Barranquero <lekktu@gmail.com>
9744
9745 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9746 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9747
65bd19ff
SM
97482011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * electric.el (electric-indent-post-self-insert-function): Make it
9751 possible for a char to only indent in some circumstances.
9752 (electric-indent-mode): Simplify.
9753
54f9154c
MR
97542011-11-11 Martin Rudalics <rudalics@gmx.at>
9755
9756 * window.el (windows-with-parameter): Remove unused function.
9757 (windows-at-side): Rename to window-at-side-list.
9758 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9759 (window-side-check, window-size-ignore, window-size-fixed-1)
9760 (window-in-direction-2): Prefix with "window--".
9761 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9762
68cbc58b
GM
97632011-11-11 Glenn Morris <rgm@gnu.org>
9764
9765 * subr.el (eval-after-load): If FILE is already loaded,
9766 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9767
b2621720
GM
97682011-11-10 Glenn Morris <rgm@gnu.org>
9769
9a4de110
GM
9770 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9771 Call svn via vc-svn-command rather than vc-do-command.
9772 (vc-svn-command): Add --non-interactive. (Bug#9993)
9773 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9774
b2621720
GM
9775 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9776 Add toggle-read-only. (Bug#7292)
9777 * files.el (toggle-read-only): Mention that it should only
9778 be used interactively. (Bug#10006)
9779
1dce7193
SM
97802011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9781
d9ac1a1e
SM
9782 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9783 Adjust regexp for OCaml warnings.
9784
0c325082
SM
9785 * electric.el (electric-pair-post-self-insert-function): Let user
9786 turn it off buffer-locally (bug#9932).
9787
90132c14
SM
9788 * progmodes/python.el (python-beginning-of-statement):
9789 Rewrite (bug#2703).
9790
1dce7193
SM
9791 * progmodes/compile.el: Better handle TABs (bug#9749).
9792 (compilation-internal-error-properties)
9793 (compilation-next-error-function): Obey the target buffer's
9794 compilation-error-screen-columns.
9795
c4e7c63a
JB
97962011-11-09 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * progmodes/meta-mode.el: Remove obsolete comments.
9799 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9800 Fix typos in docstrings.
9801
2cffd681
MR
98022011-11-09 Martin Rudalics <rudalics@gmx.at>
9803
9804 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9805 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9806 (window--resizable): New function. Make all callers of
9807 window-resizable call window--resizable instead.
9808 (window-resizable): Rewrite in terms of window--resizable.
9809
0edcba87
GM
98102011-11-08 Glenn Morris <rgm@gnu.org>
9811
9812 * progmodes/delphi.el (delphi-mode-syntax-table):
9813 Let define-derived-mode define a proper syntax table. (Bug#9994)
9814
4b0d61e3
SM
98152011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * window.el: Stay away from defsubst.
9818 (window-list-no-nils): Remove.
9819 (window-state-get-1, window-state-get): Use backquote instead.
9820
cd394be1 98212011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9822
4b0d61e3 9823 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9824 Fix incorrect use of default argument in `completing-read'.
9825
e1c2c6f2
MR
98262011-11-08 Martin Rudalics <rudalics@gmx.at>
9827
9828 * window.el (display-buffer-function, special-display-function):
9829 Mention display-buffer-record-window but do not mention
9830 help-setup parameter in doc-strings.
b3f4a882 9831 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9832
105216ed
CY
98332011-11-08 Chong Yidong <cyd@gnu.org>
9834
9835 * window.el (window-total-height, window-total-width): Doc fix.
9836 (window-body-size): Move from C.
9837 (window-body-height, window-body-width): Move to C.
9838
0a9f9ab5
SM
98392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * window.el: Make special-display like display-buffer-alist (bug#9532).
9842 (display-buffer--special-action): New function, morphed
9843 from display-buffer--special.
9844 (display-buffer): Use it to handle special-display-buffers at higher
9845 priority (just after display-buffer-alist).
9846 (display-buffer-fallback-action, display-buffer--other-frame-action)
9847 (pop-to-buffer-same-window): Remove display-buffer--special.
9848
a769dd15
GM
98492011-11-07 Glenn Morris <rgm@gnu.org>
9850
9851 * calendar/cal-menu.el (cal-menu-set-date-title):
9852 Do nothing if not in a calendar. (Bug#9976)
9853
05a61ee3
SM
98542011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * files.el (find-file): Always use selected-window.
9857
be7f5545
MR
98582011-11-07 Martin Rudalics <rudalics@gmx.at>
9859
9860 * window.el (window-combinations): Make WINDOW argument
9861 mandatory. Rewrite doc-string.
9862 (walk-window-subtree, window-atom-check, window-min-delta)
9863 (window-max-delta, window--resize-this-window)
9864 (window--resize-root-window-vertically, window-tree)
9865 (balance-windows, window-state-put): Rewrite doc-strings as to
9866 not mention the term "subwindow".
9867 (window--resize-subwindows-skip-p): Rename to
9868 window--resize-child-windows-skip-p.
9869 (window--resize-subwindows-normal): Rename to
9870 window--resize-child-windows-normal.
9871 (window--resize-subwindows): Rename to
9872 window--resize-child-windows.
9873 (window-or-subwindow-p): Rename to window--in-subtree-p.
9874
3c6702ef
ML
98752011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9876
9877 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9878 Ensure that mbox format messages end in two newlines (Bug#9974).
9879
49745b39
CY
98802011-11-06 Chong Yidong <cyd@gnu.org>
9881
9882 * window.el (window-combination-p): Function deleted; its
9883 side-effect is not used in any existing code.
9884 (window-combinations, window-combined-p): Call window-*-child
9885 directly.
9886
24300f5f
CY
98872011-11-05 Chong Yidong <cyd@gnu.org>
9888
9889 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9890 (window-size-ignore, window-state-get): Callers changed.
9891 (window-normalize-window): Rename from window-normalize-any-window.
9892 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9893 (window-normalize-live-window): Delete.
447f16b8
CY
9894 (window-combination-p, window-combined-p, window-combinations)
9895 (walk-window-subtree, window-atom-root, window-min-size)
9896 (window-sizable, window-sizable-p, window-size-fixed-p)
9897 (window-min-delta, window-max-delta, window-resizable)
9898 (window-resizable-p, window-full-height-p, window-full-width-p)
9899 (window-current-scroll-bars, window-point-1, set-window-point-1)
9900 (window-at-side-p, window-in-direction, window-resize)
9901 (adjust-window-trailing-edge, maximize-window, minimize-window)
9902 (window-deletable-p, delete-window, delete-other-windows)
9903 (record-window-buffer, unrecord-window-buffer)
9904 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9905 (quit-window, split-window, window-state-put)
9906 (set-window-text-height, fit-window-to-buffer)
9907 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9908
89bd5ee1
EZ
99092011-11-04 Eli Zaretskii <eliz@gnu.org>
9910
53479029
EZ
9911 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9912 rfc2047-decode-string.
9913 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9914 warnings.
9915
89bd5ee1
EZ
9916 * window.el (window-body-height, window-body-width): Mention in
9917 the doc string that the return values are in frame's canonical
9918 units. (Bug#9949)
9919
bd17fdee
AM
99202011-11-03 Alan Mackenzie <acm@muc.de>
9921
9922 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9923 change in cc-engine.el.
9924
acc825c5
SM
99252011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9928
1885e5b8
MR
99292011-11-02 Martin Rudalics <rudalics@gmx.at>
9930
9931 * window.el (quit-window): Call unrecord-window-buffer after
9932 showing another buffer in the window. (Bug#9937)
acc825c5 9933 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9934
ebe06da9
JB
99352011-11-02 Juanma Barranquero <lekktu@gmail.com>
9936
9937 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9938 Accept status with more than 9 shelves. (Bug#9935)
9939 Reported by Colin D Bennett <colin@gibibit.com>.
9940
4ee88440
MR
99412011-11-01 Martin Rudalics <rudalics@gmx.at>
9942
9943 * help.el (with-help-window): Don't reference
9944 temp-buffer-show-specifiers in doc-string.
9945
08e1d82c
AS
99462011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9947
9948 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9949 menu-item.
9950
84bd6e9e
VJL
99512011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9952
9953 * whitespace.el: New version 13.2.2.
9954 (whitespace-newline-mode): Disable properly. Reported by Sarah
9955 <EmacsWiki>.
9956
dba0634a
UJ
99572011-10-30 Ulf Jasper <ulf.jasper@web.de>
9958
9959 * net/newst-treeview.el: Remove "Time-stamp".
9960 (newsticker--group-manage-orphan-feeds): Do not call
9961 newsticker--treeview-tree-update.
db22a3c2
JB
9962 (newsticker-treeview-update, newsticker-treeview):
9963 Call newsticker--treeview-tree-update if necessary.
dba0634a 9964
3d8daefe
MR
99652011-10-30 Martin Rudalics <rudalics@gmx.at>
9966
9967 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9968 (window-iso-combinations): Remove "iso-" infix.
9969 Suggested by Chong Yidong.
3d8daefe
MR
9970 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9971 (window-max-delta-1, window-resize, window--resize-siblings)
9972 (window--resize-this-window, adjust-window-trailing-edge)
9973 (split-window, balance-windows-1)
9974 (shrink-window-if-larger-than-buffer):
9975 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9976 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9977
1bc4c3ae
SM
99782011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9981 in place (bug#9907).
9982 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9983 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9984 (eshell-structure-basic-command, eshell-rewrite-while-command)
9985 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9986 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9987 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9988 (eshell-do-pipelines-synchronously, eshell-eval-command):
9989 Use backquotes and prefer setq to set.
9990 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9991 (eshell-macrop): Use functionp.
c1e2f5fa 9992 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9993
30b65d9c
CY
99942011-10-30 Chong Yidong <cyd@gnu.org>
9995
9996 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9997 instead of set-mark (Bug#9810).
9998
2d197ffb
CY
99992011-10-30 Chong Yidong <cyd@gnu.org>
10000
10001 * window.el (split-window-below, split-window-right): Rename from
10002 split-window-above-each-other and split-window-side-by-side
10003 respectively. All callers changed.
10004 (split-window-sensibly, split-window-sensibly): Use them.
10005 (split-window-keep-point): Doc fix.
10006
10007 * isearch.el: Add isearch-scroll property to split-window-below
10008 and split-window-right.
10009
10010 * follow.el (follow-mode):
10011 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10012 * progmodes/ada-xref.el (ada-gdb-application):
10013 * emulation/vip.el (vip-buffer-in-two-windows):
10014 * image-dired.el (image-dired-dired-with-window-configuration):
10015 * dired-x.el (dired-do-find-marked-files):
10016 * dired.el (dired-pop-to-buffer):
10017 * bs.el (bs--show-with-configuration):
10018 * vc/emerge.el (emerge-setup-windows):
10019 * textmodes/two-column.el (2C-two-columns):
10020 * textmodes/reftex-toc.el (reftex-toc):
10021 * progmodes/gdb-mi.el (gdb-setup-windows):
10022 * progmodes/fortran.el (fortran-window-create):
10023 * net/newst-treeview.el (newsticker--treeview-window-init):
10024 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10025 * emulation/tpu-edt.el (tpu-gold-map):
10026 * emulation/crisp.el (crisp-mode-map):
10027 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10028
38bb2ca8
CY
100292011-10-29 Chong Yidong <cyd@gnu.org>
10030
aa4de341
CY
10031 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10032
e1eb5385
CY
10033 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10034
5d2ece3c
CY
10035 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10036 forged Ispell output (Bug#7904).
10037
38bb2ca8
CY
10038 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10039
d0af9f77
SM
100402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * doc-view.el: Avoid ugly errors about not finding nil.
10043 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10044 (doc-view-dvipdf-program, doc-view-unoconv-program)
10045 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10046 Avoid nil or absolute file name as default value.
10047 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10048
52bedd34
AM
100492011-10-28 Alan Mackenzie <acm@muc.de>
10050
db22a3c2 10051 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10052
7e43cfa5
AM
100532011-10-28 Alan Mackenzie <acm@muc.de>
10054
10055 Amend the handling of c-beginning/end-of-defun in nested declaration
10056 scopes.
10057
52bedd34
AM
10058 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10059 cc-langs.el. Change it to a defcustom.
7e43cfa5 10060
52bedd34
AM
10061 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10062 cc-vars.el.
7e43cfa5 10063
d0af9f77
SM
10064 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10065 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10066
52bedd34 10067 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10068 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10069 (c-widen-to-enclosing-decl-scope): New function.
10070 (c-while-widening-to-decl-block): New macro.
10071 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10072 outward for defun boundaries, and correspondingly change symbol
10073 `respect-enclosure' to `go-outward'.
10074 (c-declaration-limits): Change algorithm to report only the "innermost"
10075 defun's boundaries.
10076
1a2ce9ee
DD
100772011-10-28 Deniz Dogan <deniz@dogan.se>
10078
10079 * net/rcirc.el (rcirc-mode): Use hard newlines.
10080
bc97a826
AM
100812011-10-28 Alan Mackenzie <acm@muc.de>
10082
10083 Amend to indent and fontify macros "which include their own semicolon"
10084 correctly, using the "virtual semicolon" mechanism.
10085
52bedd34 10086 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10087
d0af9f77 10088 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10089 Recode to scan one line at a time rather than having \n and \r
58179cce 10090 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10091 (c-forward-label): Amend for virtual semicolons.
58179cce 10092 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10093
52bedd34
AM
10094 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10095 of the new C macros.
bc97a826 10096
52bedd34 10097 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10098 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10099 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10100 (c-opt-cpp-macro-define): Make into a full language variable.
10101 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10102 AWK Mode (including \n, \r) removed, no longer needed.
10103
d0af9f77
SM
10104 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10105 Invoke c-make-macro-with-semi-re.
bc97a826 10106
52bedd34
AM
10107 * progmodes/cc-vars.el (c-macro-with-semi-re):
10108 (c-macro-names-with-semicolon): New variables.
58179cce 10109 (c-make-macro-with-semi-re): New function.
bc97a826 10110
7a6c0941
SM
101112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 * vc/log-edit.el: Fill empty field rather than adding new one.
10114 (log-edit-add-field): New function.
10115 (log-edit-insert-changelog): Use it.
10116
b0c4cdcf
ML
101172011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10118
10119 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10120
ee1f1da9
SM
101212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10124 (gdb--check-interpreter): New function.
10125 (gdb): Use it.
10126
51bc5f8b
GM
101272011-10-27 Glenn Morris <rgm@gnu.org>
10128
416a2c45
GM
10129 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10130 (least-positive-float, least-negative-float)
10131 (least-positive-normalized-float, least-negative-normalized-float)
10132 (float-epsilon, float-negative-epsilon):
10133 Remove unnecessary declarations.
10134
10135 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10136 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10137 (least-positive-float, least-negative-float)
10138 (least-positive-normalized-float, least-negative-normalized-float)
10139 (float-epsilon, float-negative-epsilon): Add doc-strings,
10140 based on those in cl.texi.
10141
51bc5f8b
GM
10142 * files.el (set-visited-file-name): If the major-mode changed,
10143 reload the local variables. (Bug#9796)
10144
15de15c6
CY
101452011-10-27 Chong Yidong <cyd@gnu.org>
10146
10147 * subr.el (change-major-mode-after-body-hook): New hook.
10148 (run-mode-hooks): Run it.
10149
ee1f1da9
SM
10150 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10151 Use change-major-mode-before-body-hook.
15de15c6
CY
10152
10153 * simple.el (fundamental-mode):
10154 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10155 change introducing fundamental-mode-hook.
10156
5430d399
JB
101572011-10-26 Juanma Barranquero <lekktu@gmail.com>
10158
acc825c5 10159 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10160
ad74a69e
MA
101612011-10-26 Michael Albinus <michael.albinus@gmx.de>
10162
10163 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10164 tramp.el explicitly. (Bug#7583)
ad74a69e 10165
71d4c2a5
SM
101662011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10167
10168 * progmodes/octave-mod.el:
10169 * progmodes/octave-inf.el: Update maintainer.
10170
b1f6fa26
CY
101712011-10-26 Chong Yidong <cyd@gnu.org>
10172
10173 * subr.el (with-wrapper-hook): Rewrite doc.
10174
3f04efd6
MA
101752011-10-25 Michael Albinus <michael.albinus@gmx.de>
10176
10177 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10178 filenames "/method:foo:". (Bug#9793)
3f04efd6 10179
410488d3
SM
101802011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10183 (bug#9865).
10184
c1ebb47e
GM
101852011-10-24 Glenn Morris <rgm@gnu.org>
10186
10187 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10188
7f5c46c7
MA
101892011-10-24 Michael Albinus <michael.albinus@gmx.de>
10190
10191 * notifications.el: Add the requirement of a running D-Bus session
10192 bus to the Commentary.
10193
db2440b6
JL
101942011-10-24 Juri Linkov <juri@jurta.org>
10195
10196 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10197 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10198 (Bug#9364)
10199
feecf435
JL
102002011-10-24 Juri Linkov <juri@jurta.org>
10201
10202 * info.el (Info-following-node-name-re): Add newline to the list
10203 of allowed characters for leading space. (Bug#9824)
10204
a3839de2
SM
102052011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10206
acc825c5
SM
10207 * progmodes/octave-inf.el (inferior-octave-mode-map):
10208 Fix C-c C-h binding.
a3839de2
SM
10209 * progmodes/octave-mod.el (octave-help): Remove.
10210
09388e76
MA
102112011-10-23 Michael Albinus <michael.albinus@gmx.de>
10212
10213 Sync with Tramp 2.2.3.
10214
10215 * net/tramp-cache.el (top): Pacify byte-compiler using
10216 `init-file-user' and `site-run-file'.
10217
10218 * net/trampver.el: Update release number.
10219
86c60681
CY
102202011-10-23 Chong Yidong <cyd@gnu.org>
10221
10222 * files.el (toggle-read-only): Remove obsolete comment about
10223 version control.
10224
10225 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10226 for toggle-read-only. Note that this hasn't called vc-next-action
10227 since 2008-05-02, though it wasn't documented at the time.
10228
a3839de2
SM
10229 * vc/ediff-init.el (ediff-toggle-read-only-function):
10230 Use toggle-read-only.
86c60681 10231
cd5495ff
AM
102322011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10233
10234 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10235 of c-parse-state.
10236
00b77525 10237 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10238 correct faulty logical expression.
cd5495ff
AM
10239 (c-parse-state-state, c-record-parse-state-state):
10240 (c-replay-parse-state-state): New defvar/defuns.
10241 (c-debug-parse-state): Use new functions.
10242
42ee24ed
MR
102432011-10-22 Martin Rudalics <rudalics@gmx.at>
10244
10245 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10246 last fix. Use window-in-direction correctly.
42ee24ed 10247
a7dee7e7
CY
102482011-10-21 Chong Yidong <cyd@gnu.org>
10249
10250 * progmodes/idlwave.el (idlwave-mode):
10251 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10252 require-final-newline; that's done in prog-mode.
10253 Suggested by Stefan Monnier.
a7dee7e7 10254
e07b9a6d
MR
102552011-10-21 Martin Rudalics <rudalics@gmx.at>
10256
10257 * mouse.el (mouse-drag-window-above)
10258 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10259 (mouse-drag-mode-line-1, mouse-drag-header-line)
10260 (mouse-drag-vertical-line-rightward-window): Remove.
10261 (mouse-drag-line): New function.
10262 (mouse-drag-mode-line, mouse-drag-header-line)
10263 (mouse-drag-vertical-line): Call mouse-drag-line.
10264 * window.el (window-at-side-p, windows-at-side): New functions.
10265
7e1361d9
UM
102662011-10-21 Ulrich Mueller <ulm@gentoo.org>
10267
10268 * tar-mode.el (tar-grind-file-mode):
10269 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10270
30fcaf3a
CY
102712011-10-21 Chong Yidong <cyd@gnu.org>
10272
10273 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10274 * progmodes/vera-mode.el (vera-mode):
10275 Use mode-require-final-newline.
30fcaf3a 10276
516eddb0
GM
102772011-10-20 Glenn Morris <rgm@gnu.org>
10278
db22a3c2 10279 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10280
10d5f513
CS
102812011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10282
10283 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10284
ac6c8639
CY
102852011-10-20 Chong Yidong <cyd@gnu.org>
10286
10287 * emulation/cua-base.el (cua-mode):
10288 * mail/footnote.el (footnote-mode):
10289 * mail/mailabbrev.el (mail-abbrevs-mode):
10290 * net/xesam.el (xesam-minor-mode):
10291 * progmodes/bug-reference.el (bug-reference-mode):
10292 * progmodes/cap-words.el (capitalized-words-mode):
10293 * progmodes/compile.el (compilation-minor-mode)
10294 (compilation-shell-minor-mode):
10295 * progmodes/gud.el (gud-tooltip-mode):
10296 * progmodes/hideif.el (hide-ifdef-mode):
10297 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10298 * progmodes/subword.el (subword-mode):
10299 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10300 * progmodes/which-func.el (which-function-mode):
10301 * term/tvi970.el (tvi970-set-keypad-mode):
10302 * term/vt100.el (vt100-wide-mode):
10303 * textmodes/flyspell.el (flyspell-mode):
10304 * textmodes/ispell.el (ispell-minor-mode):
10305 * textmodes/nroff-mode.el (nroff-electric-mode):
10306 * textmodes/paragraphs.el (use-hard-newlines):
10307 * textmodes/refill.el (refill-mode):
10308 * textmodes/reftex.el (reftex-mode):
10309 * textmodes/rst.el (rst-minor-mode):
10310 * textmodes/sgml-mode.el (html-autoview-mode)
10311 (sgml-electric-tag-pair-mode):
10312 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10313 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10314 * emulation/crisp.el (crisp-mode):
10315 * emacs-lisp/eldoc.el (eldoc-mode):
10316 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10317 minor mode behavior.
10318
aa42ab43
JL
103192011-10-19 Juri Linkov <juri@jurta.org>
10320
10321 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10322 the list of hard-coded chars with escape-glyph face.
10323
89400f1d
SM
103242011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10327
305c07f6
MA
103282011-10-19 Michael Albinus <michael.albinus@gmx.de>
10329
10330 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10331 running process.
10332
13754b54
GM
103332011-10-19 Glenn Morris <rgm@gnu.org>
10334
10335 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10336 Ignore ignored files. (Bug#9726)
10337
06e21633
CY
103382011-10-19 Chong Yidong <cyd@gnu.org>
10339
10340 Doc fix for minor modes, stating that an omitted argument enables
10341 the mode unconditionally when called from Lisp.
10342
10343 * abbrev.el (abbrev-mode):
10344 * allout.el (allout-mode):
10345 * autoinsert.el (auto-insert-mode):
10346 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10347 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10348 (global-auto-revert-mode):
10349 * battery.el (display-battery-mode):
10350 * composite.el (global-auto-composition-mode)
10351 (auto-composition-mode):
10352 * delsel.el (delete-selection-mode):
10353 * desktop.el (desktop-save-mode):
10354 * dired-x.el (dired-omit-mode):
10355 * dirtrack.el (dirtrack-mode):
10356 * doc-view.el (doc-view-minor-mode):
10357 * double.el (double-mode):
10358 * electric.el (electric-indent-mode, electric-pair-mode):
10359 * emacs-lock.el (emacs-lock-mode):
10360 * epa-hook.el (auto-encryption-mode):
10361 * follow.el (follow-mode):
10362 * font-core.el (font-lock-mode):
10363 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10364 * help.el (temp-buffer-resize-mode):
10365 * hilit-chg.el (highlight-changes-mode)
10366 (highlight-changes-visible-mode):
10367 * hi-lock.el (hi-lock-mode):
10368 * hl-line.el (hl-line-mode, global-hl-line-mode):
10369 * icomplete.el (icomplete-mode):
10370 * ido.el (ido-everywhere):
10371 * image-file.el (auto-image-file-mode):
10372 * image-mode.el (image-minor-mode):
10373 * iswitchb.el (iswitchb-mode):
10374 * jka-cmpr-hook.el (auto-compression-mode):
10375 * linum.el (linum-mode):
10376 * longlines.el (longlines-mode):
10377 * master.el (master-mode):
10378 * mb-depth.el (minibuffer-depth-indicate-mode):
10379 * menu-bar.el (menu-bar-mode):
10380 * minibuf-eldef.el (minibuffer-electric-default-mode):
10381 * mouse-sel.el (mouse-sel-mode):
10382 * msb.el (msb-mode):
10383 * mwheel.el (mouse-wheel-mode):
10384 * outline.el (outline-minor-mode):
10385 * paren.el (show-paren-mode):
10386 * recentf.el (recentf-mode):
10387 * reveal.el (reveal-mode, global-reveal-mode):
10388 * rfn-eshadow.el (file-name-shadow-mode):
10389 * ruler-mode.el (ruler-mode):
10390 * savehist.el (savehist-mode):
10391 * scroll-all.el (scroll-all-mode):
10392 * scroll-bar.el (scroll-bar-mode):
10393 * server.el (server-mode):
10394 * shell.el (shell-dirtrack-mode):
10395 * simple.el (auto-fill-mode, transient-mark-mode)
10396 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10397 (line-number-mode, column-number-mode, size-indication-mode)
10398 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10399 * strokes.el (strokes-mode):
10400 * time.el (display-time-mode):
10401 * t-mouse.el (gpm-mouse-mode):
10402 * tool-bar.el (tool-bar-mode):
10403 * tooltip.el (tooltip-mode):
10404 * type-break.el (type-break-mode-line-message-mode)
10405 (type-break-query-mode):
10406 * view.el (view-mode):
10407 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10408 (global-whitespace-mode, global-whitespace-newline-mode):
10409 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10410
a3839de2
SM
10411 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10412 Fix autogenerated docstring.
06e21633 10413
5214e501
JL
104142011-10-19 Juri Linkov <juri@jurta.org>
10415
10416 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10417 by checking environment variables "DESKTOP_SESSION" and
10418 "XDG_CURRENT_DESKTOP". (Bug#9779)
10419
195f8db9
JL
104202011-10-19 Juri Linkov <juri@jurta.org>
10421
10422 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10423 (browse-url-chromium-program, browse-url-chromium-arguments):
10424 New defcustoms.
10425 (browse-url-default-browser): Check for `browse-url-chromium' and
10426 call `browse-url-chromium-program'.
10427 (browse-url-chromium): New command. (Bug#9779)
10428
343a34ff
JB
104292011-10-18 Juanma Barranquero <lekktu@gmail.com>
10430
10431 * facemenu.el (list-colors-duplicates): On Windows, detect more
10432 duplicates by assuming that only colors matching "^System" are
10433 special "system colors". (Bug#9722)
10434
6978a151
SM
104352011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10436
10437 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10438 to distinguish the author from the committer.
10439
6a80b297
MA
104402011-10-18 Michael Albinus <michael.albinus@gmx.de>
10441
10442 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10443
b31a5677
JK
104442011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10445
10446 * international/mule.el (sgml-html-meta-auto-coding-function):
10447 Add support for detecting encoding in HTML5 specified only as
10448 <meta charset="UTF-8">. Implementation just makes http-equiv and
10449 content-type parts from HTML4 encoding string optional. (Bug#9716)
10450
80c6d77f
GM
104512011-10-18 Glenn Morris <rgm@gnu.org>
10452
10453 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10454
08b0fee8
CY
104552011-10-18 Chong Yidong <cyd@gnu.org>
10456
10457 * faces.el (cursor): Doc fix.
10458
67e729a5
CY
104592011-10-17 Chong Yidong <cyd@gnu.org>
10460
10461 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10462
343a34ff 104632011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10464
10465 * dirtrack.el (dirtrack): Support shell buffers with path
10466 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10467
0bc06380
TZ
104682011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10469
10470 * json.el: Bump version to 1.3 and note change in History.
10471 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10472
8b79f3e0
SM
104732011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10474
5a7c536b
SM
10475 * comint.el (comint-insert-input, comint-send-input)
10476 (comint-get-old-input-default, comint-backward-matching-input)
10477 (comint-next-prompt): Use nil instead of `input' for field property of
10478 past user input (bug#114).
10479
96a8a0df
SM
10480 * minibuffer.el (completion--replace): Inherit surrounding properties
10481 (bug#114).
10482 (minibuffer-complete-and-exit): Use it.
10483
8b79f3e0
SM
10484 * comint.el (comint--table-subvert): Quote the all-completions output
10485 (bug#9160).
10486
b8f7ff0d
MR
104872011-10-17 Martin Rudalics <rudalics@gmx.at>
10488
8b79f3e0 10489 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10490
b8f7ff0d 10491 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10492 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10493 entries and separate them from frame entries.
10494
c235b555
GM
104952011-10-15 Glenn Morris <rgm@gnu.org>
10496
10497 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10498 Doc fixes.
10499
6bbfa6e1
CY
105002011-10-15 Chong Yidong <cyd@stupidchicken.com>
10501
8b79f3e0
SM
10502 * net/network-stream.el (network-stream-open-starttls):
10503 Improve detection of failure due to lack of TLS support.
ec5c990d 10504
6bbfa6e1
CY
10505 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10506 putting the input text in front and in bold.
10507
98488977
SM
105082011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10509
3d1337be
SM
10510 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10511
ee0b45e4
SM
10512 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10513 empty buffer.
10514
98488977
SM
10515 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10516 unread-command-events rather than pushing yet-another event.
10517
186f4720
EZ
105182011-10-14 Eli Zaretskii <eliz@gnu.org>
10519
10520 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10521 the explanation of the possible choices. Make the options passed
10522 to completing-read shorter.
10523
8b7a997c
AM
105242011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10525
10526 * textmodes/flyspell.el (flyspell-large-region): Make sure
10527 extended character mode is used if defined (Bug#1339).
10528
12587bbb
EZ
105292011-10-13 Eli Zaretskii <eliz@gnu.org>
10530
10531 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10532 character info for LRE, LRO, RLE, and RLO characters by appending
10533 an invisible PDF.
12587bbb 10534
bad41229
SM
105352011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10538 even in case of error; add debug spec; simplify data flow.
10539 (with-timeout-handler): Remove.
10540
28dbc92f
MA
105412011-10-12 Michael Albinus <michael.albinus@gmx.de>
10542
10543 Fix Bug#6019, Bug#9315.
10544
10545 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10546 complete `buffer-file-name', the local file name part could look
10547 remotely (for example on VMS).
10548
10549 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10550 `tramp-run-real-handler'.
10551 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10552 already quoted by '"'.
10553
10554 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10555 Let `file-name-handler-alist' be nil, the local file name part
10556 could look remotely (for example on VMS).
10557
e1b0b23a
SM
105582011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10561 from here...
10562 (flyspell-post-command-hook): ...to here.
10563
a120bde9
SM
105642011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10567 if not needed.
10568 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10569 using completion. Protect against "slow" callers.
10570 Remove the "message hack".
10571
7ce7717b
JL
105722011-10-11 Juri Linkov <juri@jurta.org>
10573
10574 * isearch.el (isearch-lazy-highlight-word): New variable.
10575 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10576 Use it. (Bug#9727)
10577
c02ee9d6
GM
105782011-10-11 Glenn Morris <rgm@gnu.org>
10579
10580 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10581 like f90-previous-statement does.
10582
93e616fd 105832011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10584
1f190e73 10585 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10586 only in interactive use, to avoid error.
10587
af7b6078
SM
105882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * minibuffer.el (completion-file-name-table): Fix last change,
10591 i.e. ignore normal errors but not the other ones.
10592
0563dae9
MR
105932011-10-10 Martin Rudalics <rudalics@gmx.at>
10594
10595 * window.el (special-display-buffer-names)
10596 (special-display-regexps): Remove some remnants of earlier
10597 changes from doc-strings.
366ca7f3
MR
10598 (quit-windows-on): New function.
10599
10600 * vc/vc.el (vc-revert, vc-rollback):
10601 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10602 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10603 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10604
49677495
MR
106052011-10-09 Martin Rudalics <rudalics@gmx.at>
10606
10607 * window.el (frame-auto-hide-function): Add version tag.
10608 (Bug#9699)
10609
56f2d1e1
MA
106102011-10-09 Michael Albinus <michael.albinus@gmx.de>
10611
10612 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10613 condition.
10614
112a6592
LL
106152011-10-09 Leo Liu <sdl.web@gmail.com>
10616
10617 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10618 (Bug#9701)
10619
0812589b
GM
106202011-10-08 Glenn Morris <rgm@gnu.org>
10621
10622 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10623 before the first code statement zero indent. (Bug#9690)
10624
b2b0776e
CY
106252011-10-08 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * simple.el (count-words-region): Always count in the region.
10628 Report the number of lines and characters too.
10629 (count-words): New command, which counts in the buffer if the
10630 region is inactive, as count-words-region used to.
10631 (count-words--message): New function. Handle plurals.
10632 (count-lines-region): Make it an alias for count-words-region.
10633
10634 * bindings.el (esc-map): Replace count-lines-region with
10635 count-words-region.
10636
c557cd6b
MR
106372011-10-08 Martin Rudalics <rudalics@gmx.at>
10638
10639 * window.el (window--delete): Delete dedicated frame
10640 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10641 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10642
61a57ef4 106432011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10644
3a7d293b 10645 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10646
c3833279
CY
106472011-10-07 Chong Yidong <cyd@stupidchicken.com>
10648
10649 * bindings.el ([M-left],[M-right]): Bind to left-word and
10650 right-word respectively.
10651
21ce8245
GM
106522011-10-07 Glenn Morris <rgm@gnu.org>
10653
10654 * cus-start.el (debug-on-quit): Fix custom type.
10655
6d823bb2
LMI
106562011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10657
0181e193
LMI
10658 * subr.el (define-key-after): Clarify that the function is not
10659 useful for non-menu keymaps.
10660
6d823bb2
LMI
10661 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10662
8e3459ce 106632011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10664
21ce8245 10665 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10666 in current minibuffer (Fix bug with recursive minibuffers).
10667
a1c2d21e
CY
106682011-10-06 Chong Yidong <cyd@stupidchicken.com>
10669
10670 * progmodes/gdb-mi.el (gdb): Doc fix.
10671
5a4cf282
MR
106722011-10-05 Martin Rudalics <rudalics@gmx.at>
10673
10674 * window.el (frame-auto-hide-function): New option replacing
10675 frame-auto-delete. Suggested by Stefan Monnier.
10676 (window--delete): Call frame-auto-hide-function instead of
10677 investigating frame-auto-delete.
c96111ea
MR
10678 (window-point-1, set-window-point-1): New functions.
10679 (window-in-direction, record-window-buffer, window-state-get-1)
10680 (display-buffer-record-window): Use window-point-1 instead of
10681 window-point.
10682 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10683
9854542e
SM
106842011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10687
8943cfb0
GM
106882011-10-05 Glenn Morris <rgm@gnu.org>
10689
10690 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10691 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10692
647ab967
LL
106932011-10-05 Leo Liu <sdl.web@gmail.com>
10694
10695 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10696 works with buffer object.
10697
3ddfbced
SM
106982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10699
10700 * mpc.el (mpc-tool-bar-map): Add labels.
10701
bdfa5dd2
GM
107022011-10-04 Glenn Morris <rgm@gnu.org>
10703
10704 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10705
0e2070b5
MR
107062011-10-04 Martin Rudalics <rudalics@gmx.at>
10707
10708 * window.el (window--delete): New function.
10709 (frame-auto-delete): Resuscitate option.
10710 (bury-buffer, replace-buffer-in-windows)
10711 (quit-window): Rewrite using window--delete.
10712 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10713 Pass display-buffer-mark-dedicated to window--display-buffer-2
10714 (Bug#9639).
10715
3dc61a09
SM
107162011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10717
915a9b64
SM
10718 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10719 returns a list (bug#9554). Add remote file name completion.
10720 * comint.el (comint--table-subvert): Curry and get quote&unquote
10721 functions as arguments.
10722 (comint--complete-file-name-data): Adjust call accordingly.
10723 * pcomplete.el (pcomplete--table-subvert): Remove.
10724 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10725
3dc61a09
SM
10726 * minibuffer.el (completion-table-case-fold): Use currying.
10727 (completion--styles-type, completion--cycling-threshold-type):
10728 New constants.
10729 (completion-styles, completion-category-overrides)
10730 (completion-cycle-threshold): Use them.
10731 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10732 completion-table-case-fold.
10733
8ea0a993
SB
107342011-10-03 Stephen Berman <stephen.berman@gmx.net>
10735
10736 * minibuffer.el (completion-category-overrides): Fix type of styles
10737 and add more user friendly tags (bug#9660).
10738
8c24b7f6
SM
107392011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10740
10741 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10742 (mule-input-method-string): New widget.
10743 (default-input-method, language-info-custom-alist): Use it.
10744
428fe61a
SM
107452011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10746
32c1fffd
SM
10747 * pcomplete.el: Require comint.
10748 (pcomplete--common-suffix): Remove.
10749 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10750 (pcomplete--table-subvert): Sync with comint--table-subvert.
10751 (pcomplete--entries): Use comint-completion-file-name-table.
10752 * comint.el (comint-unquote-filename): Simplify.
10753 (comint-completion-file-name-table): New function (bug#9616).
10754 (comint--complete-file-name-data): Use it.
10755
428fe61a
SM
10756 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10757 (pcmpl-gnu-tar-buffer): Remove.
10758 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10759 around. Make sure pcomplete-suffix-list is only changed temporarily.
10760 Don't look inside the tar's file if it's too large.
428fe61a 10761
04c52e2f
CY
107622011-10-01 Chong Yidong <cyd@stupidchicken.com>
10763
ce3cefcc
CY
10764 * cus-edit.el (custom-mode-map):
10765 * epa.el (epa-key-list-mode-map):
10766 * man.el (Man-mode-map):
10767 * startup.el (splash-screen-keymap):
10768 * simple.el (special-mode-map): Use scroll-up-command and
10769 scroll-down-command.
10770
10771 * progmodes/idlw-help.el (idlwave-help-mode-map):
10772 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10773 * net/newst-plainview.el (newsticker-mode-map):
10774 * emulation/ws-mode.el (wordstar-mode-map):
10775 * emulation/vi.el (vi-com-map):
10776 * calc/calc-graph.el (calc-graph-show-dumb):
10777 * term/sun.el (terminal-init-sun):
10778 * term/ns-win.el (global-map):
10779 * progmodes/grep.el (grep-mode-map):
10780 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10781 * mail/rmail.el (rmail-mode-map):
10782 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10783
04c52e2f
CY
10784 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10785 custom-safe-themes as special.
10786
79adf8c8
JD
107872011-10-01 Julien Danjou <julien@danjou.info>
10788
10789 * notifications.el (notifications-notify): Fix docstring.
10790
63bd50d3
PS
107912011-10-01 Per Starbäck <per@starback.se>
10792
10793 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10794
199e4c7e
MR
107952011-09-30 Martin Rudalics <rudalics@gmx.at>
10796
10797 * startup.el (command-line-1): Fix last fix by inserting
10798 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10799 (Bug#9605) and (Bug#9636)
199e4c7e 10800
fe5f08dd
EZ
108012011-09-29 Eli Zaretskii <eliz@gnu.org>
10802
10803 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10804 window is hscrolled, move by logical lines. (Bug#9607)
10805 (line-move-visual): Update the doc string to the above effect.
10806
b5516bbd
MR
108072011-09-29 Martin Rudalics <rudalics@gmx.at>
10808
ccee00c0
MR
10809 * window.el (display-buffer-record-window): When WINDOW is the
10810 selected window use `point' instead of `window-point'. (Bug#9626)
10811
b5516bbd
MR
10812 * startup.el (command-line-1): Use insert-before-markers when
10813 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10814
b5516bbd
MR
10815 * help.el (help-window): Remove variable.
10816
52aa0014
GM
108172011-09-29 Glenn Morris <rgm@gnu.org>
10818
10819 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10820
df9a7357
JB
108212011-09-29 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * descr-text.el (describe-char-categories): Accept category
10824 descriptions more than one line long.
10825
a8406c20
SM
108262011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10827
88d9610c
SM
10828 * simple.el (delete-trailing-whitespace): Fix last change.
10829
a5daf810
SM
10830 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10831 Don't confuse "y => 3" as the beginning of a `y' operation.
10832
a8406c20
SM
10833 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10834 object has more than 4 slots (bug#9613).
10835
a239d4e9
JB
108362011-09-28 Juanma Barranquero <lekktu@gmail.com>
10837
10838 * subr.el (with-output-to-temp-buffer):
10839 * net/quickurl.el (quickurl, quickurl-browse-url):
10840 Fix typos in docstrings.
10841
693fbdb6
EZ
108422011-09-27 Eli Zaretskii <eliz@gnu.org>
10843
10844 * minibuffer.el (completion-styles)
10845 (completion-category-overrides): Cross reference each other in doc
10846 strings.
10847
8b457e28
GM
108482011-09-27 Glenn Morris <rgm@gnu.org>
10849
10850 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10851 to split-string. (Bug#9606)
10852
85a16208
LMI
108532011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10854
10855 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10856 (bug#9615).
10857
502f9ebd
CY
108582011-09-27 Chong Yidong <cyd@stupidchicken.com>
10859
10860 * emacs-lisp/package.el (list-packages): Fix echo area message.
10861
7690bdea
LL
108622011-09-27 Leo Liu <sdl.web@gmail.com>
10863
10864 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10865
e2ee6f30
MA
108662011-09-25 Michael Albinus <michael.albinus@gmx.de>
10867
10868 * net/dbus.el (dbus-unregister-object): Don't release services for
10869 registered signals. (Bug#9581)
10870
f3f98342
TZ
108712011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10872
10873 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10874 function that picks between cfengine 2 and 3 support
10875 automatically. Update docs accordingly.
10876
dd7aa8dd
KH
108772011-09-22 Kenichi Handa <handa@m17n.org>
10878
10879 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10880 ZERO.
10881 (indian-itrans-v5-table-for-tamil): New variable.
10882 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10883
3f2b07f8
KM
108842011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10885
10886 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10887 that's true if the current command involved collapsing of text.
10888 It's reset to false at the beginning of the next command.
10889 (allout-post-command-business): Move the cursor to the beginning
10890 of entry if the cursor is hidden and collapsing activity just
10891 happened.
10892
371d6a61
CY
108932011-09-24 Chong Yidong <cyd@stupidchicken.com>
10894
10895 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10896 tracking (Bug#9541).
10897
2ac2721a
UJ
108982011-09-24 Ulf Jasper <ulf.jasper@web.de>
10899
10900 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10901 (newsticker-show-news): Automatically load html rendering package
10902 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10903 because w3m-fill-column is let-bound" and the error "Symbol's value
10904 as variable is void: w3m-fill-column".
2ac2721a 10905
fac7ae53
MA
109062011-09-24 Michael Albinus <michael.albinus@gmx.de>
10907
10908 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10909 Release services only if they are defined. (Bug#9581)
10910
e08b633b
RS
109112011-09-23 Richard Stallman <rms@gnu.org>
10912
e488d29c
RS
10913 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10914 distinguish start of paragraph from start of its text.
10915
19c38752
RS
10916 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10917
e08b633b
RS
10918 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10919 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10920 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10921
0a39f27e
AS
109222011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10923
10924 * international/mule-diag.el (mule-diag): Insert a newline after
10925 each fontset description.
10926
db4e950d
SM
109272011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * simple.el (delete-trailing-whitespace):
10930 Document last change; simplify.
10931
eca3f3ea
PW
109322011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10933
d68e189a
PW
10934 * simple.el (delete-trailing-whitespace): Also delete
10935 extra newlines at the end of the buffer.
10936
eca3f3ea
PW
10937 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10938 (picture-newline): Use forward-line so as to ignore fields.
10939
01c157cc
SM
109402011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * subr.el (with-wrapper-hook): Fix edebug spec.
10943
022de23e
LMI
109442011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10945
10946 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10947 (bug#4538).
10948
91683089
MA
109492011-09-23 Michael Albinus <michael.albinus@gmx.de>
10950
eca3f3ea
PW
10951 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10952 Fix nasty bug using wrong cached values.
91683089 10953
5bdd6fa4
AM
109542011-09-23 Alan Mackenzie <acm@muc.de>
10955
10956 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10957
97adfb97
CY
109582011-09-23 Chong Yidong <cyd@stupidchicken.com>
10959
10960 * window.el (pop-to-buffer): Ensure right window is selected if we
10961 chose another frame.
10962
d4ef2b50
EZ
109632011-09-22 Eli Zaretskii <eliz@gnu.org>
10964
10965 * simple.el (what-cursor-position): Use get-char-property-change
10966 and next-single-char-property-change, to be able to show display
10967 properties that come from overlays as well as text properties.
10968
72258fe5
CY
109692011-09-22 Chong Yidong <cyd@stupidchicken.com>
10970
10971 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10972
10973 * cmuscheme.el (run-scheme, switch-to-scheme):
10974 * cus-edit.el (customize-group, custom-buffer-create)
10975 (customize-browse):
10976 * info.el (info):
10977 * shell.el (shell):
10978 * mail/sendmail.el (mail):
10979 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10980
8f098516
RS
109812011-09-22 Richard Stallman <rms@gnu.org>
10982
10983 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10984 move back only to line beg, don't move back over blank lines.
10985
e74f1bb6
MA
109862011-09-22 Michael Albinus <michael.albinus@gmx.de>
10987
10988 * files.el (copy-directory): Set directory attributes only in case
10989 they could be retrieved from the source directory. (Bug#9565)
10990
bfeef8b6
DK
109912011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10992
10993 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10994 (hs-find-block-beginning, hs-hide-level-recursive):
10995 Ignore strings as well as comments. (Bug#9502)
10996
7e423bb8
AS
109972011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10998
10999 * progmodes/sql.el (sql-comint-postgres):
11000 Convert port number to a string. (Bug#9566)
11001
b4d72fcf
MR
110022011-09-22 Martin Rudalics <rudalics@gmx.at>
11003
11004 * window.el (quit-window): Undedicate window when switching to
11005 previous buffer. Reported by Thierry Volpiatto
11006 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11007 (special-display-popup-frame): When popping up a new frame reset
11008 its previous buffers to nil. Simplify code.
b4d72fcf 11009
a7b88dc6
MA
110102011-09-21 Michael Albinus <michael.albinus@gmx.de>
11011
11012 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11013 and process filter, as done also in `shell-command'.
11014
cf4eacfd
MR
110152011-09-21 Martin Rudalics <rudalics@gmx.at>
11016
eca3f3ea 11017 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11018 Call set-window-start with NOFORCE argument t.
11019 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11020 (quit-window): Reword doc-string. Handle new format of
11021 quit-restore parameter. Don't delete window if it has a
11022 previous buffer we can show instead of the present one.
11023 (display-buffer-record-window): Rewrite using a new format for
11024 the quit-restore window parameter
11025 (special-display-popup-frame, display-buffer-same-window)
11026 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11027 (display-buffer-pop-up-window, display-buffer-use-some-window):
11028 Adapt symbol passed to display-buffer-record-window.
11029 * help.el (help-window-setup): Handle new format of quit-restore
11030 parameter.
11031
8d28cb95
SM
110322011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11033
94ab793f
SM
11034 * faces.el (face-list): Fix docstring (bug#9564).
11035
8d28cb95
SM
11036 * window.el (display-buffer--action-function-custom-type):
11037 Don't include internal functions in the Custom interface.
11038
3820edeb
JL
110392011-09-20 Juri Linkov <juri@jurta.org>
11040
11041 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11042 (Info-forward-node, Info-backward-node, Info-next-preorder)
11043 (Info-last-preorder): Use it. (Bug#9528)
11044
5147931d
JL
110452011-09-20 Juri Linkov <juri@jurta.org>
11046
11047 * info.el (Info-last-preorder): Visit last menu item only when
11048 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11049
cf499a1a
JD
110502011-09-20 Julien Danjou <julien@danjou.info>
11051
11052 * password-cache.el (password-cache-remove): Remove entries even if the
11053 value is nil, so that password with a nil value (negative caching) is
11054 possible to invalidate.
11055
f84e2fe2
LM
110562011-09-20 Lawrence Mitchell <wence@gmx.li>
11057
11058 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11059 all whitespace around breakpoint. (Bug#9553)
11060 (f90-find-breakpoint): Only break at whitespace inside a comment.
11061
78054a46
SM
110622011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11063
11064 * minibuffer.el (completion-file-name-table): Keep track of errors.
11065 (completion-table-with-predicate): Handle the case where pred1 is nil.
11066 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11067
345083b2
SM
110682011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11069
e24e27be
SM
11070 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11071 (debugger-return-value): Signal an error if the debugging context does
11072 not await any return value.
11073
345083b2
SM
11074 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11075 * image-mode.el (image-toggle-display-text)
11076 (image-toggle-display-image): Stay away from evil `intangible'.
11077
08d355e3
LL
110782011-09-19 Leo Liu <sdl.web@gmail.com>
11079
11080 * replace.el (occur-revert-arguments): Make it permanent-local.
11081 (occur-mode): Don't call font-lock-defontify.
11082
f01da43f
CY
110832011-09-19 Chong Yidong <cyd@stupidchicken.com>
11084
11085 * net/ldap.el (ldap-search-internal): Don't push empty search
11086 result (Bug#9508).
11087
b6072fa6
SM
110882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11091
443d6696
MA
110922011-09-19 Michael Albinus <michael.albinus@gmx.de>
11093
11094 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11095 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11096
7cc6e154
JL
110972011-09-18 Juri Linkov <juri@jurta.org>
11098
11099 * buff-menu.el (Buffer-menu-mode-map):
11100 * dired.el (dired-mode-map):
11101 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11102 (lisp-interaction-mode-map):
11103 * emacs-lisp/package.el (package-menu-mode-map):
11104 * epa.el (epa-key-list-mode-map):
11105 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11106 (menu-bar-options-menu):
11107 * outline.el (outline-mode-menu-bar-map):
11108 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11109 * vc/vc-dir.el (vc-dir-menu-map):
11110 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11111 Capitalize non-function content words in menu item strings.
11112
11113 * dired.el (dired-mode-map): Add menu item for
11114 `image-dired-dired-toggle-marked-thumbs'.
11115
80302a81
JL
111162011-09-18 Juri Linkov <juri@jurta.org>
11117
11118 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11119 to `isearch-case-fold-search' and restore its original value
11120 after the `isearch-mode' call.
11121
46c5cf66
JL
111222011-09-18 Juri Linkov <juri@jurta.org>
11123
11124 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11125 because `zgrep' returns 1 for successful matches (bug#9226).
11126
d18b513b
JL
111272011-09-18 Juri Linkov <juri@jurta.org>
11128
11129 * info.el (Info-extract-menu-node-name): Check the second match
11130 for empty string (second test-case of bug#9528).
11131 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11132 intermediate nodes to the history (first test-case of bug#9528).
11133
72753f87
JL
111342011-09-18 Juri Linkov <juri@jurta.org>
11135
11136 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11137 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11138
c9384295
JL
111392011-09-18 Juri Linkov <juri@jurta.org>
11140
1154d12e
JB
11141 * info.el (Info-file-supports-index-cookies):
11142 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11143 outputs one more line for long file names (bug#4142).
c9384295 11144
d473dce8
CY
111452011-09-18 Chong Yidong <cyd@stupidchicken.com>
11146
11147 * newcomment.el (comment-normalize-vars): If prompting for
11148 comment-start, set comment-start-skip too (Bug#8424).
11149
2176854d
JB
111502011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11151
11152 * icomplete.el: Fix previous fix of Bug#5849.
11153 (icomplete-mode): Don't set completion-show-inline-help.
11154 (icomplete-minibuffer-setup): Set completion-show-inline-help
11155 locally during icompletion.
11156
3aace4e4
CY
111572011-09-18 Chong Yidong <cyd@stupidchicken.com>
11158
c940224f
CY
11159 * woman.el (woman2-process-escapes): Don't delete unrecognized
11160 escapes (Bug#7843).
11161
3aace4e4
CY
11162 * files.el (inhibit-first-line-modes-regexps): Add image files.
11163 (hack-local-variables-prop-line): Return nil for malformed
11164 prop-lines (Bug#9044).
11165
710dec63
MA
111662011-09-18 Michael Albinus <michael.albinus@gmx.de>
11167
11168 * net/tramp.el (top): Don't require 'shell.
11169 (tramp-methods): Fix docstring.
11170 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11171 Return complete remote file name. Handle "smb" case.
11172 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11173 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11174
11175 * net/tramp-compat.el (top): Require 'shell.
11176
11177 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11178 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11179 `tramp-current-host'.
11180 (tramp-get-remote-tmpdir): Remove.
11181
11182 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11183 `tramp-tmpdir' entries.
11184 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11185 (tramp-smb-handle-file-attributes): Ignore errors.
11186 (tramp-smb-wait-for-output): Check also for process end.
11187
5d5ac8ec
LMI
111882011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11189
11190 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11191 when sending QUIT (bug#9312).
11192
8c0f49f0
CY
111932011-09-17 Chong Yidong <cyd@stupidchicken.com>
11194
11195 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11196 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11197 occur-mode-display-occurrence.
11198 (occur-edit-mode): Add usage message.
11199 (occur-cease-edit): New command.
11200 (occur-after-change-function): Use text properties to find the
11201 position of the prefix text.
11202 (occur-engine): Set stickiness of prefix text properties.
11203
8f1383f7
GM
112042011-09-17 Glenn Morris <rgm@gnu.org>
11205
11206 * progmodes/etags.el (complete-tag):
11207 Fix call to completion-in-region. (Bug#9526)
11208
744ba0e3
JL
112092011-09-17 Juri Linkov <juri@jurta.org>
11210
11211 * textmodes/ispell.el (ispell-word): Add to the error message
11212 the word, ispell program name and current dictionary (bug#9121).
11213 (ispell-tex-arg-end): Capitalize "error" in the error message.
11214
d9bbf400
AS
112152011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11216
11217 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11218 check. (Bug#4251)
11219
8da11505
JL
112202011-09-17 Juri Linkov <juri@jurta.org>
11221
11222 * window.el (window-safe-min-height, window-safe-min-width):
11223 Fix typos (followup to bug#9522).
11224
a91adc7e
SJ
112252011-09-17 Sven Joachim <svenjoac@gmx.de>
11226
11227 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11228
064f328a
EZ
112292011-09-16 Eli Zaretskii <eliz@gnu.org>
11230
11231 * simple.el (line-move): If goal-column is set, move by logical
11232 lines, not by display lines. (Bug#971)
11233 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11234 to reflect the above change.
11235
e69df516
SM
112362011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11237
11238 * image.el (imagemagick-register-types): Use regexp-opt.
11239
cbb0f9ab
CY
112402011-09-15 Chong Yidong <cyd@stupidchicken.com>
11241
11242 * window.el (display-buffer-base-action): Rename from
11243 display-buffer-default-action. Make default value empty.
11244 (display-buffer-overriding-action): Convert to defvar.
11245 (display-buffer-fallback-action): New var.
11246
25322144
CY
112472011-09-15 Chong Yidong <cyd@stupidchicken.com>
11248
11249 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11250 declaration.
11251 (package--add-to-archive-contents): If there is a duplicate entry
11252 with an older version, remove it.
11253 (package-menu-mark-delete, package-menu-mark-install)
11254 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11255 (package-menu-mark-obsolete-for-deletion):
11256 Use package-menu-get-status instead of a regexp search.
25322144
CY
11257 (package-menu-get-status): Use tabulated-list-entry.
11258 (package-menu-mark-upgrades): New command.
d770725a 11259 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11260 (package-menu-execute): Do installation before deletion.
11261 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11262 instead of checking major-mode.
11263 (package-menu--find-upgrades): New function.
11264
7520339c
LMI
112652011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11266
11267 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11268 passwords in the log buffer.
65a046c4
LMI
11269 (smtpmail-process-filter): Update the process marker so that the
11270 "broken by peer" status message is inserted in the right place.
7520339c 11271
d3c30954
SM
112722011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11273
3fe48822
SM
11274 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11275 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11276 bibtex-completion-at-point-function.
11277 (bibtex-completion-at-point-function): Use them.
11278
1b8b3954
SM
11279 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11280
d3c30954
SM
11281 * mpc.el (mpc-constraints-tag-lookup): New function.
11282 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11283 also to browser "album|playlist".
11284
72779976
JL
112852011-09-14 Juri Linkov <juri@jurta.org>
11286
11287 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11288 (isearch-edit-string): Use length of `isearch-string' when
11289 `isearch-fail-pos' returns nil.
11290 (isearch-message): Remove duplicate code and call
11291 `isearch-fail-pos' with arg `t'.
11292
a0bf2bcd
CY
112932011-09-14 Chong Yidong <cyd@stupidchicken.com>
11294
17bb0a2d
CY
11295 * replace.el (occur-mode-goto-occurrence): Don't force using other
11296 window (Bug#9499).
11297
a0bf2bcd
CY
11298 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11299
f678e0b6
MR
113002011-09-14 Martin Rudalics <rudalics@gmx.at>
11301
11302 * window.el (display-buffer-window): Remove.
11303 (display-buffer-record-window): Use help-setup window parameter
11304 instead of variable display-buffer-window.
11305 (display-buffer-function, special-display-buffer-names)
11306 (special-display-function): Mention help-setup parameter instead
11307 of display-buffer-window in doc-string.
d3c30954
SM
11308 * help.el (help-window-setup): New argument help-window.
11309 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11310 Reword some messages.
11311 (with-help-window): Pass window used for displaying the buffer
11312 to help-window-setup. Don't set display-buffer-window.
11313
8e39b2e8
GM
113142011-09-13 Glenn Morris <rgm@gnu.org>
11315
11316 * emacs-lisp/debug.el (debugger-make-xrefs):
11317 Preserve point. (Bug#9462)
11318
85e9c04b
CY
113192011-09-13 Chong Yidong <cyd@stupidchicken.com>
11320
11321 * window.el (window-deletable-p): Use next-frame.
11322
1b36ed6a
MR
113232011-09-13 Martin Rudalics <rudalics@gmx.at>
11324
11325 * window.el (window-auto-delete): Remove.
11326 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11327 dedication and previous buffers.
1b36ed6a
MR
11328 (switch-to-prev-buffer): Don't delete window.
11329 (delete-windows-on): Delete a window's frame if and only if the
11330 window is dedicated.
11331 (replace-buffer-in-windows): Delete buffer's window or frame if
11332 and only if window is dedicated.
11333 (quit-window): Handle quit-restore as before last change.
4d61f28d 11334 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11335
ef8ef9fb
CY
113362011-09-13 Chong Yidong <cyd@stupidchicken.com>
11337
11338 * window.el (window-deletable-p): Never delete the last frame on a
11339 given terminal.
11340
b2cba41e
GM
113412011-09-13 Glenn Morris <rgm@gnu.org>
11342
11343 * help.el (describe-key-briefly): Copy previous standard-output change.
11344
51553db6 113452011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11346
11347 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11348
b7556719
GM
113492011-09-13 Glenn Morris <rgm@gnu.org>
11350
11351 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11352 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11353
64b51947
CY
113542011-09-12 Chong Yidong <cyd@stupidchicken.com>
11355
11356 * dired-aux.el (dired-mark-read-string): Don't return default
11357 value on empty input (Bug#9361).
11358 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11359 Omit initial minibuffer contents.
11360 (dired-do-chmod): Signal an error on empty input.
11361 (dired-mark-read-string): Don't return default on empty input.
11362
11363 * files.el (file-modes-symbolic-to-number): Doc fix.
11364
393a301e
SM
113652011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * international/mule-cmds.el (ucs-completions): Remove.
11368 (read-char-by-name): Use complete-with-action instead; add metadata.
11369
fa5660f9
CY
113702011-09-11 Chong Yidong <cyd@stupidchicken.com>
11371
11372 * window.el (display-buffer--action-function-custom-type)
11373 (display-buffer--action-custom-type): New vars.
11374 (display-buffer-alist, display-buffer-default-action)
11375 (display-buffer-overriding-action): Add defcustom types.
11376
4a592f66
CY
11377 * frame.el (delete-other-frames): Doc fix (Bug#276).
11378
73d56dbd
LMI
113792011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11380
11381 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11382
37ac18a3
CY
113832011-09-11 Chong Yidong <cyd@stupidchicken.com>
11384
11385 Change modes that used same-window-* vars to use switch-to-buffer.
11386
11387 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11388 Use switch-to-buffer.
11389
11390 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11391 (customize-browse, custom-buffer-create-other-window):
11392 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11393
11394 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11395 (Info-prev, Info-up, Info-speedbar-goto-node)
11396 (info-display-manual): Use switch-to-buffer.
11397 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11398
11399 * mail/sendmail.el (mail): Use switch-to-buffer.
11400 (mail-recover): Use switch-to-buffer-other-window.
11401
11402 * cmuscheme.el (run-scheme, switch-to-scheme):
11403 * ielm.el (ielm):
11404 * shell.el (shell):
11405 * net/rlogin.el (rlogin):
11406 * net/telnet.el (telnet, rsh):
11407 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11408
10195bd6
AS
114092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11412
b322f63a
LMI
114132011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11414
39d7fed6
LMI
11415 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11416 so don't mention it (bug#9301).
ba5a81f1 11417 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11418
ee0e9f11
LMI
11419 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11420 match `x', `w32' and `ns', like the manual says (bug#9029).
11421
0b1c89c1 11422 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11423 (process-kill-buffer-query-function): Mention the buffer name in
11424 the query.
0b1c89c1 11425
77549ea8
LMI
11426 * image-mode.el (image-next-line): The line parameter is mandatory
11427 (bug#9258).
11428
803ef892
LMI
11429 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11430 which can be useful (bug#9301).
11431
12980837
LMI
11432 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11433
91054f8f
LMI
11434 * subr.el (match-string): Mention that the current buffer should
11435 be the same as the search was done in (bug#9282).
11436
b322f63a
LMI
11437 * facemenu.el: Disable the remove-* commands if the mark isn't
11438 active (bug#9162).
11439
3199b96f
CY
114402011-09-10 Chong Yidong <cyd@stupidchicken.com>
11441
11442 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11443 of display-buffer.
11444 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11445
11446 * replace.el (occur-mode-goto-occurrence)
11447 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11448 and display-buffer.
11449
11450 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11451 display-buffer.
11452
11453 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11454 special-display and same-window variables.
11455 (mail-other-window): Use switch-to-buffer-other-window.
11456 (mail-other-frame): USe switch-to-buffer-other-frame.
11457
393a301e
SM
11458 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11459 Use display-buffer-other-frame.
3199b96f
CY
11460 (gdb-display-gdb-buffer): Use pop-to-buffer.
11461
11462 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11463
11464 * progmodes/python.el: Don't set same-window-buffer-names.
11465
11466 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11467
11468 * window.el (display-buffer-alist): Add *Python*.
11469
8319e0bf
CY
114702011-09-10 Chong Yidong <cyd@stupidchicken.com>
11471
11472 * window.el (display-buffer-alist): Add entry for buffers
11473 previously handled same-window-*.
11474 (display-buffer-alist, display-buffer-default-action)
11475 (display-buffer-overriding-action): Mark as risky.
11476 (display-buffer-alist): Document action function changes.
11477 (display-buffer--same-window-action)
11478 (display-buffer--other-frame-action): New variables.
11479 (switch-to-buffer, display-buffer-other-frame): Use them.
11480 (display-buffer): Rename reuse-frame entry to reusable-frames.
11481 (display-buffer-reuse-selected-window): Function deleted.
11482 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11483 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11484 (display-buffer-special): New function.
11485 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11486 display-buffer-reuse-or-pop-window. Split off special-display
11487 part into display-buffer-special.
11488 (display-buffer-use-some-window): Don't perform any special
11489 pop-up-frames handling.
11490 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11491 (display-buffer--maybe-same-window): Rename from
0d3ff375 11492 display-buffer-maybe-same-window.
8319e0bf 11493
919a69aa
CY
11494 * info.el: Don't set same-window-regexps.
11495 (info-setup): New function.
11496 (info-other-window, info): Call it.
11497
11498 * cus-edit.el: Don't set same-window-regexps.
11499 (customize-group): New argument.
11500 (customize-group-other-window): Use it.
11501 (customize-face, customize-face-other-window): Likewise.
11502 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11503
8319e0bf
CY
11504 * net/rlogin.el:
11505 * net/telnet.el:
11506 * progmodes/gud.el: Don't set same-window-regexps.
11507
11508 * cmuscheme.el:
11509 * ielm.el:
11510 * shell.el:
11511 * mail/sendmail.el:
11512 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11513
25173000
JL
115142011-09-10 Juri Linkov <juri@jurta.org>
11515
11516 * isearch.el (isearch-edit-string): Remove obsolete mention of
11517 `C-w' (`isearch-yank-word-or-char') from docstring.
11518 (isearch-query-replace): Fix typo in docstring (bug#9466).
11519
056e44ef
JL
115202011-09-10 Juri Linkov <juri@jurta.org>
11521
11522 * paren.el (show-paren-function): Don't show escaped parens.
11523 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11524
c3760c17
EZ
115252011-09-10 Eli Zaretskii <eliz@gnu.org>
11526
11527 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11528 (mm-default-file-encoding): Remove autoload forms, they are
11529 replaced with autoload cookies in mml.el and mm-encode.el.
11530 (mail-add-attachment): New command.
11531 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11532 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11533 the doc string.
11534 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11535
fece895e
RT
115362011-09-10 Reuben Thomas <rrt@sc3d.org>
11537
e69df516
SM
11538 * simple.el (count-words-region): Use buffer if there's no region
11539 (bug#9429).
fece895e 11540
5e68ce4a
JL
115412011-09-09 Juri Linkov <juri@jurta.org>
11542
11543 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11544 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11545 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11546
0a6b9622
AM
115472011-09-09 Alan Mackenzie <acm@muc.de>
11548
11549 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11550 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11551
14a29deb
EZ
115522011-09-09 Eli Zaretskii <eliz@gnu.org>
11553
11554 Fix for Savannah bug#9392.
11555 * simple.el (mail-encode-mml): New defvar.
11556
11557 * mail/rmail.el (mail-encode-mml): Add a defvar.
11558 (rmail-enable-mime-composing): Default to t.
11559 (rmail-forward): Use MIME method of forwarding only if both
11560 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11561 Set mail-encode-mml non-nil if the MIME method was used.
11562
11563 * mail/sendmail.el (mml-to-mime): Add autoload form.
11564 (mail-encode-mml): Add a defvar.
11565 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11566 to nil.
11567 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11568 message through mml-to-mime, and reset mail-encode-mml to nil.
11569
28c45130
GM
115702011-09-09 Glenn Morris <rgm@gnu.org>
11571
11572 * woman.el (woman-if-body): When processing an .el block,
11573 do not delete the next .el block as well. (Bug#9447)
69f4b618 11574 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11575
9b1c252e
MR
115762011-09-08 Martin Rudalics <rudalics@gmx.at>
11577
11578 * window.el (window-deletable-p): Make sure window is live before
11579 invoking window-prev-buffers.
11580
567457e3
LL
115812011-09-08 Leo Liu <sdl.web@gmail.com>
11582
11583 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11584
97f05794
JL
115852011-09-08 Juri Linkov <juri@jurta.org>
11586
11587 * progmodes/compile.el (compilation-environment): Make it
11588 a defcustom (bug#8340).
11589
8b0874b5
MR
115902011-09-08 Martin Rudalics <rudalics@gmx.at>
11591
11592 * window.el (frame-auto-delete): Rename to window-auto-delete.
11593 Make it control auto-deletion of windows and/or frames.
11594 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11595 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11596 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11597 Rewrite handling of case when window/frame can be deleted.
11598 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11599 argument t. (Bug#9456)
8b0874b5 11600
4feb6e73
CY
116012011-09-07 Chong Yidong <cyd@stupidchicken.com>
11602
11603 * help-mode.el (help-mode): Restore autoload.
11604
91ab9c13
JL
116052011-09-07 Juri Linkov <juri@jurta.org>
11606
11607 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11608 `compilation-environment'. Set buffer-local
11609 `compilation-environment' to `thisenv' later after (funcall mode).
11610 (Bug#8340)
11611
11612 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11613 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11614 instead of replacing its value. (Bug#8340)
11615
0527e251
JL
116162011-09-07 Juri Linkov <juri@jurta.org>
11617
11618 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11619 based on text properties put by `grep-filter' instead of matching
11620 escape sequences.
11621 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11622 to the value of `grep-error-screen-columns' (bug#9438).
11623
249f792c
JL
116242011-09-07 Juri Linkov <juri@jurta.org>
11625
11626 * simple.el (next-error-highlight, next-error-highlight-no-select):
11627 Doc fix (bug#9432).
11628
ff7271b9
OT
116292011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11630
11631 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11632 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11633
183fc730
LL
116342011-09-07 Leo Liu <sdl.web@gmail.com>
11635
11636 * net/rcirc.el (rcirc-mode): Conditionally initialize
11637 rcirc-input-ring.
11638
77694924
SM
116392011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * emacs-lisp/find-func.el (find-function-C-source): Only set
11642 find-function-C-source-directory after checking that we found a source
11643 file there (bug#9440).
11644
d809b8eb
AM
116452011-09-06 Alan Mackenzie <acm@muc.de>
11646
11647 * isearch.el (isearch-other-meta-char): Wherever a key list is
11648 unread, "unread" the prefix arg, too. This fixes bug #8901.
11649
453de99f
OG
116502011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11651
11652 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11653
90439906
JL
116542011-09-05 Juri Linkov <juri@jurta.org>
11655
11656 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11657
f62bd846
JL
116582011-09-05 Juri Linkov <juri@jurta.org>
11659
11660 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11661 keeping point where processing of grep matches begins, and
11662 continue to delete remaining escape sequences from the same point.
11663 (grep-filter): Make leading zero optional in "0?1;31m" because
11664 git-grep emits "\033[1;31m" escape sequences unlike expected
11665 "\033[01;31m" as GNU Grep does (bug#9408).
11666 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11667
045820ec
JL
116682011-09-05 Juri Linkov <juri@jurta.org>
11669
11670 * subr.el (y-or-n-p): Capitalize "yes".
11671
f5e29b9b
MA
116722011-09-04 Michael Albinus <michael.albinus@gmx.de>
11673
11674 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11675 `tramp-cache-unload-hook' where appropriate.
11676 (tramp-methods): Rename `tramp-remote-sh' to
11677 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11678 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11679
11680 * net/tramp-sh.el (top): Don't require 'shell.
11681 (tramp-methods): Add `tramp-remote-shell' and
11682 `tramp-remote-shell-args' entries.
11683 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11684 (tramp-sh-handle-shell-command): Remove.
11685 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11686 Use `tramp-remote-shell'.
11687
2784c434
CY
116882011-09-03 Chong Yidong <cyd@stupidchicken.com>
11689
393a301e 11690 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11691 (sendmail-query-once): Save directly to send-mail-function.
11692 Update message-send-mail-function too.
11693
11694 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11695
464cdf56
CS
116962011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11697
11698 * progmodes/python.el (python-mode-map): Use correct function to
11699 start python interpreter from menu-bar (as reported by Geert
11700 Kloosterman).
11701 (inferior-python-mode-map): Fix typo.
393a301e 11702 (python-shell-map): Remove.
464cdf56 11703
d37e5c87
DD
117042011-09-03 Deniz Dogan <deniz@dogan.se>
11705
11706 * net/rcirc.el (rcirc-print): Simplify code for
11707 rcirc-scroll-show-maximum-output. There is no need to walk
11708 through all windows to find the right one.
11709
f3ada0ee
CS
117102011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11711
11712 * help.el (help-return-method): Doc fix.
11713
1f3c99ca
MR
117142011-09-03 Martin Rudalics <rudalics@gmx.at>
11715
11716 * window.el (window-deletable-p): Don't return a non-nil value
11717 when there's a buffer that was shown in the window before.
11718 (Bug#9419)
393a301e
SM
11719 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11720 Set window's previous buffers to nil.
1f3c99ca 11721
a3cf097f
EZ
117222011-09-03 Eli Zaretskii <eliz@gnu.org>
11723
11724 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11725 newline before and after the tag line, so it doesn't interfere
11726 with determining the paragraph direction of bidirectional text.
11727
3d03de90
LL
117282011-09-03 Leo Liu <sdl.web@gmail.com>
11729
11730 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11731
c3313451
CY
117322011-09-02 Chong Yidong <cyd@stupidchicken.com>
11733
393a301e 11734 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11735 (pop-to-buffer): Change interactive spec. Pass second argument
11736 directly to display-buffer.
11737 (display-buffer): Fix interactive spec. Use functionp to
11738 distinguish between a function and a list of functions.
11739
11740 * abbrev.el (edit-abbrevs):
11741 * arc-mode.el (archive-extract):
11742 * autoinsert.el (auto-insert):
11743 * bookmark.el (bookmark-bmenu-list):
11744 * files.el (find-file):
11745 * view.el (view-buffer):
11746 * progmodes/compile.el (compilation-goto-locus):
11747 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11748
89894cd8
CY
117492011-09-02 Chong Yidong <cyd@stupidchicken.com>
11750
11751 * window.el (display-buffer-alist): Doc fix.
11752 (display-buffer): Add docstring. Don't treat
11753 display-buffer-default specially.
11754 (display-buffer-reuse-selected-window)
11755 (display-buffer-same-window, display-buffer-maybe-same-window)
11756 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11757 (display-buffer-pop-up-window)
11758 (display-buffer-reuse-or-pop-window)
11759 (display-buffer-use-some-window): New functions.
11760 (display-buffer-default-action): Use them.
393a301e 11761 (display-buffer-default): Delete.
89894cd8
CY
11762 (pop-to-buffer-1): Fix choice of actions.
11763
ae0bc9fb
SM
117642011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * minibuffer.el (completion--insert-strings): Don't get confused by
11767 completion entries that end with an LF char.
11768
e9d90883
EZ
117692011-09-01 Eli Zaretskii <eliz@gnu.org>
11770
11771 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11772
437014c8
CY
117732011-09-01 Chong Yidong <cyd@stupidchicken.com>
11774
11775 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11776 (display-buffer-same-window, display-buffer-other-window):
11777 New functions.
437014c8
CY
11778 (pop-to-buffer-1): New function. Use the above.
11779 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11780 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11781
11782 * view.el (view-buffer-other-window, view-buffer-other-frame):
11783 Just use pop-to-buffer.
11784
a5e063d5
TV
117852011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11786
11787 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11788
793d32bb
WH
117892011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11790
11791 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11792
d65e4c15
RS
117932011-08-31 Richard Stallman <rms@gnu.org>
11794
11795 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11796 of the separation of rmail-view-buffer from rmail-buffer.
11797 If you say no to "replace original", the decrypt is in the
11798 view buffer. If you say yes, the decrypt goes into the
11799 rmail buffer also.
11800
f818cd2a
MR
118012011-08-31 Martin Rudalics <rudalics@gmx.at>
11802
11803 * window.el (display-buffer-window): Rewrite doc-string.
11804 (display-buffer-record-window): New function.
11805 (display-buffer-macro-specifiers)
11806 (display-buffer-even-window-sizes, display-buffer-set-height)
11807 (display-buffer-set-width, display-buffer-in-window)
11808 (display-buffer-reuse-window, display-buffer-split-specifiers)
11809 (display-buffer-side-specifiers, display-buffer-split-window-1)
11810 (display-buffer-split-window, display-buffer-split-atom-window)
11811 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11812 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11813 (display-buffer-other-window-means-other-frame)
11814 (display-buffer-normalize-special)
11815 (display-buffer-normalize-default)
11816 (display-buffer-normalize-argument)
11817 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11818 (display-buffer-normalize-specifiers, display-buffer-frame)
11819 (display-buffer-same-window, display-buffer-same-frame)
11820 (display-buffer-other-window)
11821 (display-buffer-same-frame-other-window)
11822 (display-buffer-other-frame, pop-to-buffer-same-window)
11823 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11824 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11825 (switch-to-buffer-same-frame)
11826 (switch-to-buffer-other-window-same-frame)
11827 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11828 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11829 (display-buffer-alist-set): Remove.
11830 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11831 (special-display-regexps, special-display-function):
11832 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11833 parameter.
11834 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11835 (special-display-frame-alist, special-display-popup-frame)
11836 (same-window-buffer-names, same-window-regexps, same-window-p)
11837 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11838 (split-window-preferred-function, split-height-threshold)
11839 (split-width-threshold, window-splittable-p)
11840 (split-window-sensibly, window--try-to-split-window)
11841 (window--frame-usable-p, even-window-heights)
11842 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11843 (window--display-buffer-2, display-buffer-other-frame):
11844 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11845 (display-buffer-default, display-buffer-assq-regexp): New functions.
11846 (display-buffer-alist): Rewrite doc-string.
11847 (display-buffer-default-action)
11848 (display-buffer-overriding-action): New variables.
11849 (display-buffer, switch-to-buffer): Rewrite.
11850 (pop-to-buffer): Restore Emacs 23 behavior but use
11851 window-normalize-buffer-to-display.
11852 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11853 Restore Emacs 23 behavior but use
11854 window-normalize-buffer-to-switch-to.
11855 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11856 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11857 Rewrite using Emacs 23 options.
f818cd2a 11858
5bc3b51d
MA
118592011-08-31 Michael Albinus <michael.albinus@gmx.de>
11860
11861 * net/tramp.el (tramp-root-regexp): Remove.
11862 (tramp-completion-file-name-regexp-unified)
11863 (tramp-completion-file-name-regexp-separate)
11864 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11865 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11866 (tramp-drop-volume-letter): Simplify definition.
11867 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11868
b1a4f8e1
SM
118692011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11872 (bug#9356).
11873
5664fa7b
RT
118742011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11875
b1a4f8e1 11876 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11877
9a45d6c3
JL
118782011-08-29 Juri Linkov <juri@jurta.org>
11879
11880 * isearch.el (isearch-done): Don't display message "Mark saved"
11881 when arg `edit' is non-nil to prevent its flicker in the echo area.
11882
fb87e0fb
CY
118832011-08-28 Chong Yidong <cyd@stupidchicken.com>
11884
11885 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11886 obsolete packages for deletion.
11887
09ac1c2a
CS
118882011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11889
11890 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11891 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11892 view-mode from help-mode.
11893 (help-xref-override-view-map): Remove.
11894 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11895 view-mode is not used anymore.
11896
7a1ff57f
CY
118972011-08-28 Chong Yidong <cyd@stupidchicken.com>
11898
11899 * server.el (server-port): Doc fix.
11900
b9696605
CY
11901 * cus-theme.el (custom-theme-choose-mode): Inherit from
11902 special-mode (Bug#9124).
11903 (custom-theme-choose-mode-map): Add special-mode to parent.
11904
ef8cdf8c
AM
119052011-08-28 Alan Mackenzie <acm@muc.de>
11906
11907 * progmodes/cc-fonts.el
11908 (c-make-font-lock-BO-decl-search-function): New function.
11909 (c-basic-matchers-after - "Fontify the clauses after various
11910 keywords"): Extract the three keyword lists for the 3 erroneous
11911 constructs from the list of four, and use the new function above
11912 in place of an old one.
11913
27de4e20
DD
119142011-08-28 Deniz Dogan <deniz@dogan.se>
11915
11916 * net/rcirc.el (rcirc-insert-prev-input)
11917 (rcirc-insert-next-input): Remove unused argument.
11918
356a3681
SM
119192011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11922
3fc9b218
AM
119232011-08-27 Alan Mackenzie <acm@muc.de>
11924
11925 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11926 handle function pointer parameters properly.
11927
538a061c
MR
119282011-08-27 Martin Rudalics <rudalics@gmx.at>
11929
11930 * window.el (display-buffer-reuse-window): Fix case where
11931 selected window was reused with non-nil OTHER-WINDOW argument.
11932 (Bug#9381)
11933
35b1c40c
DD
119342011-08-27 Deniz Dogan <deniz@dogan.se>
11935
11936 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11937 oftc's NickServ messages.
11938
2f6a3e79
GM
119392011-08-27 Glenn Morris <rgm@gnu.org>
11940
11941 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11942
7254299e
CY
119432011-08-26 Chong Yidong <cyd@stupidchicken.com>
11944
11945 * emacs-lisp/package.el (package-install): Call package-initialize
11946 if called interactively.
11947
f8ccf167
LL
119482011-08-26 Leo Liu <sdl.web@gmail.com>
11949
11950 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11951
3e8cd5ce
JL
119522011-08-25 Juri Linkov <juri@jurta.org>
11953
11954 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11955 `search-whitespace-regexp' (bug#9364).
11956
93eb7113
JL
119572011-08-25 Juri Linkov <juri@jurta.org>
11958
11959 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11960 `regexp-search-ring' to their global values to protect from
11961 updating by `read-from-minibuffer' (bug#9185).
11962
f65d1611
JL
119632011-08-25 Juri Linkov <juri@jurta.org>
11964
11965 * textmodes/ispell.el (ispell-command-loop): Add newline
11966 at the end of the "Use option `i'..." line.
11967
f1cf7a31
JL
119682011-08-25 Juri Linkov <juri@jurta.org>
11969
11970 * battery.el (display-battery-mode): If `battery-status-function'
11971 or `battery-mode-line-format' is nil, display the message and set
11972 `display-battery-mode' to nil (bug#9363).
11973
0c95fcf7
EZ
119742011-08-25 Eli Zaretskii <eliz@gnu.org>
11975
11976 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11977 bidi-string-mark-left-to-right; they are unnecessary now.
11978
a2ebe600
DD
119792011-08-25 Deniz Dogan <deniz@dogan.se>
11980
11981 * net/quickurl.el: Documentation typo fixes.
11982
e4ed06f1
CY
119832011-08-25 Chong Yidong <cyd@stupidchicken.com>
11984
11985 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11986
e5f1c99e
GM
119872011-08-25 Glenn Morris <rgm@gnu.org>
11988
b2948976
GM
11989 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11990
e5f1c99e
GM
11991 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11992 (smtpmail-via-smtp): Handle nil response from smtp.
11993
f22f4808
JL
119942011-08-24 Juri Linkov <juri@jurta.org>
11995
11996 * proced.el (proced-marked): Inherit from `error' instead of
11997 `font-lock-warning-face'.
11998
11999 * ibuffer.el (ibuffer-marked-face): Change default face from
12000 `font-lock-warning-face' to `warning'.
12001 (ibuffer-deletion-face): Change default face from
12002 `font-lock-type-face' to `error'.
12003
12004 * battery.el (battery-update): Use the face `error' instead of
12005 `font-lock-warning-face' (bug#6117).
12006
6a93965e
JL
120072011-08-24 Juri Linkov <juri@jurta.org>
12008
12009 * faces.el (success): Change face color from "Green3" to
12010 "ForestGreen" on light background (bug#9353).
12011
1ed43b09
CY
120122011-08-24 Chong Yidong <cyd@stupidchicken.com>
12013
5664fa7b
RT
12014 * window.el (quit-window): Rename from quit-restore-window.
12015 Use same arglist as old quit-window.
1ed43b09
CY
12016 (frame-auto-delete): Doc fix.
12017
12018 * view.el (view-mode-exit): Use quit-window.
12019
11dcdbb2
JL
120202011-08-24 Juri Linkov <juri@jurta.org>
12021
12022 * isearch.el (isearch-ring-adjust1): Start visiting previous
12023 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12024 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12025 for empty search string (when the last search string is reused
12026 automatically) to adjust the isearch ring to the last element and
12027 prepare the correct index for further M-p commands (bug#9185).
12028
de62b4df
KH
120292011-08-24 Kenichi Handa <handa@m17n.org>
12030
12031 * international/ucs-normalize.el: If decomposition property of
12032 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12033 nil.
12034 (nfd, nfkd): Likewise.
12035
963b492b
SM
120362011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12039 from process filters aren't reliably transmitted to the surrounding
12040 accept-process-output.
12041 (mpc-proc-check): New function.
12042 (mpc-proc-sync): Use it (bug#8293)
12043
93b6b5e1
SM
120442011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12045
12046 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12047 Add compatibility functions (bug#9313).
12048
bca633fb
EZ
120492011-08-23 Eli Zaretskii <eliz@gnu.org>
12050
b177498a
EZ
12051 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12052
6df6ae42 12053 * international/uni-bidi.el: Regenerate.
bca633fb 12054
0902a04e
KH
120552011-08-23 Kenichi Handa <handa@m17n.org>
12056
12057 * international/charprop.el:
12058 * international/uni-bidi.el:
12059 * international/uni-category.el:
12060 * international/uni-combining.el:
12061 * international/uni-comment.el:
12062 * international/uni-decimal.el:
12063 * international/uni-decomposition.el:
12064 * international/uni-digit.el:
12065 * international/uni-lowercase.el:
12066 * international/uni-mirrored.el:
12067 * international/uni-name.el:
12068 * international/uni-numeric.el:
12069 * international/uni-old-name.el:
12070 * international/uni-titlecase.el:
12071 * international/uni-uppercase.el: Regenerate.
12072
3bbf23bc
MR
120732011-08-23 Martin Rudalics <rudalics@gmx.at>
12074
12075 * help.el (help-window-setup): Fix message displayed when other
12076 window is reused. (Bug#9341)
12077
b3fd59bd
SM
120782011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12079
1802e444
SM
12080 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12081 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12082
b3fd59bd
SM
12083 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12084 Mark obsolete.
12085 * shell.el (shell-parse-pcomplete-arguments): New function.
12086 (shell-completion-vars): Use it instead (bug#9160).
12087
4eb61348
SM
120882011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12089
867cab74
SM
12090 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12091 strings and comments (bug#9333).
12092
4eb61348
SM
12093 * emacs-lisp/debug.el (debug-arglist): New function.
12094 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12095 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12096
262a1439
JL
120972011-08-22 Juri Linkov <juri@jurta.org>
12098
56ee679c
JL
12099 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12100 Revert regexp that highlights output switches to its old
12101 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12102
262a1439
JL
12103 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12104 to check for empty output (bug#9226).
12105
f13f86fb
CY
121062011-08-22 Chong Yidong <cyd@stupidchicken.com>
12107
12108 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12109 symbol-constituent as the default, as that stops font-lock from
12110 working properly (Bug#8843).
12111
c65c9622
LMI
121122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12113
12114 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12115 `coding-system-for-*' around the process open call to avoid
12116 auth-source side effects.
e7f2c178 12117 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12118 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12119 probe hangs.
c65c9622 12120
23a8a5ab
CY
121212011-08-21 Chong Yidong <cyd@stupidchicken.com>
12122
ff98b2dd
CY
12123 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12124
23a8a5ab
CY
12125 * emacs-lisp/find-func.el (find-function-noselect): New arg
12126 lisp-only.
12127
12128 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12129 signal an error for built-in functions (Bug#6664).
12130
f5e3c598
LMI
121312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12132
12133 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12134 (smtpmail-try-auth-methods): Use it.
12135
a3f2468a
CY
121362011-08-21 Chong Yidong <cyd@stupidchicken.com>
12137
2c34e8da
CY
12138 * font-lock.el (font-lock-fontify-region)
12139 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12140 (font-lock-default-unfontify-buffer)
12141 (font-lock-default-fontify-region)
12142 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12143
b3fd59bd
SM
12144 * progmodes/compile.el (compilation-error-properties):
12145 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12146 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12147 `ant' regexp.
ee31aabc 12148
a3f2468a
CY
12149 * net/browse-url.el (browse-url-firefox): Don't call
12150 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12151
8e999f70
GM
121522011-08-20 Glenn Morris <rgm@gnu.org>
12153
c21a496a
GM
12154 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12155
59ee0542
GM
12156 * tutorial.el (tutorial--default-keys): Update some default bindings.
12157
8e999f70
GM
12158 * files.el (hack-local-variables): Fully ignore case for "mode:".
12159
e3715033
AM
121602011-08-20 Alan Mackenzie <acm@muc.de>
12161
12162 Resolve invalid use of a regexp in regexp-opt.
12163
4d61f28d
JB
12164 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12165 detection for a java annotation.
e3715033 12166
4d61f28d 12167 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12168 detection for a java annotation.
12169
4d61f28d
JB
12170 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12171 handling for java.
e3715033
AM
12172 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12173
04ed2e9c
CY
121742011-08-20 Chong Yidong <cyd@stupidchicken.com>
12175
12176 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12177 (Bug#9274).
12178
826cee64
AM
121792011-08-20 Alan Mackenzie <acm@muc.de>
12180
58179cce 12181 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12182 such a construct. Mainly for when jit-lock etc. starts a chunk
12183 here.
12184
58179cce 12185 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12186 variable.
58179cce 12187 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12188 c-make-font-lock-search-function.
12189 (c-make-font-lock-search-function): Use the above function.
12190 (c-make-font-lock-context-search-function): New function.
12191 (c-cpp-matchers): Enhance the preprocessor expression case with
12192 the above function
12193 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12194 which takes an expression.
12195
12196 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12197
13009bd8
MR
121982011-08-20 Martin Rudalics <rudalics@gmx.at>
12199
12200 * window.el (display-buffer-reuse-window)
12201 (display-buffer-pop-up-window): Don't reuse or split a side
12202 window.
12203
9234ff7f
GM
122042011-08-19 Glenn Morris <rgm@gnu.org>
12205
12206 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12207 Downcase "Mode:". (Bug#9331)
9234ff7f 12208
f635daa1
CY
122092011-08-18 Chong Yidong <cyd@stupidchicken.com>
12210
12211 * international/characters.el: Add L and R categories.
12212
12213 * subr.el (bidi-string-mark-left-to-right): Rename from
12214 string-mark-left-to-right. Use category search.
12215
12216 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12217
bc987f8b
JL
122182011-08-18 Juri Linkov <juri@jurta.org>
12219
12220 * faces.el (error, warning, success): New faces with definitions
12221 copied from old default values of `font-lock-warning-face',
12222 `compilation-warning', `compilation-info' (bug#6117).
12223
12224 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12225
12226 * progmodes/compile.el (compilation-error): Inherit from `error'.
12227 (compilation-warning): Inherit from `warning'.
12228 (compilation-info): Inherit from `success'.
12229
12230 * dired.el (dired-marked): Inherit from `warning'.
12231 (dired-flagged): Inherit from `error'.
12232
57173b96
LMI
122332011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
3e79eb87
LMI
12235 * mail/smtpmail.el (auth-source): Require to avoid problems with
12236 binding variables (bug#9298). Also clean up some unused
12237 autoloads.
12238
b3fd59bd
SM
12239 * net/network-stream.el (network-stream-open-starttls):
12240 Support using starttls.el without using gnutls-cli.
57173b96 12241
02b404de
JL
122422011-08-17 Juri Linkov <juri@jurta.org>
12243
12244 * progmodes/grep.el (rgrep): Handle the case when
12245 `grep-find-command' is a cons cell (bug#9278).
12246
8c9177f2
MR
122472011-08-17 Martin Rudalics <rudalics@gmx.at>
12248
12249 * window.el (display-buffer-pop-up-frame): Run frame creation
12250 function with BUFFER current (as special-display-popup-frame
12251 does). Reported by Drew Adams.
12252
3644a0ab
DU
122532011-08-17 Daiki Ueno <ueno@unixuser.org>
12254
12255 * epa-mail.el: Simplify GnuPG group expansion using
12256 epg-expand-group.
12257 (epa-mail-group-alist, epa-mail-group-modtime)
12258 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12259 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12260 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12261 Remove.
12262
5e617bc2 122632011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12264
12265 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12266
9c4aeabf
AM
122672011-08-16 Alan Mackenzie <acm@muc.de>
12268
12269 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12270 Correct, to avoid the inside of macros.
12271
3a99bf64
RS
122722011-08-16 Richard Stallman <rms@gnu.org>
12273
04963aa8
RS
12274 * epa-mail.el: Handle GnuPG group definitions.
12275 (epa-mail-group-alist, epa-mail-group-modtime)
12276 (epa-mail-gnupg-conf-file): New variables.
12277 (epa-mail-parse-groups, epa-mail-sync-groups)
12278 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12279 (epa-mail-expand-recipients): New functions.
12280 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12281
177549d0
RS
12282 * mail/rmail.el (rmail-epa-decrypt): New command.
12283
fe38beef
RS
12284 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12285 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12286 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12287 (epa-decrypt-armor-in-region): Make error message clearer.
12288
934eacb9
SM
122892011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12290
12291 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12292 and "a2b" to "ab" for `prefix'.
12293
d024fb4e
CY
122942011-08-14 Chong Yidong <cyd@stupidchicken.com>
12295
12296 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12297 filter groups.
de148fee
CY
12298 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12299 Fourquet (Bug#8804).
d024fb4e 12300
62f1ca49
JB
123012011-08-12 Juanma Barranquero <lekktu@gmail.com>
12302
12303 * startup.el (argi): Declare as global variable (bug#9275).
12304
9ccaaa4b
CY
123052011-08-12 Chong Yidong <cyd@stupidchicken.com>
12306
12307 * subr.el (string-mark-left-to-right): Search the entire string
12308 for RTL script, not just the terminating character. Doc fix.
12309
a3dae87a
SM
123102011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12311
6cd18349
SM
12312 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12313 New function.
12314 (js--regexp-literal, js-syntax-propertize-function): Remove.
12315 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12316 (js-mode-map): Don't rebind electric keys.
12317 (js-insert-and-indent): Remove.
12318 (js-mode): Setup electric-layout and electric-indent instead.
12319
a3dae87a
SM
12320 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12321
9d5cb631
DU
123222011-08-12 Daiki Ueno <ueno@unixuser.org>
12323
12324 * epa.el (epa-progress-callback-function): Fix the logic of
12325 displaying progress.
12326 * epa-file.el (epa-file-insert-file-contents): Make progress
12327 display more user-friendly.
12328 (epa-file-write-region): Ditto.
12329
3e26a4a2
CY
123302011-08-10 Chong Yidong <cyd@stupidchicken.com>
12331
12332 * subr.el (string-mark-left-to-right): New function.
12333
12334 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12335 Use string-mark-left-to-right.
12336 (list-buffers-noselect): Caller changed.
12337
a3dae87a
SM
12338 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12339 Use string-mark-left-to-right.
3e26a4a2
CY
12340 (tabulated-list-print): Recenter after moving point.
12341
ac8cf6e6
JL
123422011-08-10 Juri Linkov <juri@jurta.org>
12343
12344 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12345 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12346 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12347
8d96c9a4
CY
123482011-08-09 Chong Yidong <cyd@stupidchicken.com>
12349
12350 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12351 (Bug#7554).
12352
7be1c708 123532011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12354
12355 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12356 character. (Bug#6594)
12357
37e11a63
CY
123582011-08-08 Chong Yidong <cyd@stupidchicken.com>
12359
839dde57
CY
12360 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12361 (image-dired--with-db-file): New macro.
12362 (image-dired-write-tags, image-dired-remove-tag)
12363 (image-dired-create-gallery-lists, image-dired-write-comments)
12364 (image-dired-get-comment, image-dired-mark-tagged-files)
12365 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12366 (image-dired-gallery-generate): Use insert-file-contents.
12367
37e11a63
CY
12368 * time.el (display-time-world-list, display-time-world-display):
12369 * time-stamp.el (time-stamp-string):
12370 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12371 set-time-zone-rule (Bug#7337).
12372
0b4946c4
DU
123732011-08-08 Daiki Ueno <ueno@unixuser.org>
12374
12375 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12376 (epg-error-to-string, epg-errors-to-string): New function.
12377 (epg-wait-for-completion): Reverse errors list.
12378 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12379 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12380 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12381 (epg-sign-keys, epg-generate-key-from-file)
12382 (epg-generate-key-from-string): Format errors by using
12383 epg-errors-to-string (bug#9255).
12384 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12385
75bfc667
JL
123862011-08-07 Juri Linkov <juri@jurta.org>
12387
12388 * faces.el (list-faces-display): Remove extra angle bracket
12389 from `help-mode-map'.
12390
12391 * info.el (Info-history-toc-nodes): Doc fix.
12392
12393 * longlines.el (longlines-mode): Doc fix.
12394
673e08bb
SM
123952011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12396
4640dd88
SM
12397 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12398 of statements and in a few more cases (bug#9183).
12399
673e08bb
SM
12400 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12401 New functions.
12402 (cl-transform-lambda): Use them (bug#9239).
12403
89b3f019
MR
124042011-08-05 Martin Rudalics <rudalics@gmx.at>
12405
12406 * window.el (display-buffer-same-window)
12407 (display-buffer-same-frame, display-buffer-other-window)
12408 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12409 (pop-to-buffer-other-window)
12410 (pop-to-buffer-same-frame-other-window)
12411 (pop-to-buffer-other-frame): Make them defuns.
12412 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12413
640c8776
SM
124142011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * subr.el (make-composed-keymap): Move from C. Change calling
12417 convention, and improve docstring to bring attention to a subtle point.
12418 * minibuffer.el (completing-read-default): Adjust accordingly.
12419
63648a95
MA
124202011-08-03 Michael Albinus <michael.albinus@gmx.de>
12421
12422 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12423 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12424
12425 * net/trampver.el: Update release number.
12426
b796c9b7
SM
124272011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12430 "in" (bug#9190).
12431
2239d7d5
LMI
124322011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12433
e07dd7c3
LMI
12434 * mail/sendmail.el (sendmail-query-once): Restore the current
12435 buffer after querying (bug#9074).
12436
0e6a2bd7
LMI
12437 * dired.el (dired-flagged): Use different faces for marked and
12438 flagged files (bug#6117).
12439
ce887515
LMI
12440 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12441 (bug#4433).
12442
92f2affc
LMI
12443 * ido.el (ido-mode): Switch off the message if called
12444 non-interactively.
12445
57d5aff0
LMI
12446 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12447 before 587, since it appears that that's more likely to work for
12448 more people.
12449
98cd6c18 12450 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12451 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12452 exist.
12453
b96dec83
LMI
12454 * info.el: Remove the `Info-beginning-of-buffer' function
12455 (bug#8325).
12456
b796c9b7
SM
12457 * net/network-stream.el (network-stream-open-starttls):
12458 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12459
d90e2ea0
MR
124602011-08-01 Martin Rudalics <rudalics@gmx.at>
12461
12462 * window.el (display-buffer-in-window): Don't set dedicated status
12463 of window here (Bug#9215).
12464 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12465 (display-buffer-pop-up-side-window)
b796c9b7 12466 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12467
cca09170
SM
124682011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12471 before binding generated-autoload-file.
12472
027b979c
DD
124732011-08-01 Deniz Dogan <deniz@dogan.se>
12474
12475 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12476
3c7ee4f3
MA
124772011-07-30 Michael Albinus <michael.albinus@gmx.de>
12478
12479 Sync with Tramp 2.2.2.
12480
12481 * net/trampver.el: Update release number.
12482
2cc8e51a
JL
124832011-07-30 Juri Linkov <juri@jurta.org>
12484
12485 * dired-aux.el (dired-touch-initial): Remove function.
12486 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12487 current time, and `default' to the last modification time of the
12488 current marked file (bug#6887).
12489
a514d856
JM
124902011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12491
12492 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12493 numeric argument to read-number (bug#9163).
a514d856 12494
8a7eddd7
MA
124952011-07-27 Michael Albinus <michael.albinus@gmx.de>
12496
12497 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12498 connection process, it could be nil.
12499
1ddd96f5
LL
125002011-07-27 Leo Liu <sdl.web@gmail.com>
12501
12502 Simplify url handling in rcirc-mode.
12503
12504 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12505 (rcirc-browse-url-at-mouse): Remove.
12506 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12507
b248a85d
AM
125082011-07-26 Alan Mackenzie <acm@muc.de>
12509
12510 Fontify bitfield declarations properly.
12511
12512 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12513 (c-symbol-chars): Now exported as a lang variable.
12514 (c-not-primitive-type-keywords): New lang variable.
12515
12516 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12517 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12518 parsed as a bitfield declaration.
b248a85d 12519
b796c9b7
SM
12520 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12521 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12522 (c-punctuation-in): New function.
12523 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12524 declarations properly.
12525
68575ab0
UJ
125262011-07-26 Ulf Jasper <ulf.jasper@web.de>
12527
12528 * calendar/icalendar.el (icalendar--all-events): Take care of
12529 multiple vcalendars in a single file.
b796c9b7 12530 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12531
0f0a88b9
DD
125322011-07-25 Deniz Dogan <deniz@dogan.se>
12533
12534 * image.el (insert-image): Clarifying docstring.
12535
0b3f36df
MA
125362011-07-24 Michael Albinus <michael.albinus@gmx.de>
12537
12538 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12539 `tramp-send-command-and-check' if there is no error.
12540 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12541
a9901f61
AM
125422011-07-22 Alan Mackenzie <acm@muc.de>
12543
12544 Prevent cc-langs.elc being loaded at run time.
12545
12546 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12547 cc-langs.
12548
4d61f28d 12549 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12550 "(require 'cc-langs)". Quote a form so it will evaluate at
12551 (cc-mode's) compilation time.
12552
11d074b2
MA
125532011-07-22 Michael Albinus <michael.albinus@gmx.de>
12554
12555 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12556 loading. (Bug#9114)
12557
938b94c8
MR
125582011-07-21 Martin Rudalics <rudalics@gmx.at>
12559
12560 * window.el (display-buffer-pop-up-window)
12561 (display-buffer-pop-up-side-window)
12562 (display-buffer-in-side-window): Call display-buffer-set-height
12563 and display-buffer-set-width after setting the new window's
b796c9b7 12564 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12565
bfa4f190
SS
125662011-07-20 Sam Steingold <sds@gnu.org>
12567
12568 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12569 (etags-tags-included-tables): Call `convert-standard-filename' on
12570 the file names contained in TAGS so that windows Emacs can handle
12571 TAGS files created by cygwin ctags.
12572
8ca42262
LMI
125732011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12574
12575 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12576 which apparently didn't work.
12577
5db2afd2 125782011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12579
5db2afd2
RW
12580 * proced.el (proced-send-signal): For *Marked Processes* buffer
12581 put point at beginning of buffer.
12582
92e15d10
SB
125832011-07-19 Stephen Berman <stephen.berman@gmx.net>
12584
12585 * proced.el (proced-format): Make header lines align with the text
12586 (bug#1779).
12587
1bfd59e5
LMI
125882011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12589
12590 * view.el (view-buffer): Allow running in `special' modes if we're
12591 visiting a file (bug#8615).
12592
f5aae37c
MR
125932011-07-19 Martin Rudalics <rudalics@gmx.at>
12594
12595 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12596 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12597 New functions.
f5aae37c
MR
12598 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12599 more accurately.
12600
bf2c1571
AM
126012011-07-18 Alan Mackenzie <acm@muc.de>
12602
12603 Fontify declarators properly when, e.g., a jit-lock chunk begins
12604 inside a declaration.
12605
12606 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12607
b796c9b7
SM
12608 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12609 New function.
bf2c1571
AM
12610 (c-complex-decl-matchers): Insert reference to
12611 c-font-lock-enclosing-decls.
12612
12613 * progmodes/cc-engine.el (c-backward-single-comment):
12614 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12615 to nil around calls to (forward-comment -1).
12616
4e190b80
LMI
126172011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12618
12dc863d
LMI
12619 * image.el (put-image): Doc typo fix.
12620
a762e966
LMI
12621 * progmodes/etags.el (tags-search): Doc typo fix.
12622
4e190b80
LMI
12623 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12624 password if we get errors 550 to 554.
12625
f019fb21
LMI
126262011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12627
b796c9b7 12628 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12629
81746738
LMI
12630 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12631 indentation character (bug#6380).
12632
3ee3a1b5
LMI
12633 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12634
c82f64de
LMI
12635 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12636 to clarify what the problem is (bug#4291).
12637
f019fb21
LMI
12638 * simple.el (current-kill): Clarify what
12639 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12640 (auto-fill-mode): Document `auto-fill-function' in relation to
12641 `auto-fill-mode' (bug#2470).
f019fb21 12642
0794775d
LM
126432011-07-16 Lawrence Mitchell <wence@gmx.li>
12644
12645 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12646 method if slot is read-only (bug#9035).
12647
be39b8cc
MR
126482011-07-16 Martin Rudalics <rudalics@gmx.at>
12649
b796c9b7 12650 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12651 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12652 selected before, see discussion of (Bug#8615), (Bug#6954).
12653 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12654
6ccf7859
GM
126552011-07-15 Glenn Morris <rgm@gnu.org>
12656
12657 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12658 Respect help-form.
6ccf7859 12659
87e86684
LM
126602011-07-09 Lawrence Mitchell <wence@gmx.li>
12661
12662 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12663 (gnutls-negotiate): Use it.
12664
d6066239
LMI
126652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666
b796c9b7
SM
12667 * net/gnutls.el (gnutls-negotiate):
12668 Upcase `gnutls-algorithm-priority'.
d6066239 12669
bd23ebc0
GM
126702011-07-15 Glenn Morris <rgm@gnu.org>
12671
c65bca65
GM
12672 * jka-compr.el (jka-compr-verbose): Move from here...
12673 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12674 Add missing :version tag.
12675 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12676
478615cc
LMI
126772011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12678
7b41decb
LMI
12679 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12680 (gnutls-negotiate): Use it.
12681
dbc44fcd
LMI
12682 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12683
06789f97
LMI
12684 * info.el (Info-beginning-of-buffer): New command.
12685 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12686 announcing `b' as the key (bug#8325).
ab896c37 12687 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12688
c39da690
LMI
12689 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12690
3aa5f34b
LMI
12691 * international/mule-cmds.el
12692 (describe-specified-language-support): Make the error message
12693 clearer (bug#8905).
12694
4bf0979f
LMI
12695 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12696
478615cc
LMI
12697 * isearch.el (isearch-barrier): Add a doc string, since it's
12698 mentioned in a function doc string (bug#8678).
12699
75c68aa1
MR
127002011-07-15 Martin Rudalics <rudalics@gmx.at>
12701
12702 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12703 buffer argument (Bug#9083) and self-identifying label argument.
12704
a7c33da2
GM
127052011-07-15 Glenn Morris <rgm@gnu.org>
12706
12707 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12708
2f5c6024
LMI
127092011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12710
12711 * man.el (Man-fontify-manpage): Fix message when formatting the
12712 man page (bug#7929).
12713
0bb23927 127142011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12715
12716 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12717 argument LRM; if non-nil, append an invisible LRM character to the
12718 buffer name.
12719 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12720 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12721 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12722 paragraph direction.
cce4b0a7 12723
621ef9ab
LMI
127242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12725
d1583c48
LMI
12726 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12727 the man page name (bug#7929).
12728
6a57fb5f
LMI
12729 * image.el (put-image): Mention the `put-image' overlay property
12730 (bug#7834).
12731
d7956b14
LMI
12732 * scroll-bar.el (set-scroll-bar-mode): Mention that
12733 `scroll-bar-mode' lists the values (bug#7772).
12734
5b2d4a66
LMI
12735 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12736 command (bug#7729).
12737
7509a874
LMI
12738 * rect.el (apply-on-rectangle): Return the point after the last
12739 operation.
12740 (string-rectangle): Go to the point after the last operation
12741 (bug#7522).
12742
4fe74b19
LMI
12743 * printing.el (pr-toggle-region): Clarify the documentation
12744 slightly (bug#7493).
12745
b796c9b7
SM
12746 * time.el (display-time-update):
12747 Allow `display-time-mail-function' to return nil (bug#7158).
12748 Fix suggested by Detlev Zundel.
ab283561 12749
fc233c9d
LMI
12750 * vc/diff.el (diff): Clarify the order the file names are read
12751 (bug#7111).
12752
43f5740b
LMI
12753 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12754 the doc string (bug#7015).
12755
f2182a76
LMI
12756 * font-lock.el (font-lock-maximum-decoration): Mention what
12757 numeric levels mean (bug#6935).
12758
621ef9ab
LMI
12759 * startup.el (initial-buffer-choice): Don't mention the `none'
12760 selection, which is against policy.
12761
adc47434
MR
127622011-07-14 Martin Rudalics <rudalics@gmx.at>
12763
b796c9b7
SM
12764 * window.el (display-buffer-normalize-special):
12765 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12766
7e5bfb8f
EZ
127672011-07-14 Eli Zaretskii <eliz@gnu.org>
12768
12769 * subr.el (version<, version<=, version=): Mention "-CVS" and
12770 "-12345" alpha version numbers.
12771
27fa387a
CY
127722011-07-14 Chong Yidong <cyd@stupidchicken.com>
12773
12774 * bindings.el: Add advertised binding for set-mark-command
12775 (Bug#5772).
12776
8bdfa064
CY
127772011-07-14 Chong Yidong <cyd@stupidchicken.com>
12778
12779 * bindings.el (mode-line-other-buffer):
12780 * bookmark.el (bookmark-bmenu-2-window):
12781 * bs.el (bs-cycle-next, bs-cycle-previous):
12782 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12783 switch-to-buffer.
12784
12785 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12786 Delete.
8bdfa064 12787
5eba16a3
JB
127882011-07-14 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * follow.el (follow-debug-message, follow-redisplay):
12791 * jka-cmpr-hook.el (with-auto-compression-mode):
12792 Fix typos in docstrings.
12793
15853710
LMI
127942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12795
a28e4607
LMI
12796 * subr.el (with-silent-modifications): Clarify somewhat what the
12797 macro inhibits (bug#6525).
12798
15853710
LMI
12799 * simple.el (eval-expression): Note what it does if called
12800 interactively (bug#6495).
12801
bee0fcef
CY
128022011-07-13 Chong Yidong <cyd@stupidchicken.com>
12803
b796c9b7
SM
12804 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12805 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12806
12807 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12808 Remove switch-to-buffer.
12809
58274504
LMI
128102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12811
bd2fcc8d
LMI
12812 * files.el (make-directory): Clarify that an error will be raised
12813 if there's an error (bug#6397).
12814
0f04b32c
LMI
12815 * startup.el (initial-buffer-choice): Add `none' as a choice
12816 (bug#6234).
12817
465c5fc8
LMI
12818 * subr.el (add-hook): Clarify section about buffer-local hooks
12819 (bug#6218).
12820
58274504
LMI
12821 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12822
bead9a43
JB
128232011-07-13 Juanma Barranquero <lekktu@gmail.com>
12824
12825 * tabify.el (untabify): Preserve the current column so that point
12826 doesn't move (bug#6032).
12827
3af98a7b
LMI
128282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12829
b796c9b7
SM
12830 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12831 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12832
6240145a
GM
128332011-07-13 Glenn Morris <rgm@gnu.org>
12834
12835 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12836 (dired-insert-directory): Give a message the first time
12837 if ls is found not to support --dired.
12838
1d8c2ccc
LMI
128392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12840
12841 * simple.el (toggle-truncate-lines): Clarify what is toggled
12842 (bug#5580). Text by Drew Adams.
12843
5fc4038e
CY
128442011-07-13 Chong Yidong <cyd@stupidchicken.com>
12845
12846 * simple.el (blink-matching-open): Make the error message from the
12847 last change less verbose.
12848
bf6012e5
DN
128492011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12850
12851 * font-lock.el (font-lock-comment-face): Use the high contrast
12852 "yellow" color for font-lock-comment-face on low color terminals
12853 using a dark background color (bug#4221).
12854
343c3b5a
LMI
128552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12856
7e9505c5
LMI
12857 * dired.el (dired-insert-set-properties): Make the doc string
12858 reflect what it does now (bug#5325).
12859
c26fdcf5
LMI
12860 * simple.el (blink-matching-open): Say that we were unable to find
12861 the match within the limit, if we're limited (bug#5122).
12862
bb388cc5
LMI
12863 * international/mule-cmds.el (prefer-coding-system): Add an
12864 example (bug#4869).
12865
343c3b5a
LMI
12866 * progmodes/etags.el (tags-search): Document `file-list-form'
12867 (bug#4731).
12868
2a517d45
LM
128692011-07-13 Lawrence Mitchell <wence@gmx.li>
12870
12871 * net/browse-url.el (browse-url-default-browser)
12872 (browse-url-browser-function): Make the default browser choice a
12873 bit more logical (bug#4300). Also clean up the doc string.
12874
b6c78ef2
JB
128752011-07-13 Juanma Barranquero <lekktu@gmail.com>
12876
12877 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12878 binary endings (bug#4440).
12879
1c4dd947
LMI
128802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12881
a2014063
LMI
12882 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12883 which can be pretty annoying (bug#8971).
12884
9c9c2d88
LMI
12885 * jka-compr.el (jka-compr-verbose): New variable, and use
12886 throughout (bug#8971).
12887
1c4dd947
LMI
12888 * info.el (Info-find-file): Fall back on the installation
12889 directory if we can't find the info node anywhere else.
12890
a1c9f41b
SO
128912011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12892
12893 * vc/vc.el (vc-revert-file):
12894 Don't set file time-stamp in the past. (Bug#5181)
12895
536f3d36
LMI
128962011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12897
7152b011
LMI
12898 * files.el (after-find-file): Give a better error message when
12899 trying to find a symlink that points to a file that doesn't exist
12900 (bug#4398).
12901
536f3d36
LMI
12902 * progmodes/cc-vars.el: Remove (probably) misleading comment
12903 (bug#4396).
12904
460c0fba
JB
129052011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12906
12907 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12908
7a6bda45
CY
129092011-07-12 Chong Yidong <cyd@stupidchicken.com>
12910
12911 * mouse-sel.el: Hack restoring functionality, while keeping
12912 compatibility with 2010-07-03 changes to mouse selection.
12913 (mouse-sel-primary-overlay): New var.
12914 (mouse-sel-selection-alist): Use it.
12915 (mouse-sel-mode): Doc fix; remove points that are default features
12916 of mouse.el.
12917
c79598ef
JB
129182011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
12919
12920 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12921 Fix previous fix (bug#2490).
12922
ff8be6ef
RW
129232011-07-12 Roland Winkler <winkler@gnu.org>
12924
b796c9b7
SM
12925 * textmodes/bibtex.el (bibtex-initialize):
12926 Use pop-to-buffer-same-window.
ff8be6ef
RW
12927 (bibtex-search-entries): Fix interactive call.
12928
296ba3ee
LMI
129292011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12930
f5242a02 12931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12932 Fontise bytecomp Error lines more correctly (bug#2490).
12933 Fix suggested by Johan BockgĂ¥rd.
f5242a02 12934
296ba3ee
LMI
12935 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12936
12937 * dired-x.el (dired-guess-default): Use `delete-dups'.
12938
f69fd0d2
CY
129392011-07-12 Chong Yidong <cyd@stupidchicken.com>
12940
12941 * dired.el (dired-mark-prompt):
12942 * dired-aux.el (dired-read-shell-command): Doc fix.
12943
eab5dc07
LMI
129442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12945
b796c9b7
SM
12946 * mail/sendmail.el (sendmail-query-once):
12947 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12948 emacs -Q.
12949
12950 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12951
eab5dc07
LMI
12952 * cus-edit.el (custom-file): Take an optional no-error variable.
12953 (customize-save-variable): Set the variable, and give a warning if
12954 running under "emacs -q".
12955
a1e65d42
JB
129562011-07-11 Juanma Barranquero <lekktu@gmail.com>
12957
12958 * loadhist.el (unload-feature-special-hooks):
12959 Add `auto-coding-functions', `fill-nobreak-predicate' and
12960 `find-directory-functions' (bug#5327).
12961
1d52da10
LMI
129622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12963
be958f1d
LMI
12964 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12965
5bedb26c
LMI
12966 * cus-edit.el (custom-guess-name-alist): -alist variables should
12967 use the `alist' type (bug#3120). Suggested by Drew Adams.
12968
1d52da10
LMI
12969 * printing.el: Add documentation to all the `pr-toggle-' commands.
12970
cd394be1 129712011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12972
12973 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12974 backends where it makes sense (bug#2623).
12975
dcc88d8a
LMI
129762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12977
c3de9feb
LMI
12978 * dired-x.el (dired-guess-default): Remove duplicate shell command
12979 entries (bug#2028).
8a93078b 12980 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12981 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12982
dcc88d8a
LMI
12983 * subr.el (remove-duplicates): New conveniency function.
12984
505e3645
LMI
129852011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12986
12987 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12988 (bug#1526).
12989
129902011-07-10 Martin Rudalics <rudalics@gmx.at>
12991
12992 * window.el (display-buffer-normalize-default): Don't invert
12993 meaning of even-window-heights. Reported by Eli Zaretskii
12994 <eliz@gnu.org>.
12995
455e4fa1
BR
129962011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12997
12998 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12999
8e0bc3e9
CY
130002011-07-10 Chong Yidong <cyd@stupidchicken.com>
13001
13002 * window.el (display-buffer): Fix arguments to
13003 display-buffer-reuse-window in last change.
13004
fa7c3228
CY
13005 * faces.el (link): Use a less saturated blue on light backgrounds.
13006
13007 * startup.el (fancy-startup-text, fancy-about-text)
13008 (fancy-startup-tail): Use font-lock faces, for background safety.
13009
c0a7f300
BN
130102011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13011
b796c9b7
SM
13012 * emulation/viper-cmd.el (viper-change-state-to-vi):
13013 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13014
4dc2a129
MR
130152011-07-09 Martin Rudalics <rudalics@gmx.at>
13016
13017 * window.el (display-buffer-default-specifiers): Remove.
13018 (display-buffer-macro-specifiers): Remove default specifiers.
13019 (display-buffer-alist): Default to nil.
b796c9b7 13020 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13021 (display-buffer-pop-up-window): Allow splitting internal
13022 windows. Check whether a live window was created.
13023 (display-buffer-other-window-means-other-frame)
13024 (display-buffer-normalize-arguments): Rename to
13025 display-buffer-normalize-argument and rewrite. Set the
13026 other-window specifier.
13027 (display-buffer-normalize-special): New function.
13028 (display-buffer-normalize-options): Rename to
13029 display-buffer-normalize-default and rewrite.
13030 (display-buffer-normalize-options-inhibit): Remove.
13031 (display-buffer-normalize-specifiers): Rewrite.
13032 (display-buffer): Process other-window specifier and call
13033 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13034 more faithfully.
b796c9b7 13035 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13036 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13037 (display-buffer-in-window, display-buffer-alist-set):
13038 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13039 <tassilo@member.fsf.org>.
13040
2d43b8c9
LL
130412011-07-09 Leo Liu <sdl.web@gmail.com>
13042
13043 * register.el (insert-register): Restore accidental change on
13044 2011-06-26. (Bug#9028)
13045
7f9b7c53
GM
130462011-07-09 Glenn Morris <rgm@gnu.org>
13047
13048 * subr.el (remq): Handle the empty list. (Bug#9024)
13049
f042cfd8
AS
130502011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13051
13052 * mail/sendmail.el (send-mail-function): No longer delay custom
13053 initialization.
13054 * custom.el (custom-initialize-delay): Doc fix.
13055
856b2f11
SM
130562011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13059
afae1d68
MA
130602011-07-08 Michael Albinus <michael.albinus@gmx.de>
13061
13062 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13063 human-friendly prompt.
13064
0757af94
SM
130652011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13068 provided by a particular plugin.
13069
d760b731
LMI
130702011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13071
13072 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13073 save customizations (with "emacs -Q"), just set the variable
13074 instead of erroring out.
13075
13076 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13077
cd79ce90
JL
130782011-07-08 Juri Linkov <juri@jurta.org>
13079
13080 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13081 (archive-zip-update-case): Use 7z if found by `executable-find'.
13082 The order of searching the available programs is the same as in
13083 `archive-zip-extract' (bug#8968).
13084
14cc04aa
CY
130852011-07-07 Chong Yidong <cyd@stupidchicken.com>
13086
13087 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13088 (menu-bar-options-menu): Tweak descriptions.
13089
0a1848ec
LMI
130902011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13091
13092 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13093 menu items into verb phrases (bug#1421). Also refill to fit under
13094 80 columns.
13095
f5bd0689
CY
130962011-07-07 Chong Yidong <cyd@stupidchicken.com>
13097
538e85c6
CY
13098 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13099 (Info-read-node-name): Doc fix (Bug#1084).
13100
f5bd0689
CY
13101 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13102 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13103 (end-of-sexp, beginning-of-sexp)
13104 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13105 (forward-symbol, forward-same-syntax, word-at-point)
13106 (sentence-at-point): Doc fix (Bug#1144).
13107
56ec5115
LMI
131082011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13109
f3f8e37f
LMI
13110 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13111 should cover it (bug#1281).
13112
0757af94 13113 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13114
e9fce1ac 13115 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13116 negotiation fails, then possibly try again with a non-encrypted
13117 connection (bug#9017).
13118
56ec5115
LMI
13119 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13120 be used.
13121
c2f9aec8
RS
131222011-07-07 Richard Stallman <rms@gnu.org>
13123
13124 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13125 property, and handle its changed format.
13126 Look for the correct line number.
13127 Use file's line contents (but not past first =) to find
13128 correct line in message.
13129
ef7b981d 131302011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13131
13132 * international/characters.el (build-unicode-category-table):
13133 Delete it.
0757af94 13134 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13135
0757af94 13136 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13137 to src/chartab.c.
13138 (get-char-code-property): Call unicode-property-table-internal to
13139 load a file. Call get-unicode-property-internal where necessary.
13140 (put-char-code-property): Call unicode-property-table-internal to
13141 load a file. Call put-unicode-property-internal where necessary.
13142 put-unicode-property-internal where necessary.
0757af94
SM
13143 (char-code-property-description):
13144 Call unicode-property-table-internal to load a file.
c805dec0
KH
13145
13146 * international/charprop.el:
13147 * international/uni-bidi.el:
13148 * international/uni-category.el:
13149 * international/uni-combining.el:
13150 * international/uni-comment.el:
13151 * international/uni-decimal.el:
13152 * international/uni-decomposition.el:
13153 * international/uni-digit.el:
13154 * international/uni-lowercase.el:
13155 * international/uni-mirrored.el:
13156 * international/uni-name.el:
13157 * international/uni-numeric.el:
13158 * international/uni-old-name.el:
13159 * international/uni-titlecase.el:
13160 * international/uni-uppercase.el: Regenerate.
13161
13162 * loadup.el: Load international/charprop.el before
13163 international/characters.
13164
e14b388a
CY
131652011-07-07 Chong Yidong <cyd@stupidchicken.com>
13166
13167 * window.el (next-buffer, previous-buffer): Signal an error if
13168 called from a minibuffer window.
13169
13170 * bindings.el: Revert 2011-07-04 change.
13171
354cf0ba
RS
131722011-07-06 Richard Stallman <rms@gnu.org>
13173
13174 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13175 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13176 Treat markers like ints.
13177 (rmail-mime-entity): Doc fix.
13178
a48868a7
LMI
131792011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13180
4906cd3d
LMI
13181 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13182 defcustom again for backwards compatibility.
13183
e0457abe
LMI
13184 * simple.el (shell-command-on-region): Fill.
13185
d67f7e1f
LMI
13186 * dired-aux.el (dired-kill-line): Add a doc string.
13187
fe204702
LMI
13188 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13189 to "\\sw\\|\\s_" (bug#358).
13190
a48868a7
LMI
13191 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13192 (dired-unmark-backward): Ditto.
13193 (dired-flag-backup-files): Ditto.
13194
13195 * dired-x.el (dired-mark-sexp): Ditto.
13196
aa8a705c
RS
131972011-07-06 Richard Stallman <rms@gnu.org>
13198
13199 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13200 (rmail-mime-entity): New arg TRUNCATED.
13201 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13202 New functions.
13203 (rmail-mime-save): Warn if entity is truncated.
13204 (rmail-mime-toggle-hidden): Likewise, for showing.
13205 (rmail-mime-process-multipart): Record when an entity is truncated.
13206
a9a936b9
RS
13207 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13208 if ENTITY is a string.
13209
1f2b92cb
LMI
132102011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
f4f73198 13212 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13213 of faces when `M-C-x'-ing their definitions (bug#8378).
13214 Also clean up the code slightly.
f4f73198 13215
12b16734 13216 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13217 because that makes the colors go away.
12b16734 13218
f0691d22
LMI
13219 * mail/sendmail.el (send-mail-function): Change the default to
13220 `sendmail-query-once'.
9e87df06 13221 (sendmail-query-once): Add an autoload cookie.
f0691d22 13222
1f2b92cb
LMI
13223 * net/network-stream.el (network-stream-open-starttls): Try using
13224 a plain connection even if the server offered STARTTLS, and we
13225 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13226 capability. This should make smtpmail.el work in slightly more
13227 configurations.
13228
1cdd2a1b
MA
132292011-07-06 Michael Albinus <michael.albinus@gmx.de>
13230
13231 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13232 New defun.
13233 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13234
fbcc67e2
MM
132352011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13236
13237 * progmodes/sql.el: Version 3.0
0757af94 13238 (sql-product-alist): Add product :completion-object,
fbcc67e2 13239 :completion-column, and :statement attributes.
0757af94 13240 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13241 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13242 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13243 ansi keywords.
13244 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13245 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13246 (sql-oracle-show-reserved-words): New function for development.
13247 (sql-product-font-lock): Simplify for source code buffers.
13248 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13249 New functions.
13250 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13251 (sql-mode-map): Add statement movement functions.
13252 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13253 New variable.
fbcc67e2
MM
13254 (sql-statement-regexp, sql-beginning-of-statement)
13255 (sql-end-of-statement, sql-signum): New functions.
0757af94 13256 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13257 (sql-show-sqli-buffer): Bug fix.
13258 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13259 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13260 with sql-interactive-mode.
13261 (sql-save-connection): Save buffer local settings.
0757af94 13262 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13263 (sql-product-interactive): Bug fix.
13264 (sql-preoutput-hold): New variable.
13265 (sql-interactive-remove-continuation-prompt): Bug fixes.
13266 (sql-debug-redirect): New variable.
13267 (sql-str-literal): New function.
13268 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13269 Redesign.
fbcc67e2
MM
13270 (sql-oracle-save-settings, sql-oracle-restore-settings)
13271 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13272 (sql-completion-object, sql-completion-column)
13273 (sql-completion-sqlbuf): New variables.
13274 (sql-build-completions-1, sql-build-completions)
13275 (sql-try-completion): New functions.
13276 (sql-read-table-name): Use them.
13277 (sql-contains-names): New buffer local variable.
13278 (sql-list-all, sql-list-table): Use it.
13279 (sql-oracle-completion-types): New variable.
13280 (sql-oracle-completion-object, sql-sqlite-completion-object)
13281 (sql-postgres-completion-object): New functions.
13282
d4eaeab1
GM
132832011-07-06 Glenn Morris <rgm@gnu.org>
13284
13285 * window.el (pop-to-buffer): Doc fix.
13286
322b7dab 132872011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13288
13289 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13290
322b7dab 132912011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13292
322b7dab 13293 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13294
322b7dab 13295 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13296
605dd5bf
CY
132972011-07-05 Chong Yidong <cyd@stupidchicken.com>
13298
13299 * button.el (button): Inherit from link face. Suggested by Dan
13300 Nicolaescu.
13301
7dbfa719
SM
133022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13303
3db614b0
SM
13304 * progmodes/gdb-mi.el: Fit in 80 columns.
13305 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13306 switch-to-buffer.
13307
7dbfa719
SM
13308 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13309 if imenu is simply not configured (bug#8941).
13310
919d884a
KM
133112011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13312
13313 * allout.el (allout-post-undo-hook): New allout outline-change
13314 event hook to signal undo activity.
13315 (allout-post-command-business): Run allout-post-undo-hook if an
13316 undo just occurred.
7dbfa719
SM
13317 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13318 * allout-widgets.el (allout-widgets-after-undo-function):
13319 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13320 in the vicinity of an undo.
13321 (allout-widgets-mode): Include allout-widgets-after-undo-function
13322 on the new allout-post-undo-hook.
13323
450a0f09
SM
133242011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13327 Let define-derived-mode define it.
13328 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13329 cycles of abbrev-table inheritance (bug#8998).
13330
2de69e00
RW
133312011-07-05 Roland Winkler <winkler@gnu.org>
13332
13333 * textmodes/bibtex.el: Add support for biblatex.
13334 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13335 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13336 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13337 (bibtex-entry-alist, bibtex-field-alist): New variables.
13338 (bibtex-entry-field-alist): Obsolete alias for
13339 bibtex-BibTeX-entry-alist.
13340 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13341 (bibtex-set-dialect): New command.
13342 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13343 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13344 Bind via bibtex-set-dialect.
2de69e00
RW
13345 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13346 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13347 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13348 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13349 Define via bibtex-set-dialect.
450a0f09
SM
13350 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13351 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13352 (bibtex-vec-push, bibtex-vec-incr): New functions.
13353 (bibtex-format-entry, bibtex-field-list)
13354 (bibtex-print-help-message, bibtex-validate)
13355 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13356
2dcdbdd9
SM
133572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * progmodes/compile.el (compilation-goto-locus):
13360 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13361 * bs.el (bs-cycle-next, bs-cycle-previous):
13362 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13363 * bindings.el (mode-line-other-buffer):
13364 * autoinsert.el (auto-insert):
13365 * arc-mode.el (archive-extract):
13366 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13367
b27640fe
JB
133682011-07-05 Juanma Barranquero <lekktu@gmail.com>
13369
13370 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13371 Fix check of `emacs-lock-unlockable-modes'.
13372 Coerce true values of `emacs-lock--try-unlocking' to t.
13373
53bbe3ad
JB
133742011-07-05 Juanma Barranquero <lekktu@gmail.com>
13375
13376 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13377 * emacs-lock.el: New file.
13378
1d3cdbc7
JD
133792011-07-05 Julien Danjou <julien@danjou.info>
13380
13381 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13382 than `boundp' to check if face is set.
13383
9173deec
JB
133842011-07-05 Juanma Barranquero <lekktu@gmail.com>
13385
13386 * register.el (registerv-make):
13387 * window.el (window-min-height): Fix typos in docstrings.
13388
869795d6
JD
133892011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13390
9173deec 13391 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13392 Update doc string.
13393
b768cdcd
JB
133942011-07-04 Juanma Barranquero <lekktu@gmail.com>
13395
13396 * server.el (server-execute): Catch quit and call
13397 `server-return-error' to pass the error back to emacsclient and
13398 close the connection (bug#8942).
13399
13aa217b
KM
134002011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13401
13402 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13403 insecure exception for current topic. Also note that auto-saves
13404 are handled differently.
13405
5d3385a0 13406 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13407 State variables for tracking auto-save inhibition situation.
13408
13409 (allout-write-contents-hook-handler): Rename from
13410 'allout-write-file-hook-handler', and describe how it depends on
13411 write-contents-functions sensitivity to non-nil value to prevent
13412 file write.
13413
13414 (allout-auto-save-hook-handler): Remove. auto-save does not check
13415 this in individual buffers, only in the starting buffer, so this
13416 is not the right way for us to inhibit auto-save in a buffer
13417 according to its condition.
13418
13419 (allout-mode): Use new allout-write-contents-hook-handler, and
13420 only with write-contents-functions. Remove auto-save provisions -
13421 they're implemented elsewhere.
13422
13423 (allout-before-change-handler): If undo is in progress, note that
13424 for attention of allout-post-command-business.
13425
13426 (allout-post-command-business): If the command we're following was
13427 an undo, check for change in the status of encrypted items and
13428 adjust auto-save inhibitions accordingly.
13429
13430 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13431 according to whether there are or aren't any plain-text topics
13432 pending encryption.
13433
2dcdbdd9 13434 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13435 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13436 if there are plain-text topics pending encryption.
13aa217b
KM
13437
13438 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13439 buffer-saved-size and some allout state to not inhibit auto-saves
13440 if there are no longer any plain-text topics pending encryption.
13441
0757af94
SM
13442 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13443 No longer provide for exemption of the current topic.
13aa217b 13444
ac89b32c
JL
134452011-07-04 Juri Linkov <juri@jurta.org>
13446
13447 Add 7z operations to delete and save changed members (bug#8968).
13448 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13449 New defcustoms.
13450 (archive-7z-write-file-member): New function.
13451 (archive-7z-summarize): Fix the number of dashes in the
13452 listing output.
13453
8fa39615
SM
134542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13455
13456 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13457 (bug#8958).
13458
2f11b3f1
CY
134592011-07-04 Chong Yidong <cyd@stupidchicken.com>
13460
d66fef2b
CY
13461 * bindings.el: Ignore next-buffer and previous-buffer in
13462 minibuffer-local-map.
13463
2f11b3f1
CY
13464 * font-lock.el (font-lock-builtin-face): Change light background
13465 color to dark slate blue (Bug#6693).
13466
f932a347
WD
134672011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13468
13469 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13470
c8af70e1
SM
134712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13472
13473 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13474 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13475 Add switch-to-buffer.
13476
f158badc
LMI
134772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13478
13479 * isearch.el (isearch-search-fun-function): Clarify further the
13480 meaning of the function returned.
13481
6d95bd46
MA
134822011-07-04 Michael Albinus <michael.albinus@gmx.de>
13483
13484 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13485
13486 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13487 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13488 Use it.
13489 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13490 `tramp-default-remote-path' does not exist.
13491 (tramp-send-command-and-read): New optional argument NOERROR.
13492 (tramp-open-connection-setup-interactive-shell)
13493 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13494 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13495 (tramp-process-sentinel): Flush also process' connection property.
13496 (tramp-sh-handle-start-file-process): Do not set process
13497 sentinel. It is done now ...
13498 (tramp-maybe-open-connection): ... here. (Bug#8929)
13499
909e6b67
MK
135002011-07-04 MON KEY <monkey@sandpframing.com>
13501
13502 * play/animate.el (animate-string): Doc fixes and allow changing
13503 the buffer name (bug#5417).
13504
135052011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13506
c8af70e1 13507 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13508
f34755dc
PE
135092011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13510
396cec72
PE
13511 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13512 This is simpler and helps future-proof the code.
13513 (timer-until): Use time-subtract and float-time.
08235028 13514 (timer--time-less-p): Use time-less-p.
f34755dc 13515
56e6cc31
JB
135162011-07-04 Juanma Barranquero <lekktu@gmail.com>
13517
3abb79e5
JB
13518 * type-break.el (timep): Use the value of `float-time' to avoid a
13519 byte-compiler warning.
13520
56e6cc31
JB
13521 * server.el (server-eval-and-print): Return any result, even nil.
13522
7b9430b4
PE
135232011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13524
13525 * type-break.el: Accept time formats that the builtins accept.
13526 (timep, type-break-time-difference): Accept any format that
13527 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13528 This is simpler and helps future-proof the code.
13529 (type-break-time-difference): Round rather than ignoring
13530 subseconds components.
13531
3034e9e7
LMI
135322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13533
13534 * info.el (Info-apropos-matches): Make non-interactive, since it
13535 doesn't seem to do anything useful as a command (bug#8829).
13536
1485f4c0
CY
135372011-07-03 Chong Yidong <cyd@stupidchicken.com>
13538
13539 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13540 Move from faces.el.
1485f4c0
CY
13541 (frame-default-terminal-background): New function.
13542
13543 * custom.el (custom-push-theme): Don't record faces in `changed'
13544 theme; this doesn't work correctly for per-frame face settings.
13545 (disable-theme): Use face-set-after-frame-default to reset faces.
13546 (custom--frame-color-default): New function.
13547
9fa3dd45
LMI
135482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13549
c8af70e1 13550 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13551 (bug#8769).
13552
6cbbc20c
KR
135532011-03-29 Kevin Ryde <user42@zip.com.au>
13554
13555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13556 `perl-Test2' extend to match possible "fail #N" rep count
13557 (bug#8377).
13558
c7f98048
LMI
135592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13560
65676592
LMI
13561 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13562 `smtpmail-via-smtp' now returns the error instead of nil.
13563
c7f98048
LMI
13564 * isearch.el (isearch-search-fun-function): Clarify the doc string
13565 (bug#8101).
13566
56e6cc31 135672011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13568
13569 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13570 unnecessary spaces (bug#8987).
13571
2b216704
LMI
135722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13573
13574 * net/network-stream.el (open-network-stream): Use the
13575 :end-of-capability command thoughout.
13576
135772011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13578
13579 * net/network-stream.el (open-network-stream): Add the
13580 :end-of-capability command parameter, used by pop3.el.
13581
36adf6ce
LMI
135822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13583
1ca0da0e
LMI
13584 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13585
fc00f69c
LMI
13586 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13587 for list)" (bug#6475).
13588
28fd8759 13589 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13590 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13591 an error (bug#6297).
13592
0dd8b6da
LMI
13593 * man.el (Man-reference-regexp): Allow matching possible
13594 word-wrapped references (bug#6289).
13595
ce1438d6
LMI
13596 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13597 for consistency with the other vc buffers (bug#6197).
13598 (vc-checkin): Ditto.
13599
13600 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13601
36adf6ce
LMI
13602 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13603
e83cc1f7
LMI
136042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13605
8a20ca4c
LMI
13606 * custom.el (defcustom): Clarify that :set is only used in the
13607 Customize user interface (bug#6089).
13608
83319045
LMI
13609 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13610 associated with a file, refuse to run instead of erroring out
13611 (bug#6084).
13612
a8392169
LMI
13613 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13614 the doc string, since it appears that using `fill-column' always
13615 controls the width (bug#7845).
13616
e83cc1f7
LMI
13617 * simple.el (shell-command-on-region): Say where the error output
13618 went if `shell-command-default-error-buffer' is set (bug#6857).
13619
e47ca23b
KM
136202011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13621
13622 * allout.el (allout-yank-processing): Adjust cursor position for
13623 backwards-deleted space.
13624
13625 (allout-rebullet-heading): Register changes with
13626 allout-exposure-changed-hook, so the modified topic is properly
13627 decorated.
13628
5cf56143
LMI
136292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13630
08549772
LMI
13631 * minibuffer.el (completion-in-region): Document PREDICATE
13632 (bug#7136).
13633
48e96771
LMI
13634 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13635 of keyword/argument pairs (bug#6904).
13636
c8af70e1
SM
13637 * replace.el (multi-occur):
13638 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13639
e17d05e2
LMI
136402011-07-02 Drew Adams <drew.adams@oracle.com>
13641
13642 * dired.el (dired-mark-if): Make the message about whether it's
13643 marking or unmarking clearer (bug#8523).
13644
063b0e45
LMI
136452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13646
13647 * disp-table.el (display-table-print-array): New function.
13648 (describe-display-table): Use it to print the vectors more pretty
13649 (Bug#8859).
13650
28545e04
MR
136512011-07-02 Martin Rudalics <rudalics@gmx.at>
13652
13653 * window.el (window-state-get-1): Don't assign clone numbers.
13654 Add clone-of item to list of window parameters.
13655 (window-state-put-2): Don't process clone numbers.
13656 (display-buffer-alist): Fix doc-string.
13657
3349e122
SM
136582011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * subr.el (remq): Don't allocate if it's not needed.
13661 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13662 (keymap--merge-bindings): New functions.
13663 (keymap-canonicalize): Use them to refine the canonicalization.
13664 * minibuffer.el (minibuffer-local-completion-map)
13665 (minibuffer-local-must-match-map): Move initialization from C.
13666 (minibuffer-local-filename-completion-map): Move initialization from C;
13667 don't inherit from anything here.
13668 (minibuffer-local-filename-must-match-map): Make obsolete.
13669 (completing-read-default): Use make-composed-keymap to combine
13670 minibuffer-local-filename-completion-map with either
13671 minibuffer-local-must-match-map or
13672 minibuffer-local-filename-completion-map.
13673
d224ac83
GM
136742011-07-01 Glenn Morris <rgm@gnu.org>
13675
3de63bf8
GM
13676 * type-break.el (type-break-time-sum): Use dolist.
13677
d224ac83
GM
13678 * textmodes/flyspell.el (flyspell-word-search-backward):
13679 Replace CL function.
13680
1a1e3f32
SM
136812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13682
fe3f64d5
SM
13683 * mouse.el (mouse--strip-first-event): New function.
13684 (function-key-map): Use it to map fringe clicks to normal clicks
13685 by default.
13686
eb604e34
SM
13687 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13688 (vc-bzr-revision-completion-table): Add support for annotate and date.
13689
1a1e3f32
SM
13690 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13691 inherit from parent.
13692
5bd35902
LMI
136932011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13694
ace6c69c 13695 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13696 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13697
191e2bed
LMI
13698 * dired.el (dired-mode): Fix up the doc string as suggested by
13699 Drew Adams (bug#8817).
13700
5bd35902
LMI
13701 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13702 cookie, since the manual says that it should be possible to add
13703 this function to `find-file-hook' (bug#8709).
13704
eee8207a
TZ
137052011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13706
13707 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13708 here. Noted Ted Zlatanov as the maintainer.
13709 (cfengine-common-settings, cfengine-common-syntax): New functions
13710 to set up common things between `cfengine-mode' and
13711 `cfengine3-mode'.
13712 (cfengine3-mode): New mode.
13713 (cfengine3-defuns cfengine3-defuns-regex
13714 (cfengine3-class-selector-regex cfengine3-category-regex)
13715 (cfengine3-vartypes cfengine3-font-lock-keywords)
13716 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13717 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13718
36b148cf
MA
137192011-07-01 Michael Albinus <michael.albinus@gmx.de>
13720
13721 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13722
13723 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13724
0bf4ba9a
MR
137252011-07-01 Martin Rudalics <rudalics@gmx.at>
13726
13727 * window.el (same-window-buffer-names, same-window-regexps)
13728 (same-window-p, special-display-frame-alist)
13729 (special-display-popup-frame, special-display-function)
13730 (special-display-buffer-names, special-display-regexps)
13731 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13732 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13733 (split-window-preferred-function, split-height-threshold)
13734 (split-width-threshold, even-window-heights)
13735 (display-buffer-mark-dedicated, window-splittable-p)
13736 (split-window-sensibly, window-safely-shrinkable-p):
13737 Un-obsolete.
13738 (display-buffer): Don't spread args with function specifier
13739 because special-display-popup-frame won't like it.
13740
35837f51
PE
137412011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13742
d0672f86
PE
13743 Time-stamp simplifications and fixes.
13744 These improve accuracy slightly, and future-proof the code
13745 against some potential changes to current-time format.
13746
b9444d97
PE
13747 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13748 by using time-since and float-time.
13749
0ef923dc
PE
13750 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13751 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13752 + NNN microseconds".
13753
2f81380d
PE
13754 * type-break.el (type-break-time-sum): Rewrite using time-add.
13755
845b5c3e
PE
13756 * play/hanoi.el (hanoi-current-time-float): Remove.
13757 All uses replaced by float-time.
13758
ee6f1be0
PE
13759 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13760 This yields a more-accurate answer.
13761 (rng-time-to-float): Remove; no longer needed.
13762
fe955043
PE
13763 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13764
5777162a
PE
13765 * calendar/timeclock.el (timeclock-seconds-to-time):
13766 Defalias to seconds-to-time, since they're the same thing.
13767
3103f8b6 13768 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13769 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13770 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13771
0e61a35f
SM
137722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13773
13774 * window.el (bury-buffer): Don't iconify the only frame.
13775 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13776 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13777
ddd63a1e
CY
137782011-07-01 Chong Yidong <cyd@stupidchicken.com>
13779
0e61a35f
SM
13780 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13781 Add mouse-yank-primary.
ddd63a1e 13782
055f4923
TZ
137832011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13784
13785 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13786
6a2fb145
SM
137872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13790 (find-library-name): Use it to find relative load names when provided
13791 absolute file name (bug#8803).
13792
fd4983f2
LMI
137932011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13794
887d14ad
LMI
13795 * textmodes/flyspell.el (flyspell-word): Consider words that
13796 differ only in case as potential doublons (bug#5687).
13797
c53dc7fc
LMI
13798 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13799 Remove two rather uninteresting debugging-like messages to make
13800 debbugs.el more silent.
13801
fd4983f2
LMI
13802 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13803 a password-like phrase.
13804
7a71b18d 138052011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13806
13807 * progmodes/cc-guess.el: New file.
13808
6a2fb145 13809 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13810
13811 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13812 derived from `c-basic-common-init'.
13813
13814 * progmodes/cc-mode.el (top-level): Require cc-guess.
13815 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13816
1fa280a3
LM
138172011-06-30 Lawrence Mitchell <wence@gmx.li>
13818
13819 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13820
e6597158
AM
138212011-06-30 Alan Mackenzie <acm@muc.de>
13822
1fa280a3
LM
13823 * progmodes/cc-engine.el (c-guess-continued-construct):
13824 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13825 lock is disabled. Name this case as "CASE G".
13826
68ba37fb
KM
138272011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13828
13829 * allout.el (allout-yank-processing): Fix injection of extra space
13830 between bullet and non-whitespace character in first topic when
13831 pasting, ensuring that the actual spacing in the pasted topic
13832 following the bullet char is preserved. This extra space was
13833 causing pasted encrypted topics to get a decrypted status even
13834 when the content was actually still encrypted. Now the decryption
13835 status from before the paste is preserved.
13836
13837 (allout-flag-region): Set all allout overlays so they evaporate
13838 when reduced to zero length (evanescent), to prevent overlay
13839 leakage.
13840
887a0b34
GM
138412011-06-30 Glenn Morris <rgm@gnu.org>
13842
94b9acce
GM
13843 * w32-fns.el (w32-charset-info-alist): Declare.
13844
1d9b46d4
GM
13845 * find-dired.el (find-grep-options): Simplify.
13846
cc232200
GM
13847 * term/ns-win.el (ns-set-resource): Declare.
13848
28e77c46
GM
13849 * ses.el (row, col): Declare dynamic variables honestly.
13850
887a0b34
GM
13851 * textmodes/reftex-parse.el (index-tags): Declare.
13852
658d8eb8
CY
138532011-06-30 Chong Yidong <cyd@stupidchicken.com>
13854
13855 * cus-edit.el (customize-push-and-save): New function.
13856
13857 * files.el (hack-local-variables-confirm): Use it.
13858
1fa280a3
LM
13859 * custom.el (load-theme): New arg NO-CONFIRM.
13860 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13861 (custom-enabled-themes): Doc fix.
13862
13863 * cus-theme.el (customize-create-theme)
13864 (custom-theme-merge-theme): Callers to load-theme changed.
13865
bb617717
LMI
138662011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13867
d61bdd5d
LMI
13868 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13869 short URLs have at least one dot in them (bug #7614).
13870
bb617717
LMI
13871 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13872 nil, because using a pty is apparently too slow (bug #895).
13873
2f31f37a
LMI
138742011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13875
13876 * mail/sendmail.el (sendmail-query-once): New function.
13877 (sendmail-query-once-function): New variable.
13878
3076b24e
GM
138792011-06-29 Glenn Morris <rgm@gnu.org>
13880
faf2a174
GM
13881 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13882
3076b24e
GM
13883 * ses.el (top-level): Require cl when compiling.
13884 (ses-set-localvars): Fix error statement.
13885 Call it at compile time to silence a storm of warnings.
13886
5386012d
MR
138872011-06-29 Martin Rudalics <rudalics@gmx.at>
13888
13889 * window.el (normalize-live-buffer): Rename to
13890 window-normalize-buffer.
13891 (normalize-live-frame): Rename to window-normalize-frame.
13892 (normalize-any-window): Rename to window-normalize-any-window.
13893 (normalize-live-window): Rename to window-normalize-live-window.
13894 (make-window-atom): Rename to window-make-atom.
13895 (window-resize-reset): Rename to window--resize-reset.
13896 (window-resize-reset-1): Rename to window--resize-reset-1.
13897 (resize-mini-window): Rename to window--resize-mini-window.
13898 (resize-subwindows-skip-p): Rename to
13899 window--resize-subwindows-skip-p.
13900 (resize-subwindows-normal): Rename to
13901 window--resize-subwindows-normal.
13902 (resize-subwindows): Rename to window--resize-subwindows.
13903 (resize-other-windows): Rename to window--resize-siblings.
13904 (resize-this-window): Rename to window--resize-this-window.
13905 (resize-root-window): Rename to window--resize-root-window.
13906 (resize-root-window-vertically): Rename to
13907 window--resize-root-window-vertically.
13908 (normalize-buffer-to-display): Rename to
13909 window-normalize-buffer-to-display.
13910 (normalize-buffer-to-switch-to): Rename to
13911 window-normalize-buffer-to-switch-to.
13912 Correspondingly update all callers of the functions listed
13913 above.
13914 (display-buffer-alist, display-buffer-normalize-arguments)
13915 (display-buffer-normalize-options, display-buffer)
13916 (display-buffer-alist-set): Use "function" instead of
13917 "fun-with-args".
13918
1176868d
CY
139192011-06-28 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13922 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13923 debbugs.gnu.org. Mention acknowledgment email.
13924
20a7a65f
LMI
139252011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13926
13927 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13928 buffer multibyteness, since it shouldn't matter.
13929
5f45cca5
MR
139302011-06-28 Martin Rudalics <rudalics@gmx.at>
13931
13932 * window.el (display-buffer-in-side-window): Handle dedicated
13933 windows as in display-buffer-reuse-window.
13934 (display-buffer-normalize-alist): Use value of override
13935 specifier.
13936 (display-buffer-normalize-specifiers): Use value of
13937 other-window-means-other-frame specifier.
13938 (display-buffer-alist): Rewrite some texts in widgets.
13939 (display-buffer): Spread arguments when calling function
13940 specified by fun-with-args.
13941
ad85fe1f
DD
139422011-06-28 Deniz Dogan <deniz@dogan.se>
13943
1fa280a3
LM
13944 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13945 Unnest `let'.
da68c4c8 13946
ad85fe1f
DD
13947 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13948 selectors (Bug#5732).
ec49bd31 13949 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13950
a08cc025
JA
139512011-06-27 Jari Aalto <jari.aalto@cante.net>
13952
13953 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13954 (eshell-ls-date-format): New defcustom.
13955 (eshell-ls-file): Use it.
13956
e2b551c5
SM
139572011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13958
13959 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13960
8982b231
KY
139612011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13962
13963 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13964 (ange-ftp-make-tmp-name): New arg.
13965 (ange-ftp-file-local-copy): Use it.
13966
36c9fa27
J
139672011-06-27 Jambunathan K <kjambunathan@gmail.com>
13968
13969 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13970 no-conversion (Bug#8870).
13971
d68443dc
MR
139722011-06-27 Martin Rudalics <rudalics@gmx.at>
13973
13974 * window.el (window-right, window-left, window-child)
13975 (window-child-count, window-last-child)
13976 (window-iso-combination-p, walk-window-tree-1)
13977 (window-atom-check-1, window-tree-1, delete-window)
13978 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13979 new naming conventions - window-vchild, window-hchild,
13980 window-next and window-prev are now called window-top-child,
13981 window-left-child, window-next-sibling and window-prev-sibling
13982 respectively.
d615d6d2
MR
13983 (resize-window-reset): Rename to window-resize-reset.
13984 (resize-window-reset-1): Rename to window-resize-reset-1.
13985 (resize-window): Rename to window-resize.
13986 (window-min-height, window-min-width)
13987 (resize-mini-window, resize-this-window, resize-root-window)
13988 (resize-root-window-vertically, adjust-window-trailing-edge)
13989 (enlarge-window, shrink-window, maximize-window)
13990 (minimize-window, delete-window, quit-restore-window)
13991 (split-window, balance-windows, balance-windows-area-adjust)
13992 (balance-windows-area, window-state-put-2)
13993 (display-buffer-even-window-sizes, display-buffer-set-height)
13994 (display-buffer-set-width, set-window-text-height)
13995 (fit-window-to-buffer): Rename all "resize-window" prefixed
13996 calls to use the "window-resize" prefix convention.
13997 (display-buffer-alist): Fix symbol for label specifier.
13998 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13999 corresponding specifier.
14000 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14001
b6458526
VB
140022011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14003
14004 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14005 convention.
14006 (ses-call-printer): Does not pass an empty string to formatter when the
14007 cell is empty to keep from barking printer Calc math-format-value.
14008
d31fd9ac
RS
140092011-06-27 Richard Stallman <rms@gnu.org>
14010
43d5bf84
RS
14011 * battery.el (battery-mode-line-limit): New variable.
14012 (battery-update): Handle it.
14013
d31fd9ac
RS
14014 * mail/rmailmm.el (rmail-mime-process-multipart):
14015 Handle truncated messages.
14016
819a6054
GM
140172011-06-27 Glenn Morris <rgm@gnu.org>
14018
14019 * progmodes/flymake.el (flymake-err-line-patterns):
14020 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14021
cedc73f2
VB
140222011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14023
819a6054 14024 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14025 (ses--clean-!, ses--clean-_): New functions.
14026 (ses-range): Add configurability of readout order, and conversion
14027 to Calc vector.
14028
5e5d49b6
VB
14029 * ses.el (ses-repair-cell-reference-all): New function.
14030 (ses-cell-symbol): Set macro as safe, so that it can be used in
14031 formulas.
14032
56e6cc31 14033 * ses.el: Update cycle detection algorithm.
90ca8b49 14034 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14035 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14036 (ses-set-localvars): New function.
14037 (ses-make-cell): Add property-list as a cell element.
14038 (ses-cell-property-get-fun, ses-cell-property-get)
14039 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14040 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14041 New functions.
90ca8b49
VB
14042 (ses-cell-property-set, ses-cell-property-pop)
14043 (ses-cell-property-get-handle): New macro.
14044 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14045 New aliases, used for code readability.
14046 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14047 cycle detection.
14048 (ses-self-reference-early-detection): New defcustom.
fac916bf 14049 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14050 (ses-mode): Use ses-set-localvars.
14051 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14052 before lauching the update processing.
14053 (ses-initialize-Dijkstra-attempt): New function.
14054 (ses-recalculate-cell): Update for cycle detection based on
14055 Dijkstra algorithm.
14056
2bb63e81
VB
14057 * ses.el: Fix commenting and indenting convention.
14058
c9d29fb8
SM
140592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14060
14061 * bs.el (bs-cycle-next): Complete last change.
14062
d8e4b68b
JB
140632011-06-27 Drew Adams <drew.adams@oracle.com>
14064
14065 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14066
40098786
LMI
140672011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14068
c9d29fb8
SM
14069 * net/network-stream.el (network-stream-open-starttls):
14070 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14071 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14072
40098786
LMI
14073 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14074 to binary to possibly avoid line encoding issues on Windows (among
14075 other things).
14076
468d09d4
LMI
140772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14078
14079 * net/network-stream.el (open-network-stream): Return an :error
14080 saying what the problem was, if possible.
14081
14082 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14083 server.
14084
14085 * net/network-stream.el (network-stream-open-starttls): If we
14086 wanted to use STARTTLS, and the server offered it, but we weren't
14087 able to because we had no STARTTLS support, then close the connection.
14088 (open-network-stream): Return an :error element, if present.
14089
16f07dd7
CY
140902011-06-26 Chong Yidong <cyd@stupidchicken.com>
14091
88821ca0
CY
14092 * hl-line.el (hl-line-sticky-flag): Doc fix.
14093 (global-hl-line-sticky-flag): New option (Bug#8323).
14094 (global-hl-line-highlight): Obey it.
14095
16f07dd7
CY
14096 * vc/vc.el (vc-revert-show-diff): Default to t.
14097
6b5ccddf
KM
140982011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14099
c9d29fb8
SM
14100 * allout-widgets.el (allout-widgets-post-command-business):
14101 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14102 undecorated when an isearch is continued past, and isearch
14103 automatically collapses them. This leads to "widget leaks", where
14104 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14105 hidden widgets can slow down cursor travel, substantially.
14106 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14107 so we're doing without this nicety.
14108
14109 (allout-widgets-tally-string): Don't try to do a hash-table-count
14110 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14111 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14112 *Messages* when allout-widgets-maintain-tally is t.
14113
355f2e07
MR
141142011-06-26 Martin Rudalics <rudalics@gmx.at>
14115
14116 * window.el (display-buffer-normalize-argument): Rename to
14117 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14118 LABEL argument. Respect special-display-function when popping up
14119 a new frame. Fix code searching for a window showing the buffer
14120 on another frame.
c9d29fb8
SM
14121 (display-buffer-normalize-specifiers):
14122 Call display-buffer-normalize-arguments.
355f2e07
MR
14123 (display-buffer-in-window): Don't undedicate the window if its
14124 buffer remains the same.
14125 Reported by Drew Adams <drew.adams@oracle.com>.
14126 (display-buffer-alist): Add choice for same-window macro
14127 specfier.
14128 (display-buffer): Mention special meaning of LABEL argument in
14129 doc-string. Fix quoting. Don't pop up a new frame even as
14130 fallback.
14131
7ca8fc42
JB
141322011-06-26 Juanma Barranquero <lekktu@gmail.com>
14133
14134 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14135 avoid deleting the current window in some cases (bug#8911).
14136
bc312254
AS
141372011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14138
14139 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14140 (Bug#8934)
14141
2db18f3f
LMI
141422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143
c9d29fb8
SM
14144 * net/network-stream.el (network-stream-open-starttls):
14145 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14146 (network-stream-open-tls): Ditto.
14147
6302e0d3
LL
141482011-06-26 Leo Liu <sdl.web@gmail.com>
14149
14150 * register.el (registerv): New struct.
14151 (registerv-make): New function.
c9d29fb8
SM
14152 (jump-to-register, describe-register-1, insert-register):
14153 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14154 struct. (Bug#8415)
14155
5fdd4046
CY
141562011-06-26 Chong Yidong <cyd@stupidchicken.com>
14157
2afef60a
CY
14158 * vc/vc.el (vc-revert-show-diff): New defcustom.
14159 (vc-diff-internal): New arg specifying diff buffer.
14160 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14161 reuse an existing *vc-diff* buffer (Bug#8927).
14162
5fdd4046
CY
14163 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14164
e93db24a
GM
141652011-06-26 Glenn Morris <rgm@gnu.org>
14166
14167 * progmodes/f90.el (f90-critical-indent): New option.
14168 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14169 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14170 (f90-mode): Doc fix.
14171 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14172 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14173 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14174 (f90-match-end): Handle block, critical.
14175
eefff499
GM
141762011-06-25 Glenn Morris <rgm@gnu.org>
14177
f6ba4cc9
GM
14178 * calendar/diary-lib.el (diary-included-files): Doc fix.
14179 (diary-include-files): New function, extracted from
14180 diary-include-other-diary-files and diary-mark-included-diary-files.
14181 (diary-include-other-diary-files, diary-mark-included-diary-files):
14182 Just call diary-include-files.
14183 (diary-mark-entries): Reset diary-included-files on first call.
14184
16712304
GM
14185 * calendar/diary-lib.el (diary-mark-entries)
14186 (diary-mark-included-diary-files):
14187 Visit included diary-files in temp buffers.
14188
5d8e0d43
GM
14189 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14190 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14191 (f90-start-block-re, f90-imenu-generic-expression)
14192 (f90-looking-at-program-block-start, f90-no-block-limit):
14193 Add support for submodules.
14194
ccf7a5d5
GM
14195 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14196 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14197
11fdef7d 141982011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14199
14200 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14201 buffer-file-type before setting its value, to avoid disastrous
eefff499 14202 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14203
74f53697
JB
142042011-06-25 Juanma Barranquero <lekktu@gmail.com>
14205
14206 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14207
14208 * ses.el (ses-unload-function):
14209 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14210
14211 * proced.el (proced-unload-function):
14212 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14213
18a4ce5e
AR
142142011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14215
14216 * server.el (server-create-window-system-frame): Add parameters arg.
14217 (server-process-filter): Doc fix. Handle frame-parameters.
14218
519d22cc
JB
142192011-06-25 Juanma Barranquero <lekktu@gmail.com>
14220
14221 Fix bug#8730, bug#8781.
14222
14223 * loadhist.el (unload--set-major-mode): New function.
14224 (unload-feature): Use it.
14225
14226 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14227 (python-unload-function): New function.
14228
c206f5b0
SM
142292011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14232
f9ad64f3
GS
142332011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14234
14235 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14236 the candidates list.
14237
7d0da90e
JB
142382011-06-24 Juanma Barranquero <lekktu@gmail.com>
14239
14240 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14241
14b4e83d
RS
142422011-06-23 Richard Stallman <rms@gnu.org>
14243
14244 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14245 (rmail-variables): Set next-error-move-function.
14246 (rmail-what-message): Take argument POS.
14247 (rmail-next-error-move): New function.
14248
273d2baf
SM
142492011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14250
14251 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14252 messages for adjacent non-terminals.
14253
56c2cc9a
RS
142542011-06-23 Richard Stallman <rms@gnu.org>
14255
14256 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14257 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14258 (rmail-start-mail): Don't specify use of rmail-mail-return;
14259 that's done by mail-bury now.
14260 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14261
d59eb518
MA
142622011-06-23 Michael Albinus <michael.albinus@gmx.de>
14263
14264 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14265 SIZE is a number.
14266
02cfc6d6
MR
142672011-06-23 Martin Rudalics <rudalics@gmx.at>
14268
14269 * window.el (get-lru-window, get-mru-window)
14270 (get-largest-window): Never return a minibuffer window.
14271 (display-buffer-pop-up-window): Fix a bug that could lead to
14272 reusing the minibuffer window.
14273 (display-buffer): Pass original specifier argument to
14274 display-buffer-function instead of the normalized one.
14275 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14276
4e323265
LL
142772011-06-22 Leo Liu <sdl.web@gmail.com>
14278
14279 * minibuffer.el (completing-read-function)
14280 (completing-read-default): Move from minibuf.c
14281
7a70468f
RS
142822011-06-22 Richard Stallman <rms@gnu.org>
14283
50718fc2
RS
14284 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14285 to Rmail even if not started by a special Rmail command.
14286
7a70468f
RS
14287 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14288 Copy the buffer currently showing just one message.
14289
297dde5a
RW
142902011-06-22 Roland Winkler <winkler@gnu.org>
14291
14292 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14293 (bibtex-clean-entry): First delete the old key so that a
14294 customized algorithm for generating the new key does not get
14295 confused by the old key.
14296 (bibtex-url): Obey regexp of first step.
14297 (bibtex-search-entries): Do not use add-to-list with local
14298 list-var.
14299
97bb1093
LMI
143002011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14301
14302 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14303 stored a user name, then query for the password first, instead of
14304 waiting for SMTP to give an error message and the trying again.
14305
1c0f1a19
JD
143062011-06-22 Lawrence Mitchell <wence@gmx.li>
14307
14308 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14309 BUFFER in call-process.
14310
396f7c9d
LMI
143112011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14312
14313 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14314 QUIT twice.
ddb7ffee
LMI
14315 (smtpmail-try-auth-methods): Require user name and password from
14316 auth-source.
396f7c9d 14317
8998d1b3
MR
143182011-06-22 Martin Rudalics <rudalics@gmx.at>
14319
14320 * window.el (display-buffer-default-specifiers)
14321 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14322 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14323 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14324
14325 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14326 (special-display-frame-alist, special-display-popup-frame):
14327 Remove duplicate declarations. These are now in window.el.
14328
4ea31e07
LMI
143292011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14330
c9d29fb8
SM
14331 * mail/smtpmail.el (smtpmail-via-smtp):
14332 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14333 server supports it. SMTP servers that support STARTTLS commonly
14334 require it.
14335
14336 * net/network-stream.el (network-stream-open-starttls): Support
14337 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14338 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14339
95f41d9a
LMI
14340 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14341 upgrades with `open-network-stream', and rely solely on
14342 auth-source for all credentials. Big changes throughout the file,
14343 but in particular:
c9d29fb8
SM
14344 (smtpmail-auth-credentials): Remove.
14345 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14346 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14347 MAIL FROM, too.
95f41d9a 14348
c9d29fb8
SM
14349 * net/network-stream.el (network-stream-open-starttls):
14350 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14351 STARTTLS.
14352 (auth-source): Require.
14353 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14354 (network-stream-certificate): Change cert-cert to cert and
14355 cert-key to key.
4ea31e07 14356
065ec2c7
MA
143572011-06-21 Michael Albinus <michael.albinus@gmx.de>
14358
14359 * net/tramp-cache.el (top): Don't load the persistency file when
14360 "emacs -Q" has been called.
14361
cd93b359
DR
143622011-06-21 Tim Harper <timcharper@gmail.com>
14363
d8e4b68b
JB
14364 * term/ns-win.el (ns-initialize-window-system):
14365 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14366 resource to NO as it is not yet supported by the NS port.
14367
ae9c0411
JB
143682011-06-21 Juanma Barranquero <lekktu@gmail.com>
14369
14370 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14371 (list-dynamic-libraries): ...not here.
14372
7f3f739f
LL
143732011-06-21 Leo Liu <sdl.web@gmail.com>
14374
14375 * subr.el (sha1): Implement sha1 using secure-hash.
14376
327c8fb1
MR
143772011-06-21 Martin Rudalics <rudalics@gmx.at>
14378
14379 * window.el (display-buffer-alist): In default value do not
14380 enforce searching a window on any but the selected frame.
14381 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14382 (display-buffer-select-window): Remove function.
14383 (display-buffer-in-window): When a window on another frame gets
14384 reused, do not select it any more but just raise its frame if
14385 necessary (Bug#8851) and (Bug#8856).
14386 (display-buffer-normalize-options): Handle pop-up-frames related
14387 options more faithfully.
14388 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14389 window if it is on another frame.
c9d29fb8
SM
14390 (display-buffer-alist, display-buffer-default-specifiers):
14391 Don't make new frame unsplittable by default.
9e9de014
MR
14392 (display-buffer-normalize-argument): Fix doc-string typo and use
14393 'same-frame-other-window instead of 'other-window when associating
14394 with display-buffer-macro-specifiers.
327c8fb1 14395
7cf3f556
VB
143962011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14397
14398 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14399 New functions.
14400 (5x5-mode-map, 5x5-mode-menu): Bind them.
14401 (5x5-draw-grid): Tweak the solver's rendering.
14402
60a406cf
SM
144032011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14406 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14407
d8e4b68b 144082011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14409
14410 * menu-bar.el: Use function variable instead of switch-to-buffer.
14411 (menu-bar-select-buffer-function): New variable.
60a406cf 14412 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14413
478d6f95
SM
144142011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14415
14416 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14417 variable's status.
14418
ca530739
JD
144192011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14420
14421 * x-dnd.el (x-dnd-version-from-flags)
14422 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14423 and long as number (Bug#8899).
14424 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14425
bcd70d97
SM
144262011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14427
60a406cf 14428 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14429 (completion-try-completion, completion-all-completions): Compute the
14430 metadata argument if it's missing; make it optional (bug#8795).
14431
60a406cf 14432 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14433 (widget-complete): Use new :completion-function property.
14434 (widget-completions-at-point): New function.
14435 (default): Use :completion-function instead of :complete.
60a406cf
SM
14436 (widget-default-completions): Rename from widget-default-complete;
14437 Rewrite.
bcd70d97
SM
14438 (widget-string-complete, widget-file-complete, widget-color-complete):
14439 Remove functions.
14440 (file, symbol, function, variable, coding-system, color):
14441 * international/mule-cmds.el (default-input-method, charset)
14442 (language-info-custom-alist):
14443 * cus-edit.el (face): Use new property :completions.
14444
14445 * progmodes/pascal.el (pascal-completions-at-point): New function.
14446 (pascal-mode): Use it.
14447 (pascal-mode-map): Use completion-at-point.
14448 (pascal-toggle-completions): Make obsolete.
14449 (pascal-complete-word, pascal-show-completions):
14450 * progmodes/octave-mod.el (octave-complete-symbol):
14451 Redefine as obsolete alias.
14452 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14453 Signal absence of completion info for old Octave,
14454 (inferior-octave-complete): Redefine as obsolete alias.
14455 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14456 (meta-completions-at-point): Rename from meta-complete-symbol and
14457 adapt it for use on completion-at-point-functions.
14458 (meta-common-mode): Use it.
14459 (meta-looking-at-backward, meta-match-buffer): Remove.
14460 (meta-complete-symbol): Redefine as obsolete alias.
14461 (meta-common-mode-map): Use completion-at-point.
14462 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14463 (makefile-mode-map): Use completion-at-point.
14464 (makefile-completions-at-point): Rename from makefile-complete and
14465 adapt it for use on completion-at-point-functions.
14466 (makefile-mode): Use it.
14467 (makefile-complete): Redefine as obsolete alias.
14468
aebf69c8
DD
144692011-06-20 Deniz Dogan <deniz@dogan.se>
14470
14471 * net/rcirc.el: Delete trailing whitespaces once and for all.
14472
bfbbb27d
DC
144732011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14474
14475 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14476
d264a46b
CY
144772011-06-19 Chong Yidong <cyd@stupidchicken.com>
14478
4ca009e5
CY
14479 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14480
d264a46b
CY
14481 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14482
fbf5b3ce
MR
144832011-06-19 Martin Rudalics <rudalics@gmx.at>
14484
14485 * window.el (display-buffer-other-window-means-other-frame):
14486 Call display-buffer-normalize-alist.
14487 (display-buffer-normalize-specifiers-1): Rename to
14488 display-buffer-normalize-argument. New argument other-frame.
14489 Rewrite.
14490 (display-buffer-normalize-specifiers-2): Rename to
14491 display-buffer-normalize-options.
14492 (display-buffer-normalize-alist-1): New function.
14493 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14494 display-buffer-normalize-alist.
14495 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14496 (display-buffer-normalize-options-inhibit): New variable.
14497 (display-buffer-normalize-specifiers): Rewrite calling
14498 display-buffer-normalize-alist,
14499 display-buffer-normalize-argument, and
14500 display-buffer-normalize-options. Don't call the latter if
14501 display-buffer-normalize-options-inhibit is non-nil.
14502 (frame-auto-delete): New option.
14503 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14504 (window-list-no-nils, window-state-ignored-parameters)
14505 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14506 (window-state-put-1, window-state-put-2, window-state-put):
14507 New functions.
9a028c23
MR
14508 (display-buffer-normalize-options): Move special-display-p group
14509 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14510
6d10d800
CY
145112011-06-18 Chong Yidong <cyd@stupidchicken.com>
14512
6420d28b
CY
14513 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14514 groups (Bug#8776).
14515 (rx-submatch-n): New function.
14516 (rx): Document it.
14517
ddb8b596
CY
14518 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14519 (Bug#8768).
14520
14521 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14522
77080289
CY
14523 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14524
61dfb316
CY
14525 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14526 anytime existing face settings are present (Bug#8889).
14527
6d10d800
CY
14528 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14529 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14530 Remove unused argument.
14531
be3fb2b8
MR
145322011-06-18 Martin Rudalics <rudalics@gmx.at>
14533
bcd70d97
SM
14534 * window.el (display-buffer-default-specifiers):
14535 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14536 pop-up-window-min-width, and another reuse-window specifier
14537 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14538 (display-buffer-normalize-specifiers-2):
14539 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14540 pop-up-windows is unset. Add a reuse-window specifier for the
14541 case popping up a new window fails.
14542 (special-display-popup-frame): Remove double quoting.
28dec25a 14543 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14544
1c6d8c76
SM
145452011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14546
14547 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14548 according to comint-completion-addsuffix.
14549
14550 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14551 (pcomplete-suffix-list): Mark as obsolete.
14552 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14553 pcomplete-seen in the closure.
14554 (pcomplete-comint-setup): Setup completion-at-point as well.
14555 (pcomplete--entries): New function.
14556 (pcomplete--env-regexp): New var.
14557 (pcomplete-entries): Rewrite to work with partial-completion and
14558 without relying on pcomplete-suffix-list.
14559 (pcomplete-pare-list): Remove, unused.
14560
25aef8b8
MR
145612011-06-17 Martin Rudalics <rudalics@gmx.at>
14562
14563 * window.el (display-buffer-alist): Set pop-up-window-min-height
14564 and pop-up-window-min-width in default value. Reported by
14565 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14566 other-window-means-other-frame.
14567 (display-buffer-macro-specifiers): Comment out entry for
14568 other-window specifier.
14569 (display-buffer-other-window-means-other-frame): New function.
14570 (display-buffer-normalize-specifiers-1): New arguments
14571 buffer-name and label. Treat other-window case specially.
14572 (display-buffer-normalize-specifiers-2): Treat other-window case
14573 specially.
14574 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14575 (display-buffer-normalize-specifiers):
14576 Call display-buffer-normalize-specifiers-3.
25aef8b8 14577
dbad4f69
MR
145782011-06-17 Martin Rudalics <rudalics@gmx.at>
14579
14580 * window.el (same-window-p): Fix two typos introduced when
14581 adding with-no-warnings.
d1067961
MR
14582 (display-buffer-normalize-specifiers-1): Don't check
14583 pop-up-frames for 'unset initialization.
14584 (display-buffer-normalize-specifiers-2): Major rewrite using
14585 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14586 (pop-up-frames, display-buffer-reuse-frames)
14587 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14588 Suggested by David Engster <deng@randomsample.de>.
14589 (even-window-heights): Initialize to 'unset.
14590 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14591 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14592 other window case.
dbad4f69 14593
9b9c9e3a
MR
145942011-06-16 Martin Rudalics <rudalics@gmx.at>
14595
bcd70d97
SM
14596 * window.el (display-buffer-normalize-specifiers-1):
14597 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14598 second argument of display-buffer (Bug#8865).
981d5c09
MR
14599 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14600 (switch-to-buffer-other-window-same-frame)
14601 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14602 Adams (Bug#8875).
9c2755e9
MR
14603 (display-buffer): Don't check noninteractive when calling
14604 display-buffer-pop-up-frame.
14605 (display-buffer-pop-up-frame): Never pop up a frame in
14606 noninteractive mode (Bug#8857).
67222e1d
MR
14607 (enlarge-window, shrink-window): Don't report an error when the
14608 window can't be resized as requested (Bug#8862).
9b9c9e3a 14609
2b75be67
SM
146102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14611
9ffdd3ba
SM
14612 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14613
cb581a67
SM
14614 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14615
2b75be67
SM
14616 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14617
8c0e3589
AM
146182011-06-15 Alan Mackenzie <acm@muc.de>
14619
cb581a67
SM
14620 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14621 for declarators, disable knr checking to speed up for normal files.
14622 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14623
b96e6cde
LMI
146242011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14625
4bba86e6
LMI
14626 * net/network-stream.el (open-network-stream): Add the keyword
14627 :always-query-capabilities for the case where you want to force a
14628 `plain' network connection, but the protocol still requires the
14629 capabilitiy command (i.e., SMTP and EHLO).
14630
2b75be67 14631 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14632 consistency with other `-live-p' functions.
14633
efdcdbf8
SM
146342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 * window.el (same-window-buffer-names, same-window-regexps)
14637 (special-display-frame-alist, special-display-popup-frame)
14638 (special-display-function, special-display-buffer-names)
14639 (special-display-regexps, pop-up-frame-alist)
14640 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14641 (pop-up-windows, split-window-preferred-function)
14642 (split-height-threshold, split-width-threshold, even-window-heights)
14643 (display-buffer-mark-dedicated): Don't encourage the use of
14644 display-buffer-alist from Elisp code.
14645
c5cde042
DN
146462011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14647
14648 * progmodes/python.el (python-mode): Derive from prog-mode.
14649 * progmodes/ps-mode.el (ps-mode):
14650 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14651 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14652 * progmodes/ld-script.el (ld-script-mode): Likewise.
14653
baa1c9ab
MR
146542011-06-15 Martin Rudalics <rudalics@gmx.at>
14655
14656 * window.el (display-buffer-alist): Trim default value to avoid
14657 popping up a new frame (Bug#8857) or reusing an arbitrary window
14658 on another frame.
14659 (display-buffer): Do not fall back on popping up a new frame in
14660 batch mode (Bug#8857).
14661
c5dd5a51
CY
146622011-06-14 Chong Yidong <cyd@stupidchicken.com>
14663
14664 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14665 (custom-theme-summary): New function.
14666 (customize-themes): Use it.
14667
d647b7c4
GM
146682011-06-13 Glenn Morris <rgm@gnu.org>
14669
14670 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14671
9481c002
MR
146722011-06-13 Martin Rudalics <rudalics@gmx.at>
14673
357f93d2
MR
14674 * help.el (help-window): Remove variable.
14675 (help-window-point-marker, temp-buffer-max-height)
14676 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14677 (help-print-return-message): Don't set help-window.
14678 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14679 (help-window-setup-finish): Remove.
14680 (help-window-display-message, help-window-setup)
14681 (with-help-window): Major rewrite based on new
14682 display-buffer-window variable.
14683
14684 * help-mode.el (help-mode-finish): Remove help-window related
14685 code.
14686
14687 * view.el (view-exits-all-viewing-windows): Remove reference to
14688 view-return-to-alist in doc-string.
14689 (view-return-to-alist): Make obsolete.
14690 (view-buffer): Call pop-to-buffer-same-window and remove
14691 undo-window code.
14692 (view-buffer-other-window): Call pop-to-buffer-other-window and
14693 simplify code. Ignore second argument.
14694 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14695 simplify code. Ignore second argument.
14696 (view-return-to-alist-update): Make obsolete.
14697 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14698 Rewrite using quit-restore window parameters.
2b75be67
SM
14699 (view-mode-exit): Rename second argument to EXIT-ONLY.
14700 Rewrite using quit-restore-window.
357f93d2
MR
14701 (View-exit, View-exit-and-edit, View-leave, View-quit)
14702 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14703 appropriate arguments.
14704 (view-end-message): Use quit-restore window parameter.
14705
9481c002
MR
14706 * window.el (display-buffer-function): Rewrite doc-string.
14707 (display-buffer-window, display-buffer-alist): New variables.
14708 (display-buffer-split-specifiers)
14709 (display-buffer-side-specifiers)
14710 (display-buffer-macro-specifiers): New constants.
14711 (display-buffer-even-window-sizes, display-buffer-set-height)
14712 (display-buffer-set-width, display-buffer-select-window)
14713 (display-buffer-in-window, display-buffer-reuse-window)
14714 (display-buffer-split-window-1, display-buffer-split-window)
14715 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14716 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14717 (display-buffer-in-side-window, normalize-buffer-to-display)
14718 (display-buffer-normalize-specifiers-1)
14719 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14720 (display-buffer-normalize-specifiers, display-buffer-frame):
14721 New functions.
9481c002
MR
14722 (display-buffer): Major rewrite.
14723 (display-buffer-other-window, display-buffer-other-frame)
14724 (pop-to-buffer, switch-to-buffer-other-window)
14725 (switch-to-buffer-other-frame): Rewrite.
14726 (display-buffer-same-window, display-buffer-same-frame)
14727 (display-buffer-same-frame-other-window)
14728 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14729 (pop-to-buffer-other-window)
14730 (pop-to-buffer-same-frame-other-window)
14731 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14732 (switch-to-buffer-other-window-same-frame): New functions.
14733 (same-window-p, special-display-p): Rewrite disabling warnings.
14734 Make obsolete.
14735 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14736 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14737 Make obsolete
14738 (same-window-buffer-names, same-window-regexps)
14739 (special-display-frame-alist, special-display-popup-frame)
14740 (special-display-function, special-display-buffer-names)
14741 (special-display-regexps, pop-up-frame-alist)
14742 (pop-up-frame-function, split-window-preferred-function)
14743 (split-height-threshold, split-width-threshold)
14744 (even-window-heights): Make obsolete.
14745
9db51aca
GM
147462011-06-12 Glenn Morris <rgm@gnu.org>
14747
14748 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14749 Misc simplifications.
9db51aca 14750
39cffb44
MR
147512011-06-12 Martin Rudalics <rudalics@gmx.at>
14752
14753 * window.el (window-safely-shrinkable-p): Restore function which
14754 was inadvertently removed in change from 2011-06-11. Declare as
14755 obsolete.
14756
2b75be67
SM
14757 * calendar/calendar.el (calendar-generate-window):
14758 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14759 window-safely-shrinkable-p.
14760
a8955be7
GM
147612011-06-12 Glenn Morris <rgm@gnu.org>
14762
14763 * progmodes/fortran.el (fortran-mode-syntax-table):
14764 * progmodes/f90.el (f90-mode-syntax-table):
14765 Set % to punctuation. (Bug#8820)
14766 (f90-find-tag-default): Remove, no longer needed.
14767
f0d4059d
DC
147682011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14769
14770 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14771
1100a63c
CY
147722011-06-11 Chong Yidong <cyd@stupidchicken.com>
14773
14774 * image.el (image-animated-p): Return animation delay in seconds.
14775 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14776 (image-animate-timeout): Remove DELAY argument. Don't assume
14777 every subimage has the same delay; get it from image-animated-p.
14778 (image-animate): Caller changed.
14779
def722bf
MA
147802011-06-11 Michael Albinus <michael.albinus@gmx.de>
14781
14782 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14783 to ignored backtrace functions.
14784
0a2bb1a9
GM
147852011-06-11 Glenn Morris <rgm@gnu.org>
14786
14787 * calendar/appt.el (appt-disp-window-function): Doc fix.
14788 (appt-check): Handle overlapping appointments. (Bug#8337)
14789
6198ccd0
MR
147902011-06-11 Martin Rudalics <rudalics@gmx.at>
14791
14792 * window.el (window-tree-1, window-tree): New functions, moving
14793 the latter to window.el.
14794 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14795 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14796 (bw-refresh-edges): Remove.
14797 (balance-windows-1, balance-windows-2): New functions.
14798 (balance-windows): Rewrite in terms of window tree functions,
14799 balance-windows-1 and balance-windows-2.
14800 (bw-adjust-window): Remove.
14801 (balance-windows-area-adjust): New function with functionality of
14802 bw-adjust-window but using resize-window.
2b75be67
SM
14803 (set-window-text-height): Rewrite doc-string.
14804 Use normalize-live-window and resize-window.
14805 (enlarge-window-horizontally, shrink-window-horizontally):
14806 Rename argument to DELTA.
6198ccd0
MR
14807 (window-buffer-height): New function.
14808 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14809 Rewrite using new window resize routines.
2b75be67
SM
14810 (kill-buffer-and-window, mouse-autoselect-window-select):
14811 Use ignore-errors instead of condition-case.
6198ccd0
MR
14812 (quit-window): Call delete-frame instead of delete-windows-on
14813 for the only buffer on frame.
14814
9397e56f
MR
148152011-06-10 Martin Rudalics <rudalics@gmx.at>
14816
14817 * loadup.el (top-level): Load window before files for the sake
14818 of replace-buffer-in-windows.
14819
14820 * files.el (read-buffer-to-switch)
14821 (switch-to-buffer-other-window)
2b75be67
SM
14822 (switch-to-buffer-other-frame, display-buffer-other-frame):
14823 Move to window.el.
9397e56f
MR
14824
14825 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14826 (previous-buffer): Move to window.el.
14827
14828 * bindings.el (unbury-buffer): Move to window.el.
14829
14830 * window.el (delete-other-windows-vertically): Move after
14831 definition of delete-other-windows.
14832 (other-window, delete-windows-on, replace-buffer-in-windows):
14833 Move here from window.c.
14834 (record-window-buffer, unrecord-window-buffer)
14835 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14836 (switch-to-next-buffer): New functions.
14837 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14838 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14839 (previous-buffer): Move here from simple.el.
14840 Call switch-to-prev-buffer.
9397e56f
MR
14841 (bury-buffer): Move here from buffer.c. Switch to previous
14842 buffer when window cannot be deleted.
14843 (unbury-buffer): Move here from bindings.el.
14844 (ctl-x-map): Move binding for other-window from window.c to
14845 here.
14846 (read-buffer-to-switch, switch-to-buffer-other-window)
14847 (switch-to-buffer-other-frame): Move here from files.el.
14848 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14849 (switch-to-buffer): Move here from buffer.c.
14850 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14851
562dd5e9
MR
148522011-06-10 Martin Rudalics <rudalics@gmx.at>
14853
14854 * window.el (window-min-height, window-min-width): Move here
14855 from window.c. Add defcustoms and rewrite doc-strings.
14856 (resize-mini-window, resize-window): New functions.
14857 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14858 Move here from window.c.
14859 (maximize-window, minimize-window): New functions.
14860 (delete-window, delete-other-windows, split-window): Move here
14861 from window.c.
14862 (window-split-min-size): New function.
14863 (split-window-keep-point): Mention split-window-above-each-other
14864 instead of split-window-vertically.
2b75be67 14865 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14866 Rename split-window-vertically to split-window-above-each-other
14867 and provide defalias for old definition.
14868 (split-window-side-by-side, split-window-horizontally):
14869 Rename split-window-horizontally to split-window-side-by-side
14870 and provide defalias for the old definition.
562dd5e9
MR
14871 (ctl-x-map): Move bindings for delete-window,
14872 delete-other-windows and enlarge-window here from window.c.
14873 Replace bindings for split-window-vertically and
14874 split-window-horizontally by bindings for
14875 split-window-above-each-other and split-window-side-by-side.
14876
14877 * cus-start.el (all): Remove entries for window-min-height and
14878 window-min-width. Add entries for window-splits and
14879 window-nest.
14880
f0da764a
GM
148812011-06-09 Glenn Morris <rgm@gnu.org>
14882
80675c21
GM
14883 * calendar/appt.el (appt-mode-line): New function.
14884 (appt-check, appt-disp-window): Use it.
14885
f0da764a
GM
14886 * files.el (hack-one-local-variable-eval-safep):
14887 Allow minor-modes with explicit +/-1 arguments.
14888
59f623b7
TZ
148892011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14890
14891 * term/xterm.el (xterm): Add defgroup.
14892 (xterm-extra-capabilities): Add defcustom to supply known xterm
14893 capabilities, skip querying them, or query them (default).
14894 (terminal-init-xterm): Use it.
14895 (terminal-init-xterm-modify-other-keys): New function to set up
14896 modifyOtherKeys support to simplify `terminal-init-xterm'.
14897
9aab8e0d
MR
148982011-06-09 Martin Rudalics <rudalics@gmx.at>
14899
14900 * window.el (resize-window-reset, resize-window-reset-1)
14901 (resize-subwindows-skip-p, resize-subwindows-normal)
14902 (resize-subwindows, resize-other-windows, resize-this-window)
14903 (resize-root-window, resize-root-window-vertically)
14904 (window-deletable-p, window-or-subwindow-p)
14905 (frame-root-window-p): New functions.
14906
e8b08aee
GM
149072011-06-09 Glenn Morris <rgm@gnu.org>
14908
14909 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14910 (ange-ftp-get-files): Use it.
14911
254c37a5
AK
149122011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14913
14914 * mail/sendmail.el (mail-recover-1, mail-recover):
14915 * files.el (recover-file, recover-session):
14916 Handle dired-listing-switches not being just a single short option.
14917
35d7dbd3
GM
149182011-06-09 Glenn Morris <rgm@gnu.org>
14919
14920 * calendar/appt.el (appt-display-message, appt-disp-window):
14921 Handle lists of appointments.
14922
387522b2
MR
149232011-06-08 Martin Rudalics <rudalics@gmx.at>
14924
2b75be67
SM
14925 * window.el (one-window-p): Move down in code.
14926 Rewrite doc-string.
14927 (window-current-scroll-bars): Rewrite doc-string.
14928 Normalize live window argument.
387522b2
MR
14929 (walk-windows, get-window-with-predicate, count-windows):
14930 Rewrite doc-string. Use window-list-1.
14931 (window-in-direction-2, window-in-direction, get-mru-window):
14932 New functions.
14933
d8e4b68b 149342011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14935
14936 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14937 Doc fix (Bug#8713).
14938
149392011-06-08 Chong Yidong <cyd@stupidchicken.com>
14940
14941 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14942
149432011-06-08 Juanma Barranquero <lekktu@gmail.com>
14944
14945 * loadhist.el (unload-feature-special-hooks):
14946 Add `comint-output-filter-functions'.
14947
0de12c52
IK
149482011-06-08 Ivan Kanis <gnu@kanis.fr>
14949
14950 * calendar/appt.el (appt-check): Move some initializations into the let.
14951
f3d1777e
MR
149522011-06-08 Martin Rudalics <rudalics@gmx.at>
14953
14954 * window.el (window-height): Defalias to window-total-height.
14955 (window-width): Defalias to window-body-width.
14956
18af70d0
CY
149572011-06-07 Chong Yidong <cyd@stupidchicken.com>
14958
14959 * image-mode.el (image-toggle-animation): New command.
14960 (image-mode-map): Bind it to RET.
14961 (image-mode): Update message.
14962 (image-toggle-display-image): Avoid a spurious cache flush.
14963 (image-transform-rotation): Doc fix.
14964 (image-transform-properties): Return quickly in the normal case.
14965 (image-animate-loop): Rename from image-animate-max-time.
14966
2b75be67 14967 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14968 (create-animated-image): Remove unnecessary function.
14969 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14970 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14971 (image-animate-timer): Use car-safe.
14972 (image-animate-timeout): Rename argument.
14973
190b47e6
MR
149742011-06-07 Martin Rudalics <rudalics@gmx.at>
14975
14976 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14977 window.c. Rename first argument to ALL-FRAMES.
14978 Rephrase doc-strings.
14979 (get-buffer-window-list): Rewrite using window-list-1.
14980 Rephrase doc-string.
a1511caf
MR
14981 (window-safe-min-height, window-safe-min-width): New constants.
14982 (window-size-ignore, window-min-size, window-min-size-1)
14983 (window-sizable, window-sizable-p, window-size-fixed-1)
14984 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14985 (window-max-delta-1, window-max-delta, window-resizable)
14986 (window-resizable-p, window-total-height, window-total-width)
14987 (window-body-width): New functions.
14988 (window-full-height-p, window-full-width-p): Rewrite using
14989 window-total-size.
14990 (window-body-height): Rewrite using window-body-size.
190b47e6 14991
85cc1f11
MR
149922011-06-06 Martin Rudalics <rudalics@gmx.at>
14993
14994 * window.el (window-right, window-left, window-child)
14995 (window-child-count, window-last-child, window-any-p)
14996 (normalize-live-buffer, normalize-live-frame)
14997 (normalize-any-window, normalize-live-window)
14998 (window-iso-combination-p, window-iso-combined-p)
14999 (window-iso-combinations)
15000 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15001 (windows-with-parameter, window-with-parameter)
15002 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15003 (window-atom-check, window-side-check, window-check):
15004 New functions.
85cc1f11
MR
15005 (ignore-window-parameters, window-sides, window-sides-vertical)
15006 (window-sides-slots): New variables.
15007 (window-size-fixed): Move down in code. Minor doc-string fix.
15008
e7156492
AS
150092011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15010
15011 * comint.el (comint-dynamic-complete-as-filename)
15012 (comint-dynamic-complete-filename): Correctly call
15013 completion-in-region.
15014
7e821d0d
DD
150152011-06-05 Deniz Dogan <deniz@dogan.se>
15016
15017 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15018 in last change.
15019
ac09b8a1
DD
150202011-06-05 Deniz Dogan <deniz@dogan.se>
15021
15022 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15023 (rcirc): Use it to prompt for encryption.
15024
34699b85
RW
150252011-06-05 Roland Winkler <winkler@gnu.org>
15026
15027 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15028 (bibtex-search-entries): New command bound to C-c C-a.
15029 (bibtex-display-entries): New function.
15030
004dedd3
RW
150312011-06-05 Roland Winkler <winkler@gnu.org>
15032
15033 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15034 (bibtex-insert-kill): After yanking insert newline if necessary.
15035 (bibtex-initialize): Call bibtex-string-files-init only once.
15036 (bibtex-mode): Do not call easy-menu-add.
15037 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15038 (bibtex-yank): Set arg properly if nil.
15039
022fe7ce
RW
150402011-06-05 Roland Winkler <winkler@gnu.org>
15041
2b75be67
SM
15042 * textmodes/bibtex.el (bibtex-search-entry-globally):
15043 New variable.
022fe7ce
RW
15044 (bibtex-search-entry): Use it.
15045
b7c3692a
RW
150462011-06-05 Roland Winkler <winkler@gnu.org>
15047
15048 * textmodes/bibtex.el (bibtex-entry-format): New option
15049 sort-fields.
15050 (bibtex-format-entry, bibtex-reformat): Honor this option.
15051 (bibtex-parse-entry): Return fields in proper order.
15052
8eda563d
JB
150532011-06-05 Juanma Barranquero <lekktu@gmail.com>
15054
15055 * doc-view.el (doc-view-remove-if): Move computation of result out
15056 of `dolist' to silence misleading lexical-binding warning.
15057
7dbe3dbc
CY
150582011-06-04 Chong Yidong <cyd@stupidchicken.com>
15059
15060 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15061 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15062
0c33dd17
MA
150632011-06-04 Michael Albinus <michael.albinus@gmx.de>
15064
15065 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15066 "SunOS 5.10".
15067
f8f91c2b
MA
150682011-06-04 Michael Albinus <michael.albinus@gmx.de>
15069
15070 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15071 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15072 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15073 (tramp-parse-putty):
15074 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15075 (tramp-completion-function-alist-ssh)
15076 (tramp-completion-function-alist-telnet)
15077 (tramp-completion-function-alist-su)
15078 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15079 cookie.
15080
15081 * net/tramp-ftp.el:
15082 * net/tramp-sh.el:
15083 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15084 load "tramp.el" `tramp-set-completion-function'.
15085
e17d9003
SM
150862011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15087
15088 * shell.el: Require and use pcomplete.
15089 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15090 (shell-completion-vars): Set pcomplete-default-completion-function.
15091
6c4cab03
DD
150922011-06-04 Deniz Dogan <deniz@dogan.se>
15093
15094 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15095 `memq' (Bug#8799).
15096
ea9fafe0
SM
150972011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15098
15099 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15100
b3e945d3
JB
151012011-06-02 Juanma Barranquero <lekktu@gmail.com>
15102
15103 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15104 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15105 * vc/log-view.el (log-view-beginning-of-defun):
15106 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15107 (smerge-refine-forward, smerge-refine-chopup-region):
15108 Silence warning for unused `dotimes' counter variables.
15109
7d520089
SM
151102011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * net/tramp.el (tramp-with-progress-reporter): Rename from
15113 with-progress-reporter. Use `declare'.
15114 * net/tramp-smb.el:
15115 * net/tramp-sh.el:
15116 * net/tramp-gvfs.el: Update all uses.
15117
a1c2400f
JB
151182011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15119
15120 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15121 buffer isn't killed before making it current.
15122
2403c841
SM
151232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 Silence various byte-compiler warnings.
15126 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15127 `access-type' and new obsolescence format.
15128 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15129 new format.
15130 (byte-compile-check-variable): New `access-type' argument.
15131 Only warn if the access-type is obsolete.
15132 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15133 (byte-compile-variable-set): Adjust callers.
15134 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15135 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15136 setting it as obsolete.
15137 * simple.el (minibuffer-completing-symbol):
15138 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15139 access as obsolete.
15140 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15141 obsolete yet.
15142 * international/quail.el (quail-mouse-choose-completion): Remove unused
15143 code referring to obsolete var.
15144 (quail-choose-completion-string): Remove.
15145 * server.el (server-clients-with, server-kill-buffer-query-function)
15146 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15147 * proced.el (proced-send-signal):
15148 * emacs-lisp/lisp.el (lisp-complete-symbol):
15149 Replace completion-annotate-function with completion-extra-properties.
15150
2462470b
SM
151512011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15152
fb5b2591
SM
15153 * simple.el (goto-line): Use read-number.
15154 (overriding-map-is-bound): Remove.
15155 (saved-overriding-map): Change default.
15156 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15157 Take the map as argument.
15158 (universal-argument, negative-argument, digit-argument): Use it.
15159 (restore-overriding-map): Adjust.
15160 (do-auto-fill): Use fill-forward-paragraph.
15161 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15162
fd6fa53f
SM
15163 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15164 (minibuffer-inactive-mode): New major mode.
15165 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15166 the *Messages* buffer" hack.
15167 (mouse-popup-menubar): Don't burp if the event is a normal key.
15168
2462470b
SM
15169 Miscellaneous tweaks.
15170 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15171 lexical scoping as in subr.el's dolist and dotimes.
15172 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15173 Silence compiler warning.
15174 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15175 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15176 * international/ccl.el (ccl-compile): Trivial simplification.
15177 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15178 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15179 `printflag' argument.
15180 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15181 Purecopy the whole obsolescence data.
15182
108bf785
LL
151832011-06-01 Leo Liu <sdl.web@gmail.com>
15184
15185 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15186 improve doc-string as suggested by Marco Pessotto
15187 <melmothx@gmail.com>.
15188 (rcirc-print): Fix last change.
15189
30a23501
SM
151902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15191
15192 * minibuffer.el (complete-with-action): Return nil for the metadata and
15193 boundaries of non-functional tables.
15194 (completion-table-dynamic): Return nil for the metadata.
15195 (completion-table-with-terminator): Add default case, using
15196 complete-with-action.
15197 (completion--metadata): New function.
15198 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15199 to try and avoid pathological performance problems.
15200 (completion--embedded-envvar-table): Return `category' metadata.
15201
bcd54f83
LMI
152022011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15203
15204 * subr.el (process-alive-p): New tiny convenience function.
15205
e227544d
SM
152062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15209 content but also its previous major mode.
15210
e8296fdc
HE
152112011-05-31 Helmut Eller <eller.helmut@gmail.com>
15212
4d61f28d 15213 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15214 *Backtrace* buffer when we exit with C-M-c.
15215
620c53a6
SM
152162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15217
15218 * minibuffer.el: Add metadata method to completion tables.
15219 (completion-category-overrides): New defcustom.
15220 (completion-metadata, completion--field-metadata)
15221 (completion-metadata-get, completion--styles)
15222 (completion--cycle-threshold): New functions.
15223 (completion-try-completion, completion-all-completions):
15224 Add `metadata' argument to choose completion-styles.
15225 (completion--do-completion): Use metadata to choose cycling.
15226 (completion-all-sorted-completions): Use metadata for sorting.
15227 Remove :completion-cycle-penalty which is not needed any more.
15228 (completion--try-word-completion): Add `metadata' argument.
15229 (minibuffer-completion-help): Check metadata for annotation function
15230 and sorting.
15231 (completion-file-name-table): Return `category' metadata.
15232 (minibuffer-completing-file-name): Make obsolete.
15233 * simple.el (minibuffer-completing-symbol): Make obsolete.
15234 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15235 completion-try-completion.
15236
1257e755
SM
152372011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15238
15239 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15240
3767e706
LL
152412011-05-30 Leo Liu <sdl.web@gmail.com>
15242
15243 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15244 (rcirc-print): Decode all incoming messages (bug#8744).
15245 (rcirc-decode-coding-system): Allow value nil for automatic coding
15246 system detection.
3767e706 15247
d1a5d56a
GM
152482011-06-01 Glenn Morris <rgm@gnu.org>
15249
15250 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15251
e8cbec34
CY
152522011-05-29 Chong Yidong <cyd@stupidchicken.com>
15253
15254 * image.el (image-animate-max-time): Allow nil and t values.
15255 Default to nil.
15256 (create-animated-image): Doc fix.
15257 (image-animate-start): Remove second arg; just use
15258 image-animate-max-time.
15259 (image-animate-timeout): Doc fix. Args changed.
15260
15261 * image-mode.el (image-toggle-display-image): Ensure that the
15262 image spec passed to the animate timer is the same object as in
58179cce 15263 the buffer's display property (Bug#6981).
e8cbec34
CY
15264 (image-transform-properties): Doc fix.
15265
15266 * image.el (image-animate-max-time): Default to nil.
15267
159daf87
MR
152682011-05-29 Martin Rudalics <rudalics@gmx.at>
15269
15270 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15271 entire buffer list (Bug#8184).
15272
d66c4c7c
CY
152732011-05-29 Chong Yidong <cyd@stupidchicken.com>
15274
15275 * image.el (imagemagick-types-inhibit)
15276 (imagemagick-register-types): Doc fix.
15277
80aec780
DD
152782011-05-29 Deniz Dogan <deniz@dogan.se>
15279
15280 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15281 default.
15282
1dd3c2d9
CY
152832011-05-29 Chong Yidong <cyd@stupidchicken.com>
15284
15285 * select.el: Don't perform clipboard-manager saving in hooks;
15286 leave the hooks empty.
15287
60e56523
LL
152882011-05-28 Leo Liu <sdl.web@gmail.com>
15289
15290 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15291 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15292 (occur-edit-mode): New major mode (Bug#8463).
15293 (occur-after-change-function): New function.
15294 (occur-engine): Give Occur tags a read-only property.
15295
2b1e1a22
KR
152962011-05-28 Kevin Ryde <user42@zip.com.au>
15297
15298 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15299
5d344e88
CY
153002011-05-28 Chong Yidong <cyd@stupidchicken.com>
15301
8e6ca83d
CY
15302 * bindings.el (help-echo): Make the initial non-indicator dash
15303 empty on graphical terminals (Bug#7295).
15304
5d344e88
CY
15305 * files.el (auto-mode-alist): Move config rule after the
15306 in-stripping one (Bug#8547).
15307
bfbbace7
CY
15308 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15309
fbeba6e2
CY
15310 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15311 setting (Bug#8740).
15312
60ed8c72
AA
153132011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15314
4ac619f0
AA
15315 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15316 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15317 (Bug#8539).
60ed8c72 15318
23db196e
CY
153192011-05-28 Chong Yidong <cyd@stupidchicken.com>
15320
15321 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15322
5012f24c
DK
153232011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15324
15325 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15326 (hs-hide-block-at-point, hs-find-block-beginning)
15327 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15328 (Bug#8279).
15329
6a639b16
GM
153302011-05-28 Glenn Morris <rgm@gnu.org>
15331
15332 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15333
d43eaf2c
CY
153342011-05-28 Chong Yidong <cyd@stupidchicken.com>
15335
5199bde1
CY
15336 * help-fns.el (describe-function-1): If the function is a derived
15337 major mode, print the parent mode.
15338
d43eaf2c
CY
15339 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15340 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15341
423428a8
SM
153422011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15343
0ff8e1ba 15344 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15345 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15346 * progmodes/etags.el (tags-completion-at-point-function):
15347 * info-look.el (info-lookup-completions-at-point): Mark as
15348 non-exclusive.
15349 (info-complete): Adjust accordingly.
15350
423428a8
SM
15351 * info-look.el: Convert to lexical-binding and completion-at-point.
15352 (info-lookup-completions-at-point): New function.
15353 (info-complete): Use it and completion-in-region.
15354
b74aa22b
DA
153552011-05-28 Drew Adams <drew.adams@oracle.com>
15356
15357 * isearch.el: Let M-e start with point at the first mismatched char.
15358 (isearch-fail-pos): New function.
15359 (isearch-edit-string): Use it.
15360
66e2e71d
DK
153612011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15362
15363 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15364
b1890b0f 153652011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15366
15367 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15368 traversal functions for avl-trees.
15369 (avl-tree--stack): New struct.
15370 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15371 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15372 (avl-tree--do-enter): Add optional `updatefun' arg.
15373 Change return value.
eb95d01d 15374 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15375 (avl-tree--do-delete): Add `test' and `nilflag' args.
15376 Change return value.
eb95d01d
TC
15377 (avl-tree-member): Add optional `nilflag'
15378 (avl-tree-member-p): New function.
15379 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15380 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15381 (avl-tree-stack-empty-p): New functions.
15382
3769ddcf
TC
15383 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15384 avl-tree--del-balance1 and make it work both ways.
15385 (avl-tree--del-balance2): Remove.
15386 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15387 make it work both ways.
15388 (avl-tree--enter-balance2): Remove.
15389 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15390 New macros.
15391 (avl-tree--mapc, avl-tree-map): Add direction argument.
15392
eb95d01d 153932011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15394
15395 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15396
a9f737ee
CY
153972011-05-27 Chong Yidong <cyd@stupidchicken.com>
15398
15399 * select.el: Support clipboard managers with built-in function
15400 x-clipboard-manager-save, via delete-frame-functions and
15401 kill-emacs-hook.
15402 (xselect-convert-to-targets): Add MULTIPLE target to list.
15403 (xselect-convert-to-save-targets): New function.
15404
c92a1e54
KH
154052011-05-27 Kenichi Handa <handa@m17n.org>
15406
15407 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15408 let-binding rfc2047-encode-encoded-words to nil.
15409
e145f188
GM
154102011-05-27 Glenn Morris <rgm@gnu.org>
15411
5ec8a862
GM
15412 * mail/emacsbug.el: Don't require url-util.
15413
4b29d9fb
GM
15414 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15415
e145f188
GM
15416 * files.el (set-auto-mode):
15417 Also respect mode: entries at the end of the file. (Bug#8586)
15418
7d15102b
GM
154192011-05-26 Glenn Morris <rgm@gnu.org>
15420
98f593b8
GM
15421 * files.el (hack-local-variables-prop-line, hack-local-variables):
15422 Downcase mode names, as seems to be traditional.
27b48e63 15423 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15424
7d15102b
GM
15425 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15426 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15427
51d5b4ec
JD
154282011-05-25 Julien Danjou <julien@danjou.info>
15429
15430 * textmodes/rst.el (rst-define-level-faces): Do not define face
15431 symbol if it is already defined.
15432
91513f63
VB
154332011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15434
15435 * play/5x5.el (5x5-new-game, 5x5-randomize):
15436 Reset 5x5-solver-output to nil when a new grid is cast.
15437 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15438 these debugging traces, as defmacro breaks the compiled code.
15439
4d90d6d0
DK
154402011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15441
15442 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15443
e1b90ef6
LL
154442011-05-24 Leo Liu <sdl.web@gmail.com>
15445
15446 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15447 (vc-bzr-sha1): Adapt.
15448
d8e4b68b 15449 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15450
15451 * bindings.el: Provide sha1 feature.
15452
db0406bb 154532011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15454
15455 * mail/sendmail.el: Require `rfc2047'.
15456 (mail-insert-from-field): Do not perform RFC2047 encoding.
15457 (mail-encode-header): New function.
15458 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15459 buffer to the return value of select-message-coding-system.
15460 Call mail-encode-header.
b8d747b9
KH
15461
15462 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15463
db0406bb 154642011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15465
4d90d6d0
DK
15466 * mail/supercite.el (sc-default-cite-frame):
15467 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15468
eb8a5e9b
GM
154692011-05-24 Glenn Morris <rgm@gnu.org>
15470
f8630703
GM
15471 * progmodes/python.el (brm-menu): Declare.
15472
8831bbed
GM
15473 * emulation/viper.el (viper-set-hooks): Declare.
15474
eb8a5e9b
GM
15475 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15476 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15477 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15478 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15479 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15480 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15481
a2a25d24
SM
154822011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15483
15484 Add an :exit-function for completion-at-point.
15485
15486 * minibuffer.el (completion--done): New fun.
15487 (completion--do-completion): Use it. New arg `expect-exact'.
15488 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15489 since completion--do-completion does it for us now.
15490 (minibuffer-force-complete): Use completion--done and
15491 completion--replace. Handle sole-completion case with more care.
15492 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15493 (completion-extra-properties): New var.
15494 (completion-annotate-function): Make obsolete.
15495 (minibuffer-completion-help): Adjust accordingly.
15496 Use completion-list-insert-choice-function.
15497 (completion-at-point, completion-help-at-point):
15498 Bind completion-extra-properties.
15499 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15500 * simple.el (completion-list-insert-choice-function): New var.
15501 (completion-setup-function): Preserve it.
15502 (choose-completion): Pay attention to it, shuffle the code a bit.
15503 (choose-completion-string): New arg `insert-function'.
15504
15505 * textmodes/bibtex.el: Convert to lexical binding.
15506 (bibtex-mode-map): Use completion-at-point.
15507 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15508 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15509 (bibtex-complete): Define as obsolete alias.
15510 (bibtex-complete-internal): Remove.
15511 (bibtex-format-entry): Remove unused sub-group in regexp.
15512 * shell.el (shell--command-completion-data)
15513 (shell-environment-variable-completion):
15514 * pcomplete.el (pcomplete-completions-at-point):
15515 * comint.el (comint--complete-file-name-data): Use :exit-function
15516 instead of completion-table-with-terminator so it also works for
15517 choose-completion.
15518
e44e373d
SM
155192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15520
4f91a816
SM
15521 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15522
782fc819
SM
15523 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15524 (bug#8710).
15525
e44e373d
SM
15526 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15527
381987c3
KM
155282011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15529
15530 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15531 customization variable and implement: If non-nil, auto-fill will
15532 be inhibited while on topic's header line.
15533
b776bc70
VB
155342011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15535
15536 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15537 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15538 always have a solution in grid size = 5 cases.
15539 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15540 (5x5-solver-output, 5x5-log-buffer): New vars.
15541 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15542 Make these variables buffer local to achieve 5x5 multi-session-ness.
15543 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15544 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15545 (5x5-solve-suggest): New funs.
15546 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15547 randomize a grid so that we ensure that there is always a solution.
15548 (5x5-make-random-grid): Allow other movement than flipping.
15549
7de88b6e
KR
155502011-05-23 Kevin Ryde <user42@zip.com.au>
15551
15552 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15553 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15554 advice and passes PREDICATE.
15555
b1ef1257
SM
155562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15557
bbca48fe
SM
15558 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15559 byte-compile-lambda if it's actually a lambda.
15560
b1ef1257
SM
15561 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15562 Fix function quoting. Use backquote better.
15563
92a9cc65
YS
155642011-05-22 Yuanle Song <sylecn@gmail.com>
15565
15566 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15567 matching (Bug#8516).
15568
f0fb8059
JA
155692011-01-22 Jari Aalto <jari.aalto@cante.net>
15570
15571 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15572 different face (Bug#8178).
15573
d5b44c93
CY
155742011-05-22 Chong Yidong <cyd@stupidchicken.com>
15575
15576 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15577 defface (Bug#8144).
15578
79106a44
SM
155792011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15580
9c848d8a
SM
15581 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15582 funcall as well (bug#8712). Warn when performing those conversions.
15583 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15584
79106a44
SM
15585 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15586
88dfa756
GM
155872011-05-22 Glenn Morris <rgm@gnu.org>
15588
15589 * files.el (hack-local-variables-prop-line): Small simplifications.
15590 (hack-local-variables, hack-local-variables-prop-line):
15591 If MODE-ONLY, return the mode, rather than just `t'.
15592
b7cf2c79
SM
155932011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15596
3f1a8558
GM
155972011-05-21 Glenn Morris <rgm@gnu.org>
15598
7e4ccca3
GM
15599 * files.el (hack-local-variables-prop-line, hack-local-variables):
15600 If only interested in the mode, don't bother doing the other stuff.
15601
637d46ca
GM
15602 * image-mode.el (image-after-revert-hook):
15603 Redraw all frames on which the image is visible. (Bug#8567)
15604
973d955b
GM
15605 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15606
3f1a8558
GM
15607 * wid-edit.el (widget-checklist-match-inline):
15608 Fix 2011-04-19 change. (Bug#8649)
15609
96479927
SM
156102011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15611
1dcf791f
SM
15612 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15613 Also allow singlespace after single-letter capitals followed by a dot.
15614
96479927
SM
15615 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15616 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15617
35fd0881
N
156182011-05-20 Nix <nix@esperi.org.uk>
15619
15620 * files.el (basic-save-buffer-2):
15621 Fix handling of break-hardlink-on-save with non-existent files.
15622
82745640
DD
156232011-05-19 Deniz Dogan <deniz@dogan.se>
15624
15625 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15626 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15627
4a720484
GM
156282011-05-19 Glenn Morris <rgm@gnu.org>
15629
d1f21341
GM
15630 * progmodes/f90.el (f90-type-def-re):
15631 Handle "type, bind(c)". (Bug#8691)
15632
4a720484
GM
15633 * emacs-lisp/autoload.el (batch-update-autoloads):
15634 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15635
2fb0a219
MA
156362011-05-18 Michael Albinus <michael.albinus@gmx.de>
15637
15638 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15639 property for the correct connection in case of multihops.
15640
e565dd37
GM
156412011-05-18 Glenn Morris <rgm@gnu.org>
15642
c2571358 15643 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15644 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15645
e565dd37
GM
15646 Rationalize calendar handling of day and month abbrev-arrays.
15647 * calendar/calendar.el (calendar-customized-p): New function.
15648 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15649 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15650 Add :set function.
15651 (calendar-abbrev-length, calendar-day-abbrev-array)
15652 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15653 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15654 Elements may no longer be nil.
15655 (calendar-day-name, calendar-month-name):
15656 Update for changed nature of abbrev arrays.
15657 * calendar/diary-lib.el (diary-name-pattern):
15658 Update for changed nature of abbrev arrays.
15659 (diary-mark-entries-1): Update calendar-make-alist calls.
15660 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15661 * calendar/cal-html.el (cal-html-day-abbrev-array):
15662 Simply inherit from calendar-day-abbrev-array.
15663
1d99a745
SM
156642011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * progmodes/grep.el (grep-mode): Disable default
15667 compilation-directory-matcher setting (bug#8684).
15668
7c1d9aa0
MA
156692011-05-17 Michael Albinus <michael.albinus@gmx.de>
15670
15671 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15672 instead of "head" and "tail". There were problems with SunOS 5.9,
15673 and it performs better.
15674
3952e9d8
GM
156752011-05-17 Glenn Morris <rgm@gnu.org>
15676
2dd12e7f
GM
15677 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15678
e4157b9c
GM
15679 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15680 Replace obsolete function.
15681
8e249bbd
GM
15682 * shell.el (pcomplete-parse-arguments-function): Declare.
15683
3952e9d8
GM
15684 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15685 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15686 (appt-check): Doc fixes.
15687 (appt-disp-window-function, appt-delete-window-function):
15688 Remove needless special case in custom :type.
15689 (appt-display-count): Default to 0, not nil.
15690 (appt-check): Reset appt-display-count to 0, not nil.
15691
c71a0d48 156922011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15693
c71a0d48
GM
15694 * progmodes/python.el (python-font-lock-keywords):
15695 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15696
31d55be9
SM
156972011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15698
15699 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15700
3bfacb2f
KR
157012011-05-16 Kevin Ryde <user42@zip.com.au>
15702
15703 * info-look.el (makefile-automake-mode): New setups, looking in
15704 automake manual, then makefile-mode.
15705 (makefile-mode): Remove automake manual, have it just in
15706 makefile-automake-mode since there's various things different or
15707 not relevant to plain make.
15708 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15709 believe a hypothetical automake-mode would go to makefile-mode,
15710 not the other way around.
15711
c8e83751
CY
157122011-05-15 Chong Yidong <cyd@stupidchicken.com>
15713
5e9e35cd
CY
15714 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15715 hunk-end tags (Bug#8672).
15716
c8e83751
CY
15717 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15718 vc-annotate-show-diff-revision-at-line (Bug#8671).
15719
50b23e5a
GM
157202011-05-14 Glenn Morris <rgm@gnu.org>
15721
7210a739
GM
15722 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15723 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15724 (change-log-font-lock-keywords): Also handle multiple author lines
15725 with leading tabs. (Bug#8644)
7210a739 15726
4691905a
GM
15727 * calendar/appt.el (appt-check): Rename some local variables.
15728 Some simplification/reordering.
15729
50b23e5a
GM
15730 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15731 (feedmail-sendmail-f-doesnt-sell-me-out)
15732 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15733 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15734 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15735 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15736 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15737 (feedmail-binmail-gnulinuxish-template):
15738 Rename from feedmail-binmail-linuxish-template.
15739 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15740 Use insert-buffer-substring.
15741
215cda7c
BC
157422011-05-14 Bill Carpenter <bill@carpenter.org>
15743
15744 * mail/feedmail.el (feedmail-patch-level): Increase.
15745 (feedmail-debug): New custom group.
15746 (feedmail-confirm-outgoing-timeout)
15747 (feedmail-sendmail-f-doesnt-sell-me-out)
15748 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15749 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15750 (feedmail-sender-line, feedmail-from-line)
15751 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15752 (feedmail-spray-this-address)
215cda7c
BC
15753 (feedmail-spray-address-fiddle-plex-list)
15754 (feedmail-queue-use-send-time-for-date)
15755 (feedmail-queue-use-send-time-for-message-id)
15756 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15757 (feedmail-buffer-eating-function):
15758 Doc fixes.
15759 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15760 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15761 (feedmail-message-action-scroll-down): New functions.
15762 (feedmail-queue-directory, feedmail-queue-draft-directory):
15763 Use expand-file-name.
15764 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15765 Remove C-v help entry.
15766 (feedmail-queue-buffer-file-name): New variable.
15767 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15768 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15769 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15770 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15771 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15772 (feedmail-message-action-toggle-spray)
15773 (feedmail-run-the-queue-no-prompts)
15774 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15775 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15776 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15777 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15778 (feedmail-envelope-deducer, feedmail-fiddle-from)
15779 (feedmail-fiddle-sender, feedmail-default-date-generator)
15780 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15781 (feedmail-fiddle-spray-address)
15782 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15783 (feedmail-fiddle-list-of-fiddle-plexes)
15784 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15785 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15786 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15787 Change default. Doc fix.
15788 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15789 (feedmail-binmail-linuxish-template): New constant.
15790 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15791 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15792 (feedmail-send-it): Add debug call.
15793 Use feedmail-queue-buffer-file-name, and
15794 feedmail-send-it-immediately-wrapper.
15795 (feedmail-message-action-send): Add debug call.
15796 Use feedmail-send-it-immediately-wrapper.
15797 (feedmail-queue-express-to-queue): Add debug call.
15798 Run feedmail-queue-express-hook.
15799 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15800 (feedmail-message-action-help-blat):
15801 Rename from feedmail-queue-send-edit-prompt-help-first.
15802 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15803 Check line-endings. Handle errors better.
15804 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15805 Doc fix. Add debug call.
15806 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15807 Use feedmail-queue-send-edit-prompt-inner.
15808 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15809 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15810 from feedmail-queue-send-edit-prompt.
15811 (feedmail-queue-send-edit-prompt-help)
15812 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15813 (feedmail-tidy-up-slug): Add debug call.
15814 Respect feedmail-queue-slug-suspect-regexp.
15815 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15816 (feedmail-dump-message-to-queue): Add debug call.
15817 Expand queue-directory.
15818 (feedmail-dump-message-to-queue): Change message slightly.
15819 Use feedmail-say-chatter.
15820 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15821 (feedmail-send-it-immediately-wrapper): New function.
15822 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15823 Insert empty string rather than newline. Handle full-frame case.
15824 Use catch/throw. Use feedmail-say-chatter.
15825 (feedmail-fiddle-from): Try mail-host-address.
15826 (feedmail-default-message-id-generator): Doc fix.
15827 Bind system-time-locale. Handle missing end.
15828 (feedmail-fiddle-x-mailer): Add debug call.
15829 Handle feedmail-x-mailer-line being nil.
15830 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15831 Add debug call. Use buffer-substring-no-properties.
15832 (feedmail-say-debug, feedmail-say-chatter): New functions.
15833 (feedmail-find-eoh): Give an explicit error.
15834
42c7e61e
UJ
158352011-05-13 Ulf Jasper <ulf.jasper@web.de>
15836
c2571358 15837 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15838 family from helvetica to sans.
c2571358 15839 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15840 etc/images/newsticker.
15841
c2571358 15842 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15843 family from helvetica to sans.
15844
15845 * net/newst-plainview.el (newsticker-new-item-face)
15846 (newsticker-old-item-face, newsticker-immortal-item-face)
15847 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15848 (newsticker-statistics-face): Change default family from
42c7e61e 15849 helvetica to sans.
c2571358 15850 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15851 etc/images/newsticker.
15852
5d3385a0
JB
15853 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15854 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15855 auto-marking.
15856
8497a297
DV
158572011-05-13 Didier Verna <didier@xemacs.org>
15858
15859 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15860 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15861 TODO entries.
8497a297
DV
15862 (lisp-lambda-list-keyword-parameter-indentation)
15863 (lisp-lambda-list-keyword-parameter-alignment)
15864 (lisp-lambda-list-keyword-alignment): New customizable user options.
15865 (lisp-indent-defun-method): Improve docstring.
15866 (extended-loop-p): Fix comment.
15867 (lisp-indent-lambda-list-keywords-regexp): New variable.
15868 (lisp-indent-lambda-list): New function.
15869 (lisp-indent-259): Use it.
15870 (lisp-indent-defmethod): Support for more than one
15871 method qualifier and properly indent methods lambda-lists.
15872 (defgeneric): Provide a missing common-lisp-indent-function property.
15873
f278f87f
SM
158742011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15875
15876 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15877 bounds for the empty string (bug#8667).
15878
5233edd7
GM
158792011-05-13 Glenn Morris <rgm@gnu.org>
15880
5237a44f
GM
15881 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15882
8340026c 15883 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15884 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15885
5233edd7 15886 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15887 (appt-time-msg-list): Doc fix.
a5464014 15888 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15889
92d10796
AS
158902011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15891
15892 * progmodes/ld-script.el (ld-script-keywords)
15893 (ld-script-builtins): Update keywords list.
15894
914a0ae1
SM
158952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15896
c89be45f
SM
15897 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15898
914a0ae1
SM
15899 * shell.el (shell-completion-vars): New function.
15900 (shell-mode):
15901 * simple.el (read-shell-command): Use it.
15902 (blink-matching-open): No need for " [...]" in minibuffer-message.
15903
98dc3df3
GM
159042011-05-12 Glenn Morris <rgm@gnu.org>
15905
15906 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15907 (appt-check): Simplify.
15908
d2fc7e3d 159092011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15910
4d61f28d 15911 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15912 literal "/dev/null".
15913
d2fc7e3d 159142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15915
15916 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15917 Fix typo.
15918
d2fc7e3d 159192011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15920
3f254caa
SM
15921 * progmodes/which-func.el (which-function):
15922 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15923 which might not be defined (Bug#8260).
15924
d45885f7
GM
159252011-05-12 Glenn Morris <rgm@gnu.org>
15926
15927 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15928 Let byte-compile-initial-macro-environment always take precedence.
15929
488086f4
SM
159302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * net/rcirc.el: Add support for SSL/TLS connections.
15933 (rcirc-server-alist): New field `encryption'.
15934 (rcirc): Check `encryption' settings.
15935 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15936 Merge make-local-variable into `set'.
15937 (rcirc--connection-open-p): New function.
15938 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15939 the process is not a network process (e.g. running gnutls-cli).
15940 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15941 Make rcirc-(en|de)code-coding-system local here.
15942 (rcirc-mode): Merge make-local-variable into `set'.
15943 (rcirc-parent-buffer): Make permanent buffer-local.
15944 (rcirc-multiline-minor-mode): Don't do it here.
15945 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15946 there's no server buffer.
15947
7d3b9d44
GM
159482011-05-11 Glenn Morris <rgm@gnu.org>
15949
f64049c6
GM
15950 * newcomment.el (comment-kill): Prefix "unused" local.
15951
93c9df73
GM
15952 * term/w32console.el (get-screen-color): Declare.
15953
7d3b9d44
GM
15954 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15955 Handle symbol elements of byte-compile-initial-macro-environment.
15956
9e2dd53f
LL
159572011-05-10 Leo Liu <sdl.web@gmail.com>
15958
488086f4
SM
15959 * bookmark.el (bookmark-bmenu-mode-map):
15960 Bind bookmark-bmenu-search to `/'.
8b340240 15961
9e2dd53f 15962 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15963 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15964 (Footnote-unicode): New function.
15965 (footnote-style-alist): Add unicode style to the list.
15966 (footnote-style): Doc fix.
9e2dd53f 15967
79b70037
GM
159682011-05-10 Jim Meyering <meyering@redhat.com>
15969
15970 Fix doubled-word typos.
15971 * international/quail.el (quail-insert-kbd-layout): and and -> and
15972 * kermit.el: and and -> and
15973 * net/ldap.el (ldap-search-internal): to to -> to
15974 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15975 * progmodes/js.el (js-mode): and and -> and
15976 * textmodes/artist.el (artist-move-to-xy): at at -> at
15977 (artist-draw-region-trim-line-endings): if if -> if
15978 And Safetyc -> Safety.
15979 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15980
b8f82dc1 159812011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15982 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15983
15984 * files.el (hack-one-local-variable-eval-safep):
15985 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15986
4f99f44b
GM
159872011-05-10 Glenn Morris <rgm@gnu.org>
15988
15989 * calendar/diary-lib.el (diary-list-entries-hook)
15990 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15991 (diary-nongregorian-marking-hook, diary-list-entries)
15992 (diary-include-other-diary-files, diary-mark-entries)
15993 (diary-mark-included-diary-files): Doc fixes.
15994
84f29e6b
JB
159952011-05-09 Juanma Barranquero <lekktu@gmail.com>
15996
15997 * misc.el: Require tabulated-list.el during compilation.
15998
9bedd73a
CY
159992011-05-09 Chong Yidong <cyd@stupidchicken.com>
16000
488086f4
SM
16001 * progmodes/compile.el (compilation-start):
16002 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16003 (compilation-filter-hook): Doc fix.
16004
797c735c
DD
160052011-05-09 Deniz Dogan <deniz@dogan.se>
16006
16007 * wdired.el: Remove outdated installation comment. Fix usage
16008 comment.
16009
5f4b1dfe
JB
160102011-05-09 Juanma Barranquero <lekktu@gmail.com>
16011
16012 * misc.el: Implement new command `list-dynamic-libraries'.
16013 (list-dynamic-libraries--loaded-only-p): New variable.
16014 (list-dynamic-libraries--refresh): New function.
16015 (list-dynamic-libraries): New command.
16016
4c44026c
CY
160172011-05-09 Chong Yidong <cyd@stupidchicken.com>
16018
488086f4
SM
16019 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16020 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16021 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16022 higher priority to avoid clobbering by gnu.
16023
027f966d
CY
160242011-05-08 Chong Yidong <cyd@stupidchicken.com>
16025
16026 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16027 if the face has existing theme settings (Bug#8454).
16028
085f5d7d
CY
160292011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16030
488086f4
SM
16031 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16032 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16033
2a86a00c
RS
16034 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16035 special file names `.' and `..' (Bug#8259).
16036
d9c54a06
CY
160372011-05-08 Chong Yidong <cyd@stupidchicken.com>
16038
488086f4
SM
16039 * progmodes/grep.el (grep-mode-font-lock-keywords):
16040 Remove buffer-changing entries.
d9c54a06
CY
16041 (grep-filter): New function.
16042 (grep-mode): Add it to compilation-filter-hook.
16043
16044 * progmodes/compile.el (compilation-filter-hook)
16045 (compilation-filter-start): New defvars.
16046 (compilation-filter): Call compilation-filter-hook prior to
16047 updating the process mark.
16048
c4662635
SM
160492011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16052
b0512a1d
EZ
160532011-05-07 Eli Zaretskii <eliz@gnu.org>
16054
605c9376
EZ
16055 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16056 mailclient-send-it even if window-system is nil. (Bug#8595)
16057
c4662635
SM
16058 * term/w32console.el (terminal-init-w32console):
16059 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16060 background-mode. (Bug#8597)
16061
d1dc2cc2
SM
160622011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16063
16064 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16065 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16066 New functions.
16067 (defgeneric, eieio--defmethod): Use them.
16068 (eieio-defgeneric): Remove.
16069 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16070
915d1300
GM
160712011-05-07 Glenn Morris <rgm@gnu.org>
16072
a3961c3e
GM
16073 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16074 Use let rather than let*.
16075 (timeclock-find-discrep): Remove unused local.
16076
314347b9
GM
16077 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16078
915d1300
GM
16079 * calendar/appt.el (appt-time-msg-list): Doc fix.
16080
275b59b0
NF
160812011-05-06 Noah Friedman <friedman@splode.com>
16082
16083 * apropos.el (apropos-print-doc): Only use
16084 emacs-lisp-docstring-fill-column when it is bound to an integer,
16085 per that variable's documentation.
16086
6c19f744
SM
160872011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16090 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16091
60f884b2
GM
160922011-05-06 Glenn Morris <rgm@gnu.org>
16093
5006e634
GM
16094 * calendar/appt.el (appt-message-warning-time): Doc fix.
16095 (appt-warning-time-regexp): New option.
16096 (appt-make-list): Respect appt-message-warning-time.
16097
548d0a63
GM
16098 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16099 New options.
16100 (diary-add-to-list): Strip comments from the displayed string.
16101 (diary-mode): Set comment-start and comment-end.
16102
60f884b2
GM
16103 * vc/diff-mode.el (smerge-refine-subst): Declare.
16104 (diff-refine-hunk): Don't require smerge-mode when compiling.
16105
989681bb
JB
161062011-05-06 Juanma Barranquero <lekktu@gmail.com>
16107
16108 * simple.el (list-processes): Return nil as the docstring says.
16109
a6bc05e1
MA
161102011-05-05 Michael Albinus <michael.albinus@gmx.de>
16111
16112 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16113 to "".
16114 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16115 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16116 determining of binary transfer. (Bug#7383)
16117
23c22e9a
MA
161182011-05-05 Michael Albinus <michael.albinus@gmx.de>
16119
c4662635
SM
16120 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16121 Fix port computation bug. (Bug#8618)
23c22e9a 16122
0bff894f
GM
161232011-05-05 Glenn Morris <rgm@gnu.org>
16124
b8296902
GM
16125 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16126
1f522ce8
GM
16127 * simple.el (shell-dynamic-complete-functions)
16128 (comint-dynamic-complete-functions): Declare.
16129
cf5bee67
GM
16130 * net/network-stream.el (gnutls-negotiate):
16131 * simple.el (tabulated-list-print): Fix declarations.
16132
16133 * progmodes/gud.el (syntax-symbol, syntax-point):
16134 Remove unnecessary and incorrect declarations.
16135
0bff894f
GM
16136 * emacs-lisp/check-declare.el (check-declare-scan):
16137 Handle byte-compile-initial-macro-environment in bytecomp.el
16138
9869b3ae
SM
161392011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16140
16141 Fix earlier half-done eieio-defmethod change (bug#8338).
16142 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16143 Streamline and change calling convention.
16144 (defmethod): Adjust accordingly and simplify.
16145 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16146 new eieio--defmethod.
16147 (slot-boundp): Minor CSE simplification.
16148
9c1d5ac5
MZ
161492011-05-05 Milan Zamazal <pdm@zamazal.org>
16150
16151 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16152 (glasses-make-readable): Use glasses-separate-capital-groups.
16153
455c834e
JB
161542011-05-05 Juanma Barranquero <lekktu@gmail.com>
16155
16156 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16157 (warning-series): Doc fix.
16158 (display-warning): Don't try to create the buffer if we just found it.
16159
9ed7c8cb
CY
161602011-05-04 Chong Yidong <cyd@stupidchicken.com>
16161
16162 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16163 (autoload-find-generated-file): New function.
16164 (generate-file-autoloads): Bind generated-autoload-file to
16165 buffer-file-name.
9869b3ae
SM
16166 (update-file-autoloads, update-directory-autoloads):
16167 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16168 output file (Bug#7989).
16169 (batch-update-autoloads): Doc fix.
16170
0898ca10
JB
161712011-05-04 Juanma Barranquero <lekktu@gmail.com>
16172
16173 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16174
31dfb76c
GM
161752011-05-04 Glenn Morris <rgm@gnu.org>
16176
f330b642
GM
16177 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16178 function, so it follows changes in calendar-date-style.
16179 (diary-fancy-date-matcher): New function.
16180 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16181 (diary-fancy-font-lock-fontify-region-function):
16182 Use diary-fancy-date-pattern as a function.
16183
31dfb76c
GM
16184 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16185 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16186
48e79d6a
TZ
161872011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16188
16189 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16190 instead of positional arguments. Allow :keylist and :crlfiles
16191 arguments.
16192 (open-gnutls-stream): Call it.
16193
16194 * net/network-stream.el (network-stream-open-starttls): Adjust to
16195 call `gnutls-negotiate' with :process and :hostname arguments.
16196
dd5a5ee0
SM
161972011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16198
ef80fc09
SM
16199 * minibuffer.el (completion--message): New function.
16200 (completion--do-completion, minibuffer-complete)
16201 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16202 (completion--do-completion): Don't ignore completion-auto-help when in
16203 icomplete-mode.
16204
dd5a5ee0
SM
16205 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16206 internal encoding (e.g. tibetan zero is not whitespace).
16207 (global-whitespace-mode): Prefer save-current-buffer.
16208 (whitespace-trailing-regexp): Remove useless save-match-data.
16209 (whitespace-empty-at-bob-regexp): Minor simplification.
16210
b7d22a83
CY
162112011-05-03 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16214
5192af46
AM
162152011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16216
16217 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16218 Use `concat' to create string for insertion.
5192af46 16219
5767d190
SM
162202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16221
16222 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16223 Avoid open-line which runs post-self-insert-hook.
16224 (bibtex-fill-entry): Remove unused `end' var.
16225
bf242939
AM
162262011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16227
5767d190
SM
16228 * textmodes/ispell.el (ispell-add-per-file-word-list):
16229 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16230
25666126
LL
162312011-05-03 Leo Liu <sdl.web@gmail.com>
16232
16233 * isearch.el (isearch-yank-pop): New command.
5767d190 16234 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16235 (isearch-forward): Mention it.
16236
52d3c2d0
SM
162372011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16238
1bcace58
SM
16239 * simple.el (minibuffer-complete-shell-command): Remove.
16240 (minibuffer-local-shell-command-map): Use completion-at-point.
16241 (read-shell-command): Setup completion vars here instead.
16242 (read-expression-map): Bind TAB to symbol completion.
16243
52d3c2d0
SM
16244 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16245 error directly rather via storing it into `results'.
16246
35813471
LL
162472011-05-02 Leo Liu <sdl.web@gmail.com>
16248
16249 * vc/diff.el: Fix description.
16250
e793a940
LMI
162512011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16252
16253 * server.el (server-eval-at): New function.
16254
8de66e05
LMI
162552011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16256
16257 * net/network-stream.el (open-network-stream): Take a :nowait
16258 parameter and pass it on to `make-network-process'.
16259 (network-stream-open-plain): Ditto.
16260
dcb79f20
AS
162612011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16262
16263 * faces.el (face-spec-set-match-display): Don't match toolkit
16264 options on terminal frames.
16265
14a7fbd8
SM
162662011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16267
7eabc1be
SM
16268 * progmodes/pascal.el: Use lexical binding.
16269 (pascal-mode-map): Remove author preferences.
16270
14a7fbd8
SM
16271 * pcomplete.el (pcomplete-std-complete): Don't abuse
16272 completion-at-point.
16273
50f84510
JB
162742011-04-28 Juanma Barranquero <lekktu@gmail.com>
16275
6e087a44
JB
16276 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16277 removing code that has been dead since 1991 or so.
16278
50f84510
JB
16279 * startup.el (command-line): When warning about "_emacs", use a
16280 delayed warning to allow the user to filter it out.
16281
0ba690bd
DD
162822011-04-28 Deniz Dogan <deniz@dogan.se>
16283
16284 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16285 user has not joined.
16286
08abfaad
SM
162872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16288
16289 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16290 aren't any completions at point.
16291
638f053a
JB
162922011-04-28 Juanma Barranquero <lekktu@gmail.com>
16293
16294 * subr.el (display-delayed-warnings): New function.
16295 (delayed-warnings-hook): New variable.
16296
8fff8daa
SM
162972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16298
08abfaad
SM
16299 * minibuffer.el (completion-at-point, completion-help-at-point):
16300 Don't presume that a given completion-at-point-function will always
16301 use the same calling convention.
16302
8fff8daa
SM
16303 * pcomplete.el (pcomplete-completions-at-point):
16304 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16305 pcomplete-seen is non-nil.
16306 (pcomplete-comint-setup): Also recognize the new comint/shell
16307 completion functions.
16308 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16309 pcomplete-seen is non-nil.
16310
841a1577 163112011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16312
841a1577 16313 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16314 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16315 the first character in the entry. This allows for code to add its
211ec907
UJ
16316 own uid to the entry.
16317 (icalendar--convert-float-to-ical): Add export of
16318 `diary-float'-entries save for those with the optional DAY
16319 argument.
16320
2a782793
DC
163212011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16322
16323 * subr.el (shell-quote-argument): Use alternate escaping strategy
16324 when we spot a variable reference in a string.
16325
0438ce91
DC
163262011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16327
16328 * cus-start.el (all): Define customization for debug-on-event.
16329
841a1577 163302011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16331
16332 * subr.el (shell-quote-argument): Escape correctly under Windows.
16333
d090ed6c
SM
163342011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16335
16336 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16337
bfd31217
MA
163382011-04-25 Michael Albinus <michael.albinus@gmx.de>
16339
d090ed6c
SM
16340 * net/tramp.el (tramp-process-actions): Add POS argument.
16341 Delete region between POS and (pos).
bfd31217 16342
d090ed6c
SM
16343 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16344 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16345 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16346
16347 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16348 position in `tramp-process-actions' call.
16349
16350 * net/trampver.el: Update release number.
16351
e92f3bd3
SM
163522011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16353
850256b5
SM
16354 * custom.el (defcustom): Obey lexical-binding.
16355
e92f3bd3
SM
16356 Fix octave-inf completion problems reported by Alexander Klimov.
16357 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16358 Inherit from octave-mode-syntax-table.
16359 (inferior-octave-mode): Set info-lookup-mode.
16360 (inferior-octave-completion-at-point): New function.
16361 (inferior-octave-complete): Use it and completion-in-region.
16362 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16363 comint-filename-completion.
16364 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16365 symbol elements which shouldn't be word elements.
16366 (octave-font-lock-keywords, octave-beginning-of-defun)
16367 (octave-function-header-regexp): Adjust regexps accordingly.
16368 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16369
cd22b309
JB
163702011-04-25 Juanma Barranquero <lekktu@gmail.com>
16371
16372 * net/gnutls.el (gnutls-errorp): Declare before first use.
16373
8b492194
TZ
163742011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16375
16376 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16377 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16378 default trustfile exists before going to use it. Add missing
5a5fa834 16379 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16380 Reported by Claudio Bley <claudio.bley@gmail.com>.
16381 (open-gnutls-stream): Add usage example.
16382
16383 * net/network-stream.el (network-stream-open-starttls): Give host
16384 parameter to `gnutls-negotiate'.
16385 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16386 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16387
841a1577 163882011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16389
cd22b309
JB
16390 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16391 Use correct match group (bug#8438).
05842630 16392
3ba7869c
CY
163932011-04-24 Chong Yidong <cyd@stupidchicken.com>
16394
512e3ae1
CY
16395 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16396 (package-menu--generate): New arg specifying packages to show.
16397 (package-menu-refresh, package-menu-execute, list-packages):
16398 Callers changed.
16399 (package-show-package-list): New function, replacing deleted
16400 package--list-packages (renamed because it is non-internal).
16401
16402 * finder.el (finder-list-matches): Use package-show-package-list
16403 instead of deleted package--list-packages.
16404
e92f3bd3
SM
16405 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16406 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16407 (vc-annotate-mode-map): Bind it to RET.
16408
7031be6d
UR
164092011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16410
16411 * progmodes/etags.el (next-file): Don't use set-buffer to change
16412 buffers (Bug#8478).
16413
4ef177aa
CY
164142011-04-24 Chong Yidong <cyd@stupidchicken.com>
16415
c8d173eb
CY
16416 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16417
4ef177aa
CY
16418 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16419 (apropos-accumulator): Doc fix.
16420 (apropos-function, apropos-macro, apropos-command)
16421 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16422 (apropos-plist): Add face property.
16423 (apropos-symbols-internal): Fix indentation.
16424 (apropos-print): Simplify help, and recognize apropos-multi-type.
16425 (apropos-print-doc): Use button-type-get to extract the button's
16426 face property. Fill docstring (Bug#8352).
16427
4ffd0d6b 164282011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16429
16430 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16431
c6c32125 16432 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16433 (mpuz-mode-map): Use mapc.
c6c32125
JB
16434 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16435 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16436 Fix typos in docstrings.
16437
58d468b4
JB
16438 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16439 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16440
6470c3c6
JB
16441 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16442
4ffd0d6b 164432011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16444
16445 * minibuffer.el (completion--do-completion): Avoid the "Next char
16446 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16447
3ad8bad0
CY
16448 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16449 mouse-2 into unread-command-events, it is interpreted correctly.
16450
71d73c9c 16451 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16452 (image-toggle-display): Doc fix.
71d73c9c 16453
841a1577 164542011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16455
4ffd0d6b
GM
16456 * textmodes/page.el (what-page): Use line-number-at-pos to
16457 calculate line number (Bug#6825).
6e1dbaa9 16458
c2fb1b60
JB
164592011-04-22 Juanma Barranquero <lekktu@gmail.com>
16460
16461 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16462 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16463 Pass argument NO-DEFAULT to `find-tag-interactive'.
16464
e02f48d7
JB
164652011-04-22 Juanma Barranquero <lekktu@gmail.com>
16466
16467 Lexical-binding cleanup.
16468
16469 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16470 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16471 * progmodes/ada-prj.el (ada-prj-initialize-values)
16472 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16473 (ada-prj-show-value):
16474 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16475 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16476 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16477 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16478 * progmodes/bug-reference.el (bug-reference-push-button):
16479 * progmodes/fortran.el (fortran-line-length):
16480 * progmodes/glasses.el (glasses-change):
16481 * progmodes/octave-mod.el (octave-fill-paragraph):
16482 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16483 (python-pdbtrack-grub-for-buffer, python-sentinel):
16484 * progmodes/sql.el (sql-save-connection):
16485 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16486 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16487 Mark unused parameters.
16488
16489 * progmodes/compile.el (compilation--flush-directory-cache)
16490 (compilation--flush-parse, compile-internal): Mark unused parameters.
16491 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16492 (compilation-next-error-function): Remove unused variable `timestamp'.
16493
16494 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16495 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16496
16497 * progmodes/dcl-mode.el (dcl-end-of-command):
16498 Remove unused variable `start'.
16499 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16500 (dcl-option-value-basic, dcl-option-value-offset)
16501 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16502 Mark unused parameters.
16503 (dcl-save-local-variable): Remove unused variable `val'.
16504 (mode): Declare.
16505
16506 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16507 Mark unused parameters.
16508 (delphi-ignore-changes): Move before first use.
16509 (delphi-charset-token-at): Remove unused variable `start'.
16510 (delphi-else-start): Remove unused variable `if-count'.
16511 (delphi-comment-block-start, delphi-comment-block-end):
16512 Remove unused variable `kind'.
16513 (delphi-indent-line): Remove unused variable `new-point'.
16514
16515 * progmodes/ebrowse.el (ebrowse-files-list)
16516 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16517 Mark unused parameters. Don't quote `lambda'.
16518 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16519 Don't quote `lambda'.
16520 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16521 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16522 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16523 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16524 Use `ignore-errors'.
16525 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16526 (ebrowse-view/find-file-and-search-pattern)
16527 (ebrowse-view/find-member-declaration/definition):
16528 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16529 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16530 Rename parameter PREFIX-ARG to PREFIX.
16531 (ebrowse-tags-read-name): Remove unused variables `start' and
16532 `member-info'.
16533 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16534 to `tags-file'.
16535
16536 * progmodes/etags.el (local-find-tag-hook): Declare.
16537 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16538 Mark unused parameters.
16539
16540 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16541 (executable-interpret): Mark unused parameter.
16542
16543 * progmodes/flymake.el (flymake-process-sentinel)
16544 (flymake-after-change-function)
16545 (flymake-create-temp-with-folder-structure)
16546 (flymake-get-include-dirs-dot): Mark unused parameters.
16547 (flymake-safe-delete-directory): Remove unused variable `err'.
16548
16549 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16550 (speedbar-timer-fn, speedbar-line-text)
16551 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16552 (speedbar-center-buffer-smartly): Declare functions.
16553 (gdb-find-watch-expression): Remove unused variable `array'.
16554 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16555 (gdb-starting): Mark unused parameters.
16556 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16557 (gdb-table-string): Remove unused variable `res'.
16558 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16559 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16560 (gdb-display-buffer): Remove unused variable `cur-size'.
16561
16562 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16563 allow lexical-binding compilation.
16564 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16565 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16566 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16567 Mark unused parameters.
16568 (gud-gdb-marker-filter): Remove unused variable `match'.
16569 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16570 lambda expressions and funcall them, instead of using `fset'.
16571
16572 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16573 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16574
16575 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16576 variable `header-beg'; use `let'.
16577
16578 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16579 `restart', `last-sexp' and `at-do'.
16580
16581 * progmodes/js.el (js--debug): Mark unused parameter.
16582 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16583 (js--splice-into-items): Remove unused variable `item'.
16584 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16585
16586 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16587 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16588 (makefile-complete): Remove unused variable `try'.
16589 (makefile-fill-paragraph, makefile-match-function-end):
16590 Mark unused parameters.
16591
16592 * progmodes/octave-inf.el (inferior-octave-complete):
16593 Remove unused variable `proc'.
16594 (inferior-octave-output-digest): Mark unused parameter.
16595
16596 * progmodes/perl-mode.el (perl-calculate-indent):
16597 Remove unused variable `err'.
16598
16599 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16600 (prolog-indent-line): Mark unused parameters.
16601 (prolog-indent-line): Remove unused variable `beg'.
16602
16603 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16604 (reporter-dont-compact-list): Declare.
16605
16606 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16607 Remove unused variable `char'.
16608 (sh-debug): Mark unused parameter.
16609 (sh-get-indent-info): Remove unused variable `start'.
16610 (sh-calculate-indent): Remove unused variable `var'.
16611
16612 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16613 (simula-electric-keyword): Remove unused variable `null'.
16614 (simula-search-backward, simula-search-forward): Remove unused
16615 variables `begin' and `end'.
16616
16617 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16618 Remove unused variable `pos'.
16619 (vera-electric-tab, vera-comment-uncomment-region):
16620 Mark unused parameters.
16621 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16622
7ede3b65
CY
166232011-04-22 Chong Yidong <cyd@stupidchicken.com>
16624
16625 * emacs-lisp/package.el (package--builtins, package-alist)
16626 (package-load-descriptor, package-built-in-p, package-activate)
16627 (define-package, package-installed-p)
16628 (package-compute-transaction, package-buffer-info)
16629 (package--push): Doc fix. Distinguish more clearly between
16630 version strings and version lists.
16631
121656e9
JB
166322011-04-21 Juanma Barranquero <lekktu@gmail.com>
16633
16634 Lexical-binding cleanup.
16635
16636 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16637 (5x5-make-mutate-best):
16638 * play/fortune.el (fortune-in-buffer):
16639 * play/gomoku.el (gomoku-init-display):
16640 * play/solitaire.el (solitaire, solitaire-do-check):
16641 * play/tetris.el (tetris-default-update-speed-function):
16642 Mark unused parameters.
16643
16644 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16645 (bubbles--shift): Remove unused variable `char-org'.
16646 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16647 (bubbles--show-images): Remove unused variable `char'.
16648
16649 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16650 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16651 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16652 (decipher-analyze-buffer): Use ?\s.
16653 (decipher-make-checkpoint): Remove unused variable `mapping'.
16654
16655 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16656
16657 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16658 Remove unused variable `result'; use `let'.
16659
16660 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16661 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16662 (gametree-children-shown-p, gametree-compute-reduced-score):
16663 Use `ignore-errors'.
16664
16665 * play/handwrite.el (ps-lpr-switches): Declare.
16666 (handwrite): Remove unused variables `pmin' and `lastp'.
16667
16668 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16669
16670 * play/landmark.el (landmark-init-display)
16671 (landmark-update-naught-weights): Mark unused parameters.
16672 (landmark-y): Remove unused variable `noise'. Simplify.
16673 (landmark-human-plays): Remove unused variable `score'.
16674
16675 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16676 (mpuz-try-proposal): Remove unused variable `game'.
16677
16678 * play/zone.el (life-patterns): Declare.
16679
80f499c7
JB
166802011-04-20 Juanma Barranquero <lekktu@gmail.com>
16681
16682 * vc/vc.el (ediff-vc-internal): Declare function.
16683
024ff170
SM
166842011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16685
c0a193ea
SM
16686 * shell.el: Use lexical-binding and std completion UI.
16687 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16688 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16689 comint-preoutput-filter-functions rather than on
16690 comint-output-filter-functions.
16691 (shell-command-completion, shell--command-completion-data)
16692 (shell-filename-completion, shell-environment-variable-completion)
16693 (shell-c-a-p-replace-by-expanded-directory): New functions.
16694 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16695 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16696 (shell-dynamic-complete-environment-variable): Use them.
16697 (shell-dynamic-complete-as-environment-variable)
16698 (shell-dynamic-complete-as-command): Remove.
16699 (shell-match-partial-variable): Match past point.
16700 * comint.el: Clean up use of completion-at-point-functions.
16701 (comint-completion-at-point): New function.
16702 (comint-mode): Use it completion-at-point-functions.
16703 (comint-dynamic-complete): Make it obsolete.
16704 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16705 (comint-c-a-p-replace-by-expanded-history): New function.
16706 (comint-dynamic-complete-functions)
16707 (comint-replace-by-expanded-history): Use it.
16708 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16709 termination strings. Try harder to avoid second try-completion.
16710 (completion-in-region-mode-map): Disable bindings that don't work yet.
16711
2dbaa080
SM
16712 * comint.el: Use lexical-binding. Require CL.
16713 (comint-dynamic-complete-functions): Use comint-filename-completion.
16714 (comint-completion-addsuffix): Tweak custom type.
16715 (comint-filename-completion, comint--common-suffix)
16716 (comint--common-quoted-suffix, comint--table-subvert)
16717 (comint--complete-file-name-data): New functions.
16718 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16719 (comint-dynamic-list-filename-completions): Use them.
16720 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16721
2dbaa080
SM
16722 * minibuffer.el (completion-in-region-mode):
16723 Keep completion-in-region-mode--predicate global.
16724 (completion-in-region--postch):
16725 Assume completion-in-region-mode--predicate is not null.
16726
c79a6f38
SM
16727 * progmodes/flymake.el (flymake-start-syntax-check-process):
16728 Obey `dir'. Simplify.
16729
024ff170
SM
16730 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16731 we're in VC after all.
16732
1c6c854e
CS
167332011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16734
16735 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16736 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16737 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16738
bed7f140
SM
167392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16740
332e62ab
SM
16741 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16742 add sanity check.
16743
bed7f140
SM
16744 * obsolete/erc-hecomplete.el: Make obsolete.
16745 * obsolete/: Standardize obsolescence info in the header.
16746
f195c582
GM
167472011-04-20 Glenn Morris <rgm@gnu.org>
16748
16749 * calendar/solar.el (solar-horizontal-coordinates):
16750 Use the longitude argument rather than `calendar-longitude'.
16751 (solar-date-next-longitude): Remove unused locals.
16752
cb79b8c0
VJL
167532011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16754
16755 * whitespace.el: New version 13.2.1.
16756
167572011-04-20 felix <EmacsWiki> (tiny change)
16758
d8e4b68b 16759 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16760 switching between major modes on a file.
16761
602ea69d
SM
167622011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16763
16764 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16765 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16766 multi-line comments as well.
16767
06b60517
JB
167682011-04-19 Juanma Barranquero <lekktu@gmail.com>
16769
16770 Lexical-binding cleanup.
16771
16772 * arc-mode.el (archive-mode-revert):
16773 * cmuscheme.el (scheme-interactively-start-process):
16774 * custom.el (custom-initialize-delay):
16775 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16776 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16777 * emacs-lock.el (emacs-lock-clear-sentinel):
16778 * ezimage.el (defezimage):
16779 * follow.el (follow-avoid-tail-recenter):
16780 * fringe.el (set-fringe-mode-1):
16781 * generic-x.el (bat-generic-mode-compile):
16782 * help-mode.el (help-info-variable, help-do-xref)
16783 (help-mode-revert-buffer):
16784 * help.el (view-emacs-todo):
16785 * iswitchb.el (iswitchb-completion-help):
16786 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16787 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16788 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16789 * locate.el (locate-update):
16790 * longlines.el (longlines-encode-region)
16791 (longlines-after-change-function):
16792 * outline.el (outline-isearch-open-invisible):
16793 * ps-def.el (declare-function, charset-dimension, char-width)
16794 (encode-char):
16795 * ps-mule.el (ps-mule-plot-string):
16796 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16797 (recentf-edit-list-select, recentf-edit-list-validate)
16798 (recentf-open-files-action):
16799 * rect.el (delete-whitespace-rectangle-line)
16800 (rectangle-number-line-callback):
16801 * register.el (window-configuration-to-register)
16802 (frame-configuration-to-register):
16803 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16804 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16805 (xselect-convert-to-targets, xselect-convert-to-delete)
16806 (xselect-convert-to-filename, xselect-convert-to-charpos)
16807 (xselect-convert-to-lineno, xselect-convert-to-colno)
16808 (xselect-convert-to-os, xselect-convert-to-host)
16809 (xselect-convert-to-user, xselect-convert-to-class)
16810 (xselect-convert-to-name, xselect-convert-to-integer)
16811 (xselect-convert-to-atom, xselect-convert-to-identity):
16812 * subr.el (declare, ignore, process-kill-without-query)
16813 (text-clone-maintain):
16814 * terminal.el (te-get-char, te-tic-sentinel):
16815 * tool-bar.el (tool-bar-make-keymap):
16816 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16817 * type-break.el (type-break-mode, type-break-noninteractive-query):
16818 * view.el (View-back-to-mark):
16819 * wid-browse.el (widget-browse-action, widget-browse-widget)
16820 (widget-browse-widgets, widget-browse-sexp):
16821 * widget.el (define-widget-keywords):
16822 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16823 Mark unused parameters.
16824
16825 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16826 (align-areas): Remove unused variable `look'.
16827 (align-region): Remove unused variables `real-end' and `pos-list'.
16828
16829 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16830
16831 * bindings.el (mode-line-modified, mode-line-remote):
16832 Mark unused parameters.
16833 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16834
16835 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16836 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16837
16838 * comint.el (comint-history-isearch-pop-state)
16839 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16840 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16841 (comint-substitute-in-file-name): Doc fix.
16842
16843 * completion.el (cmpl-statistics-block): Mark unused parameter.
16844 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16845 (save-completions-to-file, load-completions-from-file):
16846 Remove unused local variable `e'.
16847
16848 * composite.el (compose-chars): Remove unused variable `len'.
16849 (lgstring-insert-glyph): Remove unused variable `g'.
16850 (compose-glyph-string): Remove unused variables `ascent',
16851 `descent', `lbearing' and `rbearing'.
16852 (compose-glyph-string-relative): Remove unused variables
16853 `lbearing', `rbearing' and `wadjust'.
16854 (compose-gstring-for-graphic): Remove unused variables `header',
16855 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16856 (compose-gstring-for-terminal): Remove unused variables `header'
16857 and `nchars'. Use `let', not `let*'.
16858
16859 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16860 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16861 (Custom-buffer-done, custom-buffer-create-internal)
16862 (custom-browse-visibility-action, custom-browse-group-tag-action)
16863 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16864 (widget-magic-mouse-down-action, custom-toggle-parent)
16865 (custom-add-parent-links, custom-toggle-hide-variable)
16866 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16867 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16868 (custom-face-menu-create, custom-variable-menu-create, get)
16869 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16870 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16871 (customize-apropos): Remove unused variable `tests'.
16872 (custom-group-value-create): Remove unused variable `hidden-p'.
16873 (sort-fold-case): Declare.
16874
16875 * cus-theme.el (custom-reset-standard-faces-list)
16876 (custom-reset-standard-variables-list): Declare.
16877 (customize-create-theme, custom-theme-revert, custom-theme-write)
16878 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16879 Mark unused parameters.
16880
16881 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16882
16883 * delim-col.el (delimit-columns-max): Move defvar before first use.
16884
16885 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16886 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16887
16888 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16889 (auto-insert): Declare.
16890 (desktop-restore-file-buffer): Rename desktop-* parameters;
16891 mark unused ones.
16892 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16893 (desktop-buffer): Rename desktop-* parameters.
16894
16895 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16896 (dframe-reposition-frame-xemacs, dframe-help-echo)
16897 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16898 Mark unused parameters.
16899
16900 * dired-aux.el (backup-extract-version-start, overwrite-query)
16901 (overwrite-backup-query, rename-regexp-query)
16902 (rename-non-directory-query): Declare.
16903 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16904 (dired-add-entry): Remove unused variable `orig-file-name'.
16905 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16906 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16907 `dired-copy-preserve-time' directly.
16908 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16909 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16910
16911 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16912 (dired-virtual-revert, dired-make-relative-symlink):
16913 Mark unused parameters.
16914 (manual-program): Declare.
16915 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16916 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16917 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16918
16919 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16920
16921 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16922
16923 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16924 Declare.
16925
16926 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16927
16928 * electric.el (Electric-command-loop): Rename parameter
16929 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16930
16931 * expand.el (expand-in-literal): Remove unused variable `here'.
16932
16933 * facemenu.el (facemenu-add-new-color):
16934 Remove unused variable `docstring'.
16935
16936 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16937 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16938 (face-attr-construct): Mark unused parameter. Doc fix.
16939 (read-color): Remove unused variable `hex-string'.
16940
16941 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16942 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16943 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16944 (display-buffer-other-frame): Remove unused variable `old-window'.
16945 (kill-buffer-hook): Declare.
16946 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16947 Mark unused parameters.
16948 (after-find-file): Pass 1 to `auto-save-mode', not t.
16949
16950 * files-x.el (auto-insert): Declare.
16951 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16952
16953 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16954 variable `buf'. Mark unused parameter.
06b60517
JB
16955 (find-lisp-insert-directory): Mark unused parameter.
16956
16957 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16958 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16959 (format-common-tail): Remove, unused.
16960 (format-deannotate-region): Remove unused variable `loc'.
16961 (format-annotate-region): Remove unused variable `p'.
16962 (format-annotate-single-property-change): Remove unused variables
16963 `default' and `tail'.
16964
16965 * forms.el (read-file-filter): Declare.
16966 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16967
16968 * frame.el (frame-creation-function-alist): Mark unused parameter.
16969 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16970
16971 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16972 Remove unused parameters.
16973 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16974 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16975
16976 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16977 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16978 (hfy-prepare-tag-map): Mark unused parameters.
16979 (htmlfontify-buffer): Use `called-interactively-p'.
16980
16981 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16982 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16983 (ibuffer-do-occur): Mark unused parameters.
16984 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16985 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16986
16987 * ibuffer.el: Don't quote `lambda'.
16988 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16989 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16990 Mark unused parameters.
16991
16992 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16993 (ido-completing-read): Mark unused parameters.
16994 (ido-copy-current-word): Mark unused parameters;
16995 remove unused variable `name'.
16996 (ido-sort-merged-list): Remove unused parameter `dirs'.
16997
16998 * ielm.el (ielm-input-sender): Mark unused parameter.
16999 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17000 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17001 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17002 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17003 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17004
17005 * image-dired.el (image-dired-display-thumbs): Remove unused
17006 variables `curr-file' and `count'.
17007 (image-dired-remove-tag): Remove unused variable `start'.
17008 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17009 variable `curr-file'
17010 (image-dired-rotate-original): Remove unused variable `temp-file'.
17011 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17012 Remove unused variable `file'.
17013 (image-dired-gallery-generate): Remove unused variable `curr'.
17014 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17015
17016 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17017
17018 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17019
17020 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17021
17022 * isearch.el (minibuffer-history-symbol): Declare.
17023 (isearch-edit-string): Remove unused variable `err'.
17024 (isearch-message-prefix, isearch-message-suffix):
17025 Mark unused parameters.
17026
17027 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17028
17029 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17030
17031 * makesum.el (double-column): Remove unused variable `cnt'.
17032
17033 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17034 (ido-ignore-item-temp-list): Declare.
17035
17036 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17037 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17038 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17039 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17040 `mouse-col-delta'.
17041
17042 * mouse-sel.el (mouse-extend-internal):
17043 Remove unused variable `orig-window-frame'.
17044
17045 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17046 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17047 Move declarations before first use.
17048 (pcomplete-opt): Mark unused parameters; doc fix.
17049
17050 * proced.el (proced-revert): Mark unused parameter.
17051 (proced-send-signal): Remove unused variable `err'.
17052
17053 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17054 Rename parameter PREFIX-ARG to ARG.
17055 (ps-basic-plot-string, ps-basic-plot-whitespace):
17056 Mark unused parameters.
17057
17058 * replace.el (replace-count): Define.
17059 (occur-revert-function): Mark unused parameters.
17060 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17061 (isearch-case-fold-search, isearch-string): Declare.
17062 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17063 bind `case-fold-search'. Remove unused variables `beg' and `end',
17064 and simplify.
17065 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17066 COUNT and bind `replace-count'.
17067 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17068 to COUNT.
17069
17070 * savehist.el (print-readably, print-string-length): Declare.
17071
17072 * shadowfile.el (shadow-expand-cluster-in-file-name):
17073 Remove unused variable `cluster'.
17074 (shadow-copy-file): Remove unused variable `i'.
17075 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17076 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17077 (shadow-define-literal-group, shadow-define-regexp-group)
17078 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17079
17080 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17081 (shell): Use `called-interactively-p'.
17082 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17083
17084 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17085 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17086 (delete-backward-char): Remove unused variable `ocol'.
17087 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17088 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17089 (event-apply-hyper-modifier, event-apply-shift-modifier)
17090 (event-apply-control-modifier, event-apply-meta-modifier):
17091 Mark unused parameters.
17092 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17093 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17094
17095 * speedbar.el (speedbar-ignored-directory-expressions)
17096 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17097 (speedbar-find-file, speedbar-dir-follow)
17098 (speedbar-directory-buttons-follow, speedbar-tag-find)
17099 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17100 (speedbar-buffers-line-directory, speedbar-buffer-click):
17101 Mark unused parameters.
17102 (speedbar-tag-file): Remove unused variable `mode'.
17103 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17104
17105 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17106
17107 * talk.el (talk): Remove unused variable `display'.
17108
17109 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17110 (tar-write-region-annotate): Mark unused parameter.
17111
17112 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17113 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17114 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17115 warning by another.
17116
17117 * time-stamp.el (time-stamp-string-preprocess):
17118 Remove unused variable `require-padding'.
17119
17120 * tree-widget.el (widget-glyph-enable): Declare.
17121 (tree-widget-action): Mark unused parameter.
17122
17123 * w32-fns.el (x-get-selection): Mark unused parameter.
17124 (autoload-make-program, generated-autoload-file): Declare.
17125
17126 * wdired.el (wdired-revert): Mark unused parameters.
17127 (wdired-xcase-word): Remove unused variable `err'.
17128
17129 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17130 (whitespace-help-scroll): Remove unused variable `data-help'.
17131
17132 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17133 (widget-image-insert, widget-after-change, default)
17134 (widget-default-format-handler, widget-default-notify)
17135 (widget-default-prompt-value, widget-info-link-action)
17136 (widget-url-link-action, widget-function-link-action)
17137 (widget-variable-link-action, widget-file-link-action)
17138 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17139 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17140 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17141 (widget-insert-button-action, widget-delete-button-action, visibility)
17142 (widget-documentation-link-action, widget-documentation-string-action)
17143 (widget-const-prompt-value, widget-regexp-match, symbol)
17144 (widget-coding-system-prompt-value)
17145 (widget-key-sequence-value-to-external, sexp)
17146 (widget-sexp-value-to-internal, character, vector, cons)
17147 (widget-choice-prompt-value, widget-boolean-prompt-value)
17148 (widget-color--choose-action): Mark unused parameters.
17149 (widget-item-match-inline, widget-choice-match-inline)
17150 (widget-checklist-match, widget-checklist-match-inline)
17151 (widget-group-match): Rename parameter VALUES to VALS.
17152 (widget-field-value-set): Remove unused variable `size'.
17153 (widget-color-action): Remove unused variables `value' and `start'.
17154
17155 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17156 variable `dir'. Doc fix.
06b60517
JB
17157 (windmove-find-other-window): Don't pass it.
17158
17159 * window.el (count-windows): Mark unused parameter.
17160 (bw-adjust-window): Remove unused variable `err'.
17161
17162 * woman.el (woman-file-name): Remove unused variable `default'.
17163 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17164 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17165 (global-font-lock-mode): Declare.
17166 (woman-decode-region): Mark unused parameter.
17167 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17168
17169 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17170 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17171 (x-dnd-handle-moz-url): Remove unused variable `title'.
17172 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17173
17174 * xml.el (xml-parse-tag, xml-parse-attlist):
17175 Remove unused variable `pos'.
17176
bc4f7f3d
GM
171772011-04-19 Glenn Morris <rgm@gnu.org>
17178
17179 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17180 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17181 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17182 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17183 * calendar/cal-html.el (cal-html-insert-minical):
17184 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17185 (calendar-mark-date-pattern):
17186 Prefix "unused" locals.
17187
17188 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17189 optional argument `style'.
17190
17191 * calendar/appt.el (appt-make-list):
17192 * calendar/cal-china.el (calendar-chinese-date-string):
17193 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17194 (diary-hebrew-yahrzeit):
17195 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17196 * calendar/calendar.el (calendar-generate-window):
17197 * calendar/time-date.el (time-to-days):
17198 Remove unused local variables.
17199
16a43933
CY
172002011-04-18 Chong Yidong <cyd@stupidchicken.com>
17201
17202 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17203 glyphless-char-display table.
17204 (tabulated-list-glyphless-char-display): New var.
17205
7eed1860
SS
172062011-04-18 Sam Steingold <sds@gnu.org>
17207
17208 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17209 to acknowledgments.
17210
4d2d1ccd
GM
172112011-04-17 Glenn Morris <rgm@gnu.org>
17212
17213 * calendar/diary-lib.el (diary-sexp-entry):
17214 * calendar/holidays.el (holiday-sexp):
17215 Set debug-on-error rather than the removed stack-trace-on-error.
17216
239da61d
GM
172172011-04-16 Glenn Morris <rgm@gnu.org>
17218
17219 * progmodes/f90.el: Use lexical-binding.
17220 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17221
8b05752a
SM
172222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17223
daca8ba5
SM
17224 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17225 (mail-mode): Setup mailalias completion here instead.
17226 * mail/mailalias.el: Use lexical-binding.
17227 (pattern, mailalias-done): Declare dynamic.
17228 (mail-completion-at-point-function): New function, from mail-complete.
17229 (mail-complete): Use it.
17230 (mail-completion-expand): New function.
17231 (mail-get-names): Use it.
17232 (mail-directory, mail-directory-process, mail-directory-stream):
17233 Don't use `pattern' for lexically bound arg.
17234
6f542485
SM
17235 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17236
037e7c3f
SM
17237 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17238 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17239 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17240
8b05752a
SM
17241 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17242 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17243 (byte-interactive-p): Define them again, for use when inlining
17244 old code.
17245
49093f60
JB
172462011-04-15 Juanma Barranquero <lekktu@gmail.com>
17247
17248 * loadup.el: Use `string-to-number', not `string-to-int'.
17249
b5b8e7de
SM
172502011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17253 gud-gdb-complete-command.
17254 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17255 (gud-gdb-completion-at-point): New function.
17256 (gud-gdb-completions): Remove.
17257
f42efeb5
MA
172582011-04-14 Michael Albinus <michael.albinus@gmx.de>
17259
49093f60
JB
17260 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17261 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17262 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17263 whether `executable-find' is bound.
f42efeb5
MA
17264
17265 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17266
e240cc21
SM
172672011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17268
17269 * minibuffer.el (completion-in-region-mode-predicate)
17270 (completion-in-region-mode--predicate): New vars.
17271 (completion-in-region, completion-in-region--postch)
17272 (completion-in-region-mode): Use them.
17273 (completion--capf-wrapper): Also return the hook function.
17274 (completion-at-point, completion-help-at-point):
17275 Adjust and provide a predicate.
c2bd2ab0
SM
17276
17277 Preserve arg names for advice of subr and lexical functions (bug#8457).
17278 * help-fns.el (help-function-arglist): Consolidate the subr and
17279 new-byte-code cases. Add argument `preserve-names' to extract names
17280 from the docstring when needed.
17281 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17282 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17283 (ad-arglist): Use help-function-arglist's new arg.
17284 (ad-definition-type): Use cond.
17285
c183f693
JB
172862011-04-13 Juanma Barranquero <lekktu@gmail.com>
17287
06641a47
JB
17288 * autorevert.el (auto-revert-handler):
17289 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17290 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17291 Don't quote lambda.
17292
c183f693
JB
17293 * image-mode.el (image-transform-set-scale):
17294 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17295
1e3b6001
G
172962011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17297
17298 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17299 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17300 Upgrades via gnutls-cli are too slow to be done opportunistically.
17301
2d6af8dd
JB
173022011-04-12 Juanma Barranquero <lekktu@gmail.com>
17303
17304 * dframe.el (dframe-current-frame): Remove spurious quote.
17305
c0749a51
GM
173062011-04-12 Glenn Morris <rgm@gnu.org>
17307
088d0d61
GM
17308 * calendar/cal-tex.el (cal-tex-end-document):
17309 Try to automatically use latin1 input if needed.
17310
c0749a51
GM
17311 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17312 Don't try to cons a mark onto an empty element.
17313
5c90fde0
LL
173142011-04-11 Leo Liu <sdl.web@gmail.com>
17315
17316 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17317 buffers.
17318 (ido-kill-buffer-at-head): Support killing virtual buffers.
17319
369e974d
CY
173202011-04-10 Chong Yidong <cyd@stupidchicken.com>
17321
17322 * minibuffer.el (completion-show-inline-help): New var.
17323 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17324 (minibuffer-force-complete, minibuffer-complete-word):
17325 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17326
17327 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17328 to avoid interference from inline help (Bug#5849).
17329
37f1c930
LL
173302011-04-10 Leo Liu <sdl.web@gmail.com>
17331
099c39a4
JB
17332 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17333 Fix typo.
37f1c930 17334
a32d4040
CY
173352011-04-09 Chong Yidong <cyd@stupidchicken.com>
17336
17337 * image-mode.el (image-toggle-display-image): Signal an error if
17338 not in Image mode.
17339 (image-transform-mode, image-transform-resize)
17340 (image-transform-set-rotation): Doc fix.
daca8ba5 17341 (image-transform-set-resize): Delete.
a32d4040
CY
17342 (image-transform-set-scale, image-transform-fit-to-height)
17343 (image-transform-fit-to-width): Handle image-toggle-display-image
17344 and image-transform-resize directly.
17345
099c39a4 173462011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17347
17348 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17349 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17350 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17351 (doc-view-mode-map): Add bindings for the new functions.
17352
099c39a4 173532011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17354
4d61f28d 17355 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17356 Fix typo in docstring.
17357
3726838a
EZ
173582011-04-08 Eli Zaretskii <eliz@gnu.org>
17359
04f33f1e
EZ
17360 * files.el (file-size-human-readable): Produce one digit after
17361 decimal, like "ls -lh" does.
17362
17363 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17364 the file size representation.
17365
3726838a
EZ
17366 * simple.el (list-processes): If async subprocesses are not
17367 available, error out with a clear error message.
17368
cbb59342
CY
173692011-04-08 Chong Yidong <cyd@stupidchicken.com>
17370
17371 * help.el (help-form-show): New function, to be called from C.
17372 Put help-form output in a buffer named differently than *Help*.
17373
e3971c44
EZ
173742011-04-08 Eli Zaretskii <eliz@gnu.org>
17375
17376 * files.el (file-size-human-readable): New function.
17377
17378 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17379 computing the representation inline. Don't require `cl'.
17380
12544bbe
GM
173812011-04-08 Glenn Morris <rgm@gnu.org>
17382
a1de6c6a
GM
17383 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17384
3c4671f4
GM
17385 * net/browse-url.el (browse-url-firefox):
17386 Test system-type, not system-configuration.
17387
b605679c
GM
17388 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17389 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17390 Use log-edit-empty-buffer-p. (Bug#7598)
17391
56442f0c
GM
17392 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17393 (rlogin-mode-map): Initialize in the defvar.
17394 (rlogin): Use ignore-errors.
17395
12544bbe
GM
17396 * replace.el (occur-mode-map): Some fixes for menu items.
17397
eb237b0f
AH
173982011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17399
17400 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17401
7d668f2c
CY
174022011-04-06 Chong Yidong <cyd@stupidchicken.com>
17403
e67a13ab
CY
17404 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17405 issuing unused warnings.
17406
17407 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17408 macro directly.
17409
7d668f2c
CY
17410 * simple.el: Lisp reimplement of list-processes. Based on an
17411 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17412 (process-menu-mode): New major mode.
17413 (list-processes--refresh, list-processes):
17414 (process-menu-visit-buffer): New functions.
17415
17416 * files.el (save-buffers-kill-emacs): Don't assume any return
17417 value of list-processes, which is undocumented anyway.
17418
a83ec3c9
CY
174192011-04-06 Chong Yidong <cyd@stupidchicken.com>
17420
17421 * emacs-lisp/tabulated-list.el: New file.
17422
e91a96fe
CY
17423 * emacs-lisp/package.el: Use Tabulated List mode.
17424 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17425 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17426 table format using Tabulated List mode variables.
17427 (package--push): New macro, replacing package-list-maybe-add.
17428 (package-menu--generate): Use package--push. Renamed from
17429 package--generate-package-list.
17430 (package-menu-refresh, list-packages): Use it.
daca8ba5 17431 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17432 Return insertion data instead of inserting it directly.
099c39a4
JB
17433 (package-menu-describe-package, package-menu-execute):
17434 Use tabulated-list-get-id.
e91a96fe
CY
17435 (package-menu-mark-delete, package-menu-mark-install)
17436 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17437 (package-menu-mark-obsolete-for-deletion):
17438 Use tabulated-list-put-tag.
e91a96fe
CY
17439 (package--list-packages, package-menu-revert)
17440 (package-menu-get-package, package-menu-get-version)
17441 (package-menu-sort-by-column): Functions deleted.
17442 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17443 (package-menu--status-predicate, package-menu--version-predicate)
17444 (package-menu--name-predicate)
17445 (package-menu--description-predicate): Handle arguments in the
17446 Tabulated List format.
17447 (package-list-packages-no-fetch): Call list-packages.
17448
3e214b50
JB
174492011-04-06 Juanma Barranquero <lekktu@gmail.com>
17450
17451 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17452 (after-find-file): Don't bind it.
3e214b50
JB
17453 (revert-buffer-in-progress-p): New variable.
17454 (revert-buffer): Bind it.
17455 Pass nil for `after-find-file-from-revert-buffer'.
17456
17457 * saveplace.el (save-place-find-file-hook): Use new variable
17458 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17459
3f0f1700
GM
174602011-04-06 Glenn Morris <rgm@gnu.org>
17461
c0274801
GM
17462 * Makefile.in (AUTOGEN_VCS): New variable.
17463 (autoloads): Use $AUTOGEN_VCS.
17464
3f0f1700
GM
17465 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17466 * calendar/calendar.el (calendar-mode-map):
17467 Check for toolkit scroll bars. (Bug#8305)
17468
41ea9e48
CY
174692011-04-05 Chong Yidong <cyd@stupidchicken.com>
17470
17471 * minibuffer.el (completion-in-region--postch)
17472 (completion-in-region-mode): Remove unnecessary messages.
17473
6194c800
JB
174742011-04-05 Juanma Barranquero <lekktu@gmail.com>
17475
33256f14
JB
17476 * font-lock.el (font-lock-refresh-defaults):
17477 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17478 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17479
6194c800
JB
17480 * info.el (Info-directory-list, Info-read-node-name-2)
17481 (Info-split-parameter-string): Doc fixes.
17482 (Info-virtual-nodes): Reflow docstring.
17483 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17484 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17485 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17486 Fix typos in docstrings.
17487 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17488 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17489 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17490 (Info-restore-desktop-buffer): Mark unused parameters.
17491 (Info-directory-find-file, Info-directory-find-node)
17492 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17493 (Info-virtual-index-find-node, Info-apropos-find-file)
17494 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17495 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17496 (Info-virtual-index): Remove unused local variable `nodename'.
17497
b87a8200 174982011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17499
b87a8200
DD
17500 * net/rcirc.el: Update my e-mail address.
17501 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17502
3b2ff876
CY
175032011-04-05 Chong Yidong <cyd@stupidchicken.com>
17504
17505 * startup.el (command-line): Save the cursor's theme-face
17506 directly, instead of using face-override-spec.
17507
17508 * custom.el (load-theme): Minor optimization in assigning faces.
17509
8d17e7ca
JB
175102011-04-04 Juanma Barranquero <lekktu@gmail.com>
17511
17512 * help-fns.el (describe-variable): Complete all variables having
17513 documentation, including keywords.
17514 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17515
2fbc1934
JB
175162011-04-04 Juanma Barranquero <lekktu@gmail.com>
17517
17518 Convert to lexical-binding.
17519
17520 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17521 (bs--get-marked-string, bs--get-modified-string)
17522 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17523 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17524 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17525
17526 * ehelp.el (electric-help-execute-extended)
17527 (electric-help-ctrl-x-prefix):
17528 * hexl.el (hexl-revert-buffer-function):
17529 * linum.el (linum-after-change, linum-after-scroll):
17530 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17531
17532 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17533
74f50695
DU
175342011-04-04 Daiki Ueno <ueno@unixuser.org>
17535
17536 * epa-dired.el:
17537 * epa-mail.el:
17538 * epa-hook.el:
17539 * epa-file.el:
17540 * epa.el:
17541 * epg.el: Use lexical binding.
17542
c11325f7
CY
175432011-04-03 Chong Yidong <cyd@stupidchicken.com>
17544
0d9e9a12
CY
17545 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17546
c11325f7 17547 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17548 dictionary case for flyspell-mark-duplications-exceptions.
17549 Use regexp matching for languages.
c11325f7
CY
17550 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17551 default dictionary (Bug#7926).
17552
da91b5f2
CY
175532011-04-02 Chong Yidong <cyd@stupidchicken.com>
17554
099c39a4
JB
17555 * emacs-lisp/package.el (package--with-work-buffer):
17556 Recognize https URLs.
da91b5f2 17557
099c39a4
JB
17558 * net/network-stream.el: Move from gnus/proto-stream.el.
17559 Change prefix to network-stream throughout.
da91b5f2
CY
17560 (open-protocol-stream): Merge into open-network-stream, leaving
17561 open-protocol-stream as an alias. Handle nil BUFFER args.
17562
17563 * subr.el (open-network-stream): Move to net/network-stream.el.
17564
afa8e9f6
GM
175652011-04-02 Glenn Morris <rgm@gnu.org>
17566
1d2e369d
GM
17567 * find-dired.el (find-exec-terminator): New option.
17568 (find-ls-option): Test for -ls support.
17569 (find-ls-subdir-switches): Test for -b in find-ls-option.
17570 (find-dired, find-grep-dired): Doc fixes.
17571 (find-dired): Use find-exec-terminator.
17572
8abb7da8 17573 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17574 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17575 (find-name-arg): Remove purecopy.
8abb7da8 17576
f3ca7378
GM
17577 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17578 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17579 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17580 accordingly. Don't add the null-device if not needed.
17581
afa8e9f6
GM
17582 * files.el (save-some-buffers): Doc fix.
17583
35eae264
EZ
175842011-04-02 Eli Zaretskii <eliz@gnu.org>
17585
17586 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17587
26b51db5
JB
175882011-04-01 Juanma Barranquero <lekktu@gmail.com>
17589
17590 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17591 Use `dolist' rather than `mapcar'.
17592
7200d79c
SM
175932011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17594
03408648 17595 Add lexical binding.
7200d79c 17596
03408648
SM
17597 * subr.el (apply-partially): Use new closures rather than CL.
17598 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17599 (dolist, dotimes): Use slightly different expansion for lexical code.
17600 (functionp): Move to C.
17601 (letrec): New macro.
17602 (with-wrapper-hook): Use it and apply-partially instead of CL.
17603 (eval-after-load): Preserve lexical-binding.
17604 (save-window-excursion, with-output-to-temp-buffer): Turn them
17605 into macros.
7200d79c 17606
03408648
SM
17607 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17608
17609 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17610 than the arglist.
17611 (help-add-fundoc-usage): Don't add `Not documented'.
17612 (help-function-arglist): Handle closures, subroutines, and new
17613 byte-code-functions.
17614 (help-make-usage): Remove leading underscores.
17615 (describe-function-1): Handle closures.
17616 (describe-variable): Use special-variable-p for completion.
17617
17618 * files.el (lexical-binding): Declare safe.
f488fb65 17619
03408648
SM
17620 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17621 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17622 (pcase): Add `let' pattern.
17623 Change memoization so it actually works.
17624 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17625 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17626 <let>: New case.
f488fb65 17627
03408648
SM
17628 * emacs-lisp/macroexp.el: Use lexical binding.
17629 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17630 Don't convert ' to #' without checking that it's indeed quoting
17631 a lambda.
17632
17633 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17634 Use eval-sexp-add-defvars.
03408648
SM
17635 (eval-sexp-add-defvars): New fun.
17636
17637 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17638
17639 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17640 Don't autoload.
17641 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17642 than the internal `byte-compile-lambda'.
17643 (defmethod): Don't hide code under quotes.
17644 (eieio-defmethod): New `code' argument.
17645
17646 * emacs-lisp/eieio-comp.el: Remove.
17647
17648 * emacs-lisp/edebug.el (edebug-eval-defun)
17649 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17650 (edebug-toggle): Avoid `eval'.
17651
17652 * emacs-lisp/disass.el (disassemble-internal): Handle new
17653 `closure' objects.
17654 (disassemble-1): Handle new byte codes.
17655
17656 * emacs-lisp/cl.el (pushnew): Silence warning.
17657
17658 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17659 (cl-byte-compile-throw): Remove.
17660 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17661
17662 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17663 closures.
17664
17665 * emacs-lisp/cconv.el: New file.
17666
17667 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17668 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17669 (byte-compile-initial-macro-environment):
17670 Handle declare-function here.
17671 (byte-compile--lexical-environment): New var.
17672 (byte-stack-ref, byte-stack-set, byte-discardN)
17673 (byte-discardN-preserve-tos): New lap codes.
17674 (byte-interactive-p): Don't use any more.
17675 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17676 New macros.
17677 (byte-compile-lapcode): Use them and handle new lap codes.
17678 (byte-compile-obsolete): Remove.
17679 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17680 (byte-compile-arglist-warn): Check late def of inlinable funs.
17681 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17682 since they should have been expanded by now.
17683 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17684 (byte-compile-from-buffer): Remove unused second arg.
17685 (byte-compile-preprocess): New function.
17686 (byte-compile-toplevel-file-form): New function to distinguish
17687 file-form calls from outside from file-form calls from hunk-handlers.
17688 (byte-compile-file-form): Simplify.
17689 (byte-compile-file-form-defsubst): Remove.
17690 (byte-compile-file-form-defmumble): Simplify now that
17691 byte-compile-lambda always returns a byte-code-function.
17692 (byte-compile): Preprocess.
17693 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17694 Remove, not used any more.
17695 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17696 (byte-compile-make-args-desc): New funs.
17697 (byte-compile-lambda): Handle lexical functions. Always return
17698 a byte-code-function.
17699 (byte-compile-reserved-constants): New var, to make up room for
17700 closed-over variables.
17701 (byte-compile-constants-vector): Obey it.
17702 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17703 (byte-compile-macroexpand-declare-function): New function.
17704 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17705 byte-code-functions.
17706 (byte-compile-form): Check obsolescence here.
17707 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17708 (byte-compile-variable-ref): Remove.
17709 (byte-compile-dynamic-variable-op): New fun.
17710 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17711 (byte-compile-variable-set): New funs.
17712 (byte-compile-discard): Add 2 args.
17713 (byte-compile-stack-ref, byte-compile-stack-set)
17714 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17715 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17716 macroexpand-all instead.
17717 (byte-compile-quote-form): Remove.
17718 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17719 (byte-compile-bind, byte-compile-unbind): New funs.
17720 (byte-compile-let): Handle let* and lexical binding.
17721 (byte-compile-let*): Remove.
17722 (byte-compile-catch, byte-compile-unwind-protect)
17723 (byte-compile-track-mouse, byte-compile-condition-case):
17724 Handle a new :fun-body form, used for lexical scoping.
17725 (byte-compile-save-window-excursion)
17726 (byte-compile-with-output-to-temp-buffer): Remove.
17727 (byte-compile-defun): Simplify.
17728 (byte-compile-stack-adjustment): New fun.
17729 (byte-compile-out): Use it.
17730 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17731
17732 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17733 handler any more.
17734
17735 * emacs-lisp/byte-opt.el: Use lexical binding.
17736 (byte-inline-lapcode): Remove (to bytecomp).
17737 (byte-compile-inline-expand): Pay attention to inlining to/from
17738 lexically bound code.
17739 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17740 any more.
17741 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17742 any more and don't call compiler-macros.
17743 (byte-compile-splice-in-already-compiled-code): Remove.
17744 (byte-code): Don't inline any more.
17745 (disassemble-offset): Receive `bytes' as argument rather than via
17746 dynamic scoping.
17747 (byte-compile-tag-number): Declare before first use.
17748 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17749 `return' even if make-spliceable.
17750 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17751 obsolete interactive-p.
17752 (byte-optimize-lapcode): Optimize new lap-codes.
17753 Don't trip up on new form of `byte-constant' lap code.
17754
17755 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17756
17757 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17758
17759 * custom.el (custom-initialize-default, custom-declare-variable):
17760 Use `defvar'.
17761
17762 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17763 New variables.
17764 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17765 (COMPILE_FIRST): Add macroexp and cconv.
17766 * makefile.w32-in: Mirror changes in Makefile.in.
17767
17768 * vc/cvs-status.el:
17769 * vc/diff-mode.el:
17770 * vc/log-edit.el:
17771 * vc/log-view.el:
17772 * vc/smerge-mode.el:
17773 * textmodes/bibtex-style.el:
090bd7cb 17774 * textmodes/css-mode.el:
03408648
SM
17775 * startup.el:
17776 * uniquify.el:
da91b5f2
CY
17777 * minibuffer.el:
17778 * newcomment.el:
17779 * reveal.el:
17780 * server.el:
17781 * mpc.el:
17782 * emacs-lisp/smie.el:
17783 * doc-view.el:
17784 * dired.el:
03408648
SM
17785 * abbrev.el: Use lexical binding.
17786
0f0c1f27
EZ
177872011-04-01 Eli Zaretskii <eliz@gnu.org>
17788
17789 * info.el (info-display-manual): New function.
17790
c82b2579
SM
177912011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17792
17793 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17794
221ddf68
TH
177952011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17796
17797 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17798 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17799
cba6e77e
GM
178002011-03-31 Glenn Morris <rgm@gnu.org>
17801
e040639f
GM
17802 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17803
cba6e77e
GM
17804 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17805
6d0f1c9e
CS
178062011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17807
17808 * progmodes/python.el (python-default-interpreter)
17809 (python-python-command-args, python-jython-command-args)
17810 (python-which-shell, python-which-args, python-which-bufname)
17811 (python-file-queue, python-comint-output-filter-function)
17812 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17813 variables and functions.
17814
3e2d70fd
SM
178152011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17816
17817 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17818 (completion-in-region-mode): New minor mode.
17819 (completion-in-region): Use it.
17820 (completion-in-region--data, completion-in-region-mode-map): New vars.
17821 (completion-in-region--postch): New function.
17822 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17823 New vars.
17824 (completion--capf-wrapper): New function.
17825 (completion-at-point): Use it to track well-behavedness of
17826 hook functions.
17827 (completion-help-at-point): New command.
17828
f3e4086c
JM
178292011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17830
17831 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17832 syntax class to search for whitespace on a single line
17833 (Message-ID: <4D938140.4030905@redhat.com>).
17834
eb7ffc14
LL
178352011-03-30 Leo Liu <sdl.web@gmail.com>
17836
17837 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17838 New commands.
17839 (edit-abbrevs-map): Bind them here.
17840 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17841
d806ab68
KM
178422011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17843
17844 * allout.el (allout-hide-by-annotation, allout-flag-region):
17845 Reduce possibility of overlay leakage by making them volatile.
17846
17847 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17848 hash is not shared between buffers. Mode initialization is
17849 responsible for giving it a useful starting value.
17850 (allout-item-span): Reduce possibility of overlay leakage by
17851 making them volatile.
17852 (allout-widgets-count-buttons-in-region): Add diagnostic function
17853 for tracking down button overlay leaks.
17854
ea622834
LL
178552011-03-29 Leo Liu <sdl.web@gmail.com>
17856
17857 * ido.el (ido-read-internal): Use the default history var
17858 minibuffer-history if no HISTORY is specified.
17859
b62f8267
G
178602011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17861
03408648
SM
17862 * net/imap.el (imap-shell-open, imap-process-connection-type):
17863 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17864 Kerberos, SSL, other subprocesses.
17865
947b6566
LL
178662011-03-28 Leo Liu <sdl.web@gmail.com>
17867
17868 * abbrev.el (abbrev-table-empty-p): New function.
17869 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17870 nonempty ones. (Bug#5937)
17871
5ffb62aa
JD
178722011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17873
17874 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17875
7a097943
LL
178762011-03-27 Leo Liu <sdl.web@gmail.com>
17877
17878 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17879 for foreground and background colors.
17880 (ansi-color-make-color-map): Adapt.
17881
c5b40130
LL
178822011-03-25 Leo Liu <sdl.web@gmail.com>
17883
1f48f7d2
LL
17884 * midnight.el (midnight-time-float): Remove. Note it calculates
17885 the microsecond component incorrectly and seconds-to-time does the
17886 same job.
625897ec 17887 Remove redundant (require 'timer).
1f48f7d2 17888
c5b40130
LL
17889 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17890 (ido-completions): Remove unused arguments. (Bug#8329)
17891
d86d2721
SM
178922011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17893
17894 * minibuffer.el (completion--flush-all-sorted-completions):
17895 Remove itself from hook.
17896 (completion-at-point): Let the functions perform the completion
17897 immediately and return nil or t.
17898 * comint.el (comint-dynamic-complete-functions): Now identical to
17899 completion-at-point-functions.
17900 (comint-dynamic-list-input-ring): Remove unused var `index'.
17901 (comint--match-partial-filename, comint--unquote&expand-filename):
17902 New funs, split from comint-match-partial-filename.
17903 (comint-dynamic-complete): Use completion-at-point.
17904 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17905
e8974c48
DA
179062011-03-24 Drew Adams <drew.adams@oracle.com>
17907
17908 * thingatpt.el: Support `defun'.
17909
def71b5e
LL
179102011-03-23 Leo Liu <sdl.web@gmail.com>
17911
cb5af48e
LL
17912 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17913
def71b5e
LL
17914 * help-mode.el (help-mode-finish): Tweak regexp.
17915
927c53e7
GM
179162011-03-23 Glenn Morris <rgm@gnu.org>
17917
18d05bed
GM
17918 * eshell/esh-opt.el (eshell-eval-using-options):
17919 Do not bind unused local variable `eshell-option-stub'.
17920
927c53e7
GM
17921 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17922
9d0da923
JB
179232011-03-22 Juanma Barranquero <lekktu@gmail.com>
17924
17925 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17926 keymap variable in `with-no-warnings' to avoid a warning when the
17927 keymap has been already `defconst'ed.
17928
4b978a67
LL
179292011-03-22 Leo Liu <sdl.web@gmail.com>
17930
17931 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17932 encode all chars in abbrevs; otherwise use emacs-mule or
17933 utf-8-emacs. (Bug#8308)
17934
5fd62452
JB
179352011-03-22 Juanma Barranquero <lekktu@gmail.com>
17936
0b1596c6
JB
17937 * simple.el (backward-delete-char-untabify):
17938 Avoid warning about using `delete-backward-char'.
17939
5fd62452
JB
17940 * image.el (image-type-file-name-regexps): Make it variable.
17941 `imagemagick-register-types' modifies it, and the user may want
17942 to add new extensions for known image types.
17943 (imagemagick-register-types): Throw error if not using ImageMagick.
17944
0b4e93f1
LL
179452011-03-22 Leo Liu <sdl.web@gmail.com>
17946
17947 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17948 located before rcirc-prompt-end-marker.
17949 (rcirc-complete): Error if point is not after rcirc prompt.
17950 Handle the case when table is nil.
9882e214 17951 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17952
fccee4ab
CY
179532011-03-22 Chong Yidong <cyd@stupidchicken.com>
17954
17955 * custom.el (custom--inhibit-theme-enable): Make it affect only
17956 custom-theme-set-variables and custom-theme-set-faces.
17957 (provide-theme): Ignore custom--inhibit-theme-enable.
17958 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17959 (custom-enabling-themes): Delete variable.
d86d2721
SM
17960 (enable-theme): Accept only loaded themes as arguments.
17961 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17962 (custom-enabled-themes): Forbid themes from setting this.
17963 Eliminate use of custom-enabling-themes.
17964 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17965
af896da6
LL
179662011-03-21 Leo Liu <sdl.web@gmail.com>
17967
17968 * ido.el (ido-read-internal): Add ido-selected to history instead
17969 of user input.
17970
78f64af0
SM
179712011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17972
17973 * subr.el (deferred-action-list, deferred-action-function):
17974 Mark obsolete.
17975
b16ac1ec
LL
179762011-03-21 Leo Liu <sdl.web@gmail.com>
17977
810f7698
LL
17978 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17979 change on 2011-02-13 (bug#8309).
17980
b16ac1ec
LL
17981 * minibuffer.el (read-file-name-function): Change default value.
17982 (read-file-name--defaults): Rename from read-file-name-defaults.
17983 (read-file-name-default): Rename from read-file-name.
17984 (read-file-name): Call read-file-name-function.
17985
4e05e67e
GM
179862011-03-21 Glenn Morris <rgm@gnu.org>
17987
17988 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17989 Doc fixes.
17990
4359915b
CY
179912011-03-21 Chong Yidong <cyd@stupidchicken.com>
17992
17993 * cus-theme.el: Add missing provide statement.
17994 (customize-create-theme): Extract theme value correctly.
17995 (custom-theme-visit-theme): Autoload.
17996 (customize-create-theme): Prompt before inserting default faces.
17997
1fe275ee
JB
179982011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17999
18000 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18001 units and musical notes.
18002
cd394be1 180032011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18004
18005 * ido.el (ido-read-internal): Use completing-read-default.
18006 (ido-completing-read): Fix compatibility with completing-read.
18007
7d476bde
CO
180082011-03-20 Christian Ohler <ohler@gnu.org>
18009
18010 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18011 (ert-delete-all-tests): Use `called-interactively-p' rather than
18012 `interactive-p'.
18013 (ert--make-xrefs-region): Respect END.
18014
fe0fb33e
CY
180152011-03-19 Chong Yidong <cyd@stupidchicken.com>
18016
ff854b0b
CY
18017 * dired-aux.el (dired-create-directory): Signal an error if the
18018 directory already exists (Bug#8246).
18019
fe0fb33e
CY
18020 * facemenu.el (list-colors-display): Call list-faces-display
18021 inside with-help-window.
18022 (list-colors-print): Use display property to align the final
18023 column, instead of checking window-width.
18024
576bce32
EZ
180252011-03-19 Eli Zaretskii <eliz@gnu.org>
18026
4d61f28d 18027 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18028 windows-nt systems.
18029 (emerge-protect-metachars): Quote correctly for ms-dos and
18030 windows-nt systems.
18031
89c41d68 180322011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18033
18034 * info.el (info-initialize): Replace all uses of `:' with
18035 path-separator for compatibility with non-Unix systems.
18036 Cache quoting of path-separator. (Bug#8258)
18037
b14e3e21 180382011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18039
18040 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18041 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18042 (mouse-avoidance-mode): Fix typos in docstrings.
18043
4525ce3e
CY
180442011-03-19 Chong Yidong <cyd@stupidchicken.com>
18045
18046 * startup.el (package-subdirectory-regexp): Move from package.el.
18047 Omit \\` and \\', and let callers add them.
18048
18049 * emacs-lisp/package.el (package-strip-version)
18050 (package-load-all-descriptors): Add \\` and \\' to
18051 package-subdirectory-regexp before using it.
18052 (package-untar-buffer): New arg DIR; ensure that file untars only
18053 into this expected directory. Remove superfluous delete-region.
18054 (package-unpack): Caller changed.
18055 (package-tar-file-info): Use package-subdirectory-regexp.
18056
a904a09a 180572011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18058
a904a09a
SM
18059 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18060 diff-mode-shared-map (bug#8284).
18061 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18062
180632011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18064
18065 * calendar/time-date.el (format-seconds): Use assoc instead of
18066 assoc-string, since assoc-string doesn't exist in XEmacs.
18067
171fc304
JB
180682011-03-17 Juanma Barranquero <lekktu@gmail.com>
18069
18070 * custom.el (custom-known-themes): Reflow docstring.
18071 (custom-theme-load-path): Fix typo in docstring.
18072 (load-theme): Fix typo in error message.
18073 (custom-available-themes, custom-variable-theme-value):
18074 Use `let', not `let*'.
18075
d71990a1
JB
180762011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18077
18078 * calc/README: Mention inclusion of musical notes.
18079
18080 * calc/calc-units.el (calc-lu-quant): Rename from
18081 `calc-logunits-quantity'.
18082 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18083 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18084 (calc-db): Rename from `calc-dblevel'.
18085 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18086 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18087 (calc-np): Rename from `calc-nplevel'.
18088 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18089 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18090 (calc-lu-plus): Rename from `calc-logunits-add'.
18091 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18092 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18093 (calc-lu-minus): Rename from `calc-logunits-sub'.
18094 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18095 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18096 (calc-lu-times): Rename from `calc-logunits-mul'.
18097 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18098 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18099 (calc-lu-divide): Rename from `calc-logunits-div'.
18100 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18101 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18102
18103 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18104 functions being autoloaded.
18105
18106 * calc/calc.el (calc-lu-power-reference): Rename from
18107 `calc-logunits-power-reference'.
18108 (calc-lu-field-reference): Rename from
18109 `calc-logunits-field-reference'.
18110
7a71b18d
GM
18111 * calc/calc-help.el (calc-l-prefix-help):
18112 Mention musical note functions.
d71990a1 18113
40c2934b
SM
181142011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18115
18116 * minibuffer.el (completion-all-sorted-completions):
18117 Use :completion-cycle-penalty text property if present.
18118
b0911414
KM
181192011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18120
18121 * allout.el (allout-yank-processing): Adjust for new rebulleting
18122 regime so bullet being yanked is used without prompting the user
18123 for a choice.
18124
8a05b668
JB
181252011-03-16 Juanma Barranquero <lekktu@gmail.com>
18126
18127 * startup.el (command-line): Warn the user that _emacs is deprecated.
18128
5ba5fb81
JB
181292011-03-16 Juanma Barranquero <lekktu@gmail.com>
18130
18131 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18132 (delphi-verbose, delphi-comment-face, delphi-string-face)
18133 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18134 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18135 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18136 (delphi-new-comment-line, delphi-font-lock-defaults)
18137 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18138 Fix typos in docstrings.
18139
2dab465b
KM
181402011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18141
5ba5fb81 18142 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18143 Invert the roles of character and string values for INSTEAD, so a
18144 string is used for the more common case of a defaulting prompt.
18145
0adf5618
SM
181462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18147
18148 * progmodes/ruby-mode.el (ruby-backward-sexp):
18149 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18150 * play/gamegrid.el (gamegrid-make-face):
18151 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18152 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18153 * notifications.el (notifications-notify):
18154 * net/xesam.el (xesam-search-engines):
18155 * net/quickurl.el (quickurl-list-insert):
18156 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18157
d72700e5
CY
181582011-03-15 Chong Yidong <cyd@stupidchicken.com>
18159
18160 * startup.el (command-line): Update package subdirectory regexp.
18161
49c5410a
SM
181622011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18163
c6eee9aa
SM
18164 * allout.el (allout-abbreviate-flattened-numbering)
18165 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18166
49c5410a
SM
18167 * subr.el (read-char-choice): Only show the cursor after the prompt,
18168 not after the answer.
18169
047b2bb9
KR
181702011-03-15 Kevin Ryde <user42@zip.com.au>
18171
18172 * help-fns.el (variable-at-point): Skip leading quotes, if any
18173 (bug#8253).
18174
0a57d256
SM
181752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18178 warning message.
18179
77c992bc
MA
181802011-03-14 Michael Albinus <michael.albinus@gmx.de>
18181
18182 * shell.el (shell): When called interactively, offer to change the
18183 shell file name on remote hosts.
18184
eebc475d
TZ
181852011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18186
18187 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18188 integration for LDAP parameters. The host, base, user or binddn,
18189 and secret tokens can be specified in a netrc file, for instance.
18190 This is optional because an `auth-source' parameter must be
18191 specified in the search attributes.
18192
9d05d1ba
JB
181932011-03-13 Juanma Barranquero <lekktu@gmail.com>
18194
18195 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18196
09d9db2c
GM
181972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18200 into declaration. Remove redundant and harmful binding.
18201
182022011-03-12 Eli Zaretskii <eliz@gnu.org>
18203
18204 * files.el (file-ownership-preserved-p): Pass `integer' as an
18205 explicit 2nd argument to `file-attributes'. If the file's owner
18206 is the Administrators group on Windows, and the current user is
18207 Administrator, consider that a match.
18208
18209 * server.el (server-ensure-safe-dir): Consider server directory
18210 safe on MS-Windows if its owner is the Administrators group while
18211 the current Emacs user is Administrator. Use `=' to compare
18212 numerical UIDs, since they could be integers or floats.
18213
219bd536
JB
182142011-03-12 Juanma Barranquero <lekktu@gmail.com>
18215
18216 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18217
f3afd36b
MA
182182011-03-12 Michael Albinus <michael.albinus@gmx.de>
18219
18220 Sync with Tramp 2.2.1.
18221
18222 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18223
18224 * net/trampver.el: Update release number.
18225
3aaaa6f1
SM
182262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18227
94642599
SM
18228 * progmodes/compile.el (compilation--previous-directory): Fix up
18229 various nil/dead-marker mismatches (bug#8014).
18230 (compilation-directory-properties, compilation-error-properties):
18231 Don't call it at a position past the one we're about to change.
18232
3aaaa6f1
SM
18233 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18234 Disable obsolescence warnings in the file that declares it.
18235
14239447
KM
182362011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18237
099c39a4
JB
18238 * allout-widgets.el (allout-widgets-tally):
18239 Initialize allout-widgets-tally as a hash table rather than nil to
18240 prevent mode-line redisplay warnings. Also, clarify the module
18241 description and fix a comment typo.
14239447 18242
135e287c
JB
182432011-03-11 Juanma Barranquero <lekktu@gmail.com>
18244
18245 * help-fns.el (describe-variable): Don't complete keywords.
18246 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18247
ffbf300e
CY
182482011-03-10 Chong Yidong <cyd@stupidchicken.com>
18249
ba08b241
CY
18250 * emacs-lisp/package.el (package-version-join): Impose a standard
18251 string representation for pre/alpha/beta version lists.
18252 (package-unpack-single): Standardize the directory name by passing
18253 it through package-version-join.
18254 (package-strip-rcs-id): Accept any version string that does not
18255 signal an error in version-to-list.
ffbf300e 18256
f346fd6b
MA
182572011-03-10 Michael Albinus <michael.albinus@gmx.de>
18258
18259 * simple.el (delete-trailing-whitespace): Return nil for the
18260 benefit of `write-file-functions'.
18261
ccb55d27
GM
182622011-03-10 Glenn Morris <rgm@gnu.org>
18263
5ceaac0c
GM
18264 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18265
02da65ff
GM
18266 * vc/vc-git.el (vc-git-program): New option.
18267 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18268 (vc-git--call): Use it.
18269
b2f603cc
GM
18270 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18271
5772caab
GM
18272 * cus-edit.el (Custom-newline): If no button at point, look
18273 for a subgroup button at start-of-line. (Bug#2298)
18274
ccb55d27
GM
18275 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18276
ec6ecaed
JD
182772011-03-10 Julien Danjou <julien@danjou.info>
18278
18279 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18280 `cursor-type' is nil.
18281
9d5aa01d
JB
182822011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18283
18284 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18285
b6a5875b
KM
182862011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18287
7a71b18d 18288 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18289 preserves the existing header prefix, rebulleting it if necessary,
18290 rather than replacing it. This is necessary for proper operation
18291 of cooperative addons like allout-widgets.
1154d12e
JB
18292 (allout-make-topic-prefix, allout-rebullet-heading):
18293 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18294 value as alternate bullet to be used, instead of prompting the user
18295 for a bullet character.
b6a5875b 18296
ee545c35
MA
182972011-03-09 Michael Albinus <michael.albinus@gmx.de>
18298
d86d2721
SM
18299 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18300 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18301 `tramp-default-port'.
18302
c47971d7
DD
183032011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18304
18305 * net/rcirc.el (rcirc-handler-001): Remove useless
18306 with-rcirc-process-buffer.
18307 (rcirc-check-auth-status): Swap arguments to string-match.
18308
13522cb4
GM
183092011-03-09 Glenn Morris <rgm@gnu.org>
18310
0be6f4f1
GM
18311 * shell.el (shell-mode):
18312 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18313
13522cb4
GM
18314 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18315 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18316
515de2e3
CY
183172011-03-08 Chong Yidong <cyd@stupidchicken.com>
18318
18319 * emacs-lisp/package.el (package-refresh-contents)
18320 (package-menu-execute): Use condition-case-no-debug.
18321
b511b994
MA
183222011-03-08 Michael Albinus <michael.albinus@gmx.de>
18323
18324 * simple.el (shell-command-to-string): Use `process-file'.
18325
18326 * emacs-lisp/package.el (package-tar-file-info): Handle also
18327 remote files.
18328
d86d2721
SM
18329 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18330 Use `equal' for upload base check.
b511b994 18331
25bbfb31
AM
183322011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18333
18334 * textmodes/texinfo.el (texinfo-environments):
18335 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18336
be996521
GM
183372011-03-08 Glenn Morris <rgm@gnu.org>
18338
e9c8529f
GM
18339 * cus-start.el (cursor-in-non-selected-windows):
18340 Fix :set quoting oddness. (Bug#8192)
18341
be996521
GM
18342 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18343 in some setf expressions. (Bug#2159)
18344
2bb5649e
CY
183452011-03-08 Chong Yidong <cyd@stupidchicken.com>
18346
18347 * custom.el (custom-available-themes): Return themes in
18348 alphabetical order.
18349
33383987 18350See ChangeLog.15 for earlier changes.
e3d51b27
MR
18351
18352;; Local Variables:
18353;; coding: utf-8
e3d51b27
MR
18354;; End:
18355
acaf905b 18356 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18357
18358 This file is part of GNU Emacs.
18359
18360 GNU Emacs is free software: you can redistribute it and/or modify
18361 it under the terms of the GNU General Public License as published by
18362 the Free Software Foundation, either version 3 of the License, or
18363 (at your option) any later version.
18364
18365 GNU Emacs is distributed in the hope that it will be useful,
18366 but WITHOUT ANY WARRANTY; without even the implied warranty of
18367 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18368 GNU General Public License for more details.
18369
18370 You should have received a copy of the GNU General Public License
18371 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.