lisp/custom.el (custom-theme-load-confirm): Remove unneeded assignment.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
399a361b
JB
12012-09-10 Juanma Barranquero <lekktu@gmail.com>
2
3 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4
0780c517
DN
52012-09-10 Dan Nicolaescu <dann@gnu.org>
6
7 * vc/diff-mode.el (diff-mode-menu): Bind
8 diff-remove-trailing-whitespace.
9
9b851e25
SM
102012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
13 (emacs-lisp-byte-code-comment)
14 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
15 New functions.
16 (eval-sexp-add-defvars): Don't skip defvars in column >0.
17 (eval-defun-2): Remove bogus interactive spec.
18 (lisp-indent-line): Remove redundant whole-exp code, now done in
19 indent-according-to-mode.
20 (save-match-data): Remove redundant indent data.
21
22 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
23 Use `declare'.
24
3231d532
JL
252012-09-09 Juri Linkov <juri@jurta.org>
26
27 * replace.el (replace-regexp-lax-whitespace): New defcustom.
28 (replace-lax-whitespace, query-replace-regexp)
29 (query-replace-regexp-eval, replace-regexp): Doc fix.
30 (perform-replace, replace-highlight): Let-bind
31 isearch-lax-whitespace to replace-lax-whitespace and
32 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
33
34 * isearch.el (isearch-query-replace): Let-bind
35 replace-lax-whitespace to isearch-lax-whitespace and
36 replace-regexp-lax-whitespace to
37 isearch-regexp-lax-whitespace. (Bug#10885)
38
70fe8236
SM
392012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
42
8ed43f15
AM
432012-09-09 Alan Mackenzie <acm@muc.de>
44
70fe8236
SM
45 * progmodes/cc-engine.el (c-state-cache-init):
46 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
47 (c-record-parse-state-state):
48 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 49
bfabf70a
AS
502012-09-09 Andreas Schwab <schwab@linux-m68k.org>
51
52 * register.el (register-separator): Rename from
53 separator-register. All uses changed. Doc fix.
54 (register): Fix version.
55
011474aa
CY
562012-09-09 Chong Yidong <cyd@gnu.org>
57
58 * replace.el (query-replace-map): Bind four new symbols for
59 requesting window scrolling.
60
61 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
62 query-replace-map (Bug#8948).
63
64 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
65
66 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
67 since they are now in query-replace-map.
68
69 * window.el (scroll-other-window-down): Make the arg optional.
70
a8b7cd8d
CY
712012-09-09 Chong Yidong <cyd@gnu.org>
72
73 * files.el (hack-local-variables-confirm): Use quit-window to kill
74 the *Local Variables* buffer.
75
c3268831
DG
762012-09-08 Dmitry Gutov <dgutov@yandex.ru>
77
78 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
79 not just expect to be at its beginning. Adjust callees.
80 Succeed when do-end block has no space before the pipe character.
81 (ruby-brace-to-do-end): When the original block is one-liner,
82 convert to multiline. Reindent the result.
83
0979429b
J
842012-09-08 Jambunathan K <kjambunathan@gmail.com>
85
86 * register.el (register): New group.
87 (register-separator): New user option.
88 (increment-register): Route it to `append-to-register', if
89 register contains text. Implication is that `C-x r +' can now be
90 used for appending to a text register (bug#12217).
91 (append-to-register, prepend-to-register): Add separator based on
92 `register-separator.
93
ace2989a
AM
942012-09-08 Alan Mackenzie <acm@muc.de>
95
96 AWK Mode: make auto-newline work when there's "==" in the pattern.
97 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
98 correctly.
0979429b
J
99 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
100 Test more rigorously for "=" token.
ace2989a 101
616c6c36
DG
1022012-09-08 Dmitry Gutov <dgutov@yandex.ru>
103
0979429b
J
104 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
105 Only fail when reached LIMIT.
616c6c36 106
35d98877
CY
1072012-09-08 Chong Yidong <cyd@gnu.org>
108
109 * dired.el (dired-mode-map): Don't bind M-=.
110
111 * dired-aux.el (dired-diff): Use backup file as default.
112
1715f2db
DA
1132012-09-08 Drew Adams <drew.adams@oracle.com>
114
115 * subr.el (add-to-history): Fix delete usage (Bug#12314).
116
6dcef6ec
CY
1172012-09-08 Chong Yidong <cyd@gnu.org>
118
119 * subr.el (syntax-after, syntax-class): Doc fix.
120
fa2bcf43
MR
1212012-09-08 Martin Rudalics <rudalics@gmx.at>
122
123 * window.el (display-buffer-in-previous-window): New buffer
124 display action function.
125
126 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
127 (debugger-previous-window): New variable.
128 (debug): Rewrite using display-buffer-in-previous-window,
129 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
130
daac280a
SM
1312012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
134
9dd40b00
MM
1352012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
136
daac280a
SM
137 * progmodes/python.el (python-shell-send-string):
138 When default-directory is remote, create temp file on remote
9dd40b00
MM
139 filesystem.
140 (python-shell-send-file): When file is remote, pass local view of
141 file paths to remote Python interpreter. (Bug#12340)
142
145823ec
CY
1432012-09-07 Chong Yidong <cyd@gnu.org>
144
cee2e90d
CY
145 * window.el (switch-to-buffer): Doc fix (Bug#12181).
146
0d7eb2ea
CY
147 * files.el (after-find-file): Don't fail on a read-only buffer if
148 require-final-newline is `visit' or `visit-save' (Bug#11156).
149
145823ec
CY
150 * subr.el (read-char-choice): Allow quitting via ESC ESC.
151
daac280a
SM
152 * userlock.el (ask-user-about-supersession-threat):
153 Use read-char-choice (Bug#12093).
145823ec 154
74c582e6
CY
1552012-09-07 Chong Yidong <cyd@gnu.org>
156
e5c2edf7
CY
157 * subr.el (buffer-narrowed-p): New function.
158
159 * ses.el (ses-widen):
160 * simple.el (count-words--buffer-message):
161 * net/browse-url.el (browse-url-of-buffer): Use it
162
163 * simple.el (count-words-region): Don't signal an error if there
164 is a non-nil prefix arg and the mark is not set.
c640e87d 165
74c582e6
CY
166 * help.el (describe-key-briefly): Allow the message to be seen
167 when invoked from the minibuffer (Bug#7014).
168
d81ceaaf
DG
1692012-09-07 Dmitry Gutov <dgutov@yandex.ru>
170
171 * progmodes/ruby-mode.el (ruby-end-of-defun)
172 (ruby-beginning-of-defun): Simplify, allow indentation before
173 block beginning and end keywords.
8f06acce
DG
174 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
175 (ruby-end-of-defun): Expect that the point is at the beginning of
176 the defun.
d81ceaaf 177
d458ef98
SM
1782012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
181 (bug#12367).
182 (cl--make-usage-args): Strip _ from argument names.
183
20367d28
RS
1842012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
185
186 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
187 obsolete alias speedbar-key-map.
188 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
189 (vhdl-index-menu-init): Don't use obsolete variable
190 font-lock-maximum-size.
191
3424a4f6
CY
1922012-09-06 Chong Yidong <cyd@gnu.org>
193
194 * frame.el (window-system-version): Mark as obsolete.
195
fcbfbdea
CY
196 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
197 of obsolete variable speedbar-key-map.
198
826b3235
JL
1992012-09-06 Juri Linkov <juri@jurta.org>
200
201 * replace.el (replace-lax-whitespace): New defcustom.
202 (query-replace, query-replace-regexp, query-replace-regexp-eval)
203 (replace-string, replace-regexp): Mention it in docstrings.
204 (perform-replace, replace-highlight): Let-bind
205 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
206 to the values of replace-lax-whitespace and regexp-flag.
207 Don't let-bind search-whitespace-regexp. (Bug#10885)
208
209 * isearch.el (isearch-query-replace): Let-bind
210 replace-lax-whitespace instead of let-binding
211 replace-search-function and replace-re-search-function.
212 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
213 and isearch-regexp-lax-whitespace to lazy-highlight variables.
214 (isearch-toggle-symbol): Set isearch-regexp to nil
215 in isearch-word mode (like in isearch-toggle-word).
216
1ec5e41d
JL
2172012-09-06 Juri Linkov <juri@jurta.org>
218
219 * replace.el (replace-search-function)
220 (replace-re-search-function): Set default values to nil.
221 (perform-replace): Let-bind isearch-related variables based on
222 replace-related values, call `isearch-search-fun' and let-bind
223 the result to `search-function'. Remove code that sets
224 `search-function' and `search-string' separately for
225 `delimited-flag'.
226 (replace-highlight): Add new argument `delimited-flag' and
227 rename other arguments to the names used in `perform-replace'.
228 Let-bind `isearch-word' to the argument `delimited-flag'.
229 (Bug#10885, bug#10887)
230
0ba2d4b6
DG
2312012-09-07 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
234 ruby-beginning-of-indent, simplify, allow all keywords to have
235 indentation before them.
236 (ruby-beginning-of-indent): Adjust for above. Search until the
237 found point is not inside a string or comment.
238 (ruby-font-lock-keywords): Allow symbols to start with "@"
239 character, give them higher priority than variables.
240 (ruby-syntax-propertize-function)
241 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
242 matchers. Expression expansions are not comments when inside a
243 string, and there comment syntax status is irrelevant.
244 (ruby-match-expression-expansion): New function. Check that
245 expression expansion is inside a string, and it's not escaped.
246 (ruby-font-lock-keywords): Use it.
247
ef654460
MR
2482012-09-05 Martin Rudalics <rudalics@gmx.at>
249
250 * help.el (temp-buffer-max-height): New default value.
251 (temp-buffer-resize-frames): New option.
252 (resize-temp-buffer-window): Optionally resize frame.
253
254 * window.el (fit-frame-to-buffer-bottom-margin): New option.
255 (fit-frame-to-buffer): New function.
256
7e570fbf 2572012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
258
259 * emulation/cua-rect.el (cua--init-rectangles):
260 * textmodes/picture.el (picture-mode-map):
261 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
262 like forward-char and backward-char. (Bug#12317)
263
7e570fbf 2642012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
265
266 * progmodes/flymake.el (flymake-warning-re): New variable.
267 (flymake-parse-line): Use it.
268
7e570fbf 2692012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
270
271 * calendar/holidays.el (holiday-christian-holidays):
272 Rename an entry. (Bug#12289)
273
7e570fbf 2742012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
275
276 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
277 (bug#12222).
278
972debf2
SM
2792012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * loadup.el: Load macroexp. Remove hack.
282 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
283 (macroexp--expand-all): Use it to get better warnings.
284 (macroexp--backtrace, macroexp--trim-backtrace-frame)
285 (internal-macroexpand-for-load): New functions.
286 (macroexp--pending-eager-loads): New var.
287 (emacs-startup-hook): New hack to replace one in loadup.el.
288 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
289 (cl--compiler-macro-cXXr): Move to top, before they can be used.
290 (cl-psetf): Simplify.
291 (cl-defstruct): Add indent rule.
292
8ce192e3
LI
2932012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
294
295 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
296 over `user-mail-address' for the SMTP MAIL FROM envelope.
297 (smtpmail-via-smtp): Ditto.
298
6578b4d8
DG
2992012-09-04 Dmitry Gutov <dgutov@yandex.ru>
300
301 * progmodes/ruby-mode.el: Clean up keybindings.
302 (ruby-mode-map): Don't bind ruby-electric-brace,
303 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
304 backward-kill-word, reindent-then-newline-and-indent.
305 (ruby-mark-defun): Remove.
306 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
307 (ruby-mode): Set local beginning-of-defun-function and
308 end-of-defun-function values.
309
c5e28e39
MR
3102012-09-03 Martin Rudalics <rudalics@gmx.at>
311
312 * window.el (temp-buffer-window-setup-hook)
313 (temp-buffer-window-show-hook): New hooks.
314 (temp-buffer-window-setup, temp-buffer-window-show)
315 (with-temp-buffer-window): New functions.
972debf2
SM
316 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
317 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
318
319 * help.el (temp-buffer-resize-mode): Fix doc-string.
320 (resize-temp-buffer-window): New optional argument WINDOW.
321
322 * files.el (recover-file, save-buffers-kill-emacs):
323 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
324
73406194
MA
3252012-09-02 Michael Albinus <michael.albinus@gmx.de>
326
327 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
328 remote definition of `default-directory', ensure we can connect.
329
63dd1c6f
JL
3302012-09-02 Juri Linkov <juri@jurta.org>
331
332 Toggle whitespace matching mode with M-s SPC.
333 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
334
335 * isearch.el (search-whitespace-regexp): Doc fix.
336 Remove cons cell customization.
337 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
338 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
339 New variables.
340 (isearch-forward, isearch-forward-regexp): Doc fix.
341 (isearch-toggle-lax-whitespace): New command.
342 (search-forward-lax-whitespace, search-backward-lax-whitespace)
343 (re-search-forward-lax-whitespace)
344 (re-search-backward-lax-whitespace): New functions.
345 (isearch-whitespace-regexp): Remove function.
346 (isearch-query-replace): Let-bind replace-search-function and
347 replace-re-search-function.
348 (isearch-occur): Let-bind search-spaces-regexp according to the
349 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
350 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
351 condition for C-q SPC.
352 (isearch-search-fun-default): Use new functions mentioned above.
353 (isearch-search-forward, isearch-search-backward): Remove functions.
354 (isearch-search): Don't let-bind search-spaces-regexp.
355 (isearch-lazy-highlight-space-regexp): Remove variable.
356 (isearch-lazy-highlight-lax-whitespace)
357 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
358 (isearch-lazy-highlight-new-loop): Use them.
359 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
360
af7dda05
CY
3612012-09-02 Chong Yidong <cyd@gnu.org>
362
363 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
364
d67d3afd
GM
3652012-09-02 Glenn Morris <rgm@gnu.org>
366
367 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
368
69678719
GM
3692012-09-01 Glenn Morris <rgm@gnu.org>
370
371 * term.el: Tidy up menu definitions.
372 (term-mode-map): Use easymenu for In/Out, Complete menus.
373 (term-pager-break-map): Initialize in the defvar.
374 (term-terminal-menu, term-signals-menu): Define with easymenu.
375 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
376 (term-pager-menu): New, extracted from term-process-pager.
377 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
378 (term-update-mode-line): Propertize line/char and page items.
379 (term-process-pager): Move keymap initialization elsewhere.
380
78dd6ab1
MR
3812012-09-01 Martin Rudalics <rudalics@gmx.at>
382
383 * window.el (switch-to-prev-buffer): Handle additional values of
384 BURY-OR-KILL argument. Don't switch in minibuffer window.
385 (switch-to-next-buffer): Don't switch in minibuffer window.
386 (quit-restore-window): New function based on quit-window.
387 Handle additional values of former KILL argument.
388 (quit-window): Call quit-restore-window with appropriate
389 interpretation of KILL argument.
390 (display-buffer-below-selected): New buffer display action
391 function.
392
3d10e134
SM
3932012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * minibuffer.el (completion-at-point-functions): Complete docstring
396 (bug#12254).
397
0e23ef9d
PE
3982012-09-01 Paul Eggert <eggert@cs.ucla.edu>
399
400 Better seed support for (random).
401 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
402 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
403 * play/mpuz.el, play/tetris.el, play/zone.el:
404 * calc/calc-comb.el (math-init-random-base):
405 * play/blackbox.el (bb-init-board):
406 * play/life.el (life):
407 * server.el (server-use-tcp):
408 * type-break.el (type-break):
409 Remove unnecessary call to (random t).
410 * net/sasl.el (sasl-unique-id-function):
411 Change (random t) to (random), now that the latter is more random.
412 * play/life.el (life-initialized): Remove no-longer-needed var.
413
862382df
MR
4142012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
415
416 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
417 Consider frame's buffer predicate when choosing the buffer.
418 (Bug#12081)
419
262a66e1
RS
4202012-08-30 Richard Stallman <rms@gnu.org>
421
422 * simple.el (special-mode-map): Delete binding for `z'.
423
f17e1d00
AS
4242012-08-30 Andreas Schwab <schwab@linux-m68k.org>
425
426 * progmodes/compile.el (compilation-always-kill): Doc fix.
427
24777832
CY
4282012-08-30 Chong Yidong <cyd@gnu.org>
429
430 * window.el (display-buffer-reuse-frames): Make the obsolescence
431 message more informative.
432
69ba1f04
GM
4332012-08-30 Glenn Morris <rgm@gnu.org>
434
435 * paren.el (show-paren-delay):
436 Add a :set function. Doc fix. (Bug#12297)
437
f0019ede
MB
4382012-08-29 Martin Blais <blais@furius.ca> (tiny change)
439
440 * progmodes/compile.el (compilation-always-kill): New var.
441 (compilation-start): Use it.
442
35e62fc9
SM
4432012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
444
af070a1c
SM
445 * simple.el (read-only-mode): Move from files.el for bootstrapping.
446 * files.el (read-only-mode): Move to simple.el.
447
35e62fc9
SM
448 * files.el (read-only-mode): New minor mode.
449 (toggle-read-only): Use it and mark obsolete.
450 (find-file--read-only):
451 * vc/vc.el (vc-next-action, vc-checkout):
452 * vc/vc-cvs.el (vc-cvs-checkout):
453 * obsolete/vc-mcvs.el (vc-mcvs-update):
454 * ffap.el (ffap--toggle-read-only): Update callers.
455
c2c43c23
MA
4562012-08-29 Michael Albinus <michael.albinus@gmx.de>
457
458 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
459 remote shell scripts.
460 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
461
462 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
463 "/usr/local/sbin".
464
9fba804b
SM
4652012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
468
eada0861 4692012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 470
806f0cc7
LL
471 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
472 completion-at-point. (Bug#12220)
473
3bb213b9
LL
474 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
475
22ab32ef
LL
476 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
477
eada0861 4782012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 479
19c17fc1
CY
480 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
481 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 482
eada0861 4832012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
484
485 * progmodes/hideif.el (hif-compress-define-list):
486 Fix typo. (Bug#11951)
487
eada0861 4882012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
489
490 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
491 buffer local setting.
492
27d6c5a8
LL
493 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
494 rcirc-encode-coding-system.
495
eada0861 4962012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
497
498 * net/rcirc.el (rcirc-split-message): New function.
499 (rcirc-send-message): Use it. (Bug#12051)
500
d44688e4
JL
5012012-08-28 Juri Linkov <juri@jurta.org>
502
503 * info.el (Info-fontify-node): Hide empty lines at the end of
504 the node. (Bug#12272)
505
34f10d41
MR
5062012-08-27 Drew Adams <drew.adams@oracle.com>
507
508 * dired.el (dired-pop-to-buffer): Make window start at beginning
509 of buffer (Bug#12281).
510
77f1f99c
CY
5112012-08-26 Chong Yidong <cyd@gnu.org>
512
513 * window.el (special-display-regexps, special-display-frame-alist)
514 (special-display-buffer-names, special-display-function)
515 (display-buffer-reuse-frames): Mark as obsolete.
516
517 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
518
519 * help.el (help-print-return-message): Don't treat
520 display-buffer-reuse-frames specially.
521
d97af5a0
CY
5222012-08-26 Chong Yidong <cyd@gnu.org>
523
9fba804b
SM
524 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
525 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
526 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
527 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
528 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
529 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
530 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
531 the functions directly with gdb-display-buffer-other-frame-action.
532 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
533 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
534 (gdb-display-stack-buffer, gdb-display-locals-buffer)
535 (gdb-display-registers-buffer): Define directly.
536 (def-gdb-display-buffer): Macro deleted.
537 (gdb-display-buffer): Remove second and third args, callers don't
538 use them. Defer to the default display-buffer behavior, apart
539 from making windows dedicated.
540 (gdb-setup-windows): Don't call display-buffer unnecessarily.
541
542 * progmodes/gud.el (gud-display-line): Just use display-buffer.
543
544 * window.el (display-buffer-pop-up-frame): Handle a
545 pop-up-frame-parameters alist entry.
546 (display-buffer): Document it.
547
dd7ffad6
CY
5482012-08-26 Chong Yidong <cyd@gnu.org>
549
550 * isearch.el (search-whitespace-regexp): Make string and nil
551 values apply to both ordinary and regexp search. Allow a cons
552 cell value to distinguish between the two.
553 (isearch-whitespace-regexp, isearch-search-forward)
554 (isearch-search-backward): New functions.
555 (isearch-occur, isearch-search-fun-default, isearch-search)
556 (isearch-lazy-highlight-new-loop): Use them.
557 (isearch-forward, isearch-forward-regexp): Doc fix.
558
4c47bd1e
CY
5592012-08-26 Chong Yidong <cyd@gnu.org>
560
561 * faces.el (help-argument-name): Always inherit from italic
562 (Bug#12213).
563
9aba119d
MR
5642012-08-25 Martin Rudalics <rudalics@gmx.at>
565
566 * window.el (window--even-window-heights): Even heights when
567 WINDOW and the selected window form a vertical combination.
568 (display-buffer-use-some-window): Provide that window used gets
569 sized back by quit-window. (Bug#11880) and (Bug#12091)
570
ca5256ad
PE
5712012-08-24 Paul Eggert <eggert@cs.ucla.edu>
572
573 Fix file time stamp problem with bzr and CVS (Bug#12001).
574 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
575 in the file's time stamp, since the version control system loses
576 that information.
577
d1c0d176
JL
5782012-08-22 Juri Linkov <juri@jurta.org>
579
580 * info.el (Info-fontify-node): Hide the suffix of the
581 Info file name in the header line. (Bug#12187)
582
141562ff
GM
5832012-08-22 Glenn Morris <rgm@gnu.org>
584
585 * calendar/cal-tex.el (cal-tex-weekly-common):
586 Restore leading blank page.
587
61a48e19 5882012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
589
590 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
591 the region under `shift-select-mode'. (Bug#12231)
592
5932012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
594
595 * progmodes/executable.el (executable-prefix): Set to "#!" instead
596 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
597 gives details on why the space is never needed.
598
ea95074e
MR
5992012-08-22 Martin Rudalics <rudalics@gmx.at>
600
9fba804b
SM
601 * window.el (walk-window-tree, window-with-parameter):
602 New optional argument MINIBUF to control whether these functions
ea95074e
MR
603 should run on the minibuffer window.
604 (window-at-side-list): Don't operate on minibuffer window.
605 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
606 (window--size-ignore): Rename to window--size-ignore-p.
607 Update callers.
caceae25
MR
608 (display-buffer-in-atom-window, window--major-non-side-window)
609 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
610 (delete-side-window, display-buffer-in-side-window):
611 New functions.
caceae25
MR
612 (window--side-check, window-deletable-p, delete-window)
613 (delete-other-windows, split-window): Handle side windows and
614 atomic windows appropriately.
615 (window--display-buffer): Call display-buffer-record-window also
616 when the window buffer did not change.
ea95074e 617
80a51fa0
CS
6182012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
619
620 * help-fns.el (help-fns--key-bindings):
621 Abbreviate non-symbol remap targets. (Bug#12174)
622
fbb6300b
MR
6232012-08-22 Martin Rudalics <rudalics@gmx.at>
624
625 * dired.el (dired-mark-remembered): Don't clobber point.
626 (Bug#11795)
627
2b2c0794
GM
6282012-08-22 Glenn Morris <rgm@gnu.org>
629
630 * progmodes/bug-reference.el (bug-reference): New custom group.
631 (bug-reference-bug-regexp): Make it a defcustom.
632
37219830
DU
6332012-08-22 Daiki Ueno <ueno@unixuser.org>
634
635 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
636 (js-paren-indent-offset, js-square-indent-offset)
637 (js-curly-indent-offset): Add :safe (Bug#12257).
638
94e0e559
EC
6392012-08-22 Edward O'Connor <hober0@gmail.com>
640
641 * json.el (json-key-format): Add error properties.
642 (json-encode-key): New function.
643 (json-encode-hash-table, json-encode-alist, json-encode-plist):
644 Use json-encode-key.
645
da485f5e
GM
6462012-08-22 Glenn Morris <rgm@gnu.org>
647
648 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
649 (cal-tex-leftday, cal-tex-rightday): Remove functions.
650 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
651 Update for above change.
652
c6cc78b8
AS
6532012-08-21 Andreas Schwab <schwab@linux-m68k.org>
654
655 * cus-face.el (custom-face-attributes): Fix customize type for the
656 :underline attribute. (Bug#11805)
657
5481664a
MR
6582012-08-21 Martin Rudalics <rudalics@gmx.at>
659
660 * window.el (window-point-1, set-window-point-1): Remove.
661 (window-in-direction, record-window-buffer)
662 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
663 (window--state-get-1, display-buffer-record-window):
664 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
665 window-point and set-window-point respectively.
666
6d74698e
GM
6672012-08-21 Glenn Morris <rgm@gnu.org>
668
b7fa2691
GM
669 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
670 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
671 Use it.
672
52f56d5a
GM
673 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
674 (cal-tex-shortday): New function.
675 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
676 (cal-tex-cursor-filofax-daily): Use the above.
677
9f1ee09e
GM
678 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
679 New functions.
680 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
681 (cal-tex-cursor-filofax-week): Use them.
682
79858159
GM
683 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
684 New constants.
685 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
686 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
687
d346b2b4
GM
688 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
689 (cal-tex-end-document): Don't rely on buffer name.
690
b2403709
GM
691 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
692 Use cal-tex-vspace.
693 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
694 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
695 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
696 Use cal-tex-arg.
b2403709 697
1cebb5c0
GM
698 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
699 (cal-tex-cursor-week, cal-tex-cursor-week2)
700 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
701 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
702 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
703 (cal-tex-insert-preamble, cal-tex-b-document)
704 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
705 Improve cal-tex-cmd usage.
706
c68cd5d4
GM
707 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
708 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
709 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
710 (cal-tex-weekly-paper): New function.
711 (cal-tex-cursor-week, cal-tex-cursor-week2)
712 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
713 (cal-tex-cursor-day): Use it.
714
9dca4801
GM
715 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
716 (cal-tex-cursor-filofax-week): Remove leading blank page.
717
1941e134
GM
718 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
719 Add autoload cookie. For now at least, don't use color, since
720 no other cal-tex function does.
721
6d74698e
GM
722 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
723 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
724 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
725
64cde199
JL
7262012-08-21 Juri Linkov <juri@jurta.org>
727
728 * info.el (Info-file-attributes): New variable.
729 (info-insert-file-contents): Add file attributes to
730 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
731 `Info-toc-nodes' when previous modtime of the Info file is less
732 than new modtime.
733 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
734 of info.el. (Bug#12230)
735
32757648
GM
7362012-08-20 Glenn Morris <rgm@gnu.org>
737
738 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
739 * calendar/holidays.el (calendar-holiday-list):
740 Report errors with display-warning rather than beep'n'sleep.
741
a32fbbcf
MA
7422012-08-20 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/tramp.el (tramp-accept-process-output): Accept only output
745 from PROC. Otherwise, process filters and sentinels might be
746 confused. (Bug#12145)
747
a05731a0
CY
7482012-08-20 Chong Yidong <cyd@gnu.org>
749
750 * descr-text.el (describe-text-properties-1): Use overlays-in to
751 report on empty overlays (Bug#3322).
752
36e8d1eb
GM
7532012-08-20 Glenn Morris <rgm@gnu.org>
754
3d300447
GM
755 * mail/rmailout.el (rmail-output-read-file-name):
756 Trap and report errors in rmail-output-file-alist elements.
757
36e8d1eb
GM
758 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
759 since most non-font-lock faces are not also variables).
760
b96e5814
ER
7612012-08-20 Edward Reingold <reingold@iit.edu>
762
763 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
764 New function. (Bug12160)
765
7cef3569
GM
7662012-08-19 Glenn Morris <rgm@gnu.org>
767
768 * mail/rmailout.el (rmail-output-read-file-name):
769 Fix previous change (when the alist is nil or does not match).
770
17975d7f
CY
7712012-08-19 Chong Yidong <cyd@gnu.org>
772
773 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
774 (Bug#12228).
775
2170b1bd
CY
7762012-08-18 Chong Yidong <cyd@gnu.org>
777
778 * simple.el (yank-handled-properties): New defcustom.
779 (yank-excluded-properties): Add font-lock-face and category.
780 (yank): Doc fix.
781
9fba804b
SM
782 * subr.el (remove-yank-excluded-properties):
783 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
784 and category is now done this way, instead of being hard-coded.
785 (insert-for-yank-1): Remove font-lock-face handling.
786 (yank-handle-font-lock-face-property)
787 (yank-handle-category-property): New function.
788
ee218151
GM
7892012-08-17 Glenn Morris <rgm@gnu.org>
790
791 * mail/rmailout.el (rmail-output-read-file-name):
792 Check rmail-output-file-alist against the full message body
793 in the correct rmail buffer. (Bug#12214)
794
4a6bc3fd
MA
7952012-08-17 Michael Albinus <michael.albinus@gmx.de>
796
9fba804b
SM
797 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
798 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 799
383dcbf9
CY
8002012-08-17 Chong Yidong <cyd@gnu.org>
801
802 * mouse.el (mouse-appearance-menu): If x-select-font returns a
803 font spec, set the font directly (Bug#3228).
804
998c4a6a
MR
8052012-08-17 Martin Rudalics <rudalics@gmx.at>
806
807 * window.el (delete-window): Fix last fix.
808
52162052
MR
8092012-08-16 Martin Rudalics <rudalics@gmx.at>
810
811 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
812 (window-child, window-child-count, window-last-child)
813 (window-normalize-window, window-combined-p)
814 (window-combinations, window-atom-root, window-min-size)
815 (window-sizable, window-sizable-p, window-size-fixed-p)
816 (window-min-delta, window-max-delta, window--resizable)
817 (window--resizable-p, window-resizable, window-total-size)
818 (window-full-height-p, window-full-width-p, window-body-size)
819 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
820 (minimize-window, window-deletable-p, delete-window)
821 (delete-other-windows, set-window-buffer-start-and-point)
822 (next-buffer, previous-buffer, split-window, balance-windows-2)
823 (set-window-text-height, window-buffer-height)
824 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
825 (truncated-partial-width-window-p): Minor code adjustments.
826 In doc-strings state whether the argument window has to denote a
85c2386b 827 live, valid or any window.
52162052 828
1c308380
PS
8292012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
830
831 * progmodes/subword.el (subword-forward-function)
832 (subword-backward-function, subword-forward-regexp)
833 (subword-backward-regexp): New variables.
834 (subword-forward, subword-forward-internal, subword-backward-internal):
835 Use new variables, eg so that different "word" definitions
836 can be easily used. (Bug#11411)
837
94c9ece1
SM
8382012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
841 for composite selectors.
842 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
843 operation just because we can't find a previous revision.
844
f2045622
CY
8452012-08-15 Chong Yidong <cyd@gnu.org>
846
847 * frame.el (set-frame-font): Accept font objects.
848
582db660
SM
8492012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
852
2f29c200
WJ
8532012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
854
456e62c2
WJ
855 * man.el (Man-overstrike-face, Man-underline-face)
856 (Man-reverse-face): Remove variables.
857 (Man-overstrike, Man-underline, Man-reverse): New faces.
858 (Man-fontify-manpage): Use them instead of the variables.
859 (Man-cleanup-manpage): Comment change.
860 (Man-ansi-color-map): New variable.
861 (Man-fontify-manpage): Use it.
862 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
863
2f29c200
WJ
864 Implement ANSI SGR parameters 22-27 (bug#12146).
865 * ansi-color.el (ansi-colors): Doc fix.
866 (ansi-color-context, ansi-color-context-region): Doc fix.
867 (ansi-color--find-face): New function.
868 (ansi-color-apply, ansi-color-apply-on-region): Use it.
869 Rename the local variable `face' to `codes' since it is now a list of
870 ansi codes. Doc fix.
871 (ansi-color-get-face): Remove.
872 (ansi-color-parse-sequence): New function, derived from
873 ansi-color-get-face.
874 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
875 codes 22-27.
876
b4f5e9df
SM
8772012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * subr.el (read-passwd): Allow use from a minibuffer.
880
ba025fbd
EZ
8812012-08-14 Eli Zaretskii <eliz@gnu.org>
882
883 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
884 inside comments and strings as identifiers.
885
886 * progmodes/gud.el (gud-tooltip-print-command): Quote the
887 expression to evaluate. This allows to evaluate expressions with
888 embedded whitespace.
889 (gud-tooltip-tips): Add a blank before the newline in the
890 message-box text, for the benefit of message-box emulation on
891 MS-Windows.
892
893 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
894 messages from GDB, pop them up in a tooltip to give feedback to
895 user.
b4f5e9df
SM
896 (gdb-tooltip-print-1): Quote the expression to evaluate.
897 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
898 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
899 if the TTY name is nil or empty (which happens when communicating
900 with the inferior via pipes, e.g. on MS-Windows).
901 (gdb-internals): If GDB sends a "&\n" empty debugging message,
902 don't send that to the GUD buffer.
903
c548f821
GM
9042012-08-14 Glenn Morris <rgm@gnu.org>
905
906 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
907 Optimize away setq-default with no args, as for setq. (Bug#12195)
908
55802e4a
CY
9092012-08-14 Chong Yidong <cyd@gnu.org>
910
4abcdac8
CY
911 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
912
55802e4a
CY
913 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
914 (Bug#12085).
915
3c3cda1a
GM
9162012-08-14 Glenn Morris <rgm@gnu.org>
917
918 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
919
e1873bd0
MA
9202012-08-14 Michael Albinus <michael.albinus@gmx.de>
921
922 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
923 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
924 Use cached shell name.
925
925411b4
FEG
9262012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
927
928 * progmodes/python.el (python-shell-send-string):
3c3cda1a 929 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 930
e636fafe
DG
9312012-08-14 Dmitry Gutov <dgutov@yandex.ru>
932
933 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
934 (ruby-percent-literal-beg-re): New constant.
935 (ruby-syntax-general-delimiters-goto-beg): Rename to
936 `ruby-syntax-enclosing-percent-literal', improve literal type check.
937 (ruby-syntax-propertize-general-delimiters): Rename to
938 `ruby-syntax-propertize-percent-literal', it's a shorter and more
939 popular term. Adjust comments everywhere.
940 (ruby-syntax-propertize-percent-literal): Only propertize when not
941 inside a simple string or comment. When the literal is unclosed,
942 leave the text after it unpropertized.
f063063a
DG
943 (ruby-syntax-methods-before-regexp): New constant.
944 (ruby-syntax-propertize-function): Use it to recognize regexps.
945 Don't look at the text after regexp, just use the whitelist.
e636fafe 946
e5b19827
AS
9472012-08-14 Andreas Schwab <schwab@linux-m68k.org>
948
949 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
950 non-nil always load the compiled file if it exists. (Bug#12197)
951
a9f6f311
CY
9522012-08-14 Chong Yidong <cyd@gnu.org>
953
954 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
955 (hi-lock-set-pattern): When deciding whether to use font lock or
956 overlays, look at font-lock-mode instead of font-lock-fontified
957 (Bug#12168).
958 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
959 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
960
7d806b1e
DU
9612012-08-14 Daiki Ueno <ueno@unixuser.org>
962
963 * subr.el (internal--after-with-selected-window): Fix typo
964 (Bug#12193).
965
5beed586
FEG
9662012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
967
968 Use `completion-table-dynamic' for completion functions.
969 * progmodes/python.el
970 (python-shell-completion--do-completion-at-point)
e636fafe
DG
971 (python-shell-completion--get-completions):
972 Remove functions.
5beed586
FEG
973 (python-shell-completion-complete-at-point): New function.
974 (python-completion-complete-at-point): Use it.
975
92cb3b04
J
9762012-08-13 Jambunathan K <kjambunathan@gmail.com>
977
978 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
979 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
980
89660017
SM
9812012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
982
3c98c962
SM
983 * subr.el (function-get): Refine `autoload' arg so it can also
984 autoload functions for gv.el (bug#12191).
985 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
986 autoloads macros.
987
aa7c6dbe
SM
988 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
989 Prefer pcase-let over destructuring-bind.
990 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
991 Also, remove whitespace as we go, rather than after accumulating the
992 various places.
993
89660017
SM
994 * subr.el (internal--before-with-selected-window)
995 (internal--after-with-selected-window): Fix typo seleted->selected.
996 (with-selected-window): Adjust callers.
997 Reported by Dmitry Gutov <dgutov@yandex.ru>.
998
31cd32c9
BG
9992012-08-13 Bastien Guerry <bzg@gnu.org>
1000
0fcd3d9f 1001 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1002 enhancement. (Bug#12172)
1003
1b15d8ad
AS
10042012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1005
31e54db0
AS
1006 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1007 type 1-6.
1008 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1009 extended headers.
1010
1b15d8ad
AS
1011 * files.el (hack-local-variables-filter): Remove useless eval.
1012
35cb9c06
MR
10132012-08-13 Martin Rudalics <rudalics@gmx.at>
1014
1015 * subr.el (with-selected-window): Fix last change.
1016
1439443b
SM
10172012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * subr.el (internal--before-with-seleted-window)
1020 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1021 (with-selected-window): Use them, to replace dependency on
1022 tty-top-frame.
1439443b 1023
0d9e2599
NN
10242012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1025
1026 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1027 binding for `newline'.
1028 (ruby-move-to-block): When moving backward, stop at block opening,
1029 not indentation.
1030 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1031 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1032 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1033 `ruby-toggle-block'.
1034
ba10c48c
SM
10352012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * ibuffer.el (ibuffer-do-toggle-read-only):
1038 * dired.el (dired-toggle-read-only):
1039 * buff-menu.el (Buffer-menu-toggle-read-only):
1040 * bindings.el (mode-line-toggle-read-only):
1041 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1042
9229c658
AS
10432012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1044
1045 * descr-text.el (describe-char): Put the overlays over the
1046 "displayed as" character.
1047
0fd09128
JB
10482012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1049
1050 * calc/calc-units.el (math-default-units-table): Give an
1051 initial value.
1052 (math-put-default-units): Add options to put composite units and
1053 unit systems in the default units table.
1054 (calc-convert-units): Send composite units to
1055 `math-put-default-units' when appropriate.
1056
9ff9402d 10572012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1058
fbb5e336
GM
1059 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1060
7aacaf15
GM
1061 * tutorial.el (help-with-tutorial):
1062 * emacs-lisp/copyright.el (copyright-update-directory):
1063 * emacs-lisp/autoload.el (autoload-find-generated-file)
1064 (autoload-find-file): Disable local eval: (for insurance).
1065
f40b9f10
GM
1066 * files.el (hack-local-variables-filter): If an eval: form is not
1067 known to be safe, and enable-local-variables is :safe, then ignore
1068 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1069 This is CVE-2012-3479.
f40b9f10 1070
daa9f1a6
SM
10712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1074 (rx-form): Simplify.
1075
9cd80478
DG
10762012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1077
0d9e2599
NN
1078 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1079 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1080 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1081 (ruby-syntax-propertize-function): Adjust for changes in
1082 `ruby-syntax-propertize-heredoc'.
1083
10842012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1085
9cd80478
DG
1086 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1087 binding (use `M-;' instead).
9cd80478 1088 (ruby-singleton-class-p): New function.
0d9e2599 1089 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1090
d301b413
SM
10912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1094
1530c98e
CY
10952012-08-10 Chong Yidong <cyd@gnu.org>
1096
1097 * progmodes/python.el (python-shell-get-process-name): Don't mess
1098 with same-window-buffer-names.
1099
1100 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1101 (eshell-remove-from-window-buffer-names): Make obsolete.
1102 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1103 (eshell): Just use pop-to-buffer-same-window instead.
1104
e1293765
CY
11052012-08-10 Chong Yidong <cyd@gnu.org>
1106
1107 * bindings.el: Bind M-= back to count-words-region.
1108
1109 * simple.el (count-words-region): Accept a prefix arg for acting
1110 on the entire buffer.
1111 (count-words--buffer-message): New helper function.
1112
e1894109
SM
11132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1116 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1117 (event-start, event-end): Use posn-at-point to return a more
1118 informative posn.
1119 (posnp): New function.
1120 * mouse.el (popup-menu-normalize-position): Use it.
1121
c69f56a2
MY
11222012-08-10 Masatake YAMATO <yamato@redhat.com>
1123
1124 * mouse.el (popup-menu-normalize-position): New function.
1125 (popup-menu): Use `popup-menu-normalize-position' to normalize
1126 the form for POSITION argument.
1127
1128 * term/x-win.el (x-menu-bar-open):
1129 Use the value returend from (posn-at-point) as position
1130 passed to `popup-menu'.
1131
31673780
JB
11322012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1133
1134 * calc/calccomp.el (math-compose-expr): Add extra argument
1135 indicating that parentheses should be put around products in
1136 denominators. Give multiplication precedence over division during
1137 composition.
1138
dab7711b
CY
11392012-08-09 Chong Yidong <cyd@gnu.org>
1140
dee4ef93
CY
1141 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1142 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1143 (Man-untabify-command, manual-program): Convert to defcustom
1144 (Bug#10429).
1145
73e2bbc5
CY
1146 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1147
3e861c8a
CY
1148 * descr-text.el (describe-char): Don't insert extra newlines
1149 (Bug#10127).
1150
a9f5a649
CY
1151 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1152 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1153
dab7711b
CY
1154 * align.el (align-region): Delete temporary markers (Bug#10047).
1155 Plus some code cleanups.
1156
e0cc4efa
FEG
11572012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1158
1159 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1160 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1161 (python-shell-internal-last-output): Use make-local-variable
1162 instead of make-variable-buffer-local.
1163
489af14f
FEG
11642012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1165
1166 * progmodes/python.el: Enhancements to forward-sexp.
1167 (python-nav-forward-sexp): Rename from
1168 python-nav-forward-sexp-function.
c69f56a2
MY
1169 (python-nav--forward-sexp, python-nav--backward-sexp):
1170 New functions.
489af14f 1171
0fc50303
JB
11722012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1173
1174 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1175 modes and simplification modes.
1176
5d65606a
SM
11772012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * delsel.el (delete-selection-pre-hook): Don't propagate the
1180 file-supersession signals (bug#12161).
1181
4250fdf5
SM
11822012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1185 (cl-map-extents): Add compatibility aliases (bug#12135).
1186
d9f9b465
MA
11872012-08-08 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1190 tests by `ignore-error'.
1191 (tramp-find-shell): Open also a new shell, when cache is already
1192 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1193
ce0fcefa
JL
11942012-08-08 Juri Linkov <juri@jurta.org>
1195
1196 * bookmark.el: Add `defaults' property to the bookmark record.
1197 (bookmark-current-buffer): Doc fix.
1198 (bookmark-make-record): Add `defaults' property with default values
1199 to the bookmark record.
1200 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1201 with `bookmark-insert-current-bookmark'.
1202 (bookmark-set): Get `defaults' property from the bookmark record
1203 and use it in `read-from-minibuffer'.
1204 (bookmark-insert-current-bookmark): Remove function.
1205
1206 * info.el (Info-bookmark-make-record): Add `defaults' property
1207 with values of canonical Info node name, the current Info file
1208 name and the current Info node name. (Bug#12107)
1209
53fa8652
JL
12102012-08-08 Juri Linkov <juri@jurta.org>
1211
1212 * files.el (basic-save-buffer): Use `buffer-name' as the default
1213 of `read-file-name' when buffer is not visiting a file (bug#12128).
1214
242c0a95
JL
12152012-08-08 Juri Linkov <juri@jurta.org>
1216
1217 * info.el (Info-isearch-search): Doc fix.
1218 (Info-search): Change search-failed message from "initial node" to
1219 "end of node" (bug#12078).
1220 (Info-isearch-search): Change `isearch-string-state' to
1221 `isearch--state-string'.
1222
32ac3a6b
GM
12232012-08-08 Glenn Morris <rgm@gnu.org>
1224
1225 * language/persian.el: Remove file.
f8c1afd5 1226 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1227 * loadup.el: Remove language/persian.
1228
2c2d9c9c
OF
12292012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
1230
1231 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1232
2d79ec42
FEG
12332012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1234
1235 * progmodes/python.el Fixed defsubst warning.
1236 (python-syntax-context) Rename from python-info-ppss-context.
1237 (python-syntax-context-type): Rename from
1238 python-info-ppss-context-type.
1239 (python-syntax-comment-or-string-p): Rename from
1240 python-info-ppss-comment-or-string-p.
1241
2bd255dd
JB
12422012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1243
1244 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1245
c395097f
AS
12462012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1247
6125983e
AS
1248 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1249 a defcustom that is quoted with backquote.
1250
4250fdf5
SM
1251 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1252 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1253 (math-do-arg-check, math-define-function-body): Use backquote forms.
1254 * calc/calc-ext.el (math-defcache): Likewise.
1255 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1256 * allout.el (allout-new-exposure): Likewise.
1257 * calc/calcalg2.el (math-tracing-integral): Likewise.
1258 * info.el (Info-last-menu-item): Likewise.
1259 * emulation/vip.el (vip-loop): Likewise.
1260 * textmodes/artist.el (artist-funcall): Likewise.
1261 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1262 Construct menu-item directly.
1263
4250fdf5
SM
1264 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1265 Don't declare.
c395097f 1266
5fb50dd3
CY
12672012-08-07 Chong Yidong <cyd@gnu.org>
1268
1269 * simple.el (deactivate-mark): Preserve text properties when
1270 saving the primary selection (Bug#8384).
1271
54eea618
KR
12722012-08-07 Kevin Ryde <user42@zip.com.au>
1273
1274 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1275 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1276 and continue processing (Bug#12110).
1277
638eaeb9
SM
12782012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1281 syntax-propertize-function (bug#10095).
1282
ea376861
SM
12832012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1284
f91b35be
SM
1285 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1286 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1287 describe-function-1.
1288 (describe-function-1): Use them. Move compiler macro after sig.
1289 (help-fns--compiler-macro): Use function-get. Assume we're already in
1290 standard-output. Adjust layout to new call order.
1291
ea376861
SM
1292 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1293 re-binding a symbol that has a symbol-macro (bug#12119).
1294
d5be7bd0
MB
12952012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1296
1297 * language/persian.el: New file. (Bug#11812)
1298 * loadup.el: Add language/persian.el.
1299
90749b53
CY
13002012-08-06 Chong Yidong <cyd@gnu.org>
1301
1302 * window.el (window--maybe-raise-frame): New function.
1303 (window--display-buffer): Split off from here.
1304 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1305 (display-buffer-pop-up-window, display-buffer-use-some-window):
1306 Obey an inhibit-switch-frame action alist entry.
1307 (display-buffer): Update doc.
1308
1309 * replace.el (occur-after-change-function): Avoid losing focus by
1310 using the inhibit-switch-frame display parameter (Bug#12139).
1311
ba7b0154
FEG
13122012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1313
1314 Make internal shell process buffer names start with space.
1315 * progmodes/python.el (python-shell-make-comint): Add optional
1316 argument INTERNAL.
1317 (run-python-internal): Use it.
1318 (python-shell-internal-get-or-create-process): Check for new
1319 internal buffer names.
1320
5eaeacb5
GM
13212012-08-06 Glenn Morris <rgm@gnu.org>
1322
e296d94b 1323 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1324 Do less getting and setting of environment variables.
1325
b7ccbdc2
CY
13262012-08-05 Chong Yidong <cyd@gnu.org>
1327
777fe95e
CY
1328 * proced.el (proced): Add substitution string to docstring to
1329 trigger autoloading of the proced library on C-h f (Bug#1768).
1330
4250fdf5
SM
1331 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1332 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1333
1334 * imenu.el (imenu-generic-expression): Move documentation here
1335 from imenu--generic-function.
1336 (imenu--generic-function): Refer to imenu-generic-expression.
1337
9e3b7800 13382012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VĂ˜
1339
1340 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1341 indentation declaration.
1342 (viper-loop): Add indentation declaration (Bug#7025).
1343
e5d9c0d1
CY
13442012-08-05 Chong Yidong <cyd@gnu.org>
1345
f0422feb
CY
1346 * help-fns.el (describe-variable): Add hyperlink for
1347 directory-local variables files. Improve buffer-local and
1348 permanent-local reporting; suggested by MON KEY (Bug#6644).
1349
1350 * help-mode.el (help-dir-local-var-def): New button type.
1351
e5d9c0d1
CY
1352 * files.el (kill-buffer-hook): Provide a defvar.
1353
a4f2deaa
GM
13542012-08-05 Glenn Morris <rgm@gnu.org>
1355
1356 * eshell/esh-ext.el (eshell/addpath):
1357 Also update eshell-path-env. (Bug#12013)
1358
a9dd5754
CY
13592012-08-05 Chong Yidong <cyd@gnu.org>
1360
a4f2deaa 1361 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1362
d014c740
CY
1363 * fringe.el (fringe-styles): Add docstring.
1364 (fringe--check-mode): New function.
1365 (set-fringe-mode, set-fringe-style): Use it.
1366 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1367
a9dd5754
CY
1368 * files.el (set-auto-mode): Fix invalid setq call.
1369
7c2dc8bd
SM
13702012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * isearch.el: Misc simplification; use defstruct.
1373 (isearch-mode-map): Dense maps now work like sparse ones.
1374 (isearch--state): New defstruct.
1375 (isearch-string-state, isearch-message-state, isearch-point-state)
1376 (isearch-success-state, isearch-forward-state)
1377 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1378 (isearch-wrapped-state, isearch-barrier-state)
1379 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1380 replaced by defstruct's accessors.
1381 (isearch--set-state): Rename from isearch-top-state and change
1382 calling convention.
1383 (isearch-push-state): Use new isearch--get-state.
1384 (isearch-toggle-word): Disable regexp when enabling word.
1385 (isearch-message-prefix): Remove unused arg _c-q-hack.
1386 (isearch-message-suffix): Remove unused arg _ellipsis.
1387
7fcc0070
AS
13882012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1389
1390 * simple.el (list-processes--refresh): For a server use :host or
1391 :local as the address.
97ad0769 1392 (list-processes): Doc fix.
7fcc0070 1393
00340faf
MN
13942012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1395
1396 * lisp/mpc.el: Support password in host argument.
1397 (mpc--proc-connect): Parse and use new password element.
1398 Set mpc-proc variable instead of returning process.
1399 (mpc-proc): Adjust accordingly.
1400
6dad7178
EZ
14012012-08-03 Eli Zaretskii <eliz@gnu.org>
1402
18949c2f
EZ
1403 * whitespace.el (whitespace-display-mappings): Use Unicode
1404 codepoints, instead of emacs-mule codepoints. See
1405 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1406 for the details.
1407
6dad7178
EZ
1408 * files.el (file-truename): Don't skip symlink-chasing part on
1409 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1410 Windows into the loop that recursively chases symlinks.
1411 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1412 MS-DOS.
1413
385b0198
CY
14142012-08-03 Chong Yidong <cyd@gnu.org>
1415
6200f3c4
CY
1416 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1417
385b0198
CY
1418 * sort.el (sort-regexp-fields): Doc fix.
1419
b9e74744
TH
14202012-08-03 Tassilo Horn <tsdh@gnu.org>
1421
1422 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1423 labels regex position point at the expected place.
1424
41013cb4
MK
14252012-08-03 MON KEY <monkey@sandpframing.com>
1426
1427 * net/imap.el (imap-interactive-login, imap-authenticate)
1428 (imap-mailbox-lsub, imap-mailbox-list)
1429 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1430 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1431 (imap-parse-response): Doc fix.
1432
0ffee616
JT
14332012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
1434
1435 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1436 if sexp scanning does not move point (Bug#5734).
1437
cfcc9cc8
TH
14382012-08-02 Tassilo Horn <tsdh@gnu.org>
1439
1440 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1441 Add listings, minted, and ctable packages.
1442 (reftex-label-alist-builtin): Move listings, minted, and ctable
1443 entries before LaTeX.
a01bbb84 1444 (reftex-label-alist): Docfix.
cfcc9cc8 1445
66ec2442
BG
14462012-08-02 Bastien Guerry <bzg@gnu.org>
1447
1448 * replace.el (occur): Fix docstring (bug#12122).
1449
837b365b
GM
14502012-08-02 Glenn Morris <rgm@gnu.org>
1451
1452 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1453
e098de97
PE
14542012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1455
1456 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1457 * international/mule-cmds.el: Create
1458 inactivate-current-input-method-function as an obsolete alias for
1459 deactivate-current-input-method-function. See Katsumi Yamaoka in
1460 <http://bugs.gnu.org/10150#46>.
1461
a0f95636
JB
14622012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1463
1464 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1465 of nested `if's.
1466
0d26d7c4
GM
14672012-08-01 Glenn Morris <rgm@gnu.org>
1468
1469 * progmodes/autoconf.el (autoconf-definition-regexp):
1470 Add AH_TEMPLATE, adjust submatch numbering.
1471 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1472 (autoconf-current-defun-function): Update for above change.
1473 (autoconf-current-defun-function): First skip to end of current word.
1474
b686ba06
RS
14752012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1476
1477 * calendar/cal-html.el (cal-html-insert-agenda-days):
1478 Fix typo. (Bug#12018)
1479
0d49da68
FEG
14802012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1481
1482 Shell processes: enhancements to startup and CEDET compatibility.
1483 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1484 (python-shell-make-comint): accept-process-output at startup.
1485 (run-python-internal): Set inferior-python-mode-hook to nil.
1486 (python-shell-internal-get-or-create-process): call sit-for.
1487 (python-preoutput-result): Add obsolete alias.
1488 (python-shell-internal-send-string): Use it.
1489 (python-shell-send-setup-code): Remove call to
1490 accept-process-output.
1491
f1a71c6e
AS
14922012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1493
1494 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1495 (Bug#12108)
1496
d2605269
JB
14972012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1498
1499 * calc-mode.el (calc-basic-simplification-mode): Rename from
1500 `calc-limited-simplification-mode'.
1501 (calc-alg-simplification-mode): New function.
d66060f8 1502 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1503
d2605269
JB
1504 * calc.el (calc-set-mode-line): Adjust mode line display for
1505 basic simplification mode.
1506
1507 * calc-help.el (calc-m-prefix-help): Update help message.
1508
1509 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1510 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1511
a3827a43
BG
15122012-07-31 Bastien Guerry <bzg@gnu.org>
1513
1514 * man.el (man): Fix comment. (bug#12101)
1515
502e3f89
MR
15162012-07-31 Martin Rudalics <rudalics@gmx.at>
1517
1518 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1519 Don't return a non-nil value when no suitable buffer was found.
1520
d7714961
FEG
15212012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1522
1523 * progmodes/python.el (run-python-internal): Disable font lock for
1524 internal shells.
1525
1f45e27e
SM
15262012-07-30 Stefan Merten <smerten@oekonux.de>
1527
1528 * rst.el: Silence `checkdoc-ispell'.
1529 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1530 (rst-official-version, rst-official-cvs-rev)
1531 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1532 (rst-mode-map): New key binding.
1533
0aee6912
PE
15342012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1535
1536 Update .PHONY listings in makefiles.
1537 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1538 autoloads, update-subdirs, updates, bzr-update, update-authors,
1539 compile-onefile, compile-calc, backup-compiled-files,
1540 compile-after-backup, compile-one-process, mh-autoloads,
1541 bootstrap-clean, distclean, maintainer-clean.
1542
9052f9f0
JB
15432012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1544
1823ac5a
JB
1545 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1546 (calc-set-mode-line): Don't display "AlgSimp ".
1547
1548 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1549 (calc-lim-simplify-mode): New function.
1550 (calc-set-simplify-mode): Default to 'alg.
1551 (calc-default-simplify-mode): Make algebraic simplifications
1552 the default.
1553
1554 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1555 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1556
8d7c7eed 1557 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1558 indicate new simplification modes.
1559
1823ac5a
JB
1560 * calc/README: Mention new default simplification mode.
1561
9052f9f0
JB
1562 * calc/calc.el (math-normalize-error): New variable.
1563 (math-normalize): Set `math-normalize-error' to t
1564 when there's an error.
1565
1566 * calc/calc-alg.el (math-simplify): Don't simplify when
1567 `math-normalize' returns an error.
1568
20ba0cb4
EZ
15692012-07-29 Eli Zaretskii <eliz@gnu.org>
1570
1571 * international/mule-cmds.el (set-locale-environment): Revert last
1572 change, since display-graphic-p returns nil when this function is
1573 called during startup. Instead...
1574
1575 * term/w32console.el (terminal-init-w32console): ...setup the
1576 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1577
a5dcc929
JL
15782012-07-29 Juri Linkov <juri@jurta.org>
1579
1580 * simple.el (goto-line): Don't display default line number in the
1581 prompt because it should be displayed by `read-number' (bug#9952).
1582 Add the current line number to the defaults of `goto-line' to
1583 allow its easier modification by users with `M-n' (bug#9201).
1584
1585 * subr.el (read-number): Support multiple default values like in
1586 other minibuffer reading functions. Replace `read' with
1587 `string-to-number' for consistency with `number-to-string'.
1588
72b255c7
PE
15892012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1590
1591 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1592 * emulation/viper-init.el (viper-deactivate-input-method-action):
1593 Rename from viper-inactivate-input-method-action.
1594 (viper-deactivate-input-method):
1595 Rename from viper-inactivate-input-method.
1596 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1597 * international/mule-cmds.el (deactivate-input-method):
1598 Rename from inactivate-input-method.
1599 Also run input-method-deactivate-hook.
1600 (deactivate-current-input-method-function):
1601 Rename from inactivate-current-input-method-function.
1602 (input-method-deactivate-hook): New hook.
1603 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1604 (inactivate-input-method): Mark obsolete.
1605
72b255c7
PE
1606 * international/quail.el (quail-activate):
1607 Also run quail-deactivate-hook.
1608 (quail-deactivate): Rename from quail-inactivate.
1609 * international/robin.el (robin-activate):
1610 Also run robin-deactivate-hook.
1611 (robin-deactivate): Rename from robin-inactivate.
1612
2549c068
CY
16132012-07-29 Chong Yidong <cyd@gnu.org>
1614
1615 * simple.el (indicate-copied-region): New function.
1616 (kill-ring-save): Split off from here.
1617
1618 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1619 (kill-rectangle): Set deactivate-mark to t on read-only error.
1620
1621 * register.el (copy-to-register, copy-rectangle-to-register):
1622 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1623 (append-to-register, prepend-to-register):
1624 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1625
1626 * simple.el (async-shell-command-buffer): New defcustom.
1627 (shell-command): Use it. (Bug#4719)
1628
01bd1b0d
EZ
16292012-07-28 Eli Zaretskii <eliz@gnu.org>
1630
1631 * international/mule-cmds.el (set-locale-environment): In a
1632 console session on MS-Windows, set up keyboard and terminal
1633 encoding from the OEM codepage, not the ANSI codepage.
1634 (Bug#12055)
1635
a55739d3
CY
16362012-07-28 Chong Yidong <cyd@gnu.org>
1637
1638 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1639 gdb-get-location.
1640
0e1a094f 16412012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1642
1643 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1644 the alist (bug#12029).
1645
20329d73
EZ
16462012-07-28 Eli Zaretskii <eliz@gnu.org>
1647
1648 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1649 (compile-always, compile-first)
1650 ($(lisp)/calendar/cal-loaddefs.el)
1651 ($(lisp)/calendar/diary-loaddefs.el)
1652 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1653 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1654 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1655 instead of on update-subdirs.
1656 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1657
345a2258
CY
16582012-07-28 Chong Yidong <cyd@gnu.org>
1659
1eee6341
CY
1660 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1661 directory if vc-deduce-backend returns nil (Bug#7350).
1662
345a2258
CY
1663 * simple.el (delete-trailing-lines): New option.
1664 (delete-trailing-whitespace): Obey it (Bug#11879).
1665
049a0936
DE
16662012-07-28 David Engster <deng@randomsample.de>
1667
1668 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1669 Explanation of new 'symbol-qnames feature in doc-strings.
1670 (xml-maybe-do-ns): Return expanded names as plain symbols if
1671 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1672 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1673
aa81af71
FEG
16742012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1675
1676 Consistent completion in inferior python with emacs -nw.
1677 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1678 binding in inferior-python-mode-map with "\t".
1679 (python-shell-completion-complete-at-point)
1680 (python-completion-complete-at-point): Remove interactive spec.
1681
e827b1eb
JB
16822012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1683
1684 * calc/calccomp.el (math-compose-expr): Undo previous change.
1685
a90dfb95
FEG
16862012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1687
4250fdf5 1688 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1689 run-python.
1690 (python-shell-make-comint): Fix pop-to-buffer call.
1691 (run-python): Autoload. New arg SHOW.
1692 (python-shell-get-or-create-process): Do not pop python process
1693 buffer.
1694
32770973 16952012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1696
1697 * notifications.el (notifications-on-action-signal)
1698 (notifications-on-closed-signal): Use also the bus address for the map.
1699 (notifications-notify, notifications-close-notification)
1700 (notifications-get-capabilities): Add optional argument BUS.
1701
86332df2
TH
17022012-07-27 Tassilo Horn <tsdh@gnu.org>
1703
4250fdf5
SM
1704 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1705 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1706 ctable macro.
1707 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1708 labels written in keyvals syntax.
1709
ca1302a4
JB
17102012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1711
1712 * calc/calccomp.el (math-compose-expr): Use parentheses when
1713 there is a product in the denominator of a fraction.
1714
f8b91036
EZ
17152012-07-26 Eli Zaretskii <eliz@gnu.org>
1716
1717 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1718 ($(lisp)/calendar/diary-loaddefs.el)
1719 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1720 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1721 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1722 rewritten while the autoload files are built at the same time,
1723 which needs to load subdirs.el.
1724
c8e5a42c
MR
17252012-07-26 Martin Rudalics <rudalics@gmx.at>
1726
1727 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1728 (mouse-drag-line): Don't exit tracking when a switch-frame or
1729 switch-window event occurs (Bug#12006).
1730
670d85ea
SM
17312012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * mouse.el (popup-menu): Fix last change.
1734
7abaf5cc
SM
17352012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 Autoload from Lisp with more care. Follow aliases when looking for
1738 function properties.
1739 * subr.el (autoloadp): New function.
1740 (symbol-file): Use it.
1741 (function-get): New function.
1742 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1743 autoload-do-load.
1744 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1745 (lisp-indent-function):
1746 * emacs-lisp/gv.el (gv-get):
1747 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1748 * emacs-lisp/byte-opt.el (byte-optimize-form):
1749 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1750 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1751 Use function-get.
1752 * emacs-lisp/cl.el: Don't propagate function properties any more.
1753
1754 * speedbar.el (speedbar-add-localized-speedbar-support):
1755 * emacs-lisp/disass.el (disassemble-internal):
1756 * desktop.el (desktop-load-file):
1757 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1758 (describe-function-1):
1759 * emacs-lisp/find-func.el (find-function-noselect):
1760 * emacs-lisp/elp.el (elp-instrument-function):
1761 * emacs-lisp/advice.el (ad-has-proper-definition):
1762 * apropos.el (apropos-safe-documentation, apropos-macrop):
1763 * emacs-lisp/debug.el (debug-on-entry):
1764 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1765 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1766 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1767
b1364986
AA
17682012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1769
1770 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1771 function, not an obsolete variable (Bug#12046).
1772
67ada220
AS
17732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1774
1775 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1776
f08088e3
CS
17772012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1778
1779 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1780 window only if it is still live (Bug#12034).
1781
8137e7b3
MR
17822012-07-25 Martin Rudalics <rudalics@gmx.at>
1783
1784 * subr.el (redirect-frame-focus): Add advertised calling
1785 convention (Bug#12030).
1786
09ae5da1
PE
17872012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1788
1789 Prefer typical American spelling for "acknowledgment".
1790 * vc/add-log.el (change-log-acknowledgment): Rename from
1791 change-log-acknowledgement, with an alias for the old name.
1792
3cc5a3a8
JB
17932012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1794
1795 * calc-alg.el (math-simplify-divide): Don't cross multiply
1796 in an equation when the lhs is a variable.
1797
b7af7f62
JD
17982012-07-24 Julien Danjou <julien@danjou.info>
1799
1800 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1801 Remove, unused.
1802
ec1b09b1
EZ
18032012-07-23 Eli Zaretskii <eliz@gnu.org>
1804
1805 * startup.el (command-line): Don't display an empty user name in
1806 the error message about non-existent home directory, when
1807 init-file-user was set to an empty string. See
1808 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1809 for the details and context.
1810
b525fd8a
VB
18112012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1812
1813 * ses.el (ses-cell-formula-aset): New macro.
1814 (ses-cell-references-aset): New macro.
1815 (ses-cell-p): New function.
1816 (ses-rename-cell): Do no longer rely on complex operations like
1817 ses-cell-set-formula or ses-set-cell to change the cell and handle
1818 the undo at the same time, but rather use lower level new macros
1819 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1820 the undo directly. Refresh the mode line.
1821
2c73e345
LL
18222012-07-21 Leo Liu <sdl.web@gmail.com>
1823
670d85ea
SM
1824 * progmodes/cc-cmds.el (c-defun-name):
1825 Use match-string-no-properties instead for consistency.
2c73e345 1826
542dfbde
LL
18272012-07-20 Leo Liu <sdl.web@gmail.com>
1828
3646bcd6
LL
1829 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1830 (Bug#7879)
1831
542dfbde
LL
1832 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1833
25721031
CY
18342012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1837 * progmodes/bug-reference.el, misearch.el: Provide themselves
1838 (bug#11915).
1839
1840 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1841 of narrowed buffer (bug#11966).
1842
316e68a7
VB
18432012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1844
1845 * ses.el (ses-rename-cell): Set new name also in reference list of
1846 cells of which the renamed cell depends.
1847
bbf0e7d9
MY
18482012-07-20 Masatake YAMATO <yamato@redhat.com>
1849
1850 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1851 to check whether menu-bar is shown or not. If not shown,
1852 show the menu-bar as a popup menu instead of using tmm.
1853 * mouse.el (popup-menu): Accept `point' as `position' argument.
1854
c28662a8
DG
18552012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1856
1857 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1858 up inside string symbol literal (bug#11923).
1859
87ab808f
EZ
18602012-07-20 Eli Zaretskii <eliz@gnu.org>
1861
1862 * startup.el (fancy-startup-text): Read the whole tutorial, not
1863 just its first 256 bytes. Prevents gibberish in display of the
1864 tutorial title.
1865
89dea803
DA
18662012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1867
1868 Drop idle buffer compaction due to an absence of the
1869 proved efficiency.
1870 * compact.el: Remove.
1871
8a4e6db8
SS
18722012-07-19 Sam Steingold <sds@gnu.org>
1873
1874 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1875 vc-bzr-pull & vc-bzr-merge-branch.
1876 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1877 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1878 for consistency with compilation-error-regexp-alist.
1879 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1880 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1881 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1882 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1883
5db81e33
SM
18842012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1885
1886 * emacs-lisp/chart.el: Use lexical-binding.
1887 (chart-emacs-storage): Don't hardcode the list of entries.
1888
5b835e1d
DA
18892012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1890
1891 Next round of tweaks caused by Fgarbage_collect changes.
1892 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1893
9cd47b72
DA
18942012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1895
1896 Compact buffers when idle.
1897 * compact.el: New file.
1898
1d6fc0df
SM
18992012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * subr.el (eventp): Presume that if it looks vaguely like an event,
1902 it's an event (bug#10190).
1903
1d29cc7d
FEG
19042012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1905
1906 Enhancements to ppss related code (thanks Stefan).
1907 * progmodes/python.el (python-indent-context)
1908 (python-indent-calculate-indentation, python-indent-dedent-line)
1909 (python-indent-electric-colon, python-nav-forward-block)
1910 (python-mode-abbrev-table)
1d6fc0df 1911 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1912 for ppss context.
1913 (python-info-continuation-line-p): Cleanup.
1914 (python-info-ppss-context): Do not catch 'quote.
1915 (python-info-ppss-context-type)
1916 (python-info-ppss-comment-or-string-p): Simplify.
1917
d583cbe6
FEG
19182012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1919
1920 * progmodes/python.el: Enhancements to eldoc support.
1921 (python-info-current-symbol): New function.
1922 (python-eldoc-at-point): Use python-info-current-symbol.
1923 (python-info-current-defun): Fix cornercase on first defun scan.
1924 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1925 and signal error when no inferior python process is available.
1926
eceb6feb
DG
19272012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1928
1929 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1930 assume it's always t.
1931 (vc-git-registered): Remove caching, the function is only called
1932 once.
1933 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1934
4c8ff0fe
CY
19352012-07-18 Chong Yidong <cyd@gnu.org>
1936
19fb7186
CY
1937 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1938
9587c688
CY
1939 * simple.el (count-words): Report on narrowing (Bug#9959).
1940
0fe776a1
CY
1941 * bindings.el: Bind M-= to count-words.
1942
4c8ff0fe
CY
1943 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1944
7f5331cc
MY
19452012-07-18 Masatake YAMATO <yamato@redhat.com>
1946
1947 * progmodes/sh-script.el (sh-imenu-generic-expression):
1948 Capture a function with `function' keyword and without parentheses
1949 like "function FOO" (bug#11856).
1950
2dc2a609
TH
19512012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1952
1953 * window.el (split-window-sensibly): Make WINDOW argument
1954 optional.
1955
439f7677
CY
19562012-07-18 Chong Yidong <cyd@gnu.org>
1957
9aeb25a6
CY
1958 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1959
439f7677
CY
1960 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1961 and make C-x 8 RET exit isearch (Bug#11439).
1962
1963 * international/iso-transl.el: Move isearch-mode-map key
1964 definitions to isearch.el.
1965
12999ea8
SM
19662012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1969 (eieio-defclass): Use gv-define-setter when possible.
1970
3ab6e069
DA
19712012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1972
1973 Reflect recent changes in Fgarbage_collect.
1974 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1975 reflect new format of data returned by Fgarbage_collect.
1976
0a60bc10
FEG
19772012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1978
1979 New utility functions + python-info-ppss-context fix (Bug#11910).
1980 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1981 (python-info-ppss-comment-or-string-p): New functions.
1982 (python-info-ppss-context): Small fix for string check.
1983
6dafa0d5
JL
19842012-07-17 Juri Linkov <juri@jurta.org>
1985
1986 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1987 (dired-do-async-shell-command): Don't add `*' at the end of the
1988 command (Bug#11815).
1989 (dired-do-shell-command): Doc fix.
1990 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1991 Join the individual commands using either "&" or ";" as the
1992 separator depending on the values of these trailing characters.
1993 At the end re-add the trailing "&". (Bug#10598)
1994
1995 * simple.el (async-shell-command): Sync the interactive spec with
1996 `shell-command'. Doc fix.
1997 (shell-command): Doc fix.
1998
b19dd9d1
JL
19992012-07-17 Juri Linkov <juri@jurta.org>
2000
2001 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2002
bcdc27d7 20032012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7f5331cc 2004
bcdc27d7 2005 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2006 * progmodes/python.el (python-nav-beginning-of-statement):
2007 Rename from python-nav-statement-start.
bcdc27d7
FEG
2008 (python-nav-end-of-statement): Rename from
2009 python-nav-statement-end.
2010 (python-nav-beginning-of-block): Rename from
2011 python-nav-block-start.
2012 (python-nav-end-of-block): Rename from python-nav-block-end.
2013
191da00e
FEG
20142012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2015
7f5331cc
MY
2016 * progmodes/python.el (python-shell-send-string-no-output):
2017 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2018 future interactions (Bug#11868).
2019
4dc7c8d5 20202012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2021
88ecaf8f
SM
2022 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2023
ef501ef0
SM
2024 * emacs-lisp/elint.el (elint-find-args-in-code):
2025 Use help-function-arglist, so as to handle lexical byte-code.
2026
aa7aaf8f
SM
2027 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2028 change (bug#11826).
2029
45fd731c
SM
20302012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2143fa32
SM
2032 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2033 Avoid spuriously marking the buffer as modified because of c-is-sws.
2034
efc26dbe
SM
2035 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2036 as not-a-comment (bug#11946).
2037
f5695c9a
SM
2038 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2039 for uninterned vars.
2040
2041 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2042 Use read-event since we don't really want to read chars but bytes.
2043
45fd731c
SM
2044 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2045 $$..$$ but also $..$ using regexps (bug#11953).
2046 Use tex-verbatim for \url and \path.
2047 (tex-font-lock-keywords): Define as defconst like the others.
2048 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2049
ddfc8813
RK
20502012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2051
2052 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2053 alias for insert-char.
2054
758e556a
FEG
20552012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2056
2057 * progmodes/python.el: Simplified imenu implementation.
2058 (python-nav-jump-to-defun): Remove command.
2059 (python-mode-map): Use `imenu' instead.
2060 (python-nav-list-defun-positions-cache)
2061 (python-imenu-include-defun-type, python-imenu-make-tree)
2062 (python-imenu-subtree-root-label, python-imenu-index-alist):
2063 Remove vars.
2064 (python-nav-list-defun-positions, python-nav-read-defun)
2065 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2066 (python-imenu-make-tree, python-imenu-create-index):
2067 Remove functions.
758e556a
FEG
2068 (python-mode): Update to interact with imenu by setting
2069 `imenu-extract-index-name-function' only.
2070
032d23ab
FEG
20712012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2072
2073 * progmodes/python.el: Enhancements to navigation commands.
2074 (python-nav-backward-sentence)
2075 (python-nav-forward-sentence): Remove.
2076 (python-nav-backward-statement, python-nav-forward-statement)
2077 (python-nav-statement-start, python-nav-statement-end)
2078 (python-nav-backward-block, python-nav-forward-block)
2079 (python-nav-block-start, python-nav-block-end)
2080 (python-nav-forward-sexp-function)
2081 (python-info-current-line-comment-p)
2082 (python-info-current-line-empty-p): New functions.
2083 (python-indent-context): Use `python-nav-statement-start'.
2084
01795a1b
MA
20852012-07-16 Michael Albinus <michael.albinus@gmx.de>
2086
9328d9aa
MA
2087 * eshell/em-ls.el (eshell/ls): Use `apply'.
2088
2089 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2090 multi-hops, instead of Tramp internals.
2091
01795a1b
MA
2092 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2093
2094 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2095 when F1 and F2 are located on different hosts.
2096
63408057
CY
20972012-07-14 Chong Yidong <cyd@gnu.org>
2098
2099 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2100 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2101 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2102 (xterm-mouse--read-event-sequence-1000)
2103 (xterm-mouse--read-event-sequence-1006): New functions. For old
2104 mouse protocol, handle M-mouse-X events correctly.
2105 (xterm-mouse-event): New arg specifying mouse protocol.
2106 (turn-on-xterm-mouse-tracking-on-terminal)
2107 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2108 sequence to toggle extended coordinates on newer XTerms.
2109 This appears to be harmless on terminals which do not support this.
63408057 2110
cd276f6e
LL
21112012-07-14 Leo Liu <sdl.web@gmail.com>
2112
28ca98ac
LL
2113 Add fringe bitmap indicators for flymake. (Bug#11253)
2114 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2115 (flymake-make-overlay): New arg BITMAP.
2116 (flymake-error-bitmap, flymake-warning-bitmap)
2117 (flymake-fringe-indicator-position): New user variables.
2118
cd276f6e
LL
2119 * fringe.el: New bitmap exclamation-mark.
2120
04408072
JD
21212012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2122
2123 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2124 also (Bug#7879).
2125
b5cf7fc4
CY
21262012-07-14 Chong Yidong <cyd@gnu.org>
2127
2128 * electric.el (electric-pair-post-self-insert-function): Fix pair
2129 insertion in empty-region case (Bug#11520).
2130
be755c79
RT
21312012-07-14 Chong Yidong <cyd@gnu.org>
2132
45fd731c
SM
2133 * bindings.el: Consolidate ctl-x-r-map bindings.
2134 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2135
2136 * rect.el, register.el: Move bindings to bindings.el.
2137
21382012-07-14 Reuben Thomas <rrt@sc3d.org>
2139
2140 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2141
7f5b3198
AS
21422012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2143
2144 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2145
97662200
JB
21462012-07-13 Juanma Barranquero <lekktu@gmail.com>
2147
80185fed
JB
2148 * bindings.el (top): Use `mapc' instead of `mapcar'.
2149
97662200
JB
2150 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2151
2bb1ae55
MA
21522012-07-13 Michael Albinus <michael.albinus@gmx.de>
2153
2154 * progmodes/sql.el (sql-comint): Suppress the check for program on
2155 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2156 (Bug#11908)
2157
dea31bd3
CY
21582012-07-13 Chong Yidong <cyd@gnu.org>
2159
2160 * bindings.el: Assign a non-nil permanent-local property to
2161 per-buffer variables which lack a default value (Bug#11930).
2162
2163 * help-fns.el (describe-variable): In the "automatically becomes
2164 local" notice, take note of permanent-local variables.
2165
b68b3337
CY
21662012-07-13 Chong Yidong <cyd@gnu.org>
2167
2168 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2169 to allow printing the message when called from Lisp.
2170
2171 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2172 Remove toggle-read-only.
2173
2174 * bs.el (bs-toggle-readonly):
45fd731c
SM
2175 * buff-menu.el (Buffer-menu-toggle-read-only):
2176 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2177
2178 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2179 Remove with-no-warnings around toggle-read-only.
2180 (ffap-read-only, ffap-read-only-other-window)
2181 (ffap-read-only-other-frame): Callers changed.
2182
2183 * help-mode.el: Don't require view package.
2184 (help-mode-finish): Set buffer-read-only instead of calling
2185 toggle-read-only.
2186
2187 * bindings.el (mode-line-toggle-read-only):
2188 * dired.el (dired-toggle-read-only):
2189 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2190 with non-nil second arg.
2191
2192 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2193 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2194 directly.
2195
56bc1586
EZ
21962012-07-12 Eli Zaretskii <eliz@gnu.org>
2197
2198 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2199 not incf.
2200
a464a6c7
SM
22012012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 More CL cleanups and reduction of use of cl.el.
2204 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2205 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2206 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2207 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2208 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2209 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2210 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2211 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2212 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2213 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2214 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2215 * eshell/em-cmpl.el, eshell/em-banner.el:
2216 * calendar/parse-time.el: Use cl-lib.
2217 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2218 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2219 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2220 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2221 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2222 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2223 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2224 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2225 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2226 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2227 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2228 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2229 `lambda' rather than with `quote'.
2230 (eshell-do-opt): Adjust accordingly.
2231 (eshell-process-option): Simplify.
2232 * eshell/esh-var.el:
2233 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2234 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2235 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2236 to `pcase--dontcare'.
2237 * emacs-lisp/cl.el (labels): Mark obsolete.
2238 (cl--letf, letf): Move to cl-lib.
2239 (cl--letf*, letf*): Remove.
2240 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2241 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2242 (cl-progv): Rewrite.
2243 (cl--letf, cl-letf): Move from cl.el.
2244 (cl-letf*): New macro.
2245 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2246
7ad4afe1
MA
22472012-07-11 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2250
9af57756
CY
22512012-07-11 Chong Yidong <cyd@gnu.org>
2252
2253 * vc/log-edit.el (log-edit-vc-backend): New variable.
2254 (log-edit): Doc fix.
2255
2256 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2257 argument of log-edit to set up all local variables.
2258 (vc-start-logentry): New optional arg specifying VC backend.
2259
2260 * vc/vc.el (vc-checkin): Use it.
2261 (vc-deduce-fileset): Handle Log Edit buffers.
2262 (vc-diff): Make first argument optional too.
2263
2264 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2265
8477cc7a
MA
22662012-07-10 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2269 command, just in case. The function is not needed anymore.
2270 (eshell-external-command): Do not call `eshell-remote-command'.
2271
19faa8e8
SM
22722012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2273
f58e0fd5
SM
2274 Reduce use of (require 'cl).
2275 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2276 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2277 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2278 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2279 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2280 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2281 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2282 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2283 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2284 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2285 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2286 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2287 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2288 (byte-compile-unfold-bcf, byte-compile-check-variable):
2289 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2290 (byte-compile-nilconstp):
2291 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2292 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2293
2519d43a
SM
2294 * emacs-lisp/gv.el (cond): Make it a valid place.
2295 (if): Simplify slightly.
2296
19faa8e8
SM
2297 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2298 (pcase--self-quoting-p): New function.
2299 (pcase--u1): Use it.
2300
c4907a5e
GM
23012012-07-10 Glenn Morris <rgm@gnu.org>
2302
2303 * emacs-lisp/authors.el (authors-fixed-entries):
2304 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2305
c4444d16
PE
23062012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2307
2308 Rename configure.in to configure.ac (Bug#11603).
2309 * emacs-lisp/authors.el (authors-canonical-file-name):
2310 * progmodes/autoconf.el (autoconf-mode):
2311 Prefer configure.ac to configure.in.
2312
d75be97d
CY
23132012-07-08 Chong Yidong <cyd@gnu.org>
2314
01ac65bd
CY
2315 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2316 Implement the mouse-1-click-follows-link handling properly.
2317
2318 * info.el (Info-link-keymap): Use follow-link mechanism for
2319 header-line links (Bug#374).
2320
d75be97d
CY
2321 * simple.el (deactivate-mark): Do not set the primary selection
2322 if another program has acquired it (Bug#11772).
2323
87a92845 23242012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2325
2326 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2327 (woman-decode-region): Replace escaped-escapes without destroying
2328 bold or underline (Bug#11552).
87a92845 2329 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2330
621b9d6c
CY
23312012-07-07 Chong Yidong <cyd@gnu.org>
2332
2333 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2334 (interprogram-cut-function, interprogram-paste-function):
2335 Mention that we typically mean the clipboard.
621b9d6c 2336
133a11fc
GM
23372012-07-06 Glenn Morris <rgm@gnu.org>
2338
0d27a45e
GM
2339 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2340
133a11fc
GM
2341 * files.el (toggle-read-only): Restrict message to interactive use.
2342
07b151f1
MA
23432012-07-06 Michael Albinus <michael.albinus@gmx.de>
2344
2345 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2346
2347 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2348
211b896b
GM
23492012-07-06 Glenn Morris <rgm@gnu.org>
2350
50394322
GM
2351 * Makefile.in (compile-one-process): Rename from "recompile".
2352
211b896b
GM
2353 * Makefile.in (bzr-update): "compile" is the same as "recompile
2354 autoloads", but parallelizable, so use that instead.
2355
4737eec9
DG
23562012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2357
2358 * window.el (quit-window): Always restore window height when
8137e7b3 2359 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2360
226c3633 23612012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2362
2363 * simple.el (kill-whole-line): Doc tweak.
2364
226c3633 23652012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2366
2367 * files.el (file-relative-name): Compare file names
2368 case-insensitively if on MS-Windows or MS-DOS, or if
2369 read-file-name-completion-ignore-case is non-nil. Don't use
2370 case-fold-search for this purpose. (Bug#11827)
2371
4dc7c8d5
SM
23722012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2373
2374 * calendar/cal-dst.el (calendar-current-time-zone):
2375 Return calendar-current-time-zone-cache if non-nil.
2376
23772012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 23782012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2379
19faa8e8
SM
2380 * calendar/cal-dst.el (calendar-current-time-zone):
2381 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2382
60198fc9
GM
23832012-07-06 Glenn Morris <rgm@gnu.org>
2384
2385 * Makefile.in (cvs-update): Remove old alias.
2386
957b3189
MA
23872012-07-05 Michael Albinus <michael.albinus@gmx.de>
2388
2389 Sync with Tramp 2.2.6-pre.
2390
2391 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2392 compatible declaration.
2393
19faa8e8
SM
2394 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2395 Protect `list-load-path-shadows' call.
957b3189
MA
2396
2397 * net/tramp-compat.el (top): Require packages, which aren't
2398 autoloaded anymore for XEmacs. Protect call of
2399 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2400 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2401 it hurts at least for SXEmacs.
2402 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2403 standard-value for `temporary-file-directory'.
2404
2405 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2406 Redirect stderr to /dev/null.
2407 (tramp-sh-handle-write-region): uid and gid can be floats.
2408 Reported by Russell Sim <russell.sim@gmail.com>.
2409 (tramp-sh-handle-vc-registered): Hide errors.
2410 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2411 and `start-file-process'.
2412 (tramp-maybe-open-connection): Check also whether `non-essential'
2413 is bound.
2414
566df3fc
CY
24152012-07-04 Chong Yidong <cyd@gnu.org>
2416
2417 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2418 (xml-parse-tag): Likewise, and avoid changing entity tables.
2419 (xml-syntax-table): Define from scratch, making sure not to give
2420 x2000 and other Unicode spaces whitespace syntax, since those are
2421 not spaces in XML.
2422 (xml-parse-fragment): Delete unused function.
2423 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2424 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2425 (xml-entity-ref, xml-pe-reference-re)
2426 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2427 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2428 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2429 (xml-entity-value-re): Use syntax references in regexps where
2430 possible; no need to define inside a let-binding.
2431 (xml-parse-dtd): Use xml-pe-reference-re.
2432 (xml-entity-or-char-ref-re): New defconst.
2433 (xml-parse-string, xml-substitute-special): Use it.
2434
30eabd7a
SM
24352012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2436
0781098a
SM
2437 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2438 (find-file--read-only): New function.
2439 (find-file-read-only, find-file-read-only-other-window)
2440 (find-file-read-only-other-frame): Use it.
2441 (insert-file-contents-literally): Don't `fset'.
2442 (get-free-disk-space): Use locate-dominating-file.
2443
b5771c0d
SM
2444 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2445 function is already compiled.
2446
30eabd7a
SM
2447 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2448
b4886f6e
MA
24492012-07-03 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2452 files on the same host.
2453
b9d82339
AS
24542012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2455
2456 * help-fns.el (describe-function-1): Only call
2457 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2458
a76e6535
CY
24592012-07-03 Chong Yidong <cyd@gnu.org>
2460
2461 * xml.el: Protect parser against XML bombs.
2462 (xml-entity-expansion-limit): New variable.
2463 (xml-parse-string, xml-substitute-special): Use it.
2464 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2465
b544fef2
GM
24662012-07-03 Glenn Morris <rgm@gnu.org>
2467
2468 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2469 Allow linking to specific messages in debbugs reports (eg 123#5).
2470
a7aef6f5
CY
24712012-07-02 Chong Yidong <cyd@gnu.org>
2472
2473 * xml.el: Fix entity and character reference expansion, allowing
2474 them to expand into markup as per XML spec.
2475 (xml-default-ns): New variable.
2476 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2477 (xml-parse-region): Make first two arguments optional.
2478 Discard text properties.
2479 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2480 All callers changed.
a7aef6f5
CY
2481 (xml-parse-tag): Call xml-parse-tag-1. For backward
2482 compatibility, this function should not modify buffer contents.
2483 (xml-parse-tag-1): Fix opening-tag regexp.
2484 (xml-parse-string): Rewrite, handling entity and character
2485 references properly.
2486 (xml--entity-replacement-text): Signal an error if a parameter
2487 entity is undefined.
2488
3df31c9f
SM
24892012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2b5208f1
SM
2491 * comint.el (comint-output-filter): Filter out repeated prompts.
2492
3df31c9f
SM
2493 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2494 and file-name-absolute-p.
2495 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2496 internal calls.
2497
e3ac1281
PE
24982012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2499
2500 Spelling fixes.
2501 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2502 Rename from byte-compile--refiy-function. All uses changed.
2503
fbf2e7ad
CY
25042012-07-01 Chong Yidong <cyd@gnu.org>
2505
2506 * xml.el (xml--parse-buffer): New function. Move most of
2507 xml-parse-region here.
2508 (xml-parse-region): Copy region into a temporary buffer, since
2509 parameter entity substitution requires changing buffer contents.
2510 Use xml--parse-buffer.
2511 (xml-parse-file): Use xml--parse-buffer.
2512 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2513 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2514
9bf0aa15
GM
25152012-06-30 Glenn Morris <rgm@gnu.org>
2516
bbce2853
GM
2517 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2518
9bf0aa15
GM
2519 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2520 Remove outdated and unnecessary dbus declarations.
2521
0d23c240
EZ
25222012-06-30 Eli Zaretskii <eliz@gnu.org>
2523
2524 * emacs-lisp/timer.el (timer-until): Subtract results of
2525 float-time, instead of taking float-time of the result of
2526 time-subtract, since float-time signals an error for negative time
2527 arguments.
2528
b3218de1
CY
25292012-06-30 Chong Yidong <cyd@gnu.org>
2530
2531 * xml.el (xml-*-re): Convert defvars into defconsts, and
2532 eval-and-compile them so eval-and-compile works on derivatives.
2533 (xml--entity-replacement-text): Use eval-and-comple.
2534
a40c87a0
MA
25352012-06-30 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * vc/vc-git.el (vc-git-registered): Use cache property
2538 `git-registered'.
2539 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2540 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2541 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2542
ac87de97
DG
25432012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2544
2545 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2546 removed (likely outside Emacs). (Bug#11757)
ac87de97 2547
ac10fe06
SM
25482012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2549
3df31c9f 2550 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2551
7f3fbd5d
CY
25522012-06-30 Chong Yidong <cyd@gnu.org>
2553
2554 * xml.el: Implement XML parameter entities.
2555 (xml-parameter-entity-alist): New variable.
2556 (xml-parse-region, xml-parse-fragment): Preserve previous values
2557 of xml-entity-alist and xml-parameter-entity-alist, so that
2558 repeated calls on different documents do not change them.
2559 (xml-parse-tag): Fix doctype regexp.
2560 (xml--entity-replacement-text): New function.
2561 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2562 properly requires url retrieval which is unimplemented.
2563 (xml-escape-string): Doc fix.
2564
3cfbebba
SM
25652012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2568
2af3565e
DA
25692012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2570
2571 * fringe.el (fringe-mode): Doc fix.
2572
929df0e7
MA
25732012-06-29 Michael Albinus <michael.albinus@gmx.de>
2574
2575 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2576 is non-nil.
2577 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2578 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2579
c8d3a25c 25802012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2581
c8d3a25c
GM
2582 * calendar/cal-dst.el (calendar-current-time-zone):
2583 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2584
c8d3a25c 25852012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2586
2587 * progmodes/which-func.el (which-func-format):
2588 Add mouse-face. (Bug#11698)
2589
c8d3a25c
GM
25902012-06-29 Leo Liu <sdl.web@gmail.com>
2591
2592 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2593
25942012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * minibuffer.el (minibuffer-confirm-exit-commands):
2597 Add completion-at-point (bug#11725).
2598
25992012-06-29 Glenn Morris <rgm@gnu.org>
2600
2601 * progmodes/f90.el (f90-font-lock-keywords-2):
2602 Add some preprocessor elements. (Bug#10499)
2603
26042012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2607 Use syntax-propertize (bug#11739).
2608
2badeec4
JB
26092012-06-28 Juanma Barranquero <lekktu@gmail.com>
2610
2611 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2612
ae4969c2
JD
26132012-06-28 Julien Danjou <julien@danjou.info>
2614
2615 * term.el (term-handle-colors-array): Use a set of new faces to
2616 color the terminal. Also uses :inverse-video property.
2617 (term-default-fg-color): Set to nil by default, deprecate in favor
2618 of `term-face'.
2619 (term-default-bg-color): Set to nil by default, deprecate in favor
2620 of `term-face'.
2621 (term-current-face): Use `term-face' by default.
2622 (term-bold-attribute): Variable deleted.
2623
1c9bd870
GM
26242012-06-28 Glenn Morris <rgm@gnu.org>
2625
2626 * simple.el (completion-list-mode-finish):
2627 Don't use toggle-read-only. (Since completion-list-mode has
2628 a special mode-class, it wasn't doing anything extra anyway.)
2629
c207708c
SM
26302012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 Make inlining of other-mode interpreted functions work (bug#11799).
2633 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2634 (byte-compile): Use it to fix compilation of lexical-binding closures.
2635 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2636 function, if needed.
2637
3fd56834
SM
26382012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2639
04901786
SM
2640 * help-mode.el (help-make-xrefs): Don't just withstand
2641 cyclic-variable-indirection but any error in documentation-property.
2642
1ec4b7b2
SM
2643 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2644 memory use.
2645 * bindings.el (bindings--define-key): New function.
2646 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2647 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2648 * bindings.el: Use it to purecopy define-key bindings.
2649
e309e2a5
SM
2650 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2651
d5c6faf9
SM
2652 * emacs-lisp/cl.el (flet): Mark obsolete.
2653 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2654 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2655 * progmodes/js.el (js-c-fill-paragraph):
2656 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2657 (ebrowse-switch-member-buffer-to-derived-class):
2658 * play/5x5.el (5x5-solver): Use cl-flet.
2659
6e9590e2
SM
2660 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2661 (cl--symbol-function): New macro.
2662 (cl--letf, cl--letf*): Use it.
2663
3fd56834
SM
2664 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2665 Strip "toggle-" if any.
2666
35ff222c
GM
26672012-06-27 Glenn Morris <rgm@gnu.org>
2668
1ba6038a
GM
2669 * info.el (Info-default-directory-list): Move here from paths.el.
2670 * paths.el: Remove file, which is now empty.
2671 * loadup.el: No longer load "paths".
2672
0ea0e51b
GM
2673 * custom.el (custom-initialize-delay): Doc fix.
2674
35ff222c
GM
2675 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2676 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2677 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2678 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2679 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2680 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2681 * eshell/eshell.el (eshell-defgroup): Remove alias.
2682
c89926a5
CY
26832012-06-27 Chong Yidong <cyd@gnu.org>
2684
2685 * help.el (help-enable-auto-load): New variable.
2686
2687 * help-fns.el (help-fns--autoloaded-p): New function.
2688 (describe-function-1): Refer to a function as "autoloaded" if it
2689 was autoloaded at any time in the past. Perform autoloading if
2690 help-enable-auto-load is non-nil.
2691
cc06e7e7
EZ
26922012-06-26 Eli Zaretskii <eliz@gnu.org>
2693
2694 * makefile.w32-in (compile, compile-always): Depend on
2695 update-subdirs, not on subdirs.el. Otherwise, several different
2696 sub-targets of 'bootstrap' running in parallel could
2697 simultaneously write to subdirs.el, producing a garbled file.
2698
d2c32364
SS
26992012-06-26 Sam Steingold <sds@gnu.org>
2700
2701 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2702 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2703 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2704 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2705 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2706 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2707 * textmodes/tex-mode.el: Use it.
2708 Did not touch cedet and org because they are maintained elsewhere.
2709
5cf983b2
MR
27102012-06-26 Martin Rudalics <rudalics@gmx.at>
2711
2712 * calendar/calendar.el (calendar-exit): Don't try to delete or
2713 iconify last frame. See:
2714 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2715
8c4f2952
JD
27162012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2717
2718 * server.el (server-process-filter): Remember dir in the
2719 process's `server-client-directory' properties.
2720
772b2e2c
CY
27212012-06-24 Chong Yidong <cyd@gnu.org>
2722
2723 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2724 non-tag text.
2725
711b11e1
JB
27262012-06-23 Juanma Barranquero <lekktu@gmail.com>
2727
2728 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2729
dc5d230c
SM
27302012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * help-fns.el (describe-variable): Don't croak when doc is not found.
2733 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2734 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2735 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2736 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2737 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2738 ((lambda ..) ..).
2739 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2740
136e1c1d
CY
27412012-06-23 Chong Yidong <cyd@gnu.org>
2742
e8c1cabf
CY
2743 * info.el (Info-mouse-follow-link): Accept symbol values of
2744 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2745 (Info-fontify-node): Use Info-link-keymap for all navigation
2746 buttons, with link-args property to perform the desired action.
2747 (Info-link-keymap): Doc fix.
2748 (Info-next-link-keymap, Info-prev-link-keymap)
2749 (Info-up-link-keymap): Delete now-unused keymaps.
2750
0e9e6c6a
CY
27512012-06-23 Chong Yidong <cyd@gnu.org>
2752
05e89fea
CY
2753 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2754
0e9e6c6a
CY
2755 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2756 system abbrevs.
2757
2758 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2759
e33c6771
SM
27602012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2761
b68581e2
SM
2762 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2763 (bug#11719).
2764
e33c6771
SM
2765 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2766 the requote function doesn't work properly (bug#11714).
2767
7117e105
GM
27682012-06-23 Glenn Morris <rgm@gnu.org>
2769
2770 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2771
36cec983
SM
27722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 Further GV/CL cleanups.
2775 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2776 gv-expander.
2777 (gv--defun-declaration): New function.
2778 (defun-declarations-alist): Use it.
2779 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2780 (gv-place): Autoload.
2781 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2782 original definition of dotimes and dolist.
2783 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2784 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2785 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2786 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2787 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2788 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2789 to the function's definition.
2790 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2791 * window.el:
2792 * files.el:
2793 * faces.el:
2794 * env.el: Don't use CL.
2795
d35af63c
PE
27962012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2797
2798 Support higher-resolution time stamps (Bug#9000).
2799
2800 * calendar/time-date.el (with-decoded-time-value): New arg
2801 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2802 (encode-time-value): New optional arg PICO. New type 3.
2803 (time-to-seconds) [!float-time]: Support the new picoseconds
2804 component if it's used.
2805 (seconds-to-time, time-subtract, time-add):
2806 Support ps-resolution time stamps as well.
2807
2808 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2809 (timerp): Timer vectors now have length 9, not 8.
2810 (timer--time): Support new-style (4-part) time stamps.
2811 (timer-next-integral-multiple-of-time): Time stamps now have
2812 picosecond resolution, so take a bit more care about rounding.
2813 (timer-relative-time, timer-inc-time): New optional arg psecs.
2814 (timer-set-time-with-usecs): Set psecs to 0.
2815 (timer--activate): Check psecs component, too.
2816
2817 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2818
ac77b21a
SM
28192012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2820
f143bfe3
SM
2821 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2822 Move the non-essential binding to the post/pre-command-hook where it is
2823 more obviously correct.
2824
ac77b21a
SM
2825 * subr.el (read-passwd): Don't use a history at all.
2826 * savehist.el (savehist-save): Remove password saved accidentally
2827 because of the above bug.
2828
76386c5a
BG
28292012-06-22 Bastien Guerry <bzg@gnu.org>
2830
2831 * files.el (toggle-read-only): Display a message telling whether
2832 the buffer is read-only or not (bug#11726).
2833
2ee3d7f0
SM
28342012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * emacs-lisp/gv.el: New file.
2837 * subr.el (push, pop): Extend to generalized variables.
2838 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2839 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2840 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2841 gv-define-simple-setter, and gv-define-expander.
2842 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2843 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2844 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2845 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2846 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2847 gv-letplace.
2848 (cl-defstruct): Don't define setf-method any more.
2849 * emacs-lisp/cl.el (flet): Don't autoload.
2850 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2851 (define-setf-expander, defsetf, define-modify-macro)
2852 (cl-struct-setf-expander): Move from cl-lib.el.
2853 * emacs-lisp/syntax.el:
2854 * emacs-lisp/ewoc.el:
2855 * emacs-lisp/smie.el:
2856 * emacs-lisp/cconv.el:
2857 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2858 (timer--time): Use gv-define-simple-setter.
2859 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2860 to avoid coding-system problems in subr.el. Adjust all users.
2861 (macroexp--maxsize, macroexp-small-p): New functions.
2862 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2863 * scroll-bar.el (scroll-bar-mode):
2864 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2865 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2866 * winner.el (winner-configuration, winner-make-point-alist)
2867 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2868 * files.el (locate-file-completion-table): Avoid list*.
2869
c5695d1d
CY
28702012-06-22 Chong Yidong <cyd@gnu.org>
2871
2872 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2873 (dired-create-files): Doc fix (Bug#11329).
2874 (dired-do-copy): Doc fix (Bug#11334).
2875 (dired-mark-read-string): Doc fix (Bug#11553).
2876
2ee3d7f0
SM
2877 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2878 Doc fix (Bug#11326).
c5695d1d
CY
2879 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2880 (dired-dwim-target): Doc fix.
2881
2882 * wdired.el (wdired-mode): Doc fix.
2883
89b5595a
GM
28842012-06-22 Glenn Morris <rgm@gnu.org>
2885
575db3f1
GM
2886 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2887 (pcmpl-rpm-cache-stamp-file): New constant.
2888 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2889 (pcmpl-rpm-packages): Optionally cache list of packages.
2890
a4c8dd51
GM
2891 * pcmpl-rpm.el (pcmpl-rpm): New group.
2892 (pcmpl-rpm-query-options): New option.
2893 (pcmpl-rpm-packages): No need to inline it.
2894 Use pcmpl-rpm-query-options.
2895
89b5595a
GM
2896 * calendar/calendar.el (calendar-in-read-only-buffer):
2897 Avoid some needless mode changes.
2898
e76f0800
CY
28992012-06-21 Chong Yidong <cyd@gnu.org>
2900
2901 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2902 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2903 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2904
297a8f1d
CY
29052012-06-20 Chong Yidong <cyd@gnu.org>
2906
2907 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2908
d34c18b1
DR
29092012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2910
2911 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2912 (bug#11201).
2913
32f7f28e
CY
29142012-06-20 Chong Yidong <cyd@gnu.org>
2915
2916 * term.el (term-window-width): Handle the case of a missing right
2917 fringe (Bug#8837).
2918 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2919 (term-mode): Use define-derived-mode. Minor cleanups.
2920 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2921 (term-move-columns, term-insert-char, term-emulate-terminal)
2922 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2923
493c6688
MA
29242012-06-20 Michael Albinus <michael.albinus@gmx.de>
2925
d34c18b1
DR
2926 * net/ange-ftp.el (ange-ftp-get-passwd):
2927 Bind `enable-recursive-minibuffers'.
493c6688
MA
2928 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2929
3f06ecf4
DR
29302012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2931
2932 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2933
68f12411
GM
29342012-06-19 Glenn Morris <rgm@gnu.org>
2935
2936 * progmodes/python.el (python-mode): Derive from prog-mode.
2937
b3820318
KG
29382012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2939
2940 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2941 (edt-user-menu-bar-update-buffers): New functions.
2942 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2943
c6bf3022
CY
29442012-06-19 Chong Yidong <cyd@gnu.org>
2945
2946 * subr.el (with-selected-window): Preserve the selected window's
2947 terminal's top-frame (Bug#4702).
2948
2949 * window.el (save-selected-window): Likewise.
2950
25f09295
SM
29512012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * progmodes/python.el (python-rx-constituents): Move backquote.
2954 (python-skeleton-define, python-define-auxiliary-skeleton):
2955 Use `declare'.
2956
6b11952a
MA
29572012-06-18 Michael Albinus <michael.albinus@gmx.de>
2958
2959 * minibuffer.el (read-file-name-default): Revert the patch from
2960 2012-06-17.
2961
ee4b1330
SM
29622012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2965 (pcase--u1, pcase--q1): Don't use apply-partially.
2966
35647f79
GM
29672012-06-18 Glenn Morris <rgm@gnu.org>
2968
2969 * progmodes/python.el (python-proc, python-buffer)
2970 (python-send-receive, python-send-string): Fix obsolete versions.
2971
24b0cff0
MR
29722012-06-18 Martin Rudalics <rudalics@gmx.at>
2973
2974 * window.el (special-display-p): Completely remove stringp
2975 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2976
29855149
MA
29772012-06-17 Michael Albinus <michael.albinus@gmx.de>
2978
2979 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2980
2981 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2982
2983 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2984 * net/tramp-sh.el (tramp-maybe-open-connection):
2985 Throw if `non-essential' is non-nil.
2986
07463363
MR
29872012-06-17 Martin Rudalics <rudalics@gmx.at>
2988
2989 * window.el (special-display-p): Signal an error if BUFFER-NAME
2990 is not a string (Bug#11713).
2991
48d1354e
PE
29922012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2993
2994 * progmodes/python.el (python-info-beginning-of-backslash):
2995 Rename from python-info-beginning-of-backlash, as a spelling fix.
2996
eb4a8a9a
CY
29972012-06-17 Chong Yidong <cyd@gnu.org>
2998
2999 * term.el (term-emulate-terminal): If term-check-size is called,
3000 move point to the process mark without resetting point (Bug#4635).
3001
ddfbf826 30022012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3003
3004 * international/mule-cmds.el (mule-menu-keymap)
3005 (set-language-environment, set-locale-environment): Doc tweaks.
3006
9b0e3eba
AA
30072012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3008
3009 * cus-face.el (custom-face-attributes): Add wave-style underline
3010 attribute.
3011 * faces.el (set-face-attribute): Update docstring to describe
3012 wave-style underline attribute.
3013
771e3eae
CY
30142012-06-16 Chong Yidong <cyd@gnu.org>
3015
3016 * term/xterm.el (terminal-init-xterm): Discard input before
3017 querying background mode (Bug#10959).
3018
7ae2ea10
SM
30192012-06-16 Stefan Merten <smerten@oekonux.de>
3020
3021 * textmodes/rst.el: Added and corrected some comments.
3022 (rst-re-alist-def): Improve symbol syntax.
3023 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3024 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3025 (rst-official-version, rst-official-cvs-rev): Update version
3026 information.
7ae2ea10 3027
b6974efa
JB
30282012-06-15 Juanma Barranquero <lekktu@gmail.com>
3029
3030 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3031 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3032
8826d473
GM
30332012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3034
3035 * progmodes/python.el: New python.el merge.
3036 (python-guess-indent): Obsolete var.
3037 (python-indent-guess-indent-offset): New defcustom.
3038 (python-indent): Obsolete var.
3039 (python-indent-offset): New defcustom.
3040 (python-python-command, python-jython-command): Delete var.
3041 (python-shell-interpreter): New defcustom.
3042 (python-pdbtrack-do-tracking-p): Delete var.
3043 (python-pdbtrack-activate): New defcustom.
3044 (python-use-skeletons): Obsolete var.
3045 (python-skeleton-autoinsert): New defcustom.
3046 (inferior-python-filter-regexp, python-continuation-offset)
3047 (python-honour-comment-indentation, python-indent-string-contents)
3048 (python-jython-packages, python-mode-hook)
3049 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3050 (python-shell-prompt-alist)
3051 (python-source-modes): Delete defcustoms.
3052 (python-check-buffer-name, python-eldoc-setup-code)
3053 (python-eldoc-string-code, python-ffap-setup-code)
3054 (python-ffap-string-code, python-fill-comment-function)
3055 (python-fill-decorator-function, python-fill-paren-function)
3056 (python-fill-string-function, python-imenu-include-defun-type)
3057 (python-imenu-make-tree, python-imenu-subtree-root-label)
3058 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3059 (python-shell-compilation-regexp-alist)
3060 (python-shell-completion-module-string-code)
3061 (python-shell-completion-pdb-string-code)
3062 (python-shell-completion-setup-code)
3063 (python-shell-completion-string-code)
3064 (python-shell-enable-font-lock, python-shell-exec-path)
3065 (python-shell-extra-pythonpaths)
3066 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3067 (python-shell-process-environment)
3068 (python-shell-prompt-block-regexp)
3069 (python-shell-prompt-output-regexp)
3070 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3071 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3072 (python-shell-virtualenv-path): New defcustoms.
3073 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3074 (inferior-python-mode-syntax-table, python--prompt-regexp)
3075 (python-buffer, python-command python-python-command)
3076 (python-default-template, python-imports, python-indent-index)
3077 (python-indent-list, python-indent-list-length)
3078 (python-mode-running, python-pdbtrack-is-tracking-p)
3079 (python-preoutput-continuation, python-preoutput-leftover)
3080 (python-preoutput-result, python-preoutput-skip-next-prompt)
3081 (python-prev-dir/file, python-recursing)
3082 (python-saved-check-command, python-version-checked)
3083 (python-which-func-length-limit)
3084 (view-return-to-alist): Delete vars.
3085 (python-check-custom-command, python-dotty-syntax-table)
3086 (python-imenu-index-alist, python-indent-current-level)
3087 (python-indent-dedenters, python-indent-levels)
3088 (python-nav-beginning-of-defun-regexp)
3089 (python-nav-list-defun-positions-cache)
3090 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3091 (python-shell-internal-buffer)
3092 (python-skeleton-available): New vars.
3093 (def-python-skeleton): Delete macro.
3094 (python-skeleton-define): New macro.
3095 (python-define-auxiliary-skeleton, python-rx): New macros.
3096 (python-insert-class): Delete command.
3097 (python-skeleton-class): New command.
3098 (python-insert-def): Delete command.
3099 (python-skeleton-def): New command.
3100 (python-insert-for): Delete command.
3101 (python-skeleton-for): New command.
3102 (python-insert-if): Delete command.
3103 (python-skeleton-if): New command.
3104 (python-insert-try/except, python-insert-try/finally): Delete commands.
3105 (python-skeleton-try): New command.
3106 (python-insert-while): Delete command.
3107 (python-skeleton-while): New command.
3108 (python-backspace): Delete command.
3109 (python-indent-dedent-line-backspace): New command.
3110 (python-electric-colon): Delete command.
3111 (python-indent-electric-colon): New command.
3112 (python-guess-indent): Delete command.
3113 (python-indent-guess-indent-offset): New command.
3114 (python-shift-left): Delete command.
3115 (python-indent-shift-left): New command.
3116 (python-shift-right): Delete command.
3117 (python-indent-shift-right): New command.
3118 (python-find-function): Delete command.
3119 (python-nav-jump-to-defun): New command.
3120 (python-next-statement): Delete command.
3121 (python-nav-forward-sentence): New command.
3122 (python-previous-statement): Delete command.
3123 (python-nav-backward-sentence): New command.
3124 (python-fill-paragraph): Delete command.
3125 (python-fill-paragraph-function): New command.
3126 (python-send-buffer): Delete command.
3127 (python-shell-send-buffer): New command.
3128 (python-send-defun): Delete command.
3129 (python-shell-send-defun): New command.
3130 (python-send-region, python-send-region-and-go): Delete commands.
3131 (python-shell-send-region)
3132 (python-shell-switch-to-shell): New commands.
3133 (python-send-string): Delete command.
3134 (python-shell-send-string): New command.
3135 (python-switch-to-python): Delete command.
3136 (python-shell-switch-to-shell): New command.
3137 (python-describe-symbol): Delete command.
3138 (python-eldoc-at-point): New command.
3139 (python--set-prompt-regexp, python-args-to-list)
3140 (python-after-info-look, python-check-version)
3141 (python-check-comint-prompt, python-find-imports)
3142 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3143 (python-unload-function, python-expand-template)
3144 (python-maybe-jython, python-preoutput-filter)
3145 (python-pdbtrack-get-source-buffer)
3146 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3147 (python-pdbtrack-toggle-stack-tracking)
3148 (python-pdbtrack-track-stack-file, python-initial-text)
3149 (python-first-word, python-comment-line-p, python-send-command)
3150 (python-setup-brm, python-sentinel, python-set-proc)
3151 (python-skip-out, python-input-filter, python-outdent-p)
3152 (python-outline-level, python-backslash-continuation-line-p)
3153 (python-end-of-block, python-end-of-statement, python-mark-block)
3154 (python-beginning-of-block, python-beginning-of-statement)
3155 (python-blank-line-p, python-beginning-of-string)
3156 (python-open-block-statement-p): Delete functions.
3157 (python-indent-line, python-indent-line-1): Delete functions.
3158 (python-indent-line): New function.
3159 (python-indentation-levels): Delete function.
3160 (python-indent-calculate-levels): New function.
3161 (python-proc): Delete function.
3162 (python-shell-get-process): New function.
3163 (python-send-receive): Delete function.
3164 (python-shell-send-string-no-output): New function.
3165 (python-module-path): Delete function.
3166 (python-ffap-module-path): New function.
3167 (python-completion-at-point)
3168 (python-symbol-completions): Delete functions.
3169 (python-completion-complete-at-point): New function.
3170 (python-load-file): Delete function.
3171 (python-shell-send-file): New function.
3172 (python-calculate-indentation): Delete function.
3173 (python-indent-calculate-indentation): New function.
3174 (python-skip-comments/blanks): Delete function.
3175 (python-util-forward-comment): New function.
3176 (python-continuation-line-p): Delete function.
3177 (python-info-continuation-line-p): New function.
3178 (python-which-func, python-current-defun): Delete function.
3179 (python-info-current-defun): New function.
3180 (python-beginning-of-defun): Delete function.
3181 (python-nav-beginning-of-defun): New function.
3182 (python-close-block-statement-p)
3183 (python-block-end-p): Delete function.
3184 (python-info-closing-block): New function.
3185 (python-comint-output-filter-function)
3186 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3187 (python-fill-comment, python-fill-decorator, python-fill-paren)
3188 (python-fill-string, python-imenu-make-element-tree)
3189 (python-imenu-make-tree, python-imenu-tree-assoc)
3190 (python-indent-context, python-indent-dedent-line)
3191 (python-indent-line-function)
3192 (python-indent-post-self-insert-function)
3193 (python-indent-toggle-levels)
3194 (python-info-assignment-continuation-line-p)
3195 (python-info-beginning-of-backlash)
3196 (python-info-block-continuation-line-p)
3197 (python-info-closing-block-message)
3198 (python-info-line-ends-backslash-p)
3199 (python-info-looking-at-beginning-of-defun)
3200 (python-info-ppss-context, python-info-ppss-context-type)
3201 (python-nav-list-defun-positions, python-nav-read-defun)
3202 (python-nav-sentence-end, python-nav-sentence-start)
3203 (python-pdbtrack-comint-output-filter-function)
3204 (python-pdbtrack-set-tracked-buffer)
3205 (python-shell-calculate-exec-path)
3206 (python-shell-calculate-process-environment)
3207 (python-shell-completion--do-completion-at-point)
3208 (python-shell-completion--get-completions)
3209 (python-shell-completion-complete-at-point)
3210 (python-shell-completion-complete-or-indent)
3211 (python-shell-get-or-create-process)
3212 (python-shell-get-process-name)
3213 (python-shell-internal-get-or-create-process)
3214 (python-shell-internal-get-process-name)
3215 (python-shell-internal-send-string, python-shell-make-comint)
3216 (python-shell-parse-command, python-shell-send-setup-code)
3217 (python-skeleton-add-menu-items)
3218 (python-util-clone-local-variables, python-util-position)
3219 (run-python-internal, python-indentation-levels)
3220 (python-nav-beginning-of-defun)
3221 (python-completion-complete-at-point): New functions.
3222 (run-python): Change arguments. New API requirements.
3223
4302f5ba
SM
32242012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3225
f38ea36d
SM
3226 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3227 (bug#11649).
3228
3229 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3230 (macroexp--expand-all): Use it.
3231
4302f5ba
SM
3232 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3233 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3234 Use `cl-function' instead.
3235
33377562
JB
32362012-06-14 Juanma Barranquero <lekktu@gmail.com>
3237
3238 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3239 Suggested by Stefan Monnier while discussing bug#11657.
3240
54c5ba1a
SS
32412012-06-14 Sam Steingold <sds@gnu.org>
3242
3243 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3244
f9f1b1fe
AS
32452012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3246
3247 * play/doctor.el (doctor-doc): Remove parameter and use
3248 doctor-sent instead of sent.
3249 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3250
a81068ba
SM
32512012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3252
5a315f9c
SM
3253 * files.el: Require cl-lib.
3254 (file-name-non-special): Replace case -> cl-case.
3255
3256 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3257
a81068ba
SM
3258 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3259 mapping from #' to function*.
3260
8cca9703
CY
32612012-06-13 Chong Yidong <cyd@gnu.org>
3262
3263 * mouse.el (mouse-drag-track): Do not set the mark if the user
3264 releases the mouse without selecting anything (Bug#11588).
3265
a12ac9d7
SM
32662012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3267
ccf1dc18
SM
3268 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3269 as well (bug#11646).
3270
ef62b23d
SM
3271 * loadup.el: Count byte-code functions as well.
3272
c4c8444a
SM
3273 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3274 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3275
a12ac9d7
SM
3276 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3277 (bug#11649). Add cl-defun and cl-defmacro.
3278
87e6e64f
DA
32792012-06-13 Drew Adams <drew.adams@oracle.com>
3280
3281 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3282 Fix last change.
3283
682cefaf
MA
32842012-06-13 Michael Albinus <michael.albinus@gmx.de>
3285
3286 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3287 Otherwise, it blocks in batch mode.
3288
773e1f08
JB
32892012-06-13 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * help-mode.el (bookmark-make-record-default): Declare.
3292
60057926
CY
32932012-06-13 Chong Yidong <cyd@gnu.org>
3294
3295 * emacs-lisp/package.el (list-packages): Compute a list of
3296 packages that are newly-available since the last list-packages
3297 invocation.
3298 (package-menu--new-package-list): New var.
3299 (package-menu--generate, package-menu--print-info)
3300 (package-menu--status-predicate, package-menu-mark-install):
3301 Handle new status label "new".
3302
ad4d226c
SM
33032012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3306 conversion to backquotes.
3307
f1a4e679
CY
33082012-06-12 Chong Yidong <cyd@gnu.org>
3309
3310 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3311 Rename from gud-inhibit-global-bindings.
3312
3313 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3314
3315 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3316 hook from nxml-glyph-set-hook.
3317
3318 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3319 declaration.
3320
3321 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3322
3323 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3324 Convert to defcustom.
3325
0c9e42b5
DA
33262012-06-12 Drew Adams <drew.adams@oracle.com>
3327
3328 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3329 New functions.
3330 (help-mode): Use them.
3331
09e06855
GM
33322012-06-11 Glenn Morris <rgm@gnu.org>
3333
3334 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3335 Use preprocessor face for directives.
3336 (fortran-directive-re): Doc fix.
3337
71adb94b
SM
33382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3339
2eb87922
SM
3340 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3341 conversion to backquotes (bug#11652).
3342
71adb94b
SM
3343 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3344 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3345 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3346 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3347 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3348 (cl-ninth, cl-tenth): Mark them as inlinable.
3349 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3350 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3351 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3352 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3353 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3354 (cl-list*, cl-adjoin): Don't put an autoload manually.
3355 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3356 (cl--compiler-macro-list*): Add autoload cookie.
3357 (cl--compiler-macro-cXXr): New function.
2eb87922 3358
71adb94b
SM
3359 * help-fns.el (help-fns--compiler-macro): New function extracted from
3360 describe-function-1; follow aliases and use `compiler-macro' property.
3361 (describe-function-1): Use it.
3362
a6674402
CY
33632012-06-11 Chong Yidong <cyd@gnu.org>
3364
3365 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3366 is uninstalled, if imagemagick is installed.
3367
bb3faf5b
SM
33682012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * emacs-lisp/cl-lib.el: Use lexical-binding.
3371 (cl-map-extents, cl-maclisp-member): Remove.
3372 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3373 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3374 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3375 * emacs-lisp/cl-extra.el: Use lexical-binding.
3376 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3377 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3378 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3379 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3380 * emacs-lisp/cl-seq.el: Use lexical-binding.
3381 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3382 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3383 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3384 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3385 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3386 CL's internals.
3387
2fe4b125
MA
33882012-06-11 Michael Albinus <michael.albinus@gmx.de>
3389
3390 Sync with Tramp 2.2.6-pre.
3391
3392 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3393 `print-length' and `print-level' to nil, in order to avoid
3394 truncation. Reported by Christopher Schmidt
3395 <christopher@ristopher.com>.
3396
3397 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3398
3399 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3400 New defmacro.
3401 (tramp-compat-copy-directory): Add optional argument
3402 COPY-CONTENTS. It is not handled yet.
3403
3404 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3405 (tramp-ftp-file-name-p): Simplify.
3406
3407 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3408 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3409 connection vector.
3410
3411 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3412 (tramp-methods): Do not use `tramp-password-end-of-line'.
3413 (tramp-completion-function-alist-putty): Handle UNIX case.
3414 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3415 (tramp-do-file-attributes-with-stat)
3416 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3417 gid as real numbers. They could run out of integer range on cygwin.
3418 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3419 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3420 (tramp-open-connection-setup-interactive-shell):
3421 Use `tramp-cleanup'. Move check for busyboxes ...
3422 (tramp-find-shell): ... here. Simplify implementation.
3423 Set "remote-shell" property also for alternative shells.
3424 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3425 If failing, a regular file would be written otherwise.
3426 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3427 (tramp-find-inline-encoding): Cache the coding commands in the
3428 process cache. Apply test command on the remote side, if defined.
3429 (tramp-find-inline-compress): Cache the compress commands in the
3430 process cache.
3431 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3432 when requested. Handle hops.
3433 (tramp-current-connection): New defvar.
87e6e64f
DA
3434 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3435 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3436 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3437 (tramp-get-inline-compress, tramp-get-inline-coding):
3438 Read connection properties from the process cache.
2fe4b125
MA
3439
3440 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3441 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3442 New defconsts.
2fe4b125
MA
3443 (tramp-smb-prompt): Extend for powershell prompt.
3444 (tramp-smb-file-name-handler-alist): Add handlers for
3445 `process-file', `shell-command' and `start-file-process'.
3446 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3447 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3448 (tramp-smb-file-name-p): Simplify.
3449 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3450 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3451 (tramp-smb-shell-quote-argument): New defuns.
3452 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3453 Implement using "tar". By this, time-stamps are preserved.
3454 (tramp-smb-handle-copy-file): Handle also the case of directories.
3455 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3456 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3457 Use `tramp-get-connection-buffer').
2fe4b125
MA
3458 (tramp-smb-handle-rename-file): Use "rename", when source and
3459 target are on the same share.
87e6e64f
DA
3460 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3461 Use `tramp-smb-server-version'.
2fe4b125
MA
3462 (tramp-smb-wait-for-output): Remove prompt.
3463
3464 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3465 (tramp-methods, tramp-rsh-end-of-line):
3466 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3467 (tramp-save-ad-hoc-proxies): New defcustom.
3468 (tramp-completion-function-alist): Adapt docstring.
3469 (tramp-default-password-end-of-line): Remove defcustom.
3470 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3471 (tramp-user-regexp, tramp-file-name-regexp-unified)
3472 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3473 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3474 (tramp-remote-file-name-spec-regexp): New defconst.
3475 (tramp-file-name-structure): Extend structure for hops.
3476 (tramp-get-method-parameter): Move up.
3477 (tramp-file-name-p, tramp-dissect-file-name)
3478 (with-parsed-tramp-file-name): Handle hops.
3479 (tramp-file-name-hop): New defun.
3480 (tramp-make-tramp-file-name): New optional arg HOP.
3481 (tramp-message-show-progress-reporter-message): New defvar.
3482 (tramp-with-progress-reporter): Use it. We cannot use
3483 `tramp-message-show-message' here, because this suppresses also
3484 error buffers.
3485 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3486 `tramp-message-show-message' is nil.
3487 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3488 (tramp-cleanup): New defun.
3489 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3490 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3491 an error unchanged.
3492 (tramp-completion-handle-file-name-all-completions): Handle hops.
3493 Fix an error when called from ido.
3494 (tramp-completion-dissect-file-name): Use better local variable
3495 name. Add hop to the vector.
3496 (tramp-handle-insert-file-contents): Use progress-reporter for the
3497 whole scenario.
3498 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3499 to `t'.
3500 (tramp-check-for-regexp): Simplify search.
3501 (tramp-enter-password): Remove it. Move implementation ...
3502 (tramp-action-password): ... here.
3503 (tramp-mode-string-to-int, tramp-local-host-p)
3504 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3505 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3506 Set tramp-autoload cookie.
2fe4b125
MA
3507
3508 * net/trampver.el: Update release number.
3509
35102012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3511 Michael Albinus <michael.albinus@gmx.de>
3512
3513 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3514 (tramp-parse-group, tramp-parse-file)
3515 (tramp-parse-shostkeys-sknownhosts): New defuns.
3516 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3517 (tramp-parse-shosts-group, tramp-parse-sconfig)
3518 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3519 (tramp-parse-sknownhosts, tramp-parse-hosts)
3520 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3521 Use them.
3522 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3523 (tramp-parse-putty-group): Don't narrow.
3524 (tramp-parse-putty): Make a loop.
3525 (tramp-file-name-handler): Catch the `suppress' signal.
3526
72834e10
CY
35272012-06-11 Chong Yidong <cyd@gnu.org>
3528
3529 * image.el (imagemagick-register-types): Put the ImageMagick entry
3530 at the end of image-type-file-name-regexps.
3531
a4712e11
JB
35322012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
3533
3534 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3535 (pcase, pcase-let*, pcase-dolist): Use them.
3536
82ad98e3
SM
35372012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * emacs-lisp/pcase.el (pcase--let*): New function.
3540 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3541 (pcase--expand): Use macroexp-let².
3542
f80efb86
SM
35432012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3546 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3547 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3548 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3549 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3550 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3551
31ca4639 35522012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3553
31ca4639
CY
3554 * mail/rmail.el (rmail-yank-current-message): Leave point at
3555 correct position. (Bug#11660)
94f0aa34 3556
31ca4639 35572012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3558
31ca4639 3559 * allout-widgets.el: Fix code header.
9e1b8ec4 3560
31ca4639 35612012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3562
f80efb86
SM
3563 * cus-edit.el (customize-changed-options-previous-release):
3564 Bump to 24.1.
31ca4639 3565
642b6d30
AS
35662012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3569
4f5d2ba1
CY
35702012-06-09 Chong Yidong <cyd@gnu.org>
3571
3572 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3573
e75852fd
MR
35742012-06-09 Martin Rudalics <rudalics@gmx.at>
3575
3576 * window.el (special-display-popup-frame): Don't use
3577 window--display-buffer (Bug#11651).
3578
1e48e282
EZ
35792012-06-09 Eli Zaretskii <eliz@gnu.org>
3580
8a26b487
EZ
3581 Fix parallel builds: make sure loaddefs.el is not being written
3582 while Lisp files are compiled.
3583 (compile): Don't depend on 'mh-autoloads'.
3584 (compile-CMD, compile-SH): Depend on 'autoloads'.
3585 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3586
1e48e282
EZ
3587 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3588
6175e34b
CY
35892012-06-09 Chong Yidong <cyd@gnu.org>
3590
3591 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3592 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3593 Doc fixes (Bug#11225).
3594
d9857e53
SM
35952012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3598 a function if there's a clear indication that it has a compiler-macro.
3599 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3600 (macro-declarations-alist): Add arglist to declaration functions.
3601 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3602 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3603 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3604 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3605 Also add autoload to find the compiler macro.
3606 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3607 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3608 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3609 (cl--compiler-macro-get): New functions, replacing calls to
3610 cl-define-compiler-macro.
3611 (cl-typep) [compiler-macro]: Use macroexp-let².
3612
f81298f8 36132012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3614
3615 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3616 string properly, fixes Bug#11473.
3617
4b56d0fe
CY
36182012-06-08 Chong Yidong <cyd@gnu.org>
3619
3620 * faces.el (set-face-attribute): Doc fix.
3621 (modify-face): Don't use :bold and :italic.
3622 (error, warning, success): Tweak definitions.
3623
3624 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3625 (custom-modified, custom-set, custom-changed, custom-themed)
3626 (custom-saved, custom-button, custom-button-mouse)
3627 (custom-button-pressed, custom-state, custom-comment-tag)
3628 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3629 (custom-group-subtitle): Use new-style face specs.
3630 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3631 (custom-set-face, custom-changed-face, custom-saved-face)
3632 (custom-button-face, custom-button-pressed-face)
3633 (custom-documentation-face, custom-state-face)
3634 (custom-comment-face, custom-comment-tag-face)
3635 (custom-variable-tag-face, custom-variable-button-face)
3636 (custom-face-tag-face, custom-group-tag-face-1)
3637 (custom-group-tag-face): Remove obsolete face alias.
3638
3639 * epa.el (epa-validity-high, epa-validity-medium)
3640 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3641 (epa-field-name, epa-field-body):
3642 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3643 (font-lock-keyword-face, font-lock-builtin-face)
3644 (font-lock-function-name-face, font-lock-variable-name-face)
3645 (font-lock-type-face, font-lock-constant-face):
3646 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3647 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3648 * speedbar.el (speedbar-button-face, speedbar-file-face)
3649 (speedbar-directory-face, speedbar-tag-face)
3650 (speedbar-selected-face, speedbar-highlight-face)
3651 (speedbar-separator-face):
3652 * whitespace.el (whitespace-newline, whitespace-space)
3653 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3654 (whitespace-line, whitespace-space-before-tab)
3655 (whitespace-space-after-tab, whitespace-indentation)
3656 (whitespace-empty):
3657 * emulation/cua-base.el (cua-global-mark):
3658 * eshell/em-prompt.el (eshell-prompt):
3659 * net/newst-plainview.el (newsticker-new-item-face)
3660 (newsticker-old-item-face, newsticker-immortal-item-face)
3661 (newsticker-obsolete-item-face, newsticker-date-face)
3662 (newsticker-statistics-face, newsticker-default-face):
3663 * net/newst-reader.el (newsticker-feed-face)
3664 (newsticker-extra-face, newsticker-enclosure-face):
3665 * net/newst-treeview.el (newsticker-treeview-face)
3666 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3667 (newsticker-treeview-immortal-face)
3668 (newsticker-treeview-obsolete-face)
3669 (newsticker-treeview-selection-face):
3670 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3671 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3672 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3673 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3674 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3675 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3676 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3677 (mpuz-text):
3678 * progmodes/vera-mode.el (vera-font-lock-number)
3679 (vera-font-lock-function, vera-font-lock-interface):
3680 * textmodes/table.el (table-cell): Use new-style face specs, and
3681 don't use the old :bold and :italic attributes.
3682
3683 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3684 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3685 (ebrowse-member-class, ebrowse-progress): Likewise.
3686 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3687 (ebrowse-file-name-face, ebrowse-default-face)
3688 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3689 (ebrowse-progress-face): Remove obsolete faces.
3690
3691 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3692 Inherit from error and warning faces respectively.
3693
3694 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3695 Likewise.
f80efb86
SM
3696 (flyspell-incorrect-face, flyspell-duplicate-face):
3697 Remove obsolete aliases.
4b56d0fe 3698
03310646
MA
36992012-06-08 Michael Albinus <michael.albinus@gmx.de>
3700
3701 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3702 Avoid infloop.
3703
513749ee
SM
37042012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * startup.el (argv, argi): Make lexically scoped.
3707 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3708 * emacs-lisp/cl-macs.el: Use lexical-binding.
3709 Rename cl-bind-* to cl--bind-*.
3710 * files.el: Don't require `cl' since it doesn't use it.
3711 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3712
595ef4ad
JB
37132012-06-08 Juanma Barranquero <lekktu@gmail.com>
3714
3715 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3716 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3717 instead of calling external sort utility.
3718 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3719
e9f66fcb
EZ
37202012-06-08 Eli Zaretskii <eliz@gnu.org>
3721
3722 * descr-text.el (describe-char): Mention how to insert the
3723 character, if the current input method doesn't support it.
3724 See the discussion in this thread for the details:
3725 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3726
3d10db47
SS
37272012-06-08 Sam Steingold <sds@gnu.org>
3728
3729 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3730 XF86Back to previous-buffer.
3731 (minibuffer-local-map): Bind them to next-history-element and
3732 previous-history-element respectively.
3733 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3734 help-go-back respectively.
3735 * info.el (Info-mode-map): Bind them to Info-history-forward and
3736 Info-history-back respectively.
3737 These are the keys next to Up on the ThinkPad keyboard.
3738
de7e2b36
SM
37392012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3742 * emacs-lisp/cl-macs.el: Provide itself.
3743 (cl--labels-convert-cache): New var.
3744 (cl--labels-convert): New function.
3745 (cl-flet, cl-labels): New implementation with new semantics, relying on
3746 lexical-binding.
3747 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3748 (cl-closure-vars, cl--function-convert-cache)
3749 (cl--function-convert): Move from cl-macs.el.
3750 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3751 rename by removing the "cl-" prefix.
3752 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3753
6fa6c4ae
SM
37542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3757 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3758 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3759 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3760 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3761 (cl-hash-table-count): Add old compatibility aliases.
3762
3763 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3764 Use macroexpand-all-environment instead.
3765 (cl--old-macroexpand): New var.
3766 (cl--sm-macroexpand): New function.
3767 (cl-symbol-macrolet): Use it during macro expansion.
3768 (cl--function-convert-cache): New var.
3769 (cl--function-convert): New function, extracted from
3770 cl-macroexpand-all.
3771 (cl-lexical-let): Use it.
3772
3773 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3774 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3775 (cl-member): Remove old alias.
3776
3777 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3778 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3779 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3780 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3781 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3782 (cl-macroexpand-cmacs): Remove var.
3783 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3784 Use macroexpand-all instead.
3785
4dd1c416
SM
37862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3789 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3790 (macroexp-copyable-p): New functions and macros.
3791 * emacs-lisp/edebug.el (edebug-unwrap):
3792 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3793 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3794 (pcase--let*): Remove.
3795 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3796 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3797 macroexp-const-p instead.
3798 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3799
3800 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3801 instead of "cl-" for internal definitions. Use macroexp-const-p.
3802 (cl-old-bc-file-form): Remove var.
3803 (cl-const-exprs-p): Remove fun.
3804 (cl-labels, cl-macrolet): Use backquote.
3805 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3806 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3807 (cl-define-setf-expander): Rename from cl-define-setf-method.
3808 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3809
3810 * international/mule-cmds.el: Don't require CL.
3811 (view-hello-file): Don't use `letf'.
3812
ed8bd4d7
SM
38132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3814
7287f2f3
SM
3815 * tmm.el (tmm-prompt): Use string-prefix-p.
3816 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3817 (tmm-add-prompt): Use minibuffer-completion-help.
3818 (tmm-delete-map): Remove.
3819
ed8bd4d7
SM
3820 * subr.el (kbd): Make it its own function.
3821
7b4cdbf4
SM
38222012-06-07 Stefan Merten <smerten@oekonux.de>
3823
3824 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3825 Silence compiler warnings. Fix versions.
ed8bd4d7 3826 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3827 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3828 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3829 (rst-package-emacs-version-alist): Correct Emacs version to
3830 represent major merge with upstream.
ed8bd4d7 3831 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3832
2b48d721
GM
38332012-06-06 Glenn Morris <rgm@gnu.org>
3834
3835 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3836 Only print environment variables if set.
3837
fa779ab0
SM
38382012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3841 (macroexp--cons): Rename from maybe-cons.
3842 (macroexp--accumulate): Rename from macroexp-accumulate.
3843 (macroexp--all-forms): Rename from macroexpand-all-forms.
3844 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3845 (macroexp--expand-all): Rename from macroexpand-all-1.
3846
628299e0
SS
38472012-06-06 Sam Steingold <sds@gnu.org>
3848
3849 * calendar/calendar.el (calendar-in-read-only-buffer):
3850 Call `special-mode' to enable the standard read-only keybindings.
3851
b7bb5838
SM
38522012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3855 with "loading" messages (bug#11635).
3856
dfb308ba
MA
38572012-06-06 Michael Albinus <michael.albinus@gmx.de>
3858
3859 * files.el (enable-remote-dir-locals): New option.
3860 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3861
0372ee92
MA
3862 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3863 Ensure, that the temp directory is local.
3864
3865 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3866 `temporary-file-directory'.
3867
eed0bb91
MA
3868 * progmodes/python.el (python-send-region): Ensure, that the
3869 temporary file is created also in the remote case.
3870
7a58f64d
GM
38712012-06-06 Glenn Morris <rgm@gnu.org>
3872
f7dd4e98
GM
3873 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3874 (vc-rcs-update-changelog): Use it.
3875
090bd7cb 3876 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3877
7a58f64d
GM
3878 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3879 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3880 (vc-sccs-diff): Replace use of the external vcdiff script.
3881
daed4003
GM
38822012-06-05 Glenn Morris <rgm@gnu.org>
3883
3884 * ledit.el: Move to obsolete/.
3885
48c455c7
SS
38862012-06-05 Sam Steingold <sds@gnu.org>
3887
ed9265fc 3888 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3889 patch (Bug#11140).
3890
57a7d507
SM
38912012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3892
090bd7cb 3893 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3894
53aacf21
SM
3895 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3896 compiler-macro expansion.
3897
57a7d507
SM
3898 Add native compiler-macro support.
3899 * emacs-lisp/macroexp.el (macroexpand-all-1):
3900 Support compiler-macros directly. Properly follow aliases and apply
3901 the compiler macros more thoroughly.
3902 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3903 macroexpand now properly follows aliases.
3904 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3905 (cl-compiler-macroexpand): Use new prop.
3906 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3907
3908 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3909
51a5f9d8
MR
39102012-06-05 Martin Rudalics <rudalics@gmx.at>
3911
3912 * window.el (get-lru-window, get-mru-window, get-largest-window):
3913 New argument NOT-SELECTED to avoid picking the selected window.
3914 (window--display-buffer-1, window--display-buffer-2): Replace by
3915 new function window--display-buffer
3916 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3917 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3918 Use window--display-buffer.
51a5f9d8
MR
3919 (display-buffer-use-some-window): Remove temporary dedication
3920 hack by calling get-lru-window and get-largest-window with
3921 NOT-SELECTED argument non-nil. Call window--display-buffer.
3922
08f9f738
GM
39232012-06-05 Glenn Morris <rgm@gnu.org>
3924
3925 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3926 Replace external vcdiff script.
3927
e364a2b7
SM
39282012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3931
041df390
CY
39322012-06-04 Chong Yidong <cyd@gnu.org>
3933
e364a2b7
SM
3934 * image.el (imagemagick-types-inhibit): Revert last change.
3935 Add INFO and M.
47b36b94 3936 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3937
7c1898a7
SM
39382012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * emacs-lisp/cl-lib.el: Rename from cl.el.
3941 * emacs-lisp/cl.el: New compatibility file.
3942 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3943 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3944 to obey the "cl-" prefix.
3945 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3946
0c3461de
GM
39472012-06-03 Glenn Morris <rgm@gnu.org>
3948
1e266c88
GM
3949 * emacs-lisp/authors.el (authors-aliases): Addition.
3950
0c3461de
GM
3951 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3952 Fix :version.
3953
d8a52e15
SM
39542012-06-03 Stefan Merten <smerten@oekonux.de>
3955
3956 * textmodes/rst.el: Add comments.
3957 (rst-transition, rst-adornment): New faces.
3958 (rst-adornment-faces-alist): Make default safe to reevaluate.
3959 Fixes
3960 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3961 Improve customization tags.
3962 (rst-define-level-faces): Clarify meaning.
3963
5205d6f6
CY
39642012-06-03 Chong Yidong <cyd@gnu.org>
3965
3966 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3967 (compilation-mode-line-run, compilation-mode-line-exit):
3968 New faces.
5205d6f6
CY
3969 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3970
757ee657
JD
39712012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3972
7c1898a7
SM
3973 * progmodes/which-func.el (which-func-update-ediff-windows):
3974 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3975
5f2c76c6
CY
39762012-06-03 Chong Yidong <cyd@gnu.org>
3977
3978 * bindings.el: Remove explicit help text from format-mode-line.
3979 It is now supplied by mode-line-default-help-echo.
3980 (mode-line-front-space, mode-line-end-spaces)
3981 (mode-line-misc-info): New variables.
3982 (mode-line-modes, mode-line-position): Move the default value to
3983 the variable definition.
3984 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3985 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3986 (mode-line-modified-help-echo): New functions.
3987 (mode-line-mule-info, mode-line-modified): Use them.
3988 (mode-line-eol-desc, propertized-buffer-identification):
3989 Consistency fixes for help text.
cbe46e5f
CY
3990 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3991 set-buffer-file-coding-system (Bug#289).
3992 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3993
f2d6a3df
SM
39942012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * simple.el (execute-extended-command): Set real-this-command
3997 (bug#11506).
3998
37269466
CY
39992012-06-02 Chong Yidong <cyd@gnu.org>
4000
4001 Remove incorrect uses of "modeline" in comments, docstrings, and
4002 function/variable names (Bug#10329).
4003
4004 * cus-edit.el (mode-line):
4005 * dframe.el (dframe-mouse-hscroll):
4006 * emacs-lisp/re-builder.el:
4007 * emacs-lisp/easy-mmode.el (define-minor-mode):
4008 * frame.el (set-frame-name):
4009 * help.el (lookup-minor-mode-from-indicator):
4010 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4011 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4012 (c-toggle-hungry-state):
4013 * progmodes/antlr-mode.el (antlr-language-alist):
4014 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4015 * progmodes/vhdl-mode.el (vhdl-mode):
4016 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4017 * term/ns-win.el (ns-face-at-pos):
4018 * term/sup-mouse.el (sup-mouse-report):
4019 * textmodes/flyspell.el (flyspell-mode-line-string):
4020 * textmodes/ispell.el (ispell-highlight-face):
4021 * textmodes/reftex-global.el:
4022 * vc/vc-arch.el (vc-arch-mode-line-string):
4023 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4024 * vc/vc-git.el (vc-git-mode-line-string):
4025 * vc/vc-hooks.el (vc-display-status)
4026 (vc-default-mode-line-string):
4027 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4028
4029 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4030
4031 * dired.el (dired-sort-set-mode-line): Rename from
4032 dired-sort-set-modeline. All callers changed.
4033
4034 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4035 eshell-status-in-modeline.
4036
4037 * foldout.el (foldout-mode-line-string): Rename from
4038 foldout-modeline-string. All callers changed.
4039 (foldout-update-mode-line): Rename from foldout-update-modeline.
4040
4041 * subr.el (redraw-modeline): Make into obsolete alias.
4042
4043 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4044 timeclock-modeline-display. Make old name an alias.
4045 (timeclock-update-mode-line): Likewise. All callers changed.
4046 (timeclock-mode-line-display): No need to check before using
4047 add-hook.
4048 (timeclock-relative, timeclock-day-over-hook)
4049 (timeclock-use-elapsed, timeclock-mode-string)
4050 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4051
4052 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4053 crisp-mode-modeline-string.
4054
4055 * play/solitaire.el (solitaire-build-mode-line): Rename from
4056 solitaire-build-modeline. All callers changed.
4057
4058 * play/zone.el (zone-hiding-mode-line): Rename from
4059 zone-hiding-modeline. All callers changed.
4060 (zone): Remove unusued `modeline-hidden-level' property.
4061
4062 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4063 xscheme-modeline-initialize. All callers changed.
4064
4065 * strokes.el (strokes-lighter): Rename from
4066 strokes-modeline-string.
4067
4068 * textmodes/sgml-mode.el (html-face-tag-alist)
4069 (html-tag-face-alist): Use mode-line face instead of obsolete
4070 alias modeline.
4071
42152ee4
SM
40722012-06-02 Stefan Merten <smerten@oekonux.de>
4073
4074 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4075 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4076
95f520b5
CY
40772012-06-02 Chong Yidong <cyd@gnu.org>
4078
4079 * image.el (imagemagick-enabled-types): Rename from
4080 imagemagick-types-enable. Add many more types.
4081 (imagemagick-types-inhibit): Change default to nil.
4082 (imagemagick-filter-types): Caller changed.
4083
4a5f187a
SM
40842012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4085
03fef3e6
SM
4086 * emacs-lisp/cl-macs.el: Use backquotes.
4087 (cl-transform-function-property): Use eval-and-compile rather than
4088 abusing `require'.
4089 (defstruct): Use declare-function instead of with-no-warnings.
4090
4a5f187a
SM
4091 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4092 (byte-compile-output-docform): Re-add the print-circle bindings.
4093 (byte-compile-fix-header): Use #$ just because it's shorter.
4094 (byte-compile-output-file-form): Remove defun/defmacro.
4095
bd56924f
MR
40962012-06-01 Martin Rudalics <rudalics@gmx.at>
4097
4098 * simple.el (choose-completion): Remove now obsolete binding for
4099 owindow.
4100
046e38ce
MA
41012012-06-01 Michael Albinus <michael.albinus@gmx.de>
4102
4103 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4104 in order to avoid "Stack overflow in regexp matcher".
4105
32d72c2f
GM
41062012-05-31 Glenn Morris <rgm@gnu.org>
4107
4108 * image.el: For clarity, call imagemagick-register-types at
4109 top-level, rather than relying on a custom :initialize.
4110 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4111 (imagemagick-filter-types): New function. (Bug#7406)
4112 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4113 If disabling support, remove elements altogether rather
4114 than using an impossible regexp.
4115 (imagemagick-types-inhibit): Give it the default init function.
4116
dd41169b
SM
41172012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4a5f187a
SM
4119 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4120 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4121
efc00ab1 41222012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4123
4124 * desktop.el (desktop-read): Clear previous and next buffers for
4125 all windows and bury *Messages* buffer (bug#11556).
4126
500fcedc
SM
41272012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 Add `declare' for `defun'. Align `defmacro's with it.
4130 * emacs-lisp/easy-mmode.el (define-minor-mode)
4131 (define-globalized-minor-mode): Don't autoload the var definitions.
4132 * emacs-lisp/byte-run.el: Use lexical-binding.
4133 (defun-declarations-alist, macro-declarations-alist): New vars.
4134 (defmacro, defun): Use them.
4135 (make-obsolete, define-obsolete-function-alias)
4136 (make-obsolete-variable, define-obsolete-variable-alias):
4137 Use `declare'.
4138 (macro-declaration-function): Mark obsolete.
4139 * emacs-lisp/autoload.el: Use lexical-binding.
4140 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4141
6e8a1786
AM
41422012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4143
4144 * textmodes/ispell.el (ispell-with-no-warnings):
4145 Define as a macro.
500fcedc
SM
4146 (ispell-kill-ispell, ispell-change-dictionary):
4147 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4148 `interactive-p'.
4149
61b108cc
SM
41502012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4153 (macro-declaration-function): Move var from C code.
4154 (macro-declaration-function): Define function with defalias.
4155 * emacs-lisp/macroexp.el (macroexpand-all-1):
4156 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4157 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4158 defun/defmacro any more.
4159 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4160 Provide fallback for unknown arglist.
4161 (byte-compile-arglist-warn): Change calling convention.
4162 (byte-compile-output-file-form): Move print-vars binding.
4163 (byte-compile-output-docform): Simplify accordingly.
4164 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4165 (byte-compile-defmacro-declaration): Remove.
4166 (byte-compile-file-form-defmumble): Generalize to defalias.
4167 (byte-compile-output-as-comment): Return byte-positions.
4168 Simplify callers accordingly.
4169 (byte-compile-lambda): Use `assert'.
4170 (byte-compile-defun, byte-compile-defmacro): Remove.
4171 (byte-compile-file-form-defalias):
4172 Use byte-compile-file-form-defmumble.
4173 (byte-compile-defalias-warn): Remove.
4174
6d3f7c2f
SM
41752012-05-29 Stefan Merten <smerten@oekonux.de>
4176
4177 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4178 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4179
4180 (rst-mode-abbrev-table): Merge definition.
4181 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4182 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4183
6dbaa1c7
UJ
41842012-05-29 Ulf Jasper <ulf.jasper@web.de>
4185
4186 * calendar/icalendar.el
4187 (icalendar-export-region): Export UID properly.
4188
d209e2fb 41892012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4190 * calendar/icalendar.el (icalendar-import-format):
4191 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4192 (icalendar-import-format-uid): New.
4193 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4194 Export UID.
4195
6876a58d
SM
41962012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4199 different alternative patterns.
4200 (pcase-codegen): Be more careful to preserve identity.
4201 (pcase--u1): Don't forget to mark vars as used.
4202
4203 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4204 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4205 (byte-compile-from-buffer): ...rather than here.
4206
4207 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4208 functions from byte-compile-function-environment.
4209
46b7967e
TN
42102012-05-29 Troels Nielsen <bn.troels@gmail.com>
4211
4212 * window.el (window-deletable-p): Avoid deleting the root window
4213 of a frame with an active minibuffer.
4214
69d565e2
MR
42152012-05-29 Martin Rudalics <rudalics@gmx.at>
4216
4217 * simple.el (choose-completion): Use quit-window (Bug#11567).
4218
a149fa51
CY
42192012-05-29 Chong Yidong <cyd@gnu.org>
4220
4221 * whitespace.el (whitespace-cleanup): Fix usage of
4222 whitespace-empty-at-bob-regexp (Bug#11492).
4223
2b311310
AH
42242012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4225
4226 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4227 revert (Bug#11488).
4228
b9cb2387
JL
42292012-05-29 Juri Linkov <juri@jurta.org>
4230
4231 * isearch.el (isearch-mode-map): Bind `M-s _' to
4232 `isearch-toggle-symbol'. Bind `M-s c' to
4233 `isearch-toggle-case-fold'.
4234 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4235 (isearch-forward): Add `M-s _' to the docstring.
4236 (isearch-forward-symbol, isearch-toggle-case-fold)
4237 (isearch-symbol-regexp): New functions. (Bug#11381)
4238
d5e61c1c
JL
42392012-05-29 Juri Linkov <juri@jurta.org>
4240
4241 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4242 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4243 a function, call it to get the regexp.
4244 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4245 property `isearch-message-prefix' instead of the string "word ".
4246 (isearch-search-fun-default): For the case of `isearch-word',
4247 return a lambda that calls re-search-forward/re-search-backward
4248 with a regexp returned by `word-search-regexp' or by the function
4249 in `isearch-word'.
4250
8cbd80f7
JL
42512012-05-29 Juri Linkov <juri@jurta.org>
4252
4253 * isearch.el (isearch-search-fun-default): New function.
4254 (isearch-search-fun): Move default part to the new function
4255 `isearch-search-fun-default'.
4256 (isearch-search-fun-function): Set the default value to
4257 `isearch-search-fun-default'. (Bug#11381)
4258
4259 * comint.el (comint-history-isearch-end):
4260 Use `isearch-search-fun-default'.
4261 (comint-history-isearch-search): Use `isearch-search-fun-default'
4262 and remove spacial case for `isearch-word'.
4263 (comint-history-isearch-wrap): Remove spacial case for
4264 `isearch-word'.
4265
4266 * hexl.el (hexl-isearch-search-function):
4267 Use `isearch-search-fun-default'.
4268
4269 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4270 Use `word-search-regexp' for `isearch-word'.
4271
4272 * misearch.el (multi-isearch-search-fun):
4273 Use `isearch-search-fun-default'.
4274
4275 * simple.el (minibuffer-history-isearch-search):
4276 Use `isearch-search-fun-default' and remove spacial case for
4277 `isearch-word'.
4278 (minibuffer-history-isearch-wrap): Remove spacial case for
4279 `isearch-word'.
4280
4281 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4282 Remove spacial case for `isearch-word'.
4283 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4284
85c8c5b6
AM
42852012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4286
4287 Decrease XEmacs incompatibilities.
4288 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4289 Use `string-match'.
4290 (flyspell-delete-region-overlays): Use alternative definition for
4291 XEmacs.
4292 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4293 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4294 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4295 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4296 `define-obsolete-face-alias' under XEmacs, but old method.
4297
4298 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4299 `with-no-warnings' definition or Emacs alias.
4300 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4301 (ispell-word): Do not use `region-p' if XEmacs.
4302
8cab9efc
AM
43032012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4304
4305 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4306 Check for `ispell-dictionary-base-alist' instead of full
4307 `ispell-dictionary-alist'.
4308 (ispell-init-process): Show spellchecker when starting new Ispell
4309 process.
4310
fda91268
RZ
43112012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4314 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4315
694ea8e3
JB
43162012-05-27 Juanma Barranquero <lekktu@gmail.com>
4317
4318 * version.el (motif-version-string, gtk-version-string)
4319 (ns-version-string): Declare.
4320
e4d4f539
JL
43212012-05-27 Juri Linkov <juri@jurta.org>
4322
4323 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4324 after the `eval-defun-1' specialcaseing
4325 like in `edebug-eval-defun' (bug#10181).
4326
4327 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4328 like in `eval-defun-1'.
4329
33017faf 43302012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4331
fda91268
RZ
4332 * mail/sendmail.el (mail-yank-region):
4333 Recognize rmail-yank-current-message in addition to insert-buffer.
4334 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4335 a *mail* buffer created through rmail-start-mail with sendmail as
4336 mail-user-agent.
4337
33017faf
GM
43382012-05-27 Chong Yidong <cyd@gnu.org>
4339
4340 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4341 Default to 256 (Bug#11267).
4342
4343 * help.el (describe-mode): Doc fix.
4344
04188bb9
GM
43452012-05-26 Glenn Morris <rgm@gnu.org>
4346
38264cc9
GM
4347 * w32-fns.el (w32-init-info): Remove.
4348 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4349
eb7afdad
GM
4350 * info.el (info-initialize): For self-contained NS builds, put the
4351 included info/ directory at the front. (Bug#2791)
4352
04188bb9
GM
4353 * paths.el (Info-default-directory-list): Make it a defcustom,
4354 mainly so that we can use custom-initialize-delay.
4355
a179e3f7
SM
43562012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4357
43416392
SM
4358 * subr.el (buffer-has-markers-at): Mark obsolete.
4359
a179e3f7 4360 * subr.el (lambda): Use declare.
43416392 4361
a179e3f7
SM
4362 * emacs-lisp/lisp-mode.el (lambda):
4363 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4364
34a008d9
AH
43652012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4366
4367 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4368
0a3b289f
GM
43692012-05-26 Glenn Morris <rgm@gnu.org>
4370
4371 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4372
758c81e8
GM
43732012-05-25 Glenn Morris <rgm@gnu.org>
4374
f9f334f0
GM
4375 * paths.el: Remove no-byte-compile.
4376 * loadup.el: No need to load paths.el uncompiled.
4377
87eb79c2
GM
4378 * image.el (imagemagick-types-inhibit): Doc fix.
4379
758c81e8
GM
4380 * version.el: Remove no-byte-compile and associated formatting.
4381 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4382 is ancient code from when there was an "inc-vers.el".
4383
e7e85dc0
SM
43842012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * progmodes/gdb-mi.el: Minor style changes.
4387 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4388 Turn into minor modes.
4389 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4390 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4391 (gdb-shell): Remove unneeded let-binding.
4392 (gdb-get-many-fields): Eliminate O(n²) behavior.
4393
f31237a4
EZ
43942012-05-25 Eli Zaretskii <eliz@gnu.org>
4395
4396 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4397 platforms that don't link in fontset.c.
4398
bc1b21bb
JL
43992012-05-25 Juri Linkov <juri@jurta.org>
4400
4401 Use the same diff color scheme as in modern VCSes (bug#10181).
4402
4403 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4404 to avoid confusion with `diff-added' that now uses green colors.
4405 (diff-removed): Use shades of red.
4406 (diff-added): Use shades of green.
4407 (diff-changed): Leave just the yellow color.
4408 (diff-use-changed-face): New variable.
4409 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4410 how to highlight context diff changes.
4411 (diff-refine-change): Use shades of yellow.
4412 (diff-refine-removed): New face that uses shades of red.
4413 (diff-refine-added): New face that uses shades of green.
4414 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4415 `diff-refine-removed' in the call to `smerge-refine-subst'
4416 depending on the value of `diff-use-changed-face'.
4417
4418 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4419 (smerge-other): Use shades of green.
4420 (smerge-base): Use shades of yellow.
4421 (smerge-refined-change): Empty face.
4422 (smerge-refined-removed): New face that uses shades of red.
4423 (smerge-refined-added): New face that uses shades of green.
4424 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4425 args `props-r' and `props-a', and use them. Doc fix.
4426 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4427 on its value use different faces `smerge-refined-change',
4428 `smerge-refined-removed', `smerge-refined-added' in the call to
4429 `smerge-refine-subst'.
4430
4431 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4432 Add face condition `min-colors 88' with shades of red.
4433 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4434 `min-colors 88' with shades of green.
4435 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4436 `min-colors 88' with shades of yellow.
4437
6df9112c
GM
44382012-05-24 Glenn Morris <rgm@gnu.org>
4439
ead5edc0
GM
4440 * paths.el (prune-directory-list, remote-shell-program): Move to...
4441 * files.el (prune-directory-list, remote-shell-program): ...here.
4442 For the latter, delay initialization, prefer ssh, just search PATH.
4443
f18b81e6
GM
4444 * paths.el (term-file-prefix): Move to faces.el (the only user).
4445 * faces.el (term-file-prefix): Move here, make it a defcustom.
4446
ee2f89a6
GM
4447 * paths.el (news-directory, news-path, news-inews-program):
4448 Move to gnus/nnspool.el.
61a583ca 4449
f8815e4c
GM
4450 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4451
c8f3b42c
GM
4452 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4453 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4454 Make the latter a defcustom, with a delayed initialization.
4455
6df9112c
GM
4456 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4457 These were deleted from Gnus itself late 2010.
4458
5dadff36
JB
44592012-05-22 Juanma Barranquero <lekktu@gmail.com>
4460
9e1701c6
JB
4461 * progmodes/which-func.el (which-func-ff-hook):
4462 Check against user-error, not error.
4463
bd7239f5 4464 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4465 cl-specs.el, which no longer exists.
4466
3290526d
GM
44672012-05-22 Glenn Morris <rgm@gnu.org>
4468
4469 * info.el (info-emacs-bug): New command.
4470 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4471 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4472
ff0c3cfb
GM
44732012-05-21 Glenn Morris <rgm@gnu.org>
4474
4475 * makefile.w32-in (update-subdirs-SH):
4476 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4477
5814f126
SM
44782012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4479
a52c0aa0
SM
4480 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4481
5814f126
SM
4482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4483 Simplify Maven regexp, and make sure the file can't start with a space
4484 (bug#11517).
4485
b847032c
GM
44862012-05-21 Glenn Morris <rgm@gnu.org>
4487
4488 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4489 Scrap superfluous subshells.
4490
3858bfe7
SM
44912012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4494 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4495
d14b0029
JB
44962012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4497
4498 * calc/calc.el (calc-ensure-consistent-units): New variable.
4499
a52c0aa0
SM
4500 * calc/calc-units.el (math-consistent-units-p)
4501 (math-check-unit-consistency): New functions.
4502 (calc-quick-units, calc-convert-units):
4503 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4504 is non-nil.
d14b0029
JB
4505 (calc-extract-units): Fix typo.
4506
60c4db3a
SM
45072012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4508
77f3b62e
SM
4509 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4510
60c4db3a
SM
4511 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4512 (flyspell-default-deplacement-commands): Don't spell check after
4513 repeated window/frame switches (e.g. triggered by mouse-movement).
4514 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4515 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4516 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4517 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4518 Remove unused vars.
4519 (flyspell-get-casechars, flyspell-get-not-casechars):
4520 Simplify; Don't bother removing a ] just to add it back.
4521 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4522
d209e2fb 45232012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4524
4525 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4526 New functions.
bd7239f5 4527 (math-function-table): Add support for more C functions.
b1a10716 4528
3f1b25b5
AM
45292012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4530
090bd7cb
JB
4531 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4532 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4533 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4534
b581bb5c
SM
45352012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4538 their respective macro declarations.
4539 * skeleton.el (define-skeleton):
4540 * progmodes/compile.el (define-compilation-mode):
4541 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4542 (define-ibuffer-filter):
4543 * emacs-lisp/generic.el (define-generic-mode):
4544 * emacs-lisp/easy-mmode.el (define-minor-mode)
4545 (define-globalized-minor-mode):
4546 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4547 * emacs-lisp/byte-run.el (defsubst):
4548 * custom.el (deftheme): Add doc-string metadata.
4549
70b8ef8f
SM
45502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4553
b1198e17
SM
45542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4555
9abdc45d
SM
4556 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4557
b1198e17
SM
4558 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4559 * emacs-lisp/cl-macs.el: Idem.
4560 * emacs-lisp/cl-specs.el: Remove.
4561
4735906a
SM
45622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 Minor renaming of internal CL functions and variables.
4565 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4566 (cl--position): Rename from cl-position.
4567 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4568 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4569 (cl--random-state): Rename from *random-state*.
4570
ac348012
SM
45712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4574 parens around the arg list (bug#11499).
4575
a0a79cde
JL
45762012-05-17 Juri Linkov <juri@jurta.org>
4577
4578 * isearch.el (word-search-regexp, word-search-backward)
4579 (word-search-forward, word-search-backward-lax)
4580 (word-search-forward-lax): Move functions from search.c
4581 (bug#10145, bug#11381).
4582
65034a51
AM
45832012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4584
090bd7cb
JB
4585 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4586 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4587 Delay for otherchars as for normal word components.
65034a51 4588
1a72a195
SM
45892012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * minibuffer.el (completion--sifn-requote): Fix last change.
4592 (minibuffer-local-must-match-filename-map):
4593 Move define-obsolete-variable-alias before its var.
4594
fdb058c2
SM
45952012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4596
c41045e6
SM
4597 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4598
036dfb8b
SM
4599 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4600 behavior.
4601 (completion--string-equal-p): New function.
4602 (completion--twq-all): Use it to get better assertion failure data.
4603
2473256d
SM
4604 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4605 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4606 (shell--requote-argument): New functions.
4607 (shell-completion-vars): Use them.
4608 (shell--parse-pcomplete-arguments): Rename from
4609 shell-parse-pcomplete-arguments.
4610 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4611 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4612 Obey comint-file-name-quote-list.
4613
fdb058c2
SM
4614 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4615 (smie-indent-keyword): Use it.
4616
51fa99f1
SM
46172012-05-14 Stefan Merten <smerten@oekonux.de>
4618
4619 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4620
e18afed7 46212012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4622
4623 * net/rlogin.el (rlogin-mode-map): Fix last change.
4624
e18afed7 46252012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4626
4627 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4628 the following \r\n using a single `process-send-string', since the
4629 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4630 with two `process-send-string's (Bug#11444).
8633b1f4 4631
e18afed7 46322012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4633
fdb058c2
SM
4634 * shell.el (shell-parse-pcomplete-arguments):
4635 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4636
2d21d7f6
WJ
46372012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4638
e18afed7 4639 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4640 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4641 (image-transform-width, image-transform-fit-width): New functions.
4642 (image-transform-properties): Use them.
4643 (image-transform-check-size): New function.
4644 (image-toggle-display-image): Use it (for testing).
4645 (image-transform-set-rotation): Reduce angle mod 360.
4646 Delete obsolete comment.
4647
7102e6d0
WJ
46482012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4649
4650 * image-mode.el: Fix scaling (bug#11399).
4651 (image-transform-resize): Doc fix.
4652 (image-transform-properties): Default scale is 1 and height should
4653 be an integer.
4654
06bc5e6e
SM
46552012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
4656
4657 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4658 than hard-coding `car', to fix misbehavior when moving forward.
4659
0ae03b6a
CY
46602012-05-13 Chong Yidong <cyd@gnu.org>
4661
4662 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4663 (tabulated-list-entries, tabulated-list-padding)
4664 (tabulated-list-sort-key): Make permanent-local.
4665
4666 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4667 (electric-buffer-list): Put electric buffer menu
4668 command descriptions in this docstring, instead of the docstring
4669 of electric-buffer-menu-mode. Code cleanups.
4670 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4671 Electric-buffer-menu-mode.
4672 (electric-buffer-update-highlight): Minor code cleanup.
4673
205a7391
MA
46742012-05-13 Michael Albinus <michael.albinus@gmx.de>
4675
4676 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4677 (Bug#11447)
4678
e5bd0a28
SM
46792012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 Move define-obsolete-variable-alias before the var's definition.
4682 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4683 * tooltip.el (tooltip-hook):
4684 * textmodes/reftex-toc.el (reftex-toc-map):
4685 * textmodes/reftex-sel.el (reftex-select-label-map)
4686 (reftex-select-bib-map):
4687 * textmodes/reftex-index.el (reftex-index-map)
4688 (reftex-index-phrases-map):
4689 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4690 * progmodes/meta-mode.el (meta-mode-map):
4691 * novice.el (disabled-command-hook):
4692 * loadhist.el (unload-hook-features-list):
4693 * frame.el (blink-cursor):
4694 * files.el (find-file-not-found-hooks, write-file-hooks)
4695 (write-contents-hooks):
4696 * emulation/tpu-edt.el (GOLD-map):
4697 * emacs-lock.el (emacs-lock-from-exiting):
4698 * emacs-lisp/generic.el (generic-font-lock-defaults):
4699 * emacs-lisp/chart.el (chart-map):
4700 * dos-fns.el (register-name-alist):
4701 * dired-x.el (dired-omit-files-p):
4702 * desktop.el (desktop-enable):
4703 * cus-edit.el (custom-mode-hook):
4704 * buff-menu.el (buffer-menu-mode-hook):
4705 * bookmark.el (bookmark-read-annotation-text-func)
4706 (bookmark-exit-hooks):
4707 * allout.el (allout-mode-deactivate-hook)
4708 (allout-exposure-change-hook, allout-structure-added-hook)
4709 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4710 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4711 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4712 comes before the corresponding variable's definition.
4713
ac59c2f6
CY
47142012-05-12 Chong Yidong <cyd@gnu.org>
4715
4716 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4717 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4718 (Buffer-menu-mode-map): Bind it.
4719 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4720
dee6c9a3
SM
47212012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4722
2171cea5
SM
4723 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4724 (prolog-upper-case-string, prolog-lower-case-string)
4725 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4726 (prolog-use-smie, prolog-smie-grammar): New vars.
4727 (prolog-smie-forward-token, prolog-smie-backward-token)
4728 (prolog-smie-rules): New funs.
4729 (prolog-comment-indent): Remove.
4730 (prolog-mode-variables): Use default comment indentation instead.
4731 Setup SMIE.
4732 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4733 (prolog-mode): Don't call them any more.
4734 (prolog-electric-colon, prolog-electric-dash)
4735 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4736
aa0382bd
SM
4737 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4738
dbacb4bd
SM
4739 * minibuffer.el (completion--twq-all): Again, allow case differences.
4740
13bdd94c
SM
4741 * term.el: Move keymap initialization code to be more idiomatic.
4742 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4743 (term-terminal-menu): Move initialization into declaration.
4744 (term-escape-char): Let the user set it in her .emacs.
4745
ff46c759
SM
4746 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4747 Provide SMIE-based indentation (not enabled by default yet).
4748 (sh-mode-map): Don't bind electric keys.
4749 Use electric-pair-mode instead of skeleton-pair.
4750 (sh-assignment-regexp): Fit within 80 columns.
4751 (sh-indent-supported): Specify actual shell name instead of boolean.
4752 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4753 (sh-maybe-here-document): Use it. Make obsolete.
4754 (sh-electric-here-document-mode) New minor mode.
4755 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4756 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4757 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4758 (sh-smie-rc-grammar, sh-use-smie): New vars.
4759 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4760 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4761 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4762 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4763 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4764 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4765 (sh-set-shell): Use smie-setup if requested.
4766
dee6c9a3
SM
4767 * term.el (term-set-escape-char): Properly set term-escape-char.
4768 See http://stackoverflow.com/questions/10524656.
4769
9f9aa044
CY
47702012-05-10 Chong Yidong <cyd@gnu.org>
4771
4772 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4773 Use url-generic-parse-url, and handle host names and Windows
4774 filenames properly.
4775 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4776 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4777 URL schemes to work on.
4778 (ffap--toggle-read-only): New function.
4779 (ffap-read-only, ffap-read-only-other-window)
4780 (ffap-read-only-other-frame): Use it.
4781 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4782 necessary for ffap-url-unwrap-remote.
4783
836d29b3
DA
47842012-05-10 Dave Abrahams <dave@boostpro.com>
4785
4786 * cus-start.el (create-lockfiles): Add it.
4787
00fd78ed
CY
47882012-05-09 Chong Yidong <cyd@gnu.org>
4789
4790 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4791 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4792
666b903b 47932012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4794
4795 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4796
666b903b 47972012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4798
4799 * ansi-color.el (ansi-color-process-output): Check for validity of
4800 comint-last-output-start before using it. This avoids a bad
4801 interaction with gdb-mi's input/output buffer.
4802
666b903b 48032012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4804
4805 * files.el (dir-locals-read-from-file):
4806 Mention dir-locals in any error message.
4807
666b903b 48082012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4809
4810 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4811 package (Bug#11410).
4812
f677562b
CY
4813 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4814 variables into description.
4815
666b903b 48162012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4817
4818 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4819 shell-delimiter-argument-list (bug#11348).
4820 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4821
b499d8d0
JB
48222012-05-09 Juanma Barranquero <lekktu@gmail.com>
4823
8f6b6da8
JB
4824 * textmodes/rst.el: Silence byte-compiler warnings.
4825 (rst-re-alist, rst-reset-section-caches): Move around.
4826 (rst-re): Use `characterp', not `char-valid-p'.
4827 (font-lock-beg, font-lock-end): Declare.
4828
4824146a
JB
4829 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4830 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4831
b499d8d0
JB
4832 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4833
ad89bb83
GM
48342012-05-08 Glenn Morris <rgm@gnu.org>
4835
4836 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4837
8bba5a75
SM
48382012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4839
49ed9c8e
SM
4840 * vc/log-edit.el: Add GNU coding standards highlighting.
4841 (log-edit-font-lock-gnu-style)
4842 (log-edit-font-lock-gnu-keywords): New vars.
4843 (log-edit-font-lock-keywords): New fun.
4844 (log-edit-mode): Don't fold case in font-lock.
4845 (log-edit-font-lock-keywords): Do not assume case-folding.
4846
07d00b56
SM
4847 * imenu.el: Misc cleanup. Make docstrings out of comments.
4848 Use lexical-binding.
4849 (imenu--index-alist, imenu--last-menubar-index-alist)
4850 (imenu-menubar-modified-tick): Use defvar-local.
4851 (imenu--split-menu): Remove unused var.
4852 (imenu--cleanup-seen): Declare as global.
4853 (imenu--cleanup): Use dolist.
4854
8bba5a75
SM
4855 * subr.el (defvar-local): Add debug spec and doc-string position.
4856
5075bdb5
GM
48572012-05-08 Glenn Morris <rgm@gnu.org>
4858
090bd7cb 4859 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4860 * language/english.el, language/georgian.el, language/greek.el:
4861 * language/japanese.el, language/khmer.el, language/korean.el:
4862 * language/lao.el, language/misc-lang.el, language/romanian.el:
4863 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4864 * language/thai.el, language/utf-8-lang.el:
4865 Remove no-byte-compile setting.
4866
5075bdb5
GM
4867 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4868
06f679a7
AH
48692012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4870
4871 * progmodes/make-mode.el (makefile-browse):
4872 Remove unnecessary interactive. (Bug#11324)
4873
03794570
GM
48742012-05-07 Glenn Morris <rgm@gnu.org>
4875
af8630f4
GM
4876 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4877
03794570
GM
4878 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4879
f0809a9d
SM
48802012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4881
28be5ce7
SM
4882 * loadup.el: Preload newcomment.el.
4883 * newcomment.el: Move autoload-only code to toplevel.
4884
f0809a9d
SM
4885 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4886 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4887 Handle new :right-align column property.
4888 (tabulated-list-print-col): Idem, plus use `display' text-property to
4889 try and preserve alignment for variable pitch fonts.
4890
1241b724
CY
48912012-05-07 Chong Yidong <cyd@gnu.org>
4892
4893 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4894 (tabulated-list-use-header-line): New var.
4895 (tabulated-list-init-header): Use it.
4896 (tabulated-list-print-fake-header): New function.
4897 (tabulated-list-print): Use it.
4898 (tabulated-list-sort-button-map): Add non-header-line commands.
4899 (tabulated-list-init-header): Add column name property to basic
4900 labels as well.
4901 (tabulated-list-col-sort): Handle non-header-line button case.
4902 (tabulated-list--sort-by-column-name): Fix a corner case.
4903
f0809a9d
SM
4904 * buff-menu.el (list-buffers--refresh):
4905 Handle Buffer-menu-use-header-line.
1241b724 4906
e5f9458f
CY
49072012-05-06 Chong Yidong <cyd@gnu.org>
4908
4909 * buff-menu.el: Convert to Tabulated List mode.
4910 (Buffer-menu-buffer+size-width): Make obsolete.
4911 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4912 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4913 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4914 documentation into docstring of buffer-menu.
4915 (Buffer-menu-toggle-files-only): Add an informative message.
4916 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4917 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4918 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4919 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4920 (Buffer-menu-execute, Buffer-menu-select)
4921 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4922 (Buffer-menu-bury): Use Tabulated List machinery.
4923 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4924 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4925 Delete.
e5f9458f
CY
4926 (list-buffers--refresh): New function.
4927 (list-buffers-noselect): Use it.
4928 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4929 (Buffer-menu--pretty-file-name): New helper functions.
4930
4931 * loadup.el: Preload tabulated-list.
4932
4933 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4934 tabulated-list-sort-column.
4935 (tabulated-list-init-header): Add the initial aligning space even
4936 if tabulated-list-padding is zero.
4937
e129292c
CS
49382012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4939
4940 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4941 whose cdr is not a cons cell correctly (bug#11038).
4942
6632d361
CY
49432012-05-06 Chong Yidong <cyd@gnu.org>
4944
e129292c
CS
4945 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4946 Accept additional plist in column descriptors.
6632d361
CY
4947 (tabulated-list-init-header): Obey it.
4948 (tabulated-list-get-entry): New function.
4949 (tabulated-list-put-tag): Use it. Use string-width instead of
4950 length.
4951 (tabulated-list--column-number): New function.
4952 (tabulated-list-print): Use it.
e129292c
CS
4953 (tabulated-list-print-col): New function.
4954 Set `tabulated-list-column-name' property on each column's text.
6632d361 4955 (tabulated-list-print-entry): Use it.
e129292c
CS
4956 (tabulated-list-delete-entry, tabulated-list-set-col):
4957 New functions.
6632d361
CY
4958 (tabulated-list-sort-column): New command (Bug#11337).
4959
3cc99f68
CY
4960 * buff-menu.el (list-buffers): Move C-x C-b binding from
4961 buff-menu.el to bindings.el.
4962
4963 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4964 :advertised-binding feature.
4965
52b61776
TN
49662012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4967
4968 * progmodes/compile.el (compilation-internal-error-properties):
4969 Calculate start position correctly when end-col is set but
4970 end-line is not (Bug#11382).
4971
ebfe2597
WJ
49722012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4973
4974 * man.el (Man-unindent): Use text-property-default-nonsticky to
4975 prevent untabify from inheriting face properties (Bug#11408).
4976
6d3f7c2f
SM
49772012-05-05 Stefan Merten <smerten@oekonux.de>
4978
4979 * textmodes/rst.el: Major merge with upstream development up to
4980 Docutils SVN r7399 / rst.el V1.2.1.
4981
4982 Clarify maintainership and authors.
4983
4984 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4985 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4986 (rst-official-version, rst-official-cvs-rev, rst-version)
4987 (rst-package-emacs-version-alist): New functions and variables
4988 for version information.
4989
4990 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4991 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4992 (rst-mode-syntax-table, rst-mode): New and corrected functions
4993 and variables representing reStructuredText features.
4994
4995 (rst-re): New function for reStructuredText regexes. Use in
4996 many places.
4997
4998 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4999 (rst-mode-map): Rebind keys.
5000
5001 (rst-mode-lazy, rst-font-lock-keywords)
5002 (rst-font-lock-extend-region)
5003 (rst-font-lock-extend-region-internal)
5004 (rst-font-lock-extend-region-extend)
5005 (rst-font-lock-find-unindented-line-limit)
5006 (rst-font-lock-find-unindented-line-match)
5007 (rst-adornment-level, rst-font-lock-adornment-level)
5008 (rst-font-lock-adornment-match)
5009 (rst-font-lock-handle-adornment-pre-match-form)
5010 (rst-font-lock-handle-adornment-matcher): Major revision of
5011 font-locking. Integrate with other code. Use `jit-lock-mode'.
5012
5013 (rst-preferred-adornments, rst-adjust-hook)
5014 (rst-new-adornment-down, rst-preferred-bullets)
5015 (rst-preferred-bullets, rst-indent, rst-indent-width)
5016 (rst-indent-field, rst-indent-literal-normal)
5017 (rst-indent-literal-minimized, rst-indent-comment): Change,
5018 extend and improve customization.
5019
5020 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5021 (rst-normalize-cursor-position, rst-get-decoration)
5022 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5023 (rst-rstrip, rst-toc-insert-find-delete-contents)
5024 (rst-shift-fill-region, rst-compute-bullet-tabs)
5025 (rst-debug-print-tabs, rst-debug-mark-found)
5026 (rst-shift-region-guts, rst-shift-region-right)
5027 (rst-shift-region-left, rst-use-char-classes)
5028 (rst-font-lock-keywords-function)
5029 (rst-font-lock-indentation-point)
5030 (rst-font-lock-find-unindented-line-begin)
5031 (rst-font-lock-find-unindented-line-end)
5032 (rst-font-lock-find-unindented-line)
5033 (rst-font-lock-adornment-point, rst-font-lock-level)
5034 (rst-adornment-level-alist): Remove functions and variables.
5035
5036 (rst-compare-adornments, rst-get-adornment-match)
5037 (rst-suggest-new-adornment, rst-get-adornments-around)
5038 (rst-adornment-complete-p, rst-get-next-adornment)
5039 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5040 (rst-straighten-adornments): Standardize function names to
5041 use "adornment" instead of "decoration". Correct callers.
5042 Similar standardizing in many places.
5043
5044 (rst-update-section, rst-adjust, rst-promote-region)
5045 (rst-enumerate-region, rst-bullet-list-region)
5046 (rst-repeat-last-character): Correct use of `interactive'.
5047
5048 (rst-classify-adornment, rst-find-all-adornments)
5049 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5050 (rst-find-leftmost-column, rst-repeat-last-character):
5051 Refactor functions.
5052
5053 (rst-find-title-line, rst-reset-section-caches)
5054 (rst-get-adornments-around, rst-adjust-adornment-work)
5055 (rst-arabic-to-roman, rst-roman-to-arabic)
5056 (rst-insert-list-pos, rst-insert-list-new-item)
5057 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5058 New functions.
5059
5060 (rst-all-sections, rst-section-hierarchy)
5061 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5062 New variables.
5063
5064 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5065 configuration instead of only buffer. Change where necessary.
5066
5067 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5068 (rst-shift-region, rst-adaptive-fill): New functions for
5069 indentation and filling.
5070
5071 (rst-comment-line-break, rst-comment-indent)
5072 (rst-comment-insert-comment, rst-comment-region)
5073 (rst-uncomment-region): New functions for handling comments.
5074
5075 (rst-compile): Quote shell arguments.
5076
5077 (rst-compile-pdf-preview, rst-compile-slides-preview):
5078 Delete temporary files after use.
5079
a43f98b3
GM
50802012-05-05 Glenn Morris <rgm@gnu.org>
5081
48176e8b
GM
5082 * calendar/cal-html.el: Optionally include holidays in the output.
5083 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5084 (cal-html-holidays): New option.
5085 (cal-html-css-default): Add holiday entry.
5086 (holiday-in-range): Autoload it.
5087 (cal-html-htmlify-entry): Add optional class argument.
5088 (cal-html-htmlify-list): Add optional holidays argument.
5089 (cal-html-insert-agenda-days): Include holidays in the output.
5090 (cal-html-one-month): Maybe include holidays.
5091
a43f98b3
GM
5092 * calendar/holidays.el (holiday-in-range):
5093 Move here from cal-tex-list-holidays.
5094 * calendar/cal-tex.el (cal-tex-list-holidays):
5095 Make it an obsolete alias for holiday-in-range. Update all callers.
5096
fef9d149 50972012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5098
5099 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5100 Nextstep.
5101
248da2f4
RW
51022012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5103
5104 * files.el (file-auto-mode-skip): New var.
5105 (set-auto-mode-1): Use it.
5106
f95e9344
SM
51072012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5108
df96ab1e
SM
5109 * repeat.el: Use lexical-binding.
5110 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5111 (repeat-undo-count): Remove.
5112 (repeat):
5113 * progmodes/octave-mod.el (octave-abbrev-start):
5114 * progmodes/f90.el (f90-abbrev-start):
5115 * face-remap.el (text-scale-adjust):
5116 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5117
5342bb06
SM
5118 * emacs-lisp/pcase.el (pcase--let*): New function.
5119 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5120 a bit more.
5121 (pcase--split-pred): Be more clever about ruling out overlap between
5122 a predicate and some constant pattern.
5123 (pcase--q1): Use `null' instead of (eq foo nil).
5124
f95e9344
SM
5125 * subr.el (setq-local, defvar-local): New macros.
5126 (kbd): Redefine as an alias.
5127 (with-selected-window): Leave unrelated frames alone.
5128 (set-temporary-overlay-map): New function.
5129
71873e2b
SM
51302012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * subr.el (user-error): New function.
5133 * window.el (switch-to-buffer):
5134 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5135 (smerge-match-conflict):
5136 * simple.el (previous-matching-history-element)
5137 (next-matching-history-element, goto-history-element, undo-more)
5138 (undo-start):
5139 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5140 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5141 (next-file, tags-loop-scan, list-tags, complete-tag):
5142 * progmodes/compile.el (compilation-loop):
5143 * mouse.el (mouse-minibuffer-check):
5144 * man.el (Man-bgproc-sentinel, Man-goto-page):
5145 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5146 (Info-history-forward, Info-follow-reference, Info-menu)
5147 (Info-extract-menu-item, Info-extract-menu-counting)
5148 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5149 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5150 (Info-next-reference, Info-prev-reference, Info-index)
5151 (Info-index-next, Info-follow-nearest-node)
5152 (Info-copy-current-node-name):
5153 * imenu.el (imenu--make-index-alist)
5154 (imenu-default-create-index-function, imenu-add-to-menubar):
5155 * files.el (basic-save-buffer, recover-file):
5156 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5157 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5158 (checkdoc-message-text, checkdoc-defun):
5159 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5160 * cus-edit.el (customize-changed-options, customize-rogue)
5161 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5162 (custom-variable-mark-to-reset-standard)
5163 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5164 (custom-file):
5165 * completion.el (check-completion-length):
5166 * comint.el (comint-search-arg)
5167 (comint-previous-matching-input-string-position)
5168 (comint-previous-matching-input)
5169 (comint-replace-by-expanded-history-before-point, comint-send-input)
5170 (comint-copy-old-input, comint-backward-matching-input)
5171 (comint-goto-process-mark, comint-set-process-mark):
5172 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5173 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5174
8a61ee22
SM
51752012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5176
66408d1e
SM
5177 * dabbrev.el (dabbrev--ignore-case-p): New function.
5178 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5179 Use it.
5180
8a61ee22
SM
5181 * files.el (automount-dir-prefix): Mark as obsolete.
5182
3c74813a
GM
51832012-05-04 Glenn Morris <rgm@gnu.org>
5184
5185 * patcomp.el, play/bruce.el: Move to obsolete/.
5186
0bfcf5c5
PE
51872012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5188
5189 Fix minor Y10k bugs.
5190 * arc-mode.el (archive-unixdate):
5191 * autoinsert.el (auto-insert-alist):
5192 * calc/calc-forms.el (math-this-year):
5193 * emacs-lisp/copyright.el (copyright-current-year)
5194 (copyright-update-year, copyright):
5195 * tar-mode.el (tar-clip-time-string):
5196 * time.el (display-time-update):
5197 Don't assume years have 4 digits.
5198
78f3273a
CY
51992012-05-04 Chong Yidong <cyd@gnu.org>
5200
5201 * dos-w32.el (file-name-buffer-file-type-alist)
5202 (direct-print-region-use-command-dot-com):
5203 * ffap.el (ffap-menu-regexp):
5204 * find-file.el (ff-special-constructs):
5205 * follow.el (follow-debug):
5206 * forms.el (forms--debug):
5207 * iswitchb.el (iswitchb-all-frames):
5208 * ido.el (ido-all-frames):
5209 * emacs-lisp/timer.el (timer-max-repeats):
5210 * mail/feedmail.el (feedmail-mail-send-hook)
5211 (feedmail-mail-send-hook-queued):
5212 * mail/footnote.el (footnote-signature-separator):
5213 * mail/mailabbrev.el (mail-alias-separator-string)
5214 (mail-abbrev-mode-regexp):
5215 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5216 * progmodes/idlwave.el (idlwave-libinfo-file)
5217 (idlwave-default-completion-case-is-down)
5218 (idlwave-library-routines): Convert defvars to defcustoms.
5219
5220 * mail/rmail.el (rmail-decode-mime-charset):
5221 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5222 (idlwave-shell-fix-inserted-breaks)
5223 (idlwave-shell-activate-alt-keybindings)
5224 (idlwave-shell-use-breakpoint-glyph):
5225 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5226
f7ae6719
SM
52272012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5230
47086495
WS
52312012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5232
5233 * progmodes/verilog-mode.el (font-lock-keywords):
5234 Fix mis-highligting auto. Reported by Craig Barner.
5235 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5236 defines from global name space. Reported by Dan Dever.
5237 (verilog-auto-reset, verilog-auto-reset-widths)
5238 (verilog-auto-tieoff): Support using unbased numbers for
5239 AUTORESET and AUTOTIEOFF.
5240 (verilog-submit-bug-report): Update variable list.
5241 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5242 parenthesis from not matching. Reported by Michael Rytting.
5243 (verilog-auto-template-lint): Fix hash error when linting modules
5244 with no used templates.
5245 (verilog-warn, verilog-warn-error)
5246 (verilog-warn-fatal): When non-interactive report multiple
5247 warnings before exiting. Suggested by Brad Dobbie.
5248 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5249 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5250 to report unused template errors. Reported by Brad Dobbie.
5251 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5252 nets, bug438. Reported by Vns Blore.
5253 (verilog-auto-inout-module, verilog-auto-reg)
5254 (verilog-read-decls, verilog-read-sub-decls-sig)
5255 (verilog-signals-edit-wire-reg, verilog-signals-with):
5256 Fix passing of Verilog data types in ANSI input/output ports
5257 such as "output logic" into the AUTOs. Special case "wire" and
5258 "reg" for backwards compatibility presuming Verilog 2001.
5259 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5260 (verilog-preprocess): Fix replication of preprocess output.
5261 Reported by Brad Dobbie.
5262 (verilog-auto-inst-interfaced-ports):
5263 Create verilog-auto-inst-interfaced-ports, bug429.
5264 Reported by Julian Gorfajn.
5265 (verilog-after-save-font-hook)
5266 (verilog-before-save-font-hook): New variable.
5267 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5268 (verilog-save-font-mods): Wrap disabling fontification, reported
5269 by David Rogoff.
5270 (verilog-do-indent, verilog-pretty-declarations-auto)
5271 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5272 Reported by Pierre-David Pfister.
5273 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5274 of class declarations, bug292. Reported by Kevin Heilman.
5275 (verilog-read-decls): Fix 'parameter type' not appearing in
5276 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5277 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5278 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5279 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5280 Reported by David Kravitz.
5281
52822012-05-03 Michael McNamara <mac@mail.brushroad.com>
5283
5284 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5285 assignment with tests in ifs and for loops.
5286 (verilog-extended-complete-re, verilog-complete-reg): Change so
5287 that DPI inport functions don't look like fuction declarations.
5288 (verilog-pretty-expr): Don't line up assignment
5289 operations to the test and increment in if and for loops
5290 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5291 that DPI inport functions don't look like fuction declarations.
47086495 5292
2e51d4b5
KH
52932012-05-03 Kenichi Handa <handa@m17n.org>
5294
5295 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5296 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5297 (Bug#11282).
5298
2bd785a2
SM
52992012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * emacs-lisp/bytecomp.el
5302 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5303 since cconv.el might have introduced :fun-body, internal-make-closure,
5304 and friends for bytecomp to handle (bug#11391).
5305 * custom.el (defcustom): Avoid ((λ ..) ..).
5306
99d27583
SM
53072012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5310
55a71479
JB
53112012-05-02 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * notifications.el (dbus-debug):
5314 * term/linux.el (gpm-mouse-enable):
5315 * term/screen.el (xterm-register-default-colors): Declare.
5316
7b97c764
CY
53172012-05-02 Chong Yidong <cyd@gnu.org>
5318
2bc356d7
CY
5319 * cus-start.el (gc-cons-percentage, exec-suffixes)
5320 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5321 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5322 (make-cursor-line-fully-visible, void-text-area-pointer)
5323 (font-list-limit): Add customization data.
5324
7b97c764
CY
5325 * allout.el (allout-exposure-change-functions)
5326 (allout-structure-added-functions)
5327 (allout-structure-deleted-functions)
5328 (allout-structure-shifted-functions): Rename abnormal hooks from
5329 *-hook, and convert to defcustoms.
5d3385a0
JB
5330 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5331 Convert to defcustoms.
7b97c764
CY
5332 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5333
5334 * allout-widgets.el: Hook callers changed.
5335
90207a15 53362012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5337
5338 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5339 the yanked message in preference to the default value of
5340 buffer-file-coding-system.
5341
90207a15 53422012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5343
5d3385a0
JB
5344 * window.el (display-buffer--action-function-custom-type):
5345 Fix entry.
d9558cad 5346
90207a15 53472012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5348
5349 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5350
d80ac57b
GM
53512012-05-01 Glenn Morris <rgm@gnu.org>
5352
976f7668
GM
5353 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5354
beb83b5a
GM
5355 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5356
d80ac57b
GM
5357 * cus-edit.el (custom-variable-documentation): Simplify with format.
5358
b593d6a9 53592012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5360 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5361
5362 * simple.el (suggest-key-bindings, execute-extended-command):
5363 Move from keyboard.c.
5364
782fbf2a
CY
53652012-05-01 Chong Yidong <cyd@gnu.org>
5366
5367 * follow.el: Eliminate advice.
5368 (set-process-filter, process-filter, sit-for): Advice deleted.
5369 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5370 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5371 Vars deleted.
782fbf2a
CY
5372 (follow-auto): Use a :set function.
5373 (follow-mode): Rewritten. Don't advise process filters.
5374 (follow-switch-to-current-buffer-all, follow-scroll-up)
5375 (follow-scroll-down): Assume follow-mode is bound.
5376 (follow-comint-scroll-to-bottom)
5377 (follow-align-compilation-windows): New functions.
5378 (follow--window-sorter): New function.
5379 (follow-all-followers): Use it to explicitly sort windows by their
5380 positions; don't make assumptions about next-window order.
5381 (follow-windows-start-end, follow-delete-other-windows-and-split)
5382 (follow-calc-win-start): Doc fix.
5383 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5384 vertical-motion unnecessarily.
5385 (follow-adjust-window): New function.
5386 (follow-post-command-hook): Use it.
5387 (follow-call-set-process-filter, follow-call-process-filter)
5388 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5389 (follow-stop-intercept-process-output, follow-generic-filter):
5390 Functions deleted.
5391 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5392 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5393 New functions, replacing advice on scroll-bar-* commands.
87233a14 5394 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5395
5396 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5397 (comint-postoutput-scroll-to-bottom): Use it.
5398 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5399
290af740
GM
54002012-05-01 Glenn Morris <rgm@gnu.org>
5401
5402 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5403 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5404 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5405 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5406 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5407 Remove no-byte-compile setting.
5408
6eac8dc9
SM
54092012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5412 all-completions code to not return a number in the last cdr.
5413
9cc7819c
LL
54142012-04-30 Leo Liu <sdl.web@gmail.com>
5415
5416 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5417 read-only error.
5418
c93b886f
CY
54192012-04-29 Chong Yidong <cyd@gnu.org>
5420
5421 * follow.el (follow-calc-win-end): Rewrite to handle partial
5422 screen lines correctly (Bug#8390).
5423 (follow-avoid-tail-recenter): Minor cleanup.
5424
8b6c19f4
SM
54252012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 Avoid the obsolete `assoc' package.
5428 * speedbar.el (speedbar-refresh): Avoid adelete.
5429 (speedbar-file-lists): Simplify and avoid aput.
5430 * man.el (Man--sections, Man--refpages): New vars, replacing
5431 Man-sections-alist and Man-refpages-alist.
5432 (Man-build-section-alist, Man-build-references-alist):
5433 Use them; avoid aput.
5434 (Man--last-section, Man--last-refpage): New vars.
5435 (Man-follow-manual-reference): Use them.
5436 Use the `default' arg of completing-read.
5437 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5438
c5bb7569
CY
54392012-04-27 Chong Yidong <cyd@gnu.org>
5440
d1d2e2e8
CY
5441 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5442
15cd8efd
CY
5443 * startup.el (x-apply-session-resources): New function.
5444
5445 * term/ns-win.el (ns-initialize-window-system):
5446 * term/w32-win.el (w32-initialize-window-system):
5447 * term/x-win.el (x-initialize-window-system): Use it to properly
5448 set menu-bar-mode and other vars from X resources, even if the
5449 initial frame is not a window-system frame (Bug#2299).
5450
c5bb7569
CY
5451 * subr.el (read-key): Avoid running filter function when setting
5452 up temporary tool bar entries (Bug#9922).
5453
a8e7d6d7 54542012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5455
5456 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5457 (Bug#11344)
5458
a8e7d6d7 54592012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5460
5461 * select.el (xselect--encode-string): New function, split from
5462 xselect-convert-to-string.
5463 (xselect-convert-to-string): Use it.
5464 (xselect-convert-to-filename, xselect-convert-to-os)
5465 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5466 returned strings are properly encoded (Bug#11315).
5467
a8e7d6d7 54682012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5469
5470 * simple.el (delete-active-region): Move to killing custom group.
5471
a8e7d6d7 54722012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5473
5474 * progmodes/which-func.el (which-func-current): Quote %
5475 characters for mode-line processing.
5476
578c1d4b 54772012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5478
5479 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5480 reaching eob (Bug#11286).
5481
a8e7d6d7 54822012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5483
5484 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5485 (gdb): Make it buffer-local and init to zero.
5486 (gdb-control-commands-regexp): New variable.
5487 (gdb-send): Don't wrap in "-interpreter-exec console" if
5488 gdb-control-level is positive. Increment gdb-control-level
5489 whenever the command matches gdb-control-commands-regexp, and
5490 decrement it each time the command is "end". (Bug#11279)
5491
a8e7d6d7 54922012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5493
5494 * window.el (adjust-window-trailing-edge, enlarge-window)
5495 (shrink-window, window-resize):
5496 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5497 windows (Bug#11276).
5498
b3608390
CY
54992012-04-27 Chong Yidong <cyd@gnu.org>
5500
5501 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5502 fix "missing prefix" warning. All callers changed.
b3608390 5503
797e6e88
SM
55042012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * emacs-lisp/assoc.el: Move to obsolete/.
5507
e95a67dc
SM
55082012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5509
657c21e4 5510 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5511
5512 * term/ns-win.el (ns-define-service):
5513 * progmodes/pascal.el (pascal-goto-defun):
5514 * progmodes/js.el (js--read-tab):
5515 * progmodes/etags.el (tags-lazy-completion-table):
5516 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5517 * emacs-lisp/ewoc.el (ewoc--wrap):
5518 * emacs-lisp/assoc.el (aput, adelete, amake):
5519 * doc-view.el (doc-view-convert-current-doc):
5520 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5521
cb3e7ae0
CY
55222012-04-26 Chong Yidong <cyd@gnu.org>
5523
dce04f7f
CY
5524 * image.el (image-type-from-buffer): Only return supported image
5525 type (Bug#9045).
5526
cb3e7ae0
CY
5527 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5528 value, for symmetry with diff-end-of-hunk.
5529 (diff-split-hunk, diff-find-source-location)
5530 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5531 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5532 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5533 compute the relevant hunk or file properly (Bug#6005).
5534 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5535
0d42eb3e
SM
55362012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * vc/vc-mtn.el:
5539 * vc/vc-hg.el:
5540 * vc/vc-git.el:
5541 * vc/vc-dir.el:
5542 * vc/vc-cvs.el:
5543 * vc/vc-bzr.el:
5544 * vc/vc-arch.el:
5545 * vc/vc.el: Replace lexical-let by lexical-binding.
5546 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5547 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5548 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5549
f08ae1c9
CY
55502012-04-26 Chong Yidong <cyd@gnu.org>
5551
8b71081d
CY
5552 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5553 (diff-mode-shared-map): Bind it to / and [remap undo].
5554
f08ae1c9
CY
5555 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5556 (ediff-window-setup-function): Use it as the default, to set up
5557 windows based on whether the current frame is graphical (Bug#2138).
5558 (ediff-choose-window-setup-function-automatically): Make obsolete.
5559
5560 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5561
ef24141c
SM
55622012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5563
cc356a5d
SM
5564 * ffap.el: Remove old code for obsolete package.
5565 (ffap-complete-as-file-p): Remove.
5566
b4ff4f1f
SM
5567 Use completion-table-with-quoting for comint and pcomplete.
5568 * comint.el (comint--unquote&requote-argument)
5569 (comint--unquote-argument, comint--requote-argument): New functions.
5570 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5571 (comint-quote-filename): Use regexp-opt-charset.
5572 (comint--common-suffix, comint--common-quoted-suffix)
5573 (comint--table-subvert): Remove.
5574 (comint-unquote-function, comint-requote-function): New vars.
5575 (comint--complete-file-name-data): Use them with
5576 completion-table-with-quoting.
5577 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5578 * pcomplete.el (pcomplete-arg-quote-list)
5579 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5580 (pcomplete-unquote-argument-function): Default to non-nil.
5581 (pcomplete-unquote-argument): Simplify.
5582 (pcomplete--common-quoted-suffix): Remove.
5583 (pcomplete-requote-argument-function): New var.
5584 (pcomplete--common-suffix): New function.
5585 (pcomplete-completions-at-point): Use completion-table-with-quoting
5586 and completion-table-subvert.
5587
79c4eeb4
SM
5588 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5589 (minibuffer--double-dollars): Preserve properties.
5590 (completion--sifn-requote): New function.
5591 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5592
ef24141c
SM
5593 * minibuffer.el: Add support for completion of quoted/escaped data.
5594 (completion-table-with-quoting, completion-table-subvert): New funs.
5595 (completion--twq-try, completion--twq-all): New functions.
5596 (completion--nth-completion): New function.
5597 (completion-try-completion, completion-all-completions): Use it.
5598
784e7d6e
LL
55992012-04-25 Leo Liu <sdl.web@gmail.com>
5600
dd2ac746
SM
5601 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5602 Use compilation-message if available to find real filename.
784e7d6e 5603
07875ee7
CY
56042012-04-25 Chong Yidong <cyd@gnu.org>
5605
5606 * vc/diff-mode.el (diff-setup-whitespace): New function.
5607 (diff-mode): Use it.
5608
5609 * vc/diff.el (diff-sentinel):
5610 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5611 Whitespace mode variables based on diff style (Bug#8612).
5612
5055880d
LL
56132012-04-25 Leo Liu <sdl.web@gmail.com>
5614
daf75653
LL
5615 * progmodes/python.el (python-send-region): Add suffix .py to the
5616 temp file.
5617
5055880d
LL
5618 * files.el (auto-mode-alist): Use javascript-mode instead.
5619
db9b177b
AH
56202012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5621
ef24141c 5622 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5623
090bd7cb 5624 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5625 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5626 references, see Bug#9.
ef24141c 5627 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5628 when receiving a fault reply.
ef24141c 5629 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5630
090bd7cb 5631 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5632 (soap-inspect-simple-type): New function.
db9b177b 5633
090bd7cb 5634 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5635 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5636 (soap-decode-basic-type, soap-encode-basic-type):
5637 support unsignedInt and double basic types.
db9b177b 5638 (soap-resolve-references-for-simple-type)
ef24141c
SM
5639 (soap-parse-simple-type, soap-encode-simple-type): New function.
5640 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5641
090bd7cb 5642 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5643 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5644 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5645 the local name of "soapenc:Array".
5646 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5647 decoding integer, byte and anyURI xsd types.
5648
1fc6097b
CY
56492012-04-25 Chong Yidong <cyd@gnu.org>
5650
5651 * cus-edit.el (custom-buffer-create-internal): Update header text.
5652
afc6df87
EZ
56532012-04-25 Eli Zaretskii <eliz@gnu.org>
5654
5655 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5656 settings on 'system-type', not on 'window-system'. On MS-Windows,
5657 set interactive-mode on in GDB.
5658
dfbd787f
SM
56592012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5662 (ruby-syntax-propertize-regexp): Remove.
5663 (ruby-syntax-propertize-function): Split regexp into chunks.
5664 Match following code directly.
5665
85222d44
DG
56662012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5667
51a8ea2a
DG
5668 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5669 (ruby-syntax-propertize-regexp): New function.
5670 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5671 by a special keyword.
5672
85222d44
DG
5673 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5674 (ruby-syntax-general-delimiters-goto-beg)
5675 (ruby-syntax-propertize-general-delimiters): New functions.
5676 (ruby-syntax-propertize-function): Use them to handle GDL.
5677 (ruby-font-lock-keywords): Move old handling of GDL...
5678 (ruby-font-lock-syntactic-keywords): .. to here.
5679 (ruby-calculate-indent): Adjust indentation for GDL.
5680
b613912b
MA
56812012-04-24 Michael Albinus <michael.albinus@gmx.de>
5682
b5380639
MA
5683 * notifications.el (top): Remove unneeded declarations.
5684 (notifications-specification-version): Change to "1.2".
e43042fe 5685 (notifications-interface, notifications-notify-method)
b613912b
MA
5686 (notifications-close-notification-method): Fix docstring.
5687 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5688 (notifications-notify): Add :action-items, :resident and
5689 :transient hints. Change "image_data" to "image-data" and
5690 "image_path" to "image-path".
b613912b
MA
5691 (notifications-get-capabilities): New defun.
5692
257440aa
LL
56932012-04-24 Leo Liu <sdl.web@gmail.com>
5694
5695 * progmodes/python.el: Move hideshow setup to the end.
5696
b1bac16e
MR
56972012-04-24 Martin Rudalics <rudalics@gmx.at>
5698
5699 * window.el (handle-select-window): Clear echo area since this is
5700 no more done by read_char (Bug#11304).
5701
d81bd059
SM
57022012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5705 and `/ M' to filter-derived-mode.
5706 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5707 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5708 (ibuffer-mark-by-mode): Use default rather than initial-input.
5709 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5710
c4cf6d91
IA
57112012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5712
5713 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5714 (ibuffer-filter-by-derived-mode): New filter.
5715 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5716
7511ded8
CY
57172012-04-23 Andreas Politz <politza@fh-trier.de>
5718
5719 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5720
775c916b
CY
57212012-04-23 Chong Yidong <cyd@gnu.org>
5722
5723 * cus-edit.el (customize-apropos, customize-apropos-options):
5724 Disable matching of non-option variables (Bug#11176).
5725 (customize-option, customize-option-other-window)
5726 (customize-changed-options): Doc fix.
5727 (customize-apropos-options, customize-apropos-faces)
5728 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5729
5730 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5731 Fix word list splitting (Bug#11132).
46c71e23
CY
5732 (apropos-symbol, apropos-keybinding, apropos-label)
5733 (apropos-property, apropos-function-button)
5734 (apropos-variable-button, apropos-misc-button): New faces.
5735 (apropos-symbol-face, apropos-keybinding-face)
5736 (apropos-label-face, apropos-property-face, apropos-match-face):
5737 Variables removed (Bug#8396).
5738 (apropos-library-button, apropos-format-plist, apropos-print)
5739 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5740
2df41f9c
MA
57412012-04-23 Michael Albinus <michael.albinus@gmx.de>
5742
5743 * net/xesam.el (xesam-mode-map): Use let-bound map in
5744 initialization. (Bug#11292)
5745
da00640a
AM
57462012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5747
5748 Preserve ispell session localwords when switching back to
5749 original buffer.
5750
090bd7cb
JB
5751 * textmodes/ispell.el (ispell-buffer-session-localwords):
5752 New buffer-local variable to hold buffer session localwords.
ed9265fc 5753 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5754 localwords.
5755 (ispell-command-loop, ispell-change-dictionary)
5756 (ispell-buffer-local-words): Preserve session localwords when
5757 needed.
5758
090bd7cb
JB
5759 * textmodes/flyspell.el (flyspell-process-localwords)
5760 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5761
f621ccf5
AM
57622012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5763
090bd7cb
JB
5764 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5765 using obsolete `translation-table-for-input'.
ef24141c
SM
5766 (ispell-word, ispell-process-line, ispell-complete-word):
5767 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5768
c2d1019e
CY
57692012-04-22 Chong Yidong <cyd@gnu.org>
5770
5771 * cus-edit.el (custom-variable-menu)
5772 (custom-variable-reset-saved, custom-face-menu)
5773 (custom-face-reset-saved): If there is no saved value, make the
5774 "reset-saved" operation bring back the default (Bug#9509).
5775 (custom-face-state): Properly detect themed faces.
5776
eeddc531
CY
5777 * faces.el (face-spec-set): Stop supporting deprecated form of
5778 third arg.
5779
dcbf5805
MA
57802012-04-22 Michael Albinus <michael.albinus@gmx.de>
5781
5782 Move functions from C to Lisp. Make non-blocking method calls
5783 the default. Implement further D-Bus standard interfaces.
5784
ef24141c
SM
5785 * net/dbus.el (dbus-message-internal): Declare function.
5786 Remove unneeded function declarations.
dcbf5805
MA
5787 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5788 (dbus-message-type-method-return, dbus-message-type-error)
5789 (dbus-message-type-signal): Declare variables. Remove local
5790 definitions.
5791 (dbus-interface-dbus, dbus-interface-peer)
5792 (dbus-interface-introspectable, dbus-interface-properties)
5793 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5794 Adapt docstring.
5795 (dbus-interface-objectmanager): New defconst.
5796 (dbus-call-method, dbus-call-method-asynchronously)
5797 (dbus-send-signal, dbus-method-return-internal)
5798 (dbus-method-error-internal, dbus-register-service)
5799 (dbus-register-signal, dbus-register-method): New defuns, moved
5800 from dbusbind.c
5801 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5802 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5803 New defuns.
dcbf5805
MA
5804 (dbus-call-method-non-blocking): Make it an obsolete function.
5805 (dbus-unregister-object, dbus-unregister-service)
5806 (dbus-handle-event, dbus-register-property)
5807 (dbus-property-handler): Obey the new structure of
5808 `bus-registered-objects'.
5809 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5810 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5811 Use `dbus-call-method'.
5812
cf20dee0
CY
58132012-04-22 Chong Yidong <cyd@gnu.org>
5814
5815 * cus-edit.el (custom-commands, custom-reset-menu)
5816 (Custom-reset-standard): Tweak labels.
5817 (custom-reset-button-menu): Change default to t.
5818 (custom-buffer-create-internal): For the custom-reset-button-menu
5819 case, put the revert button first.
5820 (custom-group-subtitle): New face.
5821 (custom-group-value-create): Align docstring to a specific column.
5822
5823 * wid-edit.el (widget-documentation-link-add): Don't handle
5824 indentation in this function.
5825 (widget-documentation-string-indent-to): New function.
5826 (widget-documentation-string-value-create): Use it.
5827
5828 * autorevert.el (auto-revert):
5829 * epg-config.el (epg):
5830 * ibuffer.el (ibuffer):
5831 * mpc.el (mpc):
5832 * ses.el (ses):
5833 * eshell/eshell.el (eshell):
5834 * net/ange-ftp.el (ange-ftp):
5835 * progmodes/ebnf2ps.el (postscript):
5836 * progmodes/flymake.el (flymake):
5837 * progmodes/prolog.el (prolog):
5838 * progmodes/verilog-mode.el (verilog-mode):
5839 * progmodes/which-func.el (which-func):
5840 * term/xterm.el (xterm):
5841 * textmodes/picture.el (picture):
5842 * textmodes/tildify.el (tildify):
5843 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5844 customization buffers.
5845
583e23bd
AM
58462012-04-22 Alan Mackenzie <acm@muc.de>
5847
5848 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5849 Adding a ) can hide the resulting (..) from searches. Fix it.
5850 Bound the backward search to the position of the existing (.
5851
7dd51bf1
JB
58522012-04-21 Juanma Barranquero <lekktu@gmail.com>
5853
5854 * progmodes/verilog-mode.el (verilog-mode): Check whether
5855 which-func-modes is t before adding verilog-mode.
5856 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5857
d64a438f
LL
58582012-04-21 Leo Liu <sdl.web@gmail.com>
5859
7dd51bf1 5860 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5861
081e8d65
MV
58622012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5863
5864 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5865 filling of the last column of a table (Bug#5635).
5866 (woman-find-next-control-line): New arg, specifying an additional
5867 regexp component for the control line.
5868 (woman2-roff-buffer): Use it.
5869 (woman-break-table): New function.
5870 (woman2-TS): Use it.
5871
58722012-04-21 Chong Yidong <cyd@gnu.org>
5873
5874 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5875 (woman-horizontal-escapes, woman-negative-vertical-space)
5876 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5877 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5878
ed571ccb
SM
58792012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * minibuffer.el (completion-file-name-table): Complete user names.
5882
39773899
LL
58832012-04-20 Leo Liu <sdl.web@gmail.com>
5884
5885 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5886 and pcase-let*.
5887
de6ff46d
CY
58882012-04-20 Chong Yidong <cyd@gnu.org>
5889
5890 * server.el (server-execute): Respect initial-buffer-choice if it
5891 is a string and there are no files to open (Bug#2825).
5892 (server-create-window-system-frame, server-create-tty-frame):
5893 Don't switch buffers here.
2d0e8e61
CY
5894 (server-process-filter): Only try to open a window system frame if
5895 compiled with graphical support (Bug#8314).
de6ff46d 5896
54071013
DN
58972012-04-20 Dan Nicolaescu <dann@gnu.org>
5898
5899 * battery.el (battery-echo-area-format): Display remaining time
5900 for sysfs backend too (Bug#11269).
5901 (battery-linux-sysfs): Fix conditional for the charge.
5902
f30d612a
CY
59032012-04-20 Chong Yidong <cyd@gnu.org>
5904
c07a4c0b 5905 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5906 (gdb-inferior-io--init-proc): New function.
5907 (gdb-init-1): Use it.
5908 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5909 responsible for allocating a new pty and hooking it to gdb when
5910 the old pty gets an EIO due to process exit.
5911 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5912 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5913 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5914
2116e93c
EZ
59152012-04-20 Eli Zaretskii <eliz@gnu.org>
5916
5917 * window.el (window-min-size, window-sizable, window-min-delta)
5918 (window-max-delta, window--resizable, window-resizable)
5919 (window-total-size, window-full-height-p, window-full-width-p)
5920 (window-in-direction, window--resize-mini-window, window-resize)
5921 (window--resize-child-windows-normal)
5922 (window--resize-child-windows, window--resize-siblings)
5923 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5924 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5925
c07a4c0b 59262012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5927
ef24141c
SM
5928 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5929 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5930 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5931 pty process (Bug#11273).
5932 (gdb-update): New arg to suppress talking to the gdb process.
5933 (gdb-done-or-error): Use it.
5934 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5935 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5936 sentinel not being called.
5937
5938 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5939
d02766ab
CY
5940 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5941
c07a4c0b 59422012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5943
5944 * net/network-stream.el (open-network-stream): Doc fix.
5945
c07a4c0b 59462012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5947
5948 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5949
c07a4c0b 59502012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5951
5952 Ensure searching for keywords is case sensitive.
5953
5954 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5955 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5956 (c-defun-name, c-mark-function, c-cpp-define-name)
5957 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5958 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5959
ef24141c
SM
5960 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5961 Bind case-fold-search to nil.
f0f6bc35 5962
c07a4c0b 59632012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5964
5965 * mail/sendmail.el (mail-bury): Call return action with the right
5966 Rmail buffer (Bug#11242).
5967
9a864fa2
CY
5968 * server.el (server-process-filter): Handle corner case where both
5969 tty and nowait options are present (Bug#11102).
5970
539aa513
EZ
59712012-04-20 Eli Zaretskii <eliz@gnu.org>
5972
5973 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5974 (top level): Put into the executable the ident-style '$Id:' tag on
5975 windows-nt as well.
539aa513 5976
cfc7d5da
SM
59772012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * electric.el (electric-indent-post-self-insert-function): Check that
5980 electric-indent-mode is enabled in current buffer.
5981
5b01685c
JB
59822012-04-19 Juanma Barranquero <lekktu@gmail.com>
5983
5984 * imenu.el (imenu-progress-message): Restore; it is "used" in
5985 erc/erc-imenu.el and net/snmp-mode.el.
5986
4d6769e1
JB
59872012-04-19 Juanma Barranquero <lekktu@gmail.com>
5988
5989 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5990 (mouse-avoidance-nudge-mouse): Remove unused binding.
5991
5992 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5993
5994 * descr-text.el (describe-char):
5995 * progmodes/python.el (python-describe-symbol):
5996 Don't call `toggle-read-only', set `buffer-read-only'.
5997
5998 * imenu.el (imenu-default-goto-function): Mark unused args.
5999 (imenu-progress-message): Remove obsolete macro; all callers changed.
6000
6001 * subr.el (keymap-canonicalize): Remove unused binding.
6002 (read-passwd): Mark unused arg.
6003
6004 * tutorial.el (tutorial--display-changes): Remove unused binding.
6005 (tutorial--save-tutorial-to): Remove unused variable.
6006
6007 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6008 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6009 (package-generate-autoloads, package-menu--generate)
6010 (package-menu--find-upgrades): Remove unused bindings.
6011
6012 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6013 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6014 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6015 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6016 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6017 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6018 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6019 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6020 (cua-delete-char-rectangle): Mark unused args.
6021 (cua-align-rectangle): Remove unused binding.
6022
6023 * mail/rmail.el (compilation--message->loc)
6024 (epa--find-coding-system-for-mime-charset): Declare.
6025
6026 * net/dbus.el (dbus-register-service): Declare.
6027 (dbus-name-owner-changed-handler): Remove unused binding.
6028
6029 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6030 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6031 (nxml-scan-backward-within): Mark unused arg.
6032 (nxml-dynamic-markup-word): Remove unused binding.
6033
6034 * mouse.el (mouse-menu-major-mode-map):
6035 * emacs-lisp/authors.el (authors-scan-change-log)
6036 (authors-add-to-author-list):
6037 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6038 * emacs-lisp/smie.el (smie-auto-fill):
6039 * mail/sendmail.el (mail-bury):
6040 * mail/unrmail.el (unrmail):
6041 * net/tls.el (open-tls-stream):
6042 * textmodes/picture.el (picture-mouse-set-point):
6043 Remove unused bindings.
6044
8c8fc5df
MA
60452012-04-19 Michael Albinus <michael.albinus@gmx.de>
6046
6047 * net/tramp.el (tramp-action-password): Let-bind
6048 `enable-recursive-minibuffers' to t.
6049
a77b0ac9
SS
60502012-04-18 Sam Steingold <sds@gnu.org>
6051
6052 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6053 instead of 'string to accommodate values like [f11].
6054 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6055 * progmodes/gdb-mi.el: Likewise.
6056
12a106a9
LL
60572012-04-18 Leo Liu <sdl.web@gmail.com>
6058
6059 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6060 current buffer.
6061 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6062 LOCAL is nil.
6063
bc6494ef
CY
60642012-04-18 Chong Yidong <cyd@gnu.org>
6065
6066 * simple.el (line-move): Use forward-line if in batch mode
6067 (Bug#11053).
6068
c09c46b2
CS
60692012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6070
6071 * files.el (after-find-file): Do not try to add a final newline if
6072 the buffer is read-only (Bug#11156).
6073
5f6530ea
RS
60742012-04-17 Richard Stallman <rms@gnu.org>
6075
6076 * mail/rmail.el (rmail-start-mail):
6077 Pass (rmail-mail-return...) for the return-action.
6078 Pass (rmail-yank-current-message...) for the yank-action.
6079 (rmail-yank-current-message): New function.
6080 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6081 (rmail-reply): Likewise.
6082 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6083
6084 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6085 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6086 buffer, not newbuf.
6087
197b6f3c
JB
60882012-04-17 Juanma Barranquero <lekktu@gmail.com>
6089
6090 * server.el (server-ensure-safe-dir): Simplify.
6091
2311d8e5 60922012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6093
2311d8e5
GM
6094 * emacs-lisp/smie.el: Provide smarter auto-filling.
6095 (smie-auto-fill): New function.
6096 (smie-setup): Use it.
98fb480e 6097
2311d8e5
GM
6098 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6099
61002012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6101
6102 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6103 (comment-indent): Use it.
6104
2311d8e5 61052012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6106
6107 * ses.el: The overall change is to add cell renaming, that is
6108 setting fancy names for cell symbols other than name matching
6109 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6110 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6111 (ses-create-cell-variable): New defun.
2311d8e5 6112 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6113 (ses-relocate-formula): Relocate formulas only for cells the
6114 symbols of which are not renamed, i.e. symbols whose names do not
6115 match regexp "\\`[A-Z]+[0-9]+\\'".
6116 (ses-relocate-all): Relocate values only for cells the symbols of
6117 which are not renamed.
6118 (ses-load): Create cells variables as the (ses-cell ...) are read,
6119 in order to check row col consistency with cell symbol name only
6120 for cells that are not renamed.
6121 (ses-replace-name-in-formula): New defun.
6122 (ses-rename-cell): New defun.
4bdf2ad2 6123
fc72b15c
PO
61242012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6125
6126 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6127 New option (bug#11118).
6128 (perl-calculate-indent): Respect it.
6129
12e10e61
GM
61302012-04-17 Glenn Morris <rgm@gnu.org>
6131
6132 * dired-aux.el (dired-mark-read-string): Doc fix.
6133
30009afd
DA
61342012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6135
6136 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6137 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6138
41f03f4d
GM
61392012-04-17 Glenn Morris <rgm@gnu.org>
6140
6141 * mouse.el (mouse-drag-track):
6142 * speedbar.el (speedbar-frame-mode):
6143 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6144
f45f90f3
LL
61452012-04-16 Leo Liu <sdl.web@gmail.com>
6146
6147 * progmodes/python.el: Trivial cleanup.
6148
94ee8db5
GM
61492012-04-16 Glenn Morris <rgm@gnu.org>
6150
121b8917
GM
6151 * vc/vc.el (vc-string-prefix-p):
6152 * vc/pcvs-util.el (cvs-string-prefix-p):
6153 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6154 * mpc.el (mpc-string-prefix-p):
6155 Make all of these into obsolete aliases for string-prefix-p.
6156 Update callers.
6157 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6158
1197ecfa
GM
6159 * textmodes/two-column.el: Move custom options to the start.
6160 (frame-width): Remove compat definition.
6161 (2C-associate-buffer, 2C-dissociate):
6162 Use with-current-buffer rather than save-excursion.
6163 (2C-dissociate): Force a mode-line update.
6164 (2C-autoscroll): Use ignore-errors.
6165
099e7202
GM
6166 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6167 Autoload trivia.
6168
bf350d6a
GM
6169 * emacs-lisp/cl-extra.el (*random-state*):
6170 Remove unnecessary declaration.
6171
0e829eab
GM
6172 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6173
e3ad7552
GM
6174 * play/cookie1.el (cookie-snarf):
6175 Give an explicit error if input file cannot be read.
6176
68892d27
GM
6177 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6178
20f0c46d
GM
6179 * progmodes/perl-mode.el (c-macro-expand):
6180 Remove unnecessary autoload (it is in loaddefs.el).
6181
5a0978ce
GM
6182 * textmodes/picture.el (picture-desired-column)
6183 (picture-update-desired-column): Convert comments to doc-strings.
6184 (picture-substitute): Remove function.
6185 (picture-mode-map): Initialize in the defvar.
6186
6b955486
GM
6187 * woman.el: Remove eval-after-load for tar-mode.
6188 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6189 (woman-tar-extract-file): Autoload it.
6190
94ee8db5
GM
6191 * frame.el (automatic-hscrolling): Make this alias obsolete.
6192
177eca34
AM
61932012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6194
090bd7cb 6195 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6196 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6197 (ispell-dictionary-base-alist): Revert to original XEmacs
6198 friendly version for default. [:alpha:] will be added in
090bd7cb 6199 `ispell-set-spellchecker-params' if needed.
177eca34 6200
c505aaeb
CY
62012012-04-16 Chong Yidong <cyd@gnu.org>
6202
b19dd9d1 6203 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6204 (imagemagick-register-types): Use it.
6205 (imagemagick-types-inhibit): Add :set function. Allow new value
6206 of t to inhibit all types.
6207
6208 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6209 so we can preload it.
6210
6211 * loadup.el (fboundp): Preload regexp-opt, needed by
6212 imagemagick-register-types.
6213
60efac0f
CY
62142012-04-15 Chong Yidong <cyd@gnu.org>
6215
6216 * frame.el (scrolling): Remove nearly unused customization group.
6217
6218 * scroll-all.el (scroll-all-mode): Move to windows group.
6219
5dd1713e
CY
62202012-04-15 Chong Yidong <cyd@gnu.org>
6221
6222 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6223
e6fd457e
CY
62242012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6227 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6228
e153c136
GM
62292012-04-15 Glenn Morris <rgm@gnu.org>
6230
6231 * simple.el (process-file-side-effects): Doc fix.
6232
e6fd457e 62332012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6234
6235 * international/mule-cmds.el (set-language-environment): Doc fix.
6236
3603c3b1
JB
62372012-04-14 Juanma Barranquero <lekktu@gmail.com>
6238
6239 * server.el (server-auth-key, server-generate-key): Doc fixes.
6240 (server-get-auth-key): Doc fix. Use `string-match-p'.
6241 (server-start): Reflow docstring.
6242
e6de100c
LI
62432012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6244
6245 * server.el (server-generate-key): `called-interactively-p'
6246 requires a parameter.
6247
29734c21
MN
62482012-04-14 Michal Nazarewicz <mina86@mina86.com>
6249
6250 * server.el (server-auth-key): New variable.
75f1671a 6251 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6252 (server-start): Use the new variable and functions to allow
6253 setting a permanent server key (bug#9423).
6254
d65c9521
LL
62552012-04-14 Leo Liu <sdl.web@gmail.com>
6256
6257 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6258
5ae255c7
PE
62592012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6260
6261 Spelling fixes.
6262 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6263 Emacs uses American spelling.
6264
d5e6342e
JB
62652012-04-14 Juanma Barranquero <lekktu@gmail.com>
6266
6267 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6268 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6269 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6270 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6271
ab036cd7
SM
62722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * progmodes/which-func.el (which-func-modes): Change default.
6275
35dc09a1 62762012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6277
6278 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6279 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6280
35dc09a1 62812012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6282
6283 * custom.el (custom-theme-set-variables): Doc fix.
6284
35dc09a1 62852012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6286
6287 * international/mule.el (set-auto-coding-for-load): Doc fix.
6288
35dc09a1 62892012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6290
35dc09a1
GM
6291 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6292 imenu work again for Objective C Mode. Correct the *-index values,
6293 these having been disturbed by a previous change in 2011-08.
57f845ee 6294
0de3da9f
AM
6295 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6296 Correct two search limits.
6297
35dc09a1 62982012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6299
6300 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6301
35dc09a1 63022012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6303
6304 * international/characters.el: Fix sorting.
6305
35dc09a1 63062012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6307
6308 * international/characters.el: Add more missing Latin case pairs.
6309
35dc09a1 63102012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6311
6312 * files.el (dir-locals-set-class-variables): Doc fix.
6313
35dc09a1 63142012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6315
3f1b5bf8
EZ
6316 * international/characters.el: Add set-case-syntax-pair call for
6317 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6318 counterpart. (Bug#11209)
6319
9f847f41
EZ
6320 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6321
35dc09a1 63222012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6323
6324 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6325
35dc09a1 63262012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6327
35dc09a1
GM
6328 * textmodes/ispell.el (ispell-dictionary-base-alist):
6329 Add data for Hebrew.
e2627d21 6330
35dc09a1 63312012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6332
35dc09a1
GM
6333 * net/rcirc.el (rcirc-cmd-quit):
6334 Revert 2012-03-18 change (Bug#11192).
5c14e333 6335
35dc09a1 63362012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6337
6338 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6339
35dc09a1 63402012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6341
4517fe3a
SM
6342 * minibuffer.el (completion-in-region-mode-map):
6343 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6344
b472a594
VD
63452012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6346
6347 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6348
09b95ce3
MY
63492012-04-13 Masatake YAMATO <yamato@redhat.com>
6350
6351 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6352 to allow `C-M-f' and `C-M-b' to move to the nearest path
6353 separator (bug#9511).
6354
4b63a9ca
LI
63552012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6356
6357 * avoid.el: Require cl when compiling. And also move the
6358 `provide' to the end.
6359
7b55b8bf
TV
63602012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6361
6362 * avoid.el (mouse-avoidance-banish-position): New variable.
6363 (mouse-avoidance-banish-destination): Use it (bug#10165).
6364
adedaa1f
LL
63652012-04-13 Leo Liu <sdl.web@gmail.com>
6366
6367 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6368
70e74021
KB
63692012-04-13 Ken Brown <kbrown@cornell.edu>
6370
6371 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6372 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6373 (browse-url-filename-alist): For the same reason, don't modify
6374 file:// URLs on Cygwin.
6375
e75e89ba
SM
63762012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6379 the region on shift if the binding is already shifted (bug#11221).
6380
82f289a4
GM
63812012-04-12 Glenn Morris <rgm@gnu.org>
6382
6383 * mail/mailpost.el: Move to obsolete/.
6384
d333dc4c
DA
63852012-04-12 Drew Adams <drew.adams@oracle.com>
6386
6387 * imenu.el (imenu--generic-function): Ignore invisible definitions
6388 (bug#10123).
6389
0d15b5ba
VD
63902012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6391
6392 * hexl.el (hexl-bits): New variable.
6393 (hexl-options): Mention the variable in the doc string.
75f1671a 6394 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6395 (hexl-mode): Mention the new variable.
75f1671a
JB
6396 (hexl-mode, hexl-current-address, hexl-current-address):
6397 Use the displen.
0d15b5ba
VD
6398 (hexl-ascii-start-column): New function.
6399 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6400 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6401
64a440db
AM
64022012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6403
6404 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6405 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6406 the encoding, as expected by hunspell.
6407
6decb6c2
SM
64082012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * battery.el (battery--linux-sysfs-regexp): New const.
6411 (battery-status-function): Use it. Remove yeeloong special case.
6412 (battery-yeeloong-sysfs): Remove.
6413 (battery-echo-area-format): Remove yeeloong special case.
6414
088be6fb
SM
64152012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6622e416
SM
6417 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6418 Reported by Noah Friedman.
6419
088be6fb
SM
6420 * subr.el (read-passwd): Use read-string.
6421
b49f886e
LMI
64222012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6423
6424 * vcursor.el (vcursor-move): Increase the priority of the overlay
6425 (bug#9663).
6426
a63067fc
DD
64272012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6428
6429 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6430 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6431
ac3cf14a
WS
64322012-04-11 William Stevenson <yhvh2000@gmail.com>
6433
6434 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6435 define-minor-mode (bug#10760).
6436
c4fc691b 64372012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6438
4d6769e1 6439 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6440 that directories matching `grep-find-ignored-files' won't be
6441 pruned (bug#10351).
6442
af23e2e5
CY
64432012-04-11 Chong Yidong <cyd@gnu.org>
6444
6445 * startup.el (command-line): Remove support for long-obsolete
6446 variable font-lock-face-attributes.
6447
ab7ce8c1
GM
64482012-04-11 Glenn Morris <rgm@gnu.org>
6449
6450 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6451
de8c03dc
SM
64522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * window.el (window--state-get-1): Obey window-point-insertion-type.
6455
050cc68b
LB
64562012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6457
6458 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6459 to previous function when point is on the first character of a
75f1671a 6460 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6461
a38c310c
GM
64622012-04-11 Glenn Morris <rgm@gnu.org>
6463
effed0c2
GM
6464 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6465 not just file-errors.
6466
a38c310c
GM
6467 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6468 (vc-bzr-sha1): Use internal sha1.
6469
0221e323
SM
64702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6473
43956923
SG
64742012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
6475
6476 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6477 that start in the middle of the line (bug#10496).
6478
6a8c9eaf
DN
64792012-04-10 Dan Nicolaescu <dann@gnu.org>
6480
6481 * battery.el (battery-linux-proc-acpi): Only one battery is
6482 discharged at a time, but that seems to confuse battery.el when
6483 computing `rate-type' for the battery not being discharged
6484 (bug#10332).
6485
1930bf5d
SM
64862012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6487
2a718f6f
SM
6488 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6489
599430d0
SM
6490 * international/quail.el: Use dolist and simplify.
6491 (quail-define-package, quail-update-keyboard-layout)
6492 (quail-define-rules): Use dolist.
6493 (quail-insert-kbd-layout, quail-get-translation): CSE.
6494
a2754b6c
SM
6495 * tmm.el: Use dolist, remove left over hook.
6496 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6497 Use dolist.
6498 (calendar-load-hook): Don't mess with it.
6499
1930bf5d
SM
6500 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6501 Use derived-mode-p. Run the diff asynchronously.
6502
9f67961c
LMI
65032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6504
6505 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6506
2a8ce227
JB
65072012-04-10 Juanma Barranquero <lekktu@gmail.com>
6508
6509 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6510 (list-dynamic-libraries--loaded): New function.
6511 (list-dynamic-libraries--refresh): Use it.
6512
8f33b5f8
NW
65132012-04-10 Nathan Weizenbaum <nweiz@google.com>
6514
1930bf5d
SM
6515 * progmodes/python.el (python-fill-paragraph):
6516 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6517 disabled (bug#7018).
6518
b12f0439
L
65192012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6520
1930bf5d 6521 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6522 DOS/MS Windows for the Baltic languages. There are still plenty
6523 of texts written in this encoding/codepage (bug#6519).
b12f0439 6524
57c3bd01
GM
65252012-04-10 Glenn Morris <rgm@gnu.org>
6526
6527 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6528 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6529
6c3eab30
FA
65302012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6531
1930bf5d 6532 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6533 next-line "n" and previous-line "p" in order to make recentf more
6534 consistent with ibuffer, dired or org-mode (bug#9387).
6535
24d78a88
LMI
65362012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537
bc72b5d9
LMI
6538 * image.el (put-image): Return the overlay created instead of the
6539 optional input string (bug#7834). Note that this may break code
6540 that is (for some reason or other) depending on `put-image'
6541 returning the string.
6542
bd2dba5a
LMI
6543 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6544
74beb59f
LMI
6545 * simple.el (zap-to-char): Allow zapping using input methods
6546 (bug#1580).
6547
24d78a88
LMI
6548 * textmodes/fill.el (fill-region): Leave point and mark where they
6549 were before filling (bug#5399).
6550
263f20cd
GM
65512012-04-09 Glenn Morris <rgm@gnu.org>
6552
6553 * version.el (emacs-bzr-get-version):
6554 Handle lightweight checkouts of local branches.
6555
58d1f797
AS
65562012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6557
263f20cd 6558 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6559
b4d3bc10
CY
65602012-04-09 Chong Yidong <cyd@gnu.org>
6561
6562 * custom.el (custom-variable-p): Return nil for non-symbol
6563 arguments instead of signaling an error.
6564 (user-variable-p): Obsolete alias for custom-variable-p.
6565
6566 * apropos.el (apropos-variable):
6567 * files-x.el (read-file-local-variable):
6568 * simple.el (set-variable):
6569 * woman.el (woman-mini-help):
6570 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6571
fd06db5d
GM
65722012-04-09 Glenn Morris <rgm@gnu.org>
6573
e5fcdb5e
GM
6574 * startup.el (normal-top-level): Don't look for leim-list.el
6575 in places where it will not be found. (Bug#910)
6576
fd06db5d
GM
6577 * international/mule-cmds.el (set-default-coding-systems):
6578 * files.el (normal-mode):
6579 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6580 This function was removed with ucs-tables.el in 2008.
6581
b39bb7e1
EZ
65822012-04-08 Eli Zaretskii <eliz@gnu.org>
6583
6584 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6585 ispell-encoding8-command to "-i", without a trailing space.
6586 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6587 separate command-line arguments, to specify the encoding, since
6588 that's how hunspell expects it.
6589
5c5b8e23
GM
65902012-04-08 Glenn Morris <rgm@gnu.org>
6591
6592 * loadup.el: Load bindings before cus-start.
6593 This reduces somewhat the number of "rogue" settings in emacs -Q.
6594
a1ed8b05
GM
65952012-04-07 Glenn Morris <rgm@gnu.org>
6596
6597 * version.el (emacs-bzr-get-version): New function.
dfae128a 6598 (emacs-bzr-version): New variable.
a1ed8b05
GM
6599 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6600 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6601
b142f158
EZ
66022012-04-07 Eli Zaretskii <eliz@gnu.org>
6603
dfae128a
GM
6604 * international/uni-bidi.el, international/uni-category.el:
6605 * international/uni-combining.el, international/uni-decimal.el:
6606 * international/uni-decomposition.el, international/uni-digit.el:
6607 * international/uni-lowercase.el, international/uni-mirrored.el:
6608 * international/uni-name.el, international/uni-numeric.el:
6609 * international/uni-titlecase.el, international/uni-uppercase.el:
6610 Update for Unicode 6.1.
b142f158 6611
9078ead6
EZ
66122012-04-07 Eli Zaretskii <eliz@gnu.org>
6613
6614 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6615
f23d2c7d
LMI
66162012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6617
6618 * window.el (shrink-window): Mention the `window-min-height'
6619 variable in the doc string.
6620
0a0a3573
BG
66212012-04-05 Bastien Guerry <bzg@altern.org>
6622
6623 * color.el (color-lighten-name): Fix typo.
6624
e5248ac9
SM
66252012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * server.el (server--on-display-p): New function.
6628 (server--on-display-p): Use it.
6629
b4243e22
GV
66302012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6631
6632 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6633 (bug#11145).
6634
305d9f44
SM
66352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * comint.el (comint--common-quoted-suffix): Check string boundary
6638 before comparing (bug#11158).
6639 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6640
3d439cd1
CY
66412012-04-04 Chong Yidong <cyd@gnu.org>
6642
321cc491
CY
6643 * minibuffer.el (completion-extra-properties): Doc fix.
6644
3d439cd1
CY
6645 * subr.el (delayed-warnings-hook): Doc fix.
6646
2d562c0f
DU
66472012-04-04 Daiki Ueno <ueno@unixuser.org>
6648
6649 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6650 selection (Bug#11159).
6651 (epa-insert-keys): Inform that the default public key will be
6652 exported if no key is selected.
6653
4443f204
RS
66542012-04-04 Richard Stallman <rms@gnu.org>
6655
6656 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6657
529c06b6
CY
66582012-04-03 Chong Yidong <cyd@gnu.org>
6659
6660 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6661 mail-insert-file, not its obsolete alias mail-attach-file.
6662
66b907dc
MA
66632012-04-03 Michael Albinus <michael.albinus@gmx.de>
6664
6665 * notifications.el (notifications-notify): Fix docstring.
6666
c0ea195d
GM
66672012-04-02 Glenn Morris <rgm@gnu.org>
6668
6669 * emacs-lisp/authors.el (authors-aliases): Another addition.
6670
5ca64e00
MA
66712012-04-02 Michael Albinus <michael.albinus@gmx.de>
6672
6673 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6674 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6675 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6676
42ee526b
CY
66772012-04-01 Chong Yidong <cyd@gnu.org>
6678
6679 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6680 Handle root directory properly.
6681 (copy-directory): Caller changed.
6682
6683 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6684 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6685
0b021094
GM
66862012-03-31 Glenn Morris <rgm@gnu.org>
6687
40f86458
GM
6688 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6689
7019c177
GM
6690 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6691
a1daddd6
GM
6692 * calendar/calendar.el (calendar-window-list)
6693 (calendar-hide-window): Restore. (Bug#11140)
6694 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6695
0b021094
GM
6696 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6697
40311efc
TV
66982012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6699
6700 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6701 Check if file is a symlink (Bug#10489).
6702
6703 * files.el (copy-directory): Likewise.
6704
5319014e
CY
67052012-03-30 Chong Yidong <cyd@gnu.org>
6706
6707 * image.el (imagemagick-types-inhibit)
6708 (imagemagick-register-types): Doc fix.
6709
935d1290
AM
67102012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6711
090bd7cb 6712 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6713 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6714 and treats ~word as ordinary words in pipe mode.
935d1290 6715
61c6e8fd
GM
67162012-03-30 Glenn Morris <rgm@gnu.org>
6717
6718 * tutorial.el (help-with-tutorial): Ensure local variables don't
6719 happen to make the buffer read-only. (Bug#11127)
6720
81fdff00
SM
67212012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6724 (perl-calculate-indent): Return `noindent' in strings.
6725
6e7a6ec0
SS
67262012-03-28 Sam Steingold <sds@gnu.org>
6727
6728 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6729 instead of the broken adhockery which does not prevent calendar
6730 buffers from being displayed at random after exit.
6731 (calendar-window-list, calendar-hide-window): Remove the broken
6732 adhockery.
6733
fee88ca0
GM
67342012-03-28 Glenn Morris <rgm@gnu.org>
6735
6736 * replace.el (query-replace-map): Doc fix.
6737
38de3354
AS
67382012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6739
6740 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6741 contents. (Bug#11109)
6742
b973155e
SM
67432012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6746 (bug#11077).
6747 (avl-tree--check, avl-tree--check-node): New funs.
6748
dcb6e7b3
MR
67492012-03-27 Martin Rudalics <rudalics@gmx.at>
6750
6751 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6752 (switch-to-prev-buffer, switch-to-next-buffer):
6753 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6754 showing a buffer already is done on the same frame.
6755
b4fa35fa
GM
67562012-03-27 Glenn Morris <rgm@gnu.org>
6757
6758 * startup.el (mail-host-address): Doc fix.
6759
f9210e18
SM
67602012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6763 than 197 variables.
6764
c0bf7753
AF
67652012-03-26 Ami Fischman <ami@fischman.org>
6766
6767 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6768
33da7b16
GM
67692012-03-26 Glenn Morris <rgm@gnu.org>
6770
02243d9d
GM
6771 * files.el (save-buffers-kill-emacs): Doc fix.
6772
33da7b16
GM
6773 * startup.el (normal-top-level, command-line, command-line-1):
6774 Give them doc strings.
6775
e5a69fd0
EZ
67762012-03-25 Eli Zaretskii <eliz@gnu.org>
6777
6778 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6779 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6780
9a69676a
CY
67812012-03-25 Chong Yidong <cyd@gnu.org>
6782
4125cb8b
CY
6783 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6784 theme if it was previously enabled before (Bug#11031).
6785
dd470960
CY
6786 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6787 spec with custom-face-get-current-spec if its :shown-value is not
6788 determined yet (Bug#9337).
4125cb8b 6789 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6790
9a69676a
CY
6791 * button.el (button-at): Minor addition to docstring.
6792
6e7e90fa
SL
67932012-03-24 Simon Leinen <simon.leinen@gmail.com>
6794
6795 * vc/vc.el (vc-merge): Fix a prompt.
6796
f06e2758
CY
67972012-03-24 Chong Yidong <cyd@gnu.org>
6798
6799 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6800 point (Bug#9623).
6801
6e7e90fa
SL
6802 * button.el (button-at): Minor addition to docstring.
6803
b9d0879b
SM
68042012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * newcomment.el (comment-choose-indent): No space after BOL.
6807
e71cebb3
SS
68082012-03-22 Sam Steingold <sds@gnu.org>
6809
6810 * window.el (switch-to-prev-buffer): Revert last patch because the
6811 bug turned out to be an advertised feature (Elisp manual 28.14).
6812
335aff35
GM
68132012-03-22 Glenn Morris <rgm@gnu.org>
6814
6815 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6816 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6817
c676576a
LMI
68182012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6819
6820 * net/network-stream.el (network-stream-open-starttls): Make error
6821 message under Windows be less misleading.
6822
126f3d39
LW
68232012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6824
6825 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6826 understands (bug#9942).
6827
64fee311
CY
68282012-03-22 Chong Yidong <cyd@gnu.org>
6829
6830 * simple.el (end-of-visible-line): Handle return value of
6831 next-single-property-change properly (Bug#9371).
6832
a640d29a
KH
68332012-03-22 Kenichi Handa <handa@m17n.org>
6834
6835 * international/quail.el (quail-insert-kbd-layout): Fix previous
6836 change. To avoid unwanted bidi reordering, use
6837 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6838
39675016
DG
68392012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6840
6841 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6842 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6843 (ruby-beginning-of-indent): Be more careful with the difference
6844 between word-boundary and symbol boundary.
6845 (ruby-mode-syntax-table): Make : a symbol constituent.
6846
0a6934fc 68472012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6848
3d008e4f
SM
6849 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6850
0a6934fc
SM
68512012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6852
af67c9d7
SM
6853 * progmodes/etags.el (tags-completion-at-point-function):
6854 Improve last fix.
6855
1acad97c
SM
6856 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6857
e298b5da
SS
68582012-03-21 Sam Steingold <sds@gnu.org>
6859
6860 * progmodes/etags.el (tags-completion-at-point-function):
6861 Avoid the error when point is inside the pattern.
6862
91d82a70
JY
68632012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6864
6865 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6866 line (Bug#10855).
6867
69188b79
CY
68682012-03-21 Drew Adams <drew.adams@oracle.com>
6869
6870 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6871
99fc91fe
AK
68722012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6873
6874 * ido.el (ido-set-current-directory, ido-read-internal)
6875 (ido-choose-completion-string, ido-completion-help): Handle nil
6876 value of ido-completion-buffer (Bug#11008).
6877
087bbb4c
SS
68782012-03-21 Sam Steingold <sds@gnu.org>
6879
6880 * window.el (switch-to-prev-buffer): Do not switch to a visible
6881 window previous buffer, just like with the frame previous buffers.
6882
fb5b8aca
CY
68832012-03-21 Chong Yidong <cyd@gnu.org>
6884
6885 * faces.el (make-face, make-empty-face, copy-face):
6886 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6887 Doc fixes.
6888
dc9924b8
SM
68892012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6892 (widget-complete): Remove broken use of it.
6893
f0bcceb9
CY
68942012-03-20 Chong Yidong <cyd@gnu.org>
6895
dc9924b8
SM
6896 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6897 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6898 characters.
6899
ee52ebf3
TH
69002012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6901
6902 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6903 to draw rectangles, not squares. (Regression introduced by revno
6904 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6905
4c5779ab
CY
69062012-03-18 Chong Yidong <cyd@gnu.org>
6907
6908 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6909 it is not yet defined (for temacs).
6910
15360934
LL
69112012-03-18 Leo Liu <sdl.web@gmail.com>
6912
dc9924b8 6913 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6914
d9a8eb66
EZ
69152012-03-17 Eli Zaretskii <eliz@gnu.org>
6916
6917 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6918 (ispell-choices-win-default-height, ispell-silently-savep)
6919 (ispell-dictionary-alist, ispell-encoding8-command)
6920 (ispell-check-version, ispell-aspell-find-dictionary)
6921 (ispell-valid-dictionary-list, ispell-words-keyword)
6922 (ispell-get-word, ispell-internal-change-dictionary)
6923 (ispell-region, ispell-skip-region-list)
6924 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6925 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6926 (ispell-message-text-end, ispell-message)
6927 (ispell-buffer-local-parsing): Doc fix.
6928
f02ff80d
J
69292012-03-13 Jambunathan K <kjambunathan@gmail.com>
6930
6931 * htmlfontify.el: Add support for code block fontification for ODT
6932 export (Bug #9914).
6933 (hfy-optimisations): Define new option
6934 `body-text-only'
6935 (hfy-fontify-buffer): Honor above setting.
6936 (hfy-begin-span, hfy-end-span): New routines factored out form
6937 `hfy-fontify-buffer'.
6938 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6939 that permit insertion of custom tags.
6940 (hfy-fontify-buffer): Use above handlers.
6941 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6942 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6943 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6944 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6945 bind a special variable `hfy-user-sheet-assoc'.
6946 (htmlfontify-string): New defun.
6947 (hfy-compile-face-map): Make sure that the last char in the
6948 buffer is correctly fontified.
6949 (hfy-face-resolve-face): Whitespace only change.
6950
9ac7a13f
EZ
69512012-03-17 Eli Zaretskii <eliz@gnu.org>
6952
6953 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6954 message more clear.
6955
e2b5bdd7
LL
69562012-03-16 Leo Liu <sdl.web@gmail.com>
6957
6958 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6959
2e492df3
AM
69602012-03-16 Alan Mackenzie <acm@muc.de>
6961
6962 Further optimise the handling of large macros.
6963
6964 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6965 limit to a call of `c-literal-limits'.
6966 (c-determine-+ve-limit): New function.
dc9924b8
SM
6967 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6968 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6969 In CASE 5B, restrict a search limit to 500.
6970 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6971
6972 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6973 Restrict macro bounds to +-500 from after-change's BEG END.
6974
50e94f0c
LL
69752012-03-16 Leo Liu <sdl.web@gmail.com>
6976
6977 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6978
6f09f6ed
AH
69792012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6980
6981 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6982 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6983
c7e73d51
GM
69842012-03-16 Glenn Morris <rgm@gnu.org>
6985
da986230
GM
6986 * view.el (view-buffer, view-buffer-other-window)
6987 (view-buffer-other-frame): Doc fixes re special mode-class.
6988
0835f01e
GM
6989 * subr.el (eval-after-load): If named feature is provided not from
6990 a file, run after-load forms. (Bug#10946)
6991
c7e73d51
GM
6992 * calendar/calendar.el (calendar-insert-at-column):
6993 Handle non-unit-width characters a bit better. (Bug#10978)
6994
3f2eafd1
CY
69952012-03-15 Chong Yidong <cyd@gnu.org>
6996
6997 * emacs-lisp/ring.el (ring-extend): New function.
6998 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6999
7000 * comint.el (comint-read-input-ring)
7001 (comint-add-to-input-history): Grow comint-input-ring lazily.
7002
103af3fe
SM
70032012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7004
663b1677
SM
7005 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7006 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7007
103af3fe
SM
7008 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7009 (imenu-add-to-menubar): Don't add a redundant index.
7010 (imenu-update-menubar): Handle a dynamically composed keymap.
7011
899cb7cb
KY
70122012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7013
7014 * mail/sendmail.el (mail-encode-header):
7015 Bind rfc2047-encode-encoded-words to nil.
7016
3809f91d
GM
70172012-03-13 Glenn Morris <rgm@gnu.org>
7018
7019 * calendar/calendar.el (calendar-string-spread):
7020 Handle non-unit-width characters a bit better. (Bug#10978)
7021
9e345a01
LL
70222012-03-13 Leo Liu <sdl.web@gmail.com>
7023
7024 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7025 directory and file as argument (Bug#10822).
7026
4a07df36
KS
70272012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7028
7029 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7030 For dynamically generated code, follow $PC.
7031 (gdb-disassembly-handler-custom): Handle no function name case.
7032
4aaa9356
TL
70332012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7034
7035 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7036 * emulation/ws-mode.el (ws-query-replace):
7037 * sort.el (sort-regexp-fields):
7038 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7039
225979da
SM
70402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * dabbrev.el: Fix cycle completion order (bug#10963).
7043 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7044 (dabbrev-completion): Don't use an obarray; provide
7045 a cycle-sort-function.
7046
e2f1fdab
LL
70472012-03-12 Leo Liu <sdl.web@gmail.com>
7048
dc9924b8 7049 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7050 (kill-do-not-save-duplicates): Doc fix.
7051
b19490ed
SM
70522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * dabbrev.el: Fix cycle completion (bug#10963).
7055 Use lexical binding and wrap to 80 columns.
7056 (dabbrev-completion): Delay computing the list of completions.
7057
4b05d722
KH
70582012-03-12 Kenichi Handa <handa@m17n.org>
7059
7060 * international/quail.el (quail-insert-kbd-layout): Surround each
7061 row by LRO and PDF instead of inserting many LRMs. Pad the left
7062 and right of each non-spacing marks. Insert invisible space
7063 between lower and upper characters to prevent composition.
7064
dbbc2e69
SM
70652012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * minibuffer.el (minibuffer-complete): Don't get confused when the
7068 function is run twice via different commands (bug#10958).
7069 (complete-with-action): Fix docstring.
7070
292112ed
CY
70712012-03-12 Chong Yidong <cyd@gnu.org>
7072
5d1ac394
CY
7073 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7074 (nxml-completion-at-point-function): New function.
7075 (nxml-mode): Use it.
7076 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7077
292112ed
CY
7078 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7079 Load generated autoloads file before byte compiling (Bug#10970).
7080 (package--make-autoloads-and-compile): New helper fun.
7081
4098f8f7
CS
70822012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7083
7084 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7085
8f754691
MA
70862012-03-11 Michael Albinus <michael.albinus@gmx.de>
7087
7088 * autorevert.el (auto-revert-handler): Ensure, that
7089 file-readable-p is applied only for local files or in
7090 auto-revert-tail-mode.
7091
e29ab36b
AS
70922012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7093
dbbc2e69
SM
7094 * server.el (server-eval-at): Handle non-tcp connections.
7095 Decode result string.
ad0bf5b6 7096
e29ab36b
AS
7097 * server.el (server-msg-size): New constant.
7098 (server-reply-print): New function.
7099 (server-eval-and-print): Use it.
7100 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7101 Handle -print-nonl.
7102
de5939ba
CS
71032012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7104
7105 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7106 (Bug#10987).
7107
0c93eabf
CY
71082012-03-11 Chong Yidong <cyd@gnu.org>
7109
397a688f
CY
7110 * simple.el (goto-line): Doc fix (Bug#9938).
7111
2cc775f9
CY
7112 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7113
0c93eabf
CY
7114 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7115 when finished (Bug#10963).
7116
c491fa41
MR
71172012-03-11 Martin Rudalics <rudalics@gmx.at>
7118
7119 * window.el (split-window-below): Fix bug in case where
7120 split-window-keep-point is nil (Bug#10971).
7121
300e8fa5
JL
71222012-03-11 Juri Linkov <juri@jurta.org>
7123
7124 * replace.el (replace-highlight): Set isearch-word to nil
7125 unconditionally. (Bug#10887)
7126
dbf6c5a1
EZ
71272012-03-10 Eli Zaretskii <eliz@gnu.org>
7128
7129 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7130 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7131 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7132 (mairix-widget-create-query): Add usage information about mairix
7133 search forms: negating words, searching for substrings, etc.
7134
b9e501de
JP
71352012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7136
7137 * international/fontset.el (font-encoding-alist): Add an entry for
7138 ksx1001 (Bug#5667).
7139
92795c91
RS
71402012-03-10 Richard Stallman <rms@gnu.org>
7141
1694e6c1
RS
7142 * mail/sendmail.el (mail-encode-header):
7143 Set rfc2047-encode-encoded-words.
7144
607e8555
RS
7145 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7146
de3bc99a
RS
7147 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7148 view buffer means not swapped.
7149 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7150 (rmail-write-region-annotate): Error if real text has disappeared.
7151
92795c91
RS
7152 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7153
699bd04e
CY
71542012-03-10 Chong Yidong <cyd@gnu.org>
7155
7156 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7157 * emulation/cua-base.el (cua--init-keymaps):
7158 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7159
570a1714
MR
71602012-03-10 Martin Rudalics <rudalics@gmx.at>
7161
dbbc2e69
SM
7162 * speedbar.el (speedbar-unhighlight-one-tag-line):
7163 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7164
82dcf4e4
CY
71652012-03-10 Chong Yidong <cyd@gnu.org>
7166
7a2c7ca7
CY
7167 * minibuffer.el (completion-in-region, completion-help-at-point):
7168 Give the completion field overlay a high priority (Bug#6830).
7169
82dcf4e4
CY
7170 * dired.el (dired-goto-file): Recognize absolute file name
7171 listings (Bug#7126).
7172 (dired-goto-file-1): New helper function.
7173 (dired-toggle-read-only): Inhibit warnings.
7174
052e28ac
MA
71752012-03-09 Michael Albinus <michael.albinus@gmx.de>
7176
75f1671a 7177 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7178 there are no properties.
7179
95d5e396
LL
71802012-03-09 Leo Liu <sdl.web@gmail.com>
7181
7182 * savehist.el (savehist-printable): Stricter check for string
7183 value (Bug#10937).
7184
3f018d6d
EZ
71852012-03-09 Eli Zaretskii <eliz@gnu.org>
7186
dbbc2e69
SM
7187 * mail/smtpmail.el (smtpmail-send-it):
7188 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7189 valid mbox format.
7190
f7fd3d79
GM
71912012-03-09 Glenn Morris <rgm@gnu.org>
7192
7193 * files.el (dir-locals-find-file):
7194 Don't check result is regular, readable.
7195 (dir-locals-read-from-file): Demote errors.
7196
6ff6e72f
EZ
71972012-03-08 Eli Zaretskii <eliz@gnu.org>
7198
dbbc2e69
SM
7199 * international/quail.el (quail-insert-kbd-layout):
7200 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7201 layout cell, to prevent their reordering by bidi display engine.
7202 For details, see the discussion in
7203 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7204
9cec7834
AM
72052012-03-08 Alan Mackenzie <acm@muc.de>
7206
7207 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7208 the starting position; make it extend the marked region when
7209 invoked repeatedly - all under appropriate circumstances.
7210 Fixes bugs #5525, #10906.
7211
9a40b8d4
GM
72122012-03-08 Glenn Morris <rgm@gnu.org>
7213
7214 * files.el (locate-dominating-file, dir-locals-find-file):
7215 Undo 2012-03-06 change.
7216
7a08ed35
EZ
72172012-03-07 Eli Zaretskii <eliz@gnu.org>
7218
dbbc2e69
SM
7219 * international/quail.el (quail-help):
7220 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7221 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7222 for the reason.
7223
5aca4f71 72242012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7225
7226 Avoid superfluous registering of signals. (Bug#10807)
7227
7228 * notifications.el (notifications-on-action-object)
7229 (notifications-on-close-object): New defvars.
7230 (notifications-on-action-signal, notifications-on-closed-signal):
7231 Unregister the signal if not needed any longer.
7232 (notifications-notify): Register `notifications-action-signal' or
7233 `notifications-closed-signal', if :on-action or :on-close has been
7234 passed as argument.
7235
78e8b10a
CY
72362012-03-07 Chong Yidong <cyd@gnu.org>
7237
7238 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7239 non-X platforms.
7240
69481eb8
GM
72412012-03-06 Glenn Morris <rgm@gnu.org>
7242
7243 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7244 (x-disown-selection-internal, x-get-selection-internal):
7245 Doc fix (add arglist signatures). (Bug#10783)
7246
133b8e11
KS
72472012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7248
7249 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7250 Handle breakpoints with no "type".
7251
99a83064
GM
72522012-03-06 Glenn Morris <rgm@gnu.org>
7253
7254 * files.el (locate-dominating-file): Add optional predicate argument.
7255 (dir-locals-find-file): Make use of above change.
7256
17798e78
TTN
72572012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7258
7259 * info.el (Info-insert-dir): Also try "dir.gz".
7260
eb182446
GM
72612012-03-06 Glenn Morris <rgm@gnu.org>
7262
8f2114ee
GM
7263 * files.el (dir-locals-find-file):
7264 Ignore non-readable or non-regular files. (Bug#10928)
7265
eb182446
GM
7266 * files.el (locate-dominating-file): Doc fix.
7267
24679323
AS
72682012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7269
7270 * calendar/calendar.el (calendar-set-mode-line):
7271 `getenv' returns a string. (Bug#10951)
7272
01d972a9
LL
72732012-03-05 Leo Liu <sdl.web@gmail.com>
7274
109aa8a9
LL
7275 * simple.el (backward-delete-char-untabify): Constrain point to
7276 field (Bug#10939).
7277
01d972a9
LL
7278 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7279
10607bea
CY
72802012-03-05 Chong Yidong <cyd@gnu.org>
7281
7282 * simple.el (count-words): If called from Lisp, return the word
7283 count, for symmetry with `count-lines'. Arglist changed.
7284 (count-words--message): Args changed. Consolidate counting code
7285 from count-words and count-words-region.
7286 (count-words-region): Caller changed.
7287 (count-lines-region): Make it an obsolete alias.
7288
5dd11cfe
TH
72892012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7290
7291 * saveplace.el (save-place-to-alist)
7292 (save-place-ignore-files-regexp): Allow value nil to disable this
7293 feature.
7294
c349f4e6
CY
72952012-03-04 Chong Yidong <cyd@gnu.org>
7296
7297 * faces.el (face-spec-reset-face): For the default face, reset the
7298 attributes to default values (Bug#10748).
7299
e627be4c
LMI
73002012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301
7302 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7303 previous patch: Check `message-send-mail-function', and not the
7304 default function (bug#10897).
7305
ebeabff4
MA
73062012-03-04 Michael Albinus <michael.albinus@gmx.de>
7307
a41a6cf4
MA
7308 * notifications.el (notifications-on-action-signal)
7309 (notifications-on-closed-signal): Check for unique service name of
7310 incoming event. Fix error in removing entry.
ebeabff4 7311 (top): Register for signals with wildcard service name.
a41a6cf4 7312 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7313
c1ca42b4
CY
73142012-03-04 Chong Yidong <cyd@gnu.org>
7315
dc9924b8 7316 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7317
ea16568d
GM
73182012-03-04 Glenn Morris <rgm@gnu.org>
7319
7320 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7321 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7322 (expand-abbrev, define-abbrev-table): Doc fixes.
7323
fbae4637
LMI
73242012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7325
7326 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7327 `message-default-send-mail-function' and not `send-mail-function'
7328 when doing the prompting for `sendmail-query-once' before sending
7329 in Message buffers (bug#10897).
7330
a1e7225c
LMI
7331 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7332 This is inconsistent with all the other stream functions, which leave
7333 the setting up to the higher levels (if so wanted) (bug#10931).
7334
56d093a9
AM
73352012-03-02 Alan Mackenzie <acm@muc.de>
7336
7337 Depessimize the handling of very large macros.
7338
7339 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7340 (c-macro-cache-syntactic): New variables to implement a one
7341 element macro cache.
7342 (c-invalidate-macro-cache): New function.
7343 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7344 Adapt to use the new cache.
7345 (c-state-safe-place): Use better the cache of safe positions.
7346 (c-state-semi-nonlit-pos-cache)
7347 (c-state-semi-nonlit-pos-cache-limit):
7348 New variables for...
7349 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7350 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7351 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7352 Use c-state-semi-safe-place.
56d093a9 7353
dbbc2e69
SM
7354 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7355 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7356
817e5c3d
MA
73572012-03-02 Michael Albinus <michael.albinus@gmx.de>
7358
dbbc2e69
SM
7359 * jka-compr.el (jka-compr-call-process):
7360 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7361 not remote.
7362
a032a702
MA
73632012-03-01 Michael Albinus <michael.albinus@gmx.de>
7364
7365 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7366 access of FILE2, if FILE1 does not exist.
7367
99a54f21
MA
7368 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7369 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7370
7371 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7372 Add "PAGER=" to `process-environment'.
7373
f6561e1f
MM
73742012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7375
7376 * progmodes/sql.el: Bug fix
7377 (sql-get-login-ext): Save login values in globals.
7378 (sql-get-login): Use new version of `sql-get-login-ext'.
7379 (sql-interactive-mode): Set global `sql-connection' to nil.
7380 (sql-connect): Set global values for connection.
7381 (sql-product-interactive): Save global values as buffer local.
7382
2d44d9cc
LL
73832012-02-29 Leo Liu <sdl.web@gmail.com>
7384
7385 * abbrev.el (define-abbrevs): Reset sys to nil.
7386
96b49301 73872012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7388
bf7f9bc5
JB
7389 * files.el (file-equal-p): Rename from `files-equal-p'.
7390 Return nil when one or both files don't exist.
96b49301 7391 (file-subdir-of-p): Now only top directory must exists,
7392 return nil if it doesn't.
bf7f9bc5
JB
7393 (copy-directory): No need to test with `file-subdir-of-p' after
7394 creating dir.
7395 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7396 to `file-equal-p'.
96b49301 7397
44e97401
GM
73982012-02-28 Glenn Morris <rgm@gnu.org>
7399
7400 * shell.el (shell-mode):
7401 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7402 * play/landmark.el (landmark-font-lock-face-O):
7403 * play/handwrite.el (handwrite):
7404 * play/gomoku.el (gomoku-O):
7405 * net/browse-url.el (browse-url-browser-display):
7406 * international/mule.el (define-charset):
7407 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7408 * filesets.el (filesets-find-file-delay):
7409 * eshell/em-xtra.el (eshell-xtra):
7410 * eshell/em-unix.el (eshell-grep):
7411 * emulation/viper.el (viper-mode):
7412 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7413 * emacs-lisp/easymenu.el (easy-menu-define):
7414 * calendar/timeclock.el (timeclock-use-display-time):
7415 * bs.el (bs-mode):
7416 * bookmark.el (bookmark-save-flag):
7417 Doc fix (standardize possessive apostrophe usage).
7418
c98c6276
CY
74192012-02-27 Chong Yidong <cyd@gnu.org>
7420
bf7f9bc5
JB
7421 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7422 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7423
c98c6276
CY
7424 * font-lock.el (font-lock-specified-p): Rename from
7425 font-lock-spec-present. Callers changed.
7426
9c62cd04 74272012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7428
bf7f9bc5
JB
7429 * emacs-lisp/package.el (package-compute-transaction):
7430 Handle holding a package version to t in package-load-list.
8ac9e529 7431
530739c9
MA
74322012-02-26 Michael Albinus <michael.albinus@gmx.de>
7433
7434 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7435 (tramp-get-inode, tramp-get-device): Use cached values.
7436
487915d7
AM
74372012-02-26 Alan Mackenzie <acm@muc.de>
7438
7439 Check there is a font-lock specification before doing initial
7440 fontification.
7441
7442 * font-core.el (font-lock-mode): Move the conditional from
7443 :after-hook to font-lock-initial-fontify.
7444 (font-lock-default-function): Move the check for a specification
7445 to font-lock-spec-present.
7446
dc9924b8 7447 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7448 (font-lock-spec-present): New function.
7449
4fd96557
JB
74502012-02-26 Jim Blandy <jimb@red-bean.com>
7451
7452 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7453 (gdb-send): Apply it to the operand of the '-interpreter-exec
7454 console' command, so that we can pass arguments with (say) quotes
7455 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7456
9a4888c0
CY
74572012-02-26 Chong Yidong <cyd@gnu.org>
7458
07498861
CY
7459 * help-fns.el (describe-function-1): Clarify description of
7460 remapping (Bug#10844).
7461
9a4888c0
CY
7462 * files.el (files-equal-p): Doc fix.
7463 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7464 and quit the loop once a mismatch is found.
7465
ea8fb88d
JB
74662012-02-25 Juanma Barranquero <lekktu@gmail.com>
7467
7468 * bs.el (bs--show-with-configuration): Don't throw an error
7469 if the window cannot be split; otherwise, subsequent calls to
7470 bs-show fail, restoring a stale window config. (Bug#10882)
7471
525795c1
JD
74722012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7473
7474 * term/ns-win.el (global-map): Bind ns-drag-file to
7475 ns-find-file (Bug#5855, Bug#10050).
7476
f008086f
AS
74772012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7478
7479 * calendar/parse-time.el (parse-time-string): Allow extractor to
7480 return nil.
7481
a3fcfa99
MA
74822012-02-25 Michael Albinus <michael.albinus@gmx.de>
7483
91027d08
JB
7484 * net/tramp.el (tramp-file-name-for-operation):
7485 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7486
7487 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7488 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7489 Add COPY-CONTENTS argument.
a3fcfa99 7490
67b0de11
CY
74912012-02-25 Chong Yidong <cyd@gnu.org>
7492
7493 Add custom groups for VC backends, for consistency with vc-bzr.
7494
7495 * vc/vc-arch.el (vc-arch):
7496 * vc/vc-cvs.el (vc-cvs):
7497 * vc/vc-git.el (vc-git):
7498 * vc/vc-hg.el (vc-hg):
7499 * vc/vc-mtn.el (vc-mtn):
7500 * vc/vc-rcs.el (vc-rcs):
7501 * vc/vc-sccs.el (vc-sccs):
7502 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7503 All relevant defcustoms reassigned.
7504
3c9dfce6
CY
75052012-02-25 Chong Yidong <cyd@gnu.org>
7506
1339bf43
CY
7507 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7508
3c9dfce6
CY
7509 * term/x-win.el (x-initialize-window-system): Reduce default for
7510 x-selection-timeout to 5 seconds (Bug#8869).
7511
25b2e303 75122012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7513
ec70a47d
GM
7514 * files.el (files-equal-p, file-subdir-of-p): New functions.
7515 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7516 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7517 * dired-aux.el (dired-copy-file-recursive): Same.
7518 (dired-create-files): Modify destination when source is equal to
7519 dest when copying files.
53a46cd0 7520 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7521
914260cd
MA
75222012-02-24 Michael Albinus <michael.albinus@gmx.de>
7523
7524 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7525 (Bug#10874)
7526
2cb228f7
AM
75272012-02-23 Alan Mackenzie <acm@muc.de>
7528
7529 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7530 parameter "after-hook:" to allow the expansion to run code after
7531 the execution of the mode hooks.
7532
7533 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7534 from font-lock-mode-internal.
2cb228f7 7535
91027d08 7536 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7537 :after-hook.
7538
8f0fde21
SM
75392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7540
3e88618b
SM
7541 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7542 (completion--cache-all-sorted-completions): New function.
7543 (completion-all-sorted-completions): Use it.
7544 (completion--do-completion, minibuffer-force-complete):
7545 Use it to re-instate the flush hook.
7546
8f0fde21
SM
7547 * icomplete.el (icomplete-completions): Replace last fix with a better
7548 one (bug#10850).
7549
8e911f6f
DG
75502012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7551
7552 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7553 when it might call us back infinitely (bug#10797).
7554
49fe4321
GM
75552012-02-23 Glenn Morris <rgm@gnu.org>
7556
7557 * minibuffer.el (completion-category-overrides): Doc fix.
7558
b291b572
SM
75592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7562 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7563
31a9ef2e
GM
75642012-02-23 Glenn Morris <rgm@gnu.org>
7565
5e6e6794 7566 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7567 (authors-obsolete-files-regexps, authors-ignored-files)
7568 (authors-ambiguous-files, authors-renamed-files-alist):
7569 Add more entries.
7570
0bd1e074
JL
75712012-02-23 Juri Linkov <juri@jurta.org>
7572
7573 * isearch.el (isearch-occur): Sync interactive spec with occur's
7574 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7575
b617673c
JL
7576 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7577
19e9789e
JL
75782012-02-22 Juri Linkov <juri@jurta.org>
7579
7580 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7581 (ucs-insert): Doc fix. Check for hex digits in the string.
7582 Don't display `nil' in the error message. (Bug#10857)
7583
f41ce09d
AM
75842012-02-22 Alan Mackenzie <acm@muc.de>
7585
7a71b18d 7586 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7587
ac2eceee
GM
75882012-02-22 Glenn Morris <rgm@gnu.org>
7589
7590 * ffap.el (ffap-c-path):
7591 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7592
abd1f678
CY
75932012-02-22 Chong Yidong <cyd@gnu.org>
7594
7595 * custom.el (load-theme): Doc fix.
7596
f25aef2e
GM
75972012-02-22 Glenn Morris <rgm@gnu.org>
7598
7599 * dired-x.el (dired-guess-shell-alist-default):
7600 Remove escape sequences from nroff output. (Bug#172)
7601
5f8dc2ca
GM
76022012-02-21 Glenn Morris <rgm@gnu.org>
7603
6ff86ec4
GM
7604 * vc/emerge.el (emerge-defvar-local):
7605 Set `permanent-local' property rather than unused `preserved'.
7606
be3223a3 7607 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7608 (picture-mode-map): Use it. (Bug#10860)
7609 (picture-mode): Doc fix.
7610
3fe58f4f
JB
76112012-02-21 Juanma Barranquero <lekktu@gmail.com>
7612
7613 * newcomment.el (uncomment-region-default): Remove unused binding.
7614
f9a998c3
GM
76152012-02-21 Glenn Morris <rgm@gnu.org>
7616
7617 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7618 (picture-self-insert, picture-tab-chars): Doc fix.
7619 (picture-mode-map): Fix C-a, C-e.
7620
c6029348
GM
76212012-02-20 Glenn Morris <rgm@gnu.org>
7622
7623 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7624
ab1ce9d7
LL
76252012-02-20 Leo Liu <sdl.web@gmail.com>
7626
7627 * icomplete.el (icomplete-completions): Check FROM arg before
7628 passing to substring (Bug#10850).
7629
0fd40f89
CY
76302012-02-19 Chong Yidong <cyd@gnu.org>
7631
7632 * comint.el: Require ansi-color.
7633 (comint-output-filter-functions): Add ansi-color-process-output.
7634
7635 * ansi-color.el: Don't set comint-output-filter-functions; it is
7636 now in the initial value defined in comint.el.
7637 (ansi-color-apply-face-function): New variable.
7638 (ansi-color-apply-on-region): Use it.
7639 (ansi-color-apply-overlay-face): New function.
7640
7641 * shell.el (shell): No need to require ansi-color.
7642 (shell-mode): Use ansi-color-apply-face-function to highlight
7643 color escapes using font-lock-face property (Bug#10835).
7644
20af2394
CY
76452012-02-19 Chong Yidong <cyd@gnu.org>
7646
7647 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7648 mode-line formats (Bug#10839).
7649
e23a3fbe
GM
76502012-02-18 Glenn Morris <rgm@gnu.org>
7651
b474519e
GM
7652 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7653
7654 * mail/undigest.el (unforward-rmail-message): Doc fix.
7655
e23a3fbe
GM
7656 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7657
57939ff4
EZ
76582012-02-18 Eli Zaretskii <eliz@gnu.org>
7659
7660 * international/characters.el (script-list): Sync with the latest
7661 Unicode Character Database.
7662
0c23686e
AS
76632012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7664
7665 * international/titdic-cnv.el: Remove duplicate coding tag.
7666 * language/cham.el: Likewise.
7667 * language/tai-viet.el: Likewise.
7668
6818b449
GM
76692012-02-18 Glenn Morris <rgm@gnu.org>
7670
7671 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7672 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7673 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7674 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7675 * calendar/holidays.el (holiday-bahai-holidays)
7676 (calendar-holidays, list-holidays):
7677 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
7678
0311a3fc
TH
76792012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7680
7681 * saveplace.el (save-place-ignore-files-regexp): New variable
7682 allowing for excluding files from saving their location of point.
7683 The default value matches the temporary commit message editing
7684 files from Git, SVN, Bazaar, and Mercurial.
7685 (save-place-to-alist): Use it.
7686
d209e2fb 76872012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7688 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7689
7690 * newcomment.el (uncomment-region-default): Don't leave extra space
7691 when an arg is provided (bug#8150).
7692
ee0ce425
TZ
76932012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7694
eb864a71 7695 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7696
95ddf442
GM
76972012-02-17 Glenn Morris <rgm@gnu.org>
7698
7699 * net/socks.el: Require network-stream. (Bug#10599)
7700
48dd1e39 77012012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7702
7703 * international/charprop.el:
7704 * international/uni-name.el:
7705 * international/uni-old-name.el:
7706 * international/uni-comment.el: Regenerate.
7707
d68cd087
GM
77082012-02-16 Glenn Morris <rgm@gnu.org>
7709
7710 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7711 Interactively in calendar buffer, give an error if not on a date.
7712
13932042
GM
77132012-02-15 Glenn Morris <rgm@gnu.org>
7714
7715 * shell.el (shell-delimiter-argument-list):
7716 Revert 2011-02-17 change. (Bug#8027)
7717
c3a70e2b
CY
77182012-02-15 Chong Yidong <cyd@gnu.org>
7719
60236b0d
CY
7720 * minibuffer.el (completion-at-point-functions): Doc fix.
7721
c3a70e2b
CY
7722 * custom.el (defcustom): Doc fix; note use of defvar.
7723
9f26dc24
GM
77242012-02-15 Glenn Morris <rgm@gnu.org>
7725
7726 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7727 Doc fixes.
7728
6546b134
GM
77292012-02-14 Glenn Morris <rgm@gnu.org>
7730
7731 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7732
d29b2b4c
LI
77332012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7734
7735 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7736 way the ports list is computed.
835bdcba
LI
7737 (smtpmail-query-smtp-server): Prompt the user for a port number if
7738 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7739
08dcdbc9
TZ
77402012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7741
7742 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7743
2605051a
GM
77442012-02-13 Glenn Morris <rgm@gnu.org>
7745
7746 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7747
7ee99f32
TZ
77482012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7749
7750 * net/gnutls.el (gnutls-trustfiles): New variable.
7751 (gnutls-negotiate): Use it.
7752
5f0af64f
LI
77532012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7754
7755 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7756 does its stuff if Gnus is running.
7757
c14fcc95
AM
77582012-02-13 Alan Mackenzie <acm@muc.de>
7759
7760 Fix a loop in c-set-fl-decl-start.
7761
7a71b18d 7762 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7763 c-backward-syntactic-ws actually moves backwards.
7764
142b4d90
LL
77652012-02-13 Leo Liu <sdl.web@gmail.com>
7766
7767 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7768 beginning so that all \C-o chars are removed.
7769
fa9958a6
TZ
77702012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7771
dc9924b8 7772 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7773
0bc5886a
AM
77742012-02-12 Alan Mackenzie <acm@muc.de>
7775
7776 Fix infinite loop with long macros.
4d6769e1 7777 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7778
d4bd55e7
CY
77792012-02-12 Chong Yidong <cyd@gnu.org>
7780
7781 * window.el (display-buffer): Doc fix (Bug#10785).
7782
66f3fe22
GM
77832012-02-12 Glenn Morris <rgm@gnu.org>
7784
bd7da63e
GM
7785 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7786 (x-disown-selection-internal, x-get-selection-internal):
7787 Sync docs with the xselect.c versions.
7788
66f3fe22
GM
7789 * allout-widgets.el: Add missing license notice.
7790
3e0d2fa7
GM
77912012-02-11 Glenn Morris <rgm@gnu.org>
7792
cfecdf09
GM
7793 * select.el (x-get-selection-internal, x-own-selection-internal)
7794 (x-disown-selection-internal):
7795 * x-dnd.el (x-get-selection-internal): Update declarations.
7796
6d216d7f
GM
7797 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7798
2bed3f04
GM
7799 * window.el (window-sides-slots):
7800 * tool-bar.el (tool-bar-position):
7801 * term/xterm.el (xterm-extra-capabilities):
7802 * ses.el (ses-self-reference-early-detection):
7803 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7804 (verilog-auto-wire-type)
7805 (verilog-auto-delete-trailing-whitespace)
7806 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7807 (verilog-auto-tieoff-declaration):
7808 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7809 (sql-oracle-statement-starters, sql-oracle-scan-on):
7810 * progmodes/prolog.el (prolog-align-comments-flag)
7811 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7812 (prolog-left-indent-regexp, prolog-paren-indent-p)
7813 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7814 (prolog-types, prolog-mode-specificators)
7815 (prolog-determinism-specificators, prolog-directives)
7816 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7817 (prolog-electric-dot-flag)
7818 (prolog-electric-dot-full-predicate-template)
7819 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7820 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7821 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7822 (prolog-program-switches, prolog-prompt-regexp)
7823 (prolog-debug-on-string, prolog-debug-off-string)
7824 (prolog-trace-on-string, prolog-trace-off-string)
7825 (prolog-zip-on-string, prolog-zip-off-string)
7826 (prolog-use-standard-consult-compile-method-flag)
7827 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7828 (prolog-imenu-max-lines, prolog-info-predicate-index)
7829 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7830 (prolog-char-quote-workaround):
7831 * progmodes/cc-vars.el (c-defun-tactic):
7832 * net/tramp.el (tramp-encoding-command-interactive)
7833 (tramp-local-end-of-line):
7834 * net/soap-client.el (soap-client):
7835 * net/netrc.el (netrc-file):
7836 * net/gnutls.el (gnutls):
7837 * minibuffer.el (completion-category-overrides)
7838 (completion-cycle-threshold)
7839 (completion-pcm-complete-word-inserts-delimiters):
7840 * man.el (Man-name-local-regexp):
7841 * mail/feedmail.el (feedmail-display-full-frame):
7842 * international/characters.el (glyphless-char-display-control):
7843 * eshell/em-ls.el (eshell-ls-date-format):
7844 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7845 (lisp-lambda-list-keyword-parameter-indentation)
7846 (lisp-lambda-list-keyword-parameter-alignment):
7847 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7848 * dired-x.el (dired-omit-verbose):
7849 * cus-theme.el (custom-theme-allow-multiple-selections):
7850 * calc/calc.el (calc-highlight-selections-with-faces)
7851 (calc-lu-field-reference, calc-lu-power-reference)
7852 (calc-note-threshold):
7853 * battery.el (battery-mode-line-limit):
7854 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7855 (archive-7z-update):
7856 * allout.el (allout-prefixed-keybindings)
7857 (allout-unprefixed-keybindings)
7858 (allout-inhibit-auto-fill-on-headline)
7859 (allout-flattened-numbering-abbreviation):
7860 * allout-widgets.el (allout-widgets-auto-activation)
7861 (allout-widgets-icons-dark-subdir)
7862 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7863 (allout-widgets-theme-dark-background)
7864 (allout-widgets-theme-light-background)
7865 (allout-widgets-item-image-properties-emacs)
7866 (allout-widgets-item-image-properties-xemacs)
7867 (allout-widgets-run-unit-tests-on-load)
7868 (allout-widgets-time-decoration-activity)
7869 (allout-widgets-hook-error-post-time)
7870 (allout-widgets-track-decoration):
7871 Add missing :version tags to new defcustoms and defgroups.
7872
5fec1b8e
GM
7873 * progmodes/sql.el (sql-ansi-statement-starters)
7874 (sql-oracle-statement-starters): Add custom type.
7875
3e0d2fa7
GM
7876 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7877 (prolog-system-version): Give it a type.
7878
90b671e2
EZ
78792012-02-11 Eli Zaretskii <eliz@gnu.org>
7880
7881 * term/pc-win.el (x-select-text, x-selection-owner-p)
7882 (x-own-selection-internal, x-disown-selection-internal)
7883 (x-get-selection-internal): Sync doc strings and argument lists
7884 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7885
5eac0c02
LL
78862012-02-11 Leo Liu <sdl.web@gmail.com>
7887
7888 * progmodes/python.el (python-end-of-statement): Fix infinite
7889 loop. (Bug#10788)
7890
f82cb659
GM
78912012-02-10 Glenn Morris <rgm@gnu.org>
7892
7893 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7894 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7895
cc26d239
LI
78962012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7897
7898 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7899 about SMTP before checking the From header.
7900
91027d08 7901 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7902 into own function for reuse by emacsbug.el.
7903
1be3ca5a
LL
79042012-02-10 Leo Liu <sdl.web@gmail.com>
7905
7906 * subr.el (condition-case-unless-debug): Rename from
7907 condition-case-no-debug. All callers changed.
7908 (with-demoted-errors): Fix caller.
7909
7910 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7911 * nxml/rng-valid.el (rng-do-some-validation):
7912 * emacs-lisp/package.el (package-refresh-contents)
7913 (package-menu-execute):
7914 * desktop.el (desktop-create-buffer):
91027d08 7915 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7916
b011fbfe
GM
79172012-02-10 Glenn Morris <rgm@gnu.org>
7918
b2096d72
GM
7919 * textmodes/bibtex.el:
7920 Add missing :version tags for new/changed defcustoms.
7921
b011fbfe
GM
7922 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7923
4c7e65bf
LI
79242012-02-09 Lars Ingebrigtsen <larsi@rusty>
7925
7926 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7927 (smtpmail-via-smtp): Use it, or fall back on the From address.
7928 (smtpmail-send-it): Ditto.
7929
f3934f6f
SM
79302012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7933 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7934 (byte-compile-tmp-var): New const.
7935 (byte-compile-defvar): Use it to minimize .elc size.
7936 Just use `defvar' rather than simulate it (bug#10761).
7937
a075a2c5
GM
79382012-02-09 Glenn Morris <rgm@gnu.org>
7939
cf3aa21b
GM
7940 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7941
354998cd
GM
7942 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7943 Add :version tags.
7944
dc9924b8
SM
7945 * progmodes/compile.el (compilation-error-screen-columns)
7946 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7947
dab3703d
GM
7948 * vc/log-view.el (log-view-toggle-entry-display):
7949 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7950
3f88cd72
GM
7951 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7952 (report-emacs-bug-can-use-xdg-email):
7953 (report-emacs-bug-insert-to-mailer): Doc fixes.
7954 (report-emacs-bug): Message fix.
7955
d95b247d
GM
7956 * net/browse-url.el (browse-url-can-use-xdg-open)
7957 (browse-url-xdg-open): Doc fixes.
7958
a075a2c5
GM
7959 * electric.el (electric-indent-mode, electric-pair-mode)
7960 (electric-layout-rules, electric-layout-mode): Doc fixes.
7961 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7962
ffb6157e
MR
79632012-02-08 Martin Rudalics <rudalics@gmx.at>
7964
7965 * server.el (server-unselect-display): Don't inadvertently kill
7966 the current buffer. (Bug#10729)
7967
e1ac4066
GM
79682012-02-08 Glenn Morris <rgm@gnu.org>
7969
34e8a2da
GM
7970 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7971 (sql-list-table): Doc fixes.
7972
b4ac6e8c
GM
7973 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7974 Comment out (does nothing).
7975
e1ac4066
GM
7976 * completion.el (dynamic-completion-mode):
7977 * dirtrack.el (dirtrack-debug-mode):
7978 * electric.el (electric-layout-mode):
7979 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7980 * face-remap.el (text-scale-mode, buffer-face-mode):
7981 * iimage.el (iimage-mode):
7982 * image-mode.el (image-transform-mode):
7983 * minibuffer.el (completion-in-region-mode):
7984 * scroll-lock.el (scroll-lock-mode):
7985 * simple.el (next-error-follow-minor-mode):
7986 * tar-mode.el (tar-subfile-mode):
7987 * tooltip.el (tooltip-mode):
7988 * vcursor.el (vcursor-use-vcursor-map):
7989 * wid-browse.el (widget-minor-mode):
7990 * emulation/tpu-edt.el (tpu-edt-mode):
7991 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7992 * international/iso-ascii.el (iso-ascii-mode):
7993 * language/thai-util.el (thai-word-mode):
7994 * mail/supercite.el (sc-minor-mode):
7995 * net/goto-addr.el (goto-address-mode):
7996 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7997 * progmodes/cwarn.el (cwarn-mode):
7998 * progmodes/flymake.el (flymake-mode):
7999 * progmodes/glasses.el (glasses-mode):
8000 * progmodes/hideshow.el (hs-minor-mode):
8001 * progmodes/pascal.el (pascal-outline-mode):
8002 * textmodes/enriched.el (enriched-mode):
8003 * vc/smerge-mode.el (smerge-mode):
8004 Doc fixes (minor mode argument).
8005
5e0d957f
EZ
80062012-02-07 Eli Zaretskii <eliz@gnu.org>
8007
8008 * ls-lisp.el (ls-lisp-sanitize): New function.
8009 (ls-lisp-insert-directory): Use it to fix or remove any elements
8010 in file-alist with missing attributes. (Bug#4673)
8011
98d7371e
AM
80122012-02-07 Alan Mackenzie <acm@muc.de>
8013
8014 Fix spurious recognition of c-in-knr-argdecl.
8015
8016 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8017 putative K&R region.
8018
667ced3a
AM
80192012-02-07 Alan Mackenzie <acm@muc.de>
8020
eb864a71
LM
8021 * progmodes/cc-engine.el (c-forward-objc-directive):
8022 Prevent looping in "#pragma mark @implementation".
667ced3a 8023
5b77774d
MA
80242012-02-07 Michael Albinus <michael.albinus@gmx.de>
8025
8026 * notifications.el (notifications-on-closed-signal): Make `reason'
8027 optional. (Bug#10744)
8028
af008560
GM
80292012-02-07 Glenn Morris <rgm@gnu.org>
8030
60d47423
GM
8031 * emacs-lisp/easy-mmode.el (define-minor-mode):
8032 Doc fixes for the macro and the mode it defines.
8033
dd605cc4
GM
8034 * image.el (imagemagick-types-inhibit): Doc fix.
8035
af008560
GM
8036 * cus-start.el (imagemagick-render-type): Add it.
8037
5cc59a37
LI
80382012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8039
4d6769e1
JB
8040 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8041 Set the default at load time, too, so that `font-lock-fontify-buffer'
8042 can be called without setting up the entire mode first. This fixes
8043 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8044
9a6dd747
CY
80452012-02-06 Chong Yidong <cyd@gnu.org>
8046
2d16b285
CY
8047 * simple.el (list-processes--refresh): Delete exited processes
8048 (Bug#8094).
8049
171e9b6e
CY
8050 * comint.el (comint-next-prompt): next-single-char-property-change
8051 and prev-single-char-property-change never return nil (Bug#8657).
8052
9a6dd747
CY
8053 * custom.el (defcustom): Doc fix (Bug#9711).
8054
aa4589a7
CY
80552012-02-05 Chong Yidong <cyd@gnu.org>
8056
5c2a252f
CY
8057 * cus-edit.el (custom-variable-reset-backup): Quote the value
8058 before storing it in the customized-value property (Bug#6712).
4aab9006 8059 (custom-display): Add a customization type tag.
983b9602 8060 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8061
aa4589a7
CY
8062 * wid-edit.el (widget-field-value-get): New optional arg to
8063 suppress trailing whitespace truncation.
8064 (character): Use it (Bug#2689).
8065
1ff980ae
AS
80662012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8067
8068 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8069 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8070
03988c98
CY
80712012-02-05 Chong Yidong <cyd@gnu.org>
8072
eeb6cc88
CY
8073 * cus-edit.el (custom-variable-value-create): For mismatched
8074 types, show the current value (Bug#7600).
8075
03988c98
CY
8076 * custom.el (defcustom): Doc fix.
8077
f8cdeef0
GM
80782012-02-05 Glenn Morris <rgm@gnu.org>
8079
8080 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8081
0696d255
JB
80822012-02-05 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8085 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8086 (pp-last-sexp): Use `looking-at-p'.
8087
34c99998
GM
80882012-02-04 Glenn Morris <rgm@gnu.org>
8089
8f05da42
GM
8090 * files.el (revert-buffer):
8091 Doc fix (mention revert-buffer-in-progress-p).
8092
f160676e
GM
8093 * emacs-lisp/ert-x.el (ert-simulate-command):
8094 Check deferred-action-list (which is obsolete) is bound.
8095
c7291ad9
GM
8096 * subr.el (with-wrapper-hook): Doc fixes.
8097
34c99998
GM
8098 * simple.el (filter-buffer-substring-functions)
8099 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8100
6283a7d3
LL
81012012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8102
8103 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8104 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8105
e96e3013
LL
81062012-02-04 Leo Liu <sdl.web@gmail.com>
8107
8108 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8109
8ded50f2
GM
81102012-02-04 Glenn Morris <rgm@gnu.org>
8111
82ff1d13
GM
8112 * image.el (image-extension-data): Add obsolete alias.
8113
987a0a16
GM
8114 * isearch.el (isearch-update): Doc fix.
8115
ea32ef46
GM
8116 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8117
8ded50f2
GM
8118 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8119
eea14f31
GM
81202012-02-03 Glenn Morris <rgm@gnu.org>
8121
8122 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8123 (image-animate-timeout): Doc fix.
8124
8125 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8126
12f381b7
GM
81272012-02-02 Glenn Morris <rgm@gnu.org>
8128
953cebf5
GM
8129 * server.el (server-auth-dir): Doc fix.
8130 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8131
12f381b7
GM
8132 * subr.el (run-mode-hooks): Doc fix.
8133
953a8c3b
JL
81342012-02-02 Juri Linkov <juri@jurta.org>
8135
8136 * image-mode.el (image-toggle-display-image): Remove tautological
8137 `major-mode' from the `derived-mode-p' test.
8138
c5d3843c
KH
81392012-02-02 Kenichi Handa <handa@m17n.org>
8140
9f6e692e 8141 * composite.el (compose-region): Cancel previous change.
c5d3843c 8142
159462d4 81432012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8144
8145 * composite.el (compose-region, compose-string): Signal error for
8146 a null string component (Bug#6988).
8147
9f562668
CY
81482012-02-01 Chong Yidong <cyd@gnu.org>
8149
e2cef717
CY
8150 * view.el (view-buffer-other-window, view-buffer-other-frame):
8151 Handle special modes like view-buffer (Bug#10650).
8152 (view-buffer): Simplify.
8153
9f562668
CY
8154 * frame.el (set-frame-font): Tweak meaning of third argument.
8155
9f6e692e
JB
8156 * dynamic-setting.el (font-setting-change-default-font):
8157 Use set-frame-font (Bug#9982).
9f562668 8158
781acb9f
GM
81592012-02-01 Glenn Morris <rgm@gnu.org>
8160
6035be52
GM
8161 * progmodes/compile.el (compilation-internal-error-properties):
8162 Respect compilation-first-column in the "*compilation*" buffer.
8163
781acb9f
GM
8164 * emacs-lisp/easy-mmode.el (define-minor-mode):
8165 Relax :variable's test for a named function.
8166
abbceb00
AM
81672012-01-31 Alan Mackenzie <acm@muc.de>
8168
8169 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8170 off by one error.
8171
fce3fdeb
CY
81722012-01-31 Chong Yidong <cyd@gnu.org>
8173
8174 * frame.el (set-frame-font): New arg ALL-FRAMES.
8175
8176 * menu-bar.el (menu-set-font): Use set-frame-font.
8177
8178 * faces.el (face-spec-reset-face): Don't apply unspecified
8179 attribute values to the default face.
8180
47893581
JB
81812012-01-31 Juanma Barranquero <lekktu@gmail.com>
8182
8183 * progmodes/cwarn.el (cwarn): Remove dead link.
8184 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8185 Remove * from defcustom docstrings.
8186 (turn-on-cwarn-mode): Make obsolete.
8187 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8188 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8189
e58e988a
GM
81902012-01-31 Glenn Morris <rgm@gnu.org>
8191
60dc2671 8192 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8193 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8194 Allow named functions to be used as the cdr of :variable.
e58e988a 8195
7a3f511d
GM
81962012-01-30 Glenn Morris <rgm@gnu.org>
8197
8198 * emacs-lisp/authors.el (authors-fixed-entries):
8199 Remove reference to deleted file rnewspost.el.
8200
cb882333
JB
82012012-01-29 Juanma Barranquero <lekktu@gmail.com>
8202
8203 * window.el (window-with-parameter): Remove unused variable `windows'.
8204 (window--side-check): Remove unused variable `code'.
8205 (window--resize-siblings): Remove unused variable `first'.
8206 (adjust-window-trailing-edge): Remove unused variable `failed'.
8207 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8208 Use `let', not `let*'.
8209 (balance-windows-2): Remove unused variable `found'.
8210 (window--state-put-2): Remove unused variable `splits'.
8211 (window-state-put): Remove unused variable `selected'.
8212 (same-window-p): Use `string-match-p'.
8213 (display-buffer-assq-regexp): Remove unused variable `value'.
8214 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8215 Mark argument ALIST as ignored.
8216 (pop-to-buffer): Remove unused variable `old-window'.
8217
907201af
EZ
82182012-01-29 Eli Zaretskii <eliz@gnu.org>
8219
8220 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8221 and .lzma compressed files.
8222
ea162670
CY
82232012-01-29 Chong Yidong <cyd@gnu.org>
8224
5b95ee8a
CY
8225 * frame.el (window-system-default-frame-alist): Doc fix.
8226
ea162670
CY
8227 * dynamic-setting.el (font-setting-change-default-font): Don't
8228 change the default face if SET-FONT argument is non-nil (Bug#9982).
8229
d6e6f4b1
SB
82302012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8231
8232 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8233
0f29fa41 82342012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8235
8236 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8237 breakpoints in files outside current directory (Bug#6098).
8238
db174434
CY
82392012-01-29 Chong Yidong <cyd@gnu.org>
8240
6b25e4e2
SE
8241 * progmodes/python.el: Require ansi-color at top-level.
8242
6df6ae42
JB
8243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8244 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8245 (lisp-mode-abbrev-table): Add doc.
8246 (lisp-mode-variables): Don't set local-abbrev-table.
8247 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8248
e70ee681
RW
82492012-01-28 Roland Winkler <winkler@gnu.org>
8250
8251 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8252
ace88aa2
RW
82532012-01-28 Roland Winkler <winkler@gnu.org>
8254
8255 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8256 (bibtex-set-dialect): Use it. Either set global values of
8257 dialect-dependent variables or bind these variables buffer-locally
8258 (Bug#10254).
8259 (bibtex-mode): Call bibtex-set-dialect via
8260 hack-local-variables-hook.
eb864a71
LM
8261 (bibtex-dialect): Update docstring.
8262 Add safe-local-variable predicate.
ace88aa2
RW
8263 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8264 bibtex-set-dialect.
8265 (bibtex-mode-map): Define menu for each dialect.
8266 (bibtex-entry): Fix docstring.
8267
93376c5b
CY
82682012-01-28 Chong Yidong <cyd@gnu.org>
8269
8270 * eshell/esh-arg.el (eshell-quote-argument): New function.
8271
8272 * eshell/esh-ext.el (eshell-invoke-batch-file):
8273 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8274 first arg to eshell-parse-command (Bug#10523).
8275
4372494f
DA
82762012-01-28 Drew Adams <drew.adams@oracle.com>
8277
8278 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8279 `default-directory' is non-nil.
8280
4d4ec1f8
EZ
82812012-01-28 Eli Zaretskii <eliz@gnu.org>
8282
8283 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8284 line that displays system-configuration-options. (Bug#9924)
8285
7c188927
DA
82862012-01-28 Drew Adams <drew.adams@oracle.com>
8287
8288 * descr-text.el (describe-char): Show information about POS, in
8289 addition to information about the character at POS. Improve and
8290 update the doc string. Change "code point" to "code point in
8291 charset", to avoid confusion with the character's Unicode code
8292 point shown above that. (Bug#10129)
8293
e0da685a
EZ
82942012-01-28 Eli Zaretskii <eliz@gnu.org>
8295
8296 * descr-text.el (describe-char): Show the raw character, not only
8297 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8298 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8299 for the reasons.
8300
70550acf
PH
83012012-01-28 Phil Hagelberg <phil@hagelb.org>
8302
eb864a71
LM
8303 * emacs-lisp/package.el (package-install):
8304 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8305
0ce8e868
CY
83062012-01-28 Chong Yidong <cyd@gnu.org>
8307
cb882333
JB
8308 * emacs-lisp/package.el (package-maybe-load-descriptor):
8309 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8310 (package-maybe-load-descriptor): Use it.
8311 (package-download-transaction): Fully load required packages
8312 inside the loop, so that `require' calls work (Bug#10593).
8313 (package-install): No need to call package-initialize now.
8314
2e7f3bea
CY
83152012-01-28 Chong Yidong <cyd@gnu.org>
8316
6e9bad14
CY
8317 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8318
f823b8ca
CY
8319 * tooltip.el (tooltip-mode): Doc fix.
8320 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8321
2680c309
CY
8322 * frame.el (set-cursor-color): Doc fix (Bug#352).
8323
d7a9e63b
CY
8324 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8325 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8326
2e7f3bea
CY
8327 * cus-edit.el (custom-buffer-create-internal): Fix search button
8328 action (Bug#10542).
2ae01800 8329 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8330
fc4f7a23
EW
83312012-01-27 Eduard Wiebe <usenet@pusto.de>
8332
8333 * dired.el (dired-mark-files-regexp):
8334 Include any subdirectory components. (Bug#10445)
8335
7dd37071
ML
83362012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8337
8338 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8339 Handle [host]:port syntax. (Bug#10533)
8340
a268160b
AH
83412012-01-27 Alex Harsanyi <harsanyi@mac.com>
8342
8343 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8344
e43273ef
GM
83452012-01-26 Glenn Morris <rgm@gnu.org>
8346
8347 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8348 * term.el (term-raw-escape-map): Use Control-X-prefix.
8349 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8350
1edf595d
MR
83512012-01-25 Martin Rudalics <rudalics@gmx.at>
8352
8353 * window.el (window-state-get, window--state-get-1): Don't deal
8354 with fixed-sizeness of windows. Simplify code.
8355
fa8eafef
JC
83562012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8357
6df6ae42
JB
8358 * window.el (window--state-get-1, window--state-put-2):
8359 Don't save and restore the mark.
fa8eafef 8360
0b21c100
CY
83612012-01-25 Chong Yidong <cyd@gnu.org>
8362
8363 * custom.el (custom-variable-p): Doc fix.
8364
5ae1a6c8
GM
83652012-01-25 Glenn Morris <rgm@gnu.org>
8366
40047858
GM
8367 * dired.el (dired-goto-file): Handle some of the more common
8368 characters that `ls -b' escapes. (Bug#10596)
8369
5ddce96c
GM
8370 * progmodes/compile.el (compilation-next-error-function):
8371 Respect compilation-first-column in the "*compilation*" buffer.
8372 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8373
5ae1a6c8
GM
8374 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8375
b559f1a9
GM
83762012-01-24 Glenn Morris <rgm@gnu.org>
8377
8378 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8379
6725d21a
JD
83802012-01-24 Julien Danjou <julien@danjou.info>
8381
8382 * color.el (color-rgb-to-hsl): Fix value computing.
8383 (color-hue-to-rgb): New function.
8384 (color-hsl-to-rgb): New function.
8385 (color-clamp, color-saturate-hsl, color-saturate-name)
8386 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8387 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8388
70df4bbe
GM
83892012-01-24 Glenn Morris <rgm@gnu.org>
8390
8391 * vc/vc-rcs.el (vc-rcs-create-tag):
8392 * vc/vc-sccs.el (vc-sccs-create-tag):
8393 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8394
802a2ae2
ML
83952012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8396
8397 * eshell/esh-util.el (eshell-read-hosts-file):
8398 Skip comment lines. (Bug#10549)
8399
d7128bb1
ML
8400 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8401
d1a5c3b4
JB
84022012-01-23 Juanma Barranquero <lekktu@gmail.com>
8403
2724d9c7
JB
8404 * subr.el (display-delayed-warnings): Doc fix.
8405 (collapse-delayed-warnings): New function to collapse identical
8406 adjacent warnings.
8407 (delayed-warnings-hook): Add it.
d1a5c3b4 8408
a5509865
MA
84092012-01-22 Michael Albinus <michael.albinus@gmx.de>
8410
8411 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8412
a5509865
MA
8413 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8414 (tramp-default-user-alist): Don't add "pscp".
8415 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8416 property "login-as", if set. (Bug#10530)
8417
cc6d5805
MA
84182012-01-21 Michael Albinus <michael.albinus@gmx.de>
8419
8420 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8421 "plink1" and "psftp". (Bug#10530)
8422
84232012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8424
8425 * international/mule-cmds.el (prefer-coding-system): Show a
8426 warning message if the default value of file-name-coding-system
8427 was not changed.
8428
f0960428
JC
84292012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8430
cb882333
JB
8431 * windmove.el (windmove-reference-loc):
8432 Fix windmove-reference-loc miscalculation.
f0960428 8433
dd6f2a63
JB
84342012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8435
8436 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8437 default unit.
8438
7b447e9b
GM
84392012-01-21 Glenn Morris <rgm@gnu.org>
8440
117a9ea1
GM
8441 * international/mule.el (auto-coding-alist): Add .tbz.
8442
7b447e9b
GM
8443 * files.el (local-enable-local-variables): Doc fix.
8444 (inhibit-local-variables-regexps): Rename from
8445 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8446 Doc fix. Add some extensions from auto-coding-alist.
8447 (inhibit-local-variables-suffixes):
8448 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8449 (inhibit-local-variables-p):
8450 New function, extracted from set-auto-mode-1.
8451 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8452 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8453 (hack-local-variables): Doc fix. Make the mode-only case
8454 respect enable-local-variables and friends.
8455 Respect inhibit-local-variables-regexps for file-locals, but
8456 not for directory-locals.
8457 (set-visited-file-name):
8458 Take account of inhibit-local-variables-regexps.
8459 Whether it applies may change as the file name is changed.
8460 * jka-cmpr-hook.el (jka-compr-install):
8461 * jka-compr.el (jka-compr-uninstall):
8462 Update for inhibit-first-line-modes-suffixes name change.
8463
dd6e3cdd
MR
84642012-01-20 Martin Rudalics <rudalics@gmx.at>
8465
8466 * help-macro.el (make-help-screen): Temporarily restore original
8467 binding for minor-mode-map-alist (Bug#10454).
8468
0d0deb38
JD
84692012-01-19 Julien Danjou <julien@danjou.info>
8470
8471 * color.el (color-name-to-rgb): Use the white color to find the max
8472 color component value and return correctly computed values.
8473 (color-name-to-rgb): Add missing float conversion for max value.
8474
34a02f46
MR
84752012-01-19 Martin Rudalics <rudalics@gmx.at>
8476
8477 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8478 special state value for window-persistent-parameters.
8479 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8480 (window--state-put-2): Reset all window parameters to nil before
8481 assigning values of persistent parameters.
8482
606c44c4
AM
84832012-01-18 Alan Mackenzie <acm@muc.de>
8484
8485 Eliminate sluggishness and hangs in fontification of "semicolon
8486 deserts".
8487
cb882333
JB
8488 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8489 Change value 10000 -> 3000.
606c44c4
AM
8490 (c-state-safe-place): Reformulate so it doesn't stack up an
8491 infinite number of wrong entries in c-state-nonlit-pos-cache.
8492 (c-determine-limit-get-base, c-determine-limit): New functions to
8493 determine backward search limits disregarding literals.
8494 (c-find-decl-spots): Amend commenting.
8495 (c-cheap-inside-bracelist-p): New function which detects "={".
8496
8497 * progmodes/cc-fonts.el
8498 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8499 backward search.
8500 (c-font-lock-declarations): Fix an occurrence of point being
8501 undefined. Check additionally for point being in a bracelist or
8502 near a macro invocation without a semicolon so as to avoid a
8503 fruitless time consuming search for a declarator. Give a more
8504 precise search limit for declarators using the new
8505 c-determine-limit.
8506
f3860cea
GM
85072012-01-18 Glenn Morris <rgm@gnu.org>
8508
8509 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8510 (set-auto-mode): Doc fixes.
8511
1db03b16
GM
85122012-01-17 Glenn Morris <rgm@gnu.org>
8513
0e6038be
GM
8514 * isearch.el (search-nonincremental-instead): Fix doc typo.
8515
1db03b16
GM
8516 * dired.el (dired-insert-directory): Handle newlines in directory name.
8517 (dired-build-subdir-alist): Unescape newlines in directory name.
8518
4cb0aa75
MA
85192012-01-17 Michael Albinus <michael.albinus@gmx.de>
8520
8521 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8522 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8523 (tramp-action-terminal): Use it. (Bug#10530)
8524
1d00653d
SM
85252012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8528
6a6ee00d
MR
85292012-01-16 Martin Rudalics <rudalics@gmx.at>
8530
8531 * window.el (window-state-ignored-parameters): Remove variable.
8532 (window--state-get-1): Rename argument MARKERS to IGNORE.
8533 Handle persistent window parameters. Make copy of clone-of
8534 parameter only if requested. (Bug#10348)
8535 (window--state-put-2): Install a window parameter only if it has
8536 a non-nil value or an existing parameter shall be overwritten.
8537
97912def
MA
85382012-01-15 Michael Albinus <michael.albinus@gmx.de>
8539
8540 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8541
688070a5
EZ
85422012-01-14 Eli Zaretskii <eliz@gnu.org>
8543
8544 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8545 don't pass the (nil) value of `upnode' to string-match.
8546
301afadc
CY
85472012-01-14 Chong Yidong <cyd@gnu.org>
8548
8549 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8550 Fix values recognized by the cursorBlink resource.
301afadc 8551
9e5788aa
PE
85522012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8553
8554 * epg.el (epg--make-temp-file): Avoid permission race condition
8555 when running on old Emacs versions (bug#10403).
8556
3cdb7f5a
GM
85572012-01-14 Glenn Morris <rgm@gnu.org>
8558
8559 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8560
8c82b1b4
AM
85612012-01-13 Alan Mackenzie <acm@muc.de>
8562
8563 Fix filling for when filladapt mode is enabled.
8564
8565 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8566 c-mask-paragraph, pass in `fill-paragraph' rather than
8567 `fill-region-as-paragraph'. (This is a reversion of a previous
8568 change.)
eb864a71
LM
8569 * progmodes/cc-mode.el (c-basic-common-init):
8570 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8571
e517eda4
GM
85722012-01-13 Glenn Morris <rgm@gnu.org>
8573
1498536e
GM
8574 * dired.el (dired-switches-escape-p): New function.
8575 (dired-insert-directory): Use dired-switches-escape-p.
8576 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8577
e517eda4
GM
8578 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8579
328f984d
GM
85802012-01-12 Glenn Morris <rgm@gnu.org>
8581
8582 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8583 changes in adaptive-fill-regexp. (Bug#10276)
8584
2cc769a8
AM
85852012-01-11 Alan Mackenzie <acm@muc.de>
8586
8587 Fix Emacs bug #10463 - put `widen's around the critical spots.
8588
1d00653d 8589 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8590 widen around each invocation of c-state-pp-to-literal. Remove an
8591 unused let variable.
8592
e52c37fa
GM
85932012-01-11 Glenn Morris <rgm@gnu.org>
8594
8595 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8596 Doc fix.
e52c37fa 8597
96f8741e
CY
85982012-01-10 Chong Yidong <cyd@gnu.org>
8599
1d00653d
SM
8600 * net/network-stream.el (network-stream-open-starttls):
8601 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8602 response to the capability command.
8603
b09a806e
GM
86042012-01-10 Glenn Morris <rgm@gnu.org>
8605
8606 * mail/unrmail.el (unrmail): Tweak previous change.
8607
7655cb66
CY
86082012-01-09 Chong Yidong <cyd@gnu.org>
8609
8610 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8611
9d5a8f0b
AM
86122012-01-08 Alan Mackenzie <acm@muc.de>
8613
8614 Optimise font locking in long enum definitions.
8615
8616 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8617 arm to a cond form to handle enums.
8618 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8619 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8620
9a0115ab 86212012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8622
8623 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8624 (Bug#10401)
6bb72cbd 8625
f186bb95
LMI
86262012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8627
29232a68
LMI
8628 * faces.el (set-face-attribute): Clarify the meaning of the nil
8629 frame (bug#10294).
8630
4e5d086d
LMI
8631 * subr.el (with-selected-frame): Mention that the selected frame
8632 is restored (bug#9980).
8633
8e66aebe
LMI
8634 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8635 (bug#9759).
8636
cd394be1 8637 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8638 (password-read): Don't autoload unused function.
8639
adf4e762
JB
86402012-01-07 Juanma Barranquero <lekktu@gmail.com>
8641
8642 * progmodes/which-func.el (which-func-mode): Turn into a
8643 non-interactive function and mark as obsolete (bug#10428).
8644
89bd9ccd
CY
86452012-01-06 Chong Yidong <cyd@gnu.org>
8646
8647 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8648 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8649 functions, along with 1 and -1.
8650
4afee9d5
EZ
86512012-01-06 Eli Zaretskii <eliz@gnu.org>
8652
8653 * time.el (display-time-load-average)
8654 (display-time-default-load-average): Doc fixes. See the thread
8655 starting at
8656 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8657 for the details.
8658
536aea70
GM
86592012-01-06 Glenn Morris <rgm@gnu.org>
8660
665ae865
GM
8661 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8662 has no messages. (Bug#10377)
8663
c869783d
GM
8664 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8665 than Info-edit. (Bug#10385)
8666
2bb4227e
GM
8667 * time.el (display-time-load-average, display-time-next-load-average):
8668 Doc fixes.
8669
7d5944b9
GM
8670 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8671 local setting of buffer-read-only to the input buffer. (Bug#10419)
8672
536aea70
GM
8673 * calendar/calendar.el (calendar-mode):
8674 Locally set scroll-margin to 0. (Bug#10379)
8675
7dccca16
UM
86762012-01-06 Ulrich Mueller <ulm@gentoo.org>
8677
8678 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8679
afbb7930
GM
86802012-01-05 Glenn Morris <rgm@gnu.org>
8681
8682 * eshell/em-unix.el (diff-no-select): Autoload it.
8683 (eshell/diff): Use diff-no-select. (Bug#10420)
8684
04482335
CY
86852012-01-05 Chong Yidong <cyd@gnu.org>
8686
7baca3bc
CY
8687 * shell.el (shell-dynamic-complete-functions): Revert last change.
8688 (shell-command-completion-function): New function.
8689 (shell-completion-vars): Use it to implement
8690 shell-completion-execonly (Bug#10417).
8691
04482335
CY
8692 * custom.el (enable-theme): Don't set custom-safe-themes.
8693
1d00653d
SM
8694 * cus-theme.el (custom-theme-merge-theme):
8695 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8696
bb5aa5d6
MM
86972012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8698
8699 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8700 first prompt in `sql-interacive-mode'.
8701 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8702 keywords.
6df6ae42 8703 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8704 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8705 context of original buffer. Invoke `sql-login-hook'.
8706
a7183d7c
EZ
87072012-01-04 Eli Zaretskii <eliz@gnu.org>
8708
8709 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8710 letters in cite-prefix.
8711
a1eacd1e
LMI
87122012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713
8714 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8715
787cdb34
CY
87162012-01-03 Chong Yidong <cyd@gnu.org>
8717
1d00653d
SM
8718 * shell.el (shell-dynamic-complete-functions):
8719 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8720 comint-filename-completion first (Bug#10417).
8721
30710442
RS
87222012-01-02 Richard Stallman <rms@gnu.org>
8723
8724 * battery.el (battery-status-function):
8725 Detect when to use battery-yeeloong-sysfs.
8726 (battery-echo-area-format): Add string for Yeeloong.
8727 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8728 (battery-yeeloong-sysfs): New function.
8729
f75bfc33
CY
87302012-01-02 Chong Yidong <cyd@gnu.org>
8731
8732 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8733 (dirtrack): Merge code for handling relative filenames in prompt
8734 from shell-dir-cookie-watcher.
8735 (dirtrack-debug-message): New arg to avoid excess format calls.
8736
8737 * shell.el (shell-dir-cookie-re): Variable deleted.
8738 (shell-dir-cookie-watcher): Function deleted.
8739 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8740 with dirtrack-mode.
8741
651e947e
EZ
87422012-01-01 Eli Zaretskii <eliz@gnu.org>
8743
1d00653d
SM
8744 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8745 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8746 libgnutls-26.dll.
8747
94d4c7dc
AS
87482011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8749
8750 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8751
8d43f3cd
EZ
87522011-12-31 Eli Zaretskii <eliz@gnu.org>
8753
8754 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8755 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8756
98c8795a
MA
87572011-12-29 Michael Albinus <michael.albinus@gmx.de>
8758
8759 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8760 also for alternative shells.
8761 (tramp-open-connection-setup-interactive-shell): Check, whether
8762 the shell is a busybox.
8763 (tramp-send-command): Don't suppress multiple prompts for
8764 busyboxes, it hurts.
8765
51281b32
CY
87662011-12-28 Chong Yidong <cyd@gnu.org>
8767
8768 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8769 (gdb-get-source-file): Move mode line update to
8770 gdb-get-source-file (Bug#10087).
8771
2170cb53
CY
87722011-12-25 Chong Yidong <cyd@gnu.org>
8773
8774 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8775 gud-gdb-marker-filter without taking it as an argument.
8776 (gud-gdb-run-command-fetch-lines): Caller changed.
8777 (gud-gdb-completion-function): New variable.
8778 (gud-gdb-completion-at-point): Use it.
8779 (gud-gdb-completions-1): Split from gud-gdb-completions.
8780
8781 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8782 function as separate arguments.
8783 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8784 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8785 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8786 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8787 (gdb-stopped, def-gdb-auto-update-trigger)
8788 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8789 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8790 Callers changed.
2170cb53
CY
8791 (gud-gdbmi-completions): New function.
8792 (gdb): Use it for generating the completion table.
8793
be8b11bb
AM
87942011-12-24 Alan Mackenzie <acm@muc.de>
8795
8796 Introduce a mechanism to widen the region used in context font
1d00653d 8797 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8798
1d00653d
SM
8799 * progmodes/cc-langs.el (c-before-font-lock-functions):
8800 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8801 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8802 functions to be run just before context (etc.) font locking.
8803
8804 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8805 New, functionality extracted from
be8b11bb 8806 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8807 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8808 (c-after-change): Set c-in-after-change-fontification.
8809 (c-set-fl-decl-start): Rejig its interface, so it can be called
8810 from both after-change and context fontifying.
b81d40f0
JB
8811 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8812 New functions.
8813 (c-standard-font-lock-fontify-region-function): New variable.
8814 (c-font-lock-fontify-region): New function.
be8b11bb 8815
341cf6ac
JL
88162011-12-24 Juri Linkov <juri@jurta.org>
8817
8818 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8819 (Bug#10348)
8820
bffcee0a
MA
88212011-12-23 Michael Albinus <michael.albinus@gmx.de>
8822
8823 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8824 existence of source file. (Bug#10325)
8825
cb5e207c
AM
88262011-12-23 Alan Mackenzie <acm@muc.de>
8827
8828 Fix unstable fontification inside templates.
8829
b81d40f0
JB
8830 * progmodes/cc-langs.el (c-before-font-lock-functions):
8831 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8832 additionally has c-set-fl-decl-start. The other languages (apart
8833 from AWK) have that as a single entry.
8834
b81d40f0
JB
8835 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8836 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8837 c-set-fl-decl-start.
8838
b81d40f0
JB
8839 * progmodes/cc-mode.el (c-common-init, c-after-change):
8840 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8841 (c-set-fl-decl-start): New function, extracted from
8842 c-font-lock-enclosing-decls and enhanced.
8843
60ff536c
JB
88442011-12-23 Juanma Barranquero <lekktu@gmail.com>
8845
8846 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8847
1c4757d6
JL
88482011-12-22 Juri Linkov <juri@jurta.org>
8849
8850 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8851
d031f2c7
CY
88522011-12-22 Chong Yidong <cyd@gnu.org>
8853
8854 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8855
bace743a
DA
88562011-12-21 Drew Adams <drew.adams@oracle.com>
8857
8858 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8859
728a1f2b
JC
88602011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8861
8862 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8863
0d373f73
TZ
88642011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8865
fec0aaa4
TZ
8866 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8867 highlighting and support. Fix up comments for capitalization.
8868 (cfengine-mode-debug): New var.
8869 (cfengine3-mode): Change the modeline indicator to "CFE3".
8870 (cfengine3-font-lock-keywords): Improve defun highlighting.
8871 (cfengine2-actions): Rename from `cfengine-actions'.
8872 (cfengine2-font-lock-keywords): Rename from
8873 `cfengine-font-lock-keywords'.
8874 (cfengine2-imenu-expression): Rename from
8875 `cfengine-imenu-expression'.
8876 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8877 (cfengine2-beginning-of-defun): Rename from
8878 `cfengine-beginning-of-defun'.
8879 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8880 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8881 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8882 modeline indicator to "CFE2".
8883 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8884 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8885
bc86f573
CY
88862011-12-21 Chong Yidong <cyd@gnu.org>
8887
8888 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8889 filename argument.
8890
d45ba96b
MR
88912011-12-20 Martin Rudalics <rudalics@gmx.at>
8892
8893 * window.el (window-normalize-buffer-to-display): Remove.
8894 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8895
a6198c90
CY
88962011-12-19 Chong Yidong <cyd@gnu.org>
8897
8898 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8899 Don't signal an error in a predicate function; return non-nil.
8900 (vc-dir-mark-file): Move the error here.
8901 (vc-dir-mark-unmark): If acting on the region, keep going if one
8902 of the entries cannot be marked/unmarked.
8903 (vc-dir-mark-all-files): If current entry is a directory, mark
8904 only child files, as documented.
8905
34c5fb55
VB
89062011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
8907
8908 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8909 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8910 addition.
8911
c803b2b7
JD
89122011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8913
8914 * term/ns-win.el (ns-get-selection-internal)
8915 (ns-store-selection-internal): Declare.
1154d12e
JB
8916 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8917 Declare as obsolete.
8918 (ns-get-pasteboard, ns-paste-secondary):
8919 Use ns-get-selection-internal.
8920 (ns-set-pasteboard, ns-copy-including-secondary):
8921 Use ns-store-selection-internal.
c803b2b7 8922
9cff91f8 89232011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8924
8925 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8926 (vc-deduce-fileset): Doc fix.
99a289d9 8927
f16c898a
AS
89282011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8929
8930 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8931
763237c4
SS
89322011-12-13 Sam Steingold <sds@gnu.org>
8933
8934 * man.el (Man-getpage-in-background): When running under a
8935 window-system, ignore $MANWIDTH and $COLUMNS.
8936
5fc1c122
KH
89372011-12-15 Kenichi Handa <handa@m17n.org>
8938
8939 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8940 (setup-ethiopic-environment-internal): Comment out key-binding for
8941 ethio-toggle-punctuation.
8942
13d49cbb
AM
89432011-12-13 Alan Mackenzie <acm@muc.de>
8944
898169a2
AM
8945 Add the switch statement to AWK Mode.
8946
7a71b18d 8947 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8948 "default" to the keywords regexp.
8949
7a71b18d 8950 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8951 expression as the rest.
1d00653d
SM
8952 (c-nonlabel-token-key): Allow string literals for AWK.
8953 Refactor for the other modes.
898169a2 8954
13d49cbb 8955 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8956 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8957 routines. Limit backward searching in c-font-lock-enclosing.decl.
8958
8959 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8960 pp-state and literal type in addition to the limits.
1d00653d 8961 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8962 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8963 (c-slow-in-literal, c-fast-in-literal): Remove.
8964 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8965
8966 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8967 being in a literal. Add a limit for backward searching.
8968
8969 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8970 c-slow-in-literal.
8971
15e0efc7
SM
89722011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8975
454592a6
MR
89762011-12-13 Martin Rudalics <rudalics@gmx.at>
8977
8978 * window.el (delete-other-windows): Use correct frame in call to
8979 window-with-parameter.
8980
87393f26
DP
89812011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8982
8983 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8984 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8985 (makefile-gmake-statements, makefile-makepp-statements):
8986 Use it and add new makepp keywords.
8987 (makefile-makepp-font-lock-keywords): Add new patterns.
8988 (makefile-match-function-end): Match new [...] and [[...]].
8989
11636b22
JB
89902011-12-11 Juanma Barranquero <lekktu@gmail.com>
8991
8992 * ses.el (ses-call-printer-return, ses-cell-property-get)
8993 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8994 (ses-create-cell-variable, ses-reset-header-string)
8995 (ses-cell-set-formula, ses-repair-cell-reference-all)
8996 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8997 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8998 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8999 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9000 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9001 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9002 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9003 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9004 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9005 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9006 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9007 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9008
cf018193
VB
90092011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9010
9011 * ses.el: The overall change is to add cell renaming, that is
9012 setting fancy names for cell symbols other than name matching
9013 "\\`[A-Z]+[0-9]+\\'" regexp .
9014 (ses-create-cell-variable): New defun.
9015 (ses-relocate-formula): Relocate formulas only for cells the
9016 symbols of which are not renamed, i.e. symbols whose names do not
9017 match regexp "\\`[A-Z]+[0-9]+\\'".
9018 (ses-relocate-all): Relocate values only for cells the symbols of
9019 which are not renamed.
9020 (ses-load): Create cells variables as the (ses-cell ...) are read,
9021 in order to check row col consistency with cell symbol name only
9022 for cells that are not renamed.
9023 (ses-replace-name-in-formula): New defun.
9024 (ses-rename-cell): New defun.
9025
ee957461
CY
90262011-12-11 Chong Yidong <cyd@gnu.org>
9027
9028 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9029 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9030
9a9e9ef0
MR
90312011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9032
9033 * window.el (other-window): Fix docstring.
9034
92a8eba5
EZ
90352011-12-10 Eli Zaretskii <eliz@gnu.org>
9036
9037 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9038 `from' or `to' address before taking its substring.
9039 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9040 encoded name is chopped in the middle of the encoded string, and
9041 thus displayed encoded.
9042
e152e577
JB
90432011-12-10 Juanma Barranquero <lekktu@gmail.com>
9044
9045 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9046
e5d84bfe
EZ
90472011-12-10 Eli Zaretskii <eliz@gnu.org>
9048
9049 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9050 to use texinfo-update-node and commands that call it if the
9051 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9052 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9053 (texinfo-all-menus-update, texinfo-master-menu)
9054 (texinfo-update-node, texinfo-every-node-update)
9055 (texinfo-multiple-files-update): Doc fix. Warn against updating
9056 all the @node lines.
9057 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9058 argument is numeric. Explain better in the doc string what the
9059 function really does.
9060 (texinfo-insert-master-menu-list): Improve the error message
9061 displayed if there's no menu in the Top node.
9062 (Bug#2975) See also this thread:
e5d84bfe
EZ
9063 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9064
1d84e9bb
MG
90652011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
9066
9067 * speedbar.el (speedbar-supported-extension-expressions):
9068 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9069
382c953b
JB
90702011-12-09 Juanma Barranquero <lekktu@gmail.com>
9071
9072 * printing.el (pr-mode-alist):
9073 * simple.el (filter-buffer-substring-functions)
9074 (completion-list-insert-choice-function):
9075 * window.el (window-with-parameter, window-atom-root)
9076 (window-sides-slots, window-size-fixed, window-min-delta)
9077 (window-max-delta, window--resize-mini-window)
9078 (window--resize-child-windows-normal, window-tree)
9079 (delete-other-windows, quit-window, split-window)
9080 (display-buffer-record-window, special-display-buffer-names)
9081 (special-display-regexps, special-display-popup-frame)
9082 (same-window-p, split-window-sensibly)
9083 (display-buffer-overriding-action, display-buffer-alist)
9084 (display-buffer-base-action, display-buffer, switch-to-buffer)
9085 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9086 (fit-window-to-buffer, recenter-positions)
9087 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9088 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9089 and remove unneeded backslashes in docstrings.
9090
39c9faef
SM
90912011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9092
98449af8
SM
9093 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9094
39c9faef
SM
9095 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9096 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9097 end in ".mk".
9098 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9099 when reading the makefile (bug#10116).
9100
86ed9fdc
SM
91012011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9104 (bug#10116).
9105
5580f89d
GM
91062011-12-06 Glenn Morris <rgm@gnu.org>
9107
9108 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9109
28d3917c
CY
91102011-12-06 Chong Yidong <cyd@gnu.org>
9111
9112 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9113
a98edce9
JB
91142011-12-06 Juanma Barranquero <lekktu@gmail.com>
9115
9116 * textmodes/table.el (table-shorten-cell): Fix typo.
9117
e65adfac
CG
91182011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9119
9120 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9121
71cc0b74
EZ
91222011-12-05 Eli Zaretskii <eliz@gnu.org>
9123
9124 * descr-text.el (describe-char): Fix display of strong
9125 right-to-left characters and directional embeddings and overrides.
9126
9127 * simple.el (what-cursor-position): Fix display of codepoints of
9128 strong right-to-left characters.
9129
315bc30d
CY
91302011-12-05 Chong Yidong <cyd@gnu.org>
9131
9132 * faces.el (read-color): Doc fix.
9133
58a70b94
GM
91342011-12-05 Glenn Morris <rgm@gnu.org>
9135
9136 * align.el (align--set-marker): Add doc-string.
9137 Don't try to move something that is not a marker. (Bug#10216)
9138
5158face
GM
91392011-12-04 Glenn Morris <rgm@gnu.org>
9140
9141 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9142 overly zealous deletion of trailing whitespace.
9143
520fca41
JB
91442011-12-04 Juanma Barranquero <lekktu@gmail.com>
9145
9146 * server.el (server-delete-client): On Windows, do not try to delete
9147 the only terminal.
9148 (server-process-filter): On Windows, treat requests for a tty frame as
9149 if they were for a GUI frame if the running server is in GUI mode.
9150
5e605a2e
GM
91512011-12-03 Glenn Morris <rgm@gnu.org>
9152
9153 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9154
5c3fe83f
SM
91552011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9156
6f5e57e7
SM
9157 * electric.el: Streamline electric-indent's hook.
9158 (electric-indent-chars): Revert to simple list.
9159 (electric-indent-functions): New var.
9160 (electric-indent-post-self-insert-function): Use it.
9161
5c3fe83f
SM
9162 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9163 there's no inferior buffer (bug#10196).
9164 (prolog-consult-compile): Don't use toggle-read-only.
9165
6bdac736
MA
91662011-12-02 Michael Albinus <michael.albinus@gmx.de>
9167
9168 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9169 interrupt. (Bug#10187)
9170
6131ba7f
SM
91712011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9172
99c79fee
SM
9173 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9174 (bug#9160).
9175
6131ba7f
SM
9176 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9177 (bug#10191).
9178
cb0a02ea
JL
91792011-12-02 Juri Linkov <juri@jurta.org>
9180
9181 * info.el (Info-search): Display "end of manual" when Isearch
9182 reaches the end of single-file Info manual. (Bug#9918)
9183
66e0570c
EZ
91842011-12-02 Eli Zaretskii <eliz@gnu.org>
9185
9186 * isearch.el (isearch-message-prefix): Run the input method part
9187 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9188
02b16839
JL
91892011-12-02 Juri Linkov <juri@jurta.org>
9190
9191 * isearch.el (isearch-occur): Use `word-search-regexp' for
9192 `isearch-word'.
9193 (isearch-search-and-update): Add condition for `isearch-word' and
9194 call `word-search-regexp'. (Bug#10145)
9195
0b950688
GM
91962011-12-01 Glenn Morris <rgm@gnu.org>
9197
9198 * eshell/em-hist.el (eshell-hist-initialize):
9199 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9200 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9201
9505c3c7
SM
92022011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9205
1bbe96b2 92062011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9207
a1beca85
SM
9208 * progmodes/verilog-mode.el (verilog-pretty-expr):
9209 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9210 verilog, such as += *= and the like.
9211 (verilog-assignment-operator-re): Regular expression to find the
9212 assigment operator in a verilog assignment.
9213 (verilog-assignment-operation-re): Regular expression to find an
9214 assignment statement for pretty-expr.
9215 (verilog-in-attribute-p): Query returns true if point is in an
9216 attribute context; used to skip these for expression line up from
9217 pretty-expr.
9218 (verilog-in-parameter-p): Query returns true if point is in an
9219 parameter definition context; used to skip these for expression
9220 line up from pretty-expr.
9221 (verilog-in-parenthesis-p): Query returns true if point is in a
9222 parenthetical expression, specifically ( ) but not [ ] or { };
9223 used by pretty-expr.
9224 (verilog-just-one-space): If there is no space, don't add one.
9225 (verilog-get-lineup-indent-2): Specifically skip just attribute
9226 contexts for expression lineup, rather than skipping all
9227 parenthetical expressions.
9228 (verilog-calculate-indent): Fix comment, and fix indent.
9229 (verilog-do-indent): Indent declarations in lists (suggested by
9230 Joachim Lechner).
9231 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9232 skeleton items.
9233 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9234 by Alain Mellan).
9235
1bbe96b2 92362011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9237
9238 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9239 parameters with embedded comments. Reported by Ray Stevens.
9240 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9241 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9242 Reported by Tim Holt.
9243 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9244 instantiated by upper module causing wrong expansion until AUTOed a
9245 second time. Reported by K C Buckenmaier.
9246 (verilog-diff-auto): Fix showing .* as a difference when
9247 `verilog-auto-star-save' off. Reported by Dan Dever.
9248 (verilog-auto-reset, verilog-read-always-signals)
9249 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9250 temporary signals in reset list if
9251 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9252 style to each signal's assignment type, bug381.
9253 Reported by Thomas Esposito.
6288f0ca
WS
9254 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9255 (verilog-uvm-statement-re): Support UVM indentation and
9256 highlighting, with old OVM keywords only.
a1beca85 9257 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9258 Support AUTOTIEOFF creating non-wire data types.
9259 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9260 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9261 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9262 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9263 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9264 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9265 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9266 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9267 non-numeric vector width. Reported by Alex Reed.
9268 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9269 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9270 (verilog-auto-delete-trailing-whitespace):
9271 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9272 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9273 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9274 Fix verilog-scan-cache corruption when running user AUTO expansion
9275 hooks that call indentation routines.
9276 (verilog-simplify-range-expression): Fix typo ignoring lower case
9277 identifiers.
9278 (verilog-delete-auto): Fix delete-autos to also remove user created
9279 automatics, as long as they start with AUTO.
9280 (verilog-batch-diff-auto, verilog-diff-auto)
9281 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9282 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9283 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9284 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9285 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9286 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9287 is disabled and its cache will get corrupt, causing AUTOS not to
9288 expand. Instead use only -quick functions.
9289 (verilog-scan-region): Fix scanning over escaped quotes.
9290 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9291 (verilog-re-search-backward-quick)
9292 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9293 related functions now ignore strings, to fix misparsing of strings
9294 with magic comments embedded in them.
a1beca85
SM
9295 (verilog-read-auto-template):
9296 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9297 Reported by Brad Dobbie.
9298 (verilog-read-auto-template):
9299 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9300 Reported by Brad Dobbie.
6288f0ca
WS
9301 (verilog-auto-inst, verilog-auto-inst-param)
9302 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9303 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9304 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9305 debugging templates without merge conflicts, bug357.
9306 Reported by Brad Dobbie.
9307 (verilog-read-auto-template):
9308 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9309 Reported by Brad Dobbie.
9310 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9311 abbrevs so user won't be asked to save.
9312 (verilog-read-auto-lisp-present): Fix to start at beginning of
9313 buffer in case called outside of verilog-auto.
9314 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9315 to "X-2". Reported by Matthew Myers.
9316 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9317 all inputs from module templates. Reported by Leith Johnson.
9318 (verilog-module-inside-filename-p): Fix locating programs as with
9319 modules.
9320 (verilog-auto-inst-port): Fix vl-width expressions when using
9321 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9322 (verilog-decls-get-regs, verilog-decls-get-signals,
9323 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9324 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9325 verilog-read-decls): Combine reg and wire structures into one var
9326 structure to represent SystemVerilog concepts.
9327 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9328 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9329 (verilog-auto-wire-type, verilog-insert-definition):
9330 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9331 SystemVerilog "logic" keyword instead of "wire"/"reg".
9332 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9333 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9334 ifdef or generate if so there's not a driver conflict).
9335 Reported by Matthew Myers.
9336 (verilog-auto-declare-nettype, verilog-insert-definition):
9337 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9338 `default_nettype none. Reported by Julian Gorfajn.
9339 (verilog-read-always-signals-recurse, verilog-read-decls)
9340 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9341 malformed end statement, bug325. Reported by Joshua Wise and
9342 Andrew Drake.
9343 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9344 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9345 when expanding .* in interfaces, bug320.
9346 Reported by Pierre-David Pfister.
6288f0ca 9347 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9348 name and open parenthesis, bug317.
9349 Reported by Pierre-David Pfister.
6288f0ca
WS
9350 (verilog-simplify-range-expression): Fix simplification of
9351 multiplications inside AUTOWIRE connections, bug303.
9352 (verilog-auto-inst-port): Support parameter expansion in
9353 multidimensional arrays.
9354 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9355 after "assert property". Reported by Julian Gorfajn.
9356 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9357 with multiplication, bug303.
9358 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9359 Reported by Jan Frode Lonnum.
9360
1bbe96b2
GM
93612011-11-30 Juanma Barranquero <lekktu@gmail.com>
9362
9363 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9364 (hfy-shell-file-name, hfy-shell):
9365 * international/fontset.el (x-decompose-font-name): Fix typos.
9366
93672011-11-29 Ken Brown <kbrown@cornell.edu>
9368
9369 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9370 (gdb-version): Remove defvar.
9371 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9372 (gdb-gud-context-command, gdb-non-stop-handler)
9373 (gdb-current-context-command, gdb-stopped): Use it.
9374 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9375 (gdb-non-stop-handler): Don't enable pretty-printing here.
9376 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9377 non-stop mode. Use the following.
9378 (gdb-check-target-async): New defun.
9379 (gud-watch, gdb-stopped): Fix whitespace.
9380 (gdb-get-source-file): Don't try to display the source file if
9381 `gdb-main-file' is nil.
9382
93832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * align.el: Try to generate fewer markers (bug#10047).
9386 (align--set-marker): New macro.
9387 (align-region): Use it.
9388
c935221f
SM
93892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9392
e70b5064
CY
93932011-11-29 Chong Yidong <cyd@gnu.org>
9394
9395 * indent.el (indent-for-tab-command, indent-according-to-mode):
9396 Doc fix.
9397 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9398
f3af92b7
MA
93992011-11-29 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9402 aware of remote file names. (Bug#10124)
9403
ed472be9
CY
94042011-11-29 Chong Yidong <cyd@gnu.org>
9405
9406 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9407
24510c22
SM
94082011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * files.el (find-file): Don't use force-same-window (bug#10144).
9411 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9412 use pop-to-buffer if the selected window can't be used.
9413 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9414
c60c3703
EZ
94152011-11-28 Eli Zaretskii <eliz@gnu.org>
9416
9417 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9418 special-mode-map.
9419
e95def75
CY
94202011-11-28 Chong Yidong <cyd@gnu.org>
9421
9422 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9423
c3f1c606
NR
94242011-11-27 Nick Roberts <nickrob@snap.net.nz>
9425
9426 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9427 gdb-get-source-file-list on gdb-create-source-file-list.
9428
00db469c
EZ
94292011-11-26 Eli Zaretskii <eliz@gnu.org>
9430
9431 * whitespace.el (whitespace-newline): Use a different foreground
9432 color for 16-color light-background displays.
9433
4ad3bc2a
CY
94342011-11-24 Chong Yidong <cyd@gnu.org>
9435
9436 * window.el (display-buffer--special-action): Doc fix.
9437
e9fce1ac
JB
94382011-11-25 Juanma Barranquero <lekktu@gmail.com>
9439
9440 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9441 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9442 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9443 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9444 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9445 (avl-tree-stack-first):
9446 * emacs-lisp/cconv.el (cconv--analyse-use):
9447 * net/gnutls.el (gnutls-negotiate): Fix typos.
9448
cb825e5d
GM
94492011-11-24 Glenn Morris <rgm@gnu.org>
9450
3adbe224
GM
9451 * lpr.el (lpr-windows-system, lpr-lp-system):
9452 * mail/binhex.el (binhex-begin-line):
9453 * progmodes/grep.el (grep-history, grep-find-history):
9454 * textmodes/flyspell.el:
9455 * vc/pcvs-defs.el (cvs-global-menu):
9456 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9457 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9458 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9459
321decc8
GM
9460 * net/tls.el: Fix case of "GnuTLS".
9461
420b63ad
GM
9462 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9463
cb825e5d
GM
9464 * version.el (emacs-build-system): Give it a doc-string.
9465
a0649f08
JL
94662011-11-24 Juri Linkov <juri@jurta.org>
9467
9468 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9469
c0bc0fd4
GM
94702011-11-24 Glenn Morris <rgm@gnu.org>
9471
9472 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9473 if called on a non-mime message just toggle the headers. (Bug#8006)
9474
20db1522
JB
94752011-11-24 Juanma Barranquero <lekktu@gmail.com>
9476
9477 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9478 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9479 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9480 (allout-rebullet-heading, allout-open-sibtopic)
9481 (allout-toggle-current-subtree-encryption)
9482 (allout-toggle-subtree-encryption, allout-encrypt-string)
9483 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9484 (allout-distinctive-bullets-string, allout-auto-activation):
9485 * window.el (window-normalize-buffer-to-display):
9486 * progmodes/verilog-mode.el (verilog-batch-indent):
9487 * textmodes/bibtex.el (bibtex-field-braces-opt)
9488 (bibtex-field-strings-opt):
9489 * vc/cvs-status.el (cvs-tree-merge):
9490 Fix typos.
9491
7262a87c
MA
94922011-11-23 Michael Albinus <michael.albinus@gmx.de>
9493
9494 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9495 `non-essential' to t, in order to avoid remote connections.
9496
283430a1
EZ
94972011-11-23 Eli Zaretskii <eliz@gnu.org>
9498
a1beca85
SM
9499 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9500 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9501 case-insensitively.
9502
d2992a38
ML
95032011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9504
9505 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9506
50419064
GM
95072011-11-23 Glenn Morris <rgm@gnu.org>
9508
da94eca1
GM
9509 * paths.el (rmail-file-name): Reformat the doc-string so that it
9510 is picked up.
9511
9aac4de2
GM
9512 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9513 (rmail-auto-file): Ignore case in the "special" field names,
9514 as mail-fetch-field does for all others.
9515
8038d2d2
GM
9516 * mail/rmail.el (rmail-forward):
9517 * mail/rmailkwd.el (rmail-set-label):
9518 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9519 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9520
f3fe222a
GM
9521 * mail/rmail.el (rmail-current-message): Doc fix.
9522
50419064
GM
9523 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9524
28109f49
SM
95252011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9528
394c65f1
GM
95292011-11-22 Glenn Morris <rgm@gnu.org>
9530
9531 * mail/rmailmm.el (test-rmail-mime-handler)
9532 (test-rmail-mime-bulk-handler)
9533 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9534
f2a0aa3a
JL
95352011-11-21 Juri Linkov <juri@jurta.org>
9536
1154d12e
JB
9537 * calc/calc.el (calc-read-key-sequence):
9538 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9539
9c34a344
LMI
95402011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9541
9542 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9543 Tell the caller that the next line needs recomputation, even
9544 though it doesn't start a sexp (bug#10094).
9545
f04a3be9
SM
95462011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9549
7978747f
SM
95502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9551
f04a3be9
SM
9552 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9553 Use force-same-window.
7978747f 9554
fe7a3057
JB
95552011-11-20 Juanma Barranquero <lekktu@gmail.com>
9556
9557 * descr-text.el (describe-char-unicode-data):
9558 * json.el (json-string-escape):
9559 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9560 (Footnote-unicode, Footnote-style-p):
9561 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9562
24901d61
CY
95632011-11-20 Chong Yidong <cyd@gnu.org>
9564
9565 * window.el (replace-buffer-in-windows): Restore interactive spec.
9566
bac7ff22
SM
95672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9568
24f3d7b9
SM
9569 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9570
bac7ff22
SM
9571 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9572 (byte-compile-global-not-obsolete-vars): New var.
9573 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9574 Use it.
9575 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9576
cd1181db
JB
95772011-11-20 Juanma Barranquero <lekktu@gmail.com>
9578
9579 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9580 * progmodes/pascal.el (electric-pascal-equal):
9581 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9582 * xml.el (xml-substitute-special): Fix typos.
9583
7fb18e9e
GM
95842011-11-20 Glenn Morris <rgm@gnu.org>
9585
9586 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9587 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9588 Doc fixes.
9589 (rmail-decode-mime-charset): Mark as obsolete.
9590
9591 * mail/rmailsum.el (rmail-message-regexp-p-1):
9592 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9593 Before using mime functions, check they are set. (Bug#10077)
9594
d5a6b3ba
JL
95952011-11-19 Juri Linkov <juri@jurta.org>
9596
9597 * info.el (Info-finder-find-node): Use `package--builtins' instead
9598 of `package-alist'. Use node names formed by the pattern "Keyword "
9599 and the keyword name.
9600
e981b61f
AS
96012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9602
1d00653d 9603 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9604
3ffbc301
JL
96052011-11-19 Juri Linkov <juri@jurta.org>
9606
9607 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9608 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9609 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9610 `old-history', `old-history-forward'. Add let-binding
9611 `window-selected'. Remove calls to `kill-buffer',
9612 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9613 before calling `Info-find-node', so `Info-find-node-2' will reread
9614 the Info file. Restore window positions only when `window-selected'
9615 is non-nil.
9616
30c62133
JL
96172011-11-19 Juri Linkov <juri@jurta.org>
9618
9619 * isearch.el (isearch-lazy-highlight-new-loop):
9620 Remove condition `(not isearch-error)'. (Bug#9918)
9621
9622 * misearch.el (multi-isearch-search-fun): Add condition
9623 `(not bound)' to ignore lazy-highlighting search.
9624 Add the search-failed message "end of multi" when the end of
9625 multi-sequence is reached. Uncapitalize the search-failed
9626 message "Repeat for next buffer".
9627
9628 * info.el (Info-search): Add the search-failed message
9629 "end of the manual" when the end of the manual is reached
9630 in Isearch mode.
9631
645ca9cf
JL
96322011-11-19 Juri Linkov <juri@jurta.org>
9633
9634 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9635 Use non-destructive `remove' instead of `delete' because
9636 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9637 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9638
df754f66
JL
96392011-11-19 Juri Linkov <juri@jurta.org>
9640
9641 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9642 to nil instead of binding `search-ring' and `regexp-search-ring'.
9643 (Bug#9185)
9644
0e23d96a
EZ
96452011-11-19 Eli Zaretskii <eliz@gnu.org>
9646
9647 * simple.el (line-move): Force movement by logical lines for any
9648 hscrolled window, not only when auto-hscroll-mode is on.
9649 (line-move-visual): Update doc string to that effect. (Bug#10076)
9650
8a6ccb66
AS
96512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9652
9653 * language/european.el (macintosh): Define as alias for mac-roman.
9654
49ae5b39
EZ
96552011-11-19 Eli Zaretskii <eliz@gnu.org>
9656
9657 * mail/rmailmm.el (rmail-mime-display-header)
9658 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9659 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9660 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9661 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9662 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9663 of a raw aref.
9664 (rmail-mime-entity-segment): To get past the tagline, move forward
9665 2 more lines, to account for the 2 empty lines that precede and
9666 follow the line with the buttons.
9667 (rmail-mime-update-tagline): Move one more line, to get past the
9668 empty line that follows the buttons in the tagline. (Bug#9520)
9669
c56cad4a
MR
96702011-11-19 Martin Rudalics <rudalics@gmx.at>
9671
9672 * window.el (window-max-delta-1, window-min-delta-1)
9673 (window-min-size-1, window-state-get-1, window-state-put-1)
9674 (window-state-put-2): Use "window--" prefix.
9675
cbe71af3
SM
96762011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9677
2ad52c60
SM
9678 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9679 (smie-warning-count): New var.
9680 (smie-set-prec2tab): Use it.
9681 (smie-bnf->prec2): Improve warnings. Add docstring.
9682 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9683 (smie-bnf--set-class): New function.
9684 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9685 corner case.
9686
6944dbc1
SM
9687 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9688 (compilation-error-properties, compilation-move-to-column):
9689 Handle compilation-first-column while in the target buffer.
9690
c400c4d7
SM
9691 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9692 Don't hardcode point-min==1.
9693
6dbe3e96
SM
9694 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9695 (eshell-rewrite-for-command): Remove workaround.
9696 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9697 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9698 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9699
cbe71af3
SM
9700 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9701
a8e1496d
GM
97022011-11-17 Glenn Morris <rgm@gnu.org>
9703
9704 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9705 Ignore buffer-local generated-autoload-file if it is the same
9706 as the global value. (Bug#10049)
9707
df85d315
JB
97082011-11-17 Juanma Barranquero <lekktu@gmail.com>
9709
9710 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9711 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9712 (reftex-toc-previous-heading, reftex-toc-max-level)
9713 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9714 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9715 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9716 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9717 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9718 (reftex-toc-rename-label, reftex-toc-visit-location)
9719 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9720 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9721 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9722 leaving "*toc*" only for references to the buffer.
9723
a0c2d0ae
MR
97242011-11-17 Martin Rudalics <rudalics@gmx.at>
9725
9726 * window.el (window-resize, delete-window, split-window):
9727 Replace window-splits by window-combination-resize.
1d00653d 9728 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9729
35c0bac8
GM
97302011-11-17 Glenn Morris <rgm@gnu.org>
9731
9732 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9733 Make bash entry derive from sh entry, not shell entry.
9734
d0c8fc8a
MA
97352011-11-16 Michael Albinus <michael.albinus@gmx.de>
9736
7262a87c
MA
9737 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9738 local file name.
9739
7877f373
JB
97402011-11-16 Juanma Barranquero <lekktu@gmail.com>
9741
9742 * menu-bar.el (menu-bar-file-menu):
9743 * printing.el (pr-ps-utility):
9744 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9745 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9746 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9747 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9748 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9749 (icalendar--convert-cyclic-to-ical)
9750 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9751 (icalendar--convert-ical-to-diary)
9752 (icalendar--convert-recurring-to-diary)
9753 (icalendar--convert-non-recurring-all-day-to-diary)
9754 (icalendar-import-format-sample):
9755 * progmodes/idlw-shell.el (idlwave-shell-mode):
9756 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9757 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9758 (vhdl-ps-print-init): Fix typos.
9759
10649b82
KM
97602011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9761
9d0cfcd6
GM
9762 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9763 FSF and collapse date sequence, obscure author/maintainer email address
9764 better, remove extra version line, track relocation of author's webpage.
10649b82 9765
9d0cfcd6
GM
9766 * progmodes/python.el (python-pdbtrack-input-prompt)
9767 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9768 regular python pdb prompts. Adjustments shamelessly taken exactly as
9769 suggested in EmacsWiki page (tiny change):
9770 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9771
58179cce
JB
97722011-11-16 Juanma Barranquero <lekktu@gmail.com>
9773
9774 * expand.el (expand-pos, expand-index, expand-point):
9775 Remove redundant info from docstring.
9776 (expand-add-abbrevs): Doc fix.
9777 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9778 (expand-sample-perl-mode-expand-list): Fix typos.
9779
9780 * net/dbus.el (dbus-event-member-name):
9781 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9782 * term/pc-win.el (msdos-create-frame-with-faces):
9783 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9784
b6f67890
MR
97852011-11-16 Martin Rudalics <rudalics@gmx.at>
9786
9787 * window.el (split-window, window-state-get-1)
9788 (window-state-put-1, window-state-put-2): Rename occurrences of
9789 window-nest to window-combination-limit.
1d00653d 9790 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9791
ce7ddba0
CY
97922011-11-16 Chong Yidong <cyd@gnu.org>
9793
9794 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9795 regexp (Bug#10033).
9796
3ae704f4
SM
97972011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9800 `completing-read' will remove *Completions* and will preserve
9801 current-buffer for us.
9802 (tmm-add-prompt): Users of *Completions* will always (re)set its
9803 major mode.
9804 (tmm-old-comp-map): Remove.
9805
6ad1cdde
GM
98062011-11-16 Glenn Morris <rgm@gnu.org>
9807
9808 * mail/rmailedit.el: Require rmailmm when compiling.
9809 (rmail-old-mime-state): New declaration.
9810 (rmail-edit-current-message): If editing a mime message,
9811 edit the "raw" message from the mbox buffer.
9812 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9813
d20faa20
GM
98142011-11-15 Glenn Morris <rgm@gnu.org>
9815
9816 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9817 which wasn't being used. Add optional arg to force given state.
9818 (rmail-mime): Add optional arg to force given state.
9819
c7015153
JB
98202011-11-15 Juanma Barranquero <lekktu@gmail.com>
9821
9822 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9823 * frame.el (display-mm-dimensions-alist):
9824 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9825 (outline-move-subtree-down):
9826 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9827 (newsticker--treeview-do-get-node):
9828 * net/quickurl.el (quickurl-list-buffer-name):
9829 * progmodes/dcl-mode.el (dcl-mode):
9830 * progmodes/gdb-mi.el (gdb-mapcar*):
9831 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9832
45261b50
GM
98332011-11-15 Glenn Morris <rgm@gnu.org>
9834
9835 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9836 in a boolean sense, so just make it a boolean, and fix the doc.
9837 (rmail-show-mime-function, rmail-mime-feature)
9838 (rmail-require-mime-maybe): Doc fixes.
9839 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9840
9841 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9842
0d26e0b6
JB
98432011-11-15 Juanma Barranquero <lekktu@gmail.com>
9844
9845 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9846 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9847 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9848 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9849
447f30f6
GM
98502011-11-15 Glenn Morris <rgm@gnu.org>
9851
672b871d
GM
9852 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9853 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9854 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9855 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9856 (rmail-mime, rmail-show-mime): Doc fixes.
9857
f6aa5bb1
GM
9858 * term/ns-win.el (mode-line-frame-identification):
9859 Leave it alone. (Bug#10051)
9860
947cd66b
GM
9861 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9862
447f30f6
GM
9863 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9864 Handle empty buffers. (Bug#9978)
9865
0b381c7e
JB
98662011-11-14 Juanma Barranquero <lekktu@gmail.com>
9867
9868 * international/mule.el (define-charset):
9869 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9870 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9871 * progmodes/verilog-mode.el (verilog-backward-token):
9872 * textmodes/ispell.el (lookup-words):
9873 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9874
71e027ac
GM
98752011-11-14 Glenn Morris <rgm@gnu.org>
9876
56632ce4
GM
9877 * progmodes/executable.el
9878 (executable-make-buffer-file-executable-if-script-p):
9879 Handle file-modes returning nil.
9880
40500957
GM
9881 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9882 message - not necessary, and causes problems. (Bug#9831)
9883
071c2340
GM
9884 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9885
d3cfca60
GM
9886 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9887
71e027ac
GM
9888 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9889 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9890 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9891
89d61221
MR
98922011-11-12 Martin Rudalics <rudalics@gmx.at>
9893
9894 * window.el (window-resize, delete-window): Use window-splits
9895 variable instead of function.
9896 (window-state-get-1, window-state-put-2, window-state-put):
9897 Don't deal with windows' splits status.
9898
98282f6f
GM
98992011-11-12 Glenn Morris <rgm@gnu.org>
9900
9901 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9902 (apropos-documentation): Doc fixes.
9903
40a8bdf6
JB
99042011-11-11 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9907 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9908
65bd19ff
SM
99092011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * electric.el (electric-indent-post-self-insert-function): Make it
9912 possible for a char to only indent in some circumstances.
9913 (electric-indent-mode): Simplify.
9914
54f9154c
MR
99152011-11-11 Martin Rudalics <rudalics@gmx.at>
9916
9917 * window.el (windows-with-parameter): Remove unused function.
9918 (windows-at-side): Rename to window-at-side-list.
9919 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9920 (window-side-check, window-size-ignore, window-size-fixed-1)
9921 (window-in-direction-2): Prefix with "window--".
9922 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9923
68cbc58b
GM
99242011-11-11 Glenn Morris <rgm@gnu.org>
9925
9926 * subr.el (eval-after-load): If FILE is already loaded,
9927 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9928
b2621720
GM
99292011-11-10 Glenn Morris <rgm@gnu.org>
9930
9a4de110
GM
9931 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9932 Call svn via vc-svn-command rather than vc-do-command.
9933 (vc-svn-command): Add --non-interactive. (Bug#9993)
9934 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9935
b2621720
GM
9936 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9937 Add toggle-read-only. (Bug#7292)
9938 * files.el (toggle-read-only): Mention that it should only
9939 be used interactively. (Bug#10006)
9940
1dce7193
SM
99412011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9942
d9ac1a1e
SM
9943 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9944 Adjust regexp for OCaml warnings.
9945
0c325082
SM
9946 * electric.el (electric-pair-post-self-insert-function): Let user
9947 turn it off buffer-locally (bug#9932).
9948
90132c14
SM
9949 * progmodes/python.el (python-beginning-of-statement):
9950 Rewrite (bug#2703).
9951
1dce7193
SM
9952 * progmodes/compile.el: Better handle TABs (bug#9749).
9953 (compilation-internal-error-properties)
9954 (compilation-next-error-function): Obey the target buffer's
9955 compilation-error-screen-columns.
9956
c4e7c63a
JB
99572011-11-09 Juanma Barranquero <lekktu@gmail.com>
9958
9959 * progmodes/meta-mode.el: Remove obsolete comments.
9960 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9961 Fix typos in docstrings.
9962
2cffd681
MR
99632011-11-09 Martin Rudalics <rudalics@gmx.at>
9964
9965 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9966 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9967 (window--resizable): New function. Make all callers of
9968 window-resizable call window--resizable instead.
9969 (window-resizable): Rewrite in terms of window--resizable.
9970
0edcba87
GM
99712011-11-08 Glenn Morris <rgm@gnu.org>
9972
9973 * progmodes/delphi.el (delphi-mode-syntax-table):
9974 Let define-derived-mode define a proper syntax table. (Bug#9994)
9975
4b0d61e3
SM
99762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * window.el: Stay away from defsubst.
9979 (window-list-no-nils): Remove.
9980 (window-state-get-1, window-state-get): Use backquote instead.
9981
cd394be1 99822011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9983
4b0d61e3 9984 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9985 Fix incorrect use of default argument in `completing-read'.
9986
e1c2c6f2
MR
99872011-11-08 Martin Rudalics <rudalics@gmx.at>
9988
9989 * window.el (display-buffer-function, special-display-function):
9990 Mention display-buffer-record-window but do not mention
9991 help-setup parameter in doc-strings.
b3f4a882 9992 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9993
105216ed
CY
99942011-11-08 Chong Yidong <cyd@gnu.org>
9995
9996 * window.el (window-total-height, window-total-width): Doc fix.
9997 (window-body-size): Move from C.
9998 (window-body-height, window-body-width): Move to C.
9999
0a9f9ab5
SM
100002011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * window.el: Make special-display like display-buffer-alist (bug#9532).
10003 (display-buffer--special-action): New function, morphed
10004 from display-buffer--special.
10005 (display-buffer): Use it to handle special-display-buffers at higher
10006 priority (just after display-buffer-alist).
10007 (display-buffer-fallback-action, display-buffer--other-frame-action)
10008 (pop-to-buffer-same-window): Remove display-buffer--special.
10009
a769dd15
GM
100102011-11-07 Glenn Morris <rgm@gnu.org>
10011
10012 * calendar/cal-menu.el (cal-menu-set-date-title):
10013 Do nothing if not in a calendar. (Bug#9976)
10014
05a61ee3
SM
100152011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * files.el (find-file): Always use selected-window.
10018
be7f5545
MR
100192011-11-07 Martin Rudalics <rudalics@gmx.at>
10020
10021 * window.el (window-combinations): Make WINDOW argument
10022 mandatory. Rewrite doc-string.
10023 (walk-window-subtree, window-atom-check, window-min-delta)
10024 (window-max-delta, window--resize-this-window)
10025 (window--resize-root-window-vertically, window-tree)
10026 (balance-windows, window-state-put): Rewrite doc-strings as to
10027 not mention the term "subwindow".
10028 (window--resize-subwindows-skip-p): Rename to
10029 window--resize-child-windows-skip-p.
10030 (window--resize-subwindows-normal): Rename to
10031 window--resize-child-windows-normal.
10032 (window--resize-subwindows): Rename to
10033 window--resize-child-windows.
10034 (window-or-subwindow-p): Rename to window--in-subtree-p.
10035
3c6702ef
ML
100362011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10037
10038 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10039 Ensure that mbox format messages end in two newlines (Bug#9974).
10040
49745b39
CY
100412011-11-06 Chong Yidong <cyd@gnu.org>
10042
10043 * window.el (window-combination-p): Function deleted; its
10044 side-effect is not used in any existing code.
10045 (window-combinations, window-combined-p): Call window-*-child
10046 directly.
10047
24300f5f
CY
100482011-11-05 Chong Yidong <cyd@gnu.org>
10049
10050 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10051 (window-size-ignore, window-state-get): Callers changed.
10052 (window-normalize-window): Rename from window-normalize-any-window.
10053 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10054 (window-normalize-live-window): Delete.
447f16b8
CY
10055 (window-combination-p, window-combined-p, window-combinations)
10056 (walk-window-subtree, window-atom-root, window-min-size)
10057 (window-sizable, window-sizable-p, window-size-fixed-p)
10058 (window-min-delta, window-max-delta, window-resizable)
10059 (window-resizable-p, window-full-height-p, window-full-width-p)
10060 (window-current-scroll-bars, window-point-1, set-window-point-1)
10061 (window-at-side-p, window-in-direction, window-resize)
10062 (adjust-window-trailing-edge, maximize-window, minimize-window)
10063 (window-deletable-p, delete-window, delete-other-windows)
10064 (record-window-buffer, unrecord-window-buffer)
10065 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10066 (quit-window, split-window, window-state-put)
10067 (set-window-text-height, fit-window-to-buffer)
10068 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10069
89bd5ee1
EZ
100702011-11-04 Eli Zaretskii <eliz@gnu.org>
10071
53479029
EZ
10072 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10073 rfc2047-decode-string.
10074 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10075 warnings.
10076
89bd5ee1
EZ
10077 * window.el (window-body-height, window-body-width): Mention in
10078 the doc string that the return values are in frame's canonical
10079 units. (Bug#9949)
10080
bd17fdee
AM
100812011-11-03 Alan Mackenzie <acm@muc.de>
10082
10083 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10084 change in cc-engine.el.
10085
acc825c5
SM
100862011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10089
1885e5b8
MR
100902011-11-02 Martin Rudalics <rudalics@gmx.at>
10091
10092 * window.el (quit-window): Call unrecord-window-buffer after
10093 showing another buffer in the window. (Bug#9937)
acc825c5 10094 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10095
ebe06da9
JB
100962011-11-02 Juanma Barranquero <lekktu@gmail.com>
10097
10098 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10099 Accept status with more than 9 shelves. (Bug#9935)
10100 Reported by Colin D Bennett <colin@gibibit.com>.
10101
4ee88440
MR
101022011-11-01 Martin Rudalics <rudalics@gmx.at>
10103
10104 * help.el (with-help-window): Don't reference
10105 temp-buffer-show-specifiers in doc-string.
10106
08e1d82c
AS
101072011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10108
10109 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10110 menu-item.
10111
84bd6e9e
VJL
101122011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10113
10114 * whitespace.el: New version 13.2.2.
10115 (whitespace-newline-mode): Disable properly. Reported by Sarah
10116 <EmacsWiki>.
10117
dba0634a
UJ
101182011-10-30 Ulf Jasper <ulf.jasper@web.de>
10119
10120 * net/newst-treeview.el: Remove "Time-stamp".
10121 (newsticker--group-manage-orphan-feeds): Do not call
10122 newsticker--treeview-tree-update.
db22a3c2
JB
10123 (newsticker-treeview-update, newsticker-treeview):
10124 Call newsticker--treeview-tree-update if necessary.
dba0634a 10125
3d8daefe
MR
101262011-10-30 Martin Rudalics <rudalics@gmx.at>
10127
10128 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10129 (window-iso-combinations): Remove "iso-" infix.
10130 Suggested by Chong Yidong.
3d8daefe
MR
10131 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10132 (window-max-delta-1, window-resize, window--resize-siblings)
10133 (window--resize-this-window, adjust-window-trailing-edge)
10134 (split-window, balance-windows-1)
10135 (shrink-window-if-larger-than-buffer):
10136 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10137 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10138
1bc4c3ae
SM
101392011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10142 in place (bug#9907).
10143 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10144 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10145 (eshell-structure-basic-command, eshell-rewrite-while-command)
10146 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10147 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10148 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10149 (eshell-do-pipelines-synchronously, eshell-eval-command):
10150 Use backquotes and prefer setq to set.
10151 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10152 (eshell-macrop): Use functionp.
c1e2f5fa 10153 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10154
30b65d9c
CY
101552011-10-30 Chong Yidong <cyd@gnu.org>
10156
10157 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10158 instead of set-mark (Bug#9810).
10159
2d197ffb
CY
101602011-10-30 Chong Yidong <cyd@gnu.org>
10161
10162 * window.el (split-window-below, split-window-right): Rename from
10163 split-window-above-each-other and split-window-side-by-side
10164 respectively. All callers changed.
10165 (split-window-sensibly, split-window-sensibly): Use them.
10166 (split-window-keep-point): Doc fix.
10167
10168 * isearch.el: Add isearch-scroll property to split-window-below
10169 and split-window-right.
10170
10171 * follow.el (follow-mode):
10172 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10173 * progmodes/ada-xref.el (ada-gdb-application):
10174 * emulation/vip.el (vip-buffer-in-two-windows):
10175 * image-dired.el (image-dired-dired-with-window-configuration):
10176 * dired-x.el (dired-do-find-marked-files):
10177 * dired.el (dired-pop-to-buffer):
10178 * bs.el (bs--show-with-configuration):
10179 * vc/emerge.el (emerge-setup-windows):
10180 * textmodes/two-column.el (2C-two-columns):
10181 * textmodes/reftex-toc.el (reftex-toc):
10182 * progmodes/gdb-mi.el (gdb-setup-windows):
10183 * progmodes/fortran.el (fortran-window-create):
10184 * net/newst-treeview.el (newsticker--treeview-window-init):
10185 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10186 * emulation/tpu-edt.el (tpu-gold-map):
10187 * emulation/crisp.el (crisp-mode-map):
10188 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10189
38bb2ca8
CY
101902011-10-29 Chong Yidong <cyd@gnu.org>
10191
aa4de341
CY
10192 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10193
e1eb5385
CY
10194 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10195
5d2ece3c
CY
10196 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10197 forged Ispell output (Bug#7904).
10198
38bb2ca8
CY
10199 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10200
d0af9f77
SM
102012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * doc-view.el: Avoid ugly errors about not finding nil.
10204 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10205 (doc-view-dvipdf-program, doc-view-unoconv-program)
10206 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10207 Avoid nil or absolute file name as default value.
10208 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10209
52bedd34
AM
102102011-10-28 Alan Mackenzie <acm@muc.de>
10211
db22a3c2 10212 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10213
7e43cfa5
AM
102142011-10-28 Alan Mackenzie <acm@muc.de>
10215
10216 Amend the handling of c-beginning/end-of-defun in nested declaration
10217 scopes.
10218
52bedd34
AM
10219 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10220 cc-langs.el. Change it to a defcustom.
7e43cfa5 10221
52bedd34
AM
10222 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10223 cc-vars.el.
7e43cfa5 10224
d0af9f77
SM
10225 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10226 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10227
52bedd34 10228 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10229 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10230 (c-widen-to-enclosing-decl-scope): New function.
10231 (c-while-widening-to-decl-block): New macro.
10232 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10233 outward for defun boundaries, and correspondingly change symbol
10234 `respect-enclosure' to `go-outward'.
10235 (c-declaration-limits): Change algorithm to report only the "innermost"
10236 defun's boundaries.
10237
1a2ce9ee
DD
102382011-10-28 Deniz Dogan <deniz@dogan.se>
10239
10240 * net/rcirc.el (rcirc-mode): Use hard newlines.
10241
bc97a826
AM
102422011-10-28 Alan Mackenzie <acm@muc.de>
10243
10244 Amend to indent and fontify macros "which include their own semicolon"
10245 correctly, using the "virtual semicolon" mechanism.
10246
52bedd34 10247 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10248
d0af9f77 10249 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10250 Recode to scan one line at a time rather than having \n and \r
58179cce 10251 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10252 (c-forward-label): Amend for virtual semicolons.
58179cce 10253 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10254
52bedd34
AM
10255 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10256 of the new C macros.
bc97a826 10257
52bedd34 10258 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10259 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10260 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10261 (c-opt-cpp-macro-define): Make into a full language variable.
10262 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10263 AWK Mode (including \n, \r) removed, no longer needed.
10264
d0af9f77
SM
10265 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10266 Invoke c-make-macro-with-semi-re.
bc97a826 10267
52bedd34
AM
10268 * progmodes/cc-vars.el (c-macro-with-semi-re):
10269 (c-macro-names-with-semicolon): New variables.
58179cce 10270 (c-make-macro-with-semi-re): New function.
bc97a826 10271
7a6c0941
SM
102722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * vc/log-edit.el: Fill empty field rather than adding new one.
10275 (log-edit-add-field): New function.
10276 (log-edit-insert-changelog): Use it.
10277
b0c4cdcf
ML
102782011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10279
10280 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10281
ee1f1da9
SM
102822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10285 (gdb--check-interpreter): New function.
10286 (gdb): Use it.
10287
51bc5f8b
GM
102882011-10-27 Glenn Morris <rgm@gnu.org>
10289
416a2c45
GM
10290 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10291 (least-positive-float, least-negative-float)
10292 (least-positive-normalized-float, least-negative-normalized-float)
10293 (float-epsilon, float-negative-epsilon):
10294 Remove unnecessary declarations.
10295
10296 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10297 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10298 (least-positive-float, least-negative-float)
10299 (least-positive-normalized-float, least-negative-normalized-float)
10300 (float-epsilon, float-negative-epsilon): Add doc-strings,
10301 based on those in cl.texi.
10302
51bc5f8b
GM
10303 * files.el (set-visited-file-name): If the major-mode changed,
10304 reload the local variables. (Bug#9796)
10305
15de15c6
CY
103062011-10-27 Chong Yidong <cyd@gnu.org>
10307
10308 * subr.el (change-major-mode-after-body-hook): New hook.
10309 (run-mode-hooks): Run it.
10310
ee1f1da9
SM
10311 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10312 Use change-major-mode-before-body-hook.
15de15c6
CY
10313
10314 * simple.el (fundamental-mode):
10315 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10316 change introducing fundamental-mode-hook.
10317
5430d399
JB
103182011-10-26 Juanma Barranquero <lekktu@gmail.com>
10319
acc825c5 10320 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10321
ad74a69e
MA
103222011-10-26 Michael Albinus <michael.albinus@gmx.de>
10323
10324 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10325 tramp.el explicitly. (Bug#7583)
ad74a69e 10326
71d4c2a5
SM
103272011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * progmodes/octave-mod.el:
10330 * progmodes/octave-inf.el: Update maintainer.
10331
b1f6fa26
CY
103322011-10-26 Chong Yidong <cyd@gnu.org>
10333
10334 * subr.el (with-wrapper-hook): Rewrite doc.
10335
3f04efd6
MA
103362011-10-25 Michael Albinus <michael.albinus@gmx.de>
10337
10338 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10339 filenames "/method:foo:". (Bug#9793)
3f04efd6 10340
410488d3
SM
103412011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10344 (bug#9865).
10345
c1ebb47e
GM
103462011-10-24 Glenn Morris <rgm@gnu.org>
10347
10348 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10349
7f5c46c7
MA
103502011-10-24 Michael Albinus <michael.albinus@gmx.de>
10351
10352 * notifications.el: Add the requirement of a running D-Bus session
10353 bus to the Commentary.
10354
db2440b6
JL
103552011-10-24 Juri Linkov <juri@jurta.org>
10356
10357 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10358 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10359 (Bug#9364)
10360
feecf435
JL
103612011-10-24 Juri Linkov <juri@jurta.org>
10362
10363 * info.el (Info-following-node-name-re): Add newline to the list
10364 of allowed characters for leading space. (Bug#9824)
10365
a3839de2
SM
103662011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10367
acc825c5
SM
10368 * progmodes/octave-inf.el (inferior-octave-mode-map):
10369 Fix C-c C-h binding.
a3839de2
SM
10370 * progmodes/octave-mod.el (octave-help): Remove.
10371
09388e76
MA
103722011-10-23 Michael Albinus <michael.albinus@gmx.de>
10373
10374 Sync with Tramp 2.2.3.
10375
10376 * net/tramp-cache.el (top): Pacify byte-compiler using
10377 `init-file-user' and `site-run-file'.
10378
10379 * net/trampver.el: Update release number.
10380
86c60681
CY
103812011-10-23 Chong Yidong <cyd@gnu.org>
10382
10383 * files.el (toggle-read-only): Remove obsolete comment about
10384 version control.
10385
10386 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10387 for toggle-read-only. Note that this hasn't called vc-next-action
10388 since 2008-05-02, though it wasn't documented at the time.
10389
a3839de2
SM
10390 * vc/ediff-init.el (ediff-toggle-read-only-function):
10391 Use toggle-read-only.
86c60681 10392
cd5495ff
AM
103932011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10394
10395 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10396 of c-parse-state.
10397
00b77525 10398 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10399 correct faulty logical expression.
cd5495ff
AM
10400 (c-parse-state-state, c-record-parse-state-state):
10401 (c-replay-parse-state-state): New defvar/defuns.
10402 (c-debug-parse-state): Use new functions.
10403
42ee24ed
MR
104042011-10-22 Martin Rudalics <rudalics@gmx.at>
10405
10406 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10407 last fix. Use window-in-direction correctly.
42ee24ed 10408
a7dee7e7
CY
104092011-10-21 Chong Yidong <cyd@gnu.org>
10410
10411 * progmodes/idlwave.el (idlwave-mode):
10412 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10413 require-final-newline; that's done in prog-mode.
10414 Suggested by Stefan Monnier.
a7dee7e7 10415
e07b9a6d
MR
104162011-10-21 Martin Rudalics <rudalics@gmx.at>
10417
10418 * mouse.el (mouse-drag-window-above)
10419 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10420 (mouse-drag-mode-line-1, mouse-drag-header-line)
10421 (mouse-drag-vertical-line-rightward-window): Remove.
10422 (mouse-drag-line): New function.
10423 (mouse-drag-mode-line, mouse-drag-header-line)
10424 (mouse-drag-vertical-line): Call mouse-drag-line.
10425 * window.el (window-at-side-p, windows-at-side): New functions.
10426
7e1361d9
UM
104272011-10-21 Ulrich Mueller <ulm@gentoo.org>
10428
10429 * tar-mode.el (tar-grind-file-mode):
10430 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10431
30fcaf3a
CY
104322011-10-21 Chong Yidong <cyd@gnu.org>
10433
10434 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10435 * progmodes/vera-mode.el (vera-mode):
10436 Use mode-require-final-newline.
30fcaf3a 10437
516eddb0
GM
104382011-10-20 Glenn Morris <rgm@gnu.org>
10439
db22a3c2 10440 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10441
10d5f513
CS
104422011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10443
10444 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10445
ac6c8639
CY
104462011-10-20 Chong Yidong <cyd@gnu.org>
10447
10448 * emulation/cua-base.el (cua-mode):
10449 * mail/footnote.el (footnote-mode):
10450 * mail/mailabbrev.el (mail-abbrevs-mode):
10451 * net/xesam.el (xesam-minor-mode):
10452 * progmodes/bug-reference.el (bug-reference-mode):
10453 * progmodes/cap-words.el (capitalized-words-mode):
10454 * progmodes/compile.el (compilation-minor-mode)
10455 (compilation-shell-minor-mode):
10456 * progmodes/gud.el (gud-tooltip-mode):
10457 * progmodes/hideif.el (hide-ifdef-mode):
10458 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10459 * progmodes/subword.el (subword-mode):
10460 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10461 * progmodes/which-func.el (which-function-mode):
10462 * term/tvi970.el (tvi970-set-keypad-mode):
10463 * term/vt100.el (vt100-wide-mode):
10464 * textmodes/flyspell.el (flyspell-mode):
10465 * textmodes/ispell.el (ispell-minor-mode):
10466 * textmodes/nroff-mode.el (nroff-electric-mode):
10467 * textmodes/paragraphs.el (use-hard-newlines):
10468 * textmodes/refill.el (refill-mode):
10469 * textmodes/reftex.el (reftex-mode):
10470 * textmodes/rst.el (rst-minor-mode):
10471 * textmodes/sgml-mode.el (html-autoview-mode)
10472 (sgml-electric-tag-pair-mode):
10473 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10474 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10475 * emulation/crisp.el (crisp-mode):
10476 * emacs-lisp/eldoc.el (eldoc-mode):
10477 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10478 minor mode behavior.
10479
aa42ab43
JL
104802011-10-19 Juri Linkov <juri@jurta.org>
10481
10482 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10483 the list of hard-coded chars with escape-glyph face.
10484
89400f1d
SM
104852011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10488
305c07f6
MA
104892011-10-19 Michael Albinus <michael.albinus@gmx.de>
10490
10491 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10492 running process.
10493
13754b54
GM
104942011-10-19 Glenn Morris <rgm@gnu.org>
10495
10496 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10497 Ignore ignored files. (Bug#9726)
10498
06e21633
CY
104992011-10-19 Chong Yidong <cyd@gnu.org>
10500
10501 Doc fix for minor modes, stating that an omitted argument enables
10502 the mode unconditionally when called from Lisp.
10503
10504 * abbrev.el (abbrev-mode):
10505 * allout.el (allout-mode):
10506 * autoinsert.el (auto-insert-mode):
10507 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10508 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10509 (global-auto-revert-mode):
10510 * battery.el (display-battery-mode):
10511 * composite.el (global-auto-composition-mode)
10512 (auto-composition-mode):
10513 * delsel.el (delete-selection-mode):
10514 * desktop.el (desktop-save-mode):
10515 * dired-x.el (dired-omit-mode):
10516 * dirtrack.el (dirtrack-mode):
10517 * doc-view.el (doc-view-minor-mode):
10518 * double.el (double-mode):
10519 * electric.el (electric-indent-mode, electric-pair-mode):
10520 * emacs-lock.el (emacs-lock-mode):
10521 * epa-hook.el (auto-encryption-mode):
10522 * follow.el (follow-mode):
10523 * font-core.el (font-lock-mode):
10524 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10525 * help.el (temp-buffer-resize-mode):
10526 * hilit-chg.el (highlight-changes-mode)
10527 (highlight-changes-visible-mode):
10528 * hi-lock.el (hi-lock-mode):
10529 * hl-line.el (hl-line-mode, global-hl-line-mode):
10530 * icomplete.el (icomplete-mode):
10531 * ido.el (ido-everywhere):
10532 * image-file.el (auto-image-file-mode):
10533 * image-mode.el (image-minor-mode):
10534 * iswitchb.el (iswitchb-mode):
10535 * jka-cmpr-hook.el (auto-compression-mode):
10536 * linum.el (linum-mode):
10537 * longlines.el (longlines-mode):
10538 * master.el (master-mode):
10539 * mb-depth.el (minibuffer-depth-indicate-mode):
10540 * menu-bar.el (menu-bar-mode):
10541 * minibuf-eldef.el (minibuffer-electric-default-mode):
10542 * mouse-sel.el (mouse-sel-mode):
10543 * msb.el (msb-mode):
10544 * mwheel.el (mouse-wheel-mode):
10545 * outline.el (outline-minor-mode):
10546 * paren.el (show-paren-mode):
10547 * recentf.el (recentf-mode):
10548 * reveal.el (reveal-mode, global-reveal-mode):
10549 * rfn-eshadow.el (file-name-shadow-mode):
10550 * ruler-mode.el (ruler-mode):
10551 * savehist.el (savehist-mode):
10552 * scroll-all.el (scroll-all-mode):
10553 * scroll-bar.el (scroll-bar-mode):
10554 * server.el (server-mode):
10555 * shell.el (shell-dirtrack-mode):
10556 * simple.el (auto-fill-mode, transient-mark-mode)
10557 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10558 (line-number-mode, column-number-mode, size-indication-mode)
10559 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10560 * strokes.el (strokes-mode):
10561 * time.el (display-time-mode):
10562 * t-mouse.el (gpm-mouse-mode):
10563 * tool-bar.el (tool-bar-mode):
10564 * tooltip.el (tooltip-mode):
10565 * type-break.el (type-break-mode-line-message-mode)
10566 (type-break-query-mode):
10567 * view.el (view-mode):
10568 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10569 (global-whitespace-mode, global-whitespace-newline-mode):
10570 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10571
a3839de2
SM
10572 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10573 Fix autogenerated docstring.
06e21633 10574
5214e501
JL
105752011-10-19 Juri Linkov <juri@jurta.org>
10576
10577 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10578 by checking environment variables "DESKTOP_SESSION" and
10579 "XDG_CURRENT_DESKTOP". (Bug#9779)
10580
195f8db9
JL
105812011-10-19 Juri Linkov <juri@jurta.org>
10582
10583 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10584 (browse-url-chromium-program, browse-url-chromium-arguments):
10585 New defcustoms.
10586 (browse-url-default-browser): Check for `browse-url-chromium' and
10587 call `browse-url-chromium-program'.
10588 (browse-url-chromium): New command. (Bug#9779)
10589
343a34ff
JB
105902011-10-18 Juanma Barranquero <lekktu@gmail.com>
10591
10592 * facemenu.el (list-colors-duplicates): On Windows, detect more
10593 duplicates by assuming that only colors matching "^System" are
10594 special "system colors". (Bug#9722)
10595
6978a151
SM
105962011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10599 to distinguish the author from the committer.
10600
6a80b297
MA
106012011-10-18 Michael Albinus <michael.albinus@gmx.de>
10602
10603 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10604
b31a5677
JK
106052011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10606
10607 * international/mule.el (sgml-html-meta-auto-coding-function):
10608 Add support for detecting encoding in HTML5 specified only as
10609 <meta charset="UTF-8">. Implementation just makes http-equiv and
10610 content-type parts from HTML4 encoding string optional. (Bug#9716)
10611
80c6d77f
GM
106122011-10-18 Glenn Morris <rgm@gnu.org>
10613
10614 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10615
08b0fee8
CY
106162011-10-18 Chong Yidong <cyd@gnu.org>
10617
10618 * faces.el (cursor): Doc fix.
10619
67e729a5
CY
106202011-10-17 Chong Yidong <cyd@gnu.org>
10621
10622 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10623
343a34ff 106242011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10625
10626 * dirtrack.el (dirtrack): Support shell buffers with path
10627 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10628
0bc06380
TZ
106292011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10630
10631 * json.el: Bump version to 1.3 and note change in History.
10632 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10633
8b79f3e0
SM
106342011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10635
5a7c536b
SM
10636 * comint.el (comint-insert-input, comint-send-input)
10637 (comint-get-old-input-default, comint-backward-matching-input)
10638 (comint-next-prompt): Use nil instead of `input' for field property of
10639 past user input (bug#114).
10640
96a8a0df
SM
10641 * minibuffer.el (completion--replace): Inherit surrounding properties
10642 (bug#114).
10643 (minibuffer-complete-and-exit): Use it.
10644
8b79f3e0
SM
10645 * comint.el (comint--table-subvert): Quote the all-completions output
10646 (bug#9160).
10647
b8f7ff0d
MR
106482011-10-17 Martin Rudalics <rudalics@gmx.at>
10649
8b79f3e0 10650 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10651
b8f7ff0d 10652 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10653 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10654 entries and separate them from frame entries.
10655
c235b555
GM
106562011-10-15 Glenn Morris <rgm@gnu.org>
10657
10658 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10659 Doc fixes.
10660
6bbfa6e1
CY
106612011-10-15 Chong Yidong <cyd@stupidchicken.com>
10662
8b79f3e0
SM
10663 * net/network-stream.el (network-stream-open-starttls):
10664 Improve detection of failure due to lack of TLS support.
ec5c990d 10665
6bbfa6e1
CY
10666 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10667 putting the input text in front and in bold.
10668
98488977
SM
106692011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10670
3d1337be
SM
10671 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10672
ee0b45e4
SM
10673 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10674 empty buffer.
10675
98488977
SM
10676 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10677 unread-command-events rather than pushing yet-another event.
10678
186f4720
EZ
106792011-10-14 Eli Zaretskii <eliz@gnu.org>
10680
10681 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10682 the explanation of the possible choices. Make the options passed
10683 to completing-read shorter.
10684
8b7a997c
AM
106852011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10686
10687 * textmodes/flyspell.el (flyspell-large-region): Make sure
10688 extended character mode is used if defined (Bug#1339).
10689
12587bbb
EZ
106902011-10-13 Eli Zaretskii <eliz@gnu.org>
10691
10692 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10693 character info for LRE, LRO, RLE, and RLO characters by appending
10694 an invisible PDF.
12587bbb 10695
bad41229
SM
106962011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10699 even in case of error; add debug spec; simplify data flow.
10700 (with-timeout-handler): Remove.
10701
28dbc92f
MA
107022011-10-12 Michael Albinus <michael.albinus@gmx.de>
10703
10704 Fix Bug#6019, Bug#9315.
10705
10706 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10707 complete `buffer-file-name', the local file name part could look
10708 remotely (for example on VMS).
10709
10710 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10711 `tramp-run-real-handler'.
10712 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10713 already quoted by '"'.
10714
10715 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10716 Let `file-name-handler-alist' be nil, the local file name part
10717 could look remotely (for example on VMS).
10718
e1b0b23a
SM
107192011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10722 from here...
10723 (flyspell-post-command-hook): ...to here.
10724
a120bde9
SM
107252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10728 if not needed.
10729 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10730 using completion. Protect against "slow" callers.
10731 Remove the "message hack".
10732
7ce7717b
JL
107332011-10-11 Juri Linkov <juri@jurta.org>
10734
10735 * isearch.el (isearch-lazy-highlight-word): New variable.
10736 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10737 Use it. (Bug#9727)
10738
c02ee9d6
GM
107392011-10-11 Glenn Morris <rgm@gnu.org>
10740
10741 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10742 like f90-previous-statement does.
10743
93e616fd 107442011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10745
1f190e73 10746 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10747 only in interactive use, to avoid error.
10748
af7b6078
SM
107492011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * minibuffer.el (completion-file-name-table): Fix last change,
10752 i.e. ignore normal errors but not the other ones.
10753
0563dae9
MR
107542011-10-10 Martin Rudalics <rudalics@gmx.at>
10755
10756 * window.el (special-display-buffer-names)
10757 (special-display-regexps): Remove some remnants of earlier
10758 changes from doc-strings.
366ca7f3
MR
10759 (quit-windows-on): New function.
10760
10761 * vc/vc.el (vc-revert, vc-rollback):
10762 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10763 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10764 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10765
49677495
MR
107662011-10-09 Martin Rudalics <rudalics@gmx.at>
10767
10768 * window.el (frame-auto-hide-function): Add version tag.
10769 (Bug#9699)
10770
56f2d1e1
MA
107712011-10-09 Michael Albinus <michael.albinus@gmx.de>
10772
10773 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10774 condition.
10775
112a6592
LL
107762011-10-09 Leo Liu <sdl.web@gmail.com>
10777
10778 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10779 (Bug#9701)
10780
0812589b
GM
107812011-10-08 Glenn Morris <rgm@gnu.org>
10782
10783 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10784 before the first code statement zero indent. (Bug#9690)
10785
b2b0776e
CY
107862011-10-08 Chong Yidong <cyd@stupidchicken.com>
10787
10788 * simple.el (count-words-region): Always count in the region.
10789 Report the number of lines and characters too.
10790 (count-words): New command, which counts in the buffer if the
10791 region is inactive, as count-words-region used to.
10792 (count-words--message): New function. Handle plurals.
10793 (count-lines-region): Make it an alias for count-words-region.
10794
10795 * bindings.el (esc-map): Replace count-lines-region with
10796 count-words-region.
10797
c557cd6b
MR
107982011-10-08 Martin Rudalics <rudalics@gmx.at>
10799
10800 * window.el (window--delete): Delete dedicated frame
10801 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10802 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10803
61a57ef4 108042011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10805
3a7d293b 10806 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10807
c3833279
CY
108082011-10-07 Chong Yidong <cyd@stupidchicken.com>
10809
10810 * bindings.el ([M-left],[M-right]): Bind to left-word and
10811 right-word respectively.
10812
21ce8245
GM
108132011-10-07 Glenn Morris <rgm@gnu.org>
10814
10815 * cus-start.el (debug-on-quit): Fix custom type.
10816
6d823bb2
LMI
108172011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10818
0181e193
LMI
10819 * subr.el (define-key-after): Clarify that the function is not
10820 useful for non-menu keymaps.
10821
6d823bb2
LMI
10822 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10823
8e3459ce 108242011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10825
21ce8245 10826 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10827 in current minibuffer (Fix bug with recursive minibuffers).
10828
a1c2d21e
CY
108292011-10-06 Chong Yidong <cyd@stupidchicken.com>
10830
10831 * progmodes/gdb-mi.el (gdb): Doc fix.
10832
5a4cf282
MR
108332011-10-05 Martin Rudalics <rudalics@gmx.at>
10834
10835 * window.el (frame-auto-hide-function): New option replacing
10836 frame-auto-delete. Suggested by Stefan Monnier.
10837 (window--delete): Call frame-auto-hide-function instead of
10838 investigating frame-auto-delete.
c96111ea
MR
10839 (window-point-1, set-window-point-1): New functions.
10840 (window-in-direction, record-window-buffer, window-state-get-1)
10841 (display-buffer-record-window): Use window-point-1 instead of
10842 window-point.
10843 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10844
9854542e
SM
108452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10848
8943cfb0
GM
108492011-10-05 Glenn Morris <rgm@gnu.org>
10850
10851 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10852 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10853
647ab967
LL
108542011-10-05 Leo Liu <sdl.web@gmail.com>
10855
10856 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10857 works with buffer object.
10858
3ddfbced
SM
108592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * mpc.el (mpc-tool-bar-map): Add labels.
10862
bdfa5dd2
GM
108632011-10-04 Glenn Morris <rgm@gnu.org>
10864
10865 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10866
0e2070b5
MR
108672011-10-04 Martin Rudalics <rudalics@gmx.at>
10868
10869 * window.el (window--delete): New function.
10870 (frame-auto-delete): Resuscitate option.
10871 (bury-buffer, replace-buffer-in-windows)
10872 (quit-window): Rewrite using window--delete.
10873 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10874 Pass display-buffer-mark-dedicated to window--display-buffer-2
10875 (Bug#9639).
10876
3dc61a09
SM
108772011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10878
915a9b64
SM
10879 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10880 returns a list (bug#9554). Add remote file name completion.
10881 * comint.el (comint--table-subvert): Curry and get quote&unquote
10882 functions as arguments.
10883 (comint--complete-file-name-data): Adjust call accordingly.
10884 * pcomplete.el (pcomplete--table-subvert): Remove.
10885 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10886
3dc61a09
SM
10887 * minibuffer.el (completion-table-case-fold): Use currying.
10888 (completion--styles-type, completion--cycling-threshold-type):
10889 New constants.
10890 (completion-styles, completion-category-overrides)
10891 (completion-cycle-threshold): Use them.
10892 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10893 completion-table-case-fold.
10894
8ea0a993
SB
108952011-10-03 Stephen Berman <stephen.berman@gmx.net>
10896
10897 * minibuffer.el (completion-category-overrides): Fix type of styles
10898 and add more user friendly tags (bug#9660).
10899
8c24b7f6
SM
109002011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10903 (mule-input-method-string): New widget.
10904 (default-input-method, language-info-custom-alist): Use it.
10905
428fe61a
SM
109062011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10907
32c1fffd
SM
10908 * pcomplete.el: Require comint.
10909 (pcomplete--common-suffix): Remove.
10910 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10911 (pcomplete--table-subvert): Sync with comint--table-subvert.
10912 (pcomplete--entries): Use comint-completion-file-name-table.
10913 * comint.el (comint-unquote-filename): Simplify.
10914 (comint-completion-file-name-table): New function (bug#9616).
10915 (comint--complete-file-name-data): Use it.
10916
428fe61a
SM
10917 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10918 (pcmpl-gnu-tar-buffer): Remove.
10919 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10920 around. Make sure pcomplete-suffix-list is only changed temporarily.
10921 Don't look inside the tar's file if it's too large.
428fe61a 10922
04c52e2f
CY
109232011-10-01 Chong Yidong <cyd@stupidchicken.com>
10924
ce3cefcc
CY
10925 * cus-edit.el (custom-mode-map):
10926 * epa.el (epa-key-list-mode-map):
10927 * man.el (Man-mode-map):
10928 * startup.el (splash-screen-keymap):
10929 * simple.el (special-mode-map): Use scroll-up-command and
10930 scroll-down-command.
10931
10932 * progmodes/idlw-help.el (idlwave-help-mode-map):
10933 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10934 * net/newst-plainview.el (newsticker-mode-map):
10935 * emulation/ws-mode.el (wordstar-mode-map):
10936 * emulation/vi.el (vi-com-map):
10937 * calc/calc-graph.el (calc-graph-show-dumb):
10938 * term/sun.el (terminal-init-sun):
10939 * term/ns-win.el (global-map):
10940 * progmodes/grep.el (grep-mode-map):
10941 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10942 * mail/rmail.el (rmail-mode-map):
10943 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10944
04c52e2f
CY
10945 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10946 custom-safe-themes as special.
10947
79adf8c8
JD
109482011-10-01 Julien Danjou <julien@danjou.info>
10949
10950 * notifications.el (notifications-notify): Fix docstring.
10951
63bd50d3
PS
109522011-10-01 Per Starbäck <per@starback.se>
10953
10954 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10955
199e4c7e
MR
109562011-09-30 Martin Rudalics <rudalics@gmx.at>
10957
10958 * startup.el (command-line-1): Fix last fix by inserting
10959 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10960 (Bug#9605) and (Bug#9636)
199e4c7e 10961
fe5f08dd
EZ
109622011-09-29 Eli Zaretskii <eliz@gnu.org>
10963
10964 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10965 window is hscrolled, move by logical lines. (Bug#9607)
10966 (line-move-visual): Update the doc string to the above effect.
10967
b5516bbd
MR
109682011-09-29 Martin Rudalics <rudalics@gmx.at>
10969
ccee00c0
MR
10970 * window.el (display-buffer-record-window): When WINDOW is the
10971 selected window use `point' instead of `window-point'. (Bug#9626)
10972
b5516bbd
MR
10973 * startup.el (command-line-1): Use insert-before-markers when
10974 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10975
b5516bbd
MR
10976 * help.el (help-window): Remove variable.
10977
52aa0014
GM
109782011-09-29 Glenn Morris <rgm@gnu.org>
10979
10980 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10981
df9a7357
JB
109822011-09-29 Juanma Barranquero <lekktu@gmail.com>
10983
10984 * descr-text.el (describe-char-categories): Accept category
10985 descriptions more than one line long.
10986
a8406c20
SM
109872011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10988
88d9610c
SM
10989 * simple.el (delete-trailing-whitespace): Fix last change.
10990
a5daf810
SM
10991 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10992 Don't confuse "y => 3" as the beginning of a `y' operation.
10993
a8406c20
SM
10994 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10995 object has more than 4 slots (bug#9613).
10996
a239d4e9
JB
109972011-09-28 Juanma Barranquero <lekktu@gmail.com>
10998
10999 * subr.el (with-output-to-temp-buffer):
11000 * net/quickurl.el (quickurl, quickurl-browse-url):
11001 Fix typos in docstrings.
11002
693fbdb6
EZ
110032011-09-27 Eli Zaretskii <eliz@gnu.org>
11004
11005 * minibuffer.el (completion-styles)
11006 (completion-category-overrides): Cross reference each other in doc
11007 strings.
11008
8b457e28
GM
110092011-09-27 Glenn Morris <rgm@gnu.org>
11010
11011 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11012 to split-string. (Bug#9606)
11013
85a16208
LMI
110142011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11015
11016 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11017 (bug#9615).
11018
502f9ebd
CY
110192011-09-27 Chong Yidong <cyd@stupidchicken.com>
11020
11021 * emacs-lisp/package.el (list-packages): Fix echo area message.
11022
7690bdea
LL
110232011-09-27 Leo Liu <sdl.web@gmail.com>
11024
11025 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11026
e2ee6f30
MA
110272011-09-25 Michael Albinus <michael.albinus@gmx.de>
11028
11029 * net/dbus.el (dbus-unregister-object): Don't release services for
11030 registered signals. (Bug#9581)
11031
f3f98342
TZ
110322011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11033
11034 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11035 function that picks between cfengine 2 and 3 support
11036 automatically. Update docs accordingly.
11037
dd7aa8dd
KH
110382011-09-22 Kenichi Handa <handa@m17n.org>
11039
11040 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11041 ZERO.
11042 (indian-itrans-v5-table-for-tamil): New variable.
11043 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11044
3f2b07f8
KM
110452011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11046
11047 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11048 that's true if the current command involved collapsing of text.
11049 It's reset to false at the beginning of the next command.
11050 (allout-post-command-business): Move the cursor to the beginning
11051 of entry if the cursor is hidden and collapsing activity just
11052 happened.
11053
371d6a61
CY
110542011-09-24 Chong Yidong <cyd@stupidchicken.com>
11055
11056 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11057 tracking (Bug#9541).
11058
2ac2721a
UJ
110592011-09-24 Ulf Jasper <ulf.jasper@web.de>
11060
11061 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11062 (newsticker-show-news): Automatically load html rendering package
11063 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11064 because w3m-fill-column is let-bound" and the error "Symbol's value
11065 as variable is void: w3m-fill-column".
2ac2721a 11066
fac7ae53
MA
110672011-09-24 Michael Albinus <michael.albinus@gmx.de>
11068
11069 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11070 Release services only if they are defined. (Bug#9581)
11071
e08b633b
RS
110722011-09-23 Richard Stallman <rms@gnu.org>
11073
e488d29c
RS
11074 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11075 distinguish start of paragraph from start of its text.
11076
19c38752
RS
11077 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11078
e08b633b
RS
11079 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11080 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11081 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11082
0a39f27e
AS
110832011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11084
11085 * international/mule-diag.el (mule-diag): Insert a newline after
11086 each fontset description.
11087
db4e950d
SM
110882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * simple.el (delete-trailing-whitespace):
11091 Document last change; simplify.
11092
eca3f3ea
PW
110932011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11094
d68e189a
PW
11095 * simple.el (delete-trailing-whitespace): Also delete
11096 extra newlines at the end of the buffer.
11097
eca3f3ea
PW
11098 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11099 (picture-newline): Use forward-line so as to ignore fields.
11100
01c157cc
SM
111012011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * subr.el (with-wrapper-hook): Fix edebug spec.
11104
022de23e
LMI
111052011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11106
11107 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11108 (bug#4538).
11109
91683089
MA
111102011-09-23 Michael Albinus <michael.albinus@gmx.de>
11111
eca3f3ea
PW
11112 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11113 Fix nasty bug using wrong cached values.
91683089 11114
5bdd6fa4
AM
111152011-09-23 Alan Mackenzie <acm@muc.de>
11116
11117 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11118
97adfb97
CY
111192011-09-23 Chong Yidong <cyd@stupidchicken.com>
11120
11121 * window.el (pop-to-buffer): Ensure right window is selected if we
11122 chose another frame.
11123
d4ef2b50
EZ
111242011-09-22 Eli Zaretskii <eliz@gnu.org>
11125
11126 * simple.el (what-cursor-position): Use get-char-property-change
11127 and next-single-char-property-change, to be able to show display
11128 properties that come from overlays as well as text properties.
11129
72258fe5
CY
111302011-09-22 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11133
11134 * cmuscheme.el (run-scheme, switch-to-scheme):
11135 * cus-edit.el (customize-group, custom-buffer-create)
11136 (customize-browse):
11137 * info.el (info):
11138 * shell.el (shell):
11139 * mail/sendmail.el (mail):
11140 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11141
8f098516
RS
111422011-09-22 Richard Stallman <rms@gnu.org>
11143
11144 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11145 move back only to line beg, don't move back over blank lines.
11146
e74f1bb6
MA
111472011-09-22 Michael Albinus <michael.albinus@gmx.de>
11148
11149 * files.el (copy-directory): Set directory attributes only in case
11150 they could be retrieved from the source directory. (Bug#9565)
11151
bfeef8b6
DK
111522011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11153
11154 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11155 (hs-find-block-beginning, hs-hide-level-recursive):
11156 Ignore strings as well as comments. (Bug#9502)
11157
7e423bb8
AS
111582011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11159
11160 * progmodes/sql.el (sql-comint-postgres):
11161 Convert port number to a string. (Bug#9566)
11162
b4d72fcf
MR
111632011-09-22 Martin Rudalics <rudalics@gmx.at>
11164
11165 * window.el (quit-window): Undedicate window when switching to
11166 previous buffer. Reported by Thierry Volpiatto
11167 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11168 (special-display-popup-frame): When popping up a new frame reset
11169 its previous buffers to nil. Simplify code.
b4d72fcf 11170
a7b88dc6
MA
111712011-09-21 Michael Albinus <michael.albinus@gmx.de>
11172
11173 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11174 and process filter, as done also in `shell-command'.
11175
cf4eacfd
MR
111762011-09-21 Martin Rudalics <rudalics@gmx.at>
11177
eca3f3ea 11178 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11179 Call set-window-start with NOFORCE argument t.
11180 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11181 (quit-window): Reword doc-string. Handle new format of
11182 quit-restore parameter. Don't delete window if it has a
11183 previous buffer we can show instead of the present one.
11184 (display-buffer-record-window): Rewrite using a new format for
11185 the quit-restore window parameter
11186 (special-display-popup-frame, display-buffer-same-window)
11187 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11188 (display-buffer-pop-up-window, display-buffer-use-some-window):
11189 Adapt symbol passed to display-buffer-record-window.
11190 * help.el (help-window-setup): Handle new format of quit-restore
11191 parameter.
11192
8d28cb95
SM
111932011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11194
94ab793f
SM
11195 * faces.el (face-list): Fix docstring (bug#9564).
11196
8d28cb95
SM
11197 * window.el (display-buffer--action-function-custom-type):
11198 Don't include internal functions in the Custom interface.
11199
3820edeb
JL
112002011-09-20 Juri Linkov <juri@jurta.org>
11201
11202 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11203 (Info-forward-node, Info-backward-node, Info-next-preorder)
11204 (Info-last-preorder): Use it. (Bug#9528)
11205
5147931d
JL
112062011-09-20 Juri Linkov <juri@jurta.org>
11207
11208 * info.el (Info-last-preorder): Visit last menu item only when
11209 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11210
cf499a1a
JD
112112011-09-20 Julien Danjou <julien@danjou.info>
11212
11213 * password-cache.el (password-cache-remove): Remove entries even if the
11214 value is nil, so that password with a nil value (negative caching) is
11215 possible to invalidate.
11216
f84e2fe2
LM
112172011-09-20 Lawrence Mitchell <wence@gmx.li>
11218
11219 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11220 all whitespace around breakpoint. (Bug#9553)
11221 (f90-find-breakpoint): Only break at whitespace inside a comment.
11222
78054a46
SM
112232011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * minibuffer.el (completion-file-name-table): Keep track of errors.
11226 (completion-table-with-predicate): Handle the case where pred1 is nil.
11227 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11228
345083b2
SM
112292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11230
e24e27be
SM
11231 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11232 (debugger-return-value): Signal an error if the debugging context does
11233 not await any return value.
11234
345083b2
SM
11235 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11236 * image-mode.el (image-toggle-display-text)
11237 (image-toggle-display-image): Stay away from evil `intangible'.
11238
08d355e3
LL
112392011-09-19 Leo Liu <sdl.web@gmail.com>
11240
11241 * replace.el (occur-revert-arguments): Make it permanent-local.
11242 (occur-mode): Don't call font-lock-defontify.
11243
f01da43f
CY
112442011-09-19 Chong Yidong <cyd@stupidchicken.com>
11245
11246 * net/ldap.el (ldap-search-internal): Don't push empty search
11247 result (Bug#9508).
11248
b6072fa6
SM
112492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11252
443d6696
MA
112532011-09-19 Michael Albinus <michael.albinus@gmx.de>
11254
11255 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11256 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11257
7cc6e154
JL
112582011-09-18 Juri Linkov <juri@jurta.org>
11259
11260 * buff-menu.el (Buffer-menu-mode-map):
11261 * dired.el (dired-mode-map):
11262 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11263 (lisp-interaction-mode-map):
11264 * emacs-lisp/package.el (package-menu-mode-map):
11265 * epa.el (epa-key-list-mode-map):
11266 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11267 (menu-bar-options-menu):
11268 * outline.el (outline-mode-menu-bar-map):
11269 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11270 * vc/vc-dir.el (vc-dir-menu-map):
11271 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11272 Capitalize non-function content words in menu item strings.
11273
11274 * dired.el (dired-mode-map): Add menu item for
11275 `image-dired-dired-toggle-marked-thumbs'.
11276
80302a81
JL
112772011-09-18 Juri Linkov <juri@jurta.org>
11278
11279 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11280 to `isearch-case-fold-search' and restore its original value
11281 after the `isearch-mode' call.
11282
46c5cf66
JL
112832011-09-18 Juri Linkov <juri@jurta.org>
11284
11285 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11286 because `zgrep' returns 1 for successful matches (bug#9226).
11287
d18b513b
JL
112882011-09-18 Juri Linkov <juri@jurta.org>
11289
11290 * info.el (Info-extract-menu-node-name): Check the second match
11291 for empty string (second test-case of bug#9528).
11292 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11293 intermediate nodes to the history (first test-case of bug#9528).
11294
72753f87
JL
112952011-09-18 Juri Linkov <juri@jurta.org>
11296
11297 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11298 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11299
c9384295
JL
113002011-09-18 Juri Linkov <juri@jurta.org>
11301
1154d12e
JB
11302 * info.el (Info-file-supports-index-cookies):
11303 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11304 outputs one more line for long file names (bug#4142).
c9384295 11305
d473dce8
CY
113062011-09-18 Chong Yidong <cyd@stupidchicken.com>
11307
11308 * newcomment.el (comment-normalize-vars): If prompting for
11309 comment-start, set comment-start-skip too (Bug#8424).
11310
2176854d
JB
113112011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
11312
11313 * icomplete.el: Fix previous fix of Bug#5849.
11314 (icomplete-mode): Don't set completion-show-inline-help.
11315 (icomplete-minibuffer-setup): Set completion-show-inline-help
11316 locally during icompletion.
11317
3aace4e4
CY
113182011-09-18 Chong Yidong <cyd@stupidchicken.com>
11319
c940224f
CY
11320 * woman.el (woman2-process-escapes): Don't delete unrecognized
11321 escapes (Bug#7843).
11322
3aace4e4
CY
11323 * files.el (inhibit-first-line-modes-regexps): Add image files.
11324 (hack-local-variables-prop-line): Return nil for malformed
11325 prop-lines (Bug#9044).
11326
710dec63
MA
113272011-09-18 Michael Albinus <michael.albinus@gmx.de>
11328
11329 * net/tramp.el (top): Don't require 'shell.
11330 (tramp-methods): Fix docstring.
11331 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11332 Return complete remote file name. Handle "smb" case.
11333 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11334 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11335
11336 * net/tramp-compat.el (top): Require 'shell.
11337
11338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11339 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11340 `tramp-current-host'.
11341 (tramp-get-remote-tmpdir): Remove.
11342
11343 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11344 `tramp-tmpdir' entries.
11345 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11346 (tramp-smb-handle-file-attributes): Ignore errors.
11347 (tramp-smb-wait-for-output): Check also for process end.
11348
5d5ac8ec
LMI
113492011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11350
11351 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11352 when sending QUIT (bug#9312).
11353
8c0f49f0
CY
113542011-09-17 Chong Yidong <cyd@stupidchicken.com>
11355
11356 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11357 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11358 occur-mode-display-occurrence.
11359 (occur-edit-mode): Add usage message.
11360 (occur-cease-edit): New command.
11361 (occur-after-change-function): Use text properties to find the
11362 position of the prefix text.
11363 (occur-engine): Set stickiness of prefix text properties.
11364
8f1383f7
GM
113652011-09-17 Glenn Morris <rgm@gnu.org>
11366
11367 * progmodes/etags.el (complete-tag):
11368 Fix call to completion-in-region. (Bug#9526)
11369
744ba0e3
JL
113702011-09-17 Juri Linkov <juri@jurta.org>
11371
11372 * textmodes/ispell.el (ispell-word): Add to the error message
11373 the word, ispell program name and current dictionary (bug#9121).
11374 (ispell-tex-arg-end): Capitalize "error" in the error message.
11375
d9bbf400
AS
113762011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11377
11378 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11379 check. (Bug#4251)
11380
8da11505
JL
113812011-09-17 Juri Linkov <juri@jurta.org>
11382
11383 * window.el (window-safe-min-height, window-safe-min-width):
11384 Fix typos (followup to bug#9522).
11385
a91adc7e
SJ
113862011-09-17 Sven Joachim <svenjoac@gmx.de>
11387
11388 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11389
064f328a
EZ
113902011-09-16 Eli Zaretskii <eliz@gnu.org>
11391
11392 * simple.el (line-move): If goal-column is set, move by logical
11393 lines, not by display lines. (Bug#971)
11394 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11395 to reflect the above change.
11396
e69df516
SM
113972011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * image.el (imagemagick-register-types): Use regexp-opt.
11400
cbb0f9ab
CY
114012011-09-15 Chong Yidong <cyd@stupidchicken.com>
11402
11403 * window.el (display-buffer-base-action): Rename from
11404 display-buffer-default-action. Make default value empty.
11405 (display-buffer-overriding-action): Convert to defvar.
11406 (display-buffer-fallback-action): New var.
11407
25322144
CY
114082011-09-15 Chong Yidong <cyd@stupidchicken.com>
11409
11410 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11411 declaration.
11412 (package--add-to-archive-contents): If there is a duplicate entry
11413 with an older version, remove it.
11414 (package-menu-mark-delete, package-menu-mark-install)
11415 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11416 (package-menu-mark-obsolete-for-deletion):
11417 Use package-menu-get-status instead of a regexp search.
25322144
CY
11418 (package-menu-get-status): Use tabulated-list-entry.
11419 (package-menu-mark-upgrades): New command.
d770725a 11420 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11421 (package-menu-execute): Do installation before deletion.
11422 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11423 instead of checking major-mode.
11424 (package-menu--find-upgrades): New function.
11425
7520339c
LMI
114262011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11427
11428 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11429 passwords in the log buffer.
65a046c4
LMI
11430 (smtpmail-process-filter): Update the process marker so that the
11431 "broken by peer" status message is inserted in the right place.
7520339c 11432
d3c30954
SM
114332011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11434
3fe48822
SM
11435 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11436 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11437 bibtex-completion-at-point-function.
11438 (bibtex-completion-at-point-function): Use them.
11439
1b8b3954
SM
11440 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11441
d3c30954
SM
11442 * mpc.el (mpc-constraints-tag-lookup): New function.
11443 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11444 also to browser "album|playlist".
11445
72779976
JL
114462011-09-14 Juri Linkov <juri@jurta.org>
11447
11448 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11449 (isearch-edit-string): Use length of `isearch-string' when
11450 `isearch-fail-pos' returns nil.
11451 (isearch-message): Remove duplicate code and call
11452 `isearch-fail-pos' with arg `t'.
11453
a0bf2bcd
CY
114542011-09-14 Chong Yidong <cyd@stupidchicken.com>
11455
17bb0a2d
CY
11456 * replace.el (occur-mode-goto-occurrence): Don't force using other
11457 window (Bug#9499).
11458
a0bf2bcd
CY
11459 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11460
f678e0b6
MR
114612011-09-14 Martin Rudalics <rudalics@gmx.at>
11462
11463 * window.el (display-buffer-window): Remove.
11464 (display-buffer-record-window): Use help-setup window parameter
11465 instead of variable display-buffer-window.
11466 (display-buffer-function, special-display-buffer-names)
11467 (special-display-function): Mention help-setup parameter instead
11468 of display-buffer-window in doc-string.
d3c30954
SM
11469 * help.el (help-window-setup): New argument help-window.
11470 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11471 Reword some messages.
11472 (with-help-window): Pass window used for displaying the buffer
11473 to help-window-setup. Don't set display-buffer-window.
11474
8e39b2e8
GM
114752011-09-13 Glenn Morris <rgm@gnu.org>
11476
11477 * emacs-lisp/debug.el (debugger-make-xrefs):
11478 Preserve point. (Bug#9462)
11479
85e9c04b
CY
114802011-09-13 Chong Yidong <cyd@stupidchicken.com>
11481
11482 * window.el (window-deletable-p): Use next-frame.
11483
1b36ed6a
MR
114842011-09-13 Martin Rudalics <rudalics@gmx.at>
11485
11486 * window.el (window-auto-delete): Remove.
11487 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11488 dedication and previous buffers.
1b36ed6a
MR
11489 (switch-to-prev-buffer): Don't delete window.
11490 (delete-windows-on): Delete a window's frame if and only if the
11491 window is dedicated.
11492 (replace-buffer-in-windows): Delete buffer's window or frame if
11493 and only if window is dedicated.
11494 (quit-window): Handle quit-restore as before last change.
4d61f28d 11495 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11496
ef8ef9fb
CY
114972011-09-13 Chong Yidong <cyd@stupidchicken.com>
11498
11499 * window.el (window-deletable-p): Never delete the last frame on a
11500 given terminal.
11501
b2cba41e
GM
115022011-09-13 Glenn Morris <rgm@gnu.org>
11503
11504 * help.el (describe-key-briefly): Copy previous standard-output change.
11505
51553db6 115062011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11507
11508 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11509
b7556719
GM
115102011-09-13 Glenn Morris <rgm@gnu.org>
11511
11512 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11513 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11514
64b51947
CY
115152011-09-12 Chong Yidong <cyd@stupidchicken.com>
11516
11517 * dired-aux.el (dired-mark-read-string): Don't return default
11518 value on empty input (Bug#9361).
11519 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11520 Omit initial minibuffer contents.
11521 (dired-do-chmod): Signal an error on empty input.
11522 (dired-mark-read-string): Don't return default on empty input.
11523
11524 * files.el (file-modes-symbolic-to-number): Doc fix.
11525
393a301e
SM
115262011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * international/mule-cmds.el (ucs-completions): Remove.
11529 (read-char-by-name): Use complete-with-action instead; add metadata.
11530
fa5660f9
CY
115312011-09-11 Chong Yidong <cyd@stupidchicken.com>
11532
11533 * window.el (display-buffer--action-function-custom-type)
11534 (display-buffer--action-custom-type): New vars.
11535 (display-buffer-alist, display-buffer-default-action)
11536 (display-buffer-overriding-action): Add defcustom types.
11537
4a592f66
CY
11538 * frame.el (delete-other-frames): Doc fix (Bug#276).
11539
73d56dbd
LMI
115402011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11541
11542 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11543
37ac18a3
CY
115442011-09-11 Chong Yidong <cyd@stupidchicken.com>
11545
11546 Change modes that used same-window-* vars to use switch-to-buffer.
11547
11548 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11549 Use switch-to-buffer.
11550
11551 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11552 (customize-browse, custom-buffer-create-other-window):
11553 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11554
11555 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11556 (Info-prev, Info-up, Info-speedbar-goto-node)
11557 (info-display-manual): Use switch-to-buffer.
11558 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11559
11560 * mail/sendmail.el (mail): Use switch-to-buffer.
11561 (mail-recover): Use switch-to-buffer-other-window.
11562
11563 * cmuscheme.el (run-scheme, switch-to-scheme):
11564 * ielm.el (ielm):
11565 * shell.el (shell):
11566 * net/rlogin.el (rlogin):
11567 * net/telnet.el (telnet, rsh):
11568 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11569
10195bd6
AS
115702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11571
11572 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11573
b322f63a
LMI
115742011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11575
39d7fed6
LMI
11576 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11577 so don't mention it (bug#9301).
ba5a81f1 11578 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11579
ee0e9f11
LMI
11580 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11581 match `x', `w32' and `ns', like the manual says (bug#9029).
11582
0b1c89c1 11583 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11584 (process-kill-buffer-query-function): Mention the buffer name in
11585 the query.
0b1c89c1 11586
77549ea8
LMI
11587 * image-mode.el (image-next-line): The line parameter is mandatory
11588 (bug#9258).
11589
803ef892
LMI
11590 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11591 which can be useful (bug#9301).
11592
12980837
LMI
11593 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11594
91054f8f
LMI
11595 * subr.el (match-string): Mention that the current buffer should
11596 be the same as the search was done in (bug#9282).
11597
b322f63a
LMI
11598 * facemenu.el: Disable the remove-* commands if the mark isn't
11599 active (bug#9162).
11600
3199b96f
CY
116012011-09-10 Chong Yidong <cyd@stupidchicken.com>
11602
11603 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11604 of display-buffer.
11605 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11606
11607 * replace.el (occur-mode-goto-occurrence)
11608 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11609 and display-buffer.
11610
11611 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11612 display-buffer.
11613
11614 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11615 special-display and same-window variables.
11616 (mail-other-window): Use switch-to-buffer-other-window.
11617 (mail-other-frame): USe switch-to-buffer-other-frame.
11618
393a301e
SM
11619 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11620 Use display-buffer-other-frame.
3199b96f
CY
11621 (gdb-display-gdb-buffer): Use pop-to-buffer.
11622
11623 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11624
11625 * progmodes/python.el: Don't set same-window-buffer-names.
11626
11627 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11628
11629 * window.el (display-buffer-alist): Add *Python*.
11630
8319e0bf
CY
116312011-09-10 Chong Yidong <cyd@stupidchicken.com>
11632
11633 * window.el (display-buffer-alist): Add entry for buffers
11634 previously handled same-window-*.
11635 (display-buffer-alist, display-buffer-default-action)
11636 (display-buffer-overriding-action): Mark as risky.
11637 (display-buffer-alist): Document action function changes.
11638 (display-buffer--same-window-action)
11639 (display-buffer--other-frame-action): New variables.
11640 (switch-to-buffer, display-buffer-other-frame): Use them.
11641 (display-buffer): Rename reuse-frame entry to reusable-frames.
11642 (display-buffer-reuse-selected-window): Function deleted.
11643 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11644 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11645 (display-buffer-special): New function.
11646 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11647 display-buffer-reuse-or-pop-window. Split off special-display
11648 part into display-buffer-special.
11649 (display-buffer-use-some-window): Don't perform any special
11650 pop-up-frames handling.
11651 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11652 (display-buffer--maybe-same-window): Rename from
0d3ff375 11653 display-buffer-maybe-same-window.
8319e0bf 11654
919a69aa
CY
11655 * info.el: Don't set same-window-regexps.
11656 (info-setup): New function.
11657 (info-other-window, info): Call it.
11658
11659 * cus-edit.el: Don't set same-window-regexps.
11660 (customize-group): New argument.
11661 (customize-group-other-window): Use it.
11662 (customize-face, customize-face-other-window): Likewise.
11663 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11664
8319e0bf
CY
11665 * net/rlogin.el:
11666 * net/telnet.el:
11667 * progmodes/gud.el: Don't set same-window-regexps.
11668
11669 * cmuscheme.el:
11670 * ielm.el:
11671 * shell.el:
11672 * mail/sendmail.el:
11673 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11674
25173000
JL
116752011-09-10 Juri Linkov <juri@jurta.org>
11676
11677 * isearch.el (isearch-edit-string): Remove obsolete mention of
11678 `C-w' (`isearch-yank-word-or-char') from docstring.
11679 (isearch-query-replace): Fix typo in docstring (bug#9466).
11680
056e44ef
JL
116812011-09-10 Juri Linkov <juri@jurta.org>
11682
11683 * paren.el (show-paren-function): Don't show escaped parens.
11684 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11685
c3760c17
EZ
116862011-09-10 Eli Zaretskii <eliz@gnu.org>
11687
11688 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11689 (mm-default-file-encoding): Remove autoload forms, they are
11690 replaced with autoload cookies in mml.el and mm-encode.el.
11691 (mail-add-attachment): New command.
11692 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11693 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11694 the doc string.
11695 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11696
fece895e
RT
116972011-09-10 Reuben Thomas <rrt@sc3d.org>
11698
e69df516
SM
11699 * simple.el (count-words-region): Use buffer if there's no region
11700 (bug#9429).
fece895e 11701
5e68ce4a
JL
117022011-09-09 Juri Linkov <juri@jurta.org>
11703
11704 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11705 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11706 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11707
0a6b9622
AM
117082011-09-09 Alan Mackenzie <acm@muc.de>
11709
11710 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11711 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11712
14a29deb
EZ
117132011-09-09 Eli Zaretskii <eliz@gnu.org>
11714
11715 Fix for Savannah bug#9392.
11716 * simple.el (mail-encode-mml): New defvar.
11717
11718 * mail/rmail.el (mail-encode-mml): Add a defvar.
11719 (rmail-enable-mime-composing): Default to t.
11720 (rmail-forward): Use MIME method of forwarding only if both
11721 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11722 Set mail-encode-mml non-nil if the MIME method was used.
11723
11724 * mail/sendmail.el (mml-to-mime): Add autoload form.
11725 (mail-encode-mml): Add a defvar.
11726 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11727 to nil.
11728 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11729 message through mml-to-mime, and reset mail-encode-mml to nil.
11730
28c45130
GM
117312011-09-09 Glenn Morris <rgm@gnu.org>
11732
11733 * woman.el (woman-if-body): When processing an .el block,
11734 do not delete the next .el block as well. (Bug#9447)
69f4b618 11735 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11736
9b1c252e
MR
117372011-09-08 Martin Rudalics <rudalics@gmx.at>
11738
11739 * window.el (window-deletable-p): Make sure window is live before
11740 invoking window-prev-buffers.
11741
567457e3
LL
117422011-09-08 Leo Liu <sdl.web@gmail.com>
11743
11744 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11745
97f05794
JL
117462011-09-08 Juri Linkov <juri@jurta.org>
11747
11748 * progmodes/compile.el (compilation-environment): Make it
11749 a defcustom (bug#8340).
11750
8b0874b5
MR
117512011-09-08 Martin Rudalics <rudalics@gmx.at>
11752
11753 * window.el (frame-auto-delete): Rename to window-auto-delete.
11754 Make it control auto-deletion of windows and/or frames.
11755 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11756 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11757 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11758 Rewrite handling of case when window/frame can be deleted.
11759 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11760 argument t. (Bug#9456)
8b0874b5 11761
4feb6e73
CY
117622011-09-07 Chong Yidong <cyd@stupidchicken.com>
11763
11764 * help-mode.el (help-mode): Restore autoload.
11765
91ab9c13
JL
117662011-09-07 Juri Linkov <juri@jurta.org>
11767
11768 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11769 `compilation-environment'. Set buffer-local
11770 `compilation-environment' to `thisenv' later after (funcall mode).
11771 (Bug#8340)
11772
11773 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11774 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11775 instead of replacing its value. (Bug#8340)
11776
0527e251
JL
117772011-09-07 Juri Linkov <juri@jurta.org>
11778
11779 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11780 based on text properties put by `grep-filter' instead of matching
11781 escape sequences.
11782 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11783 to the value of `grep-error-screen-columns' (bug#9438).
11784
249f792c
JL
117852011-09-07 Juri Linkov <juri@jurta.org>
11786
11787 * simple.el (next-error-highlight, next-error-highlight-no-select):
11788 Doc fix (bug#9432).
11789
ff7271b9
OT
117902011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11791
11792 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11793 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11794
183fc730
LL
117952011-09-07 Leo Liu <sdl.web@gmail.com>
11796
11797 * net/rcirc.el (rcirc-mode): Conditionally initialize
11798 rcirc-input-ring.
11799
77694924
SM
118002011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * emacs-lisp/find-func.el (find-function-C-source): Only set
11803 find-function-C-source-directory after checking that we found a source
11804 file there (bug#9440).
11805
d809b8eb
AM
118062011-09-06 Alan Mackenzie <acm@muc.de>
11807
11808 * isearch.el (isearch-other-meta-char): Wherever a key list is
11809 unread, "unread" the prefix arg, too. This fixes bug #8901.
11810
453de99f
OG
118112011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11812
11813 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11814
90439906
JL
118152011-09-05 Juri Linkov <juri@jurta.org>
11816
11817 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11818
f62bd846
JL
118192011-09-05 Juri Linkov <juri@jurta.org>
11820
11821 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11822 keeping point where processing of grep matches begins, and
11823 continue to delete remaining escape sequences from the same point.
11824 (grep-filter): Make leading zero optional in "0?1;31m" because
11825 git-grep emits "\033[1;31m" escape sequences unlike expected
11826 "\033[01;31m" as GNU Grep does (bug#9408).
11827 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11828
045820ec
JL
118292011-09-05 Juri Linkov <juri@jurta.org>
11830
11831 * subr.el (y-or-n-p): Capitalize "yes".
11832
f5e29b9b
MA
118332011-09-04 Michael Albinus <michael.albinus@gmx.de>
11834
11835 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11836 `tramp-cache-unload-hook' where appropriate.
11837 (tramp-methods): Rename `tramp-remote-sh' to
11838 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11839 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11840
11841 * net/tramp-sh.el (top): Don't require 'shell.
11842 (tramp-methods): Add `tramp-remote-shell' and
11843 `tramp-remote-shell-args' entries.
11844 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11845 (tramp-sh-handle-shell-command): Remove.
11846 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11847 Use `tramp-remote-shell'.
11848
2784c434
CY
118492011-09-03 Chong Yidong <cyd@stupidchicken.com>
11850
393a301e 11851 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11852 (sendmail-query-once): Save directly to send-mail-function.
11853 Update message-send-mail-function too.
11854
11855 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11856
464cdf56
CS
118572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11858
11859 * progmodes/python.el (python-mode-map): Use correct function to
11860 start python interpreter from menu-bar (as reported by Geert
11861 Kloosterman).
11862 (inferior-python-mode-map): Fix typo.
393a301e 11863 (python-shell-map): Remove.
464cdf56 11864
d37e5c87
DD
118652011-09-03 Deniz Dogan <deniz@dogan.se>
11866
11867 * net/rcirc.el (rcirc-print): Simplify code for
11868 rcirc-scroll-show-maximum-output. There is no need to walk
11869 through all windows to find the right one.
11870
f3ada0ee
CS
118712011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11872
11873 * help.el (help-return-method): Doc fix.
11874
1f3c99ca
MR
118752011-09-03 Martin Rudalics <rudalics@gmx.at>
11876
11877 * window.el (window-deletable-p): Don't return a non-nil value
11878 when there's a buffer that was shown in the window before.
11879 (Bug#9419)
393a301e
SM
11880 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11881 Set window's previous buffers to nil.
1f3c99ca 11882
a3cf097f
EZ
118832011-09-03 Eli Zaretskii <eliz@gnu.org>
11884
11885 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11886 newline before and after the tag line, so it doesn't interfere
11887 with determining the paragraph direction of bidirectional text.
11888
3d03de90
LL
118892011-09-03 Leo Liu <sdl.web@gmail.com>
11890
11891 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11892
c3313451
CY
118932011-09-02 Chong Yidong <cyd@stupidchicken.com>
11894
393a301e 11895 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11896 (pop-to-buffer): Change interactive spec. Pass second argument
11897 directly to display-buffer.
11898 (display-buffer): Fix interactive spec. Use functionp to
11899 distinguish between a function and a list of functions.
11900
11901 * abbrev.el (edit-abbrevs):
11902 * arc-mode.el (archive-extract):
11903 * autoinsert.el (auto-insert):
11904 * bookmark.el (bookmark-bmenu-list):
11905 * files.el (find-file):
11906 * view.el (view-buffer):
11907 * progmodes/compile.el (compilation-goto-locus):
11908 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11909
89894cd8
CY
119102011-09-02 Chong Yidong <cyd@stupidchicken.com>
11911
11912 * window.el (display-buffer-alist): Doc fix.
11913 (display-buffer): Add docstring. Don't treat
11914 display-buffer-default specially.
11915 (display-buffer-reuse-selected-window)
11916 (display-buffer-same-window, display-buffer-maybe-same-window)
11917 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11918 (display-buffer-pop-up-window)
11919 (display-buffer-reuse-or-pop-window)
11920 (display-buffer-use-some-window): New functions.
11921 (display-buffer-default-action): Use them.
393a301e 11922 (display-buffer-default): Delete.
89894cd8
CY
11923 (pop-to-buffer-1): Fix choice of actions.
11924
ae0bc9fb
SM
119252011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11926
11927 * minibuffer.el (completion--insert-strings): Don't get confused by
11928 completion entries that end with an LF char.
11929
e9d90883
EZ
119302011-09-01 Eli Zaretskii <eliz@gnu.org>
11931
11932 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11933
437014c8
CY
119342011-09-01 Chong Yidong <cyd@stupidchicken.com>
11935
11936 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11937 (display-buffer-same-window, display-buffer-other-window):
11938 New functions.
437014c8
CY
11939 (pop-to-buffer-1): New function. Use the above.
11940 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11941 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11942
11943 * view.el (view-buffer-other-window, view-buffer-other-frame):
11944 Just use pop-to-buffer.
11945
a5e063d5
TV
119462011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11947
11948 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11949
793d32bb
WH
119502011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11951
11952 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11953
d65e4c15
RS
119542011-08-31 Richard Stallman <rms@gnu.org>
11955
11956 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11957 of the separation of rmail-view-buffer from rmail-buffer.
11958 If you say no to "replace original", the decrypt is in the
11959 view buffer. If you say yes, the decrypt goes into the
11960 rmail buffer also.
11961
f818cd2a
MR
119622011-08-31 Martin Rudalics <rudalics@gmx.at>
11963
11964 * window.el (display-buffer-window): Rewrite doc-string.
11965 (display-buffer-record-window): New function.
11966 (display-buffer-macro-specifiers)
11967 (display-buffer-even-window-sizes, display-buffer-set-height)
11968 (display-buffer-set-width, display-buffer-in-window)
11969 (display-buffer-reuse-window, display-buffer-split-specifiers)
11970 (display-buffer-side-specifiers, display-buffer-split-window-1)
11971 (display-buffer-split-window, display-buffer-split-atom-window)
11972 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11973 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11974 (display-buffer-other-window-means-other-frame)
11975 (display-buffer-normalize-special)
11976 (display-buffer-normalize-default)
11977 (display-buffer-normalize-argument)
11978 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11979 (display-buffer-normalize-specifiers, display-buffer-frame)
11980 (display-buffer-same-window, display-buffer-same-frame)
11981 (display-buffer-other-window)
11982 (display-buffer-same-frame-other-window)
11983 (display-buffer-other-frame, pop-to-buffer-same-window)
11984 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11985 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11986 (switch-to-buffer-same-frame)
11987 (switch-to-buffer-other-window-same-frame)
11988 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11989 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11990 (display-buffer-alist-set): Remove.
11991 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11992 (special-display-regexps, special-display-function):
11993 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11994 parameter.
11995 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11996 (special-display-frame-alist, special-display-popup-frame)
11997 (same-window-buffer-names, same-window-regexps, same-window-p)
11998 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11999 (split-window-preferred-function, split-height-threshold)
12000 (split-width-threshold, window-splittable-p)
12001 (split-window-sensibly, window--try-to-split-window)
12002 (window--frame-usable-p, even-window-heights)
12003 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12004 (window--display-buffer-2, display-buffer-other-frame):
12005 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12006 (display-buffer-default, display-buffer-assq-regexp): New functions.
12007 (display-buffer-alist): Rewrite doc-string.
12008 (display-buffer-default-action)
12009 (display-buffer-overriding-action): New variables.
12010 (display-buffer, switch-to-buffer): Rewrite.
12011 (pop-to-buffer): Restore Emacs 23 behavior but use
12012 window-normalize-buffer-to-display.
12013 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12014 Restore Emacs 23 behavior but use
12015 window-normalize-buffer-to-switch-to.
12016 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12017 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12018 Rewrite using Emacs 23 options.
f818cd2a 12019
5bc3b51d
MA
120202011-08-31 Michael Albinus <michael.albinus@gmx.de>
12021
12022 * net/tramp.el (tramp-root-regexp): Remove.
12023 (tramp-completion-file-name-regexp-unified)
12024 (tramp-completion-file-name-regexp-separate)
12025 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12026 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12027 (tramp-drop-volume-letter): Simplify definition.
12028 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12029
b1a4f8e1
SM
120302011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12033 (bug#9356).
12034
5664fa7b
RT
120352011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12036
b1a4f8e1 12037 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12038
9a45d6c3
JL
120392011-08-29 Juri Linkov <juri@jurta.org>
12040
12041 * isearch.el (isearch-done): Don't display message "Mark saved"
12042 when arg `edit' is non-nil to prevent its flicker in the echo area.
12043
fb87e0fb
CY
120442011-08-28 Chong Yidong <cyd@stupidchicken.com>
12045
12046 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12047 obsolete packages for deletion.
12048
09ac1c2a
CS
120492011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12050
12051 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12052 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12053 view-mode from help-mode.
12054 (help-xref-override-view-map): Remove.
12055 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12056 view-mode is not used anymore.
12057
7a1ff57f
CY
120582011-08-28 Chong Yidong <cyd@stupidchicken.com>
12059
12060 * server.el (server-port): Doc fix.
12061
b9696605
CY
12062 * cus-theme.el (custom-theme-choose-mode): Inherit from
12063 special-mode (Bug#9124).
12064 (custom-theme-choose-mode-map): Add special-mode to parent.
12065
ef8cdf8c
AM
120662011-08-28 Alan Mackenzie <acm@muc.de>
12067
12068 * progmodes/cc-fonts.el
12069 (c-make-font-lock-BO-decl-search-function): New function.
12070 (c-basic-matchers-after - "Fontify the clauses after various
12071 keywords"): Extract the three keyword lists for the 3 erroneous
12072 constructs from the list of four, and use the new function above
12073 in place of an old one.
12074
27de4e20
DD
120752011-08-28 Deniz Dogan <deniz@dogan.se>
12076
12077 * net/rcirc.el (rcirc-insert-prev-input)
12078 (rcirc-insert-next-input): Remove unused argument.
12079
356a3681
SM
120802011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12083
3fc9b218
AM
120842011-08-27 Alan Mackenzie <acm@muc.de>
12085
12086 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12087 handle function pointer parameters properly.
12088
538a061c
MR
120892011-08-27 Martin Rudalics <rudalics@gmx.at>
12090
12091 * window.el (display-buffer-reuse-window): Fix case where
12092 selected window was reused with non-nil OTHER-WINDOW argument.
12093 (Bug#9381)
12094
35b1c40c
DD
120952011-08-27 Deniz Dogan <deniz@dogan.se>
12096
12097 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12098 oftc's NickServ messages.
12099
2f6a3e79
GM
121002011-08-27 Glenn Morris <rgm@gnu.org>
12101
12102 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12103
7254299e
CY
121042011-08-26 Chong Yidong <cyd@stupidchicken.com>
12105
12106 * emacs-lisp/package.el (package-install): Call package-initialize
12107 if called interactively.
12108
f8ccf167
LL
121092011-08-26 Leo Liu <sdl.web@gmail.com>
12110
12111 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12112
3e8cd5ce
JL
121132011-08-25 Juri Linkov <juri@jurta.org>
12114
12115 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12116 `search-whitespace-regexp' (bug#9364).
12117
93eb7113
JL
121182011-08-25 Juri Linkov <juri@jurta.org>
12119
12120 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12121 `regexp-search-ring' to their global values to protect from
12122 updating by `read-from-minibuffer' (bug#9185).
12123
f65d1611
JL
121242011-08-25 Juri Linkov <juri@jurta.org>
12125
12126 * textmodes/ispell.el (ispell-command-loop): Add newline
12127 at the end of the "Use option `i'..." line.
12128
f1cf7a31
JL
121292011-08-25 Juri Linkov <juri@jurta.org>
12130
12131 * battery.el (display-battery-mode): If `battery-status-function'
12132 or `battery-mode-line-format' is nil, display the message and set
12133 `display-battery-mode' to nil (bug#9363).
12134
0c95fcf7
EZ
121352011-08-25 Eli Zaretskii <eliz@gnu.org>
12136
12137 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12138 bidi-string-mark-left-to-right; they are unnecessary now.
12139
a2ebe600
DD
121402011-08-25 Deniz Dogan <deniz@dogan.se>
12141
12142 * net/quickurl.el: Documentation typo fixes.
12143
e4ed06f1
CY
121442011-08-25 Chong Yidong <cyd@stupidchicken.com>
12145
12146 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12147
e5f1c99e
GM
121482011-08-25 Glenn Morris <rgm@gnu.org>
12149
b2948976
GM
12150 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12151
e5f1c99e
GM
12152 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12153 (smtpmail-via-smtp): Handle nil response from smtp.
12154
f22f4808
JL
121552011-08-24 Juri Linkov <juri@jurta.org>
12156
12157 * proced.el (proced-marked): Inherit from `error' instead of
12158 `font-lock-warning-face'.
12159
12160 * ibuffer.el (ibuffer-marked-face): Change default face from
12161 `font-lock-warning-face' to `warning'.
12162 (ibuffer-deletion-face): Change default face from
12163 `font-lock-type-face' to `error'.
12164
12165 * battery.el (battery-update): Use the face `error' instead of
12166 `font-lock-warning-face' (bug#6117).
12167
6a93965e
JL
121682011-08-24 Juri Linkov <juri@jurta.org>
12169
12170 * faces.el (success): Change face color from "Green3" to
12171 "ForestGreen" on light background (bug#9353).
12172
1ed43b09
CY
121732011-08-24 Chong Yidong <cyd@stupidchicken.com>
12174
5664fa7b
RT
12175 * window.el (quit-window): Rename from quit-restore-window.
12176 Use same arglist as old quit-window.
1ed43b09
CY
12177 (frame-auto-delete): Doc fix.
12178
12179 * view.el (view-mode-exit): Use quit-window.
12180
11dcdbb2
JL
121812011-08-24 Juri Linkov <juri@jurta.org>
12182
12183 * isearch.el (isearch-ring-adjust1): Start visiting previous
12184 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12185 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12186 for empty search string (when the last search string is reused
12187 automatically) to adjust the isearch ring to the last element and
12188 prepare the correct index for further M-p commands (bug#9185).
12189
de62b4df
KH
121902011-08-24 Kenichi Handa <handa@m17n.org>
12191
12192 * international/ucs-normalize.el: If decomposition property of
12193 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12194 nil.
12195 (nfd, nfkd): Likewise.
12196
963b492b
SM
121972011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12200 from process filters aren't reliably transmitted to the surrounding
12201 accept-process-output.
12202 (mpc-proc-check): New function.
12203 (mpc-proc-sync): Use it (bug#8293)
12204
93b6b5e1
SM
122052011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12206
12207 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12208 Add compatibility functions (bug#9313).
12209
bca633fb
EZ
122102011-08-23 Eli Zaretskii <eliz@gnu.org>
12211
b177498a
EZ
12212 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12213
6df6ae42 12214 * international/uni-bidi.el: Regenerate.
bca633fb 12215
0902a04e
KH
122162011-08-23 Kenichi Handa <handa@m17n.org>
12217
12218 * international/charprop.el:
12219 * international/uni-bidi.el:
12220 * international/uni-category.el:
12221 * international/uni-combining.el:
12222 * international/uni-comment.el:
12223 * international/uni-decimal.el:
12224 * international/uni-decomposition.el:
12225 * international/uni-digit.el:
12226 * international/uni-lowercase.el:
12227 * international/uni-mirrored.el:
12228 * international/uni-name.el:
12229 * international/uni-numeric.el:
12230 * international/uni-old-name.el:
12231 * international/uni-titlecase.el:
12232 * international/uni-uppercase.el: Regenerate.
12233
3bbf23bc
MR
122342011-08-23 Martin Rudalics <rudalics@gmx.at>
12235
12236 * help.el (help-window-setup): Fix message displayed when other
12237 window is reused. (Bug#9341)
12238
b3fd59bd
SM
122392011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12240
1802e444
SM
12241 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12242 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12243
b3fd59bd
SM
12244 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12245 Mark obsolete.
12246 * shell.el (shell-parse-pcomplete-arguments): New function.
12247 (shell-completion-vars): Use it instead (bug#9160).
12248
4eb61348
SM
122492011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12250
867cab74
SM
12251 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12252 strings and comments (bug#9333).
12253
4eb61348
SM
12254 * emacs-lisp/debug.el (debug-arglist): New function.
12255 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12256 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12257
262a1439
JL
122582011-08-22 Juri Linkov <juri@jurta.org>
12259
56ee679c
JL
12260 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12261 Revert regexp that highlights output switches to its old
12262 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12263
262a1439
JL
12264 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12265 to check for empty output (bug#9226).
12266
f13f86fb
CY
122672011-08-22 Chong Yidong <cyd@stupidchicken.com>
12268
12269 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12270 symbol-constituent as the default, as that stops font-lock from
12271 working properly (Bug#8843).
12272
c65c9622
LMI
122732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12274
12275 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12276 `coding-system-for-*' around the process open call to avoid
12277 auth-source side effects.
e7f2c178 12278 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12279 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12280 probe hangs.
c65c9622 12281
23a8a5ab
CY
122822011-08-21 Chong Yidong <cyd@stupidchicken.com>
12283
ff98b2dd
CY
12284 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12285
23a8a5ab
CY
12286 * emacs-lisp/find-func.el (find-function-noselect): New arg
12287 lisp-only.
12288
12289 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12290 signal an error for built-in functions (Bug#6664).
12291
f5e3c598
LMI
122922011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12293
12294 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12295 (smtpmail-try-auth-methods): Use it.
12296
a3f2468a
CY
122972011-08-21 Chong Yidong <cyd@stupidchicken.com>
12298
2c34e8da
CY
12299 * font-lock.el (font-lock-fontify-region)
12300 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12301 (font-lock-default-unfontify-buffer)
12302 (font-lock-default-fontify-region)
12303 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12304
b3fd59bd
SM
12305 * progmodes/compile.el (compilation-error-properties):
12306 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12307 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12308 `ant' regexp.
ee31aabc 12309
a3f2468a
CY
12310 * net/browse-url.el (browse-url-firefox): Don't call
12311 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12312
8e999f70
GM
123132011-08-20 Glenn Morris <rgm@gnu.org>
12314
c21a496a
GM
12315 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12316
59ee0542
GM
12317 * tutorial.el (tutorial--default-keys): Update some default bindings.
12318
8e999f70
GM
12319 * files.el (hack-local-variables): Fully ignore case for "mode:".
12320
e3715033
AM
123212011-08-20 Alan Mackenzie <acm@muc.de>
12322
12323 Resolve invalid use of a regexp in regexp-opt.
12324
4d61f28d
JB
12325 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12326 detection for a java annotation.
e3715033 12327
4d61f28d 12328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12329 detection for a java annotation.
12330
4d61f28d
JB
12331 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12332 handling for java.
e3715033
AM
12333 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12334
04ed2e9c
CY
123352011-08-20 Chong Yidong <cyd@stupidchicken.com>
12336
12337 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12338 (Bug#9274).
12339
826cee64
AM
123402011-08-20 Alan Mackenzie <acm@muc.de>
12341
58179cce 12342 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12343 such a construct. Mainly for when jit-lock etc. starts a chunk
12344 here.
12345
58179cce 12346 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12347 variable.
58179cce 12348 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12349 c-make-font-lock-search-function.
12350 (c-make-font-lock-search-function): Use the above function.
12351 (c-make-font-lock-context-search-function): New function.
12352 (c-cpp-matchers): Enhance the preprocessor expression case with
12353 the above function
12354 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12355 which takes an expression.
12356
12357 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12358
13009bd8
MR
123592011-08-20 Martin Rudalics <rudalics@gmx.at>
12360
12361 * window.el (display-buffer-reuse-window)
12362 (display-buffer-pop-up-window): Don't reuse or split a side
12363 window.
12364
9234ff7f
GM
123652011-08-19 Glenn Morris <rgm@gnu.org>
12366
12367 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12368 Downcase "Mode:". (Bug#9331)
9234ff7f 12369
f635daa1
CY
123702011-08-18 Chong Yidong <cyd@stupidchicken.com>
12371
12372 * international/characters.el: Add L and R categories.
12373
12374 * subr.el (bidi-string-mark-left-to-right): Rename from
12375 string-mark-left-to-right. Use category search.
12376
12377 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12378
bc987f8b
JL
123792011-08-18 Juri Linkov <juri@jurta.org>
12380
12381 * faces.el (error, warning, success): New faces with definitions
12382 copied from old default values of `font-lock-warning-face',
12383 `compilation-warning', `compilation-info' (bug#6117).
12384
12385 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12386
12387 * progmodes/compile.el (compilation-error): Inherit from `error'.
12388 (compilation-warning): Inherit from `warning'.
12389 (compilation-info): Inherit from `success'.
12390
12391 * dired.el (dired-marked): Inherit from `warning'.
12392 (dired-flagged): Inherit from `error'.
12393
57173b96
LMI
123942011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12395
3e79eb87
LMI
12396 * mail/smtpmail.el (auth-source): Require to avoid problems with
12397 binding variables (bug#9298). Also clean up some unused
12398 autoloads.
12399
b3fd59bd
SM
12400 * net/network-stream.el (network-stream-open-starttls):
12401 Support using starttls.el without using gnutls-cli.
57173b96 12402
02b404de
JL
124032011-08-17 Juri Linkov <juri@jurta.org>
12404
12405 * progmodes/grep.el (rgrep): Handle the case when
12406 `grep-find-command' is a cons cell (bug#9278).
12407
8c9177f2
MR
124082011-08-17 Martin Rudalics <rudalics@gmx.at>
12409
12410 * window.el (display-buffer-pop-up-frame): Run frame creation
12411 function with BUFFER current (as special-display-popup-frame
12412 does). Reported by Drew Adams.
12413
3644a0ab
DU
124142011-08-17 Daiki Ueno <ueno@unixuser.org>
12415
12416 * epa-mail.el: Simplify GnuPG group expansion using
12417 epg-expand-group.
12418 (epa-mail-group-alist, epa-mail-group-modtime)
12419 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12420 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12421 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12422 Remove.
12423
5e617bc2 124242011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12425
12426 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12427
9c4aeabf
AM
124282011-08-16 Alan Mackenzie <acm@muc.de>
12429
12430 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12431 Correct, to avoid the inside of macros.
12432
3a99bf64
RS
124332011-08-16 Richard Stallman <rms@gnu.org>
12434
04963aa8
RS
12435 * epa-mail.el: Handle GnuPG group definitions.
12436 (epa-mail-group-alist, epa-mail-group-modtime)
12437 (epa-mail-gnupg-conf-file): New variables.
12438 (epa-mail-parse-groups, epa-mail-sync-groups)
12439 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12440 (epa-mail-expand-recipients): New functions.
12441 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12442
177549d0
RS
12443 * mail/rmail.el (rmail-epa-decrypt): New command.
12444
fe38beef
RS
12445 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12446 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12447 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12448 (epa-decrypt-armor-in-region): Make error message clearer.
12449
934eacb9
SM
124502011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12453 and "a2b" to "ab" for `prefix'.
12454
d024fb4e
CY
124552011-08-14 Chong Yidong <cyd@stupidchicken.com>
12456
12457 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12458 filter groups.
de148fee
CY
12459 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12460 Fourquet (Bug#8804).
d024fb4e 12461
62f1ca49
JB
124622011-08-12 Juanma Barranquero <lekktu@gmail.com>
12463
12464 * startup.el (argi): Declare as global variable (bug#9275).
12465
9ccaaa4b
CY
124662011-08-12 Chong Yidong <cyd@stupidchicken.com>
12467
12468 * subr.el (string-mark-left-to-right): Search the entire string
12469 for RTL script, not just the terminating character. Doc fix.
12470
a3dae87a
SM
124712011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12472
6cd18349
SM
12473 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12474 New function.
12475 (js--regexp-literal, js-syntax-propertize-function): Remove.
12476 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12477 (js-mode-map): Don't rebind electric keys.
12478 (js-insert-and-indent): Remove.
12479 (js-mode): Setup electric-layout and electric-indent instead.
12480
a3dae87a
SM
12481 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12482
9d5cb631
DU
124832011-08-12 Daiki Ueno <ueno@unixuser.org>
12484
12485 * epa.el (epa-progress-callback-function): Fix the logic of
12486 displaying progress.
12487 * epa-file.el (epa-file-insert-file-contents): Make progress
12488 display more user-friendly.
12489 (epa-file-write-region): Ditto.
12490
3e26a4a2
CY
124912011-08-10 Chong Yidong <cyd@stupidchicken.com>
12492
12493 * subr.el (string-mark-left-to-right): New function.
12494
12495 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12496 Use string-mark-left-to-right.
12497 (list-buffers-noselect): Caller changed.
12498
a3dae87a
SM
12499 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12500 Use string-mark-left-to-right.
3e26a4a2
CY
12501 (tabulated-list-print): Recenter after moving point.
12502
ac8cf6e6
JL
125032011-08-10 Juri Linkov <juri@jurta.org>
12504
12505 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12506 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12507 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12508
8d96c9a4
CY
125092011-08-09 Chong Yidong <cyd@stupidchicken.com>
12510
12511 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12512 (Bug#7554).
12513
7be1c708 125142011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12515
12516 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12517 character. (Bug#6594)
12518
37e11a63
CY
125192011-08-08 Chong Yidong <cyd@stupidchicken.com>
12520
839dde57
CY
12521 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12522 (image-dired--with-db-file): New macro.
12523 (image-dired-write-tags, image-dired-remove-tag)
12524 (image-dired-create-gallery-lists, image-dired-write-comments)
12525 (image-dired-get-comment, image-dired-mark-tagged-files)
12526 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12527 (image-dired-gallery-generate): Use insert-file-contents.
12528
37e11a63
CY
12529 * time.el (display-time-world-list, display-time-world-display):
12530 * time-stamp.el (time-stamp-string):
12531 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12532 set-time-zone-rule (Bug#7337).
12533
0b4946c4
DU
125342011-08-08 Daiki Ueno <ueno@unixuser.org>
12535
12536 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12537 (epg-error-to-string, epg-errors-to-string): New function.
12538 (epg-wait-for-completion): Reverse errors list.
12539 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12540 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12541 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12542 (epg-sign-keys, epg-generate-key-from-file)
12543 (epg-generate-key-from-string): Format errors by using
12544 epg-errors-to-string (bug#9255).
12545 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12546
75bfc667
JL
125472011-08-07 Juri Linkov <juri@jurta.org>
12548
12549 * faces.el (list-faces-display): Remove extra angle bracket
12550 from `help-mode-map'.
12551
12552 * info.el (Info-history-toc-nodes): Doc fix.
12553
12554 * longlines.el (longlines-mode): Doc fix.
12555
673e08bb
SM
125562011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12557
4640dd88
SM
12558 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12559 of statements and in a few more cases (bug#9183).
12560
673e08bb
SM
12561 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12562 New functions.
12563 (cl-transform-lambda): Use them (bug#9239).
12564
89b3f019
MR
125652011-08-05 Martin Rudalics <rudalics@gmx.at>
12566
12567 * window.el (display-buffer-same-window)
12568 (display-buffer-same-frame, display-buffer-other-window)
12569 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12570 (pop-to-buffer-other-window)
12571 (pop-to-buffer-same-frame-other-window)
12572 (pop-to-buffer-other-frame): Make them defuns.
12573 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12574
640c8776
SM
125752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * subr.el (make-composed-keymap): Move from C. Change calling
12578 convention, and improve docstring to bring attention to a subtle point.
12579 * minibuffer.el (completing-read-default): Adjust accordingly.
12580
63648a95
MA
125812011-08-03 Michael Albinus <michael.albinus@gmx.de>
12582
12583 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12584 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12585
12586 * net/trampver.el: Update release number.
12587
b796c9b7
SM
125882011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12591 "in" (bug#9190).
12592
2239d7d5
LMI
125932011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12594
e07dd7c3
LMI
12595 * mail/sendmail.el (sendmail-query-once): Restore the current
12596 buffer after querying (bug#9074).
12597
0e6a2bd7
LMI
12598 * dired.el (dired-flagged): Use different faces for marked and
12599 flagged files (bug#6117).
12600
ce887515
LMI
12601 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12602 (bug#4433).
12603
92f2affc
LMI
12604 * ido.el (ido-mode): Switch off the message if called
12605 non-interactively.
12606
57d5aff0
LMI
12607 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12608 before 587, since it appears that that's more likely to work for
12609 more people.
12610
98cd6c18 12611 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12612 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12613 exist.
12614
b96dec83
LMI
12615 * info.el: Remove the `Info-beginning-of-buffer' function
12616 (bug#8325).
12617
b796c9b7
SM
12618 * net/network-stream.el (network-stream-open-starttls):
12619 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12620
d90e2ea0
MR
126212011-08-01 Martin Rudalics <rudalics@gmx.at>
12622
12623 * window.el (display-buffer-in-window): Don't set dedicated status
12624 of window here (Bug#9215).
12625 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12626 (display-buffer-pop-up-side-window)
b796c9b7 12627 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12628
cca09170
SM
126292011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12632 before binding generated-autoload-file.
12633
027b979c
DD
126342011-08-01 Deniz Dogan <deniz@dogan.se>
12635
12636 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12637
3c7ee4f3
MA
126382011-07-30 Michael Albinus <michael.albinus@gmx.de>
12639
12640 Sync with Tramp 2.2.2.
12641
12642 * net/trampver.el: Update release number.
12643
2cc8e51a
JL
126442011-07-30 Juri Linkov <juri@jurta.org>
12645
12646 * dired-aux.el (dired-touch-initial): Remove function.
12647 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12648 current time, and `default' to the last modification time of the
12649 current marked file (bug#6887).
12650
a514d856
JM
126512011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12652
12653 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12654 numeric argument to read-number (bug#9163).
a514d856 12655
8a7eddd7
MA
126562011-07-27 Michael Albinus <michael.albinus@gmx.de>
12657
12658 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12659 connection process, it could be nil.
12660
1ddd96f5
LL
126612011-07-27 Leo Liu <sdl.web@gmail.com>
12662
12663 Simplify url handling in rcirc-mode.
12664
12665 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12666 (rcirc-browse-url-at-mouse): Remove.
12667 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12668
b248a85d
AM
126692011-07-26 Alan Mackenzie <acm@muc.de>
12670
12671 Fontify bitfield declarations properly.
12672
12673 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12674 (c-symbol-chars): Now exported as a lang variable.
12675 (c-not-primitive-type-keywords): New lang variable.
12676
12677 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12678 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12679 parsed as a bitfield declaration.
b248a85d 12680
b796c9b7
SM
12681 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12682 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12683 (c-punctuation-in): New function.
12684 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12685 declarations properly.
12686
68575ab0
UJ
126872011-07-26 Ulf Jasper <ulf.jasper@web.de>
12688
12689 * calendar/icalendar.el (icalendar--all-events): Take care of
12690 multiple vcalendars in a single file.
b796c9b7 12691 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12692
0f0a88b9
DD
126932011-07-25 Deniz Dogan <deniz@dogan.se>
12694
12695 * image.el (insert-image): Clarifying docstring.
12696
0b3f36df
MA
126972011-07-24 Michael Albinus <michael.albinus@gmx.de>
12698
12699 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12700 `tramp-send-command-and-check' if there is no error.
12701 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12702
a9901f61
AM
127032011-07-22 Alan Mackenzie <acm@muc.de>
12704
12705 Prevent cc-langs.elc being loaded at run time.
12706
12707 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12708 cc-langs.
12709
4d61f28d 12710 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12711 "(require 'cc-langs)". Quote a form so it will evaluate at
12712 (cc-mode's) compilation time.
12713
11d074b2
MA
127142011-07-22 Michael Albinus <michael.albinus@gmx.de>
12715
12716 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12717 loading. (Bug#9114)
12718
938b94c8
MR
127192011-07-21 Martin Rudalics <rudalics@gmx.at>
12720
12721 * window.el (display-buffer-pop-up-window)
12722 (display-buffer-pop-up-side-window)
12723 (display-buffer-in-side-window): Call display-buffer-set-height
12724 and display-buffer-set-width after setting the new window's
b796c9b7 12725 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12726
bfa4f190
SS
127272011-07-20 Sam Steingold <sds@gnu.org>
12728
12729 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12730 (etags-tags-included-tables): Call `convert-standard-filename' on
12731 the file names contained in TAGS so that windows Emacs can handle
12732 TAGS files created by cygwin ctags.
12733
8ca42262
LMI
127342011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12735
12736 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12737 which apparently didn't work.
12738
5db2afd2 127392011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12740
5db2afd2
RW
12741 * proced.el (proced-send-signal): For *Marked Processes* buffer
12742 put point at beginning of buffer.
12743
92e15d10
SB
127442011-07-19 Stephen Berman <stephen.berman@gmx.net>
12745
12746 * proced.el (proced-format): Make header lines align with the text
12747 (bug#1779).
12748
1bfd59e5
LMI
127492011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12750
12751 * view.el (view-buffer): Allow running in `special' modes if we're
12752 visiting a file (bug#8615).
12753
f5aae37c
MR
127542011-07-19 Martin Rudalics <rudalics@gmx.at>
12755
12756 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12757 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12758 New functions.
f5aae37c
MR
12759 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12760 more accurately.
12761
bf2c1571
AM
127622011-07-18 Alan Mackenzie <acm@muc.de>
12763
12764 Fontify declarators properly when, e.g., a jit-lock chunk begins
12765 inside a declaration.
12766
12767 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12768
b796c9b7
SM
12769 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12770 New function.
bf2c1571
AM
12771 (c-complex-decl-matchers): Insert reference to
12772 c-font-lock-enclosing-decls.
12773
12774 * progmodes/cc-engine.el (c-backward-single-comment):
12775 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12776 to nil around calls to (forward-comment -1).
12777
4e190b80
LMI
127782011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12779
12dc863d
LMI
12780 * image.el (put-image): Doc typo fix.
12781
a762e966
LMI
12782 * progmodes/etags.el (tags-search): Doc typo fix.
12783
4e190b80
LMI
12784 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12785 password if we get errors 550 to 554.
12786
f019fb21
LMI
127872011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12788
b796c9b7 12789 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12790
81746738
LMI
12791 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12792 indentation character (bug#6380).
12793
3ee3a1b5
LMI
12794 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12795
c82f64de
LMI
12796 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12797 to clarify what the problem is (bug#4291).
12798
f019fb21
LMI
12799 * simple.el (current-kill): Clarify what
12800 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12801 (auto-fill-mode): Document `auto-fill-function' in relation to
12802 `auto-fill-mode' (bug#2470).
f019fb21 12803
0794775d
LM
128042011-07-16 Lawrence Mitchell <wence@gmx.li>
12805
12806 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12807 method if slot is read-only (bug#9035).
12808
be39b8cc
MR
128092011-07-16 Martin Rudalics <rudalics@gmx.at>
12810
b796c9b7 12811 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12812 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12813 selected before, see discussion of (Bug#8615), (Bug#6954).
12814 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12815
6ccf7859
GM
128162011-07-15 Glenn Morris <rgm@gnu.org>
12817
12818 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12819 Respect help-form.
6ccf7859 12820
87e86684
LM
128212011-07-09 Lawrence Mitchell <wence@gmx.li>
12822
12823 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12824 (gnutls-negotiate): Use it.
12825
d6066239
LMI
128262011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12827
b796c9b7
SM
12828 * net/gnutls.el (gnutls-negotiate):
12829 Upcase `gnutls-algorithm-priority'.
d6066239 12830
bd23ebc0
GM
128312011-07-15 Glenn Morris <rgm@gnu.org>
12832
c65bca65
GM
12833 * jka-compr.el (jka-compr-verbose): Move from here...
12834 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12835 Add missing :version tag.
12836 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12837
478615cc
LMI
128382011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12839
7b41decb
LMI
12840 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12841 (gnutls-negotiate): Use it.
12842
dbc44fcd
LMI
12843 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12844
06789f97
LMI
12845 * info.el (Info-beginning-of-buffer): New command.
12846 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12847 announcing `b' as the key (bug#8325).
ab896c37 12848 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12849
c39da690
LMI
12850 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12851
3aa5f34b
LMI
12852 * international/mule-cmds.el
12853 (describe-specified-language-support): Make the error message
12854 clearer (bug#8905).
12855
4bf0979f
LMI
12856 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12857
478615cc
LMI
12858 * isearch.el (isearch-barrier): Add a doc string, since it's
12859 mentioned in a function doc string (bug#8678).
12860
75c68aa1
MR
128612011-07-15 Martin Rudalics <rudalics@gmx.at>
12862
12863 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12864 buffer argument (Bug#9083) and self-identifying label argument.
12865
a7c33da2
GM
128662011-07-15 Glenn Morris <rgm@gnu.org>
12867
12868 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12869
2f5c6024
LMI
128702011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12871
12872 * man.el (Man-fontify-manpage): Fix message when formatting the
12873 man page (bug#7929).
12874
0bb23927 128752011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12876
12877 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12878 argument LRM; if non-nil, append an invisible LRM character to the
12879 buffer name.
12880 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12881 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12882 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12883 paragraph direction.
cce4b0a7 12884
621ef9ab
LMI
128852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12886
d1583c48
LMI
12887 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12888 the man page name (bug#7929).
12889
6a57fb5f
LMI
12890 * image.el (put-image): Mention the `put-image' overlay property
12891 (bug#7834).
12892
d7956b14
LMI
12893 * scroll-bar.el (set-scroll-bar-mode): Mention that
12894 `scroll-bar-mode' lists the values (bug#7772).
12895
5b2d4a66
LMI
12896 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12897 command (bug#7729).
12898
7509a874
LMI
12899 * rect.el (apply-on-rectangle): Return the point after the last
12900 operation.
12901 (string-rectangle): Go to the point after the last operation
12902 (bug#7522).
12903
4fe74b19
LMI
12904 * printing.el (pr-toggle-region): Clarify the documentation
12905 slightly (bug#7493).
12906
b796c9b7
SM
12907 * time.el (display-time-update):
12908 Allow `display-time-mail-function' to return nil (bug#7158).
12909 Fix suggested by Detlev Zundel.
ab283561 12910
fc233c9d
LMI
12911 * vc/diff.el (diff): Clarify the order the file names are read
12912 (bug#7111).
12913
43f5740b
LMI
12914 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12915 the doc string (bug#7015).
12916
f2182a76
LMI
12917 * font-lock.el (font-lock-maximum-decoration): Mention what
12918 numeric levels mean (bug#6935).
12919
621ef9ab
LMI
12920 * startup.el (initial-buffer-choice): Don't mention the `none'
12921 selection, which is against policy.
12922
adc47434
MR
129232011-07-14 Martin Rudalics <rudalics@gmx.at>
12924
b796c9b7
SM
12925 * window.el (display-buffer-normalize-special):
12926 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12927
7e5bfb8f
EZ
129282011-07-14 Eli Zaretskii <eliz@gnu.org>
12929
12930 * subr.el (version<, version<=, version=): Mention "-CVS" and
12931 "-12345" alpha version numbers.
12932
27fa387a
CY
129332011-07-14 Chong Yidong <cyd@stupidchicken.com>
12934
12935 * bindings.el: Add advertised binding for set-mark-command
12936 (Bug#5772).
12937
8bdfa064
CY
129382011-07-14 Chong Yidong <cyd@stupidchicken.com>
12939
12940 * bindings.el (mode-line-other-buffer):
12941 * bookmark.el (bookmark-bmenu-2-window):
12942 * bs.el (bs-cycle-next, bs-cycle-previous):
12943 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12944 switch-to-buffer.
12945
12946 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12947 Delete.
8bdfa064 12948
5eba16a3
JB
129492011-07-14 Juanma Barranquero <lekktu@gmail.com>
12950
12951 * follow.el (follow-debug-message, follow-redisplay):
12952 * jka-cmpr-hook.el (with-auto-compression-mode):
12953 Fix typos in docstrings.
12954
15853710
LMI
129552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12956
a28e4607
LMI
12957 * subr.el (with-silent-modifications): Clarify somewhat what the
12958 macro inhibits (bug#6525).
12959
15853710
LMI
12960 * simple.el (eval-expression): Note what it does if called
12961 interactively (bug#6495).
12962
bee0fcef
CY
129632011-07-13 Chong Yidong <cyd@stupidchicken.com>
12964
b796c9b7
SM
12965 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12966 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12967
12968 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12969 Remove switch-to-buffer.
12970
58274504
LMI
129712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12972
bd2fcc8d
LMI
12973 * files.el (make-directory): Clarify that an error will be raised
12974 if there's an error (bug#6397).
12975
0f04b32c
LMI
12976 * startup.el (initial-buffer-choice): Add `none' as a choice
12977 (bug#6234).
12978
465c5fc8
LMI
12979 * subr.el (add-hook): Clarify section about buffer-local hooks
12980 (bug#6218).
12981
58274504
LMI
12982 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12983
bead9a43
JB
129842011-07-13 Juanma Barranquero <lekktu@gmail.com>
12985
12986 * tabify.el (untabify): Preserve the current column so that point
12987 doesn't move (bug#6032).
12988
3af98a7b
LMI
129892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12990
b796c9b7
SM
12991 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12992 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12993
6240145a
GM
129942011-07-13 Glenn Morris <rgm@gnu.org>
12995
12996 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12997 (dired-insert-directory): Give a message the first time
12998 if ls is found not to support --dired.
12999
1d8c2ccc
LMI
130002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13001
13002 * simple.el (toggle-truncate-lines): Clarify what is toggled
13003 (bug#5580). Text by Drew Adams.
13004
5fc4038e
CY
130052011-07-13 Chong Yidong <cyd@stupidchicken.com>
13006
13007 * simple.el (blink-matching-open): Make the error message from the
13008 last change less verbose.
13009
bf6012e5
DN
130102011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13011
13012 * font-lock.el (font-lock-comment-face): Use the high contrast
13013 "yellow" color for font-lock-comment-face on low color terminals
13014 using a dark background color (bug#4221).
13015
343c3b5a
LMI
130162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13017
7e9505c5
LMI
13018 * dired.el (dired-insert-set-properties): Make the doc string
13019 reflect what it does now (bug#5325).
13020
c26fdcf5
LMI
13021 * simple.el (blink-matching-open): Say that we were unable to find
13022 the match within the limit, if we're limited (bug#5122).
13023
bb388cc5
LMI
13024 * international/mule-cmds.el (prefer-coding-system): Add an
13025 example (bug#4869).
13026
343c3b5a
LMI
13027 * progmodes/etags.el (tags-search): Document `file-list-form'
13028 (bug#4731).
13029
2a517d45
LM
130302011-07-13 Lawrence Mitchell <wence@gmx.li>
13031
13032 * net/browse-url.el (browse-url-default-browser)
13033 (browse-url-browser-function): Make the default browser choice a
13034 bit more logical (bug#4300). Also clean up the doc string.
13035
b6c78ef2
JB
130362011-07-13 Juanma Barranquero <lekktu@gmail.com>
13037
13038 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13039 binary endings (bug#4440).
13040
1c4dd947
LMI
130412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13042
a2014063
LMI
13043 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13044 which can be pretty annoying (bug#8971).
13045
9c9c2d88
LMI
13046 * jka-compr.el (jka-compr-verbose): New variable, and use
13047 throughout (bug#8971).
13048
1c4dd947
LMI
13049 * info.el (Info-find-file): Fall back on the installation
13050 directory if we can't find the info node anywhere else.
13051
a1c9f41b
SO
130522011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13053
13054 * vc/vc.el (vc-revert-file):
13055 Don't set file time-stamp in the past. (Bug#5181)
13056
536f3d36
LMI
130572011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13058
7152b011
LMI
13059 * files.el (after-find-file): Give a better error message when
13060 trying to find a symlink that points to a file that doesn't exist
13061 (bug#4398).
13062
536f3d36
LMI
13063 * progmodes/cc-vars.el: Remove (probably) misleading comment
13064 (bug#4396).
13065
460c0fba
JB
130662011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
13067
13068 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13069
7a6bda45
CY
130702011-07-12 Chong Yidong <cyd@stupidchicken.com>
13071
13072 * mouse-sel.el: Hack restoring functionality, while keeping
13073 compatibility with 2010-07-03 changes to mouse selection.
13074 (mouse-sel-primary-overlay): New var.
13075 (mouse-sel-selection-alist): Use it.
13076 (mouse-sel-mode): Doc fix; remove points that are default features
13077 of mouse.el.
13078
c79598ef
JB
130792011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
13080
13081 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13082 Fix previous fix (bug#2490).
13083
ff8be6ef
RW
130842011-07-12 Roland Winkler <winkler@gnu.org>
13085
b796c9b7
SM
13086 * textmodes/bibtex.el (bibtex-initialize):
13087 Use pop-to-buffer-same-window.
ff8be6ef
RW
13088 (bibtex-search-entries): Fix interactive call.
13089
296ba3ee
LMI
130902011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13091
f5242a02 13092 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13093 Fontise bytecomp Error lines more correctly (bug#2490).
13094 Fix suggested by Johan BockgĂ¥rd.
f5242a02 13095
296ba3ee
LMI
13096 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13097
13098 * dired-x.el (dired-guess-default): Use `delete-dups'.
13099
f69fd0d2
CY
131002011-07-12 Chong Yidong <cyd@stupidchicken.com>
13101
13102 * dired.el (dired-mark-prompt):
13103 * dired-aux.el (dired-read-shell-command): Doc fix.
13104
eab5dc07
LMI
131052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13106
b796c9b7
SM
13107 * mail/sendmail.el (sendmail-query-once):
13108 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13109 emacs -Q.
13110
13111 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13112
eab5dc07
LMI
13113 * cus-edit.el (custom-file): Take an optional no-error variable.
13114 (customize-save-variable): Set the variable, and give a warning if
13115 running under "emacs -q".
13116
a1e65d42
JB
131172011-07-11 Juanma Barranquero <lekktu@gmail.com>
13118
13119 * loadhist.el (unload-feature-special-hooks):
13120 Add `auto-coding-functions', `fill-nobreak-predicate' and
13121 `find-directory-functions' (bug#5327).
13122
1d52da10
LMI
131232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124
be958f1d
LMI
13125 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13126
5bedb26c
LMI
13127 * cus-edit.el (custom-guess-name-alist): -alist variables should
13128 use the `alist' type (bug#3120). Suggested by Drew Adams.
13129
1d52da10
LMI
13130 * printing.el: Add documentation to all the `pr-toggle-' commands.
13131
cd394be1 131322011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13133
13134 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13135 backends where it makes sense (bug#2623).
13136
dcc88d8a
LMI
131372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13138
c3de9feb
LMI
13139 * dired-x.el (dired-guess-default): Remove duplicate shell command
13140 entries (bug#2028).
8a93078b 13141 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13142 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13143
dcc88d8a
LMI
13144 * subr.el (remove-duplicates): New conveniency function.
13145
505e3645
LMI
131462011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13147
13148 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13149 (bug#1526).
13150
131512011-07-10 Martin Rudalics <rudalics@gmx.at>
13152
13153 * window.el (display-buffer-normalize-default): Don't invert
13154 meaning of even-window-heights. Reported by Eli Zaretskii
13155 <eliz@gnu.org>.
13156
455e4fa1
BR
131572011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13158
13159 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13160
8e0bc3e9
CY
131612011-07-10 Chong Yidong <cyd@stupidchicken.com>
13162
13163 * window.el (display-buffer): Fix arguments to
13164 display-buffer-reuse-window in last change.
13165
fa7c3228
CY
13166 * faces.el (link): Use a less saturated blue on light backgrounds.
13167
13168 * startup.el (fancy-startup-text, fancy-about-text)
13169 (fancy-startup-tail): Use font-lock faces, for background safety.
13170
c0a7f300
BN
131712011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13172
b796c9b7
SM
13173 * emulation/viper-cmd.el (viper-change-state-to-vi):
13174 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13175
4dc2a129
MR
131762011-07-09 Martin Rudalics <rudalics@gmx.at>
13177
13178 * window.el (display-buffer-default-specifiers): Remove.
13179 (display-buffer-macro-specifiers): Remove default specifiers.
13180 (display-buffer-alist): Default to nil.
b796c9b7 13181 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13182 (display-buffer-pop-up-window): Allow splitting internal
13183 windows. Check whether a live window was created.
13184 (display-buffer-other-window-means-other-frame)
13185 (display-buffer-normalize-arguments): Rename to
13186 display-buffer-normalize-argument and rewrite. Set the
13187 other-window specifier.
13188 (display-buffer-normalize-special): New function.
13189 (display-buffer-normalize-options): Rename to
13190 display-buffer-normalize-default and rewrite.
13191 (display-buffer-normalize-options-inhibit): Remove.
13192 (display-buffer-normalize-specifiers): Rewrite.
13193 (display-buffer): Process other-window specifier and call
13194 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13195 more faithfully.
b796c9b7 13196 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13197 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13198 (display-buffer-in-window, display-buffer-alist-set):
13199 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13200 <tassilo@member.fsf.org>.
13201
2d43b8c9
LL
132022011-07-09 Leo Liu <sdl.web@gmail.com>
13203
13204 * register.el (insert-register): Restore accidental change on
13205 2011-06-26. (Bug#9028)
13206
7f9b7c53
GM
132072011-07-09 Glenn Morris <rgm@gnu.org>
13208
13209 * subr.el (remq): Handle the empty list. (Bug#9024)
13210
f042cfd8
AS
132112011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13212
13213 * mail/sendmail.el (send-mail-function): No longer delay custom
13214 initialization.
13215 * custom.el (custom-initialize-delay): Doc fix.
13216
856b2f11
SM
132172011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13220
afae1d68
MA
132212011-07-08 Michael Albinus <michael.albinus@gmx.de>
13222
13223 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13224 human-friendly prompt.
13225
0757af94
SM
132262011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13227
13228 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13229 provided by a particular plugin.
13230
d760b731
LMI
132312011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13232
13233 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13234 save customizations (with "emacs -Q"), just set the variable
13235 instead of erroring out.
13236
13237 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13238
cd79ce90
JL
132392011-07-08 Juri Linkov <juri@jurta.org>
13240
13241 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13242 (archive-zip-update-case): Use 7z if found by `executable-find'.
13243 The order of searching the available programs is the same as in
13244 `archive-zip-extract' (bug#8968).
13245
14cc04aa
CY
132462011-07-07 Chong Yidong <cyd@stupidchicken.com>
13247
13248 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13249 (menu-bar-options-menu): Tweak descriptions.
13250
0a1848ec
LMI
132512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13252
13253 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13254 menu items into verb phrases (bug#1421). Also refill to fit under
13255 80 columns.
13256
f5bd0689
CY
132572011-07-07 Chong Yidong <cyd@stupidchicken.com>
13258
538e85c6
CY
13259 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13260 (Info-read-node-name): Doc fix (Bug#1084).
13261
f5bd0689
CY
13262 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13263 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13264 (end-of-sexp, beginning-of-sexp)
13265 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13266 (forward-symbol, forward-same-syntax, word-at-point)
13267 (sentence-at-point): Doc fix (Bug#1144).
13268
56ec5115
LMI
132692011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13270
f3f8e37f
LMI
13271 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13272 should cover it (bug#1281).
13273
0757af94 13274 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13275
e9fce1ac 13276 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13277 negotiation fails, then possibly try again with a non-encrypted
13278 connection (bug#9017).
13279
56ec5115
LMI
13280 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13281 be used.
13282
c2f9aec8
RS
132832011-07-07 Richard Stallman <rms@gnu.org>
13284
13285 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13286 property, and handle its changed format.
13287 Look for the correct line number.
13288 Use file's line contents (but not past first =) to find
13289 correct line in message.
13290
ef7b981d 132912011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13292
13293 * international/characters.el (build-unicode-category-table):
13294 Delete it.
0757af94 13295 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13296
0757af94 13297 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13298 to src/chartab.c.
13299 (get-char-code-property): Call unicode-property-table-internal to
13300 load a file. Call get-unicode-property-internal where necessary.
13301 (put-char-code-property): Call unicode-property-table-internal to
13302 load a file. Call put-unicode-property-internal where necessary.
13303 put-unicode-property-internal where necessary.
0757af94
SM
13304 (char-code-property-description):
13305 Call unicode-property-table-internal to load a file.
c805dec0
KH
13306
13307 * international/charprop.el:
13308 * international/uni-bidi.el:
13309 * international/uni-category.el:
13310 * international/uni-combining.el:
13311 * international/uni-comment.el:
13312 * international/uni-decimal.el:
13313 * international/uni-decomposition.el:
13314 * international/uni-digit.el:
13315 * international/uni-lowercase.el:
13316 * international/uni-mirrored.el:
13317 * international/uni-name.el:
13318 * international/uni-numeric.el:
13319 * international/uni-old-name.el:
13320 * international/uni-titlecase.el:
13321 * international/uni-uppercase.el: Regenerate.
13322
13323 * loadup.el: Load international/charprop.el before
13324 international/characters.
13325
e14b388a
CY
133262011-07-07 Chong Yidong <cyd@stupidchicken.com>
13327
13328 * window.el (next-buffer, previous-buffer): Signal an error if
13329 called from a minibuffer window.
13330
13331 * bindings.el: Revert 2011-07-04 change.
13332
354cf0ba
RS
133332011-07-06 Richard Stallman <rms@gnu.org>
13334
13335 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13336 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13337 Treat markers like ints.
13338 (rmail-mime-entity): Doc fix.
13339
a48868a7
LMI
133402011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13341
4906cd3d
LMI
13342 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13343 defcustom again for backwards compatibility.
13344
e0457abe
LMI
13345 * simple.el (shell-command-on-region): Fill.
13346
d67f7e1f
LMI
13347 * dired-aux.el (dired-kill-line): Add a doc string.
13348
fe204702
LMI
13349 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13350 to "\\sw\\|\\s_" (bug#358).
13351
a48868a7
LMI
13352 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13353 (dired-unmark-backward): Ditto.
13354 (dired-flag-backup-files): Ditto.
13355
13356 * dired-x.el (dired-mark-sexp): Ditto.
13357
aa8a705c
RS
133582011-07-06 Richard Stallman <rms@gnu.org>
13359
13360 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13361 (rmail-mime-entity): New arg TRUNCATED.
13362 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13363 New functions.
13364 (rmail-mime-save): Warn if entity is truncated.
13365 (rmail-mime-toggle-hidden): Likewise, for showing.
13366 (rmail-mime-process-multipart): Record when an entity is truncated.
13367
a9a936b9
RS
13368 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13369 if ENTITY is a string.
13370
1f2b92cb
LMI
133712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13372
f4f73198 13373 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13374 of faces when `M-C-x'-ing their definitions (bug#8378).
13375 Also clean up the code slightly.
f4f73198 13376
12b16734 13377 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13378 because that makes the colors go away.
12b16734 13379
f0691d22
LMI
13380 * mail/sendmail.el (send-mail-function): Change the default to
13381 `sendmail-query-once'.
9e87df06 13382 (sendmail-query-once): Add an autoload cookie.
f0691d22 13383
1f2b92cb
LMI
13384 * net/network-stream.el (network-stream-open-starttls): Try using
13385 a plain connection even if the server offered STARTTLS, and we
13386 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13387 capability. This should make smtpmail.el work in slightly more
13388 configurations.
13389
1cdd2a1b
MA
133902011-07-06 Michael Albinus <michael.albinus@gmx.de>
13391
13392 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13393 New defun.
13394 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13395
fbcc67e2
MM
133962011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13397
13398 * progmodes/sql.el: Version 3.0
0757af94 13399 (sql-product-alist): Add product :completion-object,
fbcc67e2 13400 :completion-column, and :statement attributes.
0757af94 13401 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13402 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13403 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13404 ansi keywords.
13405 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13406 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13407 (sql-oracle-show-reserved-words): New function for development.
13408 (sql-product-font-lock): Simplify for source code buffers.
13409 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13410 New functions.
13411 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13412 (sql-mode-map): Add statement movement functions.
13413 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13414 New variable.
fbcc67e2
MM
13415 (sql-statement-regexp, sql-beginning-of-statement)
13416 (sql-end-of-statement, sql-signum): New functions.
0757af94 13417 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13418 (sql-show-sqli-buffer): Bug fix.
13419 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13420 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13421 with sql-interactive-mode.
13422 (sql-save-connection): Save buffer local settings.
0757af94 13423 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13424 (sql-product-interactive): Bug fix.
13425 (sql-preoutput-hold): New variable.
13426 (sql-interactive-remove-continuation-prompt): Bug fixes.
13427 (sql-debug-redirect): New variable.
13428 (sql-str-literal): New function.
13429 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13430 Redesign.
fbcc67e2
MM
13431 (sql-oracle-save-settings, sql-oracle-restore-settings)
13432 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13433 (sql-completion-object, sql-completion-column)
13434 (sql-completion-sqlbuf): New variables.
13435 (sql-build-completions-1, sql-build-completions)
13436 (sql-try-completion): New functions.
13437 (sql-read-table-name): Use them.
13438 (sql-contains-names): New buffer local variable.
13439 (sql-list-all, sql-list-table): Use it.
13440 (sql-oracle-completion-types): New variable.
13441 (sql-oracle-completion-object, sql-sqlite-completion-object)
13442 (sql-postgres-completion-object): New functions.
13443
d4eaeab1
GM
134442011-07-06 Glenn Morris <rgm@gnu.org>
13445
13446 * window.el (pop-to-buffer): Doc fix.
13447
322b7dab 134482011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13449
13450 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13451
322b7dab 134522011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13453
322b7dab 13454 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13455
322b7dab 13456 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13457
605dd5bf
CY
134582011-07-05 Chong Yidong <cyd@stupidchicken.com>
13459
13460 * button.el (button): Inherit from link face. Suggested by Dan
13461 Nicolaescu.
13462
7dbfa719
SM
134632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13464
3db614b0
SM
13465 * progmodes/gdb-mi.el: Fit in 80 columns.
13466 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13467 switch-to-buffer.
13468
7dbfa719
SM
13469 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13470 if imenu is simply not configured (bug#8941).
13471
919d884a
KM
134722011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13473
13474 * allout.el (allout-post-undo-hook): New allout outline-change
13475 event hook to signal undo activity.
13476 (allout-post-command-business): Run allout-post-undo-hook if an
13477 undo just occurred.
7dbfa719
SM
13478 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13479 * allout-widgets.el (allout-widgets-after-undo-function):
13480 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13481 in the vicinity of an undo.
13482 (allout-widgets-mode): Include allout-widgets-after-undo-function
13483 on the new allout-post-undo-hook.
13484
450a0f09
SM
134852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13488 Let define-derived-mode define it.
13489 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13490 cycles of abbrev-table inheritance (bug#8998).
13491
2de69e00
RW
134922011-07-05 Roland Winkler <winkler@gnu.org>
13493
13494 * textmodes/bibtex.el: Add support for biblatex.
13495 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13496 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13497 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13498 (bibtex-entry-alist, bibtex-field-alist): New variables.
13499 (bibtex-entry-field-alist): Obsolete alias for
13500 bibtex-BibTeX-entry-alist.
13501 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13502 (bibtex-set-dialect): New command.
13503 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13504 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13505 Bind via bibtex-set-dialect.
2de69e00
RW
13506 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13507 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13508 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13509 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13510 Define via bibtex-set-dialect.
450a0f09
SM
13511 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13512 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13513 (bibtex-vec-push, bibtex-vec-incr): New functions.
13514 (bibtex-format-entry, bibtex-field-list)
13515 (bibtex-print-help-message, bibtex-validate)
13516 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13517
2dcdbdd9
SM
135182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * progmodes/compile.el (compilation-goto-locus):
13521 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13522 * bs.el (bs-cycle-next, bs-cycle-previous):
13523 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13524 * bindings.el (mode-line-other-buffer):
13525 * autoinsert.el (auto-insert):
13526 * arc-mode.el (archive-extract):
13527 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13528
b27640fe
JB
135292011-07-05 Juanma Barranquero <lekktu@gmail.com>
13530
13531 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13532 Fix check of `emacs-lock-unlockable-modes'.
13533 Coerce true values of `emacs-lock--try-unlocking' to t.
13534
53bbe3ad
JB
135352011-07-05 Juanma Barranquero <lekktu@gmail.com>
13536
13537 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13538 * emacs-lock.el: New file.
13539
1d3cdbc7
JD
135402011-07-05 Julien Danjou <julien@danjou.info>
13541
13542 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13543 than `boundp' to check if face is set.
13544
9173deec
JB
135452011-07-05 Juanma Barranquero <lekktu@gmail.com>
13546
13547 * register.el (registerv-make):
13548 * window.el (window-min-height): Fix typos in docstrings.
13549
869795d6
JD
135502011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13551
9173deec 13552 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13553 Update doc string.
13554
b768cdcd
JB
135552011-07-04 Juanma Barranquero <lekktu@gmail.com>
13556
13557 * server.el (server-execute): Catch quit and call
13558 `server-return-error' to pass the error back to emacsclient and
13559 close the connection (bug#8942).
13560
13aa217b
KM
135612011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13562
13563 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13564 insecure exception for current topic. Also note that auto-saves
13565 are handled differently.
13566
5d3385a0 13567 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13568 State variables for tracking auto-save inhibition situation.
13569
13570 (allout-write-contents-hook-handler): Rename from
13571 'allout-write-file-hook-handler', and describe how it depends on
13572 write-contents-functions sensitivity to non-nil value to prevent
13573 file write.
13574
13575 (allout-auto-save-hook-handler): Remove. auto-save does not check
13576 this in individual buffers, only in the starting buffer, so this
13577 is not the right way for us to inhibit auto-save in a buffer
13578 according to its condition.
13579
13580 (allout-mode): Use new allout-write-contents-hook-handler, and
13581 only with write-contents-functions. Remove auto-save provisions -
13582 they're implemented elsewhere.
13583
13584 (allout-before-change-handler): If undo is in progress, note that
13585 for attention of allout-post-command-business.
13586
13587 (allout-post-command-business): If the command we're following was
13588 an undo, check for change in the status of encrypted items and
13589 adjust auto-save inhibitions accordingly.
13590
13591 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13592 according to whether there are or aren't any plain-text topics
13593 pending encryption.
13594
2dcdbdd9 13595 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13596 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13597 if there are plain-text topics pending encryption.
13aa217b
KM
13598
13599 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13600 buffer-saved-size and some allout state to not inhibit auto-saves
13601 if there are no longer any plain-text topics pending encryption.
13602
0757af94
SM
13603 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13604 No longer provide for exemption of the current topic.
13aa217b 13605
ac89b32c
JL
136062011-07-04 Juri Linkov <juri@jurta.org>
13607
13608 Add 7z operations to delete and save changed members (bug#8968).
13609 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13610 New defcustoms.
13611 (archive-7z-write-file-member): New function.
13612 (archive-7z-summarize): Fix the number of dashes in the
13613 listing output.
13614
8fa39615
SM
136152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13616
13617 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13618 (bug#8958).
13619
2f11b3f1
CY
136202011-07-04 Chong Yidong <cyd@stupidchicken.com>
13621
d66fef2b
CY
13622 * bindings.el: Ignore next-buffer and previous-buffer in
13623 minibuffer-local-map.
13624
2f11b3f1
CY
13625 * font-lock.el (font-lock-builtin-face): Change light background
13626 color to dark slate blue (Bug#6693).
13627
f932a347
WD
136282011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13629
13630 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13631
c8af70e1
SM
136322011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13633
13634 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13635 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13636 Add switch-to-buffer.
13637
f158badc
LMI
136382011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13639
13640 * isearch.el (isearch-search-fun-function): Clarify further the
13641 meaning of the function returned.
13642
6d95bd46
MA
136432011-07-04 Michael Albinus <michael.albinus@gmx.de>
13644
13645 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13646
13647 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13648 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13649 Use it.
13650 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13651 `tramp-default-remote-path' does not exist.
13652 (tramp-send-command-and-read): New optional argument NOERROR.
13653 (tramp-open-connection-setup-interactive-shell)
13654 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13655 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13656 (tramp-process-sentinel): Flush also process' connection property.
13657 (tramp-sh-handle-start-file-process): Do not set process
13658 sentinel. It is done now ...
13659 (tramp-maybe-open-connection): ... here. (Bug#8929)
13660
909e6b67
MK
136612011-07-04 MON KEY <monkey@sandpframing.com>
13662
13663 * play/animate.el (animate-string): Doc fixes and allow changing
13664 the buffer name (bug#5417).
13665
136662011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13667
c8af70e1 13668 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13669
f34755dc
PE
136702011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13671
396cec72
PE
13672 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13673 This is simpler and helps future-proof the code.
13674 (timer-until): Use time-subtract and float-time.
08235028 13675 (timer--time-less-p): Use time-less-p.
f34755dc 13676
56e6cc31
JB
136772011-07-04 Juanma Barranquero <lekktu@gmail.com>
13678
3abb79e5
JB
13679 * type-break.el (timep): Use the value of `float-time' to avoid a
13680 byte-compiler warning.
13681
56e6cc31
JB
13682 * server.el (server-eval-and-print): Return any result, even nil.
13683
7b9430b4
PE
136842011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13685
13686 * type-break.el: Accept time formats that the builtins accept.
13687 (timep, type-break-time-difference): Accept any format that
13688 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13689 This is simpler and helps future-proof the code.
13690 (type-break-time-difference): Round rather than ignoring
13691 subseconds components.
13692
3034e9e7
LMI
136932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13694
13695 * info.el (Info-apropos-matches): Make non-interactive, since it
13696 doesn't seem to do anything useful as a command (bug#8829).
13697
1485f4c0
CY
136982011-07-03 Chong Yidong <cyd@stupidchicken.com>
13699
13700 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13701 Move from faces.el.
1485f4c0
CY
13702 (frame-default-terminal-background): New function.
13703
13704 * custom.el (custom-push-theme): Don't record faces in `changed'
13705 theme; this doesn't work correctly for per-frame face settings.
13706 (disable-theme): Use face-set-after-frame-default to reset faces.
13707 (custom--frame-color-default): New function.
13708
9fa3dd45
LMI
137092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13710
c8af70e1 13711 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13712 (bug#8769).
13713
6cbbc20c
KR
137142011-03-29 Kevin Ryde <user42@zip.com.au>
13715
13716 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13717 `perl-Test2' extend to match possible "fail #N" rep count
13718 (bug#8377).
13719
c7f98048
LMI
137202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13721
65676592
LMI
13722 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13723 `smtpmail-via-smtp' now returns the error instead of nil.
13724
c7f98048
LMI
13725 * isearch.el (isearch-search-fun-function): Clarify the doc string
13726 (bug#8101).
13727
56e6cc31 137282011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13729
13730 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13731 unnecessary spaces (bug#8987).
13732
2b216704
LMI
137332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13734
13735 * net/network-stream.el (open-network-stream): Use the
13736 :end-of-capability command thoughout.
13737
137382011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13739
13740 * net/network-stream.el (open-network-stream): Add the
13741 :end-of-capability command parameter, used by pop3.el.
13742
36adf6ce
LMI
137432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13744
1ca0da0e
LMI
13745 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13746
fc00f69c
LMI
13747 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13748 for list)" (bug#6475).
13749
28fd8759 13750 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13751 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13752 an error (bug#6297).
13753
0dd8b6da
LMI
13754 * man.el (Man-reference-regexp): Allow matching possible
13755 word-wrapped references (bug#6289).
13756
ce1438d6
LMI
13757 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13758 for consistency with the other vc buffers (bug#6197).
13759 (vc-checkin): Ditto.
13760
13761 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13762
36adf6ce
LMI
13763 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13764
e83cc1f7
LMI
137652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13766
8a20ca4c
LMI
13767 * custom.el (defcustom): Clarify that :set is only used in the
13768 Customize user interface (bug#6089).
13769
83319045
LMI
13770 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13771 associated with a file, refuse to run instead of erroring out
13772 (bug#6084).
13773
a8392169
LMI
13774 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13775 the doc string, since it appears that using `fill-column' always
13776 controls the width (bug#7845).
13777
e83cc1f7
LMI
13778 * simple.el (shell-command-on-region): Say where the error output
13779 went if `shell-command-default-error-buffer' is set (bug#6857).
13780
e47ca23b
KM
137812011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13782
13783 * allout.el (allout-yank-processing): Adjust cursor position for
13784 backwards-deleted space.
13785
13786 (allout-rebullet-heading): Register changes with
13787 allout-exposure-changed-hook, so the modified topic is properly
13788 decorated.
13789
5cf56143
LMI
137902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13791
08549772
LMI
13792 * minibuffer.el (completion-in-region): Document PREDICATE
13793 (bug#7136).
13794
48e96771
LMI
13795 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13796 of keyword/argument pairs (bug#6904).
13797
c8af70e1
SM
13798 * replace.el (multi-occur):
13799 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13800
e17d05e2
LMI
138012011-07-02 Drew Adams <drew.adams@oracle.com>
13802
13803 * dired.el (dired-mark-if): Make the message about whether it's
13804 marking or unmarking clearer (bug#8523).
13805
063b0e45
LMI
138062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13807
13808 * disp-table.el (display-table-print-array): New function.
13809 (describe-display-table): Use it to print the vectors more pretty
13810 (Bug#8859).
13811
28545e04
MR
138122011-07-02 Martin Rudalics <rudalics@gmx.at>
13813
13814 * window.el (window-state-get-1): Don't assign clone numbers.
13815 Add clone-of item to list of window parameters.
13816 (window-state-put-2): Don't process clone numbers.
13817 (display-buffer-alist): Fix doc-string.
13818
3349e122
SM
138192011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * subr.el (remq): Don't allocate if it's not needed.
13822 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13823 (keymap--merge-bindings): New functions.
13824 (keymap-canonicalize): Use them to refine the canonicalization.
13825 * minibuffer.el (minibuffer-local-completion-map)
13826 (minibuffer-local-must-match-map): Move initialization from C.
13827 (minibuffer-local-filename-completion-map): Move initialization from C;
13828 don't inherit from anything here.
13829 (minibuffer-local-filename-must-match-map): Make obsolete.
13830 (completing-read-default): Use make-composed-keymap to combine
13831 minibuffer-local-filename-completion-map with either
13832 minibuffer-local-must-match-map or
13833 minibuffer-local-filename-completion-map.
13834
d224ac83
GM
138352011-07-01 Glenn Morris <rgm@gnu.org>
13836
3de63bf8
GM
13837 * type-break.el (type-break-time-sum): Use dolist.
13838
d224ac83
GM
13839 * textmodes/flyspell.el (flyspell-word-search-backward):
13840 Replace CL function.
13841
1a1e3f32
SM
138422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13843
fe3f64d5
SM
13844 * mouse.el (mouse--strip-first-event): New function.
13845 (function-key-map): Use it to map fringe clicks to normal clicks
13846 by default.
13847
eb604e34
SM
13848 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13849 (vc-bzr-revision-completion-table): Add support for annotate and date.
13850
1a1e3f32
SM
13851 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13852 inherit from parent.
13853
5bd35902
LMI
138542011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13855
ace6c69c 13856 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13857 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13858
191e2bed
LMI
13859 * dired.el (dired-mode): Fix up the doc string as suggested by
13860 Drew Adams (bug#8817).
13861
5bd35902
LMI
13862 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13863 cookie, since the manual says that it should be possible to add
13864 this function to `find-file-hook' (bug#8709).
13865
eee8207a
TZ
138662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13867
13868 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13869 here. Noted Ted Zlatanov as the maintainer.
13870 (cfengine-common-settings, cfengine-common-syntax): New functions
13871 to set up common things between `cfengine-mode' and
13872 `cfengine3-mode'.
13873 (cfengine3-mode): New mode.
13874 (cfengine3-defuns cfengine3-defuns-regex
13875 (cfengine3-class-selector-regex cfengine3-category-regex)
13876 (cfengine3-vartypes cfengine3-font-lock-keywords)
13877 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13878 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13879
36b148cf
MA
138802011-07-01 Michael Albinus <michael.albinus@gmx.de>
13881
13882 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13883
13884 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13885
0bf4ba9a
MR
138862011-07-01 Martin Rudalics <rudalics@gmx.at>
13887
13888 * window.el (same-window-buffer-names, same-window-regexps)
13889 (same-window-p, special-display-frame-alist)
13890 (special-display-popup-frame, special-display-function)
13891 (special-display-buffer-names, special-display-regexps)
13892 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13893 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13894 (split-window-preferred-function, split-height-threshold)
13895 (split-width-threshold, even-window-heights)
13896 (display-buffer-mark-dedicated, window-splittable-p)
13897 (split-window-sensibly, window-safely-shrinkable-p):
13898 Un-obsolete.
13899 (display-buffer): Don't spread args with function specifier
13900 because special-display-popup-frame won't like it.
13901
35837f51
PE
139022011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13903
d0672f86
PE
13904 Time-stamp simplifications and fixes.
13905 These improve accuracy slightly, and future-proof the code
13906 against some potential changes to current-time format.
13907
b9444d97
PE
13908 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13909 by using time-since and float-time.
13910
0ef923dc
PE
13911 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13912 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13913 + NNN microseconds".
13914
2f81380d
PE
13915 * type-break.el (type-break-time-sum): Rewrite using time-add.
13916
845b5c3e
PE
13917 * play/hanoi.el (hanoi-current-time-float): Remove.
13918 All uses replaced by float-time.
13919
ee6f1be0
PE
13920 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13921 This yields a more-accurate answer.
13922 (rng-time-to-float): Remove; no longer needed.
13923
fe955043
PE
13924 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13925
5777162a
PE
13926 * calendar/timeclock.el (timeclock-seconds-to-time):
13927 Defalias to seconds-to-time, since they're the same thing.
13928
3103f8b6 13929 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13930 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13931 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13932
0e61a35f
SM
139332011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * window.el (bury-buffer): Don't iconify the only frame.
13936 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13937 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13938
ddd63a1e
CY
139392011-07-01 Chong Yidong <cyd@stupidchicken.com>
13940
0e61a35f
SM
13941 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13942 Add mouse-yank-primary.
ddd63a1e 13943
055f4923
TZ
139442011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13945
13946 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13947
6a2fb145
SM
139482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13951 (find-library-name): Use it to find relative load names when provided
13952 absolute file name (bug#8803).
13953
fd4983f2
LMI
139542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13955
887d14ad
LMI
13956 * textmodes/flyspell.el (flyspell-word): Consider words that
13957 differ only in case as potential doublons (bug#5687).
13958
c53dc7fc
LMI
13959 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13960 Remove two rather uninteresting debugging-like messages to make
13961 debbugs.el more silent.
13962
fd4983f2
LMI
13963 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13964 a password-like phrase.
13965
7a71b18d 139662011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13967
13968 * progmodes/cc-guess.el: New file.
13969
6a2fb145 13970 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13971
13972 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13973 derived from `c-basic-common-init'.
13974
13975 * progmodes/cc-mode.el (top-level): Require cc-guess.
13976 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13977
1fa280a3
LM
139782011-06-30 Lawrence Mitchell <wence@gmx.li>
13979
13980 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13981
e6597158
AM
139822011-06-30 Alan Mackenzie <acm@muc.de>
13983
1fa280a3
LM
13984 * progmodes/cc-engine.el (c-guess-continued-construct):
13985 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13986 lock is disabled. Name this case as "CASE G".
13987
68ba37fb
KM
139882011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13989
13990 * allout.el (allout-yank-processing): Fix injection of extra space
13991 between bullet and non-whitespace character in first topic when
13992 pasting, ensuring that the actual spacing in the pasted topic
13993 following the bullet char is preserved. This extra space was
13994 causing pasted encrypted topics to get a decrypted status even
13995 when the content was actually still encrypted. Now the decryption
13996 status from before the paste is preserved.
13997
13998 (allout-flag-region): Set all allout overlays so they evaporate
13999 when reduced to zero length (evanescent), to prevent overlay
14000 leakage.
14001
887a0b34
GM
140022011-06-30 Glenn Morris <rgm@gnu.org>
14003
94b9acce
GM
14004 * w32-fns.el (w32-charset-info-alist): Declare.
14005
1d9b46d4
GM
14006 * find-dired.el (find-grep-options): Simplify.
14007
cc232200
GM
14008 * term/ns-win.el (ns-set-resource): Declare.
14009
28e77c46
GM
14010 * ses.el (row, col): Declare dynamic variables honestly.
14011
887a0b34
GM
14012 * textmodes/reftex-parse.el (index-tags): Declare.
14013
658d8eb8
CY
140142011-06-30 Chong Yidong <cyd@stupidchicken.com>
14015
14016 * cus-edit.el (customize-push-and-save): New function.
14017
14018 * files.el (hack-local-variables-confirm): Use it.
14019
1fa280a3
LM
14020 * custom.el (load-theme): New arg NO-CONFIRM.
14021 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14022 (custom-enabled-themes): Doc fix.
14023
14024 * cus-theme.el (customize-create-theme)
14025 (custom-theme-merge-theme): Callers to load-theme changed.
14026
bb617717
LMI
140272011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14028
d61bdd5d
LMI
14029 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14030 short URLs have at least one dot in them (bug #7614).
14031
bb617717
LMI
14032 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14033 nil, because using a pty is apparently too slow (bug #895).
14034
2f31f37a
LMI
140352011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14036
14037 * mail/sendmail.el (sendmail-query-once): New function.
14038 (sendmail-query-once-function): New variable.
14039
3076b24e
GM
140402011-06-29 Glenn Morris <rgm@gnu.org>
14041
faf2a174
GM
14042 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14043
3076b24e
GM
14044 * ses.el (top-level): Require cl when compiling.
14045 (ses-set-localvars): Fix error statement.
14046 Call it at compile time to silence a storm of warnings.
14047
5386012d
MR
140482011-06-29 Martin Rudalics <rudalics@gmx.at>
14049
14050 * window.el (normalize-live-buffer): Rename to
14051 window-normalize-buffer.
14052 (normalize-live-frame): Rename to window-normalize-frame.
14053 (normalize-any-window): Rename to window-normalize-any-window.
14054 (normalize-live-window): Rename to window-normalize-live-window.
14055 (make-window-atom): Rename to window-make-atom.
14056 (window-resize-reset): Rename to window--resize-reset.
14057 (window-resize-reset-1): Rename to window--resize-reset-1.
14058 (resize-mini-window): Rename to window--resize-mini-window.
14059 (resize-subwindows-skip-p): Rename to
14060 window--resize-subwindows-skip-p.
14061 (resize-subwindows-normal): Rename to
14062 window--resize-subwindows-normal.
14063 (resize-subwindows): Rename to window--resize-subwindows.
14064 (resize-other-windows): Rename to window--resize-siblings.
14065 (resize-this-window): Rename to window--resize-this-window.
14066 (resize-root-window): Rename to window--resize-root-window.
14067 (resize-root-window-vertically): Rename to
14068 window--resize-root-window-vertically.
14069 (normalize-buffer-to-display): Rename to
14070 window-normalize-buffer-to-display.
14071 (normalize-buffer-to-switch-to): Rename to
14072 window-normalize-buffer-to-switch-to.
14073 Correspondingly update all callers of the functions listed
14074 above.
14075 (display-buffer-alist, display-buffer-normalize-arguments)
14076 (display-buffer-normalize-options, display-buffer)
14077 (display-buffer-alist-set): Use "function" instead of
14078 "fun-with-args".
14079
1176868d
CY
140802011-06-28 Chong Yidong <cyd@stupidchicken.com>
14081
14082 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14083 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14084 debbugs.gnu.org. Mention acknowledgment email.
14085
20a7a65f
LMI
140862011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14087
14088 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14089 buffer multibyteness, since it shouldn't matter.
14090
5f45cca5
MR
140912011-06-28 Martin Rudalics <rudalics@gmx.at>
14092
14093 * window.el (display-buffer-in-side-window): Handle dedicated
14094 windows as in display-buffer-reuse-window.
14095 (display-buffer-normalize-alist): Use value of override
14096 specifier.
14097 (display-buffer-normalize-specifiers): Use value of
14098 other-window-means-other-frame specifier.
14099 (display-buffer-alist): Rewrite some texts in widgets.
14100 (display-buffer): Spread arguments when calling function
14101 specified by fun-with-args.
14102
ad85fe1f
DD
141032011-06-28 Deniz Dogan <deniz@dogan.se>
14104
1fa280a3
LM
14105 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14106 Unnest `let'.
da68c4c8 14107
ad85fe1f
DD
14108 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14109 selectors (Bug#5732).
ec49bd31 14110 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14111
a08cc025
JA
141122011-06-27 Jari Aalto <jari.aalto@cante.net>
14113
14114 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14115 (eshell-ls-date-format): New defcustom.
14116 (eshell-ls-file): Use it.
14117
e2b551c5
SM
141182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14119
14120 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14121
8982b231
KY
141222011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14123
14124 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14125 (ange-ftp-make-tmp-name): New arg.
14126 (ange-ftp-file-local-copy): Use it.
14127
36c9fa27
J
141282011-06-27 Jambunathan K <kjambunathan@gmail.com>
14129
14130 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14131 no-conversion (Bug#8870).
14132
d68443dc
MR
141332011-06-27 Martin Rudalics <rudalics@gmx.at>
14134
14135 * window.el (window-right, window-left, window-child)
14136 (window-child-count, window-last-child)
14137 (window-iso-combination-p, walk-window-tree-1)
14138 (window-atom-check-1, window-tree-1, delete-window)
14139 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14140 new naming conventions - window-vchild, window-hchild,
14141 window-next and window-prev are now called window-top-child,
14142 window-left-child, window-next-sibling and window-prev-sibling
14143 respectively.
d615d6d2
MR
14144 (resize-window-reset): Rename to window-resize-reset.
14145 (resize-window-reset-1): Rename to window-resize-reset-1.
14146 (resize-window): Rename to window-resize.
14147 (window-min-height, window-min-width)
14148 (resize-mini-window, resize-this-window, resize-root-window)
14149 (resize-root-window-vertically, adjust-window-trailing-edge)
14150 (enlarge-window, shrink-window, maximize-window)
14151 (minimize-window, delete-window, quit-restore-window)
14152 (split-window, balance-windows, balance-windows-area-adjust)
14153 (balance-windows-area, window-state-put-2)
14154 (display-buffer-even-window-sizes, display-buffer-set-height)
14155 (display-buffer-set-width, set-window-text-height)
14156 (fit-window-to-buffer): Rename all "resize-window" prefixed
14157 calls to use the "window-resize" prefix convention.
14158 (display-buffer-alist): Fix symbol for label specifier.
14159 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14160 corresponding specifier.
14161 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14162
b6458526
VB
141632011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14164
14165 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14166 convention.
14167 (ses-call-printer): Does not pass an empty string to formatter when the
14168 cell is empty to keep from barking printer Calc math-format-value.
14169
d31fd9ac
RS
141702011-06-27 Richard Stallman <rms@gnu.org>
14171
43d5bf84
RS
14172 * battery.el (battery-mode-line-limit): New variable.
14173 (battery-update): Handle it.
14174
d31fd9ac
RS
14175 * mail/rmailmm.el (rmail-mime-process-multipart):
14176 Handle truncated messages.
14177
819a6054
GM
141782011-06-27 Glenn Morris <rgm@gnu.org>
14179
14180 * progmodes/flymake.el (flymake-err-line-patterns):
14181 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14182
cedc73f2
VB
141832011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14184
819a6054 14185 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14186 (ses--clean-!, ses--clean-_): New functions.
14187 (ses-range): Add configurability of readout order, and conversion
14188 to Calc vector.
14189
5e5d49b6
VB
14190 * ses.el (ses-repair-cell-reference-all): New function.
14191 (ses-cell-symbol): Set macro as safe, so that it can be used in
14192 formulas.
14193
56e6cc31 14194 * ses.el: Update cycle detection algorithm.
90ca8b49 14195 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14196 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14197 (ses-set-localvars): New function.
14198 (ses-make-cell): Add property-list as a cell element.
14199 (ses-cell-property-get-fun, ses-cell-property-get)
14200 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14201 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14202 New functions.
90ca8b49
VB
14203 (ses-cell-property-set, ses-cell-property-pop)
14204 (ses-cell-property-get-handle): New macro.
14205 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14206 New aliases, used for code readability.
14207 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14208 cycle detection.
14209 (ses-self-reference-early-detection): New defcustom.
fac916bf 14210 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14211 (ses-mode): Use ses-set-localvars.
14212 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14213 before lauching the update processing.
14214 (ses-initialize-Dijkstra-attempt): New function.
14215 (ses-recalculate-cell): Update for cycle detection based on
14216 Dijkstra algorithm.
14217
2bb63e81
VB
14218 * ses.el: Fix commenting and indenting convention.
14219
c9d29fb8
SM
142202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * bs.el (bs-cycle-next): Complete last change.
14223
d8e4b68b
JB
142242011-06-27 Drew Adams <drew.adams@oracle.com>
14225
14226 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14227
40098786
LMI
142282011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14229
c9d29fb8
SM
14230 * net/network-stream.el (network-stream-open-starttls):
14231 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14232 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14233
40098786
LMI
14234 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14235 to binary to possibly avoid line encoding issues on Windows (among
14236 other things).
14237
468d09d4
LMI
142382011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14239
14240 * net/network-stream.el (open-network-stream): Return an :error
14241 saying what the problem was, if possible.
14242
14243 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14244 server.
14245
14246 * net/network-stream.el (network-stream-open-starttls): If we
14247 wanted to use STARTTLS, and the server offered it, but we weren't
14248 able to because we had no STARTTLS support, then close the connection.
14249 (open-network-stream): Return an :error element, if present.
14250
16f07dd7
CY
142512011-06-26 Chong Yidong <cyd@stupidchicken.com>
14252
88821ca0
CY
14253 * hl-line.el (hl-line-sticky-flag): Doc fix.
14254 (global-hl-line-sticky-flag): New option (Bug#8323).
14255 (global-hl-line-highlight): Obey it.
14256
16f07dd7
CY
14257 * vc/vc.el (vc-revert-show-diff): Default to t.
14258
6b5ccddf
KM
142592011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14260
c9d29fb8
SM
14261 * allout-widgets.el (allout-widgets-post-command-business):
14262 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14263 undecorated when an isearch is continued past, and isearch
14264 automatically collapses them. This leads to "widget leaks", where
14265 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14266 hidden widgets can slow down cursor travel, substantially.
14267 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14268 so we're doing without this nicety.
14269
14270 (allout-widgets-tally-string): Don't try to do a hash-table-count
14271 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14272 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14273 *Messages* when allout-widgets-maintain-tally is t.
14274
355f2e07
MR
142752011-06-26 Martin Rudalics <rudalics@gmx.at>
14276
14277 * window.el (display-buffer-normalize-argument): Rename to
14278 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14279 LABEL argument. Respect special-display-function when popping up
14280 a new frame. Fix code searching for a window showing the buffer
14281 on another frame.
c9d29fb8
SM
14282 (display-buffer-normalize-specifiers):
14283 Call display-buffer-normalize-arguments.
355f2e07
MR
14284 (display-buffer-in-window): Don't undedicate the window if its
14285 buffer remains the same.
14286 Reported by Drew Adams <drew.adams@oracle.com>.
14287 (display-buffer-alist): Add choice for same-window macro
14288 specfier.
14289 (display-buffer): Mention special meaning of LABEL argument in
14290 doc-string. Fix quoting. Don't pop up a new frame even as
14291 fallback.
14292
7ca8fc42
JB
142932011-06-26 Juanma Barranquero <lekktu@gmail.com>
14294
14295 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14296 avoid deleting the current window in some cases (bug#8911).
14297
bc312254
AS
142982011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14299
14300 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14301 (Bug#8934)
14302
2db18f3f
LMI
143032011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14304
c9d29fb8
SM
14305 * net/network-stream.el (network-stream-open-starttls):
14306 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14307 (network-stream-open-tls): Ditto.
14308
6302e0d3
LL
143092011-06-26 Leo Liu <sdl.web@gmail.com>
14310
14311 * register.el (registerv): New struct.
14312 (registerv-make): New function.
c9d29fb8
SM
14313 (jump-to-register, describe-register-1, insert-register):
14314 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14315 struct. (Bug#8415)
14316
5fdd4046
CY
143172011-06-26 Chong Yidong <cyd@stupidchicken.com>
14318
2afef60a
CY
14319 * vc/vc.el (vc-revert-show-diff): New defcustom.
14320 (vc-diff-internal): New arg specifying diff buffer.
14321 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14322 reuse an existing *vc-diff* buffer (Bug#8927).
14323
5fdd4046
CY
14324 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14325
e93db24a
GM
143262011-06-26 Glenn Morris <rgm@gnu.org>
14327
14328 * progmodes/f90.el (f90-critical-indent): New option.
14329 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14330 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14331 (f90-mode): Doc fix.
14332 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14333 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14334 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14335 (f90-match-end): Handle block, critical.
14336
eefff499
GM
143372011-06-25 Glenn Morris <rgm@gnu.org>
14338
f6ba4cc9
GM
14339 * calendar/diary-lib.el (diary-included-files): Doc fix.
14340 (diary-include-files): New function, extracted from
14341 diary-include-other-diary-files and diary-mark-included-diary-files.
14342 (diary-include-other-diary-files, diary-mark-included-diary-files):
14343 Just call diary-include-files.
14344 (diary-mark-entries): Reset diary-included-files on first call.
14345
16712304
GM
14346 * calendar/diary-lib.el (diary-mark-entries)
14347 (diary-mark-included-diary-files):
14348 Visit included diary-files in temp buffers.
14349
5d8e0d43
GM
14350 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14351 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14352 (f90-start-block-re, f90-imenu-generic-expression)
14353 (f90-looking-at-program-block-start, f90-no-block-limit):
14354 Add support for submodules.
14355
ccf7a5d5
GM
14356 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14357 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14358
11fdef7d 143592011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14360
14361 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14362 buffer-file-type before setting its value, to avoid disastrous
eefff499 14363 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14364
74f53697
JB
143652011-06-25 Juanma Barranquero <lekktu@gmail.com>
14366
14367 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14368
14369 * ses.el (ses-unload-function):
14370 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14371
14372 * proced.el (proced-unload-function):
14373 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14374
18a4ce5e
AR
143752011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14376
14377 * server.el (server-create-window-system-frame): Add parameters arg.
14378 (server-process-filter): Doc fix. Handle frame-parameters.
14379
519d22cc
JB
143802011-06-25 Juanma Barranquero <lekktu@gmail.com>
14381
14382 Fix bug#8730, bug#8781.
14383
14384 * loadhist.el (unload--set-major-mode): New function.
14385 (unload-feature): Use it.
14386
14387 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14388 (python-unload-function): New function.
14389
c206f5b0
SM
143902011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14391
14392 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14393
f9ad64f3
GS
143942011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14395
14396 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14397 the candidates list.
14398
7d0da90e
JB
143992011-06-24 Juanma Barranquero <lekktu@gmail.com>
14400
14401 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14402
14b4e83d
RS
144032011-06-23 Richard Stallman <rms@gnu.org>
14404
14405 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14406 (rmail-variables): Set next-error-move-function.
14407 (rmail-what-message): Take argument POS.
14408 (rmail-next-error-move): New function.
14409
273d2baf
SM
144102011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14411
14412 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14413 messages for adjacent non-terminals.
14414
56c2cc9a
RS
144152011-06-23 Richard Stallman <rms@gnu.org>
14416
14417 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14418 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14419 (rmail-start-mail): Don't specify use of rmail-mail-return;
14420 that's done by mail-bury now.
14421 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14422
d59eb518
MA
144232011-06-23 Michael Albinus <michael.albinus@gmx.de>
14424
14425 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14426 SIZE is a number.
14427
02cfc6d6
MR
144282011-06-23 Martin Rudalics <rudalics@gmx.at>
14429
14430 * window.el (get-lru-window, get-mru-window)
14431 (get-largest-window): Never return a minibuffer window.
14432 (display-buffer-pop-up-window): Fix a bug that could lead to
14433 reusing the minibuffer window.
14434 (display-buffer): Pass original specifier argument to
14435 display-buffer-function instead of the normalized one.
14436 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14437
4e323265
LL
144382011-06-22 Leo Liu <sdl.web@gmail.com>
14439
14440 * minibuffer.el (completing-read-function)
14441 (completing-read-default): Move from minibuf.c
14442
7a70468f
RS
144432011-06-22 Richard Stallman <rms@gnu.org>
14444
50718fc2
RS
14445 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14446 to Rmail even if not started by a special Rmail command.
14447
7a70468f
RS
14448 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14449 Copy the buffer currently showing just one message.
14450
297dde5a
RW
144512011-06-22 Roland Winkler <winkler@gnu.org>
14452
14453 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14454 (bibtex-clean-entry): First delete the old key so that a
14455 customized algorithm for generating the new key does not get
14456 confused by the old key.
14457 (bibtex-url): Obey regexp of first step.
14458 (bibtex-search-entries): Do not use add-to-list with local
14459 list-var.
14460
97bb1093
LMI
144612011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14462
14463 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14464 stored a user name, then query for the password first, instead of
14465 waiting for SMTP to give an error message and the trying again.
14466
1c0f1a19
JD
144672011-06-22 Lawrence Mitchell <wence@gmx.li>
14468
14469 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14470 BUFFER in call-process.
14471
396f7c9d
LMI
144722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14473
14474 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14475 QUIT twice.
ddb7ffee
LMI
14476 (smtpmail-try-auth-methods): Require user name and password from
14477 auth-source.
396f7c9d 14478
8998d1b3
MR
144792011-06-22 Martin Rudalics <rudalics@gmx.at>
14480
14481 * window.el (display-buffer-default-specifiers)
14482 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14483 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14484 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14485
14486 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14487 (special-display-frame-alist, special-display-popup-frame):
14488 Remove duplicate declarations. These are now in window.el.
14489
4ea31e07
LMI
144902011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14491
c9d29fb8
SM
14492 * mail/smtpmail.el (smtpmail-via-smtp):
14493 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14494 server supports it. SMTP servers that support STARTTLS commonly
14495 require it.
14496
14497 * net/network-stream.el (network-stream-open-starttls): Support
14498 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14499 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14500
95f41d9a
LMI
14501 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14502 upgrades with `open-network-stream', and rely solely on
14503 auth-source for all credentials. Big changes throughout the file,
14504 but in particular:
c9d29fb8
SM
14505 (smtpmail-auth-credentials): Remove.
14506 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14507 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14508 MAIL FROM, too.
95f41d9a 14509
c9d29fb8
SM
14510 * net/network-stream.el (network-stream-open-starttls):
14511 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14512 STARTTLS.
14513 (auth-source): Require.
14514 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14515 (network-stream-certificate): Change cert-cert to cert and
14516 cert-key to key.
4ea31e07 14517
065ec2c7
MA
145182011-06-21 Michael Albinus <michael.albinus@gmx.de>
14519
14520 * net/tramp-cache.el (top): Don't load the persistency file when
14521 "emacs -Q" has been called.
14522
cd93b359
DR
145232011-06-21 Tim Harper <timcharper@gmail.com>
14524
d8e4b68b
JB
14525 * term/ns-win.el (ns-initialize-window-system):
14526 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14527 resource to NO as it is not yet supported by the NS port.
14528
ae9c0411
JB
145292011-06-21 Juanma Barranquero <lekktu@gmail.com>
14530
14531 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14532 (list-dynamic-libraries): ...not here.
14533
7f3f739f
LL
145342011-06-21 Leo Liu <sdl.web@gmail.com>
14535
14536 * subr.el (sha1): Implement sha1 using secure-hash.
14537
327c8fb1
MR
145382011-06-21 Martin Rudalics <rudalics@gmx.at>
14539
14540 * window.el (display-buffer-alist): In default value do not
14541 enforce searching a window on any but the selected frame.
14542 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14543 (display-buffer-select-window): Remove function.
14544 (display-buffer-in-window): When a window on another frame gets
14545 reused, do not select it any more but just raise its frame if
14546 necessary (Bug#8851) and (Bug#8856).
14547 (display-buffer-normalize-options): Handle pop-up-frames related
14548 options more faithfully.
14549 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14550 window if it is on another frame.
c9d29fb8
SM
14551 (display-buffer-alist, display-buffer-default-specifiers):
14552 Don't make new frame unsplittable by default.
9e9de014
MR
14553 (display-buffer-normalize-argument): Fix doc-string typo and use
14554 'same-frame-other-window instead of 'other-window when associating
14555 with display-buffer-macro-specifiers.
327c8fb1 14556
7cf3f556
VB
145572011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
14558
14559 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14560 New functions.
14561 (5x5-mode-map, 5x5-mode-menu): Bind them.
14562 (5x5-draw-grid): Tweak the solver's rendering.
14563
60a406cf
SM
145642011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14565
14566 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14567 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14568
d8e4b68b 145692011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14570
14571 * menu-bar.el: Use function variable instead of switch-to-buffer.
14572 (menu-bar-select-buffer-function): New variable.
60a406cf 14573 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14574
478d6f95
SM
145752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14578 variable's status.
14579
ca530739
JD
145802011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14581
14582 * x-dnd.el (x-dnd-version-from-flags)
14583 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14584 and long as number (Bug#8899).
14585 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14586
bcd70d97
SM
145872011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14588
60a406cf 14589 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14590 (completion-try-completion, completion-all-completions): Compute the
14591 metadata argument if it's missing; make it optional (bug#8795).
14592
60a406cf 14593 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14594 (widget-complete): Use new :completion-function property.
14595 (widget-completions-at-point): New function.
14596 (default): Use :completion-function instead of :complete.
60a406cf
SM
14597 (widget-default-completions): Rename from widget-default-complete;
14598 Rewrite.
bcd70d97
SM
14599 (widget-string-complete, widget-file-complete, widget-color-complete):
14600 Remove functions.
14601 (file, symbol, function, variable, coding-system, color):
14602 * international/mule-cmds.el (default-input-method, charset)
14603 (language-info-custom-alist):
14604 * cus-edit.el (face): Use new property :completions.
14605
14606 * progmodes/pascal.el (pascal-completions-at-point): New function.
14607 (pascal-mode): Use it.
14608 (pascal-mode-map): Use completion-at-point.
14609 (pascal-toggle-completions): Make obsolete.
14610 (pascal-complete-word, pascal-show-completions):
14611 * progmodes/octave-mod.el (octave-complete-symbol):
14612 Redefine as obsolete alias.
14613 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14614 Signal absence of completion info for old Octave,
14615 (inferior-octave-complete): Redefine as obsolete alias.
14616 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14617 (meta-completions-at-point): Rename from meta-complete-symbol and
14618 adapt it for use on completion-at-point-functions.
14619 (meta-common-mode): Use it.
14620 (meta-looking-at-backward, meta-match-buffer): Remove.
14621 (meta-complete-symbol): Redefine as obsolete alias.
14622 (meta-common-mode-map): Use completion-at-point.
14623 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14624 (makefile-mode-map): Use completion-at-point.
14625 (makefile-completions-at-point): Rename from makefile-complete and
14626 adapt it for use on completion-at-point-functions.
14627 (makefile-mode): Use it.
14628 (makefile-complete): Redefine as obsolete alias.
14629
aebf69c8
DD
146302011-06-20 Deniz Dogan <deniz@dogan.se>
14631
14632 * net/rcirc.el: Delete trailing whitespaces once and for all.
14633
bfbbb27d
DC
146342011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14635
14636 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14637
d264a46b
CY
146382011-06-19 Chong Yidong <cyd@stupidchicken.com>
14639
4ca009e5
CY
14640 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14641
d264a46b
CY
14642 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14643
fbf5b3ce
MR
146442011-06-19 Martin Rudalics <rudalics@gmx.at>
14645
14646 * window.el (display-buffer-other-window-means-other-frame):
14647 Call display-buffer-normalize-alist.
14648 (display-buffer-normalize-specifiers-1): Rename to
14649 display-buffer-normalize-argument. New argument other-frame.
14650 Rewrite.
14651 (display-buffer-normalize-specifiers-2): Rename to
14652 display-buffer-normalize-options.
14653 (display-buffer-normalize-alist-1): New function.
14654 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14655 display-buffer-normalize-alist.
14656 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14657 (display-buffer-normalize-options-inhibit): New variable.
14658 (display-buffer-normalize-specifiers): Rewrite calling
14659 display-buffer-normalize-alist,
14660 display-buffer-normalize-argument, and
14661 display-buffer-normalize-options. Don't call the latter if
14662 display-buffer-normalize-options-inhibit is non-nil.
14663 (frame-auto-delete): New option.
14664 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14665 (window-list-no-nils, window-state-ignored-parameters)
14666 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14667 (window-state-put-1, window-state-put-2, window-state-put):
14668 New functions.
9a028c23
MR
14669 (display-buffer-normalize-options): Move special-display-p group
14670 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14671
6d10d800
CY
146722011-06-18 Chong Yidong <cyd@stupidchicken.com>
14673
6420d28b
CY
14674 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14675 groups (Bug#8776).
14676 (rx-submatch-n): New function.
14677 (rx): Document it.
14678
ddb8b596
CY
14679 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14680 (Bug#8768).
14681
14682 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14683
77080289
CY
14684 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14685
61dfb316
CY
14686 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14687 anytime existing face settings are present (Bug#8889).
14688
6d10d800
CY
14689 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14690 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14691 Remove unused argument.
14692
be3fb2b8
MR
146932011-06-18 Martin Rudalics <rudalics@gmx.at>
14694
bcd70d97
SM
14695 * window.el (display-buffer-default-specifiers):
14696 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14697 pop-up-window-min-width, and another reuse-window specifier
14698 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14699 (display-buffer-normalize-specifiers-2):
14700 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14701 pop-up-windows is unset. Add a reuse-window specifier for the
14702 case popping up a new window fails.
14703 (special-display-popup-frame): Remove double quoting.
28dec25a 14704 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14705
1c6d8c76
SM
147062011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14709 according to comint-completion-addsuffix.
14710
14711 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14712 (pcomplete-suffix-list): Mark as obsolete.
14713 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14714 pcomplete-seen in the closure.
14715 (pcomplete-comint-setup): Setup completion-at-point as well.
14716 (pcomplete--entries): New function.
14717 (pcomplete--env-regexp): New var.
14718 (pcomplete-entries): Rewrite to work with partial-completion and
14719 without relying on pcomplete-suffix-list.
14720 (pcomplete-pare-list): Remove, unused.
14721
25aef8b8
MR
147222011-06-17 Martin Rudalics <rudalics@gmx.at>
14723
14724 * window.el (display-buffer-alist): Set pop-up-window-min-height
14725 and pop-up-window-min-width in default value. Reported by
14726 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14727 other-window-means-other-frame.
14728 (display-buffer-macro-specifiers): Comment out entry for
14729 other-window specifier.
14730 (display-buffer-other-window-means-other-frame): New function.
14731 (display-buffer-normalize-specifiers-1): New arguments
14732 buffer-name and label. Treat other-window case specially.
14733 (display-buffer-normalize-specifiers-2): Treat other-window case
14734 specially.
14735 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14736 (display-buffer-normalize-specifiers):
14737 Call display-buffer-normalize-specifiers-3.
25aef8b8 14738
dbad4f69
MR
147392011-06-17 Martin Rudalics <rudalics@gmx.at>
14740
14741 * window.el (same-window-p): Fix two typos introduced when
14742 adding with-no-warnings.
d1067961
MR
14743 (display-buffer-normalize-specifiers-1): Don't check
14744 pop-up-frames for 'unset initialization.
14745 (display-buffer-normalize-specifiers-2): Major rewrite using
14746 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14747 (pop-up-frames, display-buffer-reuse-frames)
14748 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14749 Suggested by David Engster <deng@randomsample.de>.
14750 (even-window-heights): Initialize to 'unset.
14751 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14752 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14753 other window case.
dbad4f69 14754
9b9c9e3a
MR
147552011-06-16 Martin Rudalics <rudalics@gmx.at>
14756
bcd70d97
SM
14757 * window.el (display-buffer-normalize-specifiers-1):
14758 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14759 second argument of display-buffer (Bug#8865).
981d5c09
MR
14760 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14761 (switch-to-buffer-other-window-same-frame)
14762 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14763 Adams (Bug#8875).
9c2755e9
MR
14764 (display-buffer): Don't check noninteractive when calling
14765 display-buffer-pop-up-frame.
14766 (display-buffer-pop-up-frame): Never pop up a frame in
14767 noninteractive mode (Bug#8857).
67222e1d
MR
14768 (enlarge-window, shrink-window): Don't report an error when the
14769 window can't be resized as requested (Bug#8862).
9b9c9e3a 14770
2b75be67
SM
147712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14772
9ffdd3ba
SM
14773 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14774
cb581a67
SM
14775 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14776
2b75be67
SM
14777 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14778
8c0e3589
AM
147792011-06-15 Alan Mackenzie <acm@muc.de>
14780
cb581a67
SM
14781 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14782 for declarators, disable knr checking to speed up for normal files.
14783 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14784
b96e6cde
LMI
147852011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14786
4bba86e6
LMI
14787 * net/network-stream.el (open-network-stream): Add the keyword
14788 :always-query-capabilities for the case where you want to force a
14789 `plain' network connection, but the protocol still requires the
14790 capabilitiy command (i.e., SMTP and EHLO).
14791
2b75be67 14792 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14793 consistency with other `-live-p' functions.
14794
efdcdbf8
SM
147952011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14796
14797 * window.el (same-window-buffer-names, same-window-regexps)
14798 (special-display-frame-alist, special-display-popup-frame)
14799 (special-display-function, special-display-buffer-names)
14800 (special-display-regexps, pop-up-frame-alist)
14801 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14802 (pop-up-windows, split-window-preferred-function)
14803 (split-height-threshold, split-width-threshold, even-window-heights)
14804 (display-buffer-mark-dedicated): Don't encourage the use of
14805 display-buffer-alist from Elisp code.
14806
c5cde042
DN
148072011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14808
14809 * progmodes/python.el (python-mode): Derive from prog-mode.
14810 * progmodes/ps-mode.el (ps-mode):
14811 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14812 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14813 * progmodes/ld-script.el (ld-script-mode): Likewise.
14814
baa1c9ab
MR
148152011-06-15 Martin Rudalics <rudalics@gmx.at>
14816
14817 * window.el (display-buffer-alist): Trim default value to avoid
14818 popping up a new frame (Bug#8857) or reusing an arbitrary window
14819 on another frame.
14820 (display-buffer): Do not fall back on popping up a new frame in
14821 batch mode (Bug#8857).
14822
c5dd5a51
CY
148232011-06-14 Chong Yidong <cyd@stupidchicken.com>
14824
14825 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14826 (custom-theme-summary): New function.
14827 (customize-themes): Use it.
14828
d647b7c4
GM
148292011-06-13 Glenn Morris <rgm@gnu.org>
14830
14831 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14832
9481c002
MR
148332011-06-13 Martin Rudalics <rudalics@gmx.at>
14834
357f93d2
MR
14835 * help.el (help-window): Remove variable.
14836 (help-window-point-marker, temp-buffer-max-height)
14837 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14838 (help-print-return-message): Don't set help-window.
14839 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14840 (help-window-setup-finish): Remove.
14841 (help-window-display-message, help-window-setup)
14842 (with-help-window): Major rewrite based on new
14843 display-buffer-window variable.
14844
14845 * help-mode.el (help-mode-finish): Remove help-window related
14846 code.
14847
14848 * view.el (view-exits-all-viewing-windows): Remove reference to
14849 view-return-to-alist in doc-string.
14850 (view-return-to-alist): Make obsolete.
14851 (view-buffer): Call pop-to-buffer-same-window and remove
14852 undo-window code.
14853 (view-buffer-other-window): Call pop-to-buffer-other-window and
14854 simplify code. Ignore second argument.
14855 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14856 simplify code. Ignore second argument.
14857 (view-return-to-alist-update): Make obsolete.
14858 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14859 Rewrite using quit-restore window parameters.
2b75be67
SM
14860 (view-mode-exit): Rename second argument to EXIT-ONLY.
14861 Rewrite using quit-restore-window.
357f93d2
MR
14862 (View-exit, View-exit-and-edit, View-leave, View-quit)
14863 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14864 appropriate arguments.
14865 (view-end-message): Use quit-restore window parameter.
14866
9481c002
MR
14867 * window.el (display-buffer-function): Rewrite doc-string.
14868 (display-buffer-window, display-buffer-alist): New variables.
14869 (display-buffer-split-specifiers)
14870 (display-buffer-side-specifiers)
14871 (display-buffer-macro-specifiers): New constants.
14872 (display-buffer-even-window-sizes, display-buffer-set-height)
14873 (display-buffer-set-width, display-buffer-select-window)
14874 (display-buffer-in-window, display-buffer-reuse-window)
14875 (display-buffer-split-window-1, display-buffer-split-window)
14876 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14877 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14878 (display-buffer-in-side-window, normalize-buffer-to-display)
14879 (display-buffer-normalize-specifiers-1)
14880 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14881 (display-buffer-normalize-specifiers, display-buffer-frame):
14882 New functions.
9481c002
MR
14883 (display-buffer): Major rewrite.
14884 (display-buffer-other-window, display-buffer-other-frame)
14885 (pop-to-buffer, switch-to-buffer-other-window)
14886 (switch-to-buffer-other-frame): Rewrite.
14887 (display-buffer-same-window, display-buffer-same-frame)
14888 (display-buffer-same-frame-other-window)
14889 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14890 (pop-to-buffer-other-window)
14891 (pop-to-buffer-same-frame-other-window)
14892 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14893 (switch-to-buffer-other-window-same-frame): New functions.
14894 (same-window-p, special-display-p): Rewrite disabling warnings.
14895 Make obsolete.
14896 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14897 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14898 Make obsolete
14899 (same-window-buffer-names, same-window-regexps)
14900 (special-display-frame-alist, special-display-popup-frame)
14901 (special-display-function, special-display-buffer-names)
14902 (special-display-regexps, pop-up-frame-alist)
14903 (pop-up-frame-function, split-window-preferred-function)
14904 (split-height-threshold, split-width-threshold)
14905 (even-window-heights): Make obsolete.
14906
9db51aca
GM
149072011-06-12 Glenn Morris <rgm@gnu.org>
14908
14909 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14910 Misc simplifications.
9db51aca 14911
39cffb44
MR
149122011-06-12 Martin Rudalics <rudalics@gmx.at>
14913
14914 * window.el (window-safely-shrinkable-p): Restore function which
14915 was inadvertently removed in change from 2011-06-11. Declare as
14916 obsolete.
14917
2b75be67
SM
14918 * calendar/calendar.el (calendar-generate-window):
14919 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14920 window-safely-shrinkable-p.
14921
a8955be7
GM
149222011-06-12 Glenn Morris <rgm@gnu.org>
14923
14924 * progmodes/fortran.el (fortran-mode-syntax-table):
14925 * progmodes/f90.el (f90-mode-syntax-table):
14926 Set % to punctuation. (Bug#8820)
14927 (f90-find-tag-default): Remove, no longer needed.
14928
f0d4059d
DC
149292011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14930
14931 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14932
1100a63c
CY
149332011-06-11 Chong Yidong <cyd@stupidchicken.com>
14934
14935 * image.el (image-animated-p): Return animation delay in seconds.
14936 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14937 (image-animate-timeout): Remove DELAY argument. Don't assume
14938 every subimage has the same delay; get it from image-animated-p.
14939 (image-animate): Caller changed.
14940
def722bf
MA
149412011-06-11 Michael Albinus <michael.albinus@gmx.de>
14942
14943 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14944 to ignored backtrace functions.
14945
0a2bb1a9
GM
149462011-06-11 Glenn Morris <rgm@gnu.org>
14947
14948 * calendar/appt.el (appt-disp-window-function): Doc fix.
14949 (appt-check): Handle overlapping appointments. (Bug#8337)
14950
6198ccd0
MR
149512011-06-11 Martin Rudalics <rudalics@gmx.at>
14952
14953 * window.el (window-tree-1, window-tree): New functions, moving
14954 the latter to window.el.
14955 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14956 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14957 (bw-refresh-edges): Remove.
14958 (balance-windows-1, balance-windows-2): New functions.
14959 (balance-windows): Rewrite in terms of window tree functions,
14960 balance-windows-1 and balance-windows-2.
14961 (bw-adjust-window): Remove.
14962 (balance-windows-area-adjust): New function with functionality of
14963 bw-adjust-window but using resize-window.
2b75be67
SM
14964 (set-window-text-height): Rewrite doc-string.
14965 Use normalize-live-window and resize-window.
14966 (enlarge-window-horizontally, shrink-window-horizontally):
14967 Rename argument to DELTA.
6198ccd0
MR
14968 (window-buffer-height): New function.
14969 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14970 Rewrite using new window resize routines.
2b75be67
SM
14971 (kill-buffer-and-window, mouse-autoselect-window-select):
14972 Use ignore-errors instead of condition-case.
6198ccd0
MR
14973 (quit-window): Call delete-frame instead of delete-windows-on
14974 for the only buffer on frame.
14975
9397e56f
MR
149762011-06-10 Martin Rudalics <rudalics@gmx.at>
14977
14978 * loadup.el (top-level): Load window before files for the sake
14979 of replace-buffer-in-windows.
14980
14981 * files.el (read-buffer-to-switch)
14982 (switch-to-buffer-other-window)
2b75be67
SM
14983 (switch-to-buffer-other-frame, display-buffer-other-frame):
14984 Move to window.el.
9397e56f
MR
14985
14986 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14987 (previous-buffer): Move to window.el.
14988
14989 * bindings.el (unbury-buffer): Move to window.el.
14990
14991 * window.el (delete-other-windows-vertically): Move after
14992 definition of delete-other-windows.
14993 (other-window, delete-windows-on, replace-buffer-in-windows):
14994 Move here from window.c.
14995 (record-window-buffer, unrecord-window-buffer)
14996 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14997 (switch-to-next-buffer): New functions.
14998 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14999 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15000 (previous-buffer): Move here from simple.el.
15001 Call switch-to-prev-buffer.
9397e56f
MR
15002 (bury-buffer): Move here from buffer.c. Switch to previous
15003 buffer when window cannot be deleted.
15004 (unbury-buffer): Move here from bindings.el.
15005 (ctl-x-map): Move binding for other-window from window.c to
15006 here.
15007 (read-buffer-to-switch, switch-to-buffer-other-window)
15008 (switch-to-buffer-other-frame): Move here from files.el.
15009 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15010 (switch-to-buffer): Move here from buffer.c.
15011 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15012
562dd5e9
MR
150132011-06-10 Martin Rudalics <rudalics@gmx.at>
15014
15015 * window.el (window-min-height, window-min-width): Move here
15016 from window.c. Add defcustoms and rewrite doc-strings.
15017 (resize-mini-window, resize-window): New functions.
15018 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15019 Move here from window.c.
15020 (maximize-window, minimize-window): New functions.
15021 (delete-window, delete-other-windows, split-window): Move here
15022 from window.c.
15023 (window-split-min-size): New function.
15024 (split-window-keep-point): Mention split-window-above-each-other
15025 instead of split-window-vertically.
2b75be67 15026 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15027 Rename split-window-vertically to split-window-above-each-other
15028 and provide defalias for old definition.
15029 (split-window-side-by-side, split-window-horizontally):
15030 Rename split-window-horizontally to split-window-side-by-side
15031 and provide defalias for the old definition.
562dd5e9
MR
15032 (ctl-x-map): Move bindings for delete-window,
15033 delete-other-windows and enlarge-window here from window.c.
15034 Replace bindings for split-window-vertically and
15035 split-window-horizontally by bindings for
15036 split-window-above-each-other and split-window-side-by-side.
15037
15038 * cus-start.el (all): Remove entries for window-min-height and
15039 window-min-width. Add entries for window-splits and
15040 window-nest.
15041
f0da764a
GM
150422011-06-09 Glenn Morris <rgm@gnu.org>
15043
80675c21
GM
15044 * calendar/appt.el (appt-mode-line): New function.
15045 (appt-check, appt-disp-window): Use it.
15046
f0da764a
GM
15047 * files.el (hack-one-local-variable-eval-safep):
15048 Allow minor-modes with explicit +/-1 arguments.
15049
59f623b7
TZ
150502011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15051
15052 * term/xterm.el (xterm): Add defgroup.
15053 (xterm-extra-capabilities): Add defcustom to supply known xterm
15054 capabilities, skip querying them, or query them (default).
15055 (terminal-init-xterm): Use it.
15056 (terminal-init-xterm-modify-other-keys): New function to set up
15057 modifyOtherKeys support to simplify `terminal-init-xterm'.
15058
9aab8e0d
MR
150592011-06-09 Martin Rudalics <rudalics@gmx.at>
15060
15061 * window.el (resize-window-reset, resize-window-reset-1)
15062 (resize-subwindows-skip-p, resize-subwindows-normal)
15063 (resize-subwindows, resize-other-windows, resize-this-window)
15064 (resize-root-window, resize-root-window-vertically)
15065 (window-deletable-p, window-or-subwindow-p)
15066 (frame-root-window-p): New functions.
15067
e8b08aee
GM
150682011-06-09 Glenn Morris <rgm@gnu.org>
15069
15070 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15071 (ange-ftp-get-files): Use it.
15072
254c37a5
AK
150732011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15074
15075 * mail/sendmail.el (mail-recover-1, mail-recover):
15076 * files.el (recover-file, recover-session):
15077 Handle dired-listing-switches not being just a single short option.
15078
35d7dbd3
GM
150792011-06-09 Glenn Morris <rgm@gnu.org>
15080
15081 * calendar/appt.el (appt-display-message, appt-disp-window):
15082 Handle lists of appointments.
15083
387522b2
MR
150842011-06-08 Martin Rudalics <rudalics@gmx.at>
15085
2b75be67
SM
15086 * window.el (one-window-p): Move down in code.
15087 Rewrite doc-string.
15088 (window-current-scroll-bars): Rewrite doc-string.
15089 Normalize live window argument.
387522b2
MR
15090 (walk-windows, get-window-with-predicate, count-windows):
15091 Rewrite doc-string. Use window-list-1.
15092 (window-in-direction-2, window-in-direction, get-mru-window):
15093 New functions.
15094
d8e4b68b 150952011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15096
15097 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15098 Doc fix (Bug#8713).
15099
151002011-06-08 Chong Yidong <cyd@stupidchicken.com>
15101
15102 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15103
151042011-06-08 Juanma Barranquero <lekktu@gmail.com>
15105
15106 * loadhist.el (unload-feature-special-hooks):
15107 Add `comint-output-filter-functions'.
15108
0de12c52
IK
151092011-06-08 Ivan Kanis <gnu@kanis.fr>
15110
15111 * calendar/appt.el (appt-check): Move some initializations into the let.
15112
f3d1777e
MR
151132011-06-08 Martin Rudalics <rudalics@gmx.at>
15114
15115 * window.el (window-height): Defalias to window-total-height.
15116 (window-width): Defalias to window-body-width.
15117
18af70d0
CY
151182011-06-07 Chong Yidong <cyd@stupidchicken.com>
15119
15120 * image-mode.el (image-toggle-animation): New command.
15121 (image-mode-map): Bind it to RET.
15122 (image-mode): Update message.
15123 (image-toggle-display-image): Avoid a spurious cache flush.
15124 (image-transform-rotation): Doc fix.
15125 (image-transform-properties): Return quickly in the normal case.
15126 (image-animate-loop): Rename from image-animate-max-time.
15127
2b75be67 15128 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15129 (create-animated-image): Remove unnecessary function.
15130 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15131 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15132 (image-animate-timer): Use car-safe.
15133 (image-animate-timeout): Rename argument.
15134
190b47e6
MR
151352011-06-07 Martin Rudalics <rudalics@gmx.at>
15136
15137 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15138 window.c. Rename first argument to ALL-FRAMES.
15139 Rephrase doc-strings.
15140 (get-buffer-window-list): Rewrite using window-list-1.
15141 Rephrase doc-string.
a1511caf
MR
15142 (window-safe-min-height, window-safe-min-width): New constants.
15143 (window-size-ignore, window-min-size, window-min-size-1)
15144 (window-sizable, window-sizable-p, window-size-fixed-1)
15145 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15146 (window-max-delta-1, window-max-delta, window-resizable)
15147 (window-resizable-p, window-total-height, window-total-width)
15148 (window-body-width): New functions.
15149 (window-full-height-p, window-full-width-p): Rewrite using
15150 window-total-size.
15151 (window-body-height): Rewrite using window-body-size.
190b47e6 15152
85cc1f11
MR
151532011-06-06 Martin Rudalics <rudalics@gmx.at>
15154
15155 * window.el (window-right, window-left, window-child)
15156 (window-child-count, window-last-child, window-any-p)
15157 (normalize-live-buffer, normalize-live-frame)
15158 (normalize-any-window, normalize-live-window)
15159 (window-iso-combination-p, window-iso-combined-p)
15160 (window-iso-combinations)
15161 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15162 (windows-with-parameter, window-with-parameter)
15163 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15164 (window-atom-check, window-side-check, window-check):
15165 New functions.
85cc1f11
MR
15166 (ignore-window-parameters, window-sides, window-sides-vertical)
15167 (window-sides-slots): New variables.
15168 (window-size-fixed): Move down in code. Minor doc-string fix.
15169
e7156492
AS
151702011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15171
15172 * comint.el (comint-dynamic-complete-as-filename)
15173 (comint-dynamic-complete-filename): Correctly call
15174 completion-in-region.
15175
7e821d0d
DD
151762011-06-05 Deniz Dogan <deniz@dogan.se>
15177
15178 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15179 in last change.
15180
ac09b8a1
DD
151812011-06-05 Deniz Dogan <deniz@dogan.se>
15182
15183 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15184 (rcirc): Use it to prompt for encryption.
15185
34699b85
RW
151862011-06-05 Roland Winkler <winkler@gnu.org>
15187
15188 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15189 (bibtex-search-entries): New command bound to C-c C-a.
15190 (bibtex-display-entries): New function.
15191
004dedd3
RW
151922011-06-05 Roland Winkler <winkler@gnu.org>
15193
15194 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15195 (bibtex-insert-kill): After yanking insert newline if necessary.
15196 (bibtex-initialize): Call bibtex-string-files-init only once.
15197 (bibtex-mode): Do not call easy-menu-add.
15198 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15199 (bibtex-yank): Set arg properly if nil.
15200
022fe7ce
RW
152012011-06-05 Roland Winkler <winkler@gnu.org>
15202
2b75be67
SM
15203 * textmodes/bibtex.el (bibtex-search-entry-globally):
15204 New variable.
022fe7ce
RW
15205 (bibtex-search-entry): Use it.
15206
b7c3692a
RW
152072011-06-05 Roland Winkler <winkler@gnu.org>
15208
15209 * textmodes/bibtex.el (bibtex-entry-format): New option
15210 sort-fields.
15211 (bibtex-format-entry, bibtex-reformat): Honor this option.
15212 (bibtex-parse-entry): Return fields in proper order.
15213
8eda563d
JB
152142011-06-05 Juanma Barranquero <lekktu@gmail.com>
15215
15216 * doc-view.el (doc-view-remove-if): Move computation of result out
15217 of `dolist' to silence misleading lexical-binding warning.
15218
7dbe3dbc
CY
152192011-06-04 Chong Yidong <cyd@stupidchicken.com>
15220
15221 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15222 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15223
0c33dd17
MA
152242011-06-04 Michael Albinus <michael.albinus@gmx.de>
15225
15226 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15227 "SunOS 5.10".
15228
f8f91c2b
MA
152292011-06-04 Michael Albinus <michael.albinus@gmx.de>
15230
15231 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15232 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15233 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15234 (tramp-parse-putty):
15235 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15236 (tramp-completion-function-alist-ssh)
15237 (tramp-completion-function-alist-telnet)
15238 (tramp-completion-function-alist-su)
15239 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15240 cookie.
15241
15242 * net/tramp-ftp.el:
15243 * net/tramp-sh.el:
15244 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15245 load "tramp.el" `tramp-set-completion-function'.
15246
e17d9003
SM
152472011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15248
15249 * shell.el: Require and use pcomplete.
15250 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15251 (shell-completion-vars): Set pcomplete-default-completion-function.
15252
6c4cab03
DD
152532011-06-04 Deniz Dogan <deniz@dogan.se>
15254
15255 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15256 `memq' (Bug#8799).
15257
ea9fafe0
SM
152582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15259
15260 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15261
b3e945d3
JB
152622011-06-02 Juanma Barranquero <lekktu@gmail.com>
15263
15264 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15265 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15266 * vc/log-view.el (log-view-beginning-of-defun):
15267 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15268 (smerge-refine-forward, smerge-refine-chopup-region):
15269 Silence warning for unused `dotimes' counter variables.
15270
7d520089
SM
152712011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15272
15273 * net/tramp.el (tramp-with-progress-reporter): Rename from
15274 with-progress-reporter. Use `declare'.
15275 * net/tramp-smb.el:
15276 * net/tramp-sh.el:
15277 * net/tramp-gvfs.el: Update all uses.
15278
a1c2400f
JB
152792011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15280
15281 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15282 buffer isn't killed before making it current.
15283
2403c841
SM
152842011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 Silence various byte-compiler warnings.
15287 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15288 `access-type' and new obsolescence format.
15289 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15290 new format.
15291 (byte-compile-check-variable): New `access-type' argument.
15292 Only warn if the access-type is obsolete.
15293 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15294 (byte-compile-variable-set): Adjust callers.
15295 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15296 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15297 setting it as obsolete.
15298 * simple.el (minibuffer-completing-symbol):
15299 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15300 access as obsolete.
15301 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15302 obsolete yet.
15303 * international/quail.el (quail-mouse-choose-completion): Remove unused
15304 code referring to obsolete var.
15305 (quail-choose-completion-string): Remove.
15306 * server.el (server-clients-with, server-kill-buffer-query-function)
15307 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15308 * proced.el (proced-send-signal):
15309 * emacs-lisp/lisp.el (lisp-complete-symbol):
15310 Replace completion-annotate-function with completion-extra-properties.
15311
2462470b
SM
153122011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15313
fb5b2591
SM
15314 * simple.el (goto-line): Use read-number.
15315 (overriding-map-is-bound): Remove.
15316 (saved-overriding-map): Change default.
15317 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15318 Take the map as argument.
15319 (universal-argument, negative-argument, digit-argument): Use it.
15320 (restore-overriding-map): Adjust.
15321 (do-auto-fill): Use fill-forward-paragraph.
15322 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15323
fd6fa53f
SM
15324 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15325 (minibuffer-inactive-mode): New major mode.
15326 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15327 the *Messages* buffer" hack.
15328 (mouse-popup-menubar): Don't burp if the event is a normal key.
15329
2462470b
SM
15330 Miscellaneous tweaks.
15331 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15332 lexical scoping as in subr.el's dolist and dotimes.
15333 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15334 Silence compiler warning.
15335 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15336 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15337 * international/ccl.el (ccl-compile): Trivial simplification.
15338 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15339 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15340 `printflag' argument.
15341 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15342 Purecopy the whole obsolescence data.
15343
108bf785
LL
153442011-06-01 Leo Liu <sdl.web@gmail.com>
15345
15346 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15347 improve doc-string as suggested by Marco Pessotto
15348 <melmothx@gmail.com>.
15349 (rcirc-print): Fix last change.
15350
30a23501
SM
153512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15352
15353 * minibuffer.el (complete-with-action): Return nil for the metadata and
15354 boundaries of non-functional tables.
15355 (completion-table-dynamic): Return nil for the metadata.
15356 (completion-table-with-terminator): Add default case, using
15357 complete-with-action.
15358 (completion--metadata): New function.
15359 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15360 to try and avoid pathological performance problems.
15361 (completion--embedded-envvar-table): Return `category' metadata.
15362
bcd54f83
LMI
153632011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15364
15365 * subr.el (process-alive-p): New tiny convenience function.
15366
e227544d
SM
153672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15368
15369 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15370 content but also its previous major mode.
15371
e8296fdc
HE
153722011-05-31 Helmut Eller <eller.helmut@gmail.com>
15373
4d61f28d 15374 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15375 *Backtrace* buffer when we exit with C-M-c.
15376
620c53a6
SM
153772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15378
15379 * minibuffer.el: Add metadata method to completion tables.
15380 (completion-category-overrides): New defcustom.
15381 (completion-metadata, completion--field-metadata)
15382 (completion-metadata-get, completion--styles)
15383 (completion--cycle-threshold): New functions.
15384 (completion-try-completion, completion-all-completions):
15385 Add `metadata' argument to choose completion-styles.
15386 (completion--do-completion): Use metadata to choose cycling.
15387 (completion-all-sorted-completions): Use metadata for sorting.
15388 Remove :completion-cycle-penalty which is not needed any more.
15389 (completion--try-word-completion): Add `metadata' argument.
15390 (minibuffer-completion-help): Check metadata for annotation function
15391 and sorting.
15392 (completion-file-name-table): Return `category' metadata.
15393 (minibuffer-completing-file-name): Make obsolete.
15394 * simple.el (minibuffer-completing-symbol): Make obsolete.
15395 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15396 completion-try-completion.
15397
1257e755
SM
153982011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15401
3767e706
LL
154022011-05-30 Leo Liu <sdl.web@gmail.com>
15403
15404 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15405 (rcirc-print): Decode all incoming messages (bug#8744).
15406 (rcirc-decode-coding-system): Allow value nil for automatic coding
15407 system detection.
3767e706 15408
d1a5d56a
GM
154092011-06-01 Glenn Morris <rgm@gnu.org>
15410
15411 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15412
e8cbec34
CY
154132011-05-29 Chong Yidong <cyd@stupidchicken.com>
15414
15415 * image.el (image-animate-max-time): Allow nil and t values.
15416 Default to nil.
15417 (create-animated-image): Doc fix.
15418 (image-animate-start): Remove second arg; just use
15419 image-animate-max-time.
15420 (image-animate-timeout): Doc fix. Args changed.
15421
15422 * image-mode.el (image-toggle-display-image): Ensure that the
15423 image spec passed to the animate timer is the same object as in
58179cce 15424 the buffer's display property (Bug#6981).
e8cbec34
CY
15425 (image-transform-properties): Doc fix.
15426
15427 * image.el (image-animate-max-time): Default to nil.
15428
159daf87
MR
154292011-05-29 Martin Rudalics <rudalics@gmx.at>
15430
15431 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15432 entire buffer list (Bug#8184).
15433
d66c4c7c
CY
154342011-05-29 Chong Yidong <cyd@stupidchicken.com>
15435
15436 * image.el (imagemagick-types-inhibit)
15437 (imagemagick-register-types): Doc fix.
15438
80aec780
DD
154392011-05-29 Deniz Dogan <deniz@dogan.se>
15440
15441 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15442 default.
15443
1dd3c2d9
CY
154442011-05-29 Chong Yidong <cyd@stupidchicken.com>
15445
15446 * select.el: Don't perform clipboard-manager saving in hooks;
15447 leave the hooks empty.
15448
60e56523
LL
154492011-05-28 Leo Liu <sdl.web@gmail.com>
15450
15451 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15452 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15453 (occur-edit-mode): New major mode (Bug#8463).
15454 (occur-after-change-function): New function.
15455 (occur-engine): Give Occur tags a read-only property.
15456
2b1e1a22
KR
154572011-05-28 Kevin Ryde <user42@zip.com.au>
15458
15459 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15460
5d344e88
CY
154612011-05-28 Chong Yidong <cyd@stupidchicken.com>
15462
8e6ca83d
CY
15463 * bindings.el (help-echo): Make the initial non-indicator dash
15464 empty on graphical terminals (Bug#7295).
15465
5d344e88
CY
15466 * files.el (auto-mode-alist): Move config rule after the
15467 in-stripping one (Bug#8547).
15468
bfbbace7
CY
15469 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15470
fbeba6e2
CY
15471 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15472 setting (Bug#8740).
15473
60ed8c72
AA
154742011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15475
4ac619f0
AA
15476 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15477 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15478 (Bug#8539).
60ed8c72 15479
23db196e
CY
154802011-05-28 Chong Yidong <cyd@stupidchicken.com>
15481
15482 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15483
5012f24c
DK
154842011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15485
15486 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15487 (hs-hide-block-at-point, hs-find-block-beginning)
15488 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15489 (Bug#8279).
15490
6a639b16
GM
154912011-05-28 Glenn Morris <rgm@gnu.org>
15492
15493 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15494
d43eaf2c
CY
154952011-05-28 Chong Yidong <cyd@stupidchicken.com>
15496
5199bde1
CY
15497 * help-fns.el (describe-function-1): If the function is a derived
15498 major mode, print the parent mode.
15499
d43eaf2c
CY
15500 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15501 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15502
423428a8
SM
155032011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15504
0ff8e1ba 15505 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15506 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15507 * progmodes/etags.el (tags-completion-at-point-function):
15508 * info-look.el (info-lookup-completions-at-point): Mark as
15509 non-exclusive.
15510 (info-complete): Adjust accordingly.
15511
423428a8
SM
15512 * info-look.el: Convert to lexical-binding and completion-at-point.
15513 (info-lookup-completions-at-point): New function.
15514 (info-complete): Use it and completion-in-region.
15515
b74aa22b
DA
155162011-05-28 Drew Adams <drew.adams@oracle.com>
15517
15518 * isearch.el: Let M-e start with point at the first mismatched char.
15519 (isearch-fail-pos): New function.
15520 (isearch-edit-string): Use it.
15521
66e2e71d
DK
155222011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15523
15524 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15525
b1890b0f 155262011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15527
15528 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15529 traversal functions for avl-trees.
15530 (avl-tree--stack): New struct.
15531 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15532 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15533 (avl-tree--do-enter): Add optional `updatefun' arg.
15534 Change return value.
eb95d01d 15535 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15536 (avl-tree--do-delete): Add `test' and `nilflag' args.
15537 Change return value.
eb95d01d
TC
15538 (avl-tree-member): Add optional `nilflag'
15539 (avl-tree-member-p): New function.
15540 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15541 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15542 (avl-tree-stack-empty-p): New functions.
15543
3769ddcf
TC
15544 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15545 avl-tree--del-balance1 and make it work both ways.
15546 (avl-tree--del-balance2): Remove.
15547 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15548 make it work both ways.
15549 (avl-tree--enter-balance2): Remove.
15550 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15551 New macros.
15552 (avl-tree--mapc, avl-tree-map): Add direction argument.
15553
eb95d01d 155542011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15555
15556 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15557
a9f737ee
CY
155582011-05-27 Chong Yidong <cyd@stupidchicken.com>
15559
15560 * select.el: Support clipboard managers with built-in function
15561 x-clipboard-manager-save, via delete-frame-functions and
15562 kill-emacs-hook.
15563 (xselect-convert-to-targets): Add MULTIPLE target to list.
15564 (xselect-convert-to-save-targets): New function.
15565
c92a1e54
KH
155662011-05-27 Kenichi Handa <handa@m17n.org>
15567
15568 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15569 let-binding rfc2047-encode-encoded-words to nil.
15570
e145f188
GM
155712011-05-27 Glenn Morris <rgm@gnu.org>
15572
5ec8a862
GM
15573 * mail/emacsbug.el: Don't require url-util.
15574
4b29d9fb
GM
15575 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15576
e145f188
GM
15577 * files.el (set-auto-mode):
15578 Also respect mode: entries at the end of the file. (Bug#8586)
15579
7d15102b
GM
155802011-05-26 Glenn Morris <rgm@gnu.org>
15581
98f593b8
GM
15582 * files.el (hack-local-variables-prop-line, hack-local-variables):
15583 Downcase mode names, as seems to be traditional.
27b48e63 15584 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15585
7d15102b
GM
15586 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15587 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15588
51d5b4ec
JD
155892011-05-25 Julien Danjou <julien@danjou.info>
15590
15591 * textmodes/rst.el (rst-define-level-faces): Do not define face
15592 symbol if it is already defined.
15593
91513f63
VB
155942011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15595
15596 * play/5x5.el (5x5-new-game, 5x5-randomize):
15597 Reset 5x5-solver-output to nil when a new grid is cast.
15598 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15599 these debugging traces, as defmacro breaks the compiled code.
15600
4d90d6d0
DK
156012011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15602
15603 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15604
e1b90ef6
LL
156052011-05-24 Leo Liu <sdl.web@gmail.com>
15606
15607 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15608 (vc-bzr-sha1): Adapt.
15609
d8e4b68b 15610 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15611
15612 * bindings.el: Provide sha1 feature.
15613
db0406bb 156142011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15615
15616 * mail/sendmail.el: Require `rfc2047'.
15617 (mail-insert-from-field): Do not perform RFC2047 encoding.
15618 (mail-encode-header): New function.
15619 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15620 buffer to the return value of select-message-coding-system.
15621 Call mail-encode-header.
b8d747b9
KH
15622
15623 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15624
db0406bb 156252011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15626
4d90d6d0
DK
15627 * mail/supercite.el (sc-default-cite-frame):
15628 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15629
eb8a5e9b
GM
156302011-05-24 Glenn Morris <rgm@gnu.org>
15631
f8630703
GM
15632 * progmodes/python.el (brm-menu): Declare.
15633
8831bbed
GM
15634 * emulation/viper.el (viper-set-hooks): Declare.
15635
eb8a5e9b
GM
15636 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15637 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15638 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15639 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15640 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15641 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15642
a2a25d24
SM
156432011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 Add an :exit-function for completion-at-point.
15646
15647 * minibuffer.el (completion--done): New fun.
15648 (completion--do-completion): Use it. New arg `expect-exact'.
15649 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15650 since completion--do-completion does it for us now.
15651 (minibuffer-force-complete): Use completion--done and
15652 completion--replace. Handle sole-completion case with more care.
15653 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15654 (completion-extra-properties): New var.
15655 (completion-annotate-function): Make obsolete.
15656 (minibuffer-completion-help): Adjust accordingly.
15657 Use completion-list-insert-choice-function.
15658 (completion-at-point, completion-help-at-point):
15659 Bind completion-extra-properties.
15660 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15661 * simple.el (completion-list-insert-choice-function): New var.
15662 (completion-setup-function): Preserve it.
15663 (choose-completion): Pay attention to it, shuffle the code a bit.
15664 (choose-completion-string): New arg `insert-function'.
15665
15666 * textmodes/bibtex.el: Convert to lexical binding.
15667 (bibtex-mode-map): Use completion-at-point.
15668 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15669 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15670 (bibtex-complete): Define as obsolete alias.
15671 (bibtex-complete-internal): Remove.
15672 (bibtex-format-entry): Remove unused sub-group in regexp.
15673 * shell.el (shell--command-completion-data)
15674 (shell-environment-variable-completion):
15675 * pcomplete.el (pcomplete-completions-at-point):
15676 * comint.el (comint--complete-file-name-data): Use :exit-function
15677 instead of completion-table-with-terminator so it also works for
15678 choose-completion.
15679
e44e373d
SM
156802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15681
4f91a816
SM
15682 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15683
782fc819
SM
15684 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15685 (bug#8710).
15686
e44e373d
SM
15687 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15688
381987c3
KM
156892011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15690
15691 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15692 customization variable and implement: If non-nil, auto-fill will
15693 be inhibited while on topic's header line.
15694
b776bc70
VB
156952011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15696
15697 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15698 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15699 always have a solution in grid size = 5 cases.
15700 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15701 (5x5-solver-output, 5x5-log-buffer): New vars.
15702 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15703 Make these variables buffer local to achieve 5x5 multi-session-ness.
15704 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15705 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15706 (5x5-solve-suggest): New funs.
15707 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15708 randomize a grid so that we ensure that there is always a solution.
15709 (5x5-make-random-grid): Allow other movement than flipping.
15710
7de88b6e
KR
157112011-05-23 Kevin Ryde <user42@zip.com.au>
15712
15713 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15714 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15715 advice and passes PREDICATE.
15716
b1ef1257
SM
157172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15718
bbca48fe
SM
15719 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15720 byte-compile-lambda if it's actually a lambda.
15721
b1ef1257
SM
15722 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15723 Fix function quoting. Use backquote better.
15724
92a9cc65
YS
157252011-05-22 Yuanle Song <sylecn@gmail.com>
15726
15727 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15728 matching (Bug#8516).
15729
f0fb8059
JA
157302011-01-22 Jari Aalto <jari.aalto@cante.net>
15731
15732 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15733 different face (Bug#8178).
15734
d5b44c93
CY
157352011-05-22 Chong Yidong <cyd@stupidchicken.com>
15736
15737 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15738 defface (Bug#8144).
15739
79106a44
SM
157402011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15741
9c848d8a
SM
15742 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15743 funcall as well (bug#8712). Warn when performing those conversions.
15744 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15745
79106a44
SM
15746 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15747
88dfa756
GM
157482011-05-22 Glenn Morris <rgm@gnu.org>
15749
15750 * files.el (hack-local-variables-prop-line): Small simplifications.
15751 (hack-local-variables, hack-local-variables-prop-line):
15752 If MODE-ONLY, return the mode, rather than just `t'.
15753
b7cf2c79
SM
157542011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15755
15756 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15757
3f1a8558
GM
157582011-05-21 Glenn Morris <rgm@gnu.org>
15759
7e4ccca3
GM
15760 * files.el (hack-local-variables-prop-line, hack-local-variables):
15761 If only interested in the mode, don't bother doing the other stuff.
15762
637d46ca
GM
15763 * image-mode.el (image-after-revert-hook):
15764 Redraw all frames on which the image is visible. (Bug#8567)
15765
973d955b
GM
15766 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15767
3f1a8558
GM
15768 * wid-edit.el (widget-checklist-match-inline):
15769 Fix 2011-04-19 change. (Bug#8649)
15770
96479927
SM
157712011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15772
1dcf791f
SM
15773 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15774 Also allow singlespace after single-letter capitals followed by a dot.
15775
96479927
SM
15776 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15777 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15778
35fd0881
N
157792011-05-20 Nix <nix@esperi.org.uk>
15780
15781 * files.el (basic-save-buffer-2):
15782 Fix handling of break-hardlink-on-save with non-existent files.
15783
82745640
DD
157842011-05-19 Deniz Dogan <deniz@dogan.se>
15785
15786 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15787 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15788
4a720484
GM
157892011-05-19 Glenn Morris <rgm@gnu.org>
15790
d1f21341
GM
15791 * progmodes/f90.el (f90-type-def-re):
15792 Handle "type, bind(c)". (Bug#8691)
15793
4a720484
GM
15794 * emacs-lisp/autoload.el (batch-update-autoloads):
15795 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15796
2fb0a219
MA
157972011-05-18 Michael Albinus <michael.albinus@gmx.de>
15798
15799 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15800 property for the correct connection in case of multihops.
15801
e565dd37
GM
158022011-05-18 Glenn Morris <rgm@gnu.org>
15803
c2571358 15804 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15805 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15806
e565dd37
GM
15807 Rationalize calendar handling of day and month abbrev-arrays.
15808 * calendar/calendar.el (calendar-customized-p): New function.
15809 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15810 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15811 Add :set function.
15812 (calendar-abbrev-length, calendar-day-abbrev-array)
15813 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15814 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15815 Elements may no longer be nil.
15816 (calendar-day-name, calendar-month-name):
15817 Update for changed nature of abbrev arrays.
15818 * calendar/diary-lib.el (diary-name-pattern):
15819 Update for changed nature of abbrev arrays.
15820 (diary-mark-entries-1): Update calendar-make-alist calls.
15821 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15822 * calendar/cal-html.el (cal-html-day-abbrev-array):
15823 Simply inherit from calendar-day-abbrev-array.
15824
1d99a745
SM
158252011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15826
15827 * progmodes/grep.el (grep-mode): Disable default
15828 compilation-directory-matcher setting (bug#8684).
15829
7c1d9aa0
MA
158302011-05-17 Michael Albinus <michael.albinus@gmx.de>
15831
15832 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15833 instead of "head" and "tail". There were problems with SunOS 5.9,
15834 and it performs better.
15835
3952e9d8
GM
158362011-05-17 Glenn Morris <rgm@gnu.org>
15837
2dd12e7f
GM
15838 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15839
e4157b9c
GM
15840 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15841 Replace obsolete function.
15842
8e249bbd
GM
15843 * shell.el (pcomplete-parse-arguments-function): Declare.
15844
3952e9d8
GM
15845 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15846 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15847 (appt-check): Doc fixes.
15848 (appt-disp-window-function, appt-delete-window-function):
15849 Remove needless special case in custom :type.
15850 (appt-display-count): Default to 0, not nil.
15851 (appt-check): Reset appt-display-count to 0, not nil.
15852
c71a0d48 158532011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15854
c71a0d48
GM
15855 * progmodes/python.el (python-font-lock-keywords):
15856 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15857
31d55be9
SM
158582011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15861
3bfacb2f
KR
158622011-05-16 Kevin Ryde <user42@zip.com.au>
15863
15864 * info-look.el (makefile-automake-mode): New setups, looking in
15865 automake manual, then makefile-mode.
15866 (makefile-mode): Remove automake manual, have it just in
15867 makefile-automake-mode since there's various things different or
15868 not relevant to plain make.
15869 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15870 believe a hypothetical automake-mode would go to makefile-mode,
15871 not the other way around.
15872
c8e83751
CY
158732011-05-15 Chong Yidong <cyd@stupidchicken.com>
15874
5e9e35cd
CY
15875 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15876 hunk-end tags (Bug#8672).
15877
c8e83751
CY
15878 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15879 vc-annotate-show-diff-revision-at-line (Bug#8671).
15880
50b23e5a
GM
158812011-05-14 Glenn Morris <rgm@gnu.org>
15882
7210a739
GM
15883 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15884 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15885 (change-log-font-lock-keywords): Also handle multiple author lines
15886 with leading tabs. (Bug#8644)
7210a739 15887
4691905a
GM
15888 * calendar/appt.el (appt-check): Rename some local variables.
15889 Some simplification/reordering.
15890
50b23e5a
GM
15891 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15892 (feedmail-sendmail-f-doesnt-sell-me-out)
15893 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15894 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15895 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15896 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15897 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15898 (feedmail-binmail-gnulinuxish-template):
15899 Rename from feedmail-binmail-linuxish-template.
15900 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15901 Use insert-buffer-substring.
15902
215cda7c
BC
159032011-05-14 Bill Carpenter <bill@carpenter.org>
15904
15905 * mail/feedmail.el (feedmail-patch-level): Increase.
15906 (feedmail-debug): New custom group.
15907 (feedmail-confirm-outgoing-timeout)
15908 (feedmail-sendmail-f-doesnt-sell-me-out)
15909 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15910 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15911 (feedmail-sender-line, feedmail-from-line)
15912 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15913 (feedmail-spray-this-address)
215cda7c
BC
15914 (feedmail-spray-address-fiddle-plex-list)
15915 (feedmail-queue-use-send-time-for-date)
15916 (feedmail-queue-use-send-time-for-message-id)
15917 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15918 (feedmail-buffer-eating-function):
15919 Doc fixes.
15920 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15921 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15922 (feedmail-message-action-scroll-down): New functions.
15923 (feedmail-queue-directory, feedmail-queue-draft-directory):
15924 Use expand-file-name.
15925 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15926 Remove C-v help entry.
15927 (feedmail-queue-buffer-file-name): New variable.
15928 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15929 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15930 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15931 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15932 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15933 (feedmail-message-action-toggle-spray)
15934 (feedmail-run-the-queue-no-prompts)
15935 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15936 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15937 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15938 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15939 (feedmail-envelope-deducer, feedmail-fiddle-from)
15940 (feedmail-fiddle-sender, feedmail-default-date-generator)
15941 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15942 (feedmail-fiddle-spray-address)
15943 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15944 (feedmail-fiddle-list-of-fiddle-plexes)
15945 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15946 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15947 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15948 Change default. Doc fix.
15949 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15950 (feedmail-binmail-linuxish-template): New constant.
15951 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15952 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15953 (feedmail-send-it): Add debug call.
15954 Use feedmail-queue-buffer-file-name, and
15955 feedmail-send-it-immediately-wrapper.
15956 (feedmail-message-action-send): Add debug call.
15957 Use feedmail-send-it-immediately-wrapper.
15958 (feedmail-queue-express-to-queue): Add debug call.
15959 Run feedmail-queue-express-hook.
15960 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15961 (feedmail-message-action-help-blat):
15962 Rename from feedmail-queue-send-edit-prompt-help-first.
15963 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15964 Check line-endings. Handle errors better.
15965 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15966 Doc fix. Add debug call.
15967 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15968 Use feedmail-queue-send-edit-prompt-inner.
15969 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15970 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15971 from feedmail-queue-send-edit-prompt.
15972 (feedmail-queue-send-edit-prompt-help)
15973 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15974 (feedmail-tidy-up-slug): Add debug call.
15975 Respect feedmail-queue-slug-suspect-regexp.
15976 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15977 (feedmail-dump-message-to-queue): Add debug call.
15978 Expand queue-directory.
15979 (feedmail-dump-message-to-queue): Change message slightly.
15980 Use feedmail-say-chatter.
15981 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15982 (feedmail-send-it-immediately-wrapper): New function.
15983 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15984 Insert empty string rather than newline. Handle full-frame case.
15985 Use catch/throw. Use feedmail-say-chatter.
15986 (feedmail-fiddle-from): Try mail-host-address.
15987 (feedmail-default-message-id-generator): Doc fix.
15988 Bind system-time-locale. Handle missing end.
15989 (feedmail-fiddle-x-mailer): Add debug call.
15990 Handle feedmail-x-mailer-line being nil.
15991 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15992 Add debug call. Use buffer-substring-no-properties.
15993 (feedmail-say-debug, feedmail-say-chatter): New functions.
15994 (feedmail-find-eoh): Give an explicit error.
15995
42c7e61e
UJ
159962011-05-13 Ulf Jasper <ulf.jasper@web.de>
15997
c2571358 15998 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15999 family from helvetica to sans.
c2571358 16000 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16001 etc/images/newsticker.
16002
c2571358 16003 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16004 family from helvetica to sans.
16005
16006 * net/newst-plainview.el (newsticker-new-item-face)
16007 (newsticker-old-item-face, newsticker-immortal-item-face)
16008 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16009 (newsticker-statistics-face): Change default family from
42c7e61e 16010 helvetica to sans.
c2571358 16011 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16012 etc/images/newsticker.
16013
5d3385a0
JB
16014 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16015 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16016 auto-marking.
16017
8497a297
DV
160182011-05-13 Didier Verna <didier@xemacs.org>
16019
16020 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16021 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16022 TODO entries.
8497a297
DV
16023 (lisp-lambda-list-keyword-parameter-indentation)
16024 (lisp-lambda-list-keyword-parameter-alignment)
16025 (lisp-lambda-list-keyword-alignment): New customizable user options.
16026 (lisp-indent-defun-method): Improve docstring.
16027 (extended-loop-p): Fix comment.
16028 (lisp-indent-lambda-list-keywords-regexp): New variable.
16029 (lisp-indent-lambda-list): New function.
16030 (lisp-indent-259): Use it.
16031 (lisp-indent-defmethod): Support for more than one
16032 method qualifier and properly indent methods lambda-lists.
16033 (defgeneric): Provide a missing common-lisp-indent-function property.
16034
f278f87f
SM
160352011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16038 bounds for the empty string (bug#8667).
16039
5233edd7
GM
160402011-05-13 Glenn Morris <rgm@gnu.org>
16041
5237a44f
GM
16042 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16043
8340026c 16044 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16045 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16046
5233edd7 16047 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16048 (appt-time-msg-list): Doc fix.
a5464014 16049 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16050
92d10796
AS
160512011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * progmodes/ld-script.el (ld-script-keywords)
16054 (ld-script-builtins): Update keywords list.
16055
914a0ae1
SM
160562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16057
c89be45f
SM
16058 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16059
914a0ae1
SM
16060 * shell.el (shell-completion-vars): New function.
16061 (shell-mode):
16062 * simple.el (read-shell-command): Use it.
16063 (blink-matching-open): No need for " [...]" in minibuffer-message.
16064
98dc3df3
GM
160652011-05-12 Glenn Morris <rgm@gnu.org>
16066
16067 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16068 (appt-check): Simplify.
16069
d2fc7e3d 160702011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16071
4d61f28d 16072 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16073 literal "/dev/null".
16074
d2fc7e3d 160752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16076
16077 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16078 Fix typo.
16079
d2fc7e3d 160802011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16081
3f254caa
SM
16082 * progmodes/which-func.el (which-function):
16083 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16084 which might not be defined (Bug#8260).
16085
d45885f7
GM
160862011-05-12 Glenn Morris <rgm@gnu.org>
16087
16088 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16089 Let byte-compile-initial-macro-environment always take precedence.
16090
488086f4
SM
160912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * net/rcirc.el: Add support for SSL/TLS connections.
16094 (rcirc-server-alist): New field `encryption'.
16095 (rcirc): Check `encryption' settings.
16096 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16097 Merge make-local-variable into `set'.
16098 (rcirc--connection-open-p): New function.
16099 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16100 the process is not a network process (e.g. running gnutls-cli).
16101 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16102 Make rcirc-(en|de)code-coding-system local here.
16103 (rcirc-mode): Merge make-local-variable into `set'.
16104 (rcirc-parent-buffer): Make permanent buffer-local.
16105 (rcirc-multiline-minor-mode): Don't do it here.
16106 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16107 there's no server buffer.
16108
7d3b9d44
GM
161092011-05-11 Glenn Morris <rgm@gnu.org>
16110
f64049c6
GM
16111 * newcomment.el (comment-kill): Prefix "unused" local.
16112
93c9df73
GM
16113 * term/w32console.el (get-screen-color): Declare.
16114
7d3b9d44
GM
16115 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16116 Handle symbol elements of byte-compile-initial-macro-environment.
16117
9e2dd53f
LL
161182011-05-10 Leo Liu <sdl.web@gmail.com>
16119
488086f4
SM
16120 * bookmark.el (bookmark-bmenu-mode-map):
16121 Bind bookmark-bmenu-search to `/'.
8b340240 16122
9e2dd53f 16123 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16124 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16125 (Footnote-unicode): New function.
16126 (footnote-style-alist): Add unicode style to the list.
16127 (footnote-style): Doc fix.
9e2dd53f 16128
79b70037
GM
161292011-05-10 Jim Meyering <meyering@redhat.com>
16130
16131 Fix doubled-word typos.
16132 * international/quail.el (quail-insert-kbd-layout): and and -> and
16133 * kermit.el: and and -> and
16134 * net/ldap.el (ldap-search-internal): to to -> to
16135 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16136 * progmodes/js.el (js-mode): and and -> and
16137 * textmodes/artist.el (artist-move-to-xy): at at -> at
16138 (artist-draw-region-trim-line-endings): if if -> if
16139 And Safetyc -> Safety.
16140 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16141
b8f82dc1 161422011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16143 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16144
16145 * files.el (hack-one-local-variable-eval-safep):
16146 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16147
4f99f44b
GM
161482011-05-10 Glenn Morris <rgm@gnu.org>
16149
16150 * calendar/diary-lib.el (diary-list-entries-hook)
16151 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16152 (diary-nongregorian-marking-hook, diary-list-entries)
16153 (diary-include-other-diary-files, diary-mark-entries)
16154 (diary-mark-included-diary-files): Doc fixes.
16155
84f29e6b
JB
161562011-05-09 Juanma Barranquero <lekktu@gmail.com>
16157
16158 * misc.el: Require tabulated-list.el during compilation.
16159
9bedd73a
CY
161602011-05-09 Chong Yidong <cyd@stupidchicken.com>
16161
488086f4
SM
16162 * progmodes/compile.el (compilation-start):
16163 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16164 (compilation-filter-hook): Doc fix.
16165
797c735c
DD
161662011-05-09 Deniz Dogan <deniz@dogan.se>
16167
16168 * wdired.el: Remove outdated installation comment. Fix usage
16169 comment.
16170
5f4b1dfe
JB
161712011-05-09 Juanma Barranquero <lekktu@gmail.com>
16172
16173 * misc.el: Implement new command `list-dynamic-libraries'.
16174 (list-dynamic-libraries--loaded-only-p): New variable.
16175 (list-dynamic-libraries--refresh): New function.
16176 (list-dynamic-libraries): New command.
16177
4c44026c
CY
161782011-05-09 Chong Yidong <cyd@stupidchicken.com>
16179
488086f4
SM
16180 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16181 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16182 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16183 higher priority to avoid clobbering by gnu.
16184
027f966d
CY
161852011-05-08 Chong Yidong <cyd@stupidchicken.com>
16186
16187 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16188 if the face has existing theme settings (Bug#8454).
16189
085f5d7d
CY
161902011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16191
488086f4
SM
16192 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16193 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16194
2a86a00c
RS
16195 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16196 special file names `.' and `..' (Bug#8259).
16197
d9c54a06
CY
161982011-05-08 Chong Yidong <cyd@stupidchicken.com>
16199
488086f4
SM
16200 * progmodes/grep.el (grep-mode-font-lock-keywords):
16201 Remove buffer-changing entries.
d9c54a06
CY
16202 (grep-filter): New function.
16203 (grep-mode): Add it to compilation-filter-hook.
16204
16205 * progmodes/compile.el (compilation-filter-hook)
16206 (compilation-filter-start): New defvars.
16207 (compilation-filter): Call compilation-filter-hook prior to
16208 updating the process mark.
16209
c4662635
SM
162102011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16211
16212 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16213
b0512a1d
EZ
162142011-05-07 Eli Zaretskii <eliz@gnu.org>
16215
605c9376
EZ
16216 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16217 mailclient-send-it even if window-system is nil. (Bug#8595)
16218
c4662635
SM
16219 * term/w32console.el (terminal-init-w32console):
16220 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16221 background-mode. (Bug#8597)
16222
d1dc2cc2
SM
162232011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16226 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16227 New functions.
16228 (defgeneric, eieio--defmethod): Use them.
16229 (eieio-defgeneric): Remove.
16230 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16231
915d1300
GM
162322011-05-07 Glenn Morris <rgm@gnu.org>
16233
a3961c3e
GM
16234 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16235 Use let rather than let*.
16236 (timeclock-find-discrep): Remove unused local.
16237
314347b9
GM
16238 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16239
915d1300
GM
16240 * calendar/appt.el (appt-time-msg-list): Doc fix.
16241
275b59b0
NF
162422011-05-06 Noah Friedman <friedman@splode.com>
16243
16244 * apropos.el (apropos-print-doc): Only use
16245 emacs-lisp-docstring-fill-column when it is bound to an integer,
16246 per that variable's documentation.
16247
6c19f744
SM
162482011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16249
16250 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16251 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16252
60f884b2
GM
162532011-05-06 Glenn Morris <rgm@gnu.org>
16254
5006e634
GM
16255 * calendar/appt.el (appt-message-warning-time): Doc fix.
16256 (appt-warning-time-regexp): New option.
16257 (appt-make-list): Respect appt-message-warning-time.
16258
548d0a63
GM
16259 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16260 New options.
16261 (diary-add-to-list): Strip comments from the displayed string.
16262 (diary-mode): Set comment-start and comment-end.
16263
60f884b2
GM
16264 * vc/diff-mode.el (smerge-refine-subst): Declare.
16265 (diff-refine-hunk): Don't require smerge-mode when compiling.
16266
989681bb
JB
162672011-05-06 Juanma Barranquero <lekktu@gmail.com>
16268
16269 * simple.el (list-processes): Return nil as the docstring says.
16270
a6bc05e1
MA
162712011-05-05 Michael Albinus <michael.albinus@gmx.de>
16272
16273 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16274 to "".
16275 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16276 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16277 determining of binary transfer. (Bug#7383)
16278
23c22e9a
MA
162792011-05-05 Michael Albinus <michael.albinus@gmx.de>
16280
c4662635
SM
16281 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16282 Fix port computation bug. (Bug#8618)
23c22e9a 16283
0bff894f
GM
162842011-05-05 Glenn Morris <rgm@gnu.org>
16285
b8296902
GM
16286 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16287
1f522ce8
GM
16288 * simple.el (shell-dynamic-complete-functions)
16289 (comint-dynamic-complete-functions): Declare.
16290
cf5bee67
GM
16291 * net/network-stream.el (gnutls-negotiate):
16292 * simple.el (tabulated-list-print): Fix declarations.
16293
16294 * progmodes/gud.el (syntax-symbol, syntax-point):
16295 Remove unnecessary and incorrect declarations.
16296
0bff894f
GM
16297 * emacs-lisp/check-declare.el (check-declare-scan):
16298 Handle byte-compile-initial-macro-environment in bytecomp.el
16299
9869b3ae
SM
163002011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16301
16302 Fix earlier half-done eieio-defmethod change (bug#8338).
16303 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16304 Streamline and change calling convention.
16305 (defmethod): Adjust accordingly and simplify.
16306 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16307 new eieio--defmethod.
16308 (slot-boundp): Minor CSE simplification.
16309
9c1d5ac5
MZ
163102011-05-05 Milan Zamazal <pdm@zamazal.org>
16311
16312 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16313 (glasses-make-readable): Use glasses-separate-capital-groups.
16314
455c834e
JB
163152011-05-05 Juanma Barranquero <lekktu@gmail.com>
16316
16317 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16318 (warning-series): Doc fix.
16319 (display-warning): Don't try to create the buffer if we just found it.
16320
9ed7c8cb
CY
163212011-05-04 Chong Yidong <cyd@stupidchicken.com>
16322
16323 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16324 (autoload-find-generated-file): New function.
16325 (generate-file-autoloads): Bind generated-autoload-file to
16326 buffer-file-name.
9869b3ae
SM
16327 (update-file-autoloads, update-directory-autoloads):
16328 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16329 output file (Bug#7989).
16330 (batch-update-autoloads): Doc fix.
16331
0898ca10
JB
163322011-05-04 Juanma Barranquero <lekktu@gmail.com>
16333
16334 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16335
31dfb76c
GM
163362011-05-04 Glenn Morris <rgm@gnu.org>
16337
f330b642
GM
16338 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16339 function, so it follows changes in calendar-date-style.
16340 (diary-fancy-date-matcher): New function.
16341 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16342 (diary-fancy-font-lock-fontify-region-function):
16343 Use diary-fancy-date-pattern as a function.
16344
31dfb76c
GM
16345 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16346 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16347
48e79d6a
TZ
163482011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16349
16350 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16351 instead of positional arguments. Allow :keylist and :crlfiles
16352 arguments.
16353 (open-gnutls-stream): Call it.
16354
16355 * net/network-stream.el (network-stream-open-starttls): Adjust to
16356 call `gnutls-negotiate' with :process and :hostname arguments.
16357
dd5a5ee0
SM
163582011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16359
ef80fc09
SM
16360 * minibuffer.el (completion--message): New function.
16361 (completion--do-completion, minibuffer-complete)
16362 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16363 (completion--do-completion): Don't ignore completion-auto-help when in
16364 icomplete-mode.
16365
dd5a5ee0
SM
16366 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16367 internal encoding (e.g. tibetan zero is not whitespace).
16368 (global-whitespace-mode): Prefer save-current-buffer.
16369 (whitespace-trailing-regexp): Remove useless save-match-data.
16370 (whitespace-empty-at-bob-regexp): Minor simplification.
16371
b7d22a83
CY
163722011-05-03 Chong Yidong <cyd@stupidchicken.com>
16373
16374 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16375
5192af46
AM
163762011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16377
16378 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16379 Use `concat' to create string for insertion.
5192af46 16380
5767d190
SM
163812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16382
16383 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16384 Avoid open-line which runs post-self-insert-hook.
16385 (bibtex-fill-entry): Remove unused `end' var.
16386
bf242939
AM
163872011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16388
5767d190
SM
16389 * textmodes/ispell.el (ispell-add-per-file-word-list):
16390 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16391
25666126
LL
163922011-05-03 Leo Liu <sdl.web@gmail.com>
16393
16394 * isearch.el (isearch-yank-pop): New command.
5767d190 16395 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16396 (isearch-forward): Mention it.
16397
52d3c2d0
SM
163982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16399
1bcace58
SM
16400 * simple.el (minibuffer-complete-shell-command): Remove.
16401 (minibuffer-local-shell-command-map): Use completion-at-point.
16402 (read-shell-command): Setup completion vars here instead.
16403 (read-expression-map): Bind TAB to symbol completion.
16404
52d3c2d0
SM
16405 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16406 error directly rather via storing it into `results'.
16407
35813471
LL
164082011-05-02 Leo Liu <sdl.web@gmail.com>
16409
16410 * vc/diff.el: Fix description.
16411
e793a940
LMI
164122011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16413
16414 * server.el (server-eval-at): New function.
16415
8de66e05
LMI
164162011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16417
16418 * net/network-stream.el (open-network-stream): Take a :nowait
16419 parameter and pass it on to `make-network-process'.
16420 (network-stream-open-plain): Ditto.
16421
dcb79f20
AS
164222011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16423
16424 * faces.el (face-spec-set-match-display): Don't match toolkit
16425 options on terminal frames.
16426
14a7fbd8
SM
164272011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16428
7eabc1be
SM
16429 * progmodes/pascal.el: Use lexical binding.
16430 (pascal-mode-map): Remove author preferences.
16431
14a7fbd8
SM
16432 * pcomplete.el (pcomplete-std-complete): Don't abuse
16433 completion-at-point.
16434
50f84510
JB
164352011-04-28 Juanma Barranquero <lekktu@gmail.com>
16436
6e087a44
JB
16437 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16438 removing code that has been dead since 1991 or so.
16439
50f84510
JB
16440 * startup.el (command-line): When warning about "_emacs", use a
16441 delayed warning to allow the user to filter it out.
16442
0ba690bd
DD
164432011-04-28 Deniz Dogan <deniz@dogan.se>
16444
16445 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16446 user has not joined.
16447
08abfaad
SM
164482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16451 aren't any completions at point.
16452
638f053a
JB
164532011-04-28 Juanma Barranquero <lekktu@gmail.com>
16454
16455 * subr.el (display-delayed-warnings): New function.
16456 (delayed-warnings-hook): New variable.
16457
8fff8daa
SM
164582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16459
08abfaad
SM
16460 * minibuffer.el (completion-at-point, completion-help-at-point):
16461 Don't presume that a given completion-at-point-function will always
16462 use the same calling convention.
16463
8fff8daa
SM
16464 * pcomplete.el (pcomplete-completions-at-point):
16465 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16466 pcomplete-seen is non-nil.
16467 (pcomplete-comint-setup): Also recognize the new comint/shell
16468 completion functions.
16469 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16470 pcomplete-seen is non-nil.
16471
841a1577 164722011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16473
841a1577 16474 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16475 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16476 the first character in the entry. This allows for code to add its
211ec907
UJ
16477 own uid to the entry.
16478 (icalendar--convert-float-to-ical): Add export of
16479 `diary-float'-entries save for those with the optional DAY
16480 argument.
16481
2a782793
DC
164822011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16483
16484 * subr.el (shell-quote-argument): Use alternate escaping strategy
16485 when we spot a variable reference in a string.
16486
0438ce91
DC
164872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16488
16489 * cus-start.el (all): Define customization for debug-on-event.
16490
841a1577 164912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16492
16493 * subr.el (shell-quote-argument): Escape correctly under Windows.
16494
d090ed6c
SM
164952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16496
16497 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16498
bfd31217
MA
164992011-04-25 Michael Albinus <michael.albinus@gmx.de>
16500
d090ed6c
SM
16501 * net/tramp.el (tramp-process-actions): Add POS argument.
16502 Delete region between POS and (pos).
bfd31217 16503
d090ed6c
SM
16504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16505 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16506 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16507
16508 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16509 position in `tramp-process-actions' call.
16510
16511 * net/trampver.el: Update release number.
16512
e92f3bd3
SM
165132011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16514
850256b5
SM
16515 * custom.el (defcustom): Obey lexical-binding.
16516
e92f3bd3
SM
16517 Fix octave-inf completion problems reported by Alexander Klimov.
16518 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16519 Inherit from octave-mode-syntax-table.
16520 (inferior-octave-mode): Set info-lookup-mode.
16521 (inferior-octave-completion-at-point): New function.
16522 (inferior-octave-complete): Use it and completion-in-region.
16523 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16524 comint-filename-completion.
16525 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16526 symbol elements which shouldn't be word elements.
16527 (octave-font-lock-keywords, octave-beginning-of-defun)
16528 (octave-function-header-regexp): Adjust regexps accordingly.
16529 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16530
cd22b309
JB
165312011-04-25 Juanma Barranquero <lekktu@gmail.com>
16532
16533 * net/gnutls.el (gnutls-errorp): Declare before first use.
16534
8b492194
TZ
165352011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16536
16537 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16538 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16539 default trustfile exists before going to use it. Add missing
5a5fa834 16540 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16541 Reported by Claudio Bley <claudio.bley@gmail.com>.
16542 (open-gnutls-stream): Add usage example.
16543
16544 * net/network-stream.el (network-stream-open-starttls): Give host
16545 parameter to `gnutls-negotiate'.
16546 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16547 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16548
841a1577 165492011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16550
cd22b309
JB
16551 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16552 Use correct match group (bug#8438).
05842630 16553
3ba7869c
CY
165542011-04-24 Chong Yidong <cyd@stupidchicken.com>
16555
512e3ae1
CY
16556 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16557 (package-menu--generate): New arg specifying packages to show.
16558 (package-menu-refresh, package-menu-execute, list-packages):
16559 Callers changed.
16560 (package-show-package-list): New function, replacing deleted
16561 package--list-packages (renamed because it is non-internal).
16562
16563 * finder.el (finder-list-matches): Use package-show-package-list
16564 instead of deleted package--list-packages.
16565
e92f3bd3
SM
16566 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16567 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16568 (vc-annotate-mode-map): Bind it to RET.
16569
7031be6d
UR
165702011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16571
16572 * progmodes/etags.el (next-file): Don't use set-buffer to change
16573 buffers (Bug#8478).
16574
4ef177aa
CY
165752011-04-24 Chong Yidong <cyd@stupidchicken.com>
16576
c8d173eb
CY
16577 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16578
4ef177aa
CY
16579 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16580 (apropos-accumulator): Doc fix.
16581 (apropos-function, apropos-macro, apropos-command)
16582 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16583 (apropos-plist): Add face property.
16584 (apropos-symbols-internal): Fix indentation.
16585 (apropos-print): Simplify help, and recognize apropos-multi-type.
16586 (apropos-print-doc): Use button-type-get to extract the button's
16587 face property. Fill docstring (Bug#8352).
16588
4ffd0d6b 165892011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16590
16591 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16592
c6c32125 16593 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16594 (mpuz-mode-map): Use mapc.
c6c32125
JB
16595 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16596 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16597 Fix typos in docstrings.
16598
58d468b4
JB
16599 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16600 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16601
6470c3c6
JB
16602 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16603
4ffd0d6b 166042011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16605
16606 * minibuffer.el (completion--do-completion): Avoid the "Next char
16607 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16608
3ad8bad0
CY
16609 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16610 mouse-2 into unread-command-events, it is interpreted correctly.
16611
71d73c9c 16612 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16613 (image-toggle-display): Doc fix.
71d73c9c 16614
841a1577 166152011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16616
4ffd0d6b
GM
16617 * textmodes/page.el (what-page): Use line-number-at-pos to
16618 calculate line number (Bug#6825).
6e1dbaa9 16619
c2fb1b60
JB
166202011-04-22 Juanma Barranquero <lekktu@gmail.com>
16621
16622 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16623 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16624 Pass argument NO-DEFAULT to `find-tag-interactive'.
16625
e02f48d7
JB
166262011-04-22 Juanma Barranquero <lekktu@gmail.com>
16627
16628 Lexical-binding cleanup.
16629
16630 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16631 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16632 * progmodes/ada-prj.el (ada-prj-initialize-values)
16633 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16634 (ada-prj-show-value):
16635 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16636 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16637 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16638 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16639 * progmodes/bug-reference.el (bug-reference-push-button):
16640 * progmodes/fortran.el (fortran-line-length):
16641 * progmodes/glasses.el (glasses-change):
16642 * progmodes/octave-mod.el (octave-fill-paragraph):
16643 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16644 (python-pdbtrack-grub-for-buffer, python-sentinel):
16645 * progmodes/sql.el (sql-save-connection):
16646 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16647 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16648 Mark unused parameters.
16649
16650 * progmodes/compile.el (compilation--flush-directory-cache)
16651 (compilation--flush-parse, compile-internal): Mark unused parameters.
16652 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16653 (compilation-next-error-function): Remove unused variable `timestamp'.
16654
16655 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16656 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16657
16658 * progmodes/dcl-mode.el (dcl-end-of-command):
16659 Remove unused variable `start'.
16660 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16661 (dcl-option-value-basic, dcl-option-value-offset)
16662 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16663 Mark unused parameters.
16664 (dcl-save-local-variable): Remove unused variable `val'.
16665 (mode): Declare.
16666
16667 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16668 Mark unused parameters.
16669 (delphi-ignore-changes): Move before first use.
16670 (delphi-charset-token-at): Remove unused variable `start'.
16671 (delphi-else-start): Remove unused variable `if-count'.
16672 (delphi-comment-block-start, delphi-comment-block-end):
16673 Remove unused variable `kind'.
16674 (delphi-indent-line): Remove unused variable `new-point'.
16675
16676 * progmodes/ebrowse.el (ebrowse-files-list)
16677 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16678 Mark unused parameters. Don't quote `lambda'.
16679 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16680 Don't quote `lambda'.
16681 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16682 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16683 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16684 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16685 Use `ignore-errors'.
16686 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16687 (ebrowse-view/find-file-and-search-pattern)
16688 (ebrowse-view/find-member-declaration/definition):
16689 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16690 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16691 Rename parameter PREFIX-ARG to PREFIX.
16692 (ebrowse-tags-read-name): Remove unused variables `start' and
16693 `member-info'.
16694 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16695 to `tags-file'.
16696
16697 * progmodes/etags.el (local-find-tag-hook): Declare.
16698 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16699 Mark unused parameters.
16700
16701 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16702 (executable-interpret): Mark unused parameter.
16703
16704 * progmodes/flymake.el (flymake-process-sentinel)
16705 (flymake-after-change-function)
16706 (flymake-create-temp-with-folder-structure)
16707 (flymake-get-include-dirs-dot): Mark unused parameters.
16708 (flymake-safe-delete-directory): Remove unused variable `err'.
16709
16710 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16711 (speedbar-timer-fn, speedbar-line-text)
16712 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16713 (speedbar-center-buffer-smartly): Declare functions.
16714 (gdb-find-watch-expression): Remove unused variable `array'.
16715 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16716 (gdb-starting): Mark unused parameters.
16717 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16718 (gdb-table-string): Remove unused variable `res'.
16719 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16720 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16721 (gdb-display-buffer): Remove unused variable `cur-size'.
16722
16723 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16724 allow lexical-binding compilation.
16725 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16726 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16727 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16728 Mark unused parameters.
16729 (gud-gdb-marker-filter): Remove unused variable `match'.
16730 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16731 lambda expressions and funcall them, instead of using `fset'.
16732
16733 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16734 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16735
16736 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16737 variable `header-beg'; use `let'.
16738
16739 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16740 `restart', `last-sexp' and `at-do'.
16741
16742 * progmodes/js.el (js--debug): Mark unused parameter.
16743 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16744 (js--splice-into-items): Remove unused variable `item'.
16745 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16746
16747 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16748 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16749 (makefile-complete): Remove unused variable `try'.
16750 (makefile-fill-paragraph, makefile-match-function-end):
16751 Mark unused parameters.
16752
16753 * progmodes/octave-inf.el (inferior-octave-complete):
16754 Remove unused variable `proc'.
16755 (inferior-octave-output-digest): Mark unused parameter.
16756
16757 * progmodes/perl-mode.el (perl-calculate-indent):
16758 Remove unused variable `err'.
16759
16760 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16761 (prolog-indent-line): Mark unused parameters.
16762 (prolog-indent-line): Remove unused variable `beg'.
16763
16764 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16765 (reporter-dont-compact-list): Declare.
16766
16767 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16768 Remove unused variable `char'.
16769 (sh-debug): Mark unused parameter.
16770 (sh-get-indent-info): Remove unused variable `start'.
16771 (sh-calculate-indent): Remove unused variable `var'.
16772
16773 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16774 (simula-electric-keyword): Remove unused variable `null'.
16775 (simula-search-backward, simula-search-forward): Remove unused
16776 variables `begin' and `end'.
16777
16778 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16779 Remove unused variable `pos'.
16780 (vera-electric-tab, vera-comment-uncomment-region):
16781 Mark unused parameters.
16782 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16783
7ede3b65
CY
167842011-04-22 Chong Yidong <cyd@stupidchicken.com>
16785
16786 * emacs-lisp/package.el (package--builtins, package-alist)
16787 (package-load-descriptor, package-built-in-p, package-activate)
16788 (define-package, package-installed-p)
16789 (package-compute-transaction, package-buffer-info)
16790 (package--push): Doc fix. Distinguish more clearly between
16791 version strings and version lists.
16792
121656e9
JB
167932011-04-21 Juanma Barranquero <lekktu@gmail.com>
16794
16795 Lexical-binding cleanup.
16796
16797 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16798 (5x5-make-mutate-best):
16799 * play/fortune.el (fortune-in-buffer):
16800 * play/gomoku.el (gomoku-init-display):
16801 * play/solitaire.el (solitaire, solitaire-do-check):
16802 * play/tetris.el (tetris-default-update-speed-function):
16803 Mark unused parameters.
16804
16805 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16806 (bubbles--shift): Remove unused variable `char-org'.
16807 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16808 (bubbles--show-images): Remove unused variable `char'.
16809
16810 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16811 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16812 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16813 (decipher-analyze-buffer): Use ?\s.
16814 (decipher-make-checkpoint): Remove unused variable `mapping'.
16815
16816 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16817
16818 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16819 Remove unused variable `result'; use `let'.
16820
16821 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16822 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16823 (gametree-children-shown-p, gametree-compute-reduced-score):
16824 Use `ignore-errors'.
16825
16826 * play/handwrite.el (ps-lpr-switches): Declare.
16827 (handwrite): Remove unused variables `pmin' and `lastp'.
16828
16829 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16830
16831 * play/landmark.el (landmark-init-display)
16832 (landmark-update-naught-weights): Mark unused parameters.
16833 (landmark-y): Remove unused variable `noise'. Simplify.
16834 (landmark-human-plays): Remove unused variable `score'.
16835
16836 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16837 (mpuz-try-proposal): Remove unused variable `game'.
16838
16839 * play/zone.el (life-patterns): Declare.
16840
80f499c7
JB
168412011-04-20 Juanma Barranquero <lekktu@gmail.com>
16842
16843 * vc/vc.el (ediff-vc-internal): Declare function.
16844
024ff170
SM
168452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16846
c0a193ea
SM
16847 * shell.el: Use lexical-binding and std completion UI.
16848 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16849 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16850 comint-preoutput-filter-functions rather than on
16851 comint-output-filter-functions.
16852 (shell-command-completion, shell--command-completion-data)
16853 (shell-filename-completion, shell-environment-variable-completion)
16854 (shell-c-a-p-replace-by-expanded-directory): New functions.
16855 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16856 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16857 (shell-dynamic-complete-environment-variable): Use them.
16858 (shell-dynamic-complete-as-environment-variable)
16859 (shell-dynamic-complete-as-command): Remove.
16860 (shell-match-partial-variable): Match past point.
16861 * comint.el: Clean up use of completion-at-point-functions.
16862 (comint-completion-at-point): New function.
16863 (comint-mode): Use it completion-at-point-functions.
16864 (comint-dynamic-complete): Make it obsolete.
16865 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16866 (comint-c-a-p-replace-by-expanded-history): New function.
16867 (comint-dynamic-complete-functions)
16868 (comint-replace-by-expanded-history): Use it.
16869 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16870 termination strings. Try harder to avoid second try-completion.
16871 (completion-in-region-mode-map): Disable bindings that don't work yet.
16872
2dbaa080
SM
16873 * comint.el: Use lexical-binding. Require CL.
16874 (comint-dynamic-complete-functions): Use comint-filename-completion.
16875 (comint-completion-addsuffix): Tweak custom type.
16876 (comint-filename-completion, comint--common-suffix)
16877 (comint--common-quoted-suffix, comint--table-subvert)
16878 (comint--complete-file-name-data): New functions.
16879 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16880 (comint-dynamic-list-filename-completions): Use them.
16881 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16882
2dbaa080
SM
16883 * minibuffer.el (completion-in-region-mode):
16884 Keep completion-in-region-mode--predicate global.
16885 (completion-in-region--postch):
16886 Assume completion-in-region-mode--predicate is not null.
16887
c79a6f38
SM
16888 * progmodes/flymake.el (flymake-start-syntax-check-process):
16889 Obey `dir'. Simplify.
16890
024ff170
SM
16891 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16892 we're in VC after all.
16893
1c6c854e
CS
168942011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16895
16896 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16897 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16898 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16899
bed7f140
SM
169002011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16901
332e62ab
SM
16902 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16903 add sanity check.
16904
bed7f140
SM
16905 * obsolete/erc-hecomplete.el: Make obsolete.
16906 * obsolete/: Standardize obsolescence info in the header.
16907
f195c582
GM
169082011-04-20 Glenn Morris <rgm@gnu.org>
16909
16910 * calendar/solar.el (solar-horizontal-coordinates):
16911 Use the longitude argument rather than `calendar-longitude'.
16912 (solar-date-next-longitude): Remove unused locals.
16913
cb79b8c0
VJL
169142011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16915
16916 * whitespace.el: New version 13.2.1.
16917
169182011-04-20 felix <EmacsWiki> (tiny change)
16919
d8e4b68b 16920 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16921 switching between major modes on a file.
16922
602ea69d
SM
169232011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16924
16925 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16926 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16927 multi-line comments as well.
16928
06b60517
JB
169292011-04-19 Juanma Barranquero <lekktu@gmail.com>
16930
16931 Lexical-binding cleanup.
16932
16933 * arc-mode.el (archive-mode-revert):
16934 * cmuscheme.el (scheme-interactively-start-process):
16935 * custom.el (custom-initialize-delay):
16936 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16937 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16938 * emacs-lock.el (emacs-lock-clear-sentinel):
16939 * ezimage.el (defezimage):
16940 * follow.el (follow-avoid-tail-recenter):
16941 * fringe.el (set-fringe-mode-1):
16942 * generic-x.el (bat-generic-mode-compile):
16943 * help-mode.el (help-info-variable, help-do-xref)
16944 (help-mode-revert-buffer):
16945 * help.el (view-emacs-todo):
16946 * iswitchb.el (iswitchb-completion-help):
16947 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16948 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16949 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16950 * locate.el (locate-update):
16951 * longlines.el (longlines-encode-region)
16952 (longlines-after-change-function):
16953 * outline.el (outline-isearch-open-invisible):
16954 * ps-def.el (declare-function, charset-dimension, char-width)
16955 (encode-char):
16956 * ps-mule.el (ps-mule-plot-string):
16957 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16958 (recentf-edit-list-select, recentf-edit-list-validate)
16959 (recentf-open-files-action):
16960 * rect.el (delete-whitespace-rectangle-line)
16961 (rectangle-number-line-callback):
16962 * register.el (window-configuration-to-register)
16963 (frame-configuration-to-register):
16964 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16965 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16966 (xselect-convert-to-targets, xselect-convert-to-delete)
16967 (xselect-convert-to-filename, xselect-convert-to-charpos)
16968 (xselect-convert-to-lineno, xselect-convert-to-colno)
16969 (xselect-convert-to-os, xselect-convert-to-host)
16970 (xselect-convert-to-user, xselect-convert-to-class)
16971 (xselect-convert-to-name, xselect-convert-to-integer)
16972 (xselect-convert-to-atom, xselect-convert-to-identity):
16973 * subr.el (declare, ignore, process-kill-without-query)
16974 (text-clone-maintain):
16975 * terminal.el (te-get-char, te-tic-sentinel):
16976 * tool-bar.el (tool-bar-make-keymap):
16977 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16978 * type-break.el (type-break-mode, type-break-noninteractive-query):
16979 * view.el (View-back-to-mark):
16980 * wid-browse.el (widget-browse-action, widget-browse-widget)
16981 (widget-browse-widgets, widget-browse-sexp):
16982 * widget.el (define-widget-keywords):
16983 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16984 Mark unused parameters.
16985
16986 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16987 (align-areas): Remove unused variable `look'.
16988 (align-region): Remove unused variables `real-end' and `pos-list'.
16989
16990 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16991
16992 * bindings.el (mode-line-modified, mode-line-remote):
16993 Mark unused parameters.
16994 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16995
16996 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16997 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16998
16999 * comint.el (comint-history-isearch-pop-state)
17000 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17001 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17002 (comint-substitute-in-file-name): Doc fix.
17003
17004 * completion.el (cmpl-statistics-block): Mark unused parameter.
17005 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17006 (save-completions-to-file, load-completions-from-file):
17007 Remove unused local variable `e'.
17008
17009 * composite.el (compose-chars): Remove unused variable `len'.
17010 (lgstring-insert-glyph): Remove unused variable `g'.
17011 (compose-glyph-string): Remove unused variables `ascent',
17012 `descent', `lbearing' and `rbearing'.
17013 (compose-glyph-string-relative): Remove unused variables
17014 `lbearing', `rbearing' and `wadjust'.
17015 (compose-gstring-for-graphic): Remove unused variables `header',
17016 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17017 (compose-gstring-for-terminal): Remove unused variables `header'
17018 and `nchars'. Use `let', not `let*'.
17019
17020 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17021 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17022 (Custom-buffer-done, custom-buffer-create-internal)
17023 (custom-browse-visibility-action, custom-browse-group-tag-action)
17024 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17025 (widget-magic-mouse-down-action, custom-toggle-parent)
17026 (custom-add-parent-links, custom-toggle-hide-variable)
17027 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17028 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17029 (custom-face-menu-create, custom-variable-menu-create, get)
17030 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17031 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17032 (customize-apropos): Remove unused variable `tests'.
17033 (custom-group-value-create): Remove unused variable `hidden-p'.
17034 (sort-fold-case): Declare.
17035
17036 * cus-theme.el (custom-reset-standard-faces-list)
17037 (custom-reset-standard-variables-list): Declare.
17038 (customize-create-theme, custom-theme-revert, custom-theme-write)
17039 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17040 Mark unused parameters.
17041
17042 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17043
17044 * delim-col.el (delimit-columns-max): Move defvar before first use.
17045
17046 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17047 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17048
17049 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17050 (auto-insert): Declare.
17051 (desktop-restore-file-buffer): Rename desktop-* parameters;
17052 mark unused ones.
17053 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17054 (desktop-buffer): Rename desktop-* parameters.
17055
17056 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17057 (dframe-reposition-frame-xemacs, dframe-help-echo)
17058 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17059 Mark unused parameters.
17060
17061 * dired-aux.el (backup-extract-version-start, overwrite-query)
17062 (overwrite-backup-query, rename-regexp-query)
17063 (rename-non-directory-query): Declare.
17064 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17065 (dired-add-entry): Remove unused variable `orig-file-name'.
17066 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17067 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17068 `dired-copy-preserve-time' directly.
17069 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17070 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17071
17072 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17073 (dired-virtual-revert, dired-make-relative-symlink):
17074 Mark unused parameters.
17075 (manual-program): Declare.
17076 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17077 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17078 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17079
17080 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17081
17082 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17083
17084 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17085 Declare.
17086
17087 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17088
17089 * electric.el (Electric-command-loop): Rename parameter
17090 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17091
17092 * expand.el (expand-in-literal): Remove unused variable `here'.
17093
17094 * facemenu.el (facemenu-add-new-color):
17095 Remove unused variable `docstring'.
17096
17097 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17098 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17099 (face-attr-construct): Mark unused parameter. Doc fix.
17100 (read-color): Remove unused variable `hex-string'.
17101
17102 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17103 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17104 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17105 (display-buffer-other-frame): Remove unused variable `old-window'.
17106 (kill-buffer-hook): Declare.
17107 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17108 Mark unused parameters.
17109 (after-find-file): Pass 1 to `auto-save-mode', not t.
17110
17111 * files-x.el (auto-insert): Declare.
17112 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17113
17114 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17115 variable `buf'. Mark unused parameter.
06b60517
JB
17116 (find-lisp-insert-directory): Mark unused parameter.
17117
17118 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17119 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17120 (format-common-tail): Remove, unused.
17121 (format-deannotate-region): Remove unused variable `loc'.
17122 (format-annotate-region): Remove unused variable `p'.
17123 (format-annotate-single-property-change): Remove unused variables
17124 `default' and `tail'.
17125
17126 * forms.el (read-file-filter): Declare.
17127 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17128
17129 * frame.el (frame-creation-function-alist): Mark unused parameter.
17130 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17131
17132 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17133 Remove unused parameters.
17134 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17135 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17136
17137 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17138 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17139 (hfy-prepare-tag-map): Mark unused parameters.
17140 (htmlfontify-buffer): Use `called-interactively-p'.
17141
17142 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17143 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17144 (ibuffer-do-occur): Mark unused parameters.
17145 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17146 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17147
17148 * ibuffer.el: Don't quote `lambda'.
17149 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17150 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17151 Mark unused parameters.
17152
17153 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17154 (ido-completing-read): Mark unused parameters.
17155 (ido-copy-current-word): Mark unused parameters;
17156 remove unused variable `name'.
17157 (ido-sort-merged-list): Remove unused parameter `dirs'.
17158
17159 * ielm.el (ielm-input-sender): Mark unused parameter.
17160 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17161 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17162 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17163 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17164 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17165
17166 * image-dired.el (image-dired-display-thumbs): Remove unused
17167 variables `curr-file' and `count'.
17168 (image-dired-remove-tag): Remove unused variable `start'.
17169 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17170 variable `curr-file'
17171 (image-dired-rotate-original): Remove unused variable `temp-file'.
17172 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17173 Remove unused variable `file'.
17174 (image-dired-gallery-generate): Remove unused variable `curr'.
17175 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17176
17177 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17178
17179 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17180
17181 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17182
17183 * isearch.el (minibuffer-history-symbol): Declare.
17184 (isearch-edit-string): Remove unused variable `err'.
17185 (isearch-message-prefix, isearch-message-suffix):
17186 Mark unused parameters.
17187
17188 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17189
17190 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17191
17192 * makesum.el (double-column): Remove unused variable `cnt'.
17193
17194 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17195 (ido-ignore-item-temp-list): Declare.
17196
17197 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17198 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17199 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17200 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17201 `mouse-col-delta'.
17202
17203 * mouse-sel.el (mouse-extend-internal):
17204 Remove unused variable `orig-window-frame'.
17205
17206 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17207 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17208 Move declarations before first use.
17209 (pcomplete-opt): Mark unused parameters; doc fix.
17210
17211 * proced.el (proced-revert): Mark unused parameter.
17212 (proced-send-signal): Remove unused variable `err'.
17213
17214 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17215 Rename parameter PREFIX-ARG to ARG.
17216 (ps-basic-plot-string, ps-basic-plot-whitespace):
17217 Mark unused parameters.
17218
17219 * replace.el (replace-count): Define.
17220 (occur-revert-function): Mark unused parameters.
17221 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17222 (isearch-case-fold-search, isearch-string): Declare.
17223 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17224 bind `case-fold-search'. Remove unused variables `beg' and `end',
17225 and simplify.
17226 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17227 COUNT and bind `replace-count'.
17228 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17229 to COUNT.
17230
17231 * savehist.el (print-readably, print-string-length): Declare.
17232
17233 * shadowfile.el (shadow-expand-cluster-in-file-name):
17234 Remove unused variable `cluster'.
17235 (shadow-copy-file): Remove unused variable `i'.
17236 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17237 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17238 (shadow-define-literal-group, shadow-define-regexp-group)
17239 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17240
17241 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17242 (shell): Use `called-interactively-p'.
17243 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17244
17245 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17246 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17247 (delete-backward-char): Remove unused variable `ocol'.
17248 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17249 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17250 (event-apply-hyper-modifier, event-apply-shift-modifier)
17251 (event-apply-control-modifier, event-apply-meta-modifier):
17252 Mark unused parameters.
17253 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17254 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17255
17256 * speedbar.el (speedbar-ignored-directory-expressions)
17257 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17258 (speedbar-find-file, speedbar-dir-follow)
17259 (speedbar-directory-buttons-follow, speedbar-tag-find)
17260 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17261 (speedbar-buffers-line-directory, speedbar-buffer-click):
17262 Mark unused parameters.
17263 (speedbar-tag-file): Remove unused variable `mode'.
17264 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17265
17266 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17267
17268 * talk.el (talk): Remove unused variable `display'.
17269
17270 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17271 (tar-write-region-annotate): Mark unused parameter.
17272
17273 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17274 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17275 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17276 warning by another.
17277
17278 * time-stamp.el (time-stamp-string-preprocess):
17279 Remove unused variable `require-padding'.
17280
17281 * tree-widget.el (widget-glyph-enable): Declare.
17282 (tree-widget-action): Mark unused parameter.
17283
17284 * w32-fns.el (x-get-selection): Mark unused parameter.
17285 (autoload-make-program, generated-autoload-file): Declare.
17286
17287 * wdired.el (wdired-revert): Mark unused parameters.
17288 (wdired-xcase-word): Remove unused variable `err'.
17289
17290 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17291 (whitespace-help-scroll): Remove unused variable `data-help'.
17292
17293 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17294 (widget-image-insert, widget-after-change, default)
17295 (widget-default-format-handler, widget-default-notify)
17296 (widget-default-prompt-value, widget-info-link-action)
17297 (widget-url-link-action, widget-function-link-action)
17298 (widget-variable-link-action, widget-file-link-action)
17299 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17300 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17301 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17302 (widget-insert-button-action, widget-delete-button-action, visibility)
17303 (widget-documentation-link-action, widget-documentation-string-action)
17304 (widget-const-prompt-value, widget-regexp-match, symbol)
17305 (widget-coding-system-prompt-value)
17306 (widget-key-sequence-value-to-external, sexp)
17307 (widget-sexp-value-to-internal, character, vector, cons)
17308 (widget-choice-prompt-value, widget-boolean-prompt-value)
17309 (widget-color--choose-action): Mark unused parameters.
17310 (widget-item-match-inline, widget-choice-match-inline)
17311 (widget-checklist-match, widget-checklist-match-inline)
17312 (widget-group-match): Rename parameter VALUES to VALS.
17313 (widget-field-value-set): Remove unused variable `size'.
17314 (widget-color-action): Remove unused variables `value' and `start'.
17315
17316 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17317 variable `dir'. Doc fix.
06b60517
JB
17318 (windmove-find-other-window): Don't pass it.
17319
17320 * window.el (count-windows): Mark unused parameter.
17321 (bw-adjust-window): Remove unused variable `err'.
17322
17323 * woman.el (woman-file-name): Remove unused variable `default'.
17324 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17325 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17326 (global-font-lock-mode): Declare.
17327 (woman-decode-region): Mark unused parameter.
17328 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17329
17330 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17331 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17332 (x-dnd-handle-moz-url): Remove unused variable `title'.
17333 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17334
17335 * xml.el (xml-parse-tag, xml-parse-attlist):
17336 Remove unused variable `pos'.
17337
bc4f7f3d
GM
173382011-04-19 Glenn Morris <rgm@gnu.org>
17339
17340 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17341 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17342 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17343 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17344 * calendar/cal-html.el (cal-html-insert-minical):
17345 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17346 (calendar-mark-date-pattern):
17347 Prefix "unused" locals.
17348
17349 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17350 optional argument `style'.
17351
17352 * calendar/appt.el (appt-make-list):
17353 * calendar/cal-china.el (calendar-chinese-date-string):
17354 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17355 (diary-hebrew-yahrzeit):
17356 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17357 * calendar/calendar.el (calendar-generate-window):
17358 * calendar/time-date.el (time-to-days):
17359 Remove unused local variables.
17360
16a43933
CY
173612011-04-18 Chong Yidong <cyd@stupidchicken.com>
17362
17363 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17364 glyphless-char-display table.
17365 (tabulated-list-glyphless-char-display): New var.
17366
7eed1860
SS
173672011-04-18 Sam Steingold <sds@gnu.org>
17368
17369 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17370 to acknowledgments.
17371
4d2d1ccd
GM
173722011-04-17 Glenn Morris <rgm@gnu.org>
17373
17374 * calendar/diary-lib.el (diary-sexp-entry):
17375 * calendar/holidays.el (holiday-sexp):
17376 Set debug-on-error rather than the removed stack-trace-on-error.
17377
239da61d
GM
173782011-04-16 Glenn Morris <rgm@gnu.org>
17379
17380 * progmodes/f90.el: Use lexical-binding.
17381 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17382
8b05752a
SM
173832011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17384
daca8ba5
SM
17385 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17386 (mail-mode): Setup mailalias completion here instead.
17387 * mail/mailalias.el: Use lexical-binding.
17388 (pattern, mailalias-done): Declare dynamic.
17389 (mail-completion-at-point-function): New function, from mail-complete.
17390 (mail-complete): Use it.
17391 (mail-completion-expand): New function.
17392 (mail-get-names): Use it.
17393 (mail-directory, mail-directory-process, mail-directory-stream):
17394 Don't use `pattern' for lexically bound arg.
17395
6f542485
SM
17396 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17397
037e7c3f
SM
17398 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17399 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17400 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17401
8b05752a
SM
17402 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17403 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17404 (byte-interactive-p): Define them again, for use when inlining
17405 old code.
17406
49093f60
JB
174072011-04-15 Juanma Barranquero <lekktu@gmail.com>
17408
17409 * loadup.el: Use `string-to-number', not `string-to-int'.
17410
b5b8e7de
SM
174112011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17414 gud-gdb-complete-command.
17415 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17416 (gud-gdb-completion-at-point): New function.
17417 (gud-gdb-completions): Remove.
17418
f42efeb5
MA
174192011-04-14 Michael Albinus <michael.albinus@gmx.de>
17420
49093f60
JB
17421 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17422 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17423 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17424 whether `executable-find' is bound.
f42efeb5
MA
17425
17426 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17427
e240cc21
SM
174282011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17429
17430 * minibuffer.el (completion-in-region-mode-predicate)
17431 (completion-in-region-mode--predicate): New vars.
17432 (completion-in-region, completion-in-region--postch)
17433 (completion-in-region-mode): Use them.
17434 (completion--capf-wrapper): Also return the hook function.
17435 (completion-at-point, completion-help-at-point):
17436 Adjust and provide a predicate.
c2bd2ab0
SM
17437
17438 Preserve arg names for advice of subr and lexical functions (bug#8457).
17439 * help-fns.el (help-function-arglist): Consolidate the subr and
17440 new-byte-code cases. Add argument `preserve-names' to extract names
17441 from the docstring when needed.
17442 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17443 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17444 (ad-arglist): Use help-function-arglist's new arg.
17445 (ad-definition-type): Use cond.
17446
c183f693
JB
174472011-04-13 Juanma Barranquero <lekktu@gmail.com>
17448
06641a47
JB
17449 * autorevert.el (auto-revert-handler):
17450 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17451 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17452 Don't quote lambda.
17453
c183f693
JB
17454 * image-mode.el (image-transform-set-scale):
17455 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17456
1e3b6001
G
174572011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17458
17459 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17460 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17461 Upgrades via gnutls-cli are too slow to be done opportunistically.
17462
2d6af8dd
JB
174632011-04-12 Juanma Barranquero <lekktu@gmail.com>
17464
17465 * dframe.el (dframe-current-frame): Remove spurious quote.
17466
c0749a51
GM
174672011-04-12 Glenn Morris <rgm@gnu.org>
17468
088d0d61
GM
17469 * calendar/cal-tex.el (cal-tex-end-document):
17470 Try to automatically use latin1 input if needed.
17471
c0749a51
GM
17472 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17473 Don't try to cons a mark onto an empty element.
17474
5c90fde0
LL
174752011-04-11 Leo Liu <sdl.web@gmail.com>
17476
17477 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17478 buffers.
17479 (ido-kill-buffer-at-head): Support killing virtual buffers.
17480
369e974d
CY
174812011-04-10 Chong Yidong <cyd@stupidchicken.com>
17482
17483 * minibuffer.el (completion-show-inline-help): New var.
17484 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17485 (minibuffer-force-complete, minibuffer-complete-word):
17486 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17487
17488 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17489 to avoid interference from inline help (Bug#5849).
17490
37f1c930
LL
174912011-04-10 Leo Liu <sdl.web@gmail.com>
17492
099c39a4
JB
17493 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17494 Fix typo.
37f1c930 17495
a32d4040
CY
174962011-04-09 Chong Yidong <cyd@stupidchicken.com>
17497
17498 * image-mode.el (image-toggle-display-image): Signal an error if
17499 not in Image mode.
17500 (image-transform-mode, image-transform-resize)
17501 (image-transform-set-rotation): Doc fix.
daca8ba5 17502 (image-transform-set-resize): Delete.
a32d4040
CY
17503 (image-transform-set-scale, image-transform-fit-to-height)
17504 (image-transform-fit-to-width): Handle image-toggle-display-image
17505 and image-transform-resize directly.
17506
099c39a4 175072011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17508
17509 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17510 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17511 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17512 (doc-view-mode-map): Add bindings for the new functions.
17513
099c39a4 175142011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17515
4d61f28d 17516 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17517 Fix typo in docstring.
17518
3726838a
EZ
175192011-04-08 Eli Zaretskii <eliz@gnu.org>
17520
04f33f1e
EZ
17521 * files.el (file-size-human-readable): Produce one digit after
17522 decimal, like "ls -lh" does.
17523
17524 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17525 the file size representation.
17526
3726838a
EZ
17527 * simple.el (list-processes): If async subprocesses are not
17528 available, error out with a clear error message.
17529
cbb59342
CY
175302011-04-08 Chong Yidong <cyd@stupidchicken.com>
17531
17532 * help.el (help-form-show): New function, to be called from C.
17533 Put help-form output in a buffer named differently than *Help*.
17534
e3971c44
EZ
175352011-04-08 Eli Zaretskii <eliz@gnu.org>
17536
17537 * files.el (file-size-human-readable): New function.
17538
17539 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17540 computing the representation inline. Don't require `cl'.
17541
12544bbe
GM
175422011-04-08 Glenn Morris <rgm@gnu.org>
17543
a1de6c6a
GM
17544 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17545
3c4671f4
GM
17546 * net/browse-url.el (browse-url-firefox):
17547 Test system-type, not system-configuration.
17548
b605679c
GM
17549 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17550 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17551 Use log-edit-empty-buffer-p. (Bug#7598)
17552
56442f0c
GM
17553 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17554 (rlogin-mode-map): Initialize in the defvar.
17555 (rlogin): Use ignore-errors.
17556
12544bbe
GM
17557 * replace.el (occur-mode-map): Some fixes for menu items.
17558
eb237b0f
AH
175592011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17560
17561 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17562
7d668f2c
CY
175632011-04-06 Chong Yidong <cyd@stupidchicken.com>
17564
e67a13ab
CY
17565 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17566 issuing unused warnings.
17567
17568 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17569 macro directly.
17570
7d668f2c
CY
17571 * simple.el: Lisp reimplement of list-processes. Based on an
17572 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17573 (process-menu-mode): New major mode.
17574 (list-processes--refresh, list-processes):
17575 (process-menu-visit-buffer): New functions.
17576
17577 * files.el (save-buffers-kill-emacs): Don't assume any return
17578 value of list-processes, which is undocumented anyway.
17579
a83ec3c9
CY
175802011-04-06 Chong Yidong <cyd@stupidchicken.com>
17581
17582 * emacs-lisp/tabulated-list.el: New file.
17583
e91a96fe
CY
17584 * emacs-lisp/package.el: Use Tabulated List mode.
17585 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17586 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17587 table format using Tabulated List mode variables.
17588 (package--push): New macro, replacing package-list-maybe-add.
17589 (package-menu--generate): Use package--push. Renamed from
17590 package--generate-package-list.
17591 (package-menu-refresh, list-packages): Use it.
daca8ba5 17592 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17593 Return insertion data instead of inserting it directly.
099c39a4
JB
17594 (package-menu-describe-package, package-menu-execute):
17595 Use tabulated-list-get-id.
e91a96fe
CY
17596 (package-menu-mark-delete, package-menu-mark-install)
17597 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17598 (package-menu-mark-obsolete-for-deletion):
17599 Use tabulated-list-put-tag.
e91a96fe
CY
17600 (package--list-packages, package-menu-revert)
17601 (package-menu-get-package, package-menu-get-version)
17602 (package-menu-sort-by-column): Functions deleted.
17603 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17604 (package-menu--status-predicate, package-menu--version-predicate)
17605 (package-menu--name-predicate)
17606 (package-menu--description-predicate): Handle arguments in the
17607 Tabulated List format.
17608 (package-list-packages-no-fetch): Call list-packages.
17609
3e214b50
JB
176102011-04-06 Juanma Barranquero <lekktu@gmail.com>
17611
17612 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17613 (after-find-file): Don't bind it.
3e214b50
JB
17614 (revert-buffer-in-progress-p): New variable.
17615 (revert-buffer): Bind it.
17616 Pass nil for `after-find-file-from-revert-buffer'.
17617
17618 * saveplace.el (save-place-find-file-hook): Use new variable
17619 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17620
3f0f1700
GM
176212011-04-06 Glenn Morris <rgm@gnu.org>
17622
c0274801
GM
17623 * Makefile.in (AUTOGEN_VCS): New variable.
17624 (autoloads): Use $AUTOGEN_VCS.
17625
3f0f1700
GM
17626 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17627 * calendar/calendar.el (calendar-mode-map):
17628 Check for toolkit scroll bars. (Bug#8305)
17629
41ea9e48
CY
176302011-04-05 Chong Yidong <cyd@stupidchicken.com>
17631
17632 * minibuffer.el (completion-in-region--postch)
17633 (completion-in-region-mode): Remove unnecessary messages.
17634
6194c800
JB
176352011-04-05 Juanma Barranquero <lekktu@gmail.com>
17636
33256f14
JB
17637 * font-lock.el (font-lock-refresh-defaults):
17638 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17639 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17640
6194c800
JB
17641 * info.el (Info-directory-list, Info-read-node-name-2)
17642 (Info-split-parameter-string): Doc fixes.
17643 (Info-virtual-nodes): Reflow docstring.
17644 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17645 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17646 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17647 Fix typos in docstrings.
17648 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17649 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17650 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17651 (Info-restore-desktop-buffer): Mark unused parameters.
17652 (Info-directory-find-file, Info-directory-find-node)
17653 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17654 (Info-virtual-index-find-node, Info-apropos-find-file)
17655 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17656 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17657 (Info-virtual-index): Remove unused local variable `nodename'.
17658
b87a8200 176592011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17660
b87a8200
DD
17661 * net/rcirc.el: Update my e-mail address.
17662 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17663
3b2ff876
CY
176642011-04-05 Chong Yidong <cyd@stupidchicken.com>
17665
17666 * startup.el (command-line): Save the cursor's theme-face
17667 directly, instead of using face-override-spec.
17668
17669 * custom.el (load-theme): Minor optimization in assigning faces.
17670
8d17e7ca
JB
176712011-04-04 Juanma Barranquero <lekktu@gmail.com>
17672
17673 * help-fns.el (describe-variable): Complete all variables having
17674 documentation, including keywords.
17675 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17676
2fbc1934
JB
176772011-04-04 Juanma Barranquero <lekktu@gmail.com>
17678
17679 Convert to lexical-binding.
17680
17681 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17682 (bs--get-marked-string, bs--get-modified-string)
17683 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17684 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17685 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17686
17687 * ehelp.el (electric-help-execute-extended)
17688 (electric-help-ctrl-x-prefix):
17689 * hexl.el (hexl-revert-buffer-function):
17690 * linum.el (linum-after-change, linum-after-scroll):
17691 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17692
17693 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17694
74f50695
DU
176952011-04-04 Daiki Ueno <ueno@unixuser.org>
17696
17697 * epa-dired.el:
17698 * epa-mail.el:
17699 * epa-hook.el:
17700 * epa-file.el:
17701 * epa.el:
17702 * epg.el: Use lexical binding.
17703
c11325f7
CY
177042011-04-03 Chong Yidong <cyd@stupidchicken.com>
17705
0d9e9a12
CY
17706 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17707
c11325f7 17708 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17709 dictionary case for flyspell-mark-duplications-exceptions.
17710 Use regexp matching for languages.
c11325f7
CY
17711 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17712 default dictionary (Bug#7926).
17713
da91b5f2
CY
177142011-04-02 Chong Yidong <cyd@stupidchicken.com>
17715
099c39a4
JB
17716 * emacs-lisp/package.el (package--with-work-buffer):
17717 Recognize https URLs.
da91b5f2 17718
099c39a4
JB
17719 * net/network-stream.el: Move from gnus/proto-stream.el.
17720 Change prefix to network-stream throughout.
da91b5f2
CY
17721 (open-protocol-stream): Merge into open-network-stream, leaving
17722 open-protocol-stream as an alias. Handle nil BUFFER args.
17723
17724 * subr.el (open-network-stream): Move to net/network-stream.el.
17725
afa8e9f6
GM
177262011-04-02 Glenn Morris <rgm@gnu.org>
17727
1d2e369d
GM
17728 * find-dired.el (find-exec-terminator): New option.
17729 (find-ls-option): Test for -ls support.
17730 (find-ls-subdir-switches): Test for -b in find-ls-option.
17731 (find-dired, find-grep-dired): Doc fixes.
17732 (find-dired): Use find-exec-terminator.
17733
8abb7da8 17734 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17735 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17736 (find-name-arg): Remove purecopy.
8abb7da8 17737
f3ca7378
GM
17738 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17739 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17740 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17741 accordingly. Don't add the null-device if not needed.
17742
afa8e9f6
GM
17743 * files.el (save-some-buffers): Doc fix.
17744
35eae264
EZ
177452011-04-02 Eli Zaretskii <eliz@gnu.org>
17746
17747 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17748
26b51db5
JB
177492011-04-01 Juanma Barranquero <lekktu@gmail.com>
17750
17751 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17752 Use `dolist' rather than `mapcar'.
17753
7200d79c
SM
177542011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17755
03408648 17756 Add lexical binding.
7200d79c 17757
03408648
SM
17758 * subr.el (apply-partially): Use new closures rather than CL.
17759 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17760 (dolist, dotimes): Use slightly different expansion for lexical code.
17761 (functionp): Move to C.
17762 (letrec): New macro.
17763 (with-wrapper-hook): Use it and apply-partially instead of CL.
17764 (eval-after-load): Preserve lexical-binding.
17765 (save-window-excursion, with-output-to-temp-buffer): Turn them
17766 into macros.
7200d79c 17767
03408648
SM
17768 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17769
17770 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17771 than the arglist.
17772 (help-add-fundoc-usage): Don't add `Not documented'.
17773 (help-function-arglist): Handle closures, subroutines, and new
17774 byte-code-functions.
17775 (help-make-usage): Remove leading underscores.
17776 (describe-function-1): Handle closures.
17777 (describe-variable): Use special-variable-p for completion.
17778
17779 * files.el (lexical-binding): Declare safe.
f488fb65 17780
03408648
SM
17781 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17782 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17783 (pcase): Add `let' pattern.
17784 Change memoization so it actually works.
17785 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17786 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17787 <let>: New case.
f488fb65 17788
03408648
SM
17789 * emacs-lisp/macroexp.el: Use lexical binding.
17790 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17791 Don't convert ' to #' without checking that it's indeed quoting
17792 a lambda.
17793
17794 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17795 Use eval-sexp-add-defvars.
03408648
SM
17796 (eval-sexp-add-defvars): New fun.
17797
17798 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17799
17800 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17801 Don't autoload.
17802 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17803 than the internal `byte-compile-lambda'.
17804 (defmethod): Don't hide code under quotes.
17805 (eieio-defmethod): New `code' argument.
17806
17807 * emacs-lisp/eieio-comp.el: Remove.
17808
17809 * emacs-lisp/edebug.el (edebug-eval-defun)
17810 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17811 (edebug-toggle): Avoid `eval'.
17812
17813 * emacs-lisp/disass.el (disassemble-internal): Handle new
17814 `closure' objects.
17815 (disassemble-1): Handle new byte codes.
17816
17817 * emacs-lisp/cl.el (pushnew): Silence warning.
17818
17819 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17820 (cl-byte-compile-throw): Remove.
17821 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17822
17823 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17824 closures.
17825
17826 * emacs-lisp/cconv.el: New file.
17827
17828 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17829 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17830 (byte-compile-initial-macro-environment):
17831 Handle declare-function here.
17832 (byte-compile--lexical-environment): New var.
17833 (byte-stack-ref, byte-stack-set, byte-discardN)
17834 (byte-discardN-preserve-tos): New lap codes.
17835 (byte-interactive-p): Don't use any more.
17836 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17837 New macros.
17838 (byte-compile-lapcode): Use them and handle new lap codes.
17839 (byte-compile-obsolete): Remove.
17840 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17841 (byte-compile-arglist-warn): Check late def of inlinable funs.
17842 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17843 since they should have been expanded by now.
17844 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17845 (byte-compile-from-buffer): Remove unused second arg.
17846 (byte-compile-preprocess): New function.
17847 (byte-compile-toplevel-file-form): New function to distinguish
17848 file-form calls from outside from file-form calls from hunk-handlers.
17849 (byte-compile-file-form): Simplify.
17850 (byte-compile-file-form-defsubst): Remove.
17851 (byte-compile-file-form-defmumble): Simplify now that
17852 byte-compile-lambda always returns a byte-code-function.
17853 (byte-compile): Preprocess.
17854 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17855 Remove, not used any more.
17856 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17857 (byte-compile-make-args-desc): New funs.
17858 (byte-compile-lambda): Handle lexical functions. Always return
17859 a byte-code-function.
17860 (byte-compile-reserved-constants): New var, to make up room for
17861 closed-over variables.
17862 (byte-compile-constants-vector): Obey it.
17863 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17864 (byte-compile-macroexpand-declare-function): New function.
17865 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17866 byte-code-functions.
17867 (byte-compile-form): Check obsolescence here.
17868 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17869 (byte-compile-variable-ref): Remove.
17870 (byte-compile-dynamic-variable-op): New fun.
17871 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17872 (byte-compile-variable-set): New funs.
17873 (byte-compile-discard): Add 2 args.
17874 (byte-compile-stack-ref, byte-compile-stack-set)
17875 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17876 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17877 macroexpand-all instead.
17878 (byte-compile-quote-form): Remove.
17879 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17880 (byte-compile-bind, byte-compile-unbind): New funs.
17881 (byte-compile-let): Handle let* and lexical binding.
17882 (byte-compile-let*): Remove.
17883 (byte-compile-catch, byte-compile-unwind-protect)
17884 (byte-compile-track-mouse, byte-compile-condition-case):
17885 Handle a new :fun-body form, used for lexical scoping.
17886 (byte-compile-save-window-excursion)
17887 (byte-compile-with-output-to-temp-buffer): Remove.
17888 (byte-compile-defun): Simplify.
17889 (byte-compile-stack-adjustment): New fun.
17890 (byte-compile-out): Use it.
17891 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17892
17893 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17894 handler any more.
17895
17896 * emacs-lisp/byte-opt.el: Use lexical binding.
17897 (byte-inline-lapcode): Remove (to bytecomp).
17898 (byte-compile-inline-expand): Pay attention to inlining to/from
17899 lexically bound code.
17900 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17901 any more.
17902 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17903 any more and don't call compiler-macros.
17904 (byte-compile-splice-in-already-compiled-code): Remove.
17905 (byte-code): Don't inline any more.
17906 (disassemble-offset): Receive `bytes' as argument rather than via
17907 dynamic scoping.
17908 (byte-compile-tag-number): Declare before first use.
17909 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17910 `return' even if make-spliceable.
17911 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17912 obsolete interactive-p.
17913 (byte-optimize-lapcode): Optimize new lap-codes.
17914 Don't trip up on new form of `byte-constant' lap code.
17915
17916 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17917
17918 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17919
17920 * custom.el (custom-initialize-default, custom-declare-variable):
17921 Use `defvar'.
17922
17923 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17924 New variables.
17925 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17926 (COMPILE_FIRST): Add macroexp and cconv.
17927 * makefile.w32-in: Mirror changes in Makefile.in.
17928
17929 * vc/cvs-status.el:
17930 * vc/diff-mode.el:
17931 * vc/log-edit.el:
17932 * vc/log-view.el:
17933 * vc/smerge-mode.el:
17934 * textmodes/bibtex-style.el:
090bd7cb 17935 * textmodes/css-mode.el:
03408648
SM
17936 * startup.el:
17937 * uniquify.el:
da91b5f2
CY
17938 * minibuffer.el:
17939 * newcomment.el:
17940 * reveal.el:
17941 * server.el:
17942 * mpc.el:
17943 * emacs-lisp/smie.el:
17944 * doc-view.el:
17945 * dired.el:
03408648
SM
17946 * abbrev.el: Use lexical binding.
17947
0f0c1f27
EZ
179482011-04-01 Eli Zaretskii <eliz@gnu.org>
17949
17950 * info.el (info-display-manual): New function.
17951
c82b2579
SM
179522011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17955
221ddf68
TH
179562011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17957
17958 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17959 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17960
cba6e77e
GM
179612011-03-31 Glenn Morris <rgm@gnu.org>
17962
e040639f
GM
17963 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17964
cba6e77e
GM
17965 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17966
6d0f1c9e
CS
179672011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17968
17969 * progmodes/python.el (python-default-interpreter)
17970 (python-python-command-args, python-jython-command-args)
17971 (python-which-shell, python-which-args, python-which-bufname)
17972 (python-file-queue, python-comint-output-filter-function)
17973 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17974 variables and functions.
17975
3e2d70fd
SM
179762011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17977
17978 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17979 (completion-in-region-mode): New minor mode.
17980 (completion-in-region): Use it.
17981 (completion-in-region--data, completion-in-region-mode-map): New vars.
17982 (completion-in-region--postch): New function.
17983 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17984 New vars.
17985 (completion--capf-wrapper): New function.
17986 (completion-at-point): Use it to track well-behavedness of
17987 hook functions.
17988 (completion-help-at-point): New command.
17989
f3e4086c
JM
179902011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17991
17992 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17993 syntax class to search for whitespace on a single line
17994 (Message-ID: <4D938140.4030905@redhat.com>).
17995
eb7ffc14
LL
179962011-03-30 Leo Liu <sdl.web@gmail.com>
17997
17998 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17999 New commands.
18000 (edit-abbrevs-map): Bind them here.
18001 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18002
d806ab68
KM
180032011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18004
18005 * allout.el (allout-hide-by-annotation, allout-flag-region):
18006 Reduce possibility of overlay leakage by making them volatile.
18007
18008 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18009 hash is not shared between buffers. Mode initialization is
18010 responsible for giving it a useful starting value.
18011 (allout-item-span): Reduce possibility of overlay leakage by
18012 making them volatile.
18013 (allout-widgets-count-buttons-in-region): Add diagnostic function
18014 for tracking down button overlay leaks.
18015
ea622834
LL
180162011-03-29 Leo Liu <sdl.web@gmail.com>
18017
18018 * ido.el (ido-read-internal): Use the default history var
18019 minibuffer-history if no HISTORY is specified.
18020
b62f8267
G
180212011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18022
03408648
SM
18023 * net/imap.el (imap-shell-open, imap-process-connection-type):
18024 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18025 Kerberos, SSL, other subprocesses.
18026
947b6566
LL
180272011-03-28 Leo Liu <sdl.web@gmail.com>
18028
18029 * abbrev.el (abbrev-table-empty-p): New function.
18030 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18031 nonempty ones. (Bug#5937)
18032
5ffb62aa
JD
180332011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18034
18035 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18036
7a097943
LL
180372011-03-27 Leo Liu <sdl.web@gmail.com>
18038
18039 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18040 for foreground and background colors.
18041 (ansi-color-make-color-map): Adapt.
18042
c5b40130
LL
180432011-03-25 Leo Liu <sdl.web@gmail.com>
18044
1f48f7d2
LL
18045 * midnight.el (midnight-time-float): Remove. Note it calculates
18046 the microsecond component incorrectly and seconds-to-time does the
18047 same job.
625897ec 18048 Remove redundant (require 'timer).
1f48f7d2 18049
c5b40130
LL
18050 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18051 (ido-completions): Remove unused arguments. (Bug#8329)
18052
d86d2721
SM
180532011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18054
18055 * minibuffer.el (completion--flush-all-sorted-completions):
18056 Remove itself from hook.
18057 (completion-at-point): Let the functions perform the completion
18058 immediately and return nil or t.
18059 * comint.el (comint-dynamic-complete-functions): Now identical to
18060 completion-at-point-functions.
18061 (comint-dynamic-list-input-ring): Remove unused var `index'.
18062 (comint--match-partial-filename, comint--unquote&expand-filename):
18063 New funs, split from comint-match-partial-filename.
18064 (comint-dynamic-complete): Use completion-at-point.
18065 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18066
e8974c48
DA
180672011-03-24 Drew Adams <drew.adams@oracle.com>
18068
18069 * thingatpt.el: Support `defun'.
18070
def71b5e
LL
180712011-03-23 Leo Liu <sdl.web@gmail.com>
18072
cb5af48e
LL
18073 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18074
def71b5e
LL
18075 * help-mode.el (help-mode-finish): Tweak regexp.
18076
927c53e7
GM
180772011-03-23 Glenn Morris <rgm@gnu.org>
18078
18d05bed
GM
18079 * eshell/esh-opt.el (eshell-eval-using-options):
18080 Do not bind unused local variable `eshell-option-stub'.
18081
927c53e7
GM
18082 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18083
9d0da923
JB
180842011-03-22 Juanma Barranquero <lekktu@gmail.com>
18085
18086 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18087 keymap variable in `with-no-warnings' to avoid a warning when the
18088 keymap has been already `defconst'ed.
18089
4b978a67
LL
180902011-03-22 Leo Liu <sdl.web@gmail.com>
18091
18092 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18093 encode all chars in abbrevs; otherwise use emacs-mule or
18094 utf-8-emacs. (Bug#8308)
18095
5fd62452
JB
180962011-03-22 Juanma Barranquero <lekktu@gmail.com>
18097
0b1596c6
JB
18098 * simple.el (backward-delete-char-untabify):
18099 Avoid warning about using `delete-backward-char'.
18100
5fd62452
JB
18101 * image.el (image-type-file-name-regexps): Make it variable.
18102 `imagemagick-register-types' modifies it, and the user may want
18103 to add new extensions for known image types.
18104 (imagemagick-register-types): Throw error if not using ImageMagick.
18105
0b4e93f1
LL
181062011-03-22 Leo Liu <sdl.web@gmail.com>
18107
18108 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18109 located before rcirc-prompt-end-marker.
18110 (rcirc-complete): Error if point is not after rcirc prompt.
18111 Handle the case when table is nil.
9882e214 18112 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18113
fccee4ab
CY
181142011-03-22 Chong Yidong <cyd@stupidchicken.com>
18115
18116 * custom.el (custom--inhibit-theme-enable): Make it affect only
18117 custom-theme-set-variables and custom-theme-set-faces.
18118 (provide-theme): Ignore custom--inhibit-theme-enable.
18119 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18120 (custom-enabling-themes): Delete variable.
d86d2721
SM
18121 (enable-theme): Accept only loaded themes as arguments.
18122 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18123 (custom-enabled-themes): Forbid themes from setting this.
18124 Eliminate use of custom-enabling-themes.
18125 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18126
af896da6
LL
181272011-03-21 Leo Liu <sdl.web@gmail.com>
18128
18129 * ido.el (ido-read-internal): Add ido-selected to history instead
18130 of user input.
18131
78f64af0
SM
181322011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18133
18134 * subr.el (deferred-action-list, deferred-action-function):
18135 Mark obsolete.
18136
b16ac1ec
LL
181372011-03-21 Leo Liu <sdl.web@gmail.com>
18138
810f7698
LL
18139 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18140 change on 2011-02-13 (bug#8309).
18141
b16ac1ec
LL
18142 * minibuffer.el (read-file-name-function): Change default value.
18143 (read-file-name--defaults): Rename from read-file-name-defaults.
18144 (read-file-name-default): Rename from read-file-name.
18145 (read-file-name): Call read-file-name-function.
18146
4e05e67e
GM
181472011-03-21 Glenn Morris <rgm@gnu.org>
18148
18149 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18150 Doc fixes.
18151
4359915b
CY
181522011-03-21 Chong Yidong <cyd@stupidchicken.com>
18153
18154 * cus-theme.el: Add missing provide statement.
18155 (customize-create-theme): Extract theme value correctly.
18156 (custom-theme-visit-theme): Autoload.
18157 (customize-create-theme): Prompt before inserting default faces.
18158
1fe275ee
JB
181592011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18160
18161 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18162 units and musical notes.
18163
cd394be1 181642011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18165
18166 * ido.el (ido-read-internal): Use completing-read-default.
18167 (ido-completing-read): Fix compatibility with completing-read.
18168
7d476bde
CO
181692011-03-20 Christian Ohler <ohler@gnu.org>
18170
18171 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18172 (ert-delete-all-tests): Use `called-interactively-p' rather than
18173 `interactive-p'.
18174 (ert--make-xrefs-region): Respect END.
18175
fe0fb33e
CY
181762011-03-19 Chong Yidong <cyd@stupidchicken.com>
18177
ff854b0b
CY
18178 * dired-aux.el (dired-create-directory): Signal an error if the
18179 directory already exists (Bug#8246).
18180
fe0fb33e
CY
18181 * facemenu.el (list-colors-display): Call list-faces-display
18182 inside with-help-window.
18183 (list-colors-print): Use display property to align the final
18184 column, instead of checking window-width.
18185
576bce32
EZ
181862011-03-19 Eli Zaretskii <eliz@gnu.org>
18187
4d61f28d 18188 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18189 windows-nt systems.
18190 (emerge-protect-metachars): Quote correctly for ms-dos and
18191 windows-nt systems.
18192
89c41d68 181932011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18194
18195 * info.el (info-initialize): Replace all uses of `:' with
18196 path-separator for compatibility with non-Unix systems.
18197 Cache quoting of path-separator. (Bug#8258)
18198
b14e3e21 181992011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18200
18201 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18202 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18203 (mouse-avoidance-mode): Fix typos in docstrings.
18204
4525ce3e
CY
182052011-03-19 Chong Yidong <cyd@stupidchicken.com>
18206
18207 * startup.el (package-subdirectory-regexp): Move from package.el.
18208 Omit \\` and \\', and let callers add them.
18209
18210 * emacs-lisp/package.el (package-strip-version)
18211 (package-load-all-descriptors): Add \\` and \\' to
18212 package-subdirectory-regexp before using it.
18213 (package-untar-buffer): New arg DIR; ensure that file untars only
18214 into this expected directory. Remove superfluous delete-region.
18215 (package-unpack): Caller changed.
18216 (package-tar-file-info): Use package-subdirectory-regexp.
18217
a904a09a 182182011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18219
a904a09a
SM
18220 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18221 diff-mode-shared-map (bug#8284).
18222 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18223
182242011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18225
18226 * calendar/time-date.el (format-seconds): Use assoc instead of
18227 assoc-string, since assoc-string doesn't exist in XEmacs.
18228
171fc304
JB
182292011-03-17 Juanma Barranquero <lekktu@gmail.com>
18230
18231 * custom.el (custom-known-themes): Reflow docstring.
18232 (custom-theme-load-path): Fix typo in docstring.
18233 (load-theme): Fix typo in error message.
18234 (custom-available-themes, custom-variable-theme-value):
18235 Use `let', not `let*'.
18236
d71990a1
JB
182372011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18238
18239 * calc/README: Mention inclusion of musical notes.
18240
18241 * calc/calc-units.el (calc-lu-quant): Rename from
18242 `calc-logunits-quantity'.
18243 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18244 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18245 (calc-db): Rename from `calc-dblevel'.
18246 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18247 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18248 (calc-np): Rename from `calc-nplevel'.
18249 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18250 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18251 (calc-lu-plus): Rename from `calc-logunits-add'.
18252 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18253 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18254 (calc-lu-minus): Rename from `calc-logunits-sub'.
18255 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18256 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18257 (calc-lu-times): Rename from `calc-logunits-mul'.
18258 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18259 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18260 (calc-lu-divide): Rename from `calc-logunits-div'.
18261 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18262 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18263
18264 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18265 functions being autoloaded.
18266
18267 * calc/calc.el (calc-lu-power-reference): Rename from
18268 `calc-logunits-power-reference'.
18269 (calc-lu-field-reference): Rename from
18270 `calc-logunits-field-reference'.
18271
7a71b18d
GM
18272 * calc/calc-help.el (calc-l-prefix-help):
18273 Mention musical note functions.
d71990a1 18274
40c2934b
SM
182752011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18276
18277 * minibuffer.el (completion-all-sorted-completions):
18278 Use :completion-cycle-penalty text property if present.
18279
b0911414
KM
182802011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18281
18282 * allout.el (allout-yank-processing): Adjust for new rebulleting
18283 regime so bullet being yanked is used without prompting the user
18284 for a choice.
18285
8a05b668
JB
182862011-03-16 Juanma Barranquero <lekktu@gmail.com>
18287
18288 * startup.el (command-line): Warn the user that _emacs is deprecated.
18289
5ba5fb81
JB
182902011-03-16 Juanma Barranquero <lekktu@gmail.com>
18291
18292 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18293 (delphi-verbose, delphi-comment-face, delphi-string-face)
18294 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18295 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18296 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18297 (delphi-new-comment-line, delphi-font-lock-defaults)
18298 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18299 Fix typos in docstrings.
18300
2dab465b
KM
183012011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18302
5ba5fb81 18303 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18304 Invert the roles of character and string values for INSTEAD, so a
18305 string is used for the more common case of a defaulting prompt.
18306
0adf5618
SM
183072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18308
18309 * progmodes/ruby-mode.el (ruby-backward-sexp):
18310 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18311 * play/gamegrid.el (gamegrid-make-face):
18312 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18313 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18314 * notifications.el (notifications-notify):
18315 * net/xesam.el (xesam-search-engines):
18316 * net/quickurl.el (quickurl-list-insert):
18317 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18318
d72700e5
CY
183192011-03-15 Chong Yidong <cyd@stupidchicken.com>
18320
18321 * startup.el (command-line): Update package subdirectory regexp.
18322
49c5410a
SM
183232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18324
c6eee9aa
SM
18325 * allout.el (allout-abbreviate-flattened-numbering)
18326 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18327
49c5410a
SM
18328 * subr.el (read-char-choice): Only show the cursor after the prompt,
18329 not after the answer.
18330
047b2bb9
KR
183312011-03-15 Kevin Ryde <user42@zip.com.au>
18332
18333 * help-fns.el (variable-at-point): Skip leading quotes, if any
18334 (bug#8253).
18335
0a57d256
SM
183362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18337
18338 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18339 warning message.
18340
77c992bc
MA
183412011-03-14 Michael Albinus <michael.albinus@gmx.de>
18342
18343 * shell.el (shell): When called interactively, offer to change the
18344 shell file name on remote hosts.
18345
eebc475d
TZ
183462011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18347
18348 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18349 integration for LDAP parameters. The host, base, user or binddn,
18350 and secret tokens can be specified in a netrc file, for instance.
18351 This is optional because an `auth-source' parameter must be
18352 specified in the search attributes.
18353
9d05d1ba
JB
183542011-03-13 Juanma Barranquero <lekktu@gmail.com>
18355
18356 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18357
09d9db2c
GM
183582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18359
18360 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18361 into declaration. Remove redundant and harmful binding.
18362
183632011-03-12 Eli Zaretskii <eliz@gnu.org>
18364
18365 * files.el (file-ownership-preserved-p): Pass `integer' as an
18366 explicit 2nd argument to `file-attributes'. If the file's owner
18367 is the Administrators group on Windows, and the current user is
18368 Administrator, consider that a match.
18369
18370 * server.el (server-ensure-safe-dir): Consider server directory
18371 safe on MS-Windows if its owner is the Administrators group while
18372 the current Emacs user is Administrator. Use `=' to compare
18373 numerical UIDs, since they could be integers or floats.
18374
219bd536
JB
183752011-03-12 Juanma Barranquero <lekktu@gmail.com>
18376
18377 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18378
f3afd36b
MA
183792011-03-12 Michael Albinus <michael.albinus@gmx.de>
18380
18381 Sync with Tramp 2.2.1.
18382
18383 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18384
18385 * net/trampver.el: Update release number.
18386
3aaaa6f1
SM
183872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18388
94642599
SM
18389 * progmodes/compile.el (compilation--previous-directory): Fix up
18390 various nil/dead-marker mismatches (bug#8014).
18391 (compilation-directory-properties, compilation-error-properties):
18392 Don't call it at a position past the one we're about to change.
18393
3aaaa6f1
SM
18394 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18395 Disable obsolescence warnings in the file that declares it.
18396
14239447
KM
183972011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18398
099c39a4
JB
18399 * allout-widgets.el (allout-widgets-tally):
18400 Initialize allout-widgets-tally as a hash table rather than nil to
18401 prevent mode-line redisplay warnings. Also, clarify the module
18402 description and fix a comment typo.
14239447 18403
135e287c
JB
184042011-03-11 Juanma Barranquero <lekktu@gmail.com>
18405
18406 * help-fns.el (describe-variable): Don't complete keywords.
18407 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18408
ffbf300e
CY
184092011-03-10 Chong Yidong <cyd@stupidchicken.com>
18410
ba08b241
CY
18411 * emacs-lisp/package.el (package-version-join): Impose a standard
18412 string representation for pre/alpha/beta version lists.
18413 (package-unpack-single): Standardize the directory name by passing
18414 it through package-version-join.
18415 (package-strip-rcs-id): Accept any version string that does not
18416 signal an error in version-to-list.
ffbf300e 18417
f346fd6b
MA
184182011-03-10 Michael Albinus <michael.albinus@gmx.de>
18419
18420 * simple.el (delete-trailing-whitespace): Return nil for the
18421 benefit of `write-file-functions'.
18422
ccb55d27
GM
184232011-03-10 Glenn Morris <rgm@gnu.org>
18424
5ceaac0c
GM
18425 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18426
02da65ff
GM
18427 * vc/vc-git.el (vc-git-program): New option.
18428 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18429 (vc-git--call): Use it.
18430
b2f603cc
GM
18431 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18432
5772caab
GM
18433 * cus-edit.el (Custom-newline): If no button at point, look
18434 for a subgroup button at start-of-line. (Bug#2298)
18435
ccb55d27
GM
18436 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18437
ec6ecaed
JD
184382011-03-10 Julien Danjou <julien@danjou.info>
18439
18440 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18441 `cursor-type' is nil.
18442
9d5aa01d
JB
184432011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18444
18445 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18446
b6a5875b
KM
184472011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18448
7a71b18d 18449 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18450 preserves the existing header prefix, rebulleting it if necessary,
18451 rather than replacing it. This is necessary for proper operation
18452 of cooperative addons like allout-widgets.
1154d12e
JB
18453 (allout-make-topic-prefix, allout-rebullet-heading):
18454 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18455 value as alternate bullet to be used, instead of prompting the user
18456 for a bullet character.
b6a5875b 18457
ee545c35
MA
184582011-03-09 Michael Albinus <michael.albinus@gmx.de>
18459
d86d2721
SM
18460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18461 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18462 `tramp-default-port'.
18463
c47971d7
DD
184642011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18465
18466 * net/rcirc.el (rcirc-handler-001): Remove useless
18467 with-rcirc-process-buffer.
18468 (rcirc-check-auth-status): Swap arguments to string-match.
18469
13522cb4
GM
184702011-03-09 Glenn Morris <rgm@gnu.org>
18471
0be6f4f1
GM
18472 * shell.el (shell-mode):
18473 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18474
13522cb4
GM
18475 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18476 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18477
515de2e3
CY
184782011-03-08 Chong Yidong <cyd@stupidchicken.com>
18479
18480 * emacs-lisp/package.el (package-refresh-contents)
18481 (package-menu-execute): Use condition-case-no-debug.
18482
b511b994
MA
184832011-03-08 Michael Albinus <michael.albinus@gmx.de>
18484
18485 * simple.el (shell-command-to-string): Use `process-file'.
18486
18487 * emacs-lisp/package.el (package-tar-file-info): Handle also
18488 remote files.
18489
d86d2721
SM
18490 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18491 Use `equal' for upload base check.
b511b994 18492
25bbfb31
AM
184932011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18494
18495 * textmodes/texinfo.el (texinfo-environments):
18496 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18497
be996521
GM
184982011-03-08 Glenn Morris <rgm@gnu.org>
18499
e9c8529f
GM
18500 * cus-start.el (cursor-in-non-selected-windows):
18501 Fix :set quoting oddness. (Bug#8192)
18502
be996521
GM
18503 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18504 in some setf expressions. (Bug#2159)
18505
2bb5649e
CY
185062011-03-08 Chong Yidong <cyd@stupidchicken.com>
18507
18508 * custom.el (custom-available-themes): Return themes in
18509 alphabetical order.
18510
33383987 18511See ChangeLog.15 for earlier changes.
e3d51b27
MR
18512
18513;; Local Variables:
18514;; coding: utf-8
e3d51b27
MR
18515;; End:
18516
acaf905b 18517 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18518
18519 This file is part of GNU Emacs.
18520
18521 GNU Emacs is free software: you can redistribute it and/or modify
18522 it under the terms of the GNU General Public License as published by
18523 the Free Software Foundation, either version 3 of the License, or
18524 (at your option) any later version.
18525
18526 GNU Emacs is distributed in the hope that it will be useful,
18527 but WITHOUT ANY WARRANTY; without even the implied warranty of
18528 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18529 GNU General Public License for more details.
18530
18531 You should have received a copy of the GNU General Public License
18532 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.