merge trunk
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c584eaf9
CY
12012-09-16 Chong Yidong <cyd@gnu.org>
2
1667e065
CY
3 * files.el (parse-colon-path): Use split-string (Bug#12351).
4
fdc2806d 5 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 6 (display-buffer-function): Mark as obsolete.
fdc2806d 7
f1be615c
CY
8 * progmodes/compile.el (compilation-parse-errors): Accept list
9 values similar to font-lock-keywords (Bug#12136). Suggested by
10 Oleksandr Manzyuk.
c584eaf9
CY
11 (compilation-error-regexp-alist): Doc fix.
12
f40a9709
GM
132012-09-15 Glenn Morris <rgm@gnu.org>
14
72aa16e1
GM
15 * version.el (emacs-bzr-version-bzr): New function.
16 (emacs-bzr-get-version): Add optional EXTERNAL argument.
17
82375160
GM
18 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
19 checkouts, check the parent dirstate matches the branch.
20 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
21 empty string.
22
f40a9709
GM
23 * version.el (emacs-bzr-version): Doc fix.
24 (emacs-bzr-version-dirstate): New function.
25 (emacs-bzr-get-version): For lightweight checkouts, if the parent
26 is local try and check that it matches the branch. If not, just
27 use dirstate information. (Bug#12441)
28
cb26b7f5
JL
292012-09-14 Juri Linkov <juri@jurta.org>
30
31 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
32 (Bug#12399)
33
2de39f08
SM
342012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
35
0fb3cb7c
SM
36 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
37
2de39f08
SM
38 * emacs-lisp/edebug.el: Miscellaneous cleanup.
39 Remove obsolete byte-compiler hack that tried to silence some warnings.
40 (edebug-submit-bug-report): Remove.
41 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
42 Remove aliases, use the un-prefixed name instead.
43 (edebug-pop-to-buffer): Consider other frames.
44 (edebug-original-read):: Make it more obvious that it's always defined.
45 (edebug--make-form-data-entry, edebug--form-data-name)
46 (edebug--form-data-begin, edebug--form-data-end): Rename from the
47 single-dashed name, and implement with cl-defstruct.
48 (edebug-set-form-data-entry): Use the standard accessors.
49 (edebug-make-top-form-data-entry): Use push.
50 (edebug-no-match): Drop useless `funcall'.
51 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
52 to functions.
53 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
54 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
55 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
56 (easy-menu-define, with-custom-print): Remove redundant specs.
57 (edebug-outside-overriding-local-map)
58 (edebug-outside-overriding-terminal-local-map): Remove, unused.
59 (edebug--display): Bind unread-command-events directly to nil rather
60 than binding it to unread-command-events and later setting it to nil.
61 (edebug--display): Kill edebug-eval-buffer here...
62 (edebug--recursive-edit): ...rather than here.
63 Bind standard-output and standard-input.
64 (edebug-eval): Check cl-macroexpand-all is fboundp.
65 (edebug-temp-display-freq-count): Fix last change.
66
67 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
68 * subr.el (noreturn, 1value): Add `debug' spec.
69 * emacs-lisp/advice.el: Require cl-lib.
70 (ad-copy-tree): Remove, use copy-tree instead.
71 (ad-dolist): Remove use dolist or cl-dolist instead.
72 (ad-do-return): Remove, use cl-return instead.
73 (defadvice): Add `debug' spec.
74
5b68b333
JL
752012-09-13 Juri Linkov <juri@jurta.org>
76
77 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
78 (Bug#12399)
79
b9800ec4
GM
802012-09-13 Glenn Morris <rgm@gnu.org>
81
6a2e6868
GM
82 * calc/calc.el (math-compose-expr):
83 * calc/calc-ext.el (math-compose-expr):
84 * progmodes/cc-defs.el (cl-macroexpand-all):
85 * progmodes/cc-langs.el (delete-duplicates, mapcan)
86 (cl-macroexpand-all): Update declarations.
87
b9800ec4
GM
88 * vc/vc.el: No need to require ediff.
89 (ediff-load-version-control): Declare.
90 (ediff-vc-internal): Fix declaration.
91 (vc-version-ediff): Require ediff.
92
c18e885b
PE
932012-09-13 Paul Eggert <eggert@cs.ucla.edu>
94
95 Use a more backwards-compatible timer format (Bug#12430).
96 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
97 being right after USECS, as that better supports old code that
98 inadvisedly looked directly at the timer vector.
99
d607d303
KH
1002012-09-13 Kenichi Handa <handa@gnu.org>
101
102 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
103 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
104 `coding-priority' property of these language environment.
105
72eac303
PE
1062012-09-13 Paul Eggert <eggert@cs.ucla.edu>
107
108 Fix glitches caused by addition of psec to timers (Bug#12430).
109 * image.el (image-animate-timer):
110 * time.el (display-time-world-timer):
111 Use timer--function and timer--args rather than raw access to
112 timer vector.
113
2168fe4f
GM
1142012-09-13 Glenn Morris <rgm@gnu.org>
115
116 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
117 If not compiling a file, try using load-file-name.
118
bd8d6108
SM
1192012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
120
c0c54fbd
SM
121 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
122 Fix last change.
123 (edebug-update-eval-list): Use `push'.
124
bd8d6108
SM
125 * emacs-lisp/edebug.el: Use lexical-binding.
126 Remove the "edebug-" prefix from non-dynamically-scoped variables.
127 Mark unused args with underscore.
128 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
129 (edebug-form-data): Use defvar-local.
130 (edebug-make-before-and-after-form, edebug-make-after-form):
131 Use backquote.
132 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
133 Not dynamically scoped any more.
134 (edebug--enter-trace): Add arguments `function' and `args'.
135 Rename from edebug-enter-trace.
136 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
137 (edebug--update-coverage): Add `after-index' and `value' args.
138 Rename from edebug-update-coverage.
139 (edebug-slow-after): Call it accordingly.
140 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
141 edebug-recursive-edit.
142 (edebug--display): Call it accordingly. Add args `value',
143 `offset-index', and `arg-mode'. Rename from edebug-display.
144 (edebug-debugger, edebug): Call it accordingly.
145 (edebug-eval-display-list): Use dolist.
146
a9f9d9de
JL
1472012-09-12 Juri Linkov <juri@jurta.org>
148
149 * info.el (Info-search): Don't check for isearch-mode and
150 isearch-regexp before let-binding search-spaces-regexp to
151 Info-search-whitespace-regexp.
152 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
153 search-whitespace-regexp if isearch-lax-whitespace or
154 isearch-regexp-lax-whitespace is non-nil.
155 (Info-mode): Don't set local variable search-whitespace-regexp.
156 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
157
bfeae2cf
SM
1582012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
161 (debugger-env-macro): Remove support for unread-command-char.
162
163 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
164 the temporary map re-appearing on emulation-mode-map-alists.
165
166 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
167 since 22.1.
168
169 * ehelp.el (with-electric-help): Accept functions in
170 electric-help-form-to-execute.
171 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
172 And replace unread-command-char -> unread-command-events.
173
fbbcaf1b
MA
1742012-09-12 Michael Albinus <michael.albinus@gmx.de>
175
176 Sync with Tramp 2.2.6.
177
178 * net/tramp.el (tramp-accept-process-output): Don't use
179 JUST-THIS-ONE in the XEmacs case.
180
181 * net/trampver.el: Update release number.
182
4dece104
MR
1832012-09-12 Martin Rudalics <rudalics@gmx.at>
184
bfeae2cf
SM
185 * emacs-lisp/debug.el (debugger-previous-window-height):
186 New variable.
4dece104
MR
187 (debug): When debugger-jumping-flag is non-nil try to restore
188 height of debugger window. (Bug#8789)
189
45b82ad0
SM
1902012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
191
60c49c0f
SM
192 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
193 overriding-local-map and pre/post-command-hook here.
194 (edebug-recursive-edit): Do it here instead (bug#12345).
195 (edebug-outside-unread-command-char): Remove all uses of
196 unread-command-char.
197
45b82ad0
SM
198 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
199 inhibit-debugger is bound instead.
200
baa26ea0
BG
2012012-09-11 Bastien Guerry <bzg@gnu.org>
202
203 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 204 (Bug#12346)
baa26ea0 205
04e8abfa
BG
2062012-09-11 Bastien Guerry <bzg@gnu.org>
207
96d03571 208 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 209 (Bug#12347)
96d03571
BG
210
2112012-09-11 Bastien Guerry <bzg@gnu.org>
212
fc0c31f8 213 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 214
04e082b0
MM
2152012-09-10 Michael R. Mauger <mmaug@yahoo.com>
216
217 * progmodes/sql.el: Version 3.1
218 (sql-db2-escape-newlines): New variable.
219 (sql-escape-newlines-filter): Use it.
220
399a361b
JB
2212012-09-10 Juanma Barranquero <lekktu@gmail.com>
222
223 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
224
0780c517
DN
2252012-09-10 Dan Nicolaescu <dann@gnu.org>
226
45b82ad0
SM
227 * vc/diff-mode.el (diff-mode-menu):
228 Bind diff-remove-trailing-whitespace.
0780c517 229
9b851e25
SM
2302012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
233 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
234 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
235 (eval-sexp-add-defvars): Don't skip defvars in column >0.
236 (eval-defun-2): Remove bogus interactive spec.
237 (lisp-indent-line): Remove redundant whole-exp code, now done in
238 indent-according-to-mode.
239 (save-match-data): Remove redundant indent data.
240
241 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
242 Use `declare'.
243
3231d532
JL
2442012-09-09 Juri Linkov <juri@jurta.org>
245
246 * replace.el (replace-regexp-lax-whitespace): New defcustom.
247 (replace-lax-whitespace, query-replace-regexp)
248 (query-replace-regexp-eval, replace-regexp): Doc fix.
249 (perform-replace, replace-highlight): Let-bind
250 isearch-lax-whitespace to replace-lax-whitespace and
251 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
252
253 * isearch.el (isearch-query-replace): Let-bind
254 replace-lax-whitespace to isearch-lax-whitespace and
255 replace-regexp-lax-whitespace to
256 isearch-regexp-lax-whitespace. (Bug#10885)
257
70fe8236
SM
2582012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
261
8ed43f15
AM
2622012-09-09 Alan Mackenzie <acm@muc.de>
263
70fe8236
SM
264 * progmodes/cc-engine.el (c-state-cache-init):
265 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
266 (c-record-parse-state-state):
267 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 268
bfabf70a
AS
2692012-09-09 Andreas Schwab <schwab@linux-m68k.org>
270
271 * register.el (register-separator): Rename from
272 separator-register. All uses changed. Doc fix.
273 (register): Fix version.
274
011474aa
CY
2752012-09-09 Chong Yidong <cyd@gnu.org>
276
277 * replace.el (query-replace-map): Bind four new symbols for
278 requesting window scrolling.
279
280 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
281 query-replace-map (Bug#8948).
282
283 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
284
285 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
286 since they are now in query-replace-map.
287
288 * window.el (scroll-other-window-down): Make the arg optional.
289
a8b7cd8d
CY
2902012-09-09 Chong Yidong <cyd@gnu.org>
291
292 * files.el (hack-local-variables-confirm): Use quit-window to kill
293 the *Local Variables* buffer.
294
c3268831
DG
2952012-09-08 Dmitry Gutov <dgutov@yandex.ru>
296
297 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
298 not just expect to be at its beginning. Adjust callees.
299 Succeed when do-end block has no space before the pipe character.
300 (ruby-brace-to-do-end): When the original block is one-liner,
301 convert to multiline. Reindent the result.
302
0979429b
J
3032012-09-08 Jambunathan K <kjambunathan@gmail.com>
304
305 * register.el (register): New group.
306 (register-separator): New user option.
307 (increment-register): Route it to `append-to-register', if
308 register contains text. Implication is that `C-x r +' can now be
309 used for appending to a text register (bug#12217).
310 (append-to-register, prepend-to-register): Add separator based on
311 `register-separator.
312
ace2989a
AM
3132012-09-08 Alan Mackenzie <acm@muc.de>
314
315 AWK Mode: make auto-newline work when there's "==" in the pattern.
316 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
317 correctly.
0979429b
J
318 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
319 Test more rigorously for "=" token.
ace2989a 320
616c6c36
DG
3212012-09-08 Dmitry Gutov <dgutov@yandex.ru>
322
0979429b
J
323 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
324 Only fail when reached LIMIT.
616c6c36 325
35d98877
CY
3262012-09-08 Chong Yidong <cyd@gnu.org>
327
328 * dired.el (dired-mode-map): Don't bind M-=.
329
330 * dired-aux.el (dired-diff): Use backup file as default.
331
1715f2db
DA
3322012-09-08 Drew Adams <drew.adams@oracle.com>
333
334 * subr.el (add-to-history): Fix delete usage (Bug#12314).
335
6dcef6ec
CY
3362012-09-08 Chong Yidong <cyd@gnu.org>
337
338 * subr.el (syntax-after, syntax-class): Doc fix.
339
fa2bcf43
MR
3402012-09-08 Martin Rudalics <rudalics@gmx.at>
341
342 * window.el (display-buffer-in-previous-window): New buffer
343 display action function.
344
345 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
346 (debugger-previous-window): New variable.
347 (debug): Rewrite using display-buffer-in-previous-window,
348 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
349
daac280a
SM
3502012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
353
9dd40b00
MM
3542012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
355
daac280a
SM
356 * progmodes/python.el (python-shell-send-string):
357 When default-directory is remote, create temp file on remote
9dd40b00
MM
358 filesystem.
359 (python-shell-send-file): When file is remote, pass local view of
360 file paths to remote Python interpreter. (Bug#12340)
361
145823ec
CY
3622012-09-07 Chong Yidong <cyd@gnu.org>
363
cee2e90d
CY
364 * window.el (switch-to-buffer): Doc fix (Bug#12181).
365
0d7eb2ea
CY
366 * files.el (after-find-file): Don't fail on a read-only buffer if
367 require-final-newline is `visit' or `visit-save' (Bug#11156).
368
145823ec
CY
369 * subr.el (read-char-choice): Allow quitting via ESC ESC.
370
daac280a
SM
371 * userlock.el (ask-user-about-supersession-threat):
372 Use read-char-choice (Bug#12093).
145823ec 373
74c582e6
CY
3742012-09-07 Chong Yidong <cyd@gnu.org>
375
e5c2edf7
CY
376 * subr.el (buffer-narrowed-p): New function.
377
378 * ses.el (ses-widen):
379 * simple.el (count-words--buffer-message):
380 * net/browse-url.el (browse-url-of-buffer): Use it
381
382 * simple.el (count-words-region): Don't signal an error if there
383 is a non-nil prefix arg and the mark is not set.
c640e87d 384
74c582e6
CY
385 * help.el (describe-key-briefly): Allow the message to be seen
386 when invoked from the minibuffer (Bug#7014).
387
d81ceaaf
DG
3882012-09-07 Dmitry Gutov <dgutov@yandex.ru>
389
390 * progmodes/ruby-mode.el (ruby-end-of-defun)
391 (ruby-beginning-of-defun): Simplify, allow indentation before
392 block beginning and end keywords.
8f06acce
DG
393 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
394 (ruby-end-of-defun): Expect that the point is at the beginning of
395 the defun.
d81ceaaf 396
d458ef98
SM
3972012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
400 (bug#12367).
401 (cl--make-usage-args): Strip _ from argument names.
402
20367d28
RS
4032012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
404
405 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
406 obsolete alias speedbar-key-map.
407 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
408 (vhdl-index-menu-init): Don't use obsolete variable
409 font-lock-maximum-size.
410
3424a4f6
CY
4112012-09-06 Chong Yidong <cyd@gnu.org>
412
413 * frame.el (window-system-version): Mark as obsolete.
414
fcbfbdea
CY
415 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
416 of obsolete variable speedbar-key-map.
417
826b3235
JL
4182012-09-06 Juri Linkov <juri@jurta.org>
419
420 * replace.el (replace-lax-whitespace): New defcustom.
421 (query-replace, query-replace-regexp, query-replace-regexp-eval)
422 (replace-string, replace-regexp): Mention it in docstrings.
423 (perform-replace, replace-highlight): Let-bind
424 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
425 to the values of replace-lax-whitespace and regexp-flag.
426 Don't let-bind search-whitespace-regexp. (Bug#10885)
427
428 * isearch.el (isearch-query-replace): Let-bind
429 replace-lax-whitespace instead of let-binding
430 replace-search-function and replace-re-search-function.
431 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
432 and isearch-regexp-lax-whitespace to lazy-highlight variables.
433 (isearch-toggle-symbol): Set isearch-regexp to nil
434 in isearch-word mode (like in isearch-toggle-word).
435
1ec5e41d
JL
4362012-09-06 Juri Linkov <juri@jurta.org>
437
438 * replace.el (replace-search-function)
439 (replace-re-search-function): Set default values to nil.
440 (perform-replace): Let-bind isearch-related variables based on
441 replace-related values, call `isearch-search-fun' and let-bind
442 the result to `search-function'. Remove code that sets
443 `search-function' and `search-string' separately for
444 `delimited-flag'.
445 (replace-highlight): Add new argument `delimited-flag' and
446 rename other arguments to the names used in `perform-replace'.
447 Let-bind `isearch-word' to the argument `delimited-flag'.
448 (Bug#10885, bug#10887)
449
0ba2d4b6
DG
4502012-09-07 Dmitry Gutov <dgutov@yandex.ru>
451
452 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
453 ruby-beginning-of-indent, simplify, allow all keywords to have
454 indentation before them.
455 (ruby-beginning-of-indent): Adjust for above. Search until the
456 found point is not inside a string or comment.
457 (ruby-font-lock-keywords): Allow symbols to start with "@"
458 character, give them higher priority than variables.
459 (ruby-syntax-propertize-function)
460 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
461 matchers. Expression expansions are not comments when inside a
462 string, and there comment syntax status is irrelevant.
463 (ruby-match-expression-expansion): New function. Check that
464 expression expansion is inside a string, and it's not escaped.
465 (ruby-font-lock-keywords): Use it.
466
ef654460
MR
4672012-09-05 Martin Rudalics <rudalics@gmx.at>
468
469 * help.el (temp-buffer-max-height): New default value.
470 (temp-buffer-resize-frames): New option.
471 (resize-temp-buffer-window): Optionally resize frame.
472
473 * window.el (fit-frame-to-buffer-bottom-margin): New option.
474 (fit-frame-to-buffer): New function.
475
7e570fbf 4762012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
477
478 * emulation/cua-rect.el (cua--init-rectangles):
479 * textmodes/picture.el (picture-mode-map):
480 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
481 like forward-char and backward-char. (Bug#12317)
482
7e570fbf 4832012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
484
485 * progmodes/flymake.el (flymake-warning-re): New variable.
486 (flymake-parse-line): Use it.
487
7e570fbf 4882012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
489
490 * calendar/holidays.el (holiday-christian-holidays):
491 Rename an entry. (Bug#12289)
492
7e570fbf 4932012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
494
495 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
496 (bug#12222).
497
972debf2
SM
4982012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * loadup.el: Load macroexp. Remove hack.
501 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
502 (macroexp--expand-all): Use it to get better warnings.
503 (macroexp--backtrace, macroexp--trim-backtrace-frame)
504 (internal-macroexpand-for-load): New functions.
505 (macroexp--pending-eager-loads): New var.
506 (emacs-startup-hook): New hack to replace one in loadup.el.
507 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
508 (cl--compiler-macro-cXXr): Move to top, before they can be used.
509 (cl-psetf): Simplify.
510 (cl-defstruct): Add indent rule.
511
8ce192e3
LI
5122012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
513
514 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
515 over `user-mail-address' for the SMTP MAIL FROM envelope.
516 (smtpmail-via-smtp): Ditto.
517
6578b4d8
DG
5182012-09-04 Dmitry Gutov <dgutov@yandex.ru>
519
520 * progmodes/ruby-mode.el: Clean up keybindings.
521 (ruby-mode-map): Don't bind ruby-electric-brace,
522 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
523 backward-kill-word, reindent-then-newline-and-indent.
524 (ruby-mark-defun): Remove.
525 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
526 (ruby-mode): Set local beginning-of-defun-function and
527 end-of-defun-function values.
528
c5e28e39
MR
5292012-09-03 Martin Rudalics <rudalics@gmx.at>
530
531 * window.el (temp-buffer-window-setup-hook)
532 (temp-buffer-window-show-hook): New hooks.
533 (temp-buffer-window-setup, temp-buffer-window-show)
534 (with-temp-buffer-window): New functions.
972debf2
SM
535 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
536 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
537
538 * help.el (temp-buffer-resize-mode): Fix doc-string.
539 (resize-temp-buffer-window): New optional argument WINDOW.
540
541 * files.el (recover-file, save-buffers-kill-emacs):
542 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
543
73406194
MA
5442012-09-02 Michael Albinus <michael.albinus@gmx.de>
545
546 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
547 remote definition of `default-directory', ensure we can connect.
548
63dd1c6f
JL
5492012-09-02 Juri Linkov <juri@jurta.org>
550
551 Toggle whitespace matching mode with M-s SPC.
552 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
553
554 * isearch.el (search-whitespace-regexp): Doc fix.
555 Remove cons cell customization.
556 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
557 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
558 New variables.
559 (isearch-forward, isearch-forward-regexp): Doc fix.
560 (isearch-toggle-lax-whitespace): New command.
561 (search-forward-lax-whitespace, search-backward-lax-whitespace)
562 (re-search-forward-lax-whitespace)
563 (re-search-backward-lax-whitespace): New functions.
564 (isearch-whitespace-regexp): Remove function.
565 (isearch-query-replace): Let-bind replace-search-function and
566 replace-re-search-function.
567 (isearch-occur): Let-bind search-spaces-regexp according to the
568 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
569 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
570 condition for C-q SPC.
571 (isearch-search-fun-default): Use new functions mentioned above.
572 (isearch-search-forward, isearch-search-backward): Remove functions.
573 (isearch-search): Don't let-bind search-spaces-regexp.
574 (isearch-lazy-highlight-space-regexp): Remove variable.
575 (isearch-lazy-highlight-lax-whitespace)
576 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
577 (isearch-lazy-highlight-new-loop): Use them.
578 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
579
af7dda05
CY
5802012-09-02 Chong Yidong <cyd@gnu.org>
581
582 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
583
d67d3afd
GM
5842012-09-02 Glenn Morris <rgm@gnu.org>
585
586 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
587
69678719
GM
5882012-09-01 Glenn Morris <rgm@gnu.org>
589
590 * term.el: Tidy up menu definitions.
591 (term-mode-map): Use easymenu for In/Out, Complete menus.
592 (term-pager-break-map): Initialize in the defvar.
593 (term-terminal-menu, term-signals-menu): Define with easymenu.
594 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
595 (term-pager-menu): New, extracted from term-process-pager.
596 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
597 (term-update-mode-line): Propertize line/char and page items.
598 (term-process-pager): Move keymap initialization elsewhere.
599
78dd6ab1
MR
6002012-09-01 Martin Rudalics <rudalics@gmx.at>
601
602 * window.el (switch-to-prev-buffer): Handle additional values of
603 BURY-OR-KILL argument. Don't switch in minibuffer window.
604 (switch-to-next-buffer): Don't switch in minibuffer window.
605 (quit-restore-window): New function based on quit-window.
606 Handle additional values of former KILL argument.
607 (quit-window): Call quit-restore-window with appropriate
608 interpretation of KILL argument.
609 (display-buffer-below-selected): New buffer display action
610 function.
611
3d10e134
SM
6122012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * minibuffer.el (completion-at-point-functions): Complete docstring
615 (bug#12254).
616
0e23ef9d
PE
6172012-09-01 Paul Eggert <eggert@cs.ucla.edu>
618
619 Better seed support for (random).
620 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
621 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
622 * play/mpuz.el, play/tetris.el, play/zone.el:
623 * calc/calc-comb.el (math-init-random-base):
624 * play/blackbox.el (bb-init-board):
625 * play/life.el (life):
626 * server.el (server-use-tcp):
627 * type-break.el (type-break):
628 Remove unnecessary call to (random t).
629 * net/sasl.el (sasl-unique-id-function):
630 Change (random t) to (random), now that the latter is more random.
631 * play/life.el (life-initialized): Remove no-longer-needed var.
632
862382df
MR
6332012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
634
635 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
636 Consider frame's buffer predicate when choosing the buffer.
637 (Bug#12081)
638
262a66e1
RS
6392012-08-30 Richard Stallman <rms@gnu.org>
640
641 * simple.el (special-mode-map): Delete binding for `z'.
642
f17e1d00
AS
6432012-08-30 Andreas Schwab <schwab@linux-m68k.org>
644
645 * progmodes/compile.el (compilation-always-kill): Doc fix.
646
24777832
CY
6472012-08-30 Chong Yidong <cyd@gnu.org>
648
649 * window.el (display-buffer-reuse-frames): Make the obsolescence
650 message more informative.
651
69ba1f04
GM
6522012-08-30 Glenn Morris <rgm@gnu.org>
653
654 * paren.el (show-paren-delay):
655 Add a :set function. Doc fix. (Bug#12297)
656
f0019ede
MB
6572012-08-29 Martin Blais <blais@furius.ca> (tiny change)
658
659 * progmodes/compile.el (compilation-always-kill): New var.
660 (compilation-start): Use it.
661
35e62fc9
SM
6622012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
663
af070a1c
SM
664 * simple.el (read-only-mode): Move from files.el for bootstrapping.
665 * files.el (read-only-mode): Move to simple.el.
666
35e62fc9
SM
667 * files.el (read-only-mode): New minor mode.
668 (toggle-read-only): Use it and mark obsolete.
669 (find-file--read-only):
670 * vc/vc.el (vc-next-action, vc-checkout):
671 * vc/vc-cvs.el (vc-cvs-checkout):
672 * obsolete/vc-mcvs.el (vc-mcvs-update):
673 * ffap.el (ffap--toggle-read-only): Update callers.
674
c2c43c23
MA
6752012-08-29 Michael Albinus <michael.albinus@gmx.de>
676
677 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
678 remote shell scripts.
679 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
680
681 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
682 "/usr/local/sbin".
683
9fba804b
SM
6842012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
687
eada0861 6882012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 689
806f0cc7
LL
690 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
691 completion-at-point. (Bug#12220)
692
3bb213b9
LL
693 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
694
22ab32ef
LL
695 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
696
eada0861 6972012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 698
19c17fc1
CY
699 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
700 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 701
eada0861 7022012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
703
704 * progmodes/hideif.el (hif-compress-define-list):
705 Fix typo. (Bug#11951)
706
eada0861 7072012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
708
709 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
710 buffer local setting.
711
27d6c5a8
LL
712 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
713 rcirc-encode-coding-system.
714
eada0861 7152012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
716
717 * net/rcirc.el (rcirc-split-message): New function.
718 (rcirc-send-message): Use it. (Bug#12051)
719
d44688e4
JL
7202012-08-28 Juri Linkov <juri@jurta.org>
721
722 * info.el (Info-fontify-node): Hide empty lines at the end of
723 the node. (Bug#12272)
724
34f10d41
MR
7252012-08-27 Drew Adams <drew.adams@oracle.com>
726
727 * dired.el (dired-pop-to-buffer): Make window start at beginning
728 of buffer (Bug#12281).
729
77f1f99c
CY
7302012-08-26 Chong Yidong <cyd@gnu.org>
731
732 * window.el (special-display-regexps, special-display-frame-alist)
733 (special-display-buffer-names, special-display-function)
734 (display-buffer-reuse-frames): Mark as obsolete.
735
736 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
737
738 * help.el (help-print-return-message): Don't treat
739 display-buffer-reuse-frames specially.
740
d97af5a0
CY
7412012-08-26 Chong Yidong <cyd@gnu.org>
742
9fba804b
SM
743 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
744 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
745 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
746 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
747 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
748 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
749 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
750 the functions directly with gdb-display-buffer-other-frame-action.
751 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
752 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
753 (gdb-display-stack-buffer, gdb-display-locals-buffer)
754 (gdb-display-registers-buffer): Define directly.
755 (def-gdb-display-buffer): Macro deleted.
756 (gdb-display-buffer): Remove second and third args, callers don't
757 use them. Defer to the default display-buffer behavior, apart
758 from making windows dedicated.
759 (gdb-setup-windows): Don't call display-buffer unnecessarily.
760
761 * progmodes/gud.el (gud-display-line): Just use display-buffer.
762
763 * window.el (display-buffer-pop-up-frame): Handle a
764 pop-up-frame-parameters alist entry.
765 (display-buffer): Document it.
766
dd7ffad6
CY
7672012-08-26 Chong Yidong <cyd@gnu.org>
768
769 * isearch.el (search-whitespace-regexp): Make string and nil
770 values apply to both ordinary and regexp search. Allow a cons
771 cell value to distinguish between the two.
772 (isearch-whitespace-regexp, isearch-search-forward)
773 (isearch-search-backward): New functions.
774 (isearch-occur, isearch-search-fun-default, isearch-search)
775 (isearch-lazy-highlight-new-loop): Use them.
776 (isearch-forward, isearch-forward-regexp): Doc fix.
777
4c47bd1e
CY
7782012-08-26 Chong Yidong <cyd@gnu.org>
779
780 * faces.el (help-argument-name): Always inherit from italic
781 (Bug#12213).
782
9aba119d
MR
7832012-08-25 Martin Rudalics <rudalics@gmx.at>
784
785 * window.el (window--even-window-heights): Even heights when
786 WINDOW and the selected window form a vertical combination.
787 (display-buffer-use-some-window): Provide that window used gets
788 sized back by quit-window. (Bug#11880) and (Bug#12091)
789
ca5256ad
PE
7902012-08-24 Paul Eggert <eggert@cs.ucla.edu>
791
792 Fix file time stamp problem with bzr and CVS (Bug#12001).
793 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
794 in the file's time stamp, since the version control system loses
795 that information.
796
d1c0d176
JL
7972012-08-22 Juri Linkov <juri@jurta.org>
798
799 * info.el (Info-fontify-node): Hide the suffix of the
800 Info file name in the header line. (Bug#12187)
801
141562ff
GM
8022012-08-22 Glenn Morris <rgm@gnu.org>
803
804 * calendar/cal-tex.el (cal-tex-weekly-common):
805 Restore leading blank page.
806
61a48e19 8072012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
808
809 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
810 the region under `shift-select-mode'. (Bug#12231)
811
8122012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
813
814 * progmodes/executable.el (executable-prefix): Set to "#!" instead
815 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
816 gives details on why the space is never needed.
817
ea95074e
MR
8182012-08-22 Martin Rudalics <rudalics@gmx.at>
819
9fba804b
SM
820 * window.el (walk-window-tree, window-with-parameter):
821 New optional argument MINIBUF to control whether these functions
ea95074e
MR
822 should run on the minibuffer window.
823 (window-at-side-list): Don't operate on minibuffer window.
824 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
825 (window--size-ignore): Rename to window--size-ignore-p.
826 Update callers.
caceae25
MR
827 (display-buffer-in-atom-window, window--major-non-side-window)
828 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
829 (delete-side-window, display-buffer-in-side-window):
830 New functions.
caceae25
MR
831 (window--side-check, window-deletable-p, delete-window)
832 (delete-other-windows, split-window): Handle side windows and
833 atomic windows appropriately.
834 (window--display-buffer): Call display-buffer-record-window also
835 when the window buffer did not change.
ea95074e 836
80a51fa0
CS
8372012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
838
839 * help-fns.el (help-fns--key-bindings):
840 Abbreviate non-symbol remap targets. (Bug#12174)
841
fbb6300b
MR
8422012-08-22 Martin Rudalics <rudalics@gmx.at>
843
844 * dired.el (dired-mark-remembered): Don't clobber point.
845 (Bug#11795)
846
2b2c0794
GM
8472012-08-22 Glenn Morris <rgm@gnu.org>
848
849 * progmodes/bug-reference.el (bug-reference): New custom group.
850 (bug-reference-bug-regexp): Make it a defcustom.
851
37219830
DU
8522012-08-22 Daiki Ueno <ueno@unixuser.org>
853
854 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
855 (js-paren-indent-offset, js-square-indent-offset)
856 (js-curly-indent-offset): Add :safe (Bug#12257).
857
94e0e559
EC
8582012-08-22 Edward O'Connor <hober0@gmail.com>
859
860 * json.el (json-key-format): Add error properties.
861 (json-encode-key): New function.
862 (json-encode-hash-table, json-encode-alist, json-encode-plist):
863 Use json-encode-key.
864
da485f5e
GM
8652012-08-22 Glenn Morris <rgm@gnu.org>
866
867 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
868 (cal-tex-leftday, cal-tex-rightday): Remove functions.
869 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
870 Update for above change.
871
c6cc78b8
AS
8722012-08-21 Andreas Schwab <schwab@linux-m68k.org>
873
874 * cus-face.el (custom-face-attributes): Fix customize type for the
875 :underline attribute. (Bug#11805)
876
5481664a
MR
8772012-08-21 Martin Rudalics <rudalics@gmx.at>
878
879 * window.el (window-point-1, set-window-point-1): Remove.
880 (window-in-direction, record-window-buffer)
881 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
882 (window--state-get-1, display-buffer-record-window):
883 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
884 window-point and set-window-point respectively.
885
6d74698e
GM
8862012-08-21 Glenn Morris <rgm@gnu.org>
887
b7fa2691
GM
888 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
889 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
890 Use it.
891
52f56d5a
GM
892 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
893 (cal-tex-shortday): New function.
894 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
895 (cal-tex-cursor-filofax-daily): Use the above.
896
9f1ee09e
GM
897 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
898 New functions.
899 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
900 (cal-tex-cursor-filofax-week): Use them.
901
79858159
GM
902 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
903 New constants.
904 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
905 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
906
d346b2b4
GM
907 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
908 (cal-tex-end-document): Don't rely on buffer name.
909
b2403709
GM
910 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
911 Use cal-tex-vspace.
912 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
913 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
914 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
915 Use cal-tex-arg.
b2403709 916
1cebb5c0
GM
917 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
918 (cal-tex-cursor-week, cal-tex-cursor-week2)
919 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
920 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
921 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
922 (cal-tex-insert-preamble, cal-tex-b-document)
923 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
924 Improve cal-tex-cmd usage.
925
c68cd5d4
GM
926 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
927 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
928 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
929 (cal-tex-weekly-paper): New function.
930 (cal-tex-cursor-week, cal-tex-cursor-week2)
931 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
932 (cal-tex-cursor-day): Use it.
933
9dca4801
GM
934 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
935 (cal-tex-cursor-filofax-week): Remove leading blank page.
936
1941e134
GM
937 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
938 Add autoload cookie. For now at least, don't use color, since
939 no other cal-tex function does.
940
6d74698e
GM
941 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
942 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
943 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
944
64cde199
JL
9452012-08-21 Juri Linkov <juri@jurta.org>
946
947 * info.el (Info-file-attributes): New variable.
948 (info-insert-file-contents): Add file attributes to
949 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
950 `Info-toc-nodes' when previous modtime of the Info file is less
951 than new modtime.
952 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
953 of info.el. (Bug#12230)
954
32757648
GM
9552012-08-20 Glenn Morris <rgm@gnu.org>
956
957 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
958 * calendar/holidays.el (calendar-holiday-list):
959 Report errors with display-warning rather than beep'n'sleep.
960
a32fbbcf
MA
9612012-08-20 Michael Albinus <michael.albinus@gmx.de>
962
963 * net/tramp.el (tramp-accept-process-output): Accept only output
964 from PROC. Otherwise, process filters and sentinels might be
965 confused. (Bug#12145)
966
a05731a0
CY
9672012-08-20 Chong Yidong <cyd@gnu.org>
968
969 * descr-text.el (describe-text-properties-1): Use overlays-in to
970 report on empty overlays (Bug#3322).
971
36e8d1eb
GM
9722012-08-20 Glenn Morris <rgm@gnu.org>
973
3d300447
GM
974 * mail/rmailout.el (rmail-output-read-file-name):
975 Trap and report errors in rmail-output-file-alist elements.
976
36e8d1eb
GM
977 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
978 since most non-font-lock faces are not also variables).
979
b96e5814
ER
9802012-08-20 Edward Reingold <reingold@iit.edu>
981
982 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
983 New function. (Bug12160)
984
7cef3569
GM
9852012-08-19 Glenn Morris <rgm@gnu.org>
986
987 * mail/rmailout.el (rmail-output-read-file-name):
988 Fix previous change (when the alist is nil or does not match).
989
17975d7f
CY
9902012-08-19 Chong Yidong <cyd@gnu.org>
991
992 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
993 (Bug#12228).
994
2170b1bd
CY
9952012-08-18 Chong Yidong <cyd@gnu.org>
996
997 * simple.el (yank-handled-properties): New defcustom.
998 (yank-excluded-properties): Add font-lock-face and category.
999 (yank): Doc fix.
1000
9fba804b
SM
1001 * subr.el (remove-yank-excluded-properties):
1002 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1003 and category is now done this way, instead of being hard-coded.
1004 (insert-for-yank-1): Remove font-lock-face handling.
1005 (yank-handle-font-lock-face-property)
1006 (yank-handle-category-property): New function.
1007
ee218151
GM
10082012-08-17 Glenn Morris <rgm@gnu.org>
1009
1010 * mail/rmailout.el (rmail-output-read-file-name):
1011 Check rmail-output-file-alist against the full message body
1012 in the correct rmail buffer. (Bug#12214)
1013
4a6bc3fd
MA
10142012-08-17 Michael Albinus <michael.albinus@gmx.de>
1015
9fba804b
SM
1016 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1017 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1018
383dcbf9
CY
10192012-08-17 Chong Yidong <cyd@gnu.org>
1020
1021 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1022 font spec, set the font directly (Bug#3228).
1023
998c4a6a
MR
10242012-08-17 Martin Rudalics <rudalics@gmx.at>
1025
1026 * window.el (delete-window): Fix last fix.
1027
52162052
MR
10282012-08-16 Martin Rudalics <rudalics@gmx.at>
1029
1030 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1031 (window-child, window-child-count, window-last-child)
1032 (window-normalize-window, window-combined-p)
1033 (window-combinations, window-atom-root, window-min-size)
1034 (window-sizable, window-sizable-p, window-size-fixed-p)
1035 (window-min-delta, window-max-delta, window--resizable)
1036 (window--resizable-p, window-resizable, window-total-size)
1037 (window-full-height-p, window-full-width-p, window-body-size)
1038 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1039 (minimize-window, window-deletable-p, delete-window)
1040 (delete-other-windows, set-window-buffer-start-and-point)
1041 (next-buffer, previous-buffer, split-window, balance-windows-2)
1042 (set-window-text-height, window-buffer-height)
1043 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1044 (truncated-partial-width-window-p): Minor code adjustments.
1045 In doc-strings state whether the argument window has to denote a
85c2386b 1046 live, valid or any window.
52162052 1047
1c308380
PS
10482012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1049
1050 * progmodes/subword.el (subword-forward-function)
1051 (subword-backward-function, subword-forward-regexp)
1052 (subword-backward-regexp): New variables.
1053 (subword-forward, subword-forward-internal, subword-backward-internal):
1054 Use new variables, eg so that different "word" definitions
1055 can be easily used. (Bug#11411)
1056
94c9ece1
SM
10572012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1060 for composite selectors.
1061 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1062 operation just because we can't find a previous revision.
1063
f2045622
CY
10642012-08-15 Chong Yidong <cyd@gnu.org>
1065
1066 * frame.el (set-frame-font): Accept font objects.
1067
582db660
SM
10682012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1071
2f29c200
WJ
10722012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1073
456e62c2
WJ
1074 * man.el (Man-overstrike-face, Man-underline-face)
1075 (Man-reverse-face): Remove variables.
1076 (Man-overstrike, Man-underline, Man-reverse): New faces.
1077 (Man-fontify-manpage): Use them instead of the variables.
1078 (Man-cleanup-manpage): Comment change.
1079 (Man-ansi-color-map): New variable.
1080 (Man-fontify-manpage): Use it.
1081 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1082
2f29c200
WJ
1083 Implement ANSI SGR parameters 22-27 (bug#12146).
1084 * ansi-color.el (ansi-colors): Doc fix.
1085 (ansi-color-context, ansi-color-context-region): Doc fix.
1086 (ansi-color--find-face): New function.
1087 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1088 Rename the local variable `face' to `codes' since it is now a list of
1089 ansi codes. Doc fix.
1090 (ansi-color-get-face): Remove.
1091 (ansi-color-parse-sequence): New function, derived from
1092 ansi-color-get-face.
1093 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1094 codes 22-27.
1095
b4f5e9df
SM
10962012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * subr.el (read-passwd): Allow use from a minibuffer.
1099
ba025fbd
EZ
11002012-08-14 Eli Zaretskii <eliz@gnu.org>
1101
1102 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1103 inside comments and strings as identifiers.
1104
1105 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1106 expression to evaluate. This allows to evaluate expressions with
1107 embedded whitespace.
1108 (gud-tooltip-tips): Add a blank before the newline in the
1109 message-box text, for the benefit of message-box emulation on
1110 MS-Windows.
1111
1112 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1113 messages from GDB, pop them up in a tooltip to give feedback to
1114 user.
b4f5e9df
SM
1115 (gdb-tooltip-print-1): Quote the expression to evaluate.
1116 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1117 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1118 if the TTY name is nil or empty (which happens when communicating
1119 with the inferior via pipes, e.g. on MS-Windows).
1120 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1121 don't send that to the GUD buffer.
1122
c548f821
GM
11232012-08-14 Glenn Morris <rgm@gnu.org>
1124
1125 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1126 Optimize away setq-default with no args, as for setq. (Bug#12195)
1127
55802e4a
CY
11282012-08-14 Chong Yidong <cyd@gnu.org>
1129
4abcdac8
CY
1130 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1131
55802e4a
CY
1132 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1133 (Bug#12085).
1134
3c3cda1a
GM
11352012-08-14 Glenn Morris <rgm@gnu.org>
1136
1137 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1138
e1873bd0
MA
11392012-08-14 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1142 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1143 Use cached shell name.
1144
925411b4
FEG
11452012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1146
1147 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1148 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1149
e636fafe
DG
11502012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1151
1152 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1153 (ruby-percent-literal-beg-re): New constant.
1154 (ruby-syntax-general-delimiters-goto-beg): Rename to
1155 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1156 (ruby-syntax-propertize-general-delimiters): Rename to
1157 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1158 popular term. Adjust comments everywhere.
1159 (ruby-syntax-propertize-percent-literal): Only propertize when not
1160 inside a simple string or comment. When the literal is unclosed,
1161 leave the text after it unpropertized.
f063063a
DG
1162 (ruby-syntax-methods-before-regexp): New constant.
1163 (ruby-syntax-propertize-function): Use it to recognize regexps.
1164 Don't look at the text after regexp, just use the whitelist.
e636fafe 1165
e5b19827
AS
11662012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1167
1168 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1169 non-nil always load the compiled file if it exists. (Bug#12197)
1170
a9f6f311
CY
11712012-08-14 Chong Yidong <cyd@gnu.org>
1172
1173 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1174 (hi-lock-set-pattern): When deciding whether to use font lock or
1175 overlays, look at font-lock-mode instead of font-lock-fontified
1176 (Bug#12168).
1177 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1178 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1179
7d806b1e
DU
11802012-08-14 Daiki Ueno <ueno@unixuser.org>
1181
1182 * subr.el (internal--after-with-selected-window): Fix typo
1183 (Bug#12193).
1184
5beed586
FEG
11852012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1186
1187 Use `completion-table-dynamic' for completion functions.
1188 * progmodes/python.el
1189 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1190 (python-shell-completion--get-completions):
1191 Remove functions.
5beed586
FEG
1192 (python-shell-completion-complete-at-point): New function.
1193 (python-completion-complete-at-point): Use it.
1194
92cb3b04
J
11952012-08-13 Jambunathan K <kjambunathan@gmail.com>
1196
1197 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1198 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1199
89660017
SM
12002012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1201
3c98c962
SM
1202 * subr.el (function-get): Refine `autoload' arg so it can also
1203 autoload functions for gv.el (bug#12191).
1204 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1205 autoloads macros.
1206
aa7c6dbe
SM
1207 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1208 Prefer pcase-let over destructuring-bind.
1209 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1210 Also, remove whitespace as we go, rather than after accumulating the
1211 various places.
1212
89660017
SM
1213 * subr.el (internal--before-with-selected-window)
1214 (internal--after-with-selected-window): Fix typo seleted->selected.
1215 (with-selected-window): Adjust callers.
1216 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1217
31cd32c9
BG
12182012-08-13 Bastien Guerry <bzg@gnu.org>
1219
0fcd3d9f 1220 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1221 enhancement. (Bug#12172)
1222
1b15d8ad
AS
12232012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1224
31e54db0
AS
1225 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1226 type 1-6.
1227 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1228 extended headers.
1229
1b15d8ad
AS
1230 * files.el (hack-local-variables-filter): Remove useless eval.
1231
35cb9c06
MR
12322012-08-13 Martin Rudalics <rudalics@gmx.at>
1233
1234 * subr.el (with-selected-window): Fix last change.
1235
1439443b
SM
12362012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * subr.el (internal--before-with-seleted-window)
1239 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1240 (with-selected-window): Use them, to replace dependency on
1241 tty-top-frame.
1439443b 1242
0d9e2599
NN
12432012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1244
1245 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1246 binding for `newline'.
1247 (ruby-move-to-block): When moving backward, stop at block opening,
1248 not indentation.
1249 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1250 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1251 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1252 `ruby-toggle-block'.
1253
ba10c48c
SM
12542012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * ibuffer.el (ibuffer-do-toggle-read-only):
1257 * dired.el (dired-toggle-read-only):
1258 * buff-menu.el (Buffer-menu-toggle-read-only):
1259 * bindings.el (mode-line-toggle-read-only):
1260 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1261
9229c658
AS
12622012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1263
1264 * descr-text.el (describe-char): Put the overlays over the
1265 "displayed as" character.
1266
0fd09128
JB
12672012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1268
1269 * calc/calc-units.el (math-default-units-table): Give an
1270 initial value.
1271 (math-put-default-units): Add options to put composite units and
1272 unit systems in the default units table.
1273 (calc-convert-units): Send composite units to
1274 `math-put-default-units' when appropriate.
1275
9ff9402d 12762012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1277
fbb5e336
GM
1278 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1279
7aacaf15
GM
1280 * tutorial.el (help-with-tutorial):
1281 * emacs-lisp/copyright.el (copyright-update-directory):
1282 * emacs-lisp/autoload.el (autoload-find-generated-file)
1283 (autoload-find-file): Disable local eval: (for insurance).
1284
f40b9f10
GM
1285 * files.el (hack-local-variables-filter): If an eval: form is not
1286 known to be safe, and enable-local-variables is :safe, then ignore
1287 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1288 This is CVE-2012-3479.
f40b9f10 1289
daa9f1a6
SM
12902012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1293 (rx-form): Simplify.
1294
9cd80478
DG
12952012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1296
0d9e2599
NN
1297 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1298 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1299 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1300 (ruby-syntax-propertize-function): Adjust for changes in
1301 `ruby-syntax-propertize-heredoc'.
1302
13032012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1304
9cd80478
DG
1305 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1306 binding (use `M-;' instead).
9cd80478 1307 (ruby-singleton-class-p): New function.
0d9e2599 1308 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1309
d301b413
SM
13102012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1313
1530c98e
CY
13142012-08-10 Chong Yidong <cyd@gnu.org>
1315
1316 * progmodes/python.el (python-shell-get-process-name): Don't mess
1317 with same-window-buffer-names.
1318
1319 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1320 (eshell-remove-from-window-buffer-names): Make obsolete.
1321 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1322 (eshell): Just use pop-to-buffer-same-window instead.
1323
e1293765
CY
13242012-08-10 Chong Yidong <cyd@gnu.org>
1325
1326 * bindings.el: Bind M-= back to count-words-region.
1327
1328 * simple.el (count-words-region): Accept a prefix arg for acting
1329 on the entire buffer.
1330 (count-words--buffer-message): New helper function.
1331
e1894109
SM
13322012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1335 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1336 (event-start, event-end): Use posn-at-point to return a more
1337 informative posn.
1338 (posnp): New function.
1339 * mouse.el (popup-menu-normalize-position): Use it.
1340
c69f56a2
MY
13412012-08-10 Masatake YAMATO <yamato@redhat.com>
1342
1343 * mouse.el (popup-menu-normalize-position): New function.
1344 (popup-menu): Use `popup-menu-normalize-position' to normalize
1345 the form for POSITION argument.
1346
1347 * term/x-win.el (x-menu-bar-open):
1348 Use the value returend from (posn-at-point) as position
1349 passed to `popup-menu'.
1350
31673780
JB
13512012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1352
1353 * calc/calccomp.el (math-compose-expr): Add extra argument
1354 indicating that parentheses should be put around products in
1355 denominators. Give multiplication precedence over division during
1356 composition.
1357
dab7711b
CY
13582012-08-09 Chong Yidong <cyd@gnu.org>
1359
dee4ef93
CY
1360 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1361 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1362 (Man-untabify-command, manual-program): Convert to defcustom
1363 (Bug#10429).
1364
73e2bbc5
CY
1365 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1366
3e861c8a
CY
1367 * descr-text.el (describe-char): Don't insert extra newlines
1368 (Bug#10127).
1369
a9f5a649
CY
1370 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1371 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1372
dab7711b
CY
1373 * align.el (align-region): Delete temporary markers (Bug#10047).
1374 Plus some code cleanups.
1375
e0cc4efa
FEG
13762012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1377
1378 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1379 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1380 (python-shell-internal-last-output): Use make-local-variable
1381 instead of make-variable-buffer-local.
1382
489af14f
FEG
13832012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1384
1385 * progmodes/python.el: Enhancements to forward-sexp.
1386 (python-nav-forward-sexp): Rename from
1387 python-nav-forward-sexp-function.
c69f56a2
MY
1388 (python-nav--forward-sexp, python-nav--backward-sexp):
1389 New functions.
489af14f 1390
0fc50303
JB
13912012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1392
1393 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1394 modes and simplification modes.
1395
5d65606a
SM
13962012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * delsel.el (delete-selection-pre-hook): Don't propagate the
1399 file-supersession signals (bug#12161).
1400
4250fdf5
SM
14012012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1404 (cl-map-extents): Add compatibility aliases (bug#12135).
1405
d9f9b465
MA
14062012-08-08 Michael Albinus <michael.albinus@gmx.de>
1407
1408 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1409 tests by `ignore-error'.
1410 (tramp-find-shell): Open also a new shell, when cache is already
1411 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1412
ce0fcefa
JL
14132012-08-08 Juri Linkov <juri@jurta.org>
1414
1415 * bookmark.el: Add `defaults' property to the bookmark record.
1416 (bookmark-current-buffer): Doc fix.
1417 (bookmark-make-record): Add `defaults' property with default values
1418 to the bookmark record.
1419 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1420 with `bookmark-insert-current-bookmark'.
1421 (bookmark-set): Get `defaults' property from the bookmark record
1422 and use it in `read-from-minibuffer'.
1423 (bookmark-insert-current-bookmark): Remove function.
1424
1425 * info.el (Info-bookmark-make-record): Add `defaults' property
1426 with values of canonical Info node name, the current Info file
1427 name and the current Info node name. (Bug#12107)
1428
53fa8652
JL
14292012-08-08 Juri Linkov <juri@jurta.org>
1430
1431 * files.el (basic-save-buffer): Use `buffer-name' as the default
1432 of `read-file-name' when buffer is not visiting a file (bug#12128).
1433
242c0a95
JL
14342012-08-08 Juri Linkov <juri@jurta.org>
1435
1436 * info.el (Info-isearch-search): Doc fix.
1437 (Info-search): Change search-failed message from "initial node" to
1438 "end of node" (bug#12078).
1439 (Info-isearch-search): Change `isearch-string-state' to
1440 `isearch--state-string'.
1441
32ac3a6b
GM
14422012-08-08 Glenn Morris <rgm@gnu.org>
1443
1444 * language/persian.el: Remove file.
f8c1afd5 1445 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1446 * loadup.el: Remove language/persian.
1447
2c2d9c9c
OF
14482012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1449
1450 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1451
2d79ec42
FEG
14522012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1453
1454 * progmodes/python.el Fixed defsubst warning.
1455 (python-syntax-context) Rename from python-info-ppss-context.
1456 (python-syntax-context-type): Rename from
1457 python-info-ppss-context-type.
1458 (python-syntax-comment-or-string-p): Rename from
1459 python-info-ppss-comment-or-string-p.
1460
2bd255dd
JB
14612012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1462
1463 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1464
c395097f
AS
14652012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1466
6125983e
AS
1467 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1468 a defcustom that is quoted with backquote.
1469
4250fdf5
SM
1470 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1471 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1472 (math-do-arg-check, math-define-function-body): Use backquote forms.
1473 * calc/calc-ext.el (math-defcache): Likewise.
1474 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1475 * allout.el (allout-new-exposure): Likewise.
1476 * calc/calcalg2.el (math-tracing-integral): Likewise.
1477 * info.el (Info-last-menu-item): Likewise.
1478 * emulation/vip.el (vip-loop): Likewise.
1479 * textmodes/artist.el (artist-funcall): Likewise.
1480 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1481 Construct menu-item directly.
1482
4250fdf5
SM
1483 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1484 Don't declare.
c395097f 1485
5fb50dd3
CY
14862012-08-07 Chong Yidong <cyd@gnu.org>
1487
1488 * simple.el (deactivate-mark): Preserve text properties when
1489 saving the primary selection (Bug#8384).
1490
54eea618
KR
14912012-08-07 Kevin Ryde <user42@zip.com.au>
1492
1493 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1494 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1495 and continue processing (Bug#12110).
1496
638eaeb9
SM
14972012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1500 syntax-propertize-function (bug#10095).
1501
ea376861
SM
15022012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1503
f91b35be
SM
1504 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1505 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1506 describe-function-1.
1507 (describe-function-1): Use them. Move compiler macro after sig.
1508 (help-fns--compiler-macro): Use function-get. Assume we're already in
1509 standard-output. Adjust layout to new call order.
1510
ea376861
SM
1511 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1512 re-binding a symbol that has a symbol-macro (bug#12119).
1513
d5be7bd0
MB
15142012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1515
1516 * language/persian.el: New file. (Bug#11812)
1517 * loadup.el: Add language/persian.el.
1518
90749b53
CY
15192012-08-06 Chong Yidong <cyd@gnu.org>
1520
1521 * window.el (window--maybe-raise-frame): New function.
1522 (window--display-buffer): Split off from here.
1523 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1524 (display-buffer-pop-up-window, display-buffer-use-some-window):
1525 Obey an inhibit-switch-frame action alist entry.
1526 (display-buffer): Update doc.
1527
1528 * replace.el (occur-after-change-function): Avoid losing focus by
1529 using the inhibit-switch-frame display parameter (Bug#12139).
1530
ba7b0154
FEG
15312012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1532
1533 Make internal shell process buffer names start with space.
1534 * progmodes/python.el (python-shell-make-comint): Add optional
1535 argument INTERNAL.
1536 (run-python-internal): Use it.
1537 (python-shell-internal-get-or-create-process): Check for new
1538 internal buffer names.
1539
5eaeacb5
GM
15402012-08-06 Glenn Morris <rgm@gnu.org>
1541
e296d94b 1542 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1543 Do less getting and setting of environment variables.
1544
b7ccbdc2
CY
15452012-08-05 Chong Yidong <cyd@gnu.org>
1546
777fe95e
CY
1547 * proced.el (proced): Add substitution string to docstring to
1548 trigger autoloading of the proced library on C-h f (Bug#1768).
1549
4250fdf5
SM
1550 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1551 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1552
1553 * imenu.el (imenu-generic-expression): Move documentation here
1554 from imenu--generic-function.
1555 (imenu--generic-function): Refer to imenu-generic-expression.
1556
9e3b7800 15572012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
1558
1559 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1560 indentation declaration.
1561 (viper-loop): Add indentation declaration (Bug#7025).
1562
e5d9c0d1
CY
15632012-08-05 Chong Yidong <cyd@gnu.org>
1564
f0422feb
CY
1565 * help-fns.el (describe-variable): Add hyperlink for
1566 directory-local variables files. Improve buffer-local and
1567 permanent-local reporting; suggested by MON KEY (Bug#6644).
1568
1569 * help-mode.el (help-dir-local-var-def): New button type.
1570
e5d9c0d1
CY
1571 * files.el (kill-buffer-hook): Provide a defvar.
1572
a4f2deaa
GM
15732012-08-05 Glenn Morris <rgm@gnu.org>
1574
1575 * eshell/esh-ext.el (eshell/addpath):
1576 Also update eshell-path-env. (Bug#12013)
1577
a9dd5754
CY
15782012-08-05 Chong Yidong <cyd@gnu.org>
1579
a4f2deaa 1580 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1581
d014c740
CY
1582 * fringe.el (fringe-styles): Add docstring.
1583 (fringe--check-mode): New function.
1584 (set-fringe-mode, set-fringe-style): Use it.
1585 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1586
a9dd5754
CY
1587 * files.el (set-auto-mode): Fix invalid setq call.
1588
7c2dc8bd
SM
15892012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * isearch.el: Misc simplification; use defstruct.
1592 (isearch-mode-map): Dense maps now work like sparse ones.
1593 (isearch--state): New defstruct.
1594 (isearch-string-state, isearch-message-state, isearch-point-state)
1595 (isearch-success-state, isearch-forward-state)
1596 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1597 (isearch-wrapped-state, isearch-barrier-state)
1598 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1599 replaced by defstruct's accessors.
1600 (isearch--set-state): Rename from isearch-top-state and change
1601 calling convention.
1602 (isearch-push-state): Use new isearch--get-state.
1603 (isearch-toggle-word): Disable regexp when enabling word.
1604 (isearch-message-prefix): Remove unused arg _c-q-hack.
1605 (isearch-message-suffix): Remove unused arg _ellipsis.
1606
7fcc0070
AS
16072012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1608
1609 * simple.el (list-processes--refresh): For a server use :host or
1610 :local as the address.
97ad0769 1611 (list-processes): Doc fix.
7fcc0070 1612
00340faf
MN
16132012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1614
1615 * lisp/mpc.el: Support password in host argument.
1616 (mpc--proc-connect): Parse and use new password element.
1617 Set mpc-proc variable instead of returning process.
1618 (mpc-proc): Adjust accordingly.
1619
6dad7178
EZ
16202012-08-03 Eli Zaretskii <eliz@gnu.org>
1621
18949c2f
EZ
1622 * whitespace.el (whitespace-display-mappings): Use Unicode
1623 codepoints, instead of emacs-mule codepoints. See
1624 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1625 for the details.
1626
6dad7178
EZ
1627 * files.el (file-truename): Don't skip symlink-chasing part on
1628 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1629 Windows into the loop that recursively chases symlinks.
1630 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1631 MS-DOS.
1632
385b0198
CY
16332012-08-03 Chong Yidong <cyd@gnu.org>
1634
6200f3c4
CY
1635 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1636
385b0198
CY
1637 * sort.el (sort-regexp-fields): Doc fix.
1638
b9e74744
TH
16392012-08-03 Tassilo Horn <tsdh@gnu.org>
1640
1641 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1642 labels regex position point at the expected place.
1643
41013cb4
MK
16442012-08-03 MON KEY <monkey@sandpframing.com>
1645
1646 * net/imap.el (imap-interactive-login, imap-authenticate)
1647 (imap-mailbox-lsub, imap-mailbox-list)
1648 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1649 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1650 (imap-parse-response): Doc fix.
1651
0ffee616
JT
16522012-08-03 João Távora <joaotavora@gmail.com>
1653
1654 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1655 if sexp scanning does not move point (Bug#5734).
1656
cfcc9cc8
TH
16572012-08-02 Tassilo Horn <tsdh@gnu.org>
1658
1659 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1660 Add listings, minted, and ctable packages.
1661 (reftex-label-alist-builtin): Move listings, minted, and ctable
1662 entries before LaTeX.
a01bbb84 1663 (reftex-label-alist): Docfix.
cfcc9cc8 1664
66ec2442
BG
16652012-08-02 Bastien Guerry <bzg@gnu.org>
1666
1667 * replace.el (occur): Fix docstring (bug#12122).
1668
837b365b
GM
16692012-08-02 Glenn Morris <rgm@gnu.org>
1670
1671 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1672
e098de97
PE
16732012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1674
1675 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1676 * international/mule-cmds.el: Create
1677 inactivate-current-input-method-function as an obsolete alias for
1678 deactivate-current-input-method-function. See Katsumi Yamaoka in
1679 <http://bugs.gnu.org/10150#46>.
1680
a0f95636
JB
16812012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1682
1683 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1684 of nested `if's.
1685
0d26d7c4
GM
16862012-08-01 Glenn Morris <rgm@gnu.org>
1687
1688 * progmodes/autoconf.el (autoconf-definition-regexp):
1689 Add AH_TEMPLATE, adjust submatch numbering.
1690 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1691 (autoconf-current-defun-function): Update for above change.
1692 (autoconf-current-defun-function): First skip to end of current word.
1693
b686ba06
RS
16942012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1695
1696 * calendar/cal-html.el (cal-html-insert-agenda-days):
1697 Fix typo. (Bug#12018)
1698
0d49da68
FEG
16992012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1700
1701 Shell processes: enhancements to startup and CEDET compatibility.
1702 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1703 (python-shell-make-comint): accept-process-output at startup.
1704 (run-python-internal): Set inferior-python-mode-hook to nil.
1705 (python-shell-internal-get-or-create-process): call sit-for.
1706 (python-preoutput-result): Add obsolete alias.
1707 (python-shell-internal-send-string): Use it.
1708 (python-shell-send-setup-code): Remove call to
1709 accept-process-output.
1710
f1a71c6e
AS
17112012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1712
1713 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1714 (Bug#12108)
1715
d2605269
JB
17162012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1717
1718 * calc-mode.el (calc-basic-simplification-mode): Rename from
1719 `calc-limited-simplification-mode'.
1720 (calc-alg-simplification-mode): New function.
fc0c31f8 1721 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1722
d2605269
JB
1723 * calc.el (calc-set-mode-line): Adjust mode line display for
1724 basic simplification mode.
1725
1726 * calc-help.el (calc-m-prefix-help): Update help message.
1727
1728 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1729 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1730
a3827a43
BG
17312012-07-31 Bastien Guerry <bzg@gnu.org>
1732
1733 * man.el (man): Fix comment. (bug#12101)
1734
502e3f89
MR
17352012-07-31 Martin Rudalics <rudalics@gmx.at>
1736
1737 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1738 Don't return a non-nil value when no suitable buffer was found.
1739
d7714961
FEG
17402012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1741
1742 * progmodes/python.el (run-python-internal): Disable font lock for
1743 internal shells.
1744
1f45e27e
SM
17452012-07-30 Stefan Merten <smerten@oekonux.de>
1746
1747 * rst.el: Silence `checkdoc-ispell'.
1748 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1749 (rst-official-version, rst-official-cvs-rev)
1750 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1751 (rst-mode-map): New key binding.
1752
0aee6912
PE
17532012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1754
1755 Update .PHONY listings in makefiles.
1756 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1757 autoloads, update-subdirs, updates, bzr-update, update-authors,
1758 compile-onefile, compile-calc, backup-compiled-files,
1759 compile-after-backup, compile-one-process, mh-autoloads,
1760 bootstrap-clean, distclean, maintainer-clean.
1761
9052f9f0
JB
17622012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1763
1823ac5a
JB
1764 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1765 (calc-set-mode-line): Don't display "AlgSimp ".
1766
1767 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1768 (calc-lim-simplify-mode): New function.
1769 (calc-set-simplify-mode): Default to 'alg.
1770 (calc-default-simplify-mode): Make algebraic simplifications
1771 the default.
1772
1773 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1774 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1775
8d7c7eed 1776 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1777 indicate new simplification modes.
1778
1823ac5a
JB
1779 * calc/README: Mention new default simplification mode.
1780
9052f9f0
JB
1781 * calc/calc.el (math-normalize-error): New variable.
1782 (math-normalize): Set `math-normalize-error' to t
1783 when there's an error.
1784
1785 * calc/calc-alg.el (math-simplify): Don't simplify when
1786 `math-normalize' returns an error.
1787
20ba0cb4
EZ
17882012-07-29 Eli Zaretskii <eliz@gnu.org>
1789
1790 * international/mule-cmds.el (set-locale-environment): Revert last
1791 change, since display-graphic-p returns nil when this function is
1792 called during startup. Instead...
1793
1794 * term/w32console.el (terminal-init-w32console): ...setup the
1795 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1796
a5dcc929
JL
17972012-07-29 Juri Linkov <juri@jurta.org>
1798
1799 * simple.el (goto-line): Don't display default line number in the
1800 prompt because it should be displayed by `read-number' (bug#9952).
1801 Add the current line number to the defaults of `goto-line' to
1802 allow its easier modification by users with `M-n' (bug#9201).
1803
1804 * subr.el (read-number): Support multiple default values like in
1805 other minibuffer reading functions. Replace `read' with
1806 `string-to-number' for consistency with `number-to-string'.
1807
72b255c7
PE
18082012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1809
1810 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1811 * emulation/viper-init.el (viper-deactivate-input-method-action):
1812 Rename from viper-inactivate-input-method-action.
1813 (viper-deactivate-input-method):
1814 Rename from viper-inactivate-input-method.
1815 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1816 * international/mule-cmds.el (deactivate-input-method):
1817 Rename from inactivate-input-method.
1818 Also run input-method-deactivate-hook.
1819 (deactivate-current-input-method-function):
1820 Rename from inactivate-current-input-method-function.
1821 (input-method-deactivate-hook): New hook.
1822 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1823 (inactivate-input-method): Mark obsolete.
1824
72b255c7
PE
1825 * international/quail.el (quail-activate):
1826 Also run quail-deactivate-hook.
1827 (quail-deactivate): Rename from quail-inactivate.
1828 * international/robin.el (robin-activate):
1829 Also run robin-deactivate-hook.
1830 (robin-deactivate): Rename from robin-inactivate.
1831
2549c068
CY
18322012-07-29 Chong Yidong <cyd@gnu.org>
1833
1834 * simple.el (indicate-copied-region): New function.
1835 (kill-ring-save): Split off from here.
1836
1837 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1838 (kill-rectangle): Set deactivate-mark to t on read-only error.
1839
1840 * register.el (copy-to-register, copy-rectangle-to-register):
1841 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1842 (append-to-register, prepend-to-register):
1843 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1844
1845 * simple.el (async-shell-command-buffer): New defcustom.
1846 (shell-command): Use it. (Bug#4719)
1847
01bd1b0d
EZ
18482012-07-28 Eli Zaretskii <eliz@gnu.org>
1849
1850 * international/mule-cmds.el (set-locale-environment): In a
1851 console session on MS-Windows, set up keyboard and terminal
1852 encoding from the OEM codepage, not the ANSI codepage.
1853 (Bug#12055)
1854
a55739d3
CY
18552012-07-28 Chong Yidong <cyd@gnu.org>
1856
1857 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1858 gdb-get-location.
1859
0e1a094f 18602012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1861
1862 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1863 the alist (bug#12029).
1864
20329d73
EZ
18652012-07-28 Eli Zaretskii <eliz@gnu.org>
1866
1867 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1868 (compile-always, compile-first)
1869 ($(lisp)/calendar/cal-loaddefs.el)
1870 ($(lisp)/calendar/diary-loaddefs.el)
1871 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1872 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1873 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1874 instead of on update-subdirs.
1875 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1876
345a2258
CY
18772012-07-28 Chong Yidong <cyd@gnu.org>
1878
1eee6341
CY
1879 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1880 directory if vc-deduce-backend returns nil (Bug#7350).
1881
345a2258
CY
1882 * simple.el (delete-trailing-lines): New option.
1883 (delete-trailing-whitespace): Obey it (Bug#11879).
1884
049a0936
DE
18852012-07-28 David Engster <deng@randomsample.de>
1886
1887 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1888 Explanation of new 'symbol-qnames feature in doc-strings.
1889 (xml-maybe-do-ns): Return expanded names as plain symbols if
1890 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1891 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1892
aa81af71
FEG
18932012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1894
1895 Consistent completion in inferior python with emacs -nw.
1896 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1897 binding in inferior-python-mode-map with "\t".
1898 (python-shell-completion-complete-at-point)
1899 (python-completion-complete-at-point): Remove interactive spec.
1900
e827b1eb
JB
19012012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1902
1903 * calc/calccomp.el (math-compose-expr): Undo previous change.
1904
a90dfb95
FEG
19052012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1906
4250fdf5 1907 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1908 run-python.
1909 (python-shell-make-comint): Fix pop-to-buffer call.
1910 (run-python): Autoload. New arg SHOW.
1911 (python-shell-get-or-create-process): Do not pop python process
1912 buffer.
1913
32770973 19142012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1915
1916 * notifications.el (notifications-on-action-signal)
1917 (notifications-on-closed-signal): Use also the bus address for the map.
1918 (notifications-notify, notifications-close-notification)
fc0c31f8 1919 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 1920
86332df2
TH
19212012-07-27 Tassilo Horn <tsdh@gnu.org>
1922
4250fdf5
SM
1923 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1924 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1925 ctable macro.
1926 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1927 labels written in keyvals syntax.
1928
ca1302a4
JB
19292012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1930
1931 * calc/calccomp.el (math-compose-expr): Use parentheses when
1932 there is a product in the denominator of a fraction.
1933
f8b91036
EZ
19342012-07-26 Eli Zaretskii <eliz@gnu.org>
1935
1936 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1937 ($(lisp)/calendar/diary-loaddefs.el)
1938 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1939 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1940 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1941 rewritten while the autoload files are built at the same time,
1942 which needs to load subdirs.el.
1943
c8e5a42c
MR
19442012-07-26 Martin Rudalics <rudalics@gmx.at>
1945
1946 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1947 (mouse-drag-line): Don't exit tracking when a switch-frame or
1948 switch-window event occurs (Bug#12006).
1949
670d85ea
SM
19502012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * mouse.el (popup-menu): Fix last change.
1953
7abaf5cc
SM
19542012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 Autoload from Lisp with more care. Follow aliases when looking for
1957 function properties.
1958 * subr.el (autoloadp): New function.
1959 (symbol-file): Use it.
1960 (function-get): New function.
1961 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1962 autoload-do-load.
1963 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1964 (lisp-indent-function):
1965 * emacs-lisp/gv.el (gv-get):
1966 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1967 * emacs-lisp/byte-opt.el (byte-optimize-form):
1968 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1969 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1970 Use function-get.
1971 * emacs-lisp/cl.el: Don't propagate function properties any more.
1972
1973 * speedbar.el (speedbar-add-localized-speedbar-support):
1974 * emacs-lisp/disass.el (disassemble-internal):
1975 * desktop.el (desktop-load-file):
1976 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1977 (describe-function-1):
1978 * emacs-lisp/find-func.el (find-function-noselect):
1979 * emacs-lisp/elp.el (elp-instrument-function):
1980 * emacs-lisp/advice.el (ad-has-proper-definition):
1981 * apropos.el (apropos-safe-documentation, apropos-macrop):
1982 * emacs-lisp/debug.el (debug-on-entry):
1983 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1984 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1985 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1986
b1364986
AA
19872012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1988
1989 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1990 function, not an obsolete variable (Bug#12046).
1991
67ada220
AS
19922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1993
1994 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1995
f08088e3
CS
19962012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1997
1998 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1999 window only if it is still live (Bug#12034).
2000
8137e7b3
MR
20012012-07-25 Martin Rudalics <rudalics@gmx.at>
2002
2003 * subr.el (redirect-frame-focus): Add advertised calling
2004 convention (Bug#12030).
2005
09ae5da1
PE
20062012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2007
2008 Prefer typical American spelling for "acknowledgment".
2009 * vc/add-log.el (change-log-acknowledgment): Rename from
2010 change-log-acknowledgement, with an alias for the old name.
2011
3cc5a3a8
JB
20122012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2013
2014 * calc-alg.el (math-simplify-divide): Don't cross multiply
2015 in an equation when the lhs is a variable.
2016
b7af7f62
JD
20172012-07-24 Julien Danjou <julien@danjou.info>
2018
2019 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2020 Remove, unused.
2021
ec1b09b1
EZ
20222012-07-23 Eli Zaretskii <eliz@gnu.org>
2023
2024 * startup.el (command-line): Don't display an empty user name in
2025 the error message about non-existent home directory, when
2026 init-file-user was set to an empty string. See
2027 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2028 for the details and context.
2029
b525fd8a
VB
20302012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2031
2032 * ses.el (ses-cell-formula-aset): New macro.
2033 (ses-cell-references-aset): New macro.
2034 (ses-cell-p): New function.
2035 (ses-rename-cell): Do no longer rely on complex operations like
2036 ses-cell-set-formula or ses-set-cell to change the cell and handle
2037 the undo at the same time, but rather use lower level new macros
2038 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2039 the undo directly. Refresh the mode line.
b525fd8a 2040
2c73e345
LL
20412012-07-21 Leo Liu <sdl.web@gmail.com>
2042
670d85ea
SM
2043 * progmodes/cc-cmds.el (c-defun-name):
2044 Use match-string-no-properties instead for consistency.
2c73e345 2045
542dfbde
LL
20462012-07-20 Leo Liu <sdl.web@gmail.com>
2047
3646bcd6
LL
2048 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2049 (Bug#7879)
2050
542dfbde
LL
2051 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2052
25721031
CY
20532012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2056 * progmodes/bug-reference.el, misearch.el: Provide themselves
2057 (bug#11915).
2058
2059 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2060 of narrowed buffer (bug#11966).
2061
316e68a7
VB
20622012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2063
2064 * ses.el (ses-rename-cell): Set new name also in reference list of
2065 cells of which the renamed cell depends.
2066
bbf0e7d9
MY
20672012-07-20 Masatake YAMATO <yamato@redhat.com>
2068
2069 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2070 to check whether menu-bar is shown or not. If not shown,
2071 show the menu-bar as a popup menu instead of using tmm.
2072 * mouse.el (popup-menu): Accept `point' as `position' argument.
2073
c28662a8
DG
20742012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2075
2076 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2077 up inside string symbol literal (bug#11923).
2078
87ab808f
EZ
20792012-07-20 Eli Zaretskii <eliz@gnu.org>
2080
2081 * startup.el (fancy-startup-text): Read the whole tutorial, not
2082 just its first 256 bytes. Prevents gibberish in display of the
2083 tutorial title.
2084
89dea803
DA
20852012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2086
2087 Drop idle buffer compaction due to an absence of the
2088 proved efficiency.
2089 * compact.el: Remove.
2090
8a4e6db8
SS
20912012-07-19 Sam Steingold <sds@gnu.org>
2092
2093 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2094 vc-bzr-pull & vc-bzr-merge-branch.
2095 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2096 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2097 for consistency with compilation-error-regexp-alist.
2098 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2099 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2100 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2101 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2102
5db81e33
SM
21032012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * emacs-lisp/chart.el: Use lexical-binding.
2106 (chart-emacs-storage): Don't hardcode the list of entries.
2107
5b835e1d
DA
21082012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2109
2110 Next round of tweaks caused by Fgarbage_collect changes.
2111 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2112
9cd47b72
DA
21132012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2114
2115 Compact buffers when idle.
2116 * compact.el: New file.
2117
1d6fc0df
SM
21182012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * subr.el (eventp): Presume that if it looks vaguely like an event,
2121 it's an event (bug#10190).
2122
1d29cc7d
FEG
21232012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2124
2125 Enhancements to ppss related code (thanks Stefan).
2126 * progmodes/python.el (python-indent-context)
2127 (python-indent-calculate-indentation, python-indent-dedent-line)
2128 (python-indent-electric-colon, python-nav-forward-block)
2129 (python-mode-abbrev-table)
1d6fc0df 2130 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2131 for ppss context.
2132 (python-info-continuation-line-p): Cleanup.
2133 (python-info-ppss-context): Do not catch 'quote.
2134 (python-info-ppss-context-type)
2135 (python-info-ppss-comment-or-string-p): Simplify.
2136
d583cbe6
FEG
21372012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2138
2139 * progmodes/python.el: Enhancements to eldoc support.
2140 (python-info-current-symbol): New function.
2141 (python-eldoc-at-point): Use python-info-current-symbol.
2142 (python-info-current-defun): Fix cornercase on first defun scan.
2143 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2144 and signal error when no inferior python process is available.
2145
eceb6feb
DG
21462012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2149 assume it's always t.
2150 (vc-git-registered): Remove caching, the function is only called
2151 once.
2152 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2153
4c8ff0fe
CY
21542012-07-18 Chong Yidong <cyd@gnu.org>
2155
19fb7186
CY
2156 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2157
9587c688
CY
2158 * simple.el (count-words): Report on narrowing (Bug#9959).
2159
0fe776a1
CY
2160 * bindings.el: Bind M-= to count-words.
2161
4c8ff0fe
CY
2162 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2163
7f5331cc
MY
21642012-07-18 Masatake YAMATO <yamato@redhat.com>
2165
2166 * progmodes/sh-script.el (sh-imenu-generic-expression):
2167 Capture a function with `function' keyword and without parentheses
2168 like "function FOO" (bug#11856).
2169
2dc2a609
TH
21702012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2171
2172 * window.el (split-window-sensibly): Make WINDOW argument
2173 optional.
2174
439f7677
CY
21752012-07-18 Chong Yidong <cyd@gnu.org>
2176
9aeb25a6
CY
2177 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2178
439f7677
CY
2179 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2180 and make C-x 8 RET exit isearch (Bug#11439).
2181
2182 * international/iso-transl.el: Move isearch-mode-map key
2183 definitions to isearch.el.
2184
12999ea8
SM
21852012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2188 (eieio-defclass): Use gv-define-setter when possible.
2189
3ab6e069
DA
21902012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2191
2192 Reflect recent changes in Fgarbage_collect.
2193 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2194 reflect new format of data returned by Fgarbage_collect.
2195
0a60bc10
FEG
21962012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2197
2198 New utility functions + python-info-ppss-context fix (Bug#11910).
2199 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2200 (python-info-ppss-comment-or-string-p): New functions.
2201 (python-info-ppss-context): Small fix for string check.
2202
6dafa0d5
JL
22032012-07-17 Juri Linkov <juri@jurta.org>
2204
2205 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2206 (dired-do-async-shell-command): Don't add `*' at the end of the
2207 command (Bug#11815).
2208 (dired-do-shell-command): Doc fix.
2209 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2210 Join the individual commands using either "&" or ";" as the
2211 separator depending on the values of these trailing characters.
2212 At the end re-add the trailing "&". (Bug#10598)
2213
2214 * simple.el (async-shell-command): Sync the interactive spec with
2215 `shell-command'. Doc fix.
2216 (shell-command): Doc fix.
2217
b19dd9d1
JL
22182012-07-17 Juri Linkov <juri@jurta.org>
2219
2220 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2221
bcdc27d7 22222012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2223
bcdc27d7 2224 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2225 * progmodes/python.el (python-nav-beginning-of-statement):
2226 Rename from python-nav-statement-start.
bcdc27d7
FEG
2227 (python-nav-end-of-statement): Rename from
2228 python-nav-statement-end.
2229 (python-nav-beginning-of-block): Rename from
2230 python-nav-block-start.
2231 (python-nav-end-of-block): Rename from python-nav-block-end.
2232
191da00e
FEG
22332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2234
7f5331cc
MY
2235 * progmodes/python.el (python-shell-send-string-no-output):
2236 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2237 future interactions (Bug#11868).
2238
4dc7c8d5 22392012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2240
88ecaf8f
SM
2241 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2242
ef501ef0
SM
2243 * emacs-lisp/elint.el (elint-find-args-in-code):
2244 Use help-function-arglist, so as to handle lexical byte-code.
2245
aa7aaf8f
SM
2246 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2247 change (bug#11826).
2248
45fd731c
SM
22492012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2143fa32
SM
2251 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2252 Avoid spuriously marking the buffer as modified because of c-is-sws.
2253
efc26dbe
SM
2254 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2255 as not-a-comment (bug#11946).
2256
f5695c9a
SM
2257 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2258 for uninterned vars.
2259
2260 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2261 Use read-event since we don't really want to read chars but bytes.
2262
45fd731c
SM
2263 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2264 $$..$$ but also $..$ using regexps (bug#11953).
2265 Use tex-verbatim for \url and \path.
2266 (tex-font-lock-keywords): Define as defconst like the others.
2267 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2268
ddfc8813
RK
22692012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2270
2271 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2272 alias for insert-char.
2273
758e556a
FEG
22742012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2275
2276 * progmodes/python.el: Simplified imenu implementation.
2277 (python-nav-jump-to-defun): Remove command.
2278 (python-mode-map): Use `imenu' instead.
2279 (python-nav-list-defun-positions-cache)
2280 (python-imenu-include-defun-type, python-imenu-make-tree)
2281 (python-imenu-subtree-root-label, python-imenu-index-alist):
2282 Remove vars.
2283 (python-nav-list-defun-positions, python-nav-read-defun)
2284 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2285 (python-imenu-make-tree, python-imenu-create-index):
2286 Remove functions.
758e556a
FEG
2287 (python-mode): Update to interact with imenu by setting
2288 `imenu-extract-index-name-function' only.
2289
032d23ab
FEG
22902012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2291
2292 * progmodes/python.el: Enhancements to navigation commands.
2293 (python-nav-backward-sentence)
2294 (python-nav-forward-sentence): Remove.
2295 (python-nav-backward-statement, python-nav-forward-statement)
2296 (python-nav-statement-start, python-nav-statement-end)
2297 (python-nav-backward-block, python-nav-forward-block)
2298 (python-nav-block-start, python-nav-block-end)
2299 (python-nav-forward-sexp-function)
2300 (python-info-current-line-comment-p)
2301 (python-info-current-line-empty-p): New functions.
2302 (python-indent-context): Use `python-nav-statement-start'.
2303
01795a1b
MA
23042012-07-16 Michael Albinus <michael.albinus@gmx.de>
2305
9328d9aa
MA
2306 * eshell/em-ls.el (eshell/ls): Use `apply'.
2307
2308 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2309 multi-hops, instead of Tramp internals.
2310
01795a1b
MA
2311 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2312
2313 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2314 when F1 and F2 are located on different hosts.
2315
63408057
CY
23162012-07-14 Chong Yidong <cyd@gnu.org>
2317
2318 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2319 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2320 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2321 (xterm-mouse--read-event-sequence-1000)
2322 (xterm-mouse--read-event-sequence-1006): New functions. For old
2323 mouse protocol, handle M-mouse-X events correctly.
2324 (xterm-mouse-event): New arg specifying mouse protocol.
2325 (turn-on-xterm-mouse-tracking-on-terminal)
2326 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2327 sequence to toggle extended coordinates on newer XTerms.
2328 This appears to be harmless on terminals which do not support this.
63408057 2329
cd276f6e
LL
23302012-07-14 Leo Liu <sdl.web@gmail.com>
2331
28ca98ac
LL
2332 Add fringe bitmap indicators for flymake. (Bug#11253)
2333 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2334 (flymake-make-overlay): New arg BITMAP.
2335 (flymake-error-bitmap, flymake-warning-bitmap)
2336 (flymake-fringe-indicator-position): New user variables.
2337
cd276f6e
LL
2338 * fringe.el: New bitmap exclamation-mark.
2339
04408072
JD
23402012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2341
2342 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2343 also (Bug#7879).
2344
b5cf7fc4
CY
23452012-07-14 Chong Yidong <cyd@gnu.org>
2346
2347 * electric.el (electric-pair-post-self-insert-function): Fix pair
2348 insertion in empty-region case (Bug#11520).
2349
be755c79
RT
23502012-07-14 Chong Yidong <cyd@gnu.org>
2351
45fd731c
SM
2352 * bindings.el: Consolidate ctl-x-r-map bindings.
2353 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2354
2355 * rect.el, register.el: Move bindings to bindings.el.
2356
23572012-07-14 Reuben Thomas <rrt@sc3d.org>
2358
2359 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2360
7f5b3198
AS
23612012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2362
2363 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2364
97662200
JB
23652012-07-13 Juanma Barranquero <lekktu@gmail.com>
2366
80185fed
JB
2367 * bindings.el (top): Use `mapc' instead of `mapcar'.
2368
97662200
JB
2369 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2370
2bb1ae55
MA
23712012-07-13 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * progmodes/sql.el (sql-comint): Suppress the check for program on
2374 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2375 (Bug#11908)
2376
dea31bd3
CY
23772012-07-13 Chong Yidong <cyd@gnu.org>
2378
2379 * bindings.el: Assign a non-nil permanent-local property to
2380 per-buffer variables which lack a default value (Bug#11930).
2381
2382 * help-fns.el (describe-variable): In the "automatically becomes
2383 local" notice, take note of permanent-local variables.
2384
b68b3337
CY
23852012-07-13 Chong Yidong <cyd@gnu.org>
2386
2387 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2388 to allow printing the message when called from Lisp.
2389
2390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2391 Remove toggle-read-only.
2392
2393 * bs.el (bs-toggle-readonly):
45fd731c
SM
2394 * buff-menu.el (Buffer-menu-toggle-read-only):
2395 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2396
2397 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2398 Remove with-no-warnings around toggle-read-only.
2399 (ffap-read-only, ffap-read-only-other-window)
2400 (ffap-read-only-other-frame): Callers changed.
2401
2402 * help-mode.el: Don't require view package.
2403 (help-mode-finish): Set buffer-read-only instead of calling
2404 toggle-read-only.
2405
2406 * bindings.el (mode-line-toggle-read-only):
2407 * dired.el (dired-toggle-read-only):
2408 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2409 with non-nil second arg.
2410
2411 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2412 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2413 directly.
2414
56bc1586
EZ
24152012-07-12 Eli Zaretskii <eliz@gnu.org>
2416
2417 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2418 not incf.
2419
a464a6c7
SM
24202012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 More CL cleanups and reduction of use of cl.el.
2423 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2424 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2425 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2426 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2427 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2428 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2429 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2430 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2431 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2432 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2433 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2434 * eshell/em-cmpl.el, eshell/em-banner.el:
2435 * calendar/parse-time.el: Use cl-lib.
2436 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2437 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2438 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2439 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2440 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2441 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2442 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2443 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2444 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2445 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2446 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2447 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2448 `lambda' rather than with `quote'.
2449 (eshell-do-opt): Adjust accordingly.
2450 (eshell-process-option): Simplify.
2451 * eshell/esh-var.el:
2452 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2453 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2454 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2455 to `pcase--dontcare'.
2456 * emacs-lisp/cl.el (labels): Mark obsolete.
2457 (cl--letf, letf): Move to cl-lib.
2458 (cl--letf*, letf*): Remove.
2459 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2460 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2461 (cl-progv): Rewrite.
2462 (cl--letf, cl-letf): Move from cl.el.
2463 (cl-letf*): New macro.
2464 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2465
7ad4afe1
MA
24662012-07-11 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2469
9af57756
CY
24702012-07-11 Chong Yidong <cyd@gnu.org>
2471
2472 * vc/log-edit.el (log-edit-vc-backend): New variable.
2473 (log-edit): Doc fix.
2474
2475 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2476 argument of log-edit to set up all local variables.
2477 (vc-start-logentry): New optional arg specifying VC backend.
2478
2479 * vc/vc.el (vc-checkin): Use it.
2480 (vc-deduce-fileset): Handle Log Edit buffers.
2481 (vc-diff): Make first argument optional too.
2482
2483 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2484
8477cc7a
MA
24852012-07-10 Michael Albinus <michael.albinus@gmx.de>
2486
2487 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2488 command, just in case. The function is not needed anymore.
2489 (eshell-external-command): Do not call `eshell-remote-command'.
2490
19faa8e8
SM
24912012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2492
f58e0fd5
SM
2493 Reduce use of (require 'cl).
2494 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2495 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2496 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2497 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2498 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2499 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2500 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2501 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2502 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2503 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2504 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2505 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2506 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2507 (byte-compile-unfold-bcf, byte-compile-check-variable):
2508 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2509 (byte-compile-nilconstp):
2510 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2511 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2512
2519d43a
SM
2513 * emacs-lisp/gv.el (cond): Make it a valid place.
2514 (if): Simplify slightly.
2515
19faa8e8
SM
2516 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2517 (pcase--self-quoting-p): New function.
2518 (pcase--u1): Use it.
2519
c4907a5e
GM
25202012-07-10 Glenn Morris <rgm@gnu.org>
2521
2522 * emacs-lisp/authors.el (authors-fixed-entries):
2523 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2524
c4444d16
PE
25252012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2526
2527 Rename configure.in to configure.ac (Bug#11603).
2528 * emacs-lisp/authors.el (authors-canonical-file-name):
2529 * progmodes/autoconf.el (autoconf-mode):
2530 Prefer configure.ac to configure.in.
2531
d75be97d
CY
25322012-07-08 Chong Yidong <cyd@gnu.org>
2533
01ac65bd
CY
2534 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2535 Implement the mouse-1-click-follows-link handling properly.
2536
2537 * info.el (Info-link-keymap): Use follow-link mechanism for
2538 header-line links (Bug#374).
2539
d75be97d
CY
2540 * simple.el (deactivate-mark): Do not set the primary selection
2541 if another program has acquired it (Bug#11772).
2542
87a92845 25432012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2544
2545 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2546 (woman-decode-region): Replace escaped-escapes without destroying
2547 bold or underline (Bug#11552).
87a92845 2548 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2549
621b9d6c
CY
25502012-07-07 Chong Yidong <cyd@gnu.org>
2551
2552 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2553 (interprogram-cut-function, interprogram-paste-function):
2554 Mention that we typically mean the clipboard.
621b9d6c 2555
133a11fc
GM
25562012-07-06 Glenn Morris <rgm@gnu.org>
2557
0d27a45e
GM
2558 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2559
133a11fc
GM
2560 * files.el (toggle-read-only): Restrict message to interactive use.
2561
07b151f1
MA
25622012-07-06 Michael Albinus <michael.albinus@gmx.de>
2563
2564 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2565
2566 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2567
211b896b
GM
25682012-07-06 Glenn Morris <rgm@gnu.org>
2569
50394322
GM
2570 * Makefile.in (compile-one-process): Rename from "recompile".
2571
211b896b
GM
2572 * Makefile.in (bzr-update): "compile" is the same as "recompile
2573 autoloads", but parallelizable, so use that instead.
2574
4737eec9
DG
25752012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2576
2577 * window.el (quit-window): Always restore window height when
8137e7b3 2578 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2579
226c3633 25802012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2581
2582 * simple.el (kill-whole-line): Doc tweak.
2583
226c3633 25842012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2585
2586 * files.el (file-relative-name): Compare file names
2587 case-insensitively if on MS-Windows or MS-DOS, or if
2588 read-file-name-completion-ignore-case is non-nil. Don't use
2589 case-fold-search for this purpose. (Bug#11827)
2590
4dc7c8d5
SM
25912012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2592
2593 * calendar/cal-dst.el (calendar-current-time-zone):
2594 Return calendar-current-time-zone-cache if non-nil.
2595
25962012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 25972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2598
19faa8e8
SM
2599 * calendar/cal-dst.el (calendar-current-time-zone):
2600 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2601
60198fc9
GM
26022012-07-06 Glenn Morris <rgm@gnu.org>
2603
2604 * Makefile.in (cvs-update): Remove old alias.
2605
957b3189
MA
26062012-07-05 Michael Albinus <michael.albinus@gmx.de>
2607
2608 Sync with Tramp 2.2.6-pre.
2609
2610 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2611 compatible declaration.
2612
19faa8e8
SM
2613 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2614 Protect `list-load-path-shadows' call.
957b3189
MA
2615
2616 * net/tramp-compat.el (top): Require packages, which aren't
2617 autoloaded anymore for XEmacs. Protect call of
2618 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2619 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2620 it hurts at least for SXEmacs.
2621 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2622 standard-value for `temporary-file-directory'.
2623
2624 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2625 Redirect stderr to /dev/null.
2626 (tramp-sh-handle-write-region): uid and gid can be floats.
2627 Reported by Russell Sim <russell.sim@gmail.com>.
2628 (tramp-sh-handle-vc-registered): Hide errors.
2629 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2630 and `start-file-process'.
2631 (tramp-maybe-open-connection): Check also whether `non-essential'
2632 is bound.
2633
566df3fc
CY
26342012-07-04 Chong Yidong <cyd@gnu.org>
2635
2636 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2637 (xml-parse-tag): Likewise, and avoid changing entity tables.
2638 (xml-syntax-table): Define from scratch, making sure not to give
2639 x2000 and other Unicode spaces whitespace syntax, since those are
2640 not spaces in XML.
2641 (xml-parse-fragment): Delete unused function.
2642 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2643 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2644 (xml-entity-ref, xml-pe-reference-re)
2645 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2646 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2647 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2648 (xml-entity-value-re): Use syntax references in regexps where
2649 possible; no need to define inside a let-binding.
2650 (xml-parse-dtd): Use xml-pe-reference-re.
2651 (xml-entity-or-char-ref-re): New defconst.
2652 (xml-parse-string, xml-substitute-special): Use it.
2653
30eabd7a
SM
26542012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2655
0781098a
SM
2656 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2657 (find-file--read-only): New function.
2658 (find-file-read-only, find-file-read-only-other-window)
2659 (find-file-read-only-other-frame): Use it.
2660 (insert-file-contents-literally): Don't `fset'.
2661 (get-free-disk-space): Use locate-dominating-file.
2662
b5771c0d
SM
2663 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2664 function is already compiled.
2665
30eabd7a
SM
2666 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2667
b4886f6e
MA
26682012-07-03 Michael Albinus <michael.albinus@gmx.de>
2669
2670 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2671 files on the same host.
2672
b9d82339
AS
26732012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2674
2675 * help-fns.el (describe-function-1): Only call
2676 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2677
a76e6535
CY
26782012-07-03 Chong Yidong <cyd@gnu.org>
2679
2680 * xml.el: Protect parser against XML bombs.
2681 (xml-entity-expansion-limit): New variable.
2682 (xml-parse-string, xml-substitute-special): Use it.
2683 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2684
b544fef2
GM
26852012-07-03 Glenn Morris <rgm@gnu.org>
2686
2687 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2688 Allow linking to specific messages in debbugs reports (eg 123#5).
2689
a7aef6f5
CY
26902012-07-02 Chong Yidong <cyd@gnu.org>
2691
2692 * xml.el: Fix entity and character reference expansion, allowing
2693 them to expand into markup as per XML spec.
2694 (xml-default-ns): New variable.
2695 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2696 (xml-parse-region): Make first two arguments optional.
2697 Discard text properties.
2698 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2699 All callers changed.
a7aef6f5
CY
2700 (xml-parse-tag): Call xml-parse-tag-1. For backward
2701 compatibility, this function should not modify buffer contents.
2702 (xml-parse-tag-1): Fix opening-tag regexp.
2703 (xml-parse-string): Rewrite, handling entity and character
2704 references properly.
2705 (xml--entity-replacement-text): Signal an error if a parameter
2706 entity is undefined.
2707
3df31c9f
SM
27082012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2b5208f1
SM
2710 * comint.el (comint-output-filter): Filter out repeated prompts.
2711
3df31c9f
SM
2712 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2713 and file-name-absolute-p.
2714 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2715 internal calls.
2716
e3ac1281
PE
27172012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2718
2719 Spelling fixes.
2720 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2721 Rename from byte-compile--refiy-function. All uses changed.
2722
fbf2e7ad
CY
27232012-07-01 Chong Yidong <cyd@gnu.org>
2724
2725 * xml.el (xml--parse-buffer): New function. Move most of
2726 xml-parse-region here.
2727 (xml-parse-region): Copy region into a temporary buffer, since
2728 parameter entity substitution requires changing buffer contents.
2729 Use xml--parse-buffer.
2730 (xml-parse-file): Use xml--parse-buffer.
2731 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2732 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2733
9bf0aa15
GM
27342012-06-30 Glenn Morris <rgm@gnu.org>
2735
bbce2853
GM
2736 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2737
9bf0aa15
GM
2738 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2739 Remove outdated and unnecessary dbus declarations.
2740
0d23c240
EZ
27412012-06-30 Eli Zaretskii <eliz@gnu.org>
2742
2743 * emacs-lisp/timer.el (timer-until): Subtract results of
2744 float-time, instead of taking float-time of the result of
2745 time-subtract, since float-time signals an error for negative time
2746 arguments.
2747
b3218de1
CY
27482012-06-30 Chong Yidong <cyd@gnu.org>
2749
2750 * xml.el (xml-*-re): Convert defvars into defconsts, and
2751 eval-and-compile them so eval-and-compile works on derivatives.
2752 (xml--entity-replacement-text): Use eval-and-comple.
2753
a40c87a0
MA
27542012-06-30 Michael Albinus <michael.albinus@gmx.de>
2755
2756 * vc/vc-git.el (vc-git-registered): Use cache property
2757 `git-registered'.
2758 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2759 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2760 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2761
ac87de97
DG
27622012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2763
2764 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2765 removed (likely outside Emacs). (Bug#11757)
ac87de97 2766
ac10fe06
SM
27672012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2768
3df31c9f 2769 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2770
7f3fbd5d
CY
27712012-06-30 Chong Yidong <cyd@gnu.org>
2772
2773 * xml.el: Implement XML parameter entities.
2774 (xml-parameter-entity-alist): New variable.
2775 (xml-parse-region, xml-parse-fragment): Preserve previous values
2776 of xml-entity-alist and xml-parameter-entity-alist, so that
2777 repeated calls on different documents do not change them.
2778 (xml-parse-tag): Fix doctype regexp.
2779 (xml--entity-replacement-text): New function.
2780 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2781 properly requires url retrieval which is unimplemented.
2782 (xml-escape-string): Doc fix.
2783
3cfbebba
SM
27842012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2787
2af3565e
DA
27882012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2789
2790 * fringe.el (fringe-mode): Doc fix.
2791
929df0e7
MA
27922012-06-29 Michael Albinus <michael.albinus@gmx.de>
2793
2794 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2795 is non-nil.
2796 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2797 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2798
c8d3a25c 27992012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2800
c8d3a25c
GM
2801 * calendar/cal-dst.el (calendar-current-time-zone):
2802 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2803
c8d3a25c 28042012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2805
2806 * progmodes/which-func.el (which-func-format):
2807 Add mouse-face. (Bug#11698)
2808
c8d3a25c
GM
28092012-06-29 Leo Liu <sdl.web@gmail.com>
2810
2811 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2812
28132012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * minibuffer.el (minibuffer-confirm-exit-commands):
2816 Add completion-at-point (bug#11725).
2817
28182012-06-29 Glenn Morris <rgm@gnu.org>
2819
2820 * progmodes/f90.el (f90-font-lock-keywords-2):
2821 Add some preprocessor elements. (Bug#10499)
2822
28232012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2824
2825 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2826 Use syntax-propertize (bug#11739).
2827
2badeec4
JB
28282012-06-28 Juanma Barranquero <lekktu@gmail.com>
2829
2830 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2831
ae4969c2
JD
28322012-06-28 Julien Danjou <julien@danjou.info>
2833
2834 * term.el (term-handle-colors-array): Use a set of new faces to
2835 color the terminal. Also uses :inverse-video property.
2836 (term-default-fg-color): Set to nil by default, deprecate in favor
2837 of `term-face'.
2838 (term-default-bg-color): Set to nil by default, deprecate in favor
2839 of `term-face'.
2840 (term-current-face): Use `term-face' by default.
2841 (term-bold-attribute): Variable deleted.
2842
1c9bd870
GM
28432012-06-28 Glenn Morris <rgm@gnu.org>
2844
2845 * simple.el (completion-list-mode-finish):
2846 Don't use toggle-read-only. (Since completion-list-mode has
2847 a special mode-class, it wasn't doing anything extra anyway.)
2848
c207708c
SM
28492012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 Make inlining of other-mode interpreted functions work (bug#11799).
2852 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2853 (byte-compile): Use it to fix compilation of lexical-binding closures.
2854 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2855 function, if needed.
2856
3fd56834
SM
28572012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2858
04901786
SM
2859 * help-mode.el (help-make-xrefs): Don't just withstand
2860 cyclic-variable-indirection but any error in documentation-property.
2861
1ec4b7b2
SM
2862 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2863 memory use.
2864 * bindings.el (bindings--define-key): New function.
2865 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2866 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2867 * bindings.el: Use it to purecopy define-key bindings.
2868
e309e2a5
SM
2869 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2870
d5c6faf9
SM
2871 * emacs-lisp/cl.el (flet): Mark obsolete.
2872 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2873 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2874 * progmodes/js.el (js-c-fill-paragraph):
2875 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2876 (ebrowse-switch-member-buffer-to-derived-class):
2877 * play/5x5.el (5x5-solver): Use cl-flet.
2878
6e9590e2
SM
2879 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2880 (cl--symbol-function): New macro.
2881 (cl--letf, cl--letf*): Use it.
2882
3fd56834
SM
2883 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2884 Strip "toggle-" if any.
2885
35ff222c
GM
28862012-06-27 Glenn Morris <rgm@gnu.org>
2887
1ba6038a
GM
2888 * info.el (Info-default-directory-list): Move here from paths.el.
2889 * paths.el: Remove file, which is now empty.
2890 * loadup.el: No longer load "paths".
2891
0ea0e51b
GM
2892 * custom.el (custom-initialize-delay): Doc fix.
2893
35ff222c
GM
2894 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2895 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2896 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2897 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2898 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2899 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2900 * eshell/eshell.el (eshell-defgroup): Remove alias.
2901
c89926a5
CY
29022012-06-27 Chong Yidong <cyd@gnu.org>
2903
2904 * help.el (help-enable-auto-load): New variable.
2905
2906 * help-fns.el (help-fns--autoloaded-p): New function.
2907 (describe-function-1): Refer to a function as "autoloaded" if it
2908 was autoloaded at any time in the past. Perform autoloading if
2909 help-enable-auto-load is non-nil.
2910
cc06e7e7
EZ
29112012-06-26 Eli Zaretskii <eliz@gnu.org>
2912
2913 * makefile.w32-in (compile, compile-always): Depend on
2914 update-subdirs, not on subdirs.el. Otherwise, several different
2915 sub-targets of 'bootstrap' running in parallel could
2916 simultaneously write to subdirs.el, producing a garbled file.
2917
d2c32364
SS
29182012-06-26 Sam Steingold <sds@gnu.org>
2919
2920 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2921 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2922 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2923 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2924 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2925 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2926 * textmodes/tex-mode.el: Use it.
2927 Did not touch cedet and org because they are maintained elsewhere.
2928
5cf983b2
MR
29292012-06-26 Martin Rudalics <rudalics@gmx.at>
2930
2931 * calendar/calendar.el (calendar-exit): Don't try to delete or
2932 iconify last frame. See:
2933 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2934
8c4f2952
JD
29352012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2936
2937 * server.el (server-process-filter): Remember dir in the
2938 process's `server-client-directory' properties.
2939
772b2e2c
CY
29402012-06-24 Chong Yidong <cyd@gnu.org>
2941
2942 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2943 non-tag text.
2944
711b11e1
JB
29452012-06-23 Juanma Barranquero <lekktu@gmail.com>
2946
2947 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2948
dc5d230c
SM
29492012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * help-fns.el (describe-variable): Don't croak when doc is not found.
2952 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2953 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2954 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2955 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2956 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2957 ((lambda ..) ..).
2958 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2959
136e1c1d
CY
29602012-06-23 Chong Yidong <cyd@gnu.org>
2961
e8c1cabf
CY
2962 * info.el (Info-mouse-follow-link): Accept symbol values of
2963 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2964 (Info-fontify-node): Use Info-link-keymap for all navigation
2965 buttons, with link-args property to perform the desired action.
2966 (Info-link-keymap): Doc fix.
2967 (Info-next-link-keymap, Info-prev-link-keymap)
2968 (Info-up-link-keymap): Delete now-unused keymaps.
2969
0e9e6c6a
CY
29702012-06-23 Chong Yidong <cyd@gnu.org>
2971
05e89fea
CY
2972 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2973
0e9e6c6a
CY
2974 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2975 system abbrevs.
2976
2977 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2978
e33c6771
SM
29792012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2980
b68581e2
SM
2981 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2982 (bug#11719).
2983
e33c6771
SM
2984 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2985 the requote function doesn't work properly (bug#11714).
2986
7117e105
GM
29872012-06-23 Glenn Morris <rgm@gnu.org>
2988
2989 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2990
36cec983
SM
29912012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 Further GV/CL cleanups.
2994 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2995 gv-expander.
2996 (gv--defun-declaration): New function.
2997 (defun-declarations-alist): Use it.
2998 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2999 (gv-place): Autoload.
3000 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3001 original definition of dotimes and dolist.
3002 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3003 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3004 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3005 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3006 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3007 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3008 to the function's definition.
3009 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3010 * window.el:
3011 * files.el:
3012 * faces.el:
3013 * env.el: Don't use CL.
3014
d35af63c
PE
30152012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3016
3017 Support higher-resolution time stamps (Bug#9000).
3018
3019 * calendar/time-date.el (with-decoded-time-value): New arg
3020 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3021 (encode-time-value): New optional arg PICO. New type 3.
3022 (time-to-seconds) [!float-time]: Support the new picoseconds
3023 component if it's used.
3024 (seconds-to-time, time-subtract, time-add):
3025 Support ps-resolution time stamps as well.
3026
3027 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3028 (timerp): Timer vectors now have length 9, not 8.
3029 (timer--time): Support new-style (4-part) time stamps.
3030 (timer-next-integral-multiple-of-time): Time stamps now have
3031 picosecond resolution, so take a bit more care about rounding.
3032 (timer-relative-time, timer-inc-time): New optional arg psecs.
3033 (timer-set-time-with-usecs): Set psecs to 0.
3034 (timer--activate): Check psecs component, too.
3035
3036 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3037
ac77b21a
SM
30382012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3039
f143bfe3
SM
3040 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3041 Move the non-essential binding to the post/pre-command-hook where it is
3042 more obviously correct.
3043
ac77b21a
SM
3044 * subr.el (read-passwd): Don't use a history at all.
3045 * savehist.el (savehist-save): Remove password saved accidentally
3046 because of the above bug.
3047
76386c5a
BG
30482012-06-22 Bastien Guerry <bzg@gnu.org>
3049
3050 * files.el (toggle-read-only): Display a message telling whether
3051 the buffer is read-only or not (bug#11726).
3052
2ee3d7f0
SM
30532012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * emacs-lisp/gv.el: New file.
3056 * subr.el (push, pop): Extend to generalized variables.
3057 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3058 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3059 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3060 gv-define-simple-setter, and gv-define-expander.
3061 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3062 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3063 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3064 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3065 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3066 gv-letplace.
3067 (cl-defstruct): Don't define setf-method any more.
3068 * emacs-lisp/cl.el (flet): Don't autoload.
3069 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3070 (define-setf-expander, defsetf, define-modify-macro)
3071 (cl-struct-setf-expander): Move from cl-lib.el.
3072 * emacs-lisp/syntax.el:
3073 * emacs-lisp/ewoc.el:
3074 * emacs-lisp/smie.el:
3075 * emacs-lisp/cconv.el:
3076 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3077 (timer--time): Use gv-define-simple-setter.
3078 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3079 to avoid coding-system problems in subr.el. Adjust all users.
3080 (macroexp--maxsize, macroexp-small-p): New functions.
3081 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3082 * scroll-bar.el (scroll-bar-mode):
3083 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3084 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3085 * winner.el (winner-configuration, winner-make-point-alist)
3086 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3087 * files.el (locate-file-completion-table): Avoid list*.
3088
c5695d1d
CY
30892012-06-22 Chong Yidong <cyd@gnu.org>
3090
3091 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3092 (dired-create-files): Doc fix (Bug#11329).
3093 (dired-do-copy): Doc fix (Bug#11334).
3094 (dired-mark-read-string): Doc fix (Bug#11553).
3095
2ee3d7f0
SM
3096 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3097 Doc fix (Bug#11326).
c5695d1d
CY
3098 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3099 (dired-dwim-target): Doc fix.
3100
3101 * wdired.el (wdired-mode): Doc fix.
3102
89b5595a
GM
31032012-06-22 Glenn Morris <rgm@gnu.org>
3104
575db3f1
GM
3105 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3106 (pcmpl-rpm-cache-stamp-file): New constant.
3107 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3108 (pcmpl-rpm-packages): Optionally cache list of packages.
3109
a4c8dd51
GM
3110 * pcmpl-rpm.el (pcmpl-rpm): New group.
3111 (pcmpl-rpm-query-options): New option.
3112 (pcmpl-rpm-packages): No need to inline it.
3113 Use pcmpl-rpm-query-options.
3114
89b5595a
GM
3115 * calendar/calendar.el (calendar-in-read-only-buffer):
3116 Avoid some needless mode changes.
3117
e76f0800
CY
31182012-06-21 Chong Yidong <cyd@gnu.org>
3119
3120 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3121 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3122 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3123
297a8f1d
CY
31242012-06-20 Chong Yidong <cyd@gnu.org>
3125
3126 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3127
d34c18b1
DR
31282012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3129
3130 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3131 (bug#11201).
3132
32f7f28e
CY
31332012-06-20 Chong Yidong <cyd@gnu.org>
3134
3135 * term.el (term-window-width): Handle the case of a missing right
3136 fringe (Bug#8837).
3137 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3138 (term-mode): Use define-derived-mode. Minor cleanups.
3139 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3140 (term-move-columns, term-insert-char, term-emulate-terminal)
3141 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3142
493c6688
MA
31432012-06-20 Michael Albinus <michael.albinus@gmx.de>
3144
d34c18b1
DR
3145 * net/ange-ftp.el (ange-ftp-get-passwd):
3146 Bind `enable-recursive-minibuffers'.
493c6688
MA
3147 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3148
3f06ecf4
DR
31492012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3150
3151 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3152
68f12411
GM
31532012-06-19 Glenn Morris <rgm@gnu.org>
3154
3155 * progmodes/python.el (python-mode): Derive from prog-mode.
3156
b3820318
KG
31572012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3158
3159 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3160 (edt-user-menu-bar-update-buffers): New functions.
3161 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3162
c6bf3022
CY
31632012-06-19 Chong Yidong <cyd@gnu.org>
3164
3165 * subr.el (with-selected-window): Preserve the selected window's
3166 terminal's top-frame (Bug#4702).
3167
3168 * window.el (save-selected-window): Likewise.
3169
25f09295
SM
31702012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * progmodes/python.el (python-rx-constituents): Move backquote.
3173 (python-skeleton-define, python-define-auxiliary-skeleton):
3174 Use `declare'.
3175
6b11952a
MA
31762012-06-18 Michael Albinus <michael.albinus@gmx.de>
3177
3178 * minibuffer.el (read-file-name-default): Revert the patch from
3179 2012-06-17.
3180
ee4b1330
SM
31812012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3184 (pcase--u1, pcase--q1): Don't use apply-partially.
3185
35647f79
GM
31862012-06-18 Glenn Morris <rgm@gnu.org>
3187
3188 * progmodes/python.el (python-proc, python-buffer)
3189 (python-send-receive, python-send-string): Fix obsolete versions.
3190
24b0cff0
MR
31912012-06-18 Martin Rudalics <rudalics@gmx.at>
3192
3193 * window.el (special-display-p): Completely remove stringp
3194 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3195
29855149
MA
31962012-06-17 Michael Albinus <michael.albinus@gmx.de>
3197
3198 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3199
3200 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3201
3202 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3203 * net/tramp-sh.el (tramp-maybe-open-connection):
3204 Throw if `non-essential' is non-nil.
3205
07463363
MR
32062012-06-17 Martin Rudalics <rudalics@gmx.at>
3207
3208 * window.el (special-display-p): Signal an error if BUFFER-NAME
3209 is not a string (Bug#11713).
3210
48d1354e
PE
32112012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3212
3213 * progmodes/python.el (python-info-beginning-of-backslash):
3214 Rename from python-info-beginning-of-backlash, as a spelling fix.
3215
eb4a8a9a
CY
32162012-06-17 Chong Yidong <cyd@gnu.org>
3217
3218 * term.el (term-emulate-terminal): If term-check-size is called,
3219 move point to the process mark without resetting point (Bug#4635).
3220
ddfbf826 32212012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3222
3223 * international/mule-cmds.el (mule-menu-keymap)
3224 (set-language-environment, set-locale-environment): Doc tweaks.
3225
9b0e3eba
AA
32262012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3227
3228 * cus-face.el (custom-face-attributes): Add wave-style underline
3229 attribute.
3230 * faces.el (set-face-attribute): Update docstring to describe
3231 wave-style underline attribute.
3232
771e3eae
CY
32332012-06-16 Chong Yidong <cyd@gnu.org>
3234
3235 * term/xterm.el (terminal-init-xterm): Discard input before
3236 querying background mode (Bug#10959).
3237
7ae2ea10
SM
32382012-06-16 Stefan Merten <smerten@oekonux.de>
3239
3240 * textmodes/rst.el: Added and corrected some comments.
3241 (rst-re-alist-def): Improve symbol syntax.
3242 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3243 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3244 (rst-official-version, rst-official-cvs-rev): Update version
3245 information.
7ae2ea10 3246
b6974efa
JB
32472012-06-15 Juanma Barranquero <lekktu@gmail.com>
3248
3249 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3250 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3251
8826d473
GM
32522012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3253
3254 * progmodes/python.el: New python.el merge.
3255 (python-guess-indent): Obsolete var.
3256 (python-indent-guess-indent-offset): New defcustom.
3257 (python-indent): Obsolete var.
3258 (python-indent-offset): New defcustom.
3259 (python-python-command, python-jython-command): Delete var.
3260 (python-shell-interpreter): New defcustom.
3261 (python-pdbtrack-do-tracking-p): Delete var.
3262 (python-pdbtrack-activate): New defcustom.
3263 (python-use-skeletons): Obsolete var.
3264 (python-skeleton-autoinsert): New defcustom.
3265 (inferior-python-filter-regexp, python-continuation-offset)
3266 (python-honour-comment-indentation, python-indent-string-contents)
3267 (python-jython-packages, python-mode-hook)
3268 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3269 (python-shell-prompt-alist)
3270 (python-source-modes): Delete defcustoms.
3271 (python-check-buffer-name, python-eldoc-setup-code)
3272 (python-eldoc-string-code, python-ffap-setup-code)
3273 (python-ffap-string-code, python-fill-comment-function)
3274 (python-fill-decorator-function, python-fill-paren-function)
3275 (python-fill-string-function, python-imenu-include-defun-type)
3276 (python-imenu-make-tree, python-imenu-subtree-root-label)
3277 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3278 (python-shell-compilation-regexp-alist)
3279 (python-shell-completion-module-string-code)
3280 (python-shell-completion-pdb-string-code)
3281 (python-shell-completion-setup-code)
3282 (python-shell-completion-string-code)
3283 (python-shell-enable-font-lock, python-shell-exec-path)
3284 (python-shell-extra-pythonpaths)
3285 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3286 (python-shell-process-environment)
3287 (python-shell-prompt-block-regexp)
3288 (python-shell-prompt-output-regexp)
3289 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3290 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3291 (python-shell-virtualenv-path): New defcustoms.
3292 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3293 (inferior-python-mode-syntax-table, python--prompt-regexp)
3294 (python-buffer, python-command python-python-command)
3295 (python-default-template, python-imports, python-indent-index)
3296 (python-indent-list, python-indent-list-length)
3297 (python-mode-running, python-pdbtrack-is-tracking-p)
3298 (python-preoutput-continuation, python-preoutput-leftover)
3299 (python-preoutput-result, python-preoutput-skip-next-prompt)
3300 (python-prev-dir/file, python-recursing)
3301 (python-saved-check-command, python-version-checked)
3302 (python-which-func-length-limit)
3303 (view-return-to-alist): Delete vars.
3304 (python-check-custom-command, python-dotty-syntax-table)
3305 (python-imenu-index-alist, python-indent-current-level)
3306 (python-indent-dedenters, python-indent-levels)
3307 (python-nav-beginning-of-defun-regexp)
3308 (python-nav-list-defun-positions-cache)
3309 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3310 (python-shell-internal-buffer)
3311 (python-skeleton-available): New vars.
3312 (def-python-skeleton): Delete macro.
3313 (python-skeleton-define): New macro.
3314 (python-define-auxiliary-skeleton, python-rx): New macros.
3315 (python-insert-class): Delete command.
3316 (python-skeleton-class): New command.
3317 (python-insert-def): Delete command.
3318 (python-skeleton-def): New command.
3319 (python-insert-for): Delete command.
3320 (python-skeleton-for): New command.
3321 (python-insert-if): Delete command.
3322 (python-skeleton-if): New command.
3323 (python-insert-try/except, python-insert-try/finally): Delete commands.
3324 (python-skeleton-try): New command.
3325 (python-insert-while): Delete command.
3326 (python-skeleton-while): New command.
3327 (python-backspace): Delete command.
3328 (python-indent-dedent-line-backspace): New command.
3329 (python-electric-colon): Delete command.
3330 (python-indent-electric-colon): New command.
3331 (python-guess-indent): Delete command.
3332 (python-indent-guess-indent-offset): New command.
3333 (python-shift-left): Delete command.
3334 (python-indent-shift-left): New command.
3335 (python-shift-right): Delete command.
3336 (python-indent-shift-right): New command.
3337 (python-find-function): Delete command.
3338 (python-nav-jump-to-defun): New command.
3339 (python-next-statement): Delete command.
3340 (python-nav-forward-sentence): New command.
3341 (python-previous-statement): Delete command.
3342 (python-nav-backward-sentence): New command.
3343 (python-fill-paragraph): Delete command.
3344 (python-fill-paragraph-function): New command.
3345 (python-send-buffer): Delete command.
3346 (python-shell-send-buffer): New command.
3347 (python-send-defun): Delete command.
3348 (python-shell-send-defun): New command.
3349 (python-send-region, python-send-region-and-go): Delete commands.
3350 (python-shell-send-region)
3351 (python-shell-switch-to-shell): New commands.
3352 (python-send-string): Delete command.
3353 (python-shell-send-string): New command.
3354 (python-switch-to-python): Delete command.
3355 (python-shell-switch-to-shell): New command.
3356 (python-describe-symbol): Delete command.
3357 (python-eldoc-at-point): New command.
3358 (python--set-prompt-regexp, python-args-to-list)
3359 (python-after-info-look, python-check-version)
3360 (python-check-comint-prompt, python-find-imports)
3361 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3362 (python-unload-function, python-expand-template)
3363 (python-maybe-jython, python-preoutput-filter)
3364 (python-pdbtrack-get-source-buffer)
3365 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3366 (python-pdbtrack-toggle-stack-tracking)
3367 (python-pdbtrack-track-stack-file, python-initial-text)
3368 (python-first-word, python-comment-line-p, python-send-command)
3369 (python-setup-brm, python-sentinel, python-set-proc)
3370 (python-skip-out, python-input-filter, python-outdent-p)
3371 (python-outline-level, python-backslash-continuation-line-p)
3372 (python-end-of-block, python-end-of-statement, python-mark-block)
3373 (python-beginning-of-block, python-beginning-of-statement)
3374 (python-blank-line-p, python-beginning-of-string)
3375 (python-open-block-statement-p): Delete functions.
3376 (python-indent-line, python-indent-line-1): Delete functions.
3377 (python-indent-line): New function.
3378 (python-indentation-levels): Delete function.
3379 (python-indent-calculate-levels): New function.
3380 (python-proc): Delete function.
3381 (python-shell-get-process): New function.
3382 (python-send-receive): Delete function.
3383 (python-shell-send-string-no-output): New function.
3384 (python-module-path): Delete function.
3385 (python-ffap-module-path): New function.
3386 (python-completion-at-point)
3387 (python-symbol-completions): Delete functions.
3388 (python-completion-complete-at-point): New function.
3389 (python-load-file): Delete function.
3390 (python-shell-send-file): New function.
3391 (python-calculate-indentation): Delete function.
3392 (python-indent-calculate-indentation): New function.
3393 (python-skip-comments/blanks): Delete function.
3394 (python-util-forward-comment): New function.
3395 (python-continuation-line-p): Delete function.
3396 (python-info-continuation-line-p): New function.
3397 (python-which-func, python-current-defun): Delete function.
3398 (python-info-current-defun): New function.
3399 (python-beginning-of-defun): Delete function.
3400 (python-nav-beginning-of-defun): New function.
3401 (python-close-block-statement-p)
3402 (python-block-end-p): Delete function.
3403 (python-info-closing-block): New function.
3404 (python-comint-output-filter-function)
3405 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3406 (python-fill-comment, python-fill-decorator, python-fill-paren)
3407 (python-fill-string, python-imenu-make-element-tree)
3408 (python-imenu-make-tree, python-imenu-tree-assoc)
3409 (python-indent-context, python-indent-dedent-line)
3410 (python-indent-line-function)
3411 (python-indent-post-self-insert-function)
3412 (python-indent-toggle-levels)
3413 (python-info-assignment-continuation-line-p)
3414 (python-info-beginning-of-backlash)
3415 (python-info-block-continuation-line-p)
3416 (python-info-closing-block-message)
3417 (python-info-line-ends-backslash-p)
3418 (python-info-looking-at-beginning-of-defun)
3419 (python-info-ppss-context, python-info-ppss-context-type)
3420 (python-nav-list-defun-positions, python-nav-read-defun)
3421 (python-nav-sentence-end, python-nav-sentence-start)
3422 (python-pdbtrack-comint-output-filter-function)
3423 (python-pdbtrack-set-tracked-buffer)
3424 (python-shell-calculate-exec-path)
3425 (python-shell-calculate-process-environment)
3426 (python-shell-completion--do-completion-at-point)
3427 (python-shell-completion--get-completions)
3428 (python-shell-completion-complete-at-point)
3429 (python-shell-completion-complete-or-indent)
3430 (python-shell-get-or-create-process)
3431 (python-shell-get-process-name)
3432 (python-shell-internal-get-or-create-process)
3433 (python-shell-internal-get-process-name)
3434 (python-shell-internal-send-string, python-shell-make-comint)
3435 (python-shell-parse-command, python-shell-send-setup-code)
3436 (python-skeleton-add-menu-items)
3437 (python-util-clone-local-variables, python-util-position)
3438 (run-python-internal, python-indentation-levels)
3439 (python-nav-beginning-of-defun)
3440 (python-completion-complete-at-point): New functions.
3441 (run-python): Change arguments. New API requirements.
3442
4302f5ba
SM
34432012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3444
f38ea36d
SM
3445 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3446 (bug#11649).
3447
3448 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3449 (macroexp--expand-all): Use it.
3450
4302f5ba
SM
3451 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3452 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3453 Use `cl-function' instead.
3454
33377562
JB
34552012-06-14 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3458 Suggested by Stefan Monnier while discussing bug#11657.
3459
54c5ba1a
SS
34602012-06-14 Sam Steingold <sds@gnu.org>
3461
3462 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3463
f9f1b1fe
AS
34642012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3465
3466 * play/doctor.el (doctor-doc): Remove parameter and use
3467 doctor-sent instead of sent.
3468 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3469
a81068ba
SM
34702012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3471
5a315f9c
SM
3472 * files.el: Require cl-lib.
3473 (file-name-non-special): Replace case -> cl-case.
3474
3475 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3476
a81068ba
SM
3477 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3478 mapping from #' to function*.
3479
8cca9703
CY
34802012-06-13 Chong Yidong <cyd@gnu.org>
3481
3482 * mouse.el (mouse-drag-track): Do not set the mark if the user
3483 releases the mouse without selecting anything (Bug#11588).
3484
a12ac9d7
SM
34852012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3486
ccf1dc18
SM
3487 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3488 as well (bug#11646).
3489
ef62b23d
SM
3490 * loadup.el: Count byte-code functions as well.
3491
c4c8444a
SM
3492 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3493 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3494
a12ac9d7
SM
3495 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3496 (bug#11649). Add cl-defun and cl-defmacro.
3497
87e6e64f
DA
34982012-06-13 Drew Adams <drew.adams@oracle.com>
3499
3500 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3501 Fix last change.
3502
682cefaf
MA
35032012-06-13 Michael Albinus <michael.albinus@gmx.de>
3504
3505 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3506 Otherwise, it blocks in batch mode.
3507
773e1f08
JB
35082012-06-13 Juanma Barranquero <lekktu@gmail.com>
3509
3510 * help-mode.el (bookmark-make-record-default): Declare.
3511
60057926
CY
35122012-06-13 Chong Yidong <cyd@gnu.org>
3513
3514 * emacs-lisp/package.el (list-packages): Compute a list of
3515 packages that are newly-available since the last list-packages
3516 invocation.
3517 (package-menu--new-package-list): New var.
3518 (package-menu--generate, package-menu--print-info)
3519 (package-menu--status-predicate, package-menu-mark-install):
3520 Handle new status label "new".
3521
ad4d226c
SM
35222012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3525 conversion to backquotes.
3526
f1a4e679
CY
35272012-06-12 Chong Yidong <cyd@gnu.org>
3528
3529 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3530 Rename from gud-inhibit-global-bindings.
3531
3532 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3533
3534 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3535 hook from nxml-glyph-set-hook.
3536
3537 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3538 declaration.
3539
3540 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3541
3542 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3543 Convert to defcustom.
3544
0c9e42b5
DA
35452012-06-12 Drew Adams <drew.adams@oracle.com>
3546
3547 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3548 New functions.
3549 (help-mode): Use them.
3550
09e06855
GM
35512012-06-11 Glenn Morris <rgm@gnu.org>
3552
3553 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3554 Use preprocessor face for directives.
3555 (fortran-directive-re): Doc fix.
3556
71adb94b
SM
35572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3558
2eb87922
SM
3559 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3560 conversion to backquotes (bug#11652).
3561
71adb94b
SM
3562 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3563 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3564 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3565 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3566 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3567 (cl-ninth, cl-tenth): Mark them as inlinable.
3568 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3569 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3570 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3571 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3572 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3573 (cl-list*, cl-adjoin): Don't put an autoload manually.
3574 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3575 (cl--compiler-macro-list*): Add autoload cookie.
3576 (cl--compiler-macro-cXXr): New function.
2eb87922 3577
71adb94b
SM
3578 * help-fns.el (help-fns--compiler-macro): New function extracted from
3579 describe-function-1; follow aliases and use `compiler-macro' property.
3580 (describe-function-1): Use it.
3581
a6674402
CY
35822012-06-11 Chong Yidong <cyd@gnu.org>
3583
3584 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3585 is uninstalled, if imagemagick is installed.
3586
bb3faf5b
SM
35872012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * emacs-lisp/cl-lib.el: Use lexical-binding.
3590 (cl-map-extents, cl-maclisp-member): Remove.
3591 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3592 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3593 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3594 * emacs-lisp/cl-extra.el: Use lexical-binding.
3595 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3596 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3597 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3598 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3599 * emacs-lisp/cl-seq.el: Use lexical-binding.
3600 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3601 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3602 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3603 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3604 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3605 CL's internals.
3606
2fe4b125
MA
36072012-06-11 Michael Albinus <michael.albinus@gmx.de>
3608
3609 Sync with Tramp 2.2.6-pre.
3610
3611 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3612 `print-length' and `print-level' to nil, in order to avoid
3613 truncation. Reported by Christopher Schmidt
3614 <christopher@ristopher.com>.
3615
3616 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3617
3618 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3619 New defmacro.
3620 (tramp-compat-copy-directory): Add optional argument
3621 COPY-CONTENTS. It is not handled yet.
3622
3623 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3624 (tramp-ftp-file-name-p): Simplify.
3625
3626 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3627 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3628 connection vector.
3629
3630 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3631 (tramp-methods): Do not use `tramp-password-end-of-line'.
3632 (tramp-completion-function-alist-putty): Handle UNIX case.
3633 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3634 (tramp-do-file-attributes-with-stat)
3635 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3636 gid as real numbers. They could run out of integer range on cygwin.
3637 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3638 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3639 (tramp-open-connection-setup-interactive-shell):
3640 Use `tramp-cleanup'. Move check for busyboxes ...
3641 (tramp-find-shell): ... here. Simplify implementation.
3642 Set "remote-shell" property also for alternative shells.
3643 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3644 If failing, a regular file would be written otherwise.
3645 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3646 (tramp-find-inline-encoding): Cache the coding commands in the
3647 process cache. Apply test command on the remote side, if defined.
3648 (tramp-find-inline-compress): Cache the compress commands in the
3649 process cache.
3650 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3651 when requested. Handle hops.
3652 (tramp-current-connection): New defvar.
87e6e64f
DA
3653 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3654 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3655 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3656 (tramp-get-inline-compress, tramp-get-inline-coding):
3657 Read connection properties from the process cache.
2fe4b125
MA
3658
3659 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3660 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3661 New defconsts.
2fe4b125
MA
3662 (tramp-smb-prompt): Extend for powershell prompt.
3663 (tramp-smb-file-name-handler-alist): Add handlers for
3664 `process-file', `shell-command' and `start-file-process'.
3665 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3666 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3667 (tramp-smb-file-name-p): Simplify.
3668 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3669 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3670 (tramp-smb-shell-quote-argument): New defuns.
3671 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3672 Implement using "tar". By this, time-stamps are preserved.
3673 (tramp-smb-handle-copy-file): Handle also the case of directories.
3674 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3675 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3676 Use `tramp-get-connection-buffer').
2fe4b125
MA
3677 (tramp-smb-handle-rename-file): Use "rename", when source and
3678 target are on the same share.
87e6e64f
DA
3679 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3680 Use `tramp-smb-server-version'.
2fe4b125
MA
3681 (tramp-smb-wait-for-output): Remove prompt.
3682
3683 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3684 (tramp-methods, tramp-rsh-end-of-line):
3685 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3686 (tramp-save-ad-hoc-proxies): New defcustom.
3687 (tramp-completion-function-alist): Adapt docstring.
3688 (tramp-default-password-end-of-line): Remove defcustom.
3689 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3690 (tramp-user-regexp, tramp-file-name-regexp-unified)
3691 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3692 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3693 (tramp-remote-file-name-spec-regexp): New defconst.
3694 (tramp-file-name-structure): Extend structure for hops.
3695 (tramp-get-method-parameter): Move up.
3696 (tramp-file-name-p, tramp-dissect-file-name)
3697 (with-parsed-tramp-file-name): Handle hops.
3698 (tramp-file-name-hop): New defun.
3699 (tramp-make-tramp-file-name): New optional arg HOP.
3700 (tramp-message-show-progress-reporter-message): New defvar.
3701 (tramp-with-progress-reporter): Use it. We cannot use
3702 `tramp-message-show-message' here, because this suppresses also
3703 error buffers.
3704 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3705 `tramp-message-show-message' is nil.
3706 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3707 (tramp-cleanup): New defun.
3708 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3709 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3710 an error unchanged.
3711 (tramp-completion-handle-file-name-all-completions): Handle hops.
3712 Fix an error when called from ido.
3713 (tramp-completion-dissect-file-name): Use better local variable
3714 name. Add hop to the vector.
3715 (tramp-handle-insert-file-contents): Use progress-reporter for the
3716 whole scenario.
3717 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3718 to `t'.
3719 (tramp-check-for-regexp): Simplify search.
3720 (tramp-enter-password): Remove it. Move implementation ...
3721 (tramp-action-password): ... here.
3722 (tramp-mode-string-to-int, tramp-local-host-p)
3723 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3724 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3725 Set tramp-autoload cookie.
2fe4b125
MA
3726
3727 * net/trampver.el: Update release number.
3728
37292012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3730 Michael Albinus <michael.albinus@gmx.de>
3731
3732 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3733 (tramp-parse-group, tramp-parse-file)
3734 (tramp-parse-shostkeys-sknownhosts): New defuns.
3735 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3736 (tramp-parse-shosts-group, tramp-parse-sconfig)
3737 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3738 (tramp-parse-sknownhosts, tramp-parse-hosts)
3739 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3740 Use them.
3741 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3742 (tramp-parse-putty-group): Don't narrow.
3743 (tramp-parse-putty): Make a loop.
3744 (tramp-file-name-handler): Catch the `suppress' signal.
3745
72834e10
CY
37462012-06-11 Chong Yidong <cyd@gnu.org>
3747
3748 * image.el (imagemagick-register-types): Put the ImageMagick entry
3749 at the end of image-type-file-name-regexps.
3750
a4712e11
JB
37512012-06-11 Johan Bockgård <bojohan@gnu.org>
3752
3753 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3754 (pcase, pcase-let*, pcase-dolist): Use them.
3755
82ad98e3
SM
37562012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * emacs-lisp/pcase.el (pcase--let*): New function.
3759 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3760 (pcase--expand): Use macroexp-let².
3761
f80efb86
SM
37622012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3765 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3766 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3767 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3768 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3769 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3770
31ca4639 37712012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3772
31ca4639
CY
3773 * mail/rmail.el (rmail-yank-current-message): Leave point at
3774 correct position. (Bug#11660)
94f0aa34 3775
31ca4639 37762012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3777
31ca4639 3778 * allout-widgets.el: Fix code header.
9e1b8ec4 3779
31ca4639 37802012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3781
f80efb86
SM
3782 * cus-edit.el (customize-changed-options-previous-release):
3783 Bump to 24.1.
31ca4639 3784
642b6d30
AS
37852012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3786
3787 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3788
4f5d2ba1
CY
37892012-06-09 Chong Yidong <cyd@gnu.org>
3790
3791 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3792
e75852fd
MR
37932012-06-09 Martin Rudalics <rudalics@gmx.at>
3794
3795 * window.el (special-display-popup-frame): Don't use
3796 window--display-buffer (Bug#11651).
3797
1e48e282
EZ
37982012-06-09 Eli Zaretskii <eliz@gnu.org>
3799
8a26b487
EZ
3800 Fix parallel builds: make sure loaddefs.el is not being written
3801 while Lisp files are compiled.
3802 (compile): Don't depend on 'mh-autoloads'.
3803 (compile-CMD, compile-SH): Depend on 'autoloads'.
3804 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3805
1e48e282
EZ
3806 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3807
6175e34b
CY
38082012-06-09 Chong Yidong <cyd@gnu.org>
3809
3810 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3811 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3812 Doc fixes (Bug#11225).
3813
d9857e53
SM
38142012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3817 a function if there's a clear indication that it has a compiler-macro.
3818 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3819 (macro-declarations-alist): Add arglist to declaration functions.
3820 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3821 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3822 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3823 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3824 Also add autoload to find the compiler macro.
3825 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3826 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3827 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3828 (cl--compiler-macro-get): New functions, replacing calls to
3829 cl-define-compiler-macro.
3830 (cl-typep) [compiler-macro]: Use macroexp-let².
3831
f81298f8 38322012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3833
3834 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3835 string properly, fixes Bug#11473.
3836
4b56d0fe
CY
38372012-06-08 Chong Yidong <cyd@gnu.org>
3838
3839 * faces.el (set-face-attribute): Doc fix.
3840 (modify-face): Don't use :bold and :italic.
3841 (error, warning, success): Tweak definitions.
3842
3843 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3844 (custom-modified, custom-set, custom-changed, custom-themed)
3845 (custom-saved, custom-button, custom-button-mouse)
3846 (custom-button-pressed, custom-state, custom-comment-tag)
3847 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3848 (custom-group-subtitle): Use new-style face specs.
3849 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3850 (custom-set-face, custom-changed-face, custom-saved-face)
3851 (custom-button-face, custom-button-pressed-face)
3852 (custom-documentation-face, custom-state-face)
3853 (custom-comment-face, custom-comment-tag-face)
3854 (custom-variable-tag-face, custom-variable-button-face)
3855 (custom-face-tag-face, custom-group-tag-face-1)
3856 (custom-group-tag-face): Remove obsolete face alias.
3857
3858 * epa.el (epa-validity-high, epa-validity-medium)
3859 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3860 (epa-field-name, epa-field-body):
3861 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3862 (font-lock-keyword-face, font-lock-builtin-face)
3863 (font-lock-function-name-face, font-lock-variable-name-face)
3864 (font-lock-type-face, font-lock-constant-face):
3865 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3866 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3867 * speedbar.el (speedbar-button-face, speedbar-file-face)
3868 (speedbar-directory-face, speedbar-tag-face)
3869 (speedbar-selected-face, speedbar-highlight-face)
3870 (speedbar-separator-face):
3871 * whitespace.el (whitespace-newline, whitespace-space)
3872 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3873 (whitespace-line, whitespace-space-before-tab)
3874 (whitespace-space-after-tab, whitespace-indentation)
3875 (whitespace-empty):
3876 * emulation/cua-base.el (cua-global-mark):
3877 * eshell/em-prompt.el (eshell-prompt):
3878 * net/newst-plainview.el (newsticker-new-item-face)
3879 (newsticker-old-item-face, newsticker-immortal-item-face)
3880 (newsticker-obsolete-item-face, newsticker-date-face)
3881 (newsticker-statistics-face, newsticker-default-face):
3882 * net/newst-reader.el (newsticker-feed-face)
3883 (newsticker-extra-face, newsticker-enclosure-face):
3884 * net/newst-treeview.el (newsticker-treeview-face)
3885 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3886 (newsticker-treeview-immortal-face)
3887 (newsticker-treeview-obsolete-face)
3888 (newsticker-treeview-selection-face):
3889 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3890 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3891 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3892 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3893 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3894 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3895 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3896 (mpuz-text):
3897 * progmodes/vera-mode.el (vera-font-lock-number)
3898 (vera-font-lock-function, vera-font-lock-interface):
3899 * textmodes/table.el (table-cell): Use new-style face specs, and
3900 don't use the old :bold and :italic attributes.
3901
3902 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3903 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3904 (ebrowse-member-class, ebrowse-progress): Likewise.
3905 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3906 (ebrowse-file-name-face, ebrowse-default-face)
3907 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3908 (ebrowse-progress-face): Remove obsolete faces.
3909
3910 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3911 Inherit from error and warning faces respectively.
3912
3913 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3914 Likewise.
f80efb86
SM
3915 (flyspell-incorrect-face, flyspell-duplicate-face):
3916 Remove obsolete aliases.
4b56d0fe 3917
03310646
MA
39182012-06-08 Michael Albinus <michael.albinus@gmx.de>
3919
3920 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3921 Avoid infloop.
3922
513749ee
SM
39232012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * startup.el (argv, argi): Make lexically scoped.
3926 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3927 * emacs-lisp/cl-macs.el: Use lexical-binding.
3928 Rename cl-bind-* to cl--bind-*.
3929 * files.el: Don't require `cl' since it doesn't use it.
3930 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3931
595ef4ad
JB
39322012-06-08 Juanma Barranquero <lekktu@gmail.com>
3933
3934 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3935 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3936 instead of calling external sort utility.
3937 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3938
e9f66fcb
EZ
39392012-06-08 Eli Zaretskii <eliz@gnu.org>
3940
3941 * descr-text.el (describe-char): Mention how to insert the
3942 character, if the current input method doesn't support it.
3943 See the discussion in this thread for the details:
3944 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3945
3d10db47
SS
39462012-06-08 Sam Steingold <sds@gnu.org>
3947
3948 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3949 XF86Back to previous-buffer.
3950 (minibuffer-local-map): Bind them to next-history-element and
3951 previous-history-element respectively.
3952 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3953 help-go-back respectively.
3954 * info.el (Info-mode-map): Bind them to Info-history-forward and
3955 Info-history-back respectively.
3956 These are the keys next to Up on the ThinkPad keyboard.
3957
de7e2b36
SM
39582012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3961 * emacs-lisp/cl-macs.el: Provide itself.
3962 (cl--labels-convert-cache): New var.
3963 (cl--labels-convert): New function.
3964 (cl-flet, cl-labels): New implementation with new semantics, relying on
3965 lexical-binding.
3966 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3967 (cl-closure-vars, cl--function-convert-cache)
3968 (cl--function-convert): Move from cl-macs.el.
3969 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3970 rename by removing the "cl-" prefix.
3971 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3972
6fa6c4ae
SM
39732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3976 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3977 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3978 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3979 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3980 (cl-hash-table-count): Add old compatibility aliases.
3981
3982 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3983 Use macroexpand-all-environment instead.
3984 (cl--old-macroexpand): New var.
3985 (cl--sm-macroexpand): New function.
3986 (cl-symbol-macrolet): Use it during macro expansion.
3987 (cl--function-convert-cache): New var.
3988 (cl--function-convert): New function, extracted from
3989 cl-macroexpand-all.
3990 (cl-lexical-let): Use it.
3991
3992 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3993 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3994 (cl-member): Remove old alias.
3995
3996 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3997 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3998 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3999 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4000 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4001 (cl-macroexpand-cmacs): Remove var.
4002 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4003 Use macroexpand-all instead.
4004
4dd1c416
SM
40052012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4008 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4009 (macroexp-copyable-p): New functions and macros.
4010 * emacs-lisp/edebug.el (edebug-unwrap):
4011 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4012 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4013 (pcase--let*): Remove.
4014 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4015 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4016 macroexp-const-p instead.
4017 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4018
4019 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4020 instead of "cl-" for internal definitions. Use macroexp-const-p.
4021 (cl-old-bc-file-form): Remove var.
4022 (cl-const-exprs-p): Remove fun.
4023 (cl-labels, cl-macrolet): Use backquote.
4024 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4025 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4026 (cl-define-setf-expander): Rename from cl-define-setf-method.
4027 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4028
4029 * international/mule-cmds.el: Don't require CL.
4030 (view-hello-file): Don't use `letf'.
4031
ed8bd4d7
SM
40322012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4033
7287f2f3
SM
4034 * tmm.el (tmm-prompt): Use string-prefix-p.
4035 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4036 (tmm-add-prompt): Use minibuffer-completion-help.
4037 (tmm-delete-map): Remove.
4038
ed8bd4d7
SM
4039 * subr.el (kbd): Make it its own function.
4040
7b4cdbf4
SM
40412012-06-07 Stefan Merten <smerten@oekonux.de>
4042
4043 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4044 Silence compiler warnings. Fix versions.
ed8bd4d7 4045 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4046 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4047 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4048 (rst-package-emacs-version-alist): Correct Emacs version to
4049 represent major merge with upstream.
ed8bd4d7 4050 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4051
2b48d721
GM
40522012-06-06 Glenn Morris <rgm@gnu.org>
4053
4054 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4055 Only print environment variables if set.
4056
fa779ab0
SM
40572012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4060 (macroexp--cons): Rename from maybe-cons.
4061 (macroexp--accumulate): Rename from macroexp-accumulate.
4062 (macroexp--all-forms): Rename from macroexpand-all-forms.
4063 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4064 (macroexp--expand-all): Rename from macroexpand-all-1.
4065
628299e0
SS
40662012-06-06 Sam Steingold <sds@gnu.org>
4067
4068 * calendar/calendar.el (calendar-in-read-only-buffer):
4069 Call `special-mode' to enable the standard read-only keybindings.
4070
b7bb5838
SM
40712012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4074 with "loading" messages (bug#11635).
4075
dfb308ba
MA
40762012-06-06 Michael Albinus <michael.albinus@gmx.de>
4077
4078 * files.el (enable-remote-dir-locals): New option.
4079 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4080
0372ee92
MA
4081 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4082 Ensure, that the temp directory is local.
4083
4084 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4085 `temporary-file-directory'.
4086
eed0bb91
MA
4087 * progmodes/python.el (python-send-region): Ensure, that the
4088 temporary file is created also in the remote case.
4089
7a58f64d
GM
40902012-06-06 Glenn Morris <rgm@gnu.org>
4091
f7dd4e98
GM
4092 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4093 (vc-rcs-update-changelog): Use it.
4094
090bd7cb 4095 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4096
7a58f64d
GM
4097 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4098 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4099 (vc-sccs-diff): Replace use of the external vcdiff script.
4100
daed4003
GM
41012012-06-05 Glenn Morris <rgm@gnu.org>
4102
4103 * ledit.el: Move to obsolete/.
4104
48c455c7
SS
41052012-06-05 Sam Steingold <sds@gnu.org>
4106
ed9265fc 4107 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4108 patch (Bug#11140).
4109
57a7d507
SM
41102012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4111
090bd7cb 4112 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4113
53aacf21
SM
4114 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4115 compiler-macro expansion.
4116
57a7d507
SM
4117 Add native compiler-macro support.
4118 * emacs-lisp/macroexp.el (macroexpand-all-1):
4119 Support compiler-macros directly. Properly follow aliases and apply
4120 the compiler macros more thoroughly.
4121 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4122 macroexpand now properly follows aliases.
4123 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4124 (cl-compiler-macroexpand): Use new prop.
4125 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4126
4127 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4128
51a5f9d8
MR
41292012-06-05 Martin Rudalics <rudalics@gmx.at>
4130
4131 * window.el (get-lru-window, get-mru-window, get-largest-window):
4132 New argument NOT-SELECTED to avoid picking the selected window.
4133 (window--display-buffer-1, window--display-buffer-2): Replace by
4134 new function window--display-buffer
4135 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4136 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4137 Use window--display-buffer.
51a5f9d8
MR
4138 (display-buffer-use-some-window): Remove temporary dedication
4139 hack by calling get-lru-window and get-largest-window with
4140 NOT-SELECTED argument non-nil. Call window--display-buffer.
4141
08f9f738
GM
41422012-06-05 Glenn Morris <rgm@gnu.org>
4143
4144 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4145 Replace external vcdiff script.
4146
e364a2b7
SM
41472012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4150
041df390
CY
41512012-06-04 Chong Yidong <cyd@gnu.org>
4152
e364a2b7
SM
4153 * image.el (imagemagick-types-inhibit): Revert last change.
4154 Add INFO and M.
47b36b94 4155 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4156
7c1898a7
SM
41572012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * emacs-lisp/cl-lib.el: Rename from cl.el.
4160 * emacs-lisp/cl.el: New compatibility file.
4161 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4162 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4163 to obey the "cl-" prefix.
4164 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4165
0c3461de
GM
41662012-06-03 Glenn Morris <rgm@gnu.org>
4167
1e266c88
GM
4168 * emacs-lisp/authors.el (authors-aliases): Addition.
4169
0c3461de
GM
4170 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4171 Fix :version.
4172
d8a52e15
SM
41732012-06-03 Stefan Merten <smerten@oekonux.de>
4174
4175 * textmodes/rst.el: Add comments.
4176 (rst-transition, rst-adornment): New faces.
4177 (rst-adornment-faces-alist): Make default safe to reevaluate.
4178 Fixes
4179 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4180 Improve customization tags.
4181 (rst-define-level-faces): Clarify meaning.
4182
5205d6f6
CY
41832012-06-03 Chong Yidong <cyd@gnu.org>
4184
4185 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4186 (compilation-mode-line-run, compilation-mode-line-exit):
4187 New faces.
5205d6f6
CY
4188 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4189
757ee657
JD
41902012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4191
7c1898a7
SM
4192 * progmodes/which-func.el (which-func-update-ediff-windows):
4193 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4194
5f2c76c6
CY
41952012-06-03 Chong Yidong <cyd@gnu.org>
4196
4197 * bindings.el: Remove explicit help text from format-mode-line.
4198 It is now supplied by mode-line-default-help-echo.
4199 (mode-line-front-space, mode-line-end-spaces)
4200 (mode-line-misc-info): New variables.
4201 (mode-line-modes, mode-line-position): Move the default value to
4202 the variable definition.
4203 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4204 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4205 (mode-line-modified-help-echo): New functions.
4206 (mode-line-mule-info, mode-line-modified): Use them.
4207 (mode-line-eol-desc, propertized-buffer-identification):
4208 Consistency fixes for help text.
cbe46e5f
CY
4209 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4210 set-buffer-file-coding-system (Bug#289).
4211 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4212
f2d6a3df
SM
42132012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * simple.el (execute-extended-command): Set real-this-command
4216 (bug#11506).
4217
37269466
CY
42182012-06-02 Chong Yidong <cyd@gnu.org>
4219
4220 Remove incorrect uses of "modeline" in comments, docstrings, and
4221 function/variable names (Bug#10329).
4222
4223 * cus-edit.el (mode-line):
4224 * dframe.el (dframe-mouse-hscroll):
4225 * emacs-lisp/re-builder.el:
4226 * emacs-lisp/easy-mmode.el (define-minor-mode):
4227 * frame.el (set-frame-name):
4228 * help.el (lookup-minor-mode-from-indicator):
4229 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4230 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4231 (c-toggle-hungry-state):
4232 * progmodes/antlr-mode.el (antlr-language-alist):
4233 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4234 * progmodes/vhdl-mode.el (vhdl-mode):
4235 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4236 * term/ns-win.el (ns-face-at-pos):
4237 * term/sup-mouse.el (sup-mouse-report):
4238 * textmodes/flyspell.el (flyspell-mode-line-string):
4239 * textmodes/ispell.el (ispell-highlight-face):
4240 * textmodes/reftex-global.el:
4241 * vc/vc-arch.el (vc-arch-mode-line-string):
4242 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4243 * vc/vc-git.el (vc-git-mode-line-string):
4244 * vc/vc-hooks.el (vc-display-status)
4245 (vc-default-mode-line-string):
4246 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4247
4248 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4249
4250 * dired.el (dired-sort-set-mode-line): Rename from
4251 dired-sort-set-modeline. All callers changed.
4252
4253 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4254 eshell-status-in-modeline.
4255
4256 * foldout.el (foldout-mode-line-string): Rename from
4257 foldout-modeline-string. All callers changed.
4258 (foldout-update-mode-line): Rename from foldout-update-modeline.
4259
4260 * subr.el (redraw-modeline): Make into obsolete alias.
4261
4262 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4263 timeclock-modeline-display. Make old name an alias.
4264 (timeclock-update-mode-line): Likewise. All callers changed.
4265 (timeclock-mode-line-display): No need to check before using
4266 add-hook.
4267 (timeclock-relative, timeclock-day-over-hook)
4268 (timeclock-use-elapsed, timeclock-mode-string)
4269 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4270
4271 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4272 crisp-mode-modeline-string.
4273
4274 * play/solitaire.el (solitaire-build-mode-line): Rename from
4275 solitaire-build-modeline. All callers changed.
4276
4277 * play/zone.el (zone-hiding-mode-line): Rename from
4278 zone-hiding-modeline. All callers changed.
4279 (zone): Remove unusued `modeline-hidden-level' property.
4280
4281 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4282 xscheme-modeline-initialize. All callers changed.
4283
4284 * strokes.el (strokes-lighter): Rename from
4285 strokes-modeline-string.
4286
4287 * textmodes/sgml-mode.el (html-face-tag-alist)
4288 (html-tag-face-alist): Use mode-line face instead of obsolete
4289 alias modeline.
4290
42152ee4
SM
42912012-06-02 Stefan Merten <smerten@oekonux.de>
4292
4293 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4294 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4295
95f520b5
CY
42962012-06-02 Chong Yidong <cyd@gnu.org>
4297
4298 * image.el (imagemagick-enabled-types): Rename from
4299 imagemagick-types-enable. Add many more types.
4300 (imagemagick-types-inhibit): Change default to nil.
4301 (imagemagick-filter-types): Caller changed.
4302
4a5f187a
SM
43032012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4304
03fef3e6
SM
4305 * emacs-lisp/cl-macs.el: Use backquotes.
4306 (cl-transform-function-property): Use eval-and-compile rather than
4307 abusing `require'.
4308 (defstruct): Use declare-function instead of with-no-warnings.
4309
4a5f187a
SM
4310 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4311 (byte-compile-output-docform): Re-add the print-circle bindings.
4312 (byte-compile-fix-header): Use #$ just because it's shorter.
4313 (byte-compile-output-file-form): Remove defun/defmacro.
4314
bd56924f
MR
43152012-06-01 Martin Rudalics <rudalics@gmx.at>
4316
4317 * simple.el (choose-completion): Remove now obsolete binding for
4318 owindow.
4319
046e38ce
MA
43202012-06-01 Michael Albinus <michael.albinus@gmx.de>
4321
4322 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4323 in order to avoid "Stack overflow in regexp matcher".
4324
32d72c2f
GM
43252012-05-31 Glenn Morris <rgm@gnu.org>
4326
4327 * image.el: For clarity, call imagemagick-register-types at
4328 top-level, rather than relying on a custom :initialize.
4329 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4330 (imagemagick-filter-types): New function. (Bug#7406)
4331 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4332 If disabling support, remove elements altogether rather
4333 than using an impossible regexp.
4334 (imagemagick-types-inhibit): Give it the default init function.
4335
dd41169b
SM
43362012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4a5f187a
SM
4338 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4339 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4340
efc00ab1 43412012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4342
4343 * desktop.el (desktop-read): Clear previous and next buffers for
4344 all windows and bury *Messages* buffer (bug#11556).
4345
500fcedc
SM
43462012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 Add `declare' for `defun'. Align `defmacro's with it.
4349 * emacs-lisp/easy-mmode.el (define-minor-mode)
4350 (define-globalized-minor-mode): Don't autoload the var definitions.
4351 * emacs-lisp/byte-run.el: Use lexical-binding.
4352 (defun-declarations-alist, macro-declarations-alist): New vars.
4353 (defmacro, defun): Use them.
4354 (make-obsolete, define-obsolete-function-alias)
4355 (make-obsolete-variable, define-obsolete-variable-alias):
4356 Use `declare'.
4357 (macro-declaration-function): Mark obsolete.
4358 * emacs-lisp/autoload.el: Use lexical-binding.
4359 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4360
6e8a1786
AM
43612012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4362
4363 * textmodes/ispell.el (ispell-with-no-warnings):
4364 Define as a macro.
500fcedc
SM
4365 (ispell-kill-ispell, ispell-change-dictionary):
4366 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4367 `interactive-p'.
4368
61b108cc
SM
43692012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4372 (macro-declaration-function): Move var from C code.
4373 (macro-declaration-function): Define function with defalias.
4374 * emacs-lisp/macroexp.el (macroexpand-all-1):
4375 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4376 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4377 defun/defmacro any more.
4378 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4379 Provide fallback for unknown arglist.
4380 (byte-compile-arglist-warn): Change calling convention.
4381 (byte-compile-output-file-form): Move print-vars binding.
4382 (byte-compile-output-docform): Simplify accordingly.
4383 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4384 (byte-compile-defmacro-declaration): Remove.
4385 (byte-compile-file-form-defmumble): Generalize to defalias.
4386 (byte-compile-output-as-comment): Return byte-positions.
4387 Simplify callers accordingly.
4388 (byte-compile-lambda): Use `assert'.
4389 (byte-compile-defun, byte-compile-defmacro): Remove.
4390 (byte-compile-file-form-defalias):
4391 Use byte-compile-file-form-defmumble.
4392 (byte-compile-defalias-warn): Remove.
4393
6d3f7c2f
SM
43942012-05-29 Stefan Merten <smerten@oekonux.de>
4395
4396 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4397 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4398
4399 (rst-mode-abbrev-table): Merge definition.
4400 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4401 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4402
6dbaa1c7
UJ
44032012-05-29 Ulf Jasper <ulf.jasper@web.de>
4404
4405 * calendar/icalendar.el
4406 (icalendar-export-region): Export UID properly.
4407
d209e2fb 44082012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4409 * calendar/icalendar.el (icalendar-import-format):
4410 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4411 (icalendar-import-format-uid): New.
4412 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4413 Export UID.
4414
6876a58d
SM
44152012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4418 different alternative patterns.
4419 (pcase-codegen): Be more careful to preserve identity.
4420 (pcase--u1): Don't forget to mark vars as used.
4421
4422 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4423 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4424 (byte-compile-from-buffer): ...rather than here.
4425
4426 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4427 functions from byte-compile-function-environment.
4428
46b7967e
TN
44292012-05-29 Troels Nielsen <bn.troels@gmail.com>
4430
4431 * window.el (window-deletable-p): Avoid deleting the root window
4432 of a frame with an active minibuffer.
4433
69d565e2
MR
44342012-05-29 Martin Rudalics <rudalics@gmx.at>
4435
4436 * simple.el (choose-completion): Use quit-window (Bug#11567).
4437
a149fa51
CY
44382012-05-29 Chong Yidong <cyd@gnu.org>
4439
4440 * whitespace.el (whitespace-cleanup): Fix usage of
4441 whitespace-empty-at-bob-regexp (Bug#11492).
4442
2b311310
AH
44432012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4444
4445 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4446 revert (Bug#11488).
4447
b9cb2387
JL
44482012-05-29 Juri Linkov <juri@jurta.org>
4449
4450 * isearch.el (isearch-mode-map): Bind `M-s _' to
4451 `isearch-toggle-symbol'. Bind `M-s c' to
4452 `isearch-toggle-case-fold'.
4453 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4454 (isearch-forward): Add `M-s _' to the docstring.
4455 (isearch-forward-symbol, isearch-toggle-case-fold)
4456 (isearch-symbol-regexp): New functions. (Bug#11381)
4457
d5e61c1c
JL
44582012-05-29 Juri Linkov <juri@jurta.org>
4459
4460 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4461 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4462 a function, call it to get the regexp.
4463 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4464 property `isearch-message-prefix' instead of the string "word ".
4465 (isearch-search-fun-default): For the case of `isearch-word',
4466 return a lambda that calls re-search-forward/re-search-backward
4467 with a regexp returned by `word-search-regexp' or by the function
4468 in `isearch-word'.
4469
8cbd80f7
JL
44702012-05-29 Juri Linkov <juri@jurta.org>
4471
4472 * isearch.el (isearch-search-fun-default): New function.
4473 (isearch-search-fun): Move default part to the new function
4474 `isearch-search-fun-default'.
4475 (isearch-search-fun-function): Set the default value to
4476 `isearch-search-fun-default'. (Bug#11381)
4477
4478 * comint.el (comint-history-isearch-end):
4479 Use `isearch-search-fun-default'.
4480 (comint-history-isearch-search): Use `isearch-search-fun-default'
4481 and remove spacial case for `isearch-word'.
4482 (comint-history-isearch-wrap): Remove spacial case for
4483 `isearch-word'.
4484
4485 * hexl.el (hexl-isearch-search-function):
4486 Use `isearch-search-fun-default'.
4487
4488 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4489 Use `word-search-regexp' for `isearch-word'.
4490
4491 * misearch.el (multi-isearch-search-fun):
4492 Use `isearch-search-fun-default'.
4493
4494 * simple.el (minibuffer-history-isearch-search):
4495 Use `isearch-search-fun-default' and remove spacial case for
4496 `isearch-word'.
4497 (minibuffer-history-isearch-wrap): Remove spacial case for
4498 `isearch-word'.
4499
4500 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4501 Remove spacial case for `isearch-word'.
4502 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4503
85c8c5b6
AM
45042012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4505
4506 Decrease XEmacs incompatibilities.
4507 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4508 Use `string-match'.
4509 (flyspell-delete-region-overlays): Use alternative definition for
4510 XEmacs.
4511 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4512 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4513 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4514 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4515 `define-obsolete-face-alias' under XEmacs, but old method.
4516
4517 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4518 `with-no-warnings' definition or Emacs alias.
4519 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4520 (ispell-word): Do not use `region-p' if XEmacs.
4521
8cab9efc
AM
45222012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4523
4524 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4525 Check for `ispell-dictionary-base-alist' instead of full
4526 `ispell-dictionary-alist'.
4527 (ispell-init-process): Show spellchecker when starting new Ispell
4528 process.
4529
fda91268
RZ
45302012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4533 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4534
694ea8e3
JB
45352012-05-27 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * version.el (motif-version-string, gtk-version-string)
4538 (ns-version-string): Declare.
4539
e4d4f539
JL
45402012-05-27 Juri Linkov <juri@jurta.org>
4541
4542 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4543 after the `eval-defun-1' specialcaseing
4544 like in `edebug-eval-defun' (bug#10181).
4545
4546 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4547 like in `eval-defun-1'.
4548
33017faf 45492012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4550
fda91268
RZ
4551 * mail/sendmail.el (mail-yank-region):
4552 Recognize rmail-yank-current-message in addition to insert-buffer.
4553 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4554 a *mail* buffer created through rmail-start-mail with sendmail as
4555 mail-user-agent.
4556
33017faf
GM
45572012-05-27 Chong Yidong <cyd@gnu.org>
4558
4559 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4560 Default to 256 (Bug#11267).
4561
4562 * help.el (describe-mode): Doc fix.
4563
04188bb9
GM
45642012-05-26 Glenn Morris <rgm@gnu.org>
4565
38264cc9
GM
4566 * w32-fns.el (w32-init-info): Remove.
4567 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4568
eb7afdad
GM
4569 * info.el (info-initialize): For self-contained NS builds, put the
4570 included info/ directory at the front. (Bug#2791)
4571
04188bb9
GM
4572 * paths.el (Info-default-directory-list): Make it a defcustom,
4573 mainly so that we can use custom-initialize-delay.
4574
a179e3f7
SM
45752012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4576
43416392
SM
4577 * subr.el (buffer-has-markers-at): Mark obsolete.
4578
a179e3f7 4579 * subr.el (lambda): Use declare.
43416392 4580
a179e3f7
SM
4581 * emacs-lisp/lisp-mode.el (lambda):
4582 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4583
34a008d9
AH
45842012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4585
4586 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4587
0a3b289f
GM
45882012-05-26 Glenn Morris <rgm@gnu.org>
4589
4590 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4591
758c81e8
GM
45922012-05-25 Glenn Morris <rgm@gnu.org>
4593
f9f334f0
GM
4594 * paths.el: Remove no-byte-compile.
4595 * loadup.el: No need to load paths.el uncompiled.
4596
87eb79c2
GM
4597 * image.el (imagemagick-types-inhibit): Doc fix.
4598
758c81e8
GM
4599 * version.el: Remove no-byte-compile and associated formatting.
4600 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4601 is ancient code from when there was an "inc-vers.el".
4602
e7e85dc0
SM
46032012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * progmodes/gdb-mi.el: Minor style changes.
4606 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4607 Turn into minor modes.
4608 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4609 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4610 (gdb-shell): Remove unneeded let-binding.
4611 (gdb-get-many-fields): Eliminate O(n²) behavior.
4612
f31237a4
EZ
46132012-05-25 Eli Zaretskii <eliz@gnu.org>
4614
4615 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4616 platforms that don't link in fontset.c.
4617
bc1b21bb
JL
46182012-05-25 Juri Linkov <juri@jurta.org>
4619
4620 Use the same diff color scheme as in modern VCSes (bug#10181).
4621
4622 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4623 to avoid confusion with `diff-added' that now uses green colors.
4624 (diff-removed): Use shades of red.
4625 (diff-added): Use shades of green.
4626 (diff-changed): Leave just the yellow color.
4627 (diff-use-changed-face): New variable.
4628 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4629 how to highlight context diff changes.
4630 (diff-refine-change): Use shades of yellow.
4631 (diff-refine-removed): New face that uses shades of red.
4632 (diff-refine-added): New face that uses shades of green.
4633 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4634 `diff-refine-removed' in the call to `smerge-refine-subst'
4635 depending on the value of `diff-use-changed-face'.
4636
4637 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4638 (smerge-other): Use shades of green.
4639 (smerge-base): Use shades of yellow.
4640 (smerge-refined-change): Empty face.
4641 (smerge-refined-removed): New face that uses shades of red.
4642 (smerge-refined-added): New face that uses shades of green.
4643 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4644 args `props-r' and `props-a', and use them. Doc fix.
4645 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4646 on its value use different faces `smerge-refined-change',
4647 `smerge-refined-removed', `smerge-refined-added' in the call to
4648 `smerge-refine-subst'.
4649
4650 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4651 Add face condition `min-colors 88' with shades of red.
4652 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4653 `min-colors 88' with shades of green.
4654 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4655 `min-colors 88' with shades of yellow.
4656
6df9112c
GM
46572012-05-24 Glenn Morris <rgm@gnu.org>
4658
ead5edc0
GM
4659 * paths.el (prune-directory-list, remote-shell-program): Move to...
4660 * files.el (prune-directory-list, remote-shell-program): ...here.
4661 For the latter, delay initialization, prefer ssh, just search PATH.
4662
f18b81e6
GM
4663 * paths.el (term-file-prefix): Move to faces.el (the only user).
4664 * faces.el (term-file-prefix): Move here, make it a defcustom.
4665
ee2f89a6
GM
4666 * paths.el (news-directory, news-path, news-inews-program):
4667 Move to gnus/nnspool.el.
61a583ca 4668
f8815e4c
GM
4669 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4670
c8f3b42c
GM
4671 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4672 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4673 Make the latter a defcustom, with a delayed initialization.
4674
6df9112c
GM
4675 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4676 These were deleted from Gnus itself late 2010.
4677
5dadff36
JB
46782012-05-22 Juanma Barranquero <lekktu@gmail.com>
4679
9e1701c6
JB
4680 * progmodes/which-func.el (which-func-ff-hook):
4681 Check against user-error, not error.
4682
bd7239f5 4683 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4684 cl-specs.el, which no longer exists.
4685
3290526d
GM
46862012-05-22 Glenn Morris <rgm@gnu.org>
4687
4688 * info.el (info-emacs-bug): New command.
4689 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4690 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4691
ff0c3cfb
GM
46922012-05-21 Glenn Morris <rgm@gnu.org>
4693
4694 * makefile.w32-in (update-subdirs-SH):
4695 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4696
5814f126
SM
46972012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4698
a52c0aa0
SM
4699 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4700
5814f126
SM
4701 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4702 Simplify Maven regexp, and make sure the file can't start with a space
4703 (bug#11517).
4704
b847032c
GM
47052012-05-21 Glenn Morris <rgm@gnu.org>
4706
4707 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4708 Scrap superfluous subshells.
4709
3858bfe7
SM
47102012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4713 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4714
d14b0029
JB
47152012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4716
4717 * calc/calc.el (calc-ensure-consistent-units): New variable.
4718
a52c0aa0
SM
4719 * calc/calc-units.el (math-consistent-units-p)
4720 (math-check-unit-consistency): New functions.
4721 (calc-quick-units, calc-convert-units):
4722 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4723 is non-nil.
d14b0029
JB
4724 (calc-extract-units): Fix typo.
4725
60c4db3a
SM
47262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4727
77f3b62e
SM
4728 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4729
60c4db3a
SM
4730 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4731 (flyspell-default-deplacement-commands): Don't spell check after
4732 repeated window/frame switches (e.g. triggered by mouse-movement).
4733 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4734 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4735 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4736 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4737 Remove unused vars.
4738 (flyspell-get-casechars, flyspell-get-not-casechars):
4739 Simplify; Don't bother removing a ] just to add it back.
4740 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4741
d209e2fb 47422012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4743
4744 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4745 New functions.
bd7239f5 4746 (math-function-table): Add support for more C functions.
b1a10716 4747
3f1b25b5
AM
47482012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4749
090bd7cb
JB
4750 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4751 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4752 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4753
b581bb5c
SM
47542012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4757 their respective macro declarations.
4758 * skeleton.el (define-skeleton):
4759 * progmodes/compile.el (define-compilation-mode):
4760 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4761 (define-ibuffer-filter):
4762 * emacs-lisp/generic.el (define-generic-mode):
4763 * emacs-lisp/easy-mmode.el (define-minor-mode)
4764 (define-globalized-minor-mode):
4765 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4766 * emacs-lisp/byte-run.el (defsubst):
4767 * custom.el (deftheme): Add doc-string metadata.
4768
70b8ef8f
SM
47692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4772
b1198e17
SM
47732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4774
9abdc45d
SM
4775 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4776
b1198e17
SM
4777 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4778 * emacs-lisp/cl-macs.el: Idem.
4779 * emacs-lisp/cl-specs.el: Remove.
4780
4735906a
SM
47812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 Minor renaming of internal CL functions and variables.
4784 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4785 (cl--position): Rename from cl-position.
4786 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4787 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4788 (cl--random-state): Rename from *random-state*.
4789
ac348012
SM
47902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4793 parens around the arg list (bug#11499).
4794
a0a79cde
JL
47952012-05-17 Juri Linkov <juri@jurta.org>
4796
4797 * isearch.el (word-search-regexp, word-search-backward)
4798 (word-search-forward, word-search-backward-lax)
4799 (word-search-forward-lax): Move functions from search.c
4800 (bug#10145, bug#11381).
4801
65034a51
AM
48022012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4803
090bd7cb
JB
4804 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4805 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4806 Delay for otherchars as for normal word components.
65034a51 4807
1a72a195
SM
48082012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * minibuffer.el (completion--sifn-requote): Fix last change.
4811 (minibuffer-local-must-match-filename-map):
4812 Move define-obsolete-variable-alias before its var.
4813
fdb058c2
SM
48142012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4815
c41045e6
SM
4816 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4817
036dfb8b
SM
4818 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4819 behavior.
4820 (completion--string-equal-p): New function.
4821 (completion--twq-all): Use it to get better assertion failure data.
4822
2473256d
SM
4823 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4824 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4825 (shell--requote-argument): New functions.
4826 (shell-completion-vars): Use them.
4827 (shell--parse-pcomplete-arguments): Rename from
4828 shell-parse-pcomplete-arguments.
4829 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4830 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4831 Obey comint-file-name-quote-list.
4832
fdb058c2
SM
4833 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4834 (smie-indent-keyword): Use it.
4835
51fa99f1
SM
48362012-05-14 Stefan Merten <smerten@oekonux.de>
4837
4838 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4839
e18afed7 48402012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4841
4842 * net/rlogin.el (rlogin-mode-map): Fix last change.
4843
e18afed7 48442012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4845
4846 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4847 the following \r\n using a single `process-send-string', since the
4848 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4849 with two `process-send-string's (Bug#11444).
8633b1f4 4850
e18afed7 48512012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4852
fdb058c2
SM
4853 * shell.el (shell-parse-pcomplete-arguments):
4854 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4855
2d21d7f6
WJ
48562012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4857
e18afed7 4858 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4859 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4860 (image-transform-width, image-transform-fit-width): New functions.
4861 (image-transform-properties): Use them.
4862 (image-transform-check-size): New function.
4863 (image-toggle-display-image): Use it (for testing).
4864 (image-transform-set-rotation): Reduce angle mod 360.
4865 Delete obsolete comment.
4866
7102e6d0
WJ
48672012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4868
4869 * image-mode.el: Fix scaling (bug#11399).
4870 (image-transform-resize): Doc fix.
4871 (image-transform-properties): Default scale is 1 and height should
4872 be an integer.
4873
06bc5e6e
SM
48742012-05-13 Johan Bockgård <bojohan@gnu.org>
4875
4876 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4877 than hard-coding `car', to fix misbehavior when moving forward.
4878
0ae03b6a
CY
48792012-05-13 Chong Yidong <cyd@gnu.org>
4880
4881 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4882 (tabulated-list-entries, tabulated-list-padding)
4883 (tabulated-list-sort-key): Make permanent-local.
4884
4885 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4886 (electric-buffer-list): Put electric buffer menu
4887 command descriptions in this docstring, instead of the docstring
4888 of electric-buffer-menu-mode. Code cleanups.
4889 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4890 Electric-buffer-menu-mode.
4891 (electric-buffer-update-highlight): Minor code cleanup.
4892
205a7391
MA
48932012-05-13 Michael Albinus <michael.albinus@gmx.de>
4894
4895 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4896 (Bug#11447)
4897
e5bd0a28
SM
48982012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 Move define-obsolete-variable-alias before the var's definition.
4901 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4902 * tooltip.el (tooltip-hook):
4903 * textmodes/reftex-toc.el (reftex-toc-map):
4904 * textmodes/reftex-sel.el (reftex-select-label-map)
4905 (reftex-select-bib-map):
4906 * textmodes/reftex-index.el (reftex-index-map)
4907 (reftex-index-phrases-map):
4908 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4909 * progmodes/meta-mode.el (meta-mode-map):
4910 * novice.el (disabled-command-hook):
4911 * loadhist.el (unload-hook-features-list):
4912 * frame.el (blink-cursor):
4913 * files.el (find-file-not-found-hooks, write-file-hooks)
4914 (write-contents-hooks):
4915 * emulation/tpu-edt.el (GOLD-map):
4916 * emacs-lock.el (emacs-lock-from-exiting):
4917 * emacs-lisp/generic.el (generic-font-lock-defaults):
4918 * emacs-lisp/chart.el (chart-map):
4919 * dos-fns.el (register-name-alist):
4920 * dired-x.el (dired-omit-files-p):
4921 * desktop.el (desktop-enable):
4922 * cus-edit.el (custom-mode-hook):
4923 * buff-menu.el (buffer-menu-mode-hook):
4924 * bookmark.el (bookmark-read-annotation-text-func)
4925 (bookmark-exit-hooks):
4926 * allout.el (allout-mode-deactivate-hook)
4927 (allout-exposure-change-hook, allout-structure-added-hook)
4928 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4929 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4930 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4931 comes before the corresponding variable's definition.
4932
ac59c2f6
CY
49332012-05-12 Chong Yidong <cyd@gnu.org>
4934
4935 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4936 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4937 (Buffer-menu-mode-map): Bind it.
4938 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4939
dee6c9a3
SM
49402012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4941
2171cea5
SM
4942 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4943 (prolog-upper-case-string, prolog-lower-case-string)
4944 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4945 (prolog-use-smie, prolog-smie-grammar): New vars.
4946 (prolog-smie-forward-token, prolog-smie-backward-token)
4947 (prolog-smie-rules): New funs.
4948 (prolog-comment-indent): Remove.
4949 (prolog-mode-variables): Use default comment indentation instead.
4950 Setup SMIE.
4951 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4952 (prolog-mode): Don't call them any more.
4953 (prolog-electric-colon, prolog-electric-dash)
4954 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4955
aa0382bd
SM
4956 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4957
dbacb4bd
SM
4958 * minibuffer.el (completion--twq-all): Again, allow case differences.
4959
13bdd94c
SM
4960 * term.el: Move keymap initialization code to be more idiomatic.
4961 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4962 (term-terminal-menu): Move initialization into declaration.
4963 (term-escape-char): Let the user set it in her .emacs.
4964
ff46c759
SM
4965 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4966 Provide SMIE-based indentation (not enabled by default yet).
4967 (sh-mode-map): Don't bind electric keys.
4968 Use electric-pair-mode instead of skeleton-pair.
4969 (sh-assignment-regexp): Fit within 80 columns.
4970 (sh-indent-supported): Specify actual shell name instead of boolean.
4971 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4972 (sh-maybe-here-document): Use it. Make obsolete.
4973 (sh-electric-here-document-mode) New minor mode.
4974 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4975 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4976 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4977 (sh-smie-rc-grammar, sh-use-smie): New vars.
4978 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4979 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4980 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4981 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4982 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4983 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4984 (sh-set-shell): Use smie-setup if requested.
4985
dee6c9a3
SM
4986 * term.el (term-set-escape-char): Properly set term-escape-char.
4987 See http://stackoverflow.com/questions/10524656.
4988
9f9aa044
CY
49892012-05-10 Chong Yidong <cyd@gnu.org>
4990
4991 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4992 Use url-generic-parse-url, and handle host names and Windows
4993 filenames properly.
4994 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4995 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4996 URL schemes to work on.
4997 (ffap--toggle-read-only): New function.
4998 (ffap-read-only, ffap-read-only-other-window)
4999 (ffap-read-only-other-frame): Use it.
5000 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5001 necessary for ffap-url-unwrap-remote.
5002
836d29b3
DA
50032012-05-10 Dave Abrahams <dave@boostpro.com>
5004
5005 * cus-start.el (create-lockfiles): Add it.
5006
00fd78ed
CY
50072012-05-09 Chong Yidong <cyd@gnu.org>
5008
5009 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5010 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5011
666b903b 50122012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5013
5014 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5015
666b903b 50162012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5017
5018 * ansi-color.el (ansi-color-process-output): Check for validity of
5019 comint-last-output-start before using it. This avoids a bad
5020 interaction with gdb-mi's input/output buffer.
5021
666b903b 50222012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5023
5024 * files.el (dir-locals-read-from-file):
5025 Mention dir-locals in any error message.
5026
666b903b 50272012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5028
5029 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5030 package (Bug#11410).
5031
f677562b
CY
5032 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5033 variables into description.
5034
666b903b 50352012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5036
5037 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5038 shell-delimiter-argument-list (bug#11348).
5039 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5040
b499d8d0
JB
50412012-05-09 Juanma Barranquero <lekktu@gmail.com>
5042
8f6b6da8
JB
5043 * textmodes/rst.el: Silence byte-compiler warnings.
5044 (rst-re-alist, rst-reset-section-caches): Move around.
5045 (rst-re): Use `characterp', not `char-valid-p'.
5046 (font-lock-beg, font-lock-end): Declare.
5047
4824146a
JB
5048 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5049 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5050
b499d8d0
JB
5051 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5052
ad89bb83
GM
50532012-05-08 Glenn Morris <rgm@gnu.org>
5054
5055 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5056
8bba5a75
SM
50572012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5058
49ed9c8e
SM
5059 * vc/log-edit.el: Add GNU coding standards highlighting.
5060 (log-edit-font-lock-gnu-style)
5061 (log-edit-font-lock-gnu-keywords): New vars.
5062 (log-edit-font-lock-keywords): New fun.
5063 (log-edit-mode): Don't fold case in font-lock.
5064 (log-edit-font-lock-keywords): Do not assume case-folding.
5065
07d00b56
SM
5066 * imenu.el: Misc cleanup. Make docstrings out of comments.
5067 Use lexical-binding.
5068 (imenu--index-alist, imenu--last-menubar-index-alist)
5069 (imenu-menubar-modified-tick): Use defvar-local.
5070 (imenu--split-menu): Remove unused var.
5071 (imenu--cleanup-seen): Declare as global.
5072 (imenu--cleanup): Use dolist.
5073
8bba5a75
SM
5074 * subr.el (defvar-local): Add debug spec and doc-string position.
5075
5075bdb5
GM
50762012-05-08 Glenn Morris <rgm@gnu.org>
5077
090bd7cb 5078 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5079 * language/english.el, language/georgian.el, language/greek.el:
5080 * language/japanese.el, language/khmer.el, language/korean.el:
5081 * language/lao.el, language/misc-lang.el, language/romanian.el:
5082 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5083 * language/thai.el, language/utf-8-lang.el:
5084 Remove no-byte-compile setting.
5085
5075bdb5
GM
5086 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5087
06f679a7
AH
50882012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5089
5090 * progmodes/make-mode.el (makefile-browse):
5091 Remove unnecessary interactive. (Bug#11324)
5092
03794570
GM
50932012-05-07 Glenn Morris <rgm@gnu.org>
5094
af8630f4
GM
5095 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5096
03794570
GM
5097 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5098
f0809a9d
SM
50992012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5100
28be5ce7
SM
5101 * loadup.el: Preload newcomment.el.
5102 * newcomment.el: Move autoload-only code to toplevel.
5103
f0809a9d
SM
5104 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5105 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5106 Handle new :right-align column property.
5107 (tabulated-list-print-col): Idem, plus use `display' text-property to
5108 try and preserve alignment for variable pitch fonts.
5109
1241b724
CY
51102012-05-07 Chong Yidong <cyd@gnu.org>
5111
5112 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5113 (tabulated-list-use-header-line): New var.
5114 (tabulated-list-init-header): Use it.
5115 (tabulated-list-print-fake-header): New function.
5116 (tabulated-list-print): Use it.
5117 (tabulated-list-sort-button-map): Add non-header-line commands.
5118 (tabulated-list-init-header): Add column name property to basic
5119 labels as well.
5120 (tabulated-list-col-sort): Handle non-header-line button case.
5121 (tabulated-list--sort-by-column-name): Fix a corner case.
5122
f0809a9d
SM
5123 * buff-menu.el (list-buffers--refresh):
5124 Handle Buffer-menu-use-header-line.
1241b724 5125
e5f9458f
CY
51262012-05-06 Chong Yidong <cyd@gnu.org>
5127
5128 * buff-menu.el: Convert to Tabulated List mode.
5129 (Buffer-menu-buffer+size-width): Make obsolete.
5130 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5131 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5132 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5133 documentation into docstring of buffer-menu.
5134 (Buffer-menu-toggle-files-only): Add an informative message.
5135 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5136 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5137 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5138 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5139 (Buffer-menu-execute, Buffer-menu-select)
5140 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5141 (Buffer-menu-bury): Use Tabulated List machinery.
5142 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5143 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5144 Delete.
e5f9458f
CY
5145 (list-buffers--refresh): New function.
5146 (list-buffers-noselect): Use it.
5147 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5148 (Buffer-menu--pretty-file-name): New helper functions.
5149
5150 * loadup.el: Preload tabulated-list.
5151
5152 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5153 tabulated-list-sort-column.
5154 (tabulated-list-init-header): Add the initial aligning space even
5155 if tabulated-list-padding is zero.
5156
e129292c
CS
51572012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5158
5159 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5160 whose cdr is not a cons cell correctly (bug#11038).
5161
6632d361
CY
51622012-05-06 Chong Yidong <cyd@gnu.org>
5163
e129292c
CS
5164 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5165 Accept additional plist in column descriptors.
6632d361
CY
5166 (tabulated-list-init-header): Obey it.
5167 (tabulated-list-get-entry): New function.
5168 (tabulated-list-put-tag): Use it. Use string-width instead of
5169 length.
5170 (tabulated-list--column-number): New function.
5171 (tabulated-list-print): Use it.
e129292c
CS
5172 (tabulated-list-print-col): New function.
5173 Set `tabulated-list-column-name' property on each column's text.
6632d361 5174 (tabulated-list-print-entry): Use it.
e129292c
CS
5175 (tabulated-list-delete-entry, tabulated-list-set-col):
5176 New functions.
6632d361
CY
5177 (tabulated-list-sort-column): New command (Bug#11337).
5178
3cc99f68
CY
5179 * buff-menu.el (list-buffers): Move C-x C-b binding from
5180 buff-menu.el to bindings.el.
5181
5182 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5183 :advertised-binding feature.
5184
52b61776
TN
51852012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5186
5187 * progmodes/compile.el (compilation-internal-error-properties):
5188 Calculate start position correctly when end-col is set but
5189 end-line is not (Bug#11382).
5190
ebfe2597
WJ
51912012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5192
5193 * man.el (Man-unindent): Use text-property-default-nonsticky to
5194 prevent untabify from inheriting face properties (Bug#11408).
5195
6d3f7c2f
SM
51962012-05-05 Stefan Merten <smerten@oekonux.de>
5197
5198 * textmodes/rst.el: Major merge with upstream development up to
5199 Docutils SVN r7399 / rst.el V1.2.1.
5200
5201 Clarify maintainership and authors.
5202
5203 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5204 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5205 (rst-official-version, rst-official-cvs-rev, rst-version)
5206 (rst-package-emacs-version-alist): New functions and variables
5207 for version information.
5208
5209 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5210 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5211 (rst-mode-syntax-table, rst-mode): New and corrected functions
5212 and variables representing reStructuredText features.
5213
5214 (rst-re): New function for reStructuredText regexes. Use in
5215 many places.
5216
5217 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5218 (rst-mode-map): Rebind keys.
5219
5220 (rst-mode-lazy, rst-font-lock-keywords)
5221 (rst-font-lock-extend-region)
5222 (rst-font-lock-extend-region-internal)
5223 (rst-font-lock-extend-region-extend)
5224 (rst-font-lock-find-unindented-line-limit)
5225 (rst-font-lock-find-unindented-line-match)
5226 (rst-adornment-level, rst-font-lock-adornment-level)
5227 (rst-font-lock-adornment-match)
5228 (rst-font-lock-handle-adornment-pre-match-form)
5229 (rst-font-lock-handle-adornment-matcher): Major revision of
5230 font-locking. Integrate with other code. Use `jit-lock-mode'.
5231
5232 (rst-preferred-adornments, rst-adjust-hook)
5233 (rst-new-adornment-down, rst-preferred-bullets)
5234 (rst-preferred-bullets, rst-indent, rst-indent-width)
5235 (rst-indent-field, rst-indent-literal-normal)
5236 (rst-indent-literal-minimized, rst-indent-comment): Change,
5237 extend and improve customization.
5238
5239 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5240 (rst-normalize-cursor-position, rst-get-decoration)
5241 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5242 (rst-rstrip, rst-toc-insert-find-delete-contents)
5243 (rst-shift-fill-region, rst-compute-bullet-tabs)
5244 (rst-debug-print-tabs, rst-debug-mark-found)
5245 (rst-shift-region-guts, rst-shift-region-right)
5246 (rst-shift-region-left, rst-use-char-classes)
5247 (rst-font-lock-keywords-function)
5248 (rst-font-lock-indentation-point)
5249 (rst-font-lock-find-unindented-line-begin)
5250 (rst-font-lock-find-unindented-line-end)
5251 (rst-font-lock-find-unindented-line)
5252 (rst-font-lock-adornment-point, rst-font-lock-level)
5253 (rst-adornment-level-alist): Remove functions and variables.
5254
5255 (rst-compare-adornments, rst-get-adornment-match)
5256 (rst-suggest-new-adornment, rst-get-adornments-around)
5257 (rst-adornment-complete-p, rst-get-next-adornment)
5258 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5259 (rst-straighten-adornments): Standardize function names to
5260 use "adornment" instead of "decoration". Correct callers.
5261 Similar standardizing in many places.
5262
5263 (rst-update-section, rst-adjust, rst-promote-region)
5264 (rst-enumerate-region, rst-bullet-list-region)
5265 (rst-repeat-last-character): Correct use of `interactive'.
5266
5267 (rst-classify-adornment, rst-find-all-adornments)
5268 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5269 (rst-find-leftmost-column, rst-repeat-last-character):
5270 Refactor functions.
5271
5272 (rst-find-title-line, rst-reset-section-caches)
5273 (rst-get-adornments-around, rst-adjust-adornment-work)
5274 (rst-arabic-to-roman, rst-roman-to-arabic)
5275 (rst-insert-list-pos, rst-insert-list-new-item)
5276 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5277 New functions.
5278
5279 (rst-all-sections, rst-section-hierarchy)
5280 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5281 New variables.
5282
5283 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5284 configuration instead of only buffer. Change where necessary.
5285
5286 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5287 (rst-shift-region, rst-adaptive-fill): New functions for
5288 indentation and filling.
5289
5290 (rst-comment-line-break, rst-comment-indent)
5291 (rst-comment-insert-comment, rst-comment-region)
5292 (rst-uncomment-region): New functions for handling comments.
5293
5294 (rst-compile): Quote shell arguments.
5295
5296 (rst-compile-pdf-preview, rst-compile-slides-preview):
5297 Delete temporary files after use.
5298
a43f98b3
GM
52992012-05-05 Glenn Morris <rgm@gnu.org>
5300
48176e8b
GM
5301 * calendar/cal-html.el: Optionally include holidays in the output.
5302 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5303 (cal-html-holidays): New option.
5304 (cal-html-css-default): Add holiday entry.
5305 (holiday-in-range): Autoload it.
5306 (cal-html-htmlify-entry): Add optional class argument.
5307 (cal-html-htmlify-list): Add optional holidays argument.
5308 (cal-html-insert-agenda-days): Include holidays in the output.
5309 (cal-html-one-month): Maybe include holidays.
5310
a43f98b3
GM
5311 * calendar/holidays.el (holiday-in-range):
5312 Move here from cal-tex-list-holidays.
5313 * calendar/cal-tex.el (cal-tex-list-holidays):
5314 Make it an obsolete alias for holiday-in-range. Update all callers.
5315
fef9d149 53162012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5317
5318 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5319 Nextstep.
5320
248da2f4
RW
53212012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5322
5323 * files.el (file-auto-mode-skip): New var.
5324 (set-auto-mode-1): Use it.
5325
f95e9344
SM
53262012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5327
df96ab1e
SM
5328 * repeat.el: Use lexical-binding.
5329 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5330 (repeat-undo-count): Remove.
5331 (repeat):
5332 * progmodes/octave-mod.el (octave-abbrev-start):
5333 * progmodes/f90.el (f90-abbrev-start):
5334 * face-remap.el (text-scale-adjust):
5335 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5336
5342bb06
SM
5337 * emacs-lisp/pcase.el (pcase--let*): New function.
5338 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5339 a bit more.
5340 (pcase--split-pred): Be more clever about ruling out overlap between
5341 a predicate and some constant pattern.
5342 (pcase--q1): Use `null' instead of (eq foo nil).
5343
f95e9344
SM
5344 * subr.el (setq-local, defvar-local): New macros.
5345 (kbd): Redefine as an alias.
5346 (with-selected-window): Leave unrelated frames alone.
5347 (set-temporary-overlay-map): New function.
5348
71873e2b
SM
53492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * subr.el (user-error): New function.
5352 * window.el (switch-to-buffer):
5353 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5354 (smerge-match-conflict):
5355 * simple.el (previous-matching-history-element)
5356 (next-matching-history-element, goto-history-element, undo-more)
5357 (undo-start):
5358 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5359 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5360 (next-file, tags-loop-scan, list-tags, complete-tag):
5361 * progmodes/compile.el (compilation-loop):
5362 * mouse.el (mouse-minibuffer-check):
5363 * man.el (Man-bgproc-sentinel, Man-goto-page):
5364 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5365 (Info-history-forward, Info-follow-reference, Info-menu)
5366 (Info-extract-menu-item, Info-extract-menu-counting)
5367 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5368 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5369 (Info-next-reference, Info-prev-reference, Info-index)
5370 (Info-index-next, Info-follow-nearest-node)
5371 (Info-copy-current-node-name):
5372 * imenu.el (imenu--make-index-alist)
5373 (imenu-default-create-index-function, imenu-add-to-menubar):
5374 * files.el (basic-save-buffer, recover-file):
5375 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5376 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5377 (checkdoc-message-text, checkdoc-defun):
5378 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5379 * cus-edit.el (customize-changed-options, customize-rogue)
5380 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5381 (custom-variable-mark-to-reset-standard)
5382 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5383 (custom-file):
5384 * completion.el (check-completion-length):
5385 * comint.el (comint-search-arg)
5386 (comint-previous-matching-input-string-position)
5387 (comint-previous-matching-input)
5388 (comint-replace-by-expanded-history-before-point, comint-send-input)
5389 (comint-copy-old-input, comint-backward-matching-input)
5390 (comint-goto-process-mark, comint-set-process-mark):
5391 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5392 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5393
8a61ee22
SM
53942012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5395
66408d1e
SM
5396 * dabbrev.el (dabbrev--ignore-case-p): New function.
5397 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5398 Use it.
5399
8a61ee22
SM
5400 * files.el (automount-dir-prefix): Mark as obsolete.
5401
3c74813a
GM
54022012-05-04 Glenn Morris <rgm@gnu.org>
5403
5404 * patcomp.el, play/bruce.el: Move to obsolete/.
5405
0bfcf5c5
PE
54062012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5407
5408 Fix minor Y10k bugs.
5409 * arc-mode.el (archive-unixdate):
5410 * autoinsert.el (auto-insert-alist):
5411 * calc/calc-forms.el (math-this-year):
5412 * emacs-lisp/copyright.el (copyright-current-year)
5413 (copyright-update-year, copyright):
5414 * tar-mode.el (tar-clip-time-string):
5415 * time.el (display-time-update):
5416 Don't assume years have 4 digits.
5417
78f3273a
CY
54182012-05-04 Chong Yidong <cyd@gnu.org>
5419
5420 * dos-w32.el (file-name-buffer-file-type-alist)
5421 (direct-print-region-use-command-dot-com):
5422 * ffap.el (ffap-menu-regexp):
5423 * find-file.el (ff-special-constructs):
5424 * follow.el (follow-debug):
5425 * forms.el (forms--debug):
5426 * iswitchb.el (iswitchb-all-frames):
5427 * ido.el (ido-all-frames):
5428 * emacs-lisp/timer.el (timer-max-repeats):
5429 * mail/feedmail.el (feedmail-mail-send-hook)
5430 (feedmail-mail-send-hook-queued):
5431 * mail/footnote.el (footnote-signature-separator):
5432 * mail/mailabbrev.el (mail-alias-separator-string)
5433 (mail-abbrev-mode-regexp):
5434 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5435 * progmodes/idlwave.el (idlwave-libinfo-file)
5436 (idlwave-default-completion-case-is-down)
5437 (idlwave-library-routines): Convert defvars to defcustoms.
5438
5439 * mail/rmail.el (rmail-decode-mime-charset):
5440 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5441 (idlwave-shell-fix-inserted-breaks)
5442 (idlwave-shell-activate-alt-keybindings)
5443 (idlwave-shell-use-breakpoint-glyph):
5444 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5445
f7ae6719
SM
54462012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5449
47086495
WS
54502012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5451
5452 * progmodes/verilog-mode.el (font-lock-keywords):
5453 Fix mis-highligting auto. Reported by Craig Barner.
5454 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5455 defines from global name space. Reported by Dan Dever.
47086495
WS
5456 (verilog-auto-reset, verilog-auto-reset-widths)
5457 (verilog-auto-tieoff): Support using unbased numbers for
5458 AUTORESET and AUTOTIEOFF.
5459 (verilog-submit-bug-report): Update variable list.
5460 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5461 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5462 (verilog-auto-template-lint): Fix hash error when linting modules
5463 with no used templates.
5464 (verilog-warn, verilog-warn-error)
5465 (verilog-warn-fatal): When non-interactive report multiple
5466 warnings before exiting. Suggested by Brad Dobbie.
5467 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5468 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5469 to report unused template errors. Reported by Brad Dobbie.
5470 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5471 nets, bug438. Reported by Vns Blore.
47086495
WS
5472 (verilog-auto-inout-module, verilog-auto-reg)
5473 (verilog-read-decls, verilog-read-sub-decls-sig)
5474 (verilog-signals-edit-wire-reg, verilog-signals-with):
5475 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5476 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5477 "reg" for backwards compatibility presuming Verilog 2001.
5478 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5479 (verilog-preprocess): Fix replication of preprocess output.
5480 Reported by Brad Dobbie.
5481 (verilog-auto-inst-interfaced-ports):
5482 Create verilog-auto-inst-interfaced-ports, bug429.
5483 Reported by Julian Gorfajn.
5484 (verilog-after-save-font-hook)
5485 (verilog-before-save-font-hook): New variable.
5486 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5487 (verilog-save-font-mods): Wrap disabling fontification, reported
5488 by David Rogoff.
5489 (verilog-do-indent, verilog-pretty-declarations-auto)
5490 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5491 Reported by Pierre-David Pfister.
5492 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5493 of class declarations, bug292. Reported by Kevin Heilman.
5494 (verilog-read-decls): Fix 'parameter type' not appearing in
5495 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5496 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5497 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5498 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5499 Reported by David Kravitz.
5500
55012012-05-03 Michael McNamara <mac@mail.brushroad.com>
5502
5503 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5504 assignment with tests in ifs and for loops.
5505 (verilog-extended-complete-re, verilog-complete-reg): Change so
5506 that DPI inport functions don't look like fuction declarations.
5507 (verilog-pretty-expr): Don't line up assignment
5508 operations to the test and increment in if and for loops
5509 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5510 that DPI inport functions don't look like fuction declarations.
47086495 5511
2e51d4b5
KH
55122012-05-03 Kenichi Handa <handa@m17n.org>
5513
5514 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5515 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5516 (Bug#11282).
5517
2bd785a2
SM
55182012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * emacs-lisp/bytecomp.el
5521 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5522 since cconv.el might have introduced :fun-body, internal-make-closure,
5523 and friends for bytecomp to handle (bug#11391).
5524 * custom.el (defcustom): Avoid ((λ ..) ..).
5525
99d27583
SM
55262012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5529
55a71479
JB
55302012-05-02 Juanma Barranquero <lekktu@gmail.com>
5531
5532 * notifications.el (dbus-debug):
5533 * term/linux.el (gpm-mouse-enable):
5534 * term/screen.el (xterm-register-default-colors): Declare.
5535
7b97c764
CY
55362012-05-02 Chong Yidong <cyd@gnu.org>
5537
2bc356d7
CY
5538 * cus-start.el (gc-cons-percentage, exec-suffixes)
5539 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5540 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5541 (make-cursor-line-fully-visible, void-text-area-pointer)
5542 (font-list-limit): Add customization data.
5543
7b97c764
CY
5544 * allout.el (allout-exposure-change-functions)
5545 (allout-structure-added-functions)
5546 (allout-structure-deleted-functions)
5547 (allout-structure-shifted-functions): Rename abnormal hooks from
5548 *-hook, and convert to defcustoms.
5d3385a0
JB
5549 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5550 Convert to defcustoms.
7b97c764
CY
5551 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5552
5553 * allout-widgets.el: Hook callers changed.
5554
90207a15 55552012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5556
5557 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5558 the yanked message in preference to the default value of
5559 buffer-file-coding-system.
5560
90207a15 55612012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5562
5d3385a0
JB
5563 * window.el (display-buffer--action-function-custom-type):
5564 Fix entry.
d9558cad 5565
90207a15 55662012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5567
5568 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5569
d80ac57b
GM
55702012-05-01 Glenn Morris <rgm@gnu.org>
5571
976f7668
GM
5572 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5573
beb83b5a
GM
5574 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5575
d80ac57b
GM
5576 * cus-edit.el (custom-variable-documentation): Simplify with format.
5577
b593d6a9 55782012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5579 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5580
5581 * simple.el (suggest-key-bindings, execute-extended-command):
5582 Move from keyboard.c.
5583
782fbf2a
CY
55842012-05-01 Chong Yidong <cyd@gnu.org>
5585
5586 * follow.el: Eliminate advice.
5587 (set-process-filter, process-filter, sit-for): Advice deleted.
5588 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5589 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5590 Vars deleted.
782fbf2a
CY
5591 (follow-auto): Use a :set function.
5592 (follow-mode): Rewritten. Don't advise process filters.
5593 (follow-switch-to-current-buffer-all, follow-scroll-up)
5594 (follow-scroll-down): Assume follow-mode is bound.
5595 (follow-comint-scroll-to-bottom)
5596 (follow-align-compilation-windows): New functions.
5597 (follow--window-sorter): New function.
5598 (follow-all-followers): Use it to explicitly sort windows by their
5599 positions; don't make assumptions about next-window order.
5600 (follow-windows-start-end, follow-delete-other-windows-and-split)
5601 (follow-calc-win-start): Doc fix.
5602 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5603 vertical-motion unnecessarily.
5604 (follow-adjust-window): New function.
5605 (follow-post-command-hook): Use it.
5606 (follow-call-set-process-filter, follow-call-process-filter)
5607 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5608 (follow-stop-intercept-process-output, follow-generic-filter):
5609 Functions deleted.
5610 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5611 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5612 New functions, replacing advice on scroll-bar-* commands.
87233a14 5613 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5614
5615 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5616 (comint-postoutput-scroll-to-bottom): Use it.
5617 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5618
290af740
GM
56192012-05-01 Glenn Morris <rgm@gnu.org>
5620
5621 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5622 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5623 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5624 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5625 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5626 Remove no-byte-compile setting.
5627
6eac8dc9
SM
56282012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5631 all-completions code to not return a number in the last cdr.
5632
9cc7819c
LL
56332012-04-30 Leo Liu <sdl.web@gmail.com>
5634
5635 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5636 read-only error.
5637
c93b886f
CY
56382012-04-29 Chong Yidong <cyd@gnu.org>
5639
5640 * follow.el (follow-calc-win-end): Rewrite to handle partial
5641 screen lines correctly (Bug#8390).
5642 (follow-avoid-tail-recenter): Minor cleanup.
5643
8b6c19f4
SM
56442012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5645
5646 Avoid the obsolete `assoc' package.
5647 * speedbar.el (speedbar-refresh): Avoid adelete.
5648 (speedbar-file-lists): Simplify and avoid aput.
5649 * man.el (Man--sections, Man--refpages): New vars, replacing
5650 Man-sections-alist and Man-refpages-alist.
5651 (Man-build-section-alist, Man-build-references-alist):
5652 Use them; avoid aput.
5653 (Man--last-section, Man--last-refpage): New vars.
5654 (Man-follow-manual-reference): Use them.
5655 Use the `default' arg of completing-read.
5656 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5657
c5bb7569
CY
56582012-04-27 Chong Yidong <cyd@gnu.org>
5659
d1d2e2e8
CY
5660 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5661
15cd8efd
CY
5662 * startup.el (x-apply-session-resources): New function.
5663
5664 * term/ns-win.el (ns-initialize-window-system):
5665 * term/w32-win.el (w32-initialize-window-system):
5666 * term/x-win.el (x-initialize-window-system): Use it to properly
5667 set menu-bar-mode and other vars from X resources, even if the
5668 initial frame is not a window-system frame (Bug#2299).
5669
c5bb7569
CY
5670 * subr.el (read-key): Avoid running filter function when setting
5671 up temporary tool bar entries (Bug#9922).
5672
a8e7d6d7 56732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5674
5675 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5676 (Bug#11344)
5677
a8e7d6d7 56782012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5679
5680 * select.el (xselect--encode-string): New function, split from
5681 xselect-convert-to-string.
5682 (xselect-convert-to-string): Use it.
5683 (xselect-convert-to-filename, xselect-convert-to-os)
5684 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5685 returned strings are properly encoded (Bug#11315).
5686
a8e7d6d7 56872012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5688
5689 * simple.el (delete-active-region): Move to killing custom group.
5690
a8e7d6d7 56912012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5692
5693 * progmodes/which-func.el (which-func-current): Quote %
5694 characters for mode-line processing.
5695
578c1d4b 56962012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5697
5698 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5699 reaching eob (Bug#11286).
5700
a8e7d6d7 57012012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5702
5703 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5704 (gdb): Make it buffer-local and init to zero.
5705 (gdb-control-commands-regexp): New variable.
5706 (gdb-send): Don't wrap in "-interpreter-exec console" if
5707 gdb-control-level is positive. Increment gdb-control-level
5708 whenever the command matches gdb-control-commands-regexp, and
5709 decrement it each time the command is "end". (Bug#11279)
5710
a8e7d6d7 57112012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5712
5713 * window.el (adjust-window-trailing-edge, enlarge-window)
5714 (shrink-window, window-resize):
5715 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5716 windows (Bug#11276).
5717
b3608390
CY
57182012-04-27 Chong Yidong <cyd@gnu.org>
5719
5720 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5721 fix "missing prefix" warning. All callers changed.
b3608390 5722
797e6e88
SM
57232012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * emacs-lisp/assoc.el: Move to obsolete/.
5726
e95a67dc
SM
57272012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5728
657c21e4 5729 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5730
5731 * term/ns-win.el (ns-define-service):
5732 * progmodes/pascal.el (pascal-goto-defun):
5733 * progmodes/js.el (js--read-tab):
5734 * progmodes/etags.el (tags-lazy-completion-table):
5735 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5736 * emacs-lisp/ewoc.el (ewoc--wrap):
5737 * emacs-lisp/assoc.el (aput, adelete, amake):
5738 * doc-view.el (doc-view-convert-current-doc):
5739 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5740
cb3e7ae0
CY
57412012-04-26 Chong Yidong <cyd@gnu.org>
5742
dce04f7f
CY
5743 * image.el (image-type-from-buffer): Only return supported image
5744 type (Bug#9045).
5745
cb3e7ae0
CY
5746 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5747 value, for symmetry with diff-end-of-hunk.
5748 (diff-split-hunk, diff-find-source-location)
5749 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5750 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5751 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5752 compute the relevant hunk or file properly (Bug#6005).
5753 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5754
0d42eb3e
SM
57552012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * vc/vc-mtn.el:
5758 * vc/vc-hg.el:
5759 * vc/vc-git.el:
5760 * vc/vc-dir.el:
5761 * vc/vc-cvs.el:
5762 * vc/vc-bzr.el:
5763 * vc/vc-arch.el:
5764 * vc/vc.el: Replace lexical-let by lexical-binding.
5765 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5766 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5767 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5768
f08ae1c9
CY
57692012-04-26 Chong Yidong <cyd@gnu.org>
5770
8b71081d
CY
5771 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5772 (diff-mode-shared-map): Bind it to / and [remap undo].
5773
f08ae1c9
CY
5774 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5775 (ediff-window-setup-function): Use it as the default, to set up
5776 windows based on whether the current frame is graphical (Bug#2138).
5777 (ediff-choose-window-setup-function-automatically): Make obsolete.
5778
5779 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5780
ef24141c
SM
57812012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5782
cc356a5d
SM
5783 * ffap.el: Remove old code for obsolete package.
5784 (ffap-complete-as-file-p): Remove.
5785
b4ff4f1f
SM
5786 Use completion-table-with-quoting for comint and pcomplete.
5787 * comint.el (comint--unquote&requote-argument)
5788 (comint--unquote-argument, comint--requote-argument): New functions.
5789 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5790 (comint-quote-filename): Use regexp-opt-charset.
5791 (comint--common-suffix, comint--common-quoted-suffix)
5792 (comint--table-subvert): Remove.
5793 (comint-unquote-function, comint-requote-function): New vars.
5794 (comint--complete-file-name-data): Use them with
5795 completion-table-with-quoting.
5796 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5797 * pcomplete.el (pcomplete-arg-quote-list)
5798 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5799 (pcomplete-unquote-argument-function): Default to non-nil.
5800 (pcomplete-unquote-argument): Simplify.
5801 (pcomplete--common-quoted-suffix): Remove.
5802 (pcomplete-requote-argument-function): New var.
5803 (pcomplete--common-suffix): New function.
5804 (pcomplete-completions-at-point): Use completion-table-with-quoting
5805 and completion-table-subvert.
5806
79c4eeb4
SM
5807 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5808 (minibuffer--double-dollars): Preserve properties.
5809 (completion--sifn-requote): New function.
5810 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5811
ef24141c
SM
5812 * minibuffer.el: Add support for completion of quoted/escaped data.
5813 (completion-table-with-quoting, completion-table-subvert): New funs.
5814 (completion--twq-try, completion--twq-all): New functions.
5815 (completion--nth-completion): New function.
5816 (completion-try-completion, completion-all-completions): Use it.
5817
784e7d6e
LL
58182012-04-25 Leo Liu <sdl.web@gmail.com>
5819
dd2ac746
SM
5820 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5821 Use compilation-message if available to find real filename.
784e7d6e 5822
07875ee7
CY
58232012-04-25 Chong Yidong <cyd@gnu.org>
5824
5825 * vc/diff-mode.el (diff-setup-whitespace): New function.
5826 (diff-mode): Use it.
5827
5828 * vc/diff.el (diff-sentinel):
5829 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5830 Whitespace mode variables based on diff style (Bug#8612).
5831
5055880d
LL
58322012-04-25 Leo Liu <sdl.web@gmail.com>
5833
daf75653
LL
5834 * progmodes/python.el (python-send-region): Add suffix .py to the
5835 temp file.
5836
5055880d
LL
5837 * files.el (auto-mode-alist): Use javascript-mode instead.
5838
db9b177b
AH
58392012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5840
ef24141c 5841 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5842
090bd7cb 5843 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5844 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5845 references, see Bug#9.
ef24141c 5846 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5847 when receiving a fault reply.
ef24141c 5848 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5849
090bd7cb 5850 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5851 (soap-inspect-simple-type): New function.
db9b177b 5852
090bd7cb 5853 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5854 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5855 (soap-decode-basic-type, soap-encode-basic-type):
5856 support unsignedInt and double basic types.
db9b177b 5857 (soap-resolve-references-for-simple-type)
ef24141c
SM
5858 (soap-parse-simple-type, soap-encode-simple-type): New function.
5859 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5860
090bd7cb 5861 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5862 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5863 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5864 the local name of "soapenc:Array".
5865 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5866 decoding integer, byte and anyURI xsd types.
5867
1fc6097b
CY
58682012-04-25 Chong Yidong <cyd@gnu.org>
5869
5870 * cus-edit.el (custom-buffer-create-internal): Update header text.
5871
afc6df87
EZ
58722012-04-25 Eli Zaretskii <eliz@gnu.org>
5873
5874 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5875 settings on 'system-type', not on 'window-system'. On MS-Windows,
5876 set interactive-mode on in GDB.
5877
dfbd787f
SM
58782012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5881 (ruby-syntax-propertize-regexp): Remove.
5882 (ruby-syntax-propertize-function): Split regexp into chunks.
5883 Match following code directly.
5884
85222d44
DG
58852012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5886
51a8ea2a
DG
5887 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5888 (ruby-syntax-propertize-regexp): New function.
5889 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5890 by a special keyword.
5891
85222d44
DG
5892 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5893 (ruby-syntax-general-delimiters-goto-beg)
5894 (ruby-syntax-propertize-general-delimiters): New functions.
5895 (ruby-syntax-propertize-function): Use them to handle GDL.
5896 (ruby-font-lock-keywords): Move old handling of GDL...
5897 (ruby-font-lock-syntactic-keywords): .. to here.
5898 (ruby-calculate-indent): Adjust indentation for GDL.
5899
b613912b
MA
59002012-04-24 Michael Albinus <michael.albinus@gmx.de>
5901
b5380639
MA
5902 * notifications.el (top): Remove unneeded declarations.
5903 (notifications-specification-version): Change to "1.2".
e43042fe 5904 (notifications-interface, notifications-notify-method)
b613912b
MA
5905 (notifications-close-notification-method): Fix docstring.
5906 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5907 (notifications-notify): Add :action-items, :resident and
5908 :transient hints. Change "image_data" to "image-data" and
5909 "image_path" to "image-path".
b613912b
MA
5910 (notifications-get-capabilities): New defun.
5911
257440aa
LL
59122012-04-24 Leo Liu <sdl.web@gmail.com>
5913
5914 * progmodes/python.el: Move hideshow setup to the end.
5915
b1bac16e
MR
59162012-04-24 Martin Rudalics <rudalics@gmx.at>
5917
5918 * window.el (handle-select-window): Clear echo area since this is
5919 no more done by read_char (Bug#11304).
5920
d81bd059
SM
59212012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5924 and `/ M' to filter-derived-mode.
5925 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5926 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5927 (ibuffer-mark-by-mode): Use default rather than initial-input.
5928 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5929
c4cf6d91
IA
59302012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5931
5932 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5933 (ibuffer-filter-by-derived-mode): New filter.
5934 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5935
7511ded8
CY
59362012-04-23 Andreas Politz <politza@fh-trier.de>
5937
5938 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5939
775c916b
CY
59402012-04-23 Chong Yidong <cyd@gnu.org>
5941
5942 * cus-edit.el (customize-apropos, customize-apropos-options):
5943 Disable matching of non-option variables (Bug#11176).
5944 (customize-option, customize-option-other-window)
5945 (customize-changed-options): Doc fix.
5946 (customize-apropos-options, customize-apropos-faces)
5947 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5948
5949 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5950 Fix word list splitting (Bug#11132).
46c71e23
CY
5951 (apropos-symbol, apropos-keybinding, apropos-label)
5952 (apropos-property, apropos-function-button)
5953 (apropos-variable-button, apropos-misc-button): New faces.
5954 (apropos-symbol-face, apropos-keybinding-face)
5955 (apropos-label-face, apropos-property-face, apropos-match-face):
5956 Variables removed (Bug#8396).
5957 (apropos-library-button, apropos-format-plist, apropos-print)
5958 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5959
2df41f9c
MA
59602012-04-23 Michael Albinus <michael.albinus@gmx.de>
5961
5962 * net/xesam.el (xesam-mode-map): Use let-bound map in
5963 initialization. (Bug#11292)
5964
da00640a
AM
59652012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5966
5967 Preserve ispell session localwords when switching back to
5968 original buffer.
5969
090bd7cb
JB
5970 * textmodes/ispell.el (ispell-buffer-session-localwords):
5971 New buffer-local variable to hold buffer session localwords.
ed9265fc 5972 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5973 localwords.
5974 (ispell-command-loop, ispell-change-dictionary)
5975 (ispell-buffer-local-words): Preserve session localwords when
5976 needed.
5977
090bd7cb
JB
5978 * textmodes/flyspell.el (flyspell-process-localwords)
5979 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5980
f621ccf5
AM
59812012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5982
090bd7cb
JB
5983 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5984 using obsolete `translation-table-for-input'.
ef24141c
SM
5985 (ispell-word, ispell-process-line, ispell-complete-word):
5986 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5987
c2d1019e
CY
59882012-04-22 Chong Yidong <cyd@gnu.org>
5989
5990 * cus-edit.el (custom-variable-menu)
5991 (custom-variable-reset-saved, custom-face-menu)
5992 (custom-face-reset-saved): If there is no saved value, make the
5993 "reset-saved" operation bring back the default (Bug#9509).
5994 (custom-face-state): Properly detect themed faces.
5995
eeddc531
CY
5996 * faces.el (face-spec-set): Stop supporting deprecated form of
5997 third arg.
5998
dcbf5805
MA
59992012-04-22 Michael Albinus <michael.albinus@gmx.de>
6000
6001 Move functions from C to Lisp. Make non-blocking method calls
6002 the default. Implement further D-Bus standard interfaces.
6003
ef24141c
SM
6004 * net/dbus.el (dbus-message-internal): Declare function.
6005 Remove unneeded function declarations.
dcbf5805
MA
6006 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6007 (dbus-message-type-method-return, dbus-message-type-error)
6008 (dbus-message-type-signal): Declare variables. Remove local
6009 definitions.
6010 (dbus-interface-dbus, dbus-interface-peer)
6011 (dbus-interface-introspectable, dbus-interface-properties)
6012 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6013 Adapt docstring.
6014 (dbus-interface-objectmanager): New defconst.
6015 (dbus-call-method, dbus-call-method-asynchronously)
6016 (dbus-send-signal, dbus-method-return-internal)
6017 (dbus-method-error-internal, dbus-register-service)
6018 (dbus-register-signal, dbus-register-method): New defuns, moved
6019 from dbusbind.c
6020 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6021 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6022 New defuns.
dcbf5805
MA
6023 (dbus-call-method-non-blocking): Make it an obsolete function.
6024 (dbus-unregister-object, dbus-unregister-service)
6025 (dbus-handle-event, dbus-register-property)
6026 (dbus-property-handler): Obey the new structure of
6027 `bus-registered-objects'.
6028 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6029 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6030 Use `dbus-call-method'.
6031
cf20dee0
CY
60322012-04-22 Chong Yidong <cyd@gnu.org>
6033
6034 * cus-edit.el (custom-commands, custom-reset-menu)
6035 (Custom-reset-standard): Tweak labels.
6036 (custom-reset-button-menu): Change default to t.
6037 (custom-buffer-create-internal): For the custom-reset-button-menu
6038 case, put the revert button first.
6039 (custom-group-subtitle): New face.
6040 (custom-group-value-create): Align docstring to a specific column.
6041
6042 * wid-edit.el (widget-documentation-link-add): Don't handle
6043 indentation in this function.
6044 (widget-documentation-string-indent-to): New function.
6045 (widget-documentation-string-value-create): Use it.
6046
6047 * autorevert.el (auto-revert):
6048 * epg-config.el (epg):
6049 * ibuffer.el (ibuffer):
6050 * mpc.el (mpc):
6051 * ses.el (ses):
6052 * eshell/eshell.el (eshell):
6053 * net/ange-ftp.el (ange-ftp):
6054 * progmodes/ebnf2ps.el (postscript):
6055 * progmodes/flymake.el (flymake):
6056 * progmodes/prolog.el (prolog):
6057 * progmodes/verilog-mode.el (verilog-mode):
6058 * progmodes/which-func.el (which-func):
6059 * term/xterm.el (xterm):
6060 * textmodes/picture.el (picture):
6061 * textmodes/tildify.el (tildify):
6062 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6063 customization buffers.
6064
583e23bd
AM
60652012-04-22 Alan Mackenzie <acm@muc.de>
6066
6067 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6068 Adding a ) can hide the resulting (..) from searches. Fix it.
6069 Bound the backward search to the position of the existing (.
6070
7dd51bf1
JB
60712012-04-21 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * progmodes/verilog-mode.el (verilog-mode): Check whether
6074 which-func-modes is t before adding verilog-mode.
6075 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6076
d64a438f
LL
60772012-04-21 Leo Liu <sdl.web@gmail.com>
6078
7dd51bf1 6079 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6080
081e8d65
MV
60812012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6082
6083 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6084 filling of the last column of a table (Bug#5635).
6085 (woman-find-next-control-line): New arg, specifying an additional
6086 regexp component for the control line.
6087 (woman2-roff-buffer): Use it.
6088 (woman-break-table): New function.
6089 (woman2-TS): Use it.
6090
60912012-04-21 Chong Yidong <cyd@gnu.org>
6092
6093 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6094 (woman-horizontal-escapes, woman-negative-vertical-space)
6095 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6096 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6097
ed571ccb
SM
60982012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6099
6100 * minibuffer.el (completion-file-name-table): Complete user names.
6101
39773899
LL
61022012-04-20 Leo Liu <sdl.web@gmail.com>
6103
6104 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6105 and pcase-let*.
6106
de6ff46d
CY
61072012-04-20 Chong Yidong <cyd@gnu.org>
6108
6109 * server.el (server-execute): Respect initial-buffer-choice if it
6110 is a string and there are no files to open (Bug#2825).
6111 (server-create-window-system-frame, server-create-tty-frame):
6112 Don't switch buffers here.
2d0e8e61
CY
6113 (server-process-filter): Only try to open a window system frame if
6114 compiled with graphical support (Bug#8314).
de6ff46d 6115
54071013
DN
61162012-04-20 Dan Nicolaescu <dann@gnu.org>
6117
6118 * battery.el (battery-echo-area-format): Display remaining time
6119 for sysfs backend too (Bug#11269).
6120 (battery-linux-sysfs): Fix conditional for the charge.
6121
f30d612a
CY
61222012-04-20 Chong Yidong <cyd@gnu.org>
6123
c07a4c0b 6124 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6125 (gdb-inferior-io--init-proc): New function.
6126 (gdb-init-1): Use it.
6127 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6128 responsible for allocating a new pty and hooking it to gdb when
6129 the old pty gets an EIO due to process exit.
6130 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6131 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6132 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6133
2116e93c
EZ
61342012-04-20 Eli Zaretskii <eliz@gnu.org>
6135
6136 * window.el (window-min-size, window-sizable, window-min-delta)
6137 (window-max-delta, window--resizable, window-resizable)
6138 (window-total-size, window-full-height-p, window-full-width-p)
6139 (window-in-direction, window--resize-mini-window, window-resize)
6140 (window--resize-child-windows-normal)
6141 (window--resize-child-windows, window--resize-siblings)
6142 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6143 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6144
c07a4c0b 61452012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6146
ef24141c
SM
6147 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6148 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6149 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6150 pty process (Bug#11273).
6151 (gdb-update): New arg to suppress talking to the gdb process.
6152 (gdb-done-or-error): Use it.
6153 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6154 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6155 sentinel not being called.
6156
6157 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6158
d02766ab
CY
6159 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6160
c07a4c0b 61612012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6162
6163 * net/network-stream.el (open-network-stream): Doc fix.
6164
c07a4c0b 61652012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6166
6167 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6168
c07a4c0b 61692012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6170
6171 Ensure searching for keywords is case sensitive.
6172
6173 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6174 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6175 (c-defun-name, c-mark-function, c-cpp-define-name)
6176 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6177 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6178
ef24141c
SM
6179 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6180 Bind case-fold-search to nil.
f0f6bc35 6181
c07a4c0b 61822012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6183
6184 * mail/sendmail.el (mail-bury): Call return action with the right
6185 Rmail buffer (Bug#11242).
6186
9a864fa2
CY
6187 * server.el (server-process-filter): Handle corner case where both
6188 tty and nowait options are present (Bug#11102).
6189
539aa513
EZ
61902012-04-20 Eli Zaretskii <eliz@gnu.org>
6191
6192 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6193 (top level): Put into the executable the ident-style '$Id:' tag on
6194 windows-nt as well.
539aa513 6195
cfc7d5da
SM
61962012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * electric.el (electric-indent-post-self-insert-function): Check that
6199 electric-indent-mode is enabled in current buffer.
6200
5b01685c
JB
62012012-04-19 Juanma Barranquero <lekktu@gmail.com>
6202
6203 * imenu.el (imenu-progress-message): Restore; it is "used" in
6204 erc/erc-imenu.el and net/snmp-mode.el.
6205
4d6769e1
JB
62062012-04-19 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6209 (mouse-avoidance-nudge-mouse): Remove unused binding.
6210
6211 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6212
6213 * descr-text.el (describe-char):
6214 * progmodes/python.el (python-describe-symbol):
6215 Don't call `toggle-read-only', set `buffer-read-only'.
6216
6217 * imenu.el (imenu-default-goto-function): Mark unused args.
6218 (imenu-progress-message): Remove obsolete macro; all callers changed.
6219
6220 * subr.el (keymap-canonicalize): Remove unused binding.
6221 (read-passwd): Mark unused arg.
6222
6223 * tutorial.el (tutorial--display-changes): Remove unused binding.
6224 (tutorial--save-tutorial-to): Remove unused variable.
6225
6226 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6227 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6228 (package-generate-autoloads, package-menu--generate)
6229 (package-menu--find-upgrades): Remove unused bindings.
6230
6231 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6232 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6233 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6234 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6235 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6236 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6237 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6238 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6239 (cua-delete-char-rectangle): Mark unused args.
6240 (cua-align-rectangle): Remove unused binding.
6241
6242 * mail/rmail.el (compilation--message->loc)
6243 (epa--find-coding-system-for-mime-charset): Declare.
6244
6245 * net/dbus.el (dbus-register-service): Declare.
6246 (dbus-name-owner-changed-handler): Remove unused binding.
6247
6248 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6249 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6250 (nxml-scan-backward-within): Mark unused arg.
6251 (nxml-dynamic-markup-word): Remove unused binding.
6252
6253 * mouse.el (mouse-menu-major-mode-map):
6254 * emacs-lisp/authors.el (authors-scan-change-log)
6255 (authors-add-to-author-list):
6256 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6257 * emacs-lisp/smie.el (smie-auto-fill):
6258 * mail/sendmail.el (mail-bury):
6259 * mail/unrmail.el (unrmail):
6260 * net/tls.el (open-tls-stream):
6261 * textmodes/picture.el (picture-mouse-set-point):
6262 Remove unused bindings.
6263
8c8fc5df
MA
62642012-04-19 Michael Albinus <michael.albinus@gmx.de>
6265
6266 * net/tramp.el (tramp-action-password): Let-bind
6267 `enable-recursive-minibuffers' to t.
6268
a77b0ac9
SS
62692012-04-18 Sam Steingold <sds@gnu.org>
6270
6271 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6272 instead of 'string to accommodate values like [f11].
6273 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6274 * progmodes/gdb-mi.el: Likewise.
6275
12a106a9
LL
62762012-04-18 Leo Liu <sdl.web@gmail.com>
6277
6278 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6279 current buffer.
6280 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6281 LOCAL is nil.
6282
bc6494ef
CY
62832012-04-18 Chong Yidong <cyd@gnu.org>
6284
6285 * simple.el (line-move): Use forward-line if in batch mode
6286 (Bug#11053).
6287
c09c46b2
CS
62882012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6289
6290 * files.el (after-find-file): Do not try to add a final newline if
6291 the buffer is read-only (Bug#11156).
6292
5f6530ea
RS
62932012-04-17 Richard Stallman <rms@gnu.org>
6294
6295 * mail/rmail.el (rmail-start-mail):
6296 Pass (rmail-mail-return...) for the return-action.
6297 Pass (rmail-yank-current-message...) for the yank-action.
6298 (rmail-yank-current-message): New function.
6299 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6300 (rmail-reply): Likewise.
6301 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6302
6303 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6304 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6305 buffer, not newbuf.
6306
197b6f3c
JB
63072012-04-17 Juanma Barranquero <lekktu@gmail.com>
6308
6309 * server.el (server-ensure-safe-dir): Simplify.
6310
2311d8e5 63112012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6312
2311d8e5
GM
6313 * emacs-lisp/smie.el: Provide smarter auto-filling.
6314 (smie-auto-fill): New function.
6315 (smie-setup): Use it.
98fb480e 6316
2311d8e5
GM
6317 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6318
63192012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6320
6321 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6322 (comment-indent): Use it.
6323
2311d8e5 63242012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6325
6326 * ses.el: The overall change is to add cell renaming, that is
6327 setting fancy names for cell symbols other than name matching
6328 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6329 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6330 (ses-create-cell-variable): New defun.
2311d8e5 6331 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6332 (ses-relocate-formula): Relocate formulas only for cells the
6333 symbols of which are not renamed, i.e. symbols whose names do not
6334 match regexp "\\`[A-Z]+[0-9]+\\'".
6335 (ses-relocate-all): Relocate values only for cells the symbols of
6336 which are not renamed.
6337 (ses-load): Create cells variables as the (ses-cell ...) are read,
6338 in order to check row col consistency with cell symbol name only
6339 for cells that are not renamed.
6340 (ses-replace-name-in-formula): New defun.
6341 (ses-rename-cell): New defun.
4bdf2ad2 6342
fc72b15c
PO
63432012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6344
6345 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6346 New option (bug#11118).
6347 (perl-calculate-indent): Respect it.
6348
12e10e61
GM
63492012-04-17 Glenn Morris <rgm@gnu.org>
6350
6351 * dired-aux.el (dired-mark-read-string): Doc fix.
6352
30009afd
DA
63532012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6354
6355 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6356 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6357
41f03f4d
GM
63582012-04-17 Glenn Morris <rgm@gnu.org>
6359
6360 * mouse.el (mouse-drag-track):
6361 * speedbar.el (speedbar-frame-mode):
6362 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6363
f45f90f3
LL
63642012-04-16 Leo Liu <sdl.web@gmail.com>
6365
6366 * progmodes/python.el: Trivial cleanup.
6367
94ee8db5
GM
63682012-04-16 Glenn Morris <rgm@gnu.org>
6369
121b8917
GM
6370 * vc/vc.el (vc-string-prefix-p):
6371 * vc/pcvs-util.el (cvs-string-prefix-p):
6372 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6373 * mpc.el (mpc-string-prefix-p):
6374 Make all of these into obsolete aliases for string-prefix-p.
6375 Update callers.
6376 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6377
1197ecfa
GM
6378 * textmodes/two-column.el: Move custom options to the start.
6379 (frame-width): Remove compat definition.
6380 (2C-associate-buffer, 2C-dissociate):
6381 Use with-current-buffer rather than save-excursion.
6382 (2C-dissociate): Force a mode-line update.
6383 (2C-autoscroll): Use ignore-errors.
6384
099e7202
GM
6385 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6386 Autoload trivia.
6387
bf350d6a
GM
6388 * emacs-lisp/cl-extra.el (*random-state*):
6389 Remove unnecessary declaration.
6390
0e829eab
GM
6391 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6392
e3ad7552
GM
6393 * play/cookie1.el (cookie-snarf):
6394 Give an explicit error if input file cannot be read.
6395
68892d27
GM
6396 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6397
20f0c46d
GM
6398 * progmodes/perl-mode.el (c-macro-expand):
6399 Remove unnecessary autoload (it is in loaddefs.el).
6400
5a0978ce
GM
6401 * textmodes/picture.el (picture-desired-column)
6402 (picture-update-desired-column): Convert comments to doc-strings.
6403 (picture-substitute): Remove function.
6404 (picture-mode-map): Initialize in the defvar.
6405
6b955486
GM
6406 * woman.el: Remove eval-after-load for tar-mode.
6407 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6408 (woman-tar-extract-file): Autoload it.
6409
94ee8db5
GM
6410 * frame.el (automatic-hscrolling): Make this alias obsolete.
6411
177eca34
AM
64122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6413
090bd7cb 6414 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6415 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6416 (ispell-dictionary-base-alist): Revert to original XEmacs
6417 friendly version for default. [:alpha:] will be added in
090bd7cb 6418 `ispell-set-spellchecker-params' if needed.
177eca34 6419
c505aaeb
CY
64202012-04-16 Chong Yidong <cyd@gnu.org>
6421
b19dd9d1 6422 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6423 (imagemagick-register-types): Use it.
6424 (imagemagick-types-inhibit): Add :set function. Allow new value
6425 of t to inhibit all types.
6426
6427 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6428 so we can preload it.
6429
6430 * loadup.el (fboundp): Preload regexp-opt, needed by
6431 imagemagick-register-types.
6432
60efac0f
CY
64332012-04-15 Chong Yidong <cyd@gnu.org>
6434
6435 * frame.el (scrolling): Remove nearly unused customization group.
6436
6437 * scroll-all.el (scroll-all-mode): Move to windows group.
6438
5dd1713e
CY
64392012-04-15 Chong Yidong <cyd@gnu.org>
6440
6441 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6442
e6fd457e
CY
64432012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6446 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6447
e153c136
GM
64482012-04-15 Glenn Morris <rgm@gnu.org>
6449
6450 * simple.el (process-file-side-effects): Doc fix.
6451
e6fd457e 64522012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6453
6454 * international/mule-cmds.el (set-language-environment): Doc fix.
6455
3603c3b1
JB
64562012-04-14 Juanma Barranquero <lekktu@gmail.com>
6457
6458 * server.el (server-auth-key, server-generate-key): Doc fixes.
6459 (server-get-auth-key): Doc fix. Use `string-match-p'.
6460 (server-start): Reflow docstring.
6461
e6de100c
LI
64622012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6463
6464 * server.el (server-generate-key): `called-interactively-p'
6465 requires a parameter.
6466
29734c21
MN
64672012-04-14 Michal Nazarewicz <mina86@mina86.com>
6468
6469 * server.el (server-auth-key): New variable.
75f1671a 6470 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6471 (server-start): Use the new variable and functions to allow
6472 setting a permanent server key (bug#9423).
6473
d65c9521
LL
64742012-04-14 Leo Liu <sdl.web@gmail.com>
6475
6476 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6477
5ae255c7
PE
64782012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6479
6480 Spelling fixes.
6481 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6482 Emacs uses American spelling.
6483
d5e6342e
JB
64842012-04-14 Juanma Barranquero <lekktu@gmail.com>
6485
6486 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6487 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6488 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6489 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6490
ab036cd7
SM
64912012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * progmodes/which-func.el (which-func-modes): Change default.
6494
35dc09a1 64952012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6496
6497 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6498 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6499
35dc09a1 65002012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6501
6502 * custom.el (custom-theme-set-variables): Doc fix.
6503
35dc09a1 65042012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6505
6506 * international/mule.el (set-auto-coding-for-load): Doc fix.
6507
35dc09a1 65082012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6509
35dc09a1
GM
6510 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6511 imenu work again for Objective C Mode. Correct the *-index values,
6512 these having been disturbed by a previous change in 2011-08.
57f845ee 6513
0de3da9f
AM
6514 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6515 Correct two search limits.
6516
35dc09a1 65172012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6518
6519 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6520
35dc09a1 65212012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6522
6523 * international/characters.el: Fix sorting.
6524
35dc09a1 65252012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6526
6527 * international/characters.el: Add more missing Latin case pairs.
6528
35dc09a1 65292012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6530
6531 * files.el (dir-locals-set-class-variables): Doc fix.
6532
35dc09a1 65332012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6534
3f1b5bf8
EZ
6535 * international/characters.el: Add set-case-syntax-pair call for
6536 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6537 counterpart. (Bug#11209)
6538
9f847f41
EZ
6539 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6540
35dc09a1 65412012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6542
6543 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6544
35dc09a1 65452012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6546
35dc09a1
GM
6547 * textmodes/ispell.el (ispell-dictionary-base-alist):
6548 Add data for Hebrew.
e2627d21 6549
35dc09a1 65502012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6551
35dc09a1
GM
6552 * net/rcirc.el (rcirc-cmd-quit):
6553 Revert 2012-03-18 change (Bug#11192).
5c14e333 6554
35dc09a1 65552012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6556
6557 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6558
35dc09a1 65592012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6560
4517fe3a
SM
6561 * minibuffer.el (completion-in-region-mode-map):
6562 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6563
b472a594
VD
65642012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6565
6566 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6567
09b95ce3
MY
65682012-04-13 Masatake YAMATO <yamato@redhat.com>
6569
6570 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6571 to allow `C-M-f' and `C-M-b' to move to the nearest path
6572 separator (bug#9511).
6573
4b63a9ca
LI
65742012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6575
6576 * avoid.el: Require cl when compiling. And also move the
6577 `provide' to the end.
6578
7b55b8bf
TV
65792012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6580
6581 * avoid.el (mouse-avoidance-banish-position): New variable.
6582 (mouse-avoidance-banish-destination): Use it (bug#10165).
6583
adedaa1f
LL
65842012-04-13 Leo Liu <sdl.web@gmail.com>
6585
6586 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6587
70e74021
KB
65882012-04-13 Ken Brown <kbrown@cornell.edu>
6589
6590 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6591 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6592 (browse-url-filename-alist): For the same reason, don't modify
6593 file:// URLs on Cygwin.
6594
e75e89ba
SM
65952012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6598 the region on shift if the binding is already shifted (bug#11221).
6599
82f289a4
GM
66002012-04-12 Glenn Morris <rgm@gnu.org>
6601
6602 * mail/mailpost.el: Move to obsolete/.
6603
d333dc4c
DA
66042012-04-12 Drew Adams <drew.adams@oracle.com>
6605
6606 * imenu.el (imenu--generic-function): Ignore invisible definitions
6607 (bug#10123).
6608
0d15b5ba
VD
66092012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6610
6611 * hexl.el (hexl-bits): New variable.
6612 (hexl-options): Mention the variable in the doc string.
75f1671a 6613 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6614 (hexl-mode): Mention the new variable.
75f1671a
JB
6615 (hexl-mode, hexl-current-address, hexl-current-address):
6616 Use the displen.
0d15b5ba
VD
6617 (hexl-ascii-start-column): New function.
6618 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6619 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6620
64a440db
AM
66212012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6622
6623 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6624 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6625 the encoding, as expected by hunspell.
6626
6decb6c2
SM
66272012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * battery.el (battery--linux-sysfs-regexp): New const.
6630 (battery-status-function): Use it. Remove yeeloong special case.
6631 (battery-yeeloong-sysfs): Remove.
6632 (battery-echo-area-format): Remove yeeloong special case.
6633
088be6fb
SM
66342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6622e416
SM
6636 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6637 Reported by Noah Friedman.
6638
088be6fb
SM
6639 * subr.el (read-passwd): Use read-string.
6640
b49f886e
LMI
66412012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6642
6643 * vcursor.el (vcursor-move): Increase the priority of the overlay
6644 (bug#9663).
6645
a63067fc
DD
66462012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6647
6648 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6649 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6650
ac3cf14a
WS
66512012-04-11 William Stevenson <yhvh2000@gmail.com>
6652
6653 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6654 define-minor-mode (bug#10760).
6655
c4fc691b 66562012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6657
4d6769e1 6658 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6659 that directories matching `grep-find-ignored-files' won't be
6660 pruned (bug#10351).
6661
af23e2e5
CY
66622012-04-11 Chong Yidong <cyd@gnu.org>
6663
6664 * startup.el (command-line): Remove support for long-obsolete
6665 variable font-lock-face-attributes.
6666
ab7ce8c1
GM
66672012-04-11 Glenn Morris <rgm@gnu.org>
6668
6669 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6670
de8c03dc
SM
66712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * window.el (window--state-get-1): Obey window-point-insertion-type.
6674
050cc68b
LB
66752012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6676
6677 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6678 to previous function when point is on the first character of a
75f1671a 6679 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6680
a38c310c
GM
66812012-04-11 Glenn Morris <rgm@gnu.org>
6682
effed0c2
GM
6683 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6684 not just file-errors.
6685
a38c310c
GM
6686 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6687 (vc-bzr-sha1): Use internal sha1.
6688
0221e323
SM
66892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6692
43956923
SG
66932012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6694
6695 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6696 that start in the middle of the line (bug#10496).
6697
6a8c9eaf
DN
66982012-04-10 Dan Nicolaescu <dann@gnu.org>
6699
6700 * battery.el (battery-linux-proc-acpi): Only one battery is
6701 discharged at a time, but that seems to confuse battery.el when
6702 computing `rate-type' for the battery not being discharged
6703 (bug#10332).
6704
1930bf5d
SM
67052012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6706
2a718f6f
SM
6707 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6708
599430d0
SM
6709 * international/quail.el: Use dolist and simplify.
6710 (quail-define-package, quail-update-keyboard-layout)
6711 (quail-define-rules): Use dolist.
6712 (quail-insert-kbd-layout, quail-get-translation): CSE.
6713
a2754b6c
SM
6714 * tmm.el: Use dolist, remove left over hook.
6715 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6716 Use dolist.
6717 (calendar-load-hook): Don't mess with it.
6718
1930bf5d
SM
6719 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6720 Use derived-mode-p. Run the diff asynchronously.
6721
9f67961c
LMI
67222012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6723
6724 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6725
2a8ce227
JB
67262012-04-10 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6729 (list-dynamic-libraries--loaded): New function.
6730 (list-dynamic-libraries--refresh): Use it.
6731
8f33b5f8
NW
67322012-04-10 Nathan Weizenbaum <nweiz@google.com>
6733
1930bf5d
SM
6734 * progmodes/python.el (python-fill-paragraph):
6735 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6736 disabled (bug#7018).
6737
b12f0439
L
67382012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6739
1930bf5d 6740 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6741 DOS/MS Windows for the Baltic languages. There are still plenty
6742 of texts written in this encoding/codepage (bug#6519).
b12f0439 6743
57c3bd01
GM
67442012-04-10 Glenn Morris <rgm@gnu.org>
6745
6746 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6747 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6748
6c3eab30
FA
67492012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6750
1930bf5d 6751 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6752 next-line "n" and previous-line "p" in order to make recentf more
6753 consistent with ibuffer, dired or org-mode (bug#9387).
6754
24d78a88
LMI
67552012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6756
bc72b5d9
LMI
6757 * image.el (put-image): Return the overlay created instead of the
6758 optional input string (bug#7834). Note that this may break code
6759 that is (for some reason or other) depending on `put-image'
6760 returning the string.
6761
bd2dba5a
LMI
6762 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6763
74beb59f
LMI
6764 * simple.el (zap-to-char): Allow zapping using input methods
6765 (bug#1580).
6766
24d78a88
LMI
6767 * textmodes/fill.el (fill-region): Leave point and mark where they
6768 were before filling (bug#5399).
6769
263f20cd
GM
67702012-04-09 Glenn Morris <rgm@gnu.org>
6771
6772 * version.el (emacs-bzr-get-version):
6773 Handle lightweight checkouts of local branches.
6774
58d1f797
AS
67752012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6776
263f20cd 6777 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6778
b4d3bc10
CY
67792012-04-09 Chong Yidong <cyd@gnu.org>
6780
6781 * custom.el (custom-variable-p): Return nil for non-symbol
6782 arguments instead of signaling an error.
6783 (user-variable-p): Obsolete alias for custom-variable-p.
6784
6785 * apropos.el (apropos-variable):
6786 * files-x.el (read-file-local-variable):
6787 * simple.el (set-variable):
6788 * woman.el (woman-mini-help):
6789 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6790
fd06db5d
GM
67912012-04-09 Glenn Morris <rgm@gnu.org>
6792
e5fcdb5e
GM
6793 * startup.el (normal-top-level): Don't look for leim-list.el
6794 in places where it will not be found. (Bug#910)
6795
fd06db5d
GM
6796 * international/mule-cmds.el (set-default-coding-systems):
6797 * files.el (normal-mode):
6798 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6799 This function was removed with ucs-tables.el in 2008.
6800
b39bb7e1
EZ
68012012-04-08 Eli Zaretskii <eliz@gnu.org>
6802
6803 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6804 ispell-encoding8-command to "-i", without a trailing space.
6805 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6806 separate command-line arguments, to specify the encoding, since
6807 that's how hunspell expects it.
6808
5c5b8e23
GM
68092012-04-08 Glenn Morris <rgm@gnu.org>
6810
6811 * loadup.el: Load bindings before cus-start.
6812 This reduces somewhat the number of "rogue" settings in emacs -Q.
6813
a1ed8b05
GM
68142012-04-07 Glenn Morris <rgm@gnu.org>
6815
6816 * version.el (emacs-bzr-get-version): New function.
dfae128a 6817 (emacs-bzr-version): New variable.
a1ed8b05
GM
6818 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6819 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6820
b142f158
EZ
68212012-04-07 Eli Zaretskii <eliz@gnu.org>
6822
dfae128a
GM
6823 * international/uni-bidi.el, international/uni-category.el:
6824 * international/uni-combining.el, international/uni-decimal.el:
6825 * international/uni-decomposition.el, international/uni-digit.el:
6826 * international/uni-lowercase.el, international/uni-mirrored.el:
6827 * international/uni-name.el, international/uni-numeric.el:
6828 * international/uni-titlecase.el, international/uni-uppercase.el:
6829 Update for Unicode 6.1.
b142f158 6830
9078ead6
EZ
68312012-04-07 Eli Zaretskii <eliz@gnu.org>
6832
6833 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6834
f23d2c7d
LMI
68352012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6836
6837 * window.el (shrink-window): Mention the `window-min-height'
6838 variable in the doc string.
6839
0a0a3573
BG
68402012-04-05 Bastien Guerry <bzg@altern.org>
6841
6842 * color.el (color-lighten-name): Fix typo.
6843
e5248ac9
SM
68442012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * server.el (server--on-display-p): New function.
6847 (server--on-display-p): Use it.
6848
b4243e22
GV
68492012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6850
6851 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6852 (bug#11145).
6853
305d9f44
SM
68542012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * comint.el (comint--common-quoted-suffix): Check string boundary
6857 before comparing (bug#11158).
6858 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6859
3d439cd1
CY
68602012-04-04 Chong Yidong <cyd@gnu.org>
6861
321cc491
CY
6862 * minibuffer.el (completion-extra-properties): Doc fix.
6863
3d439cd1
CY
6864 * subr.el (delayed-warnings-hook): Doc fix.
6865
2d562c0f
DU
68662012-04-04 Daiki Ueno <ueno@unixuser.org>
6867
6868 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6869 selection (Bug#11159).
6870 (epa-insert-keys): Inform that the default public key will be
6871 exported if no key is selected.
6872
4443f204
RS
68732012-04-04 Richard Stallman <rms@gnu.org>
6874
6875 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6876
529c06b6
CY
68772012-04-03 Chong Yidong <cyd@gnu.org>
6878
6879 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6880 mail-insert-file, not its obsolete alias mail-attach-file.
6881
66b907dc
MA
68822012-04-03 Michael Albinus <michael.albinus@gmx.de>
6883
6884 * notifications.el (notifications-notify): Fix docstring.
6885
c0ea195d
GM
68862012-04-02 Glenn Morris <rgm@gnu.org>
6887
6888 * emacs-lisp/authors.el (authors-aliases): Another addition.
6889
5ca64e00
MA
68902012-04-02 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6893 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6894 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6895
42ee526b
CY
68962012-04-01 Chong Yidong <cyd@gnu.org>
6897
6898 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6899 Handle root directory properly.
6900 (copy-directory): Caller changed.
6901
6902 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6903 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6904
0b021094
GM
69052012-03-31 Glenn Morris <rgm@gnu.org>
6906
40f86458
GM
6907 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6908
7019c177
GM
6909 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6910
a1daddd6
GM
6911 * calendar/calendar.el (calendar-window-list)
6912 (calendar-hide-window): Restore. (Bug#11140)
6913 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6914
0b021094
GM
6915 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6916
40311efc
TV
69172012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6918
6919 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6920 Check if file is a symlink (Bug#10489).
6921
6922 * files.el (copy-directory): Likewise.
6923
5319014e
CY
69242012-03-30 Chong Yidong <cyd@gnu.org>
6925
6926 * image.el (imagemagick-types-inhibit)
6927 (imagemagick-register-types): Doc fix.
6928
935d1290
AM
69292012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6930
090bd7cb 6931 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6932 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6933 and treats ~word as ordinary words in pipe mode.
935d1290 6934
61c6e8fd
GM
69352012-03-30 Glenn Morris <rgm@gnu.org>
6936
6937 * tutorial.el (help-with-tutorial): Ensure local variables don't
6938 happen to make the buffer read-only. (Bug#11127)
6939
81fdff00
SM
69402012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6943 (perl-calculate-indent): Return `noindent' in strings.
6944
6e7a6ec0
SS
69452012-03-28 Sam Steingold <sds@gnu.org>
6946
6947 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6948 instead of the broken adhockery which does not prevent calendar
6949 buffers from being displayed at random after exit.
6950 (calendar-window-list, calendar-hide-window): Remove the broken
6951 adhockery.
6952
fee88ca0
GM
69532012-03-28 Glenn Morris <rgm@gnu.org>
6954
6955 * replace.el (query-replace-map): Doc fix.
6956
38de3354
AS
69572012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6958
6959 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6960 contents. (Bug#11109)
6961
b973155e
SM
69622012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6965 (bug#11077).
6966 (avl-tree--check, avl-tree--check-node): New funs.
6967
dcb6e7b3
MR
69682012-03-27 Martin Rudalics <rudalics@gmx.at>
6969
6970 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6971 (switch-to-prev-buffer, switch-to-next-buffer):
6972 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6973 showing a buffer already is done on the same frame.
6974
b4fa35fa
GM
69752012-03-27 Glenn Morris <rgm@gnu.org>
6976
6977 * startup.el (mail-host-address): Doc fix.
6978
f9210e18
SM
69792012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6982 than 197 variables.
6983
c0bf7753
AF
69842012-03-26 Ami Fischman <ami@fischman.org>
6985
6986 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6987
33da7b16
GM
69882012-03-26 Glenn Morris <rgm@gnu.org>
6989
02243d9d
GM
6990 * files.el (save-buffers-kill-emacs): Doc fix.
6991
33da7b16
GM
6992 * startup.el (normal-top-level, command-line, command-line-1):
6993 Give them doc strings.
6994
e5a69fd0
EZ
69952012-03-25 Eli Zaretskii <eliz@gnu.org>
6996
6997 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6998 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6999
9a69676a
CY
70002012-03-25 Chong Yidong <cyd@gnu.org>
7001
4125cb8b
CY
7002 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7003 theme if it was previously enabled before (Bug#11031).
7004
dd470960
CY
7005 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7006 spec with custom-face-get-current-spec if its :shown-value is not
7007 determined yet (Bug#9337).
4125cb8b 7008 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7009
9a69676a
CY
7010 * button.el (button-at): Minor addition to docstring.
7011
6e7e90fa
SL
70122012-03-24 Simon Leinen <simon.leinen@gmail.com>
7013
7014 * vc/vc.el (vc-merge): Fix a prompt.
7015
f06e2758
CY
70162012-03-24 Chong Yidong <cyd@gnu.org>
7017
7018 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7019 point (Bug#9623).
7020
6e7e90fa
SL
7021 * button.el (button-at): Minor addition to docstring.
7022
b9d0879b
SM
70232012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * newcomment.el (comment-choose-indent): No space after BOL.
7026
e71cebb3
SS
70272012-03-22 Sam Steingold <sds@gnu.org>
7028
7029 * window.el (switch-to-prev-buffer): Revert last patch because the
7030 bug turned out to be an advertised feature (Elisp manual 28.14).
7031
335aff35
GM
70322012-03-22 Glenn Morris <rgm@gnu.org>
7033
7034 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7035 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7036
c676576a
LMI
70372012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7038
7039 * net/network-stream.el (network-stream-open-starttls): Make error
7040 message under Windows be less misleading.
7041
126f3d39
LW
70422012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7043
7044 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7045 understands (bug#9942).
7046
64fee311
CY
70472012-03-22 Chong Yidong <cyd@gnu.org>
7048
7049 * simple.el (end-of-visible-line): Handle return value of
7050 next-single-property-change properly (Bug#9371).
7051
a640d29a
KH
70522012-03-22 Kenichi Handa <handa@m17n.org>
7053
7054 * international/quail.el (quail-insert-kbd-layout): Fix previous
7055 change. To avoid unwanted bidi reordering, use
7056 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7057
39675016
DG
70582012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7059
7060 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7061 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7062 (ruby-beginning-of-indent): Be more careful with the difference
7063 between word-boundary and symbol boundary.
7064 (ruby-mode-syntax-table): Make : a symbol constituent.
7065
0a6934fc 70662012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7067
3d008e4f
SM
7068 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7069
0a6934fc
SM
70702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7071
af67c9d7
SM
7072 * progmodes/etags.el (tags-completion-at-point-function):
7073 Improve last fix.
7074
1acad97c
SM
7075 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7076
e298b5da
SS
70772012-03-21 Sam Steingold <sds@gnu.org>
7078
7079 * progmodes/etags.el (tags-completion-at-point-function):
7080 Avoid the error when point is inside the pattern.
7081
91d82a70
JY
70822012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7083
7084 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7085 line (Bug#10855).
7086
69188b79
CY
70872012-03-21 Drew Adams <drew.adams@oracle.com>
7088
7089 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7090
99fc91fe
AK
70912012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7092
7093 * ido.el (ido-set-current-directory, ido-read-internal)
7094 (ido-choose-completion-string, ido-completion-help): Handle nil
7095 value of ido-completion-buffer (Bug#11008).
7096
087bbb4c
SS
70972012-03-21 Sam Steingold <sds@gnu.org>
7098
7099 * window.el (switch-to-prev-buffer): Do not switch to a visible
7100 window previous buffer, just like with the frame previous buffers.
7101
fb5b8aca
CY
71022012-03-21 Chong Yidong <cyd@gnu.org>
7103
7104 * faces.el (make-face, make-empty-face, copy-face):
7105 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7106 Doc fixes.
7107
dc9924b8
SM
71082012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7111 (widget-complete): Remove broken use of it.
7112
f0bcceb9
CY
71132012-03-20 Chong Yidong <cyd@gnu.org>
7114
dc9924b8
SM
7115 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7116 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7117 characters.
7118
ee52ebf3
TH
71192012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7120
7121 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7122 to draw rectangles, not squares. (Regression introduced by revno
7123 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7124
4c5779ab
CY
71252012-03-18 Chong Yidong <cyd@gnu.org>
7126
7127 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7128 it is not yet defined (for temacs).
7129
15360934
LL
71302012-03-18 Leo Liu <sdl.web@gmail.com>
7131
dc9924b8 7132 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7133
d9a8eb66
EZ
71342012-03-17 Eli Zaretskii <eliz@gnu.org>
7135
7136 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7137 (ispell-choices-win-default-height, ispell-silently-savep)
7138 (ispell-dictionary-alist, ispell-encoding8-command)
7139 (ispell-check-version, ispell-aspell-find-dictionary)
7140 (ispell-valid-dictionary-list, ispell-words-keyword)
7141 (ispell-get-word, ispell-internal-change-dictionary)
7142 (ispell-region, ispell-skip-region-list)
7143 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7144 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7145 (ispell-message-text-end, ispell-message)
7146 (ispell-buffer-local-parsing): Doc fix.
7147
f02ff80d
J
71482012-03-13 Jambunathan K <kjambunathan@gmail.com>
7149
7150 * htmlfontify.el: Add support for code block fontification for ODT
7151 export (Bug #9914).
7152 (hfy-optimisations): Define new option
7153 `body-text-only'
7154 (hfy-fontify-buffer): Honor above setting.
7155 (hfy-begin-span, hfy-end-span): New routines factored out form
7156 `hfy-fontify-buffer'.
7157 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7158 that permit insertion of custom tags.
7159 (hfy-fontify-buffer): Use above handlers.
7160 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7161 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7162 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7163 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7164 bind a special variable `hfy-user-sheet-assoc'.
7165 (htmlfontify-string): New defun.
7166 (hfy-compile-face-map): Make sure that the last char in the
7167 buffer is correctly fontified.
7168 (hfy-face-resolve-face): Whitespace only change.
7169
9ac7a13f
EZ
71702012-03-17 Eli Zaretskii <eliz@gnu.org>
7171
7172 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7173 message more clear.
7174
e2b5bdd7
LL
71752012-03-16 Leo Liu <sdl.web@gmail.com>
7176
7177 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7178
2e492df3
AM
71792012-03-16 Alan Mackenzie <acm@muc.de>
7180
7181 Further optimise the handling of large macros.
7182
7183 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7184 limit to a call of `c-literal-limits'.
7185 (c-determine-+ve-limit): New function.
dc9924b8
SM
7186 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7187 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7188 In CASE 5B, restrict a search limit to 500.
7189 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7190
7191 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7192 Restrict macro bounds to +-500 from after-change's BEG END.
7193
50e94f0c
LL
71942012-03-16 Leo Liu <sdl.web@gmail.com>
7195
7196 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7197
6f09f6ed
AH
71982012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7199
7200 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7201 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7202
c7e73d51
GM
72032012-03-16 Glenn Morris <rgm@gnu.org>
7204
da986230
GM
7205 * view.el (view-buffer, view-buffer-other-window)
7206 (view-buffer-other-frame): Doc fixes re special mode-class.
7207
0835f01e
GM
7208 * subr.el (eval-after-load): If named feature is provided not from
7209 a file, run after-load forms. (Bug#10946)
7210
c7e73d51
GM
7211 * calendar/calendar.el (calendar-insert-at-column):
7212 Handle non-unit-width characters a bit better. (Bug#10978)
7213
3f2eafd1
CY
72142012-03-15 Chong Yidong <cyd@gnu.org>
7215
7216 * emacs-lisp/ring.el (ring-extend): New function.
7217 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7218
7219 * comint.el (comint-read-input-ring)
7220 (comint-add-to-input-history): Grow comint-input-ring lazily.
7221
103af3fe
SM
72222012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7223
663b1677
SM
7224 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7225 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7226
103af3fe
SM
7227 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7228 (imenu-add-to-menubar): Don't add a redundant index.
7229 (imenu-update-menubar): Handle a dynamically composed keymap.
7230
899cb7cb
KY
72312012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7232
7233 * mail/sendmail.el (mail-encode-header):
7234 Bind rfc2047-encode-encoded-words to nil.
7235
3809f91d
GM
72362012-03-13 Glenn Morris <rgm@gnu.org>
7237
7238 * calendar/calendar.el (calendar-string-spread):
7239 Handle non-unit-width characters a bit better. (Bug#10978)
7240
9e345a01
LL
72412012-03-13 Leo Liu <sdl.web@gmail.com>
7242
7243 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7244 directory and file as argument (Bug#10822).
7245
4a07df36
KS
72462012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7247
7248 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7249 For dynamically generated code, follow $PC.
7250 (gdb-disassembly-handler-custom): Handle no function name case.
7251
4aaa9356
TL
72522012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7253
7254 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7255 * emulation/ws-mode.el (ws-query-replace):
7256 * sort.el (sort-regexp-fields):
7257 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7258
225979da
SM
72592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * dabbrev.el: Fix cycle completion order (bug#10963).
7262 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7263 (dabbrev-completion): Don't use an obarray; provide
7264 a cycle-sort-function.
7265
e2f1fdab
LL
72662012-03-12 Leo Liu <sdl.web@gmail.com>
7267
dc9924b8 7268 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7269 (kill-do-not-save-duplicates): Doc fix.
7270
b19490ed
SM
72712012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * dabbrev.el: Fix cycle completion (bug#10963).
7274 Use lexical binding and wrap to 80 columns.
7275 (dabbrev-completion): Delay computing the list of completions.
7276
4b05d722
KH
72772012-03-12 Kenichi Handa <handa@m17n.org>
7278
7279 * international/quail.el (quail-insert-kbd-layout): Surround each
7280 row by LRO and PDF instead of inserting many LRMs. Pad the left
7281 and right of each non-spacing marks. Insert invisible space
7282 between lower and upper characters to prevent composition.
7283
dbbc2e69
SM
72842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * minibuffer.el (minibuffer-complete): Don't get confused when the
7287 function is run twice via different commands (bug#10958).
7288 (complete-with-action): Fix docstring.
7289
292112ed
CY
72902012-03-12 Chong Yidong <cyd@gnu.org>
7291
5d1ac394
CY
7292 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7293 (nxml-completion-at-point-function): New function.
7294 (nxml-mode): Use it.
7295 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7296
292112ed
CY
7297 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7298 Load generated autoloads file before byte compiling (Bug#10970).
7299 (package--make-autoloads-and-compile): New helper fun.
7300
4098f8f7
CS
73012012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7302
7303 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7304
8f754691
MA
73052012-03-11 Michael Albinus <michael.albinus@gmx.de>
7306
7307 * autorevert.el (auto-revert-handler): Ensure, that
7308 file-readable-p is applied only for local files or in
7309 auto-revert-tail-mode.
7310
e29ab36b
AS
73112012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7312
dbbc2e69
SM
7313 * server.el (server-eval-at): Handle non-tcp connections.
7314 Decode result string.
ad0bf5b6 7315
e29ab36b
AS
7316 * server.el (server-msg-size): New constant.
7317 (server-reply-print): New function.
7318 (server-eval-and-print): Use it.
7319 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7320 Handle -print-nonl.
7321
de5939ba
CS
73222012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7323
7324 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7325 (Bug#10987).
7326
0c93eabf
CY
73272012-03-11 Chong Yidong <cyd@gnu.org>
7328
397a688f
CY
7329 * simple.el (goto-line): Doc fix (Bug#9938).
7330
2cc775f9
CY
7331 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7332
0c93eabf
CY
7333 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7334 when finished (Bug#10963).
7335
c491fa41
MR
73362012-03-11 Martin Rudalics <rudalics@gmx.at>
7337
7338 * window.el (split-window-below): Fix bug in case where
7339 split-window-keep-point is nil (Bug#10971).
7340
300e8fa5
JL
73412012-03-11 Juri Linkov <juri@jurta.org>
7342
7343 * replace.el (replace-highlight): Set isearch-word to nil
7344 unconditionally. (Bug#10887)
7345
dbf6c5a1
EZ
73462012-03-10 Eli Zaretskii <eliz@gnu.org>
7347
7348 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7349 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7350 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7351 (mairix-widget-create-query): Add usage information about mairix
7352 search forms: negating words, searching for substrings, etc.
7353
b9e501de
JP
73542012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7355
7356 * international/fontset.el (font-encoding-alist): Add an entry for
7357 ksx1001 (Bug#5667).
7358
92795c91
RS
73592012-03-10 Richard Stallman <rms@gnu.org>
7360
1694e6c1
RS
7361 * mail/sendmail.el (mail-encode-header):
7362 Set rfc2047-encode-encoded-words.
7363
607e8555
RS
7364 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7365
de3bc99a
RS
7366 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7367 view buffer means not swapped.
7368 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7369 (rmail-write-region-annotate): Error if real text has disappeared.
7370
92795c91
RS
7371 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7372
699bd04e
CY
73732012-03-10 Chong Yidong <cyd@gnu.org>
7374
7375 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7376 * emulation/cua-base.el (cua--init-keymaps):
7377 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7378
570a1714
MR
73792012-03-10 Martin Rudalics <rudalics@gmx.at>
7380
dbbc2e69
SM
7381 * speedbar.el (speedbar-unhighlight-one-tag-line):
7382 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7383
82dcf4e4
CY
73842012-03-10 Chong Yidong <cyd@gnu.org>
7385
7a2c7ca7
CY
7386 * minibuffer.el (completion-in-region, completion-help-at-point):
7387 Give the completion field overlay a high priority (Bug#6830).
7388
82dcf4e4
CY
7389 * dired.el (dired-goto-file): Recognize absolute file name
7390 listings (Bug#7126).
7391 (dired-goto-file-1): New helper function.
7392 (dired-toggle-read-only): Inhibit warnings.
7393
052e28ac
MA
73942012-03-09 Michael Albinus <michael.albinus@gmx.de>
7395
75f1671a 7396 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7397 there are no properties.
7398
95d5e396
LL
73992012-03-09 Leo Liu <sdl.web@gmail.com>
7400
7401 * savehist.el (savehist-printable): Stricter check for string
7402 value (Bug#10937).
7403
3f018d6d
EZ
74042012-03-09 Eli Zaretskii <eliz@gnu.org>
7405
dbbc2e69
SM
7406 * mail/smtpmail.el (smtpmail-send-it):
7407 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7408 valid mbox format.
7409
f7fd3d79
GM
74102012-03-09 Glenn Morris <rgm@gnu.org>
7411
7412 * files.el (dir-locals-find-file):
7413 Don't check result is regular, readable.
7414 (dir-locals-read-from-file): Demote errors.
7415
6ff6e72f
EZ
74162012-03-08 Eli Zaretskii <eliz@gnu.org>
7417
dbbc2e69
SM
7418 * international/quail.el (quail-insert-kbd-layout):
7419 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7420 layout cell, to prevent their reordering by bidi display engine.
7421 For details, see the discussion in
7422 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7423
9cec7834
AM
74242012-03-08 Alan Mackenzie <acm@muc.de>
7425
7426 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7427 the starting position; make it extend the marked region when
7428 invoked repeatedly - all under appropriate circumstances.
7429 Fixes bugs #5525, #10906.
7430
9a40b8d4
GM
74312012-03-08 Glenn Morris <rgm@gnu.org>
7432
7433 * files.el (locate-dominating-file, dir-locals-find-file):
7434 Undo 2012-03-06 change.
7435
7a08ed35
EZ
74362012-03-07 Eli Zaretskii <eliz@gnu.org>
7437
dbbc2e69
SM
7438 * international/quail.el (quail-help):
7439 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7440 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7441 for the reason.
7442
5aca4f71 74432012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7444
7445 Avoid superfluous registering of signals. (Bug#10807)
7446
7447 * notifications.el (notifications-on-action-object)
7448 (notifications-on-close-object): New defvars.
7449 (notifications-on-action-signal, notifications-on-closed-signal):
7450 Unregister the signal if not needed any longer.
7451 (notifications-notify): Register `notifications-action-signal' or
7452 `notifications-closed-signal', if :on-action or :on-close has been
7453 passed as argument.
7454
78e8b10a
CY
74552012-03-07 Chong Yidong <cyd@gnu.org>
7456
7457 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7458 non-X platforms.
7459
69481eb8
GM
74602012-03-06 Glenn Morris <rgm@gnu.org>
7461
7462 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7463 (x-disown-selection-internal, x-get-selection-internal):
7464 Doc fix (add arglist signatures). (Bug#10783)
7465
133b8e11
KS
74662012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7467
7468 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7469 Handle breakpoints with no "type".
7470
99a83064
GM
74712012-03-06 Glenn Morris <rgm@gnu.org>
7472
7473 * files.el (locate-dominating-file): Add optional predicate argument.
7474 (dir-locals-find-file): Make use of above change.
7475
17798e78
TTN
74762012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7477
7478 * info.el (Info-insert-dir): Also try "dir.gz".
7479
eb182446
GM
74802012-03-06 Glenn Morris <rgm@gnu.org>
7481
8f2114ee
GM
7482 * files.el (dir-locals-find-file):
7483 Ignore non-readable or non-regular files. (Bug#10928)
7484
eb182446
GM
7485 * files.el (locate-dominating-file): Doc fix.
7486
24679323
AS
74872012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7488
7489 * calendar/calendar.el (calendar-set-mode-line):
7490 `getenv' returns a string. (Bug#10951)
7491
01d972a9
LL
74922012-03-05 Leo Liu <sdl.web@gmail.com>
7493
109aa8a9
LL
7494 * simple.el (backward-delete-char-untabify): Constrain point to
7495 field (Bug#10939).
7496
01d972a9
LL
7497 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7498
10607bea
CY
74992012-03-05 Chong Yidong <cyd@gnu.org>
7500
7501 * simple.el (count-words): If called from Lisp, return the word
7502 count, for symmetry with `count-lines'. Arglist changed.
7503 (count-words--message): Args changed. Consolidate counting code
7504 from count-words and count-words-region.
7505 (count-words-region): Caller changed.
7506 (count-lines-region): Make it an obsolete alias.
7507
5dd11cfe
TH
75082012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7509
7510 * saveplace.el (save-place-to-alist)
7511 (save-place-ignore-files-regexp): Allow value nil to disable this
7512 feature.
7513
c349f4e6
CY
75142012-03-04 Chong Yidong <cyd@gnu.org>
7515
7516 * faces.el (face-spec-reset-face): For the default face, reset the
7517 attributes to default values (Bug#10748).
7518
e627be4c
LMI
75192012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7520
7521 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7522 previous patch: Check `message-send-mail-function', and not the
7523 default function (bug#10897).
7524
ebeabff4
MA
75252012-03-04 Michael Albinus <michael.albinus@gmx.de>
7526
a41a6cf4
MA
7527 * notifications.el (notifications-on-action-signal)
7528 (notifications-on-closed-signal): Check for unique service name of
7529 incoming event. Fix error in removing entry.
ebeabff4 7530 (top): Register for signals with wildcard service name.
a41a6cf4 7531 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7532
c1ca42b4
CY
75332012-03-04 Chong Yidong <cyd@gnu.org>
7534
dc9924b8 7535 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7536
ea16568d
GM
75372012-03-04 Glenn Morris <rgm@gnu.org>
7538
7539 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7540 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7541 (expand-abbrev, define-abbrev-table): Doc fixes.
7542
fbae4637
LMI
75432012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7544
7545 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7546 `message-default-send-mail-function' and not `send-mail-function'
7547 when doing the prompting for `sendmail-query-once' before sending
7548 in Message buffers (bug#10897).
7549
a1e7225c
LMI
7550 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7551 This is inconsistent with all the other stream functions, which leave
7552 the setting up to the higher levels (if so wanted) (bug#10931).
7553
56d093a9
AM
75542012-03-02 Alan Mackenzie <acm@muc.de>
7555
7556 Depessimize the handling of very large macros.
7557
7558 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7559 (c-macro-cache-syntactic): New variables to implement a one
7560 element macro cache.
7561 (c-invalidate-macro-cache): New function.
7562 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7563 Adapt to use the new cache.
7564 (c-state-safe-place): Use better the cache of safe positions.
7565 (c-state-semi-nonlit-pos-cache)
7566 (c-state-semi-nonlit-pos-cache-limit):
7567 New variables for...
7568 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7569 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7570 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7571 Use c-state-semi-safe-place.
56d093a9 7572
dbbc2e69
SM
7573 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7574 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7575
817e5c3d
MA
75762012-03-02 Michael Albinus <michael.albinus@gmx.de>
7577
dbbc2e69
SM
7578 * jka-compr.el (jka-compr-call-process):
7579 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7580 not remote.
7581
a032a702
MA
75822012-03-01 Michael Albinus <michael.albinus@gmx.de>
7583
7584 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7585 access of FILE2, if FILE1 does not exist.
7586
99a54f21
MA
7587 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7588 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7589
7590 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7591 Add "PAGER=" to `process-environment'.
7592
f6561e1f
MM
75932012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7594
7595 * progmodes/sql.el: Bug fix
7596 (sql-get-login-ext): Save login values in globals.
7597 (sql-get-login): Use new version of `sql-get-login-ext'.
7598 (sql-interactive-mode): Set global `sql-connection' to nil.
7599 (sql-connect): Set global values for connection.
7600 (sql-product-interactive): Save global values as buffer local.
7601
2d44d9cc
LL
76022012-02-29 Leo Liu <sdl.web@gmail.com>
7603
7604 * abbrev.el (define-abbrevs): Reset sys to nil.
7605
96b49301 76062012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7607
bf7f9bc5
JB
7608 * files.el (file-equal-p): Rename from `files-equal-p'.
7609 Return nil when one or both files don't exist.
96b49301 7610 (file-subdir-of-p): Now only top directory must exists,
7611 return nil if it doesn't.
bf7f9bc5
JB
7612 (copy-directory): No need to test with `file-subdir-of-p' after
7613 creating dir.
7614 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7615 to `file-equal-p'.
96b49301 7616
44e97401
GM
76172012-02-28 Glenn Morris <rgm@gnu.org>
7618
7619 * shell.el (shell-mode):
7620 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7621 * play/landmark.el (landmark-font-lock-face-O):
7622 * play/handwrite.el (handwrite):
7623 * play/gomoku.el (gomoku-O):
7624 * net/browse-url.el (browse-url-browser-display):
7625 * international/mule.el (define-charset):
7626 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7627 * filesets.el (filesets-find-file-delay):
7628 * eshell/em-xtra.el (eshell-xtra):
7629 * eshell/em-unix.el (eshell-grep):
7630 * emulation/viper.el (viper-mode):
7631 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7632 * emacs-lisp/easymenu.el (easy-menu-define):
7633 * calendar/timeclock.el (timeclock-use-display-time):
7634 * bs.el (bs-mode):
7635 * bookmark.el (bookmark-save-flag):
7636 Doc fix (standardize possessive apostrophe usage).
7637
c98c6276
CY
76382012-02-27 Chong Yidong <cyd@gnu.org>
7639
bf7f9bc5
JB
7640 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7641 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7642
c98c6276
CY
7643 * font-lock.el (font-lock-specified-p): Rename from
7644 font-lock-spec-present. Callers changed.
7645
9c62cd04 76462012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7647
bf7f9bc5
JB
7648 * emacs-lisp/package.el (package-compute-transaction):
7649 Handle holding a package version to t in package-load-list.
8ac9e529 7650
530739c9
MA
76512012-02-26 Michael Albinus <michael.albinus@gmx.de>
7652
7653 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7654 (tramp-get-inode, tramp-get-device): Use cached values.
7655
487915d7
AM
76562012-02-26 Alan Mackenzie <acm@muc.de>
7657
7658 Check there is a font-lock specification before doing initial
7659 fontification.
7660
7661 * font-core.el (font-lock-mode): Move the conditional from
7662 :after-hook to font-lock-initial-fontify.
7663 (font-lock-default-function): Move the check for a specification
7664 to font-lock-spec-present.
7665
dc9924b8 7666 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7667 (font-lock-spec-present): New function.
7668
4fd96557
JB
76692012-02-26 Jim Blandy <jimb@red-bean.com>
7670
7671 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7672 (gdb-send): Apply it to the operand of the '-interpreter-exec
7673 console' command, so that we can pass arguments with (say) quotes
7674 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7675
9a4888c0
CY
76762012-02-26 Chong Yidong <cyd@gnu.org>
7677
07498861
CY
7678 * help-fns.el (describe-function-1): Clarify description of
7679 remapping (Bug#10844).
7680
9a4888c0
CY
7681 * files.el (files-equal-p): Doc fix.
7682 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7683 and quit the loop once a mismatch is found.
7684
ea8fb88d
JB
76852012-02-25 Juanma Barranquero <lekktu@gmail.com>
7686
7687 * bs.el (bs--show-with-configuration): Don't throw an error
7688 if the window cannot be split; otherwise, subsequent calls to
7689 bs-show fail, restoring a stale window config. (Bug#10882)
7690
525795c1
JD
76912012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7692
7693 * term/ns-win.el (global-map): Bind ns-drag-file to
7694 ns-find-file (Bug#5855, Bug#10050).
7695
f008086f
AS
76962012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7697
7698 * calendar/parse-time.el (parse-time-string): Allow extractor to
7699 return nil.
7700
a3fcfa99
MA
77012012-02-25 Michael Albinus <michael.albinus@gmx.de>
7702
91027d08
JB
7703 * net/tramp.el (tramp-file-name-for-operation):
7704 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7705
7706 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7707 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7708 Add COPY-CONTENTS argument.
a3fcfa99 7709
67b0de11
CY
77102012-02-25 Chong Yidong <cyd@gnu.org>
7711
7712 Add custom groups for VC backends, for consistency with vc-bzr.
7713
7714 * vc/vc-arch.el (vc-arch):
7715 * vc/vc-cvs.el (vc-cvs):
7716 * vc/vc-git.el (vc-git):
7717 * vc/vc-hg.el (vc-hg):
7718 * vc/vc-mtn.el (vc-mtn):
7719 * vc/vc-rcs.el (vc-rcs):
7720 * vc/vc-sccs.el (vc-sccs):
7721 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7722 All relevant defcustoms reassigned.
7723
3c9dfce6
CY
77242012-02-25 Chong Yidong <cyd@gnu.org>
7725
1339bf43
CY
7726 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7727
3c9dfce6
CY
7728 * term/x-win.el (x-initialize-window-system): Reduce default for
7729 x-selection-timeout to 5 seconds (Bug#8869).
7730
25b2e303 77312012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7732
ec70a47d
GM
7733 * files.el (files-equal-p, file-subdir-of-p): New functions.
7734 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7735 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7736 * dired-aux.el (dired-copy-file-recursive): Same.
7737 (dired-create-files): Modify destination when source is equal to
7738 dest when copying files.
53a46cd0 7739 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7740
914260cd
MA
77412012-02-24 Michael Albinus <michael.albinus@gmx.de>
7742
7743 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7744 (Bug#10874)
7745
2cb228f7
AM
77462012-02-23 Alan Mackenzie <acm@muc.de>
7747
7748 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7749 parameter "after-hook:" to allow the expansion to run code after
7750 the execution of the mode hooks.
7751
7752 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7753 from font-lock-mode-internal.
2cb228f7 7754
91027d08 7755 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7756 :after-hook.
7757
8f0fde21
SM
77582012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7759
3e88618b
SM
7760 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7761 (completion--cache-all-sorted-completions): New function.
7762 (completion-all-sorted-completions): Use it.
7763 (completion--do-completion, minibuffer-force-complete):
7764 Use it to re-instate the flush hook.
7765
8f0fde21
SM
7766 * icomplete.el (icomplete-completions): Replace last fix with a better
7767 one (bug#10850).
7768
8e911f6f
DG
77692012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7770
7771 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7772 when it might call us back infinitely (bug#10797).
7773
49fe4321
GM
77742012-02-23 Glenn Morris <rgm@gnu.org>
7775
7776 * minibuffer.el (completion-category-overrides): Doc fix.
7777
b291b572
SM
77782012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7781 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7782
31a9ef2e
GM
77832012-02-23 Glenn Morris <rgm@gnu.org>
7784
5e6e6794 7785 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7786 (authors-obsolete-files-regexps, authors-ignored-files)
7787 (authors-ambiguous-files, authors-renamed-files-alist):
7788 Add more entries.
7789
0bd1e074
JL
77902012-02-23 Juri Linkov <juri@jurta.org>
7791
7792 * isearch.el (isearch-occur): Sync interactive spec with occur's
7793 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7794
b617673c
JL
7795 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7796
19e9789e
JL
77972012-02-22 Juri Linkov <juri@jurta.org>
7798
7799 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7800 (ucs-insert): Doc fix. Check for hex digits in the string.
7801 Don't display `nil' in the error message. (Bug#10857)
7802
f41ce09d
AM
78032012-02-22 Alan Mackenzie <acm@muc.de>
7804
7a71b18d 7805 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7806
ac2eceee
GM
78072012-02-22 Glenn Morris <rgm@gnu.org>
7808
7809 * ffap.el (ffap-c-path):
7810 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7811
abd1f678
CY
78122012-02-22 Chong Yidong <cyd@gnu.org>
7813
7814 * custom.el (load-theme): Doc fix.
7815
f25aef2e
GM
78162012-02-22 Glenn Morris <rgm@gnu.org>
7817
7818 * dired-x.el (dired-guess-shell-alist-default):
7819 Remove escape sequences from nroff output. (Bug#172)
7820
5f8dc2ca
GM
78212012-02-21 Glenn Morris <rgm@gnu.org>
7822
6ff86ec4
GM
7823 * vc/emerge.el (emerge-defvar-local):
7824 Set `permanent-local' property rather than unused `preserved'.
7825
be3223a3 7826 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7827 (picture-mode-map): Use it. (Bug#10860)
7828 (picture-mode): Doc fix.
7829
3fe58f4f
JB
78302012-02-21 Juanma Barranquero <lekktu@gmail.com>
7831
7832 * newcomment.el (uncomment-region-default): Remove unused binding.
7833
f9a998c3
GM
78342012-02-21 Glenn Morris <rgm@gnu.org>
7835
7836 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7837 (picture-self-insert, picture-tab-chars): Doc fix.
7838 (picture-mode-map): Fix C-a, C-e.
7839
c6029348
GM
78402012-02-20 Glenn Morris <rgm@gnu.org>
7841
7842 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7843
ab1ce9d7
LL
78442012-02-20 Leo Liu <sdl.web@gmail.com>
7845
7846 * icomplete.el (icomplete-completions): Check FROM arg before
7847 passing to substring (Bug#10850).
7848
0fd40f89
CY
78492012-02-19 Chong Yidong <cyd@gnu.org>
7850
7851 * comint.el: Require ansi-color.
7852 (comint-output-filter-functions): Add ansi-color-process-output.
7853
7854 * ansi-color.el: Don't set comint-output-filter-functions; it is
7855 now in the initial value defined in comint.el.
7856 (ansi-color-apply-face-function): New variable.
7857 (ansi-color-apply-on-region): Use it.
7858 (ansi-color-apply-overlay-face): New function.
7859
7860 * shell.el (shell): No need to require ansi-color.
7861 (shell-mode): Use ansi-color-apply-face-function to highlight
7862 color escapes using font-lock-face property (Bug#10835).
7863
20af2394
CY
78642012-02-19 Chong Yidong <cyd@gnu.org>
7865
7866 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7867 mode-line formats (Bug#10839).
7868
e23a3fbe
GM
78692012-02-18 Glenn Morris <rgm@gnu.org>
7870
b474519e
GM
7871 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7872
7873 * mail/undigest.el (unforward-rmail-message): Doc fix.
7874
e23a3fbe
GM
7875 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7876
57939ff4
EZ
78772012-02-18 Eli Zaretskii <eliz@gnu.org>
7878
7879 * international/characters.el (script-list): Sync with the latest
7880 Unicode Character Database.
7881
0c23686e
AS
78822012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7883
7884 * international/titdic-cnv.el: Remove duplicate coding tag.
7885 * language/cham.el: Likewise.
7886 * language/tai-viet.el: Likewise.
7887
6818b449
GM
78882012-02-18 Glenn Morris <rgm@gnu.org>
7889
7890 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7891 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7892 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7893 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7894 * calendar/holidays.el (holiday-bahai-holidays)
7895 (calendar-holidays, list-holidays):
7896 Use utf-8 Bahá'í in doc-strings, menus, etc.
7897
0311a3fc
TH
78982012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7899
7900 * saveplace.el (save-place-ignore-files-regexp): New variable
7901 allowing for excluding files from saving their location of point.
7902 The default value matches the temporary commit message editing
7903 files from Git, SVN, Bazaar, and Mercurial.
7904 (save-place-to-alist): Use it.
7905
d209e2fb 79062012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7907 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7908
7909 * newcomment.el (uncomment-region-default): Don't leave extra space
7910 when an arg is provided (bug#8150).
7911
ee0ce425
TZ
79122012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7913
eb864a71 7914 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7915
95ddf442
GM
79162012-02-17 Glenn Morris <rgm@gnu.org>
7917
7918 * net/socks.el: Require network-stream. (Bug#10599)
7919
48dd1e39 79202012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7921
7922 * international/charprop.el:
7923 * international/uni-name.el:
7924 * international/uni-old-name.el:
7925 * international/uni-comment.el: Regenerate.
7926
d68cd087
GM
79272012-02-16 Glenn Morris <rgm@gnu.org>
7928
7929 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7930 Interactively in calendar buffer, give an error if not on a date.
7931
13932042
GM
79322012-02-15 Glenn Morris <rgm@gnu.org>
7933
7934 * shell.el (shell-delimiter-argument-list):
7935 Revert 2011-02-17 change. (Bug#8027)
7936
c3a70e2b
CY
79372012-02-15 Chong Yidong <cyd@gnu.org>
7938
60236b0d
CY
7939 * minibuffer.el (completion-at-point-functions): Doc fix.
7940
c3a70e2b
CY
7941 * custom.el (defcustom): Doc fix; note use of defvar.
7942
9f26dc24
GM
79432012-02-15 Glenn Morris <rgm@gnu.org>
7944
7945 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7946 Doc fixes.
7947
6546b134
GM
79482012-02-14 Glenn Morris <rgm@gnu.org>
7949
7950 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7951
d29b2b4c
LI
79522012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7953
7954 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7955 way the ports list is computed.
835bdcba
LI
7956 (smtpmail-query-smtp-server): Prompt the user for a port number if
7957 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7958
08dcdbc9
TZ
79592012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7960
7961 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7962
2605051a
GM
79632012-02-13 Glenn Morris <rgm@gnu.org>
7964
7965 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7966
7ee99f32
TZ
79672012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7968
7969 * net/gnutls.el (gnutls-trustfiles): New variable.
7970 (gnutls-negotiate): Use it.
7971
5f0af64f
LI
79722012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7973
7974 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7975 does its stuff if Gnus is running.
7976
c14fcc95
AM
79772012-02-13 Alan Mackenzie <acm@muc.de>
7978
7979 Fix a loop in c-set-fl-decl-start.
7980
7a71b18d 7981 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7982 c-backward-syntactic-ws actually moves backwards.
7983
142b4d90
LL
79842012-02-13 Leo Liu <sdl.web@gmail.com>
7985
7986 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7987 beginning so that all \C-o chars are removed.
7988
fa9958a6
TZ
79892012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7990
dc9924b8 7991 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7992
0bc5886a
AM
79932012-02-12 Alan Mackenzie <acm@muc.de>
7994
7995 Fix infinite loop with long macros.
4d6769e1 7996 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7997
d4bd55e7
CY
79982012-02-12 Chong Yidong <cyd@gnu.org>
7999
8000 * window.el (display-buffer): Doc fix (Bug#10785).
8001
66f3fe22
GM
80022012-02-12 Glenn Morris <rgm@gnu.org>
8003
bd7da63e
GM
8004 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8005 (x-disown-selection-internal, x-get-selection-internal):
8006 Sync docs with the xselect.c versions.
8007
66f3fe22
GM
8008 * allout-widgets.el: Add missing license notice.
8009
3e0d2fa7
GM
80102012-02-11 Glenn Morris <rgm@gnu.org>
8011
cfecdf09
GM
8012 * select.el (x-get-selection-internal, x-own-selection-internal)
8013 (x-disown-selection-internal):
8014 * x-dnd.el (x-get-selection-internal): Update declarations.
8015
6d216d7f
GM
8016 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8017
2bed3f04
GM
8018 * window.el (window-sides-slots):
8019 * tool-bar.el (tool-bar-position):
8020 * term/xterm.el (xterm-extra-capabilities):
8021 * ses.el (ses-self-reference-early-detection):
8022 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8023 (verilog-auto-wire-type)
8024 (verilog-auto-delete-trailing-whitespace)
8025 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8026 (verilog-auto-tieoff-declaration):
8027 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8028 (sql-oracle-statement-starters, sql-oracle-scan-on):
8029 * progmodes/prolog.el (prolog-align-comments-flag)
8030 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8031 (prolog-left-indent-regexp, prolog-paren-indent-p)
8032 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8033 (prolog-types, prolog-mode-specificators)
8034 (prolog-determinism-specificators, prolog-directives)
8035 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8036 (prolog-electric-dot-flag)
8037 (prolog-electric-dot-full-predicate-template)
8038 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8039 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8040 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8041 (prolog-program-switches, prolog-prompt-regexp)
8042 (prolog-debug-on-string, prolog-debug-off-string)
8043 (prolog-trace-on-string, prolog-trace-off-string)
8044 (prolog-zip-on-string, prolog-zip-off-string)
8045 (prolog-use-standard-consult-compile-method-flag)
8046 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8047 (prolog-imenu-max-lines, prolog-info-predicate-index)
8048 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8049 (prolog-char-quote-workaround):
8050 * progmodes/cc-vars.el (c-defun-tactic):
8051 * net/tramp.el (tramp-encoding-command-interactive)
8052 (tramp-local-end-of-line):
8053 * net/soap-client.el (soap-client):
8054 * net/netrc.el (netrc-file):
8055 * net/gnutls.el (gnutls):
8056 * minibuffer.el (completion-category-overrides)
8057 (completion-cycle-threshold)
8058 (completion-pcm-complete-word-inserts-delimiters):
8059 * man.el (Man-name-local-regexp):
8060 * mail/feedmail.el (feedmail-display-full-frame):
8061 * international/characters.el (glyphless-char-display-control):
8062 * eshell/em-ls.el (eshell-ls-date-format):
8063 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8064 (lisp-lambda-list-keyword-parameter-indentation)
8065 (lisp-lambda-list-keyword-parameter-alignment):
8066 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8067 * dired-x.el (dired-omit-verbose):
8068 * cus-theme.el (custom-theme-allow-multiple-selections):
8069 * calc/calc.el (calc-highlight-selections-with-faces)
8070 (calc-lu-field-reference, calc-lu-power-reference)
8071 (calc-note-threshold):
8072 * battery.el (battery-mode-line-limit):
8073 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8074 (archive-7z-update):
8075 * allout.el (allout-prefixed-keybindings)
8076 (allout-unprefixed-keybindings)
8077 (allout-inhibit-auto-fill-on-headline)
8078 (allout-flattened-numbering-abbreviation):
8079 * allout-widgets.el (allout-widgets-auto-activation)
8080 (allout-widgets-icons-dark-subdir)
8081 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8082 (allout-widgets-theme-dark-background)
8083 (allout-widgets-theme-light-background)
8084 (allout-widgets-item-image-properties-emacs)
8085 (allout-widgets-item-image-properties-xemacs)
8086 (allout-widgets-run-unit-tests-on-load)
8087 (allout-widgets-time-decoration-activity)
8088 (allout-widgets-hook-error-post-time)
8089 (allout-widgets-track-decoration):
8090 Add missing :version tags to new defcustoms and defgroups.
8091
5fec1b8e
GM
8092 * progmodes/sql.el (sql-ansi-statement-starters)
8093 (sql-oracle-statement-starters): Add custom type.
8094
3e0d2fa7
GM
8095 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8096 (prolog-system-version): Give it a type.
8097
90b671e2
EZ
80982012-02-11 Eli Zaretskii <eliz@gnu.org>
8099
8100 * term/pc-win.el (x-select-text, x-selection-owner-p)
8101 (x-own-selection-internal, x-disown-selection-internal)
8102 (x-get-selection-internal): Sync doc strings and argument lists
8103 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8104
5eac0c02
LL
81052012-02-11 Leo Liu <sdl.web@gmail.com>
8106
8107 * progmodes/python.el (python-end-of-statement): Fix infinite
8108 loop. (Bug#10788)
8109
f82cb659
GM
81102012-02-10 Glenn Morris <rgm@gnu.org>
8111
8112 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8113 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8114
cc26d239
LI
81152012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8116
8117 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8118 about SMTP before checking the From header.
8119
91027d08 8120 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8121 into own function for reuse by emacsbug.el.
8122
1be3ca5a
LL
81232012-02-10 Leo Liu <sdl.web@gmail.com>
8124
8125 * subr.el (condition-case-unless-debug): Rename from
8126 condition-case-no-debug. All callers changed.
8127 (with-demoted-errors): Fix caller.
8128
8129 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8130 * nxml/rng-valid.el (rng-do-some-validation):
8131 * emacs-lisp/package.el (package-refresh-contents)
8132 (package-menu-execute):
8133 * desktop.el (desktop-create-buffer):
91027d08 8134 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8135
b011fbfe
GM
81362012-02-10 Glenn Morris <rgm@gnu.org>
8137
b2096d72
GM
8138 * textmodes/bibtex.el:
8139 Add missing :version tags for new/changed defcustoms.
8140
b011fbfe
GM
8141 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8142
4c7e65bf
LI
81432012-02-09 Lars Ingebrigtsen <larsi@rusty>
8144
8145 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8146 (smtpmail-via-smtp): Use it, or fall back on the From address.
8147 (smtpmail-send-it): Ditto.
8148
f3934f6f
SM
81492012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8152 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8153 (byte-compile-tmp-var): New const.
8154 (byte-compile-defvar): Use it to minimize .elc size.
8155 Just use `defvar' rather than simulate it (bug#10761).
8156
a075a2c5
GM
81572012-02-09 Glenn Morris <rgm@gnu.org>
8158
cf3aa21b
GM
8159 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8160
354998cd
GM
8161 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8162 Add :version tags.
8163
dc9924b8
SM
8164 * progmodes/compile.el (compilation-error-screen-columns)
8165 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8166
dab3703d
GM
8167 * vc/log-view.el (log-view-toggle-entry-display):
8168 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8169
3f88cd72
GM
8170 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8171 (report-emacs-bug-can-use-xdg-email):
8172 (report-emacs-bug-insert-to-mailer): Doc fixes.
8173 (report-emacs-bug): Message fix.
8174
d95b247d
GM
8175 * net/browse-url.el (browse-url-can-use-xdg-open)
8176 (browse-url-xdg-open): Doc fixes.
8177
a075a2c5
GM
8178 * electric.el (electric-indent-mode, electric-pair-mode)
8179 (electric-layout-rules, electric-layout-mode): Doc fixes.
8180 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8181
ffb6157e
MR
81822012-02-08 Martin Rudalics <rudalics@gmx.at>
8183
8184 * server.el (server-unselect-display): Don't inadvertently kill
8185 the current buffer. (Bug#10729)
8186
e1ac4066
GM
81872012-02-08 Glenn Morris <rgm@gnu.org>
8188
34e8a2da
GM
8189 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8190 (sql-list-table): Doc fixes.
8191
b4ac6e8c
GM
8192 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8193 Comment out (does nothing).
8194
e1ac4066
GM
8195 * completion.el (dynamic-completion-mode):
8196 * dirtrack.el (dirtrack-debug-mode):
8197 * electric.el (electric-layout-mode):
8198 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8199 * face-remap.el (text-scale-mode, buffer-face-mode):
8200 * iimage.el (iimage-mode):
8201 * image-mode.el (image-transform-mode):
8202 * minibuffer.el (completion-in-region-mode):
8203 * scroll-lock.el (scroll-lock-mode):
8204 * simple.el (next-error-follow-minor-mode):
8205 * tar-mode.el (tar-subfile-mode):
8206 * tooltip.el (tooltip-mode):
8207 * vcursor.el (vcursor-use-vcursor-map):
8208 * wid-browse.el (widget-minor-mode):
8209 * emulation/tpu-edt.el (tpu-edt-mode):
8210 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8211 * international/iso-ascii.el (iso-ascii-mode):
8212 * language/thai-util.el (thai-word-mode):
8213 * mail/supercite.el (sc-minor-mode):
8214 * net/goto-addr.el (goto-address-mode):
8215 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8216 * progmodes/cwarn.el (cwarn-mode):
8217 * progmodes/flymake.el (flymake-mode):
8218 * progmodes/glasses.el (glasses-mode):
8219 * progmodes/hideshow.el (hs-minor-mode):
8220 * progmodes/pascal.el (pascal-outline-mode):
8221 * textmodes/enriched.el (enriched-mode):
8222 * vc/smerge-mode.el (smerge-mode):
8223 Doc fixes (minor mode argument).
8224
5e0d957f
EZ
82252012-02-07 Eli Zaretskii <eliz@gnu.org>
8226
8227 * ls-lisp.el (ls-lisp-sanitize): New function.
8228 (ls-lisp-insert-directory): Use it to fix or remove any elements
8229 in file-alist with missing attributes. (Bug#4673)
8230
98d7371e
AM
82312012-02-07 Alan Mackenzie <acm@muc.de>
8232
8233 Fix spurious recognition of c-in-knr-argdecl.
8234
8235 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8236 putative K&R region.
8237
667ced3a
AM
82382012-02-07 Alan Mackenzie <acm@muc.de>
8239
eb864a71
LM
8240 * progmodes/cc-engine.el (c-forward-objc-directive):
8241 Prevent looping in "#pragma mark @implementation".
667ced3a 8242
5b77774d
MA
82432012-02-07 Michael Albinus <michael.albinus@gmx.de>
8244
8245 * notifications.el (notifications-on-closed-signal): Make `reason'
8246 optional. (Bug#10744)
8247
af008560
GM
82482012-02-07 Glenn Morris <rgm@gnu.org>
8249
60d47423
GM
8250 * emacs-lisp/easy-mmode.el (define-minor-mode):
8251 Doc fixes for the macro and the mode it defines.
8252
dd605cc4
GM
8253 * image.el (imagemagick-types-inhibit): Doc fix.
8254
af008560
GM
8255 * cus-start.el (imagemagick-render-type): Add it.
8256
5cc59a37
LI
82572012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8258
4d6769e1
JB
8259 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8260 Set the default at load time, too, so that `font-lock-fontify-buffer'
8261 can be called without setting up the entire mode first. This fixes
8262 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8263
9a6dd747
CY
82642012-02-06 Chong Yidong <cyd@gnu.org>
8265
2d16b285
CY
8266 * simple.el (list-processes--refresh): Delete exited processes
8267 (Bug#8094).
8268
171e9b6e
CY
8269 * comint.el (comint-next-prompt): next-single-char-property-change
8270 and prev-single-char-property-change never return nil (Bug#8657).
8271
9a6dd747
CY
8272 * custom.el (defcustom): Doc fix (Bug#9711).
8273
aa4589a7
CY
82742012-02-05 Chong Yidong <cyd@gnu.org>
8275
5c2a252f
CY
8276 * cus-edit.el (custom-variable-reset-backup): Quote the value
8277 before storing it in the customized-value property (Bug#6712).
4aab9006 8278 (custom-display): Add a customization type tag.
983b9602 8279 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8280
aa4589a7
CY
8281 * wid-edit.el (widget-field-value-get): New optional arg to
8282 suppress trailing whitespace truncation.
8283 (character): Use it (Bug#2689).
8284
1ff980ae
AS
82852012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8286
8287 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8288 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8289
03988c98
CY
82902012-02-05 Chong Yidong <cyd@gnu.org>
8291
eeb6cc88
CY
8292 * cus-edit.el (custom-variable-value-create): For mismatched
8293 types, show the current value (Bug#7600).
8294
03988c98
CY
8295 * custom.el (defcustom): Doc fix.
8296
f8cdeef0
GM
82972012-02-05 Glenn Morris <rgm@gnu.org>
8298
8299 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8300
0696d255
JB
83012012-02-05 Juanma Barranquero <lekktu@gmail.com>
8302
8303 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8304 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8305 (pp-last-sexp): Use `looking-at-p'.
8306
34c99998
GM
83072012-02-04 Glenn Morris <rgm@gnu.org>
8308
8f05da42
GM
8309 * files.el (revert-buffer):
8310 Doc fix (mention revert-buffer-in-progress-p).
8311
f160676e
GM
8312 * emacs-lisp/ert-x.el (ert-simulate-command):
8313 Check deferred-action-list (which is obsolete) is bound.
8314
c7291ad9
GM
8315 * subr.el (with-wrapper-hook): Doc fixes.
8316
34c99998
GM
8317 * simple.el (filter-buffer-substring-functions)
8318 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8319
6283a7d3
LL
83202012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8321
8322 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8323 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8324
e96e3013
LL
83252012-02-04 Leo Liu <sdl.web@gmail.com>
8326
8327 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8328
8ded50f2
GM
83292012-02-04 Glenn Morris <rgm@gnu.org>
8330
82ff1d13
GM
8331 * image.el (image-extension-data): Add obsolete alias.
8332
987a0a16
GM
8333 * isearch.el (isearch-update): Doc fix.
8334
ea32ef46
GM
8335 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8336
8ded50f2
GM
8337 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8338
eea14f31
GM
83392012-02-03 Glenn Morris <rgm@gnu.org>
8340
8341 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8342 (image-animate-timeout): Doc fix.
8343
8344 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8345
12f381b7
GM
83462012-02-02 Glenn Morris <rgm@gnu.org>
8347
953cebf5
GM
8348 * server.el (server-auth-dir): Doc fix.
8349 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8350
12f381b7
GM
8351 * subr.el (run-mode-hooks): Doc fix.
8352
953a8c3b
JL
83532012-02-02 Juri Linkov <juri@jurta.org>
8354
8355 * image-mode.el (image-toggle-display-image): Remove tautological
8356 `major-mode' from the `derived-mode-p' test.
8357
c5d3843c
KH
83582012-02-02 Kenichi Handa <handa@m17n.org>
8359
9f6e692e 8360 * composite.el (compose-region): Cancel previous change.
c5d3843c 8361
159462d4 83622012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8363
8364 * composite.el (compose-region, compose-string): Signal error for
8365 a null string component (Bug#6988).
8366
9f562668
CY
83672012-02-01 Chong Yidong <cyd@gnu.org>
8368
e2cef717
CY
8369 * view.el (view-buffer-other-window, view-buffer-other-frame):
8370 Handle special modes like view-buffer (Bug#10650).
8371 (view-buffer): Simplify.
8372
9f562668
CY
8373 * frame.el (set-frame-font): Tweak meaning of third argument.
8374
9f6e692e
JB
8375 * dynamic-setting.el (font-setting-change-default-font):
8376 Use set-frame-font (Bug#9982).
9f562668 8377
781acb9f
GM
83782012-02-01 Glenn Morris <rgm@gnu.org>
8379
6035be52
GM
8380 * progmodes/compile.el (compilation-internal-error-properties):
8381 Respect compilation-first-column in the "*compilation*" buffer.
8382
781acb9f
GM
8383 * emacs-lisp/easy-mmode.el (define-minor-mode):
8384 Relax :variable's test for a named function.
8385
abbceb00
AM
83862012-01-31 Alan Mackenzie <acm@muc.de>
8387
8388 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8389 off by one error.
8390
fce3fdeb
CY
83912012-01-31 Chong Yidong <cyd@gnu.org>
8392
8393 * frame.el (set-frame-font): New arg ALL-FRAMES.
8394
8395 * menu-bar.el (menu-set-font): Use set-frame-font.
8396
8397 * faces.el (face-spec-reset-face): Don't apply unspecified
8398 attribute values to the default face.
8399
47893581
JB
84002012-01-31 Juanma Barranquero <lekktu@gmail.com>
8401
8402 * progmodes/cwarn.el (cwarn): Remove dead link.
8403 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8404 Remove * from defcustom docstrings.
8405 (turn-on-cwarn-mode): Make obsolete.
8406 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8407 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8408
e58e988a
GM
84092012-01-31 Glenn Morris <rgm@gnu.org>
8410
60dc2671 8411 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8412 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8413 Allow named functions to be used as the cdr of :variable.
e58e988a 8414
7a3f511d
GM
84152012-01-30 Glenn Morris <rgm@gnu.org>
8416
8417 * emacs-lisp/authors.el (authors-fixed-entries):
8418 Remove reference to deleted file rnewspost.el.
8419
cb882333
JB
84202012-01-29 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * window.el (window-with-parameter): Remove unused variable `windows'.
8423 (window--side-check): Remove unused variable `code'.
8424 (window--resize-siblings): Remove unused variable `first'.
8425 (adjust-window-trailing-edge): Remove unused variable `failed'.
8426 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8427 Use `let', not `let*'.
8428 (balance-windows-2): Remove unused variable `found'.
8429 (window--state-put-2): Remove unused variable `splits'.
8430 (window-state-put): Remove unused variable `selected'.
8431 (same-window-p): Use `string-match-p'.
8432 (display-buffer-assq-regexp): Remove unused variable `value'.
8433 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8434 Mark argument ALIST as ignored.
8435 (pop-to-buffer): Remove unused variable `old-window'.
8436
907201af
EZ
84372012-01-29 Eli Zaretskii <eliz@gnu.org>
8438
8439 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8440 and .lzma compressed files.
8441
ea162670
CY
84422012-01-29 Chong Yidong <cyd@gnu.org>
8443
5b95ee8a
CY
8444 * frame.el (window-system-default-frame-alist): Doc fix.
8445
ea162670
CY
8446 * dynamic-setting.el (font-setting-change-default-font): Don't
8447 change the default face if SET-FONT argument is non-nil (Bug#9982).
8448
d6e6f4b1
SB
84492012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8450
8451 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8452
0f29fa41 84532012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8454
8455 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8456 breakpoints in files outside current directory (Bug#6098).
8457
db174434
CY
84582012-01-29 Chong Yidong <cyd@gnu.org>
8459
6b25e4e2
SE
8460 * progmodes/python.el: Require ansi-color at top-level.
8461
6df6ae42
JB
8462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8463 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8464 (lisp-mode-abbrev-table): Add doc.
8465 (lisp-mode-variables): Don't set local-abbrev-table.
8466 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8467
e70ee681
RW
84682012-01-28 Roland Winkler <winkler@gnu.org>
8469
8470 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8471
ace88aa2
RW
84722012-01-28 Roland Winkler <winkler@gnu.org>
8473
8474 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8475 (bibtex-set-dialect): Use it. Either set global values of
8476 dialect-dependent variables or bind these variables buffer-locally
8477 (Bug#10254).
8478 (bibtex-mode): Call bibtex-set-dialect via
8479 hack-local-variables-hook.
eb864a71
LM
8480 (bibtex-dialect): Update docstring.
8481 Add safe-local-variable predicate.
ace88aa2
RW
8482 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8483 bibtex-set-dialect.
8484 (bibtex-mode-map): Define menu for each dialect.
8485 (bibtex-entry): Fix docstring.
8486
93376c5b
CY
84872012-01-28 Chong Yidong <cyd@gnu.org>
8488
8489 * eshell/esh-arg.el (eshell-quote-argument): New function.
8490
8491 * eshell/esh-ext.el (eshell-invoke-batch-file):
8492 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8493 first arg to eshell-parse-command (Bug#10523).
8494
4372494f
DA
84952012-01-28 Drew Adams <drew.adams@oracle.com>
8496
8497 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8498 `default-directory' is non-nil.
8499
4d4ec1f8
EZ
85002012-01-28 Eli Zaretskii <eliz@gnu.org>
8501
8502 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8503 line that displays system-configuration-options. (Bug#9924)
8504
7c188927
DA
85052012-01-28 Drew Adams <drew.adams@oracle.com>
8506
8507 * descr-text.el (describe-char): Show information about POS, in
8508 addition to information about the character at POS. Improve and
8509 update the doc string. Change "code point" to "code point in
8510 charset", to avoid confusion with the character's Unicode code
8511 point shown above that. (Bug#10129)
8512
e0da685a
EZ
85132012-01-28 Eli Zaretskii <eliz@gnu.org>
8514
8515 * descr-text.el (describe-char): Show the raw character, not only
8516 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8517 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8518 for the reasons.
8519
70550acf
PH
85202012-01-28 Phil Hagelberg <phil@hagelb.org>
8521
eb864a71
LM
8522 * emacs-lisp/package.el (package-install):
8523 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8524
0ce8e868
CY
85252012-01-28 Chong Yidong <cyd@gnu.org>
8526
cb882333
JB
8527 * emacs-lisp/package.el (package-maybe-load-descriptor):
8528 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8529 (package-maybe-load-descriptor): Use it.
8530 (package-download-transaction): Fully load required packages
8531 inside the loop, so that `require' calls work (Bug#10593).
8532 (package-install): No need to call package-initialize now.
8533
2e7f3bea
CY
85342012-01-28 Chong Yidong <cyd@gnu.org>
8535
6e9bad14
CY
8536 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8537
f823b8ca
CY
8538 * tooltip.el (tooltip-mode): Doc fix.
8539 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8540
2680c309
CY
8541 * frame.el (set-cursor-color): Doc fix (Bug#352).
8542
d7a9e63b
CY
8543 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8544 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8545
2e7f3bea
CY
8546 * cus-edit.el (custom-buffer-create-internal): Fix search button
8547 action (Bug#10542).
2ae01800 8548 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8549
fc4f7a23
EW
85502012-01-27 Eduard Wiebe <usenet@pusto.de>
8551
8552 * dired.el (dired-mark-files-regexp):
8553 Include any subdirectory components. (Bug#10445)
8554
7dd37071
ML
85552012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8556
8557 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8558 Handle [host]:port syntax. (Bug#10533)
8559
a268160b
AH
85602012-01-27 Alex Harsanyi <harsanyi@mac.com>
8561
8562 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8563
e43273ef
GM
85642012-01-26 Glenn Morris <rgm@gnu.org>
8565
8566 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8567 * term.el (term-raw-escape-map): Use Control-X-prefix.
8568 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8569
1edf595d
MR
85702012-01-25 Martin Rudalics <rudalics@gmx.at>
8571
8572 * window.el (window-state-get, window--state-get-1): Don't deal
8573 with fixed-sizeness of windows. Simplify code.
8574
fa8eafef
JC
85752012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8576
6df6ae42
JB
8577 * window.el (window--state-get-1, window--state-put-2):
8578 Don't save and restore the mark.
fa8eafef 8579
0b21c100
CY
85802012-01-25 Chong Yidong <cyd@gnu.org>
8581
8582 * custom.el (custom-variable-p): Doc fix.
8583
5ae1a6c8
GM
85842012-01-25 Glenn Morris <rgm@gnu.org>
8585
40047858
GM
8586 * dired.el (dired-goto-file): Handle some of the more common
8587 characters that `ls -b' escapes. (Bug#10596)
8588
5ddce96c
GM
8589 * progmodes/compile.el (compilation-next-error-function):
8590 Respect compilation-first-column in the "*compilation*" buffer.
8591 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8592
5ae1a6c8
GM
8593 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8594
b559f1a9
GM
85952012-01-24 Glenn Morris <rgm@gnu.org>
8596
8597 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8598
6725d21a
JD
85992012-01-24 Julien Danjou <julien@danjou.info>
8600
8601 * color.el (color-rgb-to-hsl): Fix value computing.
8602 (color-hue-to-rgb): New function.
8603 (color-hsl-to-rgb): New function.
8604 (color-clamp, color-saturate-hsl, color-saturate-name)
8605 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8606 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8607
70df4bbe
GM
86082012-01-24 Glenn Morris <rgm@gnu.org>
8609
8610 * vc/vc-rcs.el (vc-rcs-create-tag):
8611 * vc/vc-sccs.el (vc-sccs-create-tag):
8612 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8613
802a2ae2
ML
86142012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8615
8616 * eshell/esh-util.el (eshell-read-hosts-file):
8617 Skip comment lines. (Bug#10549)
8618
d7128bb1
ML
8619 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8620
d1a5c3b4
JB
86212012-01-23 Juanma Barranquero <lekktu@gmail.com>
8622
2724d9c7
JB
8623 * subr.el (display-delayed-warnings): Doc fix.
8624 (collapse-delayed-warnings): New function to collapse identical
8625 adjacent warnings.
8626 (delayed-warnings-hook): Add it.
d1a5c3b4 8627
a5509865
MA
86282012-01-22 Michael Albinus <michael.albinus@gmx.de>
8629
8630 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8631
a5509865
MA
8632 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8633 (tramp-default-user-alist): Don't add "pscp".
8634 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8635 property "login-as", if set. (Bug#10530)
8636
cc6d5805
MA
86372012-01-21 Michael Albinus <michael.albinus@gmx.de>
8638
8639 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8640 "plink1" and "psftp". (Bug#10530)
8641
86422012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8643
8644 * international/mule-cmds.el (prefer-coding-system): Show a
8645 warning message if the default value of file-name-coding-system
8646 was not changed.
8647
f0960428
JC
86482012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8649
cb882333
JB
8650 * windmove.el (windmove-reference-loc):
8651 Fix windmove-reference-loc miscalculation.
f0960428 8652
dd6f2a63
JB
86532012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8654
8655 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8656 default unit.
8657
7b447e9b
GM
86582012-01-21 Glenn Morris <rgm@gnu.org>
8659
117a9ea1
GM
8660 * international/mule.el (auto-coding-alist): Add .tbz.
8661
7b447e9b
GM
8662 * files.el (local-enable-local-variables): Doc fix.
8663 (inhibit-local-variables-regexps): Rename from
8664 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8665 Doc fix. Add some extensions from auto-coding-alist.
8666 (inhibit-local-variables-suffixes):
8667 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8668 (inhibit-local-variables-p):
8669 New function, extracted from set-auto-mode-1.
8670 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8671 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8672 (hack-local-variables): Doc fix. Make the mode-only case
8673 respect enable-local-variables and friends.
8674 Respect inhibit-local-variables-regexps for file-locals, but
8675 not for directory-locals.
8676 (set-visited-file-name):
8677 Take account of inhibit-local-variables-regexps.
8678 Whether it applies may change as the file name is changed.
8679 * jka-cmpr-hook.el (jka-compr-install):
8680 * jka-compr.el (jka-compr-uninstall):
8681 Update for inhibit-first-line-modes-suffixes name change.
8682
dd6e3cdd
MR
86832012-01-20 Martin Rudalics <rudalics@gmx.at>
8684
8685 * help-macro.el (make-help-screen): Temporarily restore original
8686 binding for minor-mode-map-alist (Bug#10454).
8687
0d0deb38
JD
86882012-01-19 Julien Danjou <julien@danjou.info>
8689
8690 * color.el (color-name-to-rgb): Use the white color to find the max
8691 color component value and return correctly computed values.
8692 (color-name-to-rgb): Add missing float conversion for max value.
8693
34a02f46
MR
86942012-01-19 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8697 special state value for window-persistent-parameters.
8698 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8699 (window--state-put-2): Reset all window parameters to nil before
8700 assigning values of persistent parameters.
8701
606c44c4
AM
87022012-01-18 Alan Mackenzie <acm@muc.de>
8703
8704 Eliminate sluggishness and hangs in fontification of "semicolon
8705 deserts".
8706
cb882333
JB
8707 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8708 Change value 10000 -> 3000.
606c44c4
AM
8709 (c-state-safe-place): Reformulate so it doesn't stack up an
8710 infinite number of wrong entries in c-state-nonlit-pos-cache.
8711 (c-determine-limit-get-base, c-determine-limit): New functions to
8712 determine backward search limits disregarding literals.
8713 (c-find-decl-spots): Amend commenting.
8714 (c-cheap-inside-bracelist-p): New function which detects "={".
8715
8716 * progmodes/cc-fonts.el
8717 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8718 backward search.
8719 (c-font-lock-declarations): Fix an occurrence of point being
8720 undefined. Check additionally for point being in a bracelist or
8721 near a macro invocation without a semicolon so as to avoid a
8722 fruitless time consuming search for a declarator. Give a more
8723 precise search limit for declarators using the new
8724 c-determine-limit.
8725
f3860cea
GM
87262012-01-18 Glenn Morris <rgm@gnu.org>
8727
8728 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8729 (set-auto-mode): Doc fixes.
8730
1db03b16
GM
87312012-01-17 Glenn Morris <rgm@gnu.org>
8732
0e6038be
GM
8733 * isearch.el (search-nonincremental-instead): Fix doc typo.
8734
1db03b16
GM
8735 * dired.el (dired-insert-directory): Handle newlines in directory name.
8736 (dired-build-subdir-alist): Unescape newlines in directory name.
8737
4cb0aa75
MA
87382012-01-17 Michael Albinus <michael.albinus@gmx.de>
8739
8740 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8741 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8742 (tramp-action-terminal): Use it. (Bug#10530)
8743
1d00653d
SM
87442012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8747
6a6ee00d
MR
87482012-01-16 Martin Rudalics <rudalics@gmx.at>
8749
8750 * window.el (window-state-ignored-parameters): Remove variable.
8751 (window--state-get-1): Rename argument MARKERS to IGNORE.
8752 Handle persistent window parameters. Make copy of clone-of
8753 parameter only if requested. (Bug#10348)
8754 (window--state-put-2): Install a window parameter only if it has
8755 a non-nil value or an existing parameter shall be overwritten.
8756
97912def
MA
87572012-01-15 Michael Albinus <michael.albinus@gmx.de>
8758
8759 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8760
688070a5
EZ
87612012-01-14 Eli Zaretskii <eliz@gnu.org>
8762
8763 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8764 don't pass the (nil) value of `upnode' to string-match.
8765
301afadc
CY
87662012-01-14 Chong Yidong <cyd@gnu.org>
8767
8768 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8769 Fix values recognized by the cursorBlink resource.
301afadc 8770
9e5788aa
PE
87712012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8772
8773 * epg.el (epg--make-temp-file): Avoid permission race condition
8774 when running on old Emacs versions (bug#10403).
8775
3cdb7f5a
GM
87762012-01-14 Glenn Morris <rgm@gnu.org>
8777
8778 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8779
8c82b1b4
AM
87802012-01-13 Alan Mackenzie <acm@muc.de>
8781
8782 Fix filling for when filladapt mode is enabled.
8783
8784 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8785 c-mask-paragraph, pass in `fill-paragraph' rather than
8786 `fill-region-as-paragraph'. (This is a reversion of a previous
8787 change.)
eb864a71
LM
8788 * progmodes/cc-mode.el (c-basic-common-init):
8789 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8790
e517eda4
GM
87912012-01-13 Glenn Morris <rgm@gnu.org>
8792
1498536e
GM
8793 * dired.el (dired-switches-escape-p): New function.
8794 (dired-insert-directory): Use dired-switches-escape-p.
8795 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8796
e517eda4
GM
8797 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8798
328f984d
GM
87992012-01-12 Glenn Morris <rgm@gnu.org>
8800
8801 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8802 changes in adaptive-fill-regexp. (Bug#10276)
8803
2cc769a8
AM
88042012-01-11 Alan Mackenzie <acm@muc.de>
8805
8806 Fix Emacs bug #10463 - put `widen's around the critical spots.
8807
1d00653d 8808 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8809 widen around each invocation of c-state-pp-to-literal. Remove an
8810 unused let variable.
8811
e52c37fa
GM
88122012-01-11 Glenn Morris <rgm@gnu.org>
8813
8814 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8815 Doc fix.
e52c37fa 8816
96f8741e
CY
88172012-01-10 Chong Yidong <cyd@gnu.org>
8818
1d00653d
SM
8819 * net/network-stream.el (network-stream-open-starttls):
8820 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8821 response to the capability command.
8822
b09a806e
GM
88232012-01-10 Glenn Morris <rgm@gnu.org>
8824
8825 * mail/unrmail.el (unrmail): Tweak previous change.
8826
7655cb66
CY
88272012-01-09 Chong Yidong <cyd@gnu.org>
8828
8829 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8830
9d5a8f0b
AM
88312012-01-08 Alan Mackenzie <acm@muc.de>
8832
8833 Optimise font locking in long enum definitions.
8834
8835 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8836 arm to a cond form to handle enums.
8837 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8838 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8839
9a0115ab 88402012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8841
8842 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8843 (Bug#10401)
6bb72cbd 8844
f186bb95
LMI
88452012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8846
29232a68
LMI
8847 * faces.el (set-face-attribute): Clarify the meaning of the nil
8848 frame (bug#10294).
8849
4e5d086d
LMI
8850 * subr.el (with-selected-frame): Mention that the selected frame
8851 is restored (bug#9980).
8852
8e66aebe
LMI
8853 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8854 (bug#9759).
8855
cd394be1 8856 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8857 (password-read): Don't autoload unused function.
8858
adf4e762
JB
88592012-01-07 Juanma Barranquero <lekktu@gmail.com>
8860
8861 * progmodes/which-func.el (which-func-mode): Turn into a
8862 non-interactive function and mark as obsolete (bug#10428).
8863
89bd9ccd
CY
88642012-01-06 Chong Yidong <cyd@gnu.org>
8865
8866 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8867 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8868 functions, along with 1 and -1.
8869
4afee9d5
EZ
88702012-01-06 Eli Zaretskii <eliz@gnu.org>
8871
8872 * time.el (display-time-load-average)
8873 (display-time-default-load-average): Doc fixes. See the thread
8874 starting at
8875 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8876 for the details.
8877
536aea70
GM
88782012-01-06 Glenn Morris <rgm@gnu.org>
8879
665ae865
GM
8880 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8881 has no messages. (Bug#10377)
8882
c869783d
GM
8883 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8884 than Info-edit. (Bug#10385)
8885
2bb4227e
GM
8886 * time.el (display-time-load-average, display-time-next-load-average):
8887 Doc fixes.
8888
7d5944b9
GM
8889 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8890 local setting of buffer-read-only to the input buffer. (Bug#10419)
8891
536aea70
GM
8892 * calendar/calendar.el (calendar-mode):
8893 Locally set scroll-margin to 0. (Bug#10379)
8894
7dccca16
UM
88952012-01-06 Ulrich Mueller <ulm@gentoo.org>
8896
8897 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8898
afbb7930
GM
88992012-01-05 Glenn Morris <rgm@gnu.org>
8900
8901 * eshell/em-unix.el (diff-no-select): Autoload it.
8902 (eshell/diff): Use diff-no-select. (Bug#10420)
8903
04482335
CY
89042012-01-05 Chong Yidong <cyd@gnu.org>
8905
7baca3bc
CY
8906 * shell.el (shell-dynamic-complete-functions): Revert last change.
8907 (shell-command-completion-function): New function.
8908 (shell-completion-vars): Use it to implement
8909 shell-completion-execonly (Bug#10417).
8910
04482335
CY
8911 * custom.el (enable-theme): Don't set custom-safe-themes.
8912
1d00653d
SM
8913 * cus-theme.el (custom-theme-merge-theme):
8914 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8915
bb5aa5d6
MM
89162012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8917
8918 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8919 first prompt in `sql-interacive-mode'.
8920 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8921 keywords.
6df6ae42 8922 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8923 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8924 context of original buffer. Invoke `sql-login-hook'.
8925
a7183d7c
EZ
89262012-01-04 Eli Zaretskii <eliz@gnu.org>
8927
8928 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8929 letters in cite-prefix.
8930
a1eacd1e
LMI
89312012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8932
8933 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8934
787cdb34
CY
89352012-01-03 Chong Yidong <cyd@gnu.org>
8936
1d00653d
SM
8937 * shell.el (shell-dynamic-complete-functions):
8938 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8939 comint-filename-completion first (Bug#10417).
8940
30710442
RS
89412012-01-02 Richard Stallman <rms@gnu.org>
8942
8943 * battery.el (battery-status-function):
8944 Detect when to use battery-yeeloong-sysfs.
8945 (battery-echo-area-format): Add string for Yeeloong.
8946 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8947 (battery-yeeloong-sysfs): New function.
8948
f75bfc33
CY
89492012-01-02 Chong Yidong <cyd@gnu.org>
8950
8951 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8952 (dirtrack): Merge code for handling relative filenames in prompt
8953 from shell-dir-cookie-watcher.
8954 (dirtrack-debug-message): New arg to avoid excess format calls.
8955
8956 * shell.el (shell-dir-cookie-re): Variable deleted.
8957 (shell-dir-cookie-watcher): Function deleted.
8958 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8959 with dirtrack-mode.
8960
651e947e
EZ
89612012-01-01 Eli Zaretskii <eliz@gnu.org>
8962
1d00653d
SM
8963 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8964 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8965 libgnutls-26.dll.
8966
94d4c7dc
AS
89672011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8968
8969 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8970
8d43f3cd
EZ
89712011-12-31 Eli Zaretskii <eliz@gnu.org>
8972
8973 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8974 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8975
98c8795a
MA
89762011-12-29 Michael Albinus <michael.albinus@gmx.de>
8977
8978 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8979 also for alternative shells.
8980 (tramp-open-connection-setup-interactive-shell): Check, whether
8981 the shell is a busybox.
8982 (tramp-send-command): Don't suppress multiple prompts for
8983 busyboxes, it hurts.
8984
51281b32
CY
89852011-12-28 Chong Yidong <cyd@gnu.org>
8986
8987 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8988 (gdb-get-source-file): Move mode line update to
8989 gdb-get-source-file (Bug#10087).
8990
2170cb53
CY
89912011-12-25 Chong Yidong <cyd@gnu.org>
8992
8993 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8994 gud-gdb-marker-filter without taking it as an argument.
8995 (gud-gdb-run-command-fetch-lines): Caller changed.
8996 (gud-gdb-completion-function): New variable.
8997 (gud-gdb-completion-at-point): Use it.
8998 (gud-gdb-completions-1): Split from gud-gdb-completions.
8999
9000 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9001 function as separate arguments.
9002 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9003 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9004 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9005 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9006 (gdb-stopped, def-gdb-auto-update-trigger)
9007 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9008 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9009 Callers changed.
2170cb53
CY
9010 (gud-gdbmi-completions): New function.
9011 (gdb): Use it for generating the completion table.
9012
be8b11bb
AM
90132011-12-24 Alan Mackenzie <acm@muc.de>
9014
9015 Introduce a mechanism to widen the region used in context font
1d00653d 9016 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9017
1d00653d
SM
9018 * progmodes/cc-langs.el (c-before-font-lock-functions):
9019 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9020 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9021 functions to be run just before context (etc.) font locking.
9022
9023 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9024 New, functionality extracted from
be8b11bb 9025 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9026 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9027 (c-after-change): Set c-in-after-change-fontification.
9028 (c-set-fl-decl-start): Rejig its interface, so it can be called
9029 from both after-change and context fontifying.
b81d40f0
JB
9030 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9031 New functions.
9032 (c-standard-font-lock-fontify-region-function): New variable.
9033 (c-font-lock-fontify-region): New function.
be8b11bb 9034
341cf6ac
JL
90352011-12-24 Juri Linkov <juri@jurta.org>
9036
9037 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9038 (Bug#10348)
9039
bffcee0a
MA
90402011-12-23 Michael Albinus <michael.albinus@gmx.de>
9041
9042 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9043 existence of source file. (Bug#10325)
9044
cb5e207c
AM
90452011-12-23 Alan Mackenzie <acm@muc.de>
9046
9047 Fix unstable fontification inside templates.
9048
b81d40f0
JB
9049 * progmodes/cc-langs.el (c-before-font-lock-functions):
9050 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9051 additionally has c-set-fl-decl-start. The other languages (apart
9052 from AWK) have that as a single entry.
9053
b81d40f0
JB
9054 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9055 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9056 c-set-fl-decl-start.
9057
b81d40f0
JB
9058 * progmodes/cc-mode.el (c-common-init, c-after-change):
9059 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9060 (c-set-fl-decl-start): New function, extracted from
9061 c-font-lock-enclosing-decls and enhanced.
9062
60ff536c
JB
90632011-12-23 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9066
1c4757d6
JL
90672011-12-22 Juri Linkov <juri@jurta.org>
9068
9069 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9070
d031f2c7
CY
90712011-12-22 Chong Yidong <cyd@gnu.org>
9072
9073 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9074
bace743a
DA
90752011-12-21 Drew Adams <drew.adams@oracle.com>
9076
9077 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9078
728a1f2b
JC
90792011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9080
9081 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9082
0d373f73
TZ
90832011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9084
fec0aaa4
TZ
9085 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9086 highlighting and support. Fix up comments for capitalization.
9087 (cfengine-mode-debug): New var.
9088 (cfengine3-mode): Change the modeline indicator to "CFE3".
9089 (cfengine3-font-lock-keywords): Improve defun highlighting.
9090 (cfengine2-actions): Rename from `cfengine-actions'.
9091 (cfengine2-font-lock-keywords): Rename from
9092 `cfengine-font-lock-keywords'.
9093 (cfengine2-imenu-expression): Rename from
9094 `cfengine-imenu-expression'.
9095 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9096 (cfengine2-beginning-of-defun): Rename from
9097 `cfengine-beginning-of-defun'.
9098 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9099 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9100 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9101 modeline indicator to "CFE2".
9102 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9103 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9104
bc86f573
CY
91052011-12-21 Chong Yidong <cyd@gnu.org>
9106
9107 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9108 filename argument.
9109
d45ba96b
MR
91102011-12-20 Martin Rudalics <rudalics@gmx.at>
9111
9112 * window.el (window-normalize-buffer-to-display): Remove.
9113 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9114
a6198c90
CY
91152011-12-19 Chong Yidong <cyd@gnu.org>
9116
9117 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9118 Don't signal an error in a predicate function; return non-nil.
9119 (vc-dir-mark-file): Move the error here.
9120 (vc-dir-mark-unmark): If acting on the region, keep going if one
9121 of the entries cannot be marked/unmarked.
9122 (vc-dir-mark-all-files): If current entry is a directory, mark
9123 only child files, as documented.
9124
34c5fb55
VB
91252011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9126
9127 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9128 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9129 addition.
9130
c803b2b7
JD
91312011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9132
9133 * term/ns-win.el (ns-get-selection-internal)
9134 (ns-store-selection-internal): Declare.
1154d12e
JB
9135 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9136 Declare as obsolete.
9137 (ns-get-pasteboard, ns-paste-secondary):
9138 Use ns-get-selection-internal.
9139 (ns-set-pasteboard, ns-copy-including-secondary):
9140 Use ns-store-selection-internal.
c803b2b7 9141
9cff91f8 91422011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9143
9144 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9145 (vc-deduce-fileset): Doc fix.
99a289d9 9146
f16c898a
AS
91472011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9148
9149 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9150
763237c4
SS
91512011-12-13 Sam Steingold <sds@gnu.org>
9152
9153 * man.el (Man-getpage-in-background): When running under a
9154 window-system, ignore $MANWIDTH and $COLUMNS.
9155
5fc1c122
KH
91562011-12-15 Kenichi Handa <handa@m17n.org>
9157
9158 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9159 (setup-ethiopic-environment-internal): Comment out key-binding for
9160 ethio-toggle-punctuation.
9161
13d49cbb
AM
91622011-12-13 Alan Mackenzie <acm@muc.de>
9163
898169a2
AM
9164 Add the switch statement to AWK Mode.
9165
7a71b18d 9166 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9167 "default" to the keywords regexp.
9168
7a71b18d 9169 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9170 expression as the rest.
1d00653d
SM
9171 (c-nonlabel-token-key): Allow string literals for AWK.
9172 Refactor for the other modes.
898169a2 9173
13d49cbb 9174 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9175 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9176 routines. Limit backward searching in c-font-lock-enclosing.decl.
9177
9178 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9179 pp-state and literal type in addition to the limits.
1d00653d 9180 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9181 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9182 (c-slow-in-literal, c-fast-in-literal): Remove.
9183 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9184
9185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9186 being in a literal. Add a limit for backward searching.
9187
9188 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9189 c-slow-in-literal.
9190
15e0efc7
SM
91912011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9194
454592a6
MR
91952011-12-13 Martin Rudalics <rudalics@gmx.at>
9196
9197 * window.el (delete-other-windows): Use correct frame in call to
9198 window-with-parameter.
9199
87393f26
DP
92002011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9201
9202 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9203 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9204 (makefile-gmake-statements, makefile-makepp-statements):
9205 Use it and add new makepp keywords.
9206 (makefile-makepp-font-lock-keywords): Add new patterns.
9207 (makefile-match-function-end): Match new [...] and [[...]].
9208
11636b22
JB
92092011-12-11 Juanma Barranquero <lekktu@gmail.com>
9210
9211 * ses.el (ses-call-printer-return, ses-cell-property-get)
9212 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9213 (ses-create-cell-variable, ses-reset-header-string)
9214 (ses-cell-set-formula, ses-repair-cell-reference-all)
9215 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9216 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9217 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9218 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9219 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9220 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9221 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9222 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9223 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9224 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9225 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9226 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9227
cf018193
VB
92282011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9229
9230 * ses.el: The overall change is to add cell renaming, that is
9231 setting fancy names for cell symbols other than name matching
9232 "\\`[A-Z]+[0-9]+\\'" regexp .
9233 (ses-create-cell-variable): New defun.
9234 (ses-relocate-formula): Relocate formulas only for cells the
9235 symbols of which are not renamed, i.e. symbols whose names do not
9236 match regexp "\\`[A-Z]+[0-9]+\\'".
9237 (ses-relocate-all): Relocate values only for cells the symbols of
9238 which are not renamed.
9239 (ses-load): Create cells variables as the (ses-cell ...) are read,
9240 in order to check row col consistency with cell symbol name only
9241 for cells that are not renamed.
9242 (ses-replace-name-in-formula): New defun.
9243 (ses-rename-cell): New defun.
9244
ee957461
CY
92452011-12-11 Chong Yidong <cyd@gnu.org>
9246
9247 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9248 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9249
9a9e9ef0
MR
92502011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9251
9252 * window.el (other-window): Fix docstring.
9253
92a8eba5
EZ
92542011-12-10 Eli Zaretskii <eliz@gnu.org>
9255
9256 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9257 `from' or `to' address before taking its substring.
9258 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9259 encoded name is chopped in the middle of the encoded string, and
9260 thus displayed encoded.
9261
e152e577
JB
92622011-12-10 Juanma Barranquero <lekktu@gmail.com>
9263
9264 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9265
e5d84bfe
EZ
92662011-12-10 Eli Zaretskii <eliz@gnu.org>
9267
9268 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9269 to use texinfo-update-node and commands that call it if the
9270 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9271 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9272 (texinfo-all-menus-update, texinfo-master-menu)
9273 (texinfo-update-node, texinfo-every-node-update)
9274 (texinfo-multiple-files-update): Doc fix. Warn against updating
9275 all the @node lines.
9276 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9277 argument is numeric. Explain better in the doc string what the
9278 function really does.
9279 (texinfo-insert-master-menu-list): Improve the error message
9280 displayed if there's no menu in the Top node.
9281 (Bug#2975) See also this thread:
e5d84bfe
EZ
9282 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9283
1d84e9bb
MG
92842011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9285
9286 * speedbar.el (speedbar-supported-extension-expressions):
9287 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9288
382c953b
JB
92892011-12-09 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * printing.el (pr-mode-alist):
9292 * simple.el (filter-buffer-substring-functions)
9293 (completion-list-insert-choice-function):
9294 * window.el (window-with-parameter, window-atom-root)
9295 (window-sides-slots, window-size-fixed, window-min-delta)
9296 (window-max-delta, window--resize-mini-window)
9297 (window--resize-child-windows-normal, window-tree)
9298 (delete-other-windows, quit-window, split-window)
9299 (display-buffer-record-window, special-display-buffer-names)
9300 (special-display-regexps, special-display-popup-frame)
9301 (same-window-p, split-window-sensibly)
9302 (display-buffer-overriding-action, display-buffer-alist)
9303 (display-buffer-base-action, display-buffer, switch-to-buffer)
9304 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9305 (fit-window-to-buffer, recenter-positions)
9306 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9307 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9308 and remove unneeded backslashes in docstrings.
9309
39c9faef
SM
93102011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9311
98449af8
SM
9312 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9313
39c9faef
SM
9314 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9315 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9316 end in ".mk".
9317 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9318 when reading the makefile (bug#10116).
9319
86ed9fdc
SM
93202011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9323 (bug#10116).
9324
5580f89d
GM
93252011-12-06 Glenn Morris <rgm@gnu.org>
9326
9327 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9328
28d3917c
CY
93292011-12-06 Chong Yidong <cyd@gnu.org>
9330
9331 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9332
a98edce9
JB
93332011-12-06 Juanma Barranquero <lekktu@gmail.com>
9334
9335 * textmodes/table.el (table-shorten-cell): Fix typo.
9336
e65adfac
CG
93372011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9338
9339 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9340
71cc0b74
EZ
93412011-12-05 Eli Zaretskii <eliz@gnu.org>
9342
9343 * descr-text.el (describe-char): Fix display of strong
9344 right-to-left characters and directional embeddings and overrides.
9345
9346 * simple.el (what-cursor-position): Fix display of codepoints of
9347 strong right-to-left characters.
9348
315bc30d
CY
93492011-12-05 Chong Yidong <cyd@gnu.org>
9350
9351 * faces.el (read-color): Doc fix.
9352
58a70b94
GM
93532011-12-05 Glenn Morris <rgm@gnu.org>
9354
9355 * align.el (align--set-marker): Add doc-string.
9356 Don't try to move something that is not a marker. (Bug#10216)
9357
5158face
GM
93582011-12-04 Glenn Morris <rgm@gnu.org>
9359
9360 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9361 overly zealous deletion of trailing whitespace.
9362
520fca41
JB
93632011-12-04 Juanma Barranquero <lekktu@gmail.com>
9364
9365 * server.el (server-delete-client): On Windows, do not try to delete
9366 the only terminal.
9367 (server-process-filter): On Windows, treat requests for a tty frame as
9368 if they were for a GUI frame if the running server is in GUI mode.
9369
5e605a2e
GM
93702011-12-03 Glenn Morris <rgm@gnu.org>
9371
9372 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9373
5c3fe83f
SM
93742011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9375
6f5e57e7
SM
9376 * electric.el: Streamline electric-indent's hook.
9377 (electric-indent-chars): Revert to simple list.
9378 (electric-indent-functions): New var.
9379 (electric-indent-post-self-insert-function): Use it.
9380
5c3fe83f
SM
9381 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9382 there's no inferior buffer (bug#10196).
9383 (prolog-consult-compile): Don't use toggle-read-only.
9384
6bdac736
MA
93852011-12-02 Michael Albinus <michael.albinus@gmx.de>
9386
9387 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9388 interrupt. (Bug#10187)
9389
6131ba7f
SM
93902011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9391
99c79fee
SM
9392 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9393 (bug#9160).
9394
6131ba7f
SM
9395 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9396 (bug#10191).
9397
cb0a02ea
JL
93982011-12-02 Juri Linkov <juri@jurta.org>
9399
9400 * info.el (Info-search): Display "end of manual" when Isearch
9401 reaches the end of single-file Info manual. (Bug#9918)
9402
66e0570c
EZ
94032011-12-02 Eli Zaretskii <eliz@gnu.org>
9404
9405 * isearch.el (isearch-message-prefix): Run the input method part
9406 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9407
02b16839
JL
94082011-12-02 Juri Linkov <juri@jurta.org>
9409
9410 * isearch.el (isearch-occur): Use `word-search-regexp' for
9411 `isearch-word'.
9412 (isearch-search-and-update): Add condition for `isearch-word' and
9413 call `word-search-regexp'. (Bug#10145)
9414
0b950688
GM
94152011-12-01 Glenn Morris <rgm@gnu.org>
9416
9417 * eshell/em-hist.el (eshell-hist-initialize):
9418 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9419 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9420
9505c3c7
SM
94212011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9424
1bbe96b2 94252011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9426
a1beca85
SM
9427 * progmodes/verilog-mode.el (verilog-pretty-expr):
9428 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9429 verilog, such as += *= and the like.
9430 (verilog-assignment-operator-re): Regular expression to find the
9431 assigment operator in a verilog assignment.
9432 (verilog-assignment-operation-re): Regular expression to find an
9433 assignment statement for pretty-expr.
9434 (verilog-in-attribute-p): Query returns true if point is in an
9435 attribute context; used to skip these for expression line up from
9436 pretty-expr.
9437 (verilog-in-parameter-p): Query returns true if point is in an
9438 parameter definition context; used to skip these for expression
9439 line up from pretty-expr.
9440 (verilog-in-parenthesis-p): Query returns true if point is in a
9441 parenthetical expression, specifically ( ) but not [ ] or { };
9442 used by pretty-expr.
9443 (verilog-just-one-space): If there is no space, don't add one.
9444 (verilog-get-lineup-indent-2): Specifically skip just attribute
9445 contexts for expression lineup, rather than skipping all
9446 parenthetical expressions.
9447 (verilog-calculate-indent): Fix comment, and fix indent.
9448 (verilog-do-indent): Indent declarations in lists (suggested by
9449 Joachim Lechner).
9450 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9451 skeleton items.
9452 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9453 by Alain Mellan).
9454
1bbe96b2 94552011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9456
9457 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9458 parameters with embedded comments. Reported by Ray Stevens.
9459 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9460 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9461 Reported by Tim Holt.
9462 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9463 instantiated by upper module causing wrong expansion until AUTOed a
9464 second time. Reported by K C Buckenmaier.
9465 (verilog-diff-auto): Fix showing .* as a difference when
9466 `verilog-auto-star-save' off. Reported by Dan Dever.
9467 (verilog-auto-reset, verilog-read-always-signals)
9468 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9469 temporary signals in reset list if
9470 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9471 style to each signal's assignment type, bug381.
9472 Reported by Thomas Esposito.
6288f0ca
WS
9473 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9474 (verilog-uvm-statement-re): Support UVM indentation and
9475 highlighting, with old OVM keywords only.
a1beca85 9476 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9477 Support AUTOTIEOFF creating non-wire data types.
9478 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9479 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9480 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9481 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9482 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9483 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9484 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9485 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9486 non-numeric vector width. Reported by Alex Reed.
9487 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9488 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9489 (verilog-auto-delete-trailing-whitespace):
9490 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9491 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9492 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9493 Fix verilog-scan-cache corruption when running user AUTO expansion
9494 hooks that call indentation routines.
9495 (verilog-simplify-range-expression): Fix typo ignoring lower case
9496 identifiers.
9497 (verilog-delete-auto): Fix delete-autos to also remove user created
9498 automatics, as long as they start with AUTO.
9499 (verilog-batch-diff-auto, verilog-diff-auto)
9500 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9501 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9502 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9503 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9504 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9505 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9506 is disabled and its cache will get corrupt, causing AUTOS not to
9507 expand. Instead use only -quick functions.
9508 (verilog-scan-region): Fix scanning over escaped quotes.
9509 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9510 (verilog-re-search-backward-quick)
9511 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9512 related functions now ignore strings, to fix misparsing of strings
9513 with magic comments embedded in them.
a1beca85
SM
9514 (verilog-read-auto-template):
9515 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9516 Reported by Brad Dobbie.
9517 (verilog-read-auto-template):
9518 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9519 Reported by Brad Dobbie.
6288f0ca
WS
9520 (verilog-auto-inst, verilog-auto-inst-param)
9521 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9522 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9523 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9524 debugging templates without merge conflicts, bug357.
9525 Reported by Brad Dobbie.
9526 (verilog-read-auto-template):
9527 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9528 Reported by Brad Dobbie.
9529 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9530 abbrevs so user won't be asked to save.
9531 (verilog-read-auto-lisp-present): Fix to start at beginning of
9532 buffer in case called outside of verilog-auto.
9533 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9534 to "X-2". Reported by Matthew Myers.
9535 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9536 all inputs from module templates. Reported by Leith Johnson.
9537 (verilog-module-inside-filename-p): Fix locating programs as with
9538 modules.
9539 (verilog-auto-inst-port): Fix vl-width expressions when using
9540 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9541 (verilog-decls-get-regs, verilog-decls-get-signals,
9542 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9543 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9544 verilog-read-decls): Combine reg and wire structures into one var
9545 structure to represent SystemVerilog concepts.
9546 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9547 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9548 (verilog-auto-wire-type, verilog-insert-definition):
9549 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9550 SystemVerilog "logic" keyword instead of "wire"/"reg".
9551 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9552 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9553 ifdef or generate if so there's not a driver conflict).
9554 Reported by Matthew Myers.
9555 (verilog-auto-declare-nettype, verilog-insert-definition):
9556 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9557 `default_nettype none. Reported by Julian Gorfajn.
9558 (verilog-read-always-signals-recurse, verilog-read-decls)
9559 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9560 malformed end statement, bug325. Reported by Joshua Wise and
9561 Andrew Drake.
9562 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9563 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9564 when expanding .* in interfaces, bug320.
9565 Reported by Pierre-David Pfister.
6288f0ca 9566 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9567 name and open parenthesis, bug317.
9568 Reported by Pierre-David Pfister.
6288f0ca
WS
9569 (verilog-simplify-range-expression): Fix simplification of
9570 multiplications inside AUTOWIRE connections, bug303.
9571 (verilog-auto-inst-port): Support parameter expansion in
9572 multidimensional arrays.
9573 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9574 after "assert property". Reported by Julian Gorfajn.
9575 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9576 with multiplication, bug303.
9577 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9578 Reported by Jan Frode Lonnum.
9579
1bbe96b2
GM
95802011-11-30 Juanma Barranquero <lekktu@gmail.com>
9581
9582 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9583 (hfy-shell-file-name, hfy-shell):
9584 * international/fontset.el (x-decompose-font-name): Fix typos.
9585
95862011-11-29 Ken Brown <kbrown@cornell.edu>
9587
9588 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9589 (gdb-version): Remove defvar.
9590 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9591 (gdb-gud-context-command, gdb-non-stop-handler)
9592 (gdb-current-context-command, gdb-stopped): Use it.
9593 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9594 (gdb-non-stop-handler): Don't enable pretty-printing here.
9595 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9596 non-stop mode. Use the following.
9597 (gdb-check-target-async): New defun.
9598 (gud-watch, gdb-stopped): Fix whitespace.
9599 (gdb-get-source-file): Don't try to display the source file if
9600 `gdb-main-file' is nil.
9601
96022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * align.el: Try to generate fewer markers (bug#10047).
9605 (align--set-marker): New macro.
9606 (align-region): Use it.
9607
c935221f
SM
96082011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9611
e70b5064
CY
96122011-11-29 Chong Yidong <cyd@gnu.org>
9613
9614 * indent.el (indent-for-tab-command, indent-according-to-mode):
9615 Doc fix.
9616 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9617
f3af92b7
MA
96182011-11-29 Michael Albinus <michael.albinus@gmx.de>
9619
9620 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9621 aware of remote file names. (Bug#10124)
9622
ed472be9
CY
96232011-11-29 Chong Yidong <cyd@gnu.org>
9624
9625 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9626
24510c22
SM
96272011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * files.el (find-file): Don't use force-same-window (bug#10144).
9630 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9631 use pop-to-buffer if the selected window can't be used.
9632 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9633
c60c3703
EZ
96342011-11-28 Eli Zaretskii <eliz@gnu.org>
9635
9636 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9637 special-mode-map.
9638
e95def75
CY
96392011-11-28 Chong Yidong <cyd@gnu.org>
9640
9641 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9642
c3f1c606
NR
96432011-11-27 Nick Roberts <nickrob@snap.net.nz>
9644
9645 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9646 gdb-get-source-file-list on gdb-create-source-file-list.
9647
00db469c
EZ
96482011-11-26 Eli Zaretskii <eliz@gnu.org>
9649
9650 * whitespace.el (whitespace-newline): Use a different foreground
9651 color for 16-color light-background displays.
9652
4ad3bc2a
CY
96532011-11-24 Chong Yidong <cyd@gnu.org>
9654
9655 * window.el (display-buffer--special-action): Doc fix.
9656
e9fce1ac
JB
96572011-11-25 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9660 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9661 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9662 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9663 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9664 (avl-tree-stack-first):
9665 * emacs-lisp/cconv.el (cconv--analyse-use):
9666 * net/gnutls.el (gnutls-negotiate): Fix typos.
9667
cb825e5d
GM
96682011-11-24 Glenn Morris <rgm@gnu.org>
9669
3adbe224
GM
9670 * lpr.el (lpr-windows-system, lpr-lp-system):
9671 * mail/binhex.el (binhex-begin-line):
9672 * progmodes/grep.el (grep-history, grep-find-history):
9673 * textmodes/flyspell.el:
9674 * vc/pcvs-defs.el (cvs-global-menu):
9675 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9676 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9677 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9678
321decc8
GM
9679 * net/tls.el: Fix case of "GnuTLS".
9680
420b63ad
GM
9681 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9682
cb825e5d
GM
9683 * version.el (emacs-build-system): Give it a doc-string.
9684
a0649f08
JL
96852011-11-24 Juri Linkov <juri@jurta.org>
9686
9687 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9688
c0bc0fd4
GM
96892011-11-24 Glenn Morris <rgm@gnu.org>
9690
9691 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9692 if called on a non-mime message just toggle the headers. (Bug#8006)
9693
20db1522
JB
96942011-11-24 Juanma Barranquero <lekktu@gmail.com>
9695
9696 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9697 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9698 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9699 (allout-rebullet-heading, allout-open-sibtopic)
9700 (allout-toggle-current-subtree-encryption)
9701 (allout-toggle-subtree-encryption, allout-encrypt-string)
9702 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9703 (allout-distinctive-bullets-string, allout-auto-activation):
9704 * window.el (window-normalize-buffer-to-display):
9705 * progmodes/verilog-mode.el (verilog-batch-indent):
9706 * textmodes/bibtex.el (bibtex-field-braces-opt)
9707 (bibtex-field-strings-opt):
9708 * vc/cvs-status.el (cvs-tree-merge):
9709 Fix typos.
9710
7262a87c
MA
97112011-11-23 Michael Albinus <michael.albinus@gmx.de>
9712
9713 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9714 `non-essential' to t, in order to avoid remote connections.
9715
283430a1
EZ
97162011-11-23 Eli Zaretskii <eliz@gnu.org>
9717
a1beca85
SM
9718 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9719 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9720 case-insensitively.
9721
d2992a38
ML
97222011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9723
9724 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9725
50419064
GM
97262011-11-23 Glenn Morris <rgm@gnu.org>
9727
da94eca1
GM
9728 * paths.el (rmail-file-name): Reformat the doc-string so that it
9729 is picked up.
9730
9aac4de2
GM
9731 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9732 (rmail-auto-file): Ignore case in the "special" field names,
9733 as mail-fetch-field does for all others.
9734
8038d2d2
GM
9735 * mail/rmail.el (rmail-forward):
9736 * mail/rmailkwd.el (rmail-set-label):
9737 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9738 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9739
f3fe222a
GM
9740 * mail/rmail.el (rmail-current-message): Doc fix.
9741
50419064
GM
9742 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9743
28109f49
SM
97442011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9747
394c65f1
GM
97482011-11-22 Glenn Morris <rgm@gnu.org>
9749
9750 * mail/rmailmm.el (test-rmail-mime-handler)
9751 (test-rmail-mime-bulk-handler)
9752 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9753
f2a0aa3a
JL
97542011-11-21 Juri Linkov <juri@jurta.org>
9755
1154d12e
JB
9756 * calc/calc.el (calc-read-key-sequence):
9757 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9758
9c34a344
LMI
97592011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9760
9761 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9762 Tell the caller that the next line needs recomputation, even
9763 though it doesn't start a sexp (bug#10094).
9764
f04a3be9
SM
97652011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9768
7978747f
SM
97692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9770
f04a3be9
SM
9771 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9772 Use force-same-window.
7978747f 9773
fe7a3057
JB
97742011-11-20 Juanma Barranquero <lekktu@gmail.com>
9775
9776 * descr-text.el (describe-char-unicode-data):
9777 * json.el (json-string-escape):
9778 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9779 (Footnote-unicode, Footnote-style-p):
9780 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9781
24901d61
CY
97822011-11-20 Chong Yidong <cyd@gnu.org>
9783
9784 * window.el (replace-buffer-in-windows): Restore interactive spec.
9785
bac7ff22
SM
97862011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9787
24f3d7b9
SM
9788 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9789
bac7ff22
SM
9790 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9791 (byte-compile-global-not-obsolete-vars): New var.
9792 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9793 Use it.
9794 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9795
cd1181db
JB
97962011-11-20 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9799 * progmodes/pascal.el (electric-pascal-equal):
9800 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9801 * xml.el (xml-substitute-special): Fix typos.
9802
7fb18e9e
GM
98032011-11-20 Glenn Morris <rgm@gnu.org>
9804
9805 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9806 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9807 Doc fixes.
9808 (rmail-decode-mime-charset): Mark as obsolete.
9809
9810 * mail/rmailsum.el (rmail-message-regexp-p-1):
9811 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9812 Before using mime functions, check they are set. (Bug#10077)
9813
d5a6b3ba
JL
98142011-11-19 Juri Linkov <juri@jurta.org>
9815
9816 * info.el (Info-finder-find-node): Use `package--builtins' instead
9817 of `package-alist'. Use node names formed by the pattern "Keyword "
9818 and the keyword name.
9819
e981b61f
AS
98202011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9821
1d00653d 9822 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9823
3ffbc301
JL
98242011-11-19 Juri Linkov <juri@jurta.org>
9825
9826 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9827 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9828 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9829 `old-history', `old-history-forward'. Add let-binding
9830 `window-selected'. Remove calls to `kill-buffer',
9831 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9832 before calling `Info-find-node', so `Info-find-node-2' will reread
9833 the Info file. Restore window positions only when `window-selected'
9834 is non-nil.
9835
30c62133
JL
98362011-11-19 Juri Linkov <juri@jurta.org>
9837
9838 * isearch.el (isearch-lazy-highlight-new-loop):
9839 Remove condition `(not isearch-error)'. (Bug#9918)
9840
9841 * misearch.el (multi-isearch-search-fun): Add condition
9842 `(not bound)' to ignore lazy-highlighting search.
9843 Add the search-failed message "end of multi" when the end of
9844 multi-sequence is reached. Uncapitalize the search-failed
9845 message "Repeat for next buffer".
9846
9847 * info.el (Info-search): Add the search-failed message
9848 "end of the manual" when the end of the manual is reached
9849 in Isearch mode.
9850
645ca9cf
JL
98512011-11-19 Juri Linkov <juri@jurta.org>
9852
9853 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9854 Use non-destructive `remove' instead of `delete' because
9855 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9856 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9857
df754f66
JL
98582011-11-19 Juri Linkov <juri@jurta.org>
9859
9860 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9861 to nil instead of binding `search-ring' and `regexp-search-ring'.
9862 (Bug#9185)
9863
0e23d96a
EZ
98642011-11-19 Eli Zaretskii <eliz@gnu.org>
9865
9866 * simple.el (line-move): Force movement by logical lines for any
9867 hscrolled window, not only when auto-hscroll-mode is on.
9868 (line-move-visual): Update doc string to that effect. (Bug#10076)
9869
8a6ccb66
AS
98702011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9871
9872 * language/european.el (macintosh): Define as alias for mac-roman.
9873
49ae5b39
EZ
98742011-11-19 Eli Zaretskii <eliz@gnu.org>
9875
9876 * mail/rmailmm.el (rmail-mime-display-header)
9877 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9878 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9879 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9880 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9881 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9882 of a raw aref.
9883 (rmail-mime-entity-segment): To get past the tagline, move forward
9884 2 more lines, to account for the 2 empty lines that precede and
9885 follow the line with the buttons.
9886 (rmail-mime-update-tagline): Move one more line, to get past the
9887 empty line that follows the buttons in the tagline. (Bug#9520)
9888
c56cad4a
MR
98892011-11-19 Martin Rudalics <rudalics@gmx.at>
9890
9891 * window.el (window-max-delta-1, window-min-delta-1)
9892 (window-min-size-1, window-state-get-1, window-state-put-1)
9893 (window-state-put-2): Use "window--" prefix.
9894
cbe71af3
SM
98952011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9896
2ad52c60
SM
9897 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9898 (smie-warning-count): New var.
9899 (smie-set-prec2tab): Use it.
9900 (smie-bnf->prec2): Improve warnings. Add docstring.
9901 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9902 (smie-bnf--set-class): New function.
9903 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9904 corner case.
9905
6944dbc1
SM
9906 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9907 (compilation-error-properties, compilation-move-to-column):
9908 Handle compilation-first-column while in the target buffer.
9909
c400c4d7
SM
9910 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9911 Don't hardcode point-min==1.
9912
6dbe3e96
SM
9913 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9914 (eshell-rewrite-for-command): Remove workaround.
9915 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9916 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9917 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9918
cbe71af3
SM
9919 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9920
a8e1496d
GM
99212011-11-17 Glenn Morris <rgm@gnu.org>
9922
9923 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9924 Ignore buffer-local generated-autoload-file if it is the same
9925 as the global value. (Bug#10049)
9926
df85d315
JB
99272011-11-17 Juanma Barranquero <lekktu@gmail.com>
9928
9929 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9930 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9931 (reftex-toc-previous-heading, reftex-toc-max-level)
9932 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9933 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9934 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9935 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9936 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9937 (reftex-toc-rename-label, reftex-toc-visit-location)
9938 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9939 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9940 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9941 leaving "*toc*" only for references to the buffer.
9942
a0c2d0ae
MR
99432011-11-17 Martin Rudalics <rudalics@gmx.at>
9944
9945 * window.el (window-resize, delete-window, split-window):
9946 Replace window-splits by window-combination-resize.
1d00653d 9947 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9948
35c0bac8
GM
99492011-11-17 Glenn Morris <rgm@gnu.org>
9950
9951 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9952 Make bash entry derive from sh entry, not shell entry.
9953
d0c8fc8a
MA
99542011-11-16 Michael Albinus <michael.albinus@gmx.de>
9955
7262a87c
MA
9956 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9957 local file name.
9958
7877f373
JB
99592011-11-16 Juanma Barranquero <lekktu@gmail.com>
9960
9961 * menu-bar.el (menu-bar-file-menu):
9962 * printing.el (pr-ps-utility):
9963 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9964 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9965 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9966 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9967 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9968 (icalendar--convert-cyclic-to-ical)
9969 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9970 (icalendar--convert-ical-to-diary)
9971 (icalendar--convert-recurring-to-diary)
9972 (icalendar--convert-non-recurring-all-day-to-diary)
9973 (icalendar-import-format-sample):
9974 * progmodes/idlw-shell.el (idlwave-shell-mode):
9975 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9976 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9977 (vhdl-ps-print-init): Fix typos.
9978
10649b82
KM
99792011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9980
9d0cfcd6
GM
9981 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9982 FSF and collapse date sequence, obscure author/maintainer email address
9983 better, remove extra version line, track relocation of author's webpage.
10649b82 9984
9d0cfcd6
GM
9985 * progmodes/python.el (python-pdbtrack-input-prompt)
9986 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9987 regular python pdb prompts. Adjustments shamelessly taken exactly as
9988 suggested in EmacsWiki page (tiny change):
9989 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9990
58179cce
JB
99912011-11-16 Juanma Barranquero <lekktu@gmail.com>
9992
9993 * expand.el (expand-pos, expand-index, expand-point):
9994 Remove redundant info from docstring.
9995 (expand-add-abbrevs): Doc fix.
9996 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9997 (expand-sample-perl-mode-expand-list): Fix typos.
9998
9999 * net/dbus.el (dbus-event-member-name):
10000 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10001 * term/pc-win.el (msdos-create-frame-with-faces):
10002 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10003
b6f67890
MR
100042011-11-16 Martin Rudalics <rudalics@gmx.at>
10005
10006 * window.el (split-window, window-state-get-1)
10007 (window-state-put-1, window-state-put-2): Rename occurrences of
10008 window-nest to window-combination-limit.
1d00653d 10009 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10010
ce7ddba0
CY
100112011-11-16 Chong Yidong <cyd@gnu.org>
10012
10013 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10014 regexp (Bug#10033).
10015
3ae704f4
SM
100162011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10019 `completing-read' will remove *Completions* and will preserve
10020 current-buffer for us.
10021 (tmm-add-prompt): Users of *Completions* will always (re)set its
10022 major mode.
10023 (tmm-old-comp-map): Remove.
10024
6ad1cdde
GM
100252011-11-16 Glenn Morris <rgm@gnu.org>
10026
10027 * mail/rmailedit.el: Require rmailmm when compiling.
10028 (rmail-old-mime-state): New declaration.
10029 (rmail-edit-current-message): If editing a mime message,
10030 edit the "raw" message from the mbox buffer.
10031 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10032
d20faa20
GM
100332011-11-15 Glenn Morris <rgm@gnu.org>
10034
10035 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10036 which wasn't being used. Add optional arg to force given state.
10037 (rmail-mime): Add optional arg to force given state.
10038
c7015153
JB
100392011-11-15 Juanma Barranquero <lekktu@gmail.com>
10040
10041 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10042 * frame.el (display-mm-dimensions-alist):
10043 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10044 (outline-move-subtree-down):
10045 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10046 (newsticker--treeview-do-get-node):
10047 * net/quickurl.el (quickurl-list-buffer-name):
10048 * progmodes/dcl-mode.el (dcl-mode):
10049 * progmodes/gdb-mi.el (gdb-mapcar*):
10050 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10051
45261b50
GM
100522011-11-15 Glenn Morris <rgm@gnu.org>
10053
10054 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10055 in a boolean sense, so just make it a boolean, and fix the doc.
10056 (rmail-show-mime-function, rmail-mime-feature)
10057 (rmail-require-mime-maybe): Doc fixes.
10058 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10059
10060 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10061
0d26e0b6
JB
100622011-11-15 Juanma Barranquero <lekktu@gmail.com>
10063
10064 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10065 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10066 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10067 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10068
447f30f6
GM
100692011-11-15 Glenn Morris <rgm@gnu.org>
10070
672b871d
GM
10071 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10072 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10073 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10074 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10075 (rmail-mime, rmail-show-mime): Doc fixes.
10076
f6aa5bb1
GM
10077 * term/ns-win.el (mode-line-frame-identification):
10078 Leave it alone. (Bug#10051)
10079
947cd66b
GM
10080 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10081
447f30f6
GM
10082 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10083 Handle empty buffers. (Bug#9978)
10084
0b381c7e
JB
100852011-11-14 Juanma Barranquero <lekktu@gmail.com>
10086
10087 * international/mule.el (define-charset):
10088 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10089 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10090 * progmodes/verilog-mode.el (verilog-backward-token):
10091 * textmodes/ispell.el (lookup-words):
10092 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10093
71e027ac
GM
100942011-11-14 Glenn Morris <rgm@gnu.org>
10095
56632ce4
GM
10096 * progmodes/executable.el
10097 (executable-make-buffer-file-executable-if-script-p):
10098 Handle file-modes returning nil.
10099
40500957
GM
10100 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10101 message - not necessary, and causes problems. (Bug#9831)
10102
071c2340
GM
10103 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10104
d3cfca60
GM
10105 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10106
71e027ac
GM
10107 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10108 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10109 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10110
89d61221
MR
101112011-11-12 Martin Rudalics <rudalics@gmx.at>
10112
10113 * window.el (window-resize, delete-window): Use window-splits
10114 variable instead of function.
10115 (window-state-get-1, window-state-put-2, window-state-put):
10116 Don't deal with windows' splits status.
10117
98282f6f
GM
101182011-11-12 Glenn Morris <rgm@gnu.org>
10119
10120 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10121 (apropos-documentation): Doc fixes.
10122
40a8bdf6
JB
101232011-11-11 Juanma Barranquero <lekktu@gmail.com>
10124
10125 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10126 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10127
65bd19ff
SM
101282011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * electric.el (electric-indent-post-self-insert-function): Make it
10131 possible for a char to only indent in some circumstances.
10132 (electric-indent-mode): Simplify.
10133
54f9154c
MR
101342011-11-11 Martin Rudalics <rudalics@gmx.at>
10135
10136 * window.el (windows-with-parameter): Remove unused function.
10137 (windows-at-side): Rename to window-at-side-list.
10138 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10139 (window-side-check, window-size-ignore, window-size-fixed-1)
10140 (window-in-direction-2): Prefix with "window--".
10141 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10142
68cbc58b
GM
101432011-11-11 Glenn Morris <rgm@gnu.org>
10144
10145 * subr.el (eval-after-load): If FILE is already loaded,
10146 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10147
b2621720
GM
101482011-11-10 Glenn Morris <rgm@gnu.org>
10149
9a4de110
GM
10150 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10151 Call svn via vc-svn-command rather than vc-do-command.
10152 (vc-svn-command): Add --non-interactive. (Bug#9993)
10153 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10154
b2621720
GM
10155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10156 Add toggle-read-only. (Bug#7292)
10157 * files.el (toggle-read-only): Mention that it should only
10158 be used interactively. (Bug#10006)
10159
1dce7193
SM
101602011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10161
d9ac1a1e
SM
10162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10163 Adjust regexp for OCaml warnings.
10164
0c325082
SM
10165 * electric.el (electric-pair-post-self-insert-function): Let user
10166 turn it off buffer-locally (bug#9932).
10167
90132c14
SM
10168 * progmodes/python.el (python-beginning-of-statement):
10169 Rewrite (bug#2703).
10170
1dce7193
SM
10171 * progmodes/compile.el: Better handle TABs (bug#9749).
10172 (compilation-internal-error-properties)
10173 (compilation-next-error-function): Obey the target buffer's
10174 compilation-error-screen-columns.
10175
c4e7c63a
JB
101762011-11-09 Juanma Barranquero <lekktu@gmail.com>
10177
10178 * progmodes/meta-mode.el: Remove obsolete comments.
10179 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10180 Fix typos in docstrings.
10181
2cffd681
MR
101822011-11-09 Martin Rudalics <rudalics@gmx.at>
10183
10184 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10185 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10186 (window--resizable): New function. Make all callers of
10187 window-resizable call window--resizable instead.
10188 (window-resizable): Rewrite in terms of window--resizable.
10189
0edcba87
GM
101902011-11-08 Glenn Morris <rgm@gnu.org>
10191
10192 * progmodes/delphi.el (delphi-mode-syntax-table):
10193 Let define-derived-mode define a proper syntax table. (Bug#9994)
10194
4b0d61e3
SM
101952011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * window.el: Stay away from defsubst.
10198 (window-list-no-nils): Remove.
10199 (window-state-get-1, window-state-get): Use backquote instead.
10200
cd394be1 102012011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10202
4b0d61e3 10203 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10204 Fix incorrect use of default argument in `completing-read'.
10205
e1c2c6f2
MR
102062011-11-08 Martin Rudalics <rudalics@gmx.at>
10207
10208 * window.el (display-buffer-function, special-display-function):
10209 Mention display-buffer-record-window but do not mention
10210 help-setup parameter in doc-strings.
b3f4a882 10211 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10212
105216ed
CY
102132011-11-08 Chong Yidong <cyd@gnu.org>
10214
10215 * window.el (window-total-height, window-total-width): Doc fix.
10216 (window-body-size): Move from C.
10217 (window-body-height, window-body-width): Move to C.
10218
0a9f9ab5
SM
102192011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * window.el: Make special-display like display-buffer-alist (bug#9532).
10222 (display-buffer--special-action): New function, morphed
10223 from display-buffer--special.
10224 (display-buffer): Use it to handle special-display-buffers at higher
10225 priority (just after display-buffer-alist).
10226 (display-buffer-fallback-action, display-buffer--other-frame-action)
10227 (pop-to-buffer-same-window): Remove display-buffer--special.
10228
a769dd15
GM
102292011-11-07 Glenn Morris <rgm@gnu.org>
10230
10231 * calendar/cal-menu.el (cal-menu-set-date-title):
10232 Do nothing if not in a calendar. (Bug#9976)
10233
05a61ee3
SM
102342011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * files.el (find-file): Always use selected-window.
10237
be7f5545
MR
102382011-11-07 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (window-combinations): Make WINDOW argument
10241 mandatory. Rewrite doc-string.
10242 (walk-window-subtree, window-atom-check, window-min-delta)
10243 (window-max-delta, window--resize-this-window)
10244 (window--resize-root-window-vertically, window-tree)
10245 (balance-windows, window-state-put): Rewrite doc-strings as to
10246 not mention the term "subwindow".
10247 (window--resize-subwindows-skip-p): Rename to
10248 window--resize-child-windows-skip-p.
10249 (window--resize-subwindows-normal): Rename to
10250 window--resize-child-windows-normal.
10251 (window--resize-subwindows): Rename to
10252 window--resize-child-windows.
10253 (window-or-subwindow-p): Rename to window--in-subtree-p.
10254
3c6702ef
ML
102552011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10256
10257 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10258 Ensure that mbox format messages end in two newlines (Bug#9974).
10259
49745b39
CY
102602011-11-06 Chong Yidong <cyd@gnu.org>
10261
10262 * window.el (window-combination-p): Function deleted; its
10263 side-effect is not used in any existing code.
10264 (window-combinations, window-combined-p): Call window-*-child
10265 directly.
10266
24300f5f
CY
102672011-11-05 Chong Yidong <cyd@gnu.org>
10268
10269 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10270 (window-size-ignore, window-state-get): Callers changed.
10271 (window-normalize-window): Rename from window-normalize-any-window.
10272 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10273 (window-normalize-live-window): Delete.
447f16b8
CY
10274 (window-combination-p, window-combined-p, window-combinations)
10275 (walk-window-subtree, window-atom-root, window-min-size)
10276 (window-sizable, window-sizable-p, window-size-fixed-p)
10277 (window-min-delta, window-max-delta, window-resizable)
10278 (window-resizable-p, window-full-height-p, window-full-width-p)
10279 (window-current-scroll-bars, window-point-1, set-window-point-1)
10280 (window-at-side-p, window-in-direction, window-resize)
10281 (adjust-window-trailing-edge, maximize-window, minimize-window)
10282 (window-deletable-p, delete-window, delete-other-windows)
10283 (record-window-buffer, unrecord-window-buffer)
10284 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10285 (quit-window, split-window, window-state-put)
10286 (set-window-text-height, fit-window-to-buffer)
10287 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10288
89bd5ee1
EZ
102892011-11-04 Eli Zaretskii <eliz@gnu.org>
10290
53479029
EZ
10291 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10292 rfc2047-decode-string.
10293 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10294 warnings.
10295
89bd5ee1
EZ
10296 * window.el (window-body-height, window-body-width): Mention in
10297 the doc string that the return values are in frame's canonical
10298 units. (Bug#9949)
10299
bd17fdee
AM
103002011-11-03 Alan Mackenzie <acm@muc.de>
10301
10302 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10303 change in cc-engine.el.
10304
acc825c5
SM
103052011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10308
1885e5b8
MR
103092011-11-02 Martin Rudalics <rudalics@gmx.at>
10310
10311 * window.el (quit-window): Call unrecord-window-buffer after
10312 showing another buffer in the window. (Bug#9937)
acc825c5 10313 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10314
ebe06da9
JB
103152011-11-02 Juanma Barranquero <lekktu@gmail.com>
10316
10317 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10318 Accept status with more than 9 shelves. (Bug#9935)
10319 Reported by Colin D Bennett <colin@gibibit.com>.
10320
4ee88440
MR
103212011-11-01 Martin Rudalics <rudalics@gmx.at>
10322
10323 * help.el (with-help-window): Don't reference
10324 temp-buffer-show-specifiers in doc-string.
10325
08e1d82c
AS
103262011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10327
10328 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10329 menu-item.
10330
84bd6e9e
VJL
103312011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10332
10333 * whitespace.el: New version 13.2.2.
10334 (whitespace-newline-mode): Disable properly. Reported by Sarah
10335 <EmacsWiki>.
10336
dba0634a
UJ
103372011-10-30 Ulf Jasper <ulf.jasper@web.de>
10338
10339 * net/newst-treeview.el: Remove "Time-stamp".
10340 (newsticker--group-manage-orphan-feeds): Do not call
10341 newsticker--treeview-tree-update.
db22a3c2
JB
10342 (newsticker-treeview-update, newsticker-treeview):
10343 Call newsticker--treeview-tree-update if necessary.
dba0634a 10344
3d8daefe
MR
103452011-10-30 Martin Rudalics <rudalics@gmx.at>
10346
10347 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10348 (window-iso-combinations): Remove "iso-" infix.
10349 Suggested by Chong Yidong.
3d8daefe
MR
10350 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10351 (window-max-delta-1, window-resize, window--resize-siblings)
10352 (window--resize-this-window, adjust-window-trailing-edge)
10353 (split-window, balance-windows-1)
10354 (shrink-window-if-larger-than-buffer):
10355 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10356 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10357
1bc4c3ae
SM
103582011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10361 in place (bug#9907).
10362 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10363 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10364 (eshell-structure-basic-command, eshell-rewrite-while-command)
10365 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10366 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10367 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10368 (eshell-do-pipelines-synchronously, eshell-eval-command):
10369 Use backquotes and prefer setq to set.
10370 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10371 (eshell-macrop): Use functionp.
c1e2f5fa 10372 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10373
30b65d9c
CY
103742011-10-30 Chong Yidong <cyd@gnu.org>
10375
10376 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10377 instead of set-mark (Bug#9810).
10378
2d197ffb
CY
103792011-10-30 Chong Yidong <cyd@gnu.org>
10380
10381 * window.el (split-window-below, split-window-right): Rename from
10382 split-window-above-each-other and split-window-side-by-side
10383 respectively. All callers changed.
10384 (split-window-sensibly, split-window-sensibly): Use them.
10385 (split-window-keep-point): Doc fix.
10386
10387 * isearch.el: Add isearch-scroll property to split-window-below
10388 and split-window-right.
10389
10390 * follow.el (follow-mode):
10391 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10392 * progmodes/ada-xref.el (ada-gdb-application):
10393 * emulation/vip.el (vip-buffer-in-two-windows):
10394 * image-dired.el (image-dired-dired-with-window-configuration):
10395 * dired-x.el (dired-do-find-marked-files):
10396 * dired.el (dired-pop-to-buffer):
10397 * bs.el (bs--show-with-configuration):
10398 * vc/emerge.el (emerge-setup-windows):
10399 * textmodes/two-column.el (2C-two-columns):
10400 * textmodes/reftex-toc.el (reftex-toc):
10401 * progmodes/gdb-mi.el (gdb-setup-windows):
10402 * progmodes/fortran.el (fortran-window-create):
10403 * net/newst-treeview.el (newsticker--treeview-window-init):
10404 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10405 * emulation/tpu-edt.el (tpu-gold-map):
10406 * emulation/crisp.el (crisp-mode-map):
10407 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10408
38bb2ca8
CY
104092011-10-29 Chong Yidong <cyd@gnu.org>
10410
aa4de341
CY
10411 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10412
e1eb5385
CY
10413 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10414
5d2ece3c
CY
10415 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10416 forged Ispell output (Bug#7904).
10417
38bb2ca8
CY
10418 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10419
d0af9f77
SM
104202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10421
10422 * doc-view.el: Avoid ugly errors about not finding nil.
10423 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10424 (doc-view-dvipdf-program, doc-view-unoconv-program)
10425 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10426 Avoid nil or absolute file name as default value.
10427 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10428
52bedd34
AM
104292011-10-28 Alan Mackenzie <acm@muc.de>
10430
db22a3c2 10431 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10432
7e43cfa5
AM
104332011-10-28 Alan Mackenzie <acm@muc.de>
10434
10435 Amend the handling of c-beginning/end-of-defun in nested declaration
10436 scopes.
10437
52bedd34
AM
10438 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10439 cc-langs.el. Change it to a defcustom.
7e43cfa5 10440
52bedd34
AM
10441 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10442 cc-vars.el.
7e43cfa5 10443
d0af9f77
SM
10444 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10445 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10446
52bedd34 10447 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10448 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10449 (c-widen-to-enclosing-decl-scope): New function.
10450 (c-while-widening-to-decl-block): New macro.
10451 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10452 outward for defun boundaries, and correspondingly change symbol
10453 `respect-enclosure' to `go-outward'.
10454 (c-declaration-limits): Change algorithm to report only the "innermost"
10455 defun's boundaries.
10456
1a2ce9ee
DD
104572011-10-28 Deniz Dogan <deniz@dogan.se>
10458
10459 * net/rcirc.el (rcirc-mode): Use hard newlines.
10460
bc97a826
AM
104612011-10-28 Alan Mackenzie <acm@muc.de>
10462
10463 Amend to indent and fontify macros "which include their own semicolon"
10464 correctly, using the "virtual semicolon" mechanism.
10465
52bedd34 10466 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10467
d0af9f77 10468 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10469 Recode to scan one line at a time rather than having \n and \r
58179cce 10470 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10471 (c-forward-label): Amend for virtual semicolons.
58179cce 10472 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10473
52bedd34
AM
10474 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10475 of the new C macros.
bc97a826 10476
52bedd34 10477 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10478 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10479 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10480 (c-opt-cpp-macro-define): Make into a full language variable.
10481 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10482 AWK Mode (including \n, \r) removed, no longer needed.
10483
d0af9f77
SM
10484 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10485 Invoke c-make-macro-with-semi-re.
bc97a826 10486
52bedd34
AM
10487 * progmodes/cc-vars.el (c-macro-with-semi-re):
10488 (c-macro-names-with-semicolon): New variables.
58179cce 10489 (c-make-macro-with-semi-re): New function.
bc97a826 10490
7a6c0941
SM
104912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * vc/log-edit.el: Fill empty field rather than adding new one.
10494 (log-edit-add-field): New function.
10495 (log-edit-insert-changelog): Use it.
10496
b0c4cdcf
ML
104972011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10498
10499 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10500
ee1f1da9
SM
105012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10504 (gdb--check-interpreter): New function.
10505 (gdb): Use it.
10506
51bc5f8b
GM
105072011-10-27 Glenn Morris <rgm@gnu.org>
10508
416a2c45
GM
10509 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10510 (least-positive-float, least-negative-float)
10511 (least-positive-normalized-float, least-negative-normalized-float)
10512 (float-epsilon, float-negative-epsilon):
10513 Remove unnecessary declarations.
10514
10515 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10516 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10517 (least-positive-float, least-negative-float)
10518 (least-positive-normalized-float, least-negative-normalized-float)
10519 (float-epsilon, float-negative-epsilon): Add doc-strings,
10520 based on those in cl.texi.
10521
51bc5f8b
GM
10522 * files.el (set-visited-file-name): If the major-mode changed,
10523 reload the local variables. (Bug#9796)
10524
15de15c6
CY
105252011-10-27 Chong Yidong <cyd@gnu.org>
10526
10527 * subr.el (change-major-mode-after-body-hook): New hook.
10528 (run-mode-hooks): Run it.
10529
ee1f1da9
SM
10530 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10531 Use change-major-mode-before-body-hook.
15de15c6
CY
10532
10533 * simple.el (fundamental-mode):
10534 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10535 change introducing fundamental-mode-hook.
10536
5430d399
JB
105372011-10-26 Juanma Barranquero <lekktu@gmail.com>
10538
acc825c5 10539 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10540
ad74a69e
MA
105412011-10-26 Michael Albinus <michael.albinus@gmx.de>
10542
10543 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10544 tramp.el explicitly. (Bug#7583)
ad74a69e 10545
71d4c2a5
SM
105462011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * progmodes/octave-mod.el:
10549 * progmodes/octave-inf.el: Update maintainer.
10550
b1f6fa26
CY
105512011-10-26 Chong Yidong <cyd@gnu.org>
10552
10553 * subr.el (with-wrapper-hook): Rewrite doc.
10554
3f04efd6
MA
105552011-10-25 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10558 filenames "/method:foo:". (Bug#9793)
3f04efd6 10559
410488d3
SM
105602011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10563 (bug#9865).
10564
c1ebb47e
GM
105652011-10-24 Glenn Morris <rgm@gnu.org>
10566
10567 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10568
7f5c46c7
MA
105692011-10-24 Michael Albinus <michael.albinus@gmx.de>
10570
10571 * notifications.el: Add the requirement of a running D-Bus session
10572 bus to the Commentary.
10573
db2440b6
JL
105742011-10-24 Juri Linkov <juri@jurta.org>
10575
10576 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10577 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10578 (Bug#9364)
10579
feecf435
JL
105802011-10-24 Juri Linkov <juri@jurta.org>
10581
10582 * info.el (Info-following-node-name-re): Add newline to the list
10583 of allowed characters for leading space. (Bug#9824)
10584
a3839de2
SM
105852011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10586
acc825c5
SM
10587 * progmodes/octave-inf.el (inferior-octave-mode-map):
10588 Fix C-c C-h binding.
a3839de2
SM
10589 * progmodes/octave-mod.el (octave-help): Remove.
10590
09388e76
MA
105912011-10-23 Michael Albinus <michael.albinus@gmx.de>
10592
10593 Sync with Tramp 2.2.3.
10594
10595 * net/tramp-cache.el (top): Pacify byte-compiler using
10596 `init-file-user' and `site-run-file'.
10597
10598 * net/trampver.el: Update release number.
10599
86c60681
CY
106002011-10-23 Chong Yidong <cyd@gnu.org>
10601
10602 * files.el (toggle-read-only): Remove obsolete comment about
10603 version control.
10604
10605 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10606 for toggle-read-only. Note that this hasn't called vc-next-action
10607 since 2008-05-02, though it wasn't documented at the time.
10608
a3839de2
SM
10609 * vc/ediff-init.el (ediff-toggle-read-only-function):
10610 Use toggle-read-only.
86c60681 10611
cd5495ff
AM
106122011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10613
10614 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10615 of c-parse-state.
10616
00b77525 10617 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10618 correct faulty logical expression.
cd5495ff
AM
10619 (c-parse-state-state, c-record-parse-state-state):
10620 (c-replay-parse-state-state): New defvar/defuns.
10621 (c-debug-parse-state): Use new functions.
10622
42ee24ed
MR
106232011-10-22 Martin Rudalics <rudalics@gmx.at>
10624
10625 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10626 last fix. Use window-in-direction correctly.
42ee24ed 10627
a7dee7e7
CY
106282011-10-21 Chong Yidong <cyd@gnu.org>
10629
10630 * progmodes/idlwave.el (idlwave-mode):
10631 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10632 require-final-newline; that's done in prog-mode.
10633 Suggested by Stefan Monnier.
a7dee7e7 10634
e07b9a6d
MR
106352011-10-21 Martin Rudalics <rudalics@gmx.at>
10636
10637 * mouse.el (mouse-drag-window-above)
10638 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10639 (mouse-drag-mode-line-1, mouse-drag-header-line)
10640 (mouse-drag-vertical-line-rightward-window): Remove.
10641 (mouse-drag-line): New function.
10642 (mouse-drag-mode-line, mouse-drag-header-line)
10643 (mouse-drag-vertical-line): Call mouse-drag-line.
10644 * window.el (window-at-side-p, windows-at-side): New functions.
10645
7e1361d9
UM
106462011-10-21 Ulrich Mueller <ulm@gentoo.org>
10647
10648 * tar-mode.el (tar-grind-file-mode):
10649 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10650
30fcaf3a
CY
106512011-10-21 Chong Yidong <cyd@gnu.org>
10652
10653 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10654 * progmodes/vera-mode.el (vera-mode):
10655 Use mode-require-final-newline.
30fcaf3a 10656
516eddb0
GM
106572011-10-20 Glenn Morris <rgm@gnu.org>
10658
db22a3c2 10659 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10660
10d5f513
CS
106612011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10662
10663 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10664
ac6c8639
CY
106652011-10-20 Chong Yidong <cyd@gnu.org>
10666
10667 * emulation/cua-base.el (cua-mode):
10668 * mail/footnote.el (footnote-mode):
10669 * mail/mailabbrev.el (mail-abbrevs-mode):
10670 * net/xesam.el (xesam-minor-mode):
10671 * progmodes/bug-reference.el (bug-reference-mode):
10672 * progmodes/cap-words.el (capitalized-words-mode):
10673 * progmodes/compile.el (compilation-minor-mode)
10674 (compilation-shell-minor-mode):
10675 * progmodes/gud.el (gud-tooltip-mode):
10676 * progmodes/hideif.el (hide-ifdef-mode):
10677 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10678 * progmodes/subword.el (subword-mode):
10679 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10680 * progmodes/which-func.el (which-function-mode):
10681 * term/tvi970.el (tvi970-set-keypad-mode):
10682 * term/vt100.el (vt100-wide-mode):
10683 * textmodes/flyspell.el (flyspell-mode):
10684 * textmodes/ispell.el (ispell-minor-mode):
10685 * textmodes/nroff-mode.el (nroff-electric-mode):
10686 * textmodes/paragraphs.el (use-hard-newlines):
10687 * textmodes/refill.el (refill-mode):
10688 * textmodes/reftex.el (reftex-mode):
10689 * textmodes/rst.el (rst-minor-mode):
10690 * textmodes/sgml-mode.el (html-autoview-mode)
10691 (sgml-electric-tag-pair-mode):
10692 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10693 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10694 * emulation/crisp.el (crisp-mode):
10695 * emacs-lisp/eldoc.el (eldoc-mode):
10696 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10697 minor mode behavior.
10698
aa42ab43
JL
106992011-10-19 Juri Linkov <juri@jurta.org>
10700
10701 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10702 the list of hard-coded chars with escape-glyph face.
10703
89400f1d
SM
107042011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10707
305c07f6
MA
107082011-10-19 Michael Albinus <michael.albinus@gmx.de>
10709
10710 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10711 running process.
10712
13754b54
GM
107132011-10-19 Glenn Morris <rgm@gnu.org>
10714
10715 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10716 Ignore ignored files. (Bug#9726)
10717
06e21633
CY
107182011-10-19 Chong Yidong <cyd@gnu.org>
10719
10720 Doc fix for minor modes, stating that an omitted argument enables
10721 the mode unconditionally when called from Lisp.
10722
10723 * abbrev.el (abbrev-mode):
10724 * allout.el (allout-mode):
10725 * autoinsert.el (auto-insert-mode):
10726 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10727 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10728 (global-auto-revert-mode):
10729 * battery.el (display-battery-mode):
10730 * composite.el (global-auto-composition-mode)
10731 (auto-composition-mode):
10732 * delsel.el (delete-selection-mode):
10733 * desktop.el (desktop-save-mode):
10734 * dired-x.el (dired-omit-mode):
10735 * dirtrack.el (dirtrack-mode):
10736 * doc-view.el (doc-view-minor-mode):
10737 * double.el (double-mode):
10738 * electric.el (electric-indent-mode, electric-pair-mode):
10739 * emacs-lock.el (emacs-lock-mode):
10740 * epa-hook.el (auto-encryption-mode):
10741 * follow.el (follow-mode):
10742 * font-core.el (font-lock-mode):
10743 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10744 * help.el (temp-buffer-resize-mode):
10745 * hilit-chg.el (highlight-changes-mode)
10746 (highlight-changes-visible-mode):
10747 * hi-lock.el (hi-lock-mode):
10748 * hl-line.el (hl-line-mode, global-hl-line-mode):
10749 * icomplete.el (icomplete-mode):
10750 * ido.el (ido-everywhere):
10751 * image-file.el (auto-image-file-mode):
10752 * image-mode.el (image-minor-mode):
10753 * iswitchb.el (iswitchb-mode):
10754 * jka-cmpr-hook.el (auto-compression-mode):
10755 * linum.el (linum-mode):
10756 * longlines.el (longlines-mode):
10757 * master.el (master-mode):
10758 * mb-depth.el (minibuffer-depth-indicate-mode):
10759 * menu-bar.el (menu-bar-mode):
10760 * minibuf-eldef.el (minibuffer-electric-default-mode):
10761 * mouse-sel.el (mouse-sel-mode):
10762 * msb.el (msb-mode):
10763 * mwheel.el (mouse-wheel-mode):
10764 * outline.el (outline-minor-mode):
10765 * paren.el (show-paren-mode):
10766 * recentf.el (recentf-mode):
10767 * reveal.el (reveal-mode, global-reveal-mode):
10768 * rfn-eshadow.el (file-name-shadow-mode):
10769 * ruler-mode.el (ruler-mode):
10770 * savehist.el (savehist-mode):
10771 * scroll-all.el (scroll-all-mode):
10772 * scroll-bar.el (scroll-bar-mode):
10773 * server.el (server-mode):
10774 * shell.el (shell-dirtrack-mode):
10775 * simple.el (auto-fill-mode, transient-mark-mode)
10776 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10777 (line-number-mode, column-number-mode, size-indication-mode)
10778 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10779 * strokes.el (strokes-mode):
10780 * time.el (display-time-mode):
10781 * t-mouse.el (gpm-mouse-mode):
10782 * tool-bar.el (tool-bar-mode):
10783 * tooltip.el (tooltip-mode):
10784 * type-break.el (type-break-mode-line-message-mode)
10785 (type-break-query-mode):
10786 * view.el (view-mode):
10787 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10788 (global-whitespace-mode, global-whitespace-newline-mode):
10789 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10790
a3839de2
SM
10791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10792 Fix autogenerated docstring.
06e21633 10793
5214e501
JL
107942011-10-19 Juri Linkov <juri@jurta.org>
10795
10796 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10797 by checking environment variables "DESKTOP_SESSION" and
10798 "XDG_CURRENT_DESKTOP". (Bug#9779)
10799
195f8db9
JL
108002011-10-19 Juri Linkov <juri@jurta.org>
10801
10802 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10803 (browse-url-chromium-program, browse-url-chromium-arguments):
10804 New defcustoms.
10805 (browse-url-default-browser): Check for `browse-url-chromium' and
10806 call `browse-url-chromium-program'.
10807 (browse-url-chromium): New command. (Bug#9779)
10808
343a34ff
JB
108092011-10-18 Juanma Barranquero <lekktu@gmail.com>
10810
10811 * facemenu.el (list-colors-duplicates): On Windows, detect more
10812 duplicates by assuming that only colors matching "^System" are
10813 special "system colors". (Bug#9722)
10814
6978a151
SM
108152011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10818 to distinguish the author from the committer.
10819
6a80b297
MA
108202011-10-18 Michael Albinus <michael.albinus@gmx.de>
10821
10822 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10823
b31a5677
JK
108242011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10825
10826 * international/mule.el (sgml-html-meta-auto-coding-function):
10827 Add support for detecting encoding in HTML5 specified only as
10828 <meta charset="UTF-8">. Implementation just makes http-equiv and
10829 content-type parts from HTML4 encoding string optional. (Bug#9716)
10830
80c6d77f
GM
108312011-10-18 Glenn Morris <rgm@gnu.org>
10832
10833 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10834
08b0fee8
CY
108352011-10-18 Chong Yidong <cyd@gnu.org>
10836
10837 * faces.el (cursor): Doc fix.
10838
67e729a5
CY
108392011-10-17 Chong Yidong <cyd@gnu.org>
10840
10841 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10842
343a34ff 108432011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10844
10845 * dirtrack.el (dirtrack): Support shell buffers with path
10846 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10847
0bc06380
TZ
108482011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10849
10850 * json.el: Bump version to 1.3 and note change in History.
10851 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10852
8b79f3e0
SM
108532011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10854
5a7c536b
SM
10855 * comint.el (comint-insert-input, comint-send-input)
10856 (comint-get-old-input-default, comint-backward-matching-input)
10857 (comint-next-prompt): Use nil instead of `input' for field property of
10858 past user input (bug#114).
10859
96a8a0df
SM
10860 * minibuffer.el (completion--replace): Inherit surrounding properties
10861 (bug#114).
10862 (minibuffer-complete-and-exit): Use it.
10863
8b79f3e0
SM
10864 * comint.el (comint--table-subvert): Quote the all-completions output
10865 (bug#9160).
10866
b8f7ff0d
MR
108672011-10-17 Martin Rudalics <rudalics@gmx.at>
10868
8b79f3e0 10869 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10870
b8f7ff0d 10871 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10872 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10873 entries and separate them from frame entries.
10874
c235b555
GM
108752011-10-15 Glenn Morris <rgm@gnu.org>
10876
10877 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10878 Doc fixes.
10879
6bbfa6e1
CY
108802011-10-15 Chong Yidong <cyd@stupidchicken.com>
10881
8b79f3e0
SM
10882 * net/network-stream.el (network-stream-open-starttls):
10883 Improve detection of failure due to lack of TLS support.
ec5c990d 10884
6bbfa6e1
CY
10885 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10886 putting the input text in front and in bold.
10887
98488977
SM
108882011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10889
3d1337be
SM
10890 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10891
ee0b45e4
SM
10892 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10893 empty buffer.
10894
98488977
SM
10895 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10896 unread-command-events rather than pushing yet-another event.
10897
186f4720
EZ
108982011-10-14 Eli Zaretskii <eliz@gnu.org>
10899
10900 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10901 the explanation of the possible choices. Make the options passed
10902 to completing-read shorter.
10903
8b7a997c
AM
109042011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10905
10906 * textmodes/flyspell.el (flyspell-large-region): Make sure
10907 extended character mode is used if defined (Bug#1339).
10908
12587bbb
EZ
109092011-10-13 Eli Zaretskii <eliz@gnu.org>
10910
10911 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10912 character info for LRE, LRO, RLE, and RLO characters by appending
10913 an invisible PDF.
12587bbb 10914
bad41229
SM
109152011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10918 even in case of error; add debug spec; simplify data flow.
10919 (with-timeout-handler): Remove.
10920
28dbc92f
MA
109212011-10-12 Michael Albinus <michael.albinus@gmx.de>
10922
10923 Fix Bug#6019, Bug#9315.
10924
10925 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10926 complete `buffer-file-name', the local file name part could look
10927 remotely (for example on VMS).
10928
10929 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10930 `tramp-run-real-handler'.
10931 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10932 already quoted by '"'.
10933
10934 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10935 Let `file-name-handler-alist' be nil, the local file name part
10936 could look remotely (for example on VMS).
10937
e1b0b23a
SM
109382011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10941 from here...
10942 (flyspell-post-command-hook): ...to here.
10943
a120bde9
SM
109442011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10945
10946 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10947 if not needed.
10948 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10949 using completion. Protect against "slow" callers.
10950 Remove the "message hack".
10951
7ce7717b
JL
109522011-10-11 Juri Linkov <juri@jurta.org>
10953
10954 * isearch.el (isearch-lazy-highlight-word): New variable.
10955 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10956 Use it. (Bug#9727)
10957
c02ee9d6
GM
109582011-10-11 Glenn Morris <rgm@gnu.org>
10959
10960 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10961 like f90-previous-statement does.
10962
93e616fd 109632011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10964
1f190e73 10965 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10966 only in interactive use, to avoid error.
10967
af7b6078
SM
109682011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * minibuffer.el (completion-file-name-table): Fix last change,
10971 i.e. ignore normal errors but not the other ones.
10972
0563dae9
MR
109732011-10-10 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (special-display-buffer-names)
10976 (special-display-regexps): Remove some remnants of earlier
10977 changes from doc-strings.
366ca7f3
MR
10978 (quit-windows-on): New function.
10979
10980 * vc/vc.el (vc-revert, vc-rollback):
10981 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10982 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10983 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10984
49677495
MR
109852011-10-09 Martin Rudalics <rudalics@gmx.at>
10986
10987 * window.el (frame-auto-hide-function): Add version tag.
10988 (Bug#9699)
10989
56f2d1e1
MA
109902011-10-09 Michael Albinus <michael.albinus@gmx.de>
10991
10992 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10993 condition.
10994
112a6592
LL
109952011-10-09 Leo Liu <sdl.web@gmail.com>
10996
10997 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10998 (Bug#9701)
10999
0812589b
GM
110002011-10-08 Glenn Morris <rgm@gnu.org>
11001
11002 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11003 before the first code statement zero indent. (Bug#9690)
11004
b2b0776e
CY
110052011-10-08 Chong Yidong <cyd@stupidchicken.com>
11006
11007 * simple.el (count-words-region): Always count in the region.
11008 Report the number of lines and characters too.
11009 (count-words): New command, which counts in the buffer if the
11010 region is inactive, as count-words-region used to.
11011 (count-words--message): New function. Handle plurals.
11012 (count-lines-region): Make it an alias for count-words-region.
11013
11014 * bindings.el (esc-map): Replace count-lines-region with
11015 count-words-region.
11016
c557cd6b
MR
110172011-10-08 Martin Rudalics <rudalics@gmx.at>
11018
11019 * window.el (window--delete): Delete dedicated frame
11020 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11021 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11022
61a57ef4 110232011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11024
3a7d293b 11025 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11026
c3833279
CY
110272011-10-07 Chong Yidong <cyd@stupidchicken.com>
11028
11029 * bindings.el ([M-left],[M-right]): Bind to left-word and
11030 right-word respectively.
11031
21ce8245
GM
110322011-10-07 Glenn Morris <rgm@gnu.org>
11033
11034 * cus-start.el (debug-on-quit): Fix custom type.
11035
6d823bb2
LMI
110362011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11037
0181e193
LMI
11038 * subr.el (define-key-after): Clarify that the function is not
11039 useful for non-menu keymaps.
11040
6d823bb2
LMI
11041 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11042
8e3459ce 110432011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11044
21ce8245 11045 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11046 in current minibuffer (Fix bug with recursive minibuffers).
11047
a1c2d21e
CY
110482011-10-06 Chong Yidong <cyd@stupidchicken.com>
11049
11050 * progmodes/gdb-mi.el (gdb): Doc fix.
11051
5a4cf282
MR
110522011-10-05 Martin Rudalics <rudalics@gmx.at>
11053
11054 * window.el (frame-auto-hide-function): New option replacing
11055 frame-auto-delete. Suggested by Stefan Monnier.
11056 (window--delete): Call frame-auto-hide-function instead of
11057 investigating frame-auto-delete.
c96111ea
MR
11058 (window-point-1, set-window-point-1): New functions.
11059 (window-in-direction, record-window-buffer, window-state-get-1)
11060 (display-buffer-record-window): Use window-point-1 instead of
11061 window-point.
11062 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11063
9854542e
SM
110642011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11067
8943cfb0
GM
110682011-10-05 Glenn Morris <rgm@gnu.org>
11069
11070 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11071 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11072
647ab967
LL
110732011-10-05 Leo Liu <sdl.web@gmail.com>
11074
11075 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11076 works with buffer object.
11077
3ddfbced
SM
110782011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * mpc.el (mpc-tool-bar-map): Add labels.
11081
bdfa5dd2
GM
110822011-10-04 Glenn Morris <rgm@gnu.org>
11083
11084 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11085
0e2070b5
MR
110862011-10-04 Martin Rudalics <rudalics@gmx.at>
11087
11088 * window.el (window--delete): New function.
11089 (frame-auto-delete): Resuscitate option.
11090 (bury-buffer, replace-buffer-in-windows)
11091 (quit-window): Rewrite using window--delete.
11092 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11093 Pass display-buffer-mark-dedicated to window--display-buffer-2
11094 (Bug#9639).
11095
3dc61a09
SM
110962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11097
915a9b64
SM
11098 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11099 returns a list (bug#9554). Add remote file name completion.
11100 * comint.el (comint--table-subvert): Curry and get quote&unquote
11101 functions as arguments.
11102 (comint--complete-file-name-data): Adjust call accordingly.
11103 * pcomplete.el (pcomplete--table-subvert): Remove.
11104 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11105
3dc61a09
SM
11106 * minibuffer.el (completion-table-case-fold): Use currying.
11107 (completion--styles-type, completion--cycling-threshold-type):
11108 New constants.
11109 (completion-styles, completion-category-overrides)
11110 (completion-cycle-threshold): Use them.
11111 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11112 completion-table-case-fold.
11113
8ea0a993
SB
111142011-10-03 Stephen Berman <stephen.berman@gmx.net>
11115
11116 * minibuffer.el (completion-category-overrides): Fix type of styles
11117 and add more user friendly tags (bug#9660).
11118
8c24b7f6
SM
111192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11120
11121 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11122 (mule-input-method-string): New widget.
11123 (default-input-method, language-info-custom-alist): Use it.
11124
428fe61a
SM
111252011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11126
32c1fffd
SM
11127 * pcomplete.el: Require comint.
11128 (pcomplete--common-suffix): Remove.
11129 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11130 (pcomplete--table-subvert): Sync with comint--table-subvert.
11131 (pcomplete--entries): Use comint-completion-file-name-table.
11132 * comint.el (comint-unquote-filename): Simplify.
11133 (comint-completion-file-name-table): New function (bug#9616).
11134 (comint--complete-file-name-data): Use it.
11135
428fe61a
SM
11136 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11137 (pcmpl-gnu-tar-buffer): Remove.
11138 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11139 around. Make sure pcomplete-suffix-list is only changed temporarily.
11140 Don't look inside the tar's file if it's too large.
428fe61a 11141
04c52e2f
CY
111422011-10-01 Chong Yidong <cyd@stupidchicken.com>
11143
ce3cefcc
CY
11144 * cus-edit.el (custom-mode-map):
11145 * epa.el (epa-key-list-mode-map):
11146 * man.el (Man-mode-map):
11147 * startup.el (splash-screen-keymap):
11148 * simple.el (special-mode-map): Use scroll-up-command and
11149 scroll-down-command.
11150
11151 * progmodes/idlw-help.el (idlwave-help-mode-map):
11152 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11153 * net/newst-plainview.el (newsticker-mode-map):
11154 * emulation/ws-mode.el (wordstar-mode-map):
11155 * emulation/vi.el (vi-com-map):
11156 * calc/calc-graph.el (calc-graph-show-dumb):
11157 * term/sun.el (terminal-init-sun):
11158 * term/ns-win.el (global-map):
11159 * progmodes/grep.el (grep-mode-map):
11160 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11161 * mail/rmail.el (rmail-mode-map):
11162 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11163
04c52e2f
CY
11164 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11165 custom-safe-themes as special.
11166
79adf8c8
JD
111672011-10-01 Julien Danjou <julien@danjou.info>
11168
11169 * notifications.el (notifications-notify): Fix docstring.
11170
63bd50d3
PS
111712011-10-01 Per Starbäck <per@starback.se>
11172
11173 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11174
199e4c7e
MR
111752011-09-30 Martin Rudalics <rudalics@gmx.at>
11176
11177 * startup.el (command-line-1): Fix last fix by inserting
11178 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11179 (Bug#9605) and (Bug#9636)
199e4c7e 11180
fe5f08dd
EZ
111812011-09-29 Eli Zaretskii <eliz@gnu.org>
11182
11183 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11184 window is hscrolled, move by logical lines. (Bug#9607)
11185 (line-move-visual): Update the doc string to the above effect.
11186
b5516bbd
MR
111872011-09-29 Martin Rudalics <rudalics@gmx.at>
11188
ccee00c0
MR
11189 * window.el (display-buffer-record-window): When WINDOW is the
11190 selected window use `point' instead of `window-point'. (Bug#9626)
11191
b5516bbd
MR
11192 * startup.el (command-line-1): Use insert-before-markers when
11193 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11194
b5516bbd
MR
11195 * help.el (help-window): Remove variable.
11196
52aa0014
GM
111972011-09-29 Glenn Morris <rgm@gnu.org>
11198
11199 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11200
df9a7357
JB
112012011-09-29 Juanma Barranquero <lekktu@gmail.com>
11202
11203 * descr-text.el (describe-char-categories): Accept category
11204 descriptions more than one line long.
11205
a8406c20
SM
112062011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11207
88d9610c
SM
11208 * simple.el (delete-trailing-whitespace): Fix last change.
11209
a5daf810
SM
11210 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11211 Don't confuse "y => 3" as the beginning of a `y' operation.
11212
a8406c20
SM
11213 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11214 object has more than 4 slots (bug#9613).
11215
a239d4e9
JB
112162011-09-28 Juanma Barranquero <lekktu@gmail.com>
11217
11218 * subr.el (with-output-to-temp-buffer):
11219 * net/quickurl.el (quickurl, quickurl-browse-url):
11220 Fix typos in docstrings.
11221
693fbdb6
EZ
112222011-09-27 Eli Zaretskii <eliz@gnu.org>
11223
11224 * minibuffer.el (completion-styles)
11225 (completion-category-overrides): Cross reference each other in doc
11226 strings.
11227
8b457e28
GM
112282011-09-27 Glenn Morris <rgm@gnu.org>
11229
11230 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11231 to split-string. (Bug#9606)
11232
85a16208
LMI
112332011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11234
11235 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11236 (bug#9615).
11237
502f9ebd
CY
112382011-09-27 Chong Yidong <cyd@stupidchicken.com>
11239
11240 * emacs-lisp/package.el (list-packages): Fix echo area message.
11241
7690bdea
LL
112422011-09-27 Leo Liu <sdl.web@gmail.com>
11243
11244 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11245
e2ee6f30
MA
112462011-09-25 Michael Albinus <michael.albinus@gmx.de>
11247
11248 * net/dbus.el (dbus-unregister-object): Don't release services for
11249 registered signals. (Bug#9581)
11250
f3f98342
TZ
112512011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11252
11253 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11254 function that picks between cfengine 2 and 3 support
11255 automatically. Update docs accordingly.
11256
dd7aa8dd
KH
112572011-09-22 Kenichi Handa <handa@m17n.org>
11258
11259 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11260 ZERO.
11261 (indian-itrans-v5-table-for-tamil): New variable.
11262 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11263
3f2b07f8
KM
112642011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11265
11266 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11267 that's true if the current command involved collapsing of text.
11268 It's reset to false at the beginning of the next command.
11269 (allout-post-command-business): Move the cursor to the beginning
11270 of entry if the cursor is hidden and collapsing activity just
11271 happened.
11272
371d6a61
CY
112732011-09-24 Chong Yidong <cyd@stupidchicken.com>
11274
11275 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11276 tracking (Bug#9541).
11277
2ac2721a
UJ
112782011-09-24 Ulf Jasper <ulf.jasper@web.de>
11279
11280 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11281 (newsticker-show-news): Automatically load html rendering package
11282 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11283 because w3m-fill-column is let-bound" and the error "Symbol's value
11284 as variable is void: w3m-fill-column".
2ac2721a 11285
fac7ae53
MA
112862011-09-24 Michael Albinus <michael.albinus@gmx.de>
11287
11288 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11289 Release services only if they are defined. (Bug#9581)
11290
e08b633b
RS
112912011-09-23 Richard Stallman <rms@gnu.org>
11292
e488d29c
RS
11293 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11294 distinguish start of paragraph from start of its text.
11295
19c38752
RS
11296 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11297
e08b633b
RS
11298 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11299 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11300 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11301
0a39f27e
AS
113022011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11303
11304 * international/mule-diag.el (mule-diag): Insert a newline after
11305 each fontset description.
11306
db4e950d
SM
113072011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11308
11309 * simple.el (delete-trailing-whitespace):
11310 Document last change; simplify.
11311
eca3f3ea
PW
113122011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11313
d68e189a
PW
11314 * simple.el (delete-trailing-whitespace): Also delete
11315 extra newlines at the end of the buffer.
11316
eca3f3ea
PW
11317 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11318 (picture-newline): Use forward-line so as to ignore fields.
11319
01c157cc
SM
113202011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * subr.el (with-wrapper-hook): Fix edebug spec.
11323
022de23e
LMI
113242011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11325
11326 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11327 (bug#4538).
11328
91683089
MA
113292011-09-23 Michael Albinus <michael.albinus@gmx.de>
11330
eca3f3ea
PW
11331 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11332 Fix nasty bug using wrong cached values.
91683089 11333
5bdd6fa4
AM
113342011-09-23 Alan Mackenzie <acm@muc.de>
11335
11336 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11337
97adfb97
CY
113382011-09-23 Chong Yidong <cyd@stupidchicken.com>
11339
11340 * window.el (pop-to-buffer): Ensure right window is selected if we
11341 chose another frame.
11342
d4ef2b50
EZ
113432011-09-22 Eli Zaretskii <eliz@gnu.org>
11344
11345 * simple.el (what-cursor-position): Use get-char-property-change
11346 and next-single-char-property-change, to be able to show display
11347 properties that come from overlays as well as text properties.
11348
72258fe5
CY
113492011-09-22 Chong Yidong <cyd@stupidchicken.com>
11350
11351 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11352
11353 * cmuscheme.el (run-scheme, switch-to-scheme):
11354 * cus-edit.el (customize-group, custom-buffer-create)
11355 (customize-browse):
11356 * info.el (info):
11357 * shell.el (shell):
11358 * mail/sendmail.el (mail):
11359 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11360
8f098516
RS
113612011-09-22 Richard Stallman <rms@gnu.org>
11362
11363 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11364 move back only to line beg, don't move back over blank lines.
11365
e74f1bb6
MA
113662011-09-22 Michael Albinus <michael.albinus@gmx.de>
11367
11368 * files.el (copy-directory): Set directory attributes only in case
11369 they could be retrieved from the source directory. (Bug#9565)
11370
bfeef8b6
DK
113712011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11372
11373 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11374 (hs-find-block-beginning, hs-hide-level-recursive):
11375 Ignore strings as well as comments. (Bug#9502)
11376
7e423bb8
AS
113772011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11378
11379 * progmodes/sql.el (sql-comint-postgres):
11380 Convert port number to a string. (Bug#9566)
11381
b4d72fcf
MR
113822011-09-22 Martin Rudalics <rudalics@gmx.at>
11383
11384 * window.el (quit-window): Undedicate window when switching to
11385 previous buffer. Reported by Thierry Volpiatto
11386 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11387 (special-display-popup-frame): When popping up a new frame reset
11388 its previous buffers to nil. Simplify code.
b4d72fcf 11389
a7b88dc6
MA
113902011-09-21 Michael Albinus <michael.albinus@gmx.de>
11391
11392 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11393 and process filter, as done also in `shell-command'.
11394
cf4eacfd
MR
113952011-09-21 Martin Rudalics <rudalics@gmx.at>
11396
eca3f3ea 11397 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11398 Call set-window-start with NOFORCE argument t.
11399 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11400 (quit-window): Reword doc-string. Handle new format of
11401 quit-restore parameter. Don't delete window if it has a
11402 previous buffer we can show instead of the present one.
11403 (display-buffer-record-window): Rewrite using a new format for
11404 the quit-restore window parameter
11405 (special-display-popup-frame, display-buffer-same-window)
11406 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11407 (display-buffer-pop-up-window, display-buffer-use-some-window):
11408 Adapt symbol passed to display-buffer-record-window.
11409 * help.el (help-window-setup): Handle new format of quit-restore
11410 parameter.
11411
8d28cb95
SM
114122011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11413
94ab793f
SM
11414 * faces.el (face-list): Fix docstring (bug#9564).
11415
8d28cb95
SM
11416 * window.el (display-buffer--action-function-custom-type):
11417 Don't include internal functions in the Custom interface.
11418
3820edeb
JL
114192011-09-20 Juri Linkov <juri@jurta.org>
11420
11421 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11422 (Info-forward-node, Info-backward-node, Info-next-preorder)
11423 (Info-last-preorder): Use it. (Bug#9528)
11424
5147931d
JL
114252011-09-20 Juri Linkov <juri@jurta.org>
11426
11427 * info.el (Info-last-preorder): Visit last menu item only when
11428 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11429
cf499a1a
JD
114302011-09-20 Julien Danjou <julien@danjou.info>
11431
11432 * password-cache.el (password-cache-remove): Remove entries even if the
11433 value is nil, so that password with a nil value (negative caching) is
11434 possible to invalidate.
11435
f84e2fe2
LM
114362011-09-20 Lawrence Mitchell <wence@gmx.li>
11437
11438 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11439 all whitespace around breakpoint. (Bug#9553)
11440 (f90-find-breakpoint): Only break at whitespace inside a comment.
11441
78054a46
SM
114422011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 * minibuffer.el (completion-file-name-table): Keep track of errors.
11445 (completion-table-with-predicate): Handle the case where pred1 is nil.
11446 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11447
345083b2
SM
114482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11449
e24e27be
SM
11450 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11451 (debugger-return-value): Signal an error if the debugging context does
11452 not await any return value.
11453
345083b2
SM
11454 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11455 * image-mode.el (image-toggle-display-text)
11456 (image-toggle-display-image): Stay away from evil `intangible'.
11457
08d355e3
LL
114582011-09-19 Leo Liu <sdl.web@gmail.com>
11459
11460 * replace.el (occur-revert-arguments): Make it permanent-local.
11461 (occur-mode): Don't call font-lock-defontify.
11462
f01da43f
CY
114632011-09-19 Chong Yidong <cyd@stupidchicken.com>
11464
11465 * net/ldap.el (ldap-search-internal): Don't push empty search
11466 result (Bug#9508).
11467
b6072fa6
SM
114682011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11471
443d6696
MA
114722011-09-19 Michael Albinus <michael.albinus@gmx.de>
11473
11474 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11475 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11476
7cc6e154
JL
114772011-09-18 Juri Linkov <juri@jurta.org>
11478
11479 * buff-menu.el (Buffer-menu-mode-map):
11480 * dired.el (dired-mode-map):
11481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11482 (lisp-interaction-mode-map):
11483 * emacs-lisp/package.el (package-menu-mode-map):
11484 * epa.el (epa-key-list-mode-map):
11485 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11486 (menu-bar-options-menu):
11487 * outline.el (outline-mode-menu-bar-map):
11488 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11489 * vc/vc-dir.el (vc-dir-menu-map):
11490 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11491 Capitalize non-function content words in menu item strings.
11492
11493 * dired.el (dired-mode-map): Add menu item for
11494 `image-dired-dired-toggle-marked-thumbs'.
11495
80302a81
JL
114962011-09-18 Juri Linkov <juri@jurta.org>
11497
11498 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11499 to `isearch-case-fold-search' and restore its original value
11500 after the `isearch-mode' call.
11501
46c5cf66
JL
115022011-09-18 Juri Linkov <juri@jurta.org>
11503
11504 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11505 because `zgrep' returns 1 for successful matches (bug#9226).
11506
d18b513b
JL
115072011-09-18 Juri Linkov <juri@jurta.org>
11508
11509 * info.el (Info-extract-menu-node-name): Check the second match
11510 for empty string (second test-case of bug#9528).
11511 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11512 intermediate nodes to the history (first test-case of bug#9528).
11513
72753f87
JL
115142011-09-18 Juri Linkov <juri@jurta.org>
11515
11516 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11517 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11518
c9384295
JL
115192011-09-18 Juri Linkov <juri@jurta.org>
11520
1154d12e
JB
11521 * info.el (Info-file-supports-index-cookies):
11522 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11523 outputs one more line for long file names (bug#4142).
c9384295 11524
d473dce8
CY
115252011-09-18 Chong Yidong <cyd@stupidchicken.com>
11526
11527 * newcomment.el (comment-normalize-vars): If prompting for
11528 comment-start, set comment-start-skip too (Bug#8424).
11529
2176854d
JB
115302011-09-18 Johan Bockgård <bojohan@gnu.org>
11531
11532 * icomplete.el: Fix previous fix of Bug#5849.
11533 (icomplete-mode): Don't set completion-show-inline-help.
11534 (icomplete-minibuffer-setup): Set completion-show-inline-help
11535 locally during icompletion.
11536
3aace4e4
CY
115372011-09-18 Chong Yidong <cyd@stupidchicken.com>
11538
c940224f
CY
11539 * woman.el (woman2-process-escapes): Don't delete unrecognized
11540 escapes (Bug#7843).
11541
3aace4e4
CY
11542 * files.el (inhibit-first-line-modes-regexps): Add image files.
11543 (hack-local-variables-prop-line): Return nil for malformed
11544 prop-lines (Bug#9044).
11545
710dec63
MA
115462011-09-18 Michael Albinus <michael.albinus@gmx.de>
11547
11548 * net/tramp.el (top): Don't require 'shell.
11549 (tramp-methods): Fix docstring.
11550 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11551 Return complete remote file name. Handle "smb" case.
11552 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11553 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11554
11555 * net/tramp-compat.el (top): Require 'shell.
11556
11557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11558 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11559 `tramp-current-host'.
11560 (tramp-get-remote-tmpdir): Remove.
11561
11562 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11563 `tramp-tmpdir' entries.
11564 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11565 (tramp-smb-handle-file-attributes): Ignore errors.
11566 (tramp-smb-wait-for-output): Check also for process end.
11567
5d5ac8ec
LMI
115682011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11569
11570 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11571 when sending QUIT (bug#9312).
11572
8c0f49f0
CY
115732011-09-17 Chong Yidong <cyd@stupidchicken.com>
11574
11575 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11576 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11577 occur-mode-display-occurrence.
11578 (occur-edit-mode): Add usage message.
11579 (occur-cease-edit): New command.
11580 (occur-after-change-function): Use text properties to find the
11581 position of the prefix text.
11582 (occur-engine): Set stickiness of prefix text properties.
11583
8f1383f7
GM
115842011-09-17 Glenn Morris <rgm@gnu.org>
11585
11586 * progmodes/etags.el (complete-tag):
11587 Fix call to completion-in-region. (Bug#9526)
11588
744ba0e3
JL
115892011-09-17 Juri Linkov <juri@jurta.org>
11590
11591 * textmodes/ispell.el (ispell-word): Add to the error message
11592 the word, ispell program name and current dictionary (bug#9121).
11593 (ispell-tex-arg-end): Capitalize "error" in the error message.
11594
d9bbf400
AS
115952011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11596
11597 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11598 check. (Bug#4251)
11599
8da11505
JL
116002011-09-17 Juri Linkov <juri@jurta.org>
11601
11602 * window.el (window-safe-min-height, window-safe-min-width):
11603 Fix typos (followup to bug#9522).
11604
a91adc7e
SJ
116052011-09-17 Sven Joachim <svenjoac@gmx.de>
11606
11607 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11608
064f328a
EZ
116092011-09-16 Eli Zaretskii <eliz@gnu.org>
11610
11611 * simple.el (line-move): If goal-column is set, move by logical
11612 lines, not by display lines. (Bug#971)
11613 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11614 to reflect the above change.
11615
e69df516
SM
116162011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11617
11618 * image.el (imagemagick-register-types): Use regexp-opt.
11619
cbb0f9ab
CY
116202011-09-15 Chong Yidong <cyd@stupidchicken.com>
11621
11622 * window.el (display-buffer-base-action): Rename from
11623 display-buffer-default-action. Make default value empty.
11624 (display-buffer-overriding-action): Convert to defvar.
11625 (display-buffer-fallback-action): New var.
11626
25322144
CY
116272011-09-15 Chong Yidong <cyd@stupidchicken.com>
11628
11629 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11630 declaration.
11631 (package--add-to-archive-contents): If there is a duplicate entry
11632 with an older version, remove it.
11633 (package-menu-mark-delete, package-menu-mark-install)
11634 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11635 (package-menu-mark-obsolete-for-deletion):
11636 Use package-menu-get-status instead of a regexp search.
25322144
CY
11637 (package-menu-get-status): Use tabulated-list-entry.
11638 (package-menu-mark-upgrades): New command.
d770725a 11639 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11640 (package-menu-execute): Do installation before deletion.
11641 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11642 instead of checking major-mode.
11643 (package-menu--find-upgrades): New function.
11644
7520339c
LMI
116452011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11646
11647 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11648 passwords in the log buffer.
65a046c4
LMI
11649 (smtpmail-process-filter): Update the process marker so that the
11650 "broken by peer" status message is inserted in the right place.
7520339c 11651
d3c30954
SM
116522011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11653
3fe48822
SM
11654 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11655 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11656 bibtex-completion-at-point-function.
11657 (bibtex-completion-at-point-function): Use them.
11658
1b8b3954
SM
11659 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11660
d3c30954
SM
11661 * mpc.el (mpc-constraints-tag-lookup): New function.
11662 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11663 also to browser "album|playlist".
11664
72779976
JL
116652011-09-14 Juri Linkov <juri@jurta.org>
11666
11667 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11668 (isearch-edit-string): Use length of `isearch-string' when
11669 `isearch-fail-pos' returns nil.
11670 (isearch-message): Remove duplicate code and call
11671 `isearch-fail-pos' with arg `t'.
11672
a0bf2bcd
CY
116732011-09-14 Chong Yidong <cyd@stupidchicken.com>
11674
17bb0a2d
CY
11675 * replace.el (occur-mode-goto-occurrence): Don't force using other
11676 window (Bug#9499).
11677
a0bf2bcd
CY
11678 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11679
f678e0b6
MR
116802011-09-14 Martin Rudalics <rudalics@gmx.at>
11681
11682 * window.el (display-buffer-window): Remove.
11683 (display-buffer-record-window): Use help-setup window parameter
11684 instead of variable display-buffer-window.
11685 (display-buffer-function, special-display-buffer-names)
11686 (special-display-function): Mention help-setup parameter instead
11687 of display-buffer-window in doc-string.
d3c30954
SM
11688 * help.el (help-window-setup): New argument help-window.
11689 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11690 Reword some messages.
11691 (with-help-window): Pass window used for displaying the buffer
11692 to help-window-setup. Don't set display-buffer-window.
11693
8e39b2e8
GM
116942011-09-13 Glenn Morris <rgm@gnu.org>
11695
11696 * emacs-lisp/debug.el (debugger-make-xrefs):
11697 Preserve point. (Bug#9462)
11698
85e9c04b
CY
116992011-09-13 Chong Yidong <cyd@stupidchicken.com>
11700
11701 * window.el (window-deletable-p): Use next-frame.
11702
1b36ed6a
MR
117032011-09-13 Martin Rudalics <rudalics@gmx.at>
11704
11705 * window.el (window-auto-delete): Remove.
11706 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11707 dedication and previous buffers.
1b36ed6a
MR
11708 (switch-to-prev-buffer): Don't delete window.
11709 (delete-windows-on): Delete a window's frame if and only if the
11710 window is dedicated.
11711 (replace-buffer-in-windows): Delete buffer's window or frame if
11712 and only if window is dedicated.
11713 (quit-window): Handle quit-restore as before last change.
4d61f28d 11714 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11715
ef8ef9fb
CY
117162011-09-13 Chong Yidong <cyd@stupidchicken.com>
11717
11718 * window.el (window-deletable-p): Never delete the last frame on a
11719 given terminal.
11720
b2cba41e
GM
117212011-09-13 Glenn Morris <rgm@gnu.org>
11722
11723 * help.el (describe-key-briefly): Copy previous standard-output change.
11724
51553db6 117252011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11726
11727 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11728
b7556719
GM
117292011-09-13 Glenn Morris <rgm@gnu.org>
11730
11731 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11732 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11733
64b51947
CY
117342011-09-12 Chong Yidong <cyd@stupidchicken.com>
11735
11736 * dired-aux.el (dired-mark-read-string): Don't return default
11737 value on empty input (Bug#9361).
11738 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11739 Omit initial minibuffer contents.
11740 (dired-do-chmod): Signal an error on empty input.
11741 (dired-mark-read-string): Don't return default on empty input.
11742
11743 * files.el (file-modes-symbolic-to-number): Doc fix.
11744
393a301e
SM
117452011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * international/mule-cmds.el (ucs-completions): Remove.
11748 (read-char-by-name): Use complete-with-action instead; add metadata.
11749
fa5660f9
CY
117502011-09-11 Chong Yidong <cyd@stupidchicken.com>
11751
11752 * window.el (display-buffer--action-function-custom-type)
11753 (display-buffer--action-custom-type): New vars.
11754 (display-buffer-alist, display-buffer-default-action)
11755 (display-buffer-overriding-action): Add defcustom types.
11756
4a592f66
CY
11757 * frame.el (delete-other-frames): Doc fix (Bug#276).
11758
73d56dbd
LMI
117592011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11760
11761 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11762
37ac18a3
CY
117632011-09-11 Chong Yidong <cyd@stupidchicken.com>
11764
11765 Change modes that used same-window-* vars to use switch-to-buffer.
11766
11767 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11768 Use switch-to-buffer.
11769
11770 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11771 (customize-browse, custom-buffer-create-other-window):
11772 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11773
11774 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11775 (Info-prev, Info-up, Info-speedbar-goto-node)
11776 (info-display-manual): Use switch-to-buffer.
11777 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11778
11779 * mail/sendmail.el (mail): Use switch-to-buffer.
11780 (mail-recover): Use switch-to-buffer-other-window.
11781
11782 * cmuscheme.el (run-scheme, switch-to-scheme):
11783 * ielm.el (ielm):
11784 * shell.el (shell):
11785 * net/rlogin.el (rlogin):
11786 * net/telnet.el (telnet, rsh):
11787 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11788
10195bd6
AS
117892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11790
11791 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11792
b322f63a
LMI
117932011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11794
39d7fed6
LMI
11795 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11796 so don't mention it (bug#9301).
ba5a81f1 11797 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11798
ee0e9f11
LMI
11799 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11800 match `x', `w32' and `ns', like the manual says (bug#9029).
11801
0b1c89c1 11802 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11803 (process-kill-buffer-query-function): Mention the buffer name in
11804 the query.
0b1c89c1 11805
77549ea8
LMI
11806 * image-mode.el (image-next-line): The line parameter is mandatory
11807 (bug#9258).
11808
803ef892
LMI
11809 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11810 which can be useful (bug#9301).
11811
12980837
LMI
11812 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11813
91054f8f
LMI
11814 * subr.el (match-string): Mention that the current buffer should
11815 be the same as the search was done in (bug#9282).
11816
b322f63a
LMI
11817 * facemenu.el: Disable the remove-* commands if the mark isn't
11818 active (bug#9162).
11819
3199b96f
CY
118202011-09-10 Chong Yidong <cyd@stupidchicken.com>
11821
11822 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11823 of display-buffer.
11824 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11825
11826 * replace.el (occur-mode-goto-occurrence)
11827 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11828 and display-buffer.
11829
11830 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11831 display-buffer.
11832
11833 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11834 special-display and same-window variables.
11835 (mail-other-window): Use switch-to-buffer-other-window.
11836 (mail-other-frame): USe switch-to-buffer-other-frame.
11837
393a301e
SM
11838 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11839 Use display-buffer-other-frame.
3199b96f
CY
11840 (gdb-display-gdb-buffer): Use pop-to-buffer.
11841
11842 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11843
11844 * progmodes/python.el: Don't set same-window-buffer-names.
11845
11846 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11847
11848 * window.el (display-buffer-alist): Add *Python*.
11849
8319e0bf
CY
118502011-09-10 Chong Yidong <cyd@stupidchicken.com>
11851
11852 * window.el (display-buffer-alist): Add entry for buffers
11853 previously handled same-window-*.
11854 (display-buffer-alist, display-buffer-default-action)
11855 (display-buffer-overriding-action): Mark as risky.
11856 (display-buffer-alist): Document action function changes.
11857 (display-buffer--same-window-action)
11858 (display-buffer--other-frame-action): New variables.
11859 (switch-to-buffer, display-buffer-other-frame): Use them.
11860 (display-buffer): Rename reuse-frame entry to reusable-frames.
11861 (display-buffer-reuse-selected-window): Function deleted.
11862 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11863 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11864 (display-buffer-special): New function.
11865 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11866 display-buffer-reuse-or-pop-window. Split off special-display
11867 part into display-buffer-special.
11868 (display-buffer-use-some-window): Don't perform any special
11869 pop-up-frames handling.
11870 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11871 (display-buffer--maybe-same-window): Rename from
0d3ff375 11872 display-buffer-maybe-same-window.
8319e0bf 11873
919a69aa
CY
11874 * info.el: Don't set same-window-regexps.
11875 (info-setup): New function.
11876 (info-other-window, info): Call it.
11877
11878 * cus-edit.el: Don't set same-window-regexps.
11879 (customize-group): New argument.
11880 (customize-group-other-window): Use it.
11881 (customize-face, customize-face-other-window): Likewise.
11882 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11883
8319e0bf
CY
11884 * net/rlogin.el:
11885 * net/telnet.el:
11886 * progmodes/gud.el: Don't set same-window-regexps.
11887
11888 * cmuscheme.el:
11889 * ielm.el:
11890 * shell.el:
11891 * mail/sendmail.el:
11892 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11893
25173000
JL
118942011-09-10 Juri Linkov <juri@jurta.org>
11895
11896 * isearch.el (isearch-edit-string): Remove obsolete mention of
11897 `C-w' (`isearch-yank-word-or-char') from docstring.
11898 (isearch-query-replace): Fix typo in docstring (bug#9466).
11899
056e44ef
JL
119002011-09-10 Juri Linkov <juri@jurta.org>
11901
11902 * paren.el (show-paren-function): Don't show escaped parens.
11903 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11904
c3760c17
EZ
119052011-09-10 Eli Zaretskii <eliz@gnu.org>
11906
11907 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11908 (mm-default-file-encoding): Remove autoload forms, they are
11909 replaced with autoload cookies in mml.el and mm-encode.el.
11910 (mail-add-attachment): New command.
11911 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11912 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11913 the doc string.
11914 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11915
fece895e
RT
119162011-09-10 Reuben Thomas <rrt@sc3d.org>
11917
e69df516
SM
11918 * simple.el (count-words-region): Use buffer if there's no region
11919 (bug#9429).
fece895e 11920
5e68ce4a
JL
119212011-09-09 Juri Linkov <juri@jurta.org>
11922
11923 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11924 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11925 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11926
0a6b9622
AM
119272011-09-09 Alan Mackenzie <acm@muc.de>
11928
11929 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11930 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11931
14a29deb
EZ
119322011-09-09 Eli Zaretskii <eliz@gnu.org>
11933
11934 Fix for Savannah bug#9392.
11935 * simple.el (mail-encode-mml): New defvar.
11936
11937 * mail/rmail.el (mail-encode-mml): Add a defvar.
11938 (rmail-enable-mime-composing): Default to t.
11939 (rmail-forward): Use MIME method of forwarding only if both
11940 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11941 Set mail-encode-mml non-nil if the MIME method was used.
11942
11943 * mail/sendmail.el (mml-to-mime): Add autoload form.
11944 (mail-encode-mml): Add a defvar.
11945 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11946 to nil.
11947 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11948 message through mml-to-mime, and reset mail-encode-mml to nil.
11949
28c45130
GM
119502011-09-09 Glenn Morris <rgm@gnu.org>
11951
11952 * woman.el (woman-if-body): When processing an .el block,
11953 do not delete the next .el block as well. (Bug#9447)
69f4b618 11954 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11955
9b1c252e
MR
119562011-09-08 Martin Rudalics <rudalics@gmx.at>
11957
11958 * window.el (window-deletable-p): Make sure window is live before
11959 invoking window-prev-buffers.
11960
567457e3
LL
119612011-09-08 Leo Liu <sdl.web@gmail.com>
11962
11963 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11964
97f05794
JL
119652011-09-08 Juri Linkov <juri@jurta.org>
11966
11967 * progmodes/compile.el (compilation-environment): Make it
11968 a defcustom (bug#8340).
11969
8b0874b5
MR
119702011-09-08 Martin Rudalics <rudalics@gmx.at>
11971
11972 * window.el (frame-auto-delete): Rename to window-auto-delete.
11973 Make it control auto-deletion of windows and/or frames.
11974 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11975 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11976 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11977 Rewrite handling of case when window/frame can be deleted.
11978 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11979 argument t. (Bug#9456)
8b0874b5 11980
4feb6e73
CY
119812011-09-07 Chong Yidong <cyd@stupidchicken.com>
11982
11983 * help-mode.el (help-mode): Restore autoload.
11984
91ab9c13
JL
119852011-09-07 Juri Linkov <juri@jurta.org>
11986
11987 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11988 `compilation-environment'. Set buffer-local
11989 `compilation-environment' to `thisenv' later after (funcall mode).
11990 (Bug#8340)
11991
11992 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11993 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11994 instead of replacing its value. (Bug#8340)
11995
0527e251
JL
119962011-09-07 Juri Linkov <juri@jurta.org>
11997
11998 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11999 based on text properties put by `grep-filter' instead of matching
12000 escape sequences.
12001 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12002 to the value of `grep-error-screen-columns' (bug#9438).
12003
249f792c
JL
120042011-09-07 Juri Linkov <juri@jurta.org>
12005
12006 * simple.el (next-error-highlight, next-error-highlight-no-select):
12007 Doc fix (bug#9432).
12008
ff7271b9
OT
120092011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12010
12011 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12012 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12013
183fc730
LL
120142011-09-07 Leo Liu <sdl.web@gmail.com>
12015
12016 * net/rcirc.el (rcirc-mode): Conditionally initialize
12017 rcirc-input-ring.
12018
77694924
SM
120192011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * emacs-lisp/find-func.el (find-function-C-source): Only set
12022 find-function-C-source-directory after checking that we found a source
12023 file there (bug#9440).
12024
d809b8eb
AM
120252011-09-06 Alan Mackenzie <acm@muc.de>
12026
12027 * isearch.el (isearch-other-meta-char): Wherever a key list is
12028 unread, "unread" the prefix arg, too. This fixes bug #8901.
12029
453de99f
OG
120302011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12031
12032 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12033
90439906
JL
120342011-09-05 Juri Linkov <juri@jurta.org>
12035
12036 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12037
f62bd846
JL
120382011-09-05 Juri Linkov <juri@jurta.org>
12039
12040 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12041 keeping point where processing of grep matches begins, and
12042 continue to delete remaining escape sequences from the same point.
12043 (grep-filter): Make leading zero optional in "0?1;31m" because
12044 git-grep emits "\033[1;31m" escape sequences unlike expected
12045 "\033[01;31m" as GNU Grep does (bug#9408).
12046 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12047
045820ec
JL
120482011-09-05 Juri Linkov <juri@jurta.org>
12049
12050 * subr.el (y-or-n-p): Capitalize "yes".
12051
f5e29b9b
MA
120522011-09-04 Michael Albinus <michael.albinus@gmx.de>
12053
12054 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12055 `tramp-cache-unload-hook' where appropriate.
12056 (tramp-methods): Rename `tramp-remote-sh' to
12057 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12058 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12059
12060 * net/tramp-sh.el (top): Don't require 'shell.
12061 (tramp-methods): Add `tramp-remote-shell' and
12062 `tramp-remote-shell-args' entries.
12063 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12064 (tramp-sh-handle-shell-command): Remove.
12065 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12066 Use `tramp-remote-shell'.
12067
2784c434
CY
120682011-09-03 Chong Yidong <cyd@stupidchicken.com>
12069
393a301e 12070 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12071 (sendmail-query-once): Save directly to send-mail-function.
12072 Update message-send-mail-function too.
12073
12074 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12075
464cdf56
CS
120762011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12077
12078 * progmodes/python.el (python-mode-map): Use correct function to
12079 start python interpreter from menu-bar (as reported by Geert
12080 Kloosterman).
12081 (inferior-python-mode-map): Fix typo.
393a301e 12082 (python-shell-map): Remove.
464cdf56 12083
d37e5c87
DD
120842011-09-03 Deniz Dogan <deniz@dogan.se>
12085
12086 * net/rcirc.el (rcirc-print): Simplify code for
12087 rcirc-scroll-show-maximum-output. There is no need to walk
12088 through all windows to find the right one.
12089
f3ada0ee
CS
120902011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12091
12092 * help.el (help-return-method): Doc fix.
12093
1f3c99ca
MR
120942011-09-03 Martin Rudalics <rudalics@gmx.at>
12095
12096 * window.el (window-deletable-p): Don't return a non-nil value
12097 when there's a buffer that was shown in the window before.
12098 (Bug#9419)
393a301e
SM
12099 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12100 Set window's previous buffers to nil.
1f3c99ca 12101
a3cf097f
EZ
121022011-09-03 Eli Zaretskii <eliz@gnu.org>
12103
12104 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12105 newline before and after the tag line, so it doesn't interfere
12106 with determining the paragraph direction of bidirectional text.
12107
3d03de90
LL
121082011-09-03 Leo Liu <sdl.web@gmail.com>
12109
12110 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12111
c3313451
CY
121122011-09-02 Chong Yidong <cyd@stupidchicken.com>
12113
393a301e 12114 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12115 (pop-to-buffer): Change interactive spec. Pass second argument
12116 directly to display-buffer.
12117 (display-buffer): Fix interactive spec. Use functionp to
12118 distinguish between a function and a list of functions.
12119
12120 * abbrev.el (edit-abbrevs):
12121 * arc-mode.el (archive-extract):
12122 * autoinsert.el (auto-insert):
12123 * bookmark.el (bookmark-bmenu-list):
12124 * files.el (find-file):
12125 * view.el (view-buffer):
12126 * progmodes/compile.el (compilation-goto-locus):
12127 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12128
89894cd8
CY
121292011-09-02 Chong Yidong <cyd@stupidchicken.com>
12130
12131 * window.el (display-buffer-alist): Doc fix.
12132 (display-buffer): Add docstring. Don't treat
12133 display-buffer-default specially.
12134 (display-buffer-reuse-selected-window)
12135 (display-buffer-same-window, display-buffer-maybe-same-window)
12136 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12137 (display-buffer-pop-up-window)
12138 (display-buffer-reuse-or-pop-window)
12139 (display-buffer-use-some-window): New functions.
12140 (display-buffer-default-action): Use them.
393a301e 12141 (display-buffer-default): Delete.
89894cd8
CY
12142 (pop-to-buffer-1): Fix choice of actions.
12143
ae0bc9fb
SM
121442011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * minibuffer.el (completion--insert-strings): Don't get confused by
12147 completion entries that end with an LF char.
12148
e9d90883
EZ
121492011-09-01 Eli Zaretskii <eliz@gnu.org>
12150
12151 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12152
437014c8
CY
121532011-09-01 Chong Yidong <cyd@stupidchicken.com>
12154
12155 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12156 (display-buffer-same-window, display-buffer-other-window):
12157 New functions.
437014c8
CY
12158 (pop-to-buffer-1): New function. Use the above.
12159 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12160 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12161
12162 * view.el (view-buffer-other-window, view-buffer-other-frame):
12163 Just use pop-to-buffer.
12164
a5e063d5
TV
121652011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12166
12167 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12168
793d32bb
WH
121692011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12170
12171 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12172
d65e4c15
RS
121732011-08-31 Richard Stallman <rms@gnu.org>
12174
12175 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12176 of the separation of rmail-view-buffer from rmail-buffer.
12177 If you say no to "replace original", the decrypt is in the
12178 view buffer. If you say yes, the decrypt goes into the
12179 rmail buffer also.
12180
f818cd2a
MR
121812011-08-31 Martin Rudalics <rudalics@gmx.at>
12182
12183 * window.el (display-buffer-window): Rewrite doc-string.
12184 (display-buffer-record-window): New function.
12185 (display-buffer-macro-specifiers)
12186 (display-buffer-even-window-sizes, display-buffer-set-height)
12187 (display-buffer-set-width, display-buffer-in-window)
12188 (display-buffer-reuse-window, display-buffer-split-specifiers)
12189 (display-buffer-side-specifiers, display-buffer-split-window-1)
12190 (display-buffer-split-window, display-buffer-split-atom-window)
12191 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12192 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12193 (display-buffer-other-window-means-other-frame)
12194 (display-buffer-normalize-special)
12195 (display-buffer-normalize-default)
12196 (display-buffer-normalize-argument)
12197 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12198 (display-buffer-normalize-specifiers, display-buffer-frame)
12199 (display-buffer-same-window, display-buffer-same-frame)
12200 (display-buffer-other-window)
12201 (display-buffer-same-frame-other-window)
12202 (display-buffer-other-frame, pop-to-buffer-same-window)
12203 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12204 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12205 (switch-to-buffer-same-frame)
12206 (switch-to-buffer-other-window-same-frame)
12207 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12208 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12209 (display-buffer-alist-set): Remove.
12210 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12211 (special-display-regexps, special-display-function):
12212 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12213 parameter.
12214 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12215 (special-display-frame-alist, special-display-popup-frame)
12216 (same-window-buffer-names, same-window-regexps, same-window-p)
12217 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12218 (split-window-preferred-function, split-height-threshold)
12219 (split-width-threshold, window-splittable-p)
12220 (split-window-sensibly, window--try-to-split-window)
12221 (window--frame-usable-p, even-window-heights)
12222 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12223 (window--display-buffer-2, display-buffer-other-frame):
12224 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12225 (display-buffer-default, display-buffer-assq-regexp): New functions.
12226 (display-buffer-alist): Rewrite doc-string.
12227 (display-buffer-default-action)
12228 (display-buffer-overriding-action): New variables.
12229 (display-buffer, switch-to-buffer): Rewrite.
12230 (pop-to-buffer): Restore Emacs 23 behavior but use
12231 window-normalize-buffer-to-display.
12232 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12233 Restore Emacs 23 behavior but use
12234 window-normalize-buffer-to-switch-to.
12235 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12236 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12237 Rewrite using Emacs 23 options.
f818cd2a 12238
5bc3b51d
MA
122392011-08-31 Michael Albinus <michael.albinus@gmx.de>
12240
12241 * net/tramp.el (tramp-root-regexp): Remove.
12242 (tramp-completion-file-name-regexp-unified)
12243 (tramp-completion-file-name-regexp-separate)
12244 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12245 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12246 (tramp-drop-volume-letter): Simplify definition.
12247 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12248
b1a4f8e1
SM
122492011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12252 (bug#9356).
12253
5664fa7b
RT
122542011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12255
b1a4f8e1 12256 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12257
9a45d6c3
JL
122582011-08-29 Juri Linkov <juri@jurta.org>
12259
12260 * isearch.el (isearch-done): Don't display message "Mark saved"
12261 when arg `edit' is non-nil to prevent its flicker in the echo area.
12262
fb87e0fb
CY
122632011-08-28 Chong Yidong <cyd@stupidchicken.com>
12264
12265 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12266 obsolete packages for deletion.
12267
09ac1c2a
CS
122682011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12269
12270 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12271 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12272 view-mode from help-mode.
12273 (help-xref-override-view-map): Remove.
12274 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12275 view-mode is not used anymore.
12276
7a1ff57f
CY
122772011-08-28 Chong Yidong <cyd@stupidchicken.com>
12278
12279 * server.el (server-port): Doc fix.
12280
b9696605
CY
12281 * cus-theme.el (custom-theme-choose-mode): Inherit from
12282 special-mode (Bug#9124).
12283 (custom-theme-choose-mode-map): Add special-mode to parent.
12284
ef8cdf8c
AM
122852011-08-28 Alan Mackenzie <acm@muc.de>
12286
12287 * progmodes/cc-fonts.el
12288 (c-make-font-lock-BO-decl-search-function): New function.
12289 (c-basic-matchers-after - "Fontify the clauses after various
12290 keywords"): Extract the three keyword lists for the 3 erroneous
12291 constructs from the list of four, and use the new function above
12292 in place of an old one.
12293
27de4e20
DD
122942011-08-28 Deniz Dogan <deniz@dogan.se>
12295
12296 * net/rcirc.el (rcirc-insert-prev-input)
12297 (rcirc-insert-next-input): Remove unused argument.
12298
356a3681
SM
122992011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12302
3fc9b218
AM
123032011-08-27 Alan Mackenzie <acm@muc.de>
12304
12305 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12306 handle function pointer parameters properly.
12307
538a061c
MR
123082011-08-27 Martin Rudalics <rudalics@gmx.at>
12309
12310 * window.el (display-buffer-reuse-window): Fix case where
12311 selected window was reused with non-nil OTHER-WINDOW argument.
12312 (Bug#9381)
12313
35b1c40c
DD
123142011-08-27 Deniz Dogan <deniz@dogan.se>
12315
12316 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12317 oftc's NickServ messages.
12318
2f6a3e79
GM
123192011-08-27 Glenn Morris <rgm@gnu.org>
12320
12321 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12322
7254299e
CY
123232011-08-26 Chong Yidong <cyd@stupidchicken.com>
12324
12325 * emacs-lisp/package.el (package-install): Call package-initialize
12326 if called interactively.
12327
f8ccf167
LL
123282011-08-26 Leo Liu <sdl.web@gmail.com>
12329
12330 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12331
3e8cd5ce
JL
123322011-08-25 Juri Linkov <juri@jurta.org>
12333
12334 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12335 `search-whitespace-regexp' (bug#9364).
12336
93eb7113
JL
123372011-08-25 Juri Linkov <juri@jurta.org>
12338
12339 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12340 `regexp-search-ring' to their global values to protect from
12341 updating by `read-from-minibuffer' (bug#9185).
12342
f65d1611
JL
123432011-08-25 Juri Linkov <juri@jurta.org>
12344
12345 * textmodes/ispell.el (ispell-command-loop): Add newline
12346 at the end of the "Use option `i'..." line.
12347
f1cf7a31
JL
123482011-08-25 Juri Linkov <juri@jurta.org>
12349
12350 * battery.el (display-battery-mode): If `battery-status-function'
12351 or `battery-mode-line-format' is nil, display the message and set
12352 `display-battery-mode' to nil (bug#9363).
12353
0c95fcf7
EZ
123542011-08-25 Eli Zaretskii <eliz@gnu.org>
12355
12356 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12357 bidi-string-mark-left-to-right; they are unnecessary now.
12358
a2ebe600
DD
123592011-08-25 Deniz Dogan <deniz@dogan.se>
12360
12361 * net/quickurl.el: Documentation typo fixes.
12362
e4ed06f1
CY
123632011-08-25 Chong Yidong <cyd@stupidchicken.com>
12364
12365 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12366
e5f1c99e
GM
123672011-08-25 Glenn Morris <rgm@gnu.org>
12368
b2948976
GM
12369 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12370
e5f1c99e
GM
12371 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12372 (smtpmail-via-smtp): Handle nil response from smtp.
12373
f22f4808
JL
123742011-08-24 Juri Linkov <juri@jurta.org>
12375
12376 * proced.el (proced-marked): Inherit from `error' instead of
12377 `font-lock-warning-face'.
12378
12379 * ibuffer.el (ibuffer-marked-face): Change default face from
12380 `font-lock-warning-face' to `warning'.
12381 (ibuffer-deletion-face): Change default face from
12382 `font-lock-type-face' to `error'.
12383
12384 * battery.el (battery-update): Use the face `error' instead of
12385 `font-lock-warning-face' (bug#6117).
12386
6a93965e
JL
123872011-08-24 Juri Linkov <juri@jurta.org>
12388
12389 * faces.el (success): Change face color from "Green3" to
12390 "ForestGreen" on light background (bug#9353).
12391
1ed43b09
CY
123922011-08-24 Chong Yidong <cyd@stupidchicken.com>
12393
5664fa7b
RT
12394 * window.el (quit-window): Rename from quit-restore-window.
12395 Use same arglist as old quit-window.
1ed43b09
CY
12396 (frame-auto-delete): Doc fix.
12397
12398 * view.el (view-mode-exit): Use quit-window.
12399
11dcdbb2
JL
124002011-08-24 Juri Linkov <juri@jurta.org>
12401
12402 * isearch.el (isearch-ring-adjust1): Start visiting previous
12403 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12404 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12405 for empty search string (when the last search string is reused
12406 automatically) to adjust the isearch ring to the last element and
12407 prepare the correct index for further M-p commands (bug#9185).
12408
de62b4df
KH
124092011-08-24 Kenichi Handa <handa@m17n.org>
12410
12411 * international/ucs-normalize.el: If decomposition property of
12412 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12413 nil.
12414 (nfd, nfkd): Likewise.
12415
963b492b
SM
124162011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12417
12418 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12419 from process filters aren't reliably transmitted to the surrounding
12420 accept-process-output.
12421 (mpc-proc-check): New function.
12422 (mpc-proc-sync): Use it (bug#8293)
12423
93b6b5e1
SM
124242011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12427 Add compatibility functions (bug#9313).
12428
bca633fb
EZ
124292011-08-23 Eli Zaretskii <eliz@gnu.org>
12430
b177498a
EZ
12431 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12432
6df6ae42 12433 * international/uni-bidi.el: Regenerate.
bca633fb 12434
0902a04e
KH
124352011-08-23 Kenichi Handa <handa@m17n.org>
12436
12437 * international/charprop.el:
12438 * international/uni-bidi.el:
12439 * international/uni-category.el:
12440 * international/uni-combining.el:
12441 * international/uni-comment.el:
12442 * international/uni-decimal.el:
12443 * international/uni-decomposition.el:
12444 * international/uni-digit.el:
12445 * international/uni-lowercase.el:
12446 * international/uni-mirrored.el:
12447 * international/uni-name.el:
12448 * international/uni-numeric.el:
12449 * international/uni-old-name.el:
12450 * international/uni-titlecase.el:
12451 * international/uni-uppercase.el: Regenerate.
12452
3bbf23bc
MR
124532011-08-23 Martin Rudalics <rudalics@gmx.at>
12454
12455 * help.el (help-window-setup): Fix message displayed when other
12456 window is reused. (Bug#9341)
12457
b3fd59bd
SM
124582011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12459
1802e444
SM
12460 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12461 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12462
b3fd59bd
SM
12463 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12464 Mark obsolete.
12465 * shell.el (shell-parse-pcomplete-arguments): New function.
12466 (shell-completion-vars): Use it instead (bug#9160).
12467
4eb61348
SM
124682011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12469
867cab74
SM
12470 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12471 strings and comments (bug#9333).
12472
4eb61348
SM
12473 * emacs-lisp/debug.el (debug-arglist): New function.
12474 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12475 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12476
262a1439
JL
124772011-08-22 Juri Linkov <juri@jurta.org>
12478
56ee679c
JL
12479 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12480 Revert regexp that highlights output switches to its old
12481 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12482
262a1439
JL
12483 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12484 to check for empty output (bug#9226).
12485
f13f86fb
CY
124862011-08-22 Chong Yidong <cyd@stupidchicken.com>
12487
12488 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12489 symbol-constituent as the default, as that stops font-lock from
12490 working properly (Bug#8843).
12491
c65c9622
LMI
124922011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12493
12494 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12495 `coding-system-for-*' around the process open call to avoid
12496 auth-source side effects.
e7f2c178 12497 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12498 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12499 probe hangs.
c65c9622 12500
23a8a5ab
CY
125012011-08-21 Chong Yidong <cyd@stupidchicken.com>
12502
ff98b2dd
CY
12503 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12504
23a8a5ab
CY
12505 * emacs-lisp/find-func.el (find-function-noselect): New arg
12506 lisp-only.
12507
12508 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12509 signal an error for built-in functions (Bug#6664).
12510
f5e3c598
LMI
125112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12512
12513 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12514 (smtpmail-try-auth-methods): Use it.
12515
a3f2468a
CY
125162011-08-21 Chong Yidong <cyd@stupidchicken.com>
12517
2c34e8da
CY
12518 * font-lock.el (font-lock-fontify-region)
12519 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12520 (font-lock-default-unfontify-buffer)
12521 (font-lock-default-fontify-region)
12522 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12523
b3fd59bd
SM
12524 * progmodes/compile.el (compilation-error-properties):
12525 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12526 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12527 `ant' regexp.
ee31aabc 12528
a3f2468a
CY
12529 * net/browse-url.el (browse-url-firefox): Don't call
12530 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12531
8e999f70
GM
125322011-08-20 Glenn Morris <rgm@gnu.org>
12533
c21a496a
GM
12534 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12535
59ee0542
GM
12536 * tutorial.el (tutorial--default-keys): Update some default bindings.
12537
8e999f70
GM
12538 * files.el (hack-local-variables): Fully ignore case for "mode:".
12539
e3715033
AM
125402011-08-20 Alan Mackenzie <acm@muc.de>
12541
12542 Resolve invalid use of a regexp in regexp-opt.
12543
4d61f28d
JB
12544 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12545 detection for a java annotation.
e3715033 12546
4d61f28d 12547 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12548 detection for a java annotation.
12549
4d61f28d
JB
12550 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12551 handling for java.
e3715033
AM
12552 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12553
04ed2e9c
CY
125542011-08-20 Chong Yidong <cyd@stupidchicken.com>
12555
12556 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12557 (Bug#9274).
12558
826cee64
AM
125592011-08-20 Alan Mackenzie <acm@muc.de>
12560
58179cce 12561 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12562 such a construct. Mainly for when jit-lock etc. starts a chunk
12563 here.
12564
58179cce 12565 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12566 variable.
58179cce 12567 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12568 c-make-font-lock-search-function.
12569 (c-make-font-lock-search-function): Use the above function.
12570 (c-make-font-lock-context-search-function): New function.
12571 (c-cpp-matchers): Enhance the preprocessor expression case with
12572 the above function
12573 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12574 which takes an expression.
12575
12576 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12577
13009bd8
MR
125782011-08-20 Martin Rudalics <rudalics@gmx.at>
12579
12580 * window.el (display-buffer-reuse-window)
12581 (display-buffer-pop-up-window): Don't reuse or split a side
12582 window.
12583
9234ff7f
GM
125842011-08-19 Glenn Morris <rgm@gnu.org>
12585
12586 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12587 Downcase "Mode:". (Bug#9331)
9234ff7f 12588
f635daa1
CY
125892011-08-18 Chong Yidong <cyd@stupidchicken.com>
12590
12591 * international/characters.el: Add L and R categories.
12592
12593 * subr.el (bidi-string-mark-left-to-right): Rename from
12594 string-mark-left-to-right. Use category search.
12595
12596 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12597
bc987f8b
JL
125982011-08-18 Juri Linkov <juri@jurta.org>
12599
12600 * faces.el (error, warning, success): New faces with definitions
12601 copied from old default values of `font-lock-warning-face',
12602 `compilation-warning', `compilation-info' (bug#6117).
12603
12604 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12605
12606 * progmodes/compile.el (compilation-error): Inherit from `error'.
12607 (compilation-warning): Inherit from `warning'.
12608 (compilation-info): Inherit from `success'.
12609
12610 * dired.el (dired-marked): Inherit from `warning'.
12611 (dired-flagged): Inherit from `error'.
12612
57173b96
LMI
126132011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12614
3e79eb87
LMI
12615 * mail/smtpmail.el (auth-source): Require to avoid problems with
12616 binding variables (bug#9298). Also clean up some unused
12617 autoloads.
12618
b3fd59bd
SM
12619 * net/network-stream.el (network-stream-open-starttls):
12620 Support using starttls.el without using gnutls-cli.
57173b96 12621
02b404de
JL
126222011-08-17 Juri Linkov <juri@jurta.org>
12623
12624 * progmodes/grep.el (rgrep): Handle the case when
12625 `grep-find-command' is a cons cell (bug#9278).
12626
8c9177f2
MR
126272011-08-17 Martin Rudalics <rudalics@gmx.at>
12628
12629 * window.el (display-buffer-pop-up-frame): Run frame creation
12630 function with BUFFER current (as special-display-popup-frame
12631 does). Reported by Drew Adams.
12632
3644a0ab
DU
126332011-08-17 Daiki Ueno <ueno@unixuser.org>
12634
12635 * epa-mail.el: Simplify GnuPG group expansion using
12636 epg-expand-group.
12637 (epa-mail-group-alist, epa-mail-group-modtime)
12638 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12639 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12640 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12641 Remove.
12642
5e617bc2 126432011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12644
12645 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12646
9c4aeabf
AM
126472011-08-16 Alan Mackenzie <acm@muc.de>
12648
12649 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12650 Correct, to avoid the inside of macros.
12651
3a99bf64
RS
126522011-08-16 Richard Stallman <rms@gnu.org>
12653
04963aa8
RS
12654 * epa-mail.el: Handle GnuPG group definitions.
12655 (epa-mail-group-alist, epa-mail-group-modtime)
12656 (epa-mail-gnupg-conf-file): New variables.
12657 (epa-mail-parse-groups, epa-mail-sync-groups)
12658 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12659 (epa-mail-expand-recipients): New functions.
12660 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12661
177549d0
RS
12662 * mail/rmail.el (rmail-epa-decrypt): New command.
12663
fe38beef
RS
12664 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12665 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12666 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12667 (epa-decrypt-armor-in-region): Make error message clearer.
12668
934eacb9
SM
126692011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12672 and "a2b" to "ab" for `prefix'.
12673
d024fb4e
CY
126742011-08-14 Chong Yidong <cyd@stupidchicken.com>
12675
12676 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12677 filter groups.
de148fee
CY
12678 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12679 Fourquet (Bug#8804).
d024fb4e 12680
62f1ca49
JB
126812011-08-12 Juanma Barranquero <lekktu@gmail.com>
12682
12683 * startup.el (argi): Declare as global variable (bug#9275).
12684
9ccaaa4b
CY
126852011-08-12 Chong Yidong <cyd@stupidchicken.com>
12686
12687 * subr.el (string-mark-left-to-right): Search the entire string
12688 for RTL script, not just the terminating character. Doc fix.
12689
a3dae87a
SM
126902011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12691
6cd18349
SM
12692 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12693 New function.
12694 (js--regexp-literal, js-syntax-propertize-function): Remove.
12695 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12696 (js-mode-map): Don't rebind electric keys.
12697 (js-insert-and-indent): Remove.
12698 (js-mode): Setup electric-layout and electric-indent instead.
12699
a3dae87a
SM
12700 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12701
9d5cb631
DU
127022011-08-12 Daiki Ueno <ueno@unixuser.org>
12703
12704 * epa.el (epa-progress-callback-function): Fix the logic of
12705 displaying progress.
12706 * epa-file.el (epa-file-insert-file-contents): Make progress
12707 display more user-friendly.
12708 (epa-file-write-region): Ditto.
12709
3e26a4a2
CY
127102011-08-10 Chong Yidong <cyd@stupidchicken.com>
12711
12712 * subr.el (string-mark-left-to-right): New function.
12713
12714 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12715 Use string-mark-left-to-right.
12716 (list-buffers-noselect): Caller changed.
12717
a3dae87a
SM
12718 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12719 Use string-mark-left-to-right.
3e26a4a2
CY
12720 (tabulated-list-print): Recenter after moving point.
12721
ac8cf6e6
JL
127222011-08-10 Juri Linkov <juri@jurta.org>
12723
12724 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12725 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12726 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12727
8d96c9a4
CY
127282011-08-09 Chong Yidong <cyd@stupidchicken.com>
12729
12730 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12731 (Bug#7554).
12732
7be1c708 127332011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12734
12735 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12736 character. (Bug#6594)
12737
37e11a63
CY
127382011-08-08 Chong Yidong <cyd@stupidchicken.com>
12739
839dde57
CY
12740 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12741 (image-dired--with-db-file): New macro.
12742 (image-dired-write-tags, image-dired-remove-tag)
12743 (image-dired-create-gallery-lists, image-dired-write-comments)
12744 (image-dired-get-comment, image-dired-mark-tagged-files)
12745 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12746 (image-dired-gallery-generate): Use insert-file-contents.
12747
37e11a63
CY
12748 * time.el (display-time-world-list, display-time-world-display):
12749 * time-stamp.el (time-stamp-string):
12750 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12751 set-time-zone-rule (Bug#7337).
12752
0b4946c4
DU
127532011-08-08 Daiki Ueno <ueno@unixuser.org>
12754
12755 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12756 (epg-error-to-string, epg-errors-to-string): New function.
12757 (epg-wait-for-completion): Reverse errors list.
12758 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12759 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12760 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12761 (epg-sign-keys, epg-generate-key-from-file)
12762 (epg-generate-key-from-string): Format errors by using
12763 epg-errors-to-string (bug#9255).
12764 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12765
75bfc667
JL
127662011-08-07 Juri Linkov <juri@jurta.org>
12767
12768 * faces.el (list-faces-display): Remove extra angle bracket
12769 from `help-mode-map'.
12770
12771 * info.el (Info-history-toc-nodes): Doc fix.
12772
12773 * longlines.el (longlines-mode): Doc fix.
12774
673e08bb
SM
127752011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12776
4640dd88
SM
12777 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12778 of statements and in a few more cases (bug#9183).
12779
673e08bb
SM
12780 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12781 New functions.
12782 (cl-transform-lambda): Use them (bug#9239).
12783
89b3f019
MR
127842011-08-05 Martin Rudalics <rudalics@gmx.at>
12785
12786 * window.el (display-buffer-same-window)
12787 (display-buffer-same-frame, display-buffer-other-window)
12788 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12789 (pop-to-buffer-other-window)
12790 (pop-to-buffer-same-frame-other-window)
12791 (pop-to-buffer-other-frame): Make them defuns.
12792 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12793
640c8776
SM
127942011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12795
12796 * subr.el (make-composed-keymap): Move from C. Change calling
12797 convention, and improve docstring to bring attention to a subtle point.
12798 * minibuffer.el (completing-read-default): Adjust accordingly.
12799
63648a95
MA
128002011-08-03 Michael Albinus <michael.albinus@gmx.de>
12801
12802 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12803 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12804
12805 * net/trampver.el: Update release number.
12806
b796c9b7
SM
128072011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12810 "in" (bug#9190).
12811
2239d7d5
LMI
128122011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12813
e07dd7c3
LMI
12814 * mail/sendmail.el (sendmail-query-once): Restore the current
12815 buffer after querying (bug#9074).
12816
0e6a2bd7
LMI
12817 * dired.el (dired-flagged): Use different faces for marked and
12818 flagged files (bug#6117).
12819
ce887515
LMI
12820 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12821 (bug#4433).
12822
92f2affc
LMI
12823 * ido.el (ido-mode): Switch off the message if called
12824 non-interactively.
12825
57d5aff0
LMI
12826 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12827 before 587, since it appears that that's more likely to work for
12828 more people.
12829
98cd6c18 12830 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12831 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12832 exist.
12833
b96dec83
LMI
12834 * info.el: Remove the `Info-beginning-of-buffer' function
12835 (bug#8325).
12836
b796c9b7
SM
12837 * net/network-stream.el (network-stream-open-starttls):
12838 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12839
d90e2ea0
MR
128402011-08-01 Martin Rudalics <rudalics@gmx.at>
12841
12842 * window.el (display-buffer-in-window): Don't set dedicated status
12843 of window here (Bug#9215).
12844 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12845 (display-buffer-pop-up-side-window)
b796c9b7 12846 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12847
cca09170
SM
128482011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12851 before binding generated-autoload-file.
12852
027b979c
DD
128532011-08-01 Deniz Dogan <deniz@dogan.se>
12854
12855 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12856
3c7ee4f3
MA
128572011-07-30 Michael Albinus <michael.albinus@gmx.de>
12858
12859 Sync with Tramp 2.2.2.
12860
12861 * net/trampver.el: Update release number.
12862
2cc8e51a
JL
128632011-07-30 Juri Linkov <juri@jurta.org>
12864
12865 * dired-aux.el (dired-touch-initial): Remove function.
12866 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12867 current time, and `default' to the last modification time of the
12868 current marked file (bug#6887).
12869
a514d856
JM
128702011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12871
12872 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12873 numeric argument to read-number (bug#9163).
a514d856 12874
8a7eddd7
MA
128752011-07-27 Michael Albinus <michael.albinus@gmx.de>
12876
12877 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12878 connection process, it could be nil.
12879
1ddd96f5
LL
128802011-07-27 Leo Liu <sdl.web@gmail.com>
12881
12882 Simplify url handling in rcirc-mode.
12883
12884 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12885 (rcirc-browse-url-at-mouse): Remove.
12886 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12887
b248a85d
AM
128882011-07-26 Alan Mackenzie <acm@muc.de>
12889
12890 Fontify bitfield declarations properly.
12891
12892 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12893 (c-symbol-chars): Now exported as a lang variable.
12894 (c-not-primitive-type-keywords): New lang variable.
12895
12896 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12897 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12898 parsed as a bitfield declaration.
b248a85d 12899
b796c9b7
SM
12900 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12901 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12902 (c-punctuation-in): New function.
12903 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12904 declarations properly.
12905
68575ab0
UJ
129062011-07-26 Ulf Jasper <ulf.jasper@web.de>
12907
12908 * calendar/icalendar.el (icalendar--all-events): Take care of
12909 multiple vcalendars in a single file.
b796c9b7 12910 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12911
0f0a88b9
DD
129122011-07-25 Deniz Dogan <deniz@dogan.se>
12913
12914 * image.el (insert-image): Clarifying docstring.
12915
0b3f36df
MA
129162011-07-24 Michael Albinus <michael.albinus@gmx.de>
12917
12918 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12919 `tramp-send-command-and-check' if there is no error.
12920 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12921
a9901f61
AM
129222011-07-22 Alan Mackenzie <acm@muc.de>
12923
12924 Prevent cc-langs.elc being loaded at run time.
12925
12926 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12927 cc-langs.
12928
4d61f28d 12929 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12930 "(require 'cc-langs)". Quote a form so it will evaluate at
12931 (cc-mode's) compilation time.
12932
11d074b2
MA
129332011-07-22 Michael Albinus <michael.albinus@gmx.de>
12934
12935 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12936 loading. (Bug#9114)
12937
938b94c8
MR
129382011-07-21 Martin Rudalics <rudalics@gmx.at>
12939
12940 * window.el (display-buffer-pop-up-window)
12941 (display-buffer-pop-up-side-window)
12942 (display-buffer-in-side-window): Call display-buffer-set-height
12943 and display-buffer-set-width after setting the new window's
b796c9b7 12944 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12945
bfa4f190
SS
129462011-07-20 Sam Steingold <sds@gnu.org>
12947
12948 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12949 (etags-tags-included-tables): Call `convert-standard-filename' on
12950 the file names contained in TAGS so that windows Emacs can handle
12951 TAGS files created by cygwin ctags.
12952
8ca42262
LMI
129532011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12954
12955 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12956 which apparently didn't work.
12957
5db2afd2 129582011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12959
5db2afd2
RW
12960 * proced.el (proced-send-signal): For *Marked Processes* buffer
12961 put point at beginning of buffer.
12962
92e15d10
SB
129632011-07-19 Stephen Berman <stephen.berman@gmx.net>
12964
12965 * proced.el (proced-format): Make header lines align with the text
12966 (bug#1779).
12967
1bfd59e5
LMI
129682011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12969
12970 * view.el (view-buffer): Allow running in `special' modes if we're
12971 visiting a file (bug#8615).
12972
f5aae37c
MR
129732011-07-19 Martin Rudalics <rudalics@gmx.at>
12974
12975 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12976 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12977 New functions.
f5aae37c
MR
12978 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12979 more accurately.
12980
bf2c1571
AM
129812011-07-18 Alan Mackenzie <acm@muc.de>
12982
12983 Fontify declarators properly when, e.g., a jit-lock chunk begins
12984 inside a declaration.
12985
12986 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12987
b796c9b7
SM
12988 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12989 New function.
bf2c1571
AM
12990 (c-complex-decl-matchers): Insert reference to
12991 c-font-lock-enclosing-decls.
12992
12993 * progmodes/cc-engine.el (c-backward-single-comment):
12994 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12995 to nil around calls to (forward-comment -1).
12996
4e190b80
LMI
129972011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12998
12dc863d
LMI
12999 * image.el (put-image): Doc typo fix.
13000
a762e966
LMI
13001 * progmodes/etags.el (tags-search): Doc typo fix.
13002
4e190b80
LMI
13003 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13004 password if we get errors 550 to 554.
13005
f019fb21
LMI
130062011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13007
b796c9b7 13008 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13009
81746738
LMI
13010 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13011 indentation character (bug#6380).
13012
3ee3a1b5
LMI
13013 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13014
c82f64de
LMI
13015 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13016 to clarify what the problem is (bug#4291).
13017
f019fb21
LMI
13018 * simple.el (current-kill): Clarify what
13019 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13020 (auto-fill-mode): Document `auto-fill-function' in relation to
13021 `auto-fill-mode' (bug#2470).
f019fb21 13022
0794775d
LM
130232011-07-16 Lawrence Mitchell <wence@gmx.li>
13024
13025 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13026 method if slot is read-only (bug#9035).
13027
be39b8cc
MR
130282011-07-16 Martin Rudalics <rudalics@gmx.at>
13029
b796c9b7 13030 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13031 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13032 selected before, see discussion of (Bug#8615), (Bug#6954).
13033 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13034
6ccf7859
GM
130352011-07-15 Glenn Morris <rgm@gnu.org>
13036
13037 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13038 Respect help-form.
6ccf7859 13039
87e86684
LM
130402011-07-09 Lawrence Mitchell <wence@gmx.li>
13041
13042 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13043 (gnutls-negotiate): Use it.
13044
d6066239
LMI
130452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13046
b796c9b7
SM
13047 * net/gnutls.el (gnutls-negotiate):
13048 Upcase `gnutls-algorithm-priority'.
d6066239 13049
bd23ebc0
GM
130502011-07-15 Glenn Morris <rgm@gnu.org>
13051
c65bca65
GM
13052 * jka-compr.el (jka-compr-verbose): Move from here...
13053 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13054 Add missing :version tag.
13055 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13056
478615cc
LMI
130572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13058
7b41decb
LMI
13059 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13060 (gnutls-negotiate): Use it.
13061
dbc44fcd
LMI
13062 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13063
06789f97
LMI
13064 * info.el (Info-beginning-of-buffer): New command.
13065 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13066 announcing `b' as the key (bug#8325).
ab896c37 13067 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13068
c39da690
LMI
13069 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13070
3aa5f34b
LMI
13071 * international/mule-cmds.el
13072 (describe-specified-language-support): Make the error message
13073 clearer (bug#8905).
13074
4bf0979f
LMI
13075 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13076
478615cc
LMI
13077 * isearch.el (isearch-barrier): Add a doc string, since it's
13078 mentioned in a function doc string (bug#8678).
13079
75c68aa1
MR
130802011-07-15 Martin Rudalics <rudalics@gmx.at>
13081
13082 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13083 buffer argument (Bug#9083) and self-identifying label argument.
13084
a7c33da2
GM
130852011-07-15 Glenn Morris <rgm@gnu.org>
13086
13087 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13088
2f5c6024
LMI
130892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13090
13091 * man.el (Man-fontify-manpage): Fix message when formatting the
13092 man page (bug#7929).
13093
0bb23927 130942011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13095
13096 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13097 argument LRM; if non-nil, append an invisible LRM character to the
13098 buffer name.
13099 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13100 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13101 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13102 paragraph direction.
cce4b0a7 13103
621ef9ab
LMI
131042011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13105
d1583c48
LMI
13106 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13107 the man page name (bug#7929).
13108
6a57fb5f
LMI
13109 * image.el (put-image): Mention the `put-image' overlay property
13110 (bug#7834).
13111
d7956b14
LMI
13112 * scroll-bar.el (set-scroll-bar-mode): Mention that
13113 `scroll-bar-mode' lists the values (bug#7772).
13114
5b2d4a66
LMI
13115 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13116 command (bug#7729).
13117
7509a874
LMI
13118 * rect.el (apply-on-rectangle): Return the point after the last
13119 operation.
13120 (string-rectangle): Go to the point after the last operation
13121 (bug#7522).
13122
4fe74b19
LMI
13123 * printing.el (pr-toggle-region): Clarify the documentation
13124 slightly (bug#7493).
13125
b796c9b7
SM
13126 * time.el (display-time-update):
13127 Allow `display-time-mail-function' to return nil (bug#7158).
13128 Fix suggested by Detlev Zundel.
ab283561 13129
fc233c9d
LMI
13130 * vc/diff.el (diff): Clarify the order the file names are read
13131 (bug#7111).
13132
43f5740b
LMI
13133 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13134 the doc string (bug#7015).
13135
f2182a76
LMI
13136 * font-lock.el (font-lock-maximum-decoration): Mention what
13137 numeric levels mean (bug#6935).
13138
621ef9ab
LMI
13139 * startup.el (initial-buffer-choice): Don't mention the `none'
13140 selection, which is against policy.
13141
adc47434
MR
131422011-07-14 Martin Rudalics <rudalics@gmx.at>
13143
b796c9b7
SM
13144 * window.el (display-buffer-normalize-special):
13145 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13146
7e5bfb8f
EZ
131472011-07-14 Eli Zaretskii <eliz@gnu.org>
13148
13149 * subr.el (version<, version<=, version=): Mention "-CVS" and
13150 "-12345" alpha version numbers.
13151
27fa387a
CY
131522011-07-14 Chong Yidong <cyd@stupidchicken.com>
13153
13154 * bindings.el: Add advertised binding for set-mark-command
13155 (Bug#5772).
13156
8bdfa064
CY
131572011-07-14 Chong Yidong <cyd@stupidchicken.com>
13158
13159 * bindings.el (mode-line-other-buffer):
13160 * bookmark.el (bookmark-bmenu-2-window):
13161 * bs.el (bs-cycle-next, bs-cycle-previous):
13162 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13163 switch-to-buffer.
13164
13165 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13166 Delete.
8bdfa064 13167
5eba16a3
JB
131682011-07-14 Juanma Barranquero <lekktu@gmail.com>
13169
13170 * follow.el (follow-debug-message, follow-redisplay):
13171 * jka-cmpr-hook.el (with-auto-compression-mode):
13172 Fix typos in docstrings.
13173
15853710
LMI
131742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13175
a28e4607
LMI
13176 * subr.el (with-silent-modifications): Clarify somewhat what the
13177 macro inhibits (bug#6525).
13178
15853710
LMI
13179 * simple.el (eval-expression): Note what it does if called
13180 interactively (bug#6495).
13181
bee0fcef
CY
131822011-07-13 Chong Yidong <cyd@stupidchicken.com>
13183
b796c9b7
SM
13184 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13185 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13186
13187 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13188 Remove switch-to-buffer.
13189
58274504
LMI
131902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13191
bd2fcc8d
LMI
13192 * files.el (make-directory): Clarify that an error will be raised
13193 if there's an error (bug#6397).
13194
0f04b32c
LMI
13195 * startup.el (initial-buffer-choice): Add `none' as a choice
13196 (bug#6234).
13197
465c5fc8
LMI
13198 * subr.el (add-hook): Clarify section about buffer-local hooks
13199 (bug#6218).
13200
58274504
LMI
13201 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13202
bead9a43
JB
132032011-07-13 Juanma Barranquero <lekktu@gmail.com>
13204
13205 * tabify.el (untabify): Preserve the current column so that point
13206 doesn't move (bug#6032).
13207
3af98a7b
LMI
132082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13209
b796c9b7
SM
13210 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13211 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13212
6240145a
GM
132132011-07-13 Glenn Morris <rgm@gnu.org>
13214
13215 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13216 (dired-insert-directory): Give a message the first time
13217 if ls is found not to support --dired.
13218
1d8c2ccc
LMI
132192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13220
13221 * simple.el (toggle-truncate-lines): Clarify what is toggled
13222 (bug#5580). Text by Drew Adams.
13223
5fc4038e
CY
132242011-07-13 Chong Yidong <cyd@stupidchicken.com>
13225
13226 * simple.el (blink-matching-open): Make the error message from the
13227 last change less verbose.
13228
bf6012e5
DN
132292011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13230
13231 * font-lock.el (font-lock-comment-face): Use the high contrast
13232 "yellow" color for font-lock-comment-face on low color terminals
13233 using a dark background color (bug#4221).
13234
343c3b5a
LMI
132352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13236
7e9505c5
LMI
13237 * dired.el (dired-insert-set-properties): Make the doc string
13238 reflect what it does now (bug#5325).
13239
c26fdcf5
LMI
13240 * simple.el (blink-matching-open): Say that we were unable to find
13241 the match within the limit, if we're limited (bug#5122).
13242
bb388cc5
LMI
13243 * international/mule-cmds.el (prefer-coding-system): Add an
13244 example (bug#4869).
13245
343c3b5a
LMI
13246 * progmodes/etags.el (tags-search): Document `file-list-form'
13247 (bug#4731).
13248
2a517d45
LM
132492011-07-13 Lawrence Mitchell <wence@gmx.li>
13250
13251 * net/browse-url.el (browse-url-default-browser)
13252 (browse-url-browser-function): Make the default browser choice a
13253 bit more logical (bug#4300). Also clean up the doc string.
13254
b6c78ef2
JB
132552011-07-13 Juanma Barranquero <lekktu@gmail.com>
13256
13257 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13258 binary endings (bug#4440).
13259
1c4dd947
LMI
132602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13261
a2014063
LMI
13262 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13263 which can be pretty annoying (bug#8971).
13264
9c9c2d88
LMI
13265 * jka-compr.el (jka-compr-verbose): New variable, and use
13266 throughout (bug#8971).
13267
1c4dd947
LMI
13268 * info.el (Info-find-file): Fall back on the installation
13269 directory if we can't find the info node anywhere else.
13270
a1c9f41b
SO
132712011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13272
13273 * vc/vc.el (vc-revert-file):
13274 Don't set file time-stamp in the past. (Bug#5181)
13275
536f3d36
LMI
132762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13277
7152b011
LMI
13278 * files.el (after-find-file): Give a better error message when
13279 trying to find a symlink that points to a file that doesn't exist
13280 (bug#4398).
13281
536f3d36
LMI
13282 * progmodes/cc-vars.el: Remove (probably) misleading comment
13283 (bug#4396).
13284
460c0fba
JB
132852011-07-12 Johan Bockgård <bojohan@gnu.org>
13286
13287 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13288
7a6bda45
CY
132892011-07-12 Chong Yidong <cyd@stupidchicken.com>
13290
13291 * mouse-sel.el: Hack restoring functionality, while keeping
13292 compatibility with 2010-07-03 changes to mouse selection.
13293 (mouse-sel-primary-overlay): New var.
13294 (mouse-sel-selection-alist): Use it.
13295 (mouse-sel-mode): Doc fix; remove points that are default features
13296 of mouse.el.
13297
c79598ef
JB
132982011-07-12 Johan Bockgård <bojohan@gnu.org>
13299
13300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13301 Fix previous fix (bug#2490).
13302
ff8be6ef
RW
133032011-07-12 Roland Winkler <winkler@gnu.org>
13304
b796c9b7
SM
13305 * textmodes/bibtex.el (bibtex-initialize):
13306 Use pop-to-buffer-same-window.
ff8be6ef
RW
13307 (bibtex-search-entries): Fix interactive call.
13308
296ba3ee
LMI
133092011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13310
f5242a02 13311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13312 Fontise bytecomp Error lines more correctly (bug#2490).
13313 Fix suggested by Johan Bockgård.
f5242a02 13314
296ba3ee
LMI
13315 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13316
13317 * dired-x.el (dired-guess-default): Use `delete-dups'.
13318
f69fd0d2
CY
133192011-07-12 Chong Yidong <cyd@stupidchicken.com>
13320
13321 * dired.el (dired-mark-prompt):
13322 * dired-aux.el (dired-read-shell-command): Doc fix.
13323
eab5dc07
LMI
133242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13325
b796c9b7
SM
13326 * mail/sendmail.el (sendmail-query-once):
13327 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13328 emacs -Q.
13329
13330 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13331
eab5dc07
LMI
13332 * cus-edit.el (custom-file): Take an optional no-error variable.
13333 (customize-save-variable): Set the variable, and give a warning if
13334 running under "emacs -q".
13335
a1e65d42
JB
133362011-07-11 Juanma Barranquero <lekktu@gmail.com>
13337
13338 * loadhist.el (unload-feature-special-hooks):
13339 Add `auto-coding-functions', `fill-nobreak-predicate' and
13340 `find-directory-functions' (bug#5327).
13341
1d52da10
LMI
133422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13343
be958f1d
LMI
13344 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13345
5bedb26c
LMI
13346 * cus-edit.el (custom-guess-name-alist): -alist variables should
13347 use the `alist' type (bug#3120). Suggested by Drew Adams.
13348
1d52da10
LMI
13349 * printing.el: Add documentation to all the `pr-toggle-' commands.
13350
cd394be1 133512011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13352
13353 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13354 backends where it makes sense (bug#2623).
13355
dcc88d8a
LMI
133562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13357
c3de9feb
LMI
13358 * dired-x.el (dired-guess-default): Remove duplicate shell command
13359 entries (bug#2028).
8a93078b 13360 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13361 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13362
dcc88d8a
LMI
13363 * subr.el (remove-duplicates): New conveniency function.
13364
505e3645
LMI
133652011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13366
13367 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13368 (bug#1526).
13369
133702011-07-10 Martin Rudalics <rudalics@gmx.at>
13371
13372 * window.el (display-buffer-normalize-default): Don't invert
13373 meaning of even-window-heights. Reported by Eli Zaretskii
13374 <eliz@gnu.org>.
13375
455e4fa1
BR
133762011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13377
13378 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13379
8e0bc3e9
CY
133802011-07-10 Chong Yidong <cyd@stupidchicken.com>
13381
13382 * window.el (display-buffer): Fix arguments to
13383 display-buffer-reuse-window in last change.
13384
fa7c3228
CY
13385 * faces.el (link): Use a less saturated blue on light backgrounds.
13386
13387 * startup.el (fancy-startup-text, fancy-about-text)
13388 (fancy-startup-tail): Use font-lock faces, for background safety.
13389
c0a7f300
BN
133902011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13391
b796c9b7
SM
13392 * emulation/viper-cmd.el (viper-change-state-to-vi):
13393 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13394
4dc2a129
MR
133952011-07-09 Martin Rudalics <rudalics@gmx.at>
13396
13397 * window.el (display-buffer-default-specifiers): Remove.
13398 (display-buffer-macro-specifiers): Remove default specifiers.
13399 (display-buffer-alist): Default to nil.
b796c9b7 13400 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13401 (display-buffer-pop-up-window): Allow splitting internal
13402 windows. Check whether a live window was created.
13403 (display-buffer-other-window-means-other-frame)
13404 (display-buffer-normalize-arguments): Rename to
13405 display-buffer-normalize-argument and rewrite. Set the
13406 other-window specifier.
13407 (display-buffer-normalize-special): New function.
13408 (display-buffer-normalize-options): Rename to
13409 display-buffer-normalize-default and rewrite.
13410 (display-buffer-normalize-options-inhibit): Remove.
13411 (display-buffer-normalize-specifiers): Rewrite.
13412 (display-buffer): Process other-window specifier and call
13413 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13414 more faithfully.
b796c9b7 13415 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13416 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13417 (display-buffer-in-window, display-buffer-alist-set):
13418 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13419 <tassilo@member.fsf.org>.
13420
2d43b8c9
LL
134212011-07-09 Leo Liu <sdl.web@gmail.com>
13422
13423 * register.el (insert-register): Restore accidental change on
13424 2011-06-26. (Bug#9028)
13425
7f9b7c53
GM
134262011-07-09 Glenn Morris <rgm@gnu.org>
13427
13428 * subr.el (remq): Handle the empty list. (Bug#9024)
13429
f042cfd8
AS
134302011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13431
13432 * mail/sendmail.el (send-mail-function): No longer delay custom
13433 initialization.
13434 * custom.el (custom-initialize-delay): Doc fix.
13435
856b2f11
SM
134362011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13439
afae1d68
MA
134402011-07-08 Michael Albinus <michael.albinus@gmx.de>
13441
13442 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13443 human-friendly prompt.
13444
0757af94
SM
134452011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13448 provided by a particular plugin.
13449
d760b731
LMI
134502011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13451
13452 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13453 save customizations (with "emacs -Q"), just set the variable
13454 instead of erroring out.
13455
13456 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13457
cd79ce90
JL
134582011-07-08 Juri Linkov <juri@jurta.org>
13459
13460 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13461 (archive-zip-update-case): Use 7z if found by `executable-find'.
13462 The order of searching the available programs is the same as in
13463 `archive-zip-extract' (bug#8968).
13464
14cc04aa
CY
134652011-07-07 Chong Yidong <cyd@stupidchicken.com>
13466
13467 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13468 (menu-bar-options-menu): Tweak descriptions.
13469
0a1848ec
LMI
134702011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13471
13472 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13473 menu items into verb phrases (bug#1421). Also refill to fit under
13474 80 columns.
13475
f5bd0689
CY
134762011-07-07 Chong Yidong <cyd@stupidchicken.com>
13477
538e85c6
CY
13478 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13479 (Info-read-node-name): Doc fix (Bug#1084).
13480
f5bd0689
CY
13481 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13482 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13483 (end-of-sexp, beginning-of-sexp)
13484 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13485 (forward-symbol, forward-same-syntax, word-at-point)
13486 (sentence-at-point): Doc fix (Bug#1144).
13487
56ec5115
LMI
134882011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13489
f3f8e37f
LMI
13490 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13491 should cover it (bug#1281).
13492
0757af94 13493 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13494
e9fce1ac 13495 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13496 negotiation fails, then possibly try again with a non-encrypted
13497 connection (bug#9017).
13498
56ec5115
LMI
13499 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13500 be used.
13501
c2f9aec8
RS
135022011-07-07 Richard Stallman <rms@gnu.org>
13503
13504 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13505 property, and handle its changed format.
13506 Look for the correct line number.
13507 Use file's line contents (but not past first =) to find
13508 correct line in message.
13509
ef7b981d 135102011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13511
13512 * international/characters.el (build-unicode-category-table):
13513 Delete it.
0757af94 13514 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13515
0757af94 13516 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13517 to src/chartab.c.
13518 (get-char-code-property): Call unicode-property-table-internal to
13519 load a file. Call get-unicode-property-internal where necessary.
13520 (put-char-code-property): Call unicode-property-table-internal to
13521 load a file. Call put-unicode-property-internal where necessary.
13522 put-unicode-property-internal where necessary.
0757af94
SM
13523 (char-code-property-description):
13524 Call unicode-property-table-internal to load a file.
c805dec0
KH
13525
13526 * international/charprop.el:
13527 * international/uni-bidi.el:
13528 * international/uni-category.el:
13529 * international/uni-combining.el:
13530 * international/uni-comment.el:
13531 * international/uni-decimal.el:
13532 * international/uni-decomposition.el:
13533 * international/uni-digit.el:
13534 * international/uni-lowercase.el:
13535 * international/uni-mirrored.el:
13536 * international/uni-name.el:
13537 * international/uni-numeric.el:
13538 * international/uni-old-name.el:
13539 * international/uni-titlecase.el:
13540 * international/uni-uppercase.el: Regenerate.
13541
13542 * loadup.el: Load international/charprop.el before
13543 international/characters.
13544
e14b388a
CY
135452011-07-07 Chong Yidong <cyd@stupidchicken.com>
13546
13547 * window.el (next-buffer, previous-buffer): Signal an error if
13548 called from a minibuffer window.
13549
13550 * bindings.el: Revert 2011-07-04 change.
13551
354cf0ba
RS
135522011-07-06 Richard Stallman <rms@gnu.org>
13553
13554 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13555 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13556 Treat markers like ints.
13557 (rmail-mime-entity): Doc fix.
13558
a48868a7
LMI
135592011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13560
4906cd3d
LMI
13561 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13562 defcustom again for backwards compatibility.
13563
e0457abe
LMI
13564 * simple.el (shell-command-on-region): Fill.
13565
d67f7e1f
LMI
13566 * dired-aux.el (dired-kill-line): Add a doc string.
13567
fe204702
LMI
13568 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13569 to "\\sw\\|\\s_" (bug#358).
13570
a48868a7
LMI
13571 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13572 (dired-unmark-backward): Ditto.
13573 (dired-flag-backup-files): Ditto.
13574
13575 * dired-x.el (dired-mark-sexp): Ditto.
13576
aa8a705c
RS
135772011-07-06 Richard Stallman <rms@gnu.org>
13578
13579 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13580 (rmail-mime-entity): New arg TRUNCATED.
13581 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13582 New functions.
13583 (rmail-mime-save): Warn if entity is truncated.
13584 (rmail-mime-toggle-hidden): Likewise, for showing.
13585 (rmail-mime-process-multipart): Record when an entity is truncated.
13586
a9a936b9
RS
13587 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13588 if ENTITY is a string.
13589
1f2b92cb
LMI
135902011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13591
f4f73198 13592 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13593 of faces when `M-C-x'-ing their definitions (bug#8378).
13594 Also clean up the code slightly.
f4f73198 13595
12b16734 13596 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13597 because that makes the colors go away.
12b16734 13598
f0691d22
LMI
13599 * mail/sendmail.el (send-mail-function): Change the default to
13600 `sendmail-query-once'.
9e87df06 13601 (sendmail-query-once): Add an autoload cookie.
f0691d22 13602
1f2b92cb
LMI
13603 * net/network-stream.el (network-stream-open-starttls): Try using
13604 a plain connection even if the server offered STARTTLS, and we
13605 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13606 capability. This should make smtpmail.el work in slightly more
13607 configurations.
13608
1cdd2a1b
MA
136092011-07-06 Michael Albinus <michael.albinus@gmx.de>
13610
13611 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13612 New defun.
13613 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13614
fbcc67e2
MM
136152011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13616
13617 * progmodes/sql.el: Version 3.0
0757af94 13618 (sql-product-alist): Add product :completion-object,
fbcc67e2 13619 :completion-column, and :statement attributes.
0757af94 13620 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13621 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13622 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13623 ansi keywords.
13624 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13625 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13626 (sql-oracle-show-reserved-words): New function for development.
13627 (sql-product-font-lock): Simplify for source code buffers.
13628 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13629 New functions.
13630 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13631 (sql-mode-map): Add statement movement functions.
13632 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13633 New variable.
fbcc67e2
MM
13634 (sql-statement-regexp, sql-beginning-of-statement)
13635 (sql-end-of-statement, sql-signum): New functions.
0757af94 13636 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13637 (sql-show-sqli-buffer): Bug fix.
13638 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13639 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13640 with sql-interactive-mode.
13641 (sql-save-connection): Save buffer local settings.
0757af94 13642 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13643 (sql-product-interactive): Bug fix.
13644 (sql-preoutput-hold): New variable.
13645 (sql-interactive-remove-continuation-prompt): Bug fixes.
13646 (sql-debug-redirect): New variable.
13647 (sql-str-literal): New function.
13648 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13649 Redesign.
fbcc67e2
MM
13650 (sql-oracle-save-settings, sql-oracle-restore-settings)
13651 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13652 (sql-completion-object, sql-completion-column)
13653 (sql-completion-sqlbuf): New variables.
13654 (sql-build-completions-1, sql-build-completions)
13655 (sql-try-completion): New functions.
13656 (sql-read-table-name): Use them.
13657 (sql-contains-names): New buffer local variable.
13658 (sql-list-all, sql-list-table): Use it.
13659 (sql-oracle-completion-types): New variable.
13660 (sql-oracle-completion-object, sql-sqlite-completion-object)
13661 (sql-postgres-completion-object): New functions.
13662
d4eaeab1
GM
136632011-07-06 Glenn Morris <rgm@gnu.org>
13664
13665 * window.el (pop-to-buffer): Doc fix.
13666
322b7dab 136672011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13668
13669 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13670
322b7dab 136712011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13672
322b7dab 13673 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13674
322b7dab 13675 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13676
605dd5bf
CY
136772011-07-05 Chong Yidong <cyd@stupidchicken.com>
13678
13679 * button.el (button): Inherit from link face. Suggested by Dan
13680 Nicolaescu.
13681
7dbfa719
SM
136822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13683
3db614b0
SM
13684 * progmodes/gdb-mi.el: Fit in 80 columns.
13685 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13686 switch-to-buffer.
13687
7dbfa719
SM
13688 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13689 if imenu is simply not configured (bug#8941).
13690
919d884a
KM
136912011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13692
13693 * allout.el (allout-post-undo-hook): New allout outline-change
13694 event hook to signal undo activity.
13695 (allout-post-command-business): Run allout-post-undo-hook if an
13696 undo just occurred.
7dbfa719
SM
13697 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13698 * allout-widgets.el (allout-widgets-after-undo-function):
13699 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13700 in the vicinity of an undo.
13701 (allout-widgets-mode): Include allout-widgets-after-undo-function
13702 on the new allout-post-undo-hook.
13703
450a0f09
SM
137042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13707 Let define-derived-mode define it.
13708 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13709 cycles of abbrev-table inheritance (bug#8998).
13710
2de69e00
RW
137112011-07-05 Roland Winkler <winkler@gnu.org>
13712
13713 * textmodes/bibtex.el: Add support for biblatex.
13714 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13715 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13716 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13717 (bibtex-entry-alist, bibtex-field-alist): New variables.
13718 (bibtex-entry-field-alist): Obsolete alias for
13719 bibtex-BibTeX-entry-alist.
13720 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13721 (bibtex-set-dialect): New command.
13722 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13723 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13724 Bind via bibtex-set-dialect.
2de69e00
RW
13725 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13726 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13727 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13728 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13729 Define via bibtex-set-dialect.
450a0f09
SM
13730 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13731 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13732 (bibtex-vec-push, bibtex-vec-incr): New functions.
13733 (bibtex-format-entry, bibtex-field-list)
13734 (bibtex-print-help-message, bibtex-validate)
13735 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13736
2dcdbdd9
SM
137372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * progmodes/compile.el (compilation-goto-locus):
13740 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13741 * bs.el (bs-cycle-next, bs-cycle-previous):
13742 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13743 * bindings.el (mode-line-other-buffer):
13744 * autoinsert.el (auto-insert):
13745 * arc-mode.el (archive-extract):
13746 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13747
b27640fe
JB
137482011-07-05 Juanma Barranquero <lekktu@gmail.com>
13749
13750 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13751 Fix check of `emacs-lock-unlockable-modes'.
13752 Coerce true values of `emacs-lock--try-unlocking' to t.
13753
53bbe3ad
JB
137542011-07-05 Juanma Barranquero <lekktu@gmail.com>
13755
13756 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13757 * emacs-lock.el: New file.
13758
1d3cdbc7
JD
137592011-07-05 Julien Danjou <julien@danjou.info>
13760
13761 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13762 than `boundp' to check if face is set.
13763
9173deec
JB
137642011-07-05 Juanma Barranquero <lekktu@gmail.com>
13765
13766 * register.el (registerv-make):
13767 * window.el (window-min-height): Fix typos in docstrings.
13768
869795d6
JD
137692011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13770
9173deec 13771 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13772 Update doc string.
13773
b768cdcd
JB
137742011-07-04 Juanma Barranquero <lekktu@gmail.com>
13775
13776 * server.el (server-execute): Catch quit and call
13777 `server-return-error' to pass the error back to emacsclient and
13778 close the connection (bug#8942).
13779
13aa217b
KM
137802011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13781
13782 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13783 insecure exception for current topic. Also note that auto-saves
13784 are handled differently.
13785
5d3385a0 13786 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13787 State variables for tracking auto-save inhibition situation.
13788
13789 (allout-write-contents-hook-handler): Rename from
13790 'allout-write-file-hook-handler', and describe how it depends on
13791 write-contents-functions sensitivity to non-nil value to prevent
13792 file write.
13793
13794 (allout-auto-save-hook-handler): Remove. auto-save does not check
13795 this in individual buffers, only in the starting buffer, so this
13796 is not the right way for us to inhibit auto-save in a buffer
13797 according to its condition.
13798
13799 (allout-mode): Use new allout-write-contents-hook-handler, and
13800 only with write-contents-functions. Remove auto-save provisions -
13801 they're implemented elsewhere.
13802
13803 (allout-before-change-handler): If undo is in progress, note that
13804 for attention of allout-post-command-business.
13805
13806 (allout-post-command-business): If the command we're following was
13807 an undo, check for change in the status of encrypted items and
13808 adjust auto-save inhibitions accordingly.
13809
13810 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13811 according to whether there are or aren't any plain-text topics
13812 pending encryption.
13813
2dcdbdd9 13814 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13815 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13816 if there are plain-text topics pending encryption.
13aa217b
KM
13817
13818 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13819 buffer-saved-size and some allout state to not inhibit auto-saves
13820 if there are no longer any plain-text topics pending encryption.
13821
0757af94
SM
13822 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13823 No longer provide for exemption of the current topic.
13aa217b 13824
ac89b32c
JL
138252011-07-04 Juri Linkov <juri@jurta.org>
13826
13827 Add 7z operations to delete and save changed members (bug#8968).
13828 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13829 New defcustoms.
13830 (archive-7z-write-file-member): New function.
13831 (archive-7z-summarize): Fix the number of dashes in the
13832 listing output.
13833
8fa39615
SM
138342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13837 (bug#8958).
13838
2f11b3f1
CY
138392011-07-04 Chong Yidong <cyd@stupidchicken.com>
13840
d66fef2b
CY
13841 * bindings.el: Ignore next-buffer and previous-buffer in
13842 minibuffer-local-map.
13843
2f11b3f1
CY
13844 * font-lock.el (font-lock-builtin-face): Change light background
13845 color to dark slate blue (Bug#6693).
13846
f932a347
WD
138472011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13848
13849 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13850
c8af70e1
SM
138512011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13854 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13855 Add switch-to-buffer.
13856
f158badc
LMI
138572011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13858
13859 * isearch.el (isearch-search-fun-function): Clarify further the
13860 meaning of the function returned.
13861
6d95bd46
MA
138622011-07-04 Michael Albinus <michael.albinus@gmx.de>
13863
13864 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13865
13866 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13867 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13868 Use it.
13869 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13870 `tramp-default-remote-path' does not exist.
13871 (tramp-send-command-and-read): New optional argument NOERROR.
13872 (tramp-open-connection-setup-interactive-shell)
13873 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13874 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13875 (tramp-process-sentinel): Flush also process' connection property.
13876 (tramp-sh-handle-start-file-process): Do not set process
13877 sentinel. It is done now ...
13878 (tramp-maybe-open-connection): ... here. (Bug#8929)
13879
909e6b67
MK
138802011-07-04 MON KEY <monkey@sandpframing.com>
13881
13882 * play/animate.el (animate-string): Doc fixes and allow changing
13883 the buffer name (bug#5417).
13884
138852011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13886
c8af70e1 13887 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13888
f34755dc
PE
138892011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13890
396cec72
PE
13891 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13892 This is simpler and helps future-proof the code.
13893 (timer-until): Use time-subtract and float-time.
08235028 13894 (timer--time-less-p): Use time-less-p.
f34755dc 13895
56e6cc31
JB
138962011-07-04 Juanma Barranquero <lekktu@gmail.com>
13897
3abb79e5
JB
13898 * type-break.el (timep): Use the value of `float-time' to avoid a
13899 byte-compiler warning.
13900
56e6cc31
JB
13901 * server.el (server-eval-and-print): Return any result, even nil.
13902
7b9430b4
PE
139032011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13904
13905 * type-break.el: Accept time formats that the builtins accept.
13906 (timep, type-break-time-difference): Accept any format that
13907 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13908 This is simpler and helps future-proof the code.
13909 (type-break-time-difference): Round rather than ignoring
13910 subseconds components.
13911
3034e9e7
LMI
139122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13913
13914 * info.el (Info-apropos-matches): Make non-interactive, since it
13915 doesn't seem to do anything useful as a command (bug#8829).
13916
1485f4c0
CY
139172011-07-03 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13920 Move from faces.el.
1485f4c0
CY
13921 (frame-default-terminal-background): New function.
13922
13923 * custom.el (custom-push-theme): Don't record faces in `changed'
13924 theme; this doesn't work correctly for per-frame face settings.
13925 (disable-theme): Use face-set-after-frame-default to reset faces.
13926 (custom--frame-color-default): New function.
13927
9fa3dd45
LMI
139282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13929
c8af70e1 13930 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13931 (bug#8769).
13932
6cbbc20c
KR
139332011-03-29 Kevin Ryde <user42@zip.com.au>
13934
13935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13936 `perl-Test2' extend to match possible "fail #N" rep count
13937 (bug#8377).
13938
c7f98048
LMI
139392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13940
65676592
LMI
13941 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13942 `smtpmail-via-smtp' now returns the error instead of nil.
13943
c7f98048
LMI
13944 * isearch.el (isearch-search-fun-function): Clarify the doc string
13945 (bug#8101).
13946
56e6cc31 139472011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13948
13949 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13950 unnecessary spaces (bug#8987).
13951
2b216704
LMI
139522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13953
13954 * net/network-stream.el (open-network-stream): Use the
13955 :end-of-capability command thoughout.
13956
139572011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13958
13959 * net/network-stream.el (open-network-stream): Add the
13960 :end-of-capability command parameter, used by pop3.el.
13961
36adf6ce
LMI
139622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13963
1ca0da0e
LMI
13964 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13965
fc00f69c
LMI
13966 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13967 for list)" (bug#6475).
13968
28fd8759 13969 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13970 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13971 an error (bug#6297).
13972
0dd8b6da
LMI
13973 * man.el (Man-reference-regexp): Allow matching possible
13974 word-wrapped references (bug#6289).
13975
ce1438d6
LMI
13976 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13977 for consistency with the other vc buffers (bug#6197).
13978 (vc-checkin): Ditto.
13979
13980 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13981
36adf6ce
LMI
13982 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13983
e83cc1f7
LMI
139842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13985
8a20ca4c
LMI
13986 * custom.el (defcustom): Clarify that :set is only used in the
13987 Customize user interface (bug#6089).
13988
83319045
LMI
13989 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13990 associated with a file, refuse to run instead of erroring out
13991 (bug#6084).
13992
a8392169
LMI
13993 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13994 the doc string, since it appears that using `fill-column' always
13995 controls the width (bug#7845).
13996
e83cc1f7
LMI
13997 * simple.el (shell-command-on-region): Say where the error output
13998 went if `shell-command-default-error-buffer' is set (bug#6857).
13999
e47ca23b
KM
140002011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14001
14002 * allout.el (allout-yank-processing): Adjust cursor position for
14003 backwards-deleted space.
14004
14005 (allout-rebullet-heading): Register changes with
14006 allout-exposure-changed-hook, so the modified topic is properly
14007 decorated.
14008
5cf56143
LMI
140092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14010
08549772
LMI
14011 * minibuffer.el (completion-in-region): Document PREDICATE
14012 (bug#7136).
14013
48e96771
LMI
14014 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14015 of keyword/argument pairs (bug#6904).
14016
c8af70e1
SM
14017 * replace.el (multi-occur):
14018 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14019
e17d05e2
LMI
140202011-07-02 Drew Adams <drew.adams@oracle.com>
14021
14022 * dired.el (dired-mark-if): Make the message about whether it's
14023 marking or unmarking clearer (bug#8523).
14024
063b0e45
LMI
140252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14026
14027 * disp-table.el (display-table-print-array): New function.
14028 (describe-display-table): Use it to print the vectors more pretty
14029 (Bug#8859).
14030
28545e04
MR
140312011-07-02 Martin Rudalics <rudalics@gmx.at>
14032
14033 * window.el (window-state-get-1): Don't assign clone numbers.
14034 Add clone-of item to list of window parameters.
14035 (window-state-put-2): Don't process clone numbers.
14036 (display-buffer-alist): Fix doc-string.
14037
3349e122
SM
140382011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14039
14040 * subr.el (remq): Don't allocate if it's not needed.
14041 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14042 (keymap--merge-bindings): New functions.
14043 (keymap-canonicalize): Use them to refine the canonicalization.
14044 * minibuffer.el (minibuffer-local-completion-map)
14045 (minibuffer-local-must-match-map): Move initialization from C.
14046 (minibuffer-local-filename-completion-map): Move initialization from C;
14047 don't inherit from anything here.
14048 (minibuffer-local-filename-must-match-map): Make obsolete.
14049 (completing-read-default): Use make-composed-keymap to combine
14050 minibuffer-local-filename-completion-map with either
14051 minibuffer-local-must-match-map or
14052 minibuffer-local-filename-completion-map.
14053
d224ac83
GM
140542011-07-01 Glenn Morris <rgm@gnu.org>
14055
3de63bf8
GM
14056 * type-break.el (type-break-time-sum): Use dolist.
14057
d224ac83
GM
14058 * textmodes/flyspell.el (flyspell-word-search-backward):
14059 Replace CL function.
14060
1a1e3f32
SM
140612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14062
fe3f64d5
SM
14063 * mouse.el (mouse--strip-first-event): New function.
14064 (function-key-map): Use it to map fringe clicks to normal clicks
14065 by default.
14066
eb604e34
SM
14067 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14068 (vc-bzr-revision-completion-table): Add support for annotate and date.
14069
1a1e3f32
SM
14070 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14071 inherit from parent.
14072
5bd35902
LMI
140732011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14074
ace6c69c 14075 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14076 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14077
191e2bed
LMI
14078 * dired.el (dired-mode): Fix up the doc string as suggested by
14079 Drew Adams (bug#8817).
14080
5bd35902
LMI
14081 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14082 cookie, since the manual says that it should be possible to add
14083 this function to `find-file-hook' (bug#8709).
14084
eee8207a
TZ
140852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14086
14087 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14088 here. Noted Ted Zlatanov as the maintainer.
14089 (cfengine-common-settings, cfengine-common-syntax): New functions
14090 to set up common things between `cfengine-mode' and
14091 `cfengine3-mode'.
14092 (cfengine3-mode): New mode.
14093 (cfengine3-defuns cfengine3-defuns-regex
14094 (cfengine3-class-selector-regex cfengine3-category-regex)
14095 (cfengine3-vartypes cfengine3-font-lock-keywords)
14096 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14097 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14098
36b148cf
MA
140992011-07-01 Michael Albinus <michael.albinus@gmx.de>
14100
14101 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14102
14103 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14104
0bf4ba9a
MR
141052011-07-01 Martin Rudalics <rudalics@gmx.at>
14106
14107 * window.el (same-window-buffer-names, same-window-regexps)
14108 (same-window-p, special-display-frame-alist)
14109 (special-display-popup-frame, special-display-function)
14110 (special-display-buffer-names, special-display-regexps)
14111 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14112 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14113 (split-window-preferred-function, split-height-threshold)
14114 (split-width-threshold, even-window-heights)
14115 (display-buffer-mark-dedicated, window-splittable-p)
14116 (split-window-sensibly, window-safely-shrinkable-p):
14117 Un-obsolete.
14118 (display-buffer): Don't spread args with function specifier
14119 because special-display-popup-frame won't like it.
14120
35837f51
PE
141212011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14122
d0672f86
PE
14123 Time-stamp simplifications and fixes.
14124 These improve accuracy slightly, and future-proof the code
14125 against some potential changes to current-time format.
14126
b9444d97
PE
14127 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14128 by using time-since and float-time.
14129
0ef923dc
PE
14130 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14131 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14132 + NNN microseconds".
14133
2f81380d
PE
14134 * type-break.el (type-break-time-sum): Rewrite using time-add.
14135
845b5c3e
PE
14136 * play/hanoi.el (hanoi-current-time-float): Remove.
14137 All uses replaced by float-time.
14138
ee6f1be0
PE
14139 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14140 This yields a more-accurate answer.
14141 (rng-time-to-float): Remove; no longer needed.
14142
fe955043
PE
14143 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14144
5777162a
PE
14145 * calendar/timeclock.el (timeclock-seconds-to-time):
14146 Defalias to seconds-to-time, since they're the same thing.
14147
3103f8b6 14148 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14149 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14150 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14151
0e61a35f
SM
141522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14153
14154 * window.el (bury-buffer): Don't iconify the only frame.
14155 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14156 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14157
ddd63a1e
CY
141582011-07-01 Chong Yidong <cyd@stupidchicken.com>
14159
0e61a35f
SM
14160 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14161 Add mouse-yank-primary.
ddd63a1e 14162
055f4923
TZ
141632011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14164
14165 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14166
6a2fb145
SM
141672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14170 (find-library-name): Use it to find relative load names when provided
14171 absolute file name (bug#8803).
14172
fd4983f2
LMI
141732011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14174
887d14ad
LMI
14175 * textmodes/flyspell.el (flyspell-word): Consider words that
14176 differ only in case as potential doublons (bug#5687).
14177
c53dc7fc
LMI
14178 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14179 Remove two rather uninteresting debugging-like messages to make
14180 debbugs.el more silent.
14181
fd4983f2
LMI
14182 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14183 a password-like phrase.
14184
7a71b18d 141852011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14186
14187 * progmodes/cc-guess.el: New file.
14188
6a2fb145 14189 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14190
14191 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14192 derived from `c-basic-common-init'.
14193
14194 * progmodes/cc-mode.el (top-level): Require cc-guess.
14195 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14196
1fa280a3
LM
141972011-06-30 Lawrence Mitchell <wence@gmx.li>
14198
14199 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14200
e6597158
AM
142012011-06-30 Alan Mackenzie <acm@muc.de>
14202
1fa280a3
LM
14203 * progmodes/cc-engine.el (c-guess-continued-construct):
14204 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14205 lock is disabled. Name this case as "CASE G".
14206
68ba37fb
KM
142072011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14208
14209 * allout.el (allout-yank-processing): Fix injection of extra space
14210 between bullet and non-whitespace character in first topic when
14211 pasting, ensuring that the actual spacing in the pasted topic
14212 following the bullet char is preserved. This extra space was
14213 causing pasted encrypted topics to get a decrypted status even
14214 when the content was actually still encrypted. Now the decryption
14215 status from before the paste is preserved.
14216
14217 (allout-flag-region): Set all allout overlays so they evaporate
14218 when reduced to zero length (evanescent), to prevent overlay
14219 leakage.
14220
887a0b34
GM
142212011-06-30 Glenn Morris <rgm@gnu.org>
14222
94b9acce
GM
14223 * w32-fns.el (w32-charset-info-alist): Declare.
14224
1d9b46d4
GM
14225 * find-dired.el (find-grep-options): Simplify.
14226
cc232200
GM
14227 * term/ns-win.el (ns-set-resource): Declare.
14228
28e77c46
GM
14229 * ses.el (row, col): Declare dynamic variables honestly.
14230
887a0b34
GM
14231 * textmodes/reftex-parse.el (index-tags): Declare.
14232
658d8eb8
CY
142332011-06-30 Chong Yidong <cyd@stupidchicken.com>
14234
14235 * cus-edit.el (customize-push-and-save): New function.
14236
14237 * files.el (hack-local-variables-confirm): Use it.
14238
1fa280a3
LM
14239 * custom.el (load-theme): New arg NO-CONFIRM.
14240 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14241 (custom-enabled-themes): Doc fix.
14242
14243 * cus-theme.el (customize-create-theme)
14244 (custom-theme-merge-theme): Callers to load-theme changed.
14245
bb617717
LMI
142462011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14247
d61bdd5d
LMI
14248 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14249 short URLs have at least one dot in them (bug #7614).
14250
bb617717
LMI
14251 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14252 nil, because using a pty is apparently too slow (bug #895).
14253
2f31f37a
LMI
142542011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14255
14256 * mail/sendmail.el (sendmail-query-once): New function.
14257 (sendmail-query-once-function): New variable.
14258
3076b24e
GM
142592011-06-29 Glenn Morris <rgm@gnu.org>
14260
faf2a174
GM
14261 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14262
3076b24e
GM
14263 * ses.el (top-level): Require cl when compiling.
14264 (ses-set-localvars): Fix error statement.
14265 Call it at compile time to silence a storm of warnings.
14266
5386012d
MR
142672011-06-29 Martin Rudalics <rudalics@gmx.at>
14268
14269 * window.el (normalize-live-buffer): Rename to
14270 window-normalize-buffer.
14271 (normalize-live-frame): Rename to window-normalize-frame.
14272 (normalize-any-window): Rename to window-normalize-any-window.
14273 (normalize-live-window): Rename to window-normalize-live-window.
14274 (make-window-atom): Rename to window-make-atom.
14275 (window-resize-reset): Rename to window--resize-reset.
14276 (window-resize-reset-1): Rename to window--resize-reset-1.
14277 (resize-mini-window): Rename to window--resize-mini-window.
14278 (resize-subwindows-skip-p): Rename to
14279 window--resize-subwindows-skip-p.
14280 (resize-subwindows-normal): Rename to
14281 window--resize-subwindows-normal.
14282 (resize-subwindows): Rename to window--resize-subwindows.
14283 (resize-other-windows): Rename to window--resize-siblings.
14284 (resize-this-window): Rename to window--resize-this-window.
14285 (resize-root-window): Rename to window--resize-root-window.
14286 (resize-root-window-vertically): Rename to
14287 window--resize-root-window-vertically.
14288 (normalize-buffer-to-display): Rename to
14289 window-normalize-buffer-to-display.
14290 (normalize-buffer-to-switch-to): Rename to
14291 window-normalize-buffer-to-switch-to.
14292 Correspondingly update all callers of the functions listed
14293 above.
14294 (display-buffer-alist, display-buffer-normalize-arguments)
14295 (display-buffer-normalize-options, display-buffer)
14296 (display-buffer-alist-set): Use "function" instead of
14297 "fun-with-args".
14298
1176868d
CY
142992011-06-28 Chong Yidong <cyd@stupidchicken.com>
14300
14301 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14302 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14303 debbugs.gnu.org. Mention acknowledgment email.
14304
20a7a65f
LMI
143052011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14306
14307 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14308 buffer multibyteness, since it shouldn't matter.
14309
5f45cca5
MR
143102011-06-28 Martin Rudalics <rudalics@gmx.at>
14311
14312 * window.el (display-buffer-in-side-window): Handle dedicated
14313 windows as in display-buffer-reuse-window.
14314 (display-buffer-normalize-alist): Use value of override
14315 specifier.
14316 (display-buffer-normalize-specifiers): Use value of
14317 other-window-means-other-frame specifier.
14318 (display-buffer-alist): Rewrite some texts in widgets.
14319 (display-buffer): Spread arguments when calling function
14320 specified by fun-with-args.
14321
ad85fe1f
DD
143222011-06-28 Deniz Dogan <deniz@dogan.se>
14323
1fa280a3
LM
14324 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14325 Unnest `let'.
da68c4c8 14326
ad85fe1f
DD
14327 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14328 selectors (Bug#5732).
ec49bd31 14329 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14330
a08cc025
JA
143312011-06-27 Jari Aalto <jari.aalto@cante.net>
14332
14333 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14334 (eshell-ls-date-format): New defcustom.
14335 (eshell-ls-file): Use it.
14336
e2b551c5
SM
143372011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14340
8982b231
KY
143412011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14342
14343 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14344 (ange-ftp-make-tmp-name): New arg.
14345 (ange-ftp-file-local-copy): Use it.
14346
36c9fa27
J
143472011-06-27 Jambunathan K <kjambunathan@gmail.com>
14348
14349 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14350 no-conversion (Bug#8870).
14351
d68443dc
MR
143522011-06-27 Martin Rudalics <rudalics@gmx.at>
14353
14354 * window.el (window-right, window-left, window-child)
14355 (window-child-count, window-last-child)
14356 (window-iso-combination-p, walk-window-tree-1)
14357 (window-atom-check-1, window-tree-1, delete-window)
14358 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14359 new naming conventions - window-vchild, window-hchild,
14360 window-next and window-prev are now called window-top-child,
14361 window-left-child, window-next-sibling and window-prev-sibling
14362 respectively.
d615d6d2
MR
14363 (resize-window-reset): Rename to window-resize-reset.
14364 (resize-window-reset-1): Rename to window-resize-reset-1.
14365 (resize-window): Rename to window-resize.
14366 (window-min-height, window-min-width)
14367 (resize-mini-window, resize-this-window, resize-root-window)
14368 (resize-root-window-vertically, adjust-window-trailing-edge)
14369 (enlarge-window, shrink-window, maximize-window)
14370 (minimize-window, delete-window, quit-restore-window)
14371 (split-window, balance-windows, balance-windows-area-adjust)
14372 (balance-windows-area, window-state-put-2)
14373 (display-buffer-even-window-sizes, display-buffer-set-height)
14374 (display-buffer-set-width, set-window-text-height)
14375 (fit-window-to-buffer): Rename all "resize-window" prefixed
14376 calls to use the "window-resize" prefix convention.
14377 (display-buffer-alist): Fix symbol for label specifier.
14378 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14379 corresponding specifier.
14380 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14381
b6458526
VB
143822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14383
14384 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14385 convention.
14386 (ses-call-printer): Does not pass an empty string to formatter when the
14387 cell is empty to keep from barking printer Calc math-format-value.
14388
d31fd9ac
RS
143892011-06-27 Richard Stallman <rms@gnu.org>
14390
43d5bf84
RS
14391 * battery.el (battery-mode-line-limit): New variable.
14392 (battery-update): Handle it.
14393
d31fd9ac
RS
14394 * mail/rmailmm.el (rmail-mime-process-multipart):
14395 Handle truncated messages.
14396
819a6054
GM
143972011-06-27 Glenn Morris <rgm@gnu.org>
14398
14399 * progmodes/flymake.el (flymake-err-line-patterns):
14400 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14401
cedc73f2
VB
144022011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14403
819a6054 14404 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14405 (ses--clean-!, ses--clean-_): New functions.
14406 (ses-range): Add configurability of readout order, and conversion
14407 to Calc vector.
14408
5e5d49b6
VB
14409 * ses.el (ses-repair-cell-reference-all): New function.
14410 (ses-cell-symbol): Set macro as safe, so that it can be used in
14411 formulas.
14412
56e6cc31 14413 * ses.el: Update cycle detection algorithm.
90ca8b49 14414 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14415 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14416 (ses-set-localvars): New function.
14417 (ses-make-cell): Add property-list as a cell element.
14418 (ses-cell-property-get-fun, ses-cell-property-get)
14419 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14420 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14421 New functions.
90ca8b49
VB
14422 (ses-cell-property-set, ses-cell-property-pop)
14423 (ses-cell-property-get-handle): New macro.
14424 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14425 New aliases, used for code readability.
14426 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14427 cycle detection.
14428 (ses-self-reference-early-detection): New defcustom.
fac916bf 14429 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14430 (ses-mode): Use ses-set-localvars.
14431 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14432 before lauching the update processing.
14433 (ses-initialize-Dijkstra-attempt): New function.
14434 (ses-recalculate-cell): Update for cycle detection based on
14435 Dijkstra algorithm.
14436
2bb63e81
VB
14437 * ses.el: Fix commenting and indenting convention.
14438
c9d29fb8
SM
144392011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * bs.el (bs-cycle-next): Complete last change.
14442
d8e4b68b
JB
144432011-06-27 Drew Adams <drew.adams@oracle.com>
14444
14445 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14446
40098786
LMI
144472011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14448
c9d29fb8
SM
14449 * net/network-stream.el (network-stream-open-starttls):
14450 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14451 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14452
40098786
LMI
14453 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14454 to binary to possibly avoid line encoding issues on Windows (among
14455 other things).
14456
468d09d4
LMI
144572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458
14459 * net/network-stream.el (open-network-stream): Return an :error
14460 saying what the problem was, if possible.
14461
14462 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14463 server.
14464
14465 * net/network-stream.el (network-stream-open-starttls): If we
14466 wanted to use STARTTLS, and the server offered it, but we weren't
14467 able to because we had no STARTTLS support, then close the connection.
14468 (open-network-stream): Return an :error element, if present.
14469
16f07dd7
CY
144702011-06-26 Chong Yidong <cyd@stupidchicken.com>
14471
88821ca0
CY
14472 * hl-line.el (hl-line-sticky-flag): Doc fix.
14473 (global-hl-line-sticky-flag): New option (Bug#8323).
14474 (global-hl-line-highlight): Obey it.
14475
16f07dd7
CY
14476 * vc/vc.el (vc-revert-show-diff): Default to t.
14477
6b5ccddf
KM
144782011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14479
c9d29fb8
SM
14480 * allout-widgets.el (allout-widgets-post-command-business):
14481 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14482 undecorated when an isearch is continued past, and isearch
14483 automatically collapses them. This leads to "widget leaks", where
14484 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14485 hidden widgets can slow down cursor travel, substantially.
14486 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14487 so we're doing without this nicety.
14488
14489 (allout-widgets-tally-string): Don't try to do a hash-table-count
14490 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14491 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14492 *Messages* when allout-widgets-maintain-tally is t.
14493
355f2e07
MR
144942011-06-26 Martin Rudalics <rudalics@gmx.at>
14495
14496 * window.el (display-buffer-normalize-argument): Rename to
14497 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14498 LABEL argument. Respect special-display-function when popping up
14499 a new frame. Fix code searching for a window showing the buffer
14500 on another frame.
c9d29fb8
SM
14501 (display-buffer-normalize-specifiers):
14502 Call display-buffer-normalize-arguments.
355f2e07
MR
14503 (display-buffer-in-window): Don't undedicate the window if its
14504 buffer remains the same.
14505 Reported by Drew Adams <drew.adams@oracle.com>.
14506 (display-buffer-alist): Add choice for same-window macro
14507 specfier.
14508 (display-buffer): Mention special meaning of LABEL argument in
14509 doc-string. Fix quoting. Don't pop up a new frame even as
14510 fallback.
14511
7ca8fc42
JB
145122011-06-26 Juanma Barranquero <lekktu@gmail.com>
14513
14514 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14515 avoid deleting the current window in some cases (bug#8911).
14516
bc312254
AS
145172011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14518
14519 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14520 (Bug#8934)
14521
2db18f3f
LMI
145222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14523
c9d29fb8
SM
14524 * net/network-stream.el (network-stream-open-starttls):
14525 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14526 (network-stream-open-tls): Ditto.
14527
6302e0d3
LL
145282011-06-26 Leo Liu <sdl.web@gmail.com>
14529
14530 * register.el (registerv): New struct.
14531 (registerv-make): New function.
c9d29fb8
SM
14532 (jump-to-register, describe-register-1, insert-register):
14533 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14534 struct. (Bug#8415)
14535
5fdd4046
CY
145362011-06-26 Chong Yidong <cyd@stupidchicken.com>
14537
2afef60a
CY
14538 * vc/vc.el (vc-revert-show-diff): New defcustom.
14539 (vc-diff-internal): New arg specifying diff buffer.
14540 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14541 reuse an existing *vc-diff* buffer (Bug#8927).
14542
5fdd4046
CY
14543 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14544
e93db24a
GM
145452011-06-26 Glenn Morris <rgm@gnu.org>
14546
14547 * progmodes/f90.el (f90-critical-indent): New option.
14548 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14549 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14550 (f90-mode): Doc fix.
14551 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14552 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14553 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14554 (f90-match-end): Handle block, critical.
14555
eefff499
GM
145562011-06-25 Glenn Morris <rgm@gnu.org>
14557
f6ba4cc9
GM
14558 * calendar/diary-lib.el (diary-included-files): Doc fix.
14559 (diary-include-files): New function, extracted from
14560 diary-include-other-diary-files and diary-mark-included-diary-files.
14561 (diary-include-other-diary-files, diary-mark-included-diary-files):
14562 Just call diary-include-files.
14563 (diary-mark-entries): Reset diary-included-files on first call.
14564
16712304
GM
14565 * calendar/diary-lib.el (diary-mark-entries)
14566 (diary-mark-included-diary-files):
14567 Visit included diary-files in temp buffers.
14568
5d8e0d43
GM
14569 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14570 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14571 (f90-start-block-re, f90-imenu-generic-expression)
14572 (f90-looking-at-program-block-start, f90-no-block-limit):
14573 Add support for submodules.
14574
ccf7a5d5
GM
14575 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14576 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14577
11fdef7d 145782011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14579
14580 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14581 buffer-file-type before setting its value, to avoid disastrous
eefff499 14582 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14583
74f53697
JB
145842011-06-25 Juanma Barranquero <lekktu@gmail.com>
14585
14586 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14587
14588 * ses.el (ses-unload-function):
14589 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14590
14591 * proced.el (proced-unload-function):
14592 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14593
18a4ce5e
AR
145942011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14595
14596 * server.el (server-create-window-system-frame): Add parameters arg.
14597 (server-process-filter): Doc fix. Handle frame-parameters.
14598
519d22cc
JB
145992011-06-25 Juanma Barranquero <lekktu@gmail.com>
14600
14601 Fix bug#8730, bug#8781.
14602
14603 * loadhist.el (unload--set-major-mode): New function.
14604 (unload-feature): Use it.
14605
14606 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14607 (python-unload-function): New function.
14608
c206f5b0
SM
146092011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14612
f9ad64f3
GS
146132011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14614
14615 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14616 the candidates list.
14617
7d0da90e
JB
146182011-06-24 Juanma Barranquero <lekktu@gmail.com>
14619
14620 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14621
14b4e83d
RS
146222011-06-23 Richard Stallman <rms@gnu.org>
14623
14624 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14625 (rmail-variables): Set next-error-move-function.
14626 (rmail-what-message): Take argument POS.
14627 (rmail-next-error-move): New function.
14628
273d2baf
SM
146292011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14632 messages for adjacent non-terminals.
14633
56c2cc9a
RS
146342011-06-23 Richard Stallman <rms@gnu.org>
14635
14636 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14637 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14638 (rmail-start-mail): Don't specify use of rmail-mail-return;
14639 that's done by mail-bury now.
14640 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14641
d59eb518
MA
146422011-06-23 Michael Albinus <michael.albinus@gmx.de>
14643
14644 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14645 SIZE is a number.
14646
02cfc6d6
MR
146472011-06-23 Martin Rudalics <rudalics@gmx.at>
14648
14649 * window.el (get-lru-window, get-mru-window)
14650 (get-largest-window): Never return a minibuffer window.
14651 (display-buffer-pop-up-window): Fix a bug that could lead to
14652 reusing the minibuffer window.
14653 (display-buffer): Pass original specifier argument to
14654 display-buffer-function instead of the normalized one.
14655 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14656
4e323265
LL
146572011-06-22 Leo Liu <sdl.web@gmail.com>
14658
14659 * minibuffer.el (completing-read-function)
14660 (completing-read-default): Move from minibuf.c
14661
7a70468f
RS
146622011-06-22 Richard Stallman <rms@gnu.org>
14663
50718fc2
RS
14664 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14665 to Rmail even if not started by a special Rmail command.
14666
7a70468f
RS
14667 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14668 Copy the buffer currently showing just one message.
14669
297dde5a
RW
146702011-06-22 Roland Winkler <winkler@gnu.org>
14671
14672 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14673 (bibtex-clean-entry): First delete the old key so that a
14674 customized algorithm for generating the new key does not get
14675 confused by the old key.
14676 (bibtex-url): Obey regexp of first step.
14677 (bibtex-search-entries): Do not use add-to-list with local
14678 list-var.
14679
97bb1093
LMI
146802011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14681
14682 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14683 stored a user name, then query for the password first, instead of
14684 waiting for SMTP to give an error message and the trying again.
14685
1c0f1a19
JD
146862011-06-22 Lawrence Mitchell <wence@gmx.li>
14687
14688 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14689 BUFFER in call-process.
14690
396f7c9d
LMI
146912011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14692
14693 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14694 QUIT twice.
ddb7ffee
LMI
14695 (smtpmail-try-auth-methods): Require user name and password from
14696 auth-source.
396f7c9d 14697
8998d1b3
MR
146982011-06-22 Martin Rudalics <rudalics@gmx.at>
14699
14700 * window.el (display-buffer-default-specifiers)
14701 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14702 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14703 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14704
14705 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14706 (special-display-frame-alist, special-display-popup-frame):
14707 Remove duplicate declarations. These are now in window.el.
14708
4ea31e07
LMI
147092011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14710
c9d29fb8
SM
14711 * mail/smtpmail.el (smtpmail-via-smtp):
14712 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14713 server supports it. SMTP servers that support STARTTLS commonly
14714 require it.
14715
14716 * net/network-stream.el (network-stream-open-starttls): Support
14717 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14718 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14719
95f41d9a
LMI
14720 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14721 upgrades with `open-network-stream', and rely solely on
14722 auth-source for all credentials. Big changes throughout the file,
14723 but in particular:
c9d29fb8
SM
14724 (smtpmail-auth-credentials): Remove.
14725 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14726 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14727 MAIL FROM, too.
95f41d9a 14728
c9d29fb8
SM
14729 * net/network-stream.el (network-stream-open-starttls):
14730 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14731 STARTTLS.
14732 (auth-source): Require.
14733 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14734 (network-stream-certificate): Change cert-cert to cert and
14735 cert-key to key.
4ea31e07 14736
065ec2c7
MA
147372011-06-21 Michael Albinus <michael.albinus@gmx.de>
14738
14739 * net/tramp-cache.el (top): Don't load the persistency file when
14740 "emacs -Q" has been called.
14741
cd93b359
DR
147422011-06-21 Tim Harper <timcharper@gmail.com>
14743
d8e4b68b
JB
14744 * term/ns-win.el (ns-initialize-window-system):
14745 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14746 resource to NO as it is not yet supported by the NS port.
14747
ae9c0411
JB
147482011-06-21 Juanma Barranquero <lekktu@gmail.com>
14749
14750 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14751 (list-dynamic-libraries): ...not here.
14752
7f3f739f
LL
147532011-06-21 Leo Liu <sdl.web@gmail.com>
14754
14755 * subr.el (sha1): Implement sha1 using secure-hash.
14756
327c8fb1
MR
147572011-06-21 Martin Rudalics <rudalics@gmx.at>
14758
14759 * window.el (display-buffer-alist): In default value do not
14760 enforce searching a window on any but the selected frame.
14761 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14762 (display-buffer-select-window): Remove function.
14763 (display-buffer-in-window): When a window on another frame gets
14764 reused, do not select it any more but just raise its frame if
14765 necessary (Bug#8851) and (Bug#8856).
14766 (display-buffer-normalize-options): Handle pop-up-frames related
14767 options more faithfully.
14768 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14769 window if it is on another frame.
c9d29fb8
SM
14770 (display-buffer-alist, display-buffer-default-specifiers):
14771 Don't make new frame unsplittable by default.
9e9de014
MR
14772 (display-buffer-normalize-argument): Fix doc-string typo and use
14773 'same-frame-other-window instead of 'other-window when associating
14774 with display-buffer-macro-specifiers.
327c8fb1 14775
7cf3f556
VB
147762011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14777
14778 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14779 New functions.
14780 (5x5-mode-map, 5x5-mode-menu): Bind them.
14781 (5x5-draw-grid): Tweak the solver's rendering.
14782
60a406cf
SM
147832011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14786 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14787
d8e4b68b 147882011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14789
14790 * menu-bar.el: Use function variable instead of switch-to-buffer.
14791 (menu-bar-select-buffer-function): New variable.
60a406cf 14792 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14793
478d6f95
SM
147942011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14797 variable's status.
14798
ca530739
JD
147992011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14800
14801 * x-dnd.el (x-dnd-version-from-flags)
14802 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14803 and long as number (Bug#8899).
14804 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14805
bcd70d97
SM
148062011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14807
60a406cf 14808 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14809 (completion-try-completion, completion-all-completions): Compute the
14810 metadata argument if it's missing; make it optional (bug#8795).
14811
60a406cf 14812 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14813 (widget-complete): Use new :completion-function property.
14814 (widget-completions-at-point): New function.
14815 (default): Use :completion-function instead of :complete.
60a406cf
SM
14816 (widget-default-completions): Rename from widget-default-complete;
14817 Rewrite.
bcd70d97
SM
14818 (widget-string-complete, widget-file-complete, widget-color-complete):
14819 Remove functions.
14820 (file, symbol, function, variable, coding-system, color):
14821 * international/mule-cmds.el (default-input-method, charset)
14822 (language-info-custom-alist):
14823 * cus-edit.el (face): Use new property :completions.
14824
14825 * progmodes/pascal.el (pascal-completions-at-point): New function.
14826 (pascal-mode): Use it.
14827 (pascal-mode-map): Use completion-at-point.
14828 (pascal-toggle-completions): Make obsolete.
14829 (pascal-complete-word, pascal-show-completions):
14830 * progmodes/octave-mod.el (octave-complete-symbol):
14831 Redefine as obsolete alias.
14832 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14833 Signal absence of completion info for old Octave,
14834 (inferior-octave-complete): Redefine as obsolete alias.
14835 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14836 (meta-completions-at-point): Rename from meta-complete-symbol and
14837 adapt it for use on completion-at-point-functions.
14838 (meta-common-mode): Use it.
14839 (meta-looking-at-backward, meta-match-buffer): Remove.
14840 (meta-complete-symbol): Redefine as obsolete alias.
14841 (meta-common-mode-map): Use completion-at-point.
14842 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14843 (makefile-mode-map): Use completion-at-point.
14844 (makefile-completions-at-point): Rename from makefile-complete and
14845 adapt it for use on completion-at-point-functions.
14846 (makefile-mode): Use it.
14847 (makefile-complete): Redefine as obsolete alias.
14848
aebf69c8
DD
148492011-06-20 Deniz Dogan <deniz@dogan.se>
14850
14851 * net/rcirc.el: Delete trailing whitespaces once and for all.
14852
bfbbb27d
DC
148532011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14854
14855 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14856
d264a46b
CY
148572011-06-19 Chong Yidong <cyd@stupidchicken.com>
14858
4ca009e5
CY
14859 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14860
d264a46b
CY
14861 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14862
fbf5b3ce
MR
148632011-06-19 Martin Rudalics <rudalics@gmx.at>
14864
14865 * window.el (display-buffer-other-window-means-other-frame):
14866 Call display-buffer-normalize-alist.
14867 (display-buffer-normalize-specifiers-1): Rename to
14868 display-buffer-normalize-argument. New argument other-frame.
14869 Rewrite.
14870 (display-buffer-normalize-specifiers-2): Rename to
14871 display-buffer-normalize-options.
14872 (display-buffer-normalize-alist-1): New function.
14873 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14874 display-buffer-normalize-alist.
14875 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14876 (display-buffer-normalize-options-inhibit): New variable.
14877 (display-buffer-normalize-specifiers): Rewrite calling
14878 display-buffer-normalize-alist,
14879 display-buffer-normalize-argument, and
14880 display-buffer-normalize-options. Don't call the latter if
14881 display-buffer-normalize-options-inhibit is non-nil.
14882 (frame-auto-delete): New option.
14883 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14884 (window-list-no-nils, window-state-ignored-parameters)
14885 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14886 (window-state-put-1, window-state-put-2, window-state-put):
14887 New functions.
9a028c23
MR
14888 (display-buffer-normalize-options): Move special-display-p group
14889 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14890
6d10d800
CY
148912011-06-18 Chong Yidong <cyd@stupidchicken.com>
14892
6420d28b
CY
14893 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14894 groups (Bug#8776).
14895 (rx-submatch-n): New function.
14896 (rx): Document it.
14897
ddb8b596
CY
14898 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14899 (Bug#8768).
14900
14901 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14902
77080289
CY
14903 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14904
61dfb316
CY
14905 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14906 anytime existing face settings are present (Bug#8889).
14907
6d10d800
CY
14908 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14909 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14910 Remove unused argument.
14911
be3fb2b8
MR
149122011-06-18 Martin Rudalics <rudalics@gmx.at>
14913
bcd70d97
SM
14914 * window.el (display-buffer-default-specifiers):
14915 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14916 pop-up-window-min-width, and another reuse-window specifier
14917 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14918 (display-buffer-normalize-specifiers-2):
14919 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14920 pop-up-windows is unset. Add a reuse-window specifier for the
14921 case popping up a new window fails.
14922 (special-display-popup-frame): Remove double quoting.
28dec25a 14923 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14924
1c6d8c76
SM
149252011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14928 according to comint-completion-addsuffix.
14929
14930 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14931 (pcomplete-suffix-list): Mark as obsolete.
14932 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14933 pcomplete-seen in the closure.
14934 (pcomplete-comint-setup): Setup completion-at-point as well.
14935 (pcomplete--entries): New function.
14936 (pcomplete--env-regexp): New var.
14937 (pcomplete-entries): Rewrite to work with partial-completion and
14938 without relying on pcomplete-suffix-list.
14939 (pcomplete-pare-list): Remove, unused.
14940
25aef8b8
MR
149412011-06-17 Martin Rudalics <rudalics@gmx.at>
14942
14943 * window.el (display-buffer-alist): Set pop-up-window-min-height
14944 and pop-up-window-min-width in default value. Reported by
14945 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14946 other-window-means-other-frame.
14947 (display-buffer-macro-specifiers): Comment out entry for
14948 other-window specifier.
14949 (display-buffer-other-window-means-other-frame): New function.
14950 (display-buffer-normalize-specifiers-1): New arguments
14951 buffer-name and label. Treat other-window case specially.
14952 (display-buffer-normalize-specifiers-2): Treat other-window case
14953 specially.
14954 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14955 (display-buffer-normalize-specifiers):
14956 Call display-buffer-normalize-specifiers-3.
25aef8b8 14957
dbad4f69
MR
149582011-06-17 Martin Rudalics <rudalics@gmx.at>
14959
14960 * window.el (same-window-p): Fix two typos introduced when
14961 adding with-no-warnings.
d1067961
MR
14962 (display-buffer-normalize-specifiers-1): Don't check
14963 pop-up-frames for 'unset initialization.
14964 (display-buffer-normalize-specifiers-2): Major rewrite using
14965 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14966 (pop-up-frames, display-buffer-reuse-frames)
14967 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14968 Suggested by David Engster <deng@randomsample.de>.
14969 (even-window-heights): Initialize to 'unset.
14970 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14971 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14972 other window case.
dbad4f69 14973
9b9c9e3a
MR
149742011-06-16 Martin Rudalics <rudalics@gmx.at>
14975
bcd70d97
SM
14976 * window.el (display-buffer-normalize-specifiers-1):
14977 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14978 second argument of display-buffer (Bug#8865).
981d5c09
MR
14979 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14980 (switch-to-buffer-other-window-same-frame)
14981 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14982 Adams (Bug#8875).
9c2755e9
MR
14983 (display-buffer): Don't check noninteractive when calling
14984 display-buffer-pop-up-frame.
14985 (display-buffer-pop-up-frame): Never pop up a frame in
14986 noninteractive mode (Bug#8857).
67222e1d
MR
14987 (enlarge-window, shrink-window): Don't report an error when the
14988 window can't be resized as requested (Bug#8862).
9b9c9e3a 14989
2b75be67
SM
149902011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14991
9ffdd3ba
SM
14992 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14993
cb581a67
SM
14994 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14995
2b75be67
SM
14996 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14997
8c0e3589
AM
149982011-06-15 Alan Mackenzie <acm@muc.de>
14999
cb581a67
SM
15000 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15001 for declarators, disable knr checking to speed up for normal files.
15002 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15003
b96e6cde
LMI
150042011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15005
4bba86e6
LMI
15006 * net/network-stream.el (open-network-stream): Add the keyword
15007 :always-query-capabilities for the case where you want to force a
15008 `plain' network connection, but the protocol still requires the
15009 capabilitiy command (i.e., SMTP and EHLO).
15010
2b75be67 15011 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15012 consistency with other `-live-p' functions.
15013
efdcdbf8
SM
150142011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15015
15016 * window.el (same-window-buffer-names, same-window-regexps)
15017 (special-display-frame-alist, special-display-popup-frame)
15018 (special-display-function, special-display-buffer-names)
15019 (special-display-regexps, pop-up-frame-alist)
15020 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15021 (pop-up-windows, split-window-preferred-function)
15022 (split-height-threshold, split-width-threshold, even-window-heights)
15023 (display-buffer-mark-dedicated): Don't encourage the use of
15024 display-buffer-alist from Elisp code.
15025
c5cde042
DN
150262011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15027
15028 * progmodes/python.el (python-mode): Derive from prog-mode.
15029 * progmodes/ps-mode.el (ps-mode):
15030 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15031 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15032 * progmodes/ld-script.el (ld-script-mode): Likewise.
15033
baa1c9ab
MR
150342011-06-15 Martin Rudalics <rudalics@gmx.at>
15035
15036 * window.el (display-buffer-alist): Trim default value to avoid
15037 popping up a new frame (Bug#8857) or reusing an arbitrary window
15038 on another frame.
15039 (display-buffer): Do not fall back on popping up a new frame in
15040 batch mode (Bug#8857).
15041
c5dd5a51
CY
150422011-06-14 Chong Yidong <cyd@stupidchicken.com>
15043
15044 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15045 (custom-theme-summary): New function.
15046 (customize-themes): Use it.
15047
d647b7c4
GM
150482011-06-13 Glenn Morris <rgm@gnu.org>
15049
15050 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15051
9481c002
MR
150522011-06-13 Martin Rudalics <rudalics@gmx.at>
15053
357f93d2
MR
15054 * help.el (help-window): Remove variable.
15055 (help-window-point-marker, temp-buffer-max-height)
15056 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15057 (help-print-return-message): Don't set help-window.
15058 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15059 (help-window-setup-finish): Remove.
15060 (help-window-display-message, help-window-setup)
15061 (with-help-window): Major rewrite based on new
15062 display-buffer-window variable.
15063
15064 * help-mode.el (help-mode-finish): Remove help-window related
15065 code.
15066
15067 * view.el (view-exits-all-viewing-windows): Remove reference to
15068 view-return-to-alist in doc-string.
15069 (view-return-to-alist): Make obsolete.
15070 (view-buffer): Call pop-to-buffer-same-window and remove
15071 undo-window code.
15072 (view-buffer-other-window): Call pop-to-buffer-other-window and
15073 simplify code. Ignore second argument.
15074 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15075 simplify code. Ignore second argument.
15076 (view-return-to-alist-update): Make obsolete.
15077 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15078 Rewrite using quit-restore window parameters.
2b75be67
SM
15079 (view-mode-exit): Rename second argument to EXIT-ONLY.
15080 Rewrite using quit-restore-window.
357f93d2
MR
15081 (View-exit, View-exit-and-edit, View-leave, View-quit)
15082 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15083 appropriate arguments.
15084 (view-end-message): Use quit-restore window parameter.
15085
9481c002
MR
15086 * window.el (display-buffer-function): Rewrite doc-string.
15087 (display-buffer-window, display-buffer-alist): New variables.
15088 (display-buffer-split-specifiers)
15089 (display-buffer-side-specifiers)
15090 (display-buffer-macro-specifiers): New constants.
15091 (display-buffer-even-window-sizes, display-buffer-set-height)
15092 (display-buffer-set-width, display-buffer-select-window)
15093 (display-buffer-in-window, display-buffer-reuse-window)
15094 (display-buffer-split-window-1, display-buffer-split-window)
15095 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15096 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15097 (display-buffer-in-side-window, normalize-buffer-to-display)
15098 (display-buffer-normalize-specifiers-1)
15099 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15100 (display-buffer-normalize-specifiers, display-buffer-frame):
15101 New functions.
9481c002
MR
15102 (display-buffer): Major rewrite.
15103 (display-buffer-other-window, display-buffer-other-frame)
15104 (pop-to-buffer, switch-to-buffer-other-window)
15105 (switch-to-buffer-other-frame): Rewrite.
15106 (display-buffer-same-window, display-buffer-same-frame)
15107 (display-buffer-same-frame-other-window)
15108 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15109 (pop-to-buffer-other-window)
15110 (pop-to-buffer-same-frame-other-window)
15111 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15112 (switch-to-buffer-other-window-same-frame): New functions.
15113 (same-window-p, special-display-p): Rewrite disabling warnings.
15114 Make obsolete.
15115 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15116 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15117 Make obsolete
15118 (same-window-buffer-names, same-window-regexps)
15119 (special-display-frame-alist, special-display-popup-frame)
15120 (special-display-function, special-display-buffer-names)
15121 (special-display-regexps, pop-up-frame-alist)
15122 (pop-up-frame-function, split-window-preferred-function)
15123 (split-height-threshold, split-width-threshold)
15124 (even-window-heights): Make obsolete.
15125
9db51aca
GM
151262011-06-12 Glenn Morris <rgm@gnu.org>
15127
15128 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15129 Misc simplifications.
9db51aca 15130
39cffb44
MR
151312011-06-12 Martin Rudalics <rudalics@gmx.at>
15132
15133 * window.el (window-safely-shrinkable-p): Restore function which
15134 was inadvertently removed in change from 2011-06-11. Declare as
15135 obsolete.
15136
2b75be67
SM
15137 * calendar/calendar.el (calendar-generate-window):
15138 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15139 window-safely-shrinkable-p.
15140
a8955be7
GM
151412011-06-12 Glenn Morris <rgm@gnu.org>
15142
15143 * progmodes/fortran.el (fortran-mode-syntax-table):
15144 * progmodes/f90.el (f90-mode-syntax-table):
15145 Set % to punctuation. (Bug#8820)
15146 (f90-find-tag-default): Remove, no longer needed.
15147
f0d4059d
DC
151482011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15149
15150 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15151
1100a63c
CY
151522011-06-11 Chong Yidong <cyd@stupidchicken.com>
15153
15154 * image.el (image-animated-p): Return animation delay in seconds.
15155 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15156 (image-animate-timeout): Remove DELAY argument. Don't assume
15157 every subimage has the same delay; get it from image-animated-p.
15158 (image-animate): Caller changed.
15159
def722bf
MA
151602011-06-11 Michael Albinus <michael.albinus@gmx.de>
15161
15162 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15163 to ignored backtrace functions.
15164
0a2bb1a9
GM
151652011-06-11 Glenn Morris <rgm@gnu.org>
15166
15167 * calendar/appt.el (appt-disp-window-function): Doc fix.
15168 (appt-check): Handle overlapping appointments. (Bug#8337)
15169
6198ccd0
MR
151702011-06-11 Martin Rudalics <rudalics@gmx.at>
15171
15172 * window.el (window-tree-1, window-tree): New functions, moving
15173 the latter to window.el.
15174 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15175 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15176 (bw-refresh-edges): Remove.
15177 (balance-windows-1, balance-windows-2): New functions.
15178 (balance-windows): Rewrite in terms of window tree functions,
15179 balance-windows-1 and balance-windows-2.
15180 (bw-adjust-window): Remove.
15181 (balance-windows-area-adjust): New function with functionality of
15182 bw-adjust-window but using resize-window.
2b75be67
SM
15183 (set-window-text-height): Rewrite doc-string.
15184 Use normalize-live-window and resize-window.
15185 (enlarge-window-horizontally, shrink-window-horizontally):
15186 Rename argument to DELTA.
6198ccd0
MR
15187 (window-buffer-height): New function.
15188 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15189 Rewrite using new window resize routines.
2b75be67
SM
15190 (kill-buffer-and-window, mouse-autoselect-window-select):
15191 Use ignore-errors instead of condition-case.
6198ccd0
MR
15192 (quit-window): Call delete-frame instead of delete-windows-on
15193 for the only buffer on frame.
15194
9397e56f
MR
151952011-06-10 Martin Rudalics <rudalics@gmx.at>
15196
15197 * loadup.el (top-level): Load window before files for the sake
15198 of replace-buffer-in-windows.
15199
15200 * files.el (read-buffer-to-switch)
15201 (switch-to-buffer-other-window)
2b75be67
SM
15202 (switch-to-buffer-other-frame, display-buffer-other-frame):
15203 Move to window.el.
9397e56f
MR
15204
15205 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15206 (previous-buffer): Move to window.el.
15207
15208 * bindings.el (unbury-buffer): Move to window.el.
15209
15210 * window.el (delete-other-windows-vertically): Move after
15211 definition of delete-other-windows.
15212 (other-window, delete-windows-on, replace-buffer-in-windows):
15213 Move here from window.c.
15214 (record-window-buffer, unrecord-window-buffer)
15215 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15216 (switch-to-next-buffer): New functions.
15217 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15218 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15219 (previous-buffer): Move here from simple.el.
15220 Call switch-to-prev-buffer.
9397e56f
MR
15221 (bury-buffer): Move here from buffer.c. Switch to previous
15222 buffer when window cannot be deleted.
15223 (unbury-buffer): Move here from bindings.el.
15224 (ctl-x-map): Move binding for other-window from window.c to
15225 here.
15226 (read-buffer-to-switch, switch-to-buffer-other-window)
15227 (switch-to-buffer-other-frame): Move here from files.el.
15228 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15229 (switch-to-buffer): Move here from buffer.c.
15230 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15231
562dd5e9
MR
152322011-06-10 Martin Rudalics <rudalics@gmx.at>
15233
15234 * window.el (window-min-height, window-min-width): Move here
15235 from window.c. Add defcustoms and rewrite doc-strings.
15236 (resize-mini-window, resize-window): New functions.
15237 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15238 Move here from window.c.
15239 (maximize-window, minimize-window): New functions.
15240 (delete-window, delete-other-windows, split-window): Move here
15241 from window.c.
15242 (window-split-min-size): New function.
15243 (split-window-keep-point): Mention split-window-above-each-other
15244 instead of split-window-vertically.
2b75be67 15245 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15246 Rename split-window-vertically to split-window-above-each-other
15247 and provide defalias for old definition.
15248 (split-window-side-by-side, split-window-horizontally):
15249 Rename split-window-horizontally to split-window-side-by-side
15250 and provide defalias for the old definition.
562dd5e9
MR
15251 (ctl-x-map): Move bindings for delete-window,
15252 delete-other-windows and enlarge-window here from window.c.
15253 Replace bindings for split-window-vertically and
15254 split-window-horizontally by bindings for
15255 split-window-above-each-other and split-window-side-by-side.
15256
15257 * cus-start.el (all): Remove entries for window-min-height and
15258 window-min-width. Add entries for window-splits and
15259 window-nest.
15260
f0da764a
GM
152612011-06-09 Glenn Morris <rgm@gnu.org>
15262
80675c21
GM
15263 * calendar/appt.el (appt-mode-line): New function.
15264 (appt-check, appt-disp-window): Use it.
15265
f0da764a
GM
15266 * files.el (hack-one-local-variable-eval-safep):
15267 Allow minor-modes with explicit +/-1 arguments.
15268
59f623b7
TZ
152692011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15270
15271 * term/xterm.el (xterm): Add defgroup.
15272 (xterm-extra-capabilities): Add defcustom to supply known xterm
15273 capabilities, skip querying them, or query them (default).
15274 (terminal-init-xterm): Use it.
15275 (terminal-init-xterm-modify-other-keys): New function to set up
15276 modifyOtherKeys support to simplify `terminal-init-xterm'.
15277
9aab8e0d
MR
152782011-06-09 Martin Rudalics <rudalics@gmx.at>
15279
15280 * window.el (resize-window-reset, resize-window-reset-1)
15281 (resize-subwindows-skip-p, resize-subwindows-normal)
15282 (resize-subwindows, resize-other-windows, resize-this-window)
15283 (resize-root-window, resize-root-window-vertically)
15284 (window-deletable-p, window-or-subwindow-p)
15285 (frame-root-window-p): New functions.
15286
e8b08aee
GM
152872011-06-09 Glenn Morris <rgm@gnu.org>
15288
15289 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15290 (ange-ftp-get-files): Use it.
15291
254c37a5
AK
152922011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15293
15294 * mail/sendmail.el (mail-recover-1, mail-recover):
15295 * files.el (recover-file, recover-session):
15296 Handle dired-listing-switches not being just a single short option.
15297
35d7dbd3
GM
152982011-06-09 Glenn Morris <rgm@gnu.org>
15299
15300 * calendar/appt.el (appt-display-message, appt-disp-window):
15301 Handle lists of appointments.
15302
387522b2
MR
153032011-06-08 Martin Rudalics <rudalics@gmx.at>
15304
2b75be67
SM
15305 * window.el (one-window-p): Move down in code.
15306 Rewrite doc-string.
15307 (window-current-scroll-bars): Rewrite doc-string.
15308 Normalize live window argument.
387522b2
MR
15309 (walk-windows, get-window-with-predicate, count-windows):
15310 Rewrite doc-string. Use window-list-1.
15311 (window-in-direction-2, window-in-direction, get-mru-window):
15312 New functions.
15313
d8e4b68b 153142011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15315
15316 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15317 Doc fix (Bug#8713).
15318
153192011-06-08 Chong Yidong <cyd@stupidchicken.com>
15320
15321 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15322
153232011-06-08 Juanma Barranquero <lekktu@gmail.com>
15324
15325 * loadhist.el (unload-feature-special-hooks):
15326 Add `comint-output-filter-functions'.
15327
0de12c52
IK
153282011-06-08 Ivan Kanis <gnu@kanis.fr>
15329
15330 * calendar/appt.el (appt-check): Move some initializations into the let.
15331
f3d1777e
MR
153322011-06-08 Martin Rudalics <rudalics@gmx.at>
15333
15334 * window.el (window-height): Defalias to window-total-height.
15335 (window-width): Defalias to window-body-width.
15336
18af70d0
CY
153372011-06-07 Chong Yidong <cyd@stupidchicken.com>
15338
15339 * image-mode.el (image-toggle-animation): New command.
15340 (image-mode-map): Bind it to RET.
15341 (image-mode): Update message.
15342 (image-toggle-display-image): Avoid a spurious cache flush.
15343 (image-transform-rotation): Doc fix.
15344 (image-transform-properties): Return quickly in the normal case.
15345 (image-animate-loop): Rename from image-animate-max-time.
15346
2b75be67 15347 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15348 (create-animated-image): Remove unnecessary function.
15349 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15350 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15351 (image-animate-timer): Use car-safe.
15352 (image-animate-timeout): Rename argument.
15353
190b47e6
MR
153542011-06-07 Martin Rudalics <rudalics@gmx.at>
15355
15356 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15357 window.c. Rename first argument to ALL-FRAMES.
15358 Rephrase doc-strings.
15359 (get-buffer-window-list): Rewrite using window-list-1.
15360 Rephrase doc-string.
a1511caf
MR
15361 (window-safe-min-height, window-safe-min-width): New constants.
15362 (window-size-ignore, window-min-size, window-min-size-1)
15363 (window-sizable, window-sizable-p, window-size-fixed-1)
15364 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15365 (window-max-delta-1, window-max-delta, window-resizable)
15366 (window-resizable-p, window-total-height, window-total-width)
15367 (window-body-width): New functions.
15368 (window-full-height-p, window-full-width-p): Rewrite using
15369 window-total-size.
15370 (window-body-height): Rewrite using window-body-size.
190b47e6 15371
85cc1f11
MR
153722011-06-06 Martin Rudalics <rudalics@gmx.at>
15373
15374 * window.el (window-right, window-left, window-child)
15375 (window-child-count, window-last-child, window-any-p)
15376 (normalize-live-buffer, normalize-live-frame)
15377 (normalize-any-window, normalize-live-window)
15378 (window-iso-combination-p, window-iso-combined-p)
15379 (window-iso-combinations)
15380 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15381 (windows-with-parameter, window-with-parameter)
15382 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15383 (window-atom-check, window-side-check, window-check):
15384 New functions.
85cc1f11
MR
15385 (ignore-window-parameters, window-sides, window-sides-vertical)
15386 (window-sides-slots): New variables.
15387 (window-size-fixed): Move down in code. Minor doc-string fix.
15388
e7156492
AS
153892011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15390
15391 * comint.el (comint-dynamic-complete-as-filename)
15392 (comint-dynamic-complete-filename): Correctly call
15393 completion-in-region.
15394
7e821d0d
DD
153952011-06-05 Deniz Dogan <deniz@dogan.se>
15396
15397 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15398 in last change.
15399
ac09b8a1
DD
154002011-06-05 Deniz Dogan <deniz@dogan.se>
15401
15402 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15403 (rcirc): Use it to prompt for encryption.
15404
34699b85
RW
154052011-06-05 Roland Winkler <winkler@gnu.org>
15406
15407 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15408 (bibtex-search-entries): New command bound to C-c C-a.
15409 (bibtex-display-entries): New function.
15410
004dedd3
RW
154112011-06-05 Roland Winkler <winkler@gnu.org>
15412
15413 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15414 (bibtex-insert-kill): After yanking insert newline if necessary.
15415 (bibtex-initialize): Call bibtex-string-files-init only once.
15416 (bibtex-mode): Do not call easy-menu-add.
15417 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15418 (bibtex-yank): Set arg properly if nil.
15419
022fe7ce
RW
154202011-06-05 Roland Winkler <winkler@gnu.org>
15421
2b75be67
SM
15422 * textmodes/bibtex.el (bibtex-search-entry-globally):
15423 New variable.
022fe7ce
RW
15424 (bibtex-search-entry): Use it.
15425
b7c3692a
RW
154262011-06-05 Roland Winkler <winkler@gnu.org>
15427
15428 * textmodes/bibtex.el (bibtex-entry-format): New option
15429 sort-fields.
15430 (bibtex-format-entry, bibtex-reformat): Honor this option.
15431 (bibtex-parse-entry): Return fields in proper order.
15432
8eda563d
JB
154332011-06-05 Juanma Barranquero <lekktu@gmail.com>
15434
15435 * doc-view.el (doc-view-remove-if): Move computation of result out
15436 of `dolist' to silence misleading lexical-binding warning.
15437
7dbe3dbc
CY
154382011-06-04 Chong Yidong <cyd@stupidchicken.com>
15439
15440 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15441 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15442
0c33dd17
MA
154432011-06-04 Michael Albinus <michael.albinus@gmx.de>
15444
15445 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15446 "SunOS 5.10".
15447
f8f91c2b
MA
154482011-06-04 Michael Albinus <michael.albinus@gmx.de>
15449
15450 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15451 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15452 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15453 (tramp-parse-putty):
15454 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15455 (tramp-completion-function-alist-ssh)
15456 (tramp-completion-function-alist-telnet)
15457 (tramp-completion-function-alist-su)
15458 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15459 cookie.
15460
15461 * net/tramp-ftp.el:
15462 * net/tramp-sh.el:
15463 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15464 load "tramp.el" `tramp-set-completion-function'.
15465
e17d9003
SM
154662011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15467
15468 * shell.el: Require and use pcomplete.
15469 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15470 (shell-completion-vars): Set pcomplete-default-completion-function.
15471
6c4cab03
DD
154722011-06-04 Deniz Dogan <deniz@dogan.se>
15473
15474 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15475 `memq' (Bug#8799).
15476
ea9fafe0
SM
154772011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15480
b3e945d3
JB
154812011-06-02 Juanma Barranquero <lekktu@gmail.com>
15482
15483 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15484 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15485 * vc/log-view.el (log-view-beginning-of-defun):
15486 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15487 (smerge-refine-forward, smerge-refine-chopup-region):
15488 Silence warning for unused `dotimes' counter variables.
15489
7d520089
SM
154902011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15491
15492 * net/tramp.el (tramp-with-progress-reporter): Rename from
15493 with-progress-reporter. Use `declare'.
15494 * net/tramp-smb.el:
15495 * net/tramp-sh.el:
15496 * net/tramp-gvfs.el: Update all uses.
15497
a1c2400f
JB
154982011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15499
15500 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15501 buffer isn't killed before making it current.
15502
2403c841
SM
155032011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 Silence various byte-compiler warnings.
15506 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15507 `access-type' and new obsolescence format.
15508 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15509 new format.
15510 (byte-compile-check-variable): New `access-type' argument.
15511 Only warn if the access-type is obsolete.
15512 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15513 (byte-compile-variable-set): Adjust callers.
15514 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15515 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15516 setting it as obsolete.
15517 * simple.el (minibuffer-completing-symbol):
15518 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15519 access as obsolete.
15520 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15521 obsolete yet.
15522 * international/quail.el (quail-mouse-choose-completion): Remove unused
15523 code referring to obsolete var.
15524 (quail-choose-completion-string): Remove.
15525 * server.el (server-clients-with, server-kill-buffer-query-function)
15526 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15527 * proced.el (proced-send-signal):
15528 * emacs-lisp/lisp.el (lisp-complete-symbol):
15529 Replace completion-annotate-function with completion-extra-properties.
15530
2462470b
SM
155312011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15532
fb5b2591
SM
15533 * simple.el (goto-line): Use read-number.
15534 (overriding-map-is-bound): Remove.
15535 (saved-overriding-map): Change default.
15536 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15537 Take the map as argument.
15538 (universal-argument, negative-argument, digit-argument): Use it.
15539 (restore-overriding-map): Adjust.
15540 (do-auto-fill): Use fill-forward-paragraph.
15541 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15542
fd6fa53f
SM
15543 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15544 (minibuffer-inactive-mode): New major mode.
15545 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15546 the *Messages* buffer" hack.
15547 (mouse-popup-menubar): Don't burp if the event is a normal key.
15548
2462470b
SM
15549 Miscellaneous tweaks.
15550 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15551 lexical scoping as in subr.el's dolist and dotimes.
15552 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15553 Silence compiler warning.
15554 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15555 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15556 * international/ccl.el (ccl-compile): Trivial simplification.
15557 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15558 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15559 `printflag' argument.
15560 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15561 Purecopy the whole obsolescence data.
15562
108bf785
LL
155632011-06-01 Leo Liu <sdl.web@gmail.com>
15564
15565 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15566 improve doc-string as suggested by Marco Pessotto
15567 <melmothx@gmail.com>.
15568 (rcirc-print): Fix last change.
15569
30a23501
SM
155702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15571
15572 * minibuffer.el (complete-with-action): Return nil for the metadata and
15573 boundaries of non-functional tables.
15574 (completion-table-dynamic): Return nil for the metadata.
15575 (completion-table-with-terminator): Add default case, using
15576 complete-with-action.
15577 (completion--metadata): New function.
15578 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15579 to try and avoid pathological performance problems.
15580 (completion--embedded-envvar-table): Return `category' metadata.
15581
bcd54f83
LMI
155822011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15583
15584 * subr.el (process-alive-p): New tiny convenience function.
15585
e227544d
SM
155862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15589 content but also its previous major mode.
15590
e8296fdc
HE
155912011-05-31 Helmut Eller <eller.helmut@gmail.com>
15592
4d61f28d 15593 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15594 *Backtrace* buffer when we exit with C-M-c.
15595
620c53a6
SM
155962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * minibuffer.el: Add metadata method to completion tables.
15599 (completion-category-overrides): New defcustom.
15600 (completion-metadata, completion--field-metadata)
15601 (completion-metadata-get, completion--styles)
15602 (completion--cycle-threshold): New functions.
15603 (completion-try-completion, completion-all-completions):
15604 Add `metadata' argument to choose completion-styles.
15605 (completion--do-completion): Use metadata to choose cycling.
15606 (completion-all-sorted-completions): Use metadata for sorting.
15607 Remove :completion-cycle-penalty which is not needed any more.
15608 (completion--try-word-completion): Add `metadata' argument.
15609 (minibuffer-completion-help): Check metadata for annotation function
15610 and sorting.
15611 (completion-file-name-table): Return `category' metadata.
15612 (minibuffer-completing-file-name): Make obsolete.
15613 * simple.el (minibuffer-completing-symbol): Make obsolete.
15614 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15615 completion-try-completion.
15616
1257e755
SM
156172011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15620
3767e706
LL
156212011-05-30 Leo Liu <sdl.web@gmail.com>
15622
15623 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15624 (rcirc-print): Decode all incoming messages (bug#8744).
15625 (rcirc-decode-coding-system): Allow value nil for automatic coding
15626 system detection.
3767e706 15627
d1a5d56a
GM
156282011-06-01 Glenn Morris <rgm@gnu.org>
15629
15630 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15631
e8cbec34
CY
156322011-05-29 Chong Yidong <cyd@stupidchicken.com>
15633
15634 * image.el (image-animate-max-time): Allow nil and t values.
15635 Default to nil.
15636 (create-animated-image): Doc fix.
15637 (image-animate-start): Remove second arg; just use
15638 image-animate-max-time.
15639 (image-animate-timeout): Doc fix. Args changed.
15640
15641 * image-mode.el (image-toggle-display-image): Ensure that the
15642 image spec passed to the animate timer is the same object as in
58179cce 15643 the buffer's display property (Bug#6981).
e8cbec34
CY
15644 (image-transform-properties): Doc fix.
15645
15646 * image.el (image-animate-max-time): Default to nil.
15647
159daf87
MR
156482011-05-29 Martin Rudalics <rudalics@gmx.at>
15649
15650 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15651 entire buffer list (Bug#8184).
15652
d66c4c7c
CY
156532011-05-29 Chong Yidong <cyd@stupidchicken.com>
15654
15655 * image.el (imagemagick-types-inhibit)
15656 (imagemagick-register-types): Doc fix.
15657
80aec780
DD
156582011-05-29 Deniz Dogan <deniz@dogan.se>
15659
15660 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15661 default.
15662
1dd3c2d9
CY
156632011-05-29 Chong Yidong <cyd@stupidchicken.com>
15664
15665 * select.el: Don't perform clipboard-manager saving in hooks;
15666 leave the hooks empty.
15667
60e56523
LL
156682011-05-28 Leo Liu <sdl.web@gmail.com>
15669
15670 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15671 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15672 (occur-edit-mode): New major mode (Bug#8463).
15673 (occur-after-change-function): New function.
15674 (occur-engine): Give Occur tags a read-only property.
15675
2b1e1a22
KR
156762011-05-28 Kevin Ryde <user42@zip.com.au>
15677
15678 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15679
5d344e88
CY
156802011-05-28 Chong Yidong <cyd@stupidchicken.com>
15681
8e6ca83d
CY
15682 * bindings.el (help-echo): Make the initial non-indicator dash
15683 empty on graphical terminals (Bug#7295).
15684
5d344e88
CY
15685 * files.el (auto-mode-alist): Move config rule after the
15686 in-stripping one (Bug#8547).
15687
bfbbace7
CY
15688 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15689
fbeba6e2
CY
15690 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15691 setting (Bug#8740).
15692
60ed8c72
AA
156932011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15694
4ac619f0
AA
15695 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15696 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15697 (Bug#8539).
60ed8c72 15698
23db196e
CY
156992011-05-28 Chong Yidong <cyd@stupidchicken.com>
15700
15701 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15702
5012f24c
DK
157032011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15704
15705 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15706 (hs-hide-block-at-point, hs-find-block-beginning)
15707 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15708 (Bug#8279).
15709
6a639b16
GM
157102011-05-28 Glenn Morris <rgm@gnu.org>
15711
15712 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15713
d43eaf2c
CY
157142011-05-28 Chong Yidong <cyd@stupidchicken.com>
15715
5199bde1
CY
15716 * help-fns.el (describe-function-1): If the function is a derived
15717 major mode, print the parent mode.
15718
d43eaf2c
CY
15719 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15720 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15721
423428a8
SM
157222011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15723
0ff8e1ba 15724 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15725 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15726 * progmodes/etags.el (tags-completion-at-point-function):
15727 * info-look.el (info-lookup-completions-at-point): Mark as
15728 non-exclusive.
15729 (info-complete): Adjust accordingly.
15730
423428a8
SM
15731 * info-look.el: Convert to lexical-binding and completion-at-point.
15732 (info-lookup-completions-at-point): New function.
15733 (info-complete): Use it and completion-in-region.
15734
b74aa22b
DA
157352011-05-28 Drew Adams <drew.adams@oracle.com>
15736
15737 * isearch.el: Let M-e start with point at the first mismatched char.
15738 (isearch-fail-pos): New function.
15739 (isearch-edit-string): Use it.
15740
66e2e71d
DK
157412011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15742
15743 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15744
b1890b0f 157452011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15746
15747 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15748 traversal functions for avl-trees.
15749 (avl-tree--stack): New struct.
15750 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15751 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15752 (avl-tree--do-enter): Add optional `updatefun' arg.
15753 Change return value.
eb95d01d 15754 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15755 (avl-tree--do-delete): Add `test' and `nilflag' args.
15756 Change return value.
eb95d01d
TC
15757 (avl-tree-member): Add optional `nilflag'
15758 (avl-tree-member-p): New function.
15759 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15760 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15761 (avl-tree-stack-empty-p): New functions.
15762
3769ddcf
TC
15763 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15764 avl-tree--del-balance1 and make it work both ways.
15765 (avl-tree--del-balance2): Remove.
15766 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15767 make it work both ways.
15768 (avl-tree--enter-balance2): Remove.
15769 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15770 New macros.
15771 (avl-tree--mapc, avl-tree-map): Add direction argument.
15772
eb95d01d 157732011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15774
15775 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15776
a9f737ee
CY
157772011-05-27 Chong Yidong <cyd@stupidchicken.com>
15778
15779 * select.el: Support clipboard managers with built-in function
15780 x-clipboard-manager-save, via delete-frame-functions and
15781 kill-emacs-hook.
15782 (xselect-convert-to-targets): Add MULTIPLE target to list.
15783 (xselect-convert-to-save-targets): New function.
15784
c92a1e54
KH
157852011-05-27 Kenichi Handa <handa@m17n.org>
15786
15787 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15788 let-binding rfc2047-encode-encoded-words to nil.
15789
e145f188
GM
157902011-05-27 Glenn Morris <rgm@gnu.org>
15791
5ec8a862
GM
15792 * mail/emacsbug.el: Don't require url-util.
15793
4b29d9fb
GM
15794 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15795
e145f188
GM
15796 * files.el (set-auto-mode):
15797 Also respect mode: entries at the end of the file. (Bug#8586)
15798
7d15102b
GM
157992011-05-26 Glenn Morris <rgm@gnu.org>
15800
98f593b8
GM
15801 * files.el (hack-local-variables-prop-line, hack-local-variables):
15802 Downcase mode names, as seems to be traditional.
27b48e63 15803 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15804
7d15102b
GM
15805 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15806 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15807
51d5b4ec
JD
158082011-05-25 Julien Danjou <julien@danjou.info>
15809
15810 * textmodes/rst.el (rst-define-level-faces): Do not define face
15811 symbol if it is already defined.
15812
91513f63
VB
158132011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15814
15815 * play/5x5.el (5x5-new-game, 5x5-randomize):
15816 Reset 5x5-solver-output to nil when a new grid is cast.
15817 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15818 these debugging traces, as defmacro breaks the compiled code.
15819
4d90d6d0
DK
158202011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15821
15822 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15823
e1b90ef6
LL
158242011-05-24 Leo Liu <sdl.web@gmail.com>
15825
15826 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15827 (vc-bzr-sha1): Adapt.
15828
d8e4b68b 15829 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15830
15831 * bindings.el: Provide sha1 feature.
15832
db0406bb 158332011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15834
15835 * mail/sendmail.el: Require `rfc2047'.
15836 (mail-insert-from-field): Do not perform RFC2047 encoding.
15837 (mail-encode-header): New function.
15838 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15839 buffer to the return value of select-message-coding-system.
15840 Call mail-encode-header.
b8d747b9
KH
15841
15842 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15843
db0406bb 158442011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15845
4d90d6d0
DK
15846 * mail/supercite.el (sc-default-cite-frame):
15847 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15848
eb8a5e9b
GM
158492011-05-24 Glenn Morris <rgm@gnu.org>
15850
f8630703
GM
15851 * progmodes/python.el (brm-menu): Declare.
15852
8831bbed
GM
15853 * emulation/viper.el (viper-set-hooks): Declare.
15854
eb8a5e9b
GM
15855 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15856 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15857 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15858 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15859 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15860 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15861
a2a25d24
SM
158622011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15863
15864 Add an :exit-function for completion-at-point.
15865
15866 * minibuffer.el (completion--done): New fun.
15867 (completion--do-completion): Use it. New arg `expect-exact'.
15868 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15869 since completion--do-completion does it for us now.
15870 (minibuffer-force-complete): Use completion--done and
15871 completion--replace. Handle sole-completion case with more care.
15872 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15873 (completion-extra-properties): New var.
15874 (completion-annotate-function): Make obsolete.
15875 (minibuffer-completion-help): Adjust accordingly.
15876 Use completion-list-insert-choice-function.
15877 (completion-at-point, completion-help-at-point):
15878 Bind completion-extra-properties.
15879 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15880 * simple.el (completion-list-insert-choice-function): New var.
15881 (completion-setup-function): Preserve it.
15882 (choose-completion): Pay attention to it, shuffle the code a bit.
15883 (choose-completion-string): New arg `insert-function'.
15884
15885 * textmodes/bibtex.el: Convert to lexical binding.
15886 (bibtex-mode-map): Use completion-at-point.
15887 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15888 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15889 (bibtex-complete): Define as obsolete alias.
15890 (bibtex-complete-internal): Remove.
15891 (bibtex-format-entry): Remove unused sub-group in regexp.
15892 * shell.el (shell--command-completion-data)
15893 (shell-environment-variable-completion):
15894 * pcomplete.el (pcomplete-completions-at-point):
15895 * comint.el (comint--complete-file-name-data): Use :exit-function
15896 instead of completion-table-with-terminator so it also works for
15897 choose-completion.
15898
e44e373d
SM
158992011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15900
4f91a816
SM
15901 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15902
782fc819
SM
15903 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15904 (bug#8710).
15905
e44e373d
SM
15906 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15907
381987c3
KM
159082011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15909
15910 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15911 customization variable and implement: If non-nil, auto-fill will
15912 be inhibited while on topic's header line.
15913
b776bc70
VB
159142011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15915
15916 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15917 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15918 always have a solution in grid size = 5 cases.
15919 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15920 (5x5-solver-output, 5x5-log-buffer): New vars.
15921 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15922 Make these variables buffer local to achieve 5x5 multi-session-ness.
15923 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15924 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15925 (5x5-solve-suggest): New funs.
15926 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15927 randomize a grid so that we ensure that there is always a solution.
15928 (5x5-make-random-grid): Allow other movement than flipping.
15929
7de88b6e
KR
159302011-05-23 Kevin Ryde <user42@zip.com.au>
15931
15932 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15933 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15934 advice and passes PREDICATE.
15935
b1ef1257
SM
159362011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15937
bbca48fe
SM
15938 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15939 byte-compile-lambda if it's actually a lambda.
15940
b1ef1257
SM
15941 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15942 Fix function quoting. Use backquote better.
15943
92a9cc65
YS
159442011-05-22 Yuanle Song <sylecn@gmail.com>
15945
15946 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15947 matching (Bug#8516).
15948
f0fb8059
JA
159492011-01-22 Jari Aalto <jari.aalto@cante.net>
15950
15951 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15952 different face (Bug#8178).
15953
d5b44c93
CY
159542011-05-22 Chong Yidong <cyd@stupidchicken.com>
15955
15956 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15957 defface (Bug#8144).
15958
79106a44
SM
159592011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15960
9c848d8a
SM
15961 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15962 funcall as well (bug#8712). Warn when performing those conversions.
15963 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15964
79106a44
SM
15965 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15966
88dfa756
GM
159672011-05-22 Glenn Morris <rgm@gnu.org>
15968
15969 * files.el (hack-local-variables-prop-line): Small simplifications.
15970 (hack-local-variables, hack-local-variables-prop-line):
15971 If MODE-ONLY, return the mode, rather than just `t'.
15972
b7cf2c79
SM
159732011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15974
15975 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15976
3f1a8558
GM
159772011-05-21 Glenn Morris <rgm@gnu.org>
15978
7e4ccca3
GM
15979 * files.el (hack-local-variables-prop-line, hack-local-variables):
15980 If only interested in the mode, don't bother doing the other stuff.
15981
637d46ca
GM
15982 * image-mode.el (image-after-revert-hook):
15983 Redraw all frames on which the image is visible. (Bug#8567)
15984
973d955b
GM
15985 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15986
3f1a8558
GM
15987 * wid-edit.el (widget-checklist-match-inline):
15988 Fix 2011-04-19 change. (Bug#8649)
15989
96479927
SM
159902011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15991
1dcf791f
SM
15992 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15993 Also allow singlespace after single-letter capitals followed by a dot.
15994
96479927
SM
15995 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15996 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15997
35fd0881
N
159982011-05-20 Nix <nix@esperi.org.uk>
15999
16000 * files.el (basic-save-buffer-2):
16001 Fix handling of break-hardlink-on-save with non-existent files.
16002
82745640
DD
160032011-05-19 Deniz Dogan <deniz@dogan.se>
16004
16005 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16006 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16007
4a720484
GM
160082011-05-19 Glenn Morris <rgm@gnu.org>
16009
d1f21341
GM
16010 * progmodes/f90.el (f90-type-def-re):
16011 Handle "type, bind(c)". (Bug#8691)
16012
4a720484
GM
16013 * emacs-lisp/autoload.el (batch-update-autoloads):
16014 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16015
2fb0a219
MA
160162011-05-18 Michael Albinus <michael.albinus@gmx.de>
16017
16018 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16019 property for the correct connection in case of multihops.
16020
e565dd37
GM
160212011-05-18 Glenn Morris <rgm@gnu.org>
16022
c2571358 16023 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16024 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16025
e565dd37
GM
16026 Rationalize calendar handling of day and month abbrev-arrays.
16027 * calendar/calendar.el (calendar-customized-p): New function.
16028 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16029 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16030 Add :set function.
16031 (calendar-abbrev-length, calendar-day-abbrev-array)
16032 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16033 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16034 Elements may no longer be nil.
16035 (calendar-day-name, calendar-month-name):
16036 Update for changed nature of abbrev arrays.
16037 * calendar/diary-lib.el (diary-name-pattern):
16038 Update for changed nature of abbrev arrays.
16039 (diary-mark-entries-1): Update calendar-make-alist calls.
16040 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16041 * calendar/cal-html.el (cal-html-day-abbrev-array):
16042 Simply inherit from calendar-day-abbrev-array.
16043
1d99a745
SM
160442011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * progmodes/grep.el (grep-mode): Disable default
16047 compilation-directory-matcher setting (bug#8684).
16048
7c1d9aa0
MA
160492011-05-17 Michael Albinus <michael.albinus@gmx.de>
16050
16051 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16052 instead of "head" and "tail". There were problems with SunOS 5.9,
16053 and it performs better.
16054
3952e9d8
GM
160552011-05-17 Glenn Morris <rgm@gnu.org>
16056
2dd12e7f
GM
16057 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16058
e4157b9c
GM
16059 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16060 Replace obsolete function.
16061
8e249bbd
GM
16062 * shell.el (pcomplete-parse-arguments-function): Declare.
16063
3952e9d8
GM
16064 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16065 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16066 (appt-check): Doc fixes.
16067 (appt-disp-window-function, appt-delete-window-function):
16068 Remove needless special case in custom :type.
16069 (appt-display-count): Default to 0, not nil.
16070 (appt-check): Reset appt-display-count to 0, not nil.
16071
c71a0d48 160722011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16073
c71a0d48
GM
16074 * progmodes/python.el (python-font-lock-keywords):
16075 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16076
31d55be9
SM
160772011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16080
3bfacb2f
KR
160812011-05-16 Kevin Ryde <user42@zip.com.au>
16082
16083 * info-look.el (makefile-automake-mode): New setups, looking in
16084 automake manual, then makefile-mode.
16085 (makefile-mode): Remove automake manual, have it just in
16086 makefile-automake-mode since there's various things different or
16087 not relevant to plain make.
16088 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16089 believe a hypothetical automake-mode would go to makefile-mode,
16090 not the other way around.
16091
c8e83751
CY
160922011-05-15 Chong Yidong <cyd@stupidchicken.com>
16093
5e9e35cd
CY
16094 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16095 hunk-end tags (Bug#8672).
16096
c8e83751
CY
16097 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16098 vc-annotate-show-diff-revision-at-line (Bug#8671).
16099
50b23e5a
GM
161002011-05-14 Glenn Morris <rgm@gnu.org>
16101
7210a739
GM
16102 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16103 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16104 (change-log-font-lock-keywords): Also handle multiple author lines
16105 with leading tabs. (Bug#8644)
7210a739 16106
4691905a
GM
16107 * calendar/appt.el (appt-check): Rename some local variables.
16108 Some simplification/reordering.
16109
50b23e5a
GM
16110 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16111 (feedmail-sendmail-f-doesnt-sell-me-out)
16112 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16113 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16114 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16115 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16116 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16117 (feedmail-binmail-gnulinuxish-template):
16118 Rename from feedmail-binmail-linuxish-template.
16119 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16120 Use insert-buffer-substring.
16121
215cda7c
BC
161222011-05-14 Bill Carpenter <bill@carpenter.org>
16123
16124 * mail/feedmail.el (feedmail-patch-level): Increase.
16125 (feedmail-debug): New custom group.
16126 (feedmail-confirm-outgoing-timeout)
16127 (feedmail-sendmail-f-doesnt-sell-me-out)
16128 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16129 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16130 (feedmail-sender-line, feedmail-from-line)
16131 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16132 (feedmail-spray-this-address)
215cda7c
BC
16133 (feedmail-spray-address-fiddle-plex-list)
16134 (feedmail-queue-use-send-time-for-date)
16135 (feedmail-queue-use-send-time-for-message-id)
16136 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16137 (feedmail-buffer-eating-function):
16138 Doc fixes.
16139 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16140 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16141 (feedmail-message-action-scroll-down): New functions.
16142 (feedmail-queue-directory, feedmail-queue-draft-directory):
16143 Use expand-file-name.
16144 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16145 Remove C-v help entry.
16146 (feedmail-queue-buffer-file-name): New variable.
16147 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16148 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16149 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16150 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16151 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16152 (feedmail-message-action-toggle-spray)
16153 (feedmail-run-the-queue-no-prompts)
16154 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16155 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16156 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16157 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16158 (feedmail-envelope-deducer, feedmail-fiddle-from)
16159 (feedmail-fiddle-sender, feedmail-default-date-generator)
16160 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16161 (feedmail-fiddle-spray-address)
16162 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16163 (feedmail-fiddle-list-of-fiddle-plexes)
16164 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16165 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16166 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16167 Change default. Doc fix.
16168 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16169 (feedmail-binmail-linuxish-template): New constant.
16170 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16171 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16172 (feedmail-send-it): Add debug call.
16173 Use feedmail-queue-buffer-file-name, and
16174 feedmail-send-it-immediately-wrapper.
16175 (feedmail-message-action-send): Add debug call.
16176 Use feedmail-send-it-immediately-wrapper.
16177 (feedmail-queue-express-to-queue): Add debug call.
16178 Run feedmail-queue-express-hook.
16179 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16180 (feedmail-message-action-help-blat):
16181 Rename from feedmail-queue-send-edit-prompt-help-first.
16182 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16183 Check line-endings. Handle errors better.
16184 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16185 Doc fix. Add debug call.
16186 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16187 Use feedmail-queue-send-edit-prompt-inner.
16188 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16189 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16190 from feedmail-queue-send-edit-prompt.
16191 (feedmail-queue-send-edit-prompt-help)
16192 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16193 (feedmail-tidy-up-slug): Add debug call.
16194 Respect feedmail-queue-slug-suspect-regexp.
16195 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16196 (feedmail-dump-message-to-queue): Add debug call.
16197 Expand queue-directory.
16198 (feedmail-dump-message-to-queue): Change message slightly.
16199 Use feedmail-say-chatter.
16200 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16201 (feedmail-send-it-immediately-wrapper): New function.
16202 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16203 Insert empty string rather than newline. Handle full-frame case.
16204 Use catch/throw. Use feedmail-say-chatter.
16205 (feedmail-fiddle-from): Try mail-host-address.
16206 (feedmail-default-message-id-generator): Doc fix.
16207 Bind system-time-locale. Handle missing end.
16208 (feedmail-fiddle-x-mailer): Add debug call.
16209 Handle feedmail-x-mailer-line being nil.
16210 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16211 Add debug call. Use buffer-substring-no-properties.
16212 (feedmail-say-debug, feedmail-say-chatter): New functions.
16213 (feedmail-find-eoh): Give an explicit error.
16214
42c7e61e
UJ
162152011-05-13 Ulf Jasper <ulf.jasper@web.de>
16216
c2571358 16217 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16218 family from helvetica to sans.
c2571358 16219 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16220 etc/images/newsticker.
16221
c2571358 16222 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16223 family from helvetica to sans.
16224
16225 * net/newst-plainview.el (newsticker-new-item-face)
16226 (newsticker-old-item-face, newsticker-immortal-item-face)
16227 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16228 (newsticker-statistics-face): Change default family from
42c7e61e 16229 helvetica to sans.
c2571358 16230 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16231 etc/images/newsticker.
16232
5d3385a0
JB
16233 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16234 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16235 auto-marking.
16236
8497a297
DV
162372011-05-13 Didier Verna <didier@xemacs.org>
16238
16239 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16240 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16241 TODO entries.
8497a297
DV
16242 (lisp-lambda-list-keyword-parameter-indentation)
16243 (lisp-lambda-list-keyword-parameter-alignment)
16244 (lisp-lambda-list-keyword-alignment): New customizable user options.
16245 (lisp-indent-defun-method): Improve docstring.
16246 (extended-loop-p): Fix comment.
16247 (lisp-indent-lambda-list-keywords-regexp): New variable.
16248 (lisp-indent-lambda-list): New function.
16249 (lisp-indent-259): Use it.
16250 (lisp-indent-defmethod): Support for more than one
16251 method qualifier and properly indent methods lambda-lists.
16252 (defgeneric): Provide a missing common-lisp-indent-function property.
16253
f278f87f
SM
162542011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16255
16256 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16257 bounds for the empty string (bug#8667).
16258
5233edd7
GM
162592011-05-13 Glenn Morris <rgm@gnu.org>
16260
5237a44f
GM
16261 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16262
8340026c 16263 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16264 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16265
5233edd7 16266 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16267 (appt-time-msg-list): Doc fix.
a5464014 16268 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16269
92d10796
AS
162702011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16271
16272 * progmodes/ld-script.el (ld-script-keywords)
16273 (ld-script-builtins): Update keywords list.
16274
914a0ae1
SM
162752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16276
c89be45f
SM
16277 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16278
914a0ae1
SM
16279 * shell.el (shell-completion-vars): New function.
16280 (shell-mode):
16281 * simple.el (read-shell-command): Use it.
16282 (blink-matching-open): No need for " [...]" in minibuffer-message.
16283
98dc3df3
GM
162842011-05-12 Glenn Morris <rgm@gnu.org>
16285
16286 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16287 (appt-check): Simplify.
16288
d2fc7e3d 162892011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16290
4d61f28d 16291 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16292 literal "/dev/null".
16293
d2fc7e3d 162942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16295
16296 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16297 Fix typo.
16298
d2fc7e3d 162992011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16300
3f254caa
SM
16301 * progmodes/which-func.el (which-function):
16302 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16303 which might not be defined (Bug#8260).
16304
d45885f7
GM
163052011-05-12 Glenn Morris <rgm@gnu.org>
16306
16307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16308 Let byte-compile-initial-macro-environment always take precedence.
16309
488086f4
SM
163102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * net/rcirc.el: Add support for SSL/TLS connections.
16313 (rcirc-server-alist): New field `encryption'.
16314 (rcirc): Check `encryption' settings.
16315 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16316 Merge make-local-variable into `set'.
16317 (rcirc--connection-open-p): New function.
16318 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16319 the process is not a network process (e.g. running gnutls-cli).
16320 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16321 Make rcirc-(en|de)code-coding-system local here.
16322 (rcirc-mode): Merge make-local-variable into `set'.
16323 (rcirc-parent-buffer): Make permanent buffer-local.
16324 (rcirc-multiline-minor-mode): Don't do it here.
16325 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16326 there's no server buffer.
16327
7d3b9d44
GM
163282011-05-11 Glenn Morris <rgm@gnu.org>
16329
f64049c6
GM
16330 * newcomment.el (comment-kill): Prefix "unused" local.
16331
93c9df73
GM
16332 * term/w32console.el (get-screen-color): Declare.
16333
7d3b9d44
GM
16334 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16335 Handle symbol elements of byte-compile-initial-macro-environment.
16336
9e2dd53f
LL
163372011-05-10 Leo Liu <sdl.web@gmail.com>
16338
488086f4
SM
16339 * bookmark.el (bookmark-bmenu-mode-map):
16340 Bind bookmark-bmenu-search to `/'.
8b340240 16341
9e2dd53f 16342 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16343 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16344 (Footnote-unicode): New function.
16345 (footnote-style-alist): Add unicode style to the list.
16346 (footnote-style): Doc fix.
9e2dd53f 16347
79b70037
GM
163482011-05-10 Jim Meyering <meyering@redhat.com>
16349
16350 Fix doubled-word typos.
16351 * international/quail.el (quail-insert-kbd-layout): and and -> and
16352 * kermit.el: and and -> and
16353 * net/ldap.el (ldap-search-internal): to to -> to
16354 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16355 * progmodes/js.el (js-mode): and and -> and
16356 * textmodes/artist.el (artist-move-to-xy): at at -> at
16357 (artist-draw-region-trim-line-endings): if if -> if
16358 And Safetyc -> Safety.
16359 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16360
b8f82dc1 163612011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16362 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16363
16364 * files.el (hack-one-local-variable-eval-safep):
16365 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16366
4f99f44b
GM
163672011-05-10 Glenn Morris <rgm@gnu.org>
16368
16369 * calendar/diary-lib.el (diary-list-entries-hook)
16370 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16371 (diary-nongregorian-marking-hook, diary-list-entries)
16372 (diary-include-other-diary-files, diary-mark-entries)
16373 (diary-mark-included-diary-files): Doc fixes.
16374
84f29e6b
JB
163752011-05-09 Juanma Barranquero <lekktu@gmail.com>
16376
16377 * misc.el: Require tabulated-list.el during compilation.
16378
9bedd73a
CY
163792011-05-09 Chong Yidong <cyd@stupidchicken.com>
16380
488086f4
SM
16381 * progmodes/compile.el (compilation-start):
16382 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16383 (compilation-filter-hook): Doc fix.
16384
797c735c
DD
163852011-05-09 Deniz Dogan <deniz@dogan.se>
16386
16387 * wdired.el: Remove outdated installation comment. Fix usage
16388 comment.
16389
5f4b1dfe
JB
163902011-05-09 Juanma Barranquero <lekktu@gmail.com>
16391
16392 * misc.el: Implement new command `list-dynamic-libraries'.
16393 (list-dynamic-libraries--loaded-only-p): New variable.
16394 (list-dynamic-libraries--refresh): New function.
16395 (list-dynamic-libraries): New command.
16396
4c44026c
CY
163972011-05-09 Chong Yidong <cyd@stupidchicken.com>
16398
488086f4
SM
16399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16400 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16401 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16402 higher priority to avoid clobbering by gnu.
16403
027f966d
CY
164042011-05-08 Chong Yidong <cyd@stupidchicken.com>
16405
16406 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16407 if the face has existing theme settings (Bug#8454).
16408
085f5d7d
CY
164092011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16410
488086f4
SM
16411 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16412 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16413
2a86a00c
RS
16414 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16415 special file names `.' and `..' (Bug#8259).
16416
d9c54a06
CY
164172011-05-08 Chong Yidong <cyd@stupidchicken.com>
16418
488086f4
SM
16419 * progmodes/grep.el (grep-mode-font-lock-keywords):
16420 Remove buffer-changing entries.
d9c54a06
CY
16421 (grep-filter): New function.
16422 (grep-mode): Add it to compilation-filter-hook.
16423
16424 * progmodes/compile.el (compilation-filter-hook)
16425 (compilation-filter-start): New defvars.
16426 (compilation-filter): Call compilation-filter-hook prior to
16427 updating the process mark.
16428
c4662635
SM
164292011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16430
16431 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16432
b0512a1d
EZ
164332011-05-07 Eli Zaretskii <eliz@gnu.org>
16434
605c9376
EZ
16435 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16436 mailclient-send-it even if window-system is nil. (Bug#8595)
16437
c4662635
SM
16438 * term/w32console.el (terminal-init-w32console):
16439 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16440 background-mode. (Bug#8597)
16441
d1dc2cc2
SM
164422011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16443
16444 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16445 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16446 New functions.
16447 (defgeneric, eieio--defmethod): Use them.
16448 (eieio-defgeneric): Remove.
16449 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16450
915d1300
GM
164512011-05-07 Glenn Morris <rgm@gnu.org>
16452
a3961c3e
GM
16453 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16454 Use let rather than let*.
16455 (timeclock-find-discrep): Remove unused local.
16456
314347b9
GM
16457 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16458
915d1300
GM
16459 * calendar/appt.el (appt-time-msg-list): Doc fix.
16460
275b59b0
NF
164612011-05-06 Noah Friedman <friedman@splode.com>
16462
16463 * apropos.el (apropos-print-doc): Only use
16464 emacs-lisp-docstring-fill-column when it is bound to an integer,
16465 per that variable's documentation.
16466
6c19f744
SM
164672011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16468
16469 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16470 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16471
60f884b2
GM
164722011-05-06 Glenn Morris <rgm@gnu.org>
16473
5006e634
GM
16474 * calendar/appt.el (appt-message-warning-time): Doc fix.
16475 (appt-warning-time-regexp): New option.
16476 (appt-make-list): Respect appt-message-warning-time.
16477
548d0a63
GM
16478 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16479 New options.
16480 (diary-add-to-list): Strip comments from the displayed string.
16481 (diary-mode): Set comment-start and comment-end.
16482
60f884b2
GM
16483 * vc/diff-mode.el (smerge-refine-subst): Declare.
16484 (diff-refine-hunk): Don't require smerge-mode when compiling.
16485
989681bb
JB
164862011-05-06 Juanma Barranquero <lekktu@gmail.com>
16487
16488 * simple.el (list-processes): Return nil as the docstring says.
16489
a6bc05e1
MA
164902011-05-05 Michael Albinus <michael.albinus@gmx.de>
16491
16492 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16493 to "".
16494 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16495 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16496 determining of binary transfer. (Bug#7383)
16497
23c22e9a
MA
164982011-05-05 Michael Albinus <michael.albinus@gmx.de>
16499
c4662635
SM
16500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16501 Fix port computation bug. (Bug#8618)
23c22e9a 16502
0bff894f
GM
165032011-05-05 Glenn Morris <rgm@gnu.org>
16504
b8296902
GM
16505 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16506
1f522ce8
GM
16507 * simple.el (shell-dynamic-complete-functions)
16508 (comint-dynamic-complete-functions): Declare.
16509
cf5bee67
GM
16510 * net/network-stream.el (gnutls-negotiate):
16511 * simple.el (tabulated-list-print): Fix declarations.
16512
16513 * progmodes/gud.el (syntax-symbol, syntax-point):
16514 Remove unnecessary and incorrect declarations.
16515
0bff894f
GM
16516 * emacs-lisp/check-declare.el (check-declare-scan):
16517 Handle byte-compile-initial-macro-environment in bytecomp.el
16518
9869b3ae
SM
165192011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 Fix earlier half-done eieio-defmethod change (bug#8338).
16522 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16523 Streamline and change calling convention.
16524 (defmethod): Adjust accordingly and simplify.
16525 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16526 new eieio--defmethod.
16527 (slot-boundp): Minor CSE simplification.
16528
9c1d5ac5
MZ
165292011-05-05 Milan Zamazal <pdm@zamazal.org>
16530
16531 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16532 (glasses-make-readable): Use glasses-separate-capital-groups.
16533
455c834e
JB
165342011-05-05 Juanma Barranquero <lekktu@gmail.com>
16535
16536 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16537 (warning-series): Doc fix.
16538 (display-warning): Don't try to create the buffer if we just found it.
16539
9ed7c8cb
CY
165402011-05-04 Chong Yidong <cyd@stupidchicken.com>
16541
16542 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16543 (autoload-find-generated-file): New function.
16544 (generate-file-autoloads): Bind generated-autoload-file to
16545 buffer-file-name.
9869b3ae
SM
16546 (update-file-autoloads, update-directory-autoloads):
16547 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16548 output file (Bug#7989).
16549 (batch-update-autoloads): Doc fix.
16550
0898ca10
JB
165512011-05-04 Juanma Barranquero <lekktu@gmail.com>
16552
16553 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16554
31dfb76c
GM
165552011-05-04 Glenn Morris <rgm@gnu.org>
16556
f330b642
GM
16557 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16558 function, so it follows changes in calendar-date-style.
16559 (diary-fancy-date-matcher): New function.
16560 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16561 (diary-fancy-font-lock-fontify-region-function):
16562 Use diary-fancy-date-pattern as a function.
16563
31dfb76c
GM
16564 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16565 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16566
48e79d6a
TZ
165672011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16568
16569 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16570 instead of positional arguments. Allow :keylist and :crlfiles
16571 arguments.
16572 (open-gnutls-stream): Call it.
16573
16574 * net/network-stream.el (network-stream-open-starttls): Adjust to
16575 call `gnutls-negotiate' with :process and :hostname arguments.
16576
dd5a5ee0
SM
165772011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16578
ef80fc09
SM
16579 * minibuffer.el (completion--message): New function.
16580 (completion--do-completion, minibuffer-complete)
16581 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16582 (completion--do-completion): Don't ignore completion-auto-help when in
16583 icomplete-mode.
16584
dd5a5ee0
SM
16585 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16586 internal encoding (e.g. tibetan zero is not whitespace).
16587 (global-whitespace-mode): Prefer save-current-buffer.
16588 (whitespace-trailing-regexp): Remove useless save-match-data.
16589 (whitespace-empty-at-bob-regexp): Minor simplification.
16590
b7d22a83
CY
165912011-05-03 Chong Yidong <cyd@stupidchicken.com>
16592
16593 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16594
5192af46
AM
165952011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16596
16597 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16598 Use `concat' to create string for insertion.
5192af46 16599
5767d190
SM
166002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16601
16602 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16603 Avoid open-line which runs post-self-insert-hook.
16604 (bibtex-fill-entry): Remove unused `end' var.
16605
bf242939
AM
166062011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16607
5767d190
SM
16608 * textmodes/ispell.el (ispell-add-per-file-word-list):
16609 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16610
25666126
LL
166112011-05-03 Leo Liu <sdl.web@gmail.com>
16612
16613 * isearch.el (isearch-yank-pop): New command.
5767d190 16614 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16615 (isearch-forward): Mention it.
16616
52d3c2d0
SM
166172011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16618
1bcace58
SM
16619 * simple.el (minibuffer-complete-shell-command): Remove.
16620 (minibuffer-local-shell-command-map): Use completion-at-point.
16621 (read-shell-command): Setup completion vars here instead.
16622 (read-expression-map): Bind TAB to symbol completion.
16623
52d3c2d0
SM
16624 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16625 error directly rather via storing it into `results'.
16626
35813471
LL
166272011-05-02 Leo Liu <sdl.web@gmail.com>
16628
16629 * vc/diff.el: Fix description.
16630
e793a940
LMI
166312011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16632
16633 * server.el (server-eval-at): New function.
16634
8de66e05
LMI
166352011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636
16637 * net/network-stream.el (open-network-stream): Take a :nowait
16638 parameter and pass it on to `make-network-process'.
16639 (network-stream-open-plain): Ditto.
16640
dcb79f20
AS
166412011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16642
16643 * faces.el (face-spec-set-match-display): Don't match toolkit
16644 options on terminal frames.
16645
14a7fbd8
SM
166462011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16647
7eabc1be
SM
16648 * progmodes/pascal.el: Use lexical binding.
16649 (pascal-mode-map): Remove author preferences.
16650
14a7fbd8
SM
16651 * pcomplete.el (pcomplete-std-complete): Don't abuse
16652 completion-at-point.
16653
50f84510
JB
166542011-04-28 Juanma Barranquero <lekktu@gmail.com>
16655
6e087a44
JB
16656 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16657 removing code that has been dead since 1991 or so.
16658
50f84510
JB
16659 * startup.el (command-line): When warning about "_emacs", use a
16660 delayed warning to allow the user to filter it out.
16661
0ba690bd
DD
166622011-04-28 Deniz Dogan <deniz@dogan.se>
16663
16664 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16665 user has not joined.
16666
08abfaad
SM
166672011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16668
16669 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16670 aren't any completions at point.
16671
638f053a
JB
166722011-04-28 Juanma Barranquero <lekktu@gmail.com>
16673
16674 * subr.el (display-delayed-warnings): New function.
16675 (delayed-warnings-hook): New variable.
16676
8fff8daa
SM
166772011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16678
08abfaad
SM
16679 * minibuffer.el (completion-at-point, completion-help-at-point):
16680 Don't presume that a given completion-at-point-function will always
16681 use the same calling convention.
16682
8fff8daa
SM
16683 * pcomplete.el (pcomplete-completions-at-point):
16684 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16685 pcomplete-seen is non-nil.
16686 (pcomplete-comint-setup): Also recognize the new comint/shell
16687 completion functions.
16688 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16689 pcomplete-seen is non-nil.
16690
841a1577 166912011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16692
841a1577 16693 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16694 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16695 the first character in the entry. This allows for code to add its
211ec907
UJ
16696 own uid to the entry.
16697 (icalendar--convert-float-to-ical): Add export of
16698 `diary-float'-entries save for those with the optional DAY
16699 argument.
16700
2a782793
DC
167012011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16702
16703 * subr.el (shell-quote-argument): Use alternate escaping strategy
16704 when we spot a variable reference in a string.
16705
0438ce91
DC
167062011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16707
16708 * cus-start.el (all): Define customization for debug-on-event.
16709
841a1577 167102011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16711
16712 * subr.el (shell-quote-argument): Escape correctly under Windows.
16713
d090ed6c
SM
167142011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16715
16716 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16717
bfd31217
MA
167182011-04-25 Michael Albinus <michael.albinus@gmx.de>
16719
d090ed6c
SM
16720 * net/tramp.el (tramp-process-actions): Add POS argument.
16721 Delete region between POS and (pos).
bfd31217 16722
d090ed6c
SM
16723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16724 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16725 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16726
16727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16728 position in `tramp-process-actions' call.
16729
16730 * net/trampver.el: Update release number.
16731
e92f3bd3
SM
167322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16733
850256b5
SM
16734 * custom.el (defcustom): Obey lexical-binding.
16735
e92f3bd3
SM
16736 Fix octave-inf completion problems reported by Alexander Klimov.
16737 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16738 Inherit from octave-mode-syntax-table.
16739 (inferior-octave-mode): Set info-lookup-mode.
16740 (inferior-octave-completion-at-point): New function.
16741 (inferior-octave-complete): Use it and completion-in-region.
16742 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16743 comint-filename-completion.
16744 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16745 symbol elements which shouldn't be word elements.
16746 (octave-font-lock-keywords, octave-beginning-of-defun)
16747 (octave-function-header-regexp): Adjust regexps accordingly.
16748 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16749
cd22b309
JB
167502011-04-25 Juanma Barranquero <lekktu@gmail.com>
16751
16752 * net/gnutls.el (gnutls-errorp): Declare before first use.
16753
8b492194
TZ
167542011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16755
16756 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16757 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16758 default trustfile exists before going to use it. Add missing
5a5fa834 16759 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16760 Reported by Claudio Bley <claudio.bley@gmail.com>.
16761 (open-gnutls-stream): Add usage example.
16762
16763 * net/network-stream.el (network-stream-open-starttls): Give host
16764 parameter to `gnutls-negotiate'.
16765 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16766 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16767
841a1577 167682011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16769
cd22b309
JB
16770 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16771 Use correct match group (bug#8438).
05842630 16772
3ba7869c
CY
167732011-04-24 Chong Yidong <cyd@stupidchicken.com>
16774
512e3ae1
CY
16775 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16776 (package-menu--generate): New arg specifying packages to show.
16777 (package-menu-refresh, package-menu-execute, list-packages):
16778 Callers changed.
16779 (package-show-package-list): New function, replacing deleted
16780 package--list-packages (renamed because it is non-internal).
16781
16782 * finder.el (finder-list-matches): Use package-show-package-list
16783 instead of deleted package--list-packages.
16784
e92f3bd3
SM
16785 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16786 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16787 (vc-annotate-mode-map): Bind it to RET.
16788
7031be6d
UR
167892011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16790
16791 * progmodes/etags.el (next-file): Don't use set-buffer to change
16792 buffers (Bug#8478).
16793
4ef177aa
CY
167942011-04-24 Chong Yidong <cyd@stupidchicken.com>
16795
c8d173eb
CY
16796 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16797
4ef177aa
CY
16798 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16799 (apropos-accumulator): Doc fix.
16800 (apropos-function, apropos-macro, apropos-command)
16801 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16802 (apropos-plist): Add face property.
16803 (apropos-symbols-internal): Fix indentation.
16804 (apropos-print): Simplify help, and recognize apropos-multi-type.
16805 (apropos-print-doc): Use button-type-get to extract the button's
16806 face property. Fill docstring (Bug#8352).
16807
4ffd0d6b 168082011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16809
16810 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16811
c6c32125 16812 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16813 (mpuz-mode-map): Use mapc.
c6c32125
JB
16814 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16815 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16816 Fix typos in docstrings.
16817
58d468b4
JB
16818 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16819 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16820
6470c3c6
JB
16821 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16822
4ffd0d6b 168232011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16824
16825 * minibuffer.el (completion--do-completion): Avoid the "Next char
16826 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16827
3ad8bad0
CY
16828 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16829 mouse-2 into unread-command-events, it is interpreted correctly.
16830
71d73c9c 16831 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16832 (image-toggle-display): Doc fix.
71d73c9c 16833
841a1577 168342011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16835
4ffd0d6b
GM
16836 * textmodes/page.el (what-page): Use line-number-at-pos to
16837 calculate line number (Bug#6825).
6e1dbaa9 16838
c2fb1b60
JB
168392011-04-22 Juanma Barranquero <lekktu@gmail.com>
16840
16841 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16842 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16843 Pass argument NO-DEFAULT to `find-tag-interactive'.
16844
e02f48d7
JB
168452011-04-22 Juanma Barranquero <lekktu@gmail.com>
16846
16847 Lexical-binding cleanup.
16848
16849 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16850 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16851 * progmodes/ada-prj.el (ada-prj-initialize-values)
16852 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16853 (ada-prj-show-value):
16854 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16855 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16856 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16857 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16858 * progmodes/bug-reference.el (bug-reference-push-button):
16859 * progmodes/fortran.el (fortran-line-length):
16860 * progmodes/glasses.el (glasses-change):
16861 * progmodes/octave-mod.el (octave-fill-paragraph):
16862 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16863 (python-pdbtrack-grub-for-buffer, python-sentinel):
16864 * progmodes/sql.el (sql-save-connection):
16865 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16866 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16867 Mark unused parameters.
16868
16869 * progmodes/compile.el (compilation--flush-directory-cache)
16870 (compilation--flush-parse, compile-internal): Mark unused parameters.
16871 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16872 (compilation-next-error-function): Remove unused variable `timestamp'.
16873
16874 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16875 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16876
16877 * progmodes/dcl-mode.el (dcl-end-of-command):
16878 Remove unused variable `start'.
16879 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16880 (dcl-option-value-basic, dcl-option-value-offset)
16881 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16882 Mark unused parameters.
16883 (dcl-save-local-variable): Remove unused variable `val'.
16884 (mode): Declare.
16885
16886 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16887 Mark unused parameters.
16888 (delphi-ignore-changes): Move before first use.
16889 (delphi-charset-token-at): Remove unused variable `start'.
16890 (delphi-else-start): Remove unused variable `if-count'.
16891 (delphi-comment-block-start, delphi-comment-block-end):
16892 Remove unused variable `kind'.
16893 (delphi-indent-line): Remove unused variable `new-point'.
16894
16895 * progmodes/ebrowse.el (ebrowse-files-list)
16896 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16897 Mark unused parameters. Don't quote `lambda'.
16898 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16899 Don't quote `lambda'.
16900 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16901 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16902 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16903 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16904 Use `ignore-errors'.
16905 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16906 (ebrowse-view/find-file-and-search-pattern)
16907 (ebrowse-view/find-member-declaration/definition):
16908 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16909 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16910 Rename parameter PREFIX-ARG to PREFIX.
16911 (ebrowse-tags-read-name): Remove unused variables `start' and
16912 `member-info'.
16913 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16914 to `tags-file'.
16915
16916 * progmodes/etags.el (local-find-tag-hook): Declare.
16917 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16918 Mark unused parameters.
16919
16920 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16921 (executable-interpret): Mark unused parameter.
16922
16923 * progmodes/flymake.el (flymake-process-sentinel)
16924 (flymake-after-change-function)
16925 (flymake-create-temp-with-folder-structure)
16926 (flymake-get-include-dirs-dot): Mark unused parameters.
16927 (flymake-safe-delete-directory): Remove unused variable `err'.
16928
16929 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16930 (speedbar-timer-fn, speedbar-line-text)
16931 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16932 (speedbar-center-buffer-smartly): Declare functions.
16933 (gdb-find-watch-expression): Remove unused variable `array'.
16934 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16935 (gdb-starting): Mark unused parameters.
16936 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16937 (gdb-table-string): Remove unused variable `res'.
16938 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16939 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16940 (gdb-display-buffer): Remove unused variable `cur-size'.
16941
16942 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16943 allow lexical-binding compilation.
16944 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16945 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16946 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16947 Mark unused parameters.
16948 (gud-gdb-marker-filter): Remove unused variable `match'.
16949 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16950 lambda expressions and funcall them, instead of using `fset'.
16951
16952 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16953 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16954
16955 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16956 variable `header-beg'; use `let'.
16957
16958 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16959 `restart', `last-sexp' and `at-do'.
16960
16961 * progmodes/js.el (js--debug): Mark unused parameter.
16962 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16963 (js--splice-into-items): Remove unused variable `item'.
16964 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16965
16966 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16967 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16968 (makefile-complete): Remove unused variable `try'.
16969 (makefile-fill-paragraph, makefile-match-function-end):
16970 Mark unused parameters.
16971
16972 * progmodes/octave-inf.el (inferior-octave-complete):
16973 Remove unused variable `proc'.
16974 (inferior-octave-output-digest): Mark unused parameter.
16975
16976 * progmodes/perl-mode.el (perl-calculate-indent):
16977 Remove unused variable `err'.
16978
16979 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16980 (prolog-indent-line): Mark unused parameters.
16981 (prolog-indent-line): Remove unused variable `beg'.
16982
16983 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16984 (reporter-dont-compact-list): Declare.
16985
16986 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16987 Remove unused variable `char'.
16988 (sh-debug): Mark unused parameter.
16989 (sh-get-indent-info): Remove unused variable `start'.
16990 (sh-calculate-indent): Remove unused variable `var'.
16991
16992 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16993 (simula-electric-keyword): Remove unused variable `null'.
16994 (simula-search-backward, simula-search-forward): Remove unused
16995 variables `begin' and `end'.
16996
16997 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16998 Remove unused variable `pos'.
16999 (vera-electric-tab, vera-comment-uncomment-region):
17000 Mark unused parameters.
17001 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17002
7ede3b65
CY
170032011-04-22 Chong Yidong <cyd@stupidchicken.com>
17004
17005 * emacs-lisp/package.el (package--builtins, package-alist)
17006 (package-load-descriptor, package-built-in-p, package-activate)
17007 (define-package, package-installed-p)
17008 (package-compute-transaction, package-buffer-info)
17009 (package--push): Doc fix. Distinguish more clearly between
17010 version strings and version lists.
17011
121656e9
JB
170122011-04-21 Juanma Barranquero <lekktu@gmail.com>
17013
17014 Lexical-binding cleanup.
17015
17016 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17017 (5x5-make-mutate-best):
17018 * play/fortune.el (fortune-in-buffer):
17019 * play/gomoku.el (gomoku-init-display):
17020 * play/solitaire.el (solitaire, solitaire-do-check):
17021 * play/tetris.el (tetris-default-update-speed-function):
17022 Mark unused parameters.
17023
17024 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17025 (bubbles--shift): Remove unused variable `char-org'.
17026 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17027 (bubbles--show-images): Remove unused variable `char'.
17028
17029 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17030 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17031 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17032 (decipher-analyze-buffer): Use ?\s.
17033 (decipher-make-checkpoint): Remove unused variable `mapping'.
17034
17035 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17036
17037 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17038 Remove unused variable `result'; use `let'.
17039
17040 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17041 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17042 (gametree-children-shown-p, gametree-compute-reduced-score):
17043 Use `ignore-errors'.
17044
17045 * play/handwrite.el (ps-lpr-switches): Declare.
17046 (handwrite): Remove unused variables `pmin' and `lastp'.
17047
17048 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17049
17050 * play/landmark.el (landmark-init-display)
17051 (landmark-update-naught-weights): Mark unused parameters.
17052 (landmark-y): Remove unused variable `noise'. Simplify.
17053 (landmark-human-plays): Remove unused variable `score'.
17054
17055 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17056 (mpuz-try-proposal): Remove unused variable `game'.
17057
17058 * play/zone.el (life-patterns): Declare.
17059
80f499c7
JB
170602011-04-20 Juanma Barranquero <lekktu@gmail.com>
17061
17062 * vc/vc.el (ediff-vc-internal): Declare function.
17063
024ff170
SM
170642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17065
c0a193ea
SM
17066 * shell.el: Use lexical-binding and std completion UI.
17067 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17068 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17069 comint-preoutput-filter-functions rather than on
17070 comint-output-filter-functions.
17071 (shell-command-completion, shell--command-completion-data)
17072 (shell-filename-completion, shell-environment-variable-completion)
17073 (shell-c-a-p-replace-by-expanded-directory): New functions.
17074 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17075 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17076 (shell-dynamic-complete-environment-variable): Use them.
17077 (shell-dynamic-complete-as-environment-variable)
17078 (shell-dynamic-complete-as-command): Remove.
17079 (shell-match-partial-variable): Match past point.
17080 * comint.el: Clean up use of completion-at-point-functions.
17081 (comint-completion-at-point): New function.
17082 (comint-mode): Use it completion-at-point-functions.
17083 (comint-dynamic-complete): Make it obsolete.
17084 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17085 (comint-c-a-p-replace-by-expanded-history): New function.
17086 (comint-dynamic-complete-functions)
17087 (comint-replace-by-expanded-history): Use it.
17088 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17089 termination strings. Try harder to avoid second try-completion.
17090 (completion-in-region-mode-map): Disable bindings that don't work yet.
17091
2dbaa080
SM
17092 * comint.el: Use lexical-binding. Require CL.
17093 (comint-dynamic-complete-functions): Use comint-filename-completion.
17094 (comint-completion-addsuffix): Tweak custom type.
17095 (comint-filename-completion, comint--common-suffix)
17096 (comint--common-quoted-suffix, comint--table-subvert)
17097 (comint--complete-file-name-data): New functions.
17098 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17099 (comint-dynamic-list-filename-completions): Use them.
17100 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17101
2dbaa080
SM
17102 * minibuffer.el (completion-in-region-mode):
17103 Keep completion-in-region-mode--predicate global.
17104 (completion-in-region--postch):
17105 Assume completion-in-region-mode--predicate is not null.
17106
c79a6f38
SM
17107 * progmodes/flymake.el (flymake-start-syntax-check-process):
17108 Obey `dir'. Simplify.
17109
024ff170
SM
17110 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17111 we're in VC after all.
17112
1c6c854e
CS
171132011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17114
17115 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17116 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17117 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17118
bed7f140
SM
171192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17120
332e62ab
SM
17121 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17122 add sanity check.
17123
bed7f140
SM
17124 * obsolete/erc-hecomplete.el: Make obsolete.
17125 * obsolete/: Standardize obsolescence info in the header.
17126
f195c582
GM
171272011-04-20 Glenn Morris <rgm@gnu.org>
17128
17129 * calendar/solar.el (solar-horizontal-coordinates):
17130 Use the longitude argument rather than `calendar-longitude'.
17131 (solar-date-next-longitude): Remove unused locals.
17132
cb79b8c0
VJL
171332011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17134
17135 * whitespace.el: New version 13.2.1.
17136
171372011-04-20 felix <EmacsWiki> (tiny change)
17138
d8e4b68b 17139 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17140 switching between major modes on a file.
17141
602ea69d
SM
171422011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17143
17144 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17145 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17146 multi-line comments as well.
17147
06b60517
JB
171482011-04-19 Juanma Barranquero <lekktu@gmail.com>
17149
17150 Lexical-binding cleanup.
17151
17152 * arc-mode.el (archive-mode-revert):
17153 * cmuscheme.el (scheme-interactively-start-process):
17154 * custom.el (custom-initialize-delay):
17155 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17156 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17157 * emacs-lock.el (emacs-lock-clear-sentinel):
17158 * ezimage.el (defezimage):
17159 * follow.el (follow-avoid-tail-recenter):
17160 * fringe.el (set-fringe-mode-1):
17161 * generic-x.el (bat-generic-mode-compile):
17162 * help-mode.el (help-info-variable, help-do-xref)
17163 (help-mode-revert-buffer):
17164 * help.el (view-emacs-todo):
17165 * iswitchb.el (iswitchb-completion-help):
17166 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17167 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17168 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17169 * locate.el (locate-update):
17170 * longlines.el (longlines-encode-region)
17171 (longlines-after-change-function):
17172 * outline.el (outline-isearch-open-invisible):
17173 * ps-def.el (declare-function, charset-dimension, char-width)
17174 (encode-char):
17175 * ps-mule.el (ps-mule-plot-string):
17176 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17177 (recentf-edit-list-select, recentf-edit-list-validate)
17178 (recentf-open-files-action):
17179 * rect.el (delete-whitespace-rectangle-line)
17180 (rectangle-number-line-callback):
17181 * register.el (window-configuration-to-register)
17182 (frame-configuration-to-register):
17183 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17184 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17185 (xselect-convert-to-targets, xselect-convert-to-delete)
17186 (xselect-convert-to-filename, xselect-convert-to-charpos)
17187 (xselect-convert-to-lineno, xselect-convert-to-colno)
17188 (xselect-convert-to-os, xselect-convert-to-host)
17189 (xselect-convert-to-user, xselect-convert-to-class)
17190 (xselect-convert-to-name, xselect-convert-to-integer)
17191 (xselect-convert-to-atom, xselect-convert-to-identity):
17192 * subr.el (declare, ignore, process-kill-without-query)
17193 (text-clone-maintain):
17194 * terminal.el (te-get-char, te-tic-sentinel):
17195 * tool-bar.el (tool-bar-make-keymap):
17196 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17197 * type-break.el (type-break-mode, type-break-noninteractive-query):
17198 * view.el (View-back-to-mark):
17199 * wid-browse.el (widget-browse-action, widget-browse-widget)
17200 (widget-browse-widgets, widget-browse-sexp):
17201 * widget.el (define-widget-keywords):
17202 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17203 Mark unused parameters.
17204
17205 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17206 (align-areas): Remove unused variable `look'.
17207 (align-region): Remove unused variables `real-end' and `pos-list'.
17208
17209 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17210
17211 * bindings.el (mode-line-modified, mode-line-remote):
17212 Mark unused parameters.
17213 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17214
17215 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17216 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17217
17218 * comint.el (comint-history-isearch-pop-state)
17219 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17220 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17221 (comint-substitute-in-file-name): Doc fix.
17222
17223 * completion.el (cmpl-statistics-block): Mark unused parameter.
17224 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17225 (save-completions-to-file, load-completions-from-file):
17226 Remove unused local variable `e'.
17227
17228 * composite.el (compose-chars): Remove unused variable `len'.
17229 (lgstring-insert-glyph): Remove unused variable `g'.
17230 (compose-glyph-string): Remove unused variables `ascent',
17231 `descent', `lbearing' and `rbearing'.
17232 (compose-glyph-string-relative): Remove unused variables
17233 `lbearing', `rbearing' and `wadjust'.
17234 (compose-gstring-for-graphic): Remove unused variables `header',
17235 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17236 (compose-gstring-for-terminal): Remove unused variables `header'
17237 and `nchars'. Use `let', not `let*'.
17238
17239 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17240 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17241 (Custom-buffer-done, custom-buffer-create-internal)
17242 (custom-browse-visibility-action, custom-browse-group-tag-action)
17243 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17244 (widget-magic-mouse-down-action, custom-toggle-parent)
17245 (custom-add-parent-links, custom-toggle-hide-variable)
17246 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17247 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17248 (custom-face-menu-create, custom-variable-menu-create, get)
17249 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17250 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17251 (customize-apropos): Remove unused variable `tests'.
17252 (custom-group-value-create): Remove unused variable `hidden-p'.
17253 (sort-fold-case): Declare.
17254
17255 * cus-theme.el (custom-reset-standard-faces-list)
17256 (custom-reset-standard-variables-list): Declare.
17257 (customize-create-theme, custom-theme-revert, custom-theme-write)
17258 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17259 Mark unused parameters.
17260
17261 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17262
17263 * delim-col.el (delimit-columns-max): Move defvar before first use.
17264
17265 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17266 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17267
17268 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17269 (auto-insert): Declare.
17270 (desktop-restore-file-buffer): Rename desktop-* parameters;
17271 mark unused ones.
17272 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17273 (desktop-buffer): Rename desktop-* parameters.
17274
17275 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17276 (dframe-reposition-frame-xemacs, dframe-help-echo)
17277 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17278 Mark unused parameters.
17279
17280 * dired-aux.el (backup-extract-version-start, overwrite-query)
17281 (overwrite-backup-query, rename-regexp-query)
17282 (rename-non-directory-query): Declare.
17283 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17284 (dired-add-entry): Remove unused variable `orig-file-name'.
17285 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17286 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17287 `dired-copy-preserve-time' directly.
17288 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17289 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17290
17291 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17292 (dired-virtual-revert, dired-make-relative-symlink):
17293 Mark unused parameters.
17294 (manual-program): Declare.
17295 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17296 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17297 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17298
17299 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17300
17301 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17302
17303 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17304 Declare.
17305
17306 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17307
17308 * electric.el (Electric-command-loop): Rename parameter
17309 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17310
17311 * expand.el (expand-in-literal): Remove unused variable `here'.
17312
17313 * facemenu.el (facemenu-add-new-color):
17314 Remove unused variable `docstring'.
17315
17316 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17317 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17318 (face-attr-construct): Mark unused parameter. Doc fix.
17319 (read-color): Remove unused variable `hex-string'.
17320
17321 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17322 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17323 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17324 (display-buffer-other-frame): Remove unused variable `old-window'.
17325 (kill-buffer-hook): Declare.
17326 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17327 Mark unused parameters.
17328 (after-find-file): Pass 1 to `auto-save-mode', not t.
17329
17330 * files-x.el (auto-insert): Declare.
17331 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17332
17333 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17334 variable `buf'. Mark unused parameter.
06b60517
JB
17335 (find-lisp-insert-directory): Mark unused parameter.
17336
17337 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17338 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17339 (format-common-tail): Remove, unused.
17340 (format-deannotate-region): Remove unused variable `loc'.
17341 (format-annotate-region): Remove unused variable `p'.
17342 (format-annotate-single-property-change): Remove unused variables
17343 `default' and `tail'.
17344
17345 * forms.el (read-file-filter): Declare.
17346 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17347
17348 * frame.el (frame-creation-function-alist): Mark unused parameter.
17349 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17350
17351 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17352 Remove unused parameters.
17353 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17354 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17355
17356 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17357 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17358 (hfy-prepare-tag-map): Mark unused parameters.
17359 (htmlfontify-buffer): Use `called-interactively-p'.
17360
17361 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17362 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17363 (ibuffer-do-occur): Mark unused parameters.
17364 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17365 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17366
17367 * ibuffer.el: Don't quote `lambda'.
17368 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17369 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17370 Mark unused parameters.
17371
17372 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17373 (ido-completing-read): Mark unused parameters.
17374 (ido-copy-current-word): Mark unused parameters;
17375 remove unused variable `name'.
17376 (ido-sort-merged-list): Remove unused parameter `dirs'.
17377
17378 * ielm.el (ielm-input-sender): Mark unused parameter.
17379 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17380 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17381 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17382 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17383 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17384
17385 * image-dired.el (image-dired-display-thumbs): Remove unused
17386 variables `curr-file' and `count'.
17387 (image-dired-remove-tag): Remove unused variable `start'.
17388 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17389 variable `curr-file'
17390 (image-dired-rotate-original): Remove unused variable `temp-file'.
17391 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17392 Remove unused variable `file'.
17393 (image-dired-gallery-generate): Remove unused variable `curr'.
17394 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17395
17396 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17397
17398 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17399
17400 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17401
17402 * isearch.el (minibuffer-history-symbol): Declare.
17403 (isearch-edit-string): Remove unused variable `err'.
17404 (isearch-message-prefix, isearch-message-suffix):
17405 Mark unused parameters.
17406
17407 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17408
17409 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17410
17411 * makesum.el (double-column): Remove unused variable `cnt'.
17412
17413 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17414 (ido-ignore-item-temp-list): Declare.
17415
17416 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17417 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17418 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17419 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17420 `mouse-col-delta'.
17421
17422 * mouse-sel.el (mouse-extend-internal):
17423 Remove unused variable `orig-window-frame'.
17424
17425 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17426 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17427 Move declarations before first use.
17428 (pcomplete-opt): Mark unused parameters; doc fix.
17429
17430 * proced.el (proced-revert): Mark unused parameter.
17431 (proced-send-signal): Remove unused variable `err'.
17432
17433 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17434 Rename parameter PREFIX-ARG to ARG.
17435 (ps-basic-plot-string, ps-basic-plot-whitespace):
17436 Mark unused parameters.
17437
17438 * replace.el (replace-count): Define.
17439 (occur-revert-function): Mark unused parameters.
17440 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17441 (isearch-case-fold-search, isearch-string): Declare.
17442 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17443 bind `case-fold-search'. Remove unused variables `beg' and `end',
17444 and simplify.
17445 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17446 COUNT and bind `replace-count'.
17447 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17448 to COUNT.
17449
17450 * savehist.el (print-readably, print-string-length): Declare.
17451
17452 * shadowfile.el (shadow-expand-cluster-in-file-name):
17453 Remove unused variable `cluster'.
17454 (shadow-copy-file): Remove unused variable `i'.
17455 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17456 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17457 (shadow-define-literal-group, shadow-define-regexp-group)
17458 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17459
17460 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17461 (shell): Use `called-interactively-p'.
17462 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17463
17464 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17465 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17466 (delete-backward-char): Remove unused variable `ocol'.
17467 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17468 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17469 (event-apply-hyper-modifier, event-apply-shift-modifier)
17470 (event-apply-control-modifier, event-apply-meta-modifier):
17471 Mark unused parameters.
17472 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17473 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17474
17475 * speedbar.el (speedbar-ignored-directory-expressions)
17476 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17477 (speedbar-find-file, speedbar-dir-follow)
17478 (speedbar-directory-buttons-follow, speedbar-tag-find)
17479 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17480 (speedbar-buffers-line-directory, speedbar-buffer-click):
17481 Mark unused parameters.
17482 (speedbar-tag-file): Remove unused variable `mode'.
17483 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17484
17485 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17486
17487 * talk.el (talk): Remove unused variable `display'.
17488
17489 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17490 (tar-write-region-annotate): Mark unused parameter.
17491
17492 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17493 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17494 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17495 warning by another.
17496
17497 * time-stamp.el (time-stamp-string-preprocess):
17498 Remove unused variable `require-padding'.
17499
17500 * tree-widget.el (widget-glyph-enable): Declare.
17501 (tree-widget-action): Mark unused parameter.
17502
17503 * w32-fns.el (x-get-selection): Mark unused parameter.
17504 (autoload-make-program, generated-autoload-file): Declare.
17505
17506 * wdired.el (wdired-revert): Mark unused parameters.
17507 (wdired-xcase-word): Remove unused variable `err'.
17508
17509 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17510 (whitespace-help-scroll): Remove unused variable `data-help'.
17511
17512 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17513 (widget-image-insert, widget-after-change, default)
17514 (widget-default-format-handler, widget-default-notify)
17515 (widget-default-prompt-value, widget-info-link-action)
17516 (widget-url-link-action, widget-function-link-action)
17517 (widget-variable-link-action, widget-file-link-action)
17518 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17519 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17520 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17521 (widget-insert-button-action, widget-delete-button-action, visibility)
17522 (widget-documentation-link-action, widget-documentation-string-action)
17523 (widget-const-prompt-value, widget-regexp-match, symbol)
17524 (widget-coding-system-prompt-value)
17525 (widget-key-sequence-value-to-external, sexp)
17526 (widget-sexp-value-to-internal, character, vector, cons)
17527 (widget-choice-prompt-value, widget-boolean-prompt-value)
17528 (widget-color--choose-action): Mark unused parameters.
17529 (widget-item-match-inline, widget-choice-match-inline)
17530 (widget-checklist-match, widget-checklist-match-inline)
17531 (widget-group-match): Rename parameter VALUES to VALS.
17532 (widget-field-value-set): Remove unused variable `size'.
17533 (widget-color-action): Remove unused variables `value' and `start'.
17534
17535 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17536 variable `dir'. Doc fix.
06b60517
JB
17537 (windmove-find-other-window): Don't pass it.
17538
17539 * window.el (count-windows): Mark unused parameter.
17540 (bw-adjust-window): Remove unused variable `err'.
17541
17542 * woman.el (woman-file-name): Remove unused variable `default'.
17543 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17544 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17545 (global-font-lock-mode): Declare.
17546 (woman-decode-region): Mark unused parameter.
17547 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17548
17549 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17550 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17551 (x-dnd-handle-moz-url): Remove unused variable `title'.
17552 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17553
17554 * xml.el (xml-parse-tag, xml-parse-attlist):
17555 Remove unused variable `pos'.
17556
bc4f7f3d
GM
175572011-04-19 Glenn Morris <rgm@gnu.org>
17558
17559 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17560 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17561 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17562 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17563 * calendar/cal-html.el (cal-html-insert-minical):
17564 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17565 (calendar-mark-date-pattern):
17566 Prefix "unused" locals.
17567
17568 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17569 optional argument `style'.
17570
17571 * calendar/appt.el (appt-make-list):
17572 * calendar/cal-china.el (calendar-chinese-date-string):
17573 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17574 (diary-hebrew-yahrzeit):
17575 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17576 * calendar/calendar.el (calendar-generate-window):
17577 * calendar/time-date.el (time-to-days):
17578 Remove unused local variables.
17579
16a43933
CY
175802011-04-18 Chong Yidong <cyd@stupidchicken.com>
17581
17582 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17583 glyphless-char-display table.
17584 (tabulated-list-glyphless-char-display): New var.
17585
7eed1860
SS
175862011-04-18 Sam Steingold <sds@gnu.org>
17587
17588 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17589 to acknowledgments.
17590
4d2d1ccd
GM
175912011-04-17 Glenn Morris <rgm@gnu.org>
17592
17593 * calendar/diary-lib.el (diary-sexp-entry):
17594 * calendar/holidays.el (holiday-sexp):
17595 Set debug-on-error rather than the removed stack-trace-on-error.
17596
239da61d
GM
175972011-04-16 Glenn Morris <rgm@gnu.org>
17598
17599 * progmodes/f90.el: Use lexical-binding.
17600 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17601
8b05752a
SM
176022011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17603
daca8ba5
SM
17604 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17605 (mail-mode): Setup mailalias completion here instead.
17606 * mail/mailalias.el: Use lexical-binding.
17607 (pattern, mailalias-done): Declare dynamic.
17608 (mail-completion-at-point-function): New function, from mail-complete.
17609 (mail-complete): Use it.
17610 (mail-completion-expand): New function.
17611 (mail-get-names): Use it.
17612 (mail-directory, mail-directory-process, mail-directory-stream):
17613 Don't use `pattern' for lexically bound arg.
17614
6f542485
SM
17615 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17616
037e7c3f
SM
17617 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17618 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17619 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17620
8b05752a
SM
17621 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17622 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17623 (byte-interactive-p): Define them again, for use when inlining
17624 old code.
17625
49093f60
JB
176262011-04-15 Juanma Barranquero <lekktu@gmail.com>
17627
17628 * loadup.el: Use `string-to-number', not `string-to-int'.
17629
b5b8e7de
SM
176302011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17631
17632 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17633 gud-gdb-complete-command.
17634 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17635 (gud-gdb-completion-at-point): New function.
17636 (gud-gdb-completions): Remove.
17637
f42efeb5
MA
176382011-04-14 Michael Albinus <michael.albinus@gmx.de>
17639
49093f60
JB
17640 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17641 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17642 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17643 whether `executable-find' is bound.
f42efeb5
MA
17644
17645 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17646
e240cc21
SM
176472011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17648
17649 * minibuffer.el (completion-in-region-mode-predicate)
17650 (completion-in-region-mode--predicate): New vars.
17651 (completion-in-region, completion-in-region--postch)
17652 (completion-in-region-mode): Use them.
17653 (completion--capf-wrapper): Also return the hook function.
17654 (completion-at-point, completion-help-at-point):
17655 Adjust and provide a predicate.
c2bd2ab0
SM
17656
17657 Preserve arg names for advice of subr and lexical functions (bug#8457).
17658 * help-fns.el (help-function-arglist): Consolidate the subr and
17659 new-byte-code cases. Add argument `preserve-names' to extract names
17660 from the docstring when needed.
17661 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17662 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17663 (ad-arglist): Use help-function-arglist's new arg.
17664 (ad-definition-type): Use cond.
17665
c183f693
JB
176662011-04-13 Juanma Barranquero <lekktu@gmail.com>
17667
06641a47
JB
17668 * autorevert.el (auto-revert-handler):
17669 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17670 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17671 Don't quote lambda.
17672
c183f693
JB
17673 * image-mode.el (image-transform-set-scale):
17674 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17675
1e3b6001
G
176762011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17677
17678 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17679 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17680 Upgrades via gnutls-cli are too slow to be done opportunistically.
17681
2d6af8dd
JB
176822011-04-12 Juanma Barranquero <lekktu@gmail.com>
17683
17684 * dframe.el (dframe-current-frame): Remove spurious quote.
17685
c0749a51
GM
176862011-04-12 Glenn Morris <rgm@gnu.org>
17687
088d0d61
GM
17688 * calendar/cal-tex.el (cal-tex-end-document):
17689 Try to automatically use latin1 input if needed.
17690
c0749a51
GM
17691 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17692 Don't try to cons a mark onto an empty element.
17693
5c90fde0
LL
176942011-04-11 Leo Liu <sdl.web@gmail.com>
17695
17696 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17697 buffers.
17698 (ido-kill-buffer-at-head): Support killing virtual buffers.
17699
369e974d
CY
177002011-04-10 Chong Yidong <cyd@stupidchicken.com>
17701
17702 * minibuffer.el (completion-show-inline-help): New var.
17703 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17704 (minibuffer-force-complete, minibuffer-complete-word):
17705 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17706
17707 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17708 to avoid interference from inline help (Bug#5849).
17709
37f1c930
LL
177102011-04-10 Leo Liu <sdl.web@gmail.com>
17711
099c39a4
JB
17712 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17713 Fix typo.
37f1c930 17714
a32d4040
CY
177152011-04-09 Chong Yidong <cyd@stupidchicken.com>
17716
17717 * image-mode.el (image-toggle-display-image): Signal an error if
17718 not in Image mode.
17719 (image-transform-mode, image-transform-resize)
17720 (image-transform-set-rotation): Doc fix.
daca8ba5 17721 (image-transform-set-resize): Delete.
a32d4040
CY
17722 (image-transform-set-scale, image-transform-fit-to-height)
17723 (image-transform-fit-to-width): Handle image-toggle-display-image
17724 and image-transform-resize directly.
17725
099c39a4 177262011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17727
17728 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17729 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17730 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17731 (doc-view-mode-map): Add bindings for the new functions.
17732
099c39a4 177332011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17734
4d61f28d 17735 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17736 Fix typo in docstring.
17737
3726838a
EZ
177382011-04-08 Eli Zaretskii <eliz@gnu.org>
17739
04f33f1e
EZ
17740 * files.el (file-size-human-readable): Produce one digit after
17741 decimal, like "ls -lh" does.
17742
17743 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17744 the file size representation.
17745
3726838a
EZ
17746 * simple.el (list-processes): If async subprocesses are not
17747 available, error out with a clear error message.
17748
cbb59342
CY
177492011-04-08 Chong Yidong <cyd@stupidchicken.com>
17750
17751 * help.el (help-form-show): New function, to be called from C.
17752 Put help-form output in a buffer named differently than *Help*.
17753
e3971c44
EZ
177542011-04-08 Eli Zaretskii <eliz@gnu.org>
17755
17756 * files.el (file-size-human-readable): New function.
17757
17758 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17759 computing the representation inline. Don't require `cl'.
17760
12544bbe
GM
177612011-04-08 Glenn Morris <rgm@gnu.org>
17762
a1de6c6a
GM
17763 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17764
3c4671f4
GM
17765 * net/browse-url.el (browse-url-firefox):
17766 Test system-type, not system-configuration.
17767
b605679c
GM
17768 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17769 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17770 Use log-edit-empty-buffer-p. (Bug#7598)
17771
56442f0c
GM
17772 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17773 (rlogin-mode-map): Initialize in the defvar.
17774 (rlogin): Use ignore-errors.
17775
12544bbe
GM
17776 * replace.el (occur-mode-map): Some fixes for menu items.
17777
eb237b0f
AH
177782011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17779
17780 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17781
7d668f2c
CY
177822011-04-06 Chong Yidong <cyd@stupidchicken.com>
17783
e67a13ab
CY
17784 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17785 issuing unused warnings.
17786
17787 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17788 macro directly.
17789
7d668f2c
CY
17790 * simple.el: Lisp reimplement of list-processes. Based on an
17791 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17792 (process-menu-mode): New major mode.
17793 (list-processes--refresh, list-processes):
17794 (process-menu-visit-buffer): New functions.
17795
17796 * files.el (save-buffers-kill-emacs): Don't assume any return
17797 value of list-processes, which is undocumented anyway.
17798
a83ec3c9
CY
177992011-04-06 Chong Yidong <cyd@stupidchicken.com>
17800
17801 * emacs-lisp/tabulated-list.el: New file.
17802
e91a96fe
CY
17803 * emacs-lisp/package.el: Use Tabulated List mode.
17804 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17805 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17806 table format using Tabulated List mode variables.
17807 (package--push): New macro, replacing package-list-maybe-add.
17808 (package-menu--generate): Use package--push. Renamed from
17809 package--generate-package-list.
17810 (package-menu-refresh, list-packages): Use it.
daca8ba5 17811 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17812 Return insertion data instead of inserting it directly.
099c39a4
JB
17813 (package-menu-describe-package, package-menu-execute):
17814 Use tabulated-list-get-id.
e91a96fe
CY
17815 (package-menu-mark-delete, package-menu-mark-install)
17816 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17817 (package-menu-mark-obsolete-for-deletion):
17818 Use tabulated-list-put-tag.
e91a96fe
CY
17819 (package--list-packages, package-menu-revert)
17820 (package-menu-get-package, package-menu-get-version)
17821 (package-menu-sort-by-column): Functions deleted.
17822 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17823 (package-menu--status-predicate, package-menu--version-predicate)
17824 (package-menu--name-predicate)
17825 (package-menu--description-predicate): Handle arguments in the
17826 Tabulated List format.
17827 (package-list-packages-no-fetch): Call list-packages.
17828
3e214b50
JB
178292011-04-06 Juanma Barranquero <lekktu@gmail.com>
17830
17831 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17832 (after-find-file): Don't bind it.
3e214b50
JB
17833 (revert-buffer-in-progress-p): New variable.
17834 (revert-buffer): Bind it.
17835 Pass nil for `after-find-file-from-revert-buffer'.
17836
17837 * saveplace.el (save-place-find-file-hook): Use new variable
17838 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17839
3f0f1700
GM
178402011-04-06 Glenn Morris <rgm@gnu.org>
17841
c0274801
GM
17842 * Makefile.in (AUTOGEN_VCS): New variable.
17843 (autoloads): Use $AUTOGEN_VCS.
17844
3f0f1700
GM
17845 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17846 * calendar/calendar.el (calendar-mode-map):
17847 Check for toolkit scroll bars. (Bug#8305)
17848
41ea9e48
CY
178492011-04-05 Chong Yidong <cyd@stupidchicken.com>
17850
17851 * minibuffer.el (completion-in-region--postch)
17852 (completion-in-region-mode): Remove unnecessary messages.
17853
6194c800
JB
178542011-04-05 Juanma Barranquero <lekktu@gmail.com>
17855
33256f14
JB
17856 * font-lock.el (font-lock-refresh-defaults):
17857 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17858 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17859
6194c800
JB
17860 * info.el (Info-directory-list, Info-read-node-name-2)
17861 (Info-split-parameter-string): Doc fixes.
17862 (Info-virtual-nodes): Reflow docstring.
17863 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17864 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17865 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17866 Fix typos in docstrings.
17867 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17868 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17869 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17870 (Info-restore-desktop-buffer): Mark unused parameters.
17871 (Info-directory-find-file, Info-directory-find-node)
17872 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17873 (Info-virtual-index-find-node, Info-apropos-find-file)
17874 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17875 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17876 (Info-virtual-index): Remove unused local variable `nodename'.
17877
b87a8200 178782011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17879
b87a8200
DD
17880 * net/rcirc.el: Update my e-mail address.
17881 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17882
3b2ff876
CY
178832011-04-05 Chong Yidong <cyd@stupidchicken.com>
17884
17885 * startup.el (command-line): Save the cursor's theme-face
17886 directly, instead of using face-override-spec.
17887
17888 * custom.el (load-theme): Minor optimization in assigning faces.
17889
8d17e7ca
JB
178902011-04-04 Juanma Barranquero <lekktu@gmail.com>
17891
17892 * help-fns.el (describe-variable): Complete all variables having
17893 documentation, including keywords.
17894 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17895
2fbc1934
JB
178962011-04-04 Juanma Barranquero <lekktu@gmail.com>
17897
17898 Convert to lexical-binding.
17899
17900 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17901 (bs--get-marked-string, bs--get-modified-string)
17902 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17903 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17904 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17905
17906 * ehelp.el (electric-help-execute-extended)
17907 (electric-help-ctrl-x-prefix):
17908 * hexl.el (hexl-revert-buffer-function):
17909 * linum.el (linum-after-change, linum-after-scroll):
17910 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17911
17912 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17913
74f50695
DU
179142011-04-04 Daiki Ueno <ueno@unixuser.org>
17915
17916 * epa-dired.el:
17917 * epa-mail.el:
17918 * epa-hook.el:
17919 * epa-file.el:
17920 * epa.el:
17921 * epg.el: Use lexical binding.
17922
c11325f7
CY
179232011-04-03 Chong Yidong <cyd@stupidchicken.com>
17924
0d9e9a12
CY
17925 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17926
c11325f7 17927 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17928 dictionary case for flyspell-mark-duplications-exceptions.
17929 Use regexp matching for languages.
c11325f7
CY
17930 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17931 default dictionary (Bug#7926).
17932
da91b5f2
CY
179332011-04-02 Chong Yidong <cyd@stupidchicken.com>
17934
099c39a4
JB
17935 * emacs-lisp/package.el (package--with-work-buffer):
17936 Recognize https URLs.
da91b5f2 17937
099c39a4
JB
17938 * net/network-stream.el: Move from gnus/proto-stream.el.
17939 Change prefix to network-stream throughout.
da91b5f2
CY
17940 (open-protocol-stream): Merge into open-network-stream, leaving
17941 open-protocol-stream as an alias. Handle nil BUFFER args.
17942
17943 * subr.el (open-network-stream): Move to net/network-stream.el.
17944
afa8e9f6
GM
179452011-04-02 Glenn Morris <rgm@gnu.org>
17946
1d2e369d
GM
17947 * find-dired.el (find-exec-terminator): New option.
17948 (find-ls-option): Test for -ls support.
17949 (find-ls-subdir-switches): Test for -b in find-ls-option.
17950 (find-dired, find-grep-dired): Doc fixes.
17951 (find-dired): Use find-exec-terminator.
17952
8abb7da8 17953 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17954 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17955 (find-name-arg): Remove purecopy.
8abb7da8 17956
f3ca7378
GM
17957 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17958 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17959 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17960 accordingly. Don't add the null-device if not needed.
17961
afa8e9f6
GM
17962 * files.el (save-some-buffers): Doc fix.
17963
35eae264
EZ
179642011-04-02 Eli Zaretskii <eliz@gnu.org>
17965
17966 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17967
26b51db5
JB
179682011-04-01 Juanma Barranquero <lekktu@gmail.com>
17969
17970 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17971 Use `dolist' rather than `mapcar'.
17972
7200d79c
SM
179732011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17974
03408648 17975 Add lexical binding.
7200d79c 17976
03408648
SM
17977 * subr.el (apply-partially): Use new closures rather than CL.
17978 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17979 (dolist, dotimes): Use slightly different expansion for lexical code.
17980 (functionp): Move to C.
17981 (letrec): New macro.
17982 (with-wrapper-hook): Use it and apply-partially instead of CL.
17983 (eval-after-load): Preserve lexical-binding.
17984 (save-window-excursion, with-output-to-temp-buffer): Turn them
17985 into macros.
7200d79c 17986
03408648
SM
17987 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17988
17989 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17990 than the arglist.
17991 (help-add-fundoc-usage): Don't add `Not documented'.
17992 (help-function-arglist): Handle closures, subroutines, and new
17993 byte-code-functions.
17994 (help-make-usage): Remove leading underscores.
17995 (describe-function-1): Handle closures.
17996 (describe-variable): Use special-variable-p for completion.
17997
17998 * files.el (lexical-binding): Declare safe.
f488fb65 17999
03408648
SM
18000 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18001 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18002 (pcase): Add `let' pattern.
18003 Change memoization so it actually works.
18004 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18005 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18006 <let>: New case.
f488fb65 18007
03408648
SM
18008 * emacs-lisp/macroexp.el: Use lexical binding.
18009 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18010 Don't convert ' to #' without checking that it's indeed quoting
18011 a lambda.
18012
18013 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18014 Use eval-sexp-add-defvars.
03408648
SM
18015 (eval-sexp-add-defvars): New fun.
18016
18017 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18018
18019 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18020 Don't autoload.
18021 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18022 than the internal `byte-compile-lambda'.
18023 (defmethod): Don't hide code under quotes.
18024 (eieio-defmethod): New `code' argument.
18025
18026 * emacs-lisp/eieio-comp.el: Remove.
18027
18028 * emacs-lisp/edebug.el (edebug-eval-defun)
18029 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18030 (edebug-toggle): Avoid `eval'.
18031
18032 * emacs-lisp/disass.el (disassemble-internal): Handle new
18033 `closure' objects.
18034 (disassemble-1): Handle new byte codes.
18035
18036 * emacs-lisp/cl.el (pushnew): Silence warning.
18037
18038 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18039 (cl-byte-compile-throw): Remove.
18040 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18041
18042 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18043 closures.
18044
18045 * emacs-lisp/cconv.el: New file.
18046
18047 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18048 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18049 (byte-compile-initial-macro-environment):
18050 Handle declare-function here.
18051 (byte-compile--lexical-environment): New var.
18052 (byte-stack-ref, byte-stack-set, byte-discardN)
18053 (byte-discardN-preserve-tos): New lap codes.
18054 (byte-interactive-p): Don't use any more.
18055 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18056 New macros.
18057 (byte-compile-lapcode): Use them and handle new lap codes.
18058 (byte-compile-obsolete): Remove.
18059 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18060 (byte-compile-arglist-warn): Check late def of inlinable funs.
18061 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18062 since they should have been expanded by now.
18063 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18064 (byte-compile-from-buffer): Remove unused second arg.
18065 (byte-compile-preprocess): New function.
18066 (byte-compile-toplevel-file-form): New function to distinguish
18067 file-form calls from outside from file-form calls from hunk-handlers.
18068 (byte-compile-file-form): Simplify.
18069 (byte-compile-file-form-defsubst): Remove.
18070 (byte-compile-file-form-defmumble): Simplify now that
18071 byte-compile-lambda always returns a byte-code-function.
18072 (byte-compile): Preprocess.
18073 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18074 Remove, not used any more.
18075 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18076 (byte-compile-make-args-desc): New funs.
18077 (byte-compile-lambda): Handle lexical functions. Always return
18078 a byte-code-function.
18079 (byte-compile-reserved-constants): New var, to make up room for
18080 closed-over variables.
18081 (byte-compile-constants-vector): Obey it.
18082 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18083 (byte-compile-macroexpand-declare-function): New function.
18084 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18085 byte-code-functions.
18086 (byte-compile-form): Check obsolescence here.
18087 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18088 (byte-compile-variable-ref): Remove.
18089 (byte-compile-dynamic-variable-op): New fun.
18090 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18091 (byte-compile-variable-set): New funs.
18092 (byte-compile-discard): Add 2 args.
18093 (byte-compile-stack-ref, byte-compile-stack-set)
18094 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18095 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18096 macroexpand-all instead.
18097 (byte-compile-quote-form): Remove.
18098 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18099 (byte-compile-bind, byte-compile-unbind): New funs.
18100 (byte-compile-let): Handle let* and lexical binding.
18101 (byte-compile-let*): Remove.
18102 (byte-compile-catch, byte-compile-unwind-protect)
18103 (byte-compile-track-mouse, byte-compile-condition-case):
18104 Handle a new :fun-body form, used for lexical scoping.
18105 (byte-compile-save-window-excursion)
18106 (byte-compile-with-output-to-temp-buffer): Remove.
18107 (byte-compile-defun): Simplify.
18108 (byte-compile-stack-adjustment): New fun.
18109 (byte-compile-out): Use it.
18110 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18111
18112 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18113 handler any more.
18114
18115 * emacs-lisp/byte-opt.el: Use lexical binding.
18116 (byte-inline-lapcode): Remove (to bytecomp).
18117 (byte-compile-inline-expand): Pay attention to inlining to/from
18118 lexically bound code.
18119 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18120 any more.
18121 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18122 any more and don't call compiler-macros.
18123 (byte-compile-splice-in-already-compiled-code): Remove.
18124 (byte-code): Don't inline any more.
18125 (disassemble-offset): Receive `bytes' as argument rather than via
18126 dynamic scoping.
18127 (byte-compile-tag-number): Declare before first use.
18128 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18129 `return' even if make-spliceable.
18130 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18131 obsolete interactive-p.
18132 (byte-optimize-lapcode): Optimize new lap-codes.
18133 Don't trip up on new form of `byte-constant' lap code.
18134
18135 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18136
18137 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18138
18139 * custom.el (custom-initialize-default, custom-declare-variable):
18140 Use `defvar'.
18141
18142 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18143 New variables.
18144 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18145 (COMPILE_FIRST): Add macroexp and cconv.
18146 * makefile.w32-in: Mirror changes in Makefile.in.
18147
18148 * vc/cvs-status.el:
18149 * vc/diff-mode.el:
18150 * vc/log-edit.el:
18151 * vc/log-view.el:
18152 * vc/smerge-mode.el:
18153 * textmodes/bibtex-style.el:
090bd7cb 18154 * textmodes/css-mode.el:
03408648
SM
18155 * startup.el:
18156 * uniquify.el:
da91b5f2
CY
18157 * minibuffer.el:
18158 * newcomment.el:
18159 * reveal.el:
18160 * server.el:
18161 * mpc.el:
18162 * emacs-lisp/smie.el:
18163 * doc-view.el:
18164 * dired.el:
03408648
SM
18165 * abbrev.el: Use lexical binding.
18166
0f0c1f27
EZ
181672011-04-01 Eli Zaretskii <eliz@gnu.org>
18168
18169 * info.el (info-display-manual): New function.
18170
c82b2579
SM
181712011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18172
18173 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18174
221ddf68
TH
181752011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18176
18177 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18178 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18179
cba6e77e
GM
181802011-03-31 Glenn Morris <rgm@gnu.org>
18181
e040639f
GM
18182 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18183
cba6e77e
GM
18184 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18185
6d0f1c9e
CS
181862011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18187
18188 * progmodes/python.el (python-default-interpreter)
18189 (python-python-command-args, python-jython-command-args)
18190 (python-which-shell, python-which-args, python-which-bufname)
18191 (python-file-queue, python-comint-output-filter-function)
18192 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18193 variables and functions.
18194
3e2d70fd
SM
181952011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18196
18197 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18198 (completion-in-region-mode): New minor mode.
18199 (completion-in-region): Use it.
18200 (completion-in-region--data, completion-in-region-mode-map): New vars.
18201 (completion-in-region--postch): New function.
18202 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18203 New vars.
18204 (completion--capf-wrapper): New function.
18205 (completion-at-point): Use it to track well-behavedness of
18206 hook functions.
18207 (completion-help-at-point): New command.
18208
f3e4086c
JM
182092011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18210
18211 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18212 syntax class to search for whitespace on a single line
18213 (Message-ID: <4D938140.4030905@redhat.com>).
18214
eb7ffc14
LL
182152011-03-30 Leo Liu <sdl.web@gmail.com>
18216
18217 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18218 New commands.
18219 (edit-abbrevs-map): Bind them here.
18220 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18221
d806ab68
KM
182222011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18223
18224 * allout.el (allout-hide-by-annotation, allout-flag-region):
18225 Reduce possibility of overlay leakage by making them volatile.
18226
18227 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18228 hash is not shared between buffers. Mode initialization is
18229 responsible for giving it a useful starting value.
18230 (allout-item-span): Reduce possibility of overlay leakage by
18231 making them volatile.
18232 (allout-widgets-count-buttons-in-region): Add diagnostic function
18233 for tracking down button overlay leaks.
18234
ea622834
LL
182352011-03-29 Leo Liu <sdl.web@gmail.com>
18236
18237 * ido.el (ido-read-internal): Use the default history var
18238 minibuffer-history if no HISTORY is specified.
18239
b62f8267
G
182402011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18241
03408648
SM
18242 * net/imap.el (imap-shell-open, imap-process-connection-type):
18243 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18244 Kerberos, SSL, other subprocesses.
18245
947b6566
LL
182462011-03-28 Leo Liu <sdl.web@gmail.com>
18247
18248 * abbrev.el (abbrev-table-empty-p): New function.
18249 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18250 nonempty ones. (Bug#5937)
18251
5ffb62aa
JD
182522011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18253
18254 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18255
7a097943
LL
182562011-03-27 Leo Liu <sdl.web@gmail.com>
18257
18258 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18259 for foreground and background colors.
18260 (ansi-color-make-color-map): Adapt.
18261
c5b40130
LL
182622011-03-25 Leo Liu <sdl.web@gmail.com>
18263
1f48f7d2
LL
18264 * midnight.el (midnight-time-float): Remove. Note it calculates
18265 the microsecond component incorrectly and seconds-to-time does the
18266 same job.
625897ec 18267 Remove redundant (require 'timer).
1f48f7d2 18268
c5b40130
LL
18269 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18270 (ido-completions): Remove unused arguments. (Bug#8329)
18271
d86d2721
SM
182722011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18273
18274 * minibuffer.el (completion--flush-all-sorted-completions):
18275 Remove itself from hook.
18276 (completion-at-point): Let the functions perform the completion
18277 immediately and return nil or t.
18278 * comint.el (comint-dynamic-complete-functions): Now identical to
18279 completion-at-point-functions.
18280 (comint-dynamic-list-input-ring): Remove unused var `index'.
18281 (comint--match-partial-filename, comint--unquote&expand-filename):
18282 New funs, split from comint-match-partial-filename.
18283 (comint-dynamic-complete): Use completion-at-point.
18284 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18285
e8974c48
DA
182862011-03-24 Drew Adams <drew.adams@oracle.com>
18287
18288 * thingatpt.el: Support `defun'.
18289
def71b5e
LL
182902011-03-23 Leo Liu <sdl.web@gmail.com>
18291
cb5af48e
LL
18292 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18293
def71b5e
LL
18294 * help-mode.el (help-mode-finish): Tweak regexp.
18295
927c53e7
GM
182962011-03-23 Glenn Morris <rgm@gnu.org>
18297
18d05bed
GM
18298 * eshell/esh-opt.el (eshell-eval-using-options):
18299 Do not bind unused local variable `eshell-option-stub'.
18300
927c53e7
GM
18301 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18302
9d0da923
JB
183032011-03-22 Juanma Barranquero <lekktu@gmail.com>
18304
18305 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18306 keymap variable in `with-no-warnings' to avoid a warning when the
18307 keymap has been already `defconst'ed.
18308
4b978a67
LL
183092011-03-22 Leo Liu <sdl.web@gmail.com>
18310
18311 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18312 encode all chars in abbrevs; otherwise use emacs-mule or
18313 utf-8-emacs. (Bug#8308)
18314
5fd62452
JB
183152011-03-22 Juanma Barranquero <lekktu@gmail.com>
18316
0b1596c6
JB
18317 * simple.el (backward-delete-char-untabify):
18318 Avoid warning about using `delete-backward-char'.
18319
5fd62452
JB
18320 * image.el (image-type-file-name-regexps): Make it variable.
18321 `imagemagick-register-types' modifies it, and the user may want
18322 to add new extensions for known image types.
18323 (imagemagick-register-types): Throw error if not using ImageMagick.
18324
0b4e93f1
LL
183252011-03-22 Leo Liu <sdl.web@gmail.com>
18326
18327 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18328 located before rcirc-prompt-end-marker.
18329 (rcirc-complete): Error if point is not after rcirc prompt.
18330 Handle the case when table is nil.
9882e214 18331 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18332
fccee4ab
CY
183332011-03-22 Chong Yidong <cyd@stupidchicken.com>
18334
18335 * custom.el (custom--inhibit-theme-enable): Make it affect only
18336 custom-theme-set-variables and custom-theme-set-faces.
18337 (provide-theme): Ignore custom--inhibit-theme-enable.
18338 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18339 (custom-enabling-themes): Delete variable.
d86d2721
SM
18340 (enable-theme): Accept only loaded themes as arguments.
18341 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18342 (custom-enabled-themes): Forbid themes from setting this.
18343 Eliminate use of custom-enabling-themes.
18344 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18345
af896da6
LL
183462011-03-21 Leo Liu <sdl.web@gmail.com>
18347
18348 * ido.el (ido-read-internal): Add ido-selected to history instead
18349 of user input.
18350
78f64af0
SM
183512011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18352
18353 * subr.el (deferred-action-list, deferred-action-function):
18354 Mark obsolete.
18355
b16ac1ec
LL
183562011-03-21 Leo Liu <sdl.web@gmail.com>
18357
810f7698
LL
18358 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18359 change on 2011-02-13 (bug#8309).
18360
b16ac1ec
LL
18361 * minibuffer.el (read-file-name-function): Change default value.
18362 (read-file-name--defaults): Rename from read-file-name-defaults.
18363 (read-file-name-default): Rename from read-file-name.
18364 (read-file-name): Call read-file-name-function.
18365
4e05e67e
GM
183662011-03-21 Glenn Morris <rgm@gnu.org>
18367
18368 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18369 Doc fixes.
18370
4359915b
CY
183712011-03-21 Chong Yidong <cyd@stupidchicken.com>
18372
18373 * cus-theme.el: Add missing provide statement.
18374 (customize-create-theme): Extract theme value correctly.
18375 (custom-theme-visit-theme): Autoload.
18376 (customize-create-theme): Prompt before inserting default faces.
18377
1fe275ee
JB
183782011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18379
18380 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18381 units and musical notes.
18382
cd394be1 183832011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18384
18385 * ido.el (ido-read-internal): Use completing-read-default.
18386 (ido-completing-read): Fix compatibility with completing-read.
18387
7d476bde
CO
183882011-03-20 Christian Ohler <ohler@gnu.org>
18389
18390 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18391 (ert-delete-all-tests): Use `called-interactively-p' rather than
18392 `interactive-p'.
18393 (ert--make-xrefs-region): Respect END.
18394
fe0fb33e
CY
183952011-03-19 Chong Yidong <cyd@stupidchicken.com>
18396
ff854b0b
CY
18397 * dired-aux.el (dired-create-directory): Signal an error if the
18398 directory already exists (Bug#8246).
18399
fe0fb33e
CY
18400 * facemenu.el (list-colors-display): Call list-faces-display
18401 inside with-help-window.
18402 (list-colors-print): Use display property to align the final
18403 column, instead of checking window-width.
18404
576bce32
EZ
184052011-03-19 Eli Zaretskii <eliz@gnu.org>
18406
4d61f28d 18407 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18408 windows-nt systems.
18409 (emerge-protect-metachars): Quote correctly for ms-dos and
18410 windows-nt systems.
18411
89c41d68 184122011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18413
18414 * info.el (info-initialize): Replace all uses of `:' with
18415 path-separator for compatibility with non-Unix systems.
18416 Cache quoting of path-separator. (Bug#8258)
18417
b14e3e21 184182011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18419
18420 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18421 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18422 (mouse-avoidance-mode): Fix typos in docstrings.
18423
4525ce3e
CY
184242011-03-19 Chong Yidong <cyd@stupidchicken.com>
18425
18426 * startup.el (package-subdirectory-regexp): Move from package.el.
18427 Omit \\` and \\', and let callers add them.
18428
18429 * emacs-lisp/package.el (package-strip-version)
18430 (package-load-all-descriptors): Add \\` and \\' to
18431 package-subdirectory-regexp before using it.
18432 (package-untar-buffer): New arg DIR; ensure that file untars only
18433 into this expected directory. Remove superfluous delete-region.
18434 (package-unpack): Caller changed.
18435 (package-tar-file-info): Use package-subdirectory-regexp.
18436
a904a09a 184372011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18438
a904a09a
SM
18439 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18440 diff-mode-shared-map (bug#8284).
18441 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18442
184432011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18444
18445 * calendar/time-date.el (format-seconds): Use assoc instead of
18446 assoc-string, since assoc-string doesn't exist in XEmacs.
18447
171fc304
JB
184482011-03-17 Juanma Barranquero <lekktu@gmail.com>
18449
18450 * custom.el (custom-known-themes): Reflow docstring.
18451 (custom-theme-load-path): Fix typo in docstring.
18452 (load-theme): Fix typo in error message.
18453 (custom-available-themes, custom-variable-theme-value):
18454 Use `let', not `let*'.
18455
d71990a1
JB
184562011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18457
18458 * calc/README: Mention inclusion of musical notes.
18459
18460 * calc/calc-units.el (calc-lu-quant): Rename from
18461 `calc-logunits-quantity'.
18462 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18463 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18464 (calc-db): Rename from `calc-dblevel'.
18465 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18466 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18467 (calc-np): Rename from `calc-nplevel'.
18468 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18469 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18470 (calc-lu-plus): Rename from `calc-logunits-add'.
18471 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18472 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18473 (calc-lu-minus): Rename from `calc-logunits-sub'.
18474 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18475 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18476 (calc-lu-times): Rename from `calc-logunits-mul'.
18477 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18478 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18479 (calc-lu-divide): Rename from `calc-logunits-div'.
18480 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18481 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18482
18483 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18484 functions being autoloaded.
18485
18486 * calc/calc.el (calc-lu-power-reference): Rename from
18487 `calc-logunits-power-reference'.
18488 (calc-lu-field-reference): Rename from
18489 `calc-logunits-field-reference'.
18490
7a71b18d
GM
18491 * calc/calc-help.el (calc-l-prefix-help):
18492 Mention musical note functions.
d71990a1 18493
40c2934b
SM
184942011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18495
18496 * minibuffer.el (completion-all-sorted-completions):
18497 Use :completion-cycle-penalty text property if present.
18498
b0911414
KM
184992011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18500
18501 * allout.el (allout-yank-processing): Adjust for new rebulleting
18502 regime so bullet being yanked is used without prompting the user
18503 for a choice.
18504
8a05b668
JB
185052011-03-16 Juanma Barranquero <lekktu@gmail.com>
18506
18507 * startup.el (command-line): Warn the user that _emacs is deprecated.
18508
5ba5fb81
JB
185092011-03-16 Juanma Barranquero <lekktu@gmail.com>
18510
18511 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18512 (delphi-verbose, delphi-comment-face, delphi-string-face)
18513 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18514 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18515 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18516 (delphi-new-comment-line, delphi-font-lock-defaults)
18517 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18518 Fix typos in docstrings.
18519
2dab465b
KM
185202011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18521
5ba5fb81 18522 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18523 Invert the roles of character and string values for INSTEAD, so a
18524 string is used for the more common case of a defaulting prompt.
18525
0adf5618
SM
185262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18527
18528 * progmodes/ruby-mode.el (ruby-backward-sexp):
18529 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18530 * play/gamegrid.el (gamegrid-make-face):
18531 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18532 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18533 * notifications.el (notifications-notify):
18534 * net/xesam.el (xesam-search-engines):
18535 * net/quickurl.el (quickurl-list-insert):
18536 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18537
d72700e5
CY
185382011-03-15 Chong Yidong <cyd@stupidchicken.com>
18539
18540 * startup.el (command-line): Update package subdirectory regexp.
18541
49c5410a
SM
185422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18543
c6eee9aa
SM
18544 * allout.el (allout-abbreviate-flattened-numbering)
18545 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18546
49c5410a
SM
18547 * subr.el (read-char-choice): Only show the cursor after the prompt,
18548 not after the answer.
18549
047b2bb9
KR
185502011-03-15 Kevin Ryde <user42@zip.com.au>
18551
18552 * help-fns.el (variable-at-point): Skip leading quotes, if any
18553 (bug#8253).
18554
0a57d256
SM
185552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18556
18557 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18558 warning message.
18559
77c992bc
MA
185602011-03-14 Michael Albinus <michael.albinus@gmx.de>
18561
18562 * shell.el (shell): When called interactively, offer to change the
18563 shell file name on remote hosts.
18564
eebc475d
TZ
185652011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18566
18567 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18568 integration for LDAP parameters. The host, base, user or binddn,
18569 and secret tokens can be specified in a netrc file, for instance.
18570 This is optional because an `auth-source' parameter must be
18571 specified in the search attributes.
18572
9d05d1ba
JB
185732011-03-13 Juanma Barranquero <lekktu@gmail.com>
18574
18575 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18576
09d9db2c
GM
185772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18578
18579 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18580 into declaration. Remove redundant and harmful binding.
18581
185822011-03-12 Eli Zaretskii <eliz@gnu.org>
18583
18584 * files.el (file-ownership-preserved-p): Pass `integer' as an
18585 explicit 2nd argument to `file-attributes'. If the file's owner
18586 is the Administrators group on Windows, and the current user is
18587 Administrator, consider that a match.
18588
18589 * server.el (server-ensure-safe-dir): Consider server directory
18590 safe on MS-Windows if its owner is the Administrators group while
18591 the current Emacs user is Administrator. Use `=' to compare
18592 numerical UIDs, since they could be integers or floats.
18593
219bd536
JB
185942011-03-12 Juanma Barranquero <lekktu@gmail.com>
18595
18596 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18597
f3afd36b
MA
185982011-03-12 Michael Albinus <michael.albinus@gmx.de>
18599
18600 Sync with Tramp 2.2.1.
18601
18602 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18603
18604 * net/trampver.el: Update release number.
18605
3aaaa6f1
SM
186062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18607
94642599
SM
18608 * progmodes/compile.el (compilation--previous-directory): Fix up
18609 various nil/dead-marker mismatches (bug#8014).
18610 (compilation-directory-properties, compilation-error-properties):
18611 Don't call it at a position past the one we're about to change.
18612
3aaaa6f1
SM
18613 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18614 Disable obsolescence warnings in the file that declares it.
18615
14239447
KM
186162011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18617
099c39a4
JB
18618 * allout-widgets.el (allout-widgets-tally):
18619 Initialize allout-widgets-tally as a hash table rather than nil to
18620 prevent mode-line redisplay warnings. Also, clarify the module
18621 description and fix a comment typo.
14239447 18622
135e287c
JB
186232011-03-11 Juanma Barranquero <lekktu@gmail.com>
18624
18625 * help-fns.el (describe-variable): Don't complete keywords.
18626 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18627
ffbf300e
CY
186282011-03-10 Chong Yidong <cyd@stupidchicken.com>
18629
ba08b241
CY
18630 * emacs-lisp/package.el (package-version-join): Impose a standard
18631 string representation for pre/alpha/beta version lists.
18632 (package-unpack-single): Standardize the directory name by passing
18633 it through package-version-join.
18634 (package-strip-rcs-id): Accept any version string that does not
18635 signal an error in version-to-list.
ffbf300e 18636
f346fd6b
MA
186372011-03-10 Michael Albinus <michael.albinus@gmx.de>
18638
18639 * simple.el (delete-trailing-whitespace): Return nil for the
18640 benefit of `write-file-functions'.
18641
ccb55d27
GM
186422011-03-10 Glenn Morris <rgm@gnu.org>
18643
5ceaac0c
GM
18644 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18645
02da65ff
GM
18646 * vc/vc-git.el (vc-git-program): New option.
18647 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18648 (vc-git--call): Use it.
18649
b2f603cc
GM
18650 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18651
5772caab
GM
18652 * cus-edit.el (Custom-newline): If no button at point, look
18653 for a subgroup button at start-of-line. (Bug#2298)
18654
ccb55d27
GM
18655 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18656
ec6ecaed
JD
186572011-03-10 Julien Danjou <julien@danjou.info>
18658
18659 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18660 `cursor-type' is nil.
18661
9d5aa01d
JB
186622011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18663
18664 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18665
b6a5875b
KM
186662011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18667
7a71b18d 18668 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18669 preserves the existing header prefix, rebulleting it if necessary,
18670 rather than replacing it. This is necessary for proper operation
18671 of cooperative addons like allout-widgets.
1154d12e
JB
18672 (allout-make-topic-prefix, allout-rebullet-heading):
18673 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18674 value as alternate bullet to be used, instead of prompting the user
18675 for a bullet character.
b6a5875b 18676
ee545c35
MA
186772011-03-09 Michael Albinus <michael.albinus@gmx.de>
18678
d86d2721
SM
18679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18680 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18681 `tramp-default-port'.
18682
c47971d7
DD
186832011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18684
18685 * net/rcirc.el (rcirc-handler-001): Remove useless
18686 with-rcirc-process-buffer.
18687 (rcirc-check-auth-status): Swap arguments to string-match.
18688
13522cb4
GM
186892011-03-09 Glenn Morris <rgm@gnu.org>
18690
0be6f4f1
GM
18691 * shell.el (shell-mode):
18692 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18693
13522cb4
GM
18694 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18695 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18696
515de2e3
CY
186972011-03-08 Chong Yidong <cyd@stupidchicken.com>
18698
18699 * emacs-lisp/package.el (package-refresh-contents)
18700 (package-menu-execute): Use condition-case-no-debug.
18701
b511b994
MA
187022011-03-08 Michael Albinus <michael.albinus@gmx.de>
18703
18704 * simple.el (shell-command-to-string): Use `process-file'.
18705
18706 * emacs-lisp/package.el (package-tar-file-info): Handle also
18707 remote files.
18708
d86d2721
SM
18709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18710 Use `equal' for upload base check.
b511b994 18711
25bbfb31
AM
187122011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18713
18714 * textmodes/texinfo.el (texinfo-environments):
18715 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18716
be996521
GM
187172011-03-08 Glenn Morris <rgm@gnu.org>
18718
e9c8529f
GM
18719 * cus-start.el (cursor-in-non-selected-windows):
18720 Fix :set quoting oddness. (Bug#8192)
18721
be996521
GM
18722 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18723 in some setf expressions. (Bug#2159)
18724
2bb5649e
CY
187252011-03-08 Chong Yidong <cyd@stupidchicken.com>
18726
18727 * custom.el (custom-available-themes): Return themes in
18728 alphabetical order.
18729
33383987 18730See ChangeLog.15 for earlier changes.
e3d51b27
MR
18731
18732;; Local Variables:
18733;; coding: utf-8
e3d51b27
MR
18734;; End:
18735
acaf905b 18736 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18737
18738 This file is part of GNU Emacs.
18739
18740 GNU Emacs is free software: you can redistribute it and/or modify
18741 it under the terms of the GNU General Public License as published by
18742 the Free Software Foundation, either version 3 of the License, or
18743 (at your option) any later version.
18744
18745 GNU Emacs is distributed in the hope that it will be useful,
18746 but WITHOUT ANY WARRANTY; without even the implied warranty of
18747 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18748 GNU General Public License for more details.
18749
18750 You should have received a copy of the GNU General Public License
18751 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.