* vc/diff-mode.el (diff-mode-menu): diff-remove-trailing-whitespace.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0780c517
DN
12012-09-10 Dan Nicolaescu <dann@gnu.org>
2
3 * vc/diff-mode.el (diff-mode-menu): Bind
4 diff-remove-trailing-whitespace.
5
9b851e25
SM
62012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9 (emacs-lisp-byte-code-comment)
10 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
11 New functions.
12 (eval-sexp-add-defvars): Don't skip defvars in column >0.
13 (eval-defun-2): Remove bogus interactive spec.
14 (lisp-indent-line): Remove redundant whole-exp code, now done in
15 indent-according-to-mode.
16 (save-match-data): Remove redundant indent data.
17
18 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
19 Use `declare'.
20
3231d532
JL
212012-09-09 Juri Linkov <juri@jurta.org>
22
23 * replace.el (replace-regexp-lax-whitespace): New defcustom.
24 (replace-lax-whitespace, query-replace-regexp)
25 (query-replace-regexp-eval, replace-regexp): Doc fix.
26 (perform-replace, replace-highlight): Let-bind
27 isearch-lax-whitespace to replace-lax-whitespace and
28 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
29
30 * isearch.el (isearch-query-replace): Let-bind
31 replace-lax-whitespace to isearch-lax-whitespace and
32 replace-regexp-lax-whitespace to
33 isearch-regexp-lax-whitespace. (Bug#10885)
34
70fe8236
SM
352012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
38
8ed43f15
AM
392012-09-09 Alan Mackenzie <acm@muc.de>
40
70fe8236
SM
41 * progmodes/cc-engine.el (c-state-cache-init):
42 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
43 (c-record-parse-state-state):
44 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 45
bfabf70a
AS
462012-09-09 Andreas Schwab <schwab@linux-m68k.org>
47
48 * register.el (register-separator): Rename from
49 separator-register. All uses changed. Doc fix.
50 (register): Fix version.
51
011474aa
CY
522012-09-09 Chong Yidong <cyd@gnu.org>
53
54 * replace.el (query-replace-map): Bind four new symbols for
55 requesting window scrolling.
56
57 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
58 query-replace-map (Bug#8948).
59
60 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
61
62 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
63 since they are now in query-replace-map.
64
65 * window.el (scroll-other-window-down): Make the arg optional.
66
a8b7cd8d
CY
672012-09-09 Chong Yidong <cyd@gnu.org>
68
69 * files.el (hack-local-variables-confirm): Use quit-window to kill
70 the *Local Variables* buffer.
71
c3268831
DG
722012-09-08 Dmitry Gutov <dgutov@yandex.ru>
73
74 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
75 not just expect to be at its beginning. Adjust callees.
76 Succeed when do-end block has no space before the pipe character.
77 (ruby-brace-to-do-end): When the original block is one-liner,
78 convert to multiline. Reindent the result.
79
0979429b
J
802012-09-08 Jambunathan K <kjambunathan@gmail.com>
81
82 * register.el (register): New group.
83 (register-separator): New user option.
84 (increment-register): Route it to `append-to-register', if
85 register contains text. Implication is that `C-x r +' can now be
86 used for appending to a text register (bug#12217).
87 (append-to-register, prepend-to-register): Add separator based on
88 `register-separator.
89
ace2989a
AM
902012-09-08 Alan Mackenzie <acm@muc.de>
91
92 AWK Mode: make auto-newline work when there's "==" in the pattern.
93 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
94 correctly.
0979429b
J
95 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
96 Test more rigorously for "=" token.
ace2989a 97
616c6c36
DG
982012-09-08 Dmitry Gutov <dgutov@yandex.ru>
99
0979429b
J
100 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
101 Only fail when reached LIMIT.
616c6c36 102
35d98877
CY
1032012-09-08 Chong Yidong <cyd@gnu.org>
104
105 * dired.el (dired-mode-map): Don't bind M-=.
106
107 * dired-aux.el (dired-diff): Use backup file as default.
108
1715f2db
DA
1092012-09-08 Drew Adams <drew.adams@oracle.com>
110
111 * subr.el (add-to-history): Fix delete usage (Bug#12314).
112
6dcef6ec
CY
1132012-09-08 Chong Yidong <cyd@gnu.org>
114
115 * subr.el (syntax-after, syntax-class): Doc fix.
116
fa2bcf43
MR
1172012-09-08 Martin Rudalics <rudalics@gmx.at>
118
119 * window.el (display-buffer-in-previous-window): New buffer
120 display action function.
121
122 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
123 (debugger-previous-window): New variable.
124 (debug): Rewrite using display-buffer-in-previous-window,
125 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
126
daac280a
SM
1272012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
130
9dd40b00
MM
1312012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
132
daac280a
SM
133 * progmodes/python.el (python-shell-send-string):
134 When default-directory is remote, create temp file on remote
9dd40b00
MM
135 filesystem.
136 (python-shell-send-file): When file is remote, pass local view of
137 file paths to remote Python interpreter. (Bug#12340)
138
145823ec
CY
1392012-09-07 Chong Yidong <cyd@gnu.org>
140
cee2e90d
CY
141 * window.el (switch-to-buffer): Doc fix (Bug#12181).
142
0d7eb2ea
CY
143 * files.el (after-find-file): Don't fail on a read-only buffer if
144 require-final-newline is `visit' or `visit-save' (Bug#11156).
145
145823ec
CY
146 * subr.el (read-char-choice): Allow quitting via ESC ESC.
147
daac280a
SM
148 * userlock.el (ask-user-about-supersession-threat):
149 Use read-char-choice (Bug#12093).
145823ec 150
74c582e6
CY
1512012-09-07 Chong Yidong <cyd@gnu.org>
152
e5c2edf7
CY
153 * subr.el (buffer-narrowed-p): New function.
154
155 * ses.el (ses-widen):
156 * simple.el (count-words--buffer-message):
157 * net/browse-url.el (browse-url-of-buffer): Use it
158
159 * simple.el (count-words-region): Don't signal an error if there
160 is a non-nil prefix arg and the mark is not set.
c640e87d 161
74c582e6
CY
162 * help.el (describe-key-briefly): Allow the message to be seen
163 when invoked from the minibuffer (Bug#7014).
164
d81ceaaf
DG
1652012-09-07 Dmitry Gutov <dgutov@yandex.ru>
166
167 * progmodes/ruby-mode.el (ruby-end-of-defun)
168 (ruby-beginning-of-defun): Simplify, allow indentation before
169 block beginning and end keywords.
8f06acce
DG
170 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
171 (ruby-end-of-defun): Expect that the point is at the beginning of
172 the defun.
d81ceaaf 173
d458ef98
SM
1742012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
177 (bug#12367).
178 (cl--make-usage-args): Strip _ from argument names.
179
20367d28
RS
1802012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
181
182 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
183 obsolete alias speedbar-key-map.
184 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
185 (vhdl-index-menu-init): Don't use obsolete variable
186 font-lock-maximum-size.
187
3424a4f6
CY
1882012-09-06 Chong Yidong <cyd@gnu.org>
189
190 * frame.el (window-system-version): Mark as obsolete.
191
fcbfbdea
CY
192 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
193 of obsolete variable speedbar-key-map.
194
826b3235
JL
1952012-09-06 Juri Linkov <juri@jurta.org>
196
197 * replace.el (replace-lax-whitespace): New defcustom.
198 (query-replace, query-replace-regexp, query-replace-regexp-eval)
199 (replace-string, replace-regexp): Mention it in docstrings.
200 (perform-replace, replace-highlight): Let-bind
201 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
202 to the values of replace-lax-whitespace and regexp-flag.
203 Don't let-bind search-whitespace-regexp. (Bug#10885)
204
205 * isearch.el (isearch-query-replace): Let-bind
206 replace-lax-whitespace instead of let-binding
207 replace-search-function and replace-re-search-function.
208 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
209 and isearch-regexp-lax-whitespace to lazy-highlight variables.
210 (isearch-toggle-symbol): Set isearch-regexp to nil
211 in isearch-word mode (like in isearch-toggle-word).
212
1ec5e41d
JL
2132012-09-06 Juri Linkov <juri@jurta.org>
214
215 * replace.el (replace-search-function)
216 (replace-re-search-function): Set default values to nil.
217 (perform-replace): Let-bind isearch-related variables based on
218 replace-related values, call `isearch-search-fun' and let-bind
219 the result to `search-function'. Remove code that sets
220 `search-function' and `search-string' separately for
221 `delimited-flag'.
222 (replace-highlight): Add new argument `delimited-flag' and
223 rename other arguments to the names used in `perform-replace'.
224 Let-bind `isearch-word' to the argument `delimited-flag'.
225 (Bug#10885, bug#10887)
226
0ba2d4b6
DG
2272012-09-07 Dmitry Gutov <dgutov@yandex.ru>
228
229 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
230 ruby-beginning-of-indent, simplify, allow all keywords to have
231 indentation before them.
232 (ruby-beginning-of-indent): Adjust for above. Search until the
233 found point is not inside a string or comment.
234 (ruby-font-lock-keywords): Allow symbols to start with "@"
235 character, give them higher priority than variables.
236 (ruby-syntax-propertize-function)
237 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
238 matchers. Expression expansions are not comments when inside a
239 string, and there comment syntax status is irrelevant.
240 (ruby-match-expression-expansion): New function. Check that
241 expression expansion is inside a string, and it's not escaped.
242 (ruby-font-lock-keywords): Use it.
243
ef654460
MR
2442012-09-05 Martin Rudalics <rudalics@gmx.at>
245
246 * help.el (temp-buffer-max-height): New default value.
247 (temp-buffer-resize-frames): New option.
248 (resize-temp-buffer-window): Optionally resize frame.
249
250 * window.el (fit-frame-to-buffer-bottom-margin): New option.
251 (fit-frame-to-buffer): New function.
252
7e570fbf 2532012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
254
255 * emulation/cua-rect.el (cua--init-rectangles):
256 * textmodes/picture.el (picture-mode-map):
257 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
258 like forward-char and backward-char. (Bug#12317)
259
7e570fbf 2602012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
261
262 * progmodes/flymake.el (flymake-warning-re): New variable.
263 (flymake-parse-line): Use it.
264
7e570fbf 2652012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
266
267 * calendar/holidays.el (holiday-christian-holidays):
268 Rename an entry. (Bug#12289)
269
7e570fbf 2702012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
271
272 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
273 (bug#12222).
274
972debf2
SM
2752012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * loadup.el: Load macroexp. Remove hack.
278 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
279 (macroexp--expand-all): Use it to get better warnings.
280 (macroexp--backtrace, macroexp--trim-backtrace-frame)
281 (internal-macroexpand-for-load): New functions.
282 (macroexp--pending-eager-loads): New var.
283 (emacs-startup-hook): New hack to replace one in loadup.el.
284 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
285 (cl--compiler-macro-cXXr): Move to top, before they can be used.
286 (cl-psetf): Simplify.
287 (cl-defstruct): Add indent rule.
288
8ce192e3
LI
2892012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
290
291 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
292 over `user-mail-address' for the SMTP MAIL FROM envelope.
293 (smtpmail-via-smtp): Ditto.
294
6578b4d8
DG
2952012-09-04 Dmitry Gutov <dgutov@yandex.ru>
296
297 * progmodes/ruby-mode.el: Clean up keybindings.
298 (ruby-mode-map): Don't bind ruby-electric-brace,
299 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
300 backward-kill-word, reindent-then-newline-and-indent.
301 (ruby-mark-defun): Remove.
302 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
303 (ruby-mode): Set local beginning-of-defun-function and
304 end-of-defun-function values.
305
c5e28e39
MR
3062012-09-03 Martin Rudalics <rudalics@gmx.at>
307
308 * window.el (temp-buffer-window-setup-hook)
309 (temp-buffer-window-show-hook): New hooks.
310 (temp-buffer-window-setup, temp-buffer-window-show)
311 (with-temp-buffer-window): New functions.
972debf2
SM
312 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
313 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
314
315 * help.el (temp-buffer-resize-mode): Fix doc-string.
316 (resize-temp-buffer-window): New optional argument WINDOW.
317
318 * files.el (recover-file, save-buffers-kill-emacs):
319 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
320
73406194
MA
3212012-09-02 Michael Albinus <michael.albinus@gmx.de>
322
323 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
324 remote definition of `default-directory', ensure we can connect.
325
63dd1c6f
JL
3262012-09-02 Juri Linkov <juri@jurta.org>
327
328 Toggle whitespace matching mode with M-s SPC.
329 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
330
331 * isearch.el (search-whitespace-regexp): Doc fix.
332 Remove cons cell customization.
333 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
334 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
335 New variables.
336 (isearch-forward, isearch-forward-regexp): Doc fix.
337 (isearch-toggle-lax-whitespace): New command.
338 (search-forward-lax-whitespace, search-backward-lax-whitespace)
339 (re-search-forward-lax-whitespace)
340 (re-search-backward-lax-whitespace): New functions.
341 (isearch-whitespace-regexp): Remove function.
342 (isearch-query-replace): Let-bind replace-search-function and
343 replace-re-search-function.
344 (isearch-occur): Let-bind search-spaces-regexp according to the
345 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
346 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
347 condition for C-q SPC.
348 (isearch-search-fun-default): Use new functions mentioned above.
349 (isearch-search-forward, isearch-search-backward): Remove functions.
350 (isearch-search): Don't let-bind search-spaces-regexp.
351 (isearch-lazy-highlight-space-regexp): Remove variable.
352 (isearch-lazy-highlight-lax-whitespace)
353 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
354 (isearch-lazy-highlight-new-loop): Use them.
355 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
356
af7dda05
CY
3572012-09-02 Chong Yidong <cyd@gnu.org>
358
359 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
360
d67d3afd
GM
3612012-09-02 Glenn Morris <rgm@gnu.org>
362
363 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
364
69678719
GM
3652012-09-01 Glenn Morris <rgm@gnu.org>
366
367 * term.el: Tidy up menu definitions.
368 (term-mode-map): Use easymenu for In/Out, Complete menus.
369 (term-pager-break-map): Initialize in the defvar.
370 (term-terminal-menu, term-signals-menu): Define with easymenu.
371 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
372 (term-pager-menu): New, extracted from term-process-pager.
373 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
374 (term-update-mode-line): Propertize line/char and page items.
375 (term-process-pager): Move keymap initialization elsewhere.
376
78dd6ab1
MR
3772012-09-01 Martin Rudalics <rudalics@gmx.at>
378
379 * window.el (switch-to-prev-buffer): Handle additional values of
380 BURY-OR-KILL argument. Don't switch in minibuffer window.
381 (switch-to-next-buffer): Don't switch in minibuffer window.
382 (quit-restore-window): New function based on quit-window.
383 Handle additional values of former KILL argument.
384 (quit-window): Call quit-restore-window with appropriate
385 interpretation of KILL argument.
386 (display-buffer-below-selected): New buffer display action
387 function.
388
3d10e134
SM
3892012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * minibuffer.el (completion-at-point-functions): Complete docstring
392 (bug#12254).
393
0e23ef9d
PE
3942012-09-01 Paul Eggert <eggert@cs.ucla.edu>
395
396 Better seed support for (random).
397 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
398 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
399 * play/mpuz.el, play/tetris.el, play/zone.el:
400 * calc/calc-comb.el (math-init-random-base):
401 * play/blackbox.el (bb-init-board):
402 * play/life.el (life):
403 * server.el (server-use-tcp):
404 * type-break.el (type-break):
405 Remove unnecessary call to (random t).
406 * net/sasl.el (sasl-unique-id-function):
407 Change (random t) to (random), now that the latter is more random.
408 * play/life.el (life-initialized): Remove no-longer-needed var.
409
862382df
MR
4102012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
411
412 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
413 Consider frame's buffer predicate when choosing the buffer.
414 (Bug#12081)
415
262a66e1
RS
4162012-08-30 Richard Stallman <rms@gnu.org>
417
418 * simple.el (special-mode-map): Delete binding for `z'.
419
f17e1d00
AS
4202012-08-30 Andreas Schwab <schwab@linux-m68k.org>
421
422 * progmodes/compile.el (compilation-always-kill): Doc fix.
423
24777832
CY
4242012-08-30 Chong Yidong <cyd@gnu.org>
425
426 * window.el (display-buffer-reuse-frames): Make the obsolescence
427 message more informative.
428
69ba1f04
GM
4292012-08-30 Glenn Morris <rgm@gnu.org>
430
431 * paren.el (show-paren-delay):
432 Add a :set function. Doc fix. (Bug#12297)
433
f0019ede
MB
4342012-08-29 Martin Blais <blais@furius.ca> (tiny change)
435
436 * progmodes/compile.el (compilation-always-kill): New var.
437 (compilation-start): Use it.
438
35e62fc9
SM
4392012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
440
af070a1c
SM
441 * simple.el (read-only-mode): Move from files.el for bootstrapping.
442 * files.el (read-only-mode): Move to simple.el.
443
35e62fc9
SM
444 * files.el (read-only-mode): New minor mode.
445 (toggle-read-only): Use it and mark obsolete.
446 (find-file--read-only):
447 * vc/vc.el (vc-next-action, vc-checkout):
448 * vc/vc-cvs.el (vc-cvs-checkout):
449 * obsolete/vc-mcvs.el (vc-mcvs-update):
450 * ffap.el (ffap--toggle-read-only): Update callers.
451
c2c43c23
MA
4522012-08-29 Michael Albinus <michael.albinus@gmx.de>
453
454 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
455 remote shell scripts.
456 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
457
458 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
459 "/usr/local/sbin".
460
9fba804b
SM
4612012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
464
eada0861 4652012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 466
806f0cc7
LL
467 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
468 completion-at-point. (Bug#12220)
469
3bb213b9
LL
470 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
471
22ab32ef
LL
472 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
473
eada0861 4742012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 475
19c17fc1
CY
476 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
477 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 478
eada0861 4792012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
480
481 * progmodes/hideif.el (hif-compress-define-list):
482 Fix typo. (Bug#11951)
483
eada0861 4842012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
485
486 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
487 buffer local setting.
488
27d6c5a8
LL
489 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
490 rcirc-encode-coding-system.
491
eada0861 4922012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
493
494 * net/rcirc.el (rcirc-split-message): New function.
495 (rcirc-send-message): Use it. (Bug#12051)
496
d44688e4
JL
4972012-08-28 Juri Linkov <juri@jurta.org>
498
499 * info.el (Info-fontify-node): Hide empty lines at the end of
500 the node. (Bug#12272)
501
34f10d41
MR
5022012-08-27 Drew Adams <drew.adams@oracle.com>
503
504 * dired.el (dired-pop-to-buffer): Make window start at beginning
505 of buffer (Bug#12281).
506
77f1f99c
CY
5072012-08-26 Chong Yidong <cyd@gnu.org>
508
509 * window.el (special-display-regexps, special-display-frame-alist)
510 (special-display-buffer-names, special-display-function)
511 (display-buffer-reuse-frames): Mark as obsolete.
512
513 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
514
515 * help.el (help-print-return-message): Don't treat
516 display-buffer-reuse-frames specially.
517
d97af5a0
CY
5182012-08-26 Chong Yidong <cyd@gnu.org>
519
9fba804b
SM
520 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
521 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
522 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
523 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
524 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
525 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
526 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
527 the functions directly with gdb-display-buffer-other-frame-action.
528 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
529 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
530 (gdb-display-stack-buffer, gdb-display-locals-buffer)
531 (gdb-display-registers-buffer): Define directly.
532 (def-gdb-display-buffer): Macro deleted.
533 (gdb-display-buffer): Remove second and third args, callers don't
534 use them. Defer to the default display-buffer behavior, apart
535 from making windows dedicated.
536 (gdb-setup-windows): Don't call display-buffer unnecessarily.
537
538 * progmodes/gud.el (gud-display-line): Just use display-buffer.
539
540 * window.el (display-buffer-pop-up-frame): Handle a
541 pop-up-frame-parameters alist entry.
542 (display-buffer): Document it.
543
dd7ffad6
CY
5442012-08-26 Chong Yidong <cyd@gnu.org>
545
546 * isearch.el (search-whitespace-regexp): Make string and nil
547 values apply to both ordinary and regexp search. Allow a cons
548 cell value to distinguish between the two.
549 (isearch-whitespace-regexp, isearch-search-forward)
550 (isearch-search-backward): New functions.
551 (isearch-occur, isearch-search-fun-default, isearch-search)
552 (isearch-lazy-highlight-new-loop): Use them.
553 (isearch-forward, isearch-forward-regexp): Doc fix.
554
4c47bd1e
CY
5552012-08-26 Chong Yidong <cyd@gnu.org>
556
557 * faces.el (help-argument-name): Always inherit from italic
558 (Bug#12213).
559
9aba119d
MR
5602012-08-25 Martin Rudalics <rudalics@gmx.at>
561
562 * window.el (window--even-window-heights): Even heights when
563 WINDOW and the selected window form a vertical combination.
564 (display-buffer-use-some-window): Provide that window used gets
565 sized back by quit-window. (Bug#11880) and (Bug#12091)
566
ca5256ad
PE
5672012-08-24 Paul Eggert <eggert@cs.ucla.edu>
568
569 Fix file time stamp problem with bzr and CVS (Bug#12001).
570 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
571 in the file's time stamp, since the version control system loses
572 that information.
573
d1c0d176
JL
5742012-08-22 Juri Linkov <juri@jurta.org>
575
576 * info.el (Info-fontify-node): Hide the suffix of the
577 Info file name in the header line. (Bug#12187)
578
141562ff
GM
5792012-08-22 Glenn Morris <rgm@gnu.org>
580
581 * calendar/cal-tex.el (cal-tex-weekly-common):
582 Restore leading blank page.
583
61a48e19 5842012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
585
586 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
587 the region under `shift-select-mode'. (Bug#12231)
588
5892012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
590
591 * progmodes/executable.el (executable-prefix): Set to "#!" instead
592 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
593 gives details on why the space is never needed.
594
ea95074e
MR
5952012-08-22 Martin Rudalics <rudalics@gmx.at>
596
9fba804b
SM
597 * window.el (walk-window-tree, window-with-parameter):
598 New optional argument MINIBUF to control whether these functions
ea95074e
MR
599 should run on the minibuffer window.
600 (window-at-side-list): Don't operate on minibuffer window.
601 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
602 (window--size-ignore): Rename to window--size-ignore-p.
603 Update callers.
caceae25
MR
604 (display-buffer-in-atom-window, window--major-non-side-window)
605 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
606 (delete-side-window, display-buffer-in-side-window):
607 New functions.
caceae25
MR
608 (window--side-check, window-deletable-p, delete-window)
609 (delete-other-windows, split-window): Handle side windows and
610 atomic windows appropriately.
611 (window--display-buffer): Call display-buffer-record-window also
612 when the window buffer did not change.
ea95074e 613
80a51fa0
CS
6142012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
615
616 * help-fns.el (help-fns--key-bindings):
617 Abbreviate non-symbol remap targets. (Bug#12174)
618
fbb6300b
MR
6192012-08-22 Martin Rudalics <rudalics@gmx.at>
620
621 * dired.el (dired-mark-remembered): Don't clobber point.
622 (Bug#11795)
623
2b2c0794
GM
6242012-08-22 Glenn Morris <rgm@gnu.org>
625
626 * progmodes/bug-reference.el (bug-reference): New custom group.
627 (bug-reference-bug-regexp): Make it a defcustom.
628
37219830
DU
6292012-08-22 Daiki Ueno <ueno@unixuser.org>
630
631 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
632 (js-paren-indent-offset, js-square-indent-offset)
633 (js-curly-indent-offset): Add :safe (Bug#12257).
634
94e0e559
EC
6352012-08-22 Edward O'Connor <hober0@gmail.com>
636
637 * json.el (json-key-format): Add error properties.
638 (json-encode-key): New function.
639 (json-encode-hash-table, json-encode-alist, json-encode-plist):
640 Use json-encode-key.
641
da485f5e
GM
6422012-08-22 Glenn Morris <rgm@gnu.org>
643
644 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
645 (cal-tex-leftday, cal-tex-rightday): Remove functions.
646 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
647 Update for above change.
648
c6cc78b8
AS
6492012-08-21 Andreas Schwab <schwab@linux-m68k.org>
650
651 * cus-face.el (custom-face-attributes): Fix customize type for the
652 :underline attribute. (Bug#11805)
653
5481664a
MR
6542012-08-21 Martin Rudalics <rudalics@gmx.at>
655
656 * window.el (window-point-1, set-window-point-1): Remove.
657 (window-in-direction, record-window-buffer)
658 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
659 (window--state-get-1, display-buffer-record-window):
660 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
661 window-point and set-window-point respectively.
662
6d74698e
GM
6632012-08-21 Glenn Morris <rgm@gnu.org>
664
b7fa2691
GM
665 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
666 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
667 Use it.
668
52f56d5a
GM
669 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
670 (cal-tex-shortday): New function.
671 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
672 (cal-tex-cursor-filofax-daily): Use the above.
673
9f1ee09e
GM
674 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
675 New functions.
676 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
677 (cal-tex-cursor-filofax-week): Use them.
678
79858159
GM
679 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
680 New constants.
681 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
682 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
683
d346b2b4
GM
684 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
685 (cal-tex-end-document): Don't rely on buffer name.
686
b2403709
GM
687 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
688 Use cal-tex-vspace.
689 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
690 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
691 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
692 Use cal-tex-arg.
b2403709 693
1cebb5c0
GM
694 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
695 (cal-tex-cursor-week, cal-tex-cursor-week2)
696 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
697 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
698 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
699 (cal-tex-insert-preamble, cal-tex-b-document)
700 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
701 Improve cal-tex-cmd usage.
702
c68cd5d4
GM
703 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
704 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
705 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
706 (cal-tex-weekly-paper): New function.
707 (cal-tex-cursor-week, cal-tex-cursor-week2)
708 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
709 (cal-tex-cursor-day): Use it.
710
9dca4801
GM
711 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
712 (cal-tex-cursor-filofax-week): Remove leading blank page.
713
1941e134
GM
714 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
715 Add autoload cookie. For now at least, don't use color, since
716 no other cal-tex function does.
717
6d74698e
GM
718 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
719 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
720 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
721
64cde199
JL
7222012-08-21 Juri Linkov <juri@jurta.org>
723
724 * info.el (Info-file-attributes): New variable.
725 (info-insert-file-contents): Add file attributes to
726 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
727 `Info-toc-nodes' when previous modtime of the Info file is less
728 than new modtime.
729 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
730 of info.el. (Bug#12230)
731
32757648
GM
7322012-08-20 Glenn Morris <rgm@gnu.org>
733
734 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
735 * calendar/holidays.el (calendar-holiday-list):
736 Report errors with display-warning rather than beep'n'sleep.
737
a32fbbcf
MA
7382012-08-20 Michael Albinus <michael.albinus@gmx.de>
739
740 * net/tramp.el (tramp-accept-process-output): Accept only output
741 from PROC. Otherwise, process filters and sentinels might be
742 confused. (Bug#12145)
743
a05731a0
CY
7442012-08-20 Chong Yidong <cyd@gnu.org>
745
746 * descr-text.el (describe-text-properties-1): Use overlays-in to
747 report on empty overlays (Bug#3322).
748
36e8d1eb
GM
7492012-08-20 Glenn Morris <rgm@gnu.org>
750
3d300447
GM
751 * mail/rmailout.el (rmail-output-read-file-name):
752 Trap and report errors in rmail-output-file-alist elements.
753
36e8d1eb
GM
754 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
755 since most non-font-lock faces are not also variables).
756
b96e5814
ER
7572012-08-20 Edward Reingold <reingold@iit.edu>
758
759 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
760 New function. (Bug12160)
761
7cef3569
GM
7622012-08-19 Glenn Morris <rgm@gnu.org>
763
764 * mail/rmailout.el (rmail-output-read-file-name):
765 Fix previous change (when the alist is nil or does not match).
766
17975d7f
CY
7672012-08-19 Chong Yidong <cyd@gnu.org>
768
769 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
770 (Bug#12228).
771
2170b1bd
CY
7722012-08-18 Chong Yidong <cyd@gnu.org>
773
774 * simple.el (yank-handled-properties): New defcustom.
775 (yank-excluded-properties): Add font-lock-face and category.
776 (yank): Doc fix.
777
9fba804b
SM
778 * subr.el (remove-yank-excluded-properties):
779 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
780 and category is now done this way, instead of being hard-coded.
781 (insert-for-yank-1): Remove font-lock-face handling.
782 (yank-handle-font-lock-face-property)
783 (yank-handle-category-property): New function.
784
ee218151
GM
7852012-08-17 Glenn Morris <rgm@gnu.org>
786
787 * mail/rmailout.el (rmail-output-read-file-name):
788 Check rmail-output-file-alist against the full message body
789 in the correct rmail buffer. (Bug#12214)
790
4a6bc3fd
MA
7912012-08-17 Michael Albinus <michael.albinus@gmx.de>
792
9fba804b
SM
793 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
794 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 795
383dcbf9
CY
7962012-08-17 Chong Yidong <cyd@gnu.org>
797
798 * mouse.el (mouse-appearance-menu): If x-select-font returns a
799 font spec, set the font directly (Bug#3228).
800
998c4a6a
MR
8012012-08-17 Martin Rudalics <rudalics@gmx.at>
802
803 * window.el (delete-window): Fix last fix.
804
52162052
MR
8052012-08-16 Martin Rudalics <rudalics@gmx.at>
806
807 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
808 (window-child, window-child-count, window-last-child)
809 (window-normalize-window, window-combined-p)
810 (window-combinations, window-atom-root, window-min-size)
811 (window-sizable, window-sizable-p, window-size-fixed-p)
812 (window-min-delta, window-max-delta, window--resizable)
813 (window--resizable-p, window-resizable, window-total-size)
814 (window-full-height-p, window-full-width-p, window-body-size)
815 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
816 (minimize-window, window-deletable-p, delete-window)
817 (delete-other-windows, set-window-buffer-start-and-point)
818 (next-buffer, previous-buffer, split-window, balance-windows-2)
819 (set-window-text-height, window-buffer-height)
820 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
821 (truncated-partial-width-window-p): Minor code adjustments.
822 In doc-strings state whether the argument window has to denote a
85c2386b 823 live, valid or any window.
52162052 824
1c308380
PS
8252012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
826
827 * progmodes/subword.el (subword-forward-function)
828 (subword-backward-function, subword-forward-regexp)
829 (subword-backward-regexp): New variables.
830 (subword-forward, subword-forward-internal, subword-backward-internal):
831 Use new variables, eg so that different "word" definitions
832 can be easily used. (Bug#11411)
833
94c9ece1
SM
8342012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
837 for composite selectors.
838 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
839 operation just because we can't find a previous revision.
840
f2045622
CY
8412012-08-15 Chong Yidong <cyd@gnu.org>
842
843 * frame.el (set-frame-font): Accept font objects.
844
582db660
SM
8452012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
848
2f29c200
WJ
8492012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
850
456e62c2
WJ
851 * man.el (Man-overstrike-face, Man-underline-face)
852 (Man-reverse-face): Remove variables.
853 (Man-overstrike, Man-underline, Man-reverse): New faces.
854 (Man-fontify-manpage): Use them instead of the variables.
855 (Man-cleanup-manpage): Comment change.
856 (Man-ansi-color-map): New variable.
857 (Man-fontify-manpage): Use it.
858 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
859
2f29c200
WJ
860 Implement ANSI SGR parameters 22-27 (bug#12146).
861 * ansi-color.el (ansi-colors): Doc fix.
862 (ansi-color-context, ansi-color-context-region): Doc fix.
863 (ansi-color--find-face): New function.
864 (ansi-color-apply, ansi-color-apply-on-region): Use it.
865 Rename the local variable `face' to `codes' since it is now a list of
866 ansi codes. Doc fix.
867 (ansi-color-get-face): Remove.
868 (ansi-color-parse-sequence): New function, derived from
869 ansi-color-get-face.
870 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
871 codes 22-27.
872
b4f5e9df
SM
8732012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * subr.el (read-passwd): Allow use from a minibuffer.
876
ba025fbd
EZ
8772012-08-14 Eli Zaretskii <eliz@gnu.org>
878
879 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
880 inside comments and strings as identifiers.
881
882 * progmodes/gud.el (gud-tooltip-print-command): Quote the
883 expression to evaluate. This allows to evaluate expressions with
884 embedded whitespace.
885 (gud-tooltip-tips): Add a blank before the newline in the
886 message-box text, for the benefit of message-box emulation on
887 MS-Windows.
888
889 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
890 messages from GDB, pop them up in a tooltip to give feedback to
891 user.
b4f5e9df
SM
892 (gdb-tooltip-print-1): Quote the expression to evaluate.
893 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
894 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
895 if the TTY name is nil or empty (which happens when communicating
896 with the inferior via pipes, e.g. on MS-Windows).
897 (gdb-internals): If GDB sends a "&\n" empty debugging message,
898 don't send that to the GUD buffer.
899
c548f821
GM
9002012-08-14 Glenn Morris <rgm@gnu.org>
901
902 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
903 Optimize away setq-default with no args, as for setq. (Bug#12195)
904
55802e4a
CY
9052012-08-14 Chong Yidong <cyd@gnu.org>
906
4abcdac8
CY
907 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
908
55802e4a
CY
909 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
910 (Bug#12085).
911
3c3cda1a
GM
9122012-08-14 Glenn Morris <rgm@gnu.org>
913
914 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
915
e1873bd0
MA
9162012-08-14 Michael Albinus <michael.albinus@gmx.de>
917
918 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
919 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
920 Use cached shell name.
921
925411b4
FEG
9222012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
923
924 * progmodes/python.el (python-shell-send-string):
3c3cda1a 925 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 926
e636fafe
DG
9272012-08-14 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
930 (ruby-percent-literal-beg-re): New constant.
931 (ruby-syntax-general-delimiters-goto-beg): Rename to
932 `ruby-syntax-enclosing-percent-literal', improve literal type check.
933 (ruby-syntax-propertize-general-delimiters): Rename to
934 `ruby-syntax-propertize-percent-literal', it's a shorter and more
935 popular term. Adjust comments everywhere.
936 (ruby-syntax-propertize-percent-literal): Only propertize when not
937 inside a simple string or comment. When the literal is unclosed,
938 leave the text after it unpropertized.
f063063a
DG
939 (ruby-syntax-methods-before-regexp): New constant.
940 (ruby-syntax-propertize-function): Use it to recognize regexps.
941 Don't look at the text after regexp, just use the whitelist.
e636fafe 942
e5b19827
AS
9432012-08-14 Andreas Schwab <schwab@linux-m68k.org>
944
945 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
946 non-nil always load the compiled file if it exists. (Bug#12197)
947
a9f6f311
CY
9482012-08-14 Chong Yidong <cyd@gnu.org>
949
950 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
951 (hi-lock-set-pattern): When deciding whether to use font lock or
952 overlays, look at font-lock-mode instead of font-lock-fontified
953 (Bug#12168).
954 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
955 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
956
7d806b1e
DU
9572012-08-14 Daiki Ueno <ueno@unixuser.org>
958
959 * subr.el (internal--after-with-selected-window): Fix typo
960 (Bug#12193).
961
5beed586
FEG
9622012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
963
964 Use `completion-table-dynamic' for completion functions.
965 * progmodes/python.el
966 (python-shell-completion--do-completion-at-point)
e636fafe
DG
967 (python-shell-completion--get-completions):
968 Remove functions.
5beed586
FEG
969 (python-shell-completion-complete-at-point): New function.
970 (python-completion-complete-at-point): Use it.
971
92cb3b04
J
9722012-08-13 Jambunathan K <kjambunathan@gmail.com>
973
974 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
975 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
976
89660017
SM
9772012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
978
3c98c962
SM
979 * subr.el (function-get): Refine `autoload' arg so it can also
980 autoload functions for gv.el (bug#12191).
981 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
982 autoloads macros.
983
aa7c6dbe
SM
984 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
985 Prefer pcase-let over destructuring-bind.
986 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
987 Also, remove whitespace as we go, rather than after accumulating the
988 various places.
989
89660017
SM
990 * subr.el (internal--before-with-selected-window)
991 (internal--after-with-selected-window): Fix typo seleted->selected.
992 (with-selected-window): Adjust callers.
993 Reported by Dmitry Gutov <dgutov@yandex.ru>.
994
31cd32c9
BG
9952012-08-13 Bastien Guerry <bzg@gnu.org>
996
0fcd3d9f 997 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
998 enhancement. (Bug#12172)
999
1b15d8ad
AS
10002012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1001
31e54db0
AS
1002 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1003 type 1-6.
1004 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1005 extended headers.
1006
1b15d8ad
AS
1007 * files.el (hack-local-variables-filter): Remove useless eval.
1008
35cb9c06
MR
10092012-08-13 Martin Rudalics <rudalics@gmx.at>
1010
1011 * subr.el (with-selected-window): Fix last change.
1012
1439443b
SM
10132012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * subr.el (internal--before-with-seleted-window)
1016 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1017 (with-selected-window): Use them, to replace dependency on
1018 tty-top-frame.
1439443b 1019
0d9e2599
NN
10202012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1021
1022 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1023 binding for `newline'.
1024 (ruby-move-to-block): When moving backward, stop at block opening,
1025 not indentation.
1026 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1027 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1028 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1029 `ruby-toggle-block'.
1030
ba10c48c
SM
10312012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * ibuffer.el (ibuffer-do-toggle-read-only):
1034 * dired.el (dired-toggle-read-only):
1035 * buff-menu.el (Buffer-menu-toggle-read-only):
1036 * bindings.el (mode-line-toggle-read-only):
1037 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1038
9229c658
AS
10392012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1040
1041 * descr-text.el (describe-char): Put the overlays over the
1042 "displayed as" character.
1043
0fd09128
JB
10442012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1045
1046 * calc/calc-units.el (math-default-units-table): Give an
1047 initial value.
1048 (math-put-default-units): Add options to put composite units and
1049 unit systems in the default units table.
1050 (calc-convert-units): Send composite units to
1051 `math-put-default-units' when appropriate.
1052
9ff9402d 10532012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1054
fbb5e336
GM
1055 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1056
7aacaf15
GM
1057 * tutorial.el (help-with-tutorial):
1058 * emacs-lisp/copyright.el (copyright-update-directory):
1059 * emacs-lisp/autoload.el (autoload-find-generated-file)
1060 (autoload-find-file): Disable local eval: (for insurance).
1061
f40b9f10
GM
1062 * files.el (hack-local-variables-filter): If an eval: form is not
1063 known to be safe, and enable-local-variables is :safe, then ignore
1064 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1065 This is CVE-2012-3479.
f40b9f10 1066
daa9f1a6
SM
10672012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1070 (rx-form): Simplify.
1071
9cd80478
DG
10722012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1073
0d9e2599
NN
1074 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1075 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1076 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1077 (ruby-syntax-propertize-function): Adjust for changes in
1078 `ruby-syntax-propertize-heredoc'.
1079
10802012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1081
9cd80478
DG
1082 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1083 binding (use `M-;' instead).
9cd80478 1084 (ruby-singleton-class-p): New function.
0d9e2599 1085 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1086
d301b413
SM
10872012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1090
1530c98e
CY
10912012-08-10 Chong Yidong <cyd@gnu.org>
1092
1093 * progmodes/python.el (python-shell-get-process-name): Don't mess
1094 with same-window-buffer-names.
1095
1096 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1097 (eshell-remove-from-window-buffer-names): Make obsolete.
1098 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1099 (eshell): Just use pop-to-buffer-same-window instead.
1100
e1293765
CY
11012012-08-10 Chong Yidong <cyd@gnu.org>
1102
1103 * bindings.el: Bind M-= back to count-words-region.
1104
1105 * simple.el (count-words-region): Accept a prefix arg for acting
1106 on the entire buffer.
1107 (count-words--buffer-message): New helper function.
1108
e1894109
SM
11092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1112 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1113 (event-start, event-end): Use posn-at-point to return a more
1114 informative posn.
1115 (posnp): New function.
1116 * mouse.el (popup-menu-normalize-position): Use it.
1117
c69f56a2
MY
11182012-08-10 Masatake YAMATO <yamato@redhat.com>
1119
1120 * mouse.el (popup-menu-normalize-position): New function.
1121 (popup-menu): Use `popup-menu-normalize-position' to normalize
1122 the form for POSITION argument.
1123
1124 * term/x-win.el (x-menu-bar-open):
1125 Use the value returend from (posn-at-point) as position
1126 passed to `popup-menu'.
1127
31673780
JB
11282012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1129
1130 * calc/calccomp.el (math-compose-expr): Add extra argument
1131 indicating that parentheses should be put around products in
1132 denominators. Give multiplication precedence over division during
1133 composition.
1134
dab7711b
CY
11352012-08-09 Chong Yidong <cyd@gnu.org>
1136
dee4ef93
CY
1137 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1138 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1139 (Man-untabify-command, manual-program): Convert to defcustom
1140 (Bug#10429).
1141
73e2bbc5
CY
1142 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1143
3e861c8a
CY
1144 * descr-text.el (describe-char): Don't insert extra newlines
1145 (Bug#10127).
1146
a9f5a649
CY
1147 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1148 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1149
dab7711b
CY
1150 * align.el (align-region): Delete temporary markers (Bug#10047).
1151 Plus some code cleanups.
1152
e0cc4efa
FEG
11532012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1154
1155 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1156 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1157 (python-shell-internal-last-output): Use make-local-variable
1158 instead of make-variable-buffer-local.
1159
489af14f
FEG
11602012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1161
1162 * progmodes/python.el: Enhancements to forward-sexp.
1163 (python-nav-forward-sexp): Rename from
1164 python-nav-forward-sexp-function.
c69f56a2
MY
1165 (python-nav--forward-sexp, python-nav--backward-sexp):
1166 New functions.
489af14f 1167
0fc50303
JB
11682012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1169
1170 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1171 modes and simplification modes.
1172
5d65606a
SM
11732012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * delsel.el (delete-selection-pre-hook): Don't propagate the
1176 file-supersession signals (bug#12161).
1177
4250fdf5
SM
11782012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1181 (cl-map-extents): Add compatibility aliases (bug#12135).
1182
d9f9b465
MA
11832012-08-08 Michael Albinus <michael.albinus@gmx.de>
1184
1185 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1186 tests by `ignore-error'.
1187 (tramp-find-shell): Open also a new shell, when cache is already
1188 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1189
ce0fcefa
JL
11902012-08-08 Juri Linkov <juri@jurta.org>
1191
1192 * bookmark.el: Add `defaults' property to the bookmark record.
1193 (bookmark-current-buffer): Doc fix.
1194 (bookmark-make-record): Add `defaults' property with default values
1195 to the bookmark record.
1196 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1197 with `bookmark-insert-current-bookmark'.
1198 (bookmark-set): Get `defaults' property from the bookmark record
1199 and use it in `read-from-minibuffer'.
1200 (bookmark-insert-current-bookmark): Remove function.
1201
1202 * info.el (Info-bookmark-make-record): Add `defaults' property
1203 with values of canonical Info node name, the current Info file
1204 name and the current Info node name. (Bug#12107)
1205
53fa8652
JL
12062012-08-08 Juri Linkov <juri@jurta.org>
1207
1208 * files.el (basic-save-buffer): Use `buffer-name' as the default
1209 of `read-file-name' when buffer is not visiting a file (bug#12128).
1210
242c0a95
JL
12112012-08-08 Juri Linkov <juri@jurta.org>
1212
1213 * info.el (Info-isearch-search): Doc fix.
1214 (Info-search): Change search-failed message from "initial node" to
1215 "end of node" (bug#12078).
1216 (Info-isearch-search): Change `isearch-string-state' to
1217 `isearch--state-string'.
1218
32ac3a6b
GM
12192012-08-08 Glenn Morris <rgm@gnu.org>
1220
1221 * language/persian.el: Remove file.
f8c1afd5 1222 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1223 * loadup.el: Remove language/persian.
1224
2c2d9c9c
OF
12252012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1226
1227 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1228
2d79ec42
FEG
12292012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1230
1231 * progmodes/python.el Fixed defsubst warning.
1232 (python-syntax-context) Rename from python-info-ppss-context.
1233 (python-syntax-context-type): Rename from
1234 python-info-ppss-context-type.
1235 (python-syntax-comment-or-string-p): Rename from
1236 python-info-ppss-comment-or-string-p.
1237
2bd255dd
JB
12382012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1239
1240 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1241
c395097f
AS
12422012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1243
6125983e
AS
1244 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1245 a defcustom that is quoted with backquote.
1246
4250fdf5
SM
1247 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1248 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1249 (math-do-arg-check, math-define-function-body): Use backquote forms.
1250 * calc/calc-ext.el (math-defcache): Likewise.
1251 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1252 * allout.el (allout-new-exposure): Likewise.
1253 * calc/calcalg2.el (math-tracing-integral): Likewise.
1254 * info.el (Info-last-menu-item): Likewise.
1255 * emulation/vip.el (vip-loop): Likewise.
1256 * textmodes/artist.el (artist-funcall): Likewise.
1257 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1258 Construct menu-item directly.
1259
4250fdf5
SM
1260 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1261 Don't declare.
c395097f 1262
5fb50dd3
CY
12632012-08-07 Chong Yidong <cyd@gnu.org>
1264
1265 * simple.el (deactivate-mark): Preserve text properties when
1266 saving the primary selection (Bug#8384).
1267
54eea618
KR
12682012-08-07 Kevin Ryde <user42@zip.com.au>
1269
1270 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1271 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1272 and continue processing (Bug#12110).
1273
638eaeb9
SM
12742012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1277 syntax-propertize-function (bug#10095).
1278
ea376861
SM
12792012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1280
f91b35be
SM
1281 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1282 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1283 describe-function-1.
1284 (describe-function-1): Use them. Move compiler macro after sig.
1285 (help-fns--compiler-macro): Use function-get. Assume we're already in
1286 standard-output. Adjust layout to new call order.
1287
ea376861
SM
1288 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1289 re-binding a symbol that has a symbol-macro (bug#12119).
1290
d5be7bd0
MB
12912012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1292
1293 * language/persian.el: New file. (Bug#11812)
1294 * loadup.el: Add language/persian.el.
1295
90749b53
CY
12962012-08-06 Chong Yidong <cyd@gnu.org>
1297
1298 * window.el (window--maybe-raise-frame): New function.
1299 (window--display-buffer): Split off from here.
1300 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1301 (display-buffer-pop-up-window, display-buffer-use-some-window):
1302 Obey an inhibit-switch-frame action alist entry.
1303 (display-buffer): Update doc.
1304
1305 * replace.el (occur-after-change-function): Avoid losing focus by
1306 using the inhibit-switch-frame display parameter (Bug#12139).
1307
ba7b0154
FEG
13082012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1309
1310 Make internal shell process buffer names start with space.
1311 * progmodes/python.el (python-shell-make-comint): Add optional
1312 argument INTERNAL.
1313 (run-python-internal): Use it.
1314 (python-shell-internal-get-or-create-process): Check for new
1315 internal buffer names.
1316
5eaeacb5
GM
13172012-08-06 Glenn Morris <rgm@gnu.org>
1318
e296d94b 1319 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1320 Do less getting and setting of environment variables.
1321
b7ccbdc2
CY
13222012-08-05 Chong Yidong <cyd@gnu.org>
1323
777fe95e
CY
1324 * proced.el (proced): Add substitution string to docstring to
1325 trigger autoloading of the proced library on C-h f (Bug#1768).
1326
4250fdf5
SM
1327 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1328 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1329
1330 * imenu.el (imenu-generic-expression): Move documentation here
1331 from imenu--generic-function.
1332 (imenu--generic-function): Refer to imenu-generic-expression.
1333
9e3b7800 13342012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VĂ˜
1335
1336 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1337 indentation declaration.
1338 (viper-loop): Add indentation declaration (Bug#7025).
1339
e5d9c0d1
CY
13402012-08-05 Chong Yidong <cyd@gnu.org>
1341
f0422feb
CY
1342 * help-fns.el (describe-variable): Add hyperlink for
1343 directory-local variables files. Improve buffer-local and
1344 permanent-local reporting; suggested by MON KEY (Bug#6644).
1345
1346 * help-mode.el (help-dir-local-var-def): New button type.
1347
e5d9c0d1
CY
1348 * files.el (kill-buffer-hook): Provide a defvar.
1349
a4f2deaa
GM
13502012-08-05 Glenn Morris <rgm@gnu.org>
1351
1352 * eshell/esh-ext.el (eshell/addpath):
1353 Also update eshell-path-env. (Bug#12013)
1354
a9dd5754
CY
13552012-08-05 Chong Yidong <cyd@gnu.org>
1356
a4f2deaa 1357 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1358
d014c740
CY
1359 * fringe.el (fringe-styles): Add docstring.
1360 (fringe--check-mode): New function.
1361 (set-fringe-mode, set-fringe-style): Use it.
1362 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1363
a9dd5754
CY
1364 * files.el (set-auto-mode): Fix invalid setq call.
1365
7c2dc8bd
SM
13662012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1367
1368 * isearch.el: Misc simplification; use defstruct.
1369 (isearch-mode-map): Dense maps now work like sparse ones.
1370 (isearch--state): New defstruct.
1371 (isearch-string-state, isearch-message-state, isearch-point-state)
1372 (isearch-success-state, isearch-forward-state)
1373 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1374 (isearch-wrapped-state, isearch-barrier-state)
1375 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1376 replaced by defstruct's accessors.
1377 (isearch--set-state): Rename from isearch-top-state and change
1378 calling convention.
1379 (isearch-push-state): Use new isearch--get-state.
1380 (isearch-toggle-word): Disable regexp when enabling word.
1381 (isearch-message-prefix): Remove unused arg _c-q-hack.
1382 (isearch-message-suffix): Remove unused arg _ellipsis.
1383
7fcc0070
AS
13842012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1385
1386 * simple.el (list-processes--refresh): For a server use :host or
1387 :local as the address.
97ad0769 1388 (list-processes): Doc fix.
7fcc0070 1389
00340faf
MN
13902012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1391
1392 * lisp/mpc.el: Support password in host argument.
1393 (mpc--proc-connect): Parse and use new password element.
1394 Set mpc-proc variable instead of returning process.
1395 (mpc-proc): Adjust accordingly.
1396
6dad7178
EZ
13972012-08-03 Eli Zaretskii <eliz@gnu.org>
1398
18949c2f
EZ
1399 * whitespace.el (whitespace-display-mappings): Use Unicode
1400 codepoints, instead of emacs-mule codepoints. See
1401 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1402 for the details.
1403
6dad7178
EZ
1404 * files.el (file-truename): Don't skip symlink-chasing part on
1405 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1406 Windows into the loop that recursively chases symlinks.
1407 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1408 MS-DOS.
1409
385b0198
CY
14102012-08-03 Chong Yidong <cyd@gnu.org>
1411
6200f3c4
CY
1412 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1413
385b0198
CY
1414 * sort.el (sort-regexp-fields): Doc fix.
1415
b9e74744
TH
14162012-08-03 Tassilo Horn <tsdh@gnu.org>
1417
1418 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1419 labels regex position point at the expected place.
1420
41013cb4
MK
14212012-08-03 MON KEY <monkey@sandpframing.com>
1422
1423 * net/imap.el (imap-interactive-login, imap-authenticate)
1424 (imap-mailbox-lsub, imap-mailbox-list)
1425 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1426 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1427 (imap-parse-response): Doc fix.
1428
0ffee616
JT
14292012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1430
1431 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1432 if sexp scanning does not move point (Bug#5734).
1433
cfcc9cc8
TH
14342012-08-02 Tassilo Horn <tsdh@gnu.org>
1435
1436 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1437 Add listings, minted, and ctable packages.
1438 (reftex-label-alist-builtin): Move listings, minted, and ctable
1439 entries before LaTeX.
a01bbb84 1440 (reftex-label-alist): Docfix.
cfcc9cc8 1441
66ec2442
BG
14422012-08-02 Bastien Guerry <bzg@gnu.org>
1443
1444 * replace.el (occur): Fix docstring (bug#12122).
1445
837b365b
GM
14462012-08-02 Glenn Morris <rgm@gnu.org>
1447
1448 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1449
e098de97
PE
14502012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1451
1452 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1453 * international/mule-cmds.el: Create
1454 inactivate-current-input-method-function as an obsolete alias for
1455 deactivate-current-input-method-function. See Katsumi Yamaoka in
1456 <http://bugs.gnu.org/10150#46>.
1457
a0f95636
JB
14582012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1459
1460 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1461 of nested `if's.
1462
0d26d7c4
GM
14632012-08-01 Glenn Morris <rgm@gnu.org>
1464
1465 * progmodes/autoconf.el (autoconf-definition-regexp):
1466 Add AH_TEMPLATE, adjust submatch numbering.
1467 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1468 (autoconf-current-defun-function): Update for above change.
1469 (autoconf-current-defun-function): First skip to end of current word.
1470
b686ba06
RS
14712012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1472
1473 * calendar/cal-html.el (cal-html-insert-agenda-days):
1474 Fix typo. (Bug#12018)
1475
0d49da68
FEG
14762012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1477
1478 Shell processes: enhancements to startup and CEDET compatibility.
1479 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1480 (python-shell-make-comint): accept-process-output at startup.
1481 (run-python-internal): Set inferior-python-mode-hook to nil.
1482 (python-shell-internal-get-or-create-process): call sit-for.
1483 (python-preoutput-result): Add obsolete alias.
1484 (python-shell-internal-send-string): Use it.
1485 (python-shell-send-setup-code): Remove call to
1486 accept-process-output.
1487
f1a71c6e
AS
14882012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1489
1490 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1491 (Bug#12108)
1492
d2605269
JB
14932012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1494
1495 * calc-mode.el (calc-basic-simplification-mode): Rename from
1496 `calc-limited-simplification-mode'.
1497 (calc-alg-simplification-mode): New function.
d66060f8 1498 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1499
d2605269
JB
1500 * calc.el (calc-set-mode-line): Adjust mode line display for
1501 basic simplification mode.
1502
1503 * calc-help.el (calc-m-prefix-help): Update help message.
1504
1505 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1506 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1507
a3827a43
BG
15082012-07-31 Bastien Guerry <bzg@gnu.org>
1509
1510 * man.el (man): Fix comment. (bug#12101)
1511
502e3f89
MR
15122012-07-31 Martin Rudalics <rudalics@gmx.at>
1513
1514 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1515 Don't return a non-nil value when no suitable buffer was found.
1516
d7714961
FEG
15172012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1518
1519 * progmodes/python.el (run-python-internal): Disable font lock for
1520 internal shells.
1521
1f45e27e
SM
15222012-07-30 Stefan Merten <smerten@oekonux.de>
1523
1524 * rst.el: Silence `checkdoc-ispell'.
1525 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1526 (rst-official-version, rst-official-cvs-rev)
1527 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1528 (rst-mode-map): New key binding.
1529
0aee6912
PE
15302012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1531
1532 Update .PHONY listings in makefiles.
1533 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1534 autoloads, update-subdirs, updates, bzr-update, update-authors,
1535 compile-onefile, compile-calc, backup-compiled-files,
1536 compile-after-backup, compile-one-process, mh-autoloads,
1537 bootstrap-clean, distclean, maintainer-clean.
1538
9052f9f0
JB
15392012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1540
1823ac5a
JB
1541 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1542 (calc-set-mode-line): Don't display "AlgSimp ".
1543
1544 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1545 (calc-lim-simplify-mode): New function.
1546 (calc-set-simplify-mode): Default to 'alg.
1547 (calc-default-simplify-mode): Make algebraic simplifications
1548 the default.
1549
1550 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1551 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1552
8d7c7eed 1553 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1554 indicate new simplification modes.
1555
1823ac5a
JB
1556 * calc/README: Mention new default simplification mode.
1557
9052f9f0
JB
1558 * calc/calc.el (math-normalize-error): New variable.
1559 (math-normalize): Set `math-normalize-error' to t
1560 when there's an error.
1561
1562 * calc/calc-alg.el (math-simplify): Don't simplify when
1563 `math-normalize' returns an error.
1564
20ba0cb4
EZ
15652012-07-29 Eli Zaretskii <eliz@gnu.org>
1566
1567 * international/mule-cmds.el (set-locale-environment): Revert last
1568 change, since display-graphic-p returns nil when this function is
1569 called during startup. Instead...
1570
1571 * term/w32console.el (terminal-init-w32console): ...setup the
1572 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1573
a5dcc929
JL
15742012-07-29 Juri Linkov <juri@jurta.org>
1575
1576 * simple.el (goto-line): Don't display default line number in the
1577 prompt because it should be displayed by `read-number' (bug#9952).
1578 Add the current line number to the defaults of `goto-line' to
1579 allow its easier modification by users with `M-n' (bug#9201).
1580
1581 * subr.el (read-number): Support multiple default values like in
1582 other minibuffer reading functions. Replace `read' with
1583 `string-to-number' for consistency with `number-to-string'.
1584
72b255c7
PE
15852012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1586
1587 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1588 * emulation/viper-init.el (viper-deactivate-input-method-action):
1589 Rename from viper-inactivate-input-method-action.
1590 (viper-deactivate-input-method):
1591 Rename from viper-inactivate-input-method.
1592 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1593 * international/mule-cmds.el (deactivate-input-method):
1594 Rename from inactivate-input-method.
1595 Also run input-method-deactivate-hook.
1596 (deactivate-current-input-method-function):
1597 Rename from inactivate-current-input-method-function.
1598 (input-method-deactivate-hook): New hook.
1599 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1600 (inactivate-input-method): Mark obsolete.
1601
72b255c7
PE
1602 * international/quail.el (quail-activate):
1603 Also run quail-deactivate-hook.
1604 (quail-deactivate): Rename from quail-inactivate.
1605 * international/robin.el (robin-activate):
1606 Also run robin-deactivate-hook.
1607 (robin-deactivate): Rename from robin-inactivate.
1608
2549c068
CY
16092012-07-29 Chong Yidong <cyd@gnu.org>
1610
1611 * simple.el (indicate-copied-region): New function.
1612 (kill-ring-save): Split off from here.
1613
1614 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1615 (kill-rectangle): Set deactivate-mark to t on read-only error.
1616
1617 * register.el (copy-to-register, copy-rectangle-to-register):
1618 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1619 (append-to-register, prepend-to-register):
1620 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1621
1622 * simple.el (async-shell-command-buffer): New defcustom.
1623 (shell-command): Use it. (Bug#4719)
1624
01bd1b0d
EZ
16252012-07-28 Eli Zaretskii <eliz@gnu.org>
1626
1627 * international/mule-cmds.el (set-locale-environment): In a
1628 console session on MS-Windows, set up keyboard and terminal
1629 encoding from the OEM codepage, not the ANSI codepage.
1630 (Bug#12055)
1631
a55739d3
CY
16322012-07-28 Chong Yidong <cyd@gnu.org>
1633
1634 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1635 gdb-get-location.
1636
0e1a094f 16372012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1638
1639 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1640 the alist (bug#12029).
1641
20329d73
EZ
16422012-07-28 Eli Zaretskii <eliz@gnu.org>
1643
1644 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1645 (compile-always, compile-first)
1646 ($(lisp)/calendar/cal-loaddefs.el)
1647 ($(lisp)/calendar/diary-loaddefs.el)
1648 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1649 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1650 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1651 instead of on update-subdirs.
1652 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1653
345a2258
CY
16542012-07-28 Chong Yidong <cyd@gnu.org>
1655
1eee6341
CY
1656 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1657 directory if vc-deduce-backend returns nil (Bug#7350).
1658
345a2258
CY
1659 * simple.el (delete-trailing-lines): New option.
1660 (delete-trailing-whitespace): Obey it (Bug#11879).
1661
049a0936
DE
16622012-07-28 David Engster <deng@randomsample.de>
1663
1664 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1665 Explanation of new 'symbol-qnames feature in doc-strings.
1666 (xml-maybe-do-ns): Return expanded names as plain symbols if
1667 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1668 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1669
aa81af71
FEG
16702012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1671
1672 Consistent completion in inferior python with emacs -nw.
1673 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1674 binding in inferior-python-mode-map with "\t".
1675 (python-shell-completion-complete-at-point)
1676 (python-completion-complete-at-point): Remove interactive spec.
1677
e827b1eb
JB
16782012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1679
1680 * calc/calccomp.el (math-compose-expr): Undo previous change.
1681
a90dfb95
FEG
16822012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1683
4250fdf5 1684 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1685 run-python.
1686 (python-shell-make-comint): Fix pop-to-buffer call.
1687 (run-python): Autoload. New arg SHOW.
1688 (python-shell-get-or-create-process): Do not pop python process
1689 buffer.
1690
32770973 16912012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1692
1693 * notifications.el (notifications-on-action-signal)
1694 (notifications-on-closed-signal): Use also the bus address for the map.
1695 (notifications-notify, notifications-close-notification)
1696 (notifications-get-capabilities): Add optional argument BUS.
1697
86332df2
TH
16982012-07-27 Tassilo Horn <tsdh@gnu.org>
1699
4250fdf5
SM
1700 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1701 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1702 ctable macro.
1703 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1704 labels written in keyvals syntax.
1705
ca1302a4
JB
17062012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1707
1708 * calc/calccomp.el (math-compose-expr): Use parentheses when
1709 there is a product in the denominator of a fraction.
1710
f8b91036
EZ
17112012-07-26 Eli Zaretskii <eliz@gnu.org>
1712
1713 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1714 ($(lisp)/calendar/diary-loaddefs.el)
1715 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1716 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1717 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1718 rewritten while the autoload files are built at the same time,
1719 which needs to load subdirs.el.
1720
c8e5a42c
MR
17212012-07-26 Martin Rudalics <rudalics@gmx.at>
1722
1723 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1724 (mouse-drag-line): Don't exit tracking when a switch-frame or
1725 switch-window event occurs (Bug#12006).
1726
670d85ea
SM
17272012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * mouse.el (popup-menu): Fix last change.
1730
7abaf5cc
SM
17312012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 Autoload from Lisp with more care. Follow aliases when looking for
1734 function properties.
1735 * subr.el (autoloadp): New function.
1736 (symbol-file): Use it.
1737 (function-get): New function.
1738 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1739 autoload-do-load.
1740 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1741 (lisp-indent-function):
1742 * emacs-lisp/gv.el (gv-get):
1743 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1744 * emacs-lisp/byte-opt.el (byte-optimize-form):
1745 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1746 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1747 Use function-get.
1748 * emacs-lisp/cl.el: Don't propagate function properties any more.
1749
1750 * speedbar.el (speedbar-add-localized-speedbar-support):
1751 * emacs-lisp/disass.el (disassemble-internal):
1752 * desktop.el (desktop-load-file):
1753 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1754 (describe-function-1):
1755 * emacs-lisp/find-func.el (find-function-noselect):
1756 * emacs-lisp/elp.el (elp-instrument-function):
1757 * emacs-lisp/advice.el (ad-has-proper-definition):
1758 * apropos.el (apropos-safe-documentation, apropos-macrop):
1759 * emacs-lisp/debug.el (debug-on-entry):
1760 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1761 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1762 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1763
b1364986
AA
17642012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1765
1766 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1767 function, not an obsolete variable (Bug#12046).
1768
67ada220
AS
17692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1770
1771 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1772
f08088e3
CS
17732012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1774
1775 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1776 window only if it is still live (Bug#12034).
1777
8137e7b3
MR
17782012-07-25 Martin Rudalics <rudalics@gmx.at>
1779
1780 * subr.el (redirect-frame-focus): Add advertised calling
1781 convention (Bug#12030).
1782
09ae5da1
PE
17832012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1784
1785 Prefer typical American spelling for "acknowledgment".
1786 * vc/add-log.el (change-log-acknowledgment): Rename from
1787 change-log-acknowledgement, with an alias for the old name.
1788
3cc5a3a8
JB
17892012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1790
1791 * calc-alg.el (math-simplify-divide): Don't cross multiply
1792 in an equation when the lhs is a variable.
1793
b7af7f62
JD
17942012-07-24 Julien Danjou <julien@danjou.info>
1795
1796 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1797 Remove, unused.
1798
ec1b09b1
EZ
17992012-07-23 Eli Zaretskii <eliz@gnu.org>
1800
1801 * startup.el (command-line): Don't display an empty user name in
1802 the error message about non-existent home directory, when
1803 init-file-user was set to an empty string. See
1804 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1805 for the details and context.
1806
b525fd8a
VB
18072012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1808
1809 * ses.el (ses-cell-formula-aset): New macro.
1810 (ses-cell-references-aset): New macro.
1811 (ses-cell-p): New function.
1812 (ses-rename-cell): Do no longer rely on complex operations like
1813 ses-cell-set-formula or ses-set-cell to change the cell and handle
1814 the undo at the same time, but rather use lower level new macros
1815 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1816 the undo directly. Refresh the mode line.
1817
2c73e345
LL
18182012-07-21 Leo Liu <sdl.web@gmail.com>
1819
670d85ea
SM
1820 * progmodes/cc-cmds.el (c-defun-name):
1821 Use match-string-no-properties instead for consistency.
2c73e345 1822
542dfbde
LL
18232012-07-20 Leo Liu <sdl.web@gmail.com>
1824
3646bcd6
LL
1825 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1826 (Bug#7879)
1827
542dfbde
LL
1828 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1829
25721031
CY
18302012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1833 * progmodes/bug-reference.el, misearch.el: Provide themselves
1834 (bug#11915).
1835
1836 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1837 of narrowed buffer (bug#11966).
1838
316e68a7
VB
18392012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1840
1841 * ses.el (ses-rename-cell): Set new name also in reference list of
1842 cells of which the renamed cell depends.
1843
bbf0e7d9
MY
18442012-07-20 Masatake YAMATO <yamato@redhat.com>
1845
1846 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1847 to check whether menu-bar is shown or not. If not shown,
1848 show the menu-bar as a popup menu instead of using tmm.
1849 * mouse.el (popup-menu): Accept `point' as `position' argument.
1850
c28662a8
DG
18512012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1852
1853 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1854 up inside string symbol literal (bug#11923).
1855
87ab808f
EZ
18562012-07-20 Eli Zaretskii <eliz@gnu.org>
1857
1858 * startup.el (fancy-startup-text): Read the whole tutorial, not
1859 just its first 256 bytes. Prevents gibberish in display of the
1860 tutorial title.
1861
89dea803
DA
18622012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1863
1864 Drop idle buffer compaction due to an absence of the
1865 proved efficiency.
1866 * compact.el: Remove.
1867
8a4e6db8
SS
18682012-07-19 Sam Steingold <sds@gnu.org>
1869
1870 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1871 vc-bzr-pull & vc-bzr-merge-branch.
1872 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1873 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1874 for consistency with compilation-error-regexp-alist.
1875 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1876 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1877 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1878 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1879
5db81e33
SM
18802012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * emacs-lisp/chart.el: Use lexical-binding.
1883 (chart-emacs-storage): Don't hardcode the list of entries.
1884
5b835e1d
DA
18852012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1886
1887 Next round of tweaks caused by Fgarbage_collect changes.
1888 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1889
9cd47b72
DA
18902012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1891
1892 Compact buffers when idle.
1893 * compact.el: New file.
1894
1d6fc0df
SM
18952012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * subr.el (eventp): Presume that if it looks vaguely like an event,
1898 it's an event (bug#10190).
1899
1d29cc7d
FEG
19002012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1901
1902 Enhancements to ppss related code (thanks Stefan).
1903 * progmodes/python.el (python-indent-context)
1904 (python-indent-calculate-indentation, python-indent-dedent-line)
1905 (python-indent-electric-colon, python-nav-forward-block)
1906 (python-mode-abbrev-table)
1d6fc0df 1907 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1908 for ppss context.
1909 (python-info-continuation-line-p): Cleanup.
1910 (python-info-ppss-context): Do not catch 'quote.
1911 (python-info-ppss-context-type)
1912 (python-info-ppss-comment-or-string-p): Simplify.
1913
d583cbe6
FEG
19142012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1915
1916 * progmodes/python.el: Enhancements to eldoc support.
1917 (python-info-current-symbol): New function.
1918 (python-eldoc-at-point): Use python-info-current-symbol.
1919 (python-info-current-defun): Fix cornercase on first defun scan.
1920 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1921 and signal error when no inferior python process is available.
1922
eceb6feb
DG
19232012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1924
1925 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1926 assume it's always t.
1927 (vc-git-registered): Remove caching, the function is only called
1928 once.
1929 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1930
4c8ff0fe
CY
19312012-07-18 Chong Yidong <cyd@gnu.org>
1932
19fb7186
CY
1933 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1934
9587c688
CY
1935 * simple.el (count-words): Report on narrowing (Bug#9959).
1936
0fe776a1
CY
1937 * bindings.el: Bind M-= to count-words.
1938
4c8ff0fe
CY
1939 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1940
7f5331cc
MY
19412012-07-18 Masatake YAMATO <yamato@redhat.com>
1942
1943 * progmodes/sh-script.el (sh-imenu-generic-expression):
1944 Capture a function with `function' keyword and without parentheses
1945 like "function FOO" (bug#11856).
1946
2dc2a609
TH
19472012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1948
1949 * window.el (split-window-sensibly): Make WINDOW argument
1950 optional.
1951
439f7677
CY
19522012-07-18 Chong Yidong <cyd@gnu.org>
1953
9aeb25a6
CY
1954 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1955
439f7677
CY
1956 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1957 and make C-x 8 RET exit isearch (Bug#11439).
1958
1959 * international/iso-transl.el: Move isearch-mode-map key
1960 definitions to isearch.el.
1961
12999ea8
SM
19622012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1965 (eieio-defclass): Use gv-define-setter when possible.
1966
3ab6e069
DA
19672012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1968
1969 Reflect recent changes in Fgarbage_collect.
1970 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1971 reflect new format of data returned by Fgarbage_collect.
1972
0a60bc10
FEG
19732012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1974
1975 New utility functions + python-info-ppss-context fix (Bug#11910).
1976 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1977 (python-info-ppss-comment-or-string-p): New functions.
1978 (python-info-ppss-context): Small fix for string check.
1979
6dafa0d5
JL
19802012-07-17 Juri Linkov <juri@jurta.org>
1981
1982 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1983 (dired-do-async-shell-command): Don't add `*' at the end of the
1984 command (Bug#11815).
1985 (dired-do-shell-command): Doc fix.
1986 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1987 Join the individual commands using either "&" or ";" as the
1988 separator depending on the values of these trailing characters.
1989 At the end re-add the trailing "&". (Bug#10598)
1990
1991 * simple.el (async-shell-command): Sync the interactive spec with
1992 `shell-command'. Doc fix.
1993 (shell-command): Doc fix.
1994
b19dd9d1
JL
19952012-07-17 Juri Linkov <juri@jurta.org>
1996
1997 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1998
bcdc27d7 19992012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7f5331cc 2000
bcdc27d7 2001 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2002 * progmodes/python.el (python-nav-beginning-of-statement):
2003 Rename from python-nav-statement-start.
bcdc27d7
FEG
2004 (python-nav-end-of-statement): Rename from
2005 python-nav-statement-end.
2006 (python-nav-beginning-of-block): Rename from
2007 python-nav-block-start.
2008 (python-nav-end-of-block): Rename from python-nav-block-end.
2009
191da00e
FEG
20102012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2011
7f5331cc
MY
2012 * progmodes/python.el (python-shell-send-string-no-output):
2013 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2014 future interactions (Bug#11868).
2015
4dc7c8d5 20162012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2017
88ecaf8f
SM
2018 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2019
ef501ef0
SM
2020 * emacs-lisp/elint.el (elint-find-args-in-code):
2021 Use help-function-arglist, so as to handle lexical byte-code.
2022
aa7aaf8f
SM
2023 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2024 change (bug#11826).
2025
45fd731c
SM
20262012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2143fa32
SM
2028 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2029 Avoid spuriously marking the buffer as modified because of c-is-sws.
2030
efc26dbe
SM
2031 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2032 as not-a-comment (bug#11946).
2033
f5695c9a
SM
2034 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2035 for uninterned vars.
2036
2037 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2038 Use read-event since we don't really want to read chars but bytes.
2039
45fd731c
SM
2040 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2041 $$..$$ but also $..$ using regexps (bug#11953).
2042 Use tex-verbatim for \url and \path.
2043 (tex-font-lock-keywords): Define as defconst like the others.
2044 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2045
ddfc8813
RK
20462012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2047
2048 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2049 alias for insert-char.
2050
758e556a
FEG
20512012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2052
2053 * progmodes/python.el: Simplified imenu implementation.
2054 (python-nav-jump-to-defun): Remove command.
2055 (python-mode-map): Use `imenu' instead.
2056 (python-nav-list-defun-positions-cache)
2057 (python-imenu-include-defun-type, python-imenu-make-tree)
2058 (python-imenu-subtree-root-label, python-imenu-index-alist):
2059 Remove vars.
2060 (python-nav-list-defun-positions, python-nav-read-defun)
2061 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2062 (python-imenu-make-tree, python-imenu-create-index):
2063 Remove functions.
758e556a
FEG
2064 (python-mode): Update to interact with imenu by setting
2065 `imenu-extract-index-name-function' only.
2066
032d23ab
FEG
20672012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2068
2069 * progmodes/python.el: Enhancements to navigation commands.
2070 (python-nav-backward-sentence)
2071 (python-nav-forward-sentence): Remove.
2072 (python-nav-backward-statement, python-nav-forward-statement)
2073 (python-nav-statement-start, python-nav-statement-end)
2074 (python-nav-backward-block, python-nav-forward-block)
2075 (python-nav-block-start, python-nav-block-end)
2076 (python-nav-forward-sexp-function)
2077 (python-info-current-line-comment-p)
2078 (python-info-current-line-empty-p): New functions.
2079 (python-indent-context): Use `python-nav-statement-start'.
2080
01795a1b
MA
20812012-07-16 Michael Albinus <michael.albinus@gmx.de>
2082
9328d9aa
MA
2083 * eshell/em-ls.el (eshell/ls): Use `apply'.
2084
2085 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2086 multi-hops, instead of Tramp internals.
2087
01795a1b
MA
2088 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2089
2090 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2091 when F1 and F2 are located on different hosts.
2092
63408057
CY
20932012-07-14 Chong Yidong <cyd@gnu.org>
2094
2095 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2096 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2097 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2098 (xterm-mouse--read-event-sequence-1000)
2099 (xterm-mouse--read-event-sequence-1006): New functions. For old
2100 mouse protocol, handle M-mouse-X events correctly.
2101 (xterm-mouse-event): New arg specifying mouse protocol.
2102 (turn-on-xterm-mouse-tracking-on-terminal)
2103 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2104 sequence to toggle extended coordinates on newer XTerms.
2105 This appears to be harmless on terminals which do not support this.
63408057 2106
cd276f6e
LL
21072012-07-14 Leo Liu <sdl.web@gmail.com>
2108
28ca98ac
LL
2109 Add fringe bitmap indicators for flymake. (Bug#11253)
2110 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2111 (flymake-make-overlay): New arg BITMAP.
2112 (flymake-error-bitmap, flymake-warning-bitmap)
2113 (flymake-fringe-indicator-position): New user variables.
2114
cd276f6e
LL
2115 * fringe.el: New bitmap exclamation-mark.
2116
04408072
JD
21172012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2118
2119 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2120 also (Bug#7879).
2121
b5cf7fc4
CY
21222012-07-14 Chong Yidong <cyd@gnu.org>
2123
2124 * electric.el (electric-pair-post-self-insert-function): Fix pair
2125 insertion in empty-region case (Bug#11520).
2126
be755c79
RT
21272012-07-14 Chong Yidong <cyd@gnu.org>
2128
45fd731c
SM
2129 * bindings.el: Consolidate ctl-x-r-map bindings.
2130 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2131
2132 * rect.el, register.el: Move bindings to bindings.el.
2133
21342012-07-14 Reuben Thomas <rrt@sc3d.org>
2135
2136 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2137
7f5b3198
AS
21382012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2139
2140 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2141
97662200
JB
21422012-07-13 Juanma Barranquero <lekktu@gmail.com>
2143
80185fed
JB
2144 * bindings.el (top): Use `mapc' instead of `mapcar'.
2145
97662200
JB
2146 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2147
2bb1ae55
MA
21482012-07-13 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * progmodes/sql.el (sql-comint): Suppress the check for program on
2151 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2152 (Bug#11908)
2153
dea31bd3
CY
21542012-07-13 Chong Yidong <cyd@gnu.org>
2155
2156 * bindings.el: Assign a non-nil permanent-local property to
2157 per-buffer variables which lack a default value (Bug#11930).
2158
2159 * help-fns.el (describe-variable): In the "automatically becomes
2160 local" notice, take note of permanent-local variables.
2161
b68b3337
CY
21622012-07-13 Chong Yidong <cyd@gnu.org>
2163
2164 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2165 to allow printing the message when called from Lisp.
2166
2167 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2168 Remove toggle-read-only.
2169
2170 * bs.el (bs-toggle-readonly):
45fd731c
SM
2171 * buff-menu.el (Buffer-menu-toggle-read-only):
2172 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2173
2174 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2175 Remove with-no-warnings around toggle-read-only.
2176 (ffap-read-only, ffap-read-only-other-window)
2177 (ffap-read-only-other-frame): Callers changed.
2178
2179 * help-mode.el: Don't require view package.
2180 (help-mode-finish): Set buffer-read-only instead of calling
2181 toggle-read-only.
2182
2183 * bindings.el (mode-line-toggle-read-only):
2184 * dired.el (dired-toggle-read-only):
2185 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2186 with non-nil second arg.
2187
2188 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2189 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2190 directly.
2191
56bc1586
EZ
21922012-07-12 Eli Zaretskii <eliz@gnu.org>
2193
2194 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2195 not incf.
2196
a464a6c7
SM
21972012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 More CL cleanups and reduction of use of cl.el.
2200 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2201 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2202 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2203 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2204 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2205 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2206 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2207 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2208 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2209 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2210 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2211 * eshell/em-cmpl.el, eshell/em-banner.el:
2212 * calendar/parse-time.el: Use cl-lib.
2213 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2214 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2215 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2216 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2217 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2218 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2219 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2220 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2221 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2222 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2223 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2224 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2225 `lambda' rather than with `quote'.
2226 (eshell-do-opt): Adjust accordingly.
2227 (eshell-process-option): Simplify.
2228 * eshell/esh-var.el:
2229 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2230 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2231 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2232 to `pcase--dontcare'.
2233 * emacs-lisp/cl.el (labels): Mark obsolete.
2234 (cl--letf, letf): Move to cl-lib.
2235 (cl--letf*, letf*): Remove.
2236 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2237 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2238 (cl-progv): Rewrite.
2239 (cl--letf, cl-letf): Move from cl.el.
2240 (cl-letf*): New macro.
2241 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2242
7ad4afe1
MA
22432012-07-11 Michael Albinus <michael.albinus@gmx.de>
2244
2245 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2246
9af57756
CY
22472012-07-11 Chong Yidong <cyd@gnu.org>
2248
2249 * vc/log-edit.el (log-edit-vc-backend): New variable.
2250 (log-edit): Doc fix.
2251
2252 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2253 argument of log-edit to set up all local variables.
2254 (vc-start-logentry): New optional arg specifying VC backend.
2255
2256 * vc/vc.el (vc-checkin): Use it.
2257 (vc-deduce-fileset): Handle Log Edit buffers.
2258 (vc-diff): Make first argument optional too.
2259
2260 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2261
8477cc7a
MA
22622012-07-10 Michael Albinus <michael.albinus@gmx.de>
2263
2264 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2265 command, just in case. The function is not needed anymore.
2266 (eshell-external-command): Do not call `eshell-remote-command'.
2267
19faa8e8
SM
22682012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2269
f58e0fd5
SM
2270 Reduce use of (require 'cl).
2271 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2272 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2273 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2274 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2275 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2276 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2277 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2278 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2279 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2280 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2281 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2282 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2283 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2284 (byte-compile-unfold-bcf, byte-compile-check-variable):
2285 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2286 (byte-compile-nilconstp):
2287 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2288 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2289
2519d43a
SM
2290 * emacs-lisp/gv.el (cond): Make it a valid place.
2291 (if): Simplify slightly.
2292
19faa8e8
SM
2293 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2294 (pcase--self-quoting-p): New function.
2295 (pcase--u1): Use it.
2296
c4907a5e
GM
22972012-07-10 Glenn Morris <rgm@gnu.org>
2298
2299 * emacs-lisp/authors.el (authors-fixed-entries):
2300 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2301
c4444d16
PE
23022012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2303
2304 Rename configure.in to configure.ac (Bug#11603).
2305 * emacs-lisp/authors.el (authors-canonical-file-name):
2306 * progmodes/autoconf.el (autoconf-mode):
2307 Prefer configure.ac to configure.in.
2308
d75be97d
CY
23092012-07-08 Chong Yidong <cyd@gnu.org>
2310
01ac65bd
CY
2311 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2312 Implement the mouse-1-click-follows-link handling properly.
2313
2314 * info.el (Info-link-keymap): Use follow-link mechanism for
2315 header-line links (Bug#374).
2316
d75be97d
CY
2317 * simple.el (deactivate-mark): Do not set the primary selection
2318 if another program has acquired it (Bug#11772).
2319
87a92845 23202012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2321
2322 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2323 (woman-decode-region): Replace escaped-escapes without destroying
2324 bold or underline (Bug#11552).
87a92845 2325 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2326
621b9d6c
CY
23272012-07-07 Chong Yidong <cyd@gnu.org>
2328
2329 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2330 (interprogram-cut-function, interprogram-paste-function):
2331 Mention that we typically mean the clipboard.
621b9d6c 2332
133a11fc
GM
23332012-07-06 Glenn Morris <rgm@gnu.org>
2334
0d27a45e
GM
2335 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2336
133a11fc
GM
2337 * files.el (toggle-read-only): Restrict message to interactive use.
2338
07b151f1
MA
23392012-07-06 Michael Albinus <michael.albinus@gmx.de>
2340
2341 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2342
2343 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2344
211b896b
GM
23452012-07-06 Glenn Morris <rgm@gnu.org>
2346
50394322
GM
2347 * Makefile.in (compile-one-process): Rename from "recompile".
2348
211b896b
GM
2349 * Makefile.in (bzr-update): "compile" is the same as "recompile
2350 autoloads", but parallelizable, so use that instead.
2351
4737eec9
DG
23522012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * window.el (quit-window): Always restore window height when
8137e7b3 2355 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2356
226c3633 23572012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2358
2359 * simple.el (kill-whole-line): Doc tweak.
2360
226c3633 23612012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2362
2363 * files.el (file-relative-name): Compare file names
2364 case-insensitively if on MS-Windows or MS-DOS, or if
2365 read-file-name-completion-ignore-case is non-nil. Don't use
2366 case-fold-search for this purpose. (Bug#11827)
2367
4dc7c8d5
SM
23682012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2369
2370 * calendar/cal-dst.el (calendar-current-time-zone):
2371 Return calendar-current-time-zone-cache if non-nil.
2372
23732012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 23742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2375
19faa8e8
SM
2376 * calendar/cal-dst.el (calendar-current-time-zone):
2377 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2378
60198fc9
GM
23792012-07-06 Glenn Morris <rgm@gnu.org>
2380
2381 * Makefile.in (cvs-update): Remove old alias.
2382
957b3189
MA
23832012-07-05 Michael Albinus <michael.albinus@gmx.de>
2384
2385 Sync with Tramp 2.2.6-pre.
2386
2387 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2388 compatible declaration.
2389
19faa8e8
SM
2390 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2391 Protect `list-load-path-shadows' call.
957b3189
MA
2392
2393 * net/tramp-compat.el (top): Require packages, which aren't
2394 autoloaded anymore for XEmacs. Protect call of
2395 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2396 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2397 it hurts at least for SXEmacs.
2398 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2399 standard-value for `temporary-file-directory'.
2400
2401 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2402 Redirect stderr to /dev/null.
2403 (tramp-sh-handle-write-region): uid and gid can be floats.
2404 Reported by Russell Sim <russell.sim@gmail.com>.
2405 (tramp-sh-handle-vc-registered): Hide errors.
2406 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2407 and `start-file-process'.
2408 (tramp-maybe-open-connection): Check also whether `non-essential'
2409 is bound.
2410
566df3fc
CY
24112012-07-04 Chong Yidong <cyd@gnu.org>
2412
2413 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2414 (xml-parse-tag): Likewise, and avoid changing entity tables.
2415 (xml-syntax-table): Define from scratch, making sure not to give
2416 x2000 and other Unicode spaces whitespace syntax, since those are
2417 not spaces in XML.
2418 (xml-parse-fragment): Delete unused function.
2419 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2420 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2421 (xml-entity-ref, xml-pe-reference-re)
2422 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2423 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2424 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2425 (xml-entity-value-re): Use syntax references in regexps where
2426 possible; no need to define inside a let-binding.
2427 (xml-parse-dtd): Use xml-pe-reference-re.
2428 (xml-entity-or-char-ref-re): New defconst.
2429 (xml-parse-string, xml-substitute-special): Use it.
2430
30eabd7a
SM
24312012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2432
0781098a
SM
2433 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2434 (find-file--read-only): New function.
2435 (find-file-read-only, find-file-read-only-other-window)
2436 (find-file-read-only-other-frame): Use it.
2437 (insert-file-contents-literally): Don't `fset'.
2438 (get-free-disk-space): Use locate-dominating-file.
2439
b5771c0d
SM
2440 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2441 function is already compiled.
2442
30eabd7a
SM
2443 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2444
b4886f6e
MA
24452012-07-03 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2448 files on the same host.
2449
b9d82339
AS
24502012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2451
2452 * help-fns.el (describe-function-1): Only call
2453 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2454
a76e6535
CY
24552012-07-03 Chong Yidong <cyd@gnu.org>
2456
2457 * xml.el: Protect parser against XML bombs.
2458 (xml-entity-expansion-limit): New variable.
2459 (xml-parse-string, xml-substitute-special): Use it.
2460 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2461
b544fef2
GM
24622012-07-03 Glenn Morris <rgm@gnu.org>
2463
2464 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2465 Allow linking to specific messages in debbugs reports (eg 123#5).
2466
a7aef6f5
CY
24672012-07-02 Chong Yidong <cyd@gnu.org>
2468
2469 * xml.el: Fix entity and character reference expansion, allowing
2470 them to expand into markup as per XML spec.
2471 (xml-default-ns): New variable.
2472 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2473 (xml-parse-region): Make first two arguments optional.
2474 Discard text properties.
2475 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2476 All callers changed.
a7aef6f5
CY
2477 (xml-parse-tag): Call xml-parse-tag-1. For backward
2478 compatibility, this function should not modify buffer contents.
2479 (xml-parse-tag-1): Fix opening-tag regexp.
2480 (xml-parse-string): Rewrite, handling entity and character
2481 references properly.
2482 (xml--entity-replacement-text): Signal an error if a parameter
2483 entity is undefined.
2484
3df31c9f
SM
24852012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2b5208f1
SM
2487 * comint.el (comint-output-filter): Filter out repeated prompts.
2488
3df31c9f
SM
2489 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2490 and file-name-absolute-p.
2491 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2492 internal calls.
2493
e3ac1281
PE
24942012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2495
2496 Spelling fixes.
2497 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2498 Rename from byte-compile--refiy-function. All uses changed.
2499
fbf2e7ad
CY
25002012-07-01 Chong Yidong <cyd@gnu.org>
2501
2502 * xml.el (xml--parse-buffer): New function. Move most of
2503 xml-parse-region here.
2504 (xml-parse-region): Copy region into a temporary buffer, since
2505 parameter entity substitution requires changing buffer contents.
2506 Use xml--parse-buffer.
2507 (xml-parse-file): Use xml--parse-buffer.
2508 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2509 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2510
9bf0aa15
GM
25112012-06-30 Glenn Morris <rgm@gnu.org>
2512
bbce2853
GM
2513 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2514
9bf0aa15
GM
2515 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2516 Remove outdated and unnecessary dbus declarations.
2517
0d23c240
EZ
25182012-06-30 Eli Zaretskii <eliz@gnu.org>
2519
2520 * emacs-lisp/timer.el (timer-until): Subtract results of
2521 float-time, instead of taking float-time of the result of
2522 time-subtract, since float-time signals an error for negative time
2523 arguments.
2524
b3218de1
CY
25252012-06-30 Chong Yidong <cyd@gnu.org>
2526
2527 * xml.el (xml-*-re): Convert defvars into defconsts, and
2528 eval-and-compile them so eval-and-compile works on derivatives.
2529 (xml--entity-replacement-text): Use eval-and-comple.
2530
a40c87a0
MA
25312012-06-30 Michael Albinus <michael.albinus@gmx.de>
2532
2533 * vc/vc-git.el (vc-git-registered): Use cache property
2534 `git-registered'.
2535 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2536 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2537 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2538
ac87de97
DG
25392012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2542 removed (likely outside Emacs). (Bug#11757)
ac87de97 2543
ac10fe06
SM
25442012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2545
3df31c9f 2546 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2547
7f3fbd5d
CY
25482012-06-30 Chong Yidong <cyd@gnu.org>
2549
2550 * xml.el: Implement XML parameter entities.
2551 (xml-parameter-entity-alist): New variable.
2552 (xml-parse-region, xml-parse-fragment): Preserve previous values
2553 of xml-entity-alist and xml-parameter-entity-alist, so that
2554 repeated calls on different documents do not change them.
2555 (xml-parse-tag): Fix doctype regexp.
2556 (xml--entity-replacement-text): New function.
2557 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2558 properly requires url retrieval which is unimplemented.
2559 (xml-escape-string): Doc fix.
2560
3cfbebba
SM
25612012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2564
2af3565e
DA
25652012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2566
2567 * fringe.el (fringe-mode): Doc fix.
2568
929df0e7
MA
25692012-06-29 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2572 is non-nil.
2573 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2574 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2575
c8d3a25c 25762012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2577
c8d3a25c
GM
2578 * calendar/cal-dst.el (calendar-current-time-zone):
2579 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2580
c8d3a25c 25812012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2582
2583 * progmodes/which-func.el (which-func-format):
2584 Add mouse-face. (Bug#11698)
2585
c8d3a25c
GM
25862012-06-29 Leo Liu <sdl.web@gmail.com>
2587
2588 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2589
25902012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * minibuffer.el (minibuffer-confirm-exit-commands):
2593 Add completion-at-point (bug#11725).
2594
25952012-06-29 Glenn Morris <rgm@gnu.org>
2596
2597 * progmodes/f90.el (f90-font-lock-keywords-2):
2598 Add some preprocessor elements. (Bug#10499)
2599
26002012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2603 Use syntax-propertize (bug#11739).
2604
2badeec4
JB
26052012-06-28 Juanma Barranquero <lekktu@gmail.com>
2606
2607 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2608
ae4969c2
JD
26092012-06-28 Julien Danjou <julien@danjou.info>
2610
2611 * term.el (term-handle-colors-array): Use a set of new faces to
2612 color the terminal. Also uses :inverse-video property.
2613 (term-default-fg-color): Set to nil by default, deprecate in favor
2614 of `term-face'.
2615 (term-default-bg-color): Set to nil by default, deprecate in favor
2616 of `term-face'.
2617 (term-current-face): Use `term-face' by default.
2618 (term-bold-attribute): Variable deleted.
2619
1c9bd870
GM
26202012-06-28 Glenn Morris <rgm@gnu.org>
2621
2622 * simple.el (completion-list-mode-finish):
2623 Don't use toggle-read-only. (Since completion-list-mode has
2624 a special mode-class, it wasn't doing anything extra anyway.)
2625
c207708c
SM
26262012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 Make inlining of other-mode interpreted functions work (bug#11799).
2629 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2630 (byte-compile): Use it to fix compilation of lexical-binding closures.
2631 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2632 function, if needed.
2633
3fd56834
SM
26342012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2635
04901786
SM
2636 * help-mode.el (help-make-xrefs): Don't just withstand
2637 cyclic-variable-indirection but any error in documentation-property.
2638
1ec4b7b2
SM
2639 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2640 memory use.
2641 * bindings.el (bindings--define-key): New function.
2642 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2643 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2644 * bindings.el: Use it to purecopy define-key bindings.
2645
e309e2a5
SM
2646 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2647
d5c6faf9
SM
2648 * emacs-lisp/cl.el (flet): Mark obsolete.
2649 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2650 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2651 * progmodes/js.el (js-c-fill-paragraph):
2652 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2653 (ebrowse-switch-member-buffer-to-derived-class):
2654 * play/5x5.el (5x5-solver): Use cl-flet.
2655
6e9590e2
SM
2656 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2657 (cl--symbol-function): New macro.
2658 (cl--letf, cl--letf*): Use it.
2659
3fd56834
SM
2660 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2661 Strip "toggle-" if any.
2662
35ff222c
GM
26632012-06-27 Glenn Morris <rgm@gnu.org>
2664
1ba6038a
GM
2665 * info.el (Info-default-directory-list): Move here from paths.el.
2666 * paths.el: Remove file, which is now empty.
2667 * loadup.el: No longer load "paths".
2668
0ea0e51b
GM
2669 * custom.el (custom-initialize-delay): Doc fix.
2670
35ff222c
GM
2671 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2672 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2673 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2674 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2675 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2676 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2677 * eshell/eshell.el (eshell-defgroup): Remove alias.
2678
c89926a5
CY
26792012-06-27 Chong Yidong <cyd@gnu.org>
2680
2681 * help.el (help-enable-auto-load): New variable.
2682
2683 * help-fns.el (help-fns--autoloaded-p): New function.
2684 (describe-function-1): Refer to a function as "autoloaded" if it
2685 was autoloaded at any time in the past. Perform autoloading if
2686 help-enable-auto-load is non-nil.
2687
cc06e7e7
EZ
26882012-06-26 Eli Zaretskii <eliz@gnu.org>
2689
2690 * makefile.w32-in (compile, compile-always): Depend on
2691 update-subdirs, not on subdirs.el. Otherwise, several different
2692 sub-targets of 'bootstrap' running in parallel could
2693 simultaneously write to subdirs.el, producing a garbled file.
2694
d2c32364
SS
26952012-06-26 Sam Steingold <sds@gnu.org>
2696
2697 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2698 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2699 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2700 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2701 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2702 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2703 * textmodes/tex-mode.el: Use it.
2704 Did not touch cedet and org because they are maintained elsewhere.
2705
5cf983b2
MR
27062012-06-26 Martin Rudalics <rudalics@gmx.at>
2707
2708 * calendar/calendar.el (calendar-exit): Don't try to delete or
2709 iconify last frame. See:
2710 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2711
8c4f2952
JD
27122012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2713
2714 * server.el (server-process-filter): Remember dir in the
2715 process's `server-client-directory' properties.
2716
772b2e2c
CY
27172012-06-24 Chong Yidong <cyd@gnu.org>
2718
2719 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2720 non-tag text.
2721
711b11e1
JB
27222012-06-23 Juanma Barranquero <lekktu@gmail.com>
2723
2724 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2725
dc5d230c
SM
27262012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * help-fns.el (describe-variable): Don't croak when doc is not found.
2729 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2730 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2731 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2732 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2733 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2734 ((lambda ..) ..).
2735 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2736
136e1c1d
CY
27372012-06-23 Chong Yidong <cyd@gnu.org>
2738
e8c1cabf
CY
2739 * info.el (Info-mouse-follow-link): Accept symbol values of
2740 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2741 (Info-fontify-node): Use Info-link-keymap for all navigation
2742 buttons, with link-args property to perform the desired action.
2743 (Info-link-keymap): Doc fix.
2744 (Info-next-link-keymap, Info-prev-link-keymap)
2745 (Info-up-link-keymap): Delete now-unused keymaps.
2746
0e9e6c6a
CY
27472012-06-23 Chong Yidong <cyd@gnu.org>
2748
05e89fea
CY
2749 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2750
0e9e6c6a
CY
2751 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2752 system abbrevs.
2753
2754 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2755
e33c6771
SM
27562012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2757
b68581e2
SM
2758 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2759 (bug#11719).
2760
e33c6771
SM
2761 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2762 the requote function doesn't work properly (bug#11714).
2763
7117e105
GM
27642012-06-23 Glenn Morris <rgm@gnu.org>
2765
2766 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2767
36cec983
SM
27682012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 Further GV/CL cleanups.
2771 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2772 gv-expander.
2773 (gv--defun-declaration): New function.
2774 (defun-declarations-alist): Use it.
2775 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2776 (gv-place): Autoload.
2777 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2778 original definition of dotimes and dolist.
2779 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2780 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2781 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2782 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2783 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2784 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2785 to the function's definition.
2786 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2787 * window.el:
2788 * files.el:
2789 * faces.el:
2790 * env.el: Don't use CL.
2791
d35af63c
PE
27922012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2793
2794 Support higher-resolution time stamps (Bug#9000).
2795
2796 * calendar/time-date.el (with-decoded-time-value): New arg
2797 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2798 (encode-time-value): New optional arg PICO. New type 3.
2799 (time-to-seconds) [!float-time]: Support the new picoseconds
2800 component if it's used.
2801 (seconds-to-time, time-subtract, time-add):
2802 Support ps-resolution time stamps as well.
2803
2804 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2805 (timerp): Timer vectors now have length 9, not 8.
2806 (timer--time): Support new-style (4-part) time stamps.
2807 (timer-next-integral-multiple-of-time): Time stamps now have
2808 picosecond resolution, so take a bit more care about rounding.
2809 (timer-relative-time, timer-inc-time): New optional arg psecs.
2810 (timer-set-time-with-usecs): Set psecs to 0.
2811 (timer--activate): Check psecs component, too.
2812
2813 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2814
ac77b21a
SM
28152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2816
f143bfe3
SM
2817 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2818 Move the non-essential binding to the post/pre-command-hook where it is
2819 more obviously correct.
2820
ac77b21a
SM
2821 * subr.el (read-passwd): Don't use a history at all.
2822 * savehist.el (savehist-save): Remove password saved accidentally
2823 because of the above bug.
2824
76386c5a
BG
28252012-06-22 Bastien Guerry <bzg@gnu.org>
2826
2827 * files.el (toggle-read-only): Display a message telling whether
2828 the buffer is read-only or not (bug#11726).
2829
2ee3d7f0
SM
28302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * emacs-lisp/gv.el: New file.
2833 * subr.el (push, pop): Extend to generalized variables.
2834 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2835 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2836 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2837 gv-define-simple-setter, and gv-define-expander.
2838 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2839 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2840 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2841 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2842 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2843 gv-letplace.
2844 (cl-defstruct): Don't define setf-method any more.
2845 * emacs-lisp/cl.el (flet): Don't autoload.
2846 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2847 (define-setf-expander, defsetf, define-modify-macro)
2848 (cl-struct-setf-expander): Move from cl-lib.el.
2849 * emacs-lisp/syntax.el:
2850 * emacs-lisp/ewoc.el:
2851 * emacs-lisp/smie.el:
2852 * emacs-lisp/cconv.el:
2853 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2854 (timer--time): Use gv-define-simple-setter.
2855 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2856 to avoid coding-system problems in subr.el. Adjust all users.
2857 (macroexp--maxsize, macroexp-small-p): New functions.
2858 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2859 * scroll-bar.el (scroll-bar-mode):
2860 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2861 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2862 * winner.el (winner-configuration, winner-make-point-alist)
2863 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2864 * files.el (locate-file-completion-table): Avoid list*.
2865
c5695d1d
CY
28662012-06-22 Chong Yidong <cyd@gnu.org>
2867
2868 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2869 (dired-create-files): Doc fix (Bug#11329).
2870 (dired-do-copy): Doc fix (Bug#11334).
2871 (dired-mark-read-string): Doc fix (Bug#11553).
2872
2ee3d7f0
SM
2873 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2874 Doc fix (Bug#11326).
c5695d1d
CY
2875 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2876 (dired-dwim-target): Doc fix.
2877
2878 * wdired.el (wdired-mode): Doc fix.
2879
89b5595a
GM
28802012-06-22 Glenn Morris <rgm@gnu.org>
2881
575db3f1
GM
2882 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2883 (pcmpl-rpm-cache-stamp-file): New constant.
2884 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2885 (pcmpl-rpm-packages): Optionally cache list of packages.
2886
a4c8dd51
GM
2887 * pcmpl-rpm.el (pcmpl-rpm): New group.
2888 (pcmpl-rpm-query-options): New option.
2889 (pcmpl-rpm-packages): No need to inline it.
2890 Use pcmpl-rpm-query-options.
2891
89b5595a
GM
2892 * calendar/calendar.el (calendar-in-read-only-buffer):
2893 Avoid some needless mode changes.
2894
e76f0800
CY
28952012-06-21 Chong Yidong <cyd@gnu.org>
2896
2897 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2898 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2899 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2900
297a8f1d
CY
29012012-06-20 Chong Yidong <cyd@gnu.org>
2902
2903 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2904
d34c18b1
DR
29052012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2906
2907 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2908 (bug#11201).
2909
32f7f28e
CY
29102012-06-20 Chong Yidong <cyd@gnu.org>
2911
2912 * term.el (term-window-width): Handle the case of a missing right
2913 fringe (Bug#8837).
2914 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2915 (term-mode): Use define-derived-mode. Minor cleanups.
2916 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2917 (term-move-columns, term-insert-char, term-emulate-terminal)
2918 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2919
493c6688
MA
29202012-06-20 Michael Albinus <michael.albinus@gmx.de>
2921
d34c18b1
DR
2922 * net/ange-ftp.el (ange-ftp-get-passwd):
2923 Bind `enable-recursive-minibuffers'.
493c6688
MA
2924 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2925
3f06ecf4
DR
29262012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2927
2928 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2929
68f12411
GM
29302012-06-19 Glenn Morris <rgm@gnu.org>
2931
2932 * progmodes/python.el (python-mode): Derive from prog-mode.
2933
b3820318
KG
29342012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2935
2936 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2937 (edt-user-menu-bar-update-buffers): New functions.
2938 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2939
c6bf3022
CY
29402012-06-19 Chong Yidong <cyd@gnu.org>
2941
2942 * subr.el (with-selected-window): Preserve the selected window's
2943 terminal's top-frame (Bug#4702).
2944
2945 * window.el (save-selected-window): Likewise.
2946
25f09295
SM
29472012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * progmodes/python.el (python-rx-constituents): Move backquote.
2950 (python-skeleton-define, python-define-auxiliary-skeleton):
2951 Use `declare'.
2952
6b11952a
MA
29532012-06-18 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * minibuffer.el (read-file-name-default): Revert the patch from
2956 2012-06-17.
2957
ee4b1330
SM
29582012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2961 (pcase--u1, pcase--q1): Don't use apply-partially.
2962
35647f79
GM
29632012-06-18 Glenn Morris <rgm@gnu.org>
2964
2965 * progmodes/python.el (python-proc, python-buffer)
2966 (python-send-receive, python-send-string): Fix obsolete versions.
2967
24b0cff0
MR
29682012-06-18 Martin Rudalics <rudalics@gmx.at>
2969
2970 * window.el (special-display-p): Completely remove stringp
2971 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2972
29855149
MA
29732012-06-17 Michael Albinus <michael.albinus@gmx.de>
2974
2975 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2976
2977 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2978
2979 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2980 * net/tramp-sh.el (tramp-maybe-open-connection):
2981 Throw if `non-essential' is non-nil.
2982
07463363
MR
29832012-06-17 Martin Rudalics <rudalics@gmx.at>
2984
2985 * window.el (special-display-p): Signal an error if BUFFER-NAME
2986 is not a string (Bug#11713).
2987
48d1354e
PE
29882012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2989
2990 * progmodes/python.el (python-info-beginning-of-backslash):
2991 Rename from python-info-beginning-of-backlash, as a spelling fix.
2992
eb4a8a9a
CY
29932012-06-17 Chong Yidong <cyd@gnu.org>
2994
2995 * term.el (term-emulate-terminal): If term-check-size is called,
2996 move point to the process mark without resetting point (Bug#4635).
2997
ddfbf826 29982012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2999
3000 * international/mule-cmds.el (mule-menu-keymap)
3001 (set-language-environment, set-locale-environment): Doc tweaks.
3002
9b0e3eba
AA
30032012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3004
3005 * cus-face.el (custom-face-attributes): Add wave-style underline
3006 attribute.
3007 * faces.el (set-face-attribute): Update docstring to describe
3008 wave-style underline attribute.
3009
771e3eae
CY
30102012-06-16 Chong Yidong <cyd@gnu.org>
3011
3012 * term/xterm.el (terminal-init-xterm): Discard input before
3013 querying background mode (Bug#10959).
3014
7ae2ea10
SM
30152012-06-16 Stefan Merten <smerten@oekonux.de>
3016
3017 * textmodes/rst.el: Added and corrected some comments.
3018 (rst-re-alist-def): Improve symbol syntax.
3019 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3020 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3021 (rst-official-version, rst-official-cvs-rev): Update version
3022 information.
7ae2ea10 3023
b6974efa
JB
30242012-06-15 Juanma Barranquero <lekktu@gmail.com>
3025
3026 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3027 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3028
8826d473
GM
30292012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3030
3031 * progmodes/python.el: New python.el merge.
3032 (python-guess-indent): Obsolete var.
3033 (python-indent-guess-indent-offset): New defcustom.
3034 (python-indent): Obsolete var.
3035 (python-indent-offset): New defcustom.
3036 (python-python-command, python-jython-command): Delete var.
3037 (python-shell-interpreter): New defcustom.
3038 (python-pdbtrack-do-tracking-p): Delete var.
3039 (python-pdbtrack-activate): New defcustom.
3040 (python-use-skeletons): Obsolete var.
3041 (python-skeleton-autoinsert): New defcustom.
3042 (inferior-python-filter-regexp, python-continuation-offset)
3043 (python-honour-comment-indentation, python-indent-string-contents)
3044 (python-jython-packages, python-mode-hook)
3045 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3046 (python-shell-prompt-alist)
3047 (python-source-modes): Delete defcustoms.
3048 (python-check-buffer-name, python-eldoc-setup-code)
3049 (python-eldoc-string-code, python-ffap-setup-code)
3050 (python-ffap-string-code, python-fill-comment-function)
3051 (python-fill-decorator-function, python-fill-paren-function)
3052 (python-fill-string-function, python-imenu-include-defun-type)
3053 (python-imenu-make-tree, python-imenu-subtree-root-label)
3054 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3055 (python-shell-compilation-regexp-alist)
3056 (python-shell-completion-module-string-code)
3057 (python-shell-completion-pdb-string-code)
3058 (python-shell-completion-setup-code)
3059 (python-shell-completion-string-code)
3060 (python-shell-enable-font-lock, python-shell-exec-path)
3061 (python-shell-extra-pythonpaths)
3062 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3063 (python-shell-process-environment)
3064 (python-shell-prompt-block-regexp)
3065 (python-shell-prompt-output-regexp)
3066 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3067 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3068 (python-shell-virtualenv-path): New defcustoms.
3069 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3070 (inferior-python-mode-syntax-table, python--prompt-regexp)
3071 (python-buffer, python-command python-python-command)
3072 (python-default-template, python-imports, python-indent-index)
3073 (python-indent-list, python-indent-list-length)
3074 (python-mode-running, python-pdbtrack-is-tracking-p)
3075 (python-preoutput-continuation, python-preoutput-leftover)
3076 (python-preoutput-result, python-preoutput-skip-next-prompt)
3077 (python-prev-dir/file, python-recursing)
3078 (python-saved-check-command, python-version-checked)
3079 (python-which-func-length-limit)
3080 (view-return-to-alist): Delete vars.
3081 (python-check-custom-command, python-dotty-syntax-table)
3082 (python-imenu-index-alist, python-indent-current-level)
3083 (python-indent-dedenters, python-indent-levels)
3084 (python-nav-beginning-of-defun-regexp)
3085 (python-nav-list-defun-positions-cache)
3086 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3087 (python-shell-internal-buffer)
3088 (python-skeleton-available): New vars.
3089 (def-python-skeleton): Delete macro.
3090 (python-skeleton-define): New macro.
3091 (python-define-auxiliary-skeleton, python-rx): New macros.
3092 (python-insert-class): Delete command.
3093 (python-skeleton-class): New command.
3094 (python-insert-def): Delete command.
3095 (python-skeleton-def): New command.
3096 (python-insert-for): Delete command.
3097 (python-skeleton-for): New command.
3098 (python-insert-if): Delete command.
3099 (python-skeleton-if): New command.
3100 (python-insert-try/except, python-insert-try/finally): Delete commands.
3101 (python-skeleton-try): New command.
3102 (python-insert-while): Delete command.
3103 (python-skeleton-while): New command.
3104 (python-backspace): Delete command.
3105 (python-indent-dedent-line-backspace): New command.
3106 (python-electric-colon): Delete command.
3107 (python-indent-electric-colon): New command.
3108 (python-guess-indent): Delete command.
3109 (python-indent-guess-indent-offset): New command.
3110 (python-shift-left): Delete command.
3111 (python-indent-shift-left): New command.
3112 (python-shift-right): Delete command.
3113 (python-indent-shift-right): New command.
3114 (python-find-function): Delete command.
3115 (python-nav-jump-to-defun): New command.
3116 (python-next-statement): Delete command.
3117 (python-nav-forward-sentence): New command.
3118 (python-previous-statement): Delete command.
3119 (python-nav-backward-sentence): New command.
3120 (python-fill-paragraph): Delete command.
3121 (python-fill-paragraph-function): New command.
3122 (python-send-buffer): Delete command.
3123 (python-shell-send-buffer): New command.
3124 (python-send-defun): Delete command.
3125 (python-shell-send-defun): New command.
3126 (python-send-region, python-send-region-and-go): Delete commands.
3127 (python-shell-send-region)
3128 (python-shell-switch-to-shell): New commands.
3129 (python-send-string): Delete command.
3130 (python-shell-send-string): New command.
3131 (python-switch-to-python): Delete command.
3132 (python-shell-switch-to-shell): New command.
3133 (python-describe-symbol): Delete command.
3134 (python-eldoc-at-point): New command.
3135 (python--set-prompt-regexp, python-args-to-list)
3136 (python-after-info-look, python-check-version)
3137 (python-check-comint-prompt, python-find-imports)
3138 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3139 (python-unload-function, python-expand-template)
3140 (python-maybe-jython, python-preoutput-filter)
3141 (python-pdbtrack-get-source-buffer)
3142 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3143 (python-pdbtrack-toggle-stack-tracking)
3144 (python-pdbtrack-track-stack-file, python-initial-text)
3145 (python-first-word, python-comment-line-p, python-send-command)
3146 (python-setup-brm, python-sentinel, python-set-proc)
3147 (python-skip-out, python-input-filter, python-outdent-p)
3148 (python-outline-level, python-backslash-continuation-line-p)
3149 (python-end-of-block, python-end-of-statement, python-mark-block)
3150 (python-beginning-of-block, python-beginning-of-statement)
3151 (python-blank-line-p, python-beginning-of-string)
3152 (python-open-block-statement-p): Delete functions.
3153 (python-indent-line, python-indent-line-1): Delete functions.
3154 (python-indent-line): New function.
3155 (python-indentation-levels): Delete function.
3156 (python-indent-calculate-levels): New function.
3157 (python-proc): Delete function.
3158 (python-shell-get-process): New function.
3159 (python-send-receive): Delete function.
3160 (python-shell-send-string-no-output): New function.
3161 (python-module-path): Delete function.
3162 (python-ffap-module-path): New function.
3163 (python-completion-at-point)
3164 (python-symbol-completions): Delete functions.
3165 (python-completion-complete-at-point): New function.
3166 (python-load-file): Delete function.
3167 (python-shell-send-file): New function.
3168 (python-calculate-indentation): Delete function.
3169 (python-indent-calculate-indentation): New function.
3170 (python-skip-comments/blanks): Delete function.
3171 (python-util-forward-comment): New function.
3172 (python-continuation-line-p): Delete function.
3173 (python-info-continuation-line-p): New function.
3174 (python-which-func, python-current-defun): Delete function.
3175 (python-info-current-defun): New function.
3176 (python-beginning-of-defun): Delete function.
3177 (python-nav-beginning-of-defun): New function.
3178 (python-close-block-statement-p)
3179 (python-block-end-p): Delete function.
3180 (python-info-closing-block): New function.
3181 (python-comint-output-filter-function)
3182 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3183 (python-fill-comment, python-fill-decorator, python-fill-paren)
3184 (python-fill-string, python-imenu-make-element-tree)
3185 (python-imenu-make-tree, python-imenu-tree-assoc)
3186 (python-indent-context, python-indent-dedent-line)
3187 (python-indent-line-function)
3188 (python-indent-post-self-insert-function)
3189 (python-indent-toggle-levels)
3190 (python-info-assignment-continuation-line-p)
3191 (python-info-beginning-of-backlash)
3192 (python-info-block-continuation-line-p)
3193 (python-info-closing-block-message)
3194 (python-info-line-ends-backslash-p)
3195 (python-info-looking-at-beginning-of-defun)
3196 (python-info-ppss-context, python-info-ppss-context-type)
3197 (python-nav-list-defun-positions, python-nav-read-defun)
3198 (python-nav-sentence-end, python-nav-sentence-start)
3199 (python-pdbtrack-comint-output-filter-function)
3200 (python-pdbtrack-set-tracked-buffer)
3201 (python-shell-calculate-exec-path)
3202 (python-shell-calculate-process-environment)
3203 (python-shell-completion--do-completion-at-point)
3204 (python-shell-completion--get-completions)
3205 (python-shell-completion-complete-at-point)
3206 (python-shell-completion-complete-or-indent)
3207 (python-shell-get-or-create-process)
3208 (python-shell-get-process-name)
3209 (python-shell-internal-get-or-create-process)
3210 (python-shell-internal-get-process-name)
3211 (python-shell-internal-send-string, python-shell-make-comint)
3212 (python-shell-parse-command, python-shell-send-setup-code)
3213 (python-skeleton-add-menu-items)
3214 (python-util-clone-local-variables, python-util-position)
3215 (run-python-internal, python-indentation-levels)
3216 (python-nav-beginning-of-defun)
3217 (python-completion-complete-at-point): New functions.
3218 (run-python): Change arguments. New API requirements.
3219
4302f5ba
SM
32202012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3221
f38ea36d
SM
3222 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3223 (bug#11649).
3224
3225 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3226 (macroexp--expand-all): Use it.
3227
4302f5ba
SM
3228 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3229 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3230 Use `cl-function' instead.
3231
33377562
JB
32322012-06-14 Juanma Barranquero <lekktu@gmail.com>
3233
3234 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3235 Suggested by Stefan Monnier while discussing bug#11657.
3236
54c5ba1a
SS
32372012-06-14 Sam Steingold <sds@gnu.org>
3238
3239 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3240
f9f1b1fe
AS
32412012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3242
3243 * play/doctor.el (doctor-doc): Remove parameter and use
3244 doctor-sent instead of sent.
3245 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3246
a81068ba
SM
32472012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3248
5a315f9c
SM
3249 * files.el: Require cl-lib.
3250 (file-name-non-special): Replace case -> cl-case.
3251
3252 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3253
a81068ba
SM
3254 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3255 mapping from #' to function*.
3256
8cca9703
CY
32572012-06-13 Chong Yidong <cyd@gnu.org>
3258
3259 * mouse.el (mouse-drag-track): Do not set the mark if the user
3260 releases the mouse without selecting anything (Bug#11588).
3261
a12ac9d7
SM
32622012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3263
ccf1dc18
SM
3264 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3265 as well (bug#11646).
3266
ef62b23d
SM
3267 * loadup.el: Count byte-code functions as well.
3268
c4c8444a
SM
3269 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3270 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3271
a12ac9d7
SM
3272 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3273 (bug#11649). Add cl-defun and cl-defmacro.
3274
87e6e64f
DA
32752012-06-13 Drew Adams <drew.adams@oracle.com>
3276
3277 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3278 Fix last change.
3279
682cefaf
MA
32802012-06-13 Michael Albinus <michael.albinus@gmx.de>
3281
3282 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3283 Otherwise, it blocks in batch mode.
3284
773e1f08
JB
32852012-06-13 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * help-mode.el (bookmark-make-record-default): Declare.
3288
60057926
CY
32892012-06-13 Chong Yidong <cyd@gnu.org>
3290
3291 * emacs-lisp/package.el (list-packages): Compute a list of
3292 packages that are newly-available since the last list-packages
3293 invocation.
3294 (package-menu--new-package-list): New var.
3295 (package-menu--generate, package-menu--print-info)
3296 (package-menu--status-predicate, package-menu-mark-install):
3297 Handle new status label "new".
3298
ad4d226c
SM
32992012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3302 conversion to backquotes.
3303
f1a4e679
CY
33042012-06-12 Chong Yidong <cyd@gnu.org>
3305
3306 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3307 Rename from gud-inhibit-global-bindings.
3308
3309 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3310
3311 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3312 hook from nxml-glyph-set-hook.
3313
3314 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3315 declaration.
3316
3317 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3318
3319 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3320 Convert to defcustom.
3321
0c9e42b5
DA
33222012-06-12 Drew Adams <drew.adams@oracle.com>
3323
3324 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3325 New functions.
3326 (help-mode): Use them.
3327
09e06855
GM
33282012-06-11 Glenn Morris <rgm@gnu.org>
3329
3330 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3331 Use preprocessor face for directives.
3332 (fortran-directive-re): Doc fix.
3333
71adb94b
SM
33342012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3335
2eb87922
SM
3336 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3337 conversion to backquotes (bug#11652).
3338
71adb94b
SM
3339 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3340 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3341 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3342 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3343 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3344 (cl-ninth, cl-tenth): Mark them as inlinable.
3345 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3346 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3347 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3348 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3349 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3350 (cl-list*, cl-adjoin): Don't put an autoload manually.
3351 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3352 (cl--compiler-macro-list*): Add autoload cookie.
3353 (cl--compiler-macro-cXXr): New function.
2eb87922 3354
71adb94b
SM
3355 * help-fns.el (help-fns--compiler-macro): New function extracted from
3356 describe-function-1; follow aliases and use `compiler-macro' property.
3357 (describe-function-1): Use it.
3358
a6674402
CY
33592012-06-11 Chong Yidong <cyd@gnu.org>
3360
3361 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3362 is uninstalled, if imagemagick is installed.
3363
bb3faf5b
SM
33642012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * emacs-lisp/cl-lib.el: Use lexical-binding.
3367 (cl-map-extents, cl-maclisp-member): Remove.
3368 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3369 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3370 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3371 * emacs-lisp/cl-extra.el: Use lexical-binding.
3372 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3373 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3374 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3375 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3376 * emacs-lisp/cl-seq.el: Use lexical-binding.
3377 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3378 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3379 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3380 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3381 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3382 CL's internals.
3383
2fe4b125
MA
33842012-06-11 Michael Albinus <michael.albinus@gmx.de>
3385
3386 Sync with Tramp 2.2.6-pre.
3387
3388 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3389 `print-length' and `print-level' to nil, in order to avoid
3390 truncation. Reported by Christopher Schmidt
3391 <christopher@ristopher.com>.
3392
3393 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3394
3395 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3396 New defmacro.
3397 (tramp-compat-copy-directory): Add optional argument
3398 COPY-CONTENTS. It is not handled yet.
3399
3400 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3401 (tramp-ftp-file-name-p): Simplify.
3402
3403 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3404 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3405 connection vector.
3406
3407 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3408 (tramp-methods): Do not use `tramp-password-end-of-line'.
3409 (tramp-completion-function-alist-putty): Handle UNIX case.
3410 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3411 (tramp-do-file-attributes-with-stat)
3412 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3413 gid as real numbers. They could run out of integer range on cygwin.
3414 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3415 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3416 (tramp-open-connection-setup-interactive-shell):
3417 Use `tramp-cleanup'. Move check for busyboxes ...
3418 (tramp-find-shell): ... here. Simplify implementation.
3419 Set "remote-shell" property also for alternative shells.
3420 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3421 If failing, a regular file would be written otherwise.
3422 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3423 (tramp-find-inline-encoding): Cache the coding commands in the
3424 process cache. Apply test command on the remote side, if defined.
3425 (tramp-find-inline-compress): Cache the compress commands in the
3426 process cache.
3427 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3428 when requested. Handle hops.
3429 (tramp-current-connection): New defvar.
87e6e64f
DA
3430 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3431 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3432 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3433 (tramp-get-inline-compress, tramp-get-inline-coding):
3434 Read connection properties from the process cache.
2fe4b125
MA
3435
3436 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3437 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3438 New defconsts.
2fe4b125
MA
3439 (tramp-smb-prompt): Extend for powershell prompt.
3440 (tramp-smb-file-name-handler-alist): Add handlers for
3441 `process-file', `shell-command' and `start-file-process'.
3442 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3443 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3444 (tramp-smb-file-name-p): Simplify.
3445 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3446 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3447 (tramp-smb-shell-quote-argument): New defuns.
3448 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3449 Implement using "tar". By this, time-stamps are preserved.
3450 (tramp-smb-handle-copy-file): Handle also the case of directories.
3451 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3452 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3453 Use `tramp-get-connection-buffer').
2fe4b125
MA
3454 (tramp-smb-handle-rename-file): Use "rename", when source and
3455 target are on the same share.
87e6e64f
DA
3456 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3457 Use `tramp-smb-server-version'.
2fe4b125
MA
3458 (tramp-smb-wait-for-output): Remove prompt.
3459
3460 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3461 (tramp-methods, tramp-rsh-end-of-line):
3462 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3463 (tramp-save-ad-hoc-proxies): New defcustom.
3464 (tramp-completion-function-alist): Adapt docstring.
3465 (tramp-default-password-end-of-line): Remove defcustom.
3466 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3467 (tramp-user-regexp, tramp-file-name-regexp-unified)
3468 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3469 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3470 (tramp-remote-file-name-spec-regexp): New defconst.
3471 (tramp-file-name-structure): Extend structure for hops.
3472 (tramp-get-method-parameter): Move up.
3473 (tramp-file-name-p, tramp-dissect-file-name)
3474 (with-parsed-tramp-file-name): Handle hops.
3475 (tramp-file-name-hop): New defun.
3476 (tramp-make-tramp-file-name): New optional arg HOP.
3477 (tramp-message-show-progress-reporter-message): New defvar.
3478 (tramp-with-progress-reporter): Use it. We cannot use
3479 `tramp-message-show-message' here, because this suppresses also
3480 error buffers.
3481 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3482 `tramp-message-show-message' is nil.
3483 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3484 (tramp-cleanup): New defun.
3485 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3486 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3487 an error unchanged.
3488 (tramp-completion-handle-file-name-all-completions): Handle hops.
3489 Fix an error when called from ido.
3490 (tramp-completion-dissect-file-name): Use better local variable
3491 name. Add hop to the vector.
3492 (tramp-handle-insert-file-contents): Use progress-reporter for the
3493 whole scenario.
3494 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3495 to `t'.
3496 (tramp-check-for-regexp): Simplify search.
3497 (tramp-enter-password): Remove it. Move implementation ...
3498 (tramp-action-password): ... here.
3499 (tramp-mode-string-to-int, tramp-local-host-p)
3500 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3501 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3502 Set tramp-autoload cookie.
2fe4b125
MA
3503
3504 * net/trampver.el: Update release number.
3505
35062012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3507 Michael Albinus <michael.albinus@gmx.de>
3508
3509 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3510 (tramp-parse-group, tramp-parse-file)
3511 (tramp-parse-shostkeys-sknownhosts): New defuns.
3512 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3513 (tramp-parse-shosts-group, tramp-parse-sconfig)
3514 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3515 (tramp-parse-sknownhosts, tramp-parse-hosts)
3516 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3517 Use them.
3518 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3519 (tramp-parse-putty-group): Don't narrow.
3520 (tramp-parse-putty): Make a loop.
3521 (tramp-file-name-handler): Catch the `suppress' signal.
3522
72834e10
CY
35232012-06-11 Chong Yidong <cyd@gnu.org>
3524
3525 * image.el (imagemagick-register-types): Put the ImageMagick entry
3526 at the end of image-type-file-name-regexps.
3527
a4712e11
JB
35282012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3529
3530 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3531 (pcase, pcase-let*, pcase-dolist): Use them.
3532
82ad98e3
SM
35332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * emacs-lisp/pcase.el (pcase--let*): New function.
3536 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3537 (pcase--expand): Use macroexp-let².
3538
f80efb86
SM
35392012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3542 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3543 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3544 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3545 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3546 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3547
31ca4639 35482012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3549
31ca4639
CY
3550 * mail/rmail.el (rmail-yank-current-message): Leave point at
3551 correct position. (Bug#11660)
94f0aa34 3552
31ca4639 35532012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3554
31ca4639 3555 * allout-widgets.el: Fix code header.
9e1b8ec4 3556
31ca4639 35572012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3558
f80efb86
SM
3559 * cus-edit.el (customize-changed-options-previous-release):
3560 Bump to 24.1.
31ca4639 3561
642b6d30
AS
35622012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3563
3564 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3565
4f5d2ba1
CY
35662012-06-09 Chong Yidong <cyd@gnu.org>
3567
3568 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3569
e75852fd
MR
35702012-06-09 Martin Rudalics <rudalics@gmx.at>
3571
3572 * window.el (special-display-popup-frame): Don't use
3573 window--display-buffer (Bug#11651).
3574
1e48e282
EZ
35752012-06-09 Eli Zaretskii <eliz@gnu.org>
3576
8a26b487
EZ
3577 Fix parallel builds: make sure loaddefs.el is not being written
3578 while Lisp files are compiled.
3579 (compile): Don't depend on 'mh-autoloads'.
3580 (compile-CMD, compile-SH): Depend on 'autoloads'.
3581 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3582
1e48e282
EZ
3583 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3584
6175e34b
CY
35852012-06-09 Chong Yidong <cyd@gnu.org>
3586
3587 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3588 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3589 Doc fixes (Bug#11225).
3590
d9857e53
SM
35912012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3594 a function if there's a clear indication that it has a compiler-macro.
3595 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3596 (macro-declarations-alist): Add arglist to declaration functions.
3597 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3598 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3599 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3600 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3601 Also add autoload to find the compiler macro.
3602 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3603 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3604 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3605 (cl--compiler-macro-get): New functions, replacing calls to
3606 cl-define-compiler-macro.
3607 (cl-typep) [compiler-macro]: Use macroexp-let².
3608
f81298f8 36092012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3610
3611 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3612 string properly, fixes Bug#11473.
3613
4b56d0fe
CY
36142012-06-08 Chong Yidong <cyd@gnu.org>
3615
3616 * faces.el (set-face-attribute): Doc fix.
3617 (modify-face): Don't use :bold and :italic.
3618 (error, warning, success): Tweak definitions.
3619
3620 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3621 (custom-modified, custom-set, custom-changed, custom-themed)
3622 (custom-saved, custom-button, custom-button-mouse)
3623 (custom-button-pressed, custom-state, custom-comment-tag)
3624 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3625 (custom-group-subtitle): Use new-style face specs.
3626 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3627 (custom-set-face, custom-changed-face, custom-saved-face)
3628 (custom-button-face, custom-button-pressed-face)
3629 (custom-documentation-face, custom-state-face)
3630 (custom-comment-face, custom-comment-tag-face)
3631 (custom-variable-tag-face, custom-variable-button-face)
3632 (custom-face-tag-face, custom-group-tag-face-1)
3633 (custom-group-tag-face): Remove obsolete face alias.
3634
3635 * epa.el (epa-validity-high, epa-validity-medium)
3636 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3637 (epa-field-name, epa-field-body):
3638 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3639 (font-lock-keyword-face, font-lock-builtin-face)
3640 (font-lock-function-name-face, font-lock-variable-name-face)
3641 (font-lock-type-face, font-lock-constant-face):
3642 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3643 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3644 * speedbar.el (speedbar-button-face, speedbar-file-face)
3645 (speedbar-directory-face, speedbar-tag-face)
3646 (speedbar-selected-face, speedbar-highlight-face)
3647 (speedbar-separator-face):
3648 * whitespace.el (whitespace-newline, whitespace-space)
3649 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3650 (whitespace-line, whitespace-space-before-tab)
3651 (whitespace-space-after-tab, whitespace-indentation)
3652 (whitespace-empty):
3653 * emulation/cua-base.el (cua-global-mark):
3654 * eshell/em-prompt.el (eshell-prompt):
3655 * net/newst-plainview.el (newsticker-new-item-face)
3656 (newsticker-old-item-face, newsticker-immortal-item-face)
3657 (newsticker-obsolete-item-face, newsticker-date-face)
3658 (newsticker-statistics-face, newsticker-default-face):
3659 * net/newst-reader.el (newsticker-feed-face)
3660 (newsticker-extra-face, newsticker-enclosure-face):
3661 * net/newst-treeview.el (newsticker-treeview-face)
3662 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3663 (newsticker-treeview-immortal-face)
3664 (newsticker-treeview-obsolete-face)
3665 (newsticker-treeview-selection-face):
3666 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3667 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3668 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3669 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3670 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3671 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3672 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3673 (mpuz-text):
3674 * progmodes/vera-mode.el (vera-font-lock-number)
3675 (vera-font-lock-function, vera-font-lock-interface):
3676 * textmodes/table.el (table-cell): Use new-style face specs, and
3677 don't use the old :bold and :italic attributes.
3678
3679 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3680 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3681 (ebrowse-member-class, ebrowse-progress): Likewise.
3682 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3683 (ebrowse-file-name-face, ebrowse-default-face)
3684 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3685 (ebrowse-progress-face): Remove obsolete faces.
3686
3687 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3688 Inherit from error and warning faces respectively.
3689
3690 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3691 Likewise.
f80efb86
SM
3692 (flyspell-incorrect-face, flyspell-duplicate-face):
3693 Remove obsolete aliases.
4b56d0fe 3694
03310646
MA
36952012-06-08 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3698 Avoid infloop.
3699
513749ee
SM
37002012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * startup.el (argv, argi): Make lexically scoped.
3703 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3704 * emacs-lisp/cl-macs.el: Use lexical-binding.
3705 Rename cl-bind-* to cl--bind-*.
3706 * files.el: Don't require `cl' since it doesn't use it.
3707 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3708
595ef4ad
JB
37092012-06-08 Juanma Barranquero <lekktu@gmail.com>
3710
3711 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3712 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3713 instead of calling external sort utility.
3714 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3715
e9f66fcb
EZ
37162012-06-08 Eli Zaretskii <eliz@gnu.org>
3717
3718 * descr-text.el (describe-char): Mention how to insert the
3719 character, if the current input method doesn't support it.
3720 See the discussion in this thread for the details:
3721 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3722
3d10db47
SS
37232012-06-08 Sam Steingold <sds@gnu.org>
3724
3725 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3726 XF86Back to previous-buffer.
3727 (minibuffer-local-map): Bind them to next-history-element and
3728 previous-history-element respectively.
3729 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3730 help-go-back respectively.
3731 * info.el (Info-mode-map): Bind them to Info-history-forward and
3732 Info-history-back respectively.
3733 These are the keys next to Up on the ThinkPad keyboard.
3734
de7e2b36
SM
37352012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3738 * emacs-lisp/cl-macs.el: Provide itself.
3739 (cl--labels-convert-cache): New var.
3740 (cl--labels-convert): New function.
3741 (cl-flet, cl-labels): New implementation with new semantics, relying on
3742 lexical-binding.
3743 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3744 (cl-closure-vars, cl--function-convert-cache)
3745 (cl--function-convert): Move from cl-macs.el.
3746 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3747 rename by removing the "cl-" prefix.
3748 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3749
6fa6c4ae
SM
37502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3753 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3754 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3755 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3756 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3757 (cl-hash-table-count): Add old compatibility aliases.
3758
3759 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3760 Use macroexpand-all-environment instead.
3761 (cl--old-macroexpand): New var.
3762 (cl--sm-macroexpand): New function.
3763 (cl-symbol-macrolet): Use it during macro expansion.
3764 (cl--function-convert-cache): New var.
3765 (cl--function-convert): New function, extracted from
3766 cl-macroexpand-all.
3767 (cl-lexical-let): Use it.
3768
3769 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3770 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3771 (cl-member): Remove old alias.
3772
3773 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3774 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3775 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3776 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3777 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3778 (cl-macroexpand-cmacs): Remove var.
3779 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3780 Use macroexpand-all instead.
3781
4dd1c416
SM
37822012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3785 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3786 (macroexp-copyable-p): New functions and macros.
3787 * emacs-lisp/edebug.el (edebug-unwrap):
3788 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3789 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3790 (pcase--let*): Remove.
3791 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3792 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3793 macroexp-const-p instead.
3794 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3795
3796 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3797 instead of "cl-" for internal definitions. Use macroexp-const-p.
3798 (cl-old-bc-file-form): Remove var.
3799 (cl-const-exprs-p): Remove fun.
3800 (cl-labels, cl-macrolet): Use backquote.
3801 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3802 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3803 (cl-define-setf-expander): Rename from cl-define-setf-method.
3804 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3805
3806 * international/mule-cmds.el: Don't require CL.
3807 (view-hello-file): Don't use `letf'.
3808
ed8bd4d7
SM
38092012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3810
7287f2f3
SM
3811 * tmm.el (tmm-prompt): Use string-prefix-p.
3812 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3813 (tmm-add-prompt): Use minibuffer-completion-help.
3814 (tmm-delete-map): Remove.
3815
ed8bd4d7
SM
3816 * subr.el (kbd): Make it its own function.
3817
7b4cdbf4
SM
38182012-06-07 Stefan Merten <smerten@oekonux.de>
3819
3820 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3821 Silence compiler warnings. Fix versions.
ed8bd4d7 3822 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3823 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3824 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3825 (rst-package-emacs-version-alist): Correct Emacs version to
3826 represent major merge with upstream.
ed8bd4d7 3827 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3828
2b48d721
GM
38292012-06-06 Glenn Morris <rgm@gnu.org>
3830
3831 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3832 Only print environment variables if set.
3833
fa779ab0
SM
38342012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3835
3836 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3837 (macroexp--cons): Rename from maybe-cons.
3838 (macroexp--accumulate): Rename from macroexp-accumulate.
3839 (macroexp--all-forms): Rename from macroexpand-all-forms.
3840 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3841 (macroexp--expand-all): Rename from macroexpand-all-1.
3842
628299e0
SS
38432012-06-06 Sam Steingold <sds@gnu.org>
3844
3845 * calendar/calendar.el (calendar-in-read-only-buffer):
3846 Call `special-mode' to enable the standard read-only keybindings.
3847
b7bb5838
SM
38482012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3851 with "loading" messages (bug#11635).
3852
dfb308ba
MA
38532012-06-06 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * files.el (enable-remote-dir-locals): New option.
3856 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3857
0372ee92
MA
3858 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3859 Ensure, that the temp directory is local.
3860
3861 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3862 `temporary-file-directory'.
3863
eed0bb91
MA
3864 * progmodes/python.el (python-send-region): Ensure, that the
3865 temporary file is created also in the remote case.
3866
7a58f64d
GM
38672012-06-06 Glenn Morris <rgm@gnu.org>
3868
f7dd4e98
GM
3869 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3870 (vc-rcs-update-changelog): Use it.
3871
090bd7cb 3872 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3873
7a58f64d
GM
3874 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3875 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3876 (vc-sccs-diff): Replace use of the external vcdiff script.
3877
daed4003
GM
38782012-06-05 Glenn Morris <rgm@gnu.org>
3879
3880 * ledit.el: Move to obsolete/.
3881
48c455c7
SS
38822012-06-05 Sam Steingold <sds@gnu.org>
3883
ed9265fc 3884 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3885 patch (Bug#11140).
3886
57a7d507
SM
38872012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3888
090bd7cb 3889 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3890
53aacf21
SM
3891 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3892 compiler-macro expansion.
3893
57a7d507
SM
3894 Add native compiler-macro support.
3895 * emacs-lisp/macroexp.el (macroexpand-all-1):
3896 Support compiler-macros directly. Properly follow aliases and apply
3897 the compiler macros more thoroughly.
3898 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3899 macroexpand now properly follows aliases.
3900 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3901 (cl-compiler-macroexpand): Use new prop.
3902 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3903
3904 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3905
51a5f9d8
MR
39062012-06-05 Martin Rudalics <rudalics@gmx.at>
3907
3908 * window.el (get-lru-window, get-mru-window, get-largest-window):
3909 New argument NOT-SELECTED to avoid picking the selected window.
3910 (window--display-buffer-1, window--display-buffer-2): Replace by
3911 new function window--display-buffer
3912 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3913 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3914 Use window--display-buffer.
51a5f9d8
MR
3915 (display-buffer-use-some-window): Remove temporary dedication
3916 hack by calling get-lru-window and get-largest-window with
3917 NOT-SELECTED argument non-nil. Call window--display-buffer.
3918
08f9f738
GM
39192012-06-05 Glenn Morris <rgm@gnu.org>
3920
3921 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3922 Replace external vcdiff script.
3923
e364a2b7
SM
39242012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3927
041df390
CY
39282012-06-04 Chong Yidong <cyd@gnu.org>
3929
e364a2b7
SM
3930 * image.el (imagemagick-types-inhibit): Revert last change.
3931 Add INFO and M.
47b36b94 3932 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3933
7c1898a7
SM
39342012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * emacs-lisp/cl-lib.el: Rename from cl.el.
3937 * emacs-lisp/cl.el: New compatibility file.
3938 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3939 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3940 to obey the "cl-" prefix.
3941 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3942
0c3461de
GM
39432012-06-03 Glenn Morris <rgm@gnu.org>
3944
1e266c88
GM
3945 * emacs-lisp/authors.el (authors-aliases): Addition.
3946
0c3461de
GM
3947 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3948 Fix :version.
3949
d8a52e15
SM
39502012-06-03 Stefan Merten <smerten@oekonux.de>
3951
3952 * textmodes/rst.el: Add comments.
3953 (rst-transition, rst-adornment): New faces.
3954 (rst-adornment-faces-alist): Make default safe to reevaluate.
3955 Fixes
3956 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3957 Improve customization tags.
3958 (rst-define-level-faces): Clarify meaning.
3959
5205d6f6
CY
39602012-06-03 Chong Yidong <cyd@gnu.org>
3961
3962 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3963 (compilation-mode-line-run, compilation-mode-line-exit):
3964 New faces.
5205d6f6
CY
3965 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3966
757ee657
JD
39672012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3968
7c1898a7
SM
3969 * progmodes/which-func.el (which-func-update-ediff-windows):
3970 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3971
5f2c76c6
CY
39722012-06-03 Chong Yidong <cyd@gnu.org>
3973
3974 * bindings.el: Remove explicit help text from format-mode-line.
3975 It is now supplied by mode-line-default-help-echo.
3976 (mode-line-front-space, mode-line-end-spaces)
3977 (mode-line-misc-info): New variables.
3978 (mode-line-modes, mode-line-position): Move the default value to
3979 the variable definition.
3980 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3981 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3982 (mode-line-modified-help-echo): New functions.
3983 (mode-line-mule-info, mode-line-modified): Use them.
3984 (mode-line-eol-desc, propertized-buffer-identification):
3985 Consistency fixes for help text.
cbe46e5f
CY
3986 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3987 set-buffer-file-coding-system (Bug#289).
3988 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3989
f2d6a3df
SM
39902012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * simple.el (execute-extended-command): Set real-this-command
3993 (bug#11506).
3994
37269466
CY
39952012-06-02 Chong Yidong <cyd@gnu.org>
3996
3997 Remove incorrect uses of "modeline" in comments, docstrings, and
3998 function/variable names (Bug#10329).
3999
4000 * cus-edit.el (mode-line):
4001 * dframe.el (dframe-mouse-hscroll):
4002 * emacs-lisp/re-builder.el:
4003 * emacs-lisp/easy-mmode.el (define-minor-mode):
4004 * frame.el (set-frame-name):
4005 * help.el (lookup-minor-mode-from-indicator):
4006 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4007 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4008 (c-toggle-hungry-state):
4009 * progmodes/antlr-mode.el (antlr-language-alist):
4010 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4011 * progmodes/vhdl-mode.el (vhdl-mode):
4012 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4013 * term/ns-win.el (ns-face-at-pos):
4014 * term/sup-mouse.el (sup-mouse-report):
4015 * textmodes/flyspell.el (flyspell-mode-line-string):
4016 * textmodes/ispell.el (ispell-highlight-face):
4017 * textmodes/reftex-global.el:
4018 * vc/vc-arch.el (vc-arch-mode-line-string):
4019 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4020 * vc/vc-git.el (vc-git-mode-line-string):
4021 * vc/vc-hooks.el (vc-display-status)
4022 (vc-default-mode-line-string):
4023 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4024
4025 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4026
4027 * dired.el (dired-sort-set-mode-line): Rename from
4028 dired-sort-set-modeline. All callers changed.
4029
4030 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4031 eshell-status-in-modeline.
4032
4033 * foldout.el (foldout-mode-line-string): Rename from
4034 foldout-modeline-string. All callers changed.
4035 (foldout-update-mode-line): Rename from foldout-update-modeline.
4036
4037 * subr.el (redraw-modeline): Make into obsolete alias.
4038
4039 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4040 timeclock-modeline-display. Make old name an alias.
4041 (timeclock-update-mode-line): Likewise. All callers changed.
4042 (timeclock-mode-line-display): No need to check before using
4043 add-hook.
4044 (timeclock-relative, timeclock-day-over-hook)
4045 (timeclock-use-elapsed, timeclock-mode-string)
4046 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4047
4048 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4049 crisp-mode-modeline-string.
4050
4051 * play/solitaire.el (solitaire-build-mode-line): Rename from
4052 solitaire-build-modeline. All callers changed.
4053
4054 * play/zone.el (zone-hiding-mode-line): Rename from
4055 zone-hiding-modeline. All callers changed.
4056 (zone): Remove unusued `modeline-hidden-level' property.
4057
4058 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4059 xscheme-modeline-initialize. All callers changed.
4060
4061 * strokes.el (strokes-lighter): Rename from
4062 strokes-modeline-string.
4063
4064 * textmodes/sgml-mode.el (html-face-tag-alist)
4065 (html-tag-face-alist): Use mode-line face instead of obsolete
4066 alias modeline.
4067
42152ee4
SM
40682012-06-02 Stefan Merten <smerten@oekonux.de>
4069
4070 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4071 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4072
95f520b5
CY
40732012-06-02 Chong Yidong <cyd@gnu.org>
4074
4075 * image.el (imagemagick-enabled-types): Rename from
4076 imagemagick-types-enable. Add many more types.
4077 (imagemagick-types-inhibit): Change default to nil.
4078 (imagemagick-filter-types): Caller changed.
4079
4a5f187a
SM
40802012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4081
03fef3e6
SM
4082 * emacs-lisp/cl-macs.el: Use backquotes.
4083 (cl-transform-function-property): Use eval-and-compile rather than
4084 abusing `require'.
4085 (defstruct): Use declare-function instead of with-no-warnings.
4086
4a5f187a
SM
4087 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4088 (byte-compile-output-docform): Re-add the print-circle bindings.
4089 (byte-compile-fix-header): Use #$ just because it's shorter.
4090 (byte-compile-output-file-form): Remove defun/defmacro.
4091
bd56924f
MR
40922012-06-01 Martin Rudalics <rudalics@gmx.at>
4093
4094 * simple.el (choose-completion): Remove now obsolete binding for
4095 owindow.
4096
046e38ce
MA
40972012-06-01 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4100 in order to avoid "Stack overflow in regexp matcher".
4101
32d72c2f
GM
41022012-05-31 Glenn Morris <rgm@gnu.org>
4103
4104 * image.el: For clarity, call imagemagick-register-types at
4105 top-level, rather than relying on a custom :initialize.
4106 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4107 (imagemagick-filter-types): New function. (Bug#7406)
4108 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4109 If disabling support, remove elements altogether rather
4110 than using an impossible regexp.
4111 (imagemagick-types-inhibit): Give it the default init function.
4112
dd41169b
SM
41132012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4a5f187a
SM
4115 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4116 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4117
efc00ab1 41182012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4119
4120 * desktop.el (desktop-read): Clear previous and next buffers for
4121 all windows and bury *Messages* buffer (bug#11556).
4122
500fcedc
SM
41232012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 Add `declare' for `defun'. Align `defmacro's with it.
4126 * emacs-lisp/easy-mmode.el (define-minor-mode)
4127 (define-globalized-minor-mode): Don't autoload the var definitions.
4128 * emacs-lisp/byte-run.el: Use lexical-binding.
4129 (defun-declarations-alist, macro-declarations-alist): New vars.
4130 (defmacro, defun): Use them.
4131 (make-obsolete, define-obsolete-function-alias)
4132 (make-obsolete-variable, define-obsolete-variable-alias):
4133 Use `declare'.
4134 (macro-declaration-function): Mark obsolete.
4135 * emacs-lisp/autoload.el: Use lexical-binding.
4136 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4137
6e8a1786
AM
41382012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4139
4140 * textmodes/ispell.el (ispell-with-no-warnings):
4141 Define as a macro.
500fcedc
SM
4142 (ispell-kill-ispell, ispell-change-dictionary):
4143 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4144 `interactive-p'.
4145
61b108cc
SM
41462012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4149 (macro-declaration-function): Move var from C code.
4150 (macro-declaration-function): Define function with defalias.
4151 * emacs-lisp/macroexp.el (macroexpand-all-1):
4152 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4153 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4154 defun/defmacro any more.
4155 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4156 Provide fallback for unknown arglist.
4157 (byte-compile-arglist-warn): Change calling convention.
4158 (byte-compile-output-file-form): Move print-vars binding.
4159 (byte-compile-output-docform): Simplify accordingly.
4160 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4161 (byte-compile-defmacro-declaration): Remove.
4162 (byte-compile-file-form-defmumble): Generalize to defalias.
4163 (byte-compile-output-as-comment): Return byte-positions.
4164 Simplify callers accordingly.
4165 (byte-compile-lambda): Use `assert'.
4166 (byte-compile-defun, byte-compile-defmacro): Remove.
4167 (byte-compile-file-form-defalias):
4168 Use byte-compile-file-form-defmumble.
4169 (byte-compile-defalias-warn): Remove.
4170
6d3f7c2f
SM
41712012-05-29 Stefan Merten <smerten@oekonux.de>
4172
4173 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4174 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4175
4176 (rst-mode-abbrev-table): Merge definition.
4177 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4178 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4179
6dbaa1c7
UJ
41802012-05-29 Ulf Jasper <ulf.jasper@web.de>
4181
4182 * calendar/icalendar.el
4183 (icalendar-export-region): Export UID properly.
4184
d209e2fb 41852012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4186 * calendar/icalendar.el (icalendar-import-format):
4187 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4188 (icalendar-import-format-uid): New.
4189 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4190 Export UID.
4191
6876a58d
SM
41922012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4195 different alternative patterns.
4196 (pcase-codegen): Be more careful to preserve identity.
4197 (pcase--u1): Don't forget to mark vars as used.
4198
4199 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4200 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4201 (byte-compile-from-buffer): ...rather than here.
4202
4203 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4204 functions from byte-compile-function-environment.
4205
46b7967e
TN
42062012-05-29 Troels Nielsen <bn.troels@gmail.com>
4207
4208 * window.el (window-deletable-p): Avoid deleting the root window
4209 of a frame with an active minibuffer.
4210
69d565e2
MR
42112012-05-29 Martin Rudalics <rudalics@gmx.at>
4212
4213 * simple.el (choose-completion): Use quit-window (Bug#11567).
4214
a149fa51
CY
42152012-05-29 Chong Yidong <cyd@gnu.org>
4216
4217 * whitespace.el (whitespace-cleanup): Fix usage of
4218 whitespace-empty-at-bob-regexp (Bug#11492).
4219
2b311310
AH
42202012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4221
4222 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4223 revert (Bug#11488).
4224
b9cb2387
JL
42252012-05-29 Juri Linkov <juri@jurta.org>
4226
4227 * isearch.el (isearch-mode-map): Bind `M-s _' to
4228 `isearch-toggle-symbol'. Bind `M-s c' to
4229 `isearch-toggle-case-fold'.
4230 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4231 (isearch-forward): Add `M-s _' to the docstring.
4232 (isearch-forward-symbol, isearch-toggle-case-fold)
4233 (isearch-symbol-regexp): New functions. (Bug#11381)
4234
d5e61c1c
JL
42352012-05-29 Juri Linkov <juri@jurta.org>
4236
4237 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4238 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4239 a function, call it to get the regexp.
4240 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4241 property `isearch-message-prefix' instead of the string "word ".
4242 (isearch-search-fun-default): For the case of `isearch-word',
4243 return a lambda that calls re-search-forward/re-search-backward
4244 with a regexp returned by `word-search-regexp' or by the function
4245 in `isearch-word'.
4246
8cbd80f7
JL
42472012-05-29 Juri Linkov <juri@jurta.org>
4248
4249 * isearch.el (isearch-search-fun-default): New function.
4250 (isearch-search-fun): Move default part to the new function
4251 `isearch-search-fun-default'.
4252 (isearch-search-fun-function): Set the default value to
4253 `isearch-search-fun-default'. (Bug#11381)
4254
4255 * comint.el (comint-history-isearch-end):
4256 Use `isearch-search-fun-default'.
4257 (comint-history-isearch-search): Use `isearch-search-fun-default'
4258 and remove spacial case for `isearch-word'.
4259 (comint-history-isearch-wrap): Remove spacial case for
4260 `isearch-word'.
4261
4262 * hexl.el (hexl-isearch-search-function):
4263 Use `isearch-search-fun-default'.
4264
4265 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4266 Use `word-search-regexp' for `isearch-word'.
4267
4268 * misearch.el (multi-isearch-search-fun):
4269 Use `isearch-search-fun-default'.
4270
4271 * simple.el (minibuffer-history-isearch-search):
4272 Use `isearch-search-fun-default' and remove spacial case for
4273 `isearch-word'.
4274 (minibuffer-history-isearch-wrap): Remove spacial case for
4275 `isearch-word'.
4276
4277 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4278 Remove spacial case for `isearch-word'.
4279 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4280
85c8c5b6
AM
42812012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4282
4283 Decrease XEmacs incompatibilities.
4284 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4285 Use `string-match'.
4286 (flyspell-delete-region-overlays): Use alternative definition for
4287 XEmacs.
4288 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4289 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4290 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4291 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4292 `define-obsolete-face-alias' under XEmacs, but old method.
4293
4294 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4295 `with-no-warnings' definition or Emacs alias.
4296 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4297 (ispell-word): Do not use `region-p' if XEmacs.
4298
8cab9efc
AM
42992012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4300
4301 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4302 Check for `ispell-dictionary-base-alist' instead of full
4303 `ispell-dictionary-alist'.
4304 (ispell-init-process): Show spellchecker when starting new Ispell
4305 process.
4306
fda91268
RZ
43072012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4310 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4311
694ea8e3
JB
43122012-05-27 Juanma Barranquero <lekktu@gmail.com>
4313
4314 * version.el (motif-version-string, gtk-version-string)
4315 (ns-version-string): Declare.
4316
e4d4f539
JL
43172012-05-27 Juri Linkov <juri@jurta.org>
4318
4319 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4320 after the `eval-defun-1' specialcaseing
4321 like in `edebug-eval-defun' (bug#10181).
4322
4323 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4324 like in `eval-defun-1'.
4325
33017faf 43262012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4327
fda91268
RZ
4328 * mail/sendmail.el (mail-yank-region):
4329 Recognize rmail-yank-current-message in addition to insert-buffer.
4330 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4331 a *mail* buffer created through rmail-start-mail with sendmail as
4332 mail-user-agent.
4333
33017faf
GM
43342012-05-27 Chong Yidong <cyd@gnu.org>
4335
4336 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4337 Default to 256 (Bug#11267).
4338
4339 * help.el (describe-mode): Doc fix.
4340
04188bb9
GM
43412012-05-26 Glenn Morris <rgm@gnu.org>
4342
38264cc9
GM
4343 * w32-fns.el (w32-init-info): Remove.
4344 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4345
eb7afdad
GM
4346 * info.el (info-initialize): For self-contained NS builds, put the
4347 included info/ directory at the front. (Bug#2791)
4348
04188bb9
GM
4349 * paths.el (Info-default-directory-list): Make it a defcustom,
4350 mainly so that we can use custom-initialize-delay.
4351
a179e3f7
SM
43522012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4353
43416392
SM
4354 * subr.el (buffer-has-markers-at): Mark obsolete.
4355
a179e3f7 4356 * subr.el (lambda): Use declare.
43416392 4357
a179e3f7
SM
4358 * emacs-lisp/lisp-mode.el (lambda):
4359 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4360
34a008d9
AH
43612012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4362
4363 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4364
0a3b289f
GM
43652012-05-26 Glenn Morris <rgm@gnu.org>
4366
4367 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4368
758c81e8
GM
43692012-05-25 Glenn Morris <rgm@gnu.org>
4370
f9f334f0
GM
4371 * paths.el: Remove no-byte-compile.
4372 * loadup.el: No need to load paths.el uncompiled.
4373
87eb79c2
GM
4374 * image.el (imagemagick-types-inhibit): Doc fix.
4375
758c81e8
GM
4376 * version.el: Remove no-byte-compile and associated formatting.
4377 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4378 is ancient code from when there was an "inc-vers.el".
4379
e7e85dc0
SM
43802012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * progmodes/gdb-mi.el: Minor style changes.
4383 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4384 Turn into minor modes.
4385 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4386 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4387 (gdb-shell): Remove unneeded let-binding.
4388 (gdb-get-many-fields): Eliminate O(n²) behavior.
4389
f31237a4
EZ
43902012-05-25 Eli Zaretskii <eliz@gnu.org>
4391
4392 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4393 platforms that don't link in fontset.c.
4394
bc1b21bb
JL
43952012-05-25 Juri Linkov <juri@jurta.org>
4396
4397 Use the same diff color scheme as in modern VCSes (bug#10181).
4398
4399 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4400 to avoid confusion with `diff-added' that now uses green colors.
4401 (diff-removed): Use shades of red.
4402 (diff-added): Use shades of green.
4403 (diff-changed): Leave just the yellow color.
4404 (diff-use-changed-face): New variable.
4405 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4406 how to highlight context diff changes.
4407 (diff-refine-change): Use shades of yellow.
4408 (diff-refine-removed): New face that uses shades of red.
4409 (diff-refine-added): New face that uses shades of green.
4410 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4411 `diff-refine-removed' in the call to `smerge-refine-subst'
4412 depending on the value of `diff-use-changed-face'.
4413
4414 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4415 (smerge-other): Use shades of green.
4416 (smerge-base): Use shades of yellow.
4417 (smerge-refined-change): Empty face.
4418 (smerge-refined-removed): New face that uses shades of red.
4419 (smerge-refined-added): New face that uses shades of green.
4420 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4421 args `props-r' and `props-a', and use them. Doc fix.
4422 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4423 on its value use different faces `smerge-refined-change',
4424 `smerge-refined-removed', `smerge-refined-added' in the call to
4425 `smerge-refine-subst'.
4426
4427 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4428 Add face condition `min-colors 88' with shades of red.
4429 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4430 `min-colors 88' with shades of green.
4431 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4432 `min-colors 88' with shades of yellow.
4433
6df9112c
GM
44342012-05-24 Glenn Morris <rgm@gnu.org>
4435
ead5edc0
GM
4436 * paths.el (prune-directory-list, remote-shell-program): Move to...
4437 * files.el (prune-directory-list, remote-shell-program): ...here.
4438 For the latter, delay initialization, prefer ssh, just search PATH.
4439
f18b81e6
GM
4440 * paths.el (term-file-prefix): Move to faces.el (the only user).
4441 * faces.el (term-file-prefix): Move here, make it a defcustom.
4442
ee2f89a6
GM
4443 * paths.el (news-directory, news-path, news-inews-program):
4444 Move to gnus/nnspool.el.
61a583ca 4445
f8815e4c
GM
4446 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4447
c8f3b42c
GM
4448 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4449 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4450 Make the latter a defcustom, with a delayed initialization.
4451
6df9112c
GM
4452 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4453 These were deleted from Gnus itself late 2010.
4454
5dadff36
JB
44552012-05-22 Juanma Barranquero <lekktu@gmail.com>
4456
9e1701c6
JB
4457 * progmodes/which-func.el (which-func-ff-hook):
4458 Check against user-error, not error.
4459
bd7239f5 4460 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4461 cl-specs.el, which no longer exists.
4462
3290526d
GM
44632012-05-22 Glenn Morris <rgm@gnu.org>
4464
4465 * info.el (info-emacs-bug): New command.
4466 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4467 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4468
ff0c3cfb
GM
44692012-05-21 Glenn Morris <rgm@gnu.org>
4470
4471 * makefile.w32-in (update-subdirs-SH):
4472 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4473
5814f126
SM
44742012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4475
a52c0aa0
SM
4476 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4477
5814f126
SM
4478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4479 Simplify Maven regexp, and make sure the file can't start with a space
4480 (bug#11517).
4481
b847032c
GM
44822012-05-21 Glenn Morris <rgm@gnu.org>
4483
4484 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4485 Scrap superfluous subshells.
4486
3858bfe7
SM
44872012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4490 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4491
d14b0029
JB
44922012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4493
4494 * calc/calc.el (calc-ensure-consistent-units): New variable.
4495
a52c0aa0
SM
4496 * calc/calc-units.el (math-consistent-units-p)
4497 (math-check-unit-consistency): New functions.
4498 (calc-quick-units, calc-convert-units):
4499 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4500 is non-nil.
d14b0029
JB
4501 (calc-extract-units): Fix typo.
4502
60c4db3a
SM
45032012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4504
77f3b62e
SM
4505 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4506
60c4db3a
SM
4507 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4508 (flyspell-default-deplacement-commands): Don't spell check after
4509 repeated window/frame switches (e.g. triggered by mouse-movement).
4510 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4511 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4512 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4513 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4514 Remove unused vars.
4515 (flyspell-get-casechars, flyspell-get-not-casechars):
4516 Simplify; Don't bother removing a ] just to add it back.
4517 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4518
d209e2fb 45192012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4520
4521 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4522 New functions.
bd7239f5 4523 (math-function-table): Add support for more C functions.
b1a10716 4524
3f1b25b5
AM
45252012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4526
090bd7cb
JB
4527 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4528 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4529 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4530
b581bb5c
SM
45312012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4532
4533 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4534 their respective macro declarations.
4535 * skeleton.el (define-skeleton):
4536 * progmodes/compile.el (define-compilation-mode):
4537 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4538 (define-ibuffer-filter):
4539 * emacs-lisp/generic.el (define-generic-mode):
4540 * emacs-lisp/easy-mmode.el (define-minor-mode)
4541 (define-globalized-minor-mode):
4542 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4543 * emacs-lisp/byte-run.el (defsubst):
4544 * custom.el (deftheme): Add doc-string metadata.
4545
70b8ef8f
SM
45462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4549
b1198e17
SM
45502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4551
9abdc45d
SM
4552 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4553
b1198e17
SM
4554 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4555 * emacs-lisp/cl-macs.el: Idem.
4556 * emacs-lisp/cl-specs.el: Remove.
4557
4735906a
SM
45582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 Minor renaming of internal CL functions and variables.
4561 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4562 (cl--position): Rename from cl-position.
4563 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4564 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4565 (cl--random-state): Rename from *random-state*.
4566
ac348012
SM
45672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4570 parens around the arg list (bug#11499).
4571
a0a79cde
JL
45722012-05-17 Juri Linkov <juri@jurta.org>
4573
4574 * isearch.el (word-search-regexp, word-search-backward)
4575 (word-search-forward, word-search-backward-lax)
4576 (word-search-forward-lax): Move functions from search.c
4577 (bug#10145, bug#11381).
4578
65034a51
AM
45792012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4580
090bd7cb
JB
4581 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4582 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4583 Delay for otherchars as for normal word components.
65034a51 4584
1a72a195
SM
45852012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * minibuffer.el (completion--sifn-requote): Fix last change.
4588 (minibuffer-local-must-match-filename-map):
4589 Move define-obsolete-variable-alias before its var.
4590
fdb058c2
SM
45912012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4592
c41045e6
SM
4593 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4594
036dfb8b
SM
4595 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4596 behavior.
4597 (completion--string-equal-p): New function.
4598 (completion--twq-all): Use it to get better assertion failure data.
4599
2473256d
SM
4600 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4601 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4602 (shell--requote-argument): New functions.
4603 (shell-completion-vars): Use them.
4604 (shell--parse-pcomplete-arguments): Rename from
4605 shell-parse-pcomplete-arguments.
4606 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4607 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4608 Obey comint-file-name-quote-list.
4609
fdb058c2
SM
4610 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4611 (smie-indent-keyword): Use it.
4612
51fa99f1
SM
46132012-05-14 Stefan Merten <smerten@oekonux.de>
4614
4615 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4616
e18afed7 46172012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4618
4619 * net/rlogin.el (rlogin-mode-map): Fix last change.
4620
e18afed7 46212012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4622
4623 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4624 the following \r\n using a single `process-send-string', since the
4625 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4626 with two `process-send-string's (Bug#11444).
8633b1f4 4627
e18afed7 46282012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4629
fdb058c2
SM
4630 * shell.el (shell-parse-pcomplete-arguments):
4631 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4632
2d21d7f6
WJ
46332012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4634
e18afed7 4635 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4636 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4637 (image-transform-width, image-transform-fit-width): New functions.
4638 (image-transform-properties): Use them.
4639 (image-transform-check-size): New function.
4640 (image-toggle-display-image): Use it (for testing).
4641 (image-transform-set-rotation): Reduce angle mod 360.
4642 Delete obsolete comment.
4643
7102e6d0
WJ
46442012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4645
4646 * image-mode.el: Fix scaling (bug#11399).
4647 (image-transform-resize): Doc fix.
4648 (image-transform-properties): Default scale is 1 and height should
4649 be an integer.
4650
06bc5e6e
SM
46512012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4652
4653 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4654 than hard-coding `car', to fix misbehavior when moving forward.
4655
0ae03b6a
CY
46562012-05-13 Chong Yidong <cyd@gnu.org>
4657
4658 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4659 (tabulated-list-entries, tabulated-list-padding)
4660 (tabulated-list-sort-key): Make permanent-local.
4661
4662 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4663 (electric-buffer-list): Put electric buffer menu
4664 command descriptions in this docstring, instead of the docstring
4665 of electric-buffer-menu-mode. Code cleanups.
4666 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4667 Electric-buffer-menu-mode.
4668 (electric-buffer-update-highlight): Minor code cleanup.
4669
205a7391
MA
46702012-05-13 Michael Albinus <michael.albinus@gmx.de>
4671
4672 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4673 (Bug#11447)
4674
e5bd0a28
SM
46752012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 Move define-obsolete-variable-alias before the var's definition.
4678 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4679 * tooltip.el (tooltip-hook):
4680 * textmodes/reftex-toc.el (reftex-toc-map):
4681 * textmodes/reftex-sel.el (reftex-select-label-map)
4682 (reftex-select-bib-map):
4683 * textmodes/reftex-index.el (reftex-index-map)
4684 (reftex-index-phrases-map):
4685 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4686 * progmodes/meta-mode.el (meta-mode-map):
4687 * novice.el (disabled-command-hook):
4688 * loadhist.el (unload-hook-features-list):
4689 * frame.el (blink-cursor):
4690 * files.el (find-file-not-found-hooks, write-file-hooks)
4691 (write-contents-hooks):
4692 * emulation/tpu-edt.el (GOLD-map):
4693 * emacs-lock.el (emacs-lock-from-exiting):
4694 * emacs-lisp/generic.el (generic-font-lock-defaults):
4695 * emacs-lisp/chart.el (chart-map):
4696 * dos-fns.el (register-name-alist):
4697 * dired-x.el (dired-omit-files-p):
4698 * desktop.el (desktop-enable):
4699 * cus-edit.el (custom-mode-hook):
4700 * buff-menu.el (buffer-menu-mode-hook):
4701 * bookmark.el (bookmark-read-annotation-text-func)
4702 (bookmark-exit-hooks):
4703 * allout.el (allout-mode-deactivate-hook)
4704 (allout-exposure-change-hook, allout-structure-added-hook)
4705 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4706 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4707 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4708 comes before the corresponding variable's definition.
4709
ac59c2f6
CY
47102012-05-12 Chong Yidong <cyd@gnu.org>
4711
4712 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4713 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4714 (Buffer-menu-mode-map): Bind it.
4715 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4716
dee6c9a3
SM
47172012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4718
2171cea5
SM
4719 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4720 (prolog-upper-case-string, prolog-lower-case-string)
4721 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4722 (prolog-use-smie, prolog-smie-grammar): New vars.
4723 (prolog-smie-forward-token, prolog-smie-backward-token)
4724 (prolog-smie-rules): New funs.
4725 (prolog-comment-indent): Remove.
4726 (prolog-mode-variables): Use default comment indentation instead.
4727 Setup SMIE.
4728 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4729 (prolog-mode): Don't call them any more.
4730 (prolog-electric-colon, prolog-electric-dash)
4731 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4732
aa0382bd
SM
4733 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4734
dbacb4bd
SM
4735 * minibuffer.el (completion--twq-all): Again, allow case differences.
4736
13bdd94c
SM
4737 * term.el: Move keymap initialization code to be more idiomatic.
4738 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4739 (term-terminal-menu): Move initialization into declaration.
4740 (term-escape-char): Let the user set it in her .emacs.
4741
ff46c759
SM
4742 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4743 Provide SMIE-based indentation (not enabled by default yet).
4744 (sh-mode-map): Don't bind electric keys.
4745 Use electric-pair-mode instead of skeleton-pair.
4746 (sh-assignment-regexp): Fit within 80 columns.
4747 (sh-indent-supported): Specify actual shell name instead of boolean.
4748 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4749 (sh-maybe-here-document): Use it. Make obsolete.
4750 (sh-electric-here-document-mode) New minor mode.
4751 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4752 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4753 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4754 (sh-smie-rc-grammar, sh-use-smie): New vars.
4755 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4756 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4757 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4758 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4759 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4760 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4761 (sh-set-shell): Use smie-setup if requested.
4762
dee6c9a3
SM
4763 * term.el (term-set-escape-char): Properly set term-escape-char.
4764 See http://stackoverflow.com/questions/10524656.
4765
9f9aa044
CY
47662012-05-10 Chong Yidong <cyd@gnu.org>
4767
4768 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4769 Use url-generic-parse-url, and handle host names and Windows
4770 filenames properly.
4771 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4772 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4773 URL schemes to work on.
4774 (ffap--toggle-read-only): New function.
4775 (ffap-read-only, ffap-read-only-other-window)
4776 (ffap-read-only-other-frame): Use it.
4777 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4778 necessary for ffap-url-unwrap-remote.
4779
836d29b3
DA
47802012-05-10 Dave Abrahams <dave@boostpro.com>
4781
4782 * cus-start.el (create-lockfiles): Add it.
4783
00fd78ed
CY
47842012-05-09 Chong Yidong <cyd@gnu.org>
4785
4786 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4787 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4788
666b903b 47892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4790
4791 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4792
666b903b 47932012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4794
4795 * ansi-color.el (ansi-color-process-output): Check for validity of
4796 comint-last-output-start before using it. This avoids a bad
4797 interaction with gdb-mi's input/output buffer.
4798
666b903b 47992012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4800
4801 * files.el (dir-locals-read-from-file):
4802 Mention dir-locals in any error message.
4803
666b903b 48042012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4805
4806 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4807 package (Bug#11410).
4808
f677562b
CY
4809 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4810 variables into description.
4811
666b903b 48122012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4813
4814 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4815 shell-delimiter-argument-list (bug#11348).
4816 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4817
b499d8d0
JB
48182012-05-09 Juanma Barranquero <lekktu@gmail.com>
4819
8f6b6da8
JB
4820 * textmodes/rst.el: Silence byte-compiler warnings.
4821 (rst-re-alist, rst-reset-section-caches): Move around.
4822 (rst-re): Use `characterp', not `char-valid-p'.
4823 (font-lock-beg, font-lock-end): Declare.
4824
4824146a
JB
4825 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4826 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4827
b499d8d0
JB
4828 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4829
ad89bb83
GM
48302012-05-08 Glenn Morris <rgm@gnu.org>
4831
4832 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4833
8bba5a75
SM
48342012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4835
49ed9c8e
SM
4836 * vc/log-edit.el: Add GNU coding standards highlighting.
4837 (log-edit-font-lock-gnu-style)
4838 (log-edit-font-lock-gnu-keywords): New vars.
4839 (log-edit-font-lock-keywords): New fun.
4840 (log-edit-mode): Don't fold case in font-lock.
4841 (log-edit-font-lock-keywords): Do not assume case-folding.
4842
07d00b56
SM
4843 * imenu.el: Misc cleanup. Make docstrings out of comments.
4844 Use lexical-binding.
4845 (imenu--index-alist, imenu--last-menubar-index-alist)
4846 (imenu-menubar-modified-tick): Use defvar-local.
4847 (imenu--split-menu): Remove unused var.
4848 (imenu--cleanup-seen): Declare as global.
4849 (imenu--cleanup): Use dolist.
4850
8bba5a75
SM
4851 * subr.el (defvar-local): Add debug spec and doc-string position.
4852
5075bdb5
GM
48532012-05-08 Glenn Morris <rgm@gnu.org>
4854
090bd7cb 4855 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4856 * language/english.el, language/georgian.el, language/greek.el:
4857 * language/japanese.el, language/khmer.el, language/korean.el:
4858 * language/lao.el, language/misc-lang.el, language/romanian.el:
4859 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4860 * language/thai.el, language/utf-8-lang.el:
4861 Remove no-byte-compile setting.
4862
5075bdb5
GM
4863 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4864
06f679a7
AH
48652012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4866
4867 * progmodes/make-mode.el (makefile-browse):
4868 Remove unnecessary interactive. (Bug#11324)
4869
03794570
GM
48702012-05-07 Glenn Morris <rgm@gnu.org>
4871
af8630f4
GM
4872 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4873
03794570
GM
4874 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4875
f0809a9d
SM
48762012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4877
28be5ce7
SM
4878 * loadup.el: Preload newcomment.el.
4879 * newcomment.el: Move autoload-only code to toplevel.
4880
f0809a9d
SM
4881 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4882 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4883 Handle new :right-align column property.
4884 (tabulated-list-print-col): Idem, plus use `display' text-property to
4885 try and preserve alignment for variable pitch fonts.
4886
1241b724
CY
48872012-05-07 Chong Yidong <cyd@gnu.org>
4888
4889 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4890 (tabulated-list-use-header-line): New var.
4891 (tabulated-list-init-header): Use it.
4892 (tabulated-list-print-fake-header): New function.
4893 (tabulated-list-print): Use it.
4894 (tabulated-list-sort-button-map): Add non-header-line commands.
4895 (tabulated-list-init-header): Add column name property to basic
4896 labels as well.
4897 (tabulated-list-col-sort): Handle non-header-line button case.
4898 (tabulated-list--sort-by-column-name): Fix a corner case.
4899
f0809a9d
SM
4900 * buff-menu.el (list-buffers--refresh):
4901 Handle Buffer-menu-use-header-line.
1241b724 4902
e5f9458f
CY
49032012-05-06 Chong Yidong <cyd@gnu.org>
4904
4905 * buff-menu.el: Convert to Tabulated List mode.
4906 (Buffer-menu-buffer+size-width): Make obsolete.
4907 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4908 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4909 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4910 documentation into docstring of buffer-menu.
4911 (Buffer-menu-toggle-files-only): Add an informative message.
4912 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4913 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4914 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4915 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4916 (Buffer-menu-execute, Buffer-menu-select)
4917 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4918 (Buffer-menu-bury): Use Tabulated List machinery.
4919 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4920 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4921 Delete.
e5f9458f
CY
4922 (list-buffers--refresh): New function.
4923 (list-buffers-noselect): Use it.
4924 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4925 (Buffer-menu--pretty-file-name): New helper functions.
4926
4927 * loadup.el: Preload tabulated-list.
4928
4929 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4930 tabulated-list-sort-column.
4931 (tabulated-list-init-header): Add the initial aligning space even
4932 if tabulated-list-padding is zero.
4933
e129292c
CS
49342012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4935
4936 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4937 whose cdr is not a cons cell correctly (bug#11038).
4938
6632d361
CY
49392012-05-06 Chong Yidong <cyd@gnu.org>
4940
e129292c
CS
4941 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4942 Accept additional plist in column descriptors.
6632d361
CY
4943 (tabulated-list-init-header): Obey it.
4944 (tabulated-list-get-entry): New function.
4945 (tabulated-list-put-tag): Use it. Use string-width instead of
4946 length.
4947 (tabulated-list--column-number): New function.
4948 (tabulated-list-print): Use it.
e129292c
CS
4949 (tabulated-list-print-col): New function.
4950 Set `tabulated-list-column-name' property on each column's text.
6632d361 4951 (tabulated-list-print-entry): Use it.
e129292c
CS
4952 (tabulated-list-delete-entry, tabulated-list-set-col):
4953 New functions.
6632d361
CY
4954 (tabulated-list-sort-column): New command (Bug#11337).
4955
3cc99f68
CY
4956 * buff-menu.el (list-buffers): Move C-x C-b binding from
4957 buff-menu.el to bindings.el.
4958
4959 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4960 :advertised-binding feature.
4961
52b61776
TN
49622012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4963
4964 * progmodes/compile.el (compilation-internal-error-properties):
4965 Calculate start position correctly when end-col is set but
4966 end-line is not (Bug#11382).
4967
ebfe2597
WJ
49682012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4969
4970 * man.el (Man-unindent): Use text-property-default-nonsticky to
4971 prevent untabify from inheriting face properties (Bug#11408).
4972
6d3f7c2f
SM
49732012-05-05 Stefan Merten <smerten@oekonux.de>
4974
4975 * textmodes/rst.el: Major merge with upstream development up to
4976 Docutils SVN r7399 / rst.el V1.2.1.
4977
4978 Clarify maintainership and authors.
4979
4980 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4981 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4982 (rst-official-version, rst-official-cvs-rev, rst-version)
4983 (rst-package-emacs-version-alist): New functions and variables
4984 for version information.
4985
4986 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4987 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4988 (rst-mode-syntax-table, rst-mode): New and corrected functions
4989 and variables representing reStructuredText features.
4990
4991 (rst-re): New function for reStructuredText regexes. Use in
4992 many places.
4993
4994 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4995 (rst-mode-map): Rebind keys.
4996
4997 (rst-mode-lazy, rst-font-lock-keywords)
4998 (rst-font-lock-extend-region)
4999 (rst-font-lock-extend-region-internal)
5000 (rst-font-lock-extend-region-extend)
5001 (rst-font-lock-find-unindented-line-limit)
5002 (rst-font-lock-find-unindented-line-match)
5003 (rst-adornment-level, rst-font-lock-adornment-level)
5004 (rst-font-lock-adornment-match)
5005 (rst-font-lock-handle-adornment-pre-match-form)
5006 (rst-font-lock-handle-adornment-matcher): Major revision of
5007 font-locking. Integrate with other code. Use `jit-lock-mode'.
5008
5009 (rst-preferred-adornments, rst-adjust-hook)
5010 (rst-new-adornment-down, rst-preferred-bullets)
5011 (rst-preferred-bullets, rst-indent, rst-indent-width)
5012 (rst-indent-field, rst-indent-literal-normal)
5013 (rst-indent-literal-minimized, rst-indent-comment): Change,
5014 extend and improve customization.
5015
5016 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5017 (rst-normalize-cursor-position, rst-get-decoration)
5018 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5019 (rst-rstrip, rst-toc-insert-find-delete-contents)
5020 (rst-shift-fill-region, rst-compute-bullet-tabs)
5021 (rst-debug-print-tabs, rst-debug-mark-found)
5022 (rst-shift-region-guts, rst-shift-region-right)
5023 (rst-shift-region-left, rst-use-char-classes)
5024 (rst-font-lock-keywords-function)
5025 (rst-font-lock-indentation-point)
5026 (rst-font-lock-find-unindented-line-begin)
5027 (rst-font-lock-find-unindented-line-end)
5028 (rst-font-lock-find-unindented-line)
5029 (rst-font-lock-adornment-point, rst-font-lock-level)
5030 (rst-adornment-level-alist): Remove functions and variables.
5031
5032 (rst-compare-adornments, rst-get-adornment-match)
5033 (rst-suggest-new-adornment, rst-get-adornments-around)
5034 (rst-adornment-complete-p, rst-get-next-adornment)
5035 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5036 (rst-straighten-adornments): Standardize function names to
5037 use "adornment" instead of "decoration". Correct callers.
5038 Similar standardizing in many places.
5039
5040 (rst-update-section, rst-adjust, rst-promote-region)
5041 (rst-enumerate-region, rst-bullet-list-region)
5042 (rst-repeat-last-character): Correct use of `interactive'.
5043
5044 (rst-classify-adornment, rst-find-all-adornments)
5045 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5046 (rst-find-leftmost-column, rst-repeat-last-character):
5047 Refactor functions.
5048
5049 (rst-find-title-line, rst-reset-section-caches)
5050 (rst-get-adornments-around, rst-adjust-adornment-work)
5051 (rst-arabic-to-roman, rst-roman-to-arabic)
5052 (rst-insert-list-pos, rst-insert-list-new-item)
5053 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5054 New functions.
5055
5056 (rst-all-sections, rst-section-hierarchy)
5057 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5058 New variables.
5059
5060 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5061 configuration instead of only buffer. Change where necessary.
5062
5063 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5064 (rst-shift-region, rst-adaptive-fill): New functions for
5065 indentation and filling.
5066
5067 (rst-comment-line-break, rst-comment-indent)
5068 (rst-comment-insert-comment, rst-comment-region)
5069 (rst-uncomment-region): New functions for handling comments.
5070
5071 (rst-compile): Quote shell arguments.
5072
5073 (rst-compile-pdf-preview, rst-compile-slides-preview):
5074 Delete temporary files after use.
5075
a43f98b3
GM
50762012-05-05 Glenn Morris <rgm@gnu.org>
5077
48176e8b
GM
5078 * calendar/cal-html.el: Optionally include holidays in the output.
5079 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5080 (cal-html-holidays): New option.
5081 (cal-html-css-default): Add holiday entry.
5082 (holiday-in-range): Autoload it.
5083 (cal-html-htmlify-entry): Add optional class argument.
5084 (cal-html-htmlify-list): Add optional holidays argument.
5085 (cal-html-insert-agenda-days): Include holidays in the output.
5086 (cal-html-one-month): Maybe include holidays.
5087
a43f98b3
GM
5088 * calendar/holidays.el (holiday-in-range):
5089 Move here from cal-tex-list-holidays.
5090 * calendar/cal-tex.el (cal-tex-list-holidays):
5091 Make it an obsolete alias for holiday-in-range. Update all callers.
5092
fef9d149 50932012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5094
5095 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5096 Nextstep.
5097
248da2f4
RW
50982012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5099
5100 * files.el (file-auto-mode-skip): New var.
5101 (set-auto-mode-1): Use it.
5102
f95e9344
SM
51032012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5104
df96ab1e
SM
5105 * repeat.el: Use lexical-binding.
5106 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5107 (repeat-undo-count): Remove.
5108 (repeat):
5109 * progmodes/octave-mod.el (octave-abbrev-start):
5110 * progmodes/f90.el (f90-abbrev-start):
5111 * face-remap.el (text-scale-adjust):
5112 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5113
5342bb06
SM
5114 * emacs-lisp/pcase.el (pcase--let*): New function.
5115 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5116 a bit more.
5117 (pcase--split-pred): Be more clever about ruling out overlap between
5118 a predicate and some constant pattern.
5119 (pcase--q1): Use `null' instead of (eq foo nil).
5120
f95e9344
SM
5121 * subr.el (setq-local, defvar-local): New macros.
5122 (kbd): Redefine as an alias.
5123 (with-selected-window): Leave unrelated frames alone.
5124 (set-temporary-overlay-map): New function.
5125
71873e2b
SM
51262012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * subr.el (user-error): New function.
5129 * window.el (switch-to-buffer):
5130 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5131 (smerge-match-conflict):
5132 * simple.el (previous-matching-history-element)
5133 (next-matching-history-element, goto-history-element, undo-more)
5134 (undo-start):
5135 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5136 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5137 (next-file, tags-loop-scan, list-tags, complete-tag):
5138 * progmodes/compile.el (compilation-loop):
5139 * mouse.el (mouse-minibuffer-check):
5140 * man.el (Man-bgproc-sentinel, Man-goto-page):
5141 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5142 (Info-history-forward, Info-follow-reference, Info-menu)
5143 (Info-extract-menu-item, Info-extract-menu-counting)
5144 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5145 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5146 (Info-next-reference, Info-prev-reference, Info-index)
5147 (Info-index-next, Info-follow-nearest-node)
5148 (Info-copy-current-node-name):
5149 * imenu.el (imenu--make-index-alist)
5150 (imenu-default-create-index-function, imenu-add-to-menubar):
5151 * files.el (basic-save-buffer, recover-file):
5152 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5153 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5154 (checkdoc-message-text, checkdoc-defun):
5155 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5156 * cus-edit.el (customize-changed-options, customize-rogue)
5157 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5158 (custom-variable-mark-to-reset-standard)
5159 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5160 (custom-file):
5161 * completion.el (check-completion-length):
5162 * comint.el (comint-search-arg)
5163 (comint-previous-matching-input-string-position)
5164 (comint-previous-matching-input)
5165 (comint-replace-by-expanded-history-before-point, comint-send-input)
5166 (comint-copy-old-input, comint-backward-matching-input)
5167 (comint-goto-process-mark, comint-set-process-mark):
5168 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5169 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5170
8a61ee22
SM
51712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5172
66408d1e
SM
5173 * dabbrev.el (dabbrev--ignore-case-p): New function.
5174 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5175 Use it.
5176
8a61ee22
SM
5177 * files.el (automount-dir-prefix): Mark as obsolete.
5178
3c74813a
GM
51792012-05-04 Glenn Morris <rgm@gnu.org>
5180
5181 * patcomp.el, play/bruce.el: Move to obsolete/.
5182
0bfcf5c5
PE
51832012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5184
5185 Fix minor Y10k bugs.
5186 * arc-mode.el (archive-unixdate):
5187 * autoinsert.el (auto-insert-alist):
5188 * calc/calc-forms.el (math-this-year):
5189 * emacs-lisp/copyright.el (copyright-current-year)
5190 (copyright-update-year, copyright):
5191 * tar-mode.el (tar-clip-time-string):
5192 * time.el (display-time-update):
5193 Don't assume years have 4 digits.
5194
78f3273a
CY
51952012-05-04 Chong Yidong <cyd@gnu.org>
5196
5197 * dos-w32.el (file-name-buffer-file-type-alist)
5198 (direct-print-region-use-command-dot-com):
5199 * ffap.el (ffap-menu-regexp):
5200 * find-file.el (ff-special-constructs):
5201 * follow.el (follow-debug):
5202 * forms.el (forms--debug):
5203 * iswitchb.el (iswitchb-all-frames):
5204 * ido.el (ido-all-frames):
5205 * emacs-lisp/timer.el (timer-max-repeats):
5206 * mail/feedmail.el (feedmail-mail-send-hook)
5207 (feedmail-mail-send-hook-queued):
5208 * mail/footnote.el (footnote-signature-separator):
5209 * mail/mailabbrev.el (mail-alias-separator-string)
5210 (mail-abbrev-mode-regexp):
5211 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5212 * progmodes/idlwave.el (idlwave-libinfo-file)
5213 (idlwave-default-completion-case-is-down)
5214 (idlwave-library-routines): Convert defvars to defcustoms.
5215
5216 * mail/rmail.el (rmail-decode-mime-charset):
5217 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5218 (idlwave-shell-fix-inserted-breaks)
5219 (idlwave-shell-activate-alt-keybindings)
5220 (idlwave-shell-use-breakpoint-glyph):
5221 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5222
f7ae6719
SM
52232012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5224
5225 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5226
47086495
WS
52272012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5228
5229 * progmodes/verilog-mode.el (font-lock-keywords):
5230 Fix mis-highligting auto. Reported by Craig Barner.
5231 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5232 defines from global name space. Reported by Dan Dever.
5233 (verilog-auto-reset, verilog-auto-reset-widths)
5234 (verilog-auto-tieoff): Support using unbased numbers for
5235 AUTORESET and AUTOTIEOFF.
5236 (verilog-submit-bug-report): Update variable list.
5237 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5238 parenthesis from not matching. Reported by Michael Rytting.
5239 (verilog-auto-template-lint): Fix hash error when linting modules
5240 with no used templates.
5241 (verilog-warn, verilog-warn-error)
5242 (verilog-warn-fatal): When non-interactive report multiple
5243 warnings before exiting. Suggested by Brad Dobbie.
5244 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5245 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5246 to report unused template errors. Reported by Brad Dobbie.
5247 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5248 nets, bug438. Reported by Vns Blore.
5249 (verilog-auto-inout-module, verilog-auto-reg)
5250 (verilog-read-decls, verilog-read-sub-decls-sig)
5251 (verilog-signals-edit-wire-reg, verilog-signals-with):
5252 Fix passing of Verilog data types in ANSI input/output ports
5253 such as "output logic" into the AUTOs. Special case "wire" and
5254 "reg" for backwards compatibility presuming Verilog 2001.
5255 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5256 (verilog-preprocess): Fix replication of preprocess output.
5257 Reported by Brad Dobbie.
5258 (verilog-auto-inst-interfaced-ports):
5259 Create verilog-auto-inst-interfaced-ports, bug429.
5260 Reported by Julian Gorfajn.
5261 (verilog-after-save-font-hook)
5262 (verilog-before-save-font-hook): New variable.
5263 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5264 (verilog-save-font-mods): Wrap disabling fontification, reported
5265 by David Rogoff.
5266 (verilog-do-indent, verilog-pretty-declarations-auto)
5267 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5268 Reported by Pierre-David Pfister.
5269 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5270 of class declarations, bug292. Reported by Kevin Heilman.
5271 (verilog-read-decls): Fix 'parameter type' not appearing in
5272 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5273 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5274 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5275 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5276 Reported by David Kravitz.
5277
52782012-05-03 Michael McNamara <mac@mail.brushroad.com>
5279
5280 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5281 assignment with tests in ifs and for loops.
5282 (verilog-extended-complete-re, verilog-complete-reg): Change so
5283 that DPI inport functions don't look like fuction declarations.
5284 (verilog-pretty-expr): Don't line up assignment
5285 operations to the test and increment in if and for loops
5286 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5287 that DPI inport functions don't look like fuction declarations.
47086495 5288
2e51d4b5
KH
52892012-05-03 Kenichi Handa <handa@m17n.org>
5290
5291 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5292 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5293 (Bug#11282).
5294
2bd785a2
SM
52952012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * emacs-lisp/bytecomp.el
5298 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5299 since cconv.el might have introduced :fun-body, internal-make-closure,
5300 and friends for bytecomp to handle (bug#11391).
5301 * custom.el (defcustom): Avoid ((λ ..) ..).
5302
99d27583
SM
53032012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5306
55a71479
JB
53072012-05-02 Juanma Barranquero <lekktu@gmail.com>
5308
5309 * notifications.el (dbus-debug):
5310 * term/linux.el (gpm-mouse-enable):
5311 * term/screen.el (xterm-register-default-colors): Declare.
5312
7b97c764
CY
53132012-05-02 Chong Yidong <cyd@gnu.org>
5314
2bc356d7
CY
5315 * cus-start.el (gc-cons-percentage, exec-suffixes)
5316 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5317 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5318 (make-cursor-line-fully-visible, void-text-area-pointer)
5319 (font-list-limit): Add customization data.
5320
7b97c764
CY
5321 * allout.el (allout-exposure-change-functions)
5322 (allout-structure-added-functions)
5323 (allout-structure-deleted-functions)
5324 (allout-structure-shifted-functions): Rename abnormal hooks from
5325 *-hook, and convert to defcustoms.
5d3385a0
JB
5326 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5327 Convert to defcustoms.
7b97c764
CY
5328 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5329
5330 * allout-widgets.el: Hook callers changed.
5331
90207a15 53322012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5333
5334 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5335 the yanked message in preference to the default value of
5336 buffer-file-coding-system.
5337
90207a15 53382012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5339
5d3385a0
JB
5340 * window.el (display-buffer--action-function-custom-type):
5341 Fix entry.
d9558cad 5342
90207a15 53432012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5344
5345 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5346
d80ac57b
GM
53472012-05-01 Glenn Morris <rgm@gnu.org>
5348
976f7668
GM
5349 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5350
beb83b5a
GM
5351 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5352
d80ac57b
GM
5353 * cus-edit.el (custom-variable-documentation): Simplify with format.
5354
b593d6a9 53552012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5356 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5357
5358 * simple.el (suggest-key-bindings, execute-extended-command):
5359 Move from keyboard.c.
5360
782fbf2a
CY
53612012-05-01 Chong Yidong <cyd@gnu.org>
5362
5363 * follow.el: Eliminate advice.
5364 (set-process-filter, process-filter, sit-for): Advice deleted.
5365 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5366 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5367 Vars deleted.
782fbf2a
CY
5368 (follow-auto): Use a :set function.
5369 (follow-mode): Rewritten. Don't advise process filters.
5370 (follow-switch-to-current-buffer-all, follow-scroll-up)
5371 (follow-scroll-down): Assume follow-mode is bound.
5372 (follow-comint-scroll-to-bottom)
5373 (follow-align-compilation-windows): New functions.
5374 (follow--window-sorter): New function.
5375 (follow-all-followers): Use it to explicitly sort windows by their
5376 positions; don't make assumptions about next-window order.
5377 (follow-windows-start-end, follow-delete-other-windows-and-split)
5378 (follow-calc-win-start): Doc fix.
5379 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5380 vertical-motion unnecessarily.
5381 (follow-adjust-window): New function.
5382 (follow-post-command-hook): Use it.
5383 (follow-call-set-process-filter, follow-call-process-filter)
5384 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5385 (follow-stop-intercept-process-output, follow-generic-filter):
5386 Functions deleted.
5387 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5388 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5389 New functions, replacing advice on scroll-bar-* commands.
87233a14 5390 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5391
5392 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5393 (comint-postoutput-scroll-to-bottom): Use it.
5394 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5395
290af740
GM
53962012-05-01 Glenn Morris <rgm@gnu.org>
5397
5398 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5399 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5400 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5401 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5402 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5403 Remove no-byte-compile setting.
5404
6eac8dc9
SM
54052012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5408 all-completions code to not return a number in the last cdr.
5409
9cc7819c
LL
54102012-04-30 Leo Liu <sdl.web@gmail.com>
5411
5412 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5413 read-only error.
5414
c93b886f
CY
54152012-04-29 Chong Yidong <cyd@gnu.org>
5416
5417 * follow.el (follow-calc-win-end): Rewrite to handle partial
5418 screen lines correctly (Bug#8390).
5419 (follow-avoid-tail-recenter): Minor cleanup.
5420
8b6c19f4
SM
54212012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 Avoid the obsolete `assoc' package.
5424 * speedbar.el (speedbar-refresh): Avoid adelete.
5425 (speedbar-file-lists): Simplify and avoid aput.
5426 * man.el (Man--sections, Man--refpages): New vars, replacing
5427 Man-sections-alist and Man-refpages-alist.
5428 (Man-build-section-alist, Man-build-references-alist):
5429 Use them; avoid aput.
5430 (Man--last-section, Man--last-refpage): New vars.
5431 (Man-follow-manual-reference): Use them.
5432 Use the `default' arg of completing-read.
5433 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5434
c5bb7569
CY
54352012-04-27 Chong Yidong <cyd@gnu.org>
5436
d1d2e2e8
CY
5437 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5438
15cd8efd
CY
5439 * startup.el (x-apply-session-resources): New function.
5440
5441 * term/ns-win.el (ns-initialize-window-system):
5442 * term/w32-win.el (w32-initialize-window-system):
5443 * term/x-win.el (x-initialize-window-system): Use it to properly
5444 set menu-bar-mode and other vars from X resources, even if the
5445 initial frame is not a window-system frame (Bug#2299).
5446
c5bb7569
CY
5447 * subr.el (read-key): Avoid running filter function when setting
5448 up temporary tool bar entries (Bug#9922).
5449
a8e7d6d7 54502012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5451
5452 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5453 (Bug#11344)
5454
a8e7d6d7 54552012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5456
5457 * select.el (xselect--encode-string): New function, split from
5458 xselect-convert-to-string.
5459 (xselect-convert-to-string): Use it.
5460 (xselect-convert-to-filename, xselect-convert-to-os)
5461 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5462 returned strings are properly encoded (Bug#11315).
5463
a8e7d6d7 54642012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5465
5466 * simple.el (delete-active-region): Move to killing custom group.
5467
a8e7d6d7 54682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5469
5470 * progmodes/which-func.el (which-func-current): Quote %
5471 characters for mode-line processing.
5472
578c1d4b 54732012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5474
5475 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5476 reaching eob (Bug#11286).
5477
a8e7d6d7 54782012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5479
5480 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5481 (gdb): Make it buffer-local and init to zero.
5482 (gdb-control-commands-regexp): New variable.
5483 (gdb-send): Don't wrap in "-interpreter-exec console" if
5484 gdb-control-level is positive. Increment gdb-control-level
5485 whenever the command matches gdb-control-commands-regexp, and
5486 decrement it each time the command is "end". (Bug#11279)
5487
a8e7d6d7 54882012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5489
5490 * window.el (adjust-window-trailing-edge, enlarge-window)
5491 (shrink-window, window-resize):
5492 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5493 windows (Bug#11276).
5494
b3608390
CY
54952012-04-27 Chong Yidong <cyd@gnu.org>
5496
5497 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5498 fix "missing prefix" warning. All callers changed.
b3608390 5499
797e6e88
SM
55002012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * emacs-lisp/assoc.el: Move to obsolete/.
5503
e95a67dc
SM
55042012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5505
657c21e4 5506 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5507
5508 * term/ns-win.el (ns-define-service):
5509 * progmodes/pascal.el (pascal-goto-defun):
5510 * progmodes/js.el (js--read-tab):
5511 * progmodes/etags.el (tags-lazy-completion-table):
5512 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5513 * emacs-lisp/ewoc.el (ewoc--wrap):
5514 * emacs-lisp/assoc.el (aput, adelete, amake):
5515 * doc-view.el (doc-view-convert-current-doc):
5516 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5517
cb3e7ae0
CY
55182012-04-26 Chong Yidong <cyd@gnu.org>
5519
dce04f7f
CY
5520 * image.el (image-type-from-buffer): Only return supported image
5521 type (Bug#9045).
5522
cb3e7ae0
CY
5523 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5524 value, for symmetry with diff-end-of-hunk.
5525 (diff-split-hunk, diff-find-source-location)
5526 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5527 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5528 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5529 compute the relevant hunk or file properly (Bug#6005).
5530 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5531
0d42eb3e
SM
55322012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * vc/vc-mtn.el:
5535 * vc/vc-hg.el:
5536 * vc/vc-git.el:
5537 * vc/vc-dir.el:
5538 * vc/vc-cvs.el:
5539 * vc/vc-bzr.el:
5540 * vc/vc-arch.el:
5541 * vc/vc.el: Replace lexical-let by lexical-binding.
5542 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5543 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5544 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5545
f08ae1c9
CY
55462012-04-26 Chong Yidong <cyd@gnu.org>
5547
8b71081d
CY
5548 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5549 (diff-mode-shared-map): Bind it to / and [remap undo].
5550
f08ae1c9
CY
5551 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5552 (ediff-window-setup-function): Use it as the default, to set up
5553 windows based on whether the current frame is graphical (Bug#2138).
5554 (ediff-choose-window-setup-function-automatically): Make obsolete.
5555
5556 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5557
ef24141c
SM
55582012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5559
cc356a5d
SM
5560 * ffap.el: Remove old code for obsolete package.
5561 (ffap-complete-as-file-p): Remove.
5562
b4ff4f1f
SM
5563 Use completion-table-with-quoting for comint and pcomplete.
5564 * comint.el (comint--unquote&requote-argument)
5565 (comint--unquote-argument, comint--requote-argument): New functions.
5566 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5567 (comint-quote-filename): Use regexp-opt-charset.
5568 (comint--common-suffix, comint--common-quoted-suffix)
5569 (comint--table-subvert): Remove.
5570 (comint-unquote-function, comint-requote-function): New vars.
5571 (comint--complete-file-name-data): Use them with
5572 completion-table-with-quoting.
5573 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5574 * pcomplete.el (pcomplete-arg-quote-list)
5575 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5576 (pcomplete-unquote-argument-function): Default to non-nil.
5577 (pcomplete-unquote-argument): Simplify.
5578 (pcomplete--common-quoted-suffix): Remove.
5579 (pcomplete-requote-argument-function): New var.
5580 (pcomplete--common-suffix): New function.
5581 (pcomplete-completions-at-point): Use completion-table-with-quoting
5582 and completion-table-subvert.
5583
79c4eeb4
SM
5584 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5585 (minibuffer--double-dollars): Preserve properties.
5586 (completion--sifn-requote): New function.
5587 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5588
ef24141c
SM
5589 * minibuffer.el: Add support for completion of quoted/escaped data.
5590 (completion-table-with-quoting, completion-table-subvert): New funs.
5591 (completion--twq-try, completion--twq-all): New functions.
5592 (completion--nth-completion): New function.
5593 (completion-try-completion, completion-all-completions): Use it.
5594
784e7d6e
LL
55952012-04-25 Leo Liu <sdl.web@gmail.com>
5596
dd2ac746
SM
5597 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5598 Use compilation-message if available to find real filename.
784e7d6e 5599
07875ee7
CY
56002012-04-25 Chong Yidong <cyd@gnu.org>
5601
5602 * vc/diff-mode.el (diff-setup-whitespace): New function.
5603 (diff-mode): Use it.
5604
5605 * vc/diff.el (diff-sentinel):
5606 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5607 Whitespace mode variables based on diff style (Bug#8612).
5608
5055880d
LL
56092012-04-25 Leo Liu <sdl.web@gmail.com>
5610
daf75653
LL
5611 * progmodes/python.el (python-send-region): Add suffix .py to the
5612 temp file.
5613
5055880d
LL
5614 * files.el (auto-mode-alist): Use javascript-mode instead.
5615
db9b177b
AH
56162012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5617
ef24141c 5618 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5619
090bd7cb 5620 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5621 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5622 references, see Bug#9.
ef24141c 5623 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5624 when receiving a fault reply.
ef24141c 5625 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5626
090bd7cb 5627 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5628 (soap-inspect-simple-type): New function.
db9b177b 5629
090bd7cb 5630 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5631 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5632 (soap-decode-basic-type, soap-encode-basic-type):
5633 support unsignedInt and double basic types.
db9b177b 5634 (soap-resolve-references-for-simple-type)
ef24141c
SM
5635 (soap-parse-simple-type, soap-encode-simple-type): New function.
5636 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5637
090bd7cb 5638 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5639 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5640 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5641 the local name of "soapenc:Array".
5642 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5643 decoding integer, byte and anyURI xsd types.
5644
1fc6097b
CY
56452012-04-25 Chong Yidong <cyd@gnu.org>
5646
5647 * cus-edit.el (custom-buffer-create-internal): Update header text.
5648
afc6df87
EZ
56492012-04-25 Eli Zaretskii <eliz@gnu.org>
5650
5651 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5652 settings on 'system-type', not on 'window-system'. On MS-Windows,
5653 set interactive-mode on in GDB.
5654
dfbd787f
SM
56552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5658 (ruby-syntax-propertize-regexp): Remove.
5659 (ruby-syntax-propertize-function): Split regexp into chunks.
5660 Match following code directly.
5661
85222d44
DG
56622012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5663
51a8ea2a
DG
5664 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5665 (ruby-syntax-propertize-regexp): New function.
5666 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5667 by a special keyword.
5668
85222d44
DG
5669 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5670 (ruby-syntax-general-delimiters-goto-beg)
5671 (ruby-syntax-propertize-general-delimiters): New functions.
5672 (ruby-syntax-propertize-function): Use them to handle GDL.
5673 (ruby-font-lock-keywords): Move old handling of GDL...
5674 (ruby-font-lock-syntactic-keywords): .. to here.
5675 (ruby-calculate-indent): Adjust indentation for GDL.
5676
b613912b
MA
56772012-04-24 Michael Albinus <michael.albinus@gmx.de>
5678
b5380639
MA
5679 * notifications.el (top): Remove unneeded declarations.
5680 (notifications-specification-version): Change to "1.2".
e43042fe 5681 (notifications-interface, notifications-notify-method)
b613912b
MA
5682 (notifications-close-notification-method): Fix docstring.
5683 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5684 (notifications-notify): Add :action-items, :resident and
5685 :transient hints. Change "image_data" to "image-data" and
5686 "image_path" to "image-path".
b613912b
MA
5687 (notifications-get-capabilities): New defun.
5688
257440aa
LL
56892012-04-24 Leo Liu <sdl.web@gmail.com>
5690
5691 * progmodes/python.el: Move hideshow setup to the end.
5692
b1bac16e
MR
56932012-04-24 Martin Rudalics <rudalics@gmx.at>
5694
5695 * window.el (handle-select-window): Clear echo area since this is
5696 no more done by read_char (Bug#11304).
5697
d81bd059
SM
56982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5701 and `/ M' to filter-derived-mode.
5702 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5703 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5704 (ibuffer-mark-by-mode): Use default rather than initial-input.
5705 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5706
c4cf6d91
IA
57072012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5708
5709 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5710 (ibuffer-filter-by-derived-mode): New filter.
5711 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5712
7511ded8
CY
57132012-04-23 Andreas Politz <politza@fh-trier.de>
5714
5715 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5716
775c916b
CY
57172012-04-23 Chong Yidong <cyd@gnu.org>
5718
5719 * cus-edit.el (customize-apropos, customize-apropos-options):
5720 Disable matching of non-option variables (Bug#11176).
5721 (customize-option, customize-option-other-window)
5722 (customize-changed-options): Doc fix.
5723 (customize-apropos-options, customize-apropos-faces)
5724 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5725
5726 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5727 Fix word list splitting (Bug#11132).
46c71e23
CY
5728 (apropos-symbol, apropos-keybinding, apropos-label)
5729 (apropos-property, apropos-function-button)
5730 (apropos-variable-button, apropos-misc-button): New faces.
5731 (apropos-symbol-face, apropos-keybinding-face)
5732 (apropos-label-face, apropos-property-face, apropos-match-face):
5733 Variables removed (Bug#8396).
5734 (apropos-library-button, apropos-format-plist, apropos-print)
5735 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5736
2df41f9c
MA
57372012-04-23 Michael Albinus <michael.albinus@gmx.de>
5738
5739 * net/xesam.el (xesam-mode-map): Use let-bound map in
5740 initialization. (Bug#11292)
5741
da00640a
AM
57422012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5743
5744 Preserve ispell session localwords when switching back to
5745 original buffer.
5746
090bd7cb
JB
5747 * textmodes/ispell.el (ispell-buffer-session-localwords):
5748 New buffer-local variable to hold buffer session localwords.
ed9265fc 5749 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5750 localwords.
5751 (ispell-command-loop, ispell-change-dictionary)
5752 (ispell-buffer-local-words): Preserve session localwords when
5753 needed.
5754
090bd7cb
JB
5755 * textmodes/flyspell.el (flyspell-process-localwords)
5756 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5757
f621ccf5
AM
57582012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5759
090bd7cb
JB
5760 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5761 using obsolete `translation-table-for-input'.
ef24141c
SM
5762 (ispell-word, ispell-process-line, ispell-complete-word):
5763 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5764
c2d1019e
CY
57652012-04-22 Chong Yidong <cyd@gnu.org>
5766
5767 * cus-edit.el (custom-variable-menu)
5768 (custom-variable-reset-saved, custom-face-menu)
5769 (custom-face-reset-saved): If there is no saved value, make the
5770 "reset-saved" operation bring back the default (Bug#9509).
5771 (custom-face-state): Properly detect themed faces.
5772
eeddc531
CY
5773 * faces.el (face-spec-set): Stop supporting deprecated form of
5774 third arg.
5775
dcbf5805
MA
57762012-04-22 Michael Albinus <michael.albinus@gmx.de>
5777
5778 Move functions from C to Lisp. Make non-blocking method calls
5779 the default. Implement further D-Bus standard interfaces.
5780
ef24141c
SM
5781 * net/dbus.el (dbus-message-internal): Declare function.
5782 Remove unneeded function declarations.
dcbf5805
MA
5783 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5784 (dbus-message-type-method-return, dbus-message-type-error)
5785 (dbus-message-type-signal): Declare variables. Remove local
5786 definitions.
5787 (dbus-interface-dbus, dbus-interface-peer)
5788 (dbus-interface-introspectable, dbus-interface-properties)
5789 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5790 Adapt docstring.
5791 (dbus-interface-objectmanager): New defconst.
5792 (dbus-call-method, dbus-call-method-asynchronously)
5793 (dbus-send-signal, dbus-method-return-internal)
5794 (dbus-method-error-internal, dbus-register-service)
5795 (dbus-register-signal, dbus-register-method): New defuns, moved
5796 from dbusbind.c
5797 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5798 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5799 New defuns.
dcbf5805
MA
5800 (dbus-call-method-non-blocking): Make it an obsolete function.
5801 (dbus-unregister-object, dbus-unregister-service)
5802 (dbus-handle-event, dbus-register-property)
5803 (dbus-property-handler): Obey the new structure of
5804 `bus-registered-objects'.
5805 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5806 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5807 Use `dbus-call-method'.
5808
cf20dee0
CY
58092012-04-22 Chong Yidong <cyd@gnu.org>
5810
5811 * cus-edit.el (custom-commands, custom-reset-menu)
5812 (Custom-reset-standard): Tweak labels.
5813 (custom-reset-button-menu): Change default to t.
5814 (custom-buffer-create-internal): For the custom-reset-button-menu
5815 case, put the revert button first.
5816 (custom-group-subtitle): New face.
5817 (custom-group-value-create): Align docstring to a specific column.
5818
5819 * wid-edit.el (widget-documentation-link-add): Don't handle
5820 indentation in this function.
5821 (widget-documentation-string-indent-to): New function.
5822 (widget-documentation-string-value-create): Use it.
5823
5824 * autorevert.el (auto-revert):
5825 * epg-config.el (epg):
5826 * ibuffer.el (ibuffer):
5827 * mpc.el (mpc):
5828 * ses.el (ses):
5829 * eshell/eshell.el (eshell):
5830 * net/ange-ftp.el (ange-ftp):
5831 * progmodes/ebnf2ps.el (postscript):
5832 * progmodes/flymake.el (flymake):
5833 * progmodes/prolog.el (prolog):
5834 * progmodes/verilog-mode.el (verilog-mode):
5835 * progmodes/which-func.el (which-func):
5836 * term/xterm.el (xterm):
5837 * textmodes/picture.el (picture):
5838 * textmodes/tildify.el (tildify):
5839 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5840 customization buffers.
5841
583e23bd
AM
58422012-04-22 Alan Mackenzie <acm@muc.de>
5843
5844 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5845 Adding a ) can hide the resulting (..) from searches. Fix it.
5846 Bound the backward search to the position of the existing (.
5847
7dd51bf1
JB
58482012-04-21 Juanma Barranquero <lekktu@gmail.com>
5849
5850 * progmodes/verilog-mode.el (verilog-mode): Check whether
5851 which-func-modes is t before adding verilog-mode.
5852 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5853
d64a438f
LL
58542012-04-21 Leo Liu <sdl.web@gmail.com>
5855
7dd51bf1 5856 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5857
081e8d65
MV
58582012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5859
5860 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5861 filling of the last column of a table (Bug#5635).
5862 (woman-find-next-control-line): New arg, specifying an additional
5863 regexp component for the control line.
5864 (woman2-roff-buffer): Use it.
5865 (woman-break-table): New function.
5866 (woman2-TS): Use it.
5867
58682012-04-21 Chong Yidong <cyd@gnu.org>
5869
5870 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5871 (woman-horizontal-escapes, woman-negative-vertical-space)
5872 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5873 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5874
ed571ccb
SM
58752012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * minibuffer.el (completion-file-name-table): Complete user names.
5878
39773899
LL
58792012-04-20 Leo Liu <sdl.web@gmail.com>
5880
5881 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5882 and pcase-let*.
5883
de6ff46d
CY
58842012-04-20 Chong Yidong <cyd@gnu.org>
5885
5886 * server.el (server-execute): Respect initial-buffer-choice if it
5887 is a string and there are no files to open (Bug#2825).
5888 (server-create-window-system-frame, server-create-tty-frame):
5889 Don't switch buffers here.
2d0e8e61
CY
5890 (server-process-filter): Only try to open a window system frame if
5891 compiled with graphical support (Bug#8314).
de6ff46d 5892
54071013
DN
58932012-04-20 Dan Nicolaescu <dann@gnu.org>
5894
5895 * battery.el (battery-echo-area-format): Display remaining time
5896 for sysfs backend too (Bug#11269).
5897 (battery-linux-sysfs): Fix conditional for the charge.
5898
f30d612a
CY
58992012-04-20 Chong Yidong <cyd@gnu.org>
5900
c07a4c0b 5901 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5902 (gdb-inferior-io--init-proc): New function.
5903 (gdb-init-1): Use it.
5904 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5905 responsible for allocating a new pty and hooking it to gdb when
5906 the old pty gets an EIO due to process exit.
5907 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5908 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5909 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5910
2116e93c
EZ
59112012-04-20 Eli Zaretskii <eliz@gnu.org>
5912
5913 * window.el (window-min-size, window-sizable, window-min-delta)
5914 (window-max-delta, window--resizable, window-resizable)
5915 (window-total-size, window-full-height-p, window-full-width-p)
5916 (window-in-direction, window--resize-mini-window, window-resize)
5917 (window--resize-child-windows-normal)
5918 (window--resize-child-windows, window--resize-siblings)
5919 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5920 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5921
c07a4c0b 59222012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5923
ef24141c
SM
5924 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5925 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5926 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5927 pty process (Bug#11273).
5928 (gdb-update): New arg to suppress talking to the gdb process.
5929 (gdb-done-or-error): Use it.
5930 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5931 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5932 sentinel not being called.
5933
5934 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5935
d02766ab
CY
5936 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5937
c07a4c0b 59382012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5939
5940 * net/network-stream.el (open-network-stream): Doc fix.
5941
c07a4c0b 59422012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5943
5944 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5945
c07a4c0b 59462012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5947
5948 Ensure searching for keywords is case sensitive.
5949
5950 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5951 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5952 (c-defun-name, c-mark-function, c-cpp-define-name)
5953 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5954 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5955
ef24141c
SM
5956 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5957 Bind case-fold-search to nil.
f0f6bc35 5958
c07a4c0b 59592012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5960
5961 * mail/sendmail.el (mail-bury): Call return action with the right
5962 Rmail buffer (Bug#11242).
5963
9a864fa2
CY
5964 * server.el (server-process-filter): Handle corner case where both
5965 tty and nowait options are present (Bug#11102).
5966
539aa513
EZ
59672012-04-20 Eli Zaretskii <eliz@gnu.org>
5968
5969 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5970 (top level): Put into the executable the ident-style '$Id:' tag on
5971 windows-nt as well.
539aa513 5972
cfc7d5da
SM
59732012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * electric.el (electric-indent-post-self-insert-function): Check that
5976 electric-indent-mode is enabled in current buffer.
5977
5b01685c
JB
59782012-04-19 Juanma Barranquero <lekktu@gmail.com>
5979
5980 * imenu.el (imenu-progress-message): Restore; it is "used" in
5981 erc/erc-imenu.el and net/snmp-mode.el.
5982
4d6769e1
JB
59832012-04-19 Juanma Barranquero <lekktu@gmail.com>
5984
5985 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5986 (mouse-avoidance-nudge-mouse): Remove unused binding.
5987
5988 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5989
5990 * descr-text.el (describe-char):
5991 * progmodes/python.el (python-describe-symbol):
5992 Don't call `toggle-read-only', set `buffer-read-only'.
5993
5994 * imenu.el (imenu-default-goto-function): Mark unused args.
5995 (imenu-progress-message): Remove obsolete macro; all callers changed.
5996
5997 * subr.el (keymap-canonicalize): Remove unused binding.
5998 (read-passwd): Mark unused arg.
5999
6000 * tutorial.el (tutorial--display-changes): Remove unused binding.
6001 (tutorial--save-tutorial-to): Remove unused variable.
6002
6003 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6004 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6005 (package-generate-autoloads, package-menu--generate)
6006 (package-menu--find-upgrades): Remove unused bindings.
6007
6008 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6009 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6010 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6011 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6012 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6013 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6014 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6015 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6016 (cua-delete-char-rectangle): Mark unused args.
6017 (cua-align-rectangle): Remove unused binding.
6018
6019 * mail/rmail.el (compilation--message->loc)
6020 (epa--find-coding-system-for-mime-charset): Declare.
6021
6022 * net/dbus.el (dbus-register-service): Declare.
6023 (dbus-name-owner-changed-handler): Remove unused binding.
6024
6025 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6026 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6027 (nxml-scan-backward-within): Mark unused arg.
6028 (nxml-dynamic-markup-word): Remove unused binding.
6029
6030 * mouse.el (mouse-menu-major-mode-map):
6031 * emacs-lisp/authors.el (authors-scan-change-log)
6032 (authors-add-to-author-list):
6033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6034 * emacs-lisp/smie.el (smie-auto-fill):
6035 * mail/sendmail.el (mail-bury):
6036 * mail/unrmail.el (unrmail):
6037 * net/tls.el (open-tls-stream):
6038 * textmodes/picture.el (picture-mouse-set-point):
6039 Remove unused bindings.
6040
8c8fc5df
MA
60412012-04-19 Michael Albinus <michael.albinus@gmx.de>
6042
6043 * net/tramp.el (tramp-action-password): Let-bind
6044 `enable-recursive-minibuffers' to t.
6045
a77b0ac9
SS
60462012-04-18 Sam Steingold <sds@gnu.org>
6047
6048 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6049 instead of 'string to accommodate values like [f11].
6050 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6051 * progmodes/gdb-mi.el: Likewise.
6052
12a106a9
LL
60532012-04-18 Leo Liu <sdl.web@gmail.com>
6054
6055 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6056 current buffer.
6057 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6058 LOCAL is nil.
6059
bc6494ef
CY
60602012-04-18 Chong Yidong <cyd@gnu.org>
6061
6062 * simple.el (line-move): Use forward-line if in batch mode
6063 (Bug#11053).
6064
c09c46b2
CS
60652012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6066
6067 * files.el (after-find-file): Do not try to add a final newline if
6068 the buffer is read-only (Bug#11156).
6069
5f6530ea
RS
60702012-04-17 Richard Stallman <rms@gnu.org>
6071
6072 * mail/rmail.el (rmail-start-mail):
6073 Pass (rmail-mail-return...) for the return-action.
6074 Pass (rmail-yank-current-message...) for the yank-action.
6075 (rmail-yank-current-message): New function.
6076 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6077 (rmail-reply): Likewise.
6078 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6079
6080 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6081 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6082 buffer, not newbuf.
6083
197b6f3c
JB
60842012-04-17 Juanma Barranquero <lekktu@gmail.com>
6085
6086 * server.el (server-ensure-safe-dir): Simplify.
6087
2311d8e5 60882012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6089
2311d8e5
GM
6090 * emacs-lisp/smie.el: Provide smarter auto-filling.
6091 (smie-auto-fill): New function.
6092 (smie-setup): Use it.
98fb480e 6093
2311d8e5
GM
6094 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6095
60962012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6097
6098 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6099 (comment-indent): Use it.
6100
2311d8e5 61012012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6102
6103 * ses.el: The overall change is to add cell renaming, that is
6104 setting fancy names for cell symbols other than name matching
6105 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6106 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6107 (ses-create-cell-variable): New defun.
2311d8e5 6108 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6109 (ses-relocate-formula): Relocate formulas only for cells the
6110 symbols of which are not renamed, i.e. symbols whose names do not
6111 match regexp "\\`[A-Z]+[0-9]+\\'".
6112 (ses-relocate-all): Relocate values only for cells the symbols of
6113 which are not renamed.
6114 (ses-load): Create cells variables as the (ses-cell ...) are read,
6115 in order to check row col consistency with cell symbol name only
6116 for cells that are not renamed.
6117 (ses-replace-name-in-formula): New defun.
6118 (ses-rename-cell): New defun.
4bdf2ad2 6119
fc72b15c
PO
61202012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6121
6122 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6123 New option (bug#11118).
6124 (perl-calculate-indent): Respect it.
6125
12e10e61
GM
61262012-04-17 Glenn Morris <rgm@gnu.org>
6127
6128 * dired-aux.el (dired-mark-read-string): Doc fix.
6129
30009afd
DA
61302012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6131
6132 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6133 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6134
41f03f4d
GM
61352012-04-17 Glenn Morris <rgm@gnu.org>
6136
6137 * mouse.el (mouse-drag-track):
6138 * speedbar.el (speedbar-frame-mode):
6139 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6140
f45f90f3
LL
61412012-04-16 Leo Liu <sdl.web@gmail.com>
6142
6143 * progmodes/python.el: Trivial cleanup.
6144
94ee8db5
GM
61452012-04-16 Glenn Morris <rgm@gnu.org>
6146
121b8917
GM
6147 * vc/vc.el (vc-string-prefix-p):
6148 * vc/pcvs-util.el (cvs-string-prefix-p):
6149 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6150 * mpc.el (mpc-string-prefix-p):
6151 Make all of these into obsolete aliases for string-prefix-p.
6152 Update callers.
6153 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6154
1197ecfa
GM
6155 * textmodes/two-column.el: Move custom options to the start.
6156 (frame-width): Remove compat definition.
6157 (2C-associate-buffer, 2C-dissociate):
6158 Use with-current-buffer rather than save-excursion.
6159 (2C-dissociate): Force a mode-line update.
6160 (2C-autoscroll): Use ignore-errors.
6161
099e7202
GM
6162 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6163 Autoload trivia.
6164
bf350d6a
GM
6165 * emacs-lisp/cl-extra.el (*random-state*):
6166 Remove unnecessary declaration.
6167
0e829eab
GM
6168 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6169
e3ad7552
GM
6170 * play/cookie1.el (cookie-snarf):
6171 Give an explicit error if input file cannot be read.
6172
68892d27
GM
6173 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6174
20f0c46d
GM
6175 * progmodes/perl-mode.el (c-macro-expand):
6176 Remove unnecessary autoload (it is in loaddefs.el).
6177
5a0978ce
GM
6178 * textmodes/picture.el (picture-desired-column)
6179 (picture-update-desired-column): Convert comments to doc-strings.
6180 (picture-substitute): Remove function.
6181 (picture-mode-map): Initialize in the defvar.
6182
6b955486
GM
6183 * woman.el: Remove eval-after-load for tar-mode.
6184 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6185 (woman-tar-extract-file): Autoload it.
6186
94ee8db5
GM
6187 * frame.el (automatic-hscrolling): Make this alias obsolete.
6188
177eca34
AM
61892012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6190
090bd7cb 6191 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6192 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6193 (ispell-dictionary-base-alist): Revert to original XEmacs
6194 friendly version for default. [:alpha:] will be added in
090bd7cb 6195 `ispell-set-spellchecker-params' if needed.
177eca34 6196
c505aaeb
CY
61972012-04-16 Chong Yidong <cyd@gnu.org>
6198
b19dd9d1 6199 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6200 (imagemagick-register-types): Use it.
6201 (imagemagick-types-inhibit): Add :set function. Allow new value
6202 of t to inhibit all types.
6203
6204 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6205 so we can preload it.
6206
6207 * loadup.el (fboundp): Preload regexp-opt, needed by
6208 imagemagick-register-types.
6209
60efac0f
CY
62102012-04-15 Chong Yidong <cyd@gnu.org>
6211
6212 * frame.el (scrolling): Remove nearly unused customization group.
6213
6214 * scroll-all.el (scroll-all-mode): Move to windows group.
6215
5dd1713e
CY
62162012-04-15 Chong Yidong <cyd@gnu.org>
6217
6218 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6219
e6fd457e
CY
62202012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6223 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6224
e153c136
GM
62252012-04-15 Glenn Morris <rgm@gnu.org>
6226
6227 * simple.el (process-file-side-effects): Doc fix.
6228
e6fd457e 62292012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6230
6231 * international/mule-cmds.el (set-language-environment): Doc fix.
6232
3603c3b1
JB
62332012-04-14 Juanma Barranquero <lekktu@gmail.com>
6234
6235 * server.el (server-auth-key, server-generate-key): Doc fixes.
6236 (server-get-auth-key): Doc fix. Use `string-match-p'.
6237 (server-start): Reflow docstring.
6238
e6de100c
LI
62392012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6240
6241 * server.el (server-generate-key): `called-interactively-p'
6242 requires a parameter.
6243
29734c21
MN
62442012-04-14 Michal Nazarewicz <mina86@mina86.com>
6245
6246 * server.el (server-auth-key): New variable.
75f1671a 6247 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6248 (server-start): Use the new variable and functions to allow
6249 setting a permanent server key (bug#9423).
6250
d65c9521
LL
62512012-04-14 Leo Liu <sdl.web@gmail.com>
6252
6253 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6254
5ae255c7
PE
62552012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6256
6257 Spelling fixes.
6258 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6259 Emacs uses American spelling.
6260
d5e6342e
JB
62612012-04-14 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6264 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6265 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6266 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6267
ab036cd7
SM
62682012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * progmodes/which-func.el (which-func-modes): Change default.
6271
35dc09a1 62722012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6273
6274 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6275 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6276
35dc09a1 62772012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6278
6279 * custom.el (custom-theme-set-variables): Doc fix.
6280
35dc09a1 62812012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6282
6283 * international/mule.el (set-auto-coding-for-load): Doc fix.
6284
35dc09a1 62852012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6286
35dc09a1
GM
6287 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6288 imenu work again for Objective C Mode. Correct the *-index values,
6289 these having been disturbed by a previous change in 2011-08.
57f845ee 6290
0de3da9f
AM
6291 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6292 Correct two search limits.
6293
35dc09a1 62942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6295
6296 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6297
35dc09a1 62982012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6299
6300 * international/characters.el: Fix sorting.
6301
35dc09a1 63022012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6303
6304 * international/characters.el: Add more missing Latin case pairs.
6305
35dc09a1 63062012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6307
6308 * files.el (dir-locals-set-class-variables): Doc fix.
6309
35dc09a1 63102012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6311
3f1b5bf8
EZ
6312 * international/characters.el: Add set-case-syntax-pair call for
6313 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6314 counterpart. (Bug#11209)
6315
9f847f41
EZ
6316 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6317
35dc09a1 63182012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6319
6320 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6321
35dc09a1 63222012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6323
35dc09a1
GM
6324 * textmodes/ispell.el (ispell-dictionary-base-alist):
6325 Add data for Hebrew.
e2627d21 6326
35dc09a1 63272012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6328
35dc09a1
GM
6329 * net/rcirc.el (rcirc-cmd-quit):
6330 Revert 2012-03-18 change (Bug#11192).
5c14e333 6331
35dc09a1 63322012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6333
6334 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6335
35dc09a1 63362012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6337
4517fe3a
SM
6338 * minibuffer.el (completion-in-region-mode-map):
6339 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6340
b472a594
VD
63412012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6342
6343 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6344
09b95ce3
MY
63452012-04-13 Masatake YAMATO <yamato@redhat.com>
6346
6347 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6348 to allow `C-M-f' and `C-M-b' to move to the nearest path
6349 separator (bug#9511).
6350
4b63a9ca
LI
63512012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6352
6353 * avoid.el: Require cl when compiling. And also move the
6354 `provide' to the end.
6355
7b55b8bf
TV
63562012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6357
6358 * avoid.el (mouse-avoidance-banish-position): New variable.
6359 (mouse-avoidance-banish-destination): Use it (bug#10165).
6360
adedaa1f
LL
63612012-04-13 Leo Liu <sdl.web@gmail.com>
6362
6363 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6364
70e74021
KB
63652012-04-13 Ken Brown <kbrown@cornell.edu>
6366
6367 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6368 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6369 (browse-url-filename-alist): For the same reason, don't modify
6370 file:// URLs on Cygwin.
6371
e75e89ba
SM
63722012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6375 the region on shift if the binding is already shifted (bug#11221).
6376
82f289a4
GM
63772012-04-12 Glenn Morris <rgm@gnu.org>
6378
6379 * mail/mailpost.el: Move to obsolete/.
6380
d333dc4c
DA
63812012-04-12 Drew Adams <drew.adams@oracle.com>
6382
6383 * imenu.el (imenu--generic-function): Ignore invisible definitions
6384 (bug#10123).
6385
0d15b5ba
VD
63862012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6387
6388 * hexl.el (hexl-bits): New variable.
6389 (hexl-options): Mention the variable in the doc string.
75f1671a 6390 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6391 (hexl-mode): Mention the new variable.
75f1671a
JB
6392 (hexl-mode, hexl-current-address, hexl-current-address):
6393 Use the displen.
0d15b5ba
VD
6394 (hexl-ascii-start-column): New function.
6395 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6396 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6397
64a440db
AM
63982012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6399
6400 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6401 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6402 the encoding, as expected by hunspell.
6403
6decb6c2
SM
64042012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * battery.el (battery--linux-sysfs-regexp): New const.
6407 (battery-status-function): Use it. Remove yeeloong special case.
6408 (battery-yeeloong-sysfs): Remove.
6409 (battery-echo-area-format): Remove yeeloong special case.
6410
088be6fb
SM
64112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6622e416
SM
6413 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6414 Reported by Noah Friedman.
6415
088be6fb
SM
6416 * subr.el (read-passwd): Use read-string.
6417
b49f886e
LMI
64182012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6419
6420 * vcursor.el (vcursor-move): Increase the priority of the overlay
6421 (bug#9663).
6422
a63067fc
DD
64232012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6424
6425 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6426 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6427
ac3cf14a
WS
64282012-04-11 William Stevenson <yhvh2000@gmail.com>
6429
6430 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6431 define-minor-mode (bug#10760).
6432
c4fc691b 64332012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6434
4d6769e1 6435 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6436 that directories matching `grep-find-ignored-files' won't be
6437 pruned (bug#10351).
6438
af23e2e5
CY
64392012-04-11 Chong Yidong <cyd@gnu.org>
6440
6441 * startup.el (command-line): Remove support for long-obsolete
6442 variable font-lock-face-attributes.
6443
ab7ce8c1
GM
64442012-04-11 Glenn Morris <rgm@gnu.org>
6445
6446 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6447
de8c03dc
SM
64482012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * window.el (window--state-get-1): Obey window-point-insertion-type.
6451
050cc68b
LB
64522012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6453
6454 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6455 to previous function when point is on the first character of a
75f1671a 6456 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6457
a38c310c
GM
64582012-04-11 Glenn Morris <rgm@gnu.org>
6459
effed0c2
GM
6460 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6461 not just file-errors.
6462
a38c310c
GM
6463 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6464 (vc-bzr-sha1): Use internal sha1.
6465
0221e323
SM
64662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6467
6468 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6469
43956923
SG
64702012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6471
6472 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6473 that start in the middle of the line (bug#10496).
6474
6a8c9eaf
DN
64752012-04-10 Dan Nicolaescu <dann@gnu.org>
6476
6477 * battery.el (battery-linux-proc-acpi): Only one battery is
6478 discharged at a time, but that seems to confuse battery.el when
6479 computing `rate-type' for the battery not being discharged
6480 (bug#10332).
6481
1930bf5d
SM
64822012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6483
2a718f6f
SM
6484 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6485
599430d0
SM
6486 * international/quail.el: Use dolist and simplify.
6487 (quail-define-package, quail-update-keyboard-layout)
6488 (quail-define-rules): Use dolist.
6489 (quail-insert-kbd-layout, quail-get-translation): CSE.
6490
a2754b6c
SM
6491 * tmm.el: Use dolist, remove left over hook.
6492 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6493 Use dolist.
6494 (calendar-load-hook): Don't mess with it.
6495
1930bf5d
SM
6496 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6497 Use derived-mode-p. Run the diff asynchronously.
6498
9f67961c
LMI
64992012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6500
6501 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6502
2a8ce227
JB
65032012-04-10 Juanma Barranquero <lekktu@gmail.com>
6504
6505 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6506 (list-dynamic-libraries--loaded): New function.
6507 (list-dynamic-libraries--refresh): Use it.
6508
8f33b5f8
NW
65092012-04-10 Nathan Weizenbaum <nweiz@google.com>
6510
1930bf5d
SM
6511 * progmodes/python.el (python-fill-paragraph):
6512 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6513 disabled (bug#7018).
6514
b12f0439
L
65152012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6516
1930bf5d 6517 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6518 DOS/MS Windows for the Baltic languages. There are still plenty
6519 of texts written in this encoding/codepage (bug#6519).
b12f0439 6520
57c3bd01
GM
65212012-04-10 Glenn Morris <rgm@gnu.org>
6522
6523 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6524 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6525
6c3eab30
FA
65262012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6527
1930bf5d 6528 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6529 next-line "n" and previous-line "p" in order to make recentf more
6530 consistent with ibuffer, dired or org-mode (bug#9387).
6531
24d78a88
LMI
65322012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6533
bc72b5d9
LMI
6534 * image.el (put-image): Return the overlay created instead of the
6535 optional input string (bug#7834). Note that this may break code
6536 that is (for some reason or other) depending on `put-image'
6537 returning the string.
6538
bd2dba5a
LMI
6539 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6540
74beb59f
LMI
6541 * simple.el (zap-to-char): Allow zapping using input methods
6542 (bug#1580).
6543
24d78a88
LMI
6544 * textmodes/fill.el (fill-region): Leave point and mark where they
6545 were before filling (bug#5399).
6546
263f20cd
GM
65472012-04-09 Glenn Morris <rgm@gnu.org>
6548
6549 * version.el (emacs-bzr-get-version):
6550 Handle lightweight checkouts of local branches.
6551
58d1f797
AS
65522012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6553
263f20cd 6554 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6555
b4d3bc10
CY
65562012-04-09 Chong Yidong <cyd@gnu.org>
6557
6558 * custom.el (custom-variable-p): Return nil for non-symbol
6559 arguments instead of signaling an error.
6560 (user-variable-p): Obsolete alias for custom-variable-p.
6561
6562 * apropos.el (apropos-variable):
6563 * files-x.el (read-file-local-variable):
6564 * simple.el (set-variable):
6565 * woman.el (woman-mini-help):
6566 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6567
fd06db5d
GM
65682012-04-09 Glenn Morris <rgm@gnu.org>
6569
e5fcdb5e
GM
6570 * startup.el (normal-top-level): Don't look for leim-list.el
6571 in places where it will not be found. (Bug#910)
6572
fd06db5d
GM
6573 * international/mule-cmds.el (set-default-coding-systems):
6574 * files.el (normal-mode):
6575 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6576 This function was removed with ucs-tables.el in 2008.
6577
b39bb7e1
EZ
65782012-04-08 Eli Zaretskii <eliz@gnu.org>
6579
6580 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6581 ispell-encoding8-command to "-i", without a trailing space.
6582 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6583 separate command-line arguments, to specify the encoding, since
6584 that's how hunspell expects it.
6585
5c5b8e23
GM
65862012-04-08 Glenn Morris <rgm@gnu.org>
6587
6588 * loadup.el: Load bindings before cus-start.
6589 This reduces somewhat the number of "rogue" settings in emacs -Q.
6590
a1ed8b05
GM
65912012-04-07 Glenn Morris <rgm@gnu.org>
6592
6593 * version.el (emacs-bzr-get-version): New function.
dfae128a 6594 (emacs-bzr-version): New variable.
a1ed8b05
GM
6595 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6596 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6597
b142f158
EZ
65982012-04-07 Eli Zaretskii <eliz@gnu.org>
6599
dfae128a
GM
6600 * international/uni-bidi.el, international/uni-category.el:
6601 * international/uni-combining.el, international/uni-decimal.el:
6602 * international/uni-decomposition.el, international/uni-digit.el:
6603 * international/uni-lowercase.el, international/uni-mirrored.el:
6604 * international/uni-name.el, international/uni-numeric.el:
6605 * international/uni-titlecase.el, international/uni-uppercase.el:
6606 Update for Unicode 6.1.
b142f158 6607
9078ead6
EZ
66082012-04-07 Eli Zaretskii <eliz@gnu.org>
6609
6610 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6611
f23d2c7d
LMI
66122012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6613
6614 * window.el (shrink-window): Mention the `window-min-height'
6615 variable in the doc string.
6616
0a0a3573
BG
66172012-04-05 Bastien Guerry <bzg@altern.org>
6618
6619 * color.el (color-lighten-name): Fix typo.
6620
e5248ac9
SM
66212012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * server.el (server--on-display-p): New function.
6624 (server--on-display-p): Use it.
6625
b4243e22
GV
66262012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6627
6628 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6629 (bug#11145).
6630
305d9f44
SM
66312012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * comint.el (comint--common-quoted-suffix): Check string boundary
6634 before comparing (bug#11158).
6635 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6636
3d439cd1
CY
66372012-04-04 Chong Yidong <cyd@gnu.org>
6638
321cc491
CY
6639 * minibuffer.el (completion-extra-properties): Doc fix.
6640
3d439cd1
CY
6641 * subr.el (delayed-warnings-hook): Doc fix.
6642
2d562c0f
DU
66432012-04-04 Daiki Ueno <ueno@unixuser.org>
6644
6645 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6646 selection (Bug#11159).
6647 (epa-insert-keys): Inform that the default public key will be
6648 exported if no key is selected.
6649
4443f204
RS
66502012-04-04 Richard Stallman <rms@gnu.org>
6651
6652 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6653
529c06b6
CY
66542012-04-03 Chong Yidong <cyd@gnu.org>
6655
6656 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6657 mail-insert-file, not its obsolete alias mail-attach-file.
6658
66b907dc
MA
66592012-04-03 Michael Albinus <michael.albinus@gmx.de>
6660
6661 * notifications.el (notifications-notify): Fix docstring.
6662
c0ea195d
GM
66632012-04-02 Glenn Morris <rgm@gnu.org>
6664
6665 * emacs-lisp/authors.el (authors-aliases): Another addition.
6666
5ca64e00
MA
66672012-04-02 Michael Albinus <michael.albinus@gmx.de>
6668
6669 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6670 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6671 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6672
42ee526b
CY
66732012-04-01 Chong Yidong <cyd@gnu.org>
6674
6675 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6676 Handle root directory properly.
6677 (copy-directory): Caller changed.
6678
6679 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6680 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6681
0b021094
GM
66822012-03-31 Glenn Morris <rgm@gnu.org>
6683
40f86458
GM
6684 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6685
7019c177
GM
6686 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6687
a1daddd6
GM
6688 * calendar/calendar.el (calendar-window-list)
6689 (calendar-hide-window): Restore. (Bug#11140)
6690 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6691
0b021094
GM
6692 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6693
40311efc
TV
66942012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6695
6696 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6697 Check if file is a symlink (Bug#10489).
6698
6699 * files.el (copy-directory): Likewise.
6700
5319014e
CY
67012012-03-30 Chong Yidong <cyd@gnu.org>
6702
6703 * image.el (imagemagick-types-inhibit)
6704 (imagemagick-register-types): Doc fix.
6705
935d1290
AM
67062012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6707
090bd7cb 6708 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6709 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6710 and treats ~word as ordinary words in pipe mode.
935d1290 6711
61c6e8fd
GM
67122012-03-30 Glenn Morris <rgm@gnu.org>
6713
6714 * tutorial.el (help-with-tutorial): Ensure local variables don't
6715 happen to make the buffer read-only. (Bug#11127)
6716
81fdff00
SM
67172012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6720 (perl-calculate-indent): Return `noindent' in strings.
6721
6e7a6ec0
SS
67222012-03-28 Sam Steingold <sds@gnu.org>
6723
6724 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6725 instead of the broken adhockery which does not prevent calendar
6726 buffers from being displayed at random after exit.
6727 (calendar-window-list, calendar-hide-window): Remove the broken
6728 adhockery.
6729
fee88ca0
GM
67302012-03-28 Glenn Morris <rgm@gnu.org>
6731
6732 * replace.el (query-replace-map): Doc fix.
6733
38de3354
AS
67342012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6735
6736 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6737 contents. (Bug#11109)
6738
b973155e
SM
67392012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6742 (bug#11077).
6743 (avl-tree--check, avl-tree--check-node): New funs.
6744
dcb6e7b3
MR
67452012-03-27 Martin Rudalics <rudalics@gmx.at>
6746
6747 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6748 (switch-to-prev-buffer, switch-to-next-buffer):
6749 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6750 showing a buffer already is done on the same frame.
6751
b4fa35fa
GM
67522012-03-27 Glenn Morris <rgm@gnu.org>
6753
6754 * startup.el (mail-host-address): Doc fix.
6755
f9210e18
SM
67562012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6759 than 197 variables.
6760
c0bf7753
AF
67612012-03-26 Ami Fischman <ami@fischman.org>
6762
6763 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6764
33da7b16
GM
67652012-03-26 Glenn Morris <rgm@gnu.org>
6766
02243d9d
GM
6767 * files.el (save-buffers-kill-emacs): Doc fix.
6768
33da7b16
GM
6769 * startup.el (normal-top-level, command-line, command-line-1):
6770 Give them doc strings.
6771
e5a69fd0
EZ
67722012-03-25 Eli Zaretskii <eliz@gnu.org>
6773
6774 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6775 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6776
9a69676a
CY
67772012-03-25 Chong Yidong <cyd@gnu.org>
6778
4125cb8b
CY
6779 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6780 theme if it was previously enabled before (Bug#11031).
6781
dd470960
CY
6782 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6783 spec with custom-face-get-current-spec if its :shown-value is not
6784 determined yet (Bug#9337).
4125cb8b 6785 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6786
9a69676a
CY
6787 * button.el (button-at): Minor addition to docstring.
6788
6e7e90fa
SL
67892012-03-24 Simon Leinen <simon.leinen@gmail.com>
6790
6791 * vc/vc.el (vc-merge): Fix a prompt.
6792
f06e2758
CY
67932012-03-24 Chong Yidong <cyd@gnu.org>
6794
6795 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6796 point (Bug#9623).
6797
6e7e90fa
SL
6798 * button.el (button-at): Minor addition to docstring.
6799
b9d0879b
SM
68002012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * newcomment.el (comment-choose-indent): No space after BOL.
6803
e71cebb3
SS
68042012-03-22 Sam Steingold <sds@gnu.org>
6805
6806 * window.el (switch-to-prev-buffer): Revert last patch because the
6807 bug turned out to be an advertised feature (Elisp manual 28.14).
6808
335aff35
GM
68092012-03-22 Glenn Morris <rgm@gnu.org>
6810
6811 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6812 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6813
c676576a
LMI
68142012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6815
6816 * net/network-stream.el (network-stream-open-starttls): Make error
6817 message under Windows be less misleading.
6818
126f3d39
LW
68192012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6820
6821 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6822 understands (bug#9942).
6823
64fee311
CY
68242012-03-22 Chong Yidong <cyd@gnu.org>
6825
6826 * simple.el (end-of-visible-line): Handle return value of
6827 next-single-property-change properly (Bug#9371).
6828
a640d29a
KH
68292012-03-22 Kenichi Handa <handa@m17n.org>
6830
6831 * international/quail.el (quail-insert-kbd-layout): Fix previous
6832 change. To avoid unwanted bidi reordering, use
6833 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6834
39675016
DG
68352012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6836
6837 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6838 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6839 (ruby-beginning-of-indent): Be more careful with the difference
6840 between word-boundary and symbol boundary.
6841 (ruby-mode-syntax-table): Make : a symbol constituent.
6842
0a6934fc 68432012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6844
3d008e4f
SM
6845 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6846
0a6934fc
SM
68472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6848
af67c9d7
SM
6849 * progmodes/etags.el (tags-completion-at-point-function):
6850 Improve last fix.
6851
1acad97c
SM
6852 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6853
e298b5da
SS
68542012-03-21 Sam Steingold <sds@gnu.org>
6855
6856 * progmodes/etags.el (tags-completion-at-point-function):
6857 Avoid the error when point is inside the pattern.
6858
91d82a70
JY
68592012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6860
6861 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6862 line (Bug#10855).
6863
69188b79
CY
68642012-03-21 Drew Adams <drew.adams@oracle.com>
6865
6866 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6867
99fc91fe
AK
68682012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6869
6870 * ido.el (ido-set-current-directory, ido-read-internal)
6871 (ido-choose-completion-string, ido-completion-help): Handle nil
6872 value of ido-completion-buffer (Bug#11008).
6873
087bbb4c
SS
68742012-03-21 Sam Steingold <sds@gnu.org>
6875
6876 * window.el (switch-to-prev-buffer): Do not switch to a visible
6877 window previous buffer, just like with the frame previous buffers.
6878
fb5b8aca
CY
68792012-03-21 Chong Yidong <cyd@gnu.org>
6880
6881 * faces.el (make-face, make-empty-face, copy-face):
6882 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6883 Doc fixes.
6884
dc9924b8
SM
68852012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6888 (widget-complete): Remove broken use of it.
6889
f0bcceb9
CY
68902012-03-20 Chong Yidong <cyd@gnu.org>
6891
dc9924b8
SM
6892 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6893 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6894 characters.
6895
ee52ebf3
TH
68962012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6897
6898 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6899 to draw rectangles, not squares. (Regression introduced by revno
6900 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6901
4c5779ab
CY
69022012-03-18 Chong Yidong <cyd@gnu.org>
6903
6904 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6905 it is not yet defined (for temacs).
6906
15360934
LL
69072012-03-18 Leo Liu <sdl.web@gmail.com>
6908
dc9924b8 6909 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6910
d9a8eb66
EZ
69112012-03-17 Eli Zaretskii <eliz@gnu.org>
6912
6913 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6914 (ispell-choices-win-default-height, ispell-silently-savep)
6915 (ispell-dictionary-alist, ispell-encoding8-command)
6916 (ispell-check-version, ispell-aspell-find-dictionary)
6917 (ispell-valid-dictionary-list, ispell-words-keyword)
6918 (ispell-get-word, ispell-internal-change-dictionary)
6919 (ispell-region, ispell-skip-region-list)
6920 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6921 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6922 (ispell-message-text-end, ispell-message)
6923 (ispell-buffer-local-parsing): Doc fix.
6924
f02ff80d
J
69252012-03-13 Jambunathan K <kjambunathan@gmail.com>
6926
6927 * htmlfontify.el: Add support for code block fontification for ODT
6928 export (Bug #9914).
6929 (hfy-optimisations): Define new option
6930 `body-text-only'
6931 (hfy-fontify-buffer): Honor above setting.
6932 (hfy-begin-span, hfy-end-span): New routines factored out form
6933 `hfy-fontify-buffer'.
6934 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6935 that permit insertion of custom tags.
6936 (hfy-fontify-buffer): Use above handlers.
6937 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6938 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6939 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6940 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6941 bind a special variable `hfy-user-sheet-assoc'.
6942 (htmlfontify-string): New defun.
6943 (hfy-compile-face-map): Make sure that the last char in the
6944 buffer is correctly fontified.
6945 (hfy-face-resolve-face): Whitespace only change.
6946
9ac7a13f
EZ
69472012-03-17 Eli Zaretskii <eliz@gnu.org>
6948
6949 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6950 message more clear.
6951
e2b5bdd7
LL
69522012-03-16 Leo Liu <sdl.web@gmail.com>
6953
6954 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6955
2e492df3
AM
69562012-03-16 Alan Mackenzie <acm@muc.de>
6957
6958 Further optimise the handling of large macros.
6959
6960 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6961 limit to a call of `c-literal-limits'.
6962 (c-determine-+ve-limit): New function.
dc9924b8
SM
6963 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6964 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6965 In CASE 5B, restrict a search limit to 500.
6966 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6967
6968 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6969 Restrict macro bounds to +-500 from after-change's BEG END.
6970
50e94f0c
LL
69712012-03-16 Leo Liu <sdl.web@gmail.com>
6972
6973 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6974
6f09f6ed
AH
69752012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6976
6977 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6978 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6979
c7e73d51
GM
69802012-03-16 Glenn Morris <rgm@gnu.org>
6981
da986230
GM
6982 * view.el (view-buffer, view-buffer-other-window)
6983 (view-buffer-other-frame): Doc fixes re special mode-class.
6984
0835f01e
GM
6985 * subr.el (eval-after-load): If named feature is provided not from
6986 a file, run after-load forms. (Bug#10946)
6987
c7e73d51
GM
6988 * calendar/calendar.el (calendar-insert-at-column):
6989 Handle non-unit-width characters a bit better. (Bug#10978)
6990
3f2eafd1
CY
69912012-03-15 Chong Yidong <cyd@gnu.org>
6992
6993 * emacs-lisp/ring.el (ring-extend): New function.
6994 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6995
6996 * comint.el (comint-read-input-ring)
6997 (comint-add-to-input-history): Grow comint-input-ring lazily.
6998
103af3fe
SM
69992012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7000
663b1677
SM
7001 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7002 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7003
103af3fe
SM
7004 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7005 (imenu-add-to-menubar): Don't add a redundant index.
7006 (imenu-update-menubar): Handle a dynamically composed keymap.
7007
899cb7cb
KY
70082012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7009
7010 * mail/sendmail.el (mail-encode-header):
7011 Bind rfc2047-encode-encoded-words to nil.
7012
3809f91d
GM
70132012-03-13 Glenn Morris <rgm@gnu.org>
7014
7015 * calendar/calendar.el (calendar-string-spread):
7016 Handle non-unit-width characters a bit better. (Bug#10978)
7017
9e345a01
LL
70182012-03-13 Leo Liu <sdl.web@gmail.com>
7019
7020 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7021 directory and file as argument (Bug#10822).
7022
4a07df36
KS
70232012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7024
7025 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7026 For dynamically generated code, follow $PC.
7027 (gdb-disassembly-handler-custom): Handle no function name case.
7028
4aaa9356
TL
70292012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7030
7031 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7032 * emulation/ws-mode.el (ws-query-replace):
7033 * sort.el (sort-regexp-fields):
7034 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7035
225979da
SM
70362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * dabbrev.el: Fix cycle completion order (bug#10963).
7039 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7040 (dabbrev-completion): Don't use an obarray; provide
7041 a cycle-sort-function.
7042
e2f1fdab
LL
70432012-03-12 Leo Liu <sdl.web@gmail.com>
7044
dc9924b8 7045 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7046 (kill-do-not-save-duplicates): Doc fix.
7047
b19490ed
SM
70482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * dabbrev.el: Fix cycle completion (bug#10963).
7051 Use lexical binding and wrap to 80 columns.
7052 (dabbrev-completion): Delay computing the list of completions.
7053
4b05d722
KH
70542012-03-12 Kenichi Handa <handa@m17n.org>
7055
7056 * international/quail.el (quail-insert-kbd-layout): Surround each
7057 row by LRO and PDF instead of inserting many LRMs. Pad the left
7058 and right of each non-spacing marks. Insert invisible space
7059 between lower and upper characters to prevent composition.
7060
dbbc2e69
SM
70612012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * minibuffer.el (minibuffer-complete): Don't get confused when the
7064 function is run twice via different commands (bug#10958).
7065 (complete-with-action): Fix docstring.
7066
292112ed
CY
70672012-03-12 Chong Yidong <cyd@gnu.org>
7068
5d1ac394
CY
7069 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7070 (nxml-completion-at-point-function): New function.
7071 (nxml-mode): Use it.
7072 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7073
292112ed
CY
7074 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7075 Load generated autoloads file before byte compiling (Bug#10970).
7076 (package--make-autoloads-and-compile): New helper fun.
7077
4098f8f7
CS
70782012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7079
7080 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7081
8f754691
MA
70822012-03-11 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * autorevert.el (auto-revert-handler): Ensure, that
7085 file-readable-p is applied only for local files or in
7086 auto-revert-tail-mode.
7087
e29ab36b
AS
70882012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7089
dbbc2e69
SM
7090 * server.el (server-eval-at): Handle non-tcp connections.
7091 Decode result string.
ad0bf5b6 7092
e29ab36b
AS
7093 * server.el (server-msg-size): New constant.
7094 (server-reply-print): New function.
7095 (server-eval-and-print): Use it.
7096 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7097 Handle -print-nonl.
7098
de5939ba
CS
70992012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7100
7101 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7102 (Bug#10987).
7103
0c93eabf
CY
71042012-03-11 Chong Yidong <cyd@gnu.org>
7105
397a688f
CY
7106 * simple.el (goto-line): Doc fix (Bug#9938).
7107
2cc775f9
CY
7108 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7109
0c93eabf
CY
7110 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7111 when finished (Bug#10963).
7112
c491fa41
MR
71132012-03-11 Martin Rudalics <rudalics@gmx.at>
7114
7115 * window.el (split-window-below): Fix bug in case where
7116 split-window-keep-point is nil (Bug#10971).
7117
300e8fa5
JL
71182012-03-11 Juri Linkov <juri@jurta.org>
7119
7120 * replace.el (replace-highlight): Set isearch-word to nil
7121 unconditionally. (Bug#10887)
7122
dbf6c5a1
EZ
71232012-03-10 Eli Zaretskii <eliz@gnu.org>
7124
7125 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7126 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7127 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7128 (mairix-widget-create-query): Add usage information about mairix
7129 search forms: negating words, searching for substrings, etc.
7130
b9e501de
JP
71312012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7132
7133 * international/fontset.el (font-encoding-alist): Add an entry for
7134 ksx1001 (Bug#5667).
7135
92795c91
RS
71362012-03-10 Richard Stallman <rms@gnu.org>
7137
1694e6c1
RS
7138 * mail/sendmail.el (mail-encode-header):
7139 Set rfc2047-encode-encoded-words.
7140
607e8555
RS
7141 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7142
de3bc99a
RS
7143 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7144 view buffer means not swapped.
7145 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7146 (rmail-write-region-annotate): Error if real text has disappeared.
7147
92795c91
RS
7148 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7149
699bd04e
CY
71502012-03-10 Chong Yidong <cyd@gnu.org>
7151
7152 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7153 * emulation/cua-base.el (cua--init-keymaps):
7154 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7155
570a1714
MR
71562012-03-10 Martin Rudalics <rudalics@gmx.at>
7157
dbbc2e69
SM
7158 * speedbar.el (speedbar-unhighlight-one-tag-line):
7159 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7160
82dcf4e4
CY
71612012-03-10 Chong Yidong <cyd@gnu.org>
7162
7a2c7ca7
CY
7163 * minibuffer.el (completion-in-region, completion-help-at-point):
7164 Give the completion field overlay a high priority (Bug#6830).
7165
82dcf4e4
CY
7166 * dired.el (dired-goto-file): Recognize absolute file name
7167 listings (Bug#7126).
7168 (dired-goto-file-1): New helper function.
7169 (dired-toggle-read-only): Inhibit warnings.
7170
052e28ac
MA
71712012-03-09 Michael Albinus <michael.albinus@gmx.de>
7172
75f1671a 7173 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7174 there are no properties.
7175
95d5e396
LL
71762012-03-09 Leo Liu <sdl.web@gmail.com>
7177
7178 * savehist.el (savehist-printable): Stricter check for string
7179 value (Bug#10937).
7180
3f018d6d
EZ
71812012-03-09 Eli Zaretskii <eliz@gnu.org>
7182
dbbc2e69
SM
7183 * mail/smtpmail.el (smtpmail-send-it):
7184 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7185 valid mbox format.
7186
f7fd3d79
GM
71872012-03-09 Glenn Morris <rgm@gnu.org>
7188
7189 * files.el (dir-locals-find-file):
7190 Don't check result is regular, readable.
7191 (dir-locals-read-from-file): Demote errors.
7192
6ff6e72f
EZ
71932012-03-08 Eli Zaretskii <eliz@gnu.org>
7194
dbbc2e69
SM
7195 * international/quail.el (quail-insert-kbd-layout):
7196 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7197 layout cell, to prevent their reordering by bidi display engine.
7198 For details, see the discussion in
7199 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7200
9cec7834
AM
72012012-03-08 Alan Mackenzie <acm@muc.de>
7202
7203 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7204 the starting position; make it extend the marked region when
7205 invoked repeatedly - all under appropriate circumstances.
7206 Fixes bugs #5525, #10906.
7207
9a40b8d4
GM
72082012-03-08 Glenn Morris <rgm@gnu.org>
7209
7210 * files.el (locate-dominating-file, dir-locals-find-file):
7211 Undo 2012-03-06 change.
7212
7a08ed35
EZ
72132012-03-07 Eli Zaretskii <eliz@gnu.org>
7214
dbbc2e69
SM
7215 * international/quail.el (quail-help):
7216 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7217 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7218 for the reason.
7219
5aca4f71 72202012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7221
7222 Avoid superfluous registering of signals. (Bug#10807)
7223
7224 * notifications.el (notifications-on-action-object)
7225 (notifications-on-close-object): New defvars.
7226 (notifications-on-action-signal, notifications-on-closed-signal):
7227 Unregister the signal if not needed any longer.
7228 (notifications-notify): Register `notifications-action-signal' or
7229 `notifications-closed-signal', if :on-action or :on-close has been
7230 passed as argument.
7231
78e8b10a
CY
72322012-03-07 Chong Yidong <cyd@gnu.org>
7233
7234 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7235 non-X platforms.
7236
69481eb8
GM
72372012-03-06 Glenn Morris <rgm@gnu.org>
7238
7239 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7240 (x-disown-selection-internal, x-get-selection-internal):
7241 Doc fix (add arglist signatures). (Bug#10783)
7242
133b8e11
KS
72432012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7244
7245 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7246 Handle breakpoints with no "type".
7247
99a83064
GM
72482012-03-06 Glenn Morris <rgm@gnu.org>
7249
7250 * files.el (locate-dominating-file): Add optional predicate argument.
7251 (dir-locals-find-file): Make use of above change.
7252
17798e78
TTN
72532012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7254
7255 * info.el (Info-insert-dir): Also try "dir.gz".
7256
eb182446
GM
72572012-03-06 Glenn Morris <rgm@gnu.org>
7258
8f2114ee
GM
7259 * files.el (dir-locals-find-file):
7260 Ignore non-readable or non-regular files. (Bug#10928)
7261
eb182446
GM
7262 * files.el (locate-dominating-file): Doc fix.
7263
24679323
AS
72642012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7265
7266 * calendar/calendar.el (calendar-set-mode-line):
7267 `getenv' returns a string. (Bug#10951)
7268
01d972a9
LL
72692012-03-05 Leo Liu <sdl.web@gmail.com>
7270
109aa8a9
LL
7271 * simple.el (backward-delete-char-untabify): Constrain point to
7272 field (Bug#10939).
7273
01d972a9
LL
7274 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7275
10607bea
CY
72762012-03-05 Chong Yidong <cyd@gnu.org>
7277
7278 * simple.el (count-words): If called from Lisp, return the word
7279 count, for symmetry with `count-lines'. Arglist changed.
7280 (count-words--message): Args changed. Consolidate counting code
7281 from count-words and count-words-region.
7282 (count-words-region): Caller changed.
7283 (count-lines-region): Make it an obsolete alias.
7284
5dd11cfe
TH
72852012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7286
7287 * saveplace.el (save-place-to-alist)
7288 (save-place-ignore-files-regexp): Allow value nil to disable this
7289 feature.
7290
c349f4e6
CY
72912012-03-04 Chong Yidong <cyd@gnu.org>
7292
7293 * faces.el (face-spec-reset-face): For the default face, reset the
7294 attributes to default values (Bug#10748).
7295
e627be4c
LMI
72962012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297
7298 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7299 previous patch: Check `message-send-mail-function', and not the
7300 default function (bug#10897).
7301
ebeabff4
MA
73022012-03-04 Michael Albinus <michael.albinus@gmx.de>
7303
a41a6cf4
MA
7304 * notifications.el (notifications-on-action-signal)
7305 (notifications-on-closed-signal): Check for unique service name of
7306 incoming event. Fix error in removing entry.
ebeabff4 7307 (top): Register for signals with wildcard service name.
a41a6cf4 7308 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7309
c1ca42b4
CY
73102012-03-04 Chong Yidong <cyd@gnu.org>
7311
dc9924b8 7312 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7313
ea16568d
GM
73142012-03-04 Glenn Morris <rgm@gnu.org>
7315
7316 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7317 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7318 (expand-abbrev, define-abbrev-table): Doc fixes.
7319
fbae4637
LMI
73202012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7321
7322 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7323 `message-default-send-mail-function' and not `send-mail-function'
7324 when doing the prompting for `sendmail-query-once' before sending
7325 in Message buffers (bug#10897).
7326
a1e7225c
LMI
7327 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7328 This is inconsistent with all the other stream functions, which leave
7329 the setting up to the higher levels (if so wanted) (bug#10931).
7330
56d093a9
AM
73312012-03-02 Alan Mackenzie <acm@muc.de>
7332
7333 Depessimize the handling of very large macros.
7334
7335 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7336 (c-macro-cache-syntactic): New variables to implement a one
7337 element macro cache.
7338 (c-invalidate-macro-cache): New function.
7339 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7340 Adapt to use the new cache.
7341 (c-state-safe-place): Use better the cache of safe positions.
7342 (c-state-semi-nonlit-pos-cache)
7343 (c-state-semi-nonlit-pos-cache-limit):
7344 New variables for...
7345 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7346 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7347 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7348 Use c-state-semi-safe-place.
56d093a9 7349
dbbc2e69
SM
7350 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7351 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7352
817e5c3d
MA
73532012-03-02 Michael Albinus <michael.albinus@gmx.de>
7354
dbbc2e69
SM
7355 * jka-compr.el (jka-compr-call-process):
7356 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7357 not remote.
7358
a032a702
MA
73592012-03-01 Michael Albinus <michael.albinus@gmx.de>
7360
7361 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7362 access of FILE2, if FILE1 does not exist.
7363
99a54f21
MA
7364 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7365 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7366
7367 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7368 Add "PAGER=" to `process-environment'.
7369
f6561e1f
MM
73702012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7371
7372 * progmodes/sql.el: Bug fix
7373 (sql-get-login-ext): Save login values in globals.
7374 (sql-get-login): Use new version of `sql-get-login-ext'.
7375 (sql-interactive-mode): Set global `sql-connection' to nil.
7376 (sql-connect): Set global values for connection.
7377 (sql-product-interactive): Save global values as buffer local.
7378
2d44d9cc
LL
73792012-02-29 Leo Liu <sdl.web@gmail.com>
7380
7381 * abbrev.el (define-abbrevs): Reset sys to nil.
7382
96b49301 73832012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7384
bf7f9bc5
JB
7385 * files.el (file-equal-p): Rename from `files-equal-p'.
7386 Return nil when one or both files don't exist.
96b49301 7387 (file-subdir-of-p): Now only top directory must exists,
7388 return nil if it doesn't.
bf7f9bc5
JB
7389 (copy-directory): No need to test with `file-subdir-of-p' after
7390 creating dir.
7391 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7392 to `file-equal-p'.
96b49301 7393
44e97401
GM
73942012-02-28 Glenn Morris <rgm@gnu.org>
7395
7396 * shell.el (shell-mode):
7397 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7398 * play/landmark.el (landmark-font-lock-face-O):
7399 * play/handwrite.el (handwrite):
7400 * play/gomoku.el (gomoku-O):
7401 * net/browse-url.el (browse-url-browser-display):
7402 * international/mule.el (define-charset):
7403 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7404 * filesets.el (filesets-find-file-delay):
7405 * eshell/em-xtra.el (eshell-xtra):
7406 * eshell/em-unix.el (eshell-grep):
7407 * emulation/viper.el (viper-mode):
7408 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7409 * emacs-lisp/easymenu.el (easy-menu-define):
7410 * calendar/timeclock.el (timeclock-use-display-time):
7411 * bs.el (bs-mode):
7412 * bookmark.el (bookmark-save-flag):
7413 Doc fix (standardize possessive apostrophe usage).
7414
c98c6276
CY
74152012-02-27 Chong Yidong <cyd@gnu.org>
7416
bf7f9bc5
JB
7417 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7418 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7419
c98c6276
CY
7420 * font-lock.el (font-lock-specified-p): Rename from
7421 font-lock-spec-present. Callers changed.
7422
9c62cd04 74232012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7424
bf7f9bc5
JB
7425 * emacs-lisp/package.el (package-compute-transaction):
7426 Handle holding a package version to t in package-load-list.
8ac9e529 7427
530739c9
MA
74282012-02-26 Michael Albinus <michael.albinus@gmx.de>
7429
7430 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7431 (tramp-get-inode, tramp-get-device): Use cached values.
7432
487915d7
AM
74332012-02-26 Alan Mackenzie <acm@muc.de>
7434
7435 Check there is a font-lock specification before doing initial
7436 fontification.
7437
7438 * font-core.el (font-lock-mode): Move the conditional from
7439 :after-hook to font-lock-initial-fontify.
7440 (font-lock-default-function): Move the check for a specification
7441 to font-lock-spec-present.
7442
dc9924b8 7443 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7444 (font-lock-spec-present): New function.
7445
4fd96557
JB
74462012-02-26 Jim Blandy <jimb@red-bean.com>
7447
7448 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7449 (gdb-send): Apply it to the operand of the '-interpreter-exec
7450 console' command, so that we can pass arguments with (say) quotes
7451 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7452
9a4888c0
CY
74532012-02-26 Chong Yidong <cyd@gnu.org>
7454
07498861
CY
7455 * help-fns.el (describe-function-1): Clarify description of
7456 remapping (Bug#10844).
7457
9a4888c0
CY
7458 * files.el (files-equal-p): Doc fix.
7459 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7460 and quit the loop once a mismatch is found.
7461
ea8fb88d
JB
74622012-02-25 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * bs.el (bs--show-with-configuration): Don't throw an error
7465 if the window cannot be split; otherwise, subsequent calls to
7466 bs-show fail, restoring a stale window config. (Bug#10882)
7467
525795c1
JD
74682012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7469
7470 * term/ns-win.el (global-map): Bind ns-drag-file to
7471 ns-find-file (Bug#5855, Bug#10050).
7472
f008086f
AS
74732012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7474
7475 * calendar/parse-time.el (parse-time-string): Allow extractor to
7476 return nil.
7477
a3fcfa99
MA
74782012-02-25 Michael Albinus <michael.albinus@gmx.de>
7479
91027d08
JB
7480 * net/tramp.el (tramp-file-name-for-operation):
7481 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7482
7483 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7484 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7485 Add COPY-CONTENTS argument.
a3fcfa99 7486
67b0de11
CY
74872012-02-25 Chong Yidong <cyd@gnu.org>
7488
7489 Add custom groups for VC backends, for consistency with vc-bzr.
7490
7491 * vc/vc-arch.el (vc-arch):
7492 * vc/vc-cvs.el (vc-cvs):
7493 * vc/vc-git.el (vc-git):
7494 * vc/vc-hg.el (vc-hg):
7495 * vc/vc-mtn.el (vc-mtn):
7496 * vc/vc-rcs.el (vc-rcs):
7497 * vc/vc-sccs.el (vc-sccs):
7498 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7499 All relevant defcustoms reassigned.
7500
3c9dfce6
CY
75012012-02-25 Chong Yidong <cyd@gnu.org>
7502
1339bf43
CY
7503 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7504
3c9dfce6
CY
7505 * term/x-win.el (x-initialize-window-system): Reduce default for
7506 x-selection-timeout to 5 seconds (Bug#8869).
7507
25b2e303 75082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7509
ec70a47d
GM
7510 * files.el (files-equal-p, file-subdir-of-p): New functions.
7511 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7512 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7513 * dired-aux.el (dired-copy-file-recursive): Same.
7514 (dired-create-files): Modify destination when source is equal to
7515 dest when copying files.
53a46cd0 7516 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7517
914260cd
MA
75182012-02-24 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7521 (Bug#10874)
7522
2cb228f7
AM
75232012-02-23 Alan Mackenzie <acm@muc.de>
7524
7525 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7526 parameter "after-hook:" to allow the expansion to run code after
7527 the execution of the mode hooks.
7528
7529 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7530 from font-lock-mode-internal.
2cb228f7 7531
91027d08 7532 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7533 :after-hook.
7534
8f0fde21
SM
75352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7536
3e88618b
SM
7537 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7538 (completion--cache-all-sorted-completions): New function.
7539 (completion-all-sorted-completions): Use it.
7540 (completion--do-completion, minibuffer-force-complete):
7541 Use it to re-instate the flush hook.
7542
8f0fde21
SM
7543 * icomplete.el (icomplete-completions): Replace last fix with a better
7544 one (bug#10850).
7545
8e911f6f
DG
75462012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7547
7548 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7549 when it might call us back infinitely (bug#10797).
7550
49fe4321
GM
75512012-02-23 Glenn Morris <rgm@gnu.org>
7552
7553 * minibuffer.el (completion-category-overrides): Doc fix.
7554
b291b572
SM
75552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7558 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7559
31a9ef2e
GM
75602012-02-23 Glenn Morris <rgm@gnu.org>
7561
5e6e6794 7562 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7563 (authors-obsolete-files-regexps, authors-ignored-files)
7564 (authors-ambiguous-files, authors-renamed-files-alist):
7565 Add more entries.
7566
0bd1e074
JL
75672012-02-23 Juri Linkov <juri@jurta.org>
7568
7569 * isearch.el (isearch-occur): Sync interactive spec with occur's
7570 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7571
b617673c
JL
7572 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7573
19e9789e
JL
75742012-02-22 Juri Linkov <juri@jurta.org>
7575
7576 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7577 (ucs-insert): Doc fix. Check for hex digits in the string.
7578 Don't display `nil' in the error message. (Bug#10857)
7579
f41ce09d
AM
75802012-02-22 Alan Mackenzie <acm@muc.de>
7581
7a71b18d 7582 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7583
ac2eceee
GM
75842012-02-22 Glenn Morris <rgm@gnu.org>
7585
7586 * ffap.el (ffap-c-path):
7587 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7588
abd1f678
CY
75892012-02-22 Chong Yidong <cyd@gnu.org>
7590
7591 * custom.el (load-theme): Doc fix.
7592
f25aef2e
GM
75932012-02-22 Glenn Morris <rgm@gnu.org>
7594
7595 * dired-x.el (dired-guess-shell-alist-default):
7596 Remove escape sequences from nroff output. (Bug#172)
7597
5f8dc2ca
GM
75982012-02-21 Glenn Morris <rgm@gnu.org>
7599
6ff86ec4
GM
7600 * vc/emerge.el (emerge-defvar-local):
7601 Set `permanent-local' property rather than unused `preserved'.
7602
be3223a3 7603 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7604 (picture-mode-map): Use it. (Bug#10860)
7605 (picture-mode): Doc fix.
7606
3fe58f4f
JB
76072012-02-21 Juanma Barranquero <lekktu@gmail.com>
7608
7609 * newcomment.el (uncomment-region-default): Remove unused binding.
7610
f9a998c3
GM
76112012-02-21 Glenn Morris <rgm@gnu.org>
7612
7613 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7614 (picture-self-insert, picture-tab-chars): Doc fix.
7615 (picture-mode-map): Fix C-a, C-e.
7616
c6029348
GM
76172012-02-20 Glenn Morris <rgm@gnu.org>
7618
7619 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7620
ab1ce9d7
LL
76212012-02-20 Leo Liu <sdl.web@gmail.com>
7622
7623 * icomplete.el (icomplete-completions): Check FROM arg before
7624 passing to substring (Bug#10850).
7625
0fd40f89
CY
76262012-02-19 Chong Yidong <cyd@gnu.org>
7627
7628 * comint.el: Require ansi-color.
7629 (comint-output-filter-functions): Add ansi-color-process-output.
7630
7631 * ansi-color.el: Don't set comint-output-filter-functions; it is
7632 now in the initial value defined in comint.el.
7633 (ansi-color-apply-face-function): New variable.
7634 (ansi-color-apply-on-region): Use it.
7635 (ansi-color-apply-overlay-face): New function.
7636
7637 * shell.el (shell): No need to require ansi-color.
7638 (shell-mode): Use ansi-color-apply-face-function to highlight
7639 color escapes using font-lock-face property (Bug#10835).
7640
20af2394
CY
76412012-02-19 Chong Yidong <cyd@gnu.org>
7642
7643 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7644 mode-line formats (Bug#10839).
7645
e23a3fbe
GM
76462012-02-18 Glenn Morris <rgm@gnu.org>
7647
b474519e
GM
7648 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7649
7650 * mail/undigest.el (unforward-rmail-message): Doc fix.
7651
e23a3fbe
GM
7652 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7653
57939ff4
EZ
76542012-02-18 Eli Zaretskii <eliz@gnu.org>
7655
7656 * international/characters.el (script-list): Sync with the latest
7657 Unicode Character Database.
7658
0c23686e
AS
76592012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7660
7661 * international/titdic-cnv.el: Remove duplicate coding tag.
7662 * language/cham.el: Likewise.
7663 * language/tai-viet.el: Likewise.
7664
6818b449
GM
76652012-02-18 Glenn Morris <rgm@gnu.org>
7666
7667 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7668 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7669 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7670 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7671 * calendar/holidays.el (holiday-bahai-holidays)
7672 (calendar-holidays, list-holidays):
7673 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
7674
0311a3fc
TH
76752012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7676
7677 * saveplace.el (save-place-ignore-files-regexp): New variable
7678 allowing for excluding files from saving their location of point.
7679 The default value matches the temporary commit message editing
7680 files from Git, SVN, Bazaar, and Mercurial.
7681 (save-place-to-alist): Use it.
7682
d209e2fb 76832012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7684 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7685
7686 * newcomment.el (uncomment-region-default): Don't leave extra space
7687 when an arg is provided (bug#8150).
7688
ee0ce425
TZ
76892012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7690
eb864a71 7691 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7692
95ddf442
GM
76932012-02-17 Glenn Morris <rgm@gnu.org>
7694
7695 * net/socks.el: Require network-stream. (Bug#10599)
7696
48dd1e39 76972012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7698
7699 * international/charprop.el:
7700 * international/uni-name.el:
7701 * international/uni-old-name.el:
7702 * international/uni-comment.el: Regenerate.
7703
d68cd087
GM
77042012-02-16 Glenn Morris <rgm@gnu.org>
7705
7706 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7707 Interactively in calendar buffer, give an error if not on a date.
7708
13932042
GM
77092012-02-15 Glenn Morris <rgm@gnu.org>
7710
7711 * shell.el (shell-delimiter-argument-list):
7712 Revert 2011-02-17 change. (Bug#8027)
7713
c3a70e2b
CY
77142012-02-15 Chong Yidong <cyd@gnu.org>
7715
60236b0d
CY
7716 * minibuffer.el (completion-at-point-functions): Doc fix.
7717
c3a70e2b
CY
7718 * custom.el (defcustom): Doc fix; note use of defvar.
7719
9f26dc24
GM
77202012-02-15 Glenn Morris <rgm@gnu.org>
7721
7722 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7723 Doc fixes.
7724
6546b134
GM
77252012-02-14 Glenn Morris <rgm@gnu.org>
7726
7727 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7728
d29b2b4c
LI
77292012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7730
7731 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7732 way the ports list is computed.
835bdcba
LI
7733 (smtpmail-query-smtp-server): Prompt the user for a port number if
7734 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7735
08dcdbc9
TZ
77362012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7737
7738 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7739
2605051a
GM
77402012-02-13 Glenn Morris <rgm@gnu.org>
7741
7742 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7743
7ee99f32
TZ
77442012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7745
7746 * net/gnutls.el (gnutls-trustfiles): New variable.
7747 (gnutls-negotiate): Use it.
7748
5f0af64f
LI
77492012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7750
7751 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7752 does its stuff if Gnus is running.
7753
c14fcc95
AM
77542012-02-13 Alan Mackenzie <acm@muc.de>
7755
7756 Fix a loop in c-set-fl-decl-start.
7757
7a71b18d 7758 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7759 c-backward-syntactic-ws actually moves backwards.
7760
142b4d90
LL
77612012-02-13 Leo Liu <sdl.web@gmail.com>
7762
7763 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7764 beginning so that all \C-o chars are removed.
7765
fa9958a6
TZ
77662012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7767
dc9924b8 7768 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7769
0bc5886a
AM
77702012-02-12 Alan Mackenzie <acm@muc.de>
7771
7772 Fix infinite loop with long macros.
4d6769e1 7773 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7774
d4bd55e7
CY
77752012-02-12 Chong Yidong <cyd@gnu.org>
7776
7777 * window.el (display-buffer): Doc fix (Bug#10785).
7778
66f3fe22
GM
77792012-02-12 Glenn Morris <rgm@gnu.org>
7780
bd7da63e
GM
7781 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7782 (x-disown-selection-internal, x-get-selection-internal):
7783 Sync docs with the xselect.c versions.
7784
66f3fe22
GM
7785 * allout-widgets.el: Add missing license notice.
7786
3e0d2fa7
GM
77872012-02-11 Glenn Morris <rgm@gnu.org>
7788
cfecdf09
GM
7789 * select.el (x-get-selection-internal, x-own-selection-internal)
7790 (x-disown-selection-internal):
7791 * x-dnd.el (x-get-selection-internal): Update declarations.
7792
6d216d7f
GM
7793 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7794
2bed3f04
GM
7795 * window.el (window-sides-slots):
7796 * tool-bar.el (tool-bar-position):
7797 * term/xterm.el (xterm-extra-capabilities):
7798 * ses.el (ses-self-reference-early-detection):
7799 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7800 (verilog-auto-wire-type)
7801 (verilog-auto-delete-trailing-whitespace)
7802 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7803 (verilog-auto-tieoff-declaration):
7804 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7805 (sql-oracle-statement-starters, sql-oracle-scan-on):
7806 * progmodes/prolog.el (prolog-align-comments-flag)
7807 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7808 (prolog-left-indent-regexp, prolog-paren-indent-p)
7809 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7810 (prolog-types, prolog-mode-specificators)
7811 (prolog-determinism-specificators, prolog-directives)
7812 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7813 (prolog-electric-dot-flag)
7814 (prolog-electric-dot-full-predicate-template)
7815 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7816 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7817 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7818 (prolog-program-switches, prolog-prompt-regexp)
7819 (prolog-debug-on-string, prolog-debug-off-string)
7820 (prolog-trace-on-string, prolog-trace-off-string)
7821 (prolog-zip-on-string, prolog-zip-off-string)
7822 (prolog-use-standard-consult-compile-method-flag)
7823 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7824 (prolog-imenu-max-lines, prolog-info-predicate-index)
7825 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7826 (prolog-char-quote-workaround):
7827 * progmodes/cc-vars.el (c-defun-tactic):
7828 * net/tramp.el (tramp-encoding-command-interactive)
7829 (tramp-local-end-of-line):
7830 * net/soap-client.el (soap-client):
7831 * net/netrc.el (netrc-file):
7832 * net/gnutls.el (gnutls):
7833 * minibuffer.el (completion-category-overrides)
7834 (completion-cycle-threshold)
7835 (completion-pcm-complete-word-inserts-delimiters):
7836 * man.el (Man-name-local-regexp):
7837 * mail/feedmail.el (feedmail-display-full-frame):
7838 * international/characters.el (glyphless-char-display-control):
7839 * eshell/em-ls.el (eshell-ls-date-format):
7840 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7841 (lisp-lambda-list-keyword-parameter-indentation)
7842 (lisp-lambda-list-keyword-parameter-alignment):
7843 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7844 * dired-x.el (dired-omit-verbose):
7845 * cus-theme.el (custom-theme-allow-multiple-selections):
7846 * calc/calc.el (calc-highlight-selections-with-faces)
7847 (calc-lu-field-reference, calc-lu-power-reference)
7848 (calc-note-threshold):
7849 * battery.el (battery-mode-line-limit):
7850 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7851 (archive-7z-update):
7852 * allout.el (allout-prefixed-keybindings)
7853 (allout-unprefixed-keybindings)
7854 (allout-inhibit-auto-fill-on-headline)
7855 (allout-flattened-numbering-abbreviation):
7856 * allout-widgets.el (allout-widgets-auto-activation)
7857 (allout-widgets-icons-dark-subdir)
7858 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7859 (allout-widgets-theme-dark-background)
7860 (allout-widgets-theme-light-background)
7861 (allout-widgets-item-image-properties-emacs)
7862 (allout-widgets-item-image-properties-xemacs)
7863 (allout-widgets-run-unit-tests-on-load)
7864 (allout-widgets-time-decoration-activity)
7865 (allout-widgets-hook-error-post-time)
7866 (allout-widgets-track-decoration):
7867 Add missing :version tags to new defcustoms and defgroups.
7868
5fec1b8e
GM
7869 * progmodes/sql.el (sql-ansi-statement-starters)
7870 (sql-oracle-statement-starters): Add custom type.
7871
3e0d2fa7
GM
7872 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7873 (prolog-system-version): Give it a type.
7874
90b671e2
EZ
78752012-02-11 Eli Zaretskii <eliz@gnu.org>
7876
7877 * term/pc-win.el (x-select-text, x-selection-owner-p)
7878 (x-own-selection-internal, x-disown-selection-internal)
7879 (x-get-selection-internal): Sync doc strings and argument lists
7880 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7881
5eac0c02
LL
78822012-02-11 Leo Liu <sdl.web@gmail.com>
7883
7884 * progmodes/python.el (python-end-of-statement): Fix infinite
7885 loop. (Bug#10788)
7886
f82cb659
GM
78872012-02-10 Glenn Morris <rgm@gnu.org>
7888
7889 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7890 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7891
cc26d239
LI
78922012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7893
7894 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7895 about SMTP before checking the From header.
7896
91027d08 7897 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7898 into own function for reuse by emacsbug.el.
7899
1be3ca5a
LL
79002012-02-10 Leo Liu <sdl.web@gmail.com>
7901
7902 * subr.el (condition-case-unless-debug): Rename from
7903 condition-case-no-debug. All callers changed.
7904 (with-demoted-errors): Fix caller.
7905
7906 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7907 * nxml/rng-valid.el (rng-do-some-validation):
7908 * emacs-lisp/package.el (package-refresh-contents)
7909 (package-menu-execute):
7910 * desktop.el (desktop-create-buffer):
91027d08 7911 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7912
b011fbfe
GM
79132012-02-10 Glenn Morris <rgm@gnu.org>
7914
b2096d72
GM
7915 * textmodes/bibtex.el:
7916 Add missing :version tags for new/changed defcustoms.
7917
b011fbfe
GM
7918 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7919
4c7e65bf
LI
79202012-02-09 Lars Ingebrigtsen <larsi@rusty>
7921
7922 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7923 (smtpmail-via-smtp): Use it, or fall back on the From address.
7924 (smtpmail-send-it): Ditto.
7925
f3934f6f
SM
79262012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7929 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7930 (byte-compile-tmp-var): New const.
7931 (byte-compile-defvar): Use it to minimize .elc size.
7932 Just use `defvar' rather than simulate it (bug#10761).
7933
a075a2c5
GM
79342012-02-09 Glenn Morris <rgm@gnu.org>
7935
cf3aa21b
GM
7936 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7937
354998cd
GM
7938 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7939 Add :version tags.
7940
dc9924b8
SM
7941 * progmodes/compile.el (compilation-error-screen-columns)
7942 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7943
dab3703d
GM
7944 * vc/log-view.el (log-view-toggle-entry-display):
7945 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7946
3f88cd72
GM
7947 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7948 (report-emacs-bug-can-use-xdg-email):
7949 (report-emacs-bug-insert-to-mailer): Doc fixes.
7950 (report-emacs-bug): Message fix.
7951
d95b247d
GM
7952 * net/browse-url.el (browse-url-can-use-xdg-open)
7953 (browse-url-xdg-open): Doc fixes.
7954
a075a2c5
GM
7955 * electric.el (electric-indent-mode, electric-pair-mode)
7956 (electric-layout-rules, electric-layout-mode): Doc fixes.
7957 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7958
ffb6157e
MR
79592012-02-08 Martin Rudalics <rudalics@gmx.at>
7960
7961 * server.el (server-unselect-display): Don't inadvertently kill
7962 the current buffer. (Bug#10729)
7963
e1ac4066
GM
79642012-02-08 Glenn Morris <rgm@gnu.org>
7965
34e8a2da
GM
7966 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7967 (sql-list-table): Doc fixes.
7968
b4ac6e8c
GM
7969 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7970 Comment out (does nothing).
7971
e1ac4066
GM
7972 * completion.el (dynamic-completion-mode):
7973 * dirtrack.el (dirtrack-debug-mode):
7974 * electric.el (electric-layout-mode):
7975 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7976 * face-remap.el (text-scale-mode, buffer-face-mode):
7977 * iimage.el (iimage-mode):
7978 * image-mode.el (image-transform-mode):
7979 * minibuffer.el (completion-in-region-mode):
7980 * scroll-lock.el (scroll-lock-mode):
7981 * simple.el (next-error-follow-minor-mode):
7982 * tar-mode.el (tar-subfile-mode):
7983 * tooltip.el (tooltip-mode):
7984 * vcursor.el (vcursor-use-vcursor-map):
7985 * wid-browse.el (widget-minor-mode):
7986 * emulation/tpu-edt.el (tpu-edt-mode):
7987 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7988 * international/iso-ascii.el (iso-ascii-mode):
7989 * language/thai-util.el (thai-word-mode):
7990 * mail/supercite.el (sc-minor-mode):
7991 * net/goto-addr.el (goto-address-mode):
7992 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7993 * progmodes/cwarn.el (cwarn-mode):
7994 * progmodes/flymake.el (flymake-mode):
7995 * progmodes/glasses.el (glasses-mode):
7996 * progmodes/hideshow.el (hs-minor-mode):
7997 * progmodes/pascal.el (pascal-outline-mode):
7998 * textmodes/enriched.el (enriched-mode):
7999 * vc/smerge-mode.el (smerge-mode):
8000 Doc fixes (minor mode argument).
8001
5e0d957f
EZ
80022012-02-07 Eli Zaretskii <eliz@gnu.org>
8003
8004 * ls-lisp.el (ls-lisp-sanitize): New function.
8005 (ls-lisp-insert-directory): Use it to fix or remove any elements
8006 in file-alist with missing attributes. (Bug#4673)
8007
98d7371e
AM
80082012-02-07 Alan Mackenzie <acm@muc.de>
8009
8010 Fix spurious recognition of c-in-knr-argdecl.
8011
8012 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8013 putative K&R region.
8014
667ced3a
AM
80152012-02-07 Alan Mackenzie <acm@muc.de>
8016
eb864a71
LM
8017 * progmodes/cc-engine.el (c-forward-objc-directive):
8018 Prevent looping in "#pragma mark @implementation".
667ced3a 8019
5b77774d
MA
80202012-02-07 Michael Albinus <michael.albinus@gmx.de>
8021
8022 * notifications.el (notifications-on-closed-signal): Make `reason'
8023 optional. (Bug#10744)
8024
af008560
GM
80252012-02-07 Glenn Morris <rgm@gnu.org>
8026
60d47423
GM
8027 * emacs-lisp/easy-mmode.el (define-minor-mode):
8028 Doc fixes for the macro and the mode it defines.
8029
dd605cc4
GM
8030 * image.el (imagemagick-types-inhibit): Doc fix.
8031
af008560
GM
8032 * cus-start.el (imagemagick-render-type): Add it.
8033
5cc59a37
LI
80342012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8035
4d6769e1
JB
8036 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8037 Set the default at load time, too, so that `font-lock-fontify-buffer'
8038 can be called without setting up the entire mode first. This fixes
8039 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8040
9a6dd747
CY
80412012-02-06 Chong Yidong <cyd@gnu.org>
8042
2d16b285
CY
8043 * simple.el (list-processes--refresh): Delete exited processes
8044 (Bug#8094).
8045
171e9b6e
CY
8046 * comint.el (comint-next-prompt): next-single-char-property-change
8047 and prev-single-char-property-change never return nil (Bug#8657).
8048
9a6dd747
CY
8049 * custom.el (defcustom): Doc fix (Bug#9711).
8050
aa4589a7
CY
80512012-02-05 Chong Yidong <cyd@gnu.org>
8052
5c2a252f
CY
8053 * cus-edit.el (custom-variable-reset-backup): Quote the value
8054 before storing it in the customized-value property (Bug#6712).
4aab9006 8055 (custom-display): Add a customization type tag.
983b9602 8056 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8057
aa4589a7
CY
8058 * wid-edit.el (widget-field-value-get): New optional arg to
8059 suppress trailing whitespace truncation.
8060 (character): Use it (Bug#2689).
8061
1ff980ae
AS
80622012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8063
8064 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8065 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8066
03988c98
CY
80672012-02-05 Chong Yidong <cyd@gnu.org>
8068
eeb6cc88
CY
8069 * cus-edit.el (custom-variable-value-create): For mismatched
8070 types, show the current value (Bug#7600).
8071
03988c98
CY
8072 * custom.el (defcustom): Doc fix.
8073
f8cdeef0
GM
80742012-02-05 Glenn Morris <rgm@gnu.org>
8075
8076 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8077
0696d255
JB
80782012-02-05 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8081 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8082 (pp-last-sexp): Use `looking-at-p'.
8083
34c99998
GM
80842012-02-04 Glenn Morris <rgm@gnu.org>
8085
8f05da42
GM
8086 * files.el (revert-buffer):
8087 Doc fix (mention revert-buffer-in-progress-p).
8088
f160676e
GM
8089 * emacs-lisp/ert-x.el (ert-simulate-command):
8090 Check deferred-action-list (which is obsolete) is bound.
8091
c7291ad9
GM
8092 * subr.el (with-wrapper-hook): Doc fixes.
8093
34c99998
GM
8094 * simple.el (filter-buffer-substring-functions)
8095 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8096
6283a7d3
LL
80972012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8098
8099 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8100 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8101
e96e3013
LL
81022012-02-04 Leo Liu <sdl.web@gmail.com>
8103
8104 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8105
8ded50f2
GM
81062012-02-04 Glenn Morris <rgm@gnu.org>
8107
82ff1d13
GM
8108 * image.el (image-extension-data): Add obsolete alias.
8109
987a0a16
GM
8110 * isearch.el (isearch-update): Doc fix.
8111
ea32ef46
GM
8112 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8113
8ded50f2
GM
8114 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8115
eea14f31
GM
81162012-02-03 Glenn Morris <rgm@gnu.org>
8117
8118 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8119 (image-animate-timeout): Doc fix.
8120
8121 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8122
12f381b7
GM
81232012-02-02 Glenn Morris <rgm@gnu.org>
8124
953cebf5
GM
8125 * server.el (server-auth-dir): Doc fix.
8126 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8127
12f381b7
GM
8128 * subr.el (run-mode-hooks): Doc fix.
8129
953a8c3b
JL
81302012-02-02 Juri Linkov <juri@jurta.org>
8131
8132 * image-mode.el (image-toggle-display-image): Remove tautological
8133 `major-mode' from the `derived-mode-p' test.
8134
c5d3843c
KH
81352012-02-02 Kenichi Handa <handa@m17n.org>
8136
9f6e692e 8137 * composite.el (compose-region): Cancel previous change.
c5d3843c 8138
159462d4 81392012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8140
8141 * composite.el (compose-region, compose-string): Signal error for
8142 a null string component (Bug#6988).
8143
9f562668
CY
81442012-02-01 Chong Yidong <cyd@gnu.org>
8145
e2cef717
CY
8146 * view.el (view-buffer-other-window, view-buffer-other-frame):
8147 Handle special modes like view-buffer (Bug#10650).
8148 (view-buffer): Simplify.
8149
9f562668
CY
8150 * frame.el (set-frame-font): Tweak meaning of third argument.
8151
9f6e692e
JB
8152 * dynamic-setting.el (font-setting-change-default-font):
8153 Use set-frame-font (Bug#9982).
9f562668 8154
781acb9f
GM
81552012-02-01 Glenn Morris <rgm@gnu.org>
8156
6035be52
GM
8157 * progmodes/compile.el (compilation-internal-error-properties):
8158 Respect compilation-first-column in the "*compilation*" buffer.
8159
781acb9f
GM
8160 * emacs-lisp/easy-mmode.el (define-minor-mode):
8161 Relax :variable's test for a named function.
8162
abbceb00
AM
81632012-01-31 Alan Mackenzie <acm@muc.de>
8164
8165 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8166 off by one error.
8167
fce3fdeb
CY
81682012-01-31 Chong Yidong <cyd@gnu.org>
8169
8170 * frame.el (set-frame-font): New arg ALL-FRAMES.
8171
8172 * menu-bar.el (menu-set-font): Use set-frame-font.
8173
8174 * faces.el (face-spec-reset-face): Don't apply unspecified
8175 attribute values to the default face.
8176
47893581
JB
81772012-01-31 Juanma Barranquero <lekktu@gmail.com>
8178
8179 * progmodes/cwarn.el (cwarn): Remove dead link.
8180 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8181 Remove * from defcustom docstrings.
8182 (turn-on-cwarn-mode): Make obsolete.
8183 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8184 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8185
e58e988a
GM
81862012-01-31 Glenn Morris <rgm@gnu.org>
8187
60dc2671 8188 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8189 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8190 Allow named functions to be used as the cdr of :variable.
e58e988a 8191
7a3f511d
GM
81922012-01-30 Glenn Morris <rgm@gnu.org>
8193
8194 * emacs-lisp/authors.el (authors-fixed-entries):
8195 Remove reference to deleted file rnewspost.el.
8196
cb882333
JB
81972012-01-29 Juanma Barranquero <lekktu@gmail.com>
8198
8199 * window.el (window-with-parameter): Remove unused variable `windows'.
8200 (window--side-check): Remove unused variable `code'.
8201 (window--resize-siblings): Remove unused variable `first'.
8202 (adjust-window-trailing-edge): Remove unused variable `failed'.
8203 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8204 Use `let', not `let*'.
8205 (balance-windows-2): Remove unused variable `found'.
8206 (window--state-put-2): Remove unused variable `splits'.
8207 (window-state-put): Remove unused variable `selected'.
8208 (same-window-p): Use `string-match-p'.
8209 (display-buffer-assq-regexp): Remove unused variable `value'.
8210 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8211 Mark argument ALIST as ignored.
8212 (pop-to-buffer): Remove unused variable `old-window'.
8213
907201af
EZ
82142012-01-29 Eli Zaretskii <eliz@gnu.org>
8215
8216 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8217 and .lzma compressed files.
8218
ea162670
CY
82192012-01-29 Chong Yidong <cyd@gnu.org>
8220
5b95ee8a
CY
8221 * frame.el (window-system-default-frame-alist): Doc fix.
8222
ea162670
CY
8223 * dynamic-setting.el (font-setting-change-default-font): Don't
8224 change the default face if SET-FONT argument is non-nil (Bug#9982).
8225
d6e6f4b1
SB
82262012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8227
8228 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8229
0f29fa41 82302012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8231
8232 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8233 breakpoints in files outside current directory (Bug#6098).
8234
db174434
CY
82352012-01-29 Chong Yidong <cyd@gnu.org>
8236
6b25e4e2
SE
8237 * progmodes/python.el: Require ansi-color at top-level.
8238
6df6ae42
JB
8239 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8240 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8241 (lisp-mode-abbrev-table): Add doc.
8242 (lisp-mode-variables): Don't set local-abbrev-table.
8243 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8244
e70ee681
RW
82452012-01-28 Roland Winkler <winkler@gnu.org>
8246
8247 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8248
ace88aa2
RW
82492012-01-28 Roland Winkler <winkler@gnu.org>
8250
8251 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8252 (bibtex-set-dialect): Use it. Either set global values of
8253 dialect-dependent variables or bind these variables buffer-locally
8254 (Bug#10254).
8255 (bibtex-mode): Call bibtex-set-dialect via
8256 hack-local-variables-hook.
eb864a71
LM
8257 (bibtex-dialect): Update docstring.
8258 Add safe-local-variable predicate.
ace88aa2
RW
8259 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8260 bibtex-set-dialect.
8261 (bibtex-mode-map): Define menu for each dialect.
8262 (bibtex-entry): Fix docstring.
8263
93376c5b
CY
82642012-01-28 Chong Yidong <cyd@gnu.org>
8265
8266 * eshell/esh-arg.el (eshell-quote-argument): New function.
8267
8268 * eshell/esh-ext.el (eshell-invoke-batch-file):
8269 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8270 first arg to eshell-parse-command (Bug#10523).
8271
4372494f
DA
82722012-01-28 Drew Adams <drew.adams@oracle.com>
8273
8274 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8275 `default-directory' is non-nil.
8276
4d4ec1f8
EZ
82772012-01-28 Eli Zaretskii <eliz@gnu.org>
8278
8279 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8280 line that displays system-configuration-options. (Bug#9924)
8281
7c188927
DA
82822012-01-28 Drew Adams <drew.adams@oracle.com>
8283
8284 * descr-text.el (describe-char): Show information about POS, in
8285 addition to information about the character at POS. Improve and
8286 update the doc string. Change "code point" to "code point in
8287 charset", to avoid confusion with the character's Unicode code
8288 point shown above that. (Bug#10129)
8289
e0da685a
EZ
82902012-01-28 Eli Zaretskii <eliz@gnu.org>
8291
8292 * descr-text.el (describe-char): Show the raw character, not only
8293 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8294 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8295 for the reasons.
8296
70550acf
PH
82972012-01-28 Phil Hagelberg <phil@hagelb.org>
8298
eb864a71
LM
8299 * emacs-lisp/package.el (package-install):
8300 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8301
0ce8e868
CY
83022012-01-28 Chong Yidong <cyd@gnu.org>
8303
cb882333
JB
8304 * emacs-lisp/package.el (package-maybe-load-descriptor):
8305 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8306 (package-maybe-load-descriptor): Use it.
8307 (package-download-transaction): Fully load required packages
8308 inside the loop, so that `require' calls work (Bug#10593).
8309 (package-install): No need to call package-initialize now.
8310
2e7f3bea
CY
83112012-01-28 Chong Yidong <cyd@gnu.org>
8312
6e9bad14
CY
8313 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8314
f823b8ca
CY
8315 * tooltip.el (tooltip-mode): Doc fix.
8316 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8317
2680c309
CY
8318 * frame.el (set-cursor-color): Doc fix (Bug#352).
8319
d7a9e63b
CY
8320 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8321 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8322
2e7f3bea
CY
8323 * cus-edit.el (custom-buffer-create-internal): Fix search button
8324 action (Bug#10542).
2ae01800 8325 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8326
fc4f7a23
EW
83272012-01-27 Eduard Wiebe <usenet@pusto.de>
8328
8329 * dired.el (dired-mark-files-regexp):
8330 Include any subdirectory components. (Bug#10445)
8331
7dd37071
ML
83322012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8333
8334 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8335 Handle [host]:port syntax. (Bug#10533)
8336
a268160b
AH
83372012-01-27 Alex Harsanyi <harsanyi@mac.com>
8338
8339 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8340
e43273ef
GM
83412012-01-26 Glenn Morris <rgm@gnu.org>
8342
8343 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8344 * term.el (term-raw-escape-map): Use Control-X-prefix.
8345 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8346
1edf595d
MR
83472012-01-25 Martin Rudalics <rudalics@gmx.at>
8348
8349 * window.el (window-state-get, window--state-get-1): Don't deal
8350 with fixed-sizeness of windows. Simplify code.
8351
fa8eafef
JC
83522012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8353
6df6ae42
JB
8354 * window.el (window--state-get-1, window--state-put-2):
8355 Don't save and restore the mark.
fa8eafef 8356
0b21c100
CY
83572012-01-25 Chong Yidong <cyd@gnu.org>
8358
8359 * custom.el (custom-variable-p): Doc fix.
8360
5ae1a6c8
GM
83612012-01-25 Glenn Morris <rgm@gnu.org>
8362
40047858
GM
8363 * dired.el (dired-goto-file): Handle some of the more common
8364 characters that `ls -b' escapes. (Bug#10596)
8365
5ddce96c
GM
8366 * progmodes/compile.el (compilation-next-error-function):
8367 Respect compilation-first-column in the "*compilation*" buffer.
8368 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8369
5ae1a6c8
GM
8370 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8371
b559f1a9
GM
83722012-01-24 Glenn Morris <rgm@gnu.org>
8373
8374 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8375
6725d21a
JD
83762012-01-24 Julien Danjou <julien@danjou.info>
8377
8378 * color.el (color-rgb-to-hsl): Fix value computing.
8379 (color-hue-to-rgb): New function.
8380 (color-hsl-to-rgb): New function.
8381 (color-clamp, color-saturate-hsl, color-saturate-name)
8382 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8383 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8384
70df4bbe
GM
83852012-01-24 Glenn Morris <rgm@gnu.org>
8386
8387 * vc/vc-rcs.el (vc-rcs-create-tag):
8388 * vc/vc-sccs.el (vc-sccs-create-tag):
8389 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8390
802a2ae2
ML
83912012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8392
8393 * eshell/esh-util.el (eshell-read-hosts-file):
8394 Skip comment lines. (Bug#10549)
8395
d7128bb1
ML
8396 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8397
d1a5c3b4
JB
83982012-01-23 Juanma Barranquero <lekktu@gmail.com>
8399
2724d9c7
JB
8400 * subr.el (display-delayed-warnings): Doc fix.
8401 (collapse-delayed-warnings): New function to collapse identical
8402 adjacent warnings.
8403 (delayed-warnings-hook): Add it.
d1a5c3b4 8404
a5509865
MA
84052012-01-22 Michael Albinus <michael.albinus@gmx.de>
8406
8407 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8408
a5509865
MA
8409 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8410 (tramp-default-user-alist): Don't add "pscp".
8411 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8412 property "login-as", if set. (Bug#10530)
8413
cc6d5805
MA
84142012-01-21 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8417 "plink1" and "psftp". (Bug#10530)
8418
84192012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8420
8421 * international/mule-cmds.el (prefer-coding-system): Show a
8422 warning message if the default value of file-name-coding-system
8423 was not changed.
8424
f0960428
JC
84252012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8426
cb882333
JB
8427 * windmove.el (windmove-reference-loc):
8428 Fix windmove-reference-loc miscalculation.
f0960428 8429
dd6f2a63
JB
84302012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8431
8432 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8433 default unit.
8434
7b447e9b
GM
84352012-01-21 Glenn Morris <rgm@gnu.org>
8436
117a9ea1
GM
8437 * international/mule.el (auto-coding-alist): Add .tbz.
8438
7b447e9b
GM
8439 * files.el (local-enable-local-variables): Doc fix.
8440 (inhibit-local-variables-regexps): Rename from
8441 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8442 Doc fix. Add some extensions from auto-coding-alist.
8443 (inhibit-local-variables-suffixes):
8444 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8445 (inhibit-local-variables-p):
8446 New function, extracted from set-auto-mode-1.
8447 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8448 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8449 (hack-local-variables): Doc fix. Make the mode-only case
8450 respect enable-local-variables and friends.
8451 Respect inhibit-local-variables-regexps for file-locals, but
8452 not for directory-locals.
8453 (set-visited-file-name):
8454 Take account of inhibit-local-variables-regexps.
8455 Whether it applies may change as the file name is changed.
8456 * jka-cmpr-hook.el (jka-compr-install):
8457 * jka-compr.el (jka-compr-uninstall):
8458 Update for inhibit-first-line-modes-suffixes name change.
8459
dd6e3cdd
MR
84602012-01-20 Martin Rudalics <rudalics@gmx.at>
8461
8462 * help-macro.el (make-help-screen): Temporarily restore original
8463 binding for minor-mode-map-alist (Bug#10454).
8464
0d0deb38
JD
84652012-01-19 Julien Danjou <julien@danjou.info>
8466
8467 * color.el (color-name-to-rgb): Use the white color to find the max
8468 color component value and return correctly computed values.
8469 (color-name-to-rgb): Add missing float conversion for max value.
8470
34a02f46
MR
84712012-01-19 Martin Rudalics <rudalics@gmx.at>
8472
8473 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8474 special state value for window-persistent-parameters.
8475 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8476 (window--state-put-2): Reset all window parameters to nil before
8477 assigning values of persistent parameters.
8478
606c44c4
AM
84792012-01-18 Alan Mackenzie <acm@muc.de>
8480
8481 Eliminate sluggishness and hangs in fontification of "semicolon
8482 deserts".
8483
cb882333
JB
8484 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8485 Change value 10000 -> 3000.
606c44c4
AM
8486 (c-state-safe-place): Reformulate so it doesn't stack up an
8487 infinite number of wrong entries in c-state-nonlit-pos-cache.
8488 (c-determine-limit-get-base, c-determine-limit): New functions to
8489 determine backward search limits disregarding literals.
8490 (c-find-decl-spots): Amend commenting.
8491 (c-cheap-inside-bracelist-p): New function which detects "={".
8492
8493 * progmodes/cc-fonts.el
8494 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8495 backward search.
8496 (c-font-lock-declarations): Fix an occurrence of point being
8497 undefined. Check additionally for point being in a bracelist or
8498 near a macro invocation without a semicolon so as to avoid a
8499 fruitless time consuming search for a declarator. Give a more
8500 precise search limit for declarators using the new
8501 c-determine-limit.
8502
f3860cea
GM
85032012-01-18 Glenn Morris <rgm@gnu.org>
8504
8505 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8506 (set-auto-mode): Doc fixes.
8507
1db03b16
GM
85082012-01-17 Glenn Morris <rgm@gnu.org>
8509
0e6038be
GM
8510 * isearch.el (search-nonincremental-instead): Fix doc typo.
8511
1db03b16
GM
8512 * dired.el (dired-insert-directory): Handle newlines in directory name.
8513 (dired-build-subdir-alist): Unescape newlines in directory name.
8514
4cb0aa75
MA
85152012-01-17 Michael Albinus <michael.albinus@gmx.de>
8516
8517 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8518 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8519 (tramp-action-terminal): Use it. (Bug#10530)
8520
1d00653d
SM
85212012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8524
6a6ee00d
MR
85252012-01-16 Martin Rudalics <rudalics@gmx.at>
8526
8527 * window.el (window-state-ignored-parameters): Remove variable.
8528 (window--state-get-1): Rename argument MARKERS to IGNORE.
8529 Handle persistent window parameters. Make copy of clone-of
8530 parameter only if requested. (Bug#10348)
8531 (window--state-put-2): Install a window parameter only if it has
8532 a non-nil value or an existing parameter shall be overwritten.
8533
97912def
MA
85342012-01-15 Michael Albinus <michael.albinus@gmx.de>
8535
8536 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8537
688070a5
EZ
85382012-01-14 Eli Zaretskii <eliz@gnu.org>
8539
8540 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8541 don't pass the (nil) value of `upnode' to string-match.
8542
301afadc
CY
85432012-01-14 Chong Yidong <cyd@gnu.org>
8544
8545 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8546 Fix values recognized by the cursorBlink resource.
301afadc 8547
9e5788aa
PE
85482012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8549
8550 * epg.el (epg--make-temp-file): Avoid permission race condition
8551 when running on old Emacs versions (bug#10403).
8552
3cdb7f5a
GM
85532012-01-14 Glenn Morris <rgm@gnu.org>
8554
8555 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8556
8c82b1b4
AM
85572012-01-13 Alan Mackenzie <acm@muc.de>
8558
8559 Fix filling for when filladapt mode is enabled.
8560
8561 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8562 c-mask-paragraph, pass in `fill-paragraph' rather than
8563 `fill-region-as-paragraph'. (This is a reversion of a previous
8564 change.)
eb864a71
LM
8565 * progmodes/cc-mode.el (c-basic-common-init):
8566 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8567
e517eda4
GM
85682012-01-13 Glenn Morris <rgm@gnu.org>
8569
1498536e
GM
8570 * dired.el (dired-switches-escape-p): New function.
8571 (dired-insert-directory): Use dired-switches-escape-p.
8572 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8573
e517eda4
GM
8574 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8575
328f984d
GM
85762012-01-12 Glenn Morris <rgm@gnu.org>
8577
8578 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8579 changes in adaptive-fill-regexp. (Bug#10276)
8580
2cc769a8
AM
85812012-01-11 Alan Mackenzie <acm@muc.de>
8582
8583 Fix Emacs bug #10463 - put `widen's around the critical spots.
8584
1d00653d 8585 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8586 widen around each invocation of c-state-pp-to-literal. Remove an
8587 unused let variable.
8588
e52c37fa
GM
85892012-01-11 Glenn Morris <rgm@gnu.org>
8590
8591 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8592 Doc fix.
e52c37fa 8593
96f8741e
CY
85942012-01-10 Chong Yidong <cyd@gnu.org>
8595
1d00653d
SM
8596 * net/network-stream.el (network-stream-open-starttls):
8597 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8598 response to the capability command.
8599
b09a806e
GM
86002012-01-10 Glenn Morris <rgm@gnu.org>
8601
8602 * mail/unrmail.el (unrmail): Tweak previous change.
8603
7655cb66
CY
86042012-01-09 Chong Yidong <cyd@gnu.org>
8605
8606 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8607
9d5a8f0b
AM
86082012-01-08 Alan Mackenzie <acm@muc.de>
8609
8610 Optimise font locking in long enum definitions.
8611
8612 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8613 arm to a cond form to handle enums.
8614 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8615 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8616
9a0115ab 86172012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8618
8619 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8620 (Bug#10401)
6bb72cbd 8621
f186bb95
LMI
86222012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8623
29232a68
LMI
8624 * faces.el (set-face-attribute): Clarify the meaning of the nil
8625 frame (bug#10294).
8626
4e5d086d
LMI
8627 * subr.el (with-selected-frame): Mention that the selected frame
8628 is restored (bug#9980).
8629
8e66aebe
LMI
8630 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8631 (bug#9759).
8632
cd394be1 8633 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8634 (password-read): Don't autoload unused function.
8635
adf4e762
JB
86362012-01-07 Juanma Barranquero <lekktu@gmail.com>
8637
8638 * progmodes/which-func.el (which-func-mode): Turn into a
8639 non-interactive function and mark as obsolete (bug#10428).
8640
89bd9ccd
CY
86412012-01-06 Chong Yidong <cyd@gnu.org>
8642
8643 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8644 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8645 functions, along with 1 and -1.
8646
4afee9d5
EZ
86472012-01-06 Eli Zaretskii <eliz@gnu.org>
8648
8649 * time.el (display-time-load-average)
8650 (display-time-default-load-average): Doc fixes. See the thread
8651 starting at
8652 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8653 for the details.
8654
536aea70
GM
86552012-01-06 Glenn Morris <rgm@gnu.org>
8656
665ae865
GM
8657 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8658 has no messages. (Bug#10377)
8659
c869783d
GM
8660 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8661 than Info-edit. (Bug#10385)
8662
2bb4227e
GM
8663 * time.el (display-time-load-average, display-time-next-load-average):
8664 Doc fixes.
8665
7d5944b9
GM
8666 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8667 local setting of buffer-read-only to the input buffer. (Bug#10419)
8668
536aea70
GM
8669 * calendar/calendar.el (calendar-mode):
8670 Locally set scroll-margin to 0. (Bug#10379)
8671
7dccca16
UM
86722012-01-06 Ulrich Mueller <ulm@gentoo.org>
8673
8674 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8675
afbb7930
GM
86762012-01-05 Glenn Morris <rgm@gnu.org>
8677
8678 * eshell/em-unix.el (diff-no-select): Autoload it.
8679 (eshell/diff): Use diff-no-select. (Bug#10420)
8680
04482335
CY
86812012-01-05 Chong Yidong <cyd@gnu.org>
8682
7baca3bc
CY
8683 * shell.el (shell-dynamic-complete-functions): Revert last change.
8684 (shell-command-completion-function): New function.
8685 (shell-completion-vars): Use it to implement
8686 shell-completion-execonly (Bug#10417).
8687
04482335
CY
8688 * custom.el (enable-theme): Don't set custom-safe-themes.
8689
1d00653d
SM
8690 * cus-theme.el (custom-theme-merge-theme):
8691 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8692
bb5aa5d6
MM
86932012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8694
8695 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8696 first prompt in `sql-interacive-mode'.
8697 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8698 keywords.
6df6ae42 8699 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8700 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8701 context of original buffer. Invoke `sql-login-hook'.
8702
a7183d7c
EZ
87032012-01-04 Eli Zaretskii <eliz@gnu.org>
8704
8705 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8706 letters in cite-prefix.
8707
a1eacd1e
LMI
87082012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8709
8710 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8711
787cdb34
CY
87122012-01-03 Chong Yidong <cyd@gnu.org>
8713
1d00653d
SM
8714 * shell.el (shell-dynamic-complete-functions):
8715 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8716 comint-filename-completion first (Bug#10417).
8717
30710442
RS
87182012-01-02 Richard Stallman <rms@gnu.org>
8719
8720 * battery.el (battery-status-function):
8721 Detect when to use battery-yeeloong-sysfs.
8722 (battery-echo-area-format): Add string for Yeeloong.
8723 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8724 (battery-yeeloong-sysfs): New function.
8725
f75bfc33
CY
87262012-01-02 Chong Yidong <cyd@gnu.org>
8727
8728 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8729 (dirtrack): Merge code for handling relative filenames in prompt
8730 from shell-dir-cookie-watcher.
8731 (dirtrack-debug-message): New arg to avoid excess format calls.
8732
8733 * shell.el (shell-dir-cookie-re): Variable deleted.
8734 (shell-dir-cookie-watcher): Function deleted.
8735 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8736 with dirtrack-mode.
8737
651e947e
EZ
87382012-01-01 Eli Zaretskii <eliz@gnu.org>
8739
1d00653d
SM
8740 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8741 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8742 libgnutls-26.dll.
8743
94d4c7dc
AS
87442011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8745
8746 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8747
8d43f3cd
EZ
87482011-12-31 Eli Zaretskii <eliz@gnu.org>
8749
8750 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8751 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8752
98c8795a
MA
87532011-12-29 Michael Albinus <michael.albinus@gmx.de>
8754
8755 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8756 also for alternative shells.
8757 (tramp-open-connection-setup-interactive-shell): Check, whether
8758 the shell is a busybox.
8759 (tramp-send-command): Don't suppress multiple prompts for
8760 busyboxes, it hurts.
8761
51281b32
CY
87622011-12-28 Chong Yidong <cyd@gnu.org>
8763
8764 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8765 (gdb-get-source-file): Move mode line update to
8766 gdb-get-source-file (Bug#10087).
8767
2170cb53
CY
87682011-12-25 Chong Yidong <cyd@gnu.org>
8769
8770 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8771 gud-gdb-marker-filter without taking it as an argument.
8772 (gud-gdb-run-command-fetch-lines): Caller changed.
8773 (gud-gdb-completion-function): New variable.
8774 (gud-gdb-completion-at-point): Use it.
8775 (gud-gdb-completions-1): Split from gud-gdb-completions.
8776
8777 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8778 function as separate arguments.
8779 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8780 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8781 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8782 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8783 (gdb-stopped, def-gdb-auto-update-trigger)
8784 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8785 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8786 Callers changed.
2170cb53
CY
8787 (gud-gdbmi-completions): New function.
8788 (gdb): Use it for generating the completion table.
8789
be8b11bb
AM
87902011-12-24 Alan Mackenzie <acm@muc.de>
8791
8792 Introduce a mechanism to widen the region used in context font
1d00653d 8793 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8794
1d00653d
SM
8795 * progmodes/cc-langs.el (c-before-font-lock-functions):
8796 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8797 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8798 functions to be run just before context (etc.) font locking.
8799
8800 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8801 New, functionality extracted from
be8b11bb 8802 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8803 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8804 (c-after-change): Set c-in-after-change-fontification.
8805 (c-set-fl-decl-start): Rejig its interface, so it can be called
8806 from both after-change and context fontifying.
b81d40f0
JB
8807 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8808 New functions.
8809 (c-standard-font-lock-fontify-region-function): New variable.
8810 (c-font-lock-fontify-region): New function.
be8b11bb 8811
341cf6ac
JL
88122011-12-24 Juri Linkov <juri@jurta.org>
8813
8814 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8815 (Bug#10348)
8816
bffcee0a
MA
88172011-12-23 Michael Albinus <michael.albinus@gmx.de>
8818
8819 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8820 existence of source file. (Bug#10325)
8821
cb5e207c
AM
88222011-12-23 Alan Mackenzie <acm@muc.de>
8823
8824 Fix unstable fontification inside templates.
8825
b81d40f0
JB
8826 * progmodes/cc-langs.el (c-before-font-lock-functions):
8827 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8828 additionally has c-set-fl-decl-start. The other languages (apart
8829 from AWK) have that as a single entry.
8830
b81d40f0
JB
8831 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8832 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8833 c-set-fl-decl-start.
8834
b81d40f0
JB
8835 * progmodes/cc-mode.el (c-common-init, c-after-change):
8836 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8837 (c-set-fl-decl-start): New function, extracted from
8838 c-font-lock-enclosing-decls and enhanced.
8839
60ff536c
JB
88402011-12-23 Juanma Barranquero <lekktu@gmail.com>
8841
8842 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8843
1c4757d6
JL
88442011-12-22 Juri Linkov <juri@jurta.org>
8845
8846 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8847
d031f2c7
CY
88482011-12-22 Chong Yidong <cyd@gnu.org>
8849
8850 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8851
bace743a
DA
88522011-12-21 Drew Adams <drew.adams@oracle.com>
8853
8854 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8855
728a1f2b
JC
88562011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8857
8858 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8859
0d373f73
TZ
88602011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8861
fec0aaa4
TZ
8862 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8863 highlighting and support. Fix up comments for capitalization.
8864 (cfengine-mode-debug): New var.
8865 (cfengine3-mode): Change the modeline indicator to "CFE3".
8866 (cfengine3-font-lock-keywords): Improve defun highlighting.
8867 (cfengine2-actions): Rename from `cfengine-actions'.
8868 (cfengine2-font-lock-keywords): Rename from
8869 `cfengine-font-lock-keywords'.
8870 (cfengine2-imenu-expression): Rename from
8871 `cfengine-imenu-expression'.
8872 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8873 (cfengine2-beginning-of-defun): Rename from
8874 `cfengine-beginning-of-defun'.
8875 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8876 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8877 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8878 modeline indicator to "CFE2".
8879 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8880 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8881
bc86f573
CY
88822011-12-21 Chong Yidong <cyd@gnu.org>
8883
8884 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8885 filename argument.
8886
d45ba96b
MR
88872011-12-20 Martin Rudalics <rudalics@gmx.at>
8888
8889 * window.el (window-normalize-buffer-to-display): Remove.
8890 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8891
a6198c90
CY
88922011-12-19 Chong Yidong <cyd@gnu.org>
8893
8894 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8895 Don't signal an error in a predicate function; return non-nil.
8896 (vc-dir-mark-file): Move the error here.
8897 (vc-dir-mark-unmark): If acting on the region, keep going if one
8898 of the entries cannot be marked/unmarked.
8899 (vc-dir-mark-all-files): If current entry is a directory, mark
8900 only child files, as documented.
8901
34c5fb55
VB
89022011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8903
8904 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8905 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8906 addition.
8907
c803b2b7
JD
89082011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8909
8910 * term/ns-win.el (ns-get-selection-internal)
8911 (ns-store-selection-internal): Declare.
1154d12e
JB
8912 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8913 Declare as obsolete.
8914 (ns-get-pasteboard, ns-paste-secondary):
8915 Use ns-get-selection-internal.
8916 (ns-set-pasteboard, ns-copy-including-secondary):
8917 Use ns-store-selection-internal.
c803b2b7 8918
9cff91f8 89192011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8920
8921 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8922 (vc-deduce-fileset): Doc fix.
99a289d9 8923
f16c898a
AS
89242011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8925
8926 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8927
763237c4
SS
89282011-12-13 Sam Steingold <sds@gnu.org>
8929
8930 * man.el (Man-getpage-in-background): When running under a
8931 window-system, ignore $MANWIDTH and $COLUMNS.
8932
5fc1c122
KH
89332011-12-15 Kenichi Handa <handa@m17n.org>
8934
8935 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8936 (setup-ethiopic-environment-internal): Comment out key-binding for
8937 ethio-toggle-punctuation.
8938
13d49cbb
AM
89392011-12-13 Alan Mackenzie <acm@muc.de>
8940
898169a2
AM
8941 Add the switch statement to AWK Mode.
8942
7a71b18d 8943 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8944 "default" to the keywords regexp.
8945
7a71b18d 8946 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8947 expression as the rest.
1d00653d
SM
8948 (c-nonlabel-token-key): Allow string literals for AWK.
8949 Refactor for the other modes.
898169a2 8950
13d49cbb 8951 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8952 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8953 routines. Limit backward searching in c-font-lock-enclosing.decl.
8954
8955 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8956 pp-state and literal type in addition to the limits.
1d00653d 8957 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8958 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8959 (c-slow-in-literal, c-fast-in-literal): Remove.
8960 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8961
8962 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8963 being in a literal. Add a limit for backward searching.
8964
8965 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8966 c-slow-in-literal.
8967
15e0efc7
SM
89682011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8971
454592a6
MR
89722011-12-13 Martin Rudalics <rudalics@gmx.at>
8973
8974 * window.el (delete-other-windows): Use correct frame in call to
8975 window-with-parameter.
8976
87393f26
DP
89772011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8978
8979 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8980 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8981 (makefile-gmake-statements, makefile-makepp-statements):
8982 Use it and add new makepp keywords.
8983 (makefile-makepp-font-lock-keywords): Add new patterns.
8984 (makefile-match-function-end): Match new [...] and [[...]].
8985
11636b22
JB
89862011-12-11 Juanma Barranquero <lekktu@gmail.com>
8987
8988 * ses.el (ses-call-printer-return, ses-cell-property-get)
8989 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8990 (ses-create-cell-variable, ses-reset-header-string)
8991 (ses-cell-set-formula, ses-repair-cell-reference-all)
8992 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8993 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8994 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8995 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8996 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8997 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8998 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8999 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9000 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9001 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9002 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9003 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9004
cf018193
VB
90052011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9006
9007 * ses.el: The overall change is to add cell renaming, that is
9008 setting fancy names for cell symbols other than name matching
9009 "\\`[A-Z]+[0-9]+\\'" regexp .
9010 (ses-create-cell-variable): New defun.
9011 (ses-relocate-formula): Relocate formulas only for cells the
9012 symbols of which are not renamed, i.e. symbols whose names do not
9013 match regexp "\\`[A-Z]+[0-9]+\\'".
9014 (ses-relocate-all): Relocate values only for cells the symbols of
9015 which are not renamed.
9016 (ses-load): Create cells variables as the (ses-cell ...) are read,
9017 in order to check row col consistency with cell symbol name only
9018 for cells that are not renamed.
9019 (ses-replace-name-in-formula): New defun.
9020 (ses-rename-cell): New defun.
9021
ee957461
CY
90222011-12-11 Chong Yidong <cyd@gnu.org>
9023
9024 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9025 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9026
9a9e9ef0
MR
90272011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9028
9029 * window.el (other-window): Fix docstring.
9030
92a8eba5
EZ
90312011-12-10 Eli Zaretskii <eliz@gnu.org>
9032
9033 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9034 `from' or `to' address before taking its substring.
9035 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9036 encoded name is chopped in the middle of the encoded string, and
9037 thus displayed encoded.
9038
e152e577
JB
90392011-12-10 Juanma Barranquero <lekktu@gmail.com>
9040
9041 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9042
e5d84bfe
EZ
90432011-12-10 Eli Zaretskii <eliz@gnu.org>
9044
9045 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9046 to use texinfo-update-node and commands that call it if the
9047 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9048 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9049 (texinfo-all-menus-update, texinfo-master-menu)
9050 (texinfo-update-node, texinfo-every-node-update)
9051 (texinfo-multiple-files-update): Doc fix. Warn against updating
9052 all the @node lines.
9053 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9054 argument is numeric. Explain better in the doc string what the
9055 function really does.
9056 (texinfo-insert-master-menu-list): Improve the error message
9057 displayed if there's no menu in the Top node.
9058 (Bug#2975) See also this thread:
e5d84bfe
EZ
9059 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9060
1d84e9bb
MG
90612011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
9062
9063 * speedbar.el (speedbar-supported-extension-expressions):
9064 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9065
382c953b
JB
90662011-12-09 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * printing.el (pr-mode-alist):
9069 * simple.el (filter-buffer-substring-functions)
9070 (completion-list-insert-choice-function):
9071 * window.el (window-with-parameter, window-atom-root)
9072 (window-sides-slots, window-size-fixed, window-min-delta)
9073 (window-max-delta, window--resize-mini-window)
9074 (window--resize-child-windows-normal, window-tree)
9075 (delete-other-windows, quit-window, split-window)
9076 (display-buffer-record-window, special-display-buffer-names)
9077 (special-display-regexps, special-display-popup-frame)
9078 (same-window-p, split-window-sensibly)
9079 (display-buffer-overriding-action, display-buffer-alist)
9080 (display-buffer-base-action, display-buffer, switch-to-buffer)
9081 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9082 (fit-window-to-buffer, recenter-positions)
9083 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9084 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9085 and remove unneeded backslashes in docstrings.
9086
39c9faef
SM
90872011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9088
98449af8
SM
9089 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9090
39c9faef
SM
9091 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9092 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9093 end in ".mk".
9094 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9095 when reading the makefile (bug#10116).
9096
86ed9fdc
SM
90972011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9100 (bug#10116).
9101
5580f89d
GM
91022011-12-06 Glenn Morris <rgm@gnu.org>
9103
9104 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9105
28d3917c
CY
91062011-12-06 Chong Yidong <cyd@gnu.org>
9107
9108 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9109
a98edce9
JB
91102011-12-06 Juanma Barranquero <lekktu@gmail.com>
9111
9112 * textmodes/table.el (table-shorten-cell): Fix typo.
9113
e65adfac
CG
91142011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9115
9116 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9117
71cc0b74
EZ
91182011-12-05 Eli Zaretskii <eliz@gnu.org>
9119
9120 * descr-text.el (describe-char): Fix display of strong
9121 right-to-left characters and directional embeddings and overrides.
9122
9123 * simple.el (what-cursor-position): Fix display of codepoints of
9124 strong right-to-left characters.
9125
315bc30d
CY
91262011-12-05 Chong Yidong <cyd@gnu.org>
9127
9128 * faces.el (read-color): Doc fix.
9129
58a70b94
GM
91302011-12-05 Glenn Morris <rgm@gnu.org>
9131
9132 * align.el (align--set-marker): Add doc-string.
9133 Don't try to move something that is not a marker. (Bug#10216)
9134
5158face
GM
91352011-12-04 Glenn Morris <rgm@gnu.org>
9136
9137 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9138 overly zealous deletion of trailing whitespace.
9139
520fca41
JB
91402011-12-04 Juanma Barranquero <lekktu@gmail.com>
9141
9142 * server.el (server-delete-client): On Windows, do not try to delete
9143 the only terminal.
9144 (server-process-filter): On Windows, treat requests for a tty frame as
9145 if they were for a GUI frame if the running server is in GUI mode.
9146
5e605a2e
GM
91472011-12-03 Glenn Morris <rgm@gnu.org>
9148
9149 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9150
5c3fe83f
SM
91512011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9152
6f5e57e7
SM
9153 * electric.el: Streamline electric-indent's hook.
9154 (electric-indent-chars): Revert to simple list.
9155 (electric-indent-functions): New var.
9156 (electric-indent-post-self-insert-function): Use it.
9157
5c3fe83f
SM
9158 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9159 there's no inferior buffer (bug#10196).
9160 (prolog-consult-compile): Don't use toggle-read-only.
9161
6bdac736
MA
91622011-12-02 Michael Albinus <michael.albinus@gmx.de>
9163
9164 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9165 interrupt. (Bug#10187)
9166
6131ba7f
SM
91672011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9168
99c79fee
SM
9169 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9170 (bug#9160).
9171
6131ba7f
SM
9172 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9173 (bug#10191).
9174
cb0a02ea
JL
91752011-12-02 Juri Linkov <juri@jurta.org>
9176
9177 * info.el (Info-search): Display "end of manual" when Isearch
9178 reaches the end of single-file Info manual. (Bug#9918)
9179
66e0570c
EZ
91802011-12-02 Eli Zaretskii <eliz@gnu.org>
9181
9182 * isearch.el (isearch-message-prefix): Run the input method part
9183 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9184
02b16839
JL
91852011-12-02 Juri Linkov <juri@jurta.org>
9186
9187 * isearch.el (isearch-occur): Use `word-search-regexp' for
9188 `isearch-word'.
9189 (isearch-search-and-update): Add condition for `isearch-word' and
9190 call `word-search-regexp'. (Bug#10145)
9191
0b950688
GM
91922011-12-01 Glenn Morris <rgm@gnu.org>
9193
9194 * eshell/em-hist.el (eshell-hist-initialize):
9195 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9196 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9197
9505c3c7
SM
91982011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9201
1bbe96b2 92022011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9203
a1beca85
SM
9204 * progmodes/verilog-mode.el (verilog-pretty-expr):
9205 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9206 verilog, such as += *= and the like.
9207 (verilog-assignment-operator-re): Regular expression to find the
9208 assigment operator in a verilog assignment.
9209 (verilog-assignment-operation-re): Regular expression to find an
9210 assignment statement for pretty-expr.
9211 (verilog-in-attribute-p): Query returns true if point is in an
9212 attribute context; used to skip these for expression line up from
9213 pretty-expr.
9214 (verilog-in-parameter-p): Query returns true if point is in an
9215 parameter definition context; used to skip these for expression
9216 line up from pretty-expr.
9217 (verilog-in-parenthesis-p): Query returns true if point is in a
9218 parenthetical expression, specifically ( ) but not [ ] or { };
9219 used by pretty-expr.
9220 (verilog-just-one-space): If there is no space, don't add one.
9221 (verilog-get-lineup-indent-2): Specifically skip just attribute
9222 contexts for expression lineup, rather than skipping all
9223 parenthetical expressions.
9224 (verilog-calculate-indent): Fix comment, and fix indent.
9225 (verilog-do-indent): Indent declarations in lists (suggested by
9226 Joachim Lechner).
9227 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9228 skeleton items.
9229 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9230 by Alain Mellan).
9231
1bbe96b2 92322011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9233
9234 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9235 parameters with embedded comments. Reported by Ray Stevens.
9236 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9237 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9238 Reported by Tim Holt.
9239 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9240 instantiated by upper module causing wrong expansion until AUTOed a
9241 second time. Reported by K C Buckenmaier.
9242 (verilog-diff-auto): Fix showing .* as a difference when
9243 `verilog-auto-star-save' off. Reported by Dan Dever.
9244 (verilog-auto-reset, verilog-read-always-signals)
9245 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9246 temporary signals in reset list if
9247 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9248 style to each signal's assignment type, bug381.
9249 Reported by Thomas Esposito.
6288f0ca
WS
9250 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9251 (verilog-uvm-statement-re): Support UVM indentation and
9252 highlighting, with old OVM keywords only.
a1beca85 9253 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9254 Support AUTOTIEOFF creating non-wire data types.
9255 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9256 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9257 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9258 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9259 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9260 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9261 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9262 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9263 non-numeric vector width. Reported by Alex Reed.
9264 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9265 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9266 (verilog-auto-delete-trailing-whitespace):
9267 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9268 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9269 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9270 Fix verilog-scan-cache corruption when running user AUTO expansion
9271 hooks that call indentation routines.
9272 (verilog-simplify-range-expression): Fix typo ignoring lower case
9273 identifiers.
9274 (verilog-delete-auto): Fix delete-autos to also remove user created
9275 automatics, as long as they start with AUTO.
9276 (verilog-batch-diff-auto, verilog-diff-auto)
9277 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9278 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9279 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9280 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9281 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9282 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9283 is disabled and its cache will get corrupt, causing AUTOS not to
9284 expand. Instead use only -quick functions.
9285 (verilog-scan-region): Fix scanning over escaped quotes.
9286 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9287 (verilog-re-search-backward-quick)
9288 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9289 related functions now ignore strings, to fix misparsing of strings
9290 with magic comments embedded in them.
a1beca85
SM
9291 (verilog-read-auto-template):
9292 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9293 Reported by Brad Dobbie.
9294 (verilog-read-auto-template):
9295 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9296 Reported by Brad Dobbie.
6288f0ca
WS
9297 (verilog-auto-inst, verilog-auto-inst-param)
9298 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9299 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9300 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9301 debugging templates without merge conflicts, bug357.
9302 Reported by Brad Dobbie.
9303 (verilog-read-auto-template):
9304 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9305 Reported by Brad Dobbie.
9306 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9307 abbrevs so user won't be asked to save.
9308 (verilog-read-auto-lisp-present): Fix to start at beginning of
9309 buffer in case called outside of verilog-auto.
9310 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9311 to "X-2". Reported by Matthew Myers.
9312 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9313 all inputs from module templates. Reported by Leith Johnson.
9314 (verilog-module-inside-filename-p): Fix locating programs as with
9315 modules.
9316 (verilog-auto-inst-port): Fix vl-width expressions when using
9317 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9318 (verilog-decls-get-regs, verilog-decls-get-signals,
9319 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9320 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9321 verilog-read-decls): Combine reg and wire structures into one var
9322 structure to represent SystemVerilog concepts.
9323 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9324 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9325 (verilog-auto-wire-type, verilog-insert-definition):
9326 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9327 SystemVerilog "logic" keyword instead of "wire"/"reg".
9328 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9329 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9330 ifdef or generate if so there's not a driver conflict).
9331 Reported by Matthew Myers.
9332 (verilog-auto-declare-nettype, verilog-insert-definition):
9333 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9334 `default_nettype none. Reported by Julian Gorfajn.
9335 (verilog-read-always-signals-recurse, verilog-read-decls)
9336 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9337 malformed end statement, bug325. Reported by Joshua Wise and
9338 Andrew Drake.
9339 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9340 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9341 when expanding .* in interfaces, bug320.
9342 Reported by Pierre-David Pfister.
6288f0ca 9343 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9344 name and open parenthesis, bug317.
9345 Reported by Pierre-David Pfister.
6288f0ca
WS
9346 (verilog-simplify-range-expression): Fix simplification of
9347 multiplications inside AUTOWIRE connections, bug303.
9348 (verilog-auto-inst-port): Support parameter expansion in
9349 multidimensional arrays.
9350 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9351 after "assert property". Reported by Julian Gorfajn.
9352 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9353 with multiplication, bug303.
9354 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9355 Reported by Jan Frode Lonnum.
9356
1bbe96b2
GM
93572011-11-30 Juanma Barranquero <lekktu@gmail.com>
9358
9359 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9360 (hfy-shell-file-name, hfy-shell):
9361 * international/fontset.el (x-decompose-font-name): Fix typos.
9362
93632011-11-29 Ken Brown <kbrown@cornell.edu>
9364
9365 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9366 (gdb-version): Remove defvar.
9367 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9368 (gdb-gud-context-command, gdb-non-stop-handler)
9369 (gdb-current-context-command, gdb-stopped): Use it.
9370 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9371 (gdb-non-stop-handler): Don't enable pretty-printing here.
9372 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9373 non-stop mode. Use the following.
9374 (gdb-check-target-async): New defun.
9375 (gud-watch, gdb-stopped): Fix whitespace.
9376 (gdb-get-source-file): Don't try to display the source file if
9377 `gdb-main-file' is nil.
9378
93792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * align.el: Try to generate fewer markers (bug#10047).
9382 (align--set-marker): New macro.
9383 (align-region): Use it.
9384
c935221f
SM
93852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9388
e70b5064
CY
93892011-11-29 Chong Yidong <cyd@gnu.org>
9390
9391 * indent.el (indent-for-tab-command, indent-according-to-mode):
9392 Doc fix.
9393 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9394
f3af92b7
MA
93952011-11-29 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9398 aware of remote file names. (Bug#10124)
9399
ed472be9
CY
94002011-11-29 Chong Yidong <cyd@gnu.org>
9401
9402 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9403
24510c22
SM
94042011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * files.el (find-file): Don't use force-same-window (bug#10144).
9407 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9408 use pop-to-buffer if the selected window can't be used.
9409 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9410
c60c3703
EZ
94112011-11-28 Eli Zaretskii <eliz@gnu.org>
9412
9413 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9414 special-mode-map.
9415
e95def75
CY
94162011-11-28 Chong Yidong <cyd@gnu.org>
9417
9418 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9419
c3f1c606
NR
94202011-11-27 Nick Roberts <nickrob@snap.net.nz>
9421
9422 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9423 gdb-get-source-file-list on gdb-create-source-file-list.
9424
00db469c
EZ
94252011-11-26 Eli Zaretskii <eliz@gnu.org>
9426
9427 * whitespace.el (whitespace-newline): Use a different foreground
9428 color for 16-color light-background displays.
9429
4ad3bc2a
CY
94302011-11-24 Chong Yidong <cyd@gnu.org>
9431
9432 * window.el (display-buffer--special-action): Doc fix.
9433
e9fce1ac
JB
94342011-11-25 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9437 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9438 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9439 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9440 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9441 (avl-tree-stack-first):
9442 * emacs-lisp/cconv.el (cconv--analyse-use):
9443 * net/gnutls.el (gnutls-negotiate): Fix typos.
9444
cb825e5d
GM
94452011-11-24 Glenn Morris <rgm@gnu.org>
9446
3adbe224
GM
9447 * lpr.el (lpr-windows-system, lpr-lp-system):
9448 * mail/binhex.el (binhex-begin-line):
9449 * progmodes/grep.el (grep-history, grep-find-history):
9450 * textmodes/flyspell.el:
9451 * vc/pcvs-defs.el (cvs-global-menu):
9452 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9453 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9454 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9455
321decc8
GM
9456 * net/tls.el: Fix case of "GnuTLS".
9457
420b63ad
GM
9458 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9459
cb825e5d
GM
9460 * version.el (emacs-build-system): Give it a doc-string.
9461
a0649f08
JL
94622011-11-24 Juri Linkov <juri@jurta.org>
9463
9464 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9465
c0bc0fd4
GM
94662011-11-24 Glenn Morris <rgm@gnu.org>
9467
9468 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9469 if called on a non-mime message just toggle the headers. (Bug#8006)
9470
20db1522
JB
94712011-11-24 Juanma Barranquero <lekktu@gmail.com>
9472
9473 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9474 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9475 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9476 (allout-rebullet-heading, allout-open-sibtopic)
9477 (allout-toggle-current-subtree-encryption)
9478 (allout-toggle-subtree-encryption, allout-encrypt-string)
9479 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9480 (allout-distinctive-bullets-string, allout-auto-activation):
9481 * window.el (window-normalize-buffer-to-display):
9482 * progmodes/verilog-mode.el (verilog-batch-indent):
9483 * textmodes/bibtex.el (bibtex-field-braces-opt)
9484 (bibtex-field-strings-opt):
9485 * vc/cvs-status.el (cvs-tree-merge):
9486 Fix typos.
9487
7262a87c
MA
94882011-11-23 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9491 `non-essential' to t, in order to avoid remote connections.
9492
283430a1
EZ
94932011-11-23 Eli Zaretskii <eliz@gnu.org>
9494
a1beca85
SM
9495 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9496 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9497 case-insensitively.
9498
d2992a38
ML
94992011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9500
9501 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9502
50419064
GM
95032011-11-23 Glenn Morris <rgm@gnu.org>
9504
da94eca1
GM
9505 * paths.el (rmail-file-name): Reformat the doc-string so that it
9506 is picked up.
9507
9aac4de2
GM
9508 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9509 (rmail-auto-file): Ignore case in the "special" field names,
9510 as mail-fetch-field does for all others.
9511
8038d2d2
GM
9512 * mail/rmail.el (rmail-forward):
9513 * mail/rmailkwd.el (rmail-set-label):
9514 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9515 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9516
f3fe222a
GM
9517 * mail/rmail.el (rmail-current-message): Doc fix.
9518
50419064
GM
9519 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9520
28109f49
SM
95212011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9524
394c65f1
GM
95252011-11-22 Glenn Morris <rgm@gnu.org>
9526
9527 * mail/rmailmm.el (test-rmail-mime-handler)
9528 (test-rmail-mime-bulk-handler)
9529 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9530
f2a0aa3a
JL
95312011-11-21 Juri Linkov <juri@jurta.org>
9532
1154d12e
JB
9533 * calc/calc.el (calc-read-key-sequence):
9534 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9535
9c34a344
LMI
95362011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9537
9538 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9539 Tell the caller that the next line needs recomputation, even
9540 though it doesn't start a sexp (bug#10094).
9541
f04a3be9
SM
95422011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9543
9544 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9545
7978747f
SM
95462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9547
f04a3be9
SM
9548 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9549 Use force-same-window.
7978747f 9550
fe7a3057
JB
95512011-11-20 Juanma Barranquero <lekktu@gmail.com>
9552
9553 * descr-text.el (describe-char-unicode-data):
9554 * json.el (json-string-escape):
9555 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9556 (Footnote-unicode, Footnote-style-p):
9557 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9558
24901d61
CY
95592011-11-20 Chong Yidong <cyd@gnu.org>
9560
9561 * window.el (replace-buffer-in-windows): Restore interactive spec.
9562
bac7ff22
SM
95632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9564
24f3d7b9
SM
9565 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9566
bac7ff22
SM
9567 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9568 (byte-compile-global-not-obsolete-vars): New var.
9569 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9570 Use it.
9571 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9572
cd1181db
JB
95732011-11-20 Juanma Barranquero <lekktu@gmail.com>
9574
9575 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9576 * progmodes/pascal.el (electric-pascal-equal):
9577 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9578 * xml.el (xml-substitute-special): Fix typos.
9579
7fb18e9e
GM
95802011-11-20 Glenn Morris <rgm@gnu.org>
9581
9582 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9583 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9584 Doc fixes.
9585 (rmail-decode-mime-charset): Mark as obsolete.
9586
9587 * mail/rmailsum.el (rmail-message-regexp-p-1):
9588 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9589 Before using mime functions, check they are set. (Bug#10077)
9590
d5a6b3ba
JL
95912011-11-19 Juri Linkov <juri@jurta.org>
9592
9593 * info.el (Info-finder-find-node): Use `package--builtins' instead
9594 of `package-alist'. Use node names formed by the pattern "Keyword "
9595 and the keyword name.
9596
e981b61f
AS
95972011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9598
1d00653d 9599 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9600
3ffbc301
JL
96012011-11-19 Juri Linkov <juri@jurta.org>
9602
9603 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9604 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9605 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9606 `old-history', `old-history-forward'. Add let-binding
9607 `window-selected'. Remove calls to `kill-buffer',
9608 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9609 before calling `Info-find-node', so `Info-find-node-2' will reread
9610 the Info file. Restore window positions only when `window-selected'
9611 is non-nil.
9612
30c62133
JL
96132011-11-19 Juri Linkov <juri@jurta.org>
9614
9615 * isearch.el (isearch-lazy-highlight-new-loop):
9616 Remove condition `(not isearch-error)'. (Bug#9918)
9617
9618 * misearch.el (multi-isearch-search-fun): Add condition
9619 `(not bound)' to ignore lazy-highlighting search.
9620 Add the search-failed message "end of multi" when the end of
9621 multi-sequence is reached. Uncapitalize the search-failed
9622 message "Repeat for next buffer".
9623
9624 * info.el (Info-search): Add the search-failed message
9625 "end of the manual" when the end of the manual is reached
9626 in Isearch mode.
9627
645ca9cf
JL
96282011-11-19 Juri Linkov <juri@jurta.org>
9629
9630 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9631 Use non-destructive `remove' instead of `delete' because
9632 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9633 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9634
df754f66
JL
96352011-11-19 Juri Linkov <juri@jurta.org>
9636
9637 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9638 to nil instead of binding `search-ring' and `regexp-search-ring'.
9639 (Bug#9185)
9640
0e23d96a
EZ
96412011-11-19 Eli Zaretskii <eliz@gnu.org>
9642
9643 * simple.el (line-move): Force movement by logical lines for any
9644 hscrolled window, not only when auto-hscroll-mode is on.
9645 (line-move-visual): Update doc string to that effect. (Bug#10076)
9646
8a6ccb66
AS
96472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9648
9649 * language/european.el (macintosh): Define as alias for mac-roman.
9650
49ae5b39
EZ
96512011-11-19 Eli Zaretskii <eliz@gnu.org>
9652
9653 * mail/rmailmm.el (rmail-mime-display-header)
9654 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9655 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9656 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9657 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9658 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9659 of a raw aref.
9660 (rmail-mime-entity-segment): To get past the tagline, move forward
9661 2 more lines, to account for the 2 empty lines that precede and
9662 follow the line with the buttons.
9663 (rmail-mime-update-tagline): Move one more line, to get past the
9664 empty line that follows the buttons in the tagline. (Bug#9520)
9665
c56cad4a
MR
96662011-11-19 Martin Rudalics <rudalics@gmx.at>
9667
9668 * window.el (window-max-delta-1, window-min-delta-1)
9669 (window-min-size-1, window-state-get-1, window-state-put-1)
9670 (window-state-put-2): Use "window--" prefix.
9671
cbe71af3
SM
96722011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9673
2ad52c60
SM
9674 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9675 (smie-warning-count): New var.
9676 (smie-set-prec2tab): Use it.
9677 (smie-bnf->prec2): Improve warnings. Add docstring.
9678 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9679 (smie-bnf--set-class): New function.
9680 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9681 corner case.
9682
6944dbc1
SM
9683 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9684 (compilation-error-properties, compilation-move-to-column):
9685 Handle compilation-first-column while in the target buffer.
9686
c400c4d7
SM
9687 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9688 Don't hardcode point-min==1.
9689
6dbe3e96
SM
9690 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9691 (eshell-rewrite-for-command): Remove workaround.
9692 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9693 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9694 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9695
cbe71af3
SM
9696 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9697
a8e1496d
GM
96982011-11-17 Glenn Morris <rgm@gnu.org>
9699
9700 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9701 Ignore buffer-local generated-autoload-file if it is the same
9702 as the global value. (Bug#10049)
9703
df85d315
JB
97042011-11-17 Juanma Barranquero <lekktu@gmail.com>
9705
9706 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9707 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9708 (reftex-toc-previous-heading, reftex-toc-max-level)
9709 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9710 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9711 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9712 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9713 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9714 (reftex-toc-rename-label, reftex-toc-visit-location)
9715 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9716 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9717 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9718 leaving "*toc*" only for references to the buffer.
9719
a0c2d0ae
MR
97202011-11-17 Martin Rudalics <rudalics@gmx.at>
9721
9722 * window.el (window-resize, delete-window, split-window):
9723 Replace window-splits by window-combination-resize.
1d00653d 9724 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9725
35c0bac8
GM
97262011-11-17 Glenn Morris <rgm@gnu.org>
9727
9728 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9729 Make bash entry derive from sh entry, not shell entry.
9730
d0c8fc8a
MA
97312011-11-16 Michael Albinus <michael.albinus@gmx.de>
9732
7262a87c
MA
9733 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9734 local file name.
9735
7877f373
JB
97362011-11-16 Juanma Barranquero <lekktu@gmail.com>
9737
9738 * menu-bar.el (menu-bar-file-menu):
9739 * printing.el (pr-ps-utility):
9740 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9741 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9742 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9743 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9744 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9745 (icalendar--convert-cyclic-to-ical)
9746 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9747 (icalendar--convert-ical-to-diary)
9748 (icalendar--convert-recurring-to-diary)
9749 (icalendar--convert-non-recurring-all-day-to-diary)
9750 (icalendar-import-format-sample):
9751 * progmodes/idlw-shell.el (idlwave-shell-mode):
9752 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9753 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9754 (vhdl-ps-print-init): Fix typos.
9755
10649b82
KM
97562011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9757
9d0cfcd6
GM
9758 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9759 FSF and collapse date sequence, obscure author/maintainer email address
9760 better, remove extra version line, track relocation of author's webpage.
10649b82 9761
9d0cfcd6
GM
9762 * progmodes/python.el (python-pdbtrack-input-prompt)
9763 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9764 regular python pdb prompts. Adjustments shamelessly taken exactly as
9765 suggested in EmacsWiki page (tiny change):
9766 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9767
58179cce
JB
97682011-11-16 Juanma Barranquero <lekktu@gmail.com>
9769
9770 * expand.el (expand-pos, expand-index, expand-point):
9771 Remove redundant info from docstring.
9772 (expand-add-abbrevs): Doc fix.
9773 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9774 (expand-sample-perl-mode-expand-list): Fix typos.
9775
9776 * net/dbus.el (dbus-event-member-name):
9777 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9778 * term/pc-win.el (msdos-create-frame-with-faces):
9779 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9780
b6f67890
MR
97812011-11-16 Martin Rudalics <rudalics@gmx.at>
9782
9783 * window.el (split-window, window-state-get-1)
9784 (window-state-put-1, window-state-put-2): Rename occurrences of
9785 window-nest to window-combination-limit.
1d00653d 9786 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9787
ce7ddba0
CY
97882011-11-16 Chong Yidong <cyd@gnu.org>
9789
9790 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9791 regexp (Bug#10033).
9792
3ae704f4
SM
97932011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9796 `completing-read' will remove *Completions* and will preserve
9797 current-buffer for us.
9798 (tmm-add-prompt): Users of *Completions* will always (re)set its
9799 major mode.
9800 (tmm-old-comp-map): Remove.
9801
6ad1cdde
GM
98022011-11-16 Glenn Morris <rgm@gnu.org>
9803
9804 * mail/rmailedit.el: Require rmailmm when compiling.
9805 (rmail-old-mime-state): New declaration.
9806 (rmail-edit-current-message): If editing a mime message,
9807 edit the "raw" message from the mbox buffer.
9808 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9809
d20faa20
GM
98102011-11-15 Glenn Morris <rgm@gnu.org>
9811
9812 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9813 which wasn't being used. Add optional arg to force given state.
9814 (rmail-mime): Add optional arg to force given state.
9815
c7015153
JB
98162011-11-15 Juanma Barranquero <lekktu@gmail.com>
9817
9818 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9819 * frame.el (display-mm-dimensions-alist):
9820 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9821 (outline-move-subtree-down):
9822 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9823 (newsticker--treeview-do-get-node):
9824 * net/quickurl.el (quickurl-list-buffer-name):
9825 * progmodes/dcl-mode.el (dcl-mode):
9826 * progmodes/gdb-mi.el (gdb-mapcar*):
9827 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9828
45261b50
GM
98292011-11-15 Glenn Morris <rgm@gnu.org>
9830
9831 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9832 in a boolean sense, so just make it a boolean, and fix the doc.
9833 (rmail-show-mime-function, rmail-mime-feature)
9834 (rmail-require-mime-maybe): Doc fixes.
9835 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9836
9837 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9838
0d26e0b6
JB
98392011-11-15 Juanma Barranquero <lekktu@gmail.com>
9840
9841 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9842 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9843 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9844 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9845
447f30f6
GM
98462011-11-15 Glenn Morris <rgm@gnu.org>
9847
672b871d
GM
9848 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9849 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9850 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9851 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9852 (rmail-mime, rmail-show-mime): Doc fixes.
9853
f6aa5bb1
GM
9854 * term/ns-win.el (mode-line-frame-identification):
9855 Leave it alone. (Bug#10051)
9856
947cd66b
GM
9857 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9858
447f30f6
GM
9859 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9860 Handle empty buffers. (Bug#9978)
9861
0b381c7e
JB
98622011-11-14 Juanma Barranquero <lekktu@gmail.com>
9863
9864 * international/mule.el (define-charset):
9865 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9866 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9867 * progmodes/verilog-mode.el (verilog-backward-token):
9868 * textmodes/ispell.el (lookup-words):
9869 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9870
71e027ac
GM
98712011-11-14 Glenn Morris <rgm@gnu.org>
9872
56632ce4
GM
9873 * progmodes/executable.el
9874 (executable-make-buffer-file-executable-if-script-p):
9875 Handle file-modes returning nil.
9876
40500957
GM
9877 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9878 message - not necessary, and causes problems. (Bug#9831)
9879
071c2340
GM
9880 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9881
d3cfca60
GM
9882 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9883
71e027ac
GM
9884 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9885 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9886 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9887
89d61221
MR
98882011-11-12 Martin Rudalics <rudalics@gmx.at>
9889
9890 * window.el (window-resize, delete-window): Use window-splits
9891 variable instead of function.
9892 (window-state-get-1, window-state-put-2, window-state-put):
9893 Don't deal with windows' splits status.
9894
98282f6f
GM
98952011-11-12 Glenn Morris <rgm@gnu.org>
9896
9897 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9898 (apropos-documentation): Doc fixes.
9899
40a8bdf6
JB
99002011-11-11 Juanma Barranquero <lekktu@gmail.com>
9901
9902 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9903 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9904
65bd19ff
SM
99052011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * electric.el (electric-indent-post-self-insert-function): Make it
9908 possible for a char to only indent in some circumstances.
9909 (electric-indent-mode): Simplify.
9910
54f9154c
MR
99112011-11-11 Martin Rudalics <rudalics@gmx.at>
9912
9913 * window.el (windows-with-parameter): Remove unused function.
9914 (windows-at-side): Rename to window-at-side-list.
9915 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9916 (window-side-check, window-size-ignore, window-size-fixed-1)
9917 (window-in-direction-2): Prefix with "window--".
9918 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9919
68cbc58b
GM
99202011-11-11 Glenn Morris <rgm@gnu.org>
9921
9922 * subr.el (eval-after-load): If FILE is already loaded,
9923 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9924
b2621720
GM
99252011-11-10 Glenn Morris <rgm@gnu.org>
9926
9a4de110
GM
9927 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9928 Call svn via vc-svn-command rather than vc-do-command.
9929 (vc-svn-command): Add --non-interactive. (Bug#9993)
9930 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9931
b2621720
GM
9932 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9933 Add toggle-read-only. (Bug#7292)
9934 * files.el (toggle-read-only): Mention that it should only
9935 be used interactively. (Bug#10006)
9936
1dce7193
SM
99372011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9938
d9ac1a1e
SM
9939 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9940 Adjust regexp for OCaml warnings.
9941
0c325082
SM
9942 * electric.el (electric-pair-post-self-insert-function): Let user
9943 turn it off buffer-locally (bug#9932).
9944
90132c14
SM
9945 * progmodes/python.el (python-beginning-of-statement):
9946 Rewrite (bug#2703).
9947
1dce7193
SM
9948 * progmodes/compile.el: Better handle TABs (bug#9749).
9949 (compilation-internal-error-properties)
9950 (compilation-next-error-function): Obey the target buffer's
9951 compilation-error-screen-columns.
9952
c4e7c63a
JB
99532011-11-09 Juanma Barranquero <lekktu@gmail.com>
9954
9955 * progmodes/meta-mode.el: Remove obsolete comments.
9956 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9957 Fix typos in docstrings.
9958
2cffd681
MR
99592011-11-09 Martin Rudalics <rudalics@gmx.at>
9960
9961 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9962 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9963 (window--resizable): New function. Make all callers of
9964 window-resizable call window--resizable instead.
9965 (window-resizable): Rewrite in terms of window--resizable.
9966
0edcba87
GM
99672011-11-08 Glenn Morris <rgm@gnu.org>
9968
9969 * progmodes/delphi.el (delphi-mode-syntax-table):
9970 Let define-derived-mode define a proper syntax table. (Bug#9994)
9971
4b0d61e3
SM
99722011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * window.el: Stay away from defsubst.
9975 (window-list-no-nils): Remove.
9976 (window-state-get-1, window-state-get): Use backquote instead.
9977
cd394be1 99782011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9979
4b0d61e3 9980 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9981 Fix incorrect use of default argument in `completing-read'.
9982
e1c2c6f2
MR
99832011-11-08 Martin Rudalics <rudalics@gmx.at>
9984
9985 * window.el (display-buffer-function, special-display-function):
9986 Mention display-buffer-record-window but do not mention
9987 help-setup parameter in doc-strings.
b3f4a882 9988 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9989
105216ed
CY
99902011-11-08 Chong Yidong <cyd@gnu.org>
9991
9992 * window.el (window-total-height, window-total-width): Doc fix.
9993 (window-body-size): Move from C.
9994 (window-body-height, window-body-width): Move to C.
9995
0a9f9ab5
SM
99962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * window.el: Make special-display like display-buffer-alist (bug#9532).
9999 (display-buffer--special-action): New function, morphed
10000 from display-buffer--special.
10001 (display-buffer): Use it to handle special-display-buffers at higher
10002 priority (just after display-buffer-alist).
10003 (display-buffer-fallback-action, display-buffer--other-frame-action)
10004 (pop-to-buffer-same-window): Remove display-buffer--special.
10005
a769dd15
GM
100062011-11-07 Glenn Morris <rgm@gnu.org>
10007
10008 * calendar/cal-menu.el (cal-menu-set-date-title):
10009 Do nothing if not in a calendar. (Bug#9976)
10010
05a61ee3
SM
100112011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * files.el (find-file): Always use selected-window.
10014
be7f5545
MR
100152011-11-07 Martin Rudalics <rudalics@gmx.at>
10016
10017 * window.el (window-combinations): Make WINDOW argument
10018 mandatory. Rewrite doc-string.
10019 (walk-window-subtree, window-atom-check, window-min-delta)
10020 (window-max-delta, window--resize-this-window)
10021 (window--resize-root-window-vertically, window-tree)
10022 (balance-windows, window-state-put): Rewrite doc-strings as to
10023 not mention the term "subwindow".
10024 (window--resize-subwindows-skip-p): Rename to
10025 window--resize-child-windows-skip-p.
10026 (window--resize-subwindows-normal): Rename to
10027 window--resize-child-windows-normal.
10028 (window--resize-subwindows): Rename to
10029 window--resize-child-windows.
10030 (window-or-subwindow-p): Rename to window--in-subtree-p.
10031
3c6702ef
ML
100322011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10033
10034 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10035 Ensure that mbox format messages end in two newlines (Bug#9974).
10036
49745b39
CY
100372011-11-06 Chong Yidong <cyd@gnu.org>
10038
10039 * window.el (window-combination-p): Function deleted; its
10040 side-effect is not used in any existing code.
10041 (window-combinations, window-combined-p): Call window-*-child
10042 directly.
10043
24300f5f
CY
100442011-11-05 Chong Yidong <cyd@gnu.org>
10045
10046 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10047 (window-size-ignore, window-state-get): Callers changed.
10048 (window-normalize-window): Rename from window-normalize-any-window.
10049 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10050 (window-normalize-live-window): Delete.
447f16b8
CY
10051 (window-combination-p, window-combined-p, window-combinations)
10052 (walk-window-subtree, window-atom-root, window-min-size)
10053 (window-sizable, window-sizable-p, window-size-fixed-p)
10054 (window-min-delta, window-max-delta, window-resizable)
10055 (window-resizable-p, window-full-height-p, window-full-width-p)
10056 (window-current-scroll-bars, window-point-1, set-window-point-1)
10057 (window-at-side-p, window-in-direction, window-resize)
10058 (adjust-window-trailing-edge, maximize-window, minimize-window)
10059 (window-deletable-p, delete-window, delete-other-windows)
10060 (record-window-buffer, unrecord-window-buffer)
10061 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10062 (quit-window, split-window, window-state-put)
10063 (set-window-text-height, fit-window-to-buffer)
10064 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10065
89bd5ee1
EZ
100662011-11-04 Eli Zaretskii <eliz@gnu.org>
10067
53479029
EZ
10068 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10069 rfc2047-decode-string.
10070 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10071 warnings.
10072
89bd5ee1
EZ
10073 * window.el (window-body-height, window-body-width): Mention in
10074 the doc string that the return values are in frame's canonical
10075 units. (Bug#9949)
10076
bd17fdee
AM
100772011-11-03 Alan Mackenzie <acm@muc.de>
10078
10079 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10080 change in cc-engine.el.
10081
acc825c5
SM
100822011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10085
1885e5b8
MR
100862011-11-02 Martin Rudalics <rudalics@gmx.at>
10087
10088 * window.el (quit-window): Call unrecord-window-buffer after
10089 showing another buffer in the window. (Bug#9937)
acc825c5 10090 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10091
ebe06da9
JB
100922011-11-02 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10095 Accept status with more than 9 shelves. (Bug#9935)
10096 Reported by Colin D Bennett <colin@gibibit.com>.
10097
4ee88440
MR
100982011-11-01 Martin Rudalics <rudalics@gmx.at>
10099
10100 * help.el (with-help-window): Don't reference
10101 temp-buffer-show-specifiers in doc-string.
10102
08e1d82c
AS
101032011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10104
10105 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10106 menu-item.
10107
84bd6e9e
VJL
101082011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10109
10110 * whitespace.el: New version 13.2.2.
10111 (whitespace-newline-mode): Disable properly. Reported by Sarah
10112 <EmacsWiki>.
10113
dba0634a
UJ
101142011-10-30 Ulf Jasper <ulf.jasper@web.de>
10115
10116 * net/newst-treeview.el: Remove "Time-stamp".
10117 (newsticker--group-manage-orphan-feeds): Do not call
10118 newsticker--treeview-tree-update.
db22a3c2
JB
10119 (newsticker-treeview-update, newsticker-treeview):
10120 Call newsticker--treeview-tree-update if necessary.
dba0634a 10121
3d8daefe
MR
101222011-10-30 Martin Rudalics <rudalics@gmx.at>
10123
10124 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10125 (window-iso-combinations): Remove "iso-" infix.
10126 Suggested by Chong Yidong.
3d8daefe
MR
10127 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10128 (window-max-delta-1, window-resize, window--resize-siblings)
10129 (window--resize-this-window, adjust-window-trailing-edge)
10130 (split-window, balance-windows-1)
10131 (shrink-window-if-larger-than-buffer):
10132 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10133 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10134
1bc4c3ae
SM
101352011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10138 in place (bug#9907).
10139 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10140 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10141 (eshell-structure-basic-command, eshell-rewrite-while-command)
10142 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10143 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10144 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10145 (eshell-do-pipelines-synchronously, eshell-eval-command):
10146 Use backquotes and prefer setq to set.
10147 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10148 (eshell-macrop): Use functionp.
c1e2f5fa 10149 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10150
30b65d9c
CY
101512011-10-30 Chong Yidong <cyd@gnu.org>
10152
10153 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10154 instead of set-mark (Bug#9810).
10155
2d197ffb
CY
101562011-10-30 Chong Yidong <cyd@gnu.org>
10157
10158 * window.el (split-window-below, split-window-right): Rename from
10159 split-window-above-each-other and split-window-side-by-side
10160 respectively. All callers changed.
10161 (split-window-sensibly, split-window-sensibly): Use them.
10162 (split-window-keep-point): Doc fix.
10163
10164 * isearch.el: Add isearch-scroll property to split-window-below
10165 and split-window-right.
10166
10167 * follow.el (follow-mode):
10168 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10169 * progmodes/ada-xref.el (ada-gdb-application):
10170 * emulation/vip.el (vip-buffer-in-two-windows):
10171 * image-dired.el (image-dired-dired-with-window-configuration):
10172 * dired-x.el (dired-do-find-marked-files):
10173 * dired.el (dired-pop-to-buffer):
10174 * bs.el (bs--show-with-configuration):
10175 * vc/emerge.el (emerge-setup-windows):
10176 * textmodes/two-column.el (2C-two-columns):
10177 * textmodes/reftex-toc.el (reftex-toc):
10178 * progmodes/gdb-mi.el (gdb-setup-windows):
10179 * progmodes/fortran.el (fortran-window-create):
10180 * net/newst-treeview.el (newsticker--treeview-window-init):
10181 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10182 * emulation/tpu-edt.el (tpu-gold-map):
10183 * emulation/crisp.el (crisp-mode-map):
10184 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10185
38bb2ca8
CY
101862011-10-29 Chong Yidong <cyd@gnu.org>
10187
aa4de341
CY
10188 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10189
e1eb5385
CY
10190 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10191
5d2ece3c
CY
10192 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10193 forged Ispell output (Bug#7904).
10194
38bb2ca8
CY
10195 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10196
d0af9f77
SM
101972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * doc-view.el: Avoid ugly errors about not finding nil.
10200 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10201 (doc-view-dvipdf-program, doc-view-unoconv-program)
10202 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10203 Avoid nil or absolute file name as default value.
10204 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10205
52bedd34
AM
102062011-10-28 Alan Mackenzie <acm@muc.de>
10207
db22a3c2 10208 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10209
7e43cfa5
AM
102102011-10-28 Alan Mackenzie <acm@muc.de>
10211
10212 Amend the handling of c-beginning/end-of-defun in nested declaration
10213 scopes.
10214
52bedd34
AM
10215 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10216 cc-langs.el. Change it to a defcustom.
7e43cfa5 10217
52bedd34
AM
10218 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10219 cc-vars.el.
7e43cfa5 10220
d0af9f77
SM
10221 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10222 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10223
52bedd34 10224 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10225 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10226 (c-widen-to-enclosing-decl-scope): New function.
10227 (c-while-widening-to-decl-block): New macro.
10228 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10229 outward for defun boundaries, and correspondingly change symbol
10230 `respect-enclosure' to `go-outward'.
10231 (c-declaration-limits): Change algorithm to report only the "innermost"
10232 defun's boundaries.
10233
1a2ce9ee
DD
102342011-10-28 Deniz Dogan <deniz@dogan.se>
10235
10236 * net/rcirc.el (rcirc-mode): Use hard newlines.
10237
bc97a826
AM
102382011-10-28 Alan Mackenzie <acm@muc.de>
10239
10240 Amend to indent and fontify macros "which include their own semicolon"
10241 correctly, using the "virtual semicolon" mechanism.
10242
52bedd34 10243 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10244
d0af9f77 10245 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10246 Recode to scan one line at a time rather than having \n and \r
58179cce 10247 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10248 (c-forward-label): Amend for virtual semicolons.
58179cce 10249 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10250
52bedd34
AM
10251 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10252 of the new C macros.
bc97a826 10253
52bedd34 10254 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10255 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10256 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10257 (c-opt-cpp-macro-define): Make into a full language variable.
10258 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10259 AWK Mode (including \n, \r) removed, no longer needed.
10260
d0af9f77
SM
10261 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10262 Invoke c-make-macro-with-semi-re.
bc97a826 10263
52bedd34
AM
10264 * progmodes/cc-vars.el (c-macro-with-semi-re):
10265 (c-macro-names-with-semicolon): New variables.
58179cce 10266 (c-make-macro-with-semi-re): New function.
bc97a826 10267
7a6c0941
SM
102682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * vc/log-edit.el: Fill empty field rather than adding new one.
10271 (log-edit-add-field): New function.
10272 (log-edit-insert-changelog): Use it.
10273
b0c4cdcf
ML
102742011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10275
10276 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10277
ee1f1da9
SM
102782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10281 (gdb--check-interpreter): New function.
10282 (gdb): Use it.
10283
51bc5f8b
GM
102842011-10-27 Glenn Morris <rgm@gnu.org>
10285
416a2c45
GM
10286 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10287 (least-positive-float, least-negative-float)
10288 (least-positive-normalized-float, least-negative-normalized-float)
10289 (float-epsilon, float-negative-epsilon):
10290 Remove unnecessary declarations.
10291
10292 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10293 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10294 (least-positive-float, least-negative-float)
10295 (least-positive-normalized-float, least-negative-normalized-float)
10296 (float-epsilon, float-negative-epsilon): Add doc-strings,
10297 based on those in cl.texi.
10298
51bc5f8b
GM
10299 * files.el (set-visited-file-name): If the major-mode changed,
10300 reload the local variables. (Bug#9796)
10301
15de15c6
CY
103022011-10-27 Chong Yidong <cyd@gnu.org>
10303
10304 * subr.el (change-major-mode-after-body-hook): New hook.
10305 (run-mode-hooks): Run it.
10306
ee1f1da9
SM
10307 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10308 Use change-major-mode-before-body-hook.
15de15c6
CY
10309
10310 * simple.el (fundamental-mode):
10311 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10312 change introducing fundamental-mode-hook.
10313
5430d399
JB
103142011-10-26 Juanma Barranquero <lekktu@gmail.com>
10315
acc825c5 10316 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10317
ad74a69e
MA
103182011-10-26 Michael Albinus <michael.albinus@gmx.de>
10319
10320 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10321 tramp.el explicitly. (Bug#7583)
ad74a69e 10322
71d4c2a5
SM
103232011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * progmodes/octave-mod.el:
10326 * progmodes/octave-inf.el: Update maintainer.
10327
b1f6fa26
CY
103282011-10-26 Chong Yidong <cyd@gnu.org>
10329
10330 * subr.el (with-wrapper-hook): Rewrite doc.
10331
3f04efd6
MA
103322011-10-25 Michael Albinus <michael.albinus@gmx.de>
10333
10334 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10335 filenames "/method:foo:". (Bug#9793)
3f04efd6 10336
410488d3
SM
103372011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10340 (bug#9865).
10341
c1ebb47e
GM
103422011-10-24 Glenn Morris <rgm@gnu.org>
10343
10344 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10345
7f5c46c7
MA
103462011-10-24 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * notifications.el: Add the requirement of a running D-Bus session
10349 bus to the Commentary.
10350
db2440b6
JL
103512011-10-24 Juri Linkov <juri@jurta.org>
10352
10353 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10354 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10355 (Bug#9364)
10356
feecf435
JL
103572011-10-24 Juri Linkov <juri@jurta.org>
10358
10359 * info.el (Info-following-node-name-re): Add newline to the list
10360 of allowed characters for leading space. (Bug#9824)
10361
a3839de2
SM
103622011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10363
acc825c5
SM
10364 * progmodes/octave-inf.el (inferior-octave-mode-map):
10365 Fix C-c C-h binding.
a3839de2
SM
10366 * progmodes/octave-mod.el (octave-help): Remove.
10367
09388e76
MA
103682011-10-23 Michael Albinus <michael.albinus@gmx.de>
10369
10370 Sync with Tramp 2.2.3.
10371
10372 * net/tramp-cache.el (top): Pacify byte-compiler using
10373 `init-file-user' and `site-run-file'.
10374
10375 * net/trampver.el: Update release number.
10376
86c60681
CY
103772011-10-23 Chong Yidong <cyd@gnu.org>
10378
10379 * files.el (toggle-read-only): Remove obsolete comment about
10380 version control.
10381
10382 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10383 for toggle-read-only. Note that this hasn't called vc-next-action
10384 since 2008-05-02, though it wasn't documented at the time.
10385
a3839de2
SM
10386 * vc/ediff-init.el (ediff-toggle-read-only-function):
10387 Use toggle-read-only.
86c60681 10388
cd5495ff
AM
103892011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10390
10391 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10392 of c-parse-state.
10393
00b77525 10394 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10395 correct faulty logical expression.
cd5495ff
AM
10396 (c-parse-state-state, c-record-parse-state-state):
10397 (c-replay-parse-state-state): New defvar/defuns.
10398 (c-debug-parse-state): Use new functions.
10399
42ee24ed
MR
104002011-10-22 Martin Rudalics <rudalics@gmx.at>
10401
10402 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10403 last fix. Use window-in-direction correctly.
42ee24ed 10404
a7dee7e7
CY
104052011-10-21 Chong Yidong <cyd@gnu.org>
10406
10407 * progmodes/idlwave.el (idlwave-mode):
10408 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10409 require-final-newline; that's done in prog-mode.
10410 Suggested by Stefan Monnier.
a7dee7e7 10411
e07b9a6d
MR
104122011-10-21 Martin Rudalics <rudalics@gmx.at>
10413
10414 * mouse.el (mouse-drag-window-above)
10415 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10416 (mouse-drag-mode-line-1, mouse-drag-header-line)
10417 (mouse-drag-vertical-line-rightward-window): Remove.
10418 (mouse-drag-line): New function.
10419 (mouse-drag-mode-line, mouse-drag-header-line)
10420 (mouse-drag-vertical-line): Call mouse-drag-line.
10421 * window.el (window-at-side-p, windows-at-side): New functions.
10422
7e1361d9
UM
104232011-10-21 Ulrich Mueller <ulm@gentoo.org>
10424
10425 * tar-mode.el (tar-grind-file-mode):
10426 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10427
30fcaf3a
CY
104282011-10-21 Chong Yidong <cyd@gnu.org>
10429
10430 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10431 * progmodes/vera-mode.el (vera-mode):
10432 Use mode-require-final-newline.
30fcaf3a 10433
516eddb0
GM
104342011-10-20 Glenn Morris <rgm@gnu.org>
10435
db22a3c2 10436 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10437
10d5f513
CS
104382011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10439
10440 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10441
ac6c8639
CY
104422011-10-20 Chong Yidong <cyd@gnu.org>
10443
10444 * emulation/cua-base.el (cua-mode):
10445 * mail/footnote.el (footnote-mode):
10446 * mail/mailabbrev.el (mail-abbrevs-mode):
10447 * net/xesam.el (xesam-minor-mode):
10448 * progmodes/bug-reference.el (bug-reference-mode):
10449 * progmodes/cap-words.el (capitalized-words-mode):
10450 * progmodes/compile.el (compilation-minor-mode)
10451 (compilation-shell-minor-mode):
10452 * progmodes/gud.el (gud-tooltip-mode):
10453 * progmodes/hideif.el (hide-ifdef-mode):
10454 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10455 * progmodes/subword.el (subword-mode):
10456 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10457 * progmodes/which-func.el (which-function-mode):
10458 * term/tvi970.el (tvi970-set-keypad-mode):
10459 * term/vt100.el (vt100-wide-mode):
10460 * textmodes/flyspell.el (flyspell-mode):
10461 * textmodes/ispell.el (ispell-minor-mode):
10462 * textmodes/nroff-mode.el (nroff-electric-mode):
10463 * textmodes/paragraphs.el (use-hard-newlines):
10464 * textmodes/refill.el (refill-mode):
10465 * textmodes/reftex.el (reftex-mode):
10466 * textmodes/rst.el (rst-minor-mode):
10467 * textmodes/sgml-mode.el (html-autoview-mode)
10468 (sgml-electric-tag-pair-mode):
10469 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10470 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10471 * emulation/crisp.el (crisp-mode):
10472 * emacs-lisp/eldoc.el (eldoc-mode):
10473 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10474 minor mode behavior.
10475
aa42ab43
JL
104762011-10-19 Juri Linkov <juri@jurta.org>
10477
10478 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10479 the list of hard-coded chars with escape-glyph face.
10480
89400f1d
SM
104812011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10484
305c07f6
MA
104852011-10-19 Michael Albinus <michael.albinus@gmx.de>
10486
10487 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10488 running process.
10489
13754b54
GM
104902011-10-19 Glenn Morris <rgm@gnu.org>
10491
10492 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10493 Ignore ignored files. (Bug#9726)
10494
06e21633
CY
104952011-10-19 Chong Yidong <cyd@gnu.org>
10496
10497 Doc fix for minor modes, stating that an omitted argument enables
10498 the mode unconditionally when called from Lisp.
10499
10500 * abbrev.el (abbrev-mode):
10501 * allout.el (allout-mode):
10502 * autoinsert.el (auto-insert-mode):
10503 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10504 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10505 (global-auto-revert-mode):
10506 * battery.el (display-battery-mode):
10507 * composite.el (global-auto-composition-mode)
10508 (auto-composition-mode):
10509 * delsel.el (delete-selection-mode):
10510 * desktop.el (desktop-save-mode):
10511 * dired-x.el (dired-omit-mode):
10512 * dirtrack.el (dirtrack-mode):
10513 * doc-view.el (doc-view-minor-mode):
10514 * double.el (double-mode):
10515 * electric.el (electric-indent-mode, electric-pair-mode):
10516 * emacs-lock.el (emacs-lock-mode):
10517 * epa-hook.el (auto-encryption-mode):
10518 * follow.el (follow-mode):
10519 * font-core.el (font-lock-mode):
10520 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10521 * help.el (temp-buffer-resize-mode):
10522 * hilit-chg.el (highlight-changes-mode)
10523 (highlight-changes-visible-mode):
10524 * hi-lock.el (hi-lock-mode):
10525 * hl-line.el (hl-line-mode, global-hl-line-mode):
10526 * icomplete.el (icomplete-mode):
10527 * ido.el (ido-everywhere):
10528 * image-file.el (auto-image-file-mode):
10529 * image-mode.el (image-minor-mode):
10530 * iswitchb.el (iswitchb-mode):
10531 * jka-cmpr-hook.el (auto-compression-mode):
10532 * linum.el (linum-mode):
10533 * longlines.el (longlines-mode):
10534 * master.el (master-mode):
10535 * mb-depth.el (minibuffer-depth-indicate-mode):
10536 * menu-bar.el (menu-bar-mode):
10537 * minibuf-eldef.el (minibuffer-electric-default-mode):
10538 * mouse-sel.el (mouse-sel-mode):
10539 * msb.el (msb-mode):
10540 * mwheel.el (mouse-wheel-mode):
10541 * outline.el (outline-minor-mode):
10542 * paren.el (show-paren-mode):
10543 * recentf.el (recentf-mode):
10544 * reveal.el (reveal-mode, global-reveal-mode):
10545 * rfn-eshadow.el (file-name-shadow-mode):
10546 * ruler-mode.el (ruler-mode):
10547 * savehist.el (savehist-mode):
10548 * scroll-all.el (scroll-all-mode):
10549 * scroll-bar.el (scroll-bar-mode):
10550 * server.el (server-mode):
10551 * shell.el (shell-dirtrack-mode):
10552 * simple.el (auto-fill-mode, transient-mark-mode)
10553 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10554 (line-number-mode, column-number-mode, size-indication-mode)
10555 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10556 * strokes.el (strokes-mode):
10557 * time.el (display-time-mode):
10558 * t-mouse.el (gpm-mouse-mode):
10559 * tool-bar.el (tool-bar-mode):
10560 * tooltip.el (tooltip-mode):
10561 * type-break.el (type-break-mode-line-message-mode)
10562 (type-break-query-mode):
10563 * view.el (view-mode):
10564 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10565 (global-whitespace-mode, global-whitespace-newline-mode):
10566 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10567
a3839de2
SM
10568 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10569 Fix autogenerated docstring.
06e21633 10570
5214e501
JL
105712011-10-19 Juri Linkov <juri@jurta.org>
10572
10573 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10574 by checking environment variables "DESKTOP_SESSION" and
10575 "XDG_CURRENT_DESKTOP". (Bug#9779)
10576
195f8db9
JL
105772011-10-19 Juri Linkov <juri@jurta.org>
10578
10579 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10580 (browse-url-chromium-program, browse-url-chromium-arguments):
10581 New defcustoms.
10582 (browse-url-default-browser): Check for `browse-url-chromium' and
10583 call `browse-url-chromium-program'.
10584 (browse-url-chromium): New command. (Bug#9779)
10585
343a34ff
JB
105862011-10-18 Juanma Barranquero <lekktu@gmail.com>
10587
10588 * facemenu.el (list-colors-duplicates): On Windows, detect more
10589 duplicates by assuming that only colors matching "^System" are
10590 special "system colors". (Bug#9722)
10591
6978a151
SM
105922011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10595 to distinguish the author from the committer.
10596
6a80b297
MA
105972011-10-18 Michael Albinus <michael.albinus@gmx.de>
10598
10599 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10600
b31a5677
JK
106012011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10602
10603 * international/mule.el (sgml-html-meta-auto-coding-function):
10604 Add support for detecting encoding in HTML5 specified only as
10605 <meta charset="UTF-8">. Implementation just makes http-equiv and
10606 content-type parts from HTML4 encoding string optional. (Bug#9716)
10607
80c6d77f
GM
106082011-10-18 Glenn Morris <rgm@gnu.org>
10609
10610 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10611
08b0fee8
CY
106122011-10-18 Chong Yidong <cyd@gnu.org>
10613
10614 * faces.el (cursor): Doc fix.
10615
67e729a5
CY
106162011-10-17 Chong Yidong <cyd@gnu.org>
10617
10618 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10619
343a34ff 106202011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10621
10622 * dirtrack.el (dirtrack): Support shell buffers with path
10623 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10624
0bc06380
TZ
106252011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10626
10627 * json.el: Bump version to 1.3 and note change in History.
10628 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10629
8b79f3e0
SM
106302011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10631
5a7c536b
SM
10632 * comint.el (comint-insert-input, comint-send-input)
10633 (comint-get-old-input-default, comint-backward-matching-input)
10634 (comint-next-prompt): Use nil instead of `input' for field property of
10635 past user input (bug#114).
10636
96a8a0df
SM
10637 * minibuffer.el (completion--replace): Inherit surrounding properties
10638 (bug#114).
10639 (minibuffer-complete-and-exit): Use it.
10640
8b79f3e0
SM
10641 * comint.el (comint--table-subvert): Quote the all-completions output
10642 (bug#9160).
10643
b8f7ff0d
MR
106442011-10-17 Martin Rudalics <rudalics@gmx.at>
10645
8b79f3e0 10646 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10647
b8f7ff0d 10648 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10649 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10650 entries and separate them from frame entries.
10651
c235b555
GM
106522011-10-15 Glenn Morris <rgm@gnu.org>
10653
10654 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10655 Doc fixes.
10656
6bbfa6e1
CY
106572011-10-15 Chong Yidong <cyd@stupidchicken.com>
10658
8b79f3e0
SM
10659 * net/network-stream.el (network-stream-open-starttls):
10660 Improve detection of failure due to lack of TLS support.
ec5c990d 10661
6bbfa6e1
CY
10662 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10663 putting the input text in front and in bold.
10664
98488977
SM
106652011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10666
3d1337be
SM
10667 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10668
ee0b45e4
SM
10669 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10670 empty buffer.
10671
98488977
SM
10672 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10673 unread-command-events rather than pushing yet-another event.
10674
186f4720
EZ
106752011-10-14 Eli Zaretskii <eliz@gnu.org>
10676
10677 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10678 the explanation of the possible choices. Make the options passed
10679 to completing-read shorter.
10680
8b7a997c
AM
106812011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10682
10683 * textmodes/flyspell.el (flyspell-large-region): Make sure
10684 extended character mode is used if defined (Bug#1339).
10685
12587bbb
EZ
106862011-10-13 Eli Zaretskii <eliz@gnu.org>
10687
10688 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10689 character info for LRE, LRO, RLE, and RLO characters by appending
10690 an invisible PDF.
12587bbb 10691
bad41229
SM
106922011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10695 even in case of error; add debug spec; simplify data flow.
10696 (with-timeout-handler): Remove.
10697
28dbc92f
MA
106982011-10-12 Michael Albinus <michael.albinus@gmx.de>
10699
10700 Fix Bug#6019, Bug#9315.
10701
10702 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10703 complete `buffer-file-name', the local file name part could look
10704 remotely (for example on VMS).
10705
10706 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10707 `tramp-run-real-handler'.
10708 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10709 already quoted by '"'.
10710
10711 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10712 Let `file-name-handler-alist' be nil, the local file name part
10713 could look remotely (for example on VMS).
10714
e1b0b23a
SM
107152011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10716
10717 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10718 from here...
10719 (flyspell-post-command-hook): ...to here.
10720
a120bde9
SM
107212011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10724 if not needed.
10725 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10726 using completion. Protect against "slow" callers.
10727 Remove the "message hack".
10728
7ce7717b
JL
107292011-10-11 Juri Linkov <juri@jurta.org>
10730
10731 * isearch.el (isearch-lazy-highlight-word): New variable.
10732 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10733 Use it. (Bug#9727)
10734
c02ee9d6
GM
107352011-10-11 Glenn Morris <rgm@gnu.org>
10736
10737 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10738 like f90-previous-statement does.
10739
93e616fd 107402011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10741
1f190e73 10742 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10743 only in interactive use, to avoid error.
10744
af7b6078
SM
107452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * minibuffer.el (completion-file-name-table): Fix last change,
10748 i.e. ignore normal errors but not the other ones.
10749
0563dae9
MR
107502011-10-10 Martin Rudalics <rudalics@gmx.at>
10751
10752 * window.el (special-display-buffer-names)
10753 (special-display-regexps): Remove some remnants of earlier
10754 changes from doc-strings.
366ca7f3
MR
10755 (quit-windows-on): New function.
10756
10757 * vc/vc.el (vc-revert, vc-rollback):
10758 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10759 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10760 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10761
49677495
MR
107622011-10-09 Martin Rudalics <rudalics@gmx.at>
10763
10764 * window.el (frame-auto-hide-function): Add version tag.
10765 (Bug#9699)
10766
56f2d1e1
MA
107672011-10-09 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10770 condition.
10771
112a6592
LL
107722011-10-09 Leo Liu <sdl.web@gmail.com>
10773
10774 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10775 (Bug#9701)
10776
0812589b
GM
107772011-10-08 Glenn Morris <rgm@gnu.org>
10778
10779 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10780 before the first code statement zero indent. (Bug#9690)
10781
b2b0776e
CY
107822011-10-08 Chong Yidong <cyd@stupidchicken.com>
10783
10784 * simple.el (count-words-region): Always count in the region.
10785 Report the number of lines and characters too.
10786 (count-words): New command, which counts in the buffer if the
10787 region is inactive, as count-words-region used to.
10788 (count-words--message): New function. Handle plurals.
10789 (count-lines-region): Make it an alias for count-words-region.
10790
10791 * bindings.el (esc-map): Replace count-lines-region with
10792 count-words-region.
10793
c557cd6b
MR
107942011-10-08 Martin Rudalics <rudalics@gmx.at>
10795
10796 * window.el (window--delete): Delete dedicated frame
10797 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10798 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10799
61a57ef4 108002011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10801
3a7d293b 10802 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10803
c3833279
CY
108042011-10-07 Chong Yidong <cyd@stupidchicken.com>
10805
10806 * bindings.el ([M-left],[M-right]): Bind to left-word and
10807 right-word respectively.
10808
21ce8245
GM
108092011-10-07 Glenn Morris <rgm@gnu.org>
10810
10811 * cus-start.el (debug-on-quit): Fix custom type.
10812
6d823bb2
LMI
108132011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10814
0181e193
LMI
10815 * subr.el (define-key-after): Clarify that the function is not
10816 useful for non-menu keymaps.
10817
6d823bb2
LMI
10818 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10819
8e3459ce 108202011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10821
21ce8245 10822 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10823 in current minibuffer (Fix bug with recursive minibuffers).
10824
a1c2d21e
CY
108252011-10-06 Chong Yidong <cyd@stupidchicken.com>
10826
10827 * progmodes/gdb-mi.el (gdb): Doc fix.
10828
5a4cf282
MR
108292011-10-05 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (frame-auto-hide-function): New option replacing
10832 frame-auto-delete. Suggested by Stefan Monnier.
10833 (window--delete): Call frame-auto-hide-function instead of
10834 investigating frame-auto-delete.
c96111ea
MR
10835 (window-point-1, set-window-point-1): New functions.
10836 (window-in-direction, record-window-buffer, window-state-get-1)
10837 (display-buffer-record-window): Use window-point-1 instead of
10838 window-point.
10839 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10840
9854542e
SM
108412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10844
8943cfb0
GM
108452011-10-05 Glenn Morris <rgm@gnu.org>
10846
10847 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10848 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10849
647ab967
LL
108502011-10-05 Leo Liu <sdl.web@gmail.com>
10851
10852 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10853 works with buffer object.
10854
3ddfbced
SM
108552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10856
10857 * mpc.el (mpc-tool-bar-map): Add labels.
10858
bdfa5dd2
GM
108592011-10-04 Glenn Morris <rgm@gnu.org>
10860
10861 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10862
0e2070b5
MR
108632011-10-04 Martin Rudalics <rudalics@gmx.at>
10864
10865 * window.el (window--delete): New function.
10866 (frame-auto-delete): Resuscitate option.
10867 (bury-buffer, replace-buffer-in-windows)
10868 (quit-window): Rewrite using window--delete.
10869 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10870 Pass display-buffer-mark-dedicated to window--display-buffer-2
10871 (Bug#9639).
10872
3dc61a09
SM
108732011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10874
915a9b64
SM
10875 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10876 returns a list (bug#9554). Add remote file name completion.
10877 * comint.el (comint--table-subvert): Curry and get quote&unquote
10878 functions as arguments.
10879 (comint--complete-file-name-data): Adjust call accordingly.
10880 * pcomplete.el (pcomplete--table-subvert): Remove.
10881 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10882
3dc61a09
SM
10883 * minibuffer.el (completion-table-case-fold): Use currying.
10884 (completion--styles-type, completion--cycling-threshold-type):
10885 New constants.
10886 (completion-styles, completion-category-overrides)
10887 (completion-cycle-threshold): Use them.
10888 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10889 completion-table-case-fold.
10890
8ea0a993
SB
108912011-10-03 Stephen Berman <stephen.berman@gmx.net>
10892
10893 * minibuffer.el (completion-category-overrides): Fix type of styles
10894 and add more user friendly tags (bug#9660).
10895
8c24b7f6
SM
108962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10899 (mule-input-method-string): New widget.
10900 (default-input-method, language-info-custom-alist): Use it.
10901
428fe61a
SM
109022011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10903
32c1fffd
SM
10904 * pcomplete.el: Require comint.
10905 (pcomplete--common-suffix): Remove.
10906 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10907 (pcomplete--table-subvert): Sync with comint--table-subvert.
10908 (pcomplete--entries): Use comint-completion-file-name-table.
10909 * comint.el (comint-unquote-filename): Simplify.
10910 (comint-completion-file-name-table): New function (bug#9616).
10911 (comint--complete-file-name-data): Use it.
10912
428fe61a
SM
10913 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10914 (pcmpl-gnu-tar-buffer): Remove.
10915 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10916 around. Make sure pcomplete-suffix-list is only changed temporarily.
10917 Don't look inside the tar's file if it's too large.
428fe61a 10918
04c52e2f
CY
109192011-10-01 Chong Yidong <cyd@stupidchicken.com>
10920
ce3cefcc
CY
10921 * cus-edit.el (custom-mode-map):
10922 * epa.el (epa-key-list-mode-map):
10923 * man.el (Man-mode-map):
10924 * startup.el (splash-screen-keymap):
10925 * simple.el (special-mode-map): Use scroll-up-command and
10926 scroll-down-command.
10927
10928 * progmodes/idlw-help.el (idlwave-help-mode-map):
10929 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10930 * net/newst-plainview.el (newsticker-mode-map):
10931 * emulation/ws-mode.el (wordstar-mode-map):
10932 * emulation/vi.el (vi-com-map):
10933 * calc/calc-graph.el (calc-graph-show-dumb):
10934 * term/sun.el (terminal-init-sun):
10935 * term/ns-win.el (global-map):
10936 * progmodes/grep.el (grep-mode-map):
10937 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10938 * mail/rmail.el (rmail-mode-map):
10939 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10940
04c52e2f
CY
10941 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10942 custom-safe-themes as special.
10943
79adf8c8
JD
109442011-10-01 Julien Danjou <julien@danjou.info>
10945
10946 * notifications.el (notifications-notify): Fix docstring.
10947
63bd50d3
PS
109482011-10-01 Per Starbäck <per@starback.se>
10949
10950 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10951
199e4c7e
MR
109522011-09-30 Martin Rudalics <rudalics@gmx.at>
10953
10954 * startup.el (command-line-1): Fix last fix by inserting
10955 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10956 (Bug#9605) and (Bug#9636)
199e4c7e 10957
fe5f08dd
EZ
109582011-09-29 Eli Zaretskii <eliz@gnu.org>
10959
10960 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10961 window is hscrolled, move by logical lines. (Bug#9607)
10962 (line-move-visual): Update the doc string to the above effect.
10963
b5516bbd
MR
109642011-09-29 Martin Rudalics <rudalics@gmx.at>
10965
ccee00c0
MR
10966 * window.el (display-buffer-record-window): When WINDOW is the
10967 selected window use `point' instead of `window-point'. (Bug#9626)
10968
b5516bbd
MR
10969 * startup.el (command-line-1): Use insert-before-markers when
10970 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10971
b5516bbd
MR
10972 * help.el (help-window): Remove variable.
10973
52aa0014
GM
109742011-09-29 Glenn Morris <rgm@gnu.org>
10975
10976 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10977
df9a7357
JB
109782011-09-29 Juanma Barranquero <lekktu@gmail.com>
10979
10980 * descr-text.el (describe-char-categories): Accept category
10981 descriptions more than one line long.
10982
a8406c20
SM
109832011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10984
88d9610c
SM
10985 * simple.el (delete-trailing-whitespace): Fix last change.
10986
a5daf810
SM
10987 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10988 Don't confuse "y => 3" as the beginning of a `y' operation.
10989
a8406c20
SM
10990 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10991 object has more than 4 slots (bug#9613).
10992
a239d4e9
JB
109932011-09-28 Juanma Barranquero <lekktu@gmail.com>
10994
10995 * subr.el (with-output-to-temp-buffer):
10996 * net/quickurl.el (quickurl, quickurl-browse-url):
10997 Fix typos in docstrings.
10998
693fbdb6
EZ
109992011-09-27 Eli Zaretskii <eliz@gnu.org>
11000
11001 * minibuffer.el (completion-styles)
11002 (completion-category-overrides): Cross reference each other in doc
11003 strings.
11004
8b457e28
GM
110052011-09-27 Glenn Morris <rgm@gnu.org>
11006
11007 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11008 to split-string. (Bug#9606)
11009
85a16208
LMI
110102011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11011
11012 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11013 (bug#9615).
11014
502f9ebd
CY
110152011-09-27 Chong Yidong <cyd@stupidchicken.com>
11016
11017 * emacs-lisp/package.el (list-packages): Fix echo area message.
11018
7690bdea
LL
110192011-09-27 Leo Liu <sdl.web@gmail.com>
11020
11021 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11022
e2ee6f30
MA
110232011-09-25 Michael Albinus <michael.albinus@gmx.de>
11024
11025 * net/dbus.el (dbus-unregister-object): Don't release services for
11026 registered signals. (Bug#9581)
11027
f3f98342
TZ
110282011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11029
11030 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11031 function that picks between cfengine 2 and 3 support
11032 automatically. Update docs accordingly.
11033
dd7aa8dd
KH
110342011-09-22 Kenichi Handa <handa@m17n.org>
11035
11036 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11037 ZERO.
11038 (indian-itrans-v5-table-for-tamil): New variable.
11039 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11040
3f2b07f8
KM
110412011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11042
11043 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11044 that's true if the current command involved collapsing of text.
11045 It's reset to false at the beginning of the next command.
11046 (allout-post-command-business): Move the cursor to the beginning
11047 of entry if the cursor is hidden and collapsing activity just
11048 happened.
11049
371d6a61
CY
110502011-09-24 Chong Yidong <cyd@stupidchicken.com>
11051
11052 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11053 tracking (Bug#9541).
11054
2ac2721a
UJ
110552011-09-24 Ulf Jasper <ulf.jasper@web.de>
11056
11057 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11058 (newsticker-show-news): Automatically load html rendering package
11059 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11060 because w3m-fill-column is let-bound" and the error "Symbol's value
11061 as variable is void: w3m-fill-column".
2ac2721a 11062
fac7ae53
MA
110632011-09-24 Michael Albinus <michael.albinus@gmx.de>
11064
11065 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11066 Release services only if they are defined. (Bug#9581)
11067
e08b633b
RS
110682011-09-23 Richard Stallman <rms@gnu.org>
11069
e488d29c
RS
11070 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11071 distinguish start of paragraph from start of its text.
11072
19c38752
RS
11073 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11074
e08b633b
RS
11075 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11076 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11077 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11078
0a39f27e
AS
110792011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11080
11081 * international/mule-diag.el (mule-diag): Insert a newline after
11082 each fontset description.
11083
db4e950d
SM
110842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * simple.el (delete-trailing-whitespace):
11087 Document last change; simplify.
11088
eca3f3ea
PW
110892011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11090
d68e189a
PW
11091 * simple.el (delete-trailing-whitespace): Also delete
11092 extra newlines at the end of the buffer.
11093
eca3f3ea
PW
11094 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11095 (picture-newline): Use forward-line so as to ignore fields.
11096
01c157cc
SM
110972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * subr.el (with-wrapper-hook): Fix edebug spec.
11100
022de23e
LMI
111012011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11102
11103 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11104 (bug#4538).
11105
91683089
MA
111062011-09-23 Michael Albinus <michael.albinus@gmx.de>
11107
eca3f3ea
PW
11108 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11109 Fix nasty bug using wrong cached values.
91683089 11110
5bdd6fa4
AM
111112011-09-23 Alan Mackenzie <acm@muc.de>
11112
11113 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11114
97adfb97
CY
111152011-09-23 Chong Yidong <cyd@stupidchicken.com>
11116
11117 * window.el (pop-to-buffer): Ensure right window is selected if we
11118 chose another frame.
11119
d4ef2b50
EZ
111202011-09-22 Eli Zaretskii <eliz@gnu.org>
11121
11122 * simple.el (what-cursor-position): Use get-char-property-change
11123 and next-single-char-property-change, to be able to show display
11124 properties that come from overlays as well as text properties.
11125
72258fe5
CY
111262011-09-22 Chong Yidong <cyd@stupidchicken.com>
11127
11128 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11129
11130 * cmuscheme.el (run-scheme, switch-to-scheme):
11131 * cus-edit.el (customize-group, custom-buffer-create)
11132 (customize-browse):
11133 * info.el (info):
11134 * shell.el (shell):
11135 * mail/sendmail.el (mail):
11136 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11137
8f098516
RS
111382011-09-22 Richard Stallman <rms@gnu.org>
11139
11140 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11141 move back only to line beg, don't move back over blank lines.
11142
e74f1bb6
MA
111432011-09-22 Michael Albinus <michael.albinus@gmx.de>
11144
11145 * files.el (copy-directory): Set directory attributes only in case
11146 they could be retrieved from the source directory. (Bug#9565)
11147
bfeef8b6
DK
111482011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11149
11150 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11151 (hs-find-block-beginning, hs-hide-level-recursive):
11152 Ignore strings as well as comments. (Bug#9502)
11153
7e423bb8
AS
111542011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11155
11156 * progmodes/sql.el (sql-comint-postgres):
11157 Convert port number to a string. (Bug#9566)
11158
b4d72fcf
MR
111592011-09-22 Martin Rudalics <rudalics@gmx.at>
11160
11161 * window.el (quit-window): Undedicate window when switching to
11162 previous buffer. Reported by Thierry Volpiatto
11163 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11164 (special-display-popup-frame): When popping up a new frame reset
11165 its previous buffers to nil. Simplify code.
b4d72fcf 11166
a7b88dc6
MA
111672011-09-21 Michael Albinus <michael.albinus@gmx.de>
11168
11169 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11170 and process filter, as done also in `shell-command'.
11171
cf4eacfd
MR
111722011-09-21 Martin Rudalics <rudalics@gmx.at>
11173
eca3f3ea 11174 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11175 Call set-window-start with NOFORCE argument t.
11176 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11177 (quit-window): Reword doc-string. Handle new format of
11178 quit-restore parameter. Don't delete window if it has a
11179 previous buffer we can show instead of the present one.
11180 (display-buffer-record-window): Rewrite using a new format for
11181 the quit-restore window parameter
11182 (special-display-popup-frame, display-buffer-same-window)
11183 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11184 (display-buffer-pop-up-window, display-buffer-use-some-window):
11185 Adapt symbol passed to display-buffer-record-window.
11186 * help.el (help-window-setup): Handle new format of quit-restore
11187 parameter.
11188
8d28cb95
SM
111892011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11190
94ab793f
SM
11191 * faces.el (face-list): Fix docstring (bug#9564).
11192
8d28cb95
SM
11193 * window.el (display-buffer--action-function-custom-type):
11194 Don't include internal functions in the Custom interface.
11195
3820edeb
JL
111962011-09-20 Juri Linkov <juri@jurta.org>
11197
11198 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11199 (Info-forward-node, Info-backward-node, Info-next-preorder)
11200 (Info-last-preorder): Use it. (Bug#9528)
11201
5147931d
JL
112022011-09-20 Juri Linkov <juri@jurta.org>
11203
11204 * info.el (Info-last-preorder): Visit last menu item only when
11205 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11206
cf499a1a
JD
112072011-09-20 Julien Danjou <julien@danjou.info>
11208
11209 * password-cache.el (password-cache-remove): Remove entries even if the
11210 value is nil, so that password with a nil value (negative caching) is
11211 possible to invalidate.
11212
f84e2fe2
LM
112132011-09-20 Lawrence Mitchell <wence@gmx.li>
11214
11215 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11216 all whitespace around breakpoint. (Bug#9553)
11217 (f90-find-breakpoint): Only break at whitespace inside a comment.
11218
78054a46
SM
112192011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * minibuffer.el (completion-file-name-table): Keep track of errors.
11222 (completion-table-with-predicate): Handle the case where pred1 is nil.
11223 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11224
345083b2
SM
112252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11226
e24e27be
SM
11227 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11228 (debugger-return-value): Signal an error if the debugging context does
11229 not await any return value.
11230
345083b2
SM
11231 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11232 * image-mode.el (image-toggle-display-text)
11233 (image-toggle-display-image): Stay away from evil `intangible'.
11234
08d355e3
LL
112352011-09-19 Leo Liu <sdl.web@gmail.com>
11236
11237 * replace.el (occur-revert-arguments): Make it permanent-local.
11238 (occur-mode): Don't call font-lock-defontify.
11239
f01da43f
CY
112402011-09-19 Chong Yidong <cyd@stupidchicken.com>
11241
11242 * net/ldap.el (ldap-search-internal): Don't push empty search
11243 result (Bug#9508).
11244
b6072fa6
SM
112452011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11248
443d6696
MA
112492011-09-19 Michael Albinus <michael.albinus@gmx.de>
11250
11251 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11252 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11253
7cc6e154
JL
112542011-09-18 Juri Linkov <juri@jurta.org>
11255
11256 * buff-menu.el (Buffer-menu-mode-map):
11257 * dired.el (dired-mode-map):
11258 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11259 (lisp-interaction-mode-map):
11260 * emacs-lisp/package.el (package-menu-mode-map):
11261 * epa.el (epa-key-list-mode-map):
11262 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11263 (menu-bar-options-menu):
11264 * outline.el (outline-mode-menu-bar-map):
11265 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11266 * vc/vc-dir.el (vc-dir-menu-map):
11267 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11268 Capitalize non-function content words in menu item strings.
11269
11270 * dired.el (dired-mode-map): Add menu item for
11271 `image-dired-dired-toggle-marked-thumbs'.
11272
80302a81
JL
112732011-09-18 Juri Linkov <juri@jurta.org>
11274
11275 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11276 to `isearch-case-fold-search' and restore its original value
11277 after the `isearch-mode' call.
11278
46c5cf66
JL
112792011-09-18 Juri Linkov <juri@jurta.org>
11280
11281 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11282 because `zgrep' returns 1 for successful matches (bug#9226).
11283
d18b513b
JL
112842011-09-18 Juri Linkov <juri@jurta.org>
11285
11286 * info.el (Info-extract-menu-node-name): Check the second match
11287 for empty string (second test-case of bug#9528).
11288 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11289 intermediate nodes to the history (first test-case of bug#9528).
11290
72753f87
JL
112912011-09-18 Juri Linkov <juri@jurta.org>
11292
11293 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11294 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11295
c9384295
JL
112962011-09-18 Juri Linkov <juri@jurta.org>
11297
1154d12e
JB
11298 * info.el (Info-file-supports-index-cookies):
11299 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11300 outputs one more line for long file names (bug#4142).
c9384295 11301
d473dce8
CY
113022011-09-18 Chong Yidong <cyd@stupidchicken.com>
11303
11304 * newcomment.el (comment-normalize-vars): If prompting for
11305 comment-start, set comment-start-skip too (Bug#8424).
11306
2176854d
JB
113072011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11308
11309 * icomplete.el: Fix previous fix of Bug#5849.
11310 (icomplete-mode): Don't set completion-show-inline-help.
11311 (icomplete-minibuffer-setup): Set completion-show-inline-help
11312 locally during icompletion.
11313
3aace4e4
CY
113142011-09-18 Chong Yidong <cyd@stupidchicken.com>
11315
c940224f
CY
11316 * woman.el (woman2-process-escapes): Don't delete unrecognized
11317 escapes (Bug#7843).
11318
3aace4e4
CY
11319 * files.el (inhibit-first-line-modes-regexps): Add image files.
11320 (hack-local-variables-prop-line): Return nil for malformed
11321 prop-lines (Bug#9044).
11322
710dec63
MA
113232011-09-18 Michael Albinus <michael.albinus@gmx.de>
11324
11325 * net/tramp.el (top): Don't require 'shell.
11326 (tramp-methods): Fix docstring.
11327 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11328 Return complete remote file name. Handle "smb" case.
11329 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11330 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11331
11332 * net/tramp-compat.el (top): Require 'shell.
11333
11334 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11335 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11336 `tramp-current-host'.
11337 (tramp-get-remote-tmpdir): Remove.
11338
11339 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11340 `tramp-tmpdir' entries.
11341 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11342 (tramp-smb-handle-file-attributes): Ignore errors.
11343 (tramp-smb-wait-for-output): Check also for process end.
11344
5d5ac8ec
LMI
113452011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11346
11347 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11348 when sending QUIT (bug#9312).
11349
8c0f49f0
CY
113502011-09-17 Chong Yidong <cyd@stupidchicken.com>
11351
11352 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11353 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11354 occur-mode-display-occurrence.
11355 (occur-edit-mode): Add usage message.
11356 (occur-cease-edit): New command.
11357 (occur-after-change-function): Use text properties to find the
11358 position of the prefix text.
11359 (occur-engine): Set stickiness of prefix text properties.
11360
8f1383f7
GM
113612011-09-17 Glenn Morris <rgm@gnu.org>
11362
11363 * progmodes/etags.el (complete-tag):
11364 Fix call to completion-in-region. (Bug#9526)
11365
744ba0e3
JL
113662011-09-17 Juri Linkov <juri@jurta.org>
11367
11368 * textmodes/ispell.el (ispell-word): Add to the error message
11369 the word, ispell program name and current dictionary (bug#9121).
11370 (ispell-tex-arg-end): Capitalize "error" in the error message.
11371
d9bbf400
AS
113722011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11373
11374 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11375 check. (Bug#4251)
11376
8da11505
JL
113772011-09-17 Juri Linkov <juri@jurta.org>
11378
11379 * window.el (window-safe-min-height, window-safe-min-width):
11380 Fix typos (followup to bug#9522).
11381
a91adc7e
SJ
113822011-09-17 Sven Joachim <svenjoac@gmx.de>
11383
11384 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11385
064f328a
EZ
113862011-09-16 Eli Zaretskii <eliz@gnu.org>
11387
11388 * simple.el (line-move): If goal-column is set, move by logical
11389 lines, not by display lines. (Bug#971)
11390 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11391 to reflect the above change.
11392
e69df516
SM
113932011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * image.el (imagemagick-register-types): Use regexp-opt.
11396
cbb0f9ab
CY
113972011-09-15 Chong Yidong <cyd@stupidchicken.com>
11398
11399 * window.el (display-buffer-base-action): Rename from
11400 display-buffer-default-action. Make default value empty.
11401 (display-buffer-overriding-action): Convert to defvar.
11402 (display-buffer-fallback-action): New var.
11403
25322144
CY
114042011-09-15 Chong Yidong <cyd@stupidchicken.com>
11405
11406 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11407 declaration.
11408 (package--add-to-archive-contents): If there is a duplicate entry
11409 with an older version, remove it.
11410 (package-menu-mark-delete, package-menu-mark-install)
11411 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11412 (package-menu-mark-obsolete-for-deletion):
11413 Use package-menu-get-status instead of a regexp search.
25322144
CY
11414 (package-menu-get-status): Use tabulated-list-entry.
11415 (package-menu-mark-upgrades): New command.
d770725a 11416 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11417 (package-menu-execute): Do installation before deletion.
11418 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11419 instead of checking major-mode.
11420 (package-menu--find-upgrades): New function.
11421
7520339c
LMI
114222011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11423
11424 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11425 passwords in the log buffer.
65a046c4
LMI
11426 (smtpmail-process-filter): Update the process marker so that the
11427 "broken by peer" status message is inserted in the right place.
7520339c 11428
d3c30954
SM
114292011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11430
3fe48822
SM
11431 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11432 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11433 bibtex-completion-at-point-function.
11434 (bibtex-completion-at-point-function): Use them.
11435
1b8b3954
SM
11436 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11437
d3c30954
SM
11438 * mpc.el (mpc-constraints-tag-lookup): New function.
11439 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11440 also to browser "album|playlist".
11441
72779976
JL
114422011-09-14 Juri Linkov <juri@jurta.org>
11443
11444 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11445 (isearch-edit-string): Use length of `isearch-string' when
11446 `isearch-fail-pos' returns nil.
11447 (isearch-message): Remove duplicate code and call
11448 `isearch-fail-pos' with arg `t'.
11449
a0bf2bcd
CY
114502011-09-14 Chong Yidong <cyd@stupidchicken.com>
11451
17bb0a2d
CY
11452 * replace.el (occur-mode-goto-occurrence): Don't force using other
11453 window (Bug#9499).
11454
a0bf2bcd
CY
11455 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11456
f678e0b6
MR
114572011-09-14 Martin Rudalics <rudalics@gmx.at>
11458
11459 * window.el (display-buffer-window): Remove.
11460 (display-buffer-record-window): Use help-setup window parameter
11461 instead of variable display-buffer-window.
11462 (display-buffer-function, special-display-buffer-names)
11463 (special-display-function): Mention help-setup parameter instead
11464 of display-buffer-window in doc-string.
d3c30954
SM
11465 * help.el (help-window-setup): New argument help-window.
11466 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11467 Reword some messages.
11468 (with-help-window): Pass window used for displaying the buffer
11469 to help-window-setup. Don't set display-buffer-window.
11470
8e39b2e8
GM
114712011-09-13 Glenn Morris <rgm@gnu.org>
11472
11473 * emacs-lisp/debug.el (debugger-make-xrefs):
11474 Preserve point. (Bug#9462)
11475
85e9c04b
CY
114762011-09-13 Chong Yidong <cyd@stupidchicken.com>
11477
11478 * window.el (window-deletable-p): Use next-frame.
11479
1b36ed6a
MR
114802011-09-13 Martin Rudalics <rudalics@gmx.at>
11481
11482 * window.el (window-auto-delete): Remove.
11483 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11484 dedication and previous buffers.
1b36ed6a
MR
11485 (switch-to-prev-buffer): Don't delete window.
11486 (delete-windows-on): Delete a window's frame if and only if the
11487 window is dedicated.
11488 (replace-buffer-in-windows): Delete buffer's window or frame if
11489 and only if window is dedicated.
11490 (quit-window): Handle quit-restore as before last change.
4d61f28d 11491 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11492
ef8ef9fb
CY
114932011-09-13 Chong Yidong <cyd@stupidchicken.com>
11494
11495 * window.el (window-deletable-p): Never delete the last frame on a
11496 given terminal.
11497
b2cba41e
GM
114982011-09-13 Glenn Morris <rgm@gnu.org>
11499
11500 * help.el (describe-key-briefly): Copy previous standard-output change.
11501
51553db6 115022011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11503
11504 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11505
b7556719
GM
115062011-09-13 Glenn Morris <rgm@gnu.org>
11507
11508 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11509 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11510
64b51947
CY
115112011-09-12 Chong Yidong <cyd@stupidchicken.com>
11512
11513 * dired-aux.el (dired-mark-read-string): Don't return default
11514 value on empty input (Bug#9361).
11515 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11516 Omit initial minibuffer contents.
11517 (dired-do-chmod): Signal an error on empty input.
11518 (dired-mark-read-string): Don't return default on empty input.
11519
11520 * files.el (file-modes-symbolic-to-number): Doc fix.
11521
393a301e
SM
115222011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * international/mule-cmds.el (ucs-completions): Remove.
11525 (read-char-by-name): Use complete-with-action instead; add metadata.
11526
fa5660f9
CY
115272011-09-11 Chong Yidong <cyd@stupidchicken.com>
11528
11529 * window.el (display-buffer--action-function-custom-type)
11530 (display-buffer--action-custom-type): New vars.
11531 (display-buffer-alist, display-buffer-default-action)
11532 (display-buffer-overriding-action): Add defcustom types.
11533
4a592f66
CY
11534 * frame.el (delete-other-frames): Doc fix (Bug#276).
11535
73d56dbd
LMI
115362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11537
11538 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11539
37ac18a3
CY
115402011-09-11 Chong Yidong <cyd@stupidchicken.com>
11541
11542 Change modes that used same-window-* vars to use switch-to-buffer.
11543
11544 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11545 Use switch-to-buffer.
11546
11547 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11548 (customize-browse, custom-buffer-create-other-window):
11549 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11550
11551 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11552 (Info-prev, Info-up, Info-speedbar-goto-node)
11553 (info-display-manual): Use switch-to-buffer.
11554 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11555
11556 * mail/sendmail.el (mail): Use switch-to-buffer.
11557 (mail-recover): Use switch-to-buffer-other-window.
11558
11559 * cmuscheme.el (run-scheme, switch-to-scheme):
11560 * ielm.el (ielm):
11561 * shell.el (shell):
11562 * net/rlogin.el (rlogin):
11563 * net/telnet.el (telnet, rsh):
11564 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11565
10195bd6
AS
115662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11567
11568 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11569
b322f63a
LMI
115702011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11571
39d7fed6
LMI
11572 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11573 so don't mention it (bug#9301).
ba5a81f1 11574 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11575
ee0e9f11
LMI
11576 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11577 match `x', `w32' and `ns', like the manual says (bug#9029).
11578
0b1c89c1 11579 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11580 (process-kill-buffer-query-function): Mention the buffer name in
11581 the query.
0b1c89c1 11582
77549ea8
LMI
11583 * image-mode.el (image-next-line): The line parameter is mandatory
11584 (bug#9258).
11585
803ef892
LMI
11586 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11587 which can be useful (bug#9301).
11588
12980837
LMI
11589 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11590
91054f8f
LMI
11591 * subr.el (match-string): Mention that the current buffer should
11592 be the same as the search was done in (bug#9282).
11593
b322f63a
LMI
11594 * facemenu.el: Disable the remove-* commands if the mark isn't
11595 active (bug#9162).
11596
3199b96f
CY
115972011-09-10 Chong Yidong <cyd@stupidchicken.com>
11598
11599 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11600 of display-buffer.
11601 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11602
11603 * replace.el (occur-mode-goto-occurrence)
11604 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11605 and display-buffer.
11606
11607 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11608 display-buffer.
11609
11610 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11611 special-display and same-window variables.
11612 (mail-other-window): Use switch-to-buffer-other-window.
11613 (mail-other-frame): USe switch-to-buffer-other-frame.
11614
393a301e
SM
11615 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11616 Use display-buffer-other-frame.
3199b96f
CY
11617 (gdb-display-gdb-buffer): Use pop-to-buffer.
11618
11619 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11620
11621 * progmodes/python.el: Don't set same-window-buffer-names.
11622
11623 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11624
11625 * window.el (display-buffer-alist): Add *Python*.
11626
8319e0bf
CY
116272011-09-10 Chong Yidong <cyd@stupidchicken.com>
11628
11629 * window.el (display-buffer-alist): Add entry for buffers
11630 previously handled same-window-*.
11631 (display-buffer-alist, display-buffer-default-action)
11632 (display-buffer-overriding-action): Mark as risky.
11633 (display-buffer-alist): Document action function changes.
11634 (display-buffer--same-window-action)
11635 (display-buffer--other-frame-action): New variables.
11636 (switch-to-buffer, display-buffer-other-frame): Use them.
11637 (display-buffer): Rename reuse-frame entry to reusable-frames.
11638 (display-buffer-reuse-selected-window): Function deleted.
11639 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11640 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11641 (display-buffer-special): New function.
11642 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11643 display-buffer-reuse-or-pop-window. Split off special-display
11644 part into display-buffer-special.
11645 (display-buffer-use-some-window): Don't perform any special
11646 pop-up-frames handling.
11647 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11648 (display-buffer--maybe-same-window): Rename from
0d3ff375 11649 display-buffer-maybe-same-window.
8319e0bf 11650
919a69aa
CY
11651 * info.el: Don't set same-window-regexps.
11652 (info-setup): New function.
11653 (info-other-window, info): Call it.
11654
11655 * cus-edit.el: Don't set same-window-regexps.
11656 (customize-group): New argument.
11657 (customize-group-other-window): Use it.
11658 (customize-face, customize-face-other-window): Likewise.
11659 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11660
8319e0bf
CY
11661 * net/rlogin.el:
11662 * net/telnet.el:
11663 * progmodes/gud.el: Don't set same-window-regexps.
11664
11665 * cmuscheme.el:
11666 * ielm.el:
11667 * shell.el:
11668 * mail/sendmail.el:
11669 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11670
25173000
JL
116712011-09-10 Juri Linkov <juri@jurta.org>
11672
11673 * isearch.el (isearch-edit-string): Remove obsolete mention of
11674 `C-w' (`isearch-yank-word-or-char') from docstring.
11675 (isearch-query-replace): Fix typo in docstring (bug#9466).
11676
056e44ef
JL
116772011-09-10 Juri Linkov <juri@jurta.org>
11678
11679 * paren.el (show-paren-function): Don't show escaped parens.
11680 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11681
c3760c17
EZ
116822011-09-10 Eli Zaretskii <eliz@gnu.org>
11683
11684 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11685 (mm-default-file-encoding): Remove autoload forms, they are
11686 replaced with autoload cookies in mml.el and mm-encode.el.
11687 (mail-add-attachment): New command.
11688 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11689 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11690 the doc string.
11691 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11692
fece895e
RT
116932011-09-10 Reuben Thomas <rrt@sc3d.org>
11694
e69df516
SM
11695 * simple.el (count-words-region): Use buffer if there's no region
11696 (bug#9429).
fece895e 11697
5e68ce4a
JL
116982011-09-09 Juri Linkov <juri@jurta.org>
11699
11700 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11701 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11702 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11703
0a6b9622
AM
117042011-09-09 Alan Mackenzie <acm@muc.de>
11705
11706 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11707 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11708
14a29deb
EZ
117092011-09-09 Eli Zaretskii <eliz@gnu.org>
11710
11711 Fix for Savannah bug#9392.
11712 * simple.el (mail-encode-mml): New defvar.
11713
11714 * mail/rmail.el (mail-encode-mml): Add a defvar.
11715 (rmail-enable-mime-composing): Default to t.
11716 (rmail-forward): Use MIME method of forwarding only if both
11717 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11718 Set mail-encode-mml non-nil if the MIME method was used.
11719
11720 * mail/sendmail.el (mml-to-mime): Add autoload form.
11721 (mail-encode-mml): Add a defvar.
11722 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11723 to nil.
11724 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11725 message through mml-to-mime, and reset mail-encode-mml to nil.
11726
28c45130
GM
117272011-09-09 Glenn Morris <rgm@gnu.org>
11728
11729 * woman.el (woman-if-body): When processing an .el block,
11730 do not delete the next .el block as well. (Bug#9447)
69f4b618 11731 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11732
9b1c252e
MR
117332011-09-08 Martin Rudalics <rudalics@gmx.at>
11734
11735 * window.el (window-deletable-p): Make sure window is live before
11736 invoking window-prev-buffers.
11737
567457e3
LL
117382011-09-08 Leo Liu <sdl.web@gmail.com>
11739
11740 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11741
97f05794
JL
117422011-09-08 Juri Linkov <juri@jurta.org>
11743
11744 * progmodes/compile.el (compilation-environment): Make it
11745 a defcustom (bug#8340).
11746
8b0874b5
MR
117472011-09-08 Martin Rudalics <rudalics@gmx.at>
11748
11749 * window.el (frame-auto-delete): Rename to window-auto-delete.
11750 Make it control auto-deletion of windows and/or frames.
11751 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11752 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11753 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11754 Rewrite handling of case when window/frame can be deleted.
11755 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11756 argument t. (Bug#9456)
8b0874b5 11757
4feb6e73
CY
117582011-09-07 Chong Yidong <cyd@stupidchicken.com>
11759
11760 * help-mode.el (help-mode): Restore autoload.
11761
91ab9c13
JL
117622011-09-07 Juri Linkov <juri@jurta.org>
11763
11764 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11765 `compilation-environment'. Set buffer-local
11766 `compilation-environment' to `thisenv' later after (funcall mode).
11767 (Bug#8340)
11768
11769 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11770 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11771 instead of replacing its value. (Bug#8340)
11772
0527e251
JL
117732011-09-07 Juri Linkov <juri@jurta.org>
11774
11775 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11776 based on text properties put by `grep-filter' instead of matching
11777 escape sequences.
11778 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11779 to the value of `grep-error-screen-columns' (bug#9438).
11780
249f792c
JL
117812011-09-07 Juri Linkov <juri@jurta.org>
11782
11783 * simple.el (next-error-highlight, next-error-highlight-no-select):
11784 Doc fix (bug#9432).
11785
ff7271b9
OT
117862011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11787
11788 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11789 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11790
183fc730
LL
117912011-09-07 Leo Liu <sdl.web@gmail.com>
11792
11793 * net/rcirc.el (rcirc-mode): Conditionally initialize
11794 rcirc-input-ring.
11795
77694924
SM
117962011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * emacs-lisp/find-func.el (find-function-C-source): Only set
11799 find-function-C-source-directory after checking that we found a source
11800 file there (bug#9440).
11801
d809b8eb
AM
118022011-09-06 Alan Mackenzie <acm@muc.de>
11803
11804 * isearch.el (isearch-other-meta-char): Wherever a key list is
11805 unread, "unread" the prefix arg, too. This fixes bug #8901.
11806
453de99f
OG
118072011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11808
11809 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11810
90439906
JL
118112011-09-05 Juri Linkov <juri@jurta.org>
11812
11813 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11814
f62bd846
JL
118152011-09-05 Juri Linkov <juri@jurta.org>
11816
11817 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11818 keeping point where processing of grep matches begins, and
11819 continue to delete remaining escape sequences from the same point.
11820 (grep-filter): Make leading zero optional in "0?1;31m" because
11821 git-grep emits "\033[1;31m" escape sequences unlike expected
11822 "\033[01;31m" as GNU Grep does (bug#9408).
11823 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11824
045820ec
JL
118252011-09-05 Juri Linkov <juri@jurta.org>
11826
11827 * subr.el (y-or-n-p): Capitalize "yes".
11828
f5e29b9b
MA
118292011-09-04 Michael Albinus <michael.albinus@gmx.de>
11830
11831 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11832 `tramp-cache-unload-hook' where appropriate.
11833 (tramp-methods): Rename `tramp-remote-sh' to
11834 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11835 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11836
11837 * net/tramp-sh.el (top): Don't require 'shell.
11838 (tramp-methods): Add `tramp-remote-shell' and
11839 `tramp-remote-shell-args' entries.
11840 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11841 (tramp-sh-handle-shell-command): Remove.
11842 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11843 Use `tramp-remote-shell'.
11844
2784c434
CY
118452011-09-03 Chong Yidong <cyd@stupidchicken.com>
11846
393a301e 11847 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11848 (sendmail-query-once): Save directly to send-mail-function.
11849 Update message-send-mail-function too.
11850
11851 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11852
464cdf56
CS
118532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11854
11855 * progmodes/python.el (python-mode-map): Use correct function to
11856 start python interpreter from menu-bar (as reported by Geert
11857 Kloosterman).
11858 (inferior-python-mode-map): Fix typo.
393a301e 11859 (python-shell-map): Remove.
464cdf56 11860
d37e5c87
DD
118612011-09-03 Deniz Dogan <deniz@dogan.se>
11862
11863 * net/rcirc.el (rcirc-print): Simplify code for
11864 rcirc-scroll-show-maximum-output. There is no need to walk
11865 through all windows to find the right one.
11866
f3ada0ee
CS
118672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11868
11869 * help.el (help-return-method): Doc fix.
11870
1f3c99ca
MR
118712011-09-03 Martin Rudalics <rudalics@gmx.at>
11872
11873 * window.el (window-deletable-p): Don't return a non-nil value
11874 when there's a buffer that was shown in the window before.
11875 (Bug#9419)
393a301e
SM
11876 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11877 Set window's previous buffers to nil.
1f3c99ca 11878
a3cf097f
EZ
118792011-09-03 Eli Zaretskii <eliz@gnu.org>
11880
11881 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11882 newline before and after the tag line, so it doesn't interfere
11883 with determining the paragraph direction of bidirectional text.
11884
3d03de90
LL
118852011-09-03 Leo Liu <sdl.web@gmail.com>
11886
11887 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11888
c3313451
CY
118892011-09-02 Chong Yidong <cyd@stupidchicken.com>
11890
393a301e 11891 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11892 (pop-to-buffer): Change interactive spec. Pass second argument
11893 directly to display-buffer.
11894 (display-buffer): Fix interactive spec. Use functionp to
11895 distinguish between a function and a list of functions.
11896
11897 * abbrev.el (edit-abbrevs):
11898 * arc-mode.el (archive-extract):
11899 * autoinsert.el (auto-insert):
11900 * bookmark.el (bookmark-bmenu-list):
11901 * files.el (find-file):
11902 * view.el (view-buffer):
11903 * progmodes/compile.el (compilation-goto-locus):
11904 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11905
89894cd8
CY
119062011-09-02 Chong Yidong <cyd@stupidchicken.com>
11907
11908 * window.el (display-buffer-alist): Doc fix.
11909 (display-buffer): Add docstring. Don't treat
11910 display-buffer-default specially.
11911 (display-buffer-reuse-selected-window)
11912 (display-buffer-same-window, display-buffer-maybe-same-window)
11913 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11914 (display-buffer-pop-up-window)
11915 (display-buffer-reuse-or-pop-window)
11916 (display-buffer-use-some-window): New functions.
11917 (display-buffer-default-action): Use them.
393a301e 11918 (display-buffer-default): Delete.
89894cd8
CY
11919 (pop-to-buffer-1): Fix choice of actions.
11920
ae0bc9fb
SM
119212011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * minibuffer.el (completion--insert-strings): Don't get confused by
11924 completion entries that end with an LF char.
11925
e9d90883
EZ
119262011-09-01 Eli Zaretskii <eliz@gnu.org>
11927
11928 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11929
437014c8
CY
119302011-09-01 Chong Yidong <cyd@stupidchicken.com>
11931
11932 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11933 (display-buffer-same-window, display-buffer-other-window):
11934 New functions.
437014c8
CY
11935 (pop-to-buffer-1): New function. Use the above.
11936 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11937 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11938
11939 * view.el (view-buffer-other-window, view-buffer-other-frame):
11940 Just use pop-to-buffer.
11941
a5e063d5
TV
119422011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11943
11944 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11945
793d32bb
WH
119462011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11947
11948 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11949
d65e4c15
RS
119502011-08-31 Richard Stallman <rms@gnu.org>
11951
11952 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11953 of the separation of rmail-view-buffer from rmail-buffer.
11954 If you say no to "replace original", the decrypt is in the
11955 view buffer. If you say yes, the decrypt goes into the
11956 rmail buffer also.
11957
f818cd2a
MR
119582011-08-31 Martin Rudalics <rudalics@gmx.at>
11959
11960 * window.el (display-buffer-window): Rewrite doc-string.
11961 (display-buffer-record-window): New function.
11962 (display-buffer-macro-specifiers)
11963 (display-buffer-even-window-sizes, display-buffer-set-height)
11964 (display-buffer-set-width, display-buffer-in-window)
11965 (display-buffer-reuse-window, display-buffer-split-specifiers)
11966 (display-buffer-side-specifiers, display-buffer-split-window-1)
11967 (display-buffer-split-window, display-buffer-split-atom-window)
11968 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11969 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11970 (display-buffer-other-window-means-other-frame)
11971 (display-buffer-normalize-special)
11972 (display-buffer-normalize-default)
11973 (display-buffer-normalize-argument)
11974 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11975 (display-buffer-normalize-specifiers, display-buffer-frame)
11976 (display-buffer-same-window, display-buffer-same-frame)
11977 (display-buffer-other-window)
11978 (display-buffer-same-frame-other-window)
11979 (display-buffer-other-frame, pop-to-buffer-same-window)
11980 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11981 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11982 (switch-to-buffer-same-frame)
11983 (switch-to-buffer-other-window-same-frame)
11984 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11985 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11986 (display-buffer-alist-set): Remove.
11987 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11988 (special-display-regexps, special-display-function):
11989 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11990 parameter.
11991 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11992 (special-display-frame-alist, special-display-popup-frame)
11993 (same-window-buffer-names, same-window-regexps, same-window-p)
11994 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11995 (split-window-preferred-function, split-height-threshold)
11996 (split-width-threshold, window-splittable-p)
11997 (split-window-sensibly, window--try-to-split-window)
11998 (window--frame-usable-p, even-window-heights)
11999 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12000 (window--display-buffer-2, display-buffer-other-frame):
12001 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12002 (display-buffer-default, display-buffer-assq-regexp): New functions.
12003 (display-buffer-alist): Rewrite doc-string.
12004 (display-buffer-default-action)
12005 (display-buffer-overriding-action): New variables.
12006 (display-buffer, switch-to-buffer): Rewrite.
12007 (pop-to-buffer): Restore Emacs 23 behavior but use
12008 window-normalize-buffer-to-display.
12009 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12010 Restore Emacs 23 behavior but use
12011 window-normalize-buffer-to-switch-to.
12012 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12013 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12014 Rewrite using Emacs 23 options.
f818cd2a 12015
5bc3b51d
MA
120162011-08-31 Michael Albinus <michael.albinus@gmx.de>
12017
12018 * net/tramp.el (tramp-root-regexp): Remove.
12019 (tramp-completion-file-name-regexp-unified)
12020 (tramp-completion-file-name-regexp-separate)
12021 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12022 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12023 (tramp-drop-volume-letter): Simplify definition.
12024 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12025
b1a4f8e1
SM
120262011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12029 (bug#9356).
12030
5664fa7b
RT
120312011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12032
b1a4f8e1 12033 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12034
9a45d6c3
JL
120352011-08-29 Juri Linkov <juri@jurta.org>
12036
12037 * isearch.el (isearch-done): Don't display message "Mark saved"
12038 when arg `edit' is non-nil to prevent its flicker in the echo area.
12039
fb87e0fb
CY
120402011-08-28 Chong Yidong <cyd@stupidchicken.com>
12041
12042 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12043 obsolete packages for deletion.
12044
09ac1c2a
CS
120452011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12046
12047 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12048 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12049 view-mode from help-mode.
12050 (help-xref-override-view-map): Remove.
12051 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12052 view-mode is not used anymore.
12053
7a1ff57f
CY
120542011-08-28 Chong Yidong <cyd@stupidchicken.com>
12055
12056 * server.el (server-port): Doc fix.
12057
b9696605
CY
12058 * cus-theme.el (custom-theme-choose-mode): Inherit from
12059 special-mode (Bug#9124).
12060 (custom-theme-choose-mode-map): Add special-mode to parent.
12061
ef8cdf8c
AM
120622011-08-28 Alan Mackenzie <acm@muc.de>
12063
12064 * progmodes/cc-fonts.el
12065 (c-make-font-lock-BO-decl-search-function): New function.
12066 (c-basic-matchers-after - "Fontify the clauses after various
12067 keywords"): Extract the three keyword lists for the 3 erroneous
12068 constructs from the list of four, and use the new function above
12069 in place of an old one.
12070
27de4e20
DD
120712011-08-28 Deniz Dogan <deniz@dogan.se>
12072
12073 * net/rcirc.el (rcirc-insert-prev-input)
12074 (rcirc-insert-next-input): Remove unused argument.
12075
356a3681
SM
120762011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12079
3fc9b218
AM
120802011-08-27 Alan Mackenzie <acm@muc.de>
12081
12082 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12083 handle function pointer parameters properly.
12084
538a061c
MR
120852011-08-27 Martin Rudalics <rudalics@gmx.at>
12086
12087 * window.el (display-buffer-reuse-window): Fix case where
12088 selected window was reused with non-nil OTHER-WINDOW argument.
12089 (Bug#9381)
12090
35b1c40c
DD
120912011-08-27 Deniz Dogan <deniz@dogan.se>
12092
12093 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12094 oftc's NickServ messages.
12095
2f6a3e79
GM
120962011-08-27 Glenn Morris <rgm@gnu.org>
12097
12098 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12099
7254299e
CY
121002011-08-26 Chong Yidong <cyd@stupidchicken.com>
12101
12102 * emacs-lisp/package.el (package-install): Call package-initialize
12103 if called interactively.
12104
f8ccf167
LL
121052011-08-26 Leo Liu <sdl.web@gmail.com>
12106
12107 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12108
3e8cd5ce
JL
121092011-08-25 Juri Linkov <juri@jurta.org>
12110
12111 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12112 `search-whitespace-regexp' (bug#9364).
12113
93eb7113
JL
121142011-08-25 Juri Linkov <juri@jurta.org>
12115
12116 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12117 `regexp-search-ring' to their global values to protect from
12118 updating by `read-from-minibuffer' (bug#9185).
12119
f65d1611
JL
121202011-08-25 Juri Linkov <juri@jurta.org>
12121
12122 * textmodes/ispell.el (ispell-command-loop): Add newline
12123 at the end of the "Use option `i'..." line.
12124
f1cf7a31
JL
121252011-08-25 Juri Linkov <juri@jurta.org>
12126
12127 * battery.el (display-battery-mode): If `battery-status-function'
12128 or `battery-mode-line-format' is nil, display the message and set
12129 `display-battery-mode' to nil (bug#9363).
12130
0c95fcf7
EZ
121312011-08-25 Eli Zaretskii <eliz@gnu.org>
12132
12133 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12134 bidi-string-mark-left-to-right; they are unnecessary now.
12135
a2ebe600
DD
121362011-08-25 Deniz Dogan <deniz@dogan.se>
12137
12138 * net/quickurl.el: Documentation typo fixes.
12139
e4ed06f1
CY
121402011-08-25 Chong Yidong <cyd@stupidchicken.com>
12141
12142 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12143
e5f1c99e
GM
121442011-08-25 Glenn Morris <rgm@gnu.org>
12145
b2948976
GM
12146 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12147
e5f1c99e
GM
12148 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12149 (smtpmail-via-smtp): Handle nil response from smtp.
12150
f22f4808
JL
121512011-08-24 Juri Linkov <juri@jurta.org>
12152
12153 * proced.el (proced-marked): Inherit from `error' instead of
12154 `font-lock-warning-face'.
12155
12156 * ibuffer.el (ibuffer-marked-face): Change default face from
12157 `font-lock-warning-face' to `warning'.
12158 (ibuffer-deletion-face): Change default face from
12159 `font-lock-type-face' to `error'.
12160
12161 * battery.el (battery-update): Use the face `error' instead of
12162 `font-lock-warning-face' (bug#6117).
12163
6a93965e
JL
121642011-08-24 Juri Linkov <juri@jurta.org>
12165
12166 * faces.el (success): Change face color from "Green3" to
12167 "ForestGreen" on light background (bug#9353).
12168
1ed43b09
CY
121692011-08-24 Chong Yidong <cyd@stupidchicken.com>
12170
5664fa7b
RT
12171 * window.el (quit-window): Rename from quit-restore-window.
12172 Use same arglist as old quit-window.
1ed43b09
CY
12173 (frame-auto-delete): Doc fix.
12174
12175 * view.el (view-mode-exit): Use quit-window.
12176
11dcdbb2
JL
121772011-08-24 Juri Linkov <juri@jurta.org>
12178
12179 * isearch.el (isearch-ring-adjust1): Start visiting previous
12180 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12181 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12182 for empty search string (when the last search string is reused
12183 automatically) to adjust the isearch ring to the last element and
12184 prepare the correct index for further M-p commands (bug#9185).
12185
de62b4df
KH
121862011-08-24 Kenichi Handa <handa@m17n.org>
12187
12188 * international/ucs-normalize.el: If decomposition property of
12189 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12190 nil.
12191 (nfd, nfkd): Likewise.
12192
963b492b
SM
121932011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12196 from process filters aren't reliably transmitted to the surrounding
12197 accept-process-output.
12198 (mpc-proc-check): New function.
12199 (mpc-proc-sync): Use it (bug#8293)
12200
93b6b5e1
SM
122012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12202
12203 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12204 Add compatibility functions (bug#9313).
12205
bca633fb
EZ
122062011-08-23 Eli Zaretskii <eliz@gnu.org>
12207
b177498a
EZ
12208 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12209
6df6ae42 12210 * international/uni-bidi.el: Regenerate.
bca633fb 12211
0902a04e
KH
122122011-08-23 Kenichi Handa <handa@m17n.org>
12213
12214 * international/charprop.el:
12215 * international/uni-bidi.el:
12216 * international/uni-category.el:
12217 * international/uni-combining.el:
12218 * international/uni-comment.el:
12219 * international/uni-decimal.el:
12220 * international/uni-decomposition.el:
12221 * international/uni-digit.el:
12222 * international/uni-lowercase.el:
12223 * international/uni-mirrored.el:
12224 * international/uni-name.el:
12225 * international/uni-numeric.el:
12226 * international/uni-old-name.el:
12227 * international/uni-titlecase.el:
12228 * international/uni-uppercase.el: Regenerate.
12229
3bbf23bc
MR
122302011-08-23 Martin Rudalics <rudalics@gmx.at>
12231
12232 * help.el (help-window-setup): Fix message displayed when other
12233 window is reused. (Bug#9341)
12234
b3fd59bd
SM
122352011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12236
1802e444
SM
12237 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12238 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12239
b3fd59bd
SM
12240 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12241 Mark obsolete.
12242 * shell.el (shell-parse-pcomplete-arguments): New function.
12243 (shell-completion-vars): Use it instead (bug#9160).
12244
4eb61348
SM
122452011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12246
867cab74
SM
12247 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12248 strings and comments (bug#9333).
12249
4eb61348
SM
12250 * emacs-lisp/debug.el (debug-arglist): New function.
12251 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12252 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12253
262a1439
JL
122542011-08-22 Juri Linkov <juri@jurta.org>
12255
56ee679c
JL
12256 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12257 Revert regexp that highlights output switches to its old
12258 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12259
262a1439
JL
12260 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12261 to check for empty output (bug#9226).
12262
f13f86fb
CY
122632011-08-22 Chong Yidong <cyd@stupidchicken.com>
12264
12265 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12266 symbol-constituent as the default, as that stops font-lock from
12267 working properly (Bug#8843).
12268
c65c9622
LMI
122692011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12270
12271 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12272 `coding-system-for-*' around the process open call to avoid
12273 auth-source side effects.
e7f2c178 12274 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12275 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12276 probe hangs.
c65c9622 12277
23a8a5ab
CY
122782011-08-21 Chong Yidong <cyd@stupidchicken.com>
12279
ff98b2dd
CY
12280 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12281
23a8a5ab
CY
12282 * emacs-lisp/find-func.el (find-function-noselect): New arg
12283 lisp-only.
12284
12285 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12286 signal an error for built-in functions (Bug#6664).
12287
f5e3c598
LMI
122882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12289
12290 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12291 (smtpmail-try-auth-methods): Use it.
12292
a3f2468a
CY
122932011-08-21 Chong Yidong <cyd@stupidchicken.com>
12294
2c34e8da
CY
12295 * font-lock.el (font-lock-fontify-region)
12296 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12297 (font-lock-default-unfontify-buffer)
12298 (font-lock-default-fontify-region)
12299 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12300
b3fd59bd
SM
12301 * progmodes/compile.el (compilation-error-properties):
12302 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12303 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12304 `ant' regexp.
ee31aabc 12305
a3f2468a
CY
12306 * net/browse-url.el (browse-url-firefox): Don't call
12307 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12308
8e999f70
GM
123092011-08-20 Glenn Morris <rgm@gnu.org>
12310
c21a496a
GM
12311 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12312
59ee0542
GM
12313 * tutorial.el (tutorial--default-keys): Update some default bindings.
12314
8e999f70
GM
12315 * files.el (hack-local-variables): Fully ignore case for "mode:".
12316
e3715033
AM
123172011-08-20 Alan Mackenzie <acm@muc.de>
12318
12319 Resolve invalid use of a regexp in regexp-opt.
12320
4d61f28d
JB
12321 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12322 detection for a java annotation.
e3715033 12323
4d61f28d 12324 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12325 detection for a java annotation.
12326
4d61f28d
JB
12327 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12328 handling for java.
e3715033
AM
12329 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12330
04ed2e9c
CY
123312011-08-20 Chong Yidong <cyd@stupidchicken.com>
12332
12333 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12334 (Bug#9274).
12335
826cee64
AM
123362011-08-20 Alan Mackenzie <acm@muc.de>
12337
58179cce 12338 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12339 such a construct. Mainly for when jit-lock etc. starts a chunk
12340 here.
12341
58179cce 12342 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12343 variable.
58179cce 12344 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12345 c-make-font-lock-search-function.
12346 (c-make-font-lock-search-function): Use the above function.
12347 (c-make-font-lock-context-search-function): New function.
12348 (c-cpp-matchers): Enhance the preprocessor expression case with
12349 the above function
12350 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12351 which takes an expression.
12352
12353 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12354
13009bd8
MR
123552011-08-20 Martin Rudalics <rudalics@gmx.at>
12356
12357 * window.el (display-buffer-reuse-window)
12358 (display-buffer-pop-up-window): Don't reuse or split a side
12359 window.
12360
9234ff7f
GM
123612011-08-19 Glenn Morris <rgm@gnu.org>
12362
12363 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12364 Downcase "Mode:". (Bug#9331)
9234ff7f 12365
f635daa1
CY
123662011-08-18 Chong Yidong <cyd@stupidchicken.com>
12367
12368 * international/characters.el: Add L and R categories.
12369
12370 * subr.el (bidi-string-mark-left-to-right): Rename from
12371 string-mark-left-to-right. Use category search.
12372
12373 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12374
bc987f8b
JL
123752011-08-18 Juri Linkov <juri@jurta.org>
12376
12377 * faces.el (error, warning, success): New faces with definitions
12378 copied from old default values of `font-lock-warning-face',
12379 `compilation-warning', `compilation-info' (bug#6117).
12380
12381 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12382
12383 * progmodes/compile.el (compilation-error): Inherit from `error'.
12384 (compilation-warning): Inherit from `warning'.
12385 (compilation-info): Inherit from `success'.
12386
12387 * dired.el (dired-marked): Inherit from `warning'.
12388 (dired-flagged): Inherit from `error'.
12389
57173b96
LMI
123902011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12391
3e79eb87
LMI
12392 * mail/smtpmail.el (auth-source): Require to avoid problems with
12393 binding variables (bug#9298). Also clean up some unused
12394 autoloads.
12395
b3fd59bd
SM
12396 * net/network-stream.el (network-stream-open-starttls):
12397 Support using starttls.el without using gnutls-cli.
57173b96 12398
02b404de
JL
123992011-08-17 Juri Linkov <juri@jurta.org>
12400
12401 * progmodes/grep.el (rgrep): Handle the case when
12402 `grep-find-command' is a cons cell (bug#9278).
12403
8c9177f2
MR
124042011-08-17 Martin Rudalics <rudalics@gmx.at>
12405
12406 * window.el (display-buffer-pop-up-frame): Run frame creation
12407 function with BUFFER current (as special-display-popup-frame
12408 does). Reported by Drew Adams.
12409
3644a0ab
DU
124102011-08-17 Daiki Ueno <ueno@unixuser.org>
12411
12412 * epa-mail.el: Simplify GnuPG group expansion using
12413 epg-expand-group.
12414 (epa-mail-group-alist, epa-mail-group-modtime)
12415 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12416 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12417 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12418 Remove.
12419
5e617bc2 124202011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12421
12422 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12423
9c4aeabf
AM
124242011-08-16 Alan Mackenzie <acm@muc.de>
12425
12426 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12427 Correct, to avoid the inside of macros.
12428
3a99bf64
RS
124292011-08-16 Richard Stallman <rms@gnu.org>
12430
04963aa8
RS
12431 * epa-mail.el: Handle GnuPG group definitions.
12432 (epa-mail-group-alist, epa-mail-group-modtime)
12433 (epa-mail-gnupg-conf-file): New variables.
12434 (epa-mail-parse-groups, epa-mail-sync-groups)
12435 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12436 (epa-mail-expand-recipients): New functions.
12437 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12438
177549d0
RS
12439 * mail/rmail.el (rmail-epa-decrypt): New command.
12440
fe38beef
RS
12441 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12442 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12443 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12444 (epa-decrypt-armor-in-region): Make error message clearer.
12445
934eacb9
SM
124462011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12447
12448 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12449 and "a2b" to "ab" for `prefix'.
12450
d024fb4e
CY
124512011-08-14 Chong Yidong <cyd@stupidchicken.com>
12452
12453 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12454 filter groups.
de148fee
CY
12455 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12456 Fourquet (Bug#8804).
d024fb4e 12457
62f1ca49
JB
124582011-08-12 Juanma Barranquero <lekktu@gmail.com>
12459
12460 * startup.el (argi): Declare as global variable (bug#9275).
12461
9ccaaa4b
CY
124622011-08-12 Chong Yidong <cyd@stupidchicken.com>
12463
12464 * subr.el (string-mark-left-to-right): Search the entire string
12465 for RTL script, not just the terminating character. Doc fix.
12466
a3dae87a
SM
124672011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12468
6cd18349
SM
12469 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12470 New function.
12471 (js--regexp-literal, js-syntax-propertize-function): Remove.
12472 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12473 (js-mode-map): Don't rebind electric keys.
12474 (js-insert-and-indent): Remove.
12475 (js-mode): Setup electric-layout and electric-indent instead.
12476
a3dae87a
SM
12477 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12478
9d5cb631
DU
124792011-08-12 Daiki Ueno <ueno@unixuser.org>
12480
12481 * epa.el (epa-progress-callback-function): Fix the logic of
12482 displaying progress.
12483 * epa-file.el (epa-file-insert-file-contents): Make progress
12484 display more user-friendly.
12485 (epa-file-write-region): Ditto.
12486
3e26a4a2
CY
124872011-08-10 Chong Yidong <cyd@stupidchicken.com>
12488
12489 * subr.el (string-mark-left-to-right): New function.
12490
12491 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12492 Use string-mark-left-to-right.
12493 (list-buffers-noselect): Caller changed.
12494
a3dae87a
SM
12495 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12496 Use string-mark-left-to-right.
3e26a4a2
CY
12497 (tabulated-list-print): Recenter after moving point.
12498
ac8cf6e6
JL
124992011-08-10 Juri Linkov <juri@jurta.org>
12500
12501 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12502 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12503 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12504
8d96c9a4
CY
125052011-08-09 Chong Yidong <cyd@stupidchicken.com>
12506
12507 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12508 (Bug#7554).
12509
7be1c708 125102011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12511
12512 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12513 character. (Bug#6594)
12514
37e11a63
CY
125152011-08-08 Chong Yidong <cyd@stupidchicken.com>
12516
839dde57
CY
12517 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12518 (image-dired--with-db-file): New macro.
12519 (image-dired-write-tags, image-dired-remove-tag)
12520 (image-dired-create-gallery-lists, image-dired-write-comments)
12521 (image-dired-get-comment, image-dired-mark-tagged-files)
12522 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12523 (image-dired-gallery-generate): Use insert-file-contents.
12524
37e11a63
CY
12525 * time.el (display-time-world-list, display-time-world-display):
12526 * time-stamp.el (time-stamp-string):
12527 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12528 set-time-zone-rule (Bug#7337).
12529
0b4946c4
DU
125302011-08-08 Daiki Ueno <ueno@unixuser.org>
12531
12532 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12533 (epg-error-to-string, epg-errors-to-string): New function.
12534 (epg-wait-for-completion): Reverse errors list.
12535 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12536 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12537 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12538 (epg-sign-keys, epg-generate-key-from-file)
12539 (epg-generate-key-from-string): Format errors by using
12540 epg-errors-to-string (bug#9255).
12541 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12542
75bfc667
JL
125432011-08-07 Juri Linkov <juri@jurta.org>
12544
12545 * faces.el (list-faces-display): Remove extra angle bracket
12546 from `help-mode-map'.
12547
12548 * info.el (Info-history-toc-nodes): Doc fix.
12549
12550 * longlines.el (longlines-mode): Doc fix.
12551
673e08bb
SM
125522011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12553
4640dd88
SM
12554 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12555 of statements and in a few more cases (bug#9183).
12556
673e08bb
SM
12557 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12558 New functions.
12559 (cl-transform-lambda): Use them (bug#9239).
12560
89b3f019
MR
125612011-08-05 Martin Rudalics <rudalics@gmx.at>
12562
12563 * window.el (display-buffer-same-window)
12564 (display-buffer-same-frame, display-buffer-other-window)
12565 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12566 (pop-to-buffer-other-window)
12567 (pop-to-buffer-same-frame-other-window)
12568 (pop-to-buffer-other-frame): Make them defuns.
12569 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12570
640c8776
SM
125712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * subr.el (make-composed-keymap): Move from C. Change calling
12574 convention, and improve docstring to bring attention to a subtle point.
12575 * minibuffer.el (completing-read-default): Adjust accordingly.
12576
63648a95
MA
125772011-08-03 Michael Albinus <michael.albinus@gmx.de>
12578
12579 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12580 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12581
12582 * net/trampver.el: Update release number.
12583
b796c9b7
SM
125842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12585
12586 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12587 "in" (bug#9190).
12588
2239d7d5
LMI
125892011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590
e07dd7c3
LMI
12591 * mail/sendmail.el (sendmail-query-once): Restore the current
12592 buffer after querying (bug#9074).
12593
0e6a2bd7
LMI
12594 * dired.el (dired-flagged): Use different faces for marked and
12595 flagged files (bug#6117).
12596
ce887515
LMI
12597 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12598 (bug#4433).
12599
92f2affc
LMI
12600 * ido.el (ido-mode): Switch off the message if called
12601 non-interactively.
12602
57d5aff0
LMI
12603 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12604 before 587, since it appears that that's more likely to work for
12605 more people.
12606
98cd6c18 12607 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12608 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12609 exist.
12610
b96dec83
LMI
12611 * info.el: Remove the `Info-beginning-of-buffer' function
12612 (bug#8325).
12613
b796c9b7
SM
12614 * net/network-stream.el (network-stream-open-starttls):
12615 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12616
d90e2ea0
MR
126172011-08-01 Martin Rudalics <rudalics@gmx.at>
12618
12619 * window.el (display-buffer-in-window): Don't set dedicated status
12620 of window here (Bug#9215).
12621 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12622 (display-buffer-pop-up-side-window)
b796c9b7 12623 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12624
cca09170
SM
126252011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12628 before binding generated-autoload-file.
12629
027b979c
DD
126302011-08-01 Deniz Dogan <deniz@dogan.se>
12631
12632 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12633
3c7ee4f3
MA
126342011-07-30 Michael Albinus <michael.albinus@gmx.de>
12635
12636 Sync with Tramp 2.2.2.
12637
12638 * net/trampver.el: Update release number.
12639
2cc8e51a
JL
126402011-07-30 Juri Linkov <juri@jurta.org>
12641
12642 * dired-aux.el (dired-touch-initial): Remove function.
12643 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12644 current time, and `default' to the last modification time of the
12645 current marked file (bug#6887).
12646
a514d856
JM
126472011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12648
12649 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12650 numeric argument to read-number (bug#9163).
a514d856 12651
8a7eddd7
MA
126522011-07-27 Michael Albinus <michael.albinus@gmx.de>
12653
12654 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12655 connection process, it could be nil.
12656
1ddd96f5
LL
126572011-07-27 Leo Liu <sdl.web@gmail.com>
12658
12659 Simplify url handling in rcirc-mode.
12660
12661 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12662 (rcirc-browse-url-at-mouse): Remove.
12663 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12664
b248a85d
AM
126652011-07-26 Alan Mackenzie <acm@muc.de>
12666
12667 Fontify bitfield declarations properly.
12668
12669 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12670 (c-symbol-chars): Now exported as a lang variable.
12671 (c-not-primitive-type-keywords): New lang variable.
12672
12673 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12674 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12675 parsed as a bitfield declaration.
b248a85d 12676
b796c9b7
SM
12677 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12678 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12679 (c-punctuation-in): New function.
12680 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12681 declarations properly.
12682
68575ab0
UJ
126832011-07-26 Ulf Jasper <ulf.jasper@web.de>
12684
12685 * calendar/icalendar.el (icalendar--all-events): Take care of
12686 multiple vcalendars in a single file.
b796c9b7 12687 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12688
0f0a88b9
DD
126892011-07-25 Deniz Dogan <deniz@dogan.se>
12690
12691 * image.el (insert-image): Clarifying docstring.
12692
0b3f36df
MA
126932011-07-24 Michael Albinus <michael.albinus@gmx.de>
12694
12695 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12696 `tramp-send-command-and-check' if there is no error.
12697 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12698
a9901f61
AM
126992011-07-22 Alan Mackenzie <acm@muc.de>
12700
12701 Prevent cc-langs.elc being loaded at run time.
12702
12703 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12704 cc-langs.
12705
4d61f28d 12706 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12707 "(require 'cc-langs)". Quote a form so it will evaluate at
12708 (cc-mode's) compilation time.
12709
11d074b2
MA
127102011-07-22 Michael Albinus <michael.albinus@gmx.de>
12711
12712 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12713 loading. (Bug#9114)
12714
938b94c8
MR
127152011-07-21 Martin Rudalics <rudalics@gmx.at>
12716
12717 * window.el (display-buffer-pop-up-window)
12718 (display-buffer-pop-up-side-window)
12719 (display-buffer-in-side-window): Call display-buffer-set-height
12720 and display-buffer-set-width after setting the new window's
b796c9b7 12721 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12722
bfa4f190
SS
127232011-07-20 Sam Steingold <sds@gnu.org>
12724
12725 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12726 (etags-tags-included-tables): Call `convert-standard-filename' on
12727 the file names contained in TAGS so that windows Emacs can handle
12728 TAGS files created by cygwin ctags.
12729
8ca42262
LMI
127302011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12731
12732 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12733 which apparently didn't work.
12734
5db2afd2 127352011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12736
5db2afd2
RW
12737 * proced.el (proced-send-signal): For *Marked Processes* buffer
12738 put point at beginning of buffer.
12739
92e15d10
SB
127402011-07-19 Stephen Berman <stephen.berman@gmx.net>
12741
12742 * proced.el (proced-format): Make header lines align with the text
12743 (bug#1779).
12744
1bfd59e5
LMI
127452011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12746
12747 * view.el (view-buffer): Allow running in `special' modes if we're
12748 visiting a file (bug#8615).
12749
f5aae37c
MR
127502011-07-19 Martin Rudalics <rudalics@gmx.at>
12751
12752 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12753 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12754 New functions.
f5aae37c
MR
12755 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12756 more accurately.
12757
bf2c1571
AM
127582011-07-18 Alan Mackenzie <acm@muc.de>
12759
12760 Fontify declarators properly when, e.g., a jit-lock chunk begins
12761 inside a declaration.
12762
12763 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12764
b796c9b7
SM
12765 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12766 New function.
bf2c1571
AM
12767 (c-complex-decl-matchers): Insert reference to
12768 c-font-lock-enclosing-decls.
12769
12770 * progmodes/cc-engine.el (c-backward-single-comment):
12771 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12772 to nil around calls to (forward-comment -1).
12773
4e190b80
LMI
127742011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12775
12dc863d
LMI
12776 * image.el (put-image): Doc typo fix.
12777
a762e966
LMI
12778 * progmodes/etags.el (tags-search): Doc typo fix.
12779
4e190b80
LMI
12780 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12781 password if we get errors 550 to 554.
12782
f019fb21
LMI
127832011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12784
b796c9b7 12785 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12786
81746738
LMI
12787 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12788 indentation character (bug#6380).
12789
3ee3a1b5
LMI
12790 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12791
c82f64de
LMI
12792 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12793 to clarify what the problem is (bug#4291).
12794
f019fb21
LMI
12795 * simple.el (current-kill): Clarify what
12796 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12797 (auto-fill-mode): Document `auto-fill-function' in relation to
12798 `auto-fill-mode' (bug#2470).
f019fb21 12799
0794775d
LM
128002011-07-16 Lawrence Mitchell <wence@gmx.li>
12801
12802 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12803 method if slot is read-only (bug#9035).
12804
be39b8cc
MR
128052011-07-16 Martin Rudalics <rudalics@gmx.at>
12806
b796c9b7 12807 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12808 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12809 selected before, see discussion of (Bug#8615), (Bug#6954).
12810 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12811
6ccf7859
GM
128122011-07-15 Glenn Morris <rgm@gnu.org>
12813
12814 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12815 Respect help-form.
6ccf7859 12816
87e86684
LM
128172011-07-09 Lawrence Mitchell <wence@gmx.li>
12818
12819 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12820 (gnutls-negotiate): Use it.
12821
d6066239
LMI
128222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12823
b796c9b7
SM
12824 * net/gnutls.el (gnutls-negotiate):
12825 Upcase `gnutls-algorithm-priority'.
d6066239 12826
bd23ebc0
GM
128272011-07-15 Glenn Morris <rgm@gnu.org>
12828
c65bca65
GM
12829 * jka-compr.el (jka-compr-verbose): Move from here...
12830 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12831 Add missing :version tag.
12832 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12833
478615cc
LMI
128342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12835
7b41decb
LMI
12836 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12837 (gnutls-negotiate): Use it.
12838
dbc44fcd
LMI
12839 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12840
06789f97
LMI
12841 * info.el (Info-beginning-of-buffer): New command.
12842 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12843 announcing `b' as the key (bug#8325).
ab896c37 12844 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12845
c39da690
LMI
12846 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12847
3aa5f34b
LMI
12848 * international/mule-cmds.el
12849 (describe-specified-language-support): Make the error message
12850 clearer (bug#8905).
12851
4bf0979f
LMI
12852 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12853
478615cc
LMI
12854 * isearch.el (isearch-barrier): Add a doc string, since it's
12855 mentioned in a function doc string (bug#8678).
12856
75c68aa1
MR
128572011-07-15 Martin Rudalics <rudalics@gmx.at>
12858
12859 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12860 buffer argument (Bug#9083) and self-identifying label argument.
12861
a7c33da2
GM
128622011-07-15 Glenn Morris <rgm@gnu.org>
12863
12864 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12865
2f5c6024
LMI
128662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12867
12868 * man.el (Man-fontify-manpage): Fix message when formatting the
12869 man page (bug#7929).
12870
0bb23927 128712011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12872
12873 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12874 argument LRM; if non-nil, append an invisible LRM character to the
12875 buffer name.
12876 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12877 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12878 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12879 paragraph direction.
cce4b0a7 12880
621ef9ab
LMI
128812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12882
d1583c48
LMI
12883 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12884 the man page name (bug#7929).
12885
6a57fb5f
LMI
12886 * image.el (put-image): Mention the `put-image' overlay property
12887 (bug#7834).
12888
d7956b14
LMI
12889 * scroll-bar.el (set-scroll-bar-mode): Mention that
12890 `scroll-bar-mode' lists the values (bug#7772).
12891
5b2d4a66
LMI
12892 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12893 command (bug#7729).
12894
7509a874
LMI
12895 * rect.el (apply-on-rectangle): Return the point after the last
12896 operation.
12897 (string-rectangle): Go to the point after the last operation
12898 (bug#7522).
12899
4fe74b19
LMI
12900 * printing.el (pr-toggle-region): Clarify the documentation
12901 slightly (bug#7493).
12902
b796c9b7
SM
12903 * time.el (display-time-update):
12904 Allow `display-time-mail-function' to return nil (bug#7158).
12905 Fix suggested by Detlev Zundel.
ab283561 12906
fc233c9d
LMI
12907 * vc/diff.el (diff): Clarify the order the file names are read
12908 (bug#7111).
12909
43f5740b
LMI
12910 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12911 the doc string (bug#7015).
12912
f2182a76
LMI
12913 * font-lock.el (font-lock-maximum-decoration): Mention what
12914 numeric levels mean (bug#6935).
12915
621ef9ab
LMI
12916 * startup.el (initial-buffer-choice): Don't mention the `none'
12917 selection, which is against policy.
12918
adc47434
MR
129192011-07-14 Martin Rudalics <rudalics@gmx.at>
12920
b796c9b7
SM
12921 * window.el (display-buffer-normalize-special):
12922 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12923
7e5bfb8f
EZ
129242011-07-14 Eli Zaretskii <eliz@gnu.org>
12925
12926 * subr.el (version<, version<=, version=): Mention "-CVS" and
12927 "-12345" alpha version numbers.
12928
27fa387a
CY
129292011-07-14 Chong Yidong <cyd@stupidchicken.com>
12930
12931 * bindings.el: Add advertised binding for set-mark-command
12932 (Bug#5772).
12933
8bdfa064
CY
129342011-07-14 Chong Yidong <cyd@stupidchicken.com>
12935
12936 * bindings.el (mode-line-other-buffer):
12937 * bookmark.el (bookmark-bmenu-2-window):
12938 * bs.el (bs-cycle-next, bs-cycle-previous):
12939 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12940 switch-to-buffer.
12941
12942 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12943 Delete.
8bdfa064 12944
5eba16a3
JB
129452011-07-14 Juanma Barranquero <lekktu@gmail.com>
12946
12947 * follow.el (follow-debug-message, follow-redisplay):
12948 * jka-cmpr-hook.el (with-auto-compression-mode):
12949 Fix typos in docstrings.
12950
15853710
LMI
129512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12952
a28e4607
LMI
12953 * subr.el (with-silent-modifications): Clarify somewhat what the
12954 macro inhibits (bug#6525).
12955
15853710
LMI
12956 * simple.el (eval-expression): Note what it does if called
12957 interactively (bug#6495).
12958
bee0fcef
CY
129592011-07-13 Chong Yidong <cyd@stupidchicken.com>
12960
b796c9b7
SM
12961 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12962 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12963
12964 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12965 Remove switch-to-buffer.
12966
58274504
LMI
129672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12968
bd2fcc8d
LMI
12969 * files.el (make-directory): Clarify that an error will be raised
12970 if there's an error (bug#6397).
12971
0f04b32c
LMI
12972 * startup.el (initial-buffer-choice): Add `none' as a choice
12973 (bug#6234).
12974
465c5fc8
LMI
12975 * subr.el (add-hook): Clarify section about buffer-local hooks
12976 (bug#6218).
12977
58274504
LMI
12978 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12979
bead9a43
JB
129802011-07-13 Juanma Barranquero <lekktu@gmail.com>
12981
12982 * tabify.el (untabify): Preserve the current column so that point
12983 doesn't move (bug#6032).
12984
3af98a7b
LMI
129852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12986
b796c9b7
SM
12987 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12988 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12989
6240145a
GM
129902011-07-13 Glenn Morris <rgm@gnu.org>
12991
12992 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12993 (dired-insert-directory): Give a message the first time
12994 if ls is found not to support --dired.
12995
1d8c2ccc
LMI
129962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12997
12998 * simple.el (toggle-truncate-lines): Clarify what is toggled
12999 (bug#5580). Text by Drew Adams.
13000
5fc4038e
CY
130012011-07-13 Chong Yidong <cyd@stupidchicken.com>
13002
13003 * simple.el (blink-matching-open): Make the error message from the
13004 last change less verbose.
13005
bf6012e5
DN
130062011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13007
13008 * font-lock.el (font-lock-comment-face): Use the high contrast
13009 "yellow" color for font-lock-comment-face on low color terminals
13010 using a dark background color (bug#4221).
13011
343c3b5a
LMI
130122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13013
7e9505c5
LMI
13014 * dired.el (dired-insert-set-properties): Make the doc string
13015 reflect what it does now (bug#5325).
13016
c26fdcf5
LMI
13017 * simple.el (blink-matching-open): Say that we were unable to find
13018 the match within the limit, if we're limited (bug#5122).
13019
bb388cc5
LMI
13020 * international/mule-cmds.el (prefer-coding-system): Add an
13021 example (bug#4869).
13022
343c3b5a
LMI
13023 * progmodes/etags.el (tags-search): Document `file-list-form'
13024 (bug#4731).
13025
2a517d45
LM
130262011-07-13 Lawrence Mitchell <wence@gmx.li>
13027
13028 * net/browse-url.el (browse-url-default-browser)
13029 (browse-url-browser-function): Make the default browser choice a
13030 bit more logical (bug#4300). Also clean up the doc string.
13031
b6c78ef2
JB
130322011-07-13 Juanma Barranquero <lekktu@gmail.com>
13033
13034 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13035 binary endings (bug#4440).
13036
1c4dd947
LMI
130372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13038
a2014063
LMI
13039 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13040 which can be pretty annoying (bug#8971).
13041
9c9c2d88
LMI
13042 * jka-compr.el (jka-compr-verbose): New variable, and use
13043 throughout (bug#8971).
13044
1c4dd947
LMI
13045 * info.el (Info-find-file): Fall back on the installation
13046 directory if we can't find the info node anywhere else.
13047
a1c9f41b
SO
130482011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13049
13050 * vc/vc.el (vc-revert-file):
13051 Don't set file time-stamp in the past. (Bug#5181)
13052
536f3d36
LMI
130532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13054
7152b011
LMI
13055 * files.el (after-find-file): Give a better error message when
13056 trying to find a symlink that points to a file that doesn't exist
13057 (bug#4398).
13058
536f3d36
LMI
13059 * progmodes/cc-vars.el: Remove (probably) misleading comment
13060 (bug#4396).
13061
460c0fba
JB
130622011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
13063
13064 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13065
7a6bda45
CY
130662011-07-12 Chong Yidong <cyd@stupidchicken.com>
13067
13068 * mouse-sel.el: Hack restoring functionality, while keeping
13069 compatibility with 2010-07-03 changes to mouse selection.
13070 (mouse-sel-primary-overlay): New var.
13071 (mouse-sel-selection-alist): Use it.
13072 (mouse-sel-mode): Doc fix; remove points that are default features
13073 of mouse.el.
13074
c79598ef
JB
130752011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
13076
13077 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13078 Fix previous fix (bug#2490).
13079
ff8be6ef
RW
130802011-07-12 Roland Winkler <winkler@gnu.org>
13081
b796c9b7
SM
13082 * textmodes/bibtex.el (bibtex-initialize):
13083 Use pop-to-buffer-same-window.
ff8be6ef
RW
13084 (bibtex-search-entries): Fix interactive call.
13085
296ba3ee
LMI
130862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13087
f5242a02 13088 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13089 Fontise bytecomp Error lines more correctly (bug#2490).
13090 Fix suggested by Johan BockgĂ¥rd.
f5242a02 13091
296ba3ee
LMI
13092 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13093
13094 * dired-x.el (dired-guess-default): Use `delete-dups'.
13095
f69fd0d2
CY
130962011-07-12 Chong Yidong <cyd@stupidchicken.com>
13097
13098 * dired.el (dired-mark-prompt):
13099 * dired-aux.el (dired-read-shell-command): Doc fix.
13100
eab5dc07
LMI
131012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13102
b796c9b7
SM
13103 * mail/sendmail.el (sendmail-query-once):
13104 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13105 emacs -Q.
13106
13107 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13108
eab5dc07
LMI
13109 * cus-edit.el (custom-file): Take an optional no-error variable.
13110 (customize-save-variable): Set the variable, and give a warning if
13111 running under "emacs -q".
13112
a1e65d42
JB
131132011-07-11 Juanma Barranquero <lekktu@gmail.com>
13114
13115 * loadhist.el (unload-feature-special-hooks):
13116 Add `auto-coding-functions', `fill-nobreak-predicate' and
13117 `find-directory-functions' (bug#5327).
13118
1d52da10
LMI
131192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13120
be958f1d
LMI
13121 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13122
5bedb26c
LMI
13123 * cus-edit.el (custom-guess-name-alist): -alist variables should
13124 use the `alist' type (bug#3120). Suggested by Drew Adams.
13125
1d52da10
LMI
13126 * printing.el: Add documentation to all the `pr-toggle-' commands.
13127
cd394be1 131282011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13129
13130 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13131 backends where it makes sense (bug#2623).
13132
dcc88d8a
LMI
131332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13134
c3de9feb
LMI
13135 * dired-x.el (dired-guess-default): Remove duplicate shell command
13136 entries (bug#2028).
8a93078b 13137 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13138 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13139
dcc88d8a
LMI
13140 * subr.el (remove-duplicates): New conveniency function.
13141
505e3645
LMI
131422011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13143
13144 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13145 (bug#1526).
13146
131472011-07-10 Martin Rudalics <rudalics@gmx.at>
13148
13149 * window.el (display-buffer-normalize-default): Don't invert
13150 meaning of even-window-heights. Reported by Eli Zaretskii
13151 <eliz@gnu.org>.
13152
455e4fa1
BR
131532011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13154
13155 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13156
8e0bc3e9
CY
131572011-07-10 Chong Yidong <cyd@stupidchicken.com>
13158
13159 * window.el (display-buffer): Fix arguments to
13160 display-buffer-reuse-window in last change.
13161
fa7c3228
CY
13162 * faces.el (link): Use a less saturated blue on light backgrounds.
13163
13164 * startup.el (fancy-startup-text, fancy-about-text)
13165 (fancy-startup-tail): Use font-lock faces, for background safety.
13166
c0a7f300
BN
131672011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13168
b796c9b7
SM
13169 * emulation/viper-cmd.el (viper-change-state-to-vi):
13170 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13171
4dc2a129
MR
131722011-07-09 Martin Rudalics <rudalics@gmx.at>
13173
13174 * window.el (display-buffer-default-specifiers): Remove.
13175 (display-buffer-macro-specifiers): Remove default specifiers.
13176 (display-buffer-alist): Default to nil.
b796c9b7 13177 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13178 (display-buffer-pop-up-window): Allow splitting internal
13179 windows. Check whether a live window was created.
13180 (display-buffer-other-window-means-other-frame)
13181 (display-buffer-normalize-arguments): Rename to
13182 display-buffer-normalize-argument and rewrite. Set the
13183 other-window specifier.
13184 (display-buffer-normalize-special): New function.
13185 (display-buffer-normalize-options): Rename to
13186 display-buffer-normalize-default and rewrite.
13187 (display-buffer-normalize-options-inhibit): Remove.
13188 (display-buffer-normalize-specifiers): Rewrite.
13189 (display-buffer): Process other-window specifier and call
13190 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13191 more faithfully.
b796c9b7 13192 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13193 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13194 (display-buffer-in-window, display-buffer-alist-set):
13195 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13196 <tassilo@member.fsf.org>.
13197
2d43b8c9
LL
131982011-07-09 Leo Liu <sdl.web@gmail.com>
13199
13200 * register.el (insert-register): Restore accidental change on
13201 2011-06-26. (Bug#9028)
13202
7f9b7c53
GM
132032011-07-09 Glenn Morris <rgm@gnu.org>
13204
13205 * subr.el (remq): Handle the empty list. (Bug#9024)
13206
f042cfd8
AS
132072011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13208
13209 * mail/sendmail.el (send-mail-function): No longer delay custom
13210 initialization.
13211 * custom.el (custom-initialize-delay): Doc fix.
13212
856b2f11
SM
132132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13216
afae1d68
MA
132172011-07-08 Michael Albinus <michael.albinus@gmx.de>
13218
13219 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13220 human-friendly prompt.
13221
0757af94
SM
132222011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13225 provided by a particular plugin.
13226
d760b731
LMI
132272011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
13229 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13230 save customizations (with "emacs -Q"), just set the variable
13231 instead of erroring out.
13232
13233 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13234
cd79ce90
JL
132352011-07-08 Juri Linkov <juri@jurta.org>
13236
13237 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13238 (archive-zip-update-case): Use 7z if found by `executable-find'.
13239 The order of searching the available programs is the same as in
13240 `archive-zip-extract' (bug#8968).
13241
14cc04aa
CY
132422011-07-07 Chong Yidong <cyd@stupidchicken.com>
13243
13244 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13245 (menu-bar-options-menu): Tweak descriptions.
13246
0a1848ec
LMI
132472011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13248
13249 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13250 menu items into verb phrases (bug#1421). Also refill to fit under
13251 80 columns.
13252
f5bd0689
CY
132532011-07-07 Chong Yidong <cyd@stupidchicken.com>
13254
538e85c6
CY
13255 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13256 (Info-read-node-name): Doc fix (Bug#1084).
13257
f5bd0689
CY
13258 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13259 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13260 (end-of-sexp, beginning-of-sexp)
13261 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13262 (forward-symbol, forward-same-syntax, word-at-point)
13263 (sentence-at-point): Doc fix (Bug#1144).
13264
56ec5115
LMI
132652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13266
f3f8e37f
LMI
13267 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13268 should cover it (bug#1281).
13269
0757af94 13270 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13271
e9fce1ac 13272 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13273 negotiation fails, then possibly try again with a non-encrypted
13274 connection (bug#9017).
13275
56ec5115
LMI
13276 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13277 be used.
13278
c2f9aec8
RS
132792011-07-07 Richard Stallman <rms@gnu.org>
13280
13281 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13282 property, and handle its changed format.
13283 Look for the correct line number.
13284 Use file's line contents (but not past first =) to find
13285 correct line in message.
13286
ef7b981d 132872011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13288
13289 * international/characters.el (build-unicode-category-table):
13290 Delete it.
0757af94 13291 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13292
0757af94 13293 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13294 to src/chartab.c.
13295 (get-char-code-property): Call unicode-property-table-internal to
13296 load a file. Call get-unicode-property-internal where necessary.
13297 (put-char-code-property): Call unicode-property-table-internal to
13298 load a file. Call put-unicode-property-internal where necessary.
13299 put-unicode-property-internal where necessary.
0757af94
SM
13300 (char-code-property-description):
13301 Call unicode-property-table-internal to load a file.
c805dec0
KH
13302
13303 * international/charprop.el:
13304 * international/uni-bidi.el:
13305 * international/uni-category.el:
13306 * international/uni-combining.el:
13307 * international/uni-comment.el:
13308 * international/uni-decimal.el:
13309 * international/uni-decomposition.el:
13310 * international/uni-digit.el:
13311 * international/uni-lowercase.el:
13312 * international/uni-mirrored.el:
13313 * international/uni-name.el:
13314 * international/uni-numeric.el:
13315 * international/uni-old-name.el:
13316 * international/uni-titlecase.el:
13317 * international/uni-uppercase.el: Regenerate.
13318
13319 * loadup.el: Load international/charprop.el before
13320 international/characters.
13321
e14b388a
CY
133222011-07-07 Chong Yidong <cyd@stupidchicken.com>
13323
13324 * window.el (next-buffer, previous-buffer): Signal an error if
13325 called from a minibuffer window.
13326
13327 * bindings.el: Revert 2011-07-04 change.
13328
354cf0ba
RS
133292011-07-06 Richard Stallman <rms@gnu.org>
13330
13331 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13332 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13333 Treat markers like ints.
13334 (rmail-mime-entity): Doc fix.
13335
a48868a7
LMI
133362011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13337
4906cd3d
LMI
13338 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13339 defcustom again for backwards compatibility.
13340
e0457abe
LMI
13341 * simple.el (shell-command-on-region): Fill.
13342
d67f7e1f
LMI
13343 * dired-aux.el (dired-kill-line): Add a doc string.
13344
fe204702
LMI
13345 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13346 to "\\sw\\|\\s_" (bug#358).
13347
a48868a7
LMI
13348 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13349 (dired-unmark-backward): Ditto.
13350 (dired-flag-backup-files): Ditto.
13351
13352 * dired-x.el (dired-mark-sexp): Ditto.
13353
aa8a705c
RS
133542011-07-06 Richard Stallman <rms@gnu.org>
13355
13356 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13357 (rmail-mime-entity): New arg TRUNCATED.
13358 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13359 New functions.
13360 (rmail-mime-save): Warn if entity is truncated.
13361 (rmail-mime-toggle-hidden): Likewise, for showing.
13362 (rmail-mime-process-multipart): Record when an entity is truncated.
13363
a9a936b9
RS
13364 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13365 if ENTITY is a string.
13366
1f2b92cb
LMI
133672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13368
f4f73198 13369 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13370 of faces when `M-C-x'-ing their definitions (bug#8378).
13371 Also clean up the code slightly.
f4f73198 13372
12b16734 13373 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13374 because that makes the colors go away.
12b16734 13375
f0691d22
LMI
13376 * mail/sendmail.el (send-mail-function): Change the default to
13377 `sendmail-query-once'.
9e87df06 13378 (sendmail-query-once): Add an autoload cookie.
f0691d22 13379
1f2b92cb
LMI
13380 * net/network-stream.el (network-stream-open-starttls): Try using
13381 a plain connection even if the server offered STARTTLS, and we
13382 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13383 capability. This should make smtpmail.el work in slightly more
13384 configurations.
13385
1cdd2a1b
MA
133862011-07-06 Michael Albinus <michael.albinus@gmx.de>
13387
13388 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13389 New defun.
13390 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13391
fbcc67e2
MM
133922011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13393
13394 * progmodes/sql.el: Version 3.0
0757af94 13395 (sql-product-alist): Add product :completion-object,
fbcc67e2 13396 :completion-column, and :statement attributes.
0757af94 13397 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13398 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13399 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13400 ansi keywords.
13401 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13402 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13403 (sql-oracle-show-reserved-words): New function for development.
13404 (sql-product-font-lock): Simplify for source code buffers.
13405 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13406 New functions.
13407 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13408 (sql-mode-map): Add statement movement functions.
13409 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13410 New variable.
fbcc67e2
MM
13411 (sql-statement-regexp, sql-beginning-of-statement)
13412 (sql-end-of-statement, sql-signum): New functions.
0757af94 13413 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13414 (sql-show-sqli-buffer): Bug fix.
13415 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13416 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13417 with sql-interactive-mode.
13418 (sql-save-connection): Save buffer local settings.
0757af94 13419 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13420 (sql-product-interactive): Bug fix.
13421 (sql-preoutput-hold): New variable.
13422 (sql-interactive-remove-continuation-prompt): Bug fixes.
13423 (sql-debug-redirect): New variable.
13424 (sql-str-literal): New function.
13425 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13426 Redesign.
fbcc67e2
MM
13427 (sql-oracle-save-settings, sql-oracle-restore-settings)
13428 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13429 (sql-completion-object, sql-completion-column)
13430 (sql-completion-sqlbuf): New variables.
13431 (sql-build-completions-1, sql-build-completions)
13432 (sql-try-completion): New functions.
13433 (sql-read-table-name): Use them.
13434 (sql-contains-names): New buffer local variable.
13435 (sql-list-all, sql-list-table): Use it.
13436 (sql-oracle-completion-types): New variable.
13437 (sql-oracle-completion-object, sql-sqlite-completion-object)
13438 (sql-postgres-completion-object): New functions.
13439
d4eaeab1
GM
134402011-07-06 Glenn Morris <rgm@gnu.org>
13441
13442 * window.el (pop-to-buffer): Doc fix.
13443
322b7dab 134442011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13445
13446 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13447
322b7dab 134482011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13449
322b7dab 13450 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13451
322b7dab 13452 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13453
605dd5bf
CY
134542011-07-05 Chong Yidong <cyd@stupidchicken.com>
13455
13456 * button.el (button): Inherit from link face. Suggested by Dan
13457 Nicolaescu.
13458
7dbfa719
SM
134592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13460
3db614b0
SM
13461 * progmodes/gdb-mi.el: Fit in 80 columns.
13462 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13463 switch-to-buffer.
13464
7dbfa719
SM
13465 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13466 if imenu is simply not configured (bug#8941).
13467
919d884a
KM
134682011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13469
13470 * allout.el (allout-post-undo-hook): New allout outline-change
13471 event hook to signal undo activity.
13472 (allout-post-command-business): Run allout-post-undo-hook if an
13473 undo just occurred.
7dbfa719
SM
13474 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13475 * allout-widgets.el (allout-widgets-after-undo-function):
13476 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13477 in the vicinity of an undo.
13478 (allout-widgets-mode): Include allout-widgets-after-undo-function
13479 on the new allout-post-undo-hook.
13480
450a0f09
SM
134812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13484 Let define-derived-mode define it.
13485 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13486 cycles of abbrev-table inheritance (bug#8998).
13487
2de69e00
RW
134882011-07-05 Roland Winkler <winkler@gnu.org>
13489
13490 * textmodes/bibtex.el: Add support for biblatex.
13491 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13492 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13493 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13494 (bibtex-entry-alist, bibtex-field-alist): New variables.
13495 (bibtex-entry-field-alist): Obsolete alias for
13496 bibtex-BibTeX-entry-alist.
13497 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13498 (bibtex-set-dialect): New command.
13499 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13500 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13501 Bind via bibtex-set-dialect.
2de69e00
RW
13502 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13503 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13504 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13505 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13506 Define via bibtex-set-dialect.
450a0f09
SM
13507 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13508 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13509 (bibtex-vec-push, bibtex-vec-incr): New functions.
13510 (bibtex-format-entry, bibtex-field-list)
13511 (bibtex-print-help-message, bibtex-validate)
13512 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13513
2dcdbdd9
SM
135142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * progmodes/compile.el (compilation-goto-locus):
13517 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13518 * bs.el (bs-cycle-next, bs-cycle-previous):
13519 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13520 * bindings.el (mode-line-other-buffer):
13521 * autoinsert.el (auto-insert):
13522 * arc-mode.el (archive-extract):
13523 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13524
b27640fe
JB
135252011-07-05 Juanma Barranquero <lekktu@gmail.com>
13526
13527 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13528 Fix check of `emacs-lock-unlockable-modes'.
13529 Coerce true values of `emacs-lock--try-unlocking' to t.
13530
53bbe3ad
JB
135312011-07-05 Juanma Barranquero <lekktu@gmail.com>
13532
13533 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13534 * emacs-lock.el: New file.
13535
1d3cdbc7
JD
135362011-07-05 Julien Danjou <julien@danjou.info>
13537
13538 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13539 than `boundp' to check if face is set.
13540
9173deec
JB
135412011-07-05 Juanma Barranquero <lekktu@gmail.com>
13542
13543 * register.el (registerv-make):
13544 * window.el (window-min-height): Fix typos in docstrings.
13545
869795d6
JD
135462011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13547
9173deec 13548 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13549 Update doc string.
13550
b768cdcd
JB
135512011-07-04 Juanma Barranquero <lekktu@gmail.com>
13552
13553 * server.el (server-execute): Catch quit and call
13554 `server-return-error' to pass the error back to emacsclient and
13555 close the connection (bug#8942).
13556
13aa217b
KM
135572011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13558
13559 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13560 insecure exception for current topic. Also note that auto-saves
13561 are handled differently.
13562
5d3385a0 13563 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13564 State variables for tracking auto-save inhibition situation.
13565
13566 (allout-write-contents-hook-handler): Rename from
13567 'allout-write-file-hook-handler', and describe how it depends on
13568 write-contents-functions sensitivity to non-nil value to prevent
13569 file write.
13570
13571 (allout-auto-save-hook-handler): Remove. auto-save does not check
13572 this in individual buffers, only in the starting buffer, so this
13573 is not the right way for us to inhibit auto-save in a buffer
13574 according to its condition.
13575
13576 (allout-mode): Use new allout-write-contents-hook-handler, and
13577 only with write-contents-functions. Remove auto-save provisions -
13578 they're implemented elsewhere.
13579
13580 (allout-before-change-handler): If undo is in progress, note that
13581 for attention of allout-post-command-business.
13582
13583 (allout-post-command-business): If the command we're following was
13584 an undo, check for change in the status of encrypted items and
13585 adjust auto-save inhibitions accordingly.
13586
13587 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13588 according to whether there are or aren't any plain-text topics
13589 pending encryption.
13590
2dcdbdd9 13591 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13592 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13593 if there are plain-text topics pending encryption.
13aa217b
KM
13594
13595 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13596 buffer-saved-size and some allout state to not inhibit auto-saves
13597 if there are no longer any plain-text topics pending encryption.
13598
0757af94
SM
13599 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13600 No longer provide for exemption of the current topic.
13aa217b 13601
ac89b32c
JL
136022011-07-04 Juri Linkov <juri@jurta.org>
13603
13604 Add 7z operations to delete and save changed members (bug#8968).
13605 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13606 New defcustoms.
13607 (archive-7z-write-file-member): New function.
13608 (archive-7z-summarize): Fix the number of dashes in the
13609 listing output.
13610
8fa39615
SM
136112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13614 (bug#8958).
13615
2f11b3f1
CY
136162011-07-04 Chong Yidong <cyd@stupidchicken.com>
13617
d66fef2b
CY
13618 * bindings.el: Ignore next-buffer and previous-buffer in
13619 minibuffer-local-map.
13620
2f11b3f1
CY
13621 * font-lock.el (font-lock-builtin-face): Change light background
13622 color to dark slate blue (Bug#6693).
13623
f932a347
WD
136242011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13625
13626 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13627
c8af70e1
SM
136282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13629
13630 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13631 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13632 Add switch-to-buffer.
13633
f158badc
LMI
136342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13635
13636 * isearch.el (isearch-search-fun-function): Clarify further the
13637 meaning of the function returned.
13638
6d95bd46
MA
136392011-07-04 Michael Albinus <michael.albinus@gmx.de>
13640
13641 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13642
13643 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13644 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13645 Use it.
13646 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13647 `tramp-default-remote-path' does not exist.
13648 (tramp-send-command-and-read): New optional argument NOERROR.
13649 (tramp-open-connection-setup-interactive-shell)
13650 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13651 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13652 (tramp-process-sentinel): Flush also process' connection property.
13653 (tramp-sh-handle-start-file-process): Do not set process
13654 sentinel. It is done now ...
13655 (tramp-maybe-open-connection): ... here. (Bug#8929)
13656
909e6b67
MK
136572011-07-04 MON KEY <monkey@sandpframing.com>
13658
13659 * play/animate.el (animate-string): Doc fixes and allow changing
13660 the buffer name (bug#5417).
13661
136622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13663
c8af70e1 13664 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13665
f34755dc
PE
136662011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13667
396cec72
PE
13668 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13669 This is simpler and helps future-proof the code.
13670 (timer-until): Use time-subtract and float-time.
08235028 13671 (timer--time-less-p): Use time-less-p.
f34755dc 13672
56e6cc31
JB
136732011-07-04 Juanma Barranquero <lekktu@gmail.com>
13674
3abb79e5
JB
13675 * type-break.el (timep): Use the value of `float-time' to avoid a
13676 byte-compiler warning.
13677
56e6cc31
JB
13678 * server.el (server-eval-and-print): Return any result, even nil.
13679
7b9430b4
PE
136802011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13681
13682 * type-break.el: Accept time formats that the builtins accept.
13683 (timep, type-break-time-difference): Accept any format that
13684 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13685 This is simpler and helps future-proof the code.
13686 (type-break-time-difference): Round rather than ignoring
13687 subseconds components.
13688
3034e9e7
LMI
136892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13690
13691 * info.el (Info-apropos-matches): Make non-interactive, since it
13692 doesn't seem to do anything useful as a command (bug#8829).
13693
1485f4c0
CY
136942011-07-03 Chong Yidong <cyd@stupidchicken.com>
13695
13696 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13697 Move from faces.el.
1485f4c0
CY
13698 (frame-default-terminal-background): New function.
13699
13700 * custom.el (custom-push-theme): Don't record faces in `changed'
13701 theme; this doesn't work correctly for per-frame face settings.
13702 (disable-theme): Use face-set-after-frame-default to reset faces.
13703 (custom--frame-color-default): New function.
13704
9fa3dd45
LMI
137052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13706
c8af70e1 13707 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13708 (bug#8769).
13709
6cbbc20c
KR
137102011-03-29 Kevin Ryde <user42@zip.com.au>
13711
13712 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13713 `perl-Test2' extend to match possible "fail #N" rep count
13714 (bug#8377).
13715
c7f98048
LMI
137162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13717
65676592
LMI
13718 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13719 `smtpmail-via-smtp' now returns the error instead of nil.
13720
c7f98048
LMI
13721 * isearch.el (isearch-search-fun-function): Clarify the doc string
13722 (bug#8101).
13723
56e6cc31 137242011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13725
13726 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13727 unnecessary spaces (bug#8987).
13728
2b216704
LMI
137292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13730
13731 * net/network-stream.el (open-network-stream): Use the
13732 :end-of-capability command thoughout.
13733
137342011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13735
13736 * net/network-stream.el (open-network-stream): Add the
13737 :end-of-capability command parameter, used by pop3.el.
13738
36adf6ce
LMI
137392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13740
1ca0da0e
LMI
13741 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13742
fc00f69c
LMI
13743 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13744 for list)" (bug#6475).
13745
28fd8759 13746 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13747 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13748 an error (bug#6297).
13749
0dd8b6da
LMI
13750 * man.el (Man-reference-regexp): Allow matching possible
13751 word-wrapped references (bug#6289).
13752
ce1438d6
LMI
13753 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13754 for consistency with the other vc buffers (bug#6197).
13755 (vc-checkin): Ditto.
13756
13757 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13758
36adf6ce
LMI
13759 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13760
e83cc1f7
LMI
137612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13762
8a20ca4c
LMI
13763 * custom.el (defcustom): Clarify that :set is only used in the
13764 Customize user interface (bug#6089).
13765
83319045
LMI
13766 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13767 associated with a file, refuse to run instead of erroring out
13768 (bug#6084).
13769
a8392169
LMI
13770 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13771 the doc string, since it appears that using `fill-column' always
13772 controls the width (bug#7845).
13773
e83cc1f7
LMI
13774 * simple.el (shell-command-on-region): Say where the error output
13775 went if `shell-command-default-error-buffer' is set (bug#6857).
13776
e47ca23b
KM
137772011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13778
13779 * allout.el (allout-yank-processing): Adjust cursor position for
13780 backwards-deleted space.
13781
13782 (allout-rebullet-heading): Register changes with
13783 allout-exposure-changed-hook, so the modified topic is properly
13784 decorated.
13785
5cf56143
LMI
137862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13787
08549772
LMI
13788 * minibuffer.el (completion-in-region): Document PREDICATE
13789 (bug#7136).
13790
48e96771
LMI
13791 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13792 of keyword/argument pairs (bug#6904).
13793
c8af70e1
SM
13794 * replace.el (multi-occur):
13795 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13796
e17d05e2
LMI
137972011-07-02 Drew Adams <drew.adams@oracle.com>
13798
13799 * dired.el (dired-mark-if): Make the message about whether it's
13800 marking or unmarking clearer (bug#8523).
13801
063b0e45
LMI
138022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13803
13804 * disp-table.el (display-table-print-array): New function.
13805 (describe-display-table): Use it to print the vectors more pretty
13806 (Bug#8859).
13807
28545e04
MR
138082011-07-02 Martin Rudalics <rudalics@gmx.at>
13809
13810 * window.el (window-state-get-1): Don't assign clone numbers.
13811 Add clone-of item to list of window parameters.
13812 (window-state-put-2): Don't process clone numbers.
13813 (display-buffer-alist): Fix doc-string.
13814
3349e122
SM
138152011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * subr.el (remq): Don't allocate if it's not needed.
13818 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13819 (keymap--merge-bindings): New functions.
13820 (keymap-canonicalize): Use them to refine the canonicalization.
13821 * minibuffer.el (minibuffer-local-completion-map)
13822 (minibuffer-local-must-match-map): Move initialization from C.
13823 (minibuffer-local-filename-completion-map): Move initialization from C;
13824 don't inherit from anything here.
13825 (minibuffer-local-filename-must-match-map): Make obsolete.
13826 (completing-read-default): Use make-composed-keymap to combine
13827 minibuffer-local-filename-completion-map with either
13828 minibuffer-local-must-match-map or
13829 minibuffer-local-filename-completion-map.
13830
d224ac83
GM
138312011-07-01 Glenn Morris <rgm@gnu.org>
13832
3de63bf8
GM
13833 * type-break.el (type-break-time-sum): Use dolist.
13834
d224ac83
GM
13835 * textmodes/flyspell.el (flyspell-word-search-backward):
13836 Replace CL function.
13837
1a1e3f32
SM
138382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13839
fe3f64d5
SM
13840 * mouse.el (mouse--strip-first-event): New function.
13841 (function-key-map): Use it to map fringe clicks to normal clicks
13842 by default.
13843
eb604e34
SM
13844 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13845 (vc-bzr-revision-completion-table): Add support for annotate and date.
13846
1a1e3f32
SM
13847 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13848 inherit from parent.
13849
5bd35902
LMI
138502011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13851
ace6c69c 13852 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13853 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13854
191e2bed
LMI
13855 * dired.el (dired-mode): Fix up the doc string as suggested by
13856 Drew Adams (bug#8817).
13857
5bd35902
LMI
13858 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13859 cookie, since the manual says that it should be possible to add
13860 this function to `find-file-hook' (bug#8709).
13861
eee8207a
TZ
138622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13863
13864 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13865 here. Noted Ted Zlatanov as the maintainer.
13866 (cfengine-common-settings, cfengine-common-syntax): New functions
13867 to set up common things between `cfengine-mode' and
13868 `cfengine3-mode'.
13869 (cfengine3-mode): New mode.
13870 (cfengine3-defuns cfengine3-defuns-regex
13871 (cfengine3-class-selector-regex cfengine3-category-regex)
13872 (cfengine3-vartypes cfengine3-font-lock-keywords)
13873 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13874 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13875
36b148cf
MA
138762011-07-01 Michael Albinus <michael.albinus@gmx.de>
13877
13878 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13879
13880 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13881
0bf4ba9a
MR
138822011-07-01 Martin Rudalics <rudalics@gmx.at>
13883
13884 * window.el (same-window-buffer-names, same-window-regexps)
13885 (same-window-p, special-display-frame-alist)
13886 (special-display-popup-frame, special-display-function)
13887 (special-display-buffer-names, special-display-regexps)
13888 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13889 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13890 (split-window-preferred-function, split-height-threshold)
13891 (split-width-threshold, even-window-heights)
13892 (display-buffer-mark-dedicated, window-splittable-p)
13893 (split-window-sensibly, window-safely-shrinkable-p):
13894 Un-obsolete.
13895 (display-buffer): Don't spread args with function specifier
13896 because special-display-popup-frame won't like it.
13897
35837f51
PE
138982011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13899
d0672f86
PE
13900 Time-stamp simplifications and fixes.
13901 These improve accuracy slightly, and future-proof the code
13902 against some potential changes to current-time format.
13903
b9444d97
PE
13904 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13905 by using time-since and float-time.
13906
0ef923dc
PE
13907 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13908 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13909 + NNN microseconds".
13910
2f81380d
PE
13911 * type-break.el (type-break-time-sum): Rewrite using time-add.
13912
845b5c3e
PE
13913 * play/hanoi.el (hanoi-current-time-float): Remove.
13914 All uses replaced by float-time.
13915
ee6f1be0
PE
13916 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13917 This yields a more-accurate answer.
13918 (rng-time-to-float): Remove; no longer needed.
13919
fe955043
PE
13920 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13921
5777162a
PE
13922 * calendar/timeclock.el (timeclock-seconds-to-time):
13923 Defalias to seconds-to-time, since they're the same thing.
13924
3103f8b6 13925 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13926 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13927 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13928
0e61a35f
SM
139292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 * window.el (bury-buffer): Don't iconify the only frame.
13932 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13933 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13934
ddd63a1e
CY
139352011-07-01 Chong Yidong <cyd@stupidchicken.com>
13936
0e61a35f
SM
13937 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13938 Add mouse-yank-primary.
ddd63a1e 13939
055f4923
TZ
139402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13941
13942 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13943
6a2fb145
SM
139442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13947 (find-library-name): Use it to find relative load names when provided
13948 absolute file name (bug#8803).
13949
fd4983f2
LMI
139502011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13951
887d14ad
LMI
13952 * textmodes/flyspell.el (flyspell-word): Consider words that
13953 differ only in case as potential doublons (bug#5687).
13954
c53dc7fc
LMI
13955 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13956 Remove two rather uninteresting debugging-like messages to make
13957 debbugs.el more silent.
13958
fd4983f2
LMI
13959 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13960 a password-like phrase.
13961
7a71b18d 139622011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13963
13964 * progmodes/cc-guess.el: New file.
13965
6a2fb145 13966 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13967
13968 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13969 derived from `c-basic-common-init'.
13970
13971 * progmodes/cc-mode.el (top-level): Require cc-guess.
13972 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13973
1fa280a3
LM
139742011-06-30 Lawrence Mitchell <wence@gmx.li>
13975
13976 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13977
e6597158
AM
139782011-06-30 Alan Mackenzie <acm@muc.de>
13979
1fa280a3
LM
13980 * progmodes/cc-engine.el (c-guess-continued-construct):
13981 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13982 lock is disabled. Name this case as "CASE G".
13983
68ba37fb
KM
139842011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13985
13986 * allout.el (allout-yank-processing): Fix injection of extra space
13987 between bullet and non-whitespace character in first topic when
13988 pasting, ensuring that the actual spacing in the pasted topic
13989 following the bullet char is preserved. This extra space was
13990 causing pasted encrypted topics to get a decrypted status even
13991 when the content was actually still encrypted. Now the decryption
13992 status from before the paste is preserved.
13993
13994 (allout-flag-region): Set all allout overlays so they evaporate
13995 when reduced to zero length (evanescent), to prevent overlay
13996 leakage.
13997
887a0b34
GM
139982011-06-30 Glenn Morris <rgm@gnu.org>
13999
94b9acce
GM
14000 * w32-fns.el (w32-charset-info-alist): Declare.
14001
1d9b46d4
GM
14002 * find-dired.el (find-grep-options): Simplify.
14003
cc232200
GM
14004 * term/ns-win.el (ns-set-resource): Declare.
14005
28e77c46
GM
14006 * ses.el (row, col): Declare dynamic variables honestly.
14007
887a0b34
GM
14008 * textmodes/reftex-parse.el (index-tags): Declare.
14009
658d8eb8
CY
140102011-06-30 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * cus-edit.el (customize-push-and-save): New function.
14013
14014 * files.el (hack-local-variables-confirm): Use it.
14015
1fa280a3
LM
14016 * custom.el (load-theme): New arg NO-CONFIRM.
14017 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14018 (custom-enabled-themes): Doc fix.
14019
14020 * cus-theme.el (customize-create-theme)
14021 (custom-theme-merge-theme): Callers to load-theme changed.
14022
bb617717
LMI
140232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14024
d61bdd5d
LMI
14025 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14026 short URLs have at least one dot in them (bug #7614).
14027
bb617717
LMI
14028 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14029 nil, because using a pty is apparently too slow (bug #895).
14030
2f31f37a
LMI
140312011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14032
14033 * mail/sendmail.el (sendmail-query-once): New function.
14034 (sendmail-query-once-function): New variable.
14035
3076b24e
GM
140362011-06-29 Glenn Morris <rgm@gnu.org>
14037
faf2a174
GM
14038 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14039
3076b24e
GM
14040 * ses.el (top-level): Require cl when compiling.
14041 (ses-set-localvars): Fix error statement.
14042 Call it at compile time to silence a storm of warnings.
14043
5386012d
MR
140442011-06-29 Martin Rudalics <rudalics@gmx.at>
14045
14046 * window.el (normalize-live-buffer): Rename to
14047 window-normalize-buffer.
14048 (normalize-live-frame): Rename to window-normalize-frame.
14049 (normalize-any-window): Rename to window-normalize-any-window.
14050 (normalize-live-window): Rename to window-normalize-live-window.
14051 (make-window-atom): Rename to window-make-atom.
14052 (window-resize-reset): Rename to window--resize-reset.
14053 (window-resize-reset-1): Rename to window--resize-reset-1.
14054 (resize-mini-window): Rename to window--resize-mini-window.
14055 (resize-subwindows-skip-p): Rename to
14056 window--resize-subwindows-skip-p.
14057 (resize-subwindows-normal): Rename to
14058 window--resize-subwindows-normal.
14059 (resize-subwindows): Rename to window--resize-subwindows.
14060 (resize-other-windows): Rename to window--resize-siblings.
14061 (resize-this-window): Rename to window--resize-this-window.
14062 (resize-root-window): Rename to window--resize-root-window.
14063 (resize-root-window-vertically): Rename to
14064 window--resize-root-window-vertically.
14065 (normalize-buffer-to-display): Rename to
14066 window-normalize-buffer-to-display.
14067 (normalize-buffer-to-switch-to): Rename to
14068 window-normalize-buffer-to-switch-to.
14069 Correspondingly update all callers of the functions listed
14070 above.
14071 (display-buffer-alist, display-buffer-normalize-arguments)
14072 (display-buffer-normalize-options, display-buffer)
14073 (display-buffer-alist-set): Use "function" instead of
14074 "fun-with-args".
14075
1176868d
CY
140762011-06-28 Chong Yidong <cyd@stupidchicken.com>
14077
14078 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14079 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14080 debbugs.gnu.org. Mention acknowledgment email.
14081
20a7a65f
LMI
140822011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14083
14084 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14085 buffer multibyteness, since it shouldn't matter.
14086
5f45cca5
MR
140872011-06-28 Martin Rudalics <rudalics@gmx.at>
14088
14089 * window.el (display-buffer-in-side-window): Handle dedicated
14090 windows as in display-buffer-reuse-window.
14091 (display-buffer-normalize-alist): Use value of override
14092 specifier.
14093 (display-buffer-normalize-specifiers): Use value of
14094 other-window-means-other-frame specifier.
14095 (display-buffer-alist): Rewrite some texts in widgets.
14096 (display-buffer): Spread arguments when calling function
14097 specified by fun-with-args.
14098
ad85fe1f
DD
140992011-06-28 Deniz Dogan <deniz@dogan.se>
14100
1fa280a3
LM
14101 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14102 Unnest `let'.
da68c4c8 14103
ad85fe1f
DD
14104 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14105 selectors (Bug#5732).
ec49bd31 14106 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14107
a08cc025
JA
141082011-06-27 Jari Aalto <jari.aalto@cante.net>
14109
14110 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14111 (eshell-ls-date-format): New defcustom.
14112 (eshell-ls-file): Use it.
14113
e2b551c5
SM
141142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14115
14116 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14117
8982b231
KY
141182011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14119
14120 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14121 (ange-ftp-make-tmp-name): New arg.
14122 (ange-ftp-file-local-copy): Use it.
14123
36c9fa27
J
141242011-06-27 Jambunathan K <kjambunathan@gmail.com>
14125
14126 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14127 no-conversion (Bug#8870).
14128
d68443dc
MR
141292011-06-27 Martin Rudalics <rudalics@gmx.at>
14130
14131 * window.el (window-right, window-left, window-child)
14132 (window-child-count, window-last-child)
14133 (window-iso-combination-p, walk-window-tree-1)
14134 (window-atom-check-1, window-tree-1, delete-window)
14135 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14136 new naming conventions - window-vchild, window-hchild,
14137 window-next and window-prev are now called window-top-child,
14138 window-left-child, window-next-sibling and window-prev-sibling
14139 respectively.
d615d6d2
MR
14140 (resize-window-reset): Rename to window-resize-reset.
14141 (resize-window-reset-1): Rename to window-resize-reset-1.
14142 (resize-window): Rename to window-resize.
14143 (window-min-height, window-min-width)
14144 (resize-mini-window, resize-this-window, resize-root-window)
14145 (resize-root-window-vertically, adjust-window-trailing-edge)
14146 (enlarge-window, shrink-window, maximize-window)
14147 (minimize-window, delete-window, quit-restore-window)
14148 (split-window, balance-windows, balance-windows-area-adjust)
14149 (balance-windows-area, window-state-put-2)
14150 (display-buffer-even-window-sizes, display-buffer-set-height)
14151 (display-buffer-set-width, set-window-text-height)
14152 (fit-window-to-buffer): Rename all "resize-window" prefixed
14153 calls to use the "window-resize" prefix convention.
14154 (display-buffer-alist): Fix symbol for label specifier.
14155 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14156 corresponding specifier.
14157 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14158
b6458526
VB
141592011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14160
14161 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14162 convention.
14163 (ses-call-printer): Does not pass an empty string to formatter when the
14164 cell is empty to keep from barking printer Calc math-format-value.
14165
d31fd9ac
RS
141662011-06-27 Richard Stallman <rms@gnu.org>
14167
43d5bf84
RS
14168 * battery.el (battery-mode-line-limit): New variable.
14169 (battery-update): Handle it.
14170
d31fd9ac
RS
14171 * mail/rmailmm.el (rmail-mime-process-multipart):
14172 Handle truncated messages.
14173
819a6054
GM
141742011-06-27 Glenn Morris <rgm@gnu.org>
14175
14176 * progmodes/flymake.el (flymake-err-line-patterns):
14177 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14178
cedc73f2
VB
141792011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14180
819a6054 14181 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14182 (ses--clean-!, ses--clean-_): New functions.
14183 (ses-range): Add configurability of readout order, and conversion
14184 to Calc vector.
14185
5e5d49b6
VB
14186 * ses.el (ses-repair-cell-reference-all): New function.
14187 (ses-cell-symbol): Set macro as safe, so that it can be used in
14188 formulas.
14189
56e6cc31 14190 * ses.el: Update cycle detection algorithm.
90ca8b49 14191 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14192 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14193 (ses-set-localvars): New function.
14194 (ses-make-cell): Add property-list as a cell element.
14195 (ses-cell-property-get-fun, ses-cell-property-get)
14196 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14197 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14198 New functions.
90ca8b49
VB
14199 (ses-cell-property-set, ses-cell-property-pop)
14200 (ses-cell-property-get-handle): New macro.
14201 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14202 New aliases, used for code readability.
14203 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14204 cycle detection.
14205 (ses-self-reference-early-detection): New defcustom.
fac916bf 14206 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14207 (ses-mode): Use ses-set-localvars.
14208 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14209 before lauching the update processing.
14210 (ses-initialize-Dijkstra-attempt): New function.
14211 (ses-recalculate-cell): Update for cycle detection based on
14212 Dijkstra algorithm.
14213
2bb63e81
VB
14214 * ses.el: Fix commenting and indenting convention.
14215
c9d29fb8
SM
142162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14217
14218 * bs.el (bs-cycle-next): Complete last change.
14219
d8e4b68b
JB
142202011-06-27 Drew Adams <drew.adams@oracle.com>
14221
14222 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14223
40098786
LMI
142242011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14225
c9d29fb8
SM
14226 * net/network-stream.el (network-stream-open-starttls):
14227 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14228 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14229
40098786
LMI
14230 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14231 to binary to possibly avoid line encoding issues on Windows (among
14232 other things).
14233
468d09d4
LMI
142342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14235
14236 * net/network-stream.el (open-network-stream): Return an :error
14237 saying what the problem was, if possible.
14238
14239 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14240 server.
14241
14242 * net/network-stream.el (network-stream-open-starttls): If we
14243 wanted to use STARTTLS, and the server offered it, but we weren't
14244 able to because we had no STARTTLS support, then close the connection.
14245 (open-network-stream): Return an :error element, if present.
14246
16f07dd7
CY
142472011-06-26 Chong Yidong <cyd@stupidchicken.com>
14248
88821ca0
CY
14249 * hl-line.el (hl-line-sticky-flag): Doc fix.
14250 (global-hl-line-sticky-flag): New option (Bug#8323).
14251 (global-hl-line-highlight): Obey it.
14252
16f07dd7
CY
14253 * vc/vc.el (vc-revert-show-diff): Default to t.
14254
6b5ccddf
KM
142552011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14256
c9d29fb8
SM
14257 * allout-widgets.el (allout-widgets-post-command-business):
14258 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14259 undecorated when an isearch is continued past, and isearch
14260 automatically collapses them. This leads to "widget leaks", where
14261 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14262 hidden widgets can slow down cursor travel, substantially.
14263 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14264 so we're doing without this nicety.
14265
14266 (allout-widgets-tally-string): Don't try to do a hash-table-count
14267 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14268 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14269 *Messages* when allout-widgets-maintain-tally is t.
14270
355f2e07
MR
142712011-06-26 Martin Rudalics <rudalics@gmx.at>
14272
14273 * window.el (display-buffer-normalize-argument): Rename to
14274 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14275 LABEL argument. Respect special-display-function when popping up
14276 a new frame. Fix code searching for a window showing the buffer
14277 on another frame.
c9d29fb8
SM
14278 (display-buffer-normalize-specifiers):
14279 Call display-buffer-normalize-arguments.
355f2e07
MR
14280 (display-buffer-in-window): Don't undedicate the window if its
14281 buffer remains the same.
14282 Reported by Drew Adams <drew.adams@oracle.com>.
14283 (display-buffer-alist): Add choice for same-window macro
14284 specfier.
14285 (display-buffer): Mention special meaning of LABEL argument in
14286 doc-string. Fix quoting. Don't pop up a new frame even as
14287 fallback.
14288
7ca8fc42
JB
142892011-06-26 Juanma Barranquero <lekktu@gmail.com>
14290
14291 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14292 avoid deleting the current window in some cases (bug#8911).
14293
bc312254
AS
142942011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14295
14296 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14297 (Bug#8934)
14298
2db18f3f
LMI
142992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14300
c9d29fb8
SM
14301 * net/network-stream.el (network-stream-open-starttls):
14302 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14303 (network-stream-open-tls): Ditto.
14304
6302e0d3
LL
143052011-06-26 Leo Liu <sdl.web@gmail.com>
14306
14307 * register.el (registerv): New struct.
14308 (registerv-make): New function.
c9d29fb8
SM
14309 (jump-to-register, describe-register-1, insert-register):
14310 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14311 struct. (Bug#8415)
14312
5fdd4046
CY
143132011-06-26 Chong Yidong <cyd@stupidchicken.com>
14314
2afef60a
CY
14315 * vc/vc.el (vc-revert-show-diff): New defcustom.
14316 (vc-diff-internal): New arg specifying diff buffer.
14317 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14318 reuse an existing *vc-diff* buffer (Bug#8927).
14319
5fdd4046
CY
14320 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14321
e93db24a
GM
143222011-06-26 Glenn Morris <rgm@gnu.org>
14323
14324 * progmodes/f90.el (f90-critical-indent): New option.
14325 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14326 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14327 (f90-mode): Doc fix.
14328 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14329 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14330 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14331 (f90-match-end): Handle block, critical.
14332
eefff499
GM
143332011-06-25 Glenn Morris <rgm@gnu.org>
14334
f6ba4cc9
GM
14335 * calendar/diary-lib.el (diary-included-files): Doc fix.
14336 (diary-include-files): New function, extracted from
14337 diary-include-other-diary-files and diary-mark-included-diary-files.
14338 (diary-include-other-diary-files, diary-mark-included-diary-files):
14339 Just call diary-include-files.
14340 (diary-mark-entries): Reset diary-included-files on first call.
14341
16712304
GM
14342 * calendar/diary-lib.el (diary-mark-entries)
14343 (diary-mark-included-diary-files):
14344 Visit included diary-files in temp buffers.
14345
5d8e0d43
GM
14346 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14347 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14348 (f90-start-block-re, f90-imenu-generic-expression)
14349 (f90-looking-at-program-block-start, f90-no-block-limit):
14350 Add support for submodules.
14351
ccf7a5d5
GM
14352 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14353 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14354
11fdef7d 143552011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14356
14357 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14358 buffer-file-type before setting its value, to avoid disastrous
eefff499 14359 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14360
74f53697
JB
143612011-06-25 Juanma Barranquero <lekktu@gmail.com>
14362
14363 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14364
14365 * ses.el (ses-unload-function):
14366 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14367
14368 * proced.el (proced-unload-function):
14369 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14370
18a4ce5e
AR
143712011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14372
14373 * server.el (server-create-window-system-frame): Add parameters arg.
14374 (server-process-filter): Doc fix. Handle frame-parameters.
14375
519d22cc
JB
143762011-06-25 Juanma Barranquero <lekktu@gmail.com>
14377
14378 Fix bug#8730, bug#8781.
14379
14380 * loadhist.el (unload--set-major-mode): New function.
14381 (unload-feature): Use it.
14382
14383 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14384 (python-unload-function): New function.
14385
c206f5b0
SM
143862011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14387
14388 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14389
f9ad64f3
GS
143902011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14391
14392 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14393 the candidates list.
14394
7d0da90e
JB
143952011-06-24 Juanma Barranquero <lekktu@gmail.com>
14396
14397 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14398
14b4e83d
RS
143992011-06-23 Richard Stallman <rms@gnu.org>
14400
14401 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14402 (rmail-variables): Set next-error-move-function.
14403 (rmail-what-message): Take argument POS.
14404 (rmail-next-error-move): New function.
14405
273d2baf
SM
144062011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14409 messages for adjacent non-terminals.
14410
56c2cc9a
RS
144112011-06-23 Richard Stallman <rms@gnu.org>
14412
14413 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14414 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14415 (rmail-start-mail): Don't specify use of rmail-mail-return;
14416 that's done by mail-bury now.
14417 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14418
d59eb518
MA
144192011-06-23 Michael Albinus <michael.albinus@gmx.de>
14420
14421 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14422 SIZE is a number.
14423
02cfc6d6
MR
144242011-06-23 Martin Rudalics <rudalics@gmx.at>
14425
14426 * window.el (get-lru-window, get-mru-window)
14427 (get-largest-window): Never return a minibuffer window.
14428 (display-buffer-pop-up-window): Fix a bug that could lead to
14429 reusing the minibuffer window.
14430 (display-buffer): Pass original specifier argument to
14431 display-buffer-function instead of the normalized one.
14432 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14433
4e323265
LL
144342011-06-22 Leo Liu <sdl.web@gmail.com>
14435
14436 * minibuffer.el (completing-read-function)
14437 (completing-read-default): Move from minibuf.c
14438
7a70468f
RS
144392011-06-22 Richard Stallman <rms@gnu.org>
14440
50718fc2
RS
14441 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14442 to Rmail even if not started by a special Rmail command.
14443
7a70468f
RS
14444 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14445 Copy the buffer currently showing just one message.
14446
297dde5a
RW
144472011-06-22 Roland Winkler <winkler@gnu.org>
14448
14449 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14450 (bibtex-clean-entry): First delete the old key so that a
14451 customized algorithm for generating the new key does not get
14452 confused by the old key.
14453 (bibtex-url): Obey regexp of first step.
14454 (bibtex-search-entries): Do not use add-to-list with local
14455 list-var.
14456
97bb1093
LMI
144572011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458
14459 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14460 stored a user name, then query for the password first, instead of
14461 waiting for SMTP to give an error message and the trying again.
14462
1c0f1a19
JD
144632011-06-22 Lawrence Mitchell <wence@gmx.li>
14464
14465 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14466 BUFFER in call-process.
14467
396f7c9d
LMI
144682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14469
14470 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14471 QUIT twice.
ddb7ffee
LMI
14472 (smtpmail-try-auth-methods): Require user name and password from
14473 auth-source.
396f7c9d 14474
8998d1b3
MR
144752011-06-22 Martin Rudalics <rudalics@gmx.at>
14476
14477 * window.el (display-buffer-default-specifiers)
14478 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14479 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14480 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14481
14482 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14483 (special-display-frame-alist, special-display-popup-frame):
14484 Remove duplicate declarations. These are now in window.el.
14485
4ea31e07
LMI
144862011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14487
c9d29fb8
SM
14488 * mail/smtpmail.el (smtpmail-via-smtp):
14489 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14490 server supports it. SMTP servers that support STARTTLS commonly
14491 require it.
14492
14493 * net/network-stream.el (network-stream-open-starttls): Support
14494 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14495 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14496
95f41d9a
LMI
14497 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14498 upgrades with `open-network-stream', and rely solely on
14499 auth-source for all credentials. Big changes throughout the file,
14500 but in particular:
c9d29fb8
SM
14501 (smtpmail-auth-credentials): Remove.
14502 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14503 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14504 MAIL FROM, too.
95f41d9a 14505
c9d29fb8
SM
14506 * net/network-stream.el (network-stream-open-starttls):
14507 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14508 STARTTLS.
14509 (auth-source): Require.
14510 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14511 (network-stream-certificate): Change cert-cert to cert and
14512 cert-key to key.
4ea31e07 14513
065ec2c7
MA
145142011-06-21 Michael Albinus <michael.albinus@gmx.de>
14515
14516 * net/tramp-cache.el (top): Don't load the persistency file when
14517 "emacs -Q" has been called.
14518
cd93b359
DR
145192011-06-21 Tim Harper <timcharper@gmail.com>
14520
d8e4b68b
JB
14521 * term/ns-win.el (ns-initialize-window-system):
14522 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14523 resource to NO as it is not yet supported by the NS port.
14524
ae9c0411
JB
145252011-06-21 Juanma Barranquero <lekktu@gmail.com>
14526
14527 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14528 (list-dynamic-libraries): ...not here.
14529
7f3f739f
LL
145302011-06-21 Leo Liu <sdl.web@gmail.com>
14531
14532 * subr.el (sha1): Implement sha1 using secure-hash.
14533
327c8fb1
MR
145342011-06-21 Martin Rudalics <rudalics@gmx.at>
14535
14536 * window.el (display-buffer-alist): In default value do not
14537 enforce searching a window on any but the selected frame.
14538 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14539 (display-buffer-select-window): Remove function.
14540 (display-buffer-in-window): When a window on another frame gets
14541 reused, do not select it any more but just raise its frame if
14542 necessary (Bug#8851) and (Bug#8856).
14543 (display-buffer-normalize-options): Handle pop-up-frames related
14544 options more faithfully.
14545 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14546 window if it is on another frame.
c9d29fb8
SM
14547 (display-buffer-alist, display-buffer-default-specifiers):
14548 Don't make new frame unsplittable by default.
9e9de014
MR
14549 (display-buffer-normalize-argument): Fix doc-string typo and use
14550 'same-frame-other-window instead of 'other-window when associating
14551 with display-buffer-macro-specifiers.
327c8fb1 14552
7cf3f556
VB
145532011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14554
14555 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14556 New functions.
14557 (5x5-mode-map, 5x5-mode-menu): Bind them.
14558 (5x5-draw-grid): Tweak the solver's rendering.
14559
60a406cf
SM
145602011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14561
14562 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14563 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14564
d8e4b68b 145652011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14566
14567 * menu-bar.el: Use function variable instead of switch-to-buffer.
14568 (menu-bar-select-buffer-function): New variable.
60a406cf 14569 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14570
478d6f95
SM
145712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14572
14573 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14574 variable's status.
14575
ca530739
JD
145762011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14577
14578 * x-dnd.el (x-dnd-version-from-flags)
14579 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14580 and long as number (Bug#8899).
14581 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14582
bcd70d97
SM
145832011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14584
60a406cf 14585 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14586 (completion-try-completion, completion-all-completions): Compute the
14587 metadata argument if it's missing; make it optional (bug#8795).
14588
60a406cf 14589 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14590 (widget-complete): Use new :completion-function property.
14591 (widget-completions-at-point): New function.
14592 (default): Use :completion-function instead of :complete.
60a406cf
SM
14593 (widget-default-completions): Rename from widget-default-complete;
14594 Rewrite.
bcd70d97
SM
14595 (widget-string-complete, widget-file-complete, widget-color-complete):
14596 Remove functions.
14597 (file, symbol, function, variable, coding-system, color):
14598 * international/mule-cmds.el (default-input-method, charset)
14599 (language-info-custom-alist):
14600 * cus-edit.el (face): Use new property :completions.
14601
14602 * progmodes/pascal.el (pascal-completions-at-point): New function.
14603 (pascal-mode): Use it.
14604 (pascal-mode-map): Use completion-at-point.
14605 (pascal-toggle-completions): Make obsolete.
14606 (pascal-complete-word, pascal-show-completions):
14607 * progmodes/octave-mod.el (octave-complete-symbol):
14608 Redefine as obsolete alias.
14609 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14610 Signal absence of completion info for old Octave,
14611 (inferior-octave-complete): Redefine as obsolete alias.
14612 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14613 (meta-completions-at-point): Rename from meta-complete-symbol and
14614 adapt it for use on completion-at-point-functions.
14615 (meta-common-mode): Use it.
14616 (meta-looking-at-backward, meta-match-buffer): Remove.
14617 (meta-complete-symbol): Redefine as obsolete alias.
14618 (meta-common-mode-map): Use completion-at-point.
14619 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14620 (makefile-mode-map): Use completion-at-point.
14621 (makefile-completions-at-point): Rename from makefile-complete and
14622 adapt it for use on completion-at-point-functions.
14623 (makefile-mode): Use it.
14624 (makefile-complete): Redefine as obsolete alias.
14625
aebf69c8
DD
146262011-06-20 Deniz Dogan <deniz@dogan.se>
14627
14628 * net/rcirc.el: Delete trailing whitespaces once and for all.
14629
bfbbb27d
DC
146302011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14631
14632 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14633
d264a46b
CY
146342011-06-19 Chong Yidong <cyd@stupidchicken.com>
14635
4ca009e5
CY
14636 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14637
d264a46b
CY
14638 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14639
fbf5b3ce
MR
146402011-06-19 Martin Rudalics <rudalics@gmx.at>
14641
14642 * window.el (display-buffer-other-window-means-other-frame):
14643 Call display-buffer-normalize-alist.
14644 (display-buffer-normalize-specifiers-1): Rename to
14645 display-buffer-normalize-argument. New argument other-frame.
14646 Rewrite.
14647 (display-buffer-normalize-specifiers-2): Rename to
14648 display-buffer-normalize-options.
14649 (display-buffer-normalize-alist-1): New function.
14650 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14651 display-buffer-normalize-alist.
14652 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14653 (display-buffer-normalize-options-inhibit): New variable.
14654 (display-buffer-normalize-specifiers): Rewrite calling
14655 display-buffer-normalize-alist,
14656 display-buffer-normalize-argument, and
14657 display-buffer-normalize-options. Don't call the latter if
14658 display-buffer-normalize-options-inhibit is non-nil.
14659 (frame-auto-delete): New option.
14660 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14661 (window-list-no-nils, window-state-ignored-parameters)
14662 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14663 (window-state-put-1, window-state-put-2, window-state-put):
14664 New functions.
9a028c23
MR
14665 (display-buffer-normalize-options): Move special-display-p group
14666 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14667
6d10d800
CY
146682011-06-18 Chong Yidong <cyd@stupidchicken.com>
14669
6420d28b
CY
14670 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14671 groups (Bug#8776).
14672 (rx-submatch-n): New function.
14673 (rx): Document it.
14674
ddb8b596
CY
14675 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14676 (Bug#8768).
14677
14678 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14679
77080289
CY
14680 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14681
61dfb316
CY
14682 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14683 anytime existing face settings are present (Bug#8889).
14684
6d10d800
CY
14685 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14686 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14687 Remove unused argument.
14688
be3fb2b8
MR
146892011-06-18 Martin Rudalics <rudalics@gmx.at>
14690
bcd70d97
SM
14691 * window.el (display-buffer-default-specifiers):
14692 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14693 pop-up-window-min-width, and another reuse-window specifier
14694 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14695 (display-buffer-normalize-specifiers-2):
14696 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14697 pop-up-windows is unset. Add a reuse-window specifier for the
14698 case popping up a new window fails.
14699 (special-display-popup-frame): Remove double quoting.
28dec25a 14700 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14701
1c6d8c76
SM
147022011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14703
14704 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14705 according to comint-completion-addsuffix.
14706
14707 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14708 (pcomplete-suffix-list): Mark as obsolete.
14709 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14710 pcomplete-seen in the closure.
14711 (pcomplete-comint-setup): Setup completion-at-point as well.
14712 (pcomplete--entries): New function.
14713 (pcomplete--env-regexp): New var.
14714 (pcomplete-entries): Rewrite to work with partial-completion and
14715 without relying on pcomplete-suffix-list.
14716 (pcomplete-pare-list): Remove, unused.
14717
25aef8b8
MR
147182011-06-17 Martin Rudalics <rudalics@gmx.at>
14719
14720 * window.el (display-buffer-alist): Set pop-up-window-min-height
14721 and pop-up-window-min-width in default value. Reported by
14722 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14723 other-window-means-other-frame.
14724 (display-buffer-macro-specifiers): Comment out entry for
14725 other-window specifier.
14726 (display-buffer-other-window-means-other-frame): New function.
14727 (display-buffer-normalize-specifiers-1): New arguments
14728 buffer-name and label. Treat other-window case specially.
14729 (display-buffer-normalize-specifiers-2): Treat other-window case
14730 specially.
14731 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14732 (display-buffer-normalize-specifiers):
14733 Call display-buffer-normalize-specifiers-3.
25aef8b8 14734
dbad4f69
MR
147352011-06-17 Martin Rudalics <rudalics@gmx.at>
14736
14737 * window.el (same-window-p): Fix two typos introduced when
14738 adding with-no-warnings.
d1067961
MR
14739 (display-buffer-normalize-specifiers-1): Don't check
14740 pop-up-frames for 'unset initialization.
14741 (display-buffer-normalize-specifiers-2): Major rewrite using
14742 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14743 (pop-up-frames, display-buffer-reuse-frames)
14744 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14745 Suggested by David Engster <deng@randomsample.de>.
14746 (even-window-heights): Initialize to 'unset.
14747 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14748 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14749 other window case.
dbad4f69 14750
9b9c9e3a
MR
147512011-06-16 Martin Rudalics <rudalics@gmx.at>
14752
bcd70d97
SM
14753 * window.el (display-buffer-normalize-specifiers-1):
14754 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14755 second argument of display-buffer (Bug#8865).
981d5c09
MR
14756 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14757 (switch-to-buffer-other-window-same-frame)
14758 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14759 Adams (Bug#8875).
9c2755e9
MR
14760 (display-buffer): Don't check noninteractive when calling
14761 display-buffer-pop-up-frame.
14762 (display-buffer-pop-up-frame): Never pop up a frame in
14763 noninteractive mode (Bug#8857).
67222e1d
MR
14764 (enlarge-window, shrink-window): Don't report an error when the
14765 window can't be resized as requested (Bug#8862).
9b9c9e3a 14766
2b75be67
SM
147672011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14768
9ffdd3ba
SM
14769 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14770
cb581a67
SM
14771 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14772
2b75be67
SM
14773 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14774
8c0e3589
AM
147752011-06-15 Alan Mackenzie <acm@muc.de>
14776
cb581a67
SM
14777 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14778 for declarators, disable knr checking to speed up for normal files.
14779 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14780
b96e6cde
LMI
147812011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14782
4bba86e6
LMI
14783 * net/network-stream.el (open-network-stream): Add the keyword
14784 :always-query-capabilities for the case where you want to force a
14785 `plain' network connection, but the protocol still requires the
14786 capabilitiy command (i.e., SMTP and EHLO).
14787
2b75be67 14788 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14789 consistency with other `-live-p' functions.
14790
efdcdbf8
SM
147912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14792
14793 * window.el (same-window-buffer-names, same-window-regexps)
14794 (special-display-frame-alist, special-display-popup-frame)
14795 (special-display-function, special-display-buffer-names)
14796 (special-display-regexps, pop-up-frame-alist)
14797 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14798 (pop-up-windows, split-window-preferred-function)
14799 (split-height-threshold, split-width-threshold, even-window-heights)
14800 (display-buffer-mark-dedicated): Don't encourage the use of
14801 display-buffer-alist from Elisp code.
14802
c5cde042
DN
148032011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14804
14805 * progmodes/python.el (python-mode): Derive from prog-mode.
14806 * progmodes/ps-mode.el (ps-mode):
14807 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14808 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14809 * progmodes/ld-script.el (ld-script-mode): Likewise.
14810
baa1c9ab
MR
148112011-06-15 Martin Rudalics <rudalics@gmx.at>
14812
14813 * window.el (display-buffer-alist): Trim default value to avoid
14814 popping up a new frame (Bug#8857) or reusing an arbitrary window
14815 on another frame.
14816 (display-buffer): Do not fall back on popping up a new frame in
14817 batch mode (Bug#8857).
14818
c5dd5a51
CY
148192011-06-14 Chong Yidong <cyd@stupidchicken.com>
14820
14821 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14822 (custom-theme-summary): New function.
14823 (customize-themes): Use it.
14824
d647b7c4
GM
148252011-06-13 Glenn Morris <rgm@gnu.org>
14826
14827 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14828
9481c002
MR
148292011-06-13 Martin Rudalics <rudalics@gmx.at>
14830
357f93d2
MR
14831 * help.el (help-window): Remove variable.
14832 (help-window-point-marker, temp-buffer-max-height)
14833 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14834 (help-print-return-message): Don't set help-window.
14835 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14836 (help-window-setup-finish): Remove.
14837 (help-window-display-message, help-window-setup)
14838 (with-help-window): Major rewrite based on new
14839 display-buffer-window variable.
14840
14841 * help-mode.el (help-mode-finish): Remove help-window related
14842 code.
14843
14844 * view.el (view-exits-all-viewing-windows): Remove reference to
14845 view-return-to-alist in doc-string.
14846 (view-return-to-alist): Make obsolete.
14847 (view-buffer): Call pop-to-buffer-same-window and remove
14848 undo-window code.
14849 (view-buffer-other-window): Call pop-to-buffer-other-window and
14850 simplify code. Ignore second argument.
14851 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14852 simplify code. Ignore second argument.
14853 (view-return-to-alist-update): Make obsolete.
14854 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14855 Rewrite using quit-restore window parameters.
2b75be67
SM
14856 (view-mode-exit): Rename second argument to EXIT-ONLY.
14857 Rewrite using quit-restore-window.
357f93d2
MR
14858 (View-exit, View-exit-and-edit, View-leave, View-quit)
14859 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14860 appropriate arguments.
14861 (view-end-message): Use quit-restore window parameter.
14862
9481c002
MR
14863 * window.el (display-buffer-function): Rewrite doc-string.
14864 (display-buffer-window, display-buffer-alist): New variables.
14865 (display-buffer-split-specifiers)
14866 (display-buffer-side-specifiers)
14867 (display-buffer-macro-specifiers): New constants.
14868 (display-buffer-even-window-sizes, display-buffer-set-height)
14869 (display-buffer-set-width, display-buffer-select-window)
14870 (display-buffer-in-window, display-buffer-reuse-window)
14871 (display-buffer-split-window-1, display-buffer-split-window)
14872 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14873 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14874 (display-buffer-in-side-window, normalize-buffer-to-display)
14875 (display-buffer-normalize-specifiers-1)
14876 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14877 (display-buffer-normalize-specifiers, display-buffer-frame):
14878 New functions.
9481c002
MR
14879 (display-buffer): Major rewrite.
14880 (display-buffer-other-window, display-buffer-other-frame)
14881 (pop-to-buffer, switch-to-buffer-other-window)
14882 (switch-to-buffer-other-frame): Rewrite.
14883 (display-buffer-same-window, display-buffer-same-frame)
14884 (display-buffer-same-frame-other-window)
14885 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14886 (pop-to-buffer-other-window)
14887 (pop-to-buffer-same-frame-other-window)
14888 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14889 (switch-to-buffer-other-window-same-frame): New functions.
14890 (same-window-p, special-display-p): Rewrite disabling warnings.
14891 Make obsolete.
14892 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14893 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14894 Make obsolete
14895 (same-window-buffer-names, same-window-regexps)
14896 (special-display-frame-alist, special-display-popup-frame)
14897 (special-display-function, special-display-buffer-names)
14898 (special-display-regexps, pop-up-frame-alist)
14899 (pop-up-frame-function, split-window-preferred-function)
14900 (split-height-threshold, split-width-threshold)
14901 (even-window-heights): Make obsolete.
14902
9db51aca
GM
149032011-06-12 Glenn Morris <rgm@gnu.org>
14904
14905 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14906 Misc simplifications.
9db51aca 14907
39cffb44
MR
149082011-06-12 Martin Rudalics <rudalics@gmx.at>
14909
14910 * window.el (window-safely-shrinkable-p): Restore function which
14911 was inadvertently removed in change from 2011-06-11. Declare as
14912 obsolete.
14913
2b75be67
SM
14914 * calendar/calendar.el (calendar-generate-window):
14915 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14916 window-safely-shrinkable-p.
14917
a8955be7
GM
149182011-06-12 Glenn Morris <rgm@gnu.org>
14919
14920 * progmodes/fortran.el (fortran-mode-syntax-table):
14921 * progmodes/f90.el (f90-mode-syntax-table):
14922 Set % to punctuation. (Bug#8820)
14923 (f90-find-tag-default): Remove, no longer needed.
14924
f0d4059d
DC
149252011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14926
14927 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14928
1100a63c
CY
149292011-06-11 Chong Yidong <cyd@stupidchicken.com>
14930
14931 * image.el (image-animated-p): Return animation delay in seconds.
14932 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14933 (image-animate-timeout): Remove DELAY argument. Don't assume
14934 every subimage has the same delay; get it from image-animated-p.
14935 (image-animate): Caller changed.
14936
def722bf
MA
149372011-06-11 Michael Albinus <michael.albinus@gmx.de>
14938
14939 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14940 to ignored backtrace functions.
14941
0a2bb1a9
GM
149422011-06-11 Glenn Morris <rgm@gnu.org>
14943
14944 * calendar/appt.el (appt-disp-window-function): Doc fix.
14945 (appt-check): Handle overlapping appointments. (Bug#8337)
14946
6198ccd0
MR
149472011-06-11 Martin Rudalics <rudalics@gmx.at>
14948
14949 * window.el (window-tree-1, window-tree): New functions, moving
14950 the latter to window.el.
14951 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14952 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14953 (bw-refresh-edges): Remove.
14954 (balance-windows-1, balance-windows-2): New functions.
14955 (balance-windows): Rewrite in terms of window tree functions,
14956 balance-windows-1 and balance-windows-2.
14957 (bw-adjust-window): Remove.
14958 (balance-windows-area-adjust): New function with functionality of
14959 bw-adjust-window but using resize-window.
2b75be67
SM
14960 (set-window-text-height): Rewrite doc-string.
14961 Use normalize-live-window and resize-window.
14962 (enlarge-window-horizontally, shrink-window-horizontally):
14963 Rename argument to DELTA.
6198ccd0
MR
14964 (window-buffer-height): New function.
14965 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14966 Rewrite using new window resize routines.
2b75be67
SM
14967 (kill-buffer-and-window, mouse-autoselect-window-select):
14968 Use ignore-errors instead of condition-case.
6198ccd0
MR
14969 (quit-window): Call delete-frame instead of delete-windows-on
14970 for the only buffer on frame.
14971
9397e56f
MR
149722011-06-10 Martin Rudalics <rudalics@gmx.at>
14973
14974 * loadup.el (top-level): Load window before files for the sake
14975 of replace-buffer-in-windows.
14976
14977 * files.el (read-buffer-to-switch)
14978 (switch-to-buffer-other-window)
2b75be67
SM
14979 (switch-to-buffer-other-frame, display-buffer-other-frame):
14980 Move to window.el.
9397e56f
MR
14981
14982 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14983 (previous-buffer): Move to window.el.
14984
14985 * bindings.el (unbury-buffer): Move to window.el.
14986
14987 * window.el (delete-other-windows-vertically): Move after
14988 definition of delete-other-windows.
14989 (other-window, delete-windows-on, replace-buffer-in-windows):
14990 Move here from window.c.
14991 (record-window-buffer, unrecord-window-buffer)
14992 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14993 (switch-to-next-buffer): New functions.
14994 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14995 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14996 (previous-buffer): Move here from simple.el.
14997 Call switch-to-prev-buffer.
9397e56f
MR
14998 (bury-buffer): Move here from buffer.c. Switch to previous
14999 buffer when window cannot be deleted.
15000 (unbury-buffer): Move here from bindings.el.
15001 (ctl-x-map): Move binding for other-window from window.c to
15002 here.
15003 (read-buffer-to-switch, switch-to-buffer-other-window)
15004 (switch-to-buffer-other-frame): Move here from files.el.
15005 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15006 (switch-to-buffer): Move here from buffer.c.
15007 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15008
562dd5e9
MR
150092011-06-10 Martin Rudalics <rudalics@gmx.at>
15010
15011 * window.el (window-min-height, window-min-width): Move here
15012 from window.c. Add defcustoms and rewrite doc-strings.
15013 (resize-mini-window, resize-window): New functions.
15014 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15015 Move here from window.c.
15016 (maximize-window, minimize-window): New functions.
15017 (delete-window, delete-other-windows, split-window): Move here
15018 from window.c.
15019 (window-split-min-size): New function.
15020 (split-window-keep-point): Mention split-window-above-each-other
15021 instead of split-window-vertically.
2b75be67 15022 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15023 Rename split-window-vertically to split-window-above-each-other
15024 and provide defalias for old definition.
15025 (split-window-side-by-side, split-window-horizontally):
15026 Rename split-window-horizontally to split-window-side-by-side
15027 and provide defalias for the old definition.
562dd5e9
MR
15028 (ctl-x-map): Move bindings for delete-window,
15029 delete-other-windows and enlarge-window here from window.c.
15030 Replace bindings for split-window-vertically and
15031 split-window-horizontally by bindings for
15032 split-window-above-each-other and split-window-side-by-side.
15033
15034 * cus-start.el (all): Remove entries for window-min-height and
15035 window-min-width. Add entries for window-splits and
15036 window-nest.
15037
f0da764a
GM
150382011-06-09 Glenn Morris <rgm@gnu.org>
15039
80675c21
GM
15040 * calendar/appt.el (appt-mode-line): New function.
15041 (appt-check, appt-disp-window): Use it.
15042
f0da764a
GM
15043 * files.el (hack-one-local-variable-eval-safep):
15044 Allow minor-modes with explicit +/-1 arguments.
15045
59f623b7
TZ
150462011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15047
15048 * term/xterm.el (xterm): Add defgroup.
15049 (xterm-extra-capabilities): Add defcustom to supply known xterm
15050 capabilities, skip querying them, or query them (default).
15051 (terminal-init-xterm): Use it.
15052 (terminal-init-xterm-modify-other-keys): New function to set up
15053 modifyOtherKeys support to simplify `terminal-init-xterm'.
15054
9aab8e0d
MR
150552011-06-09 Martin Rudalics <rudalics@gmx.at>
15056
15057 * window.el (resize-window-reset, resize-window-reset-1)
15058 (resize-subwindows-skip-p, resize-subwindows-normal)
15059 (resize-subwindows, resize-other-windows, resize-this-window)
15060 (resize-root-window, resize-root-window-vertically)
15061 (window-deletable-p, window-or-subwindow-p)
15062 (frame-root-window-p): New functions.
15063
e8b08aee
GM
150642011-06-09 Glenn Morris <rgm@gnu.org>
15065
15066 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15067 (ange-ftp-get-files): Use it.
15068
254c37a5
AK
150692011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15070
15071 * mail/sendmail.el (mail-recover-1, mail-recover):
15072 * files.el (recover-file, recover-session):
15073 Handle dired-listing-switches not being just a single short option.
15074
35d7dbd3
GM
150752011-06-09 Glenn Morris <rgm@gnu.org>
15076
15077 * calendar/appt.el (appt-display-message, appt-disp-window):
15078 Handle lists of appointments.
15079
387522b2
MR
150802011-06-08 Martin Rudalics <rudalics@gmx.at>
15081
2b75be67
SM
15082 * window.el (one-window-p): Move down in code.
15083 Rewrite doc-string.
15084 (window-current-scroll-bars): Rewrite doc-string.
15085 Normalize live window argument.
387522b2
MR
15086 (walk-windows, get-window-with-predicate, count-windows):
15087 Rewrite doc-string. Use window-list-1.
15088 (window-in-direction-2, window-in-direction, get-mru-window):
15089 New functions.
15090
d8e4b68b 150912011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15092
15093 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15094 Doc fix (Bug#8713).
15095
150962011-06-08 Chong Yidong <cyd@stupidchicken.com>
15097
15098 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15099
151002011-06-08 Juanma Barranquero <lekktu@gmail.com>
15101
15102 * loadhist.el (unload-feature-special-hooks):
15103 Add `comint-output-filter-functions'.
15104
0de12c52
IK
151052011-06-08 Ivan Kanis <gnu@kanis.fr>
15106
15107 * calendar/appt.el (appt-check): Move some initializations into the let.
15108
f3d1777e
MR
151092011-06-08 Martin Rudalics <rudalics@gmx.at>
15110
15111 * window.el (window-height): Defalias to window-total-height.
15112 (window-width): Defalias to window-body-width.
15113
18af70d0
CY
151142011-06-07 Chong Yidong <cyd@stupidchicken.com>
15115
15116 * image-mode.el (image-toggle-animation): New command.
15117 (image-mode-map): Bind it to RET.
15118 (image-mode): Update message.
15119 (image-toggle-display-image): Avoid a spurious cache flush.
15120 (image-transform-rotation): Doc fix.
15121 (image-transform-properties): Return quickly in the normal case.
15122 (image-animate-loop): Rename from image-animate-max-time.
15123
2b75be67 15124 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15125 (create-animated-image): Remove unnecessary function.
15126 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15127 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15128 (image-animate-timer): Use car-safe.
15129 (image-animate-timeout): Rename argument.
15130
190b47e6
MR
151312011-06-07 Martin Rudalics <rudalics@gmx.at>
15132
15133 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15134 window.c. Rename first argument to ALL-FRAMES.
15135 Rephrase doc-strings.
15136 (get-buffer-window-list): Rewrite using window-list-1.
15137 Rephrase doc-string.
a1511caf
MR
15138 (window-safe-min-height, window-safe-min-width): New constants.
15139 (window-size-ignore, window-min-size, window-min-size-1)
15140 (window-sizable, window-sizable-p, window-size-fixed-1)
15141 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15142 (window-max-delta-1, window-max-delta, window-resizable)
15143 (window-resizable-p, window-total-height, window-total-width)
15144 (window-body-width): New functions.
15145 (window-full-height-p, window-full-width-p): Rewrite using
15146 window-total-size.
15147 (window-body-height): Rewrite using window-body-size.
190b47e6 15148
85cc1f11
MR
151492011-06-06 Martin Rudalics <rudalics@gmx.at>
15150
15151 * window.el (window-right, window-left, window-child)
15152 (window-child-count, window-last-child, window-any-p)
15153 (normalize-live-buffer, normalize-live-frame)
15154 (normalize-any-window, normalize-live-window)
15155 (window-iso-combination-p, window-iso-combined-p)
15156 (window-iso-combinations)
15157 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15158 (windows-with-parameter, window-with-parameter)
15159 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15160 (window-atom-check, window-side-check, window-check):
15161 New functions.
85cc1f11
MR
15162 (ignore-window-parameters, window-sides, window-sides-vertical)
15163 (window-sides-slots): New variables.
15164 (window-size-fixed): Move down in code. Minor doc-string fix.
15165
e7156492
AS
151662011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15167
15168 * comint.el (comint-dynamic-complete-as-filename)
15169 (comint-dynamic-complete-filename): Correctly call
15170 completion-in-region.
15171
7e821d0d
DD
151722011-06-05 Deniz Dogan <deniz@dogan.se>
15173
15174 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15175 in last change.
15176
ac09b8a1
DD
151772011-06-05 Deniz Dogan <deniz@dogan.se>
15178
15179 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15180 (rcirc): Use it to prompt for encryption.
15181
34699b85
RW
151822011-06-05 Roland Winkler <winkler@gnu.org>
15183
15184 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15185 (bibtex-search-entries): New command bound to C-c C-a.
15186 (bibtex-display-entries): New function.
15187
004dedd3
RW
151882011-06-05 Roland Winkler <winkler@gnu.org>
15189
15190 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15191 (bibtex-insert-kill): After yanking insert newline if necessary.
15192 (bibtex-initialize): Call bibtex-string-files-init only once.
15193 (bibtex-mode): Do not call easy-menu-add.
15194 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15195 (bibtex-yank): Set arg properly if nil.
15196
022fe7ce
RW
151972011-06-05 Roland Winkler <winkler@gnu.org>
15198
2b75be67
SM
15199 * textmodes/bibtex.el (bibtex-search-entry-globally):
15200 New variable.
022fe7ce
RW
15201 (bibtex-search-entry): Use it.
15202
b7c3692a
RW
152032011-06-05 Roland Winkler <winkler@gnu.org>
15204
15205 * textmodes/bibtex.el (bibtex-entry-format): New option
15206 sort-fields.
15207 (bibtex-format-entry, bibtex-reformat): Honor this option.
15208 (bibtex-parse-entry): Return fields in proper order.
15209
8eda563d
JB
152102011-06-05 Juanma Barranquero <lekktu@gmail.com>
15211
15212 * doc-view.el (doc-view-remove-if): Move computation of result out
15213 of `dolist' to silence misleading lexical-binding warning.
15214
7dbe3dbc
CY
152152011-06-04 Chong Yidong <cyd@stupidchicken.com>
15216
15217 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15218 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15219
0c33dd17
MA
152202011-06-04 Michael Albinus <michael.albinus@gmx.de>
15221
15222 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15223 "SunOS 5.10".
15224
f8f91c2b
MA
152252011-06-04 Michael Albinus <michael.albinus@gmx.de>
15226
15227 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15228 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15229 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15230 (tramp-parse-putty):
15231 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15232 (tramp-completion-function-alist-ssh)
15233 (tramp-completion-function-alist-telnet)
15234 (tramp-completion-function-alist-su)
15235 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15236 cookie.
15237
15238 * net/tramp-ftp.el:
15239 * net/tramp-sh.el:
15240 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15241 load "tramp.el" `tramp-set-completion-function'.
15242
e17d9003
SM
152432011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15244
15245 * shell.el: Require and use pcomplete.
15246 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15247 (shell-completion-vars): Set pcomplete-default-completion-function.
15248
6c4cab03
DD
152492011-06-04 Deniz Dogan <deniz@dogan.se>
15250
15251 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15252 `memq' (Bug#8799).
15253
ea9fafe0
SM
152542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15257
b3e945d3
JB
152582011-06-02 Juanma Barranquero <lekktu@gmail.com>
15259
15260 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15261 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15262 * vc/log-view.el (log-view-beginning-of-defun):
15263 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15264 (smerge-refine-forward, smerge-refine-chopup-region):
15265 Silence warning for unused `dotimes' counter variables.
15266
7d520089
SM
152672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * net/tramp.el (tramp-with-progress-reporter): Rename from
15270 with-progress-reporter. Use `declare'.
15271 * net/tramp-smb.el:
15272 * net/tramp-sh.el:
15273 * net/tramp-gvfs.el: Update all uses.
15274
a1c2400f
JB
152752011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15276
15277 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15278 buffer isn't killed before making it current.
15279
2403c841
SM
152802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 Silence various byte-compiler warnings.
15283 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15284 `access-type' and new obsolescence format.
15285 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15286 new format.
15287 (byte-compile-check-variable): New `access-type' argument.
15288 Only warn if the access-type is obsolete.
15289 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15290 (byte-compile-variable-set): Adjust callers.
15291 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15292 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15293 setting it as obsolete.
15294 * simple.el (minibuffer-completing-symbol):
15295 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15296 access as obsolete.
15297 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15298 obsolete yet.
15299 * international/quail.el (quail-mouse-choose-completion): Remove unused
15300 code referring to obsolete var.
15301 (quail-choose-completion-string): Remove.
15302 * server.el (server-clients-with, server-kill-buffer-query-function)
15303 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15304 * proced.el (proced-send-signal):
15305 * emacs-lisp/lisp.el (lisp-complete-symbol):
15306 Replace completion-annotate-function with completion-extra-properties.
15307
2462470b
SM
153082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15309
fb5b2591
SM
15310 * simple.el (goto-line): Use read-number.
15311 (overriding-map-is-bound): Remove.
15312 (saved-overriding-map): Change default.
15313 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15314 Take the map as argument.
15315 (universal-argument, negative-argument, digit-argument): Use it.
15316 (restore-overriding-map): Adjust.
15317 (do-auto-fill): Use fill-forward-paragraph.
15318 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15319
fd6fa53f
SM
15320 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15321 (minibuffer-inactive-mode): New major mode.
15322 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15323 the *Messages* buffer" hack.
15324 (mouse-popup-menubar): Don't burp if the event is a normal key.
15325
2462470b
SM
15326 Miscellaneous tweaks.
15327 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15328 lexical scoping as in subr.el's dolist and dotimes.
15329 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15330 Silence compiler warning.
15331 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15332 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15333 * international/ccl.el (ccl-compile): Trivial simplification.
15334 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15335 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15336 `printflag' argument.
15337 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15338 Purecopy the whole obsolescence data.
15339
108bf785
LL
153402011-06-01 Leo Liu <sdl.web@gmail.com>
15341
15342 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15343 improve doc-string as suggested by Marco Pessotto
15344 <melmothx@gmail.com>.
15345 (rcirc-print): Fix last change.
15346
30a23501
SM
153472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15348
15349 * minibuffer.el (complete-with-action): Return nil for the metadata and
15350 boundaries of non-functional tables.
15351 (completion-table-dynamic): Return nil for the metadata.
15352 (completion-table-with-terminator): Add default case, using
15353 complete-with-action.
15354 (completion--metadata): New function.
15355 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15356 to try and avoid pathological performance problems.
15357 (completion--embedded-envvar-table): Return `category' metadata.
15358
bcd54f83
LMI
153592011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15360
15361 * subr.el (process-alive-p): New tiny convenience function.
15362
e227544d
SM
153632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15366 content but also its previous major mode.
15367
e8296fdc
HE
153682011-05-31 Helmut Eller <eller.helmut@gmail.com>
15369
4d61f28d 15370 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15371 *Backtrace* buffer when we exit with C-M-c.
15372
620c53a6
SM
153732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15374
15375 * minibuffer.el: Add metadata method to completion tables.
15376 (completion-category-overrides): New defcustom.
15377 (completion-metadata, completion--field-metadata)
15378 (completion-metadata-get, completion--styles)
15379 (completion--cycle-threshold): New functions.
15380 (completion-try-completion, completion-all-completions):
15381 Add `metadata' argument to choose completion-styles.
15382 (completion--do-completion): Use metadata to choose cycling.
15383 (completion-all-sorted-completions): Use metadata for sorting.
15384 Remove :completion-cycle-penalty which is not needed any more.
15385 (completion--try-word-completion): Add `metadata' argument.
15386 (minibuffer-completion-help): Check metadata for annotation function
15387 and sorting.
15388 (completion-file-name-table): Return `category' metadata.
15389 (minibuffer-completing-file-name): Make obsolete.
15390 * simple.el (minibuffer-completing-symbol): Make obsolete.
15391 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15392 completion-try-completion.
15393
1257e755
SM
153942011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15395
15396 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15397
3767e706
LL
153982011-05-30 Leo Liu <sdl.web@gmail.com>
15399
15400 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15401 (rcirc-print): Decode all incoming messages (bug#8744).
15402 (rcirc-decode-coding-system): Allow value nil for automatic coding
15403 system detection.
3767e706 15404
d1a5d56a
GM
154052011-06-01 Glenn Morris <rgm@gnu.org>
15406
15407 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15408
e8cbec34
CY
154092011-05-29 Chong Yidong <cyd@stupidchicken.com>
15410
15411 * image.el (image-animate-max-time): Allow nil and t values.
15412 Default to nil.
15413 (create-animated-image): Doc fix.
15414 (image-animate-start): Remove second arg; just use
15415 image-animate-max-time.
15416 (image-animate-timeout): Doc fix. Args changed.
15417
15418 * image-mode.el (image-toggle-display-image): Ensure that the
15419 image spec passed to the animate timer is the same object as in
58179cce 15420 the buffer's display property (Bug#6981).
e8cbec34
CY
15421 (image-transform-properties): Doc fix.
15422
15423 * image.el (image-animate-max-time): Default to nil.
15424
159daf87
MR
154252011-05-29 Martin Rudalics <rudalics@gmx.at>
15426
15427 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15428 entire buffer list (Bug#8184).
15429
d66c4c7c
CY
154302011-05-29 Chong Yidong <cyd@stupidchicken.com>
15431
15432 * image.el (imagemagick-types-inhibit)
15433 (imagemagick-register-types): Doc fix.
15434
80aec780
DD
154352011-05-29 Deniz Dogan <deniz@dogan.se>
15436
15437 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15438 default.
15439
1dd3c2d9
CY
154402011-05-29 Chong Yidong <cyd@stupidchicken.com>
15441
15442 * select.el: Don't perform clipboard-manager saving in hooks;
15443 leave the hooks empty.
15444
60e56523
LL
154452011-05-28 Leo Liu <sdl.web@gmail.com>
15446
15447 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15448 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15449 (occur-edit-mode): New major mode (Bug#8463).
15450 (occur-after-change-function): New function.
15451 (occur-engine): Give Occur tags a read-only property.
15452
2b1e1a22
KR
154532011-05-28 Kevin Ryde <user42@zip.com.au>
15454
15455 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15456
5d344e88
CY
154572011-05-28 Chong Yidong <cyd@stupidchicken.com>
15458
8e6ca83d
CY
15459 * bindings.el (help-echo): Make the initial non-indicator dash
15460 empty on graphical terminals (Bug#7295).
15461
5d344e88
CY
15462 * files.el (auto-mode-alist): Move config rule after the
15463 in-stripping one (Bug#8547).
15464
bfbbace7
CY
15465 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15466
fbeba6e2
CY
15467 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15468 setting (Bug#8740).
15469
60ed8c72
AA
154702011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15471
4ac619f0
AA
15472 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15473 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15474 (Bug#8539).
60ed8c72 15475
23db196e
CY
154762011-05-28 Chong Yidong <cyd@stupidchicken.com>
15477
15478 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15479
5012f24c
DK
154802011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15481
15482 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15483 (hs-hide-block-at-point, hs-find-block-beginning)
15484 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15485 (Bug#8279).
15486
6a639b16
GM
154872011-05-28 Glenn Morris <rgm@gnu.org>
15488
15489 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15490
d43eaf2c
CY
154912011-05-28 Chong Yidong <cyd@stupidchicken.com>
15492
5199bde1
CY
15493 * help-fns.el (describe-function-1): If the function is a derived
15494 major mode, print the parent mode.
15495
d43eaf2c
CY
15496 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15497 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15498
423428a8
SM
154992011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15500
0ff8e1ba 15501 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15502 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15503 * progmodes/etags.el (tags-completion-at-point-function):
15504 * info-look.el (info-lookup-completions-at-point): Mark as
15505 non-exclusive.
15506 (info-complete): Adjust accordingly.
15507
423428a8
SM
15508 * info-look.el: Convert to lexical-binding and completion-at-point.
15509 (info-lookup-completions-at-point): New function.
15510 (info-complete): Use it and completion-in-region.
15511
b74aa22b
DA
155122011-05-28 Drew Adams <drew.adams@oracle.com>
15513
15514 * isearch.el: Let M-e start with point at the first mismatched char.
15515 (isearch-fail-pos): New function.
15516 (isearch-edit-string): Use it.
15517
66e2e71d
DK
155182011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15519
15520 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15521
b1890b0f 155222011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15523
15524 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15525 traversal functions for avl-trees.
15526 (avl-tree--stack): New struct.
15527 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15528 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15529 (avl-tree--do-enter): Add optional `updatefun' arg.
15530 Change return value.
eb95d01d 15531 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15532 (avl-tree--do-delete): Add `test' and `nilflag' args.
15533 Change return value.
eb95d01d
TC
15534 (avl-tree-member): Add optional `nilflag'
15535 (avl-tree-member-p): New function.
15536 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15537 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15538 (avl-tree-stack-empty-p): New functions.
15539
3769ddcf
TC
15540 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15541 avl-tree--del-balance1 and make it work both ways.
15542 (avl-tree--del-balance2): Remove.
15543 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15544 make it work both ways.
15545 (avl-tree--enter-balance2): Remove.
15546 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15547 New macros.
15548 (avl-tree--mapc, avl-tree-map): Add direction argument.
15549
eb95d01d 155502011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15551
15552 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15553
a9f737ee
CY
155542011-05-27 Chong Yidong <cyd@stupidchicken.com>
15555
15556 * select.el: Support clipboard managers with built-in function
15557 x-clipboard-manager-save, via delete-frame-functions and
15558 kill-emacs-hook.
15559 (xselect-convert-to-targets): Add MULTIPLE target to list.
15560 (xselect-convert-to-save-targets): New function.
15561
c92a1e54
KH
155622011-05-27 Kenichi Handa <handa@m17n.org>
15563
15564 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15565 let-binding rfc2047-encode-encoded-words to nil.
15566
e145f188
GM
155672011-05-27 Glenn Morris <rgm@gnu.org>
15568
5ec8a862
GM
15569 * mail/emacsbug.el: Don't require url-util.
15570
4b29d9fb
GM
15571 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15572
e145f188
GM
15573 * files.el (set-auto-mode):
15574 Also respect mode: entries at the end of the file. (Bug#8586)
15575
7d15102b
GM
155762011-05-26 Glenn Morris <rgm@gnu.org>
15577
98f593b8
GM
15578 * files.el (hack-local-variables-prop-line, hack-local-variables):
15579 Downcase mode names, as seems to be traditional.
27b48e63 15580 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15581
7d15102b
GM
15582 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15583 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15584
51d5b4ec
JD
155852011-05-25 Julien Danjou <julien@danjou.info>
15586
15587 * textmodes/rst.el (rst-define-level-faces): Do not define face
15588 symbol if it is already defined.
15589
91513f63
VB
155902011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15591
15592 * play/5x5.el (5x5-new-game, 5x5-randomize):
15593 Reset 5x5-solver-output to nil when a new grid is cast.
15594 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15595 these debugging traces, as defmacro breaks the compiled code.
15596
4d90d6d0
DK
155972011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15598
15599 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15600
e1b90ef6
LL
156012011-05-24 Leo Liu <sdl.web@gmail.com>
15602
15603 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15604 (vc-bzr-sha1): Adapt.
15605
d8e4b68b 15606 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15607
15608 * bindings.el: Provide sha1 feature.
15609
db0406bb 156102011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15611
15612 * mail/sendmail.el: Require `rfc2047'.
15613 (mail-insert-from-field): Do not perform RFC2047 encoding.
15614 (mail-encode-header): New function.
15615 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15616 buffer to the return value of select-message-coding-system.
15617 Call mail-encode-header.
b8d747b9
KH
15618
15619 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15620
db0406bb 156212011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15622
4d90d6d0
DK
15623 * mail/supercite.el (sc-default-cite-frame):
15624 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15625
eb8a5e9b
GM
156262011-05-24 Glenn Morris <rgm@gnu.org>
15627
f8630703
GM
15628 * progmodes/python.el (brm-menu): Declare.
15629
8831bbed
GM
15630 * emulation/viper.el (viper-set-hooks): Declare.
15631
eb8a5e9b
GM
15632 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15633 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15634 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15635 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15636 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15637 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15638
a2a25d24
SM
156392011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15640
15641 Add an :exit-function for completion-at-point.
15642
15643 * minibuffer.el (completion--done): New fun.
15644 (completion--do-completion): Use it. New arg `expect-exact'.
15645 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15646 since completion--do-completion does it for us now.
15647 (minibuffer-force-complete): Use completion--done and
15648 completion--replace. Handle sole-completion case with more care.
15649 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15650 (completion-extra-properties): New var.
15651 (completion-annotate-function): Make obsolete.
15652 (minibuffer-completion-help): Adjust accordingly.
15653 Use completion-list-insert-choice-function.
15654 (completion-at-point, completion-help-at-point):
15655 Bind completion-extra-properties.
15656 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15657 * simple.el (completion-list-insert-choice-function): New var.
15658 (completion-setup-function): Preserve it.
15659 (choose-completion): Pay attention to it, shuffle the code a bit.
15660 (choose-completion-string): New arg `insert-function'.
15661
15662 * textmodes/bibtex.el: Convert to lexical binding.
15663 (bibtex-mode-map): Use completion-at-point.
15664 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15665 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15666 (bibtex-complete): Define as obsolete alias.
15667 (bibtex-complete-internal): Remove.
15668 (bibtex-format-entry): Remove unused sub-group in regexp.
15669 * shell.el (shell--command-completion-data)
15670 (shell-environment-variable-completion):
15671 * pcomplete.el (pcomplete-completions-at-point):
15672 * comint.el (comint--complete-file-name-data): Use :exit-function
15673 instead of completion-table-with-terminator so it also works for
15674 choose-completion.
15675
e44e373d
SM
156762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15677
4f91a816
SM
15678 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15679
782fc819
SM
15680 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15681 (bug#8710).
15682
e44e373d
SM
15683 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15684
381987c3
KM
156852011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15686
15687 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15688 customization variable and implement: If non-nil, auto-fill will
15689 be inhibited while on topic's header line.
15690
b776bc70
VB
156912011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15692
15693 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15694 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15695 always have a solution in grid size = 5 cases.
15696 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15697 (5x5-solver-output, 5x5-log-buffer): New vars.
15698 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15699 Make these variables buffer local to achieve 5x5 multi-session-ness.
15700 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15701 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15702 (5x5-solve-suggest): New funs.
15703 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15704 randomize a grid so that we ensure that there is always a solution.
15705 (5x5-make-random-grid): Allow other movement than flipping.
15706
7de88b6e
KR
157072011-05-23 Kevin Ryde <user42@zip.com.au>
15708
15709 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15710 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15711 advice and passes PREDICATE.
15712
b1ef1257
SM
157132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15714
bbca48fe
SM
15715 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15716 byte-compile-lambda if it's actually a lambda.
15717
b1ef1257
SM
15718 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15719 Fix function quoting. Use backquote better.
15720
92a9cc65
YS
157212011-05-22 Yuanle Song <sylecn@gmail.com>
15722
15723 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15724 matching (Bug#8516).
15725
f0fb8059
JA
157262011-01-22 Jari Aalto <jari.aalto@cante.net>
15727
15728 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15729 different face (Bug#8178).
15730
d5b44c93
CY
157312011-05-22 Chong Yidong <cyd@stupidchicken.com>
15732
15733 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15734 defface (Bug#8144).
15735
79106a44
SM
157362011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15737
9c848d8a
SM
15738 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15739 funcall as well (bug#8712). Warn when performing those conversions.
15740 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15741
79106a44
SM
15742 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15743
88dfa756
GM
157442011-05-22 Glenn Morris <rgm@gnu.org>
15745
15746 * files.el (hack-local-variables-prop-line): Small simplifications.
15747 (hack-local-variables, hack-local-variables-prop-line):
15748 If MODE-ONLY, return the mode, rather than just `t'.
15749
b7cf2c79
SM
157502011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15753
3f1a8558
GM
157542011-05-21 Glenn Morris <rgm@gnu.org>
15755
7e4ccca3
GM
15756 * files.el (hack-local-variables-prop-line, hack-local-variables):
15757 If only interested in the mode, don't bother doing the other stuff.
15758
637d46ca
GM
15759 * image-mode.el (image-after-revert-hook):
15760 Redraw all frames on which the image is visible. (Bug#8567)
15761
973d955b
GM
15762 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15763
3f1a8558
GM
15764 * wid-edit.el (widget-checklist-match-inline):
15765 Fix 2011-04-19 change. (Bug#8649)
15766
96479927
SM
157672011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15768
1dcf791f
SM
15769 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15770 Also allow singlespace after single-letter capitals followed by a dot.
15771
96479927
SM
15772 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15773 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15774
35fd0881
N
157752011-05-20 Nix <nix@esperi.org.uk>
15776
15777 * files.el (basic-save-buffer-2):
15778 Fix handling of break-hardlink-on-save with non-existent files.
15779
82745640
DD
157802011-05-19 Deniz Dogan <deniz@dogan.se>
15781
15782 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15783 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15784
4a720484
GM
157852011-05-19 Glenn Morris <rgm@gnu.org>
15786
d1f21341
GM
15787 * progmodes/f90.el (f90-type-def-re):
15788 Handle "type, bind(c)". (Bug#8691)
15789
4a720484
GM
15790 * emacs-lisp/autoload.el (batch-update-autoloads):
15791 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15792
2fb0a219
MA
157932011-05-18 Michael Albinus <michael.albinus@gmx.de>
15794
15795 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15796 property for the correct connection in case of multihops.
15797
e565dd37
GM
157982011-05-18 Glenn Morris <rgm@gnu.org>
15799
c2571358 15800 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15801 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15802
e565dd37
GM
15803 Rationalize calendar handling of day and month abbrev-arrays.
15804 * calendar/calendar.el (calendar-customized-p): New function.
15805 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15806 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15807 Add :set function.
15808 (calendar-abbrev-length, calendar-day-abbrev-array)
15809 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15810 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15811 Elements may no longer be nil.
15812 (calendar-day-name, calendar-month-name):
15813 Update for changed nature of abbrev arrays.
15814 * calendar/diary-lib.el (diary-name-pattern):
15815 Update for changed nature of abbrev arrays.
15816 (diary-mark-entries-1): Update calendar-make-alist calls.
15817 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15818 * calendar/cal-html.el (cal-html-day-abbrev-array):
15819 Simply inherit from calendar-day-abbrev-array.
15820
1d99a745
SM
158212011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 * progmodes/grep.el (grep-mode): Disable default
15824 compilation-directory-matcher setting (bug#8684).
15825
7c1d9aa0
MA
158262011-05-17 Michael Albinus <michael.albinus@gmx.de>
15827
15828 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15829 instead of "head" and "tail". There were problems with SunOS 5.9,
15830 and it performs better.
15831
3952e9d8
GM
158322011-05-17 Glenn Morris <rgm@gnu.org>
15833
2dd12e7f
GM
15834 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15835
e4157b9c
GM
15836 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15837 Replace obsolete function.
15838
8e249bbd
GM
15839 * shell.el (pcomplete-parse-arguments-function): Declare.
15840
3952e9d8
GM
15841 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15842 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15843 (appt-check): Doc fixes.
15844 (appt-disp-window-function, appt-delete-window-function):
15845 Remove needless special case in custom :type.
15846 (appt-display-count): Default to 0, not nil.
15847 (appt-check): Reset appt-display-count to 0, not nil.
15848
c71a0d48 158492011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15850
c71a0d48
GM
15851 * progmodes/python.el (python-font-lock-keywords):
15852 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15853
31d55be9
SM
158542011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15855
15856 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15857
3bfacb2f
KR
158582011-05-16 Kevin Ryde <user42@zip.com.au>
15859
15860 * info-look.el (makefile-automake-mode): New setups, looking in
15861 automake manual, then makefile-mode.
15862 (makefile-mode): Remove automake manual, have it just in
15863 makefile-automake-mode since there's various things different or
15864 not relevant to plain make.
15865 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15866 believe a hypothetical automake-mode would go to makefile-mode,
15867 not the other way around.
15868
c8e83751
CY
158692011-05-15 Chong Yidong <cyd@stupidchicken.com>
15870
5e9e35cd
CY
15871 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15872 hunk-end tags (Bug#8672).
15873
c8e83751
CY
15874 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15875 vc-annotate-show-diff-revision-at-line (Bug#8671).
15876
50b23e5a
GM
158772011-05-14 Glenn Morris <rgm@gnu.org>
15878
7210a739
GM
15879 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15880 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15881 (change-log-font-lock-keywords): Also handle multiple author lines
15882 with leading tabs. (Bug#8644)
7210a739 15883
4691905a
GM
15884 * calendar/appt.el (appt-check): Rename some local variables.
15885 Some simplification/reordering.
15886
50b23e5a
GM
15887 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15888 (feedmail-sendmail-f-doesnt-sell-me-out)
15889 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15890 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15891 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15892 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15893 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15894 (feedmail-binmail-gnulinuxish-template):
15895 Rename from feedmail-binmail-linuxish-template.
15896 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15897 Use insert-buffer-substring.
15898
215cda7c
BC
158992011-05-14 Bill Carpenter <bill@carpenter.org>
15900
15901 * mail/feedmail.el (feedmail-patch-level): Increase.
15902 (feedmail-debug): New custom group.
15903 (feedmail-confirm-outgoing-timeout)
15904 (feedmail-sendmail-f-doesnt-sell-me-out)
15905 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15906 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15907 (feedmail-sender-line, feedmail-from-line)
15908 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15909 (feedmail-spray-this-address)
215cda7c
BC
15910 (feedmail-spray-address-fiddle-plex-list)
15911 (feedmail-queue-use-send-time-for-date)
15912 (feedmail-queue-use-send-time-for-message-id)
15913 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15914 (feedmail-buffer-eating-function):
15915 Doc fixes.
15916 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15917 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15918 (feedmail-message-action-scroll-down): New functions.
15919 (feedmail-queue-directory, feedmail-queue-draft-directory):
15920 Use expand-file-name.
15921 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15922 Remove C-v help entry.
15923 (feedmail-queue-buffer-file-name): New variable.
15924 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15925 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15926 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15927 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15928 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15929 (feedmail-message-action-toggle-spray)
15930 (feedmail-run-the-queue-no-prompts)
15931 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15932 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15933 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15934 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15935 (feedmail-envelope-deducer, feedmail-fiddle-from)
15936 (feedmail-fiddle-sender, feedmail-default-date-generator)
15937 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15938 (feedmail-fiddle-spray-address)
15939 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15940 (feedmail-fiddle-list-of-fiddle-plexes)
15941 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15942 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15943 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15944 Change default. Doc fix.
15945 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15946 (feedmail-binmail-linuxish-template): New constant.
15947 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15948 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15949 (feedmail-send-it): Add debug call.
15950 Use feedmail-queue-buffer-file-name, and
15951 feedmail-send-it-immediately-wrapper.
15952 (feedmail-message-action-send): Add debug call.
15953 Use feedmail-send-it-immediately-wrapper.
15954 (feedmail-queue-express-to-queue): Add debug call.
15955 Run feedmail-queue-express-hook.
15956 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15957 (feedmail-message-action-help-blat):
15958 Rename from feedmail-queue-send-edit-prompt-help-first.
15959 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15960 Check line-endings. Handle errors better.
15961 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15962 Doc fix. Add debug call.
15963 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15964 Use feedmail-queue-send-edit-prompt-inner.
15965 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15966 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15967 from feedmail-queue-send-edit-prompt.
15968 (feedmail-queue-send-edit-prompt-help)
15969 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15970 (feedmail-tidy-up-slug): Add debug call.
15971 Respect feedmail-queue-slug-suspect-regexp.
15972 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15973 (feedmail-dump-message-to-queue): Add debug call.
15974 Expand queue-directory.
15975 (feedmail-dump-message-to-queue): Change message slightly.
15976 Use feedmail-say-chatter.
15977 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15978 (feedmail-send-it-immediately-wrapper): New function.
15979 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15980 Insert empty string rather than newline. Handle full-frame case.
15981 Use catch/throw. Use feedmail-say-chatter.
15982 (feedmail-fiddle-from): Try mail-host-address.
15983 (feedmail-default-message-id-generator): Doc fix.
15984 Bind system-time-locale. Handle missing end.
15985 (feedmail-fiddle-x-mailer): Add debug call.
15986 Handle feedmail-x-mailer-line being nil.
15987 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15988 Add debug call. Use buffer-substring-no-properties.
15989 (feedmail-say-debug, feedmail-say-chatter): New functions.
15990 (feedmail-find-eoh): Give an explicit error.
15991
42c7e61e
UJ
159922011-05-13 Ulf Jasper <ulf.jasper@web.de>
15993
c2571358 15994 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15995 family from helvetica to sans.
c2571358 15996 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15997 etc/images/newsticker.
15998
c2571358 15999 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16000 family from helvetica to sans.
16001
16002 * net/newst-plainview.el (newsticker-new-item-face)
16003 (newsticker-old-item-face, newsticker-immortal-item-face)
16004 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16005 (newsticker-statistics-face): Change default family from
42c7e61e 16006 helvetica to sans.
c2571358 16007 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16008 etc/images/newsticker.
16009
5d3385a0
JB
16010 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16011 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16012 auto-marking.
16013
8497a297
DV
160142011-05-13 Didier Verna <didier@xemacs.org>
16015
16016 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16017 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16018 TODO entries.
8497a297
DV
16019 (lisp-lambda-list-keyword-parameter-indentation)
16020 (lisp-lambda-list-keyword-parameter-alignment)
16021 (lisp-lambda-list-keyword-alignment): New customizable user options.
16022 (lisp-indent-defun-method): Improve docstring.
16023 (extended-loop-p): Fix comment.
16024 (lisp-indent-lambda-list-keywords-regexp): New variable.
16025 (lisp-indent-lambda-list): New function.
16026 (lisp-indent-259): Use it.
16027 (lisp-indent-defmethod): Support for more than one
16028 method qualifier and properly indent methods lambda-lists.
16029 (defgeneric): Provide a missing common-lisp-indent-function property.
16030
f278f87f
SM
160312011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16032
16033 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16034 bounds for the empty string (bug#8667).
16035
5233edd7
GM
160362011-05-13 Glenn Morris <rgm@gnu.org>
16037
5237a44f
GM
16038 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16039
8340026c 16040 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16041 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16042
5233edd7 16043 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16044 (appt-time-msg-list): Doc fix.
a5464014 16045 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16046
92d10796
AS
160472011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16048
16049 * progmodes/ld-script.el (ld-script-keywords)
16050 (ld-script-builtins): Update keywords list.
16051
914a0ae1
SM
160522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16053
c89be45f
SM
16054 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16055
914a0ae1
SM
16056 * shell.el (shell-completion-vars): New function.
16057 (shell-mode):
16058 * simple.el (read-shell-command): Use it.
16059 (blink-matching-open): No need for " [...]" in minibuffer-message.
16060
98dc3df3
GM
160612011-05-12 Glenn Morris <rgm@gnu.org>
16062
16063 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16064 (appt-check): Simplify.
16065
d2fc7e3d 160662011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16067
4d61f28d 16068 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16069 literal "/dev/null".
16070
d2fc7e3d 160712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16072
16073 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16074 Fix typo.
16075
d2fc7e3d 160762011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16077
3f254caa
SM
16078 * progmodes/which-func.el (which-function):
16079 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16080 which might not be defined (Bug#8260).
16081
d45885f7
GM
160822011-05-12 Glenn Morris <rgm@gnu.org>
16083
16084 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16085 Let byte-compile-initial-macro-environment always take precedence.
16086
488086f4
SM
160872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * net/rcirc.el: Add support for SSL/TLS connections.
16090 (rcirc-server-alist): New field `encryption'.
16091 (rcirc): Check `encryption' settings.
16092 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16093 Merge make-local-variable into `set'.
16094 (rcirc--connection-open-p): New function.
16095 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16096 the process is not a network process (e.g. running gnutls-cli).
16097 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16098 Make rcirc-(en|de)code-coding-system local here.
16099 (rcirc-mode): Merge make-local-variable into `set'.
16100 (rcirc-parent-buffer): Make permanent buffer-local.
16101 (rcirc-multiline-minor-mode): Don't do it here.
16102 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16103 there's no server buffer.
16104
7d3b9d44
GM
161052011-05-11 Glenn Morris <rgm@gnu.org>
16106
f64049c6
GM
16107 * newcomment.el (comment-kill): Prefix "unused" local.
16108
93c9df73
GM
16109 * term/w32console.el (get-screen-color): Declare.
16110
7d3b9d44
GM
16111 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16112 Handle symbol elements of byte-compile-initial-macro-environment.
16113
9e2dd53f
LL
161142011-05-10 Leo Liu <sdl.web@gmail.com>
16115
488086f4
SM
16116 * bookmark.el (bookmark-bmenu-mode-map):
16117 Bind bookmark-bmenu-search to `/'.
8b340240 16118
9e2dd53f 16119 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16120 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16121 (Footnote-unicode): New function.
16122 (footnote-style-alist): Add unicode style to the list.
16123 (footnote-style): Doc fix.
9e2dd53f 16124
79b70037
GM
161252011-05-10 Jim Meyering <meyering@redhat.com>
16126
16127 Fix doubled-word typos.
16128 * international/quail.el (quail-insert-kbd-layout): and and -> and
16129 * kermit.el: and and -> and
16130 * net/ldap.el (ldap-search-internal): to to -> to
16131 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16132 * progmodes/js.el (js-mode): and and -> and
16133 * textmodes/artist.el (artist-move-to-xy): at at -> at
16134 (artist-draw-region-trim-line-endings): if if -> if
16135 And Safetyc -> Safety.
16136 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16137
b8f82dc1 161382011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16139 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16140
16141 * files.el (hack-one-local-variable-eval-safep):
16142 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16143
4f99f44b
GM
161442011-05-10 Glenn Morris <rgm@gnu.org>
16145
16146 * calendar/diary-lib.el (diary-list-entries-hook)
16147 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16148 (diary-nongregorian-marking-hook, diary-list-entries)
16149 (diary-include-other-diary-files, diary-mark-entries)
16150 (diary-mark-included-diary-files): Doc fixes.
16151
84f29e6b
JB
161522011-05-09 Juanma Barranquero <lekktu@gmail.com>
16153
16154 * misc.el: Require tabulated-list.el during compilation.
16155
9bedd73a
CY
161562011-05-09 Chong Yidong <cyd@stupidchicken.com>
16157
488086f4
SM
16158 * progmodes/compile.el (compilation-start):
16159 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16160 (compilation-filter-hook): Doc fix.
16161
797c735c
DD
161622011-05-09 Deniz Dogan <deniz@dogan.se>
16163
16164 * wdired.el: Remove outdated installation comment. Fix usage
16165 comment.
16166
5f4b1dfe
JB
161672011-05-09 Juanma Barranquero <lekktu@gmail.com>
16168
16169 * misc.el: Implement new command `list-dynamic-libraries'.
16170 (list-dynamic-libraries--loaded-only-p): New variable.
16171 (list-dynamic-libraries--refresh): New function.
16172 (list-dynamic-libraries): New command.
16173
4c44026c
CY
161742011-05-09 Chong Yidong <cyd@stupidchicken.com>
16175
488086f4
SM
16176 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16177 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16178 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16179 higher priority to avoid clobbering by gnu.
16180
027f966d
CY
161812011-05-08 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16184 if the face has existing theme settings (Bug#8454).
16185
085f5d7d
CY
161862011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16187
488086f4
SM
16188 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16189 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16190
2a86a00c
RS
16191 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16192 special file names `.' and `..' (Bug#8259).
16193
d9c54a06
CY
161942011-05-08 Chong Yidong <cyd@stupidchicken.com>
16195
488086f4
SM
16196 * progmodes/grep.el (grep-mode-font-lock-keywords):
16197 Remove buffer-changing entries.
d9c54a06
CY
16198 (grep-filter): New function.
16199 (grep-mode): Add it to compilation-filter-hook.
16200
16201 * progmodes/compile.el (compilation-filter-hook)
16202 (compilation-filter-start): New defvars.
16203 (compilation-filter): Call compilation-filter-hook prior to
16204 updating the process mark.
16205
c4662635
SM
162062011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16207
16208 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16209
b0512a1d
EZ
162102011-05-07 Eli Zaretskii <eliz@gnu.org>
16211
605c9376
EZ
16212 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16213 mailclient-send-it even if window-system is nil. (Bug#8595)
16214
c4662635
SM
16215 * term/w32console.el (terminal-init-w32console):
16216 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16217 background-mode. (Bug#8597)
16218
d1dc2cc2
SM
162192011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16220
16221 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16222 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16223 New functions.
16224 (defgeneric, eieio--defmethod): Use them.
16225 (eieio-defgeneric): Remove.
16226 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16227
915d1300
GM
162282011-05-07 Glenn Morris <rgm@gnu.org>
16229
a3961c3e
GM
16230 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16231 Use let rather than let*.
16232 (timeclock-find-discrep): Remove unused local.
16233
314347b9
GM
16234 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16235
915d1300
GM
16236 * calendar/appt.el (appt-time-msg-list): Doc fix.
16237
275b59b0
NF
162382011-05-06 Noah Friedman <friedman@splode.com>
16239
16240 * apropos.el (apropos-print-doc): Only use
16241 emacs-lisp-docstring-fill-column when it is bound to an integer,
16242 per that variable's documentation.
16243
6c19f744
SM
162442011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16247 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16248
60f884b2
GM
162492011-05-06 Glenn Morris <rgm@gnu.org>
16250
5006e634
GM
16251 * calendar/appt.el (appt-message-warning-time): Doc fix.
16252 (appt-warning-time-regexp): New option.
16253 (appt-make-list): Respect appt-message-warning-time.
16254
548d0a63
GM
16255 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16256 New options.
16257 (diary-add-to-list): Strip comments from the displayed string.
16258 (diary-mode): Set comment-start and comment-end.
16259
60f884b2
GM
16260 * vc/diff-mode.el (smerge-refine-subst): Declare.
16261 (diff-refine-hunk): Don't require smerge-mode when compiling.
16262
989681bb
JB
162632011-05-06 Juanma Barranquero <lekktu@gmail.com>
16264
16265 * simple.el (list-processes): Return nil as the docstring says.
16266
a6bc05e1
MA
162672011-05-05 Michael Albinus <michael.albinus@gmx.de>
16268
16269 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16270 to "".
16271 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16272 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16273 determining of binary transfer. (Bug#7383)
16274
23c22e9a
MA
162752011-05-05 Michael Albinus <michael.albinus@gmx.de>
16276
c4662635
SM
16277 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16278 Fix port computation bug. (Bug#8618)
23c22e9a 16279
0bff894f
GM
162802011-05-05 Glenn Morris <rgm@gnu.org>
16281
b8296902
GM
16282 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16283
1f522ce8
GM
16284 * simple.el (shell-dynamic-complete-functions)
16285 (comint-dynamic-complete-functions): Declare.
16286
cf5bee67
GM
16287 * net/network-stream.el (gnutls-negotiate):
16288 * simple.el (tabulated-list-print): Fix declarations.
16289
16290 * progmodes/gud.el (syntax-symbol, syntax-point):
16291 Remove unnecessary and incorrect declarations.
16292
0bff894f
GM
16293 * emacs-lisp/check-declare.el (check-declare-scan):
16294 Handle byte-compile-initial-macro-environment in bytecomp.el
16295
9869b3ae
SM
162962011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16297
16298 Fix earlier half-done eieio-defmethod change (bug#8338).
16299 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16300 Streamline and change calling convention.
16301 (defmethod): Adjust accordingly and simplify.
16302 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16303 new eieio--defmethod.
16304 (slot-boundp): Minor CSE simplification.
16305
9c1d5ac5
MZ
163062011-05-05 Milan Zamazal <pdm@zamazal.org>
16307
16308 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16309 (glasses-make-readable): Use glasses-separate-capital-groups.
16310
455c834e
JB
163112011-05-05 Juanma Barranquero <lekktu@gmail.com>
16312
16313 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16314 (warning-series): Doc fix.
16315 (display-warning): Don't try to create the buffer if we just found it.
16316
9ed7c8cb
CY
163172011-05-04 Chong Yidong <cyd@stupidchicken.com>
16318
16319 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16320 (autoload-find-generated-file): New function.
16321 (generate-file-autoloads): Bind generated-autoload-file to
16322 buffer-file-name.
9869b3ae
SM
16323 (update-file-autoloads, update-directory-autoloads):
16324 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16325 output file (Bug#7989).
16326 (batch-update-autoloads): Doc fix.
16327
0898ca10
JB
163282011-05-04 Juanma Barranquero <lekktu@gmail.com>
16329
16330 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16331
31dfb76c
GM
163322011-05-04 Glenn Morris <rgm@gnu.org>
16333
f330b642
GM
16334 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16335 function, so it follows changes in calendar-date-style.
16336 (diary-fancy-date-matcher): New function.
16337 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16338 (diary-fancy-font-lock-fontify-region-function):
16339 Use diary-fancy-date-pattern as a function.
16340
31dfb76c
GM
16341 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16342 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16343
48e79d6a
TZ
163442011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16345
16346 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16347 instead of positional arguments. Allow :keylist and :crlfiles
16348 arguments.
16349 (open-gnutls-stream): Call it.
16350
16351 * net/network-stream.el (network-stream-open-starttls): Adjust to
16352 call `gnutls-negotiate' with :process and :hostname arguments.
16353
dd5a5ee0
SM
163542011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16355
ef80fc09
SM
16356 * minibuffer.el (completion--message): New function.
16357 (completion--do-completion, minibuffer-complete)
16358 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16359 (completion--do-completion): Don't ignore completion-auto-help when in
16360 icomplete-mode.
16361
dd5a5ee0
SM
16362 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16363 internal encoding (e.g. tibetan zero is not whitespace).
16364 (global-whitespace-mode): Prefer save-current-buffer.
16365 (whitespace-trailing-regexp): Remove useless save-match-data.
16366 (whitespace-empty-at-bob-regexp): Minor simplification.
16367
b7d22a83
CY
163682011-05-03 Chong Yidong <cyd@stupidchicken.com>
16369
16370 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16371
5192af46
AM
163722011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16373
16374 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16375 Use `concat' to create string for insertion.
5192af46 16376
5767d190
SM
163772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16378
16379 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16380 Avoid open-line which runs post-self-insert-hook.
16381 (bibtex-fill-entry): Remove unused `end' var.
16382
bf242939
AM
163832011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16384
5767d190
SM
16385 * textmodes/ispell.el (ispell-add-per-file-word-list):
16386 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16387
25666126
LL
163882011-05-03 Leo Liu <sdl.web@gmail.com>
16389
16390 * isearch.el (isearch-yank-pop): New command.
5767d190 16391 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16392 (isearch-forward): Mention it.
16393
52d3c2d0
SM
163942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16395
1bcace58
SM
16396 * simple.el (minibuffer-complete-shell-command): Remove.
16397 (minibuffer-local-shell-command-map): Use completion-at-point.
16398 (read-shell-command): Setup completion vars here instead.
16399 (read-expression-map): Bind TAB to symbol completion.
16400
52d3c2d0
SM
16401 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16402 error directly rather via storing it into `results'.
16403
35813471
LL
164042011-05-02 Leo Liu <sdl.web@gmail.com>
16405
16406 * vc/diff.el: Fix description.
16407
e793a940
LMI
164082011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16409
16410 * server.el (server-eval-at): New function.
16411
8de66e05
LMI
164122011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16413
16414 * net/network-stream.el (open-network-stream): Take a :nowait
16415 parameter and pass it on to `make-network-process'.
16416 (network-stream-open-plain): Ditto.
16417
dcb79f20
AS
164182011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16419
16420 * faces.el (face-spec-set-match-display): Don't match toolkit
16421 options on terminal frames.
16422
14a7fbd8
SM
164232011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16424
7eabc1be
SM
16425 * progmodes/pascal.el: Use lexical binding.
16426 (pascal-mode-map): Remove author preferences.
16427
14a7fbd8
SM
16428 * pcomplete.el (pcomplete-std-complete): Don't abuse
16429 completion-at-point.
16430
50f84510
JB
164312011-04-28 Juanma Barranquero <lekktu@gmail.com>
16432
6e087a44
JB
16433 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16434 removing code that has been dead since 1991 or so.
16435
50f84510
JB
16436 * startup.el (command-line): When warning about "_emacs", use a
16437 delayed warning to allow the user to filter it out.
16438
0ba690bd
DD
164392011-04-28 Deniz Dogan <deniz@dogan.se>
16440
16441 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16442 user has not joined.
16443
08abfaad
SM
164442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16447 aren't any completions at point.
16448
638f053a
JB
164492011-04-28 Juanma Barranquero <lekktu@gmail.com>
16450
16451 * subr.el (display-delayed-warnings): New function.
16452 (delayed-warnings-hook): New variable.
16453
8fff8daa
SM
164542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16455
08abfaad
SM
16456 * minibuffer.el (completion-at-point, completion-help-at-point):
16457 Don't presume that a given completion-at-point-function will always
16458 use the same calling convention.
16459
8fff8daa
SM
16460 * pcomplete.el (pcomplete-completions-at-point):
16461 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16462 pcomplete-seen is non-nil.
16463 (pcomplete-comint-setup): Also recognize the new comint/shell
16464 completion functions.
16465 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16466 pcomplete-seen is non-nil.
16467
841a1577 164682011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16469
841a1577 16470 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16471 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16472 the first character in the entry. This allows for code to add its
211ec907
UJ
16473 own uid to the entry.
16474 (icalendar--convert-float-to-ical): Add export of
16475 `diary-float'-entries save for those with the optional DAY
16476 argument.
16477
2a782793
DC
164782011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16479
16480 * subr.el (shell-quote-argument): Use alternate escaping strategy
16481 when we spot a variable reference in a string.
16482
0438ce91
DC
164832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16484
16485 * cus-start.el (all): Define customization for debug-on-event.
16486
841a1577 164872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16488
16489 * subr.el (shell-quote-argument): Escape correctly under Windows.
16490
d090ed6c
SM
164912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16492
16493 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16494
bfd31217
MA
164952011-04-25 Michael Albinus <michael.albinus@gmx.de>
16496
d090ed6c
SM
16497 * net/tramp.el (tramp-process-actions): Add POS argument.
16498 Delete region between POS and (pos).
bfd31217 16499
d090ed6c
SM
16500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16501 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16502 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16503
16504 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16505 position in `tramp-process-actions' call.
16506
16507 * net/trampver.el: Update release number.
16508
e92f3bd3
SM
165092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16510
850256b5
SM
16511 * custom.el (defcustom): Obey lexical-binding.
16512
e92f3bd3
SM
16513 Fix octave-inf completion problems reported by Alexander Klimov.
16514 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16515 Inherit from octave-mode-syntax-table.
16516 (inferior-octave-mode): Set info-lookup-mode.
16517 (inferior-octave-completion-at-point): New function.
16518 (inferior-octave-complete): Use it and completion-in-region.
16519 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16520 comint-filename-completion.
16521 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16522 symbol elements which shouldn't be word elements.
16523 (octave-font-lock-keywords, octave-beginning-of-defun)
16524 (octave-function-header-regexp): Adjust regexps accordingly.
16525 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16526
cd22b309
JB
165272011-04-25 Juanma Barranquero <lekktu@gmail.com>
16528
16529 * net/gnutls.el (gnutls-errorp): Declare before first use.
16530
8b492194
TZ
165312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16532
16533 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16534 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16535 default trustfile exists before going to use it. Add missing
5a5fa834 16536 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16537 Reported by Claudio Bley <claudio.bley@gmail.com>.
16538 (open-gnutls-stream): Add usage example.
16539
16540 * net/network-stream.el (network-stream-open-starttls): Give host
16541 parameter to `gnutls-negotiate'.
16542 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16543 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16544
841a1577 165452011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16546
cd22b309
JB
16547 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16548 Use correct match group (bug#8438).
05842630 16549
3ba7869c
CY
165502011-04-24 Chong Yidong <cyd@stupidchicken.com>
16551
512e3ae1
CY
16552 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16553 (package-menu--generate): New arg specifying packages to show.
16554 (package-menu-refresh, package-menu-execute, list-packages):
16555 Callers changed.
16556 (package-show-package-list): New function, replacing deleted
16557 package--list-packages (renamed because it is non-internal).
16558
16559 * finder.el (finder-list-matches): Use package-show-package-list
16560 instead of deleted package--list-packages.
16561
e92f3bd3
SM
16562 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16563 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16564 (vc-annotate-mode-map): Bind it to RET.
16565
7031be6d
UR
165662011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16567
16568 * progmodes/etags.el (next-file): Don't use set-buffer to change
16569 buffers (Bug#8478).
16570
4ef177aa
CY
165712011-04-24 Chong Yidong <cyd@stupidchicken.com>
16572
c8d173eb
CY
16573 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16574
4ef177aa
CY
16575 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16576 (apropos-accumulator): Doc fix.
16577 (apropos-function, apropos-macro, apropos-command)
16578 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16579 (apropos-plist): Add face property.
16580 (apropos-symbols-internal): Fix indentation.
16581 (apropos-print): Simplify help, and recognize apropos-multi-type.
16582 (apropos-print-doc): Use button-type-get to extract the button's
16583 face property. Fill docstring (Bug#8352).
16584
4ffd0d6b 165852011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16586
16587 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16588
c6c32125 16589 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16590 (mpuz-mode-map): Use mapc.
c6c32125
JB
16591 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16592 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16593 Fix typos in docstrings.
16594
58d468b4
JB
16595 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16596 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16597
6470c3c6
JB
16598 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16599
4ffd0d6b 166002011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16601
16602 * minibuffer.el (completion--do-completion): Avoid the "Next char
16603 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16604
3ad8bad0
CY
16605 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16606 mouse-2 into unread-command-events, it is interpreted correctly.
16607
71d73c9c 16608 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16609 (image-toggle-display): Doc fix.
71d73c9c 16610
841a1577 166112011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16612
4ffd0d6b
GM
16613 * textmodes/page.el (what-page): Use line-number-at-pos to
16614 calculate line number (Bug#6825).
6e1dbaa9 16615
c2fb1b60
JB
166162011-04-22 Juanma Barranquero <lekktu@gmail.com>
16617
16618 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16619 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16620 Pass argument NO-DEFAULT to `find-tag-interactive'.
16621
e02f48d7
JB
166222011-04-22 Juanma Barranquero <lekktu@gmail.com>
16623
16624 Lexical-binding cleanup.
16625
16626 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16627 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16628 * progmodes/ada-prj.el (ada-prj-initialize-values)
16629 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16630 (ada-prj-show-value):
16631 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16632 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16633 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16634 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16635 * progmodes/bug-reference.el (bug-reference-push-button):
16636 * progmodes/fortran.el (fortran-line-length):
16637 * progmodes/glasses.el (glasses-change):
16638 * progmodes/octave-mod.el (octave-fill-paragraph):
16639 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16640 (python-pdbtrack-grub-for-buffer, python-sentinel):
16641 * progmodes/sql.el (sql-save-connection):
16642 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16643 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16644 Mark unused parameters.
16645
16646 * progmodes/compile.el (compilation--flush-directory-cache)
16647 (compilation--flush-parse, compile-internal): Mark unused parameters.
16648 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16649 (compilation-next-error-function): Remove unused variable `timestamp'.
16650
16651 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16652 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16653
16654 * progmodes/dcl-mode.el (dcl-end-of-command):
16655 Remove unused variable `start'.
16656 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16657 (dcl-option-value-basic, dcl-option-value-offset)
16658 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16659 Mark unused parameters.
16660 (dcl-save-local-variable): Remove unused variable `val'.
16661 (mode): Declare.
16662
16663 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16664 Mark unused parameters.
16665 (delphi-ignore-changes): Move before first use.
16666 (delphi-charset-token-at): Remove unused variable `start'.
16667 (delphi-else-start): Remove unused variable `if-count'.
16668 (delphi-comment-block-start, delphi-comment-block-end):
16669 Remove unused variable `kind'.
16670 (delphi-indent-line): Remove unused variable `new-point'.
16671
16672 * progmodes/ebrowse.el (ebrowse-files-list)
16673 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16674 Mark unused parameters. Don't quote `lambda'.
16675 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16676 Don't quote `lambda'.
16677 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16678 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16679 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16680 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16681 Use `ignore-errors'.
16682 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16683 (ebrowse-view/find-file-and-search-pattern)
16684 (ebrowse-view/find-member-declaration/definition):
16685 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16686 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16687 Rename parameter PREFIX-ARG to PREFIX.
16688 (ebrowse-tags-read-name): Remove unused variables `start' and
16689 `member-info'.
16690 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16691 to `tags-file'.
16692
16693 * progmodes/etags.el (local-find-tag-hook): Declare.
16694 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16695 Mark unused parameters.
16696
16697 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16698 (executable-interpret): Mark unused parameter.
16699
16700 * progmodes/flymake.el (flymake-process-sentinel)
16701 (flymake-after-change-function)
16702 (flymake-create-temp-with-folder-structure)
16703 (flymake-get-include-dirs-dot): Mark unused parameters.
16704 (flymake-safe-delete-directory): Remove unused variable `err'.
16705
16706 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16707 (speedbar-timer-fn, speedbar-line-text)
16708 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16709 (speedbar-center-buffer-smartly): Declare functions.
16710 (gdb-find-watch-expression): Remove unused variable `array'.
16711 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16712 (gdb-starting): Mark unused parameters.
16713 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16714 (gdb-table-string): Remove unused variable `res'.
16715 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16716 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16717 (gdb-display-buffer): Remove unused variable `cur-size'.
16718
16719 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16720 allow lexical-binding compilation.
16721 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16722 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16723 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16724 Mark unused parameters.
16725 (gud-gdb-marker-filter): Remove unused variable `match'.
16726 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16727 lambda expressions and funcall them, instead of using `fset'.
16728
16729 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16730 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16731
16732 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16733 variable `header-beg'; use `let'.
16734
16735 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16736 `restart', `last-sexp' and `at-do'.
16737
16738 * progmodes/js.el (js--debug): Mark unused parameter.
16739 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16740 (js--splice-into-items): Remove unused variable `item'.
16741 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16742
16743 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16744 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16745 (makefile-complete): Remove unused variable `try'.
16746 (makefile-fill-paragraph, makefile-match-function-end):
16747 Mark unused parameters.
16748
16749 * progmodes/octave-inf.el (inferior-octave-complete):
16750 Remove unused variable `proc'.
16751 (inferior-octave-output-digest): Mark unused parameter.
16752
16753 * progmodes/perl-mode.el (perl-calculate-indent):
16754 Remove unused variable `err'.
16755
16756 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16757 (prolog-indent-line): Mark unused parameters.
16758 (prolog-indent-line): Remove unused variable `beg'.
16759
16760 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16761 (reporter-dont-compact-list): Declare.
16762
16763 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16764 Remove unused variable `char'.
16765 (sh-debug): Mark unused parameter.
16766 (sh-get-indent-info): Remove unused variable `start'.
16767 (sh-calculate-indent): Remove unused variable `var'.
16768
16769 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16770 (simula-electric-keyword): Remove unused variable `null'.
16771 (simula-search-backward, simula-search-forward): Remove unused
16772 variables `begin' and `end'.
16773
16774 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16775 Remove unused variable `pos'.
16776 (vera-electric-tab, vera-comment-uncomment-region):
16777 Mark unused parameters.
16778 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16779
7ede3b65
CY
167802011-04-22 Chong Yidong <cyd@stupidchicken.com>
16781
16782 * emacs-lisp/package.el (package--builtins, package-alist)
16783 (package-load-descriptor, package-built-in-p, package-activate)
16784 (define-package, package-installed-p)
16785 (package-compute-transaction, package-buffer-info)
16786 (package--push): Doc fix. Distinguish more clearly between
16787 version strings and version lists.
16788
121656e9
JB
167892011-04-21 Juanma Barranquero <lekktu@gmail.com>
16790
16791 Lexical-binding cleanup.
16792
16793 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16794 (5x5-make-mutate-best):
16795 * play/fortune.el (fortune-in-buffer):
16796 * play/gomoku.el (gomoku-init-display):
16797 * play/solitaire.el (solitaire, solitaire-do-check):
16798 * play/tetris.el (tetris-default-update-speed-function):
16799 Mark unused parameters.
16800
16801 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16802 (bubbles--shift): Remove unused variable `char-org'.
16803 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16804 (bubbles--show-images): Remove unused variable `char'.
16805
16806 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16807 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16808 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16809 (decipher-analyze-buffer): Use ?\s.
16810 (decipher-make-checkpoint): Remove unused variable `mapping'.
16811
16812 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16813
16814 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16815 Remove unused variable `result'; use `let'.
16816
16817 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16818 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16819 (gametree-children-shown-p, gametree-compute-reduced-score):
16820 Use `ignore-errors'.
16821
16822 * play/handwrite.el (ps-lpr-switches): Declare.
16823 (handwrite): Remove unused variables `pmin' and `lastp'.
16824
16825 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16826
16827 * play/landmark.el (landmark-init-display)
16828 (landmark-update-naught-weights): Mark unused parameters.
16829 (landmark-y): Remove unused variable `noise'. Simplify.
16830 (landmark-human-plays): Remove unused variable `score'.
16831
16832 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16833 (mpuz-try-proposal): Remove unused variable `game'.
16834
16835 * play/zone.el (life-patterns): Declare.
16836
80f499c7
JB
168372011-04-20 Juanma Barranquero <lekktu@gmail.com>
16838
16839 * vc/vc.el (ediff-vc-internal): Declare function.
16840
024ff170
SM
168412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16842
c0a193ea
SM
16843 * shell.el: Use lexical-binding and std completion UI.
16844 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16845 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16846 comint-preoutput-filter-functions rather than on
16847 comint-output-filter-functions.
16848 (shell-command-completion, shell--command-completion-data)
16849 (shell-filename-completion, shell-environment-variable-completion)
16850 (shell-c-a-p-replace-by-expanded-directory): New functions.
16851 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16852 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16853 (shell-dynamic-complete-environment-variable): Use them.
16854 (shell-dynamic-complete-as-environment-variable)
16855 (shell-dynamic-complete-as-command): Remove.
16856 (shell-match-partial-variable): Match past point.
16857 * comint.el: Clean up use of completion-at-point-functions.
16858 (comint-completion-at-point): New function.
16859 (comint-mode): Use it completion-at-point-functions.
16860 (comint-dynamic-complete): Make it obsolete.
16861 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16862 (comint-c-a-p-replace-by-expanded-history): New function.
16863 (comint-dynamic-complete-functions)
16864 (comint-replace-by-expanded-history): Use it.
16865 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16866 termination strings. Try harder to avoid second try-completion.
16867 (completion-in-region-mode-map): Disable bindings that don't work yet.
16868
2dbaa080
SM
16869 * comint.el: Use lexical-binding. Require CL.
16870 (comint-dynamic-complete-functions): Use comint-filename-completion.
16871 (comint-completion-addsuffix): Tweak custom type.
16872 (comint-filename-completion, comint--common-suffix)
16873 (comint--common-quoted-suffix, comint--table-subvert)
16874 (comint--complete-file-name-data): New functions.
16875 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16876 (comint-dynamic-list-filename-completions): Use them.
16877 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16878
2dbaa080
SM
16879 * minibuffer.el (completion-in-region-mode):
16880 Keep completion-in-region-mode--predicate global.
16881 (completion-in-region--postch):
16882 Assume completion-in-region-mode--predicate is not null.
16883
c79a6f38
SM
16884 * progmodes/flymake.el (flymake-start-syntax-check-process):
16885 Obey `dir'. Simplify.
16886
024ff170
SM
16887 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16888 we're in VC after all.
16889
1c6c854e
CS
168902011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16891
16892 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16893 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16894 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16895
bed7f140
SM
168962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16897
332e62ab
SM
16898 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16899 add sanity check.
16900
bed7f140
SM
16901 * obsolete/erc-hecomplete.el: Make obsolete.
16902 * obsolete/: Standardize obsolescence info in the header.
16903
f195c582
GM
169042011-04-20 Glenn Morris <rgm@gnu.org>
16905
16906 * calendar/solar.el (solar-horizontal-coordinates):
16907 Use the longitude argument rather than `calendar-longitude'.
16908 (solar-date-next-longitude): Remove unused locals.
16909
cb79b8c0
VJL
169102011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16911
16912 * whitespace.el: New version 13.2.1.
16913
169142011-04-20 felix <EmacsWiki> (tiny change)
16915
d8e4b68b 16916 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16917 switching between major modes on a file.
16918
602ea69d
SM
169192011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16920
16921 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16922 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16923 multi-line comments as well.
16924
06b60517
JB
169252011-04-19 Juanma Barranquero <lekktu@gmail.com>
16926
16927 Lexical-binding cleanup.
16928
16929 * arc-mode.el (archive-mode-revert):
16930 * cmuscheme.el (scheme-interactively-start-process):
16931 * custom.el (custom-initialize-delay):
16932 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16933 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16934 * emacs-lock.el (emacs-lock-clear-sentinel):
16935 * ezimage.el (defezimage):
16936 * follow.el (follow-avoid-tail-recenter):
16937 * fringe.el (set-fringe-mode-1):
16938 * generic-x.el (bat-generic-mode-compile):
16939 * help-mode.el (help-info-variable, help-do-xref)
16940 (help-mode-revert-buffer):
16941 * help.el (view-emacs-todo):
16942 * iswitchb.el (iswitchb-completion-help):
16943 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16944 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16945 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16946 * locate.el (locate-update):
16947 * longlines.el (longlines-encode-region)
16948 (longlines-after-change-function):
16949 * outline.el (outline-isearch-open-invisible):
16950 * ps-def.el (declare-function, charset-dimension, char-width)
16951 (encode-char):
16952 * ps-mule.el (ps-mule-plot-string):
16953 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16954 (recentf-edit-list-select, recentf-edit-list-validate)
16955 (recentf-open-files-action):
16956 * rect.el (delete-whitespace-rectangle-line)
16957 (rectangle-number-line-callback):
16958 * register.el (window-configuration-to-register)
16959 (frame-configuration-to-register):
16960 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16961 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16962 (xselect-convert-to-targets, xselect-convert-to-delete)
16963 (xselect-convert-to-filename, xselect-convert-to-charpos)
16964 (xselect-convert-to-lineno, xselect-convert-to-colno)
16965 (xselect-convert-to-os, xselect-convert-to-host)
16966 (xselect-convert-to-user, xselect-convert-to-class)
16967 (xselect-convert-to-name, xselect-convert-to-integer)
16968 (xselect-convert-to-atom, xselect-convert-to-identity):
16969 * subr.el (declare, ignore, process-kill-without-query)
16970 (text-clone-maintain):
16971 * terminal.el (te-get-char, te-tic-sentinel):
16972 * tool-bar.el (tool-bar-make-keymap):
16973 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16974 * type-break.el (type-break-mode, type-break-noninteractive-query):
16975 * view.el (View-back-to-mark):
16976 * wid-browse.el (widget-browse-action, widget-browse-widget)
16977 (widget-browse-widgets, widget-browse-sexp):
16978 * widget.el (define-widget-keywords):
16979 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16980 Mark unused parameters.
16981
16982 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16983 (align-areas): Remove unused variable `look'.
16984 (align-region): Remove unused variables `real-end' and `pos-list'.
16985
16986 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16987
16988 * bindings.el (mode-line-modified, mode-line-remote):
16989 Mark unused parameters.
16990 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16991
16992 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16993 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16994
16995 * comint.el (comint-history-isearch-pop-state)
16996 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16997 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16998 (comint-substitute-in-file-name): Doc fix.
16999
17000 * completion.el (cmpl-statistics-block): Mark unused parameter.
17001 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17002 (save-completions-to-file, load-completions-from-file):
17003 Remove unused local variable `e'.
17004
17005 * composite.el (compose-chars): Remove unused variable `len'.
17006 (lgstring-insert-glyph): Remove unused variable `g'.
17007 (compose-glyph-string): Remove unused variables `ascent',
17008 `descent', `lbearing' and `rbearing'.
17009 (compose-glyph-string-relative): Remove unused variables
17010 `lbearing', `rbearing' and `wadjust'.
17011 (compose-gstring-for-graphic): Remove unused variables `header',
17012 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17013 (compose-gstring-for-terminal): Remove unused variables `header'
17014 and `nchars'. Use `let', not `let*'.
17015
17016 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17017 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17018 (Custom-buffer-done, custom-buffer-create-internal)
17019 (custom-browse-visibility-action, custom-browse-group-tag-action)
17020 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17021 (widget-magic-mouse-down-action, custom-toggle-parent)
17022 (custom-add-parent-links, custom-toggle-hide-variable)
17023 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17024 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17025 (custom-face-menu-create, custom-variable-menu-create, get)
17026 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17027 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17028 (customize-apropos): Remove unused variable `tests'.
17029 (custom-group-value-create): Remove unused variable `hidden-p'.
17030 (sort-fold-case): Declare.
17031
17032 * cus-theme.el (custom-reset-standard-faces-list)
17033 (custom-reset-standard-variables-list): Declare.
17034 (customize-create-theme, custom-theme-revert, custom-theme-write)
17035 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17036 Mark unused parameters.
17037
17038 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17039
17040 * delim-col.el (delimit-columns-max): Move defvar before first use.
17041
17042 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17043 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17044
17045 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17046 (auto-insert): Declare.
17047 (desktop-restore-file-buffer): Rename desktop-* parameters;
17048 mark unused ones.
17049 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17050 (desktop-buffer): Rename desktop-* parameters.
17051
17052 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17053 (dframe-reposition-frame-xemacs, dframe-help-echo)
17054 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17055 Mark unused parameters.
17056
17057 * dired-aux.el (backup-extract-version-start, overwrite-query)
17058 (overwrite-backup-query, rename-regexp-query)
17059 (rename-non-directory-query): Declare.
17060 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17061 (dired-add-entry): Remove unused variable `orig-file-name'.
17062 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17063 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17064 `dired-copy-preserve-time' directly.
17065 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17066 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17067
17068 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17069 (dired-virtual-revert, dired-make-relative-symlink):
17070 Mark unused parameters.
17071 (manual-program): Declare.
17072 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17073 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17074 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17075
17076 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17077
17078 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17079
17080 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17081 Declare.
17082
17083 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17084
17085 * electric.el (Electric-command-loop): Rename parameter
17086 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17087
17088 * expand.el (expand-in-literal): Remove unused variable `here'.
17089
17090 * facemenu.el (facemenu-add-new-color):
17091 Remove unused variable `docstring'.
17092
17093 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17094 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17095 (face-attr-construct): Mark unused parameter. Doc fix.
17096 (read-color): Remove unused variable `hex-string'.
17097
17098 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17099 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17100 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17101 (display-buffer-other-frame): Remove unused variable `old-window'.
17102 (kill-buffer-hook): Declare.
17103 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17104 Mark unused parameters.
17105 (after-find-file): Pass 1 to `auto-save-mode', not t.
17106
17107 * files-x.el (auto-insert): Declare.
17108 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17109
17110 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17111 variable `buf'. Mark unused parameter.
06b60517
JB
17112 (find-lisp-insert-directory): Mark unused parameter.
17113
17114 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17115 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17116 (format-common-tail): Remove, unused.
17117 (format-deannotate-region): Remove unused variable `loc'.
17118 (format-annotate-region): Remove unused variable `p'.
17119 (format-annotate-single-property-change): Remove unused variables
17120 `default' and `tail'.
17121
17122 * forms.el (read-file-filter): Declare.
17123 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17124
17125 * frame.el (frame-creation-function-alist): Mark unused parameter.
17126 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17127
17128 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17129 Remove unused parameters.
17130 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17131 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17132
17133 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17134 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17135 (hfy-prepare-tag-map): Mark unused parameters.
17136 (htmlfontify-buffer): Use `called-interactively-p'.
17137
17138 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17139 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17140 (ibuffer-do-occur): Mark unused parameters.
17141 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17142 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17143
17144 * ibuffer.el: Don't quote `lambda'.
17145 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17146 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17147 Mark unused parameters.
17148
17149 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17150 (ido-completing-read): Mark unused parameters.
17151 (ido-copy-current-word): Mark unused parameters;
17152 remove unused variable `name'.
17153 (ido-sort-merged-list): Remove unused parameter `dirs'.
17154
17155 * ielm.el (ielm-input-sender): Mark unused parameter.
17156 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17157 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17158 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17159 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17160 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17161
17162 * image-dired.el (image-dired-display-thumbs): Remove unused
17163 variables `curr-file' and `count'.
17164 (image-dired-remove-tag): Remove unused variable `start'.
17165 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17166 variable `curr-file'
17167 (image-dired-rotate-original): Remove unused variable `temp-file'.
17168 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17169 Remove unused variable `file'.
17170 (image-dired-gallery-generate): Remove unused variable `curr'.
17171 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17172
17173 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17174
17175 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17176
17177 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17178
17179 * isearch.el (minibuffer-history-symbol): Declare.
17180 (isearch-edit-string): Remove unused variable `err'.
17181 (isearch-message-prefix, isearch-message-suffix):
17182 Mark unused parameters.
17183
17184 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17185
17186 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17187
17188 * makesum.el (double-column): Remove unused variable `cnt'.
17189
17190 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17191 (ido-ignore-item-temp-list): Declare.
17192
17193 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17194 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17195 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17196 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17197 `mouse-col-delta'.
17198
17199 * mouse-sel.el (mouse-extend-internal):
17200 Remove unused variable `orig-window-frame'.
17201
17202 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17203 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17204 Move declarations before first use.
17205 (pcomplete-opt): Mark unused parameters; doc fix.
17206
17207 * proced.el (proced-revert): Mark unused parameter.
17208 (proced-send-signal): Remove unused variable `err'.
17209
17210 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17211 Rename parameter PREFIX-ARG to ARG.
17212 (ps-basic-plot-string, ps-basic-plot-whitespace):
17213 Mark unused parameters.
17214
17215 * replace.el (replace-count): Define.
17216 (occur-revert-function): Mark unused parameters.
17217 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17218 (isearch-case-fold-search, isearch-string): Declare.
17219 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17220 bind `case-fold-search'. Remove unused variables `beg' and `end',
17221 and simplify.
17222 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17223 COUNT and bind `replace-count'.
17224 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17225 to COUNT.
17226
17227 * savehist.el (print-readably, print-string-length): Declare.
17228
17229 * shadowfile.el (shadow-expand-cluster-in-file-name):
17230 Remove unused variable `cluster'.
17231 (shadow-copy-file): Remove unused variable `i'.
17232 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17233 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17234 (shadow-define-literal-group, shadow-define-regexp-group)
17235 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17236
17237 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17238 (shell): Use `called-interactively-p'.
17239 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17240
17241 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17242 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17243 (delete-backward-char): Remove unused variable `ocol'.
17244 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17245 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17246 (event-apply-hyper-modifier, event-apply-shift-modifier)
17247 (event-apply-control-modifier, event-apply-meta-modifier):
17248 Mark unused parameters.
17249 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17250 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17251
17252 * speedbar.el (speedbar-ignored-directory-expressions)
17253 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17254 (speedbar-find-file, speedbar-dir-follow)
17255 (speedbar-directory-buttons-follow, speedbar-tag-find)
17256 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17257 (speedbar-buffers-line-directory, speedbar-buffer-click):
17258 Mark unused parameters.
17259 (speedbar-tag-file): Remove unused variable `mode'.
17260 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17261
17262 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17263
17264 * talk.el (talk): Remove unused variable `display'.
17265
17266 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17267 (tar-write-region-annotate): Mark unused parameter.
17268
17269 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17270 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17271 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17272 warning by another.
17273
17274 * time-stamp.el (time-stamp-string-preprocess):
17275 Remove unused variable `require-padding'.
17276
17277 * tree-widget.el (widget-glyph-enable): Declare.
17278 (tree-widget-action): Mark unused parameter.
17279
17280 * w32-fns.el (x-get-selection): Mark unused parameter.
17281 (autoload-make-program, generated-autoload-file): Declare.
17282
17283 * wdired.el (wdired-revert): Mark unused parameters.
17284 (wdired-xcase-word): Remove unused variable `err'.
17285
17286 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17287 (whitespace-help-scroll): Remove unused variable `data-help'.
17288
17289 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17290 (widget-image-insert, widget-after-change, default)
17291 (widget-default-format-handler, widget-default-notify)
17292 (widget-default-prompt-value, widget-info-link-action)
17293 (widget-url-link-action, widget-function-link-action)
17294 (widget-variable-link-action, widget-file-link-action)
17295 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17296 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17297 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17298 (widget-insert-button-action, widget-delete-button-action, visibility)
17299 (widget-documentation-link-action, widget-documentation-string-action)
17300 (widget-const-prompt-value, widget-regexp-match, symbol)
17301 (widget-coding-system-prompt-value)
17302 (widget-key-sequence-value-to-external, sexp)
17303 (widget-sexp-value-to-internal, character, vector, cons)
17304 (widget-choice-prompt-value, widget-boolean-prompt-value)
17305 (widget-color--choose-action): Mark unused parameters.
17306 (widget-item-match-inline, widget-choice-match-inline)
17307 (widget-checklist-match, widget-checklist-match-inline)
17308 (widget-group-match): Rename parameter VALUES to VALS.
17309 (widget-field-value-set): Remove unused variable `size'.
17310 (widget-color-action): Remove unused variables `value' and `start'.
17311
17312 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17313 variable `dir'. Doc fix.
06b60517
JB
17314 (windmove-find-other-window): Don't pass it.
17315
17316 * window.el (count-windows): Mark unused parameter.
17317 (bw-adjust-window): Remove unused variable `err'.
17318
17319 * woman.el (woman-file-name): Remove unused variable `default'.
17320 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17321 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17322 (global-font-lock-mode): Declare.
17323 (woman-decode-region): Mark unused parameter.
17324 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17325
17326 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17327 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17328 (x-dnd-handle-moz-url): Remove unused variable `title'.
17329 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17330
17331 * xml.el (xml-parse-tag, xml-parse-attlist):
17332 Remove unused variable `pos'.
17333
bc4f7f3d
GM
173342011-04-19 Glenn Morris <rgm@gnu.org>
17335
17336 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17337 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17338 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17339 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17340 * calendar/cal-html.el (cal-html-insert-minical):
17341 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17342 (calendar-mark-date-pattern):
17343 Prefix "unused" locals.
17344
17345 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17346 optional argument `style'.
17347
17348 * calendar/appt.el (appt-make-list):
17349 * calendar/cal-china.el (calendar-chinese-date-string):
17350 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17351 (diary-hebrew-yahrzeit):
17352 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17353 * calendar/calendar.el (calendar-generate-window):
17354 * calendar/time-date.el (time-to-days):
17355 Remove unused local variables.
17356
16a43933
CY
173572011-04-18 Chong Yidong <cyd@stupidchicken.com>
17358
17359 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17360 glyphless-char-display table.
17361 (tabulated-list-glyphless-char-display): New var.
17362
7eed1860
SS
173632011-04-18 Sam Steingold <sds@gnu.org>
17364
17365 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17366 to acknowledgments.
17367
4d2d1ccd
GM
173682011-04-17 Glenn Morris <rgm@gnu.org>
17369
17370 * calendar/diary-lib.el (diary-sexp-entry):
17371 * calendar/holidays.el (holiday-sexp):
17372 Set debug-on-error rather than the removed stack-trace-on-error.
17373
239da61d
GM
173742011-04-16 Glenn Morris <rgm@gnu.org>
17375
17376 * progmodes/f90.el: Use lexical-binding.
17377 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17378
8b05752a
SM
173792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17380
daca8ba5
SM
17381 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17382 (mail-mode): Setup mailalias completion here instead.
17383 * mail/mailalias.el: Use lexical-binding.
17384 (pattern, mailalias-done): Declare dynamic.
17385 (mail-completion-at-point-function): New function, from mail-complete.
17386 (mail-complete): Use it.
17387 (mail-completion-expand): New function.
17388 (mail-get-names): Use it.
17389 (mail-directory, mail-directory-process, mail-directory-stream):
17390 Don't use `pattern' for lexically bound arg.
17391
6f542485
SM
17392 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17393
037e7c3f
SM
17394 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17395 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17396 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17397
8b05752a
SM
17398 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17399 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17400 (byte-interactive-p): Define them again, for use when inlining
17401 old code.
17402
49093f60
JB
174032011-04-15 Juanma Barranquero <lekktu@gmail.com>
17404
17405 * loadup.el: Use `string-to-number', not `string-to-int'.
17406
b5b8e7de
SM
174072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17408
17409 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17410 gud-gdb-complete-command.
17411 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17412 (gud-gdb-completion-at-point): New function.
17413 (gud-gdb-completions): Remove.
17414
f42efeb5
MA
174152011-04-14 Michael Albinus <michael.albinus@gmx.de>
17416
49093f60
JB
17417 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17418 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17419 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17420 whether `executable-find' is bound.
f42efeb5
MA
17421
17422 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17423
e240cc21
SM
174242011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17425
17426 * minibuffer.el (completion-in-region-mode-predicate)
17427 (completion-in-region-mode--predicate): New vars.
17428 (completion-in-region, completion-in-region--postch)
17429 (completion-in-region-mode): Use them.
17430 (completion--capf-wrapper): Also return the hook function.
17431 (completion-at-point, completion-help-at-point):
17432 Adjust and provide a predicate.
c2bd2ab0
SM
17433
17434 Preserve arg names for advice of subr and lexical functions (bug#8457).
17435 * help-fns.el (help-function-arglist): Consolidate the subr and
17436 new-byte-code cases. Add argument `preserve-names' to extract names
17437 from the docstring when needed.
17438 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17439 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17440 (ad-arglist): Use help-function-arglist's new arg.
17441 (ad-definition-type): Use cond.
17442
c183f693
JB
174432011-04-13 Juanma Barranquero <lekktu@gmail.com>
17444
06641a47
JB
17445 * autorevert.el (auto-revert-handler):
17446 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17447 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17448 Don't quote lambda.
17449
c183f693
JB
17450 * image-mode.el (image-transform-set-scale):
17451 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17452
1e3b6001
G
174532011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17454
17455 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17456 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17457 Upgrades via gnutls-cli are too slow to be done opportunistically.
17458
2d6af8dd
JB
174592011-04-12 Juanma Barranquero <lekktu@gmail.com>
17460
17461 * dframe.el (dframe-current-frame): Remove spurious quote.
17462
c0749a51
GM
174632011-04-12 Glenn Morris <rgm@gnu.org>
17464
088d0d61
GM
17465 * calendar/cal-tex.el (cal-tex-end-document):
17466 Try to automatically use latin1 input if needed.
17467
c0749a51
GM
17468 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17469 Don't try to cons a mark onto an empty element.
17470
5c90fde0
LL
174712011-04-11 Leo Liu <sdl.web@gmail.com>
17472
17473 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17474 buffers.
17475 (ido-kill-buffer-at-head): Support killing virtual buffers.
17476
369e974d
CY
174772011-04-10 Chong Yidong <cyd@stupidchicken.com>
17478
17479 * minibuffer.el (completion-show-inline-help): New var.
17480 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17481 (minibuffer-force-complete, minibuffer-complete-word):
17482 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17483
17484 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17485 to avoid interference from inline help (Bug#5849).
17486
37f1c930
LL
174872011-04-10 Leo Liu <sdl.web@gmail.com>
17488
099c39a4
JB
17489 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17490 Fix typo.
37f1c930 17491
a32d4040
CY
174922011-04-09 Chong Yidong <cyd@stupidchicken.com>
17493
17494 * image-mode.el (image-toggle-display-image): Signal an error if
17495 not in Image mode.
17496 (image-transform-mode, image-transform-resize)
17497 (image-transform-set-rotation): Doc fix.
daca8ba5 17498 (image-transform-set-resize): Delete.
a32d4040
CY
17499 (image-transform-set-scale, image-transform-fit-to-height)
17500 (image-transform-fit-to-width): Handle image-toggle-display-image
17501 and image-transform-resize directly.
17502
099c39a4 175032011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17504
17505 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17506 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17507 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17508 (doc-view-mode-map): Add bindings for the new functions.
17509
099c39a4 175102011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17511
4d61f28d 17512 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17513 Fix typo in docstring.
17514
3726838a
EZ
175152011-04-08 Eli Zaretskii <eliz@gnu.org>
17516
04f33f1e
EZ
17517 * files.el (file-size-human-readable): Produce one digit after
17518 decimal, like "ls -lh" does.
17519
17520 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17521 the file size representation.
17522
3726838a
EZ
17523 * simple.el (list-processes): If async subprocesses are not
17524 available, error out with a clear error message.
17525
cbb59342
CY
175262011-04-08 Chong Yidong <cyd@stupidchicken.com>
17527
17528 * help.el (help-form-show): New function, to be called from C.
17529 Put help-form output in a buffer named differently than *Help*.
17530
e3971c44
EZ
175312011-04-08 Eli Zaretskii <eliz@gnu.org>
17532
17533 * files.el (file-size-human-readable): New function.
17534
17535 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17536 computing the representation inline. Don't require `cl'.
17537
12544bbe
GM
175382011-04-08 Glenn Morris <rgm@gnu.org>
17539
a1de6c6a
GM
17540 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17541
3c4671f4
GM
17542 * net/browse-url.el (browse-url-firefox):
17543 Test system-type, not system-configuration.
17544
b605679c
GM
17545 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17546 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17547 Use log-edit-empty-buffer-p. (Bug#7598)
17548
56442f0c
GM
17549 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17550 (rlogin-mode-map): Initialize in the defvar.
17551 (rlogin): Use ignore-errors.
17552
12544bbe
GM
17553 * replace.el (occur-mode-map): Some fixes for menu items.
17554
eb237b0f
AH
175552011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17556
17557 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17558
7d668f2c
CY
175592011-04-06 Chong Yidong <cyd@stupidchicken.com>
17560
e67a13ab
CY
17561 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17562 issuing unused warnings.
17563
17564 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17565 macro directly.
17566
7d668f2c
CY
17567 * simple.el: Lisp reimplement of list-processes. Based on an
17568 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17569 (process-menu-mode): New major mode.
17570 (list-processes--refresh, list-processes):
17571 (process-menu-visit-buffer): New functions.
17572
17573 * files.el (save-buffers-kill-emacs): Don't assume any return
17574 value of list-processes, which is undocumented anyway.
17575
a83ec3c9
CY
175762011-04-06 Chong Yidong <cyd@stupidchicken.com>
17577
17578 * emacs-lisp/tabulated-list.el: New file.
17579
e91a96fe
CY
17580 * emacs-lisp/package.el: Use Tabulated List mode.
17581 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17582 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17583 table format using Tabulated List mode variables.
17584 (package--push): New macro, replacing package-list-maybe-add.
17585 (package-menu--generate): Use package--push. Renamed from
17586 package--generate-package-list.
17587 (package-menu-refresh, list-packages): Use it.
daca8ba5 17588 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17589 Return insertion data instead of inserting it directly.
099c39a4
JB
17590 (package-menu-describe-package, package-menu-execute):
17591 Use tabulated-list-get-id.
e91a96fe
CY
17592 (package-menu-mark-delete, package-menu-mark-install)
17593 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17594 (package-menu-mark-obsolete-for-deletion):
17595 Use tabulated-list-put-tag.
e91a96fe
CY
17596 (package--list-packages, package-menu-revert)
17597 (package-menu-get-package, package-menu-get-version)
17598 (package-menu-sort-by-column): Functions deleted.
17599 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17600 (package-menu--status-predicate, package-menu--version-predicate)
17601 (package-menu--name-predicate)
17602 (package-menu--description-predicate): Handle arguments in the
17603 Tabulated List format.
17604 (package-list-packages-no-fetch): Call list-packages.
17605
3e214b50
JB
176062011-04-06 Juanma Barranquero <lekktu@gmail.com>
17607
17608 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17609 (after-find-file): Don't bind it.
3e214b50
JB
17610 (revert-buffer-in-progress-p): New variable.
17611 (revert-buffer): Bind it.
17612 Pass nil for `after-find-file-from-revert-buffer'.
17613
17614 * saveplace.el (save-place-find-file-hook): Use new variable
17615 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17616
3f0f1700
GM
176172011-04-06 Glenn Morris <rgm@gnu.org>
17618
c0274801
GM
17619 * Makefile.in (AUTOGEN_VCS): New variable.
17620 (autoloads): Use $AUTOGEN_VCS.
17621
3f0f1700
GM
17622 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17623 * calendar/calendar.el (calendar-mode-map):
17624 Check for toolkit scroll bars. (Bug#8305)
17625
41ea9e48
CY
176262011-04-05 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * minibuffer.el (completion-in-region--postch)
17629 (completion-in-region-mode): Remove unnecessary messages.
17630
6194c800
JB
176312011-04-05 Juanma Barranquero <lekktu@gmail.com>
17632
33256f14
JB
17633 * font-lock.el (font-lock-refresh-defaults):
17634 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17635 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17636
6194c800
JB
17637 * info.el (Info-directory-list, Info-read-node-name-2)
17638 (Info-split-parameter-string): Doc fixes.
17639 (Info-virtual-nodes): Reflow docstring.
17640 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17641 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17642 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17643 Fix typos in docstrings.
17644 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17645 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17646 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17647 (Info-restore-desktop-buffer): Mark unused parameters.
17648 (Info-directory-find-file, Info-directory-find-node)
17649 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17650 (Info-virtual-index-find-node, Info-apropos-find-file)
17651 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17652 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17653 (Info-virtual-index): Remove unused local variable `nodename'.
17654
b87a8200 176552011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17656
b87a8200
DD
17657 * net/rcirc.el: Update my e-mail address.
17658 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17659
3b2ff876
CY
176602011-04-05 Chong Yidong <cyd@stupidchicken.com>
17661
17662 * startup.el (command-line): Save the cursor's theme-face
17663 directly, instead of using face-override-spec.
17664
17665 * custom.el (load-theme): Minor optimization in assigning faces.
17666
8d17e7ca
JB
176672011-04-04 Juanma Barranquero <lekktu@gmail.com>
17668
17669 * help-fns.el (describe-variable): Complete all variables having
17670 documentation, including keywords.
17671 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17672
2fbc1934
JB
176732011-04-04 Juanma Barranquero <lekktu@gmail.com>
17674
17675 Convert to lexical-binding.
17676
17677 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17678 (bs--get-marked-string, bs--get-modified-string)
17679 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17680 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17681 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17682
17683 * ehelp.el (electric-help-execute-extended)
17684 (electric-help-ctrl-x-prefix):
17685 * hexl.el (hexl-revert-buffer-function):
17686 * linum.el (linum-after-change, linum-after-scroll):
17687 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17688
17689 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17690
74f50695
DU
176912011-04-04 Daiki Ueno <ueno@unixuser.org>
17692
17693 * epa-dired.el:
17694 * epa-mail.el:
17695 * epa-hook.el:
17696 * epa-file.el:
17697 * epa.el:
17698 * epg.el: Use lexical binding.
17699
c11325f7
CY
177002011-04-03 Chong Yidong <cyd@stupidchicken.com>
17701
0d9e9a12
CY
17702 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17703
c11325f7 17704 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17705 dictionary case for flyspell-mark-duplications-exceptions.
17706 Use regexp matching for languages.
c11325f7
CY
17707 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17708 default dictionary (Bug#7926).
17709
da91b5f2
CY
177102011-04-02 Chong Yidong <cyd@stupidchicken.com>
17711
099c39a4
JB
17712 * emacs-lisp/package.el (package--with-work-buffer):
17713 Recognize https URLs.
da91b5f2 17714
099c39a4
JB
17715 * net/network-stream.el: Move from gnus/proto-stream.el.
17716 Change prefix to network-stream throughout.
da91b5f2
CY
17717 (open-protocol-stream): Merge into open-network-stream, leaving
17718 open-protocol-stream as an alias. Handle nil BUFFER args.
17719
17720 * subr.el (open-network-stream): Move to net/network-stream.el.
17721
afa8e9f6
GM
177222011-04-02 Glenn Morris <rgm@gnu.org>
17723
1d2e369d
GM
17724 * find-dired.el (find-exec-terminator): New option.
17725 (find-ls-option): Test for -ls support.
17726 (find-ls-subdir-switches): Test for -b in find-ls-option.
17727 (find-dired, find-grep-dired): Doc fixes.
17728 (find-dired): Use find-exec-terminator.
17729
8abb7da8 17730 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17731 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17732 (find-name-arg): Remove purecopy.
8abb7da8 17733
f3ca7378
GM
17734 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17735 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17736 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17737 accordingly. Don't add the null-device if not needed.
17738
afa8e9f6
GM
17739 * files.el (save-some-buffers): Doc fix.
17740
35eae264
EZ
177412011-04-02 Eli Zaretskii <eliz@gnu.org>
17742
17743 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17744
26b51db5
JB
177452011-04-01 Juanma Barranquero <lekktu@gmail.com>
17746
17747 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17748 Use `dolist' rather than `mapcar'.
17749
7200d79c
SM
177502011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17751
03408648 17752 Add lexical binding.
7200d79c 17753
03408648
SM
17754 * subr.el (apply-partially): Use new closures rather than CL.
17755 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17756 (dolist, dotimes): Use slightly different expansion for lexical code.
17757 (functionp): Move to C.
17758 (letrec): New macro.
17759 (with-wrapper-hook): Use it and apply-partially instead of CL.
17760 (eval-after-load): Preserve lexical-binding.
17761 (save-window-excursion, with-output-to-temp-buffer): Turn them
17762 into macros.
7200d79c 17763
03408648
SM
17764 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17765
17766 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17767 than the arglist.
17768 (help-add-fundoc-usage): Don't add `Not documented'.
17769 (help-function-arglist): Handle closures, subroutines, and new
17770 byte-code-functions.
17771 (help-make-usage): Remove leading underscores.
17772 (describe-function-1): Handle closures.
17773 (describe-variable): Use special-variable-p for completion.
17774
17775 * files.el (lexical-binding): Declare safe.
f488fb65 17776
03408648
SM
17777 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17778 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17779 (pcase): Add `let' pattern.
17780 Change memoization so it actually works.
17781 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17782 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17783 <let>: New case.
f488fb65 17784
03408648
SM
17785 * emacs-lisp/macroexp.el: Use lexical binding.
17786 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17787 Don't convert ' to #' without checking that it's indeed quoting
17788 a lambda.
17789
17790 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17791 Use eval-sexp-add-defvars.
03408648
SM
17792 (eval-sexp-add-defvars): New fun.
17793
17794 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17795
17796 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17797 Don't autoload.
17798 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17799 than the internal `byte-compile-lambda'.
17800 (defmethod): Don't hide code under quotes.
17801 (eieio-defmethod): New `code' argument.
17802
17803 * emacs-lisp/eieio-comp.el: Remove.
17804
17805 * emacs-lisp/edebug.el (edebug-eval-defun)
17806 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17807 (edebug-toggle): Avoid `eval'.
17808
17809 * emacs-lisp/disass.el (disassemble-internal): Handle new
17810 `closure' objects.
17811 (disassemble-1): Handle new byte codes.
17812
17813 * emacs-lisp/cl.el (pushnew): Silence warning.
17814
17815 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17816 (cl-byte-compile-throw): Remove.
17817 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17818
17819 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17820 closures.
17821
17822 * emacs-lisp/cconv.el: New file.
17823
17824 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17825 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17826 (byte-compile-initial-macro-environment):
17827 Handle declare-function here.
17828 (byte-compile--lexical-environment): New var.
17829 (byte-stack-ref, byte-stack-set, byte-discardN)
17830 (byte-discardN-preserve-tos): New lap codes.
17831 (byte-interactive-p): Don't use any more.
17832 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17833 New macros.
17834 (byte-compile-lapcode): Use them and handle new lap codes.
17835 (byte-compile-obsolete): Remove.
17836 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17837 (byte-compile-arglist-warn): Check late def of inlinable funs.
17838 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17839 since they should have been expanded by now.
17840 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17841 (byte-compile-from-buffer): Remove unused second arg.
17842 (byte-compile-preprocess): New function.
17843 (byte-compile-toplevel-file-form): New function to distinguish
17844 file-form calls from outside from file-form calls from hunk-handlers.
17845 (byte-compile-file-form): Simplify.
17846 (byte-compile-file-form-defsubst): Remove.
17847 (byte-compile-file-form-defmumble): Simplify now that
17848 byte-compile-lambda always returns a byte-code-function.
17849 (byte-compile): Preprocess.
17850 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17851 Remove, not used any more.
17852 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17853 (byte-compile-make-args-desc): New funs.
17854 (byte-compile-lambda): Handle lexical functions. Always return
17855 a byte-code-function.
17856 (byte-compile-reserved-constants): New var, to make up room for
17857 closed-over variables.
17858 (byte-compile-constants-vector): Obey it.
17859 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17860 (byte-compile-macroexpand-declare-function): New function.
17861 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17862 byte-code-functions.
17863 (byte-compile-form): Check obsolescence here.
17864 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17865 (byte-compile-variable-ref): Remove.
17866 (byte-compile-dynamic-variable-op): New fun.
17867 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17868 (byte-compile-variable-set): New funs.
17869 (byte-compile-discard): Add 2 args.
17870 (byte-compile-stack-ref, byte-compile-stack-set)
17871 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17872 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17873 macroexpand-all instead.
17874 (byte-compile-quote-form): Remove.
17875 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17876 (byte-compile-bind, byte-compile-unbind): New funs.
17877 (byte-compile-let): Handle let* and lexical binding.
17878 (byte-compile-let*): Remove.
17879 (byte-compile-catch, byte-compile-unwind-protect)
17880 (byte-compile-track-mouse, byte-compile-condition-case):
17881 Handle a new :fun-body form, used for lexical scoping.
17882 (byte-compile-save-window-excursion)
17883 (byte-compile-with-output-to-temp-buffer): Remove.
17884 (byte-compile-defun): Simplify.
17885 (byte-compile-stack-adjustment): New fun.
17886 (byte-compile-out): Use it.
17887 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17888
17889 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17890 handler any more.
17891
17892 * emacs-lisp/byte-opt.el: Use lexical binding.
17893 (byte-inline-lapcode): Remove (to bytecomp).
17894 (byte-compile-inline-expand): Pay attention to inlining to/from
17895 lexically bound code.
17896 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17897 any more.
17898 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17899 any more and don't call compiler-macros.
17900 (byte-compile-splice-in-already-compiled-code): Remove.
17901 (byte-code): Don't inline any more.
17902 (disassemble-offset): Receive `bytes' as argument rather than via
17903 dynamic scoping.
17904 (byte-compile-tag-number): Declare before first use.
17905 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17906 `return' even if make-spliceable.
17907 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17908 obsolete interactive-p.
17909 (byte-optimize-lapcode): Optimize new lap-codes.
17910 Don't trip up on new form of `byte-constant' lap code.
17911
17912 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17913
17914 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17915
17916 * custom.el (custom-initialize-default, custom-declare-variable):
17917 Use `defvar'.
17918
17919 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17920 New variables.
17921 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17922 (COMPILE_FIRST): Add macroexp and cconv.
17923 * makefile.w32-in: Mirror changes in Makefile.in.
17924
17925 * vc/cvs-status.el:
17926 * vc/diff-mode.el:
17927 * vc/log-edit.el:
17928 * vc/log-view.el:
17929 * vc/smerge-mode.el:
17930 * textmodes/bibtex-style.el:
090bd7cb 17931 * textmodes/css-mode.el:
03408648
SM
17932 * startup.el:
17933 * uniquify.el:
da91b5f2
CY
17934 * minibuffer.el:
17935 * newcomment.el:
17936 * reveal.el:
17937 * server.el:
17938 * mpc.el:
17939 * emacs-lisp/smie.el:
17940 * doc-view.el:
17941 * dired.el:
03408648
SM
17942 * abbrev.el: Use lexical binding.
17943
0f0c1f27
EZ
179442011-04-01 Eli Zaretskii <eliz@gnu.org>
17945
17946 * info.el (info-display-manual): New function.
17947
c82b2579
SM
179482011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17949
17950 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17951
221ddf68
TH
179522011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17953
17954 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17955 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17956
cba6e77e
GM
179572011-03-31 Glenn Morris <rgm@gnu.org>
17958
e040639f
GM
17959 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17960
cba6e77e
GM
17961 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17962
6d0f1c9e
CS
179632011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17964
17965 * progmodes/python.el (python-default-interpreter)
17966 (python-python-command-args, python-jython-command-args)
17967 (python-which-shell, python-which-args, python-which-bufname)
17968 (python-file-queue, python-comint-output-filter-function)
17969 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17970 variables and functions.
17971
3e2d70fd
SM
179722011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17973
17974 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17975 (completion-in-region-mode): New minor mode.
17976 (completion-in-region): Use it.
17977 (completion-in-region--data, completion-in-region-mode-map): New vars.
17978 (completion-in-region--postch): New function.
17979 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17980 New vars.
17981 (completion--capf-wrapper): New function.
17982 (completion-at-point): Use it to track well-behavedness of
17983 hook functions.
17984 (completion-help-at-point): New command.
17985
f3e4086c
JM
179862011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17987
17988 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17989 syntax class to search for whitespace on a single line
17990 (Message-ID: <4D938140.4030905@redhat.com>).
17991
eb7ffc14
LL
179922011-03-30 Leo Liu <sdl.web@gmail.com>
17993
17994 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17995 New commands.
17996 (edit-abbrevs-map): Bind them here.
17997 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17998
d806ab68
KM
179992011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18000
18001 * allout.el (allout-hide-by-annotation, allout-flag-region):
18002 Reduce possibility of overlay leakage by making them volatile.
18003
18004 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18005 hash is not shared between buffers. Mode initialization is
18006 responsible for giving it a useful starting value.
18007 (allout-item-span): Reduce possibility of overlay leakage by
18008 making them volatile.
18009 (allout-widgets-count-buttons-in-region): Add diagnostic function
18010 for tracking down button overlay leaks.
18011
ea622834
LL
180122011-03-29 Leo Liu <sdl.web@gmail.com>
18013
18014 * ido.el (ido-read-internal): Use the default history var
18015 minibuffer-history if no HISTORY is specified.
18016
b62f8267
G
180172011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18018
03408648
SM
18019 * net/imap.el (imap-shell-open, imap-process-connection-type):
18020 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18021 Kerberos, SSL, other subprocesses.
18022
947b6566
LL
180232011-03-28 Leo Liu <sdl.web@gmail.com>
18024
18025 * abbrev.el (abbrev-table-empty-p): New function.
18026 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18027 nonempty ones. (Bug#5937)
18028
5ffb62aa
JD
180292011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18030
18031 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18032
7a097943
LL
180332011-03-27 Leo Liu <sdl.web@gmail.com>
18034
18035 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18036 for foreground and background colors.
18037 (ansi-color-make-color-map): Adapt.
18038
c5b40130
LL
180392011-03-25 Leo Liu <sdl.web@gmail.com>
18040
1f48f7d2
LL
18041 * midnight.el (midnight-time-float): Remove. Note it calculates
18042 the microsecond component incorrectly and seconds-to-time does the
18043 same job.
625897ec 18044 Remove redundant (require 'timer).
1f48f7d2 18045
c5b40130
LL
18046 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18047 (ido-completions): Remove unused arguments. (Bug#8329)
18048
d86d2721
SM
180492011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18050
18051 * minibuffer.el (completion--flush-all-sorted-completions):
18052 Remove itself from hook.
18053 (completion-at-point): Let the functions perform the completion
18054 immediately and return nil or t.
18055 * comint.el (comint-dynamic-complete-functions): Now identical to
18056 completion-at-point-functions.
18057 (comint-dynamic-list-input-ring): Remove unused var `index'.
18058 (comint--match-partial-filename, comint--unquote&expand-filename):
18059 New funs, split from comint-match-partial-filename.
18060 (comint-dynamic-complete): Use completion-at-point.
18061 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18062
e8974c48
DA
180632011-03-24 Drew Adams <drew.adams@oracle.com>
18064
18065 * thingatpt.el: Support `defun'.
18066
def71b5e
LL
180672011-03-23 Leo Liu <sdl.web@gmail.com>
18068
cb5af48e
LL
18069 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18070
def71b5e
LL
18071 * help-mode.el (help-mode-finish): Tweak regexp.
18072
927c53e7
GM
180732011-03-23 Glenn Morris <rgm@gnu.org>
18074
18d05bed
GM
18075 * eshell/esh-opt.el (eshell-eval-using-options):
18076 Do not bind unused local variable `eshell-option-stub'.
18077
927c53e7
GM
18078 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18079
9d0da923
JB
180802011-03-22 Juanma Barranquero <lekktu@gmail.com>
18081
18082 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18083 keymap variable in `with-no-warnings' to avoid a warning when the
18084 keymap has been already `defconst'ed.
18085
4b978a67
LL
180862011-03-22 Leo Liu <sdl.web@gmail.com>
18087
18088 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18089 encode all chars in abbrevs; otherwise use emacs-mule or
18090 utf-8-emacs. (Bug#8308)
18091
5fd62452
JB
180922011-03-22 Juanma Barranquero <lekktu@gmail.com>
18093
0b1596c6
JB
18094 * simple.el (backward-delete-char-untabify):
18095 Avoid warning about using `delete-backward-char'.
18096
5fd62452
JB
18097 * image.el (image-type-file-name-regexps): Make it variable.
18098 `imagemagick-register-types' modifies it, and the user may want
18099 to add new extensions for known image types.
18100 (imagemagick-register-types): Throw error if not using ImageMagick.
18101
0b4e93f1
LL
181022011-03-22 Leo Liu <sdl.web@gmail.com>
18103
18104 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18105 located before rcirc-prompt-end-marker.
18106 (rcirc-complete): Error if point is not after rcirc prompt.
18107 Handle the case when table is nil.
9882e214 18108 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18109
fccee4ab
CY
181102011-03-22 Chong Yidong <cyd@stupidchicken.com>
18111
18112 * custom.el (custom--inhibit-theme-enable): Make it affect only
18113 custom-theme-set-variables and custom-theme-set-faces.
18114 (provide-theme): Ignore custom--inhibit-theme-enable.
18115 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18116 (custom-enabling-themes): Delete variable.
d86d2721
SM
18117 (enable-theme): Accept only loaded themes as arguments.
18118 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18119 (custom-enabled-themes): Forbid themes from setting this.
18120 Eliminate use of custom-enabling-themes.
18121 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18122
af896da6
LL
181232011-03-21 Leo Liu <sdl.web@gmail.com>
18124
18125 * ido.el (ido-read-internal): Add ido-selected to history instead
18126 of user input.
18127
78f64af0
SM
181282011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18129
18130 * subr.el (deferred-action-list, deferred-action-function):
18131 Mark obsolete.
18132
b16ac1ec
LL
181332011-03-21 Leo Liu <sdl.web@gmail.com>
18134
810f7698
LL
18135 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18136 change on 2011-02-13 (bug#8309).
18137
b16ac1ec
LL
18138 * minibuffer.el (read-file-name-function): Change default value.
18139 (read-file-name--defaults): Rename from read-file-name-defaults.
18140 (read-file-name-default): Rename from read-file-name.
18141 (read-file-name): Call read-file-name-function.
18142
4e05e67e
GM
181432011-03-21 Glenn Morris <rgm@gnu.org>
18144
18145 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18146 Doc fixes.
18147
4359915b
CY
181482011-03-21 Chong Yidong <cyd@stupidchicken.com>
18149
18150 * cus-theme.el: Add missing provide statement.
18151 (customize-create-theme): Extract theme value correctly.
18152 (custom-theme-visit-theme): Autoload.
18153 (customize-create-theme): Prompt before inserting default faces.
18154
1fe275ee
JB
181552011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18156
18157 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18158 units and musical notes.
18159
cd394be1 181602011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18161
18162 * ido.el (ido-read-internal): Use completing-read-default.
18163 (ido-completing-read): Fix compatibility with completing-read.
18164
7d476bde
CO
181652011-03-20 Christian Ohler <ohler@gnu.org>
18166
18167 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18168 (ert-delete-all-tests): Use `called-interactively-p' rather than
18169 `interactive-p'.
18170 (ert--make-xrefs-region): Respect END.
18171
fe0fb33e
CY
181722011-03-19 Chong Yidong <cyd@stupidchicken.com>
18173
ff854b0b
CY
18174 * dired-aux.el (dired-create-directory): Signal an error if the
18175 directory already exists (Bug#8246).
18176
fe0fb33e
CY
18177 * facemenu.el (list-colors-display): Call list-faces-display
18178 inside with-help-window.
18179 (list-colors-print): Use display property to align the final
18180 column, instead of checking window-width.
18181
576bce32
EZ
181822011-03-19 Eli Zaretskii <eliz@gnu.org>
18183
4d61f28d 18184 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18185 windows-nt systems.
18186 (emerge-protect-metachars): Quote correctly for ms-dos and
18187 windows-nt systems.
18188
89c41d68 181892011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18190
18191 * info.el (info-initialize): Replace all uses of `:' with
18192 path-separator for compatibility with non-Unix systems.
18193 Cache quoting of path-separator. (Bug#8258)
18194
b14e3e21 181952011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18196
18197 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18198 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18199 (mouse-avoidance-mode): Fix typos in docstrings.
18200
4525ce3e
CY
182012011-03-19 Chong Yidong <cyd@stupidchicken.com>
18202
18203 * startup.el (package-subdirectory-regexp): Move from package.el.
18204 Omit \\` and \\', and let callers add them.
18205
18206 * emacs-lisp/package.el (package-strip-version)
18207 (package-load-all-descriptors): Add \\` and \\' to
18208 package-subdirectory-regexp before using it.
18209 (package-untar-buffer): New arg DIR; ensure that file untars only
18210 into this expected directory. Remove superfluous delete-region.
18211 (package-unpack): Caller changed.
18212 (package-tar-file-info): Use package-subdirectory-regexp.
18213
a904a09a 182142011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18215
a904a09a
SM
18216 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18217 diff-mode-shared-map (bug#8284).
18218 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18219
182202011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18221
18222 * calendar/time-date.el (format-seconds): Use assoc instead of
18223 assoc-string, since assoc-string doesn't exist in XEmacs.
18224
171fc304
JB
182252011-03-17 Juanma Barranquero <lekktu@gmail.com>
18226
18227 * custom.el (custom-known-themes): Reflow docstring.
18228 (custom-theme-load-path): Fix typo in docstring.
18229 (load-theme): Fix typo in error message.
18230 (custom-available-themes, custom-variable-theme-value):
18231 Use `let', not `let*'.
18232
d71990a1
JB
182332011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18234
18235 * calc/README: Mention inclusion of musical notes.
18236
18237 * calc/calc-units.el (calc-lu-quant): Rename from
18238 `calc-logunits-quantity'.
18239 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18240 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18241 (calc-db): Rename from `calc-dblevel'.
18242 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18243 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18244 (calc-np): Rename from `calc-nplevel'.
18245 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18246 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18247 (calc-lu-plus): Rename from `calc-logunits-add'.
18248 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18249 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18250 (calc-lu-minus): Rename from `calc-logunits-sub'.
18251 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18252 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18253 (calc-lu-times): Rename from `calc-logunits-mul'.
18254 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18255 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18256 (calc-lu-divide): Rename from `calc-logunits-div'.
18257 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18258 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18259
18260 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18261 functions being autoloaded.
18262
18263 * calc/calc.el (calc-lu-power-reference): Rename from
18264 `calc-logunits-power-reference'.
18265 (calc-lu-field-reference): Rename from
18266 `calc-logunits-field-reference'.
18267
7a71b18d
GM
18268 * calc/calc-help.el (calc-l-prefix-help):
18269 Mention musical note functions.
d71990a1 18270
40c2934b
SM
182712011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18272
18273 * minibuffer.el (completion-all-sorted-completions):
18274 Use :completion-cycle-penalty text property if present.
18275
b0911414
KM
182762011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18277
18278 * allout.el (allout-yank-processing): Adjust for new rebulleting
18279 regime so bullet being yanked is used without prompting the user
18280 for a choice.
18281
8a05b668
JB
182822011-03-16 Juanma Barranquero <lekktu@gmail.com>
18283
18284 * startup.el (command-line): Warn the user that _emacs is deprecated.
18285
5ba5fb81
JB
182862011-03-16 Juanma Barranquero <lekktu@gmail.com>
18287
18288 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18289 (delphi-verbose, delphi-comment-face, delphi-string-face)
18290 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18291 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18292 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18293 (delphi-new-comment-line, delphi-font-lock-defaults)
18294 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18295 Fix typos in docstrings.
18296
2dab465b
KM
182972011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18298
5ba5fb81 18299 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18300 Invert the roles of character and string values for INSTEAD, so a
18301 string is used for the more common case of a defaulting prompt.
18302
0adf5618
SM
183032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18304
18305 * progmodes/ruby-mode.el (ruby-backward-sexp):
18306 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18307 * play/gamegrid.el (gamegrid-make-face):
18308 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18309 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18310 * notifications.el (notifications-notify):
18311 * net/xesam.el (xesam-search-engines):
18312 * net/quickurl.el (quickurl-list-insert):
18313 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18314
d72700e5
CY
183152011-03-15 Chong Yidong <cyd@stupidchicken.com>
18316
18317 * startup.el (command-line): Update package subdirectory regexp.
18318
49c5410a
SM
183192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18320
c6eee9aa
SM
18321 * allout.el (allout-abbreviate-flattened-numbering)
18322 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18323
49c5410a
SM
18324 * subr.el (read-char-choice): Only show the cursor after the prompt,
18325 not after the answer.
18326
047b2bb9
KR
183272011-03-15 Kevin Ryde <user42@zip.com.au>
18328
18329 * help-fns.el (variable-at-point): Skip leading quotes, if any
18330 (bug#8253).
18331
0a57d256
SM
183322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18333
18334 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18335 warning message.
18336
77c992bc
MA
183372011-03-14 Michael Albinus <michael.albinus@gmx.de>
18338
18339 * shell.el (shell): When called interactively, offer to change the
18340 shell file name on remote hosts.
18341
eebc475d
TZ
183422011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18343
18344 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18345 integration for LDAP parameters. The host, base, user or binddn,
18346 and secret tokens can be specified in a netrc file, for instance.
18347 This is optional because an `auth-source' parameter must be
18348 specified in the search attributes.
18349
9d05d1ba
JB
183502011-03-13 Juanma Barranquero <lekktu@gmail.com>
18351
18352 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18353
09d9db2c
GM
183542011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18355
18356 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18357 into declaration. Remove redundant and harmful binding.
18358
183592011-03-12 Eli Zaretskii <eliz@gnu.org>
18360
18361 * files.el (file-ownership-preserved-p): Pass `integer' as an
18362 explicit 2nd argument to `file-attributes'. If the file's owner
18363 is the Administrators group on Windows, and the current user is
18364 Administrator, consider that a match.
18365
18366 * server.el (server-ensure-safe-dir): Consider server directory
18367 safe on MS-Windows if its owner is the Administrators group while
18368 the current Emacs user is Administrator. Use `=' to compare
18369 numerical UIDs, since they could be integers or floats.
18370
219bd536
JB
183712011-03-12 Juanma Barranquero <lekktu@gmail.com>
18372
18373 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18374
f3afd36b
MA
183752011-03-12 Michael Albinus <michael.albinus@gmx.de>
18376
18377 Sync with Tramp 2.2.1.
18378
18379 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18380
18381 * net/trampver.el: Update release number.
18382
3aaaa6f1
SM
183832011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18384
94642599
SM
18385 * progmodes/compile.el (compilation--previous-directory): Fix up
18386 various nil/dead-marker mismatches (bug#8014).
18387 (compilation-directory-properties, compilation-error-properties):
18388 Don't call it at a position past the one we're about to change.
18389
3aaaa6f1
SM
18390 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18391 Disable obsolescence warnings in the file that declares it.
18392
14239447
KM
183932011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18394
099c39a4
JB
18395 * allout-widgets.el (allout-widgets-tally):
18396 Initialize allout-widgets-tally as a hash table rather than nil to
18397 prevent mode-line redisplay warnings. Also, clarify the module
18398 description and fix a comment typo.
14239447 18399
135e287c
JB
184002011-03-11 Juanma Barranquero <lekktu@gmail.com>
18401
18402 * help-fns.el (describe-variable): Don't complete keywords.
18403 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18404
ffbf300e
CY
184052011-03-10 Chong Yidong <cyd@stupidchicken.com>
18406
ba08b241
CY
18407 * emacs-lisp/package.el (package-version-join): Impose a standard
18408 string representation for pre/alpha/beta version lists.
18409 (package-unpack-single): Standardize the directory name by passing
18410 it through package-version-join.
18411 (package-strip-rcs-id): Accept any version string that does not
18412 signal an error in version-to-list.
ffbf300e 18413
f346fd6b
MA
184142011-03-10 Michael Albinus <michael.albinus@gmx.de>
18415
18416 * simple.el (delete-trailing-whitespace): Return nil for the
18417 benefit of `write-file-functions'.
18418
ccb55d27
GM
184192011-03-10 Glenn Morris <rgm@gnu.org>
18420
5ceaac0c
GM
18421 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18422
02da65ff
GM
18423 * vc/vc-git.el (vc-git-program): New option.
18424 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18425 (vc-git--call): Use it.
18426
b2f603cc
GM
18427 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18428
5772caab
GM
18429 * cus-edit.el (Custom-newline): If no button at point, look
18430 for a subgroup button at start-of-line. (Bug#2298)
18431
ccb55d27
GM
18432 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18433
ec6ecaed
JD
184342011-03-10 Julien Danjou <julien@danjou.info>
18435
18436 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18437 `cursor-type' is nil.
18438
9d5aa01d
JB
184392011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18440
18441 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18442
b6a5875b
KM
184432011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18444
7a71b18d 18445 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18446 preserves the existing header prefix, rebulleting it if necessary,
18447 rather than replacing it. This is necessary for proper operation
18448 of cooperative addons like allout-widgets.
1154d12e
JB
18449 (allout-make-topic-prefix, allout-rebullet-heading):
18450 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18451 value as alternate bullet to be used, instead of prompting the user
18452 for a bullet character.
b6a5875b 18453
ee545c35
MA
184542011-03-09 Michael Albinus <michael.albinus@gmx.de>
18455
d86d2721
SM
18456 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18457 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18458 `tramp-default-port'.
18459
c47971d7
DD
184602011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18461
18462 * net/rcirc.el (rcirc-handler-001): Remove useless
18463 with-rcirc-process-buffer.
18464 (rcirc-check-auth-status): Swap arguments to string-match.
18465
13522cb4
GM
184662011-03-09 Glenn Morris <rgm@gnu.org>
18467
0be6f4f1
GM
18468 * shell.el (shell-mode):
18469 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18470
13522cb4
GM
18471 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18472 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18473
515de2e3
CY
184742011-03-08 Chong Yidong <cyd@stupidchicken.com>
18475
18476 * emacs-lisp/package.el (package-refresh-contents)
18477 (package-menu-execute): Use condition-case-no-debug.
18478
b511b994
MA
184792011-03-08 Michael Albinus <michael.albinus@gmx.de>
18480
18481 * simple.el (shell-command-to-string): Use `process-file'.
18482
18483 * emacs-lisp/package.el (package-tar-file-info): Handle also
18484 remote files.
18485
d86d2721
SM
18486 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18487 Use `equal' for upload base check.
b511b994 18488
25bbfb31
AM
184892011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18490
18491 * textmodes/texinfo.el (texinfo-environments):
18492 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18493
be996521
GM
184942011-03-08 Glenn Morris <rgm@gnu.org>
18495
e9c8529f
GM
18496 * cus-start.el (cursor-in-non-selected-windows):
18497 Fix :set quoting oddness. (Bug#8192)
18498
be996521
GM
18499 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18500 in some setf expressions. (Bug#2159)
18501
2bb5649e
CY
185022011-03-08 Chong Yidong <cyd@stupidchicken.com>
18503
18504 * custom.el (custom-available-themes): Return themes in
18505 alphabetical order.
18506
33383987 18507See ChangeLog.15 for earlier changes.
e3d51b27
MR
18508
18509;; Local Variables:
18510;; coding: utf-8
e3d51b27
MR
18511;; End:
18512
acaf905b 18513 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18514
18515 This file is part of GNU Emacs.
18516
18517 GNU Emacs is free software: you can redistribute it and/or modify
18518 it under the terms of the GNU General Public License as published by
18519 the Free Software Foundation, either version 3 of the License, or
18520 (at your option) any later version.
18521
18522 GNU Emacs is distributed in the hope that it will be useful,
18523 but WITHOUT ANY WARRANTY; without even the implied warranty of
18524 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18525 GNU General Public License for more details.
18526
18527 You should have received a copy of the GNU General Public License
18528 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.